<?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: Nicolas Hansse</title>
    <description>The latest articles on DEV Community by Nicolas Hansse (@nico385412).</description>
    <link>https://dev.to/nico385412</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%2F632197%2Fb066ef8c-a939-4c3a-90e9-efa0b9b471ae.png</url>
      <title>DEV Community: Nicolas Hansse</title>
      <link>https://dev.to/nico385412</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nico385412"/>
    <language>en</language>
    <item>
      <title>My coding setup (2022)</title>
      <dc:creator>Nicolas Hansse</dc:creator>
      <pubDate>Mon, 21 Feb 2022 17:13:00 +0000</pubDate>
      <link>https://dev.to/nico385412/my-coding-setup-2022-aih</link>
      <guid>https://dev.to/nico385412/my-coding-setup-2022-aih</guid>
      <description>&lt;h2&gt;
  
  
  Intro
&lt;/h2&gt;

&lt;p&gt;For my first post on dev.to, i would like to share with everyone what's inside my Macbook Pro.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;a href="https://github.com/Nico385412"&gt;About myself&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;To make it short, I learned coding since I was 12, i studied until I get an engineer diploma, and since then, i'm a happy FullStack JS developer (4 years).&lt;/p&gt;

&lt;p&gt;However I'm also very curious and I love learning new skills/languages and apply them in my daily life. This mindset helped me to be autonomous on my work and achieve tasks even if didn't have the required skills.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Macbook Pro
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rioaHwzK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a3qhy4ab7sybwb9fcnol.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rioaHwzK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a3qhy4ab7sybwb9fcnol.png" alt='image of "about this mac"' width="880" height="494"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is the description of my mac with the latest version of macos. So now you know all tools presented can run on macos 12.2.&lt;/p&gt;

&lt;h2&gt;
  
  
  Terminal
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Iterm2
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vnY9ZwHQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gnu2pf3tsj1ced8qdjyr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vnY9ZwHQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gnu2pf3tsj1ced8qdjyr.png" alt="logo of iterm2" width="880" height="296"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Iterm2 is for me an excellent terminal, as a developer, the choice of your terminal is kind of decisive. You won't change it until you get a new computer or a co-worker recommend you a new one &lt;a href="https://hyper.is/"&gt;like Hyper&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;So i recommand Iterm2 because it's a well known terminal, so i you hit a bug, you have more chance to find a solution.&lt;/p&gt;

&lt;h3&gt;
  
  
  ZSH + Oh my zsh
&lt;/h3&gt;

&lt;p&gt;No surprise here, if you never heard about zsh go replace you default bash my this shell, it offer a plugin system where the community coded a bunch of &lt;a href="https://github.com/unixorn/awesome-zsh-plugins"&gt;very useful tools&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Also don't forget to install &lt;a href="https://ohmyz.sh/#install"&gt;OhmyZsh&lt;/a&gt; it will help you to install plugins made by the community.&lt;/p&gt;

&lt;p&gt;And here a list of my favorite plugins: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/zsh-users/zsh-autosuggestions"&gt;zsh-autosuggestions&lt;/a&gt; (autocomplete based on latest command usage)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/alias-finder"&gt;alias-finder&lt;/a&gt; (find alias for a command, usefull if you created one that you do not remember)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/kubectl"&gt;kubectl&lt;/a&gt; (aliases for kubectl)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/jscutlery/nx-completion"&gt;nx-completion&lt;/a&gt; (autocompletion for &lt;a href="https://nx.dev/"&gt;nx&lt;/a&gt; commands)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can explore a list a awesome plugins &lt;a href="https://github.com/unixorn/awesome-zsh-plugins"&gt;made by the community &lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Command line tools
&lt;/h3&gt;

&lt;p&gt;Here is a list of awesome command line applications i used everyday and can help you on you daily work&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/cantino/mcfly"&gt;Mcfly&lt;/a&gt; - fly through your shell history (goodbye &lt;code&gt;history | grep XXX&lt;/code&gt; 👋 )&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/sharkdp/bat"&gt;bat&lt;/a&gt; 🦇 - A cat(1) clone with syntax highlighting and Git integration&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://github.com/PaulJuliusMartinez/jless"&gt;jless&lt;/a&gt; - a command-line JSON viewer&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  My IDE - VSCode
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PHAUsZ8q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.icon-icons.com/icons2/2107/PNG/512/file_type_vscode_icon_130084.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PHAUsZ8q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.icon-icons.com/icons2/2107/PNG/512/file_type_vscode_icon_130084.png" alt="Vscode logo" width="512" height="512"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I do not have a lot of plugins installed on vscode but i use a lot 2 of them: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens"&gt;GitLens&lt;/a&gt; - the most usefull plugin to visual and manage git repository (and also for git blame 😈)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://copilot.github.com/"&gt;GitHub AutoPilot&lt;/a&gt; - the best plugin so far, Once you start using it you won't be able to live without. This plugin is a just awesome and help me a lot when i try to write code other than Javascript and i'm not sure how to do something in shell/rust etc..&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Productivity App
&lt;/h2&gt;

&lt;p&gt;I a big fan of automation, If i can automate something boring easily i'll do it no matter how much time it takes to achieve it. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gaRh56-Z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/52kx66urubb7vvhy6ot1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gaRh56-Z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/52kx66urubb7vvhy6ot1.png" alt="Never spend 6 minutes doing something by hand when you can spend 6 hours failing to automate it" width="750" height="459"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Depending on the task i'll use no-code tools to achieve it. The advantage is that you can share your workflows with Muggles and help everyone.&lt;/p&gt;

&lt;h3&gt;
  
  
  Alfred 4
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wpTtoKYJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/al12aqb650g8xj3i072d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wpTtoKYJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/al12aqb650g8xj3i072d.png" alt="Alfred 4 logo" width="880" height="356"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Alfred is a no-code tool which replace your classic Spotlight. (⌘ + Space) (it can also be binded to another hotkey combo if you want to keep Spotlight)&lt;/p&gt;

&lt;p&gt;I 'll talk about the paid version (Starting at 29£ for lifetime License) the free version is not very interesting.&lt;/p&gt;

&lt;p&gt;So what can we do with that ? A good answer would be an exemple of usage.&lt;/p&gt;

&lt;p&gt;Let's say you have to write a command line tool which display the latest price of bitcoin. A good start would be creating a shell script and curl an open api which return the price. And you are right, that maybe 80% of devs would do.&lt;br&gt;
However your co-worker, a Muggle heard about your script and also want to use it, but within an interface because it doesn't know how to even open a terminal.&lt;/p&gt;

&lt;p&gt;That where Alfred is a great tool because it will add a pseudo-interface on top your shell script and your co-worker will never have to configure it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XywuGxAA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4ilxdwf5xp4yesh16fyo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XywuGxAA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4ilxdwf5xp4yesh16fyo.png" alt="Alfred 4 exemple" width="880" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  ✅ Pros
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Modular (with workflow system)&lt;/li&gt;
&lt;li&gt;Very popular tool (exist since 2010, and latest major version in 2019)&lt;/li&gt;
&lt;li&gt;Very easy to use&lt;/li&gt;
&lt;li&gt;Has an AppleScript integration&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  🔴 Cons
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Might looks ugly &lt;/li&gt;
&lt;li&gt;No reusable bricks (you have to duplicate everything)&lt;/li&gt;
&lt;li&gt;the Price (cheap, but can be a con)&lt;/li&gt;
&lt;li&gt;not open source&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;I hope my setup for 2022 will help developers which are looking for ideas to increase their productivity and / or improve their daily work. &lt;/p&gt;

&lt;p&gt;Let me know if you have questions or suggestions :D &lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
