diff options
author | Akshay <[email protected]> | 2020-01-26 06:30:37 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2020-01-26 06:30:37 +0000 |
commit | 7624df0688ebc50715d44ff87897845f8872dad5 (patch) | |
tree | 22ca8a3ddf79b8e3956592f592e601019fca8d5b /docs/posts | |
parent | 1e880b4f69d35a49a1b7027f9d979c39cce22e75 (diff) |
gen
Diffstat (limited to 'docs/posts')
-rw-r--r-- | docs/posts/WPA_woes/index.html | 20 | ||||
-rw-r--r-- | docs/posts/bash_harder_with_vim/index.html | 20 | ||||
-rw-r--r-- | docs/posts/bye_bye_BDFs/index.html | 20 | ||||
-rw-r--r-- | docs/posts/color_conundrum/index.html | 20 | ||||
-rw-r--r-- | docs/posts/get_better_at_yanking_and_putting_in_vim/index.html | 20 | ||||
-rw-r--r-- | docs/posts/hold_position!/index.html | 20 | ||||
-rw-r--r-- | docs/posts/my_setup/index.html | 20 | ||||
-rw-r--r-- | docs/posts/onivim_sucks/index.html | 20 | ||||
-rw-r--r-- | docs/posts/static_sites_with_bash/index.html | 37 |
9 files changed, 129 insertions, 68 deletions
diff --git a/docs/posts/WPA_woes/index.html b/docs/posts/WPA_woes/index.html index ab92cab..793309e 100644 --- a/docs/posts/WPA_woes/index.html +++ b/docs/posts/WPA_woes/index.html | |||
@@ -13,14 +13,20 @@ | |||
13 | <body> | 13 | <body> |
14 | <div class="posts"> | 14 | <div class="posts"> |
15 | <div class="post"> | 15 | <div class="post"> |
16 | <a href="/" class="post-end-link">⟵ Back</a> | ||
17 | <div class="separator"></div> | ||
16 | <div class="date"> | 18 | <div class="date"> |
17 | 12/10 2019 | 19 | 12/10 2019 |
18 | <span class="commit-hash"> | 20 | <div class="stats"> |
19 | <a href="https://github.com/nerdypepper/site/blob/master/posts/WPA_woes.md | 21 | <span class="stats-number"> |
20 | " style="text-decoration: none"> | 22 | 18.37 |
21 | 9367110 | 23 | </span> |
22 | </a> | 24 | <span class="stats-unit">cm</span> |
23 | </span> | 25 | <span class="stats-number"> |
26 | 1.1 | ||
27 | </span> | ||
28 | <span class="stats-unit">min</span> | ||
29 | </div> | ||
24 | </div> | 30 | </div> |
25 | <span class="post-title"> | 31 | <span class="post-title"> |
26 | WPA Woes | 32 | WPA Woes |
@@ -70,8 +76,8 @@ $ sudo sv restart dhcpcd | |||
70 | </code></pre> | 76 | </code></pre> |
71 | 77 | ||
72 | </div> | 78 | </div> |
73 | <a href="/" class="post-end-link">⟵ Back</a> | ||
74 | <div class="separator"></div> | 79 | <div class="separator"></div> |
80 | <a href="/" class="post-end-link">⟵ Back</a> | ||
75 | </div> | 81 | </div> |
76 | </div> | 82 | </div> |
77 | </body> | 83 | </body> |
diff --git a/docs/posts/bash_harder_with_vim/index.html b/docs/posts/bash_harder_with_vim/index.html index a71b80c..ea63143 100644 --- a/docs/posts/bash_harder_with_vim/index.html +++ b/docs/posts/bash_harder_with_vim/index.html | |||
@@ -13,14 +13,20 @@ | |||
13 | <body> | 13 | <body> |
14 | <div class="posts"> | 14 | <div class="posts"> |
15 | <div class="post"> | 15 | <div class="post"> |
16 | <a href="/" class="post-end-link">⟵ Back</a> | ||
17 | <div class="separator"></div> | ||
16 | <div class="date"> | 18 | <div class="date"> |
17 | 31/07 2019 | 19 | 31/07 2019 |
18 | <span class="commit-hash"> | 20 | <div class="stats"> |
19 | <a href="https://github.com/nerdypepper/site/blob/master/posts/bash_harder_with_vim.md | 21 | <span class="stats-number"> |
20 | " style="text-decoration: none"> | 22 | 24.37 |
21 | bfad52f | 23 | </span> |
22 | </a> | 24 | <span class="stats-unit">cm</span> |
23 | </span> | 25 | <span class="stats-number"> |
26 | 1.6 | ||
27 | </span> | ||
28 | <span class="stats-unit">min</span> | ||
29 | </div> | ||
24 | </div> | 30 | </div> |
25 | <span class="post-title"> | 31 | <span class="post-title"> |
26 | Bash Harder With Vim | 32 | Bash Harder With Vim |
@@ -82,8 +88,8 @@ Press ENTER or type command to continue | |||
82 | </ul> | 88 | </ul> |
83 | 89 | ||
84 | </div> | 90 | </div> |
85 | <a href="/" class="post-end-link">⟵ Back</a> | ||
86 | <div class="separator"></div> | 91 | <div class="separator"></div> |
92 | <a href="/" class="post-end-link">⟵ Back</a> | ||
87 | </div> | 93 | </div> |
88 | </div> | 94 | </div> |
89 | </body> | 95 | </body> |
diff --git a/docs/posts/bye_bye_BDFs/index.html b/docs/posts/bye_bye_BDFs/index.html index b191615..a176b20 100644 --- a/docs/posts/bye_bye_BDFs/index.html +++ b/docs/posts/bye_bye_BDFs/index.html | |||
@@ -13,14 +13,20 @@ | |||
13 | <body> | 13 | <body> |
14 | <div class="posts"> | 14 | <div class="posts"> |
15 | <div class="post"> | 15 | <div class="post"> |
16 | <a href="/" class="post-end-link">⟵ Back</a> | ||
17 | <div class="separator"></div> | ||
16 | <div class="date"> | 18 | <div class="date"> |
17 | 07/08 2019 | 19 | 07/08 2019 |
18 | <span class="commit-hash"> | 20 | <div class="stats"> |
19 | <a href="https://github.com/nerdypepper/site/blob/master/posts/bye_bye_BDFs.md | 21 | <span class="stats-number"> |
20 | " style="text-decoration: none"> | 22 | 9.99 |
21 | 7f39c8d | 23 | </span> |
22 | </a> | 24 | <span class="stats-unit">cm</span> |
23 | </span> | 25 | <span class="stats-number"> |
26 | 1.0 | ||
27 | </span> | ||
28 | <span class="stats-unit">min</span> | ||
29 | </div> | ||
24 | </div> | 30 | </div> |
25 | <span class="post-title"> | 31 | <span class="post-title"> |
26 | Bye Bye BDFs | 32 | Bye Bye BDFs |
@@ -53,8 +59,8 @@ remain unaffected by the update.</p> | |||
53 | OpenType font formats.</p> | 59 | OpenType font formats.</p> |
54 | 60 | ||
55 | </div> | 61 | </div> |
56 | <a href="/" class="post-end-link">⟵ Back</a> | ||
57 | <div class="separator"></div> | 62 | <div class="separator"></div> |
63 | <a href="/" class="post-end-link">⟵ Back</a> | ||
58 | </div> | 64 | </div> |
59 | </div> | 65 | </div> |
60 | </body> | 66 | </body> |
diff --git a/docs/posts/color_conundrum/index.html b/docs/posts/color_conundrum/index.html index f504918..9a2d93e 100644 --- a/docs/posts/color_conundrum/index.html +++ b/docs/posts/color_conundrum/index.html | |||
@@ -13,14 +13,20 @@ | |||
13 | <body> | 13 | <body> |
14 | <div class="posts"> | 14 | <div class="posts"> |
15 | <div class="post"> | 15 | <div class="post"> |
16 | <a href="/" class="post-end-link">⟵ Back</a> | ||
17 | <div class="separator"></div> | ||
16 | <div class="date"> | 18 | <div class="date"> |
17 | 31/12 2019 | 19 | 31/12 2019 |
18 | <span class="commit-hash"> | 20 | <div class="stats"> |
19 | <a href="https://github.com/nerdypepper/site/blob/master/posts/color_conundrum.md | 21 | <span class="stats-number"> |
20 | " style="text-decoration: none"> | 22 | 14.39 |
21 | e991ba5 | 23 | </span> |
22 | </a> | 24 | <span class="stats-unit">cm</span> |
23 | </span> | 25 | <span class="stats-number"> |
26 | 1.3 | ||
27 | </span> | ||
28 | <span class="stats-unit">min</span> | ||
29 | </div> | ||
24 | </div> | 30 | </div> |
25 | <span class="post-title"> | 31 | <span class="post-title"> |
26 | Color Conundrum | 32 | Color Conundrum |
@@ -64,8 +70,8 @@ are dimmed further.</p> | |||
64 | combinations.</p> | 70 | combinations.</p> |
65 | 71 | ||
66 | </div> | 72 | </div> |
67 | <a href="/" class="post-end-link">⟵ Back</a> | ||
68 | <div class="separator"></div> | 73 | <div class="separator"></div> |
74 | <a href="/" class="post-end-link">⟵ Back</a> | ||
69 | </div> | 75 | </div> |
70 | </div> | 76 | </div> |
71 | </body> | 77 | </body> |
diff --git a/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html b/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html index 926526c..2e87513 100644 --- a/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html +++ b/docs/posts/get_better_at_yanking_and_putting_in_vim/index.html | |||
@@ -13,14 +13,20 @@ | |||
13 | <body> | 13 | <body> |
14 | <div class="posts"> | 14 | <div class="posts"> |
15 | <div class="post"> | 15 | <div class="post"> |
16 | <a href="/" class="post-end-link">⟵ Back</a> | ||
17 | <div class="separator"></div> | ||
16 | <div class="date"> | 18 | <div class="date"> |
17 | 29/07 2019 | 19 | 29/07 2019 |
18 | <span class="commit-hash"> | 20 | <div class="stats"> |
19 | <a href="https://github.com/nerdypepper/site/blob/master/posts/get_better_at_yanking_and_putting_in_vim.md | 21 | <span class="stats-number"> |
20 | " style="text-decoration: none"> | 22 | 10.78 |
21 | 4e9883d | 23 | </span> |
22 | </a> | 24 | <span class="stats-unit">cm</span> |
23 | </span> | 25 | <span class="stats-number"> |
26 | 0.9 | ||
27 | </span> | ||
28 | <span class="stats-unit">min</span> | ||
29 | </div> | ||
24 | </div> | 30 | </div> |
25 | <span class="post-title"> | 31 | <span class="post-title"> |
26 | Get Better At Yanking And Putting In Vim | 32 | Get Better At Yanking And Putting In Vim |
@@ -50,8 +56,8 @@ nnoremap gb `[v`] " "a quick map to perform the above | |||
50 | </ol> | 56 | </ol> |
51 | 57 | ||
52 | </div> | 58 | </div> |
53 | <a href="/" class="post-end-link">⟵ Back</a> | ||
54 | <div class="separator"></div> | 59 | <div class="separator"></div> |
60 | <a href="/" class="post-end-link">⟵ Back</a> | ||
55 | </div> | 61 | </div> |
56 | </div> | 62 | </div> |
57 | </body> | 63 | </body> |
diff --git a/docs/posts/hold_position!/index.html b/docs/posts/hold_position!/index.html index 8d441cf..e377374 100644 --- a/docs/posts/hold_position!/index.html +++ b/docs/posts/hold_position!/index.html | |||
@@ -13,14 +13,20 @@ | |||
13 | <body> | 13 | <body> |
14 | <div class="posts"> | 14 | <div class="posts"> |
15 | <div class="post"> | 15 | <div class="post"> |
16 | <a href="/" class="post-end-link">⟵ Back</a> | ||
17 | <div class="separator"></div> | ||
16 | <div class="date"> | 18 | <div class="date"> |
17 | 30/07 2019 | 19 | 30/07 2019 |
18 | <span class="commit-hash"> | 20 | <div class="stats"> |
19 | <a href="https://github.com/nerdypepper/site/blob/master/posts/hold_position!.md | 21 | <span class="stats-number"> |
20 | " style="text-decoration: none"> | 22 | 9.18 |
21 | 487b33f | 23 | </span> |
22 | </a> | 24 | <span class="stats-unit">cm</span> |
23 | </span> | 25 | <span class="stats-number"> |
26 | 1.0 | ||
27 | </span> | ||
28 | <span class="stats-unit">min</span> | ||
29 | </div> | ||
24 | </div> | 30 | </div> |
25 | <span class="post-title"> | 31 | <span class="post-title"> |
26 | Hold Position! | 32 | Hold Position! |
@@ -49,8 +55,8 @@ backticks) instead, but it comes in handy when you run your file through | |||
49 | heavier filtering.</p> | 55 | heavier filtering.</p> |
50 | 56 | ||
51 | </div> | 57 | </div> |
52 | <a href="/" class="post-end-link">⟵ Back</a> | ||
53 | <div class="separator"></div> | 58 | <div class="separator"></div> |
59 | <a href="/" class="post-end-link">⟵ Back</a> | ||
54 | </div> | 60 | </div> |
55 | </div> | 61 | </div> |
56 | </body> | 62 | </body> |
diff --git a/docs/posts/my_setup/index.html b/docs/posts/my_setup/index.html index 9091b8f..fdf36f8 100644 --- a/docs/posts/my_setup/index.html +++ b/docs/posts/my_setup/index.html | |||
@@ -13,14 +13,20 @@ | |||
13 | <body> | 13 | <body> |
14 | <div class="posts"> | 14 | <div class="posts"> |
15 | <div class="post"> | 15 | <div class="post"> |
16 | <a href="/" class="post-end-link">⟵ Back</a> | ||
17 | <div class="separator"></div> | ||
16 | <div class="date"> | 18 | <div class="date"> |
17 | 07/11 2019 | 19 | 07/11 2019 |
18 | <span class="commit-hash"> | 20 | <div class="stats"> |
19 | <a href="https://github.com/nerdypepper/site/blob/master/posts/my_setup.md | 21 | <span class="stats-number"> |
20 | " style="text-decoration: none"> | 22 | 10.39 |
21 | 6bf0319 | 23 | </span> |
22 | </a> | 24 | <span class="stats-unit">cm</span> |
23 | </span> | 25 | <span class="stats-number"> |
26 | 1.0 | ||
27 | </span> | ||
28 | <span class="stats-unit">min</span> | ||
29 | </div> | ||
24 | </div> | 30 | </div> |
25 | <span class="post-title"> | 31 | <span class="post-title"> |
26 | My Setup | 32 | My Setup |
@@ -54,8 +60,8 @@ compiled with <code>xelatex</code>. Other <em>fun</em> documents are made with | |||
54 | GIMP :).</p> | 60 | GIMP :).</p> |
55 | 61 | ||
56 | </div> | 62 | </div> |
57 | <a href="/" class="post-end-link">⟵ Back</a> | ||
58 | <div class="separator"></div> | 63 | <div class="separator"></div> |
64 | <a href="/" class="post-end-link">⟵ Back</a> | ||
59 | </div> | 65 | </div> |
60 | </div> | 66 | </div> |
61 | </body> | 67 | </body> |
diff --git a/docs/posts/onivim_sucks/index.html b/docs/posts/onivim_sucks/index.html index d28b20d..d658b18 100644 --- a/docs/posts/onivim_sucks/index.html +++ b/docs/posts/onivim_sucks/index.html | |||
@@ -13,14 +13,20 @@ | |||
13 | <body> | 13 | <body> |
14 | <div class="posts"> | 14 | <div class="posts"> |
15 | <div class="post"> | 15 | <div class="post"> |
16 | <a href="/" class="post-end-link">⟵ Back</a> | ||
17 | <div class="separator"></div> | ||
16 | <div class="date"> | 18 | <div class="date"> |
17 | 02/08 2019 | 19 | 02/08 2019 |
18 | <span class="commit-hash"> | 20 | <div class="stats"> |
19 | <a href="https://github.com/nerdypepper/site/blob/master/posts/onivim_sucks.md | 21 | <span class="stats-number"> |
20 | " style="text-decoration: none"> | 22 | 11.18 |
21 | 681a65f | 23 | </span> |
22 | </a> | 24 | <span class="stats-unit">cm</span> |
23 | </span> | 25 | <span class="stats-number"> |
26 | 1.3 | ||
27 | </span> | ||
28 | <span class="stats-unit">min</span> | ||
29 | </div> | ||
24 | </div> | 30 | </div> |
25 | <span class="post-title"> | 31 | <span class="post-title"> |
26 | Onivim Sucks | 32 | Onivim Sucks |
@@ -55,8 +61,8 @@ final price! If you are on the lookout for an editor, I would suggest using | |||
55 | <a href="https://vim.org">Vim</a>, charity ware that actually works, and costs $100 lesser.</p> | 61 | <a href="https://vim.org">Vim</a>, charity ware that actually works, and costs $100 lesser.</p> |
56 | 62 | ||
57 | </div> | 63 | </div> |
58 | <a href="/" class="post-end-link">⟵ Back</a> | ||
59 | <div class="separator"></div> | 64 | <div class="separator"></div> |
65 | <a href="/" class="post-end-link">⟵ Back</a> | ||
60 | </div> | 66 | </div> |
61 | </div> | 67 | </div> |
62 | </body> | 68 | </body> |
diff --git a/docs/posts/static_sites_with_bash/index.html b/docs/posts/static_sites_with_bash/index.html index 0605147..ed9de53 100644 --- a/docs/posts/static_sites_with_bash/index.html +++ b/docs/posts/static_sites_with_bash/index.html | |||
@@ -13,14 +13,20 @@ | |||
13 | <body> | 13 | <body> |
14 | <div class="posts"> | 14 | <div class="posts"> |
15 | <div class="post"> | 15 | <div class="post"> |
16 | <a href="/" class="post-end-link">⟵ Back</a> | ||
17 | <div class="separator"></div> | ||
16 | <div class="date"> | 18 | <div class="date"> |
17 | 23/11 2019 | 19 | 23/11 2019 |
18 | <span class="commit-hash"> | 20 | <div class="stats"> |
19 | <a href="https://github.com/nerdypepper/site/blob/master/posts/static_sites_with_bash.md | 21 | <span class="stats-number"> |
20 | " style="text-decoration: none"> | 22 | 21.17 |
21 | d1faa7e | 23 | </span> |
22 | </a> | 24 | <span class="stats-unit">cm</span> |
23 | </span> | 25 | <span class="stats-number"> |
26 | 1.5 | ||
27 | </span> | ||
28 | <span class="stats-unit">min</span> | ||
29 | </div> | ||
24 | </div> | 30 | </div> |
25 | <span class="post-title"> | 31 | <span class="post-title"> |
26 | Static Sites With Bash | 32 | Static Sites With Bash |
@@ -33,10 +39,14 @@ | |||
33 | my own. If you are more of the ‘show me the code’ kinda guy, | 39 | my own. If you are more of the ‘show me the code’ kinda guy, |
34 | <a href="https://github.com/nerdypepper/site">here</a> you go.</p> | 40 | <a href="https://github.com/nerdypepper/site">here</a> you go.</p> |
35 | 41 | ||
36 | <p><strong>Text formatting</strong>: I chose to write in markdown, and convert | 42 | <h3 id="Text%20formatting">Text formatting</h3> |
43 | |||
44 | <p>I chose to write in markdown, and convert | ||
37 | to html with <a href="https://kristaps.bsd.lv/lowdown/">lowdown</a>.</p> | 45 | to html with <a href="https://kristaps.bsd.lv/lowdown/">lowdown</a>.</p> |
38 | 46 | ||
39 | <p><strong>Directory structure</strong>: I host my site on GitHub pages, so | 47 | <h3 id="Directory%20structure">Directory structure</h3> |
48 | |||
49 | <p>I host my site on GitHub pages, so | ||
40 | <code>docs/</code> has to be the entry point. Markdown formatted posts | 50 | <code>docs/</code> has to be the entry point. Markdown formatted posts |
41 | go into <code>posts/</code>, get converted into html, and end up in | 51 | go into <code>posts/</code>, get converted into html, and end up in |
42 | <code>docs/index.html</code>, something like this:</p> | 52 | <code>docs/index.html</code>, something like this:</p> |
@@ -51,7 +61,9 @@ for f in $posts; do | |||
51 | done | 61 | done |
52 | </code></pre> | 62 | </code></pre> |
53 | 63 | ||
54 | <p><strong>Assets</strong>: Most static site generators recommend dropping image | 64 | <h3 id="Assets">Assets</h3> |
65 | |||
66 | <p>Most static site generators recommend dropping image | ||
55 | assets into the site source itself. That does have it’s | 67 | assets into the site source itself. That does have it’s |
56 | merits, but I prefer hosting images separately:</p> | 68 | merits, but I prefer hosting images separately:</p> |
57 | 69 | ||
@@ -67,8 +79,9 @@ scp -P 443 "$1" emerald:files/"$id" | |||
67 | echo "https://files.nerdypepper.tech/$id" | 79 | echo "https://files.nerdypepper.tech/$id" |
68 | </code></pre> | 80 | </code></pre> |
69 | 81 | ||
70 | <p><strong>Templating</strong>: | 82 | <h3 id="Templating">Templating</h3> |
71 | <a href="https://github.com/NerdyPepper/site/blob/master/generate.sh"><code>generate.sh</code></a> | 83 | |
84 | <p><a href="https://github.com/NerdyPepper/site/blob/master/generate.sh"><code>generate.sh</code></a> | ||
72 | brings the above bits and pieces together (with some extra | 85 | brings the above bits and pieces together (with some extra |
73 | cruft to avoid javascript). It uses <code>sed</code> to produce nice | 86 | cruft to avoid javascript). It uses <code>sed</code> to produce nice |
74 | titles from the file names (removes underscores, | 87 | titles from the file names (removes underscores, |
@@ -76,8 +89,8 @@ title-case), and <code>date(1)</code> to add the date to each post | |||
76 | listing!</p> | 89 | listing!</p> |
77 | 90 | ||
78 | </div> | 91 | </div> |
79 | <a href="/" class="post-end-link">⟵ Back</a> | ||
80 | <div class="separator"></div> | 92 | <div class="separator"></div> |
93 | <a href="/" class="post-end-link">⟵ Back</a> | ||
81 | </div> | 94 | </div> |
82 | </div> | 95 | </div> |
83 | </body> | 96 | </body> |