<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: George Nance</title>
    <description>The latest articles on DEV Community by George Nance (@george).</description>
    <link>https://dev.to/george</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F93120%2F8eb82d2f-d631-40d8-ae02-6fae17dd9fec.jpeg</url>
      <title>DEV Community: George Nance</title>
      <link>https://dev.to/george</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/george"/>
    <language>en</language>
    <item>
      <title>The Apps I Use</title>
      <dc:creator>George Nance</dc:creator>
      <pubDate>Sat, 28 Nov 2020 00:00:00 +0000</pubDate>
      <link>https://dev.to/george/the-apps-i-use-3d4p</link>
      <guid>https://dev.to/george/the-apps-i-use-3d4p</guid>
      <description>&lt;p&gt;Staying productive in a digital world can be hard without the right tools. I have assembled a list of great apps that I use everyday that make my life easier.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://bear.app" rel="noopener noreferrer"&gt;Bear&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Bear is a note taking app that brilliantly simple.&lt;br&gt;&lt;br&gt;
&lt;a href="/static/48285c9ba16bdbef80d266ff030eeae1/bac6a/bear.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgeorgenance.com%2Fstatic%2F48285c9ba16bdbef80d266ff030eeae1%2F99f37%2Fbear.png" title="Bear notes" alt="Bear notes" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Where it thrives is its ability to use anywhere in your note and sort them into collections.&lt;/p&gt;

&lt;p&gt;What makes Bear one of my favorite note taking applications is the fact that it's all markdown under the hood. Which means if I wanted to export all my notes out of Bear, I can with ease. I like that I own my data. My ADHD brain needs something flexible like this to stay organized.&lt;/p&gt;

&lt;p&gt;I have been trying to take more notes lately and to build up my &lt;a href="https://fortelabs.co/blog/basboverview/" rel="noopener noreferrer"&gt;second brain.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Bear is an excellent value at only $15 a year. That gets you a mobile app and a desktop app. The developers behind Bear are also working a major rewrite to make a web version as well.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://obsidian.md" rel="noopener noreferrer"&gt;Obsidian&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Obsidian is the newest player in my arsenal. It is a research note taking app created during the Covid-19 lockdown as a fun project. quickly evolved into quite a hit.&lt;/p&gt;

&lt;p&gt;&lt;a href="/static/d61cb7d448ffe66a301eebd580df7725/32ddb/obsidian.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgeorgenance.com%2Fstatic%2Fd61cb7d448ffe66a301eebd580df7725%2F99f37%2Fobsidian.png" title="Obsidian Markdown Editor" alt="Obsidian Markdown Editor" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What makes Obsidian different ? Its based off of the &lt;a href="https://en.wikipedia.org/wiki/Zettelkasten" rel="noopener noreferrer"&gt;zettelkasten&lt;/a&gt; system. Which is a system of taking notes and linking them together with certain phrases or words.&lt;/p&gt;

&lt;p&gt;I will be the first to tell you I am no expert at this system but I love the idea of having my own database of knowledge.&lt;/p&gt;

&lt;p&gt;Obsidian comes into play because they support backlinks in notes. Which is a way to connect 2 markdown files to each other. Obsidian also has this cool feature to see how your notes connect.&lt;/p&gt;

&lt;p&gt;&lt;a href="/static/0c1c4aef2e9811c75a22c8a97bf63e1b/6a6e9/obsidian-2.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgeorgenance.com%2Fstatic%2F0c1c4aef2e9811c75a22c8a97bf63e1b%2F6a6e9%2Fobsidian-2.png" title="Obsidian Graph View" alt="Obsidian Graph View" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It has become one of my favorite apps and has tons of features like a daily notes. The app uses CSS for custom themes so it's a breeze to make it look how you want.&lt;/p&gt;

&lt;p&gt;Right now I am using it alongside Bear to import notes that I want to move to a more permanent solution.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://todoist.com/r/georgenancejr_ujvbmr" rel="noopener noreferrer"&gt;Todoist&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="/static/71fb10be4974c144cd775d4f70616268/229ad/todoist.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgeorgenance.com%2Fstatic%2F71fb10be4974c144cd775d4f70616268%2F99f37%2Ftodoist.png" title="Todoist" alt="Todoist" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Todoist is a new one for me. For a long time I opposed this kinda of "subscription todo app", but it has been very beneficial in helping get my life together. The neat thing about about Todoist is projects and the ability to separate many tasks.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://www.figma.com" rel="noopener noreferrer"&gt;Figma&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="/static/e8e66a6a5d0e03bca71f768a837f5025/925c2/figma.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgeorgenance.com%2Fstatic%2Fe8e66a6a5d0e03bca71f768a837f5025%2F99f37%2Ffigma.png" title="Figma with logo for georgenance.com" alt="Figma with logo for georgenance.com" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Figma is a blast to work with for creating icons or UI mockups .&lt;/p&gt;

&lt;p&gt;The fact that is free blows my mind. I have started to work on my own icon-set in it. My logo was also created in it. It's a joy to use.&lt;/p&gt;

&lt;p&gt;Plus it has the ability to collaborate easily with real time editing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;These are just a few apps I use. I plan to write more about the other ones I love.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>beginners</category>
      <category>tools</category>
      <category>notes</category>
    </item>
    <item>
      <title>7 Reasons you SHOULD write CSS</title>
      <dc:creator>George Nance</dc:creator>
      <pubDate>Mon, 02 Nov 2020 00:00:00 +0000</pubDate>
      <link>https://dev.to/george/7-reasons-you-should-write-css-3c7j</link>
      <guid>https://dev.to/george/7-reasons-you-should-write-css-3c7j</guid>
      <description>&lt;p&gt;This article is in response to this post &lt;/p&gt;
