diff options
Diffstat (limited to 'docs/index.html')
-rw-r--r-- | docs/index.html | 94 |
1 files changed, 42 insertions, 52 deletions
diff --git a/docs/index.html b/docs/index.html index d6b29ef..e1c8c7c 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -13,22 +13,6 @@ | |||
13 | <meta property="og:url" content="https://nerdypepper.me"> | 13 | <meta property="og:url" content="https://nerdypepper.me"> |
14 | <title>n</title> | 14 | <title>n</title> |
15 | 15 | ||
16 | <script> | ||
17 | function gotoId() { | ||
18 | if ( window.location.hash ) { | ||
19 | let hash = window.location.hash.substring(1); | ||
20 | showPost(hash); | ||
21 | } | ||
22 | } | ||
23 | function showPost(id) { | ||
24 | let post = document.getElementById(id); | ||
25 | if (post.style.display == "none") { | ||
26 | post.style.display = "block"; | ||
27 | } else { | ||
28 | post.style.display = "none"; | ||
29 | } | ||
30 | } | ||
31 | </script> </head> | ||
32 | 16 | ||
33 | <body onload="gotoId()"> | 17 | <body onload="gotoId()"> |
34 | <h1 class="heading">n</h1> | 18 | <h1 class="heading">n</h1> |
@@ -37,10 +21,12 @@ function showPost(id) { | |||
37 | <div class="posts"> | 21 | <div class="posts"> |
38 | 22 | ||
39 | 23 | ||
40 | <div class="post"> | 24 | <details class="post"> |
41 | <div class="date">12/10 2019</div> | 25 | <summary> |
42 | <a id="post-WPA_woes.md" class="post-link" onClick="showPost('WPA_woes.md')" >WPA Woes</a> | 26 | <div class="date">12/10 2019</div> |
43 | <div id="WPA_woes.md" class="post-text" style="display: none"> | 27 | <span class="post-link">WPA Woes</span> |
28 | </summary> | ||
29 | <div class="post-text"> | ||
44 | <p>I finally got around to installing Void GNU/Linux on my main | 30 | <p>I finally got around to installing Void GNU/Linux on my main |
45 | computer. Rolling release, non-systemd, need I say more?</p> | 31 | computer. Rolling release, non-systemd, need I say more?</p> |
46 | 32 | ||
@@ -83,15 +69,16 @@ $ sudo ln -s /etc/sv/dhcpcd /var/service/ | |||
83 | $ sudo sv restart wpa_supplicant | 69 | $ sudo sv restart wpa_supplicant |
84 | $ sudo sv restart dhcpcd | 70 | $ sudo sv restart dhcpcd |
85 | </code></pre> | 71 | </code></pre> |
86 | <a href="#WPA_woes.md" class="post-end-link" onClick="showPost('WPA_woes.md')">↑ Collapse</a> | ||
87 | <div class=separator></div> | 72 | <div class=separator></div> |
88 | </div> | 73 | </div> |
89 | </div> | 74 | </details> |
90 | 75 | ||
91 | <div class="post"> | 76 | <details class="post"> |
92 | <div class="date">07/08 2019</div> | 77 | <summary> |
93 | <a id="post-bye_bye_BDFs.md" class="post-link" onClick="showPost('bye_bye_BDFs.md')" >Bye Bye BDFs</a> | 78 | <div class="date">07/08 2019</div> |
94 | <div id="bye_bye_BDFs.md" class="post-text" style="display: none"> | 79 | <span class="post-link">Bye Bye BDFs</span> |
80 | </summary> | ||
81 | <div class="post-text"> | ||
95 | <p>Glyph Bitmap Distribution Format is no more, as the creators of | 82 | <p>Glyph Bitmap Distribution Format is no more, as the creators of |
96 | <a href="https://pango.org">Pango</a>, one of the most widely used text rendering | 83 | <a href="https://pango.org">Pango</a>, one of the most widely used text rendering |
97 | libraries, | 84 | libraries, |
@@ -117,15 +104,16 @@ remain unaffected by the update.</p> | |||
117 | <p>Both <a href="https://github.com/nerdypepper/scientifica">scientifica</a> and | 104 | <p>Both <a href="https://github.com/nerdypepper/scientifica">scientifica</a> and |
118 | <a href="https://github.com/nerdypepper/curie">curie</a> will soon ship with bitmap-only | 105 | <a href="https://github.com/nerdypepper/curie">curie</a> will soon ship with bitmap-only |
119 | OpenType font formats.</p> | 106 | OpenType font formats.</p> |
120 | <a href="#bye_bye_BDFs.md" class="post-end-link" onClick="showPost('bye_bye_BDFs.md')">↑ Collapse</a> | ||
121 | <div class=separator></div> | 107 | <div class=separator></div> |
122 | </div> | 108 | </div> |
123 | </div> | 109 | </details> |
124 | 110 | ||
125 | <div class="post"> | 111 | <details class="post"> |
126 | <div class="date">02/08 2019</div> | 112 | <summary> |
127 | <a id="post-onivim_sucks.md" class="post-link" onClick="showPost('onivim_sucks.md')" >Onivim Sucks</a> | 113 | <div class="date">02/08 2019</div> |
128 | <div id="onivim_sucks.md" class="post-text" style="display: none"> | 114 | <span class="post-link">Onivim Sucks</span> |
115 | </summary> | ||
116 | <div class="post-text"> | ||
129 | <p><a href="https://v2.onivim.io">Onivim</a> is a ‘modern modal editor’, combining fancy | 117 | <p><a href="https://v2.onivim.io">Onivim</a> is a ‘modern modal editor’, combining fancy |
130 | interface and language features with vim-style modal editing. What’s wrong you | 118 | interface and language features with vim-style modal editing. What’s wrong you |
131 | ask?</p> | 119 | ask?</p> |
@@ -153,15 +141,16 @@ MIT-licensed code, <strong>18 months</strong> after each commit to the original | |||
153 | Currently, Onivim is priced at $19.99, ‘pre-alpha’ pricing which is 80% off the | 141 | Currently, Onivim is priced at $19.99, ‘pre-alpha’ pricing which is 80% off the |
154 | final price! If you are on the lookout for an editor, I would suggest using | 142 | final price! If you are on the lookout for an editor, I would suggest using |
155 | <a href="https://vim.org">Vim</a>, charity ware that actually works, and costs $100 lesser.</p> | 143 | <a href="https://vim.org">Vim</a>, charity ware that actually works, and costs $100 lesser.</p> |
156 | <a href="#onivim_sucks.md" class="post-end-link" onClick="showPost('onivim_sucks.md')">↑ Collapse</a> | ||
157 | <div class=separator></div> | 144 | <div class=separator></div> |
158 | </div> | 145 | </div> |
159 | </div> | 146 | </details> |
160 | 147 | ||
161 | <div class="post"> | 148 | <details class="post"> |
162 | <div class="date">31/07 2019</div> | 149 | <summary> |
163 | <a id="post-bash_harder_with_vim.md" class="post-link" onClick="showPost('bash_harder_with_vim.md')" >Bash Harder With Vim</a> | 150 | <div class="date">31/07 2019</div> |
164 | <div id="bash_harder_with_vim.md" class="post-text" style="display: none"> | 151 | <span class="post-link">Bash Harder With Vim</span> |
152 | </summary> | ||
153 | <div class="post-text"> | ||
165 | <p>Bash is tricky, don’t let your editor get in your way. Here’s a couple of neat | 154 | <p>Bash is tricky, don’t let your editor get in your way. Here’s a couple of neat |
166 | additions you could make to your <code>vimrc</code> for a better shell programming | 155 | additions you could make to your <code>vimrc</code> for a better shell programming |
167 | experience.</p> | 156 | experience.</p> |
@@ -220,15 +209,16 @@ New Post # output | |||
220 | Press ENTER or type command to continue | 209 | Press ENTER or type command to continue |
221 | </code></pre></li> | 210 | </code></pre></li> |
222 | </ul> | 211 | </ul> |
223 | <a href="#bash_harder_with_vim.md" class="post-end-link" onClick="showPost('bash_harder_with_vim.md')">↑ Collapse</a> | ||
224 | <div class=separator></div> | 212 | <div class=separator></div> |
225 | </div> | 213 | </div> |
226 | </div> | 214 | </details> |
227 | 215 | ||
228 | <div class="post"> | 216 | <details class="post"> |
229 | <div class="date">30/07 2019</div> | 217 | <summary> |
230 | <a id="post-hold_position!.md" class="post-link" onClick="showPost('hold_position!.md')" >Hold Position!</a> | 218 | <div class="date">30/07 2019</div> |
231 | <div id="hold_position!.md" class="post-text" style="display: none"> | 219 | <span class="post-link">Hold Position!</span> |
220 | </summary> | ||
221 | <div class="post-text"> | ||
232 | <p>Often times, when I run a vim command that makes “big” changes to a file (a | 222 | <p>Often times, when I run a vim command that makes “big” changes to a file (a |
233 | macro or a <code>:vimgrep</code> command) I lose my original position and feel disoriented.</p> | 223 | macro or a <code>:vimgrep</code> command) I lose my original position and feel disoriented.</p> |
234 | 224 | ||
@@ -250,15 +240,16 @@ winrestview(view) " restore our original view! | |||
250 | <p>It might seem a little overkill in the above example, just use “ (double | 240 | <p>It might seem a little overkill in the above example, just use “ (double |
251 | backticks) instead, but it comes in handy when you run your file through | 241 | backticks) instead, but it comes in handy when you run your file through |
252 | heavier filtering.</p> | 242 | heavier filtering.</p> |
253 | <a href="#hold_position!.md" class="post-end-link" onClick="showPost('hold_position!.md')">↑ Collapse</a> | ||
254 | <div class=separator></div> | 243 | <div class=separator></div> |
255 | </div> | 244 | </div> |
256 | </div> | 245 | </details> |
257 | 246 | ||
258 | <div class="post"> | 247 | <details class="post"> |
259 | <div class="date">29/07 2019</div> | 248 | <summary> |
260 | <a id="post-get_better_at_yanking_and_putting_in_vim.md" class="post-link" onClick="showPost('get_better_at_yanking_and_putting_in_vim.md')" >Get Better At Yanking And Putting In Vim</a> | 249 | <div class="date">29/07 2019</div> |
261 | <div id="get_better_at_yanking_and_putting_in_vim.md" class="post-text" style="display: none"> | 250 | <span class="post-link">Get Better At Yanking And Putting In Vim</span> |
251 | </summary> | ||
252 | <div class="post-text"> | ||
262 | <ol start="1"> | 253 | <ol start="1"> |
263 | <li><p>reselecting previously selected text (i use this to fix botched selections):</p> | 254 | <li><p>reselecting previously selected text (i use this to fix botched selections):</p> |
264 | 255 | ||
@@ -281,10 +272,9 @@ nnoremap gb `[v`] " "a quick map to perform the above | |||
281 | ]P " put the text before the cursor (P) and adjust indent to current line | 272 | ]P " put the text before the cursor (P) and adjust indent to current line |
282 | </code></pre></li> | 273 | </code></pre></li> |
283 | </ol> | 274 | </ol> |
284 | <a href="#get_better_at_yanking_and_putting_in_vim.md" class="post-end-link" onClick="showPost('get_better_at_yanking_and_putting_in_vim.md')">↑ Collapse</a> | ||
285 | <div class=separator></div> | 275 | <div class=separator></div> |
286 | </div> | 276 | </div> |
287 | </div> | 277 | </details> |
288 | 278 | ||
289 | </div> | 279 | </div> |
290 | </body> | 280 | </body> |