<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by asep setyawan on Medium]]></title>
        <description><![CDATA[Stories by asep setyawan on Medium]]></description>
        <link>https://medium.com/@setyawan_asep?source=rss-7df0c3177764------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XxxOcB5XcHA5ECrcO7Nftg.jpeg</url>
            <title>Stories by asep setyawan on Medium</title>
            <link>https://medium.com/@setyawan_asep?source=rss-7df0c3177764------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 14:28:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@setyawan_asep/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Share React Components, Utilities, Libraries Between Projects and Apps]]></title>
            <link>https://medium.com/@setyawan_asep/how-to-share-react-components-utilities-libraries-between-projects-and-apps-33e0f1189e49?source=rss-7df0c3177764------2</link>
            <guid isPermaLink="false">https://medium.com/p/33e0f1189e49</guid>
            <category><![CDATA[multi-repo]]></category>
            <category><![CDATA[components]]></category>
            <category><![CDATA[organize]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[asep setyawan]]></dc:creator>
            <pubDate>Fri, 20 Jul 2018 09:02:28 GMT</pubDate>
            <atom:updated>2018-07-20T10:06:02.578Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Idea to organize, share and sync our React components between all team’s on different projects and applications.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*lTP8Sei8EMHuoFocQ_xJeg.png" /></figure><p>React components are designed to be the reusable Lego bricks of our UI. However, sharing our components in multiple apps and projects isn’t always simple. Sharing components often means creating new repos, making changes in multiple places and struggling to keep our UI in sync.</p><p>Bit helps to turn our components into building blocks which can be organized and used across our different projects and apps, keep all components sync.</p><p>It’s workflow lets us seamlessly isolate components from different projects, organize them for our team and sync them across our projects, while making changes to our components code from any of these projects.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FP4Mk_hqR8dU%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DP4Mk_hqR8dU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FP4Mk_hqR8dU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3008dbffa5c7c8a52e9c2b2004143a8c/href">https://medium.com/media/3008dbffa5c7c8a52e9c2b2004143a8c/href</a></iframe><p>Before using Bit, our own team had different components scattered in different apps, each with its own visual and functional changes to suit the project.</p><p>Using Bit, we were able to create Scopes which work like “Lego boxes” that our team shares in order to build different projects and applications.</p><p>Every team member can easily find the components they need, use it in their projects and easily make the changes they need for their applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33e0f1189e49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visual Search for eCommerce]]></title>
            <link>https://medium.com/@setyawan_asep/visual-search-for-ecommerce-in-indonesia-90ebd5589ed9?source=rss-7df0c3177764------2</link>
            <guid isPermaLink="false">https://medium.com/p/90ebd5589ed9</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[google-vision]]></category>
            <category><![CDATA[visual-search]]></category>
            <dc:creator><![CDATA[asep setyawan]]></dc:creator>
            <pubDate>Thu, 19 Jul 2018 18:44:29 GMT</pubDate>
            <atom:updated>2023-07-11T02:59:50.436Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is visual search?<br></strong>A Visual Search Engine is a search engine designed to search for information on the World Wide Web through the input of an image or a search engine with a visual display of the search results. Information may consist of web pages, locations, other images and other types of documents.</p><p><strong>What is the idea?</strong></p><blockquote>Can’t describe what you are searching for? Take a picture.</blockquote><p>Moments of shopping inspiration can come at any time / any where, whether you’re walking down the street or browsing your social media. Because of that, I just came up with this idea and I try to built simple visual search concept for eCommerce in Indonesia. Tech stack with google vision, python, and react for UI. Both artificial intelligence and machine learning are giving the world tools to do some pretty amazing things.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FEvIoybVb7iw%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEvIoybVb7iw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FEvIoybVb7iw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/31c6dcec2354925e8cf1336191a5acc7/href">https://medium.com/media/31c6dcec2354925e8cf1336191a5acc7/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90ebd5589ed9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Convert Array of Objects into Comma Separated String extracting only one property]]></title>
            <link>https://medium.com/@setyawan_asep/how-to-convert-array-of-objects-into-comma-separated-string-extracting-only-one-property-ff26cfcad00e?source=rss-7df0c3177764------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff26cfcad00e</guid>
            <dc:creator><![CDATA[asep setyawan]]></dc:creator>
            <pubDate>Wed, 28 Feb 2018 11:36:01 GMT</pubDate>
            <atom:updated>2018-03-08T15:59:40.768Z</atom:updated>
            <content:encoded><![CDATA[<p>I’d like to share a quick solution which always is really useful when you are handling complex object-type data structures in JavaScript / ES6 / TypeScript.</p><p>That code will be useful when you want to extract some property values from an array of objects.</p><p>I will share two versions one for EcmaScript 5 and other for EcmaScript 6:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8db7b56c155b71214f60c363df75d59c/href">https://medium.com/media/8db7b56c155b71214f60c363df75d59c/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff26cfcad00e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup/Configurasi github dan bitbucket di satu laptop]]></title>
            <link>https://medium.com/@setyawan_asep/setup-configurasi-github-dan-bitbucket-di-satu-laptop-6a7a57c70935?source=rss-7df0c3177764------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a7a57c70935</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[asep setyawan]]></dc:creator>
            <pubDate>Sun, 25 Sep 2016 14:50:19 GMT</pubDate>
            <atom:updated>2016-09-25T14:50:19.847Z</atom:updated>
            <content:encoded><![CDATA[<h4>Setting up a seperate Github and Bitbucket account</h4><p><em>NOTE: THIS GUIDE WORKS AS OF Sep 25th 2016.</em></p><p>If you want to have private repositories at Bitbucket and public repositories at Github, then this is the guide for you.</p><p>This guide assumes:</p><ul><li>Git is set up for a single github user using https, not ssh</li><li>There is only a <em>known_hosts</em> file in ~/.ssh/</li><li>The computer is running ubuntu 14.04 LTS</li><li>You already have an account at <a href="http://www.github.com/">Github</a> and another at <a href="http://bitbucket.org/">Bitbucket</a></li></ul><h4>Setting up github and bitbucket on the same computer</h4><p>Github will be the main account and bitbucket the secondary.</p><h4>Create SSH Keys</h4><p>ssh-keygen -t rsa -C “github email”</p><p>Enter passphrase when prompted. If you see an option to save the passphrase in your keychain, do it for an easier life.</p><p>Save keys to:</p><p>~/.ssh/id_rsa</p><p>Repeat for bitbucket:</p><p>ssh-keygen -t rsa -C “bitbucket email”</p><p>Save bitbucket key to ~/.ssh/id_rsa_bb</p><h4>Attach Keys</h4><p>Login to remote repo and add ssh key:</p><pre>pbcopy &lt; ~/.ssh/id_rsa.pub<br>pbcopy &lt; ~/.ssh/id_rsa_bb.pub</pre><p>Obviously run each pbcopy command individually.</p><p>Paste into text area, under ssh settings, in your github or bitbucket account. Also give the ssh key a title like “your name” Laptop.</p><h4>Create Config file</h4><p>I am using nano, enter your editor here if different:</p><p>nano ~/.ssh/config</p><p>Create your git aliases like so:</p><pre>#Github (default)<br>  Host gh<br>  HostName github.com<br>  User git<br>  IdentityFile ~/.ssh/id_rsa</pre><pre>#Bitbucket (secondary)<br>  Host bb<br>  HostName bitbucket.org<br>  User git<br>  IdentityFile ~/.ssh/id_rsa_bb</pre><h4>Add the identities to SSH:</h4><pre>ssh-add ~/.ssh/id_rsa<br>ssh-add ~/.ssh/id_rsa_bb</pre><p>Enter passphrase if prompted.</p><p>Check keys were added:</p><p>ssh-add -l</p><h4>Check that repo recognizes keys:</h4><pre>ssh -T gh<br>ssh -T bb</pre><h3>Usage:</h3><h4>Using new dual setup</h4><p><em>This guide assumes you have followed multi-git.md and set up both accounts.</em></p><h4>Github (default)</h4><p>Create a repo online called testmulti (or one of your choosing), then in Terminal, create your repository:</p><pre>mkdir ~/testmulti<br>cd ~/testmulti<br>touch readme.md<br>git init<br>git add .<br>git commit -am &quot;first commit&quot;<br>git remote add origin git@gh:username/testmulti.git<br>git push origin master</pre><p>Add some text to readme on github.com, then:</p><pre>git fetch origin master<br>git diff master origin/master<br>git merge origin/master<br>git push origin master</pre><h4>Bitbucket (secondary)</h4><p>Create a repo online called testbucket and then in Terminal:</p><pre>mkdir ~/testbucket<br>cd ~/testbucket<br>touch readme.md<br>git init</pre><p><em>This being the secondary account, the username and email have to be overwritten, using secondary account values, at the repo level:</em></p><pre>git config user.name &quot;Full Name&quot;<br>git config user.email email_address</pre><p>This must be done once for every <em>bitbucket</em> (or secondary) repo, it is not needed for github (or primary) repos because the global is used in that scenario. There may be a cleaner way to do this but right now it works okay.</p><p>Just to be clear you do not need to change these values back afterwards because the global values (which apply to all future repos created) will be set.</p><pre>git add .<br>git commit -am &quot;first commit&quot;<br>git remote add origin git@bb:username/testbucket.git<br>git push origin master</pre><p>Add some text to readme on bitbucket.org, then:</p><pre>git fetch origin master<br>git diff master origin/master<br>git merge origin/master<br>git push origin master</pre><h4>Use case: Repo already exists on secondary remote repo (bitbucket)</h4><p>So you have a repository that already exists and you want to want to clone it but also you want to make sure when youpush it, the correct user, the bitbucket user pushes. Let’s say the repo is called booker.</p><pre>git clone git@bb:bb_username/booker.git<br>git config user.name &quot;bitbucket user name&quot;<br>git config user.email email_address</pre><p>Remember, because we are using the secondary account, we have to over-ride the global configuration of username and email. The git clone command is using the ssh keyfile you set up earlier and is doing the transfer over ssh.</p><p>Now, change into the cloned directory and modify one of the files. Use git status to check the current state, then use git add ‘filename’ and git commit -m “commit message”.</p><p>Finally push your changes using git push origin master.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a7a57c70935" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>