Skip to content

Commit b6f9305

Browse files
committed
Regen
1 parent 3b43178 commit b6f9305

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

public/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ <h1 class="f3 fw1 athelas mt0 lh-title">
156156
</a>
157157
</h1>
158158
<div class="f6 f5-l lh-copy nested-copy-line-height nested-links">
159-
It&rsquo;s been more than 2 years since I learned to type using Colemak, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can&rsquo;t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never actually achieved my goal of 70 WPM, but I also never really properly trained for speed.
159+
It&rsquo;s been more than 2 years since I learned to type using Colemak, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can&rsquo;t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never quite achieved my goal of 85 WPM, but I also never really properly trained for speed.
160160
</div>
161161
<a href="/posts/2018/02/two-years-of-colemak/" class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">read more</a>
162162

public/index.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<link>http://localhost:1313/posts/2018/02/two-years-of-colemak/</link>
2121
<pubDate>Sat, 24 Feb 2018 18:03:00 -0500</pubDate>
2222
<guid>http://localhost:1313/posts/2018/02/two-years-of-colemak/</guid>
23-
<description>It&amp;rsquo;s been more than 2 years since I learned to type using Colemak, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can&amp;rsquo;t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never actually achieved my goal of 70 WPM, but I also never really properly trained for speed.</description>
23+
<description>It&amp;rsquo;s been more than 2 years since I learned to type using Colemak, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can&amp;rsquo;t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never quite achieved my goal of 85 WPM, but I also never really properly trained for speed.</description>
2424
</item>
2525
<item>
2626
<title>Colemak - the slowest way I could write a blog post (for now!)</title>

public/posts/2018/02/two-years-of-colemak/index.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<title>Two years of Colemak | mattmc3.github.io</title>
88
<meta name="viewport" content="width=device-width,minimum-scale=1">
9-
<meta name="description" content="It&rsquo;s been more than 2 years since I learned to type using Colemak, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can&rsquo;t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never actually achieved my goal of 70 WPM, but I also never really properly trained for speed.">
9+
<meta name="description" content="It&rsquo;s been more than 2 years since I learned to type using Colemak, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can&rsquo;t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never quite achieved my goal of 85 WPM, but I also never really properly trained for speed.">
1010
<meta name="generator" content="Hugo 0.128.0">
1111

1212

@@ -37,21 +37,21 @@
3737
<meta property="og:url" content="http://localhost:1313/posts/2018/02/two-years-of-colemak/">
3838
<meta property="og:site_name" content="mattmc3.github.io">
3939
<meta property="og:title" content="Two years of Colemak">
40-
<meta property="og:description" content="It’s been more than 2 years since I learned to type using Colemak, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can’t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never actually achieved my goal of 70 WPM, but I also never really properly trained for speed.">
40+
<meta property="og:description" content="It’s been more than 2 years since I learned to type using Colemak, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can’t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never quite achieved my goal of 85 WPM, but I also never really properly trained for speed.">
4141
<meta property="og:locale" content="en_us">
4242
<meta property="og:type" content="article">
4343
<meta property="article:section" content="posts">
4444
<meta property="article:published_time" content="2018-02-24T18:03:00-05:00">
4545
<meta property="article:modified_time" content="2018-02-24T18:03:00-05:00">
4646

4747
<meta itemprop="name" content="Two years of Colemak">
48-
<meta itemprop="description" content="It’s been more than 2 years since I learned to type using Colemak, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can’t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never actually achieved my goal of 70 WPM, but I also never really properly trained for speed.">
48+
<meta itemprop="description" content="It’s been more than 2 years since I learned to type using Colemak, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can’t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never quite achieved my goal of 85 WPM, but I also never really properly trained for speed.">
4949
<meta itemprop="datePublished" content="2018-02-24T18:03:00-05:00">
5050
<meta itemprop="dateModified" content="2018-02-24T18:03:00-05:00">
51-
<meta itemprop="wordCount" content="1126">
51+
<meta itemprop="wordCount" content="1131">
5252
<meta name="twitter:card" content="summary">
5353
<meta name="twitter:title" content="Two years of Colemak">
54-
<meta name="twitter:description" content="It’s been more than 2 years since I learned to type using Colemak, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can’t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never actually achieved my goal of 70 WPM, but I also never really properly trained for speed.">
54+
<meta name="twitter:description" content="It’s been more than 2 years since I learned to type using Colemak, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can’t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never quite achieved my goal of 85 WPM, but I also never really properly trained for speed.">
5555