&lt;div class="ltag__link"&gt;
  &lt;div class="ltag__link__content"&gt;
    &lt;div class="missing"&gt;
      &lt;h2&gt;Article No Longer Available&lt;/h2&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;I believe that preprocessors like SASS, LESS, or Stylus are becoming more and more irrelevant as CSS becomes more powerful.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. PostCSS
&lt;/h2&gt;

&lt;p&gt;I am going to start this list with &lt;a href="https://postCSS.org" rel="noopener noreferrer"&gt;PostCSS&lt;/a&gt;. Some people will be gritting their teeth right now saying that is cheating. And they may be right in a sense. But at its core, PostCSS brings the features of future CSS to your code now. The language is still CSS.&lt;/p&gt;

&lt;p&gt;PostCSS bring upcoming features such as selectors, functions, and automatically adding vendor prefixes to your code.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. CSS supports variables
&lt;/h2&gt;

&lt;p&gt;CSS added support for &lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties" rel="noopener noreferrer"&gt;custom variables&lt;/a&gt; and every modern browser supports it. The beauty of CSS variables is that you can dynamically change the variable values without needing to recompile. My site uses CSS variables for dark mode. If you haven’t tried it, Click the moon icon in the top right.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;
&lt;span class="nd"&gt;:root&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

 &lt;span class="py"&gt;--color-primary&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#399ee6&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

 &lt;span class="py"&gt;--color-text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;#222&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

 &lt;span class="py"&gt;--b-radius&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="m"&gt;8px&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nt"&gt;button&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;

 &lt;span class="nl"&gt;background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;--color-primary&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

 &lt;span class="nl"&gt;color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;--color-text&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

 &lt;span class="nl"&gt;border-radius&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;var&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;--b-radius&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. CSS supports imports.
&lt;/h2&gt;

&lt;p&gt;For the longest time you would have one giant CSS file for everything, but modern CSS allows you to import CSS files. I have began to separate my CSS files to help keep my code more organized.&lt;/p&gt;

&lt;p&gt;&lt;a href="/static/94d5e9677c7628d1aba91bbd2b000d08/eba85/css-vars.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgeorgenance.com%2Fstatic%2F94d5e9677c7628d1aba91bbd2b000d08%2Feba85%2Fcss-vars.png" title="Screenshot of code showing CSS variables " alt="Screenshot of code showing CSS variables" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Calculations are here and they work beautifully.
&lt;/h2&gt;

&lt;p&gt;With &lt;code&gt;calc&lt;/code&gt; you can do much more then you ever could before. It allows you to add, subtract, multiply, and divide in CSS. You can even do calculation using different data types such as percents and pixels.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;
&lt;span class="nt"&gt;width&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;calc&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="err"&gt;100&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="nt"&gt;-&lt;/span&gt; &lt;span class="err"&gt;30&lt;/span&gt;&lt;span class="nt"&gt;px&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  5. Flexbox and CSS grid have changed the game
&lt;/h2&gt;

&lt;p&gt;Flexbox and CSS Grid have made designing for the web an absolute treat. A basic bootstrap grid system can be created with a few lines of code. You no longer need to use a framework to create a responsive website.&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/geoffgraham/embed/rjrLXB?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  6. It’s the standard to style the web.
&lt;/h2&gt;

&lt;p&gt;The fundamentals of writing CSS syntax hasn’t changed much. You can rest assured that if you learn CSS, you will always know how to style the web. CSS has over 20 years of experience behind it. It won't be going away anytime soon.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Never compile
&lt;/h2&gt;

&lt;p&gt;You can edit your CSS file from anywhere and in any text editor with ever needing to compile. You don't have to worry about syntax errors preventing your code from rendering. This adds the flexibility to write CSS directly from the web console.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrap up
&lt;/h2&gt;

&lt;p&gt;I highly recommend writing more vanilla CSS. Modern CSS has come a long way since the days of using tables for everything. You can create modern, efficient, and responsive websites without needing to compile any code.&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tips</category>
    </item>
    <item>
      <title>Don’t use frontmatter to seperate your markdown files in GatsbyJS - Use the file system</title>
      <dc:creator>George Nance</dc:creator>
      <pubDate>Sat, 29 Aug 2020 21:22:10 +0000</pubDate>
      <link>https://dev.to/george/don-t-use-frontmatter-to-seperate-your-markdown-files-in-gatsbyjs-use-the-file-system-39jn</link>
      <guid>https://dev.to/george/don-t-use-frontmatter-to-seperate-your-markdown-files-in-gatsbyjs-use-the-file-system-39jn</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;I am going to walk you through how to separate your markdown files in Gatsby in a way that more sense then a frontmatter field.&lt;/p&gt;

&lt;h3&gt;
  
  
  How splitting up markdown is normally done
&lt;/h3&gt;

&lt;p&gt;For the longest time I had to use solutions like front matter fields to specify the difference between posts and pages types&lt;/p&gt;

&lt;p&gt;Before I learned you could tell GraphQL to know the which markdown file was a page or post. My front matter would look something like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;
---
&lt;/span&gt;
title: 'How to be productive as a programmer with ADHD'

date: '2020-06-19'

published: true

tags: ['adhd', 'productivity']

coverImage: cover.jpg

type: article

description: Being productive while having ADHD can sometimes feel like a colossal task.
&lt;span class="p"&gt;
---

&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I would use &lt;code&gt;type: article&lt;/code&gt; so I could filter out only posts or articles.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why its bad
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Adds extra syntax to every markdown file&lt;/li&gt;
&lt;li&gt;It can easily become error prone&lt;/li&gt;
&lt;li&gt;File Systems were designed for this task.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted to simplify how my blog generated articles so I could focus on creating content and not figuring out why a post was missing.&lt;/p&gt;

