<?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: Cristian Prochnow</title>
    <description>The latest articles on DEV Community by Cristian Prochnow (@cristianprochnow).</description>
    <link>https://dev.to/cristianprochnow</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%2F422366%2Fc69070e6-72f8-4a5a-a5c2-17cb6f3ebc97.jpg</url>
      <title>DEV Community: Cristian Prochnow</title>
      <link>https://dev.to/cristianprochnow</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cristianprochnow"/>
    <language>en</language>
    <item>
      <title>Success from Form not working ExtJS v4</title>
      <dc:creator>Cristian Prochnow</dc:creator>
      <pubDate>Fri, 27 May 2022 12:59:47 +0000</pubDate>
      <link>https://dev.to/cristianprochnow/success-from-form-not-working-extjs-v4-52ci</link>
      <guid>https://dev.to/cristianprochnow/success-from-form-not-working-extjs-v4-52ci</guid>
      <description>&lt;h2&gt;
  
  
  Issue
&lt;/h2&gt;

&lt;p&gt;While working with a requisition in ExtJS, I found myself in a strange situation. My PHP backend was returning correct response, like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"success"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"&amp;lt;some_id&amp;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;blockquote&gt;
&lt;p&gt;For success&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And...&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"success"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"msg"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"&amp;lt;error_msg&amp;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;blockquote&gt;
&lt;p&gt;For failure&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;But, even with something like this, in correct structure, my code was not working. In submit function from form, the form to wait for requisition is putting &lt;code&gt;success&lt;/code&gt; and &lt;code&gt;failure&lt;/code&gt; listeners in configuration object from function, 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;form&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;getForm&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nx"&gt;submit&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="p"&gt;...,&lt;/span&gt;
  &lt;span class="na"&gt;success&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;me&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;action&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
    &lt;span class="c1"&gt;// code...&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="na"&gt;failure&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;me&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;action&lt;/span&gt;&lt;span class="p"&gt;){&lt;/span&gt;
    &lt;span class="c1"&gt;// code...             &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;
  
  
  Solution
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;And, what is the answer for this big question? It is simple!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The form request listeners work specifically with response format. So, if request is &lt;code&gt;success&lt;/code&gt;, insert &lt;code&gt;"success": true&lt;/code&gt; in your JSON response object. Otherwise, insert &lt;code&gt;"success": false&lt;/code&gt;, that function will recognize that must call what is passed in &lt;code&gt;failure&lt;/code&gt; configuration.&lt;/p&gt;

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

&lt;p&gt;In forms like this, simply follow this principle:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;To call what have been passed in &lt;code&gt;success&lt;/code&gt; attribute in the configuration object from &lt;code&gt;submit()&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"success"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&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;blockquote&gt;
&lt;p&gt;To call what have been passed in &lt;code&gt;failure&lt;/code&gt; attribute in the configuration object from &lt;code&gt;submit()&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"success"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="err"&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;



</description>
      <category>bug</category>
      <category>solution</category>
      <category>dailyissues</category>
    </item>
    <item>
      <title>The most easy and fast way to turn an integer number into binary</title>
      <dc:creator>Cristian Prochnow</dc:creator>
      <pubDate>Mon, 29 Mar 2021 21:33:01 +0000</pubDate>
      <link>https://dev.to/cristianprochnow/the-most-easy-and-fast-way-to-turn-an-integer-number-into-binary-42gc</link>
      <guid>https://dev.to/cristianprochnow/the-most-easy-and-fast-way-to-turn-an-integer-number-into-binary-42gc</guid>
      <description>&lt;h1&gt;
  
  
  Here we go...
&lt;/h1&gt;

&lt;p&gt;Even if you don't care much about binary numbers and this deeper knowledge from how the machine works, you surely even have asked yourself a simple question: "What the heck is going on here?!".&lt;/p&gt;

&lt;p&gt;And at first sight all this processes under the hood can be a few scaring or a big hassle, but now I will show you that can be simpler than you ever saw turn integer numbers into binary — and vice versa.&lt;/p&gt;




