<?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: sndrx</title>
    <description>The latest articles on DEV Community by sndrx (@sndrx).</description>
    <link>https://dev.to/sndrx</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%2F51989%2F658dfafc-cf1b-4dd5-ad69-d844f5c2e34b.png</url>
      <title>DEV Community: sndrx</title>
      <link>https://dev.to/sndrx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sndrx"/>
    <language>en</language>
    <item>
      <title>Nevertheless, Sandra Coded</title>
      <dc:creator>sndrx</dc:creator>
      <pubDate>Fri, 08 Mar 2019 18:58:16 +0000</pubDate>
      <link>https://dev.to/sndrx/nevertheless-sandra-coded--2gm0</link>
      <guid>https://dev.to/sndrx/nevertheless-sandra-coded--2gm0</guid>
      <description>&lt;p&gt;&lt;strong&gt;Well hello, my dearest community!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I've been struggling with what I'm supposed to do with my future since I was a little kid.&lt;/p&gt;

&lt;p&gt;Everyone was asking me: "&lt;em&gt;What do you want to be when you grow up?"&lt;/em&gt;&lt;br&gt;
Well, deep down in my little heart I wanted to be an &lt;strong&gt;artist&lt;/strong&gt;. &lt;br&gt;
I used to sketch and doodle and paint a lot. Growing up I found myself creating mini architectural schemes and I really wanted to follow that career until....my parents didn't really support me and I followed the very next thing that I love; that's when I've got completely lost into the &lt;em&gt;mathematics&lt;/em&gt; field!&lt;/p&gt;

&lt;p&gt;My classmate and I got used to be almost the only girls that went to math competitions and enjoyed solving math problems and reading math articles the entire day.&lt;/p&gt;

&lt;p&gt;It was all fun and pleasing until I had to decide my real path in life: &lt;em&gt;"where are you going for college and what major will you pick?"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Uh, oh.. I was brave enough to pick &lt;em&gt;informatics&lt;/em&gt; (math was not an option since I've got not support for that either).&lt;br&gt;
Moving to another city and learning how to code (all by myself, because college didn't help; &lt;em&gt;this is another story for another time&lt;/em&gt;), meeting new people, all these things created opportunities; I've got my first &lt;strong&gt;internship&lt;/strong&gt;!&lt;br&gt;
And that's how my developer journey began.&lt;/p&gt;

&lt;p&gt;All in all, now I'm still an artist.&lt;br&gt;
I strongly believe that coding, communicating with clients, creating a design, creating an algorithm, everything we all do everyday, &lt;em&gt;that's pure art&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Please keep being an artist!&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>wecoded</category>
    </item>
    <item>
      <title>How to set up an SSH key and use it for GitLab</title>
      <dc:creator>sndrx</dc:creator>
      <pubDate>Mon, 15 Oct 2018 18:43:53 +0000</pubDate>
      <link>https://dev.to/sndrx/how-to-set-up-an-ssh-key-and-use-it-in-gitlab--42p1</link>
      <guid>https://dev.to/sndrx/how-to-set-up-an-ssh-key-and-use-it-in-gitlab--42p1</guid>
      <description>&lt;h3&gt;
  
  
  Hello, everybody!
&lt;/h3&gt;

&lt;p&gt;I got into another project about 3 months ago and almost everything was new to me (&lt;em&gt;GrapheneDB, NodeJS, React and Redux, ESLint rules, packages etc.&lt;/em&gt;). The only thing I knew how to use back then was JavaScript.&lt;/p&gt;

&lt;p&gt;Obviously, the project set up was new to me as well. I never used VS Code before, neither GitLab or Heroku, so I didn't know some of the basic rules at the beginning. I took notes but even with the notes under my nose, I couldn't figure out how am I supposed to connect to GitLab using my SSH key when my laptop died last week.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I figured it out, in the end!&lt;/strong&gt;&lt;br&gt;
....but I had to connect information from two or three articles.&lt;/p&gt;

&lt;p&gt;I think that if I put it all together here, it will be easier for someone else that encounters the same issue or, hell, it would be easier for me too to remember these things.&lt;/p&gt;

&lt;p&gt;This is how I managed to create a SSH key and connect to my GitLab account using that key:&lt;/p&gt;

&lt;p&gt;1) Open Git Bash (&lt;a href="http://www.techoism.com/how-to-install-git-bash-on-windows/" rel="noopener noreferrer"&gt;Download and Install Git Bash&lt;/a&gt;; You can use any &lt;code&gt;*nix&lt;/code&gt; based command prompt).&lt;/p&gt;

&lt;p&gt;2) Type&lt;/p&gt;