&lt;p&gt;And I already had a folder structure like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="/static/1047f7d067d74b7a1e789963828187e6/00e65/my-folder-structure.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgeorgenance.com%2Fstatic%2F1047f7d067d74b7a1e789963828187e6%2F00e65%2Fmy-folder-structure.png" title="my folder structure" alt="my folder structure" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Wouldn’t it be nice if GatsbyJS knew if a markdown file was a page or blog post based on the folder it's in?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;That makes more sense to me.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;p&gt;You need to have &lt;code&gt;gatsby-source-filesystem&lt;/code&gt; installed.&lt;/p&gt;

&lt;p&gt;If you are using &lt;code&gt;gatsby-transform-remark&lt;/code&gt; or &lt;code&gt;gatsby-plugin-mdx&lt;/code&gt; you will already have this installed. 👍&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1 - Create the folder structure
&lt;/h2&gt;

&lt;p&gt;Create the folder structure you want to use.&lt;/p&gt;

&lt;p&gt;I like to separate my posts from my code so I put mine at the root level like this&lt;code&gt;project-folder/content&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This is the folder structure I will use&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
📂 content

├── 📂 blog

│ ├── 📂 hello-world

│ │ ├── 📄 index.md

│ │ └── 🖼 salty&lt;span class="se"&gt;\_&lt;/span&gt;egg.jpg

│ ├── 📂 my-second-post

│ │ └── 📄 index.md

│ └── 📂 new-beginnings

│ └── 📄 index.md

└── 📂 pages

   ├── 📂 about

   │ ├── 📄 index.md

   │ └── 🖼 profile-pic.jpg

   └── 📂 now

      └── 📄 now.md

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each page or blog post has its own folder. This makes it easy to keep images or files it needs organized.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2 - Set up the file system in Gatsby
&lt;/h2&gt;

&lt;p&gt;Install &lt;code&gt;gatsby-source-filesystem&lt;/code&gt; if you don’t have it&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
yarn add gatsby-source-filesystem

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We are going to be using the &lt;a href="https://www.gatsbyjs.com/plugins/gatsby-source-filesystem/" rel="noopener noreferrer"&gt;Gatsby Source File System&lt;/a&gt; to separate our folders.&lt;/p&gt;

&lt;p&gt;To do this, first add &lt;code&gt;gatsby-source-filesystem&lt;/code&gt; as a plugin to &lt;code&gt;gatsby.config.js&lt;/code&gt; . You might already have this added.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For each type of content you want separated add a new gatsby source filesystem object&lt;/strong&gt; with the name and path.&lt;/p&gt;

&lt;p&gt;In our case, we want to separate posts and pages, so we need 2 sections.&lt;/p&gt;

&lt;p&gt;It should look something like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;
&lt;span class="nx"&gt;plugins&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;

&lt;span class="p"&gt;{&lt;/span&gt;

      &lt;span class="na"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`gatsby-source-filesystem`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

      &lt;span class="na"&gt;options&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

        &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="nx"&gt;_&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="nx"&gt;_dirname&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;/content/blog`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

        &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`blog`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

&lt;span class="p"&gt;},&lt;/span&gt;

&lt;span class="p"&gt;},&lt;/span&gt;

&lt;span class="p"&gt;{&lt;/span&gt;

      &lt;span class="na"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`gatsby-source-filesystem`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

      &lt;span class="na"&gt;options&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

        &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="nx"&gt;_&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="nx"&gt;_dirname&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;/content/pages`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

        &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`page`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

&lt;span class="p"&gt;},&lt;/span&gt;

&lt;span class="p"&gt;},&lt;/span&gt;

&lt;span class="p"&gt;...&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 3 - Update Gatsby config
&lt;/h2&gt;

&lt;p&gt;In &lt;code&gt;gatsby-node.js&lt;/code&gt; add this code to &lt;code&gt;onCreateNode&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;
&lt;span class="nx"&gt;exports&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;onCreateNode&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="nx"&gt;node&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;getNode&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;actions&lt;/span&gt; &lt;span class="p"&gt;})&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;createNodeField&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;actions&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;node&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;internal&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;type&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s2"&gt;`MarkdownRemark`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;parent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;getNode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;node&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;parent&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;collection&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;parent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;sourceInstanceName&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nf"&gt;createNodeField&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;

      &lt;span class="nx"&gt;node&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

      &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;collection&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

      &lt;span class="na"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;collection&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

&lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="p"&gt;};&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you are using MDX, just swap out &lt;code&gt;allMarkdownRemark&lt;/code&gt; for &lt;code&gt;Mdx&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;First off, we make sure that the node we are editing is a markdown file, we are grabbing the parent node so we can access some additional information.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sourceInstanceName&lt;/code&gt; is the field we set on &lt;code&gt;gatsby-source-filesystem&lt;/code&gt; in the last step.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;allMarkdownRemark&lt;/code&gt; alone does not have this field for us to use so we have to get it from the parent.&lt;/p&gt;

&lt;p&gt;Then you add a &lt;code&gt;field&lt;/code&gt; to the markdown node for the collection it belongs to.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4 - Let the separating begin
&lt;/h3&gt;

