<?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: Dipak Parmar</title>
    <description>The latest articles on DEV Community by Dipak Parmar (@dipakparmar).</description>
    <link>https://dev.to/dipakparmar</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%2F278878%2F210b7b85-c6ce-48b6-a723-4b78ae612342.jpg</url>
      <title>DEV Community: Dipak Parmar</title>
      <link>https://dev.to/dipakparmar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dipakparmar"/>
    <language>en</language>
    <item>
      <title>How to make your terminal smart? 😎</title>
      <dc:creator>Dipak Parmar</dc:creator>
      <pubDate>Mon, 22 Mar 2021 22:37:32 +0000</pubDate>
      <link>https://dev.to/dipakparmar/how-to-make-your-terminal-smart-m6b</link>
      <guid>https://dev.to/dipakparmar/how-to-make-your-terminal-smart-m6b</guid>
      <description>&lt;p&gt;Past few months, I’ve been busy learning Cloud architectures and improving the current workflow at my workplace.&lt;/p&gt;

&lt;p&gt;I had few challenges as others might have to choose the right technology and techniques to make things more productive. Having a UX mindset, I think, made pretty good choices and helping me a lot with what I’m doing on my day-to-day tasks.&lt;/p&gt;

&lt;p&gt;Today, I would like to share one of the challenges and solutions I found during my learning and implementation.&lt;/p&gt;

&lt;p&gt;Like many developers, who work mainly on the command-line interfaces (CLI), I think you might have that same frustrating issues when you have to input the same commands and arguments with different variables, except you already made the script to overcome that. Where I didn’t want to write something from scratch and maintain it where there are tools available to solve that.&lt;/p&gt;

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

&lt;p&gt;Luckily, I found Fig in my search. A macOS app for terminal. Yes, an app that works like an add-on but so much powerful. It has a sidebar that attaches to your terminal and gives you handy apps like git, curl, ssh, and many more, and you can build your own.&lt;/p&gt;

&lt;p&gt;Few of the features and reason I choose fig:&lt;/p&gt;

&lt;p&gt;🌟 Sidebar Apps&lt;br&gt;
🌟 Local execution&lt;br&gt;
🌟 Supports SSH&lt;br&gt;
🌟 Crowdsourced apps and autocomplete&lt;/p&gt;

&lt;p&gt;Another cool feature is command autocomplete, which gives you vscode style suggestions. It gives you command completion based on your current dir, state, auth info etc., and I think that’s why they called it 21st centuries terminal.&lt;/p&gt;

&lt;p&gt;At this stage, it has more than 20 autocomplete specs for CLI’s and growing. I build one for Terraform, which made my life so easy doing thing commands so easy.&lt;/p&gt;


&lt;blockquote class="ltag__twitter-tweet"&gt;
      &lt;div class="ltag__twitter-tweet__media ltag__twitter-tweet__media__video-wrapper"&gt;
        &lt;div class="ltag__twitter-tweet__media--video-preview"&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--G5vjrZzx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/amplify_video_thumb/1373776016091475968/img/VyCF8Jtw9GEhqptm.jpg" alt="unknown tweet media content"&gt;
          &lt;img src="/assets/play-butt.svg" class="ltag__twitter-tweet__play-butt" alt="Play butt"&gt;
        &lt;/div&gt;
        &lt;div class="ltag__twitter-tweet__video"&gt;
          
            
          
        &lt;/div&gt;
      &lt;/div&gt;

  &lt;div class="ltag__twitter-tweet__main"&gt;
    &lt;div class="ltag__twitter-tweet__header"&gt;
      &lt;img class="ltag__twitter-tweet__profile-image" src="https://res.cloudinary.com/practicaldev/image/fetch/s--zMyvMQAy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/profile_images/1303846523541708805/RmRleQ-z_normal.jpg" alt="Dipak Parmar profile image"&gt;
      &lt;div class="ltag__twitter-tweet__full-name"&gt;
        Dipak Parmar
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__username"&gt;
        @iamdipakparmar
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__twitter-logo"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ir1kO05j--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-f95605061196010f91e64806688390eb1a4dbc9e913682e043eb8b1e06ca484f.svg" alt="twitter logo"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__body"&gt;
      Built this autocomplete for &lt;a href="https://twitter.com/HashiCorp"&gt;@HashiCorp&lt;/a&gt;'s Terraform CLI during Fig hack night. 🌙&lt;br&gt;&lt;br&gt;💻 Sign up &lt;a href="https://twitter.com/withfig"&gt;@withfig&lt;/a&gt; to try this, or other smart autocomplete specs like docker, kubectl, git, brew etc., at &lt;a href="https://t.co/Vkuq6gkWZ3"&gt;dipak.to/fig&lt;/a&gt; &lt;a href="https://twitter.com/hashtag/DevOps"&gt;#DevOps&lt;/a&gt; &lt;a href="https://twitter.com/hashtag/Developer"&gt;#Developer&lt;/a&gt; &lt;a href="https://twitter.com/hashtag/aws"&gt;#aws&lt;/a&gt; &lt;a href="https://twitter.com/hashtag/DevRel"&gt;#DevRel&lt;/a&gt; &lt;a href="https://twitter.com/hashtag/javascript"&gt;#javascript&lt;/a&gt; 
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__date"&gt;
      00:22 AM - 22 Mar 2021
    &lt;/div&gt;


    &lt;div class="ltag__twitter-tweet__actions"&gt;
      &lt;a href="https://twitter.com/intent/tweet?in_reply_to=1373792156456951809" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--fFnoeFxk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-reply-action-238fe0a37991706a6880ed13941c3efd6b371e4aefe288fe8e0db85250708bc4.svg" alt="Twitter reply action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/retweet?tweet_id=1373792156456951809" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--k6dcrOn8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-retweet-action-632c83532a4e7de573c5c08dbb090ee18b348b13e2793175fea914827bc42046.svg" alt="Twitter retweet action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/like?tweet_id=1373792156456951809" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SRQc9lOp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/twitter-like-action-1ea89f4b87c7d37465b0eb78d51fcb7fe6c03a089805d7ea014ba71365be5171.svg" alt="Twitter like action"&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;