&lt;pre&gt; cd ~/.ssh &lt;/pre&gt;

&lt;p&gt;This will take you to the root directory for Git (Likely C:\Users[YOUR-USER-NAME].ssh\ on Windows).&lt;/p&gt;

&lt;p&gt;3) In the &lt;code&gt;.ssh&lt;/code&gt; folder you should find these two files: &lt;code&gt;id_rsa&lt;/code&gt; and &lt;code&gt;id_rsa.pub&lt;/code&gt;. These files tell the computer how to communicate with GitHub, BitBucket, or any other Git based service.&lt;/p&gt;

&lt;p&gt;Those files were obviously missing from my computer so I had to create them.&lt;/p&gt;

&lt;pre&gt; ssh-keygen -t rsa -C "your_email@example.com" &lt;/pre&gt;
Type this to create those two files



&lt;p&gt;Once you entered that command, you will get a few more questions:&lt;/p&gt;

&lt;pre&gt;Enter file in which to save the key (/home/demo/.ssh/id_rsa):&lt;/pre&gt;
You can press enter here, saving the file to the user home (in this case, my example user is called demo).



&lt;p&gt;Then this will be shown:&lt;/p&gt;

&lt;pre&gt;Enter passphrase (empty for no passphrase):&lt;/pre&gt;
The only downside, of course, to having a passphrase, is then having to type it in each time you use the key pair. I suggest you to use a passphrase though, due to security concerns.



&lt;p&gt;In the end, the entire process looks like this:&lt;/p&gt;

&lt;pre&gt;Enter file in which to save the key (/home/demo/.ssh/id_rsa): 
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/demo/.ssh/id_rsa.
Your public key has been saved in /home/demo/.ssh/id_rsa.pub.
The key fingerprint is:
4a:dd:0a:c6:35:4e:3f:ed:27:38:8c:74:44:4d:93:67 demo@a
The key's randomart image is:
+--[ RSA 2048]----+
|          .oo.   |
|         .  o.E  |
|        + .  o   |
|     . = = .     |
|      = S = .    |
|     o + = +     |
|      . o + o .  |
|           . o   |
|                 |
+-----------------+&lt;/pre&gt;

&lt;p&gt;The public key is now located in /home/demo/.ssh/id_rsa.pub. The private key (identification) is now located in /home/demo/.ssh/id_rsa.&lt;/p&gt;

&lt;p&gt;4) Copying the public key to GitLab&lt;/p&gt;

&lt;p&gt;Go and open the &lt;code&gt;id_rsa.pub&lt;/code&gt; file (you can use any text editor you want).&lt;br&gt;
&lt;strong&gt;Copy the entire content of that file&lt;/strong&gt; and then open &lt;code&gt;https://gitlab.com/profile/keys&lt;/code&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%2Fimage.ibb.co%2FiD6OVf%2FCapture-For-BLog.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%2Fimage.ibb.co%2FiD6OVf%2FCapture-For-BLog.png" title="GitLabSSH" alt="How GitLab SSH Keys page looks" width="800" height="433"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Paste the content you copied from &lt;code&gt;id_rsa.pub&lt;/code&gt; in the Key input (&lt;strong&gt;don't add extra spaces or characters&lt;/strong&gt;).&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Give your key a descriptive name&lt;/em&gt; and then &lt;strong&gt;Add the key&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;5) Try to &lt;code&gt;git clone&lt;/code&gt; or &lt;code&gt;git push&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I really hope this will help someone because this article is what I needed last week when I couldn't put things together and all seemed to be way harder than it actually is.&lt;/p&gt;

</description>
      <category>gitlab</category>
      <category>ssh</category>
      <category>keys</category>
      <category>setup</category>
    </item>
  </channel>
</rss>
