<?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: Mathieu PATUREL</title>
    <description>The latest articles on DEV Community by Mathieu PATUREL (@math2001).</description>
    <link>https://dev.to/math2001</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%2F17319%2F36a49a5c-76ea-48ff-9e67-e18e143057ad.png</url>
      <title>DEV Community: Mathieu PATUREL</title>
      <link>https://dev.to/math2001</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/math2001"/>
    <language>en</language>
    <item>
      <title>Can you translate it back?</title>
      <dc:creator>Mathieu PATUREL</dc:creator>
      <pubDate>Sat, 26 May 2018 00:50:17 +0000</pubDate>
      <link>https://dev.to/math2001/can-you-translate-it-back-3327</link>
      <guid>https://dev.to/math2001/can-you-translate-it-back-3327</guid>
      <description>&lt;p&gt;I've got a little challenge for you.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ib jb eikybfi eite hvim
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Can you translate this encrypted text back to its original form?&lt;/p&gt;

&lt;p&gt;If you do, send me an email at &lt;a href="//mailto:math2001.contact@protonmail.com"&gt;math2001.contact@protonmail.com&lt;/a&gt; explaining how you found it, and I'll add you to the glorious list of people who found the solution 😄 (see below).&lt;/p&gt;

&lt;h3&gt;
  
  
  Rules
&lt;/h3&gt;

