Blogging with Vim
Tue 28 August, 2007 04:51 |
Permalink |
Comments (1) |
Trackbacks (0)
Oh god I found this post today! Now I can blog from my favorite editor!
THANK YOU PEDRO!
Tue 28 August, 2007 04:51 |
Permalink |
Comments (1) |
Trackbacks (0)
Oh god I found this post today! Now I can blog from my favorite editor!
THANK YOU PEDRO!
Tue 07 August, 2007 11:52 |
Permalink |
Comments (2) |
Trackbacks (0)
You know I love the Vi – improved. And I wish I know this tip a long time ago.
Basically Vim allows you to write freely and then wrap your text to a fixed number of characters. You can use the :set tw=80 to force your text never to exceed 80 characters. And if you already have a non wrapped text, you can easily select (using visual mode) the text you like to wrap and hit gq on your keyboard, and Vim will haply apply your settings to the region.
For LaTeX and emails, this is awesome…
Sun 12 August, 2007 15:42 |
Permalink |
Comments (0) |
Trackbacks (0)
Dear diary:
Remember me the next time i think on moving from 64bits to 32bits on my desktop.
Plagger::Cache [debug] Cache HIT: CustomFeed-Simple|http://[REMOVED]
Byte order is not compatible at ../../lib/Storable.pm
(autosplit into ../../lib/auto/Storable/thaw.al) line 366,
at /usr/local/share/perl/5.8.8/URI/Fetch.pm line 49
Fri 11 May, 2007 11:00 |
Permalink |
Comments (1) |
Trackbacks (0)
Since the last year, I spent a lot of time studying cryptography and data protection on Linux. Since then I use cryptographic methods to cipher all my hard drives.
I started using loop-AES and then switched to dm-crypt + LUKS. This are really great and secure methods to protect your data. I spent some time using Twofish, but I found it slower than AES (I always use 256bit keys).
Recently however, I’ve heard that there are some Linux kernel optimized modules for specific hardware. I’ve header reports that these assembly implementations are more than 5 times faster than the C AES standard module.
Since I’m running ate 64bits on my server (Athlon 64 3500+), I decided to give it a try:
$ rmmod aes; modprobe aes_x86_64
And OH MY GOD!! It seems that I have a new machine!! This is completely different!! Thank you ASM sick guys!
PS – For you with x86 (Pentium or higher) use aes-i585
Tue 15 May, 2007 02:10 |
Permalink |
Comments (1) |
Trackbacks (0)
If you ever wonder why MacOS users have a nice little command-line application called “open” to open an arbitrary file with the correct application, and you – a proud Linux user – don’t, you have come to the right place :)
If you use GNOME (KDE sucks :P) you probably have a nice little command-line application called “gnome-open”.
It does exactly what you are thinking. It find the mime-type of the file you pass as a parameter and use the GNOME configured application for that mime-type.
Since I am lazy (and probably you too) don’t forget to put this on your .bashrc (or equivalent):
alias open="gnome-open"
alias o="gnome-open"
Have fun with your console!
(Probably KDE (and others) have a similar application)