&lt;h1&gt;
  
  
  Step by step 💡
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Define a number you desire
&lt;/h2&gt;

&lt;p&gt;At this case, I will choose a random number, just for testing. So I will define &lt;code&gt;217&lt;/code&gt; as my first number — let's get started with a big number.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get numbers from binary sequence
&lt;/h2&gt;

&lt;p&gt;Each byte have 8 bits. Each bit is worth to a determined value into the queue, starting from right to left.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;2⁷&lt;/th&gt;
&lt;th&gt;2⁶&lt;/th&gt;
&lt;th&gt;2⁵&lt;/th&gt;
&lt;th&gt;2⁴&lt;/th&gt;
&lt;th&gt;2³&lt;/th&gt;
&lt;th&gt;2²&lt;/th&gt;
&lt;th&gt;2¹&lt;/th&gt;
&lt;th&gt;2⁰&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;128&lt;/td&gt;
&lt;td&gt;64&lt;/td&gt;
&lt;td&gt;32&lt;/td&gt;
&lt;td&gt;16&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Separate the number in several sums results
&lt;/h2&gt;

&lt;p&gt;Now it is the time to separate the number into sums that fill into binary sequence values. This process have to consider the sequence left-to-right from numbers, as the example below&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;128 ⇒ 64 ⇒ 32 ⇒ 16 ⇒ 8 ⇒ 4 ⇒ 2 ⇒ 1&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;To do this, let's get &lt;code&gt;217&lt;/code&gt; and separate into several operations, always separating the rest of the operations into new sum operations  and considering the next number from sequence as target:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;217 = 128 + 89
89 = 64 + 25
25 = 16 + 9
9 = 8 + 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And it's done. Now we have the numbers from the binary queue (&lt;strong&gt;&lt;em&gt;128&lt;/em&gt;&lt;/strong&gt; ⇒ &lt;strong&gt;&lt;em&gt;64&lt;/em&gt;&lt;/strong&gt; ⇒ 32 ⇒ &lt;strong&gt;&lt;em&gt;16&lt;/em&gt;&lt;/strong&gt; ⇒ &lt;strong&gt;&lt;em&gt;8&lt;/em&gt;&lt;/strong&gt; ⇒ 4 ⇒ 2 ⇒ &lt;strong&gt;&lt;em&gt;1&lt;/em&gt;&lt;/strong&gt;) that were within the initial integer number.&lt;/p&gt;

&lt;h2&gt;
  
  
  Put &lt;code&gt;1&lt;/code&gt; at number that are in the sequence
&lt;/h2&gt;

&lt;p&gt;Now, get all the numbers from the sequence, and set each space with &lt;code&gt;0&lt;/code&gt;. And then, with numbers that you find out within the desired number, fill &lt;code&gt;0&lt;/code&gt;'s cells with &lt;code&gt;1&lt;/code&gt;.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;128&lt;/th&gt;
&lt;th&gt;64&lt;/th&gt;
&lt;th&gt;32&lt;/th&gt;
&lt;th&gt;16&lt;/th&gt;
&lt;th&gt;8&lt;/th&gt;
&lt;th&gt;4&lt;/th&gt;
&lt;th&gt;2&lt;/th&gt;
&lt;th&gt;1&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;It's done 🎉! Now we know that &lt;code&gt;217&lt;/code&gt;, in binary format, is &lt;code&gt;11011001&lt;/code&gt;.&lt;/p&gt;