&lt;p&gt;I guarantee you the original message:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;contains only lower case ASCII letters (&lt;code&gt;abcdefghijklmnopqrstuvwxyz&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;has the same spaces as in the encrypted message. So you know that the first     word will have 2 letters, the second one as well, the third one 7, etc...&lt;/li&gt;
&lt;li&gt;can only translated to one string (the one I gave you)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  They found it!
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;The glorious and amazing people who had a crack and found the secret message!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The list is &lt;a href="https://math2001.github.io/post/challenge-1-translate-back#they-found-it"&gt;over here&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Solution
&lt;/h3&gt;

&lt;p&gt;Hey hey. Smart one, looking at the right place, 😄&lt;/p&gt;

&lt;p&gt;I'll be posting the original message, as well as an explanation about how it worked on &lt;a href="https://math2001.github.io"&gt;my blog&lt;/a&gt; next week, that is the &lt;strong&gt;Friday 1 June 2018&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>challenge</category>
      <category>cipher</category>
    </item>
    <item>
      <title>Display a file from another branch</title>
      <dc:creator>Mathieu PATUREL</dc:creator>
      <pubDate>Wed, 16 May 2018 07:07:41 +0000</pubDate>
      <link>https://dev.to/math2001/display-a-file-from-another-branch-1efp</link>
      <guid>https://dev.to/math2001/display-a-file-from-another-branch-1efp</guid>
      <description>&lt;p&gt;Ever wanted to see a file from a different branch? Well, no need to &lt;code&gt;stash&lt;/code&gt; &amp;amp;&amp;amp; &lt;code&gt;checkout&lt;/code&gt;, just use &lt;code&gt;git show&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dev $ git show master:path/to/file
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;PS: this works with any reference (not sure if that's the right term, correct me if I'm wrong), like commit and tags:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;master $ git log --oneline
d529def Some more new stuff
4598db3 Some new stuff
e8dd680 init
master $ git show e8dd680:path/to/file
&amp;lt;The content of the file at commit e8dd680&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Enjoy!&lt;/p&gt;

</description>
      <category>git</category>
      <category>quicktip</category>
      <category>tip</category>
    </item>
    <item>
      <title>Combine your SVGs</title>
      <dc:creator>Mathieu PATUREL</dc:creator>
      <pubDate>Thu, 12 Oct 2017 08:30:41 +0000</pubDate>
      <link>https://dev.to/math2001/combine-your-svgs-35d</link>
      <guid>https://dev.to/math2001/combine-your-svgs-35d</guid>
      <description>&lt;p&gt;SVG images are awesome, I absolutely love it (and who doesn't). A great thing about them is that you can combine them very easily, and use integrate them &lt;em&gt;into&lt;/em&gt; your web page in single line. &lt;/p&gt;

&lt;p&gt;It makes your website faster since you only make one HTTP request instead of .&lt;/p&gt;

&lt;p&gt;A quick read about how to do that over at &lt;a href="https://math2001.github.io/post/combine-svgs/"&gt;math2001.github.io/post/combine-svgs&lt;/a&gt;&lt;/p&gt;

</description>
      <category>svg</category>
      <category>performances</category>
      <category>web</category>
    </item>
    <item>
      <title>Which editors do you use?</title>
      <dc:creator>Mathieu PATUREL</dc:creator>
      <pubDate>Sat, 07 Oct 2017 07:11:46 +0000</pubDate>
      <link>https://dev.to/math2001/which-editors-do-you-use-bgg</link>
      <guid>https://dev.to/math2001/which-editors-do-you-use-bgg</guid>
      <description>&lt;p&gt;The question's in the title. Here's my answer: &lt;strong&gt;VIM&lt;/strong&gt; and &lt;strong&gt;Sublime Text&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Sublime text is better than vim except for the fact that it doesn't support fully (yet) VIM mappings (and plugins, but I could deal with this). I use the &lt;code&gt;Six&lt;/code&gt; package, a python emulation of VIM (ST plugins are written in Python).&lt;/p&gt;

&lt;p&gt;ST is absolutely beautiful, amazingly fast, supports proper project management (settings per project for example), a proper multi cursor (not a hack like vim-multiple-cursor), great syntax highlighting (engine and rules), and &lt;em&gt;much&lt;/em&gt; more...&lt;/p&gt;

&lt;p&gt;Despite all these advantages, I'm still using the actual VIM, sometimes giving another go at ST (like right now).&lt;/p&gt;

&lt;p&gt;That's it! Your turn!&lt;/p&gt;

</description>
      <category>editor</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Share on dev.to?</title>
      <dc:creator>Mathieu PATUREL</dc:creator>
      <pubDate>Tue, 26 Sep 2017 21:39:39 +0000</pubDate>
      <link>https://dev.to/math2001/share-on-devto-64m</link>
      <guid>https://dev.to/math2001/share-on-devto-64m</guid>
      <description>&lt;p&gt;I'm currently building my blog (over at &lt;a href="http://math2001.github.io"&gt;math2001.github.io&lt;/a&gt; if you're intersted), and I'm putting some link to share the current posts (twitter, etc).&lt;/p&gt;

&lt;p&gt;And I was wondering if dev.to was an appropriate link to use... I'm quite new to this blazing fast website ( ðŸ˜ ), so, I was wondering: is dev.to only for sharing "new" content, or we can share existing stuff. I feel like the second option, but again, I'm new.&lt;/p&gt;

&lt;p&gt;Basically, I'm asking if a link saying "Share on dev.to" would be appropriate.&lt;/p&gt;

&lt;p&gt;What do you guys think?&lt;/p&gt;

</description>
      <category>question</category>
      <category>meta</category>
      <category>discuss</category>
    </item>
    <item>
      <title>List files in any branch in git</title>
      <dc:creator>Mathieu PATUREL</dc:creator>
      <pubDate>Mon, 25 Sep 2017 00:57:54 +0000</pubDate>
      <link>https://dev.to/math2001/list-files-in-any-branch-in-git</link>
      <guid>https://dev.to/math2001/list-files-in-any-branch-in-git</guid>
      <description>&lt;h2&gt;
  
  
  List entire branch content
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;~/my/repo $ git ls-tree mybranch -r --name-only
.gitignore
LICENSE
README.md
cli.js
demo.gif
index.html
live-svg.svg
package.json
server.js
tests/cli.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  List only one folder's content
&lt;/h2&gt;

&lt;p&gt;You don't need &lt;code&gt;grep&lt;/code&gt;!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;~/my/repo $ git ls-tree mybranch:test -r --name-only
tests/cli.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;More informations about &lt;a href="https://git-scm.com/docs/git-ls-tree"&gt;git ls-tree&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Hope it'll save you some time! ðŸ˜œ&lt;/p&gt;

</description>
      <category>git</category>
      <category>tip</category>
    </item>
    <item>
      <title>Programmatically get current git branch</title>
      <dc:creator>Mathieu PATUREL</dc:creator>
      <pubDate>Sun, 24 Sep 2017 07:28:19 +0000</pubDate>
      <link>https://dev.to/math2001/programmatically-get-current-git-branch</link>
      <guid>https://dev.to/math2001/programmatically-get-current-git-branch</guid>
      <description>&lt;p&gt;Nice and easy. Works with git 1.6.3 and higher.&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="nv"&gt;$ &lt;/span&gt;git rev-parse &lt;span class="nt"&gt;--abbrev-ref&lt;/span&gt; HEAD
master
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>git</category>
      <category>bash</category>
      <category>branch</category>
      <category>ps1</category>
    </item>
  </channel>
</rss>