5656

5757
</head>
@@ -125,7 +125,7 @@ <h1 class="f1 athelas mt3 mb1">Two years of Colemak</h1>
125125

126126
</header>
127127
<div class="nested-copy-line-height lh-copy serif f4 nested-links mid-gray pr4-l w-two-thirds-l"><p><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/84/KB_US-Colemak.svg/800px-KB_US-Colemak.svg.png" alt="Colemak"></p>
128-
<p>It&rsquo;s been more than 2 years since I learned to type using <a href="https://colemak.com/">Colemak</a>, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can&rsquo;t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never actually achieved my goal of 70 WPM, but I also never really properly trained for speed. But, I can typically type all day with no back of hand pain, and that was reason numero uno! Although, it should be noted that I also switched to a <a href="https://www.amazon.com/Logitech-910-001799-Wireless-Trackball-M570/dp/B0043T7FXE/ref=sr_1_3?s=pc&amp;ie=UTF8&amp;qid=1519510748&amp;sr=1-3&amp;keywords=trackball">trackball</a> so I cannot fully attribute my lack of RSI pain to Colemak. I now touch type with all ten fingers, rather than my gimpy QWERTY variant that I self-taught in 2nd grade when my fingers were too small for home row on the keyboard. I&rsquo;m not really sure why it&rsquo;s taken me two years to blog a follow up about this (more about my poor blogging habits than my typing ability, I can assure). I was pretty solidly proficient in my Colemak adjustment by month 2 of my transition - by March 2016 I was up to a passable 40 WPM. But those were two brutal months. Absolutely brutal.</p>
128+
<p>It&rsquo;s been more than 2 years since I learned to type using <a href="https://colemak.com/">Colemak</a>, and I am still happily using it. I have nearly no interaction with QWERTY aside from my phone, the occasional shared machine where I can&rsquo;t use my AutoHotKey mappings, and the meaningless default letters on all the keyboards I use but never look at. I never quite achieved my goal of 85 WPM, but I also never really properly trained for speed. But, I can typically type all day with no back of hand pain, and that was reason numero uno! Although, it should be noted that I also switched to a <a href="https://www.amazon.com/Logitech-910-001799-Wireless-Trackball-M570/dp/B0043T7FXE/ref=sr_1_3?s=pc&amp;ie=UTF8&amp;qid=1519510748&amp;sr=1-3&amp;keywords=trackball">trackball</a> so I cannot fully attribute my lack of RSI pain to Colemak. I now touch type with all ten fingers, rather than my gimpy QWERTY variant that I self-taught in 2nd grade when my fingers were too small for home row on the keyboard. I&rsquo;m not really sure why it&rsquo;s taken me two years to blog a follow up about this (more about my poor blogging habits than my typing ability, I can assure). I was pretty solidly proficient in my Colemak adjustment by month 2 of my transition - by March 2016 I was up to a passable 40 WPM. I&rsquo;m now nearly double that. But those were two brutal months. Absolutely brutal.</p>
129129
<p>Some notes about what I learned/now know/struggled with:</p>
130130
<ul>
131131
<li>
@@ -153,10 +153,10 @@ <h1 class="f1 athelas mt3 mb1">Two years of Colemak</h1>
153153
<p>I learned that there is a lot of help, blogs, and interesting info <a href="https://www.reddit.com/r/Colemak/">in forums</a>, or even <a href="https://discordapp.com/invite/sMNhBUP">chat rooms</a>. But truthfully, I learned way more by just <a href="https://thetypingcat.com/typing-courses/basic/lesson-1">practicing</a> and doing what worked for me than from all the advice. Each learner has their own path.</p>
154154
</li>
155155
<li>
156-
<p>I do not regret switching at all, but I also do not find myself actively recommending to others that they switch, nor do I find that I push Colemak over other options like Dvorak. In fact, I often find myself talking about <!-- raw HTML omitted -->smaller swapping options<!-- raw HTML omitted --> or even <!-- raw HTML omitted -->Minimak<!-- raw HTML omitted --> because truly - almost ANYTHING is better than QWERTY. <!-- raw HTML omitted -->QWERTY does manage to beat one purposely awful layout<!-- raw HTML omitted -->, so I guess it could have been worse. But not much.</p>
156+
<p>I do not regret switching at all, but I also do not find myself actively recommending to others that they switch, nor do I find that I push Colemak over other options like Dvorak. In fact, I often find myself talking about <a href="http://mkweb.bcgsc.ca/carpalx/?partial_optimization">smaller swapping options</a> or even <a href="http://www.minimak.org/">Minimak</a> because truly - almost ANYTHING is better than QWERTY. <a href="http://mkweb.bcgsc.ca/carpalx/?worst_layout">QWERTY does manage to beat one purposely awful layout</a>, so I guess it could have been worse. But not much.</p>
157157
</li>
158158
<li>
159-
<p>QWERTY is soooo bad. So bad. <!-- raw HTML omitted -->Check out these heat maps<!-- raw HTML omitted -->. Or, <!-- raw HTML omitted -->test for yourself<!-- raw HTML omitted -->.</p>
159+
<p>QWERTY is soooo bad. So bad. <a href="https://blogs.msdn.microsoft.com/ashleyf/2013/03/30/colemak/">Check out these heat maps</a>. Or, <a href="http://patorjk.com/keyboard-layout-analyzer/#/main">test for yourself</a>.</p>
160160
</li>
161161
<li>
162162
<p>The new layout kept me from using vim/neovim for a really, really long time. Vi, being a modal editor with both mnemonic AND positional keys like HJKL for movement was too much to manage while learning. Had vim been my primary editor, I probably would not have even switched from QWERTY. The switch was painful enough without blowing use of <a href="https://www.sublimetext.com/">my favorite editor</a> out of the water.</p>