&lt;h1&gt;
  
  
  Questions
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;But, if I had a binary number instead?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then, you can do reverse engineering and just replace the spaces of sequence above with your binary number. And then, sum the numbers that have been filled with &lt;code&gt;1&lt;/code&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What I could do with a number bigger than &lt;code&gt;256&lt;/code&gt;?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Build the same method, but increase the exponent of &lt;code&gt;2&lt;/code&gt; in the sequence. So, if the maximum at this example was &lt;code&gt;2^7&lt;/code&gt;, you can add one more sequence to the left side, with the biggest value as &lt;br&gt;
&lt;code&gt;2^15&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;For example, &lt;code&gt;2^7 + 2^6 + 2^5 + 2^4 + 2^3 + 2^2 + 2^1 + 2^0&lt;/code&gt; was the previous sequence, and the new with be &lt;code&gt;2^15 + 2^14 + 2^13 + 2^12 + 2^11 + 2^10 + 2^9 + 2^8 + 2^7 + 2^6 + 2^5 + 2^4 + 2^3 + 2^2 + 2^1 + 2^0&lt;/code&gt;. And the binary number will be at this &lt;code&gt;00000000 00000000&lt;/code&gt;(16 bits) instead of &lt;code&gt;00000000&lt;/code&gt;(8 bits).&lt;/p&gt;




&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;Computers' processes can be easier to understand than they seem. So, with this new quick tip, feel free to give your feedback and bring yet more value to discussion.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Made with 💚 by &lt;a href="https://github.com/cristianprochnow"&gt;Cristian&lt;/a&gt;. Enjoy it!&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>todayilearned</category>
      <category>binary</category>
    </item>
    <item>
      <title>⚡ How to become faster in Git CLI</title>
      <dc:creator>Cristian Prochnow</dc:creator>
      <pubDate>Mon, 20 Jul 2020 16:36:04 +0000</pubDate>
      <link>https://dev.to/cristianprochnow/how-to-become-faster-in-git-cli-36nd</link>
      <guid>https://dev.to/cristianprochnow/how-to-become-faster-in-git-cli-36nd</guid>
      <description>&lt;h3&gt;
  
  
  👋🏻 Hey, there
&lt;/h3&gt;

&lt;p&gt;First of all, get your favorite drink, prepare your &lt;code&gt;.gitconfig&lt;/code&gt;, and come with me through this huge valley called "Git"...&lt;/p&gt;




&lt;p&gt;Git is constantly present in our routine as developers, and a good approach to use this tool is essential. For this case — and any else — there is &lt;strong&gt;&lt;a href="https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases"&gt;Git Alias&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yNkAasS9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/0bej4uy17qeu125alesw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yNkAasS9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/0bej4uy17qeu125alesw.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  🤔 What is it?
&lt;/h1&gt;

&lt;p&gt;A &lt;strong&gt;Git Alias&lt;/strong&gt; is simply as a shortcut to other command used in Git CLI. In one fast and abstract comparation, the &lt;strong&gt;complete command from Git&lt;/strong&gt; looks like the functionality of Copy something using the right button from mouse, and a &lt;strong&gt;Git Alias&lt;/strong&gt; is the &lt;code&gt;Ctrl + C&lt;/code&gt; shortcut.&lt;/p&gt;

&lt;h1&gt;
  
  
  ⁉ Why?
&lt;/h1&gt;

&lt;p&gt;Because you are able to save time using this shortcuts, and with specifics settings some commands that are naturally long will be reduced to one keyword. &lt;/p&gt;

&lt;p&gt;With a simple example, you will be able to turn this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git remote add origin https://github.com/user/repository.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Into this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git remo https://github.com/user/repository.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;⚠ In this case, I have set &lt;code&gt;remo&lt;/code&gt; as a alias from &lt;code&gt;remote add origin&lt;/code&gt;, &lt;strong&gt;but the name of it can be any word you wish&lt;/strong&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  🚀 Here we go...
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Find the configuration file
&lt;/h2&gt;

&lt;p&gt;First of all, it is necessary to find the configuration file from Git, in your machine.&lt;/p&gt;

&lt;h3&gt;
  
  
  Windows
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# To set the config for one user only&lt;/span&gt;
C:&lt;span class="se"&gt;\U&lt;/span&gt;sers&lt;span class="se"&gt;\{&lt;/span&gt;your_user&lt;span class="o"&gt;}&lt;/span&gt;&lt;span class="se"&gt;\.&lt;/span&gt;gitconfig