&lt;p&gt;We can now pass a filter to gatsby to let it know what collection we want to access. Hooray! No more frontmatter types&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight graphql"&gt;&lt;code&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="k"&gt;query&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;

  &lt;/span&gt;&lt;span class="n"&gt;allMdx&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="n"&gt;sort&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;fields&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;frontmatter&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;_&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;_&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;_date&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;order&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;DESC&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="n"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;fields&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;collection&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;eq&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"posts"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;

    &lt;/span&gt;&lt;span class="n"&gt;edges&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;

      &lt;/span&gt;&lt;span class="n"&gt;node&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;

        &lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="w"&gt;

        &lt;/span&gt;&lt;span class="n"&gt;fields&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;

          &lt;/span&gt;&lt;span class="n"&gt;slug&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;

        &lt;/span&gt;&lt;span class="n"&gt;frontmatter&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;

          &lt;/span&gt;&lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="w"&gt;

          &lt;/span&gt;&lt;span class="n"&gt;published&lt;/span&gt;&lt;span class="w"&gt;

          &lt;/span&gt;&lt;span class="n"&gt;slug&lt;/span&gt;&lt;span class="w"&gt;

          &lt;/span&gt;&lt;span class="n"&gt;date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;formatString&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"MMMM DD, YYYY"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;

        &lt;/span&gt;&lt;span class="n"&gt;excerpt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pruneLength&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;280&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Wrap Up
&lt;/h2&gt;

&lt;p&gt;Thanks for stopping by! This was a quick tutorial I made to solve an issue I was having with GatsbyJS. This article is a part of my "write one blog post a month" challenge.&lt;/p&gt;

&lt;p&gt;If you would like to see more tutorials like this, let me know on &lt;a href="http://twitter.com/geonance" rel="noopener noreferrer"&gt;twitter&lt;/a&gt; or by subscribing to my &lt;a href="https://dev.to/subscribe"&gt;newletter&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Also I recommmend checking out &lt;a href="https://joshwcomeau.com/" rel="noopener noreferrer"&gt;Josh W Comeau&lt;/a&gt; if you want more Gatsby goodness. His tutorial on darkmode inspired me to add it to my site&lt;/p&gt;

</description>
      <category>gatsby</category>
      <category>javascript</category>
      <category>tutorial</category>
      <category>graphql</category>
    </item>
    <item>
      <title>An Open Letter to New Programmers</title>
      <dc:creator>George Nance</dc:creator>
      <pubDate>Sun, 02 Aug 2020 00:00:00 +0000</pubDate>
      <link>https://dev.to/george/an-open-letter-to-new-programmers-121</link>
      <guid>https://dev.to/george/an-open-letter-to-new-programmers-121</guid>
      <description>&lt;p&gt;Dear weary novice programmer,&lt;/p&gt;

&lt;p&gt;Do not give up. I promise it will all make sense soon. Learning to program is not an exercise of remembering commands but the ability to change how you think. Learning to program is bigger then having the ability to write computer programs. It will teach you how to live a more optimal life.&lt;/p&gt;

&lt;p&gt;I am going to share with you some advice I would have given myself when I first started.&lt;/p&gt;

&lt;h2&gt;
  
  
  Everyone feels like they are faking it.
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fhzx4d71xi8soxly7agbe.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fhzx4d71xi8soxly7agbe.jpg" alt="Faking it" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I know that you think that this way over your head. But I promise it will take time to get used to. Not a single soul born knows how to code. In the same sense, no one is born knowing how to walk. Only persistance will give you the results you want. Do not compare yourself or your code to others. &lt;strong&gt;This is a quickest way to hating your work&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  You must write garbage code first
&lt;/h2&gt;

&lt;p&gt;The worst thing you can do is take on a massive project in the beginning. When I was a wee lad, I loved the movie the Social Network. The movie revolved around Mark Zuckerberg starting Facebook from his college dorm room. I would get so inspired after watching that I would proclaim to my friends, “I”m going to build the next Facebook!”. Then I would open up my &lt;del&gt;pirated&lt;/del&gt; copy of Adobe DreamWeaver and pretend to know was doing.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmedia1.tenor.com%2Fimages%2Fcedc741cbcef0b97cc652ad9cb29d0ad%2Ftenor.gif%3Fitemid%3D13969571" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmedia1.tenor.com%2Fimages%2Fcedc741cbcef0b97cc652ad9cb29d0ad%2Ftenor.gif%3Fitemid%3D13969571" title="Rare footage of me in 2009 having no idea what I'm doing" alt="People from the Social Network movie staring at computer" width="498" height="203"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Rare footage of me in 2009 having no idea what I'm doing&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;At the time, I did not know much html. And the only css I knew was how to the change the color of text. But I was going to write the next Facebook.&lt;/p&gt;

&lt;h4&gt;
  
  
  Spoiler Alert: &lt;em&gt;I didn’t write the next Facebook&lt;/em&gt;.
&lt;/h4&gt;

&lt;p&gt;The truth is, Facebook was &lt;strong&gt;not&lt;/strong&gt; Zuckerberg’s first website. He was already an experienced programmer by the time he started Facebook. And no one talks about the projects he made before he got to Harvard. That’s an important thing to remember, your first projects are going to suck and no one but you will want to use them. And that’s okay!&lt;/p&gt;

&lt;p&gt;In the game development community, there is a common piece of advice given to beginners. “Don’t write an MMO as your first game”. It's not surprising that aspiring gamedevs come into the field wanting to create the games they enjoy playing. This advice is not meant to be discouraging. What said is that you have to crawl before you can walk. If you dediate yourself to a huge project early on, you will become overwhemled and burn out.&lt;/p&gt;

&lt;p&gt;But if you accept that your first works will suck, you will grow and learn what you can do. The faster you get past the sucky bits, the faster you get to the &lt;em&gt;not so bad&lt;/em&gt; parts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Programming is a change in mindset
&lt;/h2&gt;

