<?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 Liv Codes or Dies Trying on Medium]]></title>
        <description><![CDATA[Stories by Liv Codes or Dies Trying on Medium]]></description>
        <link>https://medium.com/@oliviasaborush?source=rss-f8b9d365f7cb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*J1lRO7OUn3-adBDp2lh7bA.jpeg</url>
            <title>Stories by Liv Codes or Dies Trying on Medium</title>
            <link>https://medium.com/@oliviasaborush?source=rss-f8b9d365f7cb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 12:08:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@oliviasaborush/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[Basic JavaScript Development Environment for macOS]]></title>
            <link>https://medium.com/@oliviasaborush/basic-javascript-development-environment-for-macos-58479b5c1f0c?source=rss-f8b9d365f7cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/58479b5c1f0c</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[developer]]></category>
            <dc:creator><![CDATA[Liv Codes or Dies Trying]]></dc:creator>
            <pubDate>Thu, 29 Mar 2018 17:19:10 GMT</pubDate>
            <atom:updated>2018-07-09T15:40:46.062Z</atom:updated>
            <content:encoded><![CDATA[<p>This post is a copy/update of <a href="https://medium.com/@shams.ali0216/set-up-your-mac-for-javascript-development-43599f65d2f">this post</a> with superfluous apps removed and other important apps added.</p><p><strong>Before you begin, make sure your mac is completely updated with at least Sierra</strong></p><p><strong>Open terminal:</strong></p><p>We will be installing a new terminal, but to use that we need to use the native terminal. Your terminal will be your new way of navigating through your computer. You’ll never need the Finder again!</p><p><strong>Install </strong><a href="https://brew.sh/"><strong>Homebrew</strong></a><strong>:</strong></p><pre>$ ruby -e “$(curl -fsSL <a href="https://raw.githubusercontent.com/Homebrew/install/master/install">https://raw.githubusercontent.com/Homebrew/install/master/install</a>)&quot;</pre><pre>$ echo ‘export PATH=”/usr/local/bin:$PATH”’ &gt;&gt; ~/.bash_profile</pre><p><strong>Install </strong><a href="https://caskroom.github.io/"><strong>brew casks</strong></a><strong>:</strong></p><pre>$ brew cask install iterm2 visual-studio-code alfred spectacle postman ngrok</pre><pre>$ brew doctor</pre><p><strong>Note: </strong>If you get errors fix them by following instructions they provide or Googling errors. Don’t continue until the second command outputs “your system is ready to brew.”</p><p><strong>Install </strong><a href="https://github.com/creationix/nvm"><strong>nvm</strong></a><strong>:</strong></p><pre>$ curl -o- <a href="https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh">https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh</a> | bash</pre><p>You will get a note at this end of this installation. Follow the instructions to refresh your terminal.</p><p><strong>Install </strong><a href="https://nodejs.org/en/"><strong>node</strong></a><strong> and </strong><a href="https://www.npmjs.com/"><strong>npm</strong></a><strong>:</strong></p><pre>nvm install 10</pre><p><strong>Install servers:</strong></p><pre>$ npm i -g eslint http-server live-server</pre><p><strong>Install </strong><a href="https://code.visualstudio.com/"><strong>VS Code</strong></a><strong> </strong><a href="https://marketplace.visualstudio.com/VSCode"><strong>extensions</strong></a><strong>:</strong></p><pre>$ code --install-extension atom-keymap eslint html-snippets javascript-es6 indent-rainbow bracket-pair-colorizer</pre><p><strong>Install Google Chrome </strong><a href="https://chrome.google.com/webstore/category/extensions"><strong>extensions</strong></a><strong>:</strong></p><ul><li>Install <a href="https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb?hl=en"><strong>Vimium</strong></a><strong> </strong>(Read about Vimium in my <a href="https://medium.com/@oliviasaborush/throw-out-your-keyboard-with-vimium-2f07cbf62fb7">previous blog post</a>)</li><li>Install<strong> </strong><a href="https://chrome.google.com/webstore/detail/ali-gle/elmdbiojeknlinmblmdoiibgbmhcgmdp?hl=en-US"><strong>Ali-gle</strong></a> (optional)</li></ul><p><strong>Setup Alfred:</strong></p><ul><li>Open <strong>System Preferences</strong></li><li>Go to <strong>Spotlight </strong>and uncheck `Allow spotlight suggestions…`</li><li>Click <strong>Keyboard Shortcuts</strong></li><li>Uncheck both <strong>Show spotlight search</strong> and <strong>Show finder search window</strong></li><li>Open <strong>Alfred</strong></li><li>Set the hotkey to <strong>command + space</strong></li></ul><p><strong>Setup Trackpad/Mouse/Keyboard:</strong></p><ul><li>Open <strong>System Preferences</strong></li><li>Open <strong>Trackpad</strong></li><li>Set <strong>Tracking Speed </strong>to fast</li><li>Open <strong>Mouse</strong></li><li>Set <strong>Tracking Speed </strong>to fast</li><li>Open <strong>Keyboard</strong></li><li>Set <strong>Key Repeat </strong>to fast</li><li>Set <strong>Delay Until Repeat </strong>to short</li><li>Hit the <strong>Modifier Keys… </strong>button</li><li>Switch your <strong>Caps Lock</strong> key to either <strong>Control </strong>or <strong>Escape</strong>.</li><li>If you want to be better at keyboard shortcuts use <strong>Escape</strong></li><li>If you want to get better at <a href="https://www.vim.org/">vim</a> use <strong>Control</strong></li></ul><p>Start working on keyboard shortcuts. Anything you want to do with your mouse you can do with your keyboard. Here is an <a href="https://medium.com/@oliviasaborush/youre-wasting-your-time-without-shortcuts-c4ca0c0865f">intro to keyboard shortcuts</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58479b5c1f0c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Copying text with one click]]></title>
            <link>https://medium.com/@oliviasaborush/copying-text-with-one-click-caf7cfb9fa7?source=rss-f8b9d365f7cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/caf7cfb9fa7</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[es6]]></category>
            <category><![CDATA[jquery]]></category>
            <dc:creator><![CDATA[Liv Codes or Dies Trying]]></dc:creator>
            <pubDate>Tue, 18 Apr 2017 22:26:57 GMT</pubDate>
            <atom:updated>2017-04-18T22:26:57.151Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R0XuiXwO5mR6rWfqPQPdgw.png" /><figcaption>Thanks Github!</figcaption></figure><p>Something I always appreciate is when a website lets me copy with a click rather than making me manually copy it. In a recent mad-libs-esque form I created, where data would be changed and used elsewhere, I decided to implement a one click copy button to make saving versions easier.</p><p>Shaik Maqsood has a simple solution, implemented with jQuery (<a href="https://codepen.io/shaikmaqsood/pen/XmydxJ/">viewable on Codepen</a>).</p><pre>function copyToClipboard(element) {<br>  var $temp = $(&quot;&lt;input&gt;&quot;);<br>  $(&quot;body&quot;).append($temp);<br>  $temp.val($(element).text()).select();<br>  document.execCommand(&quot;copy&quot;);<br>  $temp.remove();<br>}</pre><p>Maqsood begins by creating a temporary input element and appending it to the body. Then the text of a specified element, clarified as the argument in the function, is then added to the new input as its value, and simultaneously selected as if the user had done so manually. Then the function copies the selected text to the user’s clipboard, finally removing the temporary input from the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*3I0l4WKiHMaqu9ETapoUMg.png" /></figure><p>Here’s what I was aiming to create: A few text paragraphs with inputs to fill in various blanks throughout, and a button that copies on click. I used Angular to bind the inputs with their respective places in the text, and jQuery to copy the full text when you click the button at the end.</p><p>Simple, right? Here’s the outcome:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F8z02TaPa5SA%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D8z02TaPa5SA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F8z02TaPa5SA%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c54ada47c37c1d1e501da8d02a6a8f8/href">https://medium.com/media/3c54ada47c37c1d1e501da8d02a6a8f8/href</a></iframe><p>It wasn’t keeping the line breaks! Everything was put together into one line. From here I played around with the way I presented my code. I alternated between using break tags, surrounding each paragraph in a p tag, even trying to add each text paragraph to the input individually rather than with their surrounding div.</p><p>Apparently this is a common problem.</p><p>The answer was to look at the HTML element being created with jQuery. Maqsood’s solution makes use of the input tag, which is specifically for one line text. Simply changing the tag to textarea allowed me to retain line breaks! However, it brought up a new problem: extra spaces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*HCkzG77toSYx175GxTrQsA.png" /></figure><p>All I wanted was left aligned text paragraphs, but here I was getting indented paragraphs. At this point I messed around in the function with how the information was being obtained, from grabbing the parent div, to string concatenation, to template literals.</p><pre>function copy() {<br>  var $temp = $(&quot;&lt;textarea&gt;&quot;);<br>  $(&quot;body&quot;).append($temp);<br>  $temp.val(() =&gt; {<br>    const full = $(&#39;.main&#39;).text();<br>    const split1 = $(&#39;.p1&#39;).text() + &#39;\r\n&#39; +<br>                   $(&#39;.p2&#39;).text() + &#39;\r\n&#39; +<br>                   $(&#39;.p3&#39;).text() + &#39;\r\n&#39; +<br>                   $(&#39;.p4&#39;).text();<br>    const split2 = `${$(&#39;.p1&#39;).text()}<br>                    ${$(&#39;.p2&#39;).text()}<br>                    ${$(&#39;.p3&#39;).text()}<br>                    ${$(&#39;.p4&#39;).text()}`<br>    const split3 = `${$(&#39;.p1&#39;).text()}\r${$(&#39;.p2&#39;).text()}\r${$(&#39;.p3&#39;).text()}\r${$(&#39;.p4&#39;).text()}`<br>    return full;<br>  }).select();</pre><pre>document.execCommand(&quot;copy&quot;);<br>  $temp.remove();<br>}</pre><p>String concatenation worked alright, but with the options ES6 has to offer it seems like a waste.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*-n-qrfx79bh2Gy5epP8fVw.png" /></figure><p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals">Template literals</a> worked well. It’s convenient that all paragraphs can all be added in one string. But when they say template LITERALS they are quite serious. As you can see in the image on the side while they keep track of your line breaks they also keep track of each new line’s indents. It works if you don’t indent, but it looks stupid in the code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*887aWF2OS2KVUD5j_YzPuA.png" /></figure><p>In the end the easiest way to get my desired effect was using template literals paired with return carriages, a la split3, but I had to adjust the HTML as well.</p><p>All the space inside the p tags are being tracked as well. If there is a line break between the opening tag and the text that will be copied, as well as the text indent. By moving the text immediately after the opening tag and having the close tag on the next line I was able to get paragraphs sans indent, but space between each.</p><pre>function copy() {<br>  var $temp = $(&quot;&lt;textarea&gt;&quot;);<br>  $(&quot;body&quot;).append($temp);<br>  $temp.val(() =&gt; `${$(&#39;.p1&#39;).text()}\r${$(&#39;.p2&#39;).text()}\r${$(&#39;.p3&#39;).text()}\r${$(&#39;.p4&#39;).text()}`).select();<br>  document.execCommand(&quot;copy&quot;);<br>  $temp.remove();<br>}</pre><p>So, that was a fun trip. Now go forth and copy paragraphs on paragraphs on paragraphs on paragraphs on</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*eydvNmw51cMothvZcxrHvQ.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=caf7cfb9fa7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a random hex code generator]]></title>
            <link>https://medium.com/@oliviasaborush/creating-a-random-hex-code-generator-7f306eef583?source=rss-f8b9d365f7cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f306eef583</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Liv Codes or Dies Trying]]></dc:creator>
            <pubDate>Wed, 15 Feb 2017 02:35:06 GMT</pubDate>
            <atom:updated>2017-02-15T02:35:06.979Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FDFTU-irQYIE%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DDFTU-irQYIE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FDFTU-irQYIE%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/cb9fbbbcf5cfb3b8540a979e65ee2517/href">https://medium.com/media/cb9fbbbcf5cfb3b8540a979e65ee2517/href</a></iframe><p>In preparation for a sprint where I would create a full stack app by myself in two days I decided I would have some fun, practice, and learn a bit by making a random hex code generator.</p><p>My initial idea for the sprint was a logo maker, using a simple user interface and svgs to create exportable logos, so I decided something even simpler, and design-minded, would be a good pre-sprint project. Eventually I decided on the random hex generator, thinking I may be able to either incorporate bits of it into my real sprint, or if things really tanked during the two days I would have a base to work from.</p><p>The first thing I did was create a function to generate a random hex code. I set up a bits array for uppercase and lowercase, depending on what I was looking for.</p><pre>let bits = [ &#39;a&#39;, &#39;b&#39;, &#39;c&#39;, &#39;d&#39;, &#39;e&#39;, &#39;f&#39;, &#39;0&#39;, &#39;1&#39;, &#39;2&#39;, &#39;3&#39;, &#39;4&#39;, &#39;5&#39;, &#39;6&#39;, &#39;7&#39;, &#39;8&#39;, &#39;9&#39; ];<br>// let bits = [ &#39;A&#39;, &#39;B&#39;, &#39;C&#39;, &#39;D&#39;, &#39;E&#39;, &#39;F&#39;, &#39;0&#39;, &#39;1&#39;, &#39;2&#39;, &#39;3&#39;, &#39;4&#39;, &#39;5&#39;, &#39;6&#39;, &#39;7&#39;, &#39;8&#39;, &#39;9&#39; ];</pre><pre>let index = () =&gt; Math.floor(Math.random() * 16);</pre><pre>let hex = () =&gt; bits[index()];</pre><pre>let randomColor = function() {<br>  let color = &#39;#&#39;;<br>  for (var i = 0; i &lt; 6; i++) {<br>    color += hex();<br>  }<br>  return color;<br>};</pre><p>I’ve been playing around with HTML/CSS for ten years without ever having truly studied, so this was a fun learning moment in regards to hexadecimals. Having to find all the pieces that make up a hex color code was simple, there’s only 16, and most of them are numbers. It also shines light on RGB colors, since hex codes are divided into 3 sections themselves for red, green, and blue, each containing two of the six hexadecimal characters. When you take into account that there are 16 possibilities for each character of a hex code, and two create each color, you realize that 16 * 16 is 256. Then, if you account for the first value being 0, you can easily find the value in RGB.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i8GJAouACxWWjP1kWfZBOg.png" /></figure><p>At first I envisioned this project incredibly simple. All I wanted was a simple toy problem: create a random hex generator and display the code, filling up the screen, in the created color. This was done mostly with jQuery, creating events that would create a new color and swap the text and styling of that text with the newly created color. But once I had the code up on the page, it looked lonely, and there wasn’t really a way to change it unless you refreshed the page. So I added a randomize button that would let you change the color without refreshing.</p><pre>let changeColor = function(element, color) {<br>  element.css(&#39;background-color&#39;, color)<br>         .css(&#39;color&#39;, color);<br>}</pre><pre>let changer = function(color) {<br>  // Change html background and font colors <br>    changeColor($(&#39;html&#39;), color); <br>  // &#39;#hex&#39; refers to the visible text<br>    $(&#39;#hex&#39;).val(color); // &#39;#hex&#39; refers to the <br>    $(&#39;#hex&#39;).css(&#39;color&#39;, color);<br>  // Change button background color<br>    $(&#39;button&#39;).css(&#39;background-color&#39;, color);<br>}</pre><p>But that wasn’t enough. The point of this exercise, beyond practice, was also about inspiration. I wanted to be inspired; inspired by the code, by the design, and by my own abilities. So I moved forward with the project!</p><pre>// Set up simple cache for colors <br>let colors = {<br>    now: &#39;#000000&#39;,<br>    last: &#39;#000000&#39;<br>}</pre><pre>// Cache for saved colors<br>let cache = [];</pre><pre>let changeColor = function(element, color) {<br>    element.css(&#39;background-color&#39;, color)<br>           .css(&#39;color&#39;, color);<br>}</pre><pre>let changer = function(color) {<br>  // Save current color as last color<br>    colors.last = colors.now;<br>  // Change current color to new color<br>    colors.now = color;<br>    changeColor($(&#39;html&#39;), color);<br>    $(&#39;#hex&#39;).val(color);<br>    $(&#39;#hex&#39;).css(&#39;color&#39;, color);<br>    $(&#39;button&#39;).css(&#39;background-color&#39;, color);<br>}</pre><pre>let cacheDot = function(hex) {<br>  // Limit dot cache to 21 dots<br>    if(cache.length &lt; 22) {<br>        cache.push(hex);<br>    }<br>}</pre><p>My next thought was, if anyone was to use this as a real app, they would probably want to save the colors they find. So I created a save button and, if people are flipping through random colors too quickly, a previous button. The previous button only goes back one color, however, because I felt having a cache of all the previously seen colors would be too much.</p><pre>$(&#39;#change&#39;).on(&#39;click&#39;, function() {<br>    changer(randomColor());<br>});</pre><pre>$(&#39;#prev&#39;).on(&#39;click&#39;, function() {<br>    changer(colors.last);<br>});</pre><pre>let dotMaker = function(color) {<br>    cacheDot(color);</pre><pre>    let dot = $(&#39;&lt;div&gt;&#39;).addClass(&#39;dot&#39;)<br>                          // Give each dot an index-based id<br>                        .attr(&#39;id&#39;, &#39;dot&#39; + cache.length)<br>                          // Set dot background to specific color<br>                        .css(&#39;background-color&#39;, color)</pre><pre>    changeColor(dot, color);<br>    return dot;<br>}</pre><pre>$(&#39;#save&#39;).on(&#39;click&#39;, function() {<br>  // Check if color is already in cache<br>    if(!cache.includes(colors.now)) {<br>      // Create dot and add to the screen<br>        let $dot = dotMaker(colors.now)<br>        $(&#39;.collection&#39;).append($dot);<br>    }<br>});</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ww0qvtuV4MkuIIX6RCofrA.png" /></figure><p>This is all I have time to talk about now, but I will continue at another time! The fun really started when I began enabling dragging and click-to-copy events. Look forward to that!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f306eef583" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Throw out your keyboard with Vimium]]></title>
            <link>https://medium.com/@oliviasaborush/throw-out-your-keyboard-with-vimium-2f07cbf62fb7?source=rss-f8b9d365f7cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f07cbf62fb7</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Liv Codes or Dies Trying]]></dc:creator>
            <pubDate>Wed, 01 Feb 2017 03:23:06 GMT</pubDate>
            <atom:updated>2017-02-01T03:25:15.880Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ywvMVlit4M6V_xQOj-s6Bw.png" /></figure><h3>Throw out your mouse, Vimium’s here</h3><p>I’ve been obsessed with Vimium since finding out about it in the last weeks of 2016. <a href="http://vimium.github.io/">Vimium</a>, created by Phil Crosby and Ilya Sukhar, is an amazing Google Chrome extension that allows you to navigate your browser without ever leaving your keyboard! Open links, open tabs, copy text! You can do all this and more from the comfort of your home row with Vimium. Here’s how!</p><h3>Before diving in</h3><p>Something to remember going forward is that most keys have an alternate functions depending on if you capitalize them or not. I do mean capitalize literally, as it’s possible to make use of these shortcuts via the Capslock key instead of just combining letters with Shift. As someone who avoids Shift like the plague, despite my interest in efficiency, I find this incredibly convenient.</p><p>Often these alternate deal with opening things in new tabs vs the current tab, but some are less connected. Now let’s save some time!</p><h3>F f</h3><p>Let’s start with the most exciting feature of Vimium, their link map! Typing F on an applicable page will create 1/2 character keys for each link on the page. Simply type any of the keys to go to that link! Capital F will open the link in a new tab. Honestly this saves me SO MUCH TIME, because I only need to rely on my eyes to traverse the net. If you can see it, you can go there.*</p><p>*It’s worth noting that not ALL links on the page are given link keys, only those immediately visible in the browser.</p><h3>?</h3><p>Did you forget what the shortcuts are? Vimium’s got you covered! Simply use the question mark shortcut to bring up a list of all available shortcuts.</p><h3>h j k l</h3><p>These are your new arrow keys. Need to move up or down? Lowercase j and k have got you covered. Likewise, lowercase h and l move horizontally.</p><h3>H L</h3><p>Move forward or back in your history!</p><h3>J K</h3><p>Your new method for shifting tabs. J moves you forward and K moves you back.</p><h3>O o</h3><p>This lets you begin writing a link to travel to, or search through your favorites, without having to leave your keyboard.</p><h3>P p</h3><p>Here’s an exciting one, P lets you take whatever is in your clipboard and open it in the current. While it’s immediately clear that copied links can be quickly used via the P shortcut, it’s important to remember that with Google Chrome using P with any sort of text will open a Google search</p><p>P can be incredibly powerful when you pair it with our next key,</p><h3>/</h3><p>The slash key is begins your search request. In the lower right corner you’ll see a small text box appear, and you can type in it to search the page for text. Once you’ve entered your desired text just hit Enter and you’re rewarded with a bunch of options.</p><h3>N n</h3><p>Use n to search forward for other instances of your desired text on the page, and N to move backward.</p><h3>V v</h3><p>Once you’ve found the spot in the page you are interested in, hit v to enter visual mode and get more options. Hit V to enter line visual mode, which allows you to select entire lines at a time.</p><h3>h j k l b n N $ y</h3><p>Once in visual mode you can use several keys to manipulate your current text selection. h j k and l are all used to move in the same directions specified earlier, left, up, down, and right. n selects the next appearance of your original selection, and N selects the previous appearance. $ will take your selection and extend it to the end of your current line. Finally, perhaps most importantly, y lets you copy or “yank” what you have selected.</p><p>There is still more to know about Vimium, but I hope you enjoyed this first look at an incredible, powerful extension. Now that you’ve learned the basics, you’re ready to join me in my new years resolution to exclusively use my keyboard!</p><h4><a href="https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb?hl=en">Get Vimium here!</a></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f07cbf62fb7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You’re wasting your time without shortcuts]]></title>
            <link>https://medium.com/@oliviasaborush/youre-wasting-your-time-without-shortcuts-c4ca0c0865f?source=rss-f8b9d365f7cb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4ca0c0865f</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[mac]]></category>
            <dc:creator><![CDATA[Liv Codes or Dies Trying]]></dc:creator>
            <pubDate>Wed, 01 Feb 2017 02:19:32 GMT</pubDate>
            <atom:updated>2017-07-20T18:32:11.429Z</atom:updated>
            <content:encoded><![CDATA[<p>My first job after graduating college was working at a tech company as a transcriptionist. In this context being a “transcriptionist” meant I was checking the quality of various technologies’ ability to understand speech when presented voice commands. I was provided an audio clip from a voice command and a text interpretation from the computer, then I would compare the two. Comparing meant either editing the computer’s text for spelling/context, or tagging it in various ways, depending on the circumstance. Corrupted audio, secondary speakers, and loud noises were all examples of things we had to tag.</p><p>That job sucked. It was an endless, soul crushing data entry job. The parameters were such that a set of data would last us an hour, and we were expected to finish at least eight sets of data per day. It was at this job, bored out of my mind, that I began to truly embrace keyboard shortcuts. With the help of the inhouse program’s native shortcuts, and even normal computer text shortcuts, I was able to cut the time spent on data sets to just <em>twenty minutes</em>! Thanks to keyboard shortcuts <strong>I finished an hour’s work in literally a third of the time, </strong>and finished the minimum amount of work with ease!</p><p>All of that is to express what a difference using keyboard shortcuts can make. If you are not using keyboard shortcuts I guarantee you are wasting time. Think about how much of your life you spend in the bathroom or eating. <em>A lot</em>, right? And these are things you do every single day. Now, how much of your life have you spent dragging your mouse to the top left of the screen, clicking file, dragging down to save, and then clicking again? If you’ve made it to my blog and you’re still not taking advantage of shortcuts, you’ve probably wasted a ton of your life without them! Things like saving, opening tabs, printing documents, and quitting programs are all necessary. Why, then, would you purposely spend extra time doing them when there is a faster way?</p><blockquote><strong>I finished my work in literally a third of the time</strong></blockquote><p>Every program has its own specific shortcuts, but here are some general multi-program shortcuts that can be invaluable when it comes to increasing efficiency. Now that I’ve wasted even more of your precious lifetime with this introduction, let’s get to the shortcuts!</p><p>Disclaimer: As a Mac user, these shortcuts are specifically for Mac! YMMV, PC users.</p><h3>Easy Mode</h3><p>Shortcuts are generally set to letters that are logical. Usually, but not always, they use the letter of the task they represent.</p><ul><li>Select All — Command + A</li><li>Cut — Command + X</li><li>Copy — Command + C</li><li>Paste — Command + V</li><li><strong>Bold</strong> — Command + B</li><li><em>Italic</em> — Command + I</li><li>Undo — Command + Z</li><li>Redo — Command + Y</li><li>Save — Command + S</li><li>Open — Command + O</li><li>Print — Command + P</li><li>Quit — Command + Q</li><li>New — Command + N</li><li>New tab — Command + T</li><li>Find — Command + F</li><li>Refresh — Command + R</li><li>Hard Refresh* — Command + R</li><li>Drag selection screenshot — Command + Shift + 3 **</li><li>Full page screenshot — Command + Shift + 4 **</li></ul><p>*— Hard refresh allows you to refresh a page without relying on cached data. So, if you have cached CSS or JavaScript that isn’t updating, hard refreshing will allow the page to load with all new changes.<br>** — Mac specific shortcuts</p><h3>Hard Mode</h3><p>From here on things are a bit more complicated. These functions aren’t obvious, but they are super helpful when you know how to use them. The text navigation shortcuts below are what I used to really boost my efficiency, and still use constantly when I’m coding.</p><ul><li>Shift program — Command + Tab</li><li>Shift programs with Spotlight (Mac) — Command + Space *</li><li>Move between words/paragraphs—Alt + Arrow **</li><li>Move to beginning/end of line/page — Command + Arrow ***</li><li>Delete entire word — Alt + Delete</li><li>Delete entire line — Command + Delete</li><li>Switch to next tabs — Control + Tab</li><li>Switch to previous tab — Control + Shift + Tab</li><li>Switch to specific tab — Command + [Number]</li><li>Close tab — Command + W</li><li>Close window — Command + Shift + W</li><li>Reopen last tab/window — Command + Shift + T</li></ul><p>*— Though some people may advocate for Command + Tab as a way to quickly switch between programs, I’m a much bigger fan of the spotlight search. Whereas I have to keep a mental map of the programs I’ve used when using Command + Tab, with spotlight search I can simply open it, type the first letter(s) of the program I want, and select it to come open.<br>** — When moving left/right with Alt it moves to the beginning/end of the next word in your path, while moving up/down will move to the beginning/end of the current/nearest paragraph.<br>*** — When moving left/right with Command it moves to the beginning/end of the current line, while moving up/down will move to the beginning/end of the page/text field.</p><h3>Parting words on shortcuts</h3><p>Keyboard shortcuts aren’t natural, they are a new skill you are obtaining. But don’t be intimidated by them, the same can be said of typing in general! You were not born with the ability to type, you developed it with time and practice. Just like you learned to use the Shift key to capitalize, you can learn to use the Command key (or any other key) for shortcuts, so go out and practice!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*CC09suXVdBYCIeMdw0DguQ.gif" /></figure><p>If you know any other great shortcuts I’ve missed, let me know in a comment!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4ca0c0865f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>