Yesterday I were bored. So I took the linux sources and I began thinking at some interesting modify I could make.
So, ehm, well… I did something unusual. I’m proud to present the really-very-most-useless-patch-of-the-year:
Add a boot option “logonum” that allow the user to choose how many penguins to show in the framebuffer at startup. If no “logonum” is specified, it shows as many penguins as the online cpus (the default behavior).
Signed-off-by: Giuliani Vito, Ivan <giuliani.v@gmail.com>
The patch can be found here: http://lugbari.org/~kratorius/patches/give-me-more-penguins-2.6.19.patch
This patch applies to 2.6.19 vanilla sources.
(Continue reading…)
So the LinuxDay is gone this year too… It has been an amazing experience, I talked about inkscape at 50-60 people. And most of them were really interested in what I was saying, and this is a real miracle :)
By the way, if you want to have a look at my slides, you can find them at http://lugbari.org/bin/view/Main/LinuxDay2006, next to my presentation’s title: “Inkscape: grafica vettoriale su Linux”.
In Italy, every year, there’s a day named “LinuxDay” where we promote the use of Linux and free software. Every LUG (a Linux User Group) organize this event in their city.
I am a member of the LUG of my city (LUGBari), and this year I will talk about Inkscape. If you want to see the full program, follow this link: http://lugbari.org/bin/view/Main/LinuxDay2006
And if you want to meet me, come and join the event!
Bash has some useful shortcuts that most of users are unaware of. Here I’m describing some of them that I found very very useful:
- Screen clear: are you tired of typing
clear all the times you want to get your screen cleared? Hint: press ctrl + L.
- Reverse search: sometimes could happen that you have to retype some command you previously typed. So why don’t look for the command in the history? Press
ctrl + R and begin typing the command. Bash should autocomplete it!
- Command substitution: if you wrote your command and you typed a wrong letter, why to rewrite all the command? Just substitute the mistaken word. How? Use
^texttosobstitute^sobstitution. For example, if you typed apt-get updatke, you can fix it by typing as next command ^updatke^update (or simpler: ^tk^t).
- Latest action: do you want to repeat the last command? Just use
!!. It will (re)execute the latest command you given.
- Latest parameter: and if you want to use once again the latest parameter you typed in the last command?
!$ is made for you… For example, let suppose you renamed film.avi in my_new_divx.avi with mv film.avi my_new_divx.avi. If you want to see it you can just type mplayer !$. That’s all (and there’s !* that refers to all the argument passed in the previous command…).
I use these shortcuts from the time I’ve discovered them and I found them very useful (especially the number 1!). So, why don’t share such things with the other guy over here?