&lt;p&gt;Learning to program is not about learning how to use the latest Javascript libraries. Its not about learning how binary works (Though that’s not a bad path). Its not even about learning a language . Learning to program is an entire shifting of the way you think.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmedia1.tenor.com%2Fimages%2F5505bcb204761c1f9c979a085d5fd4ec%2Ftenor.gif%3Fitemid%3D8390287" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmedia1.tenor.com%2Fimages%2F5505bcb204761c1f9c979a085d5fd4ec%2Ftenor.gif%3Fitemid%3D8390287" title="At a certain point, you don't even see what normal people see looking at code" alt="The Matrix" width="480" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here’s the thing about computers. Computers are purely logical. A computer will do what it's told. A computer knows only the information its given. If your program is not doing something you want, this means you need to step through how the computer is interpreting what's being told.&lt;/p&gt;

&lt;p&gt;This can be a foreign concept for some. You have to think like a computer. People who tend to be better at math pick up programming a bit quicker. For me, I am not naturally good at math, so this took me a long time to grasp.&lt;/p&gt;

&lt;h2&gt;
  
  
  Experienced programmers question their expertise all of the time
&lt;/h2&gt;

&lt;p&gt;To this day I still question if I am an imposter and I have been programming for over 10 years. At my new job, they are using a framework I was not familiar with. I had a difficult time trying to understand the way the framework wants me to use it. No matter how many languages or framework you learn, you will always have moments like these.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fd475b72l0xvpyi1xg3pu.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fd475b72l0xvpyi1xg3pu.jpg" alt="Experienced programmers question their expertise all of the time" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is always a period of time where you are typing code you don't fully understand. Then there will be an "aha!" moment where it all makes sense. This is called the &lt;em&gt;click&lt;/em&gt;. Sometime it takes weeks or months to get there. We all have to go through it. You are not dumb, it just has not clicked for you yet.&lt;/p&gt;

&lt;p&gt;Programming is more about the ability to love learning than it is about remembering what you have learned. If you hate learning new things, you will have a hard time in this field. But if you love learning, you will find this very rewarding .&lt;/p&gt;

&lt;h2&gt;
  
  
  The click will come
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fx9v9adlmpet4x9o8hgqm.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fx9v9adlmpet4x9o8hgqm.jpg" alt="Conclusion" width="800" height="529"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You are not alone if has not come yet. It all comes back to shifting your way of thinking. And that takes time. For a long time I wrote code without knowing what it did.&lt;/p&gt;

&lt;p&gt;This is something that you must trust to come. You can not fight it or skip any steps.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you can do
&lt;/h2&gt;

&lt;p&gt;Do not dispair, if you can accept that time will improve your skills, there is action you can take.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Set aside some time everyday to program.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Try to make a project that will help you.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Look through these lists and try to complete a project on your own.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/karan/Projects" rel="noopener noreferrer"&gt;Mega Project List&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/tuvtran/project-based-learning" rel="noopener noreferrer"&gt;Project Based Learning&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/jorgegonzalez/beginner-projects" rel="noopener noreferrer"&gt;Beginner Projects&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Keep learning. Don't stop watching tutorials or taking classes. Ask questions on &lt;a href="https://dev.to"&gt;Dev.to&lt;/a&gt; or &lt;a href="https://reddit.com/r/learnprogramming" rel="noopener noreferrer"&gt;/r/learnprogramming&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;If you know someone else who is struggling with programming, please send them this article. &lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  One last thing you can do
&lt;/h2&gt;

&lt;p&gt;You could subscribe to me here on Dev.to or checkout my &lt;a href="https://georgenance.com/subscribe" rel="noopener noreferrer"&gt;newsletter&lt;/a&gt; . I have made it my goal to write at least one post a month to help programmers with topics such as mental health, burnout, and self care. Seeing how many people appreciate my work is really motivational to keep writing 🙂 &lt;/p&gt;

</description>
      <category>career</category>
      <category>beginners</category>
      <category>codenewbie</category>
    </item>
    <item>
      <title>How to be productive as a programmer with ADHD</title>
      <dc:creator>George Nance</dc:creator>
      <pubDate>Fri, 19 Jun 2020 22:40:00 +0000</pubDate>
      <link>https://dev.to/george/how-to-be-productive-as-a-programmer-with-adhd-mnn</link>
      <guid>https://dev.to/george/how-to-be-productive-as-a-programmer-with-adhd-mnn</guid>
      <description>&lt;p&gt;Being productive while having ADHD can sometimes feel like a colossal task. When I was rediagnosed with ADHD as an adult, I began to research ways to be more productive that are inattentive friendly.&lt;/p&gt;

&lt;p&gt;To my surprise, there was not much content for adults with it. So I compiled a list of methods that will help you stay focused as a programmer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Set up your work environment
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Flh7ij2bjxt1t6q7qujzt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Flh7ij2bjxt1t6q7qujzt.png" alt="Man at desk head down" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To set up your work environment for success, you need to reduce distractions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Close Apps you are not using.&lt;/strong&gt; I use an app called &lt;a href="https://marco.org/apps" rel="noopener noreferrer"&gt;Quitter&lt;/a&gt; by Marco Arment. It lets you set up rules to close your apps after a set amount of time of it being inactive.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Organize your files and folders.&lt;/strong&gt; It’s a good idea to try to keep projects isolated to their own folder so they are easier to find. &lt;em&gt;I plan to write more about this one in a later article&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tweak your notifications.&lt;/strong&gt; If you can get away with turning on Do Not Disturb on your computer, this will be the most effective. But if you are expected to be prompt to slack messages and emails this may be a bit more tricky.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Block distracting websites.&lt;/strong&gt; Taking a 5-minute break on reddit can lead to you looking at cats that like loafs of bread an hour later. For Mac, there is a great app called &lt;a href="https://selfcontrolapp.com/" rel="noopener noreferrer"&gt;Self Control&lt;/a&gt; that lets you block certain websites for a set amount of time. The best part is that it’s very hard to get around this filer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Buy a good pair of noise-canceling headphones&lt;/strong&gt; and find some music that helps you get into a flow state. I have a pair of &lt;a href="https://www.amazon.com/gp/product/B00HVLUR86/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&amp;amp;psc=1" rel="noopener noreferrer"&gt;ATH-M50x&lt;/a&gt; that have been my loyal choice for over 5 years (Not Sponsored &lt;em&gt;yet&lt;/em&gt;). Music is one of the most underrated tools for programmers.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Organize your tasks!
&lt;/h2&gt;

