Linux/Unix desktop fun: sl – a mirror version of ls

in Categories Command Line Hacks last updated March 31, 2018

One of the most common mistakes is typing sl instead of ls command. I set up an alias, i.e., alias sl=ls; but then you may miss out the steam train with a whistle.

sl is a joke software or classic UNIX game. It is a steam locomotive runs across your screen if you type “sl” (Steam Locomotive) instead of “ls” by mistake. Now there is a twist to older sl command.
Continue reading “Linux/Unix desktop fun: sl – a mirror version of ls”

How to generate RSS 2.0 feed quickly using Python

in Categories Howto, Python last updated August 1, 2017

I wanted to generate RSS 2.0 feeds in Python. Nothing fancy but for certain tasks I needed it something that is quick and just works out of the box. I found rfeed – a library to generate RSS 2.0 feeds in Python. It is in my opinion straightforward to use.

When you delete a line of code that you thought was useless…

in Categories Humour last updated May 7, 2017

Or when you run rm -rf / on Linux or Unix-like system ;)

rm-rf
rm-rf

Another gif showing the same issue:

Delete a block of code
Delete a block of code

Now, I am hitting u, u, u in vim to undo (ctrl-z in other IDE) like a maniac to get back that line or a code block. Lmao.

Awesome VIM clutch. A hardware pedal for improved text editing in Vim

in Categories Link last updated April 22, 2017

That is right. I found a hardware pedal for improved text editing in Vim. This is a mind blowing hack for vim user.

VIM Clutch is a hardware pedal for improved text editing speed for users of the magnificent VIM text editor (1, 2). When the pedal is pressed down, the pedal types “i” causing VIM to go into Insert Mode. When released, it types and you are back in Normal Mode.

The final result:

The first VIM Clutch
The first VIM Clutch

=> See How To Build your own VIM Clutch