<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Workflow on Aamnah - Frontend Web Developer</title>
    <link>https://aamnah.com/notes/workflow/</link>
    <description>Recent content in Workflow on Aamnah - Frontend Web Developer</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 14 Apr 2026 22:35:08 +0300</lastBuildDate>
    <atom:link href="https://aamnah.com/notes/workflow/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Save project specific tmux layouts with tmuxp</title>
      <link>https://aamnah.com/notes/workflow/tmuxp-saved-custom-tmux-layouts/</link>
      <pubDate>Tue, 14 Apr 2026 22:35:08 +0300</pubDate>
      <guid>https://aamnah.com/notes/workflow/tmuxp-saved-custom-tmux-layouts/</guid>
      <description>&lt;h2 id=&#34;built-in-tmux-layouts&#34;&gt;Built-in tmux layouts&lt;/h2&gt;&#xA;&lt;p&gt;tmux has 5 built-in layouts, mapped to &lt;code&gt;&amp;lt;prefix&amp;gt; Alt+1..5&lt;/code&gt; in this order:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;code&gt;even-horizontal&lt;/code&gt; — panes stacked side-by-side, equal width&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;┌───────┬───────┬───────┬───────┐&#xA;│       │       │       │       │&#xA;│   1   │   2   │   3   │   4   │&#xA;│       │       │       │       │&#xA;└───────┴───────┴───────┴───────┘&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;code&gt;even-vertical&lt;/code&gt; — panes stacked top-to-bottom, equal height&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;┌───────────────────────────────┐&#xA;│               1               │&#xA;├───────────────────────────────┤&#xA;│               2               │&#xA;├───────────────────────────────┤&#xA;│               3               │&#xA;├───────────────────────────────┤&#xA;│               4               │&#xA;└───────────────────────────────┘&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;code&gt;main-horizontal&lt;/code&gt; — one large pane on top, smaller ones across the bottom&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;┌───────────────────────────────┐&#xA;│                               │&#xA;│               1               │&#xA;│                               │&#xA;├─────────┬──────────┬──────────┤&#xA;│    2    │    3     │    4     │&#xA;└─────────┴──────────┴──────────┘&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;code&gt;main-vertical&lt;/code&gt; — one large pane on the left, smaller ones stacked on the right&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;┌──────────────────┬────────────┐&#xA;│                  │     2      │&#xA;│                  ├────────────┤&#xA;│        1         │     3      │&#xA;│                  ├────────────┤&#xA;│                  │     4      │&#xA;└──────────────────┴────────────┘&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;code&gt;tiled&lt;/code&gt; — roughly equal-sized grid&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;┌───────────────┬───────────────┐&#xA;│       1       │       2       │&#xA;├───────────────┼───────────────┤&#xA;│       3       │       4       │&#xA;└───────────────┴───────────────┘&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
    </item>
    <item>
      <title>Create a sublime text snippet to insert a slug</title>
      <link>https://aamnah.com/notes/workflow/create-a-sublime-text-snippet-to-insert-a-slug/</link>
      <pubDate>Sun, 21 Jul 2024 01:03:59 +0300</pubDate>
      <guid>https://aamnah.com/notes/workflow/create-a-sublime-text-snippet-to-insert-a-slug/</guid>
      <description>&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-xml&#34; data-lang=&#34;xml&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;&amp;lt;snippet&amp;gt;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;nt&#34;&gt;&amp;lt;content&amp;gt;&lt;/span&gt;&lt;span class=&#34;cp&#34;&gt;&amp;lt;![CDATA[&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;cp&#34;&gt;${1:${TM_FILENAME/([A-Z])|(\s+)|(\.[^.]+$)/(?1\l$1:)(?2-:)(?3:)/gi}}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;cp&#34;&gt;]]&amp;gt;&lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;&amp;lt;/content&amp;gt;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 5&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;c&#34;&gt;&amp;lt;!-- Optional: Set a tabTrigger to define how to trigger the snippet --&amp;gt;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 6&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;nt&#34;&gt;&amp;lt;tabTrigger&amp;gt;&lt;/span&gt;slug&lt;span class=&#34;nt&#34;&gt;&amp;lt;/tabTrigger&amp;gt;&lt;/span&gt; &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 7&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;c&#34;&gt;&amp;lt;!-- Optional: Set a scope to limit where the snippet will trigger --&amp;gt;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 8&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;c&#34;&gt;&amp;lt;!-- &amp;lt;scope&amp;gt;source.markdown&amp;lt;/scope&amp;gt; --&amp;gt;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 9&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;c&#34;&gt;&amp;lt;!-- Optional: Description to show in the menu --&amp;gt;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;10&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;  &lt;span class=&#34;nt&#34;&gt;&amp;lt;description&amp;gt;&lt;/span&gt;Convert filename to a slug that can be used inside a URL. Replace spaces with dashes, convert characters to lowercase and remove file extension&lt;span class=&#34;nt&#34;&gt;&amp;lt;/description&amp;gt;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;11&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;&amp;lt;/snippet&amp;gt;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Results:&lt;/p&gt;</description>
    </item>
    <item>
      <title>The best of tiling window managers for Windows, macOS and Linux</title>
      <link>https://aamnah.com/notes/workflow/tiling-window-managers-ubuntu-windows-macos/</link>
      <pubDate>Sun, 12 Dec 2021 19:56:39 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/tiling-window-managers-ubuntu-windows-macos/</guid>
      <description>&lt;h3 id=&#34;features&#34;&gt;Features&lt;/h3&gt;&#xA;&lt;p&gt;These are the features i want&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Edge snapping&lt;/strong&gt; (i want to be able to drag windows to rearrange+resize them. that&amp;rsquo;s faster for me than remembering different keyboard shortcut and is basically the same way on all operating systems: you drag, you drop.)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Quarters&lt;/strong&gt; (i have 4K screens, plenty of space for me to have 1/4 or 1/6 of the screen area and still have full view of the app)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Custom layouts&lt;/strong&gt; (i&amp;rsquo;d like creating my own custom layouts by defining and saving &lt;em&gt;zones&lt;/em&gt;. Not everything needs to be a quarter of the screen..)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;My top 3 tools for resizing and arranging windows are as follows (all of these are free):&lt;/p&gt;</description>
    </item>
    <item>
      <title>Workspaces in Windows</title>
      <link>https://aamnah.com/notes/workflow/windows-workspaces-desktop-management/</link>
      <pubDate>Fri, 21 May 2021 12:32:00 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/windows-workspaces-desktop-management/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Task View&lt;/strong&gt; is awesome, this is what you should have gotten with &lt;code&gt;Alt&lt;/code&gt;+ &lt;code&gt;Tab&lt;/code&gt; by default imo. You get that with &lt;kbd&gt;Windows&lt;/kbd&gt; + &lt;kbd&gt;Tab&lt;/kbd&gt;. It&amp;rsquo;s the same as pressing &lt;kbd&gt;Windows&lt;/kbd&gt; on Ubuntu and doing a three finger swipe up on macOS to get &lt;strong&gt;Mission Control&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Workspaces are called &lt;em&gt;Desktops&lt;/em&gt; in Windows. They were introduced as virtual desktops in Windows 10&lt;/li&gt;&#xA;&lt;li&gt;Virtual desktops in Windows are still inferior to something like Ubuntu because there are no keyboard shortcuts to move applications between desktops&lt;/li&gt;&#xA;&lt;li&gt;Unlike Ubuntu, you can&amp;rsquo;t search in Task View and you can&amp;rsquo;t launch applications from Task View.&lt;/li&gt;&#xA;&lt;li&gt;If you &lt;strong&gt;scroll on the Task bar&lt;/strong&gt; it&amp;rsquo;ll switch between desktops!&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Keys&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Description&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;Windows&lt;/code&gt; + &lt;code&gt;Tab&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Task View&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;Windows&lt;/code&gt; + &lt;code&gt;Ctrl&lt;/code&gt; + &lt;code&gt;D&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Create a new Desktop&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;Windows&lt;/code&gt; + &lt;code&gt;Ctrl&lt;/code&gt; + &lt;code&gt;F4&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Close a Desktop&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;Windows&lt;/code&gt; + &lt;code&gt;Ctrl&lt;/code&gt; + &lt;code&gt;Arrow Left&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Switch to the Desktop on the Left&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;&lt;code&gt;Windows&lt;/code&gt; + &lt;code&gt;Ctrl&lt;/code&gt; + &lt;code&gt;Arrow Right&lt;/code&gt;&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;Switch to the Desktop on the Right&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;p&gt;There don&amp;rsquo;t seem to be any keyboard shortcuts for moving applications between Windows desktops. You have to drag and drop applications to the desktop you want from Task View. Projects like &lt;a href=&#34;https://github.com/sdias/win-10-virtual-desktop-enhancer&#34;&gt;Windows 10 Virtual Desktop Enhancer&lt;/a&gt; exist, but have been abandoned due to lack of interest/time. I tried installing them but the shortcuts to move applications didn&amp;rsquo;t work. Same for the multiple forks of it from various people. Apparently it gets broken every time Windows updates.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Productivity Notes</title>
      <link>https://aamnah.com/notes/workflow/productivity-notes/</link>
      <pubDate>Sat, 09 Nov 2019 11:56:53 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/productivity-notes/</guid>
      <description>&lt;ol&gt;&#xA;&lt;li&gt;Only plan for 4-5 hours of real work every day&lt;/li&gt;&#xA;&lt;li&gt;Done is better than perfect&lt;/li&gt;&#xA;&lt;li&gt;More work hours doesn&amp;rsquo;t mean more productivity&lt;/li&gt;&#xA;&lt;li&gt;Separate thinking and execution to execute faster and think better&lt;/li&gt;&#xA;&lt;li&gt;Keep the same context everyday. Switching between projects/clients is unproductive&lt;/li&gt;&#xA;&lt;li&gt;Break the unreasonable down into little reasonable chunks. A big goal is only achieved when every little thing that you do evvery day, gets you closer to that goal.&lt;/li&gt;&#xA;&lt;li&gt;If something can be done 80% as well by someone else, delegate!&lt;/li&gt;&#xA;&lt;li&gt;Write down everything that distracts you. Google searches, random thoughts, new ideas, whatever. The point is if you write them down, they&amp;rsquo;ll stop bubbling up when you&amp;rsquo;re in the zone&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
    </item>
    <item>
      <title>Using workspaces like a  pro in Ubuntu</title>
      <link>https://aamnah.com/notes/workflow/ubuntu-workspaces/</link>
      <pubDate>Thu, 07 Nov 2019 19:59:45 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/ubuntu-workspaces/</guid>
      <description>&lt;p&gt;&lt;strong&gt;tl;dr&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;With the keyboard shortcuts, i now &lt;code&gt;ctrl+alt+up/down&lt;/code&gt; to move between workspaces which have full screen apps. And &lt;code&gt;shift+ctrl+alt+up/down&lt;/code&gt; to move an app between workspaces. &lt;code&gt;F11&lt;/code&gt; to make an app full screen. &lt;code&gt;shift+start+ARROW&lt;/code&gt; to move apps between different monitors. &lt;code&gt;super+LEFT/RIGHT&lt;/code&gt; for split views&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;The top thing i missed about macOS after switching to a Thinkpad with Ubuntu was the swipe gestures. I could three-finger swipe left/right to switch between full screen apps.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Customizing Vim</title>
      <link>https://aamnah.com/notes/workflow/customizing-vim/</link>
      <pubDate>Fri, 29 Mar 2019 00:00:00 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/customizing-vim/</guid>
      <description>&lt;h2 id=&#34;install-plugins&#34;&gt;install plugins&lt;/h2&gt;&#xA;&lt;p&gt;With &lt;code&gt;apt-vim&lt;/code&gt; you can install plugins by specifying their Git URLs&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# install `apt-vim`&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;curl -sL https://raw.githubusercontent.com/egalpin/apt-vim/master/install.sh &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;source&lt;/span&gt; ~/.bashrc &lt;span class=&#34;o&#34;&gt;||&lt;/span&gt; &lt;span class=&#34;nb&#34;&gt;source&lt;/span&gt; ~/.bash_profile&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;5&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# install `nerdtree`&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;6&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;apt-vim install -y https://github.com/scrooloose/nerdtree.git&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;config-file&#34;&gt;config file&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-vimrc&#34; data-lang=&#34;vimrc&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c&#34;&gt;&amp;#34; NerdTree&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c&#34;&gt;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c&#34;&gt;&amp;#34; Open NERDTree automatically when Vim starts&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;autocmd&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;vimenter&lt;/span&gt; * &lt;span class=&#34;nx&#34;&gt;NERDTree&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 5&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 6&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c&#34;&gt;&amp;#34; show hidden files by default&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 7&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c&#34;&gt;&amp;#34; you can also manually toggle hiddden files: `Shift + i`&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 8&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;let&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;NERDTreeShowHidden&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;m&#34;&gt;1&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 9&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;10&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c&#34;&gt;&amp;#34; close vim if the only window left open is a NERDTree&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;11&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;autocmd&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;bufenter&lt;/span&gt; * &lt;span class=&#34;k&#34;&gt;if&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;nx&#34;&gt;winnr&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;$&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;==&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1&lt;/span&gt; &amp;amp;&amp;amp; &lt;span class=&#34;nx&#34;&gt;exists&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;b:NERDTree&amp;#34;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt; &amp;amp;&amp;amp; &lt;span class=&#34;nx&#34;&gt;b&lt;/span&gt;:&lt;span class=&#34;nx&#34;&gt;NERDTree&lt;/span&gt;.&lt;span class=&#34;nx&#34;&gt;isTabTree&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;())&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;nx&#34;&gt;q&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; &lt;span class=&#34;k&#34;&gt;endif&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>Screenshot shortcuts on macOS, Linux and Windows</title>
      <link>https://aamnah.com/notes/workflow/screenshot-shortcuts/</link>
      <pubDate>Thu, 14 Mar 2019 00:00:00 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/screenshot-shortcuts/</guid>
      <description>&lt;h2 id=&#34;macos&#34;&gt;macOS&lt;/h2&gt;&#xA;&lt;h3 id=&#34;screenshots&#34;&gt;Screenshots&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;code&gt;Cmd&lt;/code&gt; + &lt;code&gt;Shift&lt;/code&gt; + &lt;code&gt;3&lt;/code&gt; capture the entire screen&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;code&gt;Cmd&lt;/code&gt; + &lt;code&gt;Shift&lt;/code&gt; + &lt;code&gt;4&lt;/code&gt; capture selected portion of the screen&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;code&gt;Cmd&lt;/code&gt; + &lt;code&gt;Shift&lt;/code&gt; + &lt;code&gt;5&lt;/code&gt; see all screenshot/screencast controls on screen&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;code&gt;Cmd&lt;/code&gt; + &lt;code&gt;Shift&lt;/code&gt; + &lt;code&gt;6&lt;/code&gt; capture the Touch Bar&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Files ares saved as &lt;code&gt;.png&lt;/code&gt; on your &lt;code&gt;Desktop&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;screencasts&#34;&gt;Screencasts&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Cmd&lt;/code&gt; + &lt;code&gt;Shift&lt;/code&gt; + &lt;code&gt;5&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;ubuntu&#34;&gt;Ubuntu&lt;/h2&gt;&#xA;&lt;h3 id=&#34;screenshots-1&#34;&gt;Screenshots&lt;/h3&gt;&#xA;&lt;p&gt;In Ubuntu 22.04 and GNOME 42 the default shortcuts for using the screenshots are:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Case-insesnitive tab auto-complete in the Terminal</title>
      <link>https://aamnah.com/notes/workflow/bash-case-insensitive-autocomplete/</link>
      <pubDate>Sun, 18 Nov 2018 21:07:42 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/bash-case-insensitive-autocomplete/</guid>
      <description>&lt;h3 id=&#34;for-a-user&#34;&gt;For a User&lt;/h3&gt;&#xA;&lt;p&gt;Add the following at the end of your &lt;code&gt;~/.bashrc&lt;/code&gt; (Linux) or &lt;code&gt;~/.bash_profile&lt;/code&gt; (macOS) file.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# Case-insensitive Tab auto-complete&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;$include&lt;/span&gt; /etc/inputrc&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;set&lt;/span&gt; completion-ignore-case on&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You may get a &lt;em&gt;Permission denied&lt;/em&gt; error. In that case just add it to the system-wide file&lt;/p&gt;&#xA;&lt;h3 id=&#34;for-the-system&#34;&gt;For the System&lt;/h3&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo nano /etc/inputrc&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Add the following at the end of the file&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# Case-insensitive Tab auto-complete&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;set&lt;/span&gt; completion-ignore-case on&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&#34;https://askubuntu.com/a/1081444&#34;&gt;source&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Customizing tmux</title>
      <link>https://aamnah.com/notes/workflow/tmux-theme-conf/</link>
      <pubDate>Fri, 17 Aug 2018 00:00:00 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/tmux-theme-conf/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;Finished theme: &lt;a href=&#34;https://github.com/aamnah/tmux-flat-theme&#34;&gt;tmux Flat Theme&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://aamnah.com/notes/workflow/images/tmux-flat-theme.png&#34; alt=&#34;tmux Flat Theme&#34; loading=&#34;lazy&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;There are example templates available in the &lt;code&gt;/usr/share/doc/tmux/examples&lt;/code&gt; folder which are a really good starting point and help you understand how to configure your own theme&lt;/p&gt;&#xA;&lt;h2 id=&#34;creating-a-tmux-theme&#34;&gt;creating a tmux theme&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;You can edit the &lt;code&gt;~/.tmux.conf&lt;/code&gt; file directly and add your styles or you can save the theme separately and load it from the conf file.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Add this line to the bottom of &lt;code&gt;~/.tmux.conf&lt;/code&gt;:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Customizing Geany colorschemes and syntax highlighting</title>
      <link>https://aamnah.com/notes/workflow/geany-colorschemes/</link>
      <pubDate>Tue, 07 Aug 2018 00:00:00 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/geany-colorschemes/</guid>
      <description>&lt;h3 id=&#34;file-paths&#34;&gt;File paths&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;System-wide config files are in &lt;code&gt;/usr/share/geany&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;USer-specific config files are in &lt;code&gt;$HOME/.config/geany&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Files placed in the user-specific folder will overwrite the code in files placed in the syste-specific folder&lt;/li&gt;&#xA;&lt;li&gt;Don&amp;rsquo;t make changes directly in the system files, those will be overwritten when Geany is updated&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;file-names-and-extensions&#34;&gt;File names and extensions&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The general colorscheme for the editor is a &lt;code&gt;.conf&lt;/code&gt; file in the &lt;code&gt;colorschemes&lt;/code&gt; directory. For example: &lt;code&gt;monokai.conf&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;The programming language specific file is a &lt;code&gt;filetypes.ext&lt;/code&gt; file where &lt;code&gt;.ext&lt;/code&gt; is your programming language extension. For example, &lt;code&gt;filetypes.markdown&lt;/code&gt; for Markdown, &lt;code&gt;filetypes.js&lt;/code&gt; for JavaScript and &lt;code&gt;filetypes.sh&lt;/code&gt; for Bash files. These files placed in &lt;code&gt;/$HOME/.config/geany/filedefs/&lt;/code&gt; will overwrite the code in default files placed in &lt;code&gt;/usr/share/geany/&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;making-changes&#34;&gt;Making changes&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Colors can be HEX values, prepended with either a &lt;code&gt;#&lt;/code&gt; or a &lt;code&gt;0x&lt;/code&gt;. For example: &lt;code&gt;#ff0000&lt;/code&gt; or &lt;code&gt;#f00&lt;/code&gt; or &lt;code&gt;0xFF0000&lt;/code&gt; are all valid values for Red.&lt;/li&gt;&#xA;&lt;li&gt;You can save all your colors as named variables under the &lt;code&gt;[named_colors]&lt;/code&gt; section&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;o&#34;&gt;[&lt;/span&gt;named_colors&lt;span class=&#34;o&#34;&gt;]&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;color_navy&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;#0C1021&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;color_orange&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;#FF6400&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;color_light&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;#ECF0F1&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 5&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;color_red&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;#FF0000&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 6&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;color_mustard&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;#FFCB4F&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 7&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;color_blue&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;#79b6e8&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 8&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;color_pink&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;#DB0A5B&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt; 9&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;color_yellow&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;#ffff06&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;10&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;color_green&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;0x7EB35B&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;11&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;color_teal&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;#16a085&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;12&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;13&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;o&#34;&gt;[&lt;/span&gt;styling&lt;span class=&#34;o&#34;&gt;]&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;14&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# key=foreground;background;bold;italic&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;15&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# bold and italic are true/false flags, i.e. boolean values (false is default)&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;16&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;17&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;default&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;color_light&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;color_navy&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;18&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;strong&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;color_mustard&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;color_navy&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;true&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;false&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;&#xA;&lt;li&gt;The styling takes 4 values for every key. The values are:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Foreground color (takes a named color or a HEX value)&lt;/li&gt;&#xA;&lt;li&gt;Background color (takes a named color or a HEX value)&lt;/li&gt;&#xA;&lt;li&gt;Bold (takes a true/false value)&lt;/li&gt;&#xA;&lt;li&gt;Italic (takes a true/false value)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Below are all valid ways of writing the values&lt;/p&gt;</description>
    </item>
    <item>
      <title>Text/Code Editor Showdown</title>
      <link>https://aamnah.com/notes/workflow/text-code-editor-showdown/</link>
      <pubDate>Wed, 11 Oct 2017 00:00:00 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/text-code-editor-showdown/</guid>
      <description>&lt;p&gt;Right now i use 4 different editors.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Visual Studio Code&lt;/li&gt;&#xA;&lt;li&gt;Sublime Text 3&lt;/li&gt;&#xA;&lt;li&gt;Brackets&lt;/li&gt;&#xA;&lt;li&gt;LightPaper&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;visual-studio-code&#34;&gt;Visual Studio Code&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Visual Studio Code is &lt;strong&gt;THE BEST editor if you want an IDE&lt;/strong&gt;. &lt;strong&gt;Git, Terminal&lt;/strong&gt; offered out of the box.&lt;/li&gt;&#xA;&lt;li&gt;This is my go to editor for most projects&lt;/li&gt;&#xA;&lt;li&gt;Preferred editor of JavaScript (React) coders. Has support for things like JSX, Standard style etc.&lt;/li&gt;&#xA;&lt;li&gt;Supports Emmet out of the box&lt;/li&gt;&#xA;&lt;li&gt;Installing (and Disabling) Extensions is really easy and simple&lt;/li&gt;&#xA;&lt;li&gt;Git support is awesome. Committing code, seeing changes side by side, reverting changes, pushing code is all relatively fast and simple.&lt;/li&gt;&#xA;&lt;li&gt;Terminal is awesome. You can have multiple Terminals, all Terminals open in the project folder&lt;/li&gt;&#xA;&lt;li&gt;Highlights syntax in fenced code blocks in Markdown files&lt;/li&gt;&#xA;&lt;li&gt;An extension is available for &lt;a href=&#34;https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer&#34;&gt;HTML/CSS/SCSS live preview&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;sublime-text-3&#34;&gt;Sublime Text 3&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The &lt;strong&gt;multiple cursors&lt;/strong&gt; and &lt;strong&gt;find and select all&lt;/strong&gt; are my favorite features&lt;/li&gt;&#xA;&lt;li&gt;Loads really fast&lt;/li&gt;&#xA;&lt;li&gt;Great for text editing&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;brackets&#34;&gt;Brackets&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Brackets is &lt;strong&gt;THE BEST editor for CSS Styling&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;LiveReload&lt;/strong&gt;s HTML/SCSS/CSS out of the box&lt;/li&gt;&#xA;&lt;li&gt;Live preview for your site, side by side editing, you immediately see every change you make&lt;/li&gt;&#xA;&lt;li&gt;Highlights all relevant areas on the page when you click a style&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;lightpaper&#34;&gt;LightPaper&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;LightPaper is &lt;strong&gt;THE BEST editor for Markdown&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;Live preview, see your changes side by side&lt;/li&gt;&#xA;&lt;li&gt;Code highlights, see syntax highlighting for all your fenced code. This is the one feature that i miss the most in other editors. Most editors highlight Markdown, but not code entered in code blocks (Sublime Text, Brackets).&lt;/li&gt;&#xA;&lt;li&gt;Scroll sync, keeps both screens on the same area when you scroll&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4 id=&#34;misc-things-all-editors-support&#34;&gt;Misc. things all editors support&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Emmet (have to install it separately in Sublime Text)&lt;/li&gt;&#xA;&lt;li&gt;Color highlights (Shows you the color for your color values)&lt;/li&gt;&#xA;&lt;li&gt;Multi-pane views&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>Troubleshooting MAMP</title>
      <link>https://aamnah.com/notes/workflow/mamp-troubleshooting/</link>
      <pubDate>Mon, 02 Oct 2017 00:00:00 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/mamp-troubleshooting/</guid>
      <description>&lt;h4 id=&#34;tldr&#34;&gt;tl;dr&lt;/h4&gt;&#xA;&lt;p&gt;Disable the &lt;strong&gt;Opera Turbo&lt;/strong&gt; feature&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4 id=&#34;issue&#34;&gt;Issue&lt;/h4&gt;&#xA;&lt;p&gt;MAMP is not working, gives&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Connection refused: localhost:8888&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;It was working the night before, nothing has been changed in terms of settings.. Going to 127.0.0.1:8888 worked, but didn&amp;rsquo;t load any resources (jpegs, css etc.).&lt;/p&gt;&#xA;&lt;h4 id=&#34;things-i-have-tried&#34;&gt;Things i have tried:&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;restart MAMP (didn&amp;rsquo;t work)&lt;/li&gt;&#xA;&lt;li&gt;change ports and restart (didn&amp;rsquo;t work)&lt;/li&gt;&#xA;&lt;li&gt;ping localhost to see if i get a response (pinged just fine)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;ping localhost&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;&#xA;&lt;li&gt;re-installed MAMP (my version was one minor release older so what the heck, didn&amp;rsquo;t work)&lt;/li&gt;&#xA;&lt;li&gt;Flush DNS cache (didn&amp;rsquo;t work)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo dscacheutil -flushcache&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This gave a &lt;code&gt;Connection refused; localhost:8888&lt;/code&gt; on &lt;code&gt;localhost&lt;/code&gt; but &lt;code&gt;127.0.0.1&lt;/code&gt; works and shows me the start page. If i click &amp;lsquo;My Website&amp;rsquo; from the start page, redirects to localhost and gives the error.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Set up a new macOS machine with Homebrew-Cask</title>
      <link>https://aamnah.com/notes/workflow/install-setup-software-homebrew-cask-macos/</link>
      <pubDate>Wed, 09 Aug 2017 00:00:01 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/install-setup-software-homebrew-cask-macos/</guid>
      <description>&lt;p&gt;Cask let&amp;rsquo;s you install commonly used software, stuff that you would drag and drop to install, via the Terminal or a script. For example,&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;brew cask install google-chrome&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;will install Google Chrome. While Homebrew let&amp;rsquo;s you install command line utilities, Cask let&amp;rsquo;s you install macOS desktop (GUI) software.&lt;/p&gt;&#xA;&lt;p&gt;If you&amp;rsquo;re a developer, you can use cask to install your preferred browsers, code editors, tools and such with a simple script.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Create Grunt Snippets in Sublime Text</title>
      <link>https://aamnah.com/notes/workflow/create-grunt-snippet-sublime-text/</link>
      <pubDate>Sun, 15 Feb 2015 00:00:00 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/create-grunt-snippet-sublime-text/</guid>
      <description>&lt;p&gt;First things first, read &lt;a href=&#34;%7B%7Bsite.url%7D%7Dcreate-sublime-text-snippet/&#34;&gt;How to create a Snippet in Sublime Text&lt;/a&gt; for some basics.&lt;/p&gt;&#xA;&lt;p&gt;To create a snippet in Sublime Text you save it with a file extension of &lt;strong&gt;.sublime-snippet&lt;/strong&gt; in the Packages folder (&lt;code&gt;/Users/yourname/Library/Application Support/Sublime Text 3/Packages/User&lt;/code&gt; on a Mac).&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Quick Tip:&lt;/strong&gt; You can use the shortcut Cmd+Shift+G and paste &lt;code&gt;~/Library/Application Support/Sublime Text 3/Packages/User&lt;/code&gt; to open the folder.&lt;/p&gt;&#xA;&lt;p&gt;For every snippet that you want to add, you create a new file.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to create a Snippet in Sublime Text</title>
      <link>https://aamnah.com/notes/workflow/create-sublime-text-snippet/</link>
      <pubDate>Mon, 09 Feb 2015 00:00:00 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/create-sublime-text-snippet/</guid>
      <description>&lt;h2 id=&#34;basics&#34;&gt;Basics&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The file name should end in &lt;strong&gt;.sublime-snippet&lt;/strong&gt;.&lt;/li&gt;&#xA;&lt;li&gt;It should be saved in (Mac) &lt;strong&gt;/Users/yourname/Library/Application Support/Sublime Text 3/Packages/User&lt;/strong&gt; See &lt;a href=&#34;http://sublimetext.info/docs/en/basic_concepts.html&#34;&gt;this page&lt;/a&gt; for the data folder on other OS.&lt;/li&gt;&#xA;&lt;li&gt;The code must ve wrapped in a &lt;strong&gt;&lt;![CDATA[ ]]&gt;&lt;/strong&gt; tag.&lt;/li&gt;&#xA;&lt;li&gt;You can use &lt;strong&gt;$1&lt;/strong&gt; to indicate where to place the cursor after inserting the template. For example, for an HTML5 template you can place it between &lt;code&gt;&amp;lt;title&amp;gt;&lt;/code&gt; tags like so: &lt;code&gt;&amp;lt;title&amp;gt;$1&amp;lt;/title&amp;gt;&lt;/code&gt; and this is where the cursor will be after the snippet is inserted.&lt;/li&gt;&#xA;&lt;li&gt;You can designate multiple cursors points for after snippet expansion, like &lt;strong&gt;$1, $2, $3&lt;/strong&gt; and so on.. Use &lt;code&gt;tab&lt;/code&gt; to go to the next cusrsor point.&lt;/li&gt;&#xA;&lt;li&gt;You can define a &lt;code&gt;tabTrigger&lt;/code&gt;. It&amp;rsquo;s the word that you need to type before pressing tab. For example, &lt;code&gt;html5&lt;/code&gt; is the tab trigger for HTML5 snippet.&lt;/li&gt;&#xA;&lt;li&gt;You should define &lt;code&gt;scope&lt;/code&gt;. Which basically means that you can define in what type of files this snippet should expand. For example, a snippet with &lt;code&gt;&amp;lt;scope&amp;gt;source.css&amp;lt;/scope&amp;gt;&lt;/code&gt; will only expand in CSS files. I omit scope in my snippets because i start writing files first and save later. Without a scope given i can expand the snippet in unsaved/untitled files.&lt;/li&gt;&#xA;&lt;li&gt;You can add a &lt;code&gt;description&lt;/code&gt; (optional).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;links&#34;&gt;Links&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.hongkiat.com/blog/sublime-code-snippets/&#34;&gt;Working With Code Snippets In Sublime Text&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://www.granneman.com/webdev/editors/sublime-text/top-features-of-sublime-text/quickly-insert-text-and-code-with-sublime-text-snippets/&#34;&gt;Quickly Insert Text &amp;amp; Code with Sublime Text Snippets&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://docs.sublimetext.info/en/latest/extensibility/snippets.html&#34;&gt;Sublime Text Docs: Snippets&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>My Gruntfile.js</title>
      <link>https://aamnah.com/notes/workflow/aamnah-gruntfile/</link>
      <pubDate>Thu, 22 Jan 2015 00:00:00 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/aamnah-gruntfile/</guid>
      <description>&lt;p&gt;It includes the following&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Minify JS&lt;/li&gt;&#xA;&lt;li&gt;Minify CSS&lt;/li&gt;&#xA;&lt;li&gt;Minify HTML&lt;/li&gt;&#xA;&lt;li&gt;Optimizie Images&lt;/li&gt;&#xA;&lt;li&gt;Create responsive screenshots&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;We&amp;rsquo;ll use &lt;strong&gt;pageres&lt;/strong&gt; to generate screenshots of the website in multiple resolutions. This comes in handy when you need to show that your website is responsive, need to check it looks good in all resolutions or just need a screenshot of the website to include as a preview.&lt;/p&gt;&#xA;&lt;p&gt;For example, WordPress themes automatically pick up &amp;lsquo;screenshot.png&amp;rsquo; form the theme&amp;rsquo;s root folder to show it as preview when the user is selecting a theme from the Admin, under Appearance &amp;gt; Themes. &lt;strong&gt;pageres&lt;/strong&gt; can automatically take that screenshot for you.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Writing a Grunt Task for Website Speed Optimization</title>
      <link>https://aamnah.com/notes/workflow/grunt-task-page-website-speed-optimization-minify-concat/</link>
      <pubDate>Mon, 19 Jan 2015 00:00:04 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/grunt-task-page-website-speed-optimization-minify-concat/</guid>
      <description>&lt;p&gt;This Grunt task will be able to take care of the following:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Minifying CSS&lt;/li&gt;&#xA;&lt;li&gt;Minifying JS&lt;/li&gt;&#xA;&lt;li&gt;Minifying HTML&lt;/li&gt;&#xA;&lt;li&gt;Concatentaing multiple JS files&lt;/li&gt;&#xA;&lt;li&gt;Concatenating multiple CSS files&lt;/li&gt;&#xA;&lt;li&gt;Optimizing Images&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; ImageOptim is wayyyy better than imagemin. Imageoptim &amp;lsquo;Saved 3MB out of 24.9MB. 15.4% per file on average (up to 84.7%)&amp;rsquo; where imagemin did &amp;lsquo;Minified 368 images (saved 0 B)&amp;rsquo; for the same files. The only issue is, Image optim works on your mac and opens imageoptim installed on it to compress images. Whereas, imagemin works on the server.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setting up a dev environment on macOS</title>
      <link>https://aamnah.com/notes/workflow/macos-dev-environment/</link>
      <pubDate>Tue, 26 Aug 2014 00:00:07 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/macos-dev-environment/</guid>
      <description>&lt;p&gt;How to Check the Version of a Script/Tool &lt;code&gt;toolName --version&lt;/code&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;homebrew&#34;&gt;&lt;a href=&#34;http://brew.sh&#34;&gt;homebrew&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/Homebrew/homebrew/wiki/installation&#34;&gt;Install&lt;/a&gt;&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;ruby -e &amp;quot;$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)&amp;quot;&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Once you’ve installed Homebrew, insert the Homebrew directory at the top of your PATH environment variable. You can do this by adding the following line at the bottom of your &lt;strong&gt;~/.bashrc&lt;/strong&gt; file&lt;/p&gt;&#xA;&lt;pre&gt;&lt;code&gt;export PATH=/usr/local/bin:/usr/local/sbin:$PATH&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;update: &lt;code&gt;brew update&lt;/code&gt;&#xA;check outdated: &lt;code&gt;brew outdated&lt;/code&gt;&#xA;upgrade: &lt;code&gt;brew upgrade&lt;/code&gt;&#xA;upgrade specific package: &lt;code&gt;brew upgrade package&lt;/code&gt;&#xA;troubleshoot: &lt;code&gt;brew doctor&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Open Files in New Tab by Default in Sublime Text 3</title>
      <link>https://aamnah.com/notes/workflow/howto-open-in-new-tab-instead-of-window-in-sublime-text-3/</link>
      <pubDate>Thu, 22 May 2014 07:42:23 +0500</pubDate>
      <guid>https://aamnah.com/notes/workflow/howto-open-in-new-tab-instead-of-window-in-sublime-text-3/</guid>
      <description>&lt;p&gt;Go to &lt;strong&gt;Preferences &amp;gt; Settings - User&lt;/strong&gt; (or &lt;strong&gt;&lt;code&gt;Cmd + ,&lt;/code&gt;&lt;/strong&gt; is the shortcut for application Preferences in Mac.) Add the below snippet between the curly braces.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-javascript&#34; data-lang=&#34;javascript&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;// Open files in New Tab&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;open_files_in_new_window&amp;#34;&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;:&lt;/span&gt; &lt;span class=&#34;kc&#34;&gt;false&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