&lt;span class="c"&gt;# To set the config for all the users from machine&lt;/span&gt;
C:&lt;span class="se"&gt;\P&lt;/span&gt;rogram Files&lt;span class="se"&gt;\G&lt;/span&gt;it&lt;span class="se"&gt;\e&lt;/span&gt;tc&lt;span class="se"&gt;\g&lt;/span&gt;itconfig
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Unix
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# To set the config for one user only&lt;/span&gt;
~/.gitconfig
&lt;span class="c"&gt;# or&lt;/span&gt;
~/.config/git/config

&lt;span class="c"&gt;# To set the config for all the users from machine&lt;/span&gt;
/etc/gitconfig
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Set the Aliases
&lt;/h2&gt;

&lt;p&gt;Open the file with an IDE by your preference, and start to set shortcut for commands you need. Before set the first keyword, type &lt;code&gt;[alias]&lt;/code&gt;, indent, and then you are able to set shortcuts. For example:&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="o"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;alias&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
  ad &lt;span class="o"&gt;=&lt;/span&gt; add &lt;span class="nb"&gt;.&lt;/span&gt;
  remo &lt;span class="o"&gt;=&lt;/span&gt; remote add origin
  rem &lt;span class="o"&gt;=&lt;/span&gt; remote add
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  ⚡ Aliases I use
&lt;/h3&gt;

&lt;p&gt;To save time, you can copy and paste the aliases I use, and then change each of them by your preference.&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="o"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;alias&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
  ad &lt;span class="o"&gt;=&lt;/span&gt; add &lt;span class="nb"&gt;.&lt;/span&gt;
  remo &lt;span class="o"&gt;=&lt;/span&gt; remote add origin
  rem &lt;span class="o"&gt;=&lt;/span&gt; remote add
  ci &lt;span class="o"&gt;=&lt;/span&gt; commit &lt;span class="nt"&gt;-m&lt;/span&gt;
  pm &lt;span class="o"&gt;=&lt;/span&gt; push origin master
  po &lt;span class="o"&gt;=&lt;/span&gt; push origin
  plm &lt;span class="o"&gt;=&lt;/span&gt; pull origin master
  pl &lt;span class="o"&gt;=&lt;/span&gt; pull origin
  co &lt;span class="o"&gt;=&lt;/span&gt; checkout
  cm &lt;span class="o"&gt;=&lt;/span&gt; checkout master
  cb &lt;span class="o"&gt;=&lt;/span&gt; checkout &lt;span class="nt"&gt;-b&lt;/span&gt;
  st &lt;span class="o"&gt;=&lt;/span&gt; status &lt;span class="nt"&gt;-sb&lt;/span&gt;
  sf &lt;span class="o"&gt;=&lt;/span&gt; show &lt;span class="nt"&gt;--name-only&lt;/span&gt;
  lg &lt;span class="o"&gt;=&lt;/span&gt; log &lt;span class="nt"&gt;--pretty&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;format:&lt;span class="s1"&gt;'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen&amp;lt;%an&amp;gt;%Creset %s'&lt;/span&gt; &lt;span class="nt"&gt;--max-count&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;30
  incoming &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;!(&lt;/span&gt;git fetch &lt;span class="nt"&gt;--quiet&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; git log &lt;span class="nt"&gt;--pretty&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;format:&lt;span class="s1"&gt;'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset'&lt;/span&gt; ..@&lt;span class="o"&gt;{&lt;/span&gt;u&lt;span class="o"&gt;})&lt;/span&gt;
  outgoing &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;!(&lt;/span&gt;git fetch &lt;span class="nt"&gt;--quiet&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; git log &lt;span class="nt"&gt;--pretty&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;format:&lt;span class="s1"&gt;'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset'&lt;/span&gt; @&lt;span class="o"&gt;{&lt;/span&gt;u&lt;span class="o"&gt;}&lt;/span&gt;..&lt;span class="o"&gt;)&lt;/span&gt;
  unstage &lt;span class="o"&gt;=&lt;/span&gt; reset HEAD &lt;span class="nt"&gt;--&lt;/span&gt;
  undo &lt;span class="o"&gt;=&lt;/span&gt; checkout &lt;span class="nt"&gt;--&lt;/span&gt;
  rollback &lt;span class="o"&gt;=&lt;/span&gt; reset &lt;span class="nt"&gt;--soft&lt;/span&gt; HEAD~1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  🏁 Conclusion