&lt;p&gt;For organizing tasks, it's useful to stick to analog. Yes, analog. I bet you thought this was going to be about cool apps huh? Nope, let me introduce you to this cool little thing called Bullet Journaling.&lt;/p&gt;

&lt;h3&gt;
  
  
  Bullet Journaling
&lt;/h3&gt;

&lt;p&gt;At first, I was skeptical of this system but the more I have used it, the more I have fallen in love with it.&lt;/p&gt;

&lt;p&gt;The best approach for bullet journaling is using &lt;em&gt;good ‘ol pencil and paper&lt;/em&gt;. Digital apps have the flaw of being in an environment that is full of distractions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F8rhxcc4c7xo1n33eimbz.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F8rhxcc4c7xo1n33eimbz.jpg" alt="Bullet Journalling" width="800" height="615"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All you need to get started is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A blank or dotted journal 📓&lt;/li&gt;
&lt;li&gt;A pen 🖋&lt;/li&gt;
&lt;li&gt;A passion to get things done. ✍️&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It all starts with an index page. This page will keep your journal organized. Then you create a Future Log, A monthly log, and a daily log. The reason why this system works so well for developers with ADHD is that it's easy to tweak. If you want to have a page for your doodles of Triforces, go for it. If you want to create an elaborate health and fitness tracker, you can do it.&lt;/p&gt;

&lt;p&gt;If you need inspiration, there is no shortage of creative posts on Pintrest and Instagram.&lt;/p&gt;

&lt;p&gt;For more info on Bullet Journaling, I recommend reading the &lt;a href="https://bulletjournal.com/" rel="noopener noreferrer"&gt;official website&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I also recommend watching &lt;a href="https://www.youtube.com/watch?v=jkZEEQG6IVE" rel="noopener noreferrer"&gt;How To ADHD’s video&lt;/a&gt; on bullet journaling.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/jkZEEQG6IVE"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Exercise
&lt;/h2&gt;

&lt;p&gt;Exercise has proven time and time again to be an excellent tool for just about everything.&lt;/p&gt;

&lt;p&gt;On the mornings where I am not hitting the snooze button until the last moment, I try to get at least 30 minutes of exercise. I notice improvements in my mood and the ability to solve problems quicker.&lt;/p&gt;

&lt;p&gt;It doesn’t need to be intense if you are starting your fitness journey, A walk around the park can do a lot for the mind. Proper exercise &lt;a href="https://www.webmd.com/add-adhd/adult-adhd-and-exercise#1" rel="noopener noreferrer"&gt;is shown&lt;/a&gt; to reduce most symptoms of ADHD.&lt;/p&gt;

&lt;h2&gt;
  
  
  Time Management
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Pomodoro Timers
&lt;/h3&gt;

&lt;p&gt;Pomodora timer is a system to make sure you stay focused on a task followed by a short break.&lt;/p&gt;

&lt;p&gt;This is an easy way to ensure that you are giving your mind time to relax and not hyper-focus for too long. Every 25 minutes or so, you take a 5-minute break. Then after 3 “Pomodoras”, you take a 15-minute break. This system forces you to stick to a task with a promised reward of time you can do whatever you want without feeling guilty. That’s the beauty of this system. I’m using one right now while I write this.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Frhj47zjnbbavw147cwyx.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Frhj47zjnbbavw147cwyx.jpeg" alt="Forest App on iOS" width="199" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here are some great apps that use Pomodoro:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.forestapp.cc/" rel="noopener noreferrer"&gt;Forest&lt;/a&gt; - Pictured above. iOS app(Paid) and a Chrome Extension&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://apps.apple.com/us/app/flow-focus-and-work-timer/id1423210932?mt=12" rel="noopener noreferrer"&gt;‎Flow&lt;/a&gt; - Mac menubar app&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://tomato-timer.com/" rel="noopener noreferrer"&gt;Tomato Timer&lt;/a&gt; - Web App&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Allow yourself time to actually read documentation.
&lt;/h3&gt;

&lt;p&gt;If your brain is anything like mine, you probably skim the documentation until you find a code snippet you can use and ignore everything else. Good news, you’re not alone in this. Our brains are wired to find solutions in the most efficient way.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://uxmyths.com/post/647473628/myth-people-read-on-the-web" rel="noopener noreferrer"&gt;Statistically speaking&lt;/a&gt;, most people are skimming this article right now.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Jakob Nielsen’s eye-tracking study from 2008 indicated that &lt;strong&gt;less than 20%&lt;/strong&gt; of the text content is actually read on an average web page.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  👋 Hello to the people skimming this post
&lt;/h3&gt;

&lt;p&gt;While this behavior is effective at getting results, we can find ourselves in a loop of not understanding the &lt;em&gt;why&lt;/em&gt; behind certain code. Allow your self to slow down next time you are looking up something. Read the descriptions of the functions and API you are using. You will probably learn something new!&lt;/p&gt;

&lt;h2&gt;
  
  
  Medication
&lt;/h2&gt;

