aboutsummaryrefslogtreecommitdiff
path: root/docs/posts/termux_tandem/index.html
diff options
context:
space:
mode:
authorAkshay <[email protected]>2023-02-12 06:43:49 +0000
committerAkshay <[email protected]>2023-02-12 06:43:49 +0000
commit366df8852f503523cc4f9046d82ba9a99dd51d7f (patch)
tree635884dd5700cdc2a22a8885031aa67816bbe1b0 /docs/posts/termux_tandem/index.html
parent57a1fc656e05e1fcf07e4cff3dc988c6b5c2bc59 (diff)
new art: lapse
Diffstat (limited to 'docs/posts/termux_tandem/index.html')
-rw-r--r--docs/posts/termux_tandem/index.html29
1 files changed, 22 insertions, 7 deletions
diff --git a/docs/posts/termux_tandem/index.html b/docs/posts/termux_tandem/index.html
index 9f2e708..71c4731 100644
--- a/docs/posts/termux_tandem/index.html
+++ b/docs/posts/termux_tandem/index.html
@@ -28,7 +28,7 @@
28 08/03 — 2020 28 08/03 — 2020
29 <div class="stats"> 29 <div class="stats">
30 <span class="stats-number"> 30 <span class="stats-number">
31 19.17 31 19.18
32 </span> 32 </span>
33 <span class="stats-unit">cm</span> 33 <span class="stats-unit">cm</span>
34 &nbsp 34 &nbsp
@@ -42,24 +42,39 @@
42 Termux Tandem 42 Termux Tandem
43 </h1> 43 </h1>
44 <div class="post-text"> 44 <div class="post-text">
45 <p>I learnt about <code>termux</code> from a friend on IRC recently. It looked super gimmicky to me at first, but it eventually proved to be useful. Here’s what I use it for:</p> 45 <p>I learnt about <code>termux</code> from a friend on IRC recently. It
46looked super gimmicky to me at first, but it eventually proved to be
47useful. Here’s what I use it for:</p>
46<h3 id="rsync">rsync</h3> 48<h3 id="rsync">rsync</h3>
47<p>Ever since I degoogled my android device, syncing files between my phone and my PC has always been a pain. I’m looking at you MTP. But, with <code>termux</code> and <code>sshd</code> all set up, it’s as simple as:</p> 49<p>Ever since I degoogled my android device, syncing files between my
50phone and my PC has always been a pain. I’m looking at you MTP. But,
51with <code>termux</code> and <code>sshd</code> all set up, it’s as
52simple as:</p>
48<pre><code>$ arp 53<pre><code>$ arp
49Address HWtype HWad ... 54Address HWtype HWad ...
50192.168.43.187 ether d0:0 ... 55192.168.43.187 ether d0:0 ...
51 56
52$ rsync -avz 192.168.43.187:~/frogs ~/pics/frogs</code></pre> 57$ rsync -avz 192.168.43.187:~/frogs ~/pics/frogs</code></pre>
53<h3 id="ssh-tmux">ssh &amp; tmux</h3> 58<h3 id="ssh-tmux">ssh &amp; tmux</h3>
54<p>My phone doubles as a secondary view into my main machine with <code>ssh</code> and <code>tmux</code>. When I am away from my PC (read: sitting across the room), I check build status and IRC messages by <code>ssh</code>ing into a tmux session running the said build or weechat.</p> 59<p>My phone doubles as a secondary view into my main machine with
60<code>ssh</code> and <code>tmux</code>. When I am away from my PC (read:
61sitting across the room), I check build status and IRC messages by
62<code>ssh</code>ing into a tmux session running the said build or
63weechat.</p>
55<h3 id="file-uploads">file uploads</h3> 64<h3 id="file-uploads">file uploads</h3>
56<p>Not being able to access my (ssh-only) file host was crippling. With a <code>bash</code> instance on my phone, I just copied over my ssh keys, and popped in a file upload script (a glorified <code>scp</code>). Now I just have to figure out a way to clean up these file names …</p> 65<p>Not being able to access my (ssh-only) file host was crippling. With
66a <code>bash</code> instance on my phone, I just copied over my ssh
67keys, and popped in a file upload script (a glorified <code>scp</code>).
68Now I just have to figure out a way to clean up these file names …</p>
57<pre><code>~/storage/pictures/ $ ls 69<pre><code>~/storage/pictures/ $ ls
5802muf5g7b2i41.jpg 7alt3cwg77841.jpg cl4bsrge7id11.png 7002muf5g7b2i41.jpg 7alt3cwg77841.jpg cl4bsrge7id11.png
59mtZabXG.jpg p8d5c584f2841.jpg vjUxGjq.jpg</code></pre> 71mtZabXG.jpg p8d5c584f2841.jpg vjUxGjq.jpg</code></pre>
60<h3 id="cmus">cmus</h3> 72<h3 id="cmus">cmus</h3>
61<p>Alright, I don’t really listen to music via <code>cmus</code>, but I did use it a couple times when my default music player was acting up. <code>cmus</code> is a viable option:</p> 73<p>Alright, I don’t really listen to music via <code>cmus</code>, but I
62<p><a href="https://u.peppe.rs/CP.jpg"><img src="https://u.peppe.rs/CP.jpg" /></a></p> 74did use it a couple times when my default music player was acting up.
75<code>cmus</code> is a viable option:</p>
76<p><a href="https://u.peppe.rs/CP.jpg"><img
77src="https://u.peppe.rs/CP.jpg" /></a></p>
63 78
64 </div> 79 </div>
65 80