&lt;/h1&gt;

&lt;p&gt;Git Alias is a huge friend of our productivity, and surely will help you in your daily commits. For more information about this tool, check the &lt;a href="https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases"&gt;official documentation&lt;/a&gt;, or the &lt;a href="https://git-scm.com/book/en/v2"&gt;complete guide&lt;/a&gt; of Git.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;a href="https://gist.github.com/cristianprochnow/5f51877016e42daef1822b2e8a7e4e3f"&gt;This code&lt;/a&gt; I use is an adaptation from &lt;a href="https://gist.github.com/diego3g/2b563e54e82bed5530d8346b89a701ab"&gt;this one&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>github</category>
      <category>git</category>
      <category>productivity</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>The fastest way to train Coding 🚀</title>
      <dc:creator>Cristian Prochnow</dc:creator>
      <pubDate>Thu, 16 Jul 2020 12:42:29 +0000</pubDate>
      <link>https://dev.to/cristianprochnow/the-fastest-way-to-train-coding-1akp</link>
      <guid>https://dev.to/cristianprochnow/the-fastest-way-to-train-coding-1akp</guid>
      <description>&lt;h3&gt;
  
  
  👋🏻 Hey, there
&lt;/h3&gt;

&lt;p&gt;First of all, get your favorite drink, prepare your IDE, and come with me through this huge valley called "programming"...&lt;/p&gt;




&lt;p&gt;At start of our life as developers, the desire for knowledge about coding is huge, but sometimes the anxiety fill us and all this hype flush away from us. So, to solve this brief problem, find a place to practice coding is essential. For this, there is &lt;a href="https://codewars.com"&gt;Codewars&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2AnaVRee--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/1zi4cixxkl6ux7jdmo6k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2AnaVRee--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/1zi4cixxkl6ux7jdmo6k.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  🤔 What is Codewars?
&lt;/h1&gt;

&lt;p&gt;This is a place where you are able to make several algorithms, since easier of them, until the hardest of all. At each level of evolution, new privileges are reached and then new functionalities become unlocked. And not only this, but some these algorithms also are used in some interviews of huge companies that are in this category from technology.&lt;/p&gt;

&lt;h1&gt;
  
  
  ⚙️ How this tool works?
&lt;/h1&gt;

&lt;p&gt;All the process is simple and fast:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;🚪 Sign Up/Log In&lt;/p&gt;

&lt;p&gt;&lt;em&gt;It's possible do this using your account from GitHub.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;⚙️ Define your preferences of coding language&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;▶️ Choose a algorithm along several others&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Start coding! 🎉&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  ℹ️ Why?
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;🎚️ Several levels of difficulty&lt;/p&gt;

&lt;p&gt;With this, any type of developer, in any level of knowledge about coding, can practice and train your abilities.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;🔀 Many ways to solve each problem&lt;/p&gt;

&lt;p&gt;After each challenge that you conclude, the solution used by others users are shown, so affording you to know so many others logical insights about that problem.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;💬 Direct contact with community&lt;/p&gt;

&lt;p&gt;Build and solve challenges. From developers, to developers.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h1&gt;
  
  
  🌿 Alternatives
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://hackerrank.com"&gt;HackerRank&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://hackerearth.com"&gt;HackerEarth&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://leetcode.com"&gt;LeetCode&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>todayilearned</category>
    </item>
  </channel>
</rss>