&lt;p&gt;Okay, this one might stir up controversy, that’s why I saved it for last. Let me preface this with I am not a doctor and you should talk to yours if you are thinking about medication.&lt;/p&gt;



&lt;p&gt;&lt;em&gt;For me, medication has been the most effective tool&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The first time I took medication, I cried. For the first time in my life, everything clicked. I spent most of my adult life looking for a system to help me reach my goals. But they all followed the same cycle:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Phase 1: I discover a new system and am passionate about it&lt;/li&gt;
&lt;li&gt;Phase 2: I do tons of research and begin implementing it.&lt;/li&gt;
&lt;li&gt;Phase 3: Everything goes great until I miss a day.&lt;/li&gt;
&lt;li&gt;Phase 4: I fall off. GOTO Phase 1&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My life was equivalent to everyone's New Years' weight loss goal. I believed I didn’t have the discipline to get anything done. I knew I wasn’t lazy. I felt like I was &lt;strong&gt;working 2x&lt;/strong&gt; as hard as everyone to only get half as much work done.&lt;/p&gt;

&lt;p&gt;So when I started using medication, all those systems that did not stick began to click. Life went from being an unpredictable blur to being able to think clearly. It felt like putting glasses on for the first time.&lt;/p&gt;



&lt;p&gt;Medication is not for everyone, many people with ADHD live successful lives without it. But you should know that it’s an option.&lt;/p&gt;

&lt;h2&gt;
  
  
  In Conclusion
&lt;/h2&gt;

&lt;p&gt;You can be a programmer with ADHD and live a productive life. I shared the tools I have used to keep myself accountable and productive. Every one of them I have used myself. While these may or may not work for you I encourage you to try them. I also recommended finding a community to talk about ADHD without judgment.&lt;/p&gt;

&lt;p&gt;Here are a couple good ones:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.reddit.com/r/ADHD/" rel="noopener noreferrer"&gt;/r/ADHD&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://twitter.com/hashtag/NeurodiverseSquad" rel="noopener noreferrer"&gt;#NeruoDiverseSquad&lt;/a&gt; on Twitter&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One last thing, Embrace ADHD. Don’t be too hard on yourself when a system doesn’t work for you. Your brain is different. We are programmed to notice small details and think outside of the box. Change is hard and the worst thing you can do is think you are defective.&lt;/p&gt;

&lt;p&gt;I live by this quote from BJ Fogg, the author of &lt;a href="https://www.tinyhabits.com/" rel="noopener noreferrer"&gt;Tiny Habits&lt;/a&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;People change best by feeling good, not by feeling bad.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Thanks for reading !! I would love to hear what you have done to become more productive.
&lt;/h2&gt;

&lt;p&gt;If you want to see more content like this, be sure to check out my &lt;a href="https://georgenance.com" rel="noopener noreferrer"&gt;website&lt;/a&gt; and considering subscribing to my news letter. I plan to publish more articles like this in the future&lt;/p&gt;

</description>
      <category>adhd</category>
      <category>productivity</category>
      <category>career</category>
      <category>learning</category>
    </item>
    <item>
      <title>What’s your non-programming specific favorite tech blog ?</title>
      <dc:creator>George Nance</dc:creator>
      <pubDate>Sat, 06 Jun 2020 20:26:01 +0000</pubDate>
      <link>https://dev.to/george/what-s-your-non-programming-specific-favorite-tech-blog-fb4</link>
      <guid>https://dev.to/george/what-s-your-non-programming-specific-favorite-tech-blog-fb4</guid>
      <description>&lt;p&gt;Just curious who you like to follow.&lt;/p&gt;

&lt;p&gt;I really like &lt;/p&gt;

&lt;p&gt;&lt;a href="http://Marco.org" rel="noopener noreferrer"&gt;Marco Arment&lt;/a&gt; He is an indie iOS dev but has a passion for Apple Tech. He has lots of posts breaking down how certain technologies work. &lt;/p&gt;

</description>
      <category>discuss</category>
      <category>writing</category>
    </item>
    <item>
      <title>Deleting untracked files from git</title>
      <dc:creator>George Nance</dc:creator>
      <pubDate>Sat, 06 Jun 2020 06:25:12 +0000</pubDate>
      <link>https://dev.to/george/deleting-untracked-files-from-git-ch4</link>
      <guid>https://dev.to/george/deleting-untracked-files-from-git-ch4</guid>
      <description>

&lt;h2&gt;
  
  
  The problem:
&lt;/h2&gt;

&lt;p&gt;Have you ever tried to pull down some new changes and come across this error?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;error: The following untracked working tree files would be overwritten by merge:
    resources/views/untrackedFolder/untrackedFile.blade.php
    resources/views/untrackedFolder/anotherUntrackedFile.blade.php
Please move or remove them before you can merge.
Aborting
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Untracked files huh? Okay, that doesn't sound too difficult. You should be able to run&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git reset --hard&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  But wait
&lt;/h4&gt;

&lt;p&gt;They are still there! &lt;em&gt;What gives !?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9fkyhprcaawbfgsepp2z.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9fkyhprcaawbfgsepp2z.gif" alt="wait what" width="464" height="262"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The reason is because &lt;code&gt;git reset --hard&lt;/code&gt; &lt;strong&gt;only removes files that are already a part of the repo&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Solution
&lt;/h2&gt;

&lt;p&gt;From the &lt;a href="https://git-scm.com/docs/git-clean" rel="noopener noreferrer"&gt;git docs&lt;/a&gt;, we will find this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clean &lt;span class="nt"&gt;-n&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;-n&lt;/code&gt; this flag will show you what files will be removed.&lt;/p&gt;

