aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-03-08 16:49:10 +0000
committerAkshay <[email protected]>2020-03-08 16:49:10 +0000
commitcf9ed4da17d1e4898f37272f4677c65058df384a (patch)
treefb32e6ef840c8125d184e96c51f11a2a73080401
parentd84f35dcbaa73543e6806968b0237748f9ef380f (diff)
fancier titles
-rw-r--r--docs/index.html19
-rw-r--r--docs/posts/WPA_woes/index.html2
-rw-r--r--docs/posts/bash_harder_with_vim/index.html2
-rw-r--r--docs/posts/bye_bye_BDFs/index.html2
-rw-r--r--docs/posts/call_to_ARMs/index.html4
-rw-r--r--docs/posts/color_conundrum/index.html2
-rw-r--r--docs/posts/get_better_at_yanking_and_putting_in_vim/index.html2
-rw-r--r--docs/posts/hold_position!/index.html2
-rw-r--r--docs/posts/my_setup/index.html2
-rw-r--r--docs/posts/onivim_sucks/index.html2
-rw-r--r--docs/posts/static_sites_with_bash/index.html2
-rw-r--r--docs/posts/termux_tandem/index.html95
-rw-r--r--docs/style.css5
-rw-r--r--post.esh2
14 files changed, 128 insertions, 15 deletions
diff --git a/docs/index.html b/docs/index.html
index f0d52ae..a83fb3a 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -23,7 +23,24 @@
23 <tr> 23 <tr>
24 <td class=table-post> 24 <td class=table-post>
25 <div class="date"> 25 <div class="date">
26 14/02 — 2020 26 08/03 — 2020
27 </div>
28 <a href="/posts/termux_tandem" class="post-link">
29 <span class="post-link">Termux Tandem</span>
30 </a>
31 </td>
32 <td class=table-stats>
33 <span class="stats-number">
34 1.6
35 </span>
36 <span class=stats-unit>min</span>
37 </td>
38 </tr>
39
40 <tr>
41 <td class=table-post>
42 <div class="date">
43 08/02 — 2020
27 </div> 44 </div>
28 <a href="/posts/call_to_ARMs" class="post-link"> 45 <a href="/posts/call_to_ARMs" class="post-link">
29 <span class="post-link">Call To ARMs</span> 46 <span class="post-link">Call To ARMs</span>
diff --git a/docs/posts/WPA_woes/index.html b/docs/posts/WPA_woes/index.html
index a676210..951eb59 100644
--- a/docs/posts/WPA_woes/index.html
+++ b/docs/posts/WPA_woes/index.html
@@ -11,7 +11,7 @@
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png"> 13 <link rel="icon" type="image/x-icon" href="/favicon.png">
14 <title>WPA Woes - peppe.rs</title> 14 <title>WPA Woes · peppe.rs</title>
15 <body> 15 <body>
16 <div class="posts"> 16 <div class="posts">
17 <div class="post"> 17 <div class="post">
diff --git a/docs/posts/bash_harder_with_vim/index.html b/docs/posts/bash_harder_with_vim/index.html
index c9303a6..4eb6662 100644
--- a/docs/posts/bash_harder_with_vim/index.html
+++ b/docs/posts/bash_harder_with_vim/index.html
@@ -11,7 +11,7 @@
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png"> 13 <link rel="icon" type="image/x-icon" href="/favicon.png">
14 <title>Bash Harder With Vim - peppe.rs</title> 14 <title>Bash Harder With Vim · peppe.rs</title>
15 <body> 15 <body>
16 <div class="posts"> 16 <div class="posts">
17 <div class="post"> 17 <div class="post">
diff --git a/docs/posts/bye_bye_BDFs/index.html b/docs/posts/bye_bye_BDFs/index.html
index 73c8512..c8594d9 100644
--- a/docs/posts/bye_bye_BDFs/index.html
+++ b/docs/posts/bye_bye_BDFs/index.html
@@ -11,7 +11,7 @@
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png"> 13 <link rel="icon" type="image/x-icon" href="/favicon.png">
14 <title>Bye Bye BDFs - peppe.rs</title> 14 <title>Bye Bye BDFs · peppe.rs</title>
15 <body> 15 <body>
16 <div class="posts"> 16 <div class="posts">
17 <div class="post"> 17 <div class="post">
diff --git a/docs/posts/call_to_ARMs/index.html b/docs/posts/call_to_ARMs/index.html
index ff1c492..ae9af59 100644
--- a/docs/posts/call_to_ARMs/index.html
+++ b/docs/posts/call_to_ARMs/index.html
@@ -11,7 +11,7 @@
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png"> 13 <link rel="icon" type="image/x-icon" href="/favicon.png">
14 <title>Call To ARMs - peppe.rs</title> 14 <title>Call To ARMs · peppe.rs</title>
15 <body> 15 <body>
16 <div class="posts"> 16 <div class="posts">
17 <div class="post"> 17 <div class="post">
@@ -20,7 +20,7 @@
20">View Raw</a> 20">View Raw</a>
21 <div class="separator"></div> 21 <div class="separator"></div>
22 <div class="date"> 22 <div class="date">
23 14/02 — 2020 23 08/02 — 2020
24 <div class="stats"> 24 <div class="stats">
25 <span class="stats-number"> 25 <span class="stats-number">
26 33.57 26 33.57
diff --git a/docs/posts/color_conundrum/index.html b/docs/posts/color_conundrum/index.html
index de099f2..889e036 100644
--- a/docs/posts/color_conundrum/index.html
+++ b/docs/posts/color_conundrum/index.html
@@ -11,7 +11,7 @@
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png"> 13 <link rel="icon" type="image/x-icon" href="/favicon.png">
14 <title>Color Conundrum - peppe.rs</title> 14 <title>Color Conundrum · peppe.rs</title>
15 <body> 15 <body>
16 <div class="posts"> 16 <div class="posts">
17 <div class="post"> 17 <div class="post">
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 1c77c44..c8488e5 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
@@ -11,7 +11,7 @@
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png"> 13 <link rel="icon" type="image/x-icon" href="/favicon.png">
14 <title>Get Better At Yanking And Putting In Vim - peppe.rs</title> 14 <title>Get Better At Yanking And Putting In Vim · peppe.rs</title>
15 <body> 15 <body>
16 <div class="posts"> 16 <div class="posts">
17 <div class="post"> 17 <div class="post">
diff --git a/docs/posts/hold_position!/index.html b/docs/posts/hold_position!/index.html
index 8cc77fe..5cda214 100644
--- a/docs/posts/hold_position!/index.html
+++ b/docs/posts/hold_position!/index.html
@@ -11,7 +11,7 @@
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png"> 13 <link rel="icon" type="image/x-icon" href="/favicon.png">
14 <title>Hold Position! - peppe.rs</title> 14 <title>Hold Position! · peppe.rs</title>
15 <body> 15 <body>
16 <div class="posts"> 16 <div class="posts">
17 <div class="post"> 17 <div class="post">
diff --git a/docs/posts/my_setup/index.html b/docs/posts/my_setup/index.html
index 4ac9d91..20881b3 100644
--- a/docs/posts/my_setup/index.html
+++ b/docs/posts/my_setup/index.html
@@ -11,7 +11,7 @@
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png"> 13 <link rel="icon" type="image/x-icon" href="/favicon.png">
14 <title>My Setup - peppe.rs</title> 14 <title>My Setup · peppe.rs</title>
15 <body> 15 <body>
16 <div class="posts"> 16 <div class="posts">
17 <div class="post"> 17 <div class="post">
diff --git a/docs/posts/onivim_sucks/index.html b/docs/posts/onivim_sucks/index.html
index d3718d7..c0b2fbc 100644
--- a/docs/posts/onivim_sucks/index.html
+++ b/docs/posts/onivim_sucks/index.html
@@ -11,7 +11,7 @@
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png"> 13 <link rel="icon" type="image/x-icon" href="/favicon.png">
14 <title>Onivim Sucks - peppe.rs</title> 14 <title>Onivim Sucks · peppe.rs</title>
15 <body> 15 <body>
16 <div class="posts"> 16 <div class="posts">
17 <div class="post"> 17 <div class="post">
diff --git a/docs/posts/static_sites_with_bash/index.html b/docs/posts/static_sites_with_bash/index.html
index 9eb4846..f204af4 100644
--- a/docs/posts/static_sites_with_bash/index.html
+++ b/docs/posts/static_sites_with_bash/index.html
@@ -11,7 +11,7 @@
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png"> 13 <link rel="icon" type="image/x-icon" href="/favicon.png">
14 <title>Static Sites With Bash - peppe.rs</title> 14 <title>Static Sites With Bash · peppe.rs</title>
15 <body> 15 <body>
16 <div class="posts"> 16 <div class="posts">
17 <div class="post"> 17 <div class="post">
diff --git a/docs/posts/termux_tandem/index.html b/docs/posts/termux_tandem/index.html
new file mode 100644
index 0000000..def670f
--- /dev/null
+++ b/docs/posts/termux_tandem/index.html
@@ -0,0 +1,95 @@
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <link rel="stylesheet" href="/style.css">
5 <meta charset="UTF-8">
6 <meta name="viewport" content="initial-scale=1">
7 <meta content="#ffffff" name="theme-color">
8 <meta name="HandheldFriendly" content="true">
9 <meta property="og:title" content="nerdypepper">
10 <meta property="og:type" content="website">
11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png">
14 <title>Termux Tandem · peppe.rs</title>
15 <body>
16 <div class="posts">
17 <div class="post">
18 <a href="/" class="post-end-link">⟵ Back</a>
19 <a class="stats post-end-link" href="https://raw.githubusercontent.com/nerdypepper/site/master/posts/termux_tandem.md
20">View Raw</a>
21 <div class="separator"></div>
22 <div class="date">
23 08/03 — 2020
24 <div class="stats">
25 <span class="stats-number">
26 19.17
27 </span>
28 <span class="stats-unit">cm</span>
29 &nbsp
30 <span class="stats-number">
31 1.6
32 </span>
33 <span class="stats-unit">min</span>
34 </div>
35 </div>
36 <span class="post-title">
37 Termux Tandem
38 </span>
39 <div class="post-text">
40 <p>I learnt about <code>termux</code> from a friend on IRC recently.
41It looked super gimmicky to me at first, but it eventually
42proved to be useful. Here&#39;s what I use it for:</p>
43
44<h3 id="rsync">rsync</h3>
45
46<p>Ever since I degoogled my android device, syncing files
47between my phone and my PC has always been a pain. I&#8217;m
48looking at you MTP. But, with <code>termux</code> and <code>sshd</code> all set up,
49it&#39;s as simple as:</p>
50
51<pre><code>$ arp
52Address HWtype HWad ...
53192.168.43.187 ether d0:0 ...
54
55$ rsync -avz 192.168.43.187:~&#47;frogs ~&#47;pics&#47;frogs
56</code></pre>
57
58<h3 id="ssh%20&amp;#38;%20tmux">ssh &#38; tmux</h3>
59
60<p>My phone doubles as a secondary view into my main machine
61with <code>ssh</code> and <code>tmux</code>. When I am away from my PC (read:
62sitting across the room), I check build status and IRC
63messages by <code>ssh</code>ing into a tmux session running the said
64build or weechat.</p>
65
66<h3 id="file%20uploads">file uploads</h3>
67
68<p>Not being able to access my (ssh-only) file host was
69crippling. With a <code>bash</code> instance on my phone, I just copied
70over my ssh keys, and popped in a file upload script (a
71glorified <code>scp</code>). Now I just have to figure out a way to
72clean up these file names &#8230;</p>
73
74<pre><code>~&#47;storage&#47;pictures&#47; $ ls
7502muf5g7b2i41.jpg 7alt3cwg77841.jpg cl4bsrge7id11.png
76mtZabXG.jpg p8d5c584f2841.jpg vjUxGjq.jpg
77</code></pre>
78
79<h3 id="cmus">cmus</h3>
80
81<p>Alright, I don&#39;t really listen to music via <code>cmus</code>, but I
82did use it a couple times when my default music player was
83acting up. <code>cmus</code> is a viable option:</p>
84
85<p><a href="https://u.peppe.rs/CP.jpg"><img src="https://u.peppe.rs/CP.jpg" alt="cmus.png" /></a></p>
86
87 </div>
88 <div class="separator"></div>
89 <a href="/" class="post-end-link">⟵ Back</a>
90 <a class="stats post-end-link" href="https://raw.githubusercontent.com/nerdypepper/site/master/posts/termux_tandem.md
91">View Raw</a>
92 </div>
93 </div>
94 </body>
95</html>
diff --git a/docs/style.css b/docs/style.css
index 9f4adb1..86dcb3b 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -168,9 +168,10 @@ pre, code {
168pre { 168pre {
169 background-color: var(--dark-white); 169 background-color: var(--dark-white);
170 overflow: auto; 170 overflow: auto;
171 padding: 0.8rem; 171 padding: 1.3rem;
172 border: 1px solid var(--dark-white); 172 border: 1px solid var(--dark-white);
173 border-radius: 0.2px; 173 border-radius: 0.4rem;
174 margin: 1rem -1.3rem;
174} 175}
175 176
176code { 177code {
diff --git a/post.esh b/post.esh
index cc23a2d..a2a74b7 100644
--- a/post.esh
+++ b/post.esh
@@ -11,7 +11,7 @@
11 <meta property="og:description" content="a static site {for, by, about} me "> 11 <meta property="og:description" content="a static site {for, by, about} me ">
12 <meta property="og:url" content="https://peppe.rs"> 12 <meta property="og:url" content="https://peppe.rs">
13 <link rel="icon" type="image/x-icon" href="/favicon.png"> 13 <link rel="icon" type="image/x-icon" href="/favicon.png">
14 <title><%=$title%> - peppe.rs</title> 14 <title><%=$title%> · peppe.rs</title>
15 <body> 15 <body>
16 <div class="posts"> 16 <div class="posts">
17 <div class="post"> 17 <div class="post">