Mosh: the mobile shell link
May 1, 2020 #100DaysToOffload Day 4
I recently came accross a piece of software called Mosh, short for
mobile shell. On it's website it says it is a replacement for
interactive SSH terminals. I found this software pretty useful
because unlike traditional SSH, Mosh doesn't stutter on unstable
connections like WiFi or cellular. Even if the network conection
drops out the terminal is not killed and it resumes as soon as the
connection is restored, unlike SSH which kills the terminal and
anything running in it when the connection is lost. This comes realy
handy for people who are using their laptops(which most people
probably are) to access remote machines, since the laptop can be put
to sleep or can be moved around between different connections
without any worries. I've been using tmux to get this behavior(among
others) until now. But it is nice to know that other alternatives
exist. Another amazing thing is that, Mosh doesn't require any
configurations on either the client or the server side. A binary
mosh-client runs on the client and
mosh-server on the server. It doesn't need
any listeners running on the server either. the server binary starts
running only when a connection is started and it terminates with the
It still requires to have SSH configured since the connection is started using an existing SSH configuration, then the server is started and the client connects to it.
Check out Mosh here.
I don't like Twitter link
April 30, 2020 #100DaysToOffload Day 3
Why?, you might ask. Twitter by default sorts the feed based on some algorithm. This makes keeping track of what posts I've came accross a big pain. In order to get the, what should be the default, chronological sort, I have to click a small button on the top. How cool is that?
Static site generators vs. plain old HTML and CSS link
April 29, 2020 #100DaysToOffload Day 2
This is the gazillionth time I'm setting up a github page for
something like this. But everytime before, I did it using some
static site generators like
reason I went for something like these is that all these provide a
pretty good collection of UI themes thanks to many frontend
developers. I could just pick one and not worry about the colors,
alignments and all that jargon. It was as easy as replacing some
placeholder text or in some cases writing a little Markdown. It's
easier than ever to get started with a presence on the internet
thanks to these.
But there's one problem (atleast I had) when using these - having to deal with a dozen of files in order to change something simple about the site. For something as simple as a static site, I felt like it's an overkill. So, this time around, I decided to go with plain old HTML and CSS. In the begining it was hard moving things around again and again untill it all fits, messing around with colors etc. But in the end I learned a lot about CSS and how it all worked and it felt easier. With only a few HTML file and a single CSS file, I can now manage the site. As the small text on the top right says, I made this with suckless.org in mind along with my all time favorite color scheme Dracula.
All that aside, I thank all those people who worked on Hugo, Jekyll, Gatsby.js etc. and the large collections of themes, for helping me and many others have a presence of their own on the internet.
Dead Laptop, Raspberry Pi and Windows Terminal link
April 28, 2020 #100DaysToOffload Day 1
As a preface, I am someone who spends most the time with my laptop,
whether it be watching movies or poking the kernel with a stick to
see what happens.
About a week ago I opened up the laptop for a quick cleaning. After cleaning when I put it back together, it doesn't want to turn on anymore. Long story short, I have no way of accessing any of the files on it or continue any of the work I've been doing. After a few days of just sitting around not able to do anything, and no way to fix the laptop, I ended up with a Raspberry Pi connected to the TV. (Good thing I bought it when it came out). Although I got a computer to use, I couldn't use it when someone's watching something on the TV. So, I setup ssh on it so I can access it from my phone too.
Today, I found out that the new Windows Terminal application in Windows can work flawlessly with Linux too, and Powershell comes with an OpenSSH port built in. I didn't always like Windows, so it has been about 2-3 years since I used Windows and I didn't know much about Windows Terminal or Powershell. Dad's laptop (is running Windows and I'm not allowed to put linux on it) was just sitting there and I decided to use it to SSH in to the Pi. Thanks to Tmux, Neovim and many other text/curses based programs, now I can do almost everything on the Pi.
I'm writing this in Neovim running on a Raspberry Pi over an SSH connection from a Windows laptop.
The day it all began link
April 27, 2020 #100DaysToOffload
After seeing this post on fosstodon, I too have decided to write something here everyday for the next 100 days. I had this domain for a long time and always wanted to do something with it. Now I'm finally feeling motivated enough thanks to Kev. I hope I'll be able to keep this up.