&lt;p&gt;You should use this flag first to determine what is going to be removed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clean &lt;span class="nt"&gt;-f&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;-f&lt;/code&gt; this flag means it will delete the files &lt;strong&gt;permanently&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other useful commands
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;git clean -fd&lt;/code&gt; will also delete folders&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git clean -fX&lt;/code&gt; removes ignored files&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git clean -fx&lt;/code&gt; removes both ignored and non-ignored files&lt;/p&gt;

&lt;p&gt;There you go, you should have a clean repository that has the changes committed before.&lt;/p&gt;

</description>
      <category>git</category>
      <category>bash</category>
      <category>github</category>
    </item>
    <item>
      <title>I made a bash script to help automate adding new ssh keys</title>
      <dc:creator>George Nance</dc:creator>
      <pubDate>Mon, 17 Feb 2020 17:47:50 +0000</pubDate>
      <link>https://dev.to/george/i-made-a-bash-script-to-help-automate-adding-new-ssh-keys-1cnh</link>
      <guid>https://dev.to/george/i-made-a-bash-script-to-help-automate-adding-new-ssh-keys-1cnh</guid>
      <description>&lt;p&gt;At my work, we have tons of ssh keys that we store in central repo. We have to move them to our &lt;code&gt;.ssh&lt;/code&gt; folder so we can ssh into server. But you also need to set the permissions on the key file after you move it.&lt;/p&gt;

&lt;p&gt;I started to get annoyed with having to set permissions every time so I created a bash file to automate this.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;#!/bin/bash&lt;/span&gt;

&lt;span class="c"&gt;# add_ssh_key - A script to move ssh key and set permissions&lt;/span&gt;

&lt;span class="c"&gt;##### Constants&lt;/span&gt;

&lt;span class="nv"&gt;SSH_DIR&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;~/.ssh/


&lt;span class="c"&gt;# Check for path&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt; &lt;span class="nt"&gt;-z&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="nv"&gt;$1&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;then
   &lt;/span&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"Please provide the path to the ssh key"&lt;/span&gt; 
   &lt;span class="nb"&gt;exit &lt;/span&gt;1
&lt;span class="k"&gt;fi

&lt;/span&gt;&lt;span class="nb"&gt;cp&lt;/span&gt; &lt;span class="nv"&gt;$1&lt;/span&gt; &lt;span class="nv"&gt;$SSH_DIR&lt;/span&gt;
&lt;span class="nb"&gt;chmod &lt;/span&gt;600 &lt;span class="nv"&gt;$SSH_DIR&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;basename&lt;/span&gt; &lt;span class="nv"&gt;$1&lt;/span&gt;&lt;span class="si"&gt;)&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"Copied &lt;/span&gt;&lt;span class="k"&gt;${&lt;/span&gt;&lt;span class="nv"&gt;1&lt;/span&gt;&lt;span class="k"&gt;}&lt;/span&gt;&lt;span class="s2"&gt; to .ssh dir and set permissions to 600"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I also have a &lt;a href="https://gist.github.com/GeorgeNance/2a00ab91f225c84ae89b1abbbbbcb489" rel="noopener noreferrer"&gt;gist&lt;/a&gt; for it&lt;/p&gt;

&lt;p&gt;Download and move that to whatever bin folder you have and run &lt;br&gt;
&lt;code&gt;chmod +x&lt;/code&gt; on the filename. For me, I made a bin folder at &lt;code&gt;~/bin&lt;/code&gt; but you can put it wherever you want.&lt;/p&gt;

&lt;p&gt;Then add an alias to your &lt;code&gt;.bashrc&lt;/code&gt; or whatever file your terminals sources. For me that is a file called &lt;code&gt;.zshrc&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;alias &lt;/span&gt;&lt;span class="nv"&gt;add_ssh_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"~/bin/add_ssh_key.sh"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open up a new terminal and you should be able to run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;add_ssh_key path/to/current/key
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And pretso! 🎉  You have a key with proper permissions.&lt;/p&gt;

&lt;p&gt;Thanks for reading! Let me know any ssh automation you have set up.&lt;/p&gt;

</description>
      <category>ssh</category>
      <category>bash</category>
      <category>showdev</category>
      <category>zsh</category>
    </item>
    <item>
      <title>What are some productivity hacks you have discovered recently?</title>
      <dc:creator>George Nance</dc:creator>
      <pubDate>Fri, 06 Sep 2019 17:01:59 +0000</pubDate>
      <link>https://dev.to/george/what-are-some-productivity-hacks-you-have-discovered-recently-21c2</link>
      <guid>https://dev.to/george/what-are-some-productivity-hacks-you-have-discovered-recently-21c2</guid>
      <description>&lt;p&gt;I recently discovered &lt;a href="https://tomato-timer.com/" rel="noopener noreferrer"&gt;Tomato Clock&lt;/a&gt; and it has done alot to help me stay focused.&lt;/p&gt;

&lt;p&gt;What are some tips you have discovered? &lt;/p&gt;

</description>
      <category>discuss</category>
      <category>productivity</category>
    </item>
    <item>
      <title>What music do you jam out to when you are coding?</title>
      <dc:creator>George Nance</dc:creator>
      <pubDate>Thu, 10 Jan 2019 15:25:07 +0000</pubDate>
      <link>https://dev.to/george/what-music-do-you-jam-out-to-when-you-are-coding-1jcg</link>
      <guid>https://dev.to/george/what-music-do-you-jam-out-to-when-you-are-coding-1jcg</guid>
      <description>&lt;p&gt;Normally I throw on the Brain Food Playlist on Spotify or any sort of chill electronic. But lately I had been loving listening to Hip hop while coding or any sort of "high intensity" music. &lt;/p&gt;

</description>
      <category>discuss</category>
      <category>music</category>
    </item>
  </channel>
</rss>