public/posts/2024/07/better-shell-aliases-in-git/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
[alias] foo = &#34;!">
5252
<meta itemprop="datePublished" content="2024-07-01T05:29:58-04:00">
5353
<meta itemprop="dateModified" content="2024-07-01T05:29:58-04:00">
54-
<meta itemprop="wordCount" content="1259">
54+
<meta itemprop="wordCount" content="1260">
5555
<meta name="twitter:card" content="summary">
5656
<meta name="twitter:title" content="Better shell aliases in git">
5757
<meta name="twitter:description" content="Better shell aliases in git: adding an external shell script 10 years ago, I read this blog post on GitHub Flow git aliases by Phil Haack. From it, I learned a few really clever tricks. Even though I never much cared for using ‘GitHub Flow’ as a git workflow, I used some of those tricks for my own git aliases. One of those being this basic pattern:
@@ -156,7 +156,7 @@ <h1 class="f1 athelas mt3 mb1">Better shell aliases in git</h1>
156156
wip = &#34;!omz_git_commit wip&#34;
157157
</code></pre><p>They also wouldn&rsquo;t need to reach out and touch people&rsquo;s gitconfig every time Oh-My-Zsh has a new commit.</p>
158158
<h2 id="the-antipattern">The antipattern</h2>
159-
<p>By now you can probably see where this is going - these kinds of complex git aliases become crazy hard to maintain over time. My <code>gitconfig</code> became a mess of functions I could no longer read or understand. Add to that the abomination of mixing code and configuration in one file, and I feel like &ldquo;<code>!f() { echo foobar; }; f</code>&rdquo; has become a true antipattern. For the occasional one-off, fine. But once I got past a certain number of these aliases at a certain complexity, it was time to refactor. So, what&rsquo;s the better way? Glad you asked.</p>
159+
<p>By now you can probably see where this is going - these kinds of complex git aliases become crazy hard to maintain over time. My <code>gitconfig</code> became a mess of functions I could no longer read or understand. Add to that the abomination of mixing code and configuration in one file, and I feel like &ldquo;<code>!f() { &lt;complex shell commands&gt;; }; f</code>&rdquo; has become a true antipattern. For the occasional one-off, fine. But once I got past a certain number of these aliases at a certain complexity, it was time to refactor. So, what&rsquo;s the better way? Glad you asked.</p>
160160
<h2 id="my-solution">My solution</h2>
161161
<p>My solution has been to simply create a shell script external to my gitconfig that my git aliases can call. That script needs to be in the shell&rsquo;s <code>$PATH</code> for git to find it. With this script I can do more complicated actions without feeling like I have to cram everything into one line. And, it&rsquo;s easy to see what&rsquo;s in that script and read all the code. This script file can be written as a POSIX script, Bash, Zsh, Fish, Oil, Nushell, Xonsh - whatever you want. And, you don&rsquo;t have to convert your git aliases wholesale - you can start just with the ones that reach a certain complexity. Though I do find it easier to have all most of git subcommand handlers in one place.</p>
162162
<h3 id="preparing-to-use-your-script">Preparing to use your script</h3>

0 commit comments

Comments
 (0)