&lt;p&gt;You can try it out by downloading from &lt;a href="https://dipak.to/fig"&gt;withfig.com&lt;/a&gt; or send me a &lt;a href="https://twitter.com/iamdipakparmar/"&gt;message&lt;/a&gt; for an invite.&lt;/p&gt;

&lt;p&gt;Currently only available for Mac, Linux version coming up soon.&lt;/p&gt;

</description>
      <category>terraform</category>
      <category>iterm</category>
      <category>docker</category>
      <category>kubernetes</category>
    </item>
    <item>
      <title>mac OS Dock changes position on two screens 🖥</title>
      <dc:creator>Dipak Parmar</dc:creator>
      <pubDate>Tue, 28 Jul 2020 15:30:57 +0000</pubDate>
      <link>https://dev.to/dipakparmar/mac-os-dock-changes-position-on-two-screens-134h</link>
      <guid>https://dev.to/dipakparmar/mac-os-dock-changes-position-on-two-screens-134h</guid>
      <description>&lt;p&gt;It was so annoying when dock keeps jumping from my main screen to another screen. for the first few times, I ignored but, it started frustrated me so went to google to find out some solution I'm the only one or some other two screen geeks is having the same issue. And found that I'm not the one, found a few solutions that I'm mentioning here.&lt;/p&gt;

&lt;h4&gt;
  
  
  1. Apple's Mission control uses a separate space thing which distinguishes your screens ⚠️
&lt;/h4&gt;

&lt;p&gt;try disabling displays have separate spaces&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pro&lt;/strong&gt;: that fixes the moving dock, yay 🤩 but here is the con&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Con&lt;/strong&gt;:  you lose the multi-desktop feature, it's kinda a second screen presenter mode for your screen so for this was a workaround&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I checked &lt;strong&gt;Mission Control&lt;/strong&gt; and &lt;strong&gt;Display has separate Spaces&lt;/strong&gt; is checked. - "Felix Hernandez"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  2. For some people it's a bug and but for apple, it's a feature ✅
&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;you can move dock from one screen to another screen by pointing arrow at the very bottom of the screen for 2-4 seconds! ✨&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Found interesting reply by &lt;a href="https://discussions.apple.com/thread/5527972?answerId=23831944022#23831944022"&gt;SputnikTechnologies&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Hey guys, So apparently, this is an actual feature and not a bug. It's been ******* me off as well as I use 3 monitors, but I read on a different forum how to actually make it appear on a different monitor and &lt;strong&gt;all you have to do is actually move your mouse to the center of the screen, and move it all the way down as if you're trying to drive into the bottom of the screen.&lt;/strong&gt; you'll see it appears on any monitor you do this to (clearly being a feature). I think it's stupid and would love to have the option to disable this without losing my separate spaces for each monitor, but I guess this is the Apple way. What can ya do? Hope this helps.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Orignal Discussion: &lt;a href="https://discussions.apple.com/thread/5527972?answerId=23674095022#23674095022"&gt;https://discussions.apple.com/thread/5527972?answerId=23674095022#23674095022&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Reseting mac OS Dock
&lt;/h3&gt;

&lt;p&gt;copy and paste this on terminal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;defaults delete com.apple.dock&lt;span class="p"&gt;;&lt;/span&gt; killall Dock
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>help</category>
      <category>macos</category>
      <category>twoscreen</category>
      <category>apple</category>
    </item>
  </channel>
</rss>
