December 2011
4 posts
1 tag
Append public key to other host's authorized_keys
This is the command I always use:
$ cat .ssh/id_rsa.pub | ssh user@hostname "cat >> .ssh/authorized_keys2"
1 tag
Server Uptime
So I managed to upgrade my server from CentOS 5 to Ubuntu 11.10, here’s the uptime result before the upgrade:
[jerome@li10-25 ~]$ date Fri Dec 9 07:41:37 EST 2011 [jerome@li10-25 ~]$ uptime 07:41:39 up 529 days, 9:34, 1 user, load average: 0.00, 0.01, 0.00
529 days up and never had a problem. Linux power :D
1 tag
Change Cygwin to use ZSH by default
Since Cygwin is using mintty, the default shell is bash. I found a way to use zsh by default. All you have to do is edit the Cygwin Terminal shortcut and replace target field.
From: C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico -
To C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico /bin/zsh --login
1 tag
vim
Finally, found the time to beef up my vim settings and push them to github. Check the link for more info: https://github.com/jldbasa/dotvim
November 2011
2 posts
Common Editors Learning Curve
Among the editors in the image, I only know notepad, vs and vi. I have to say it is true. Hehe
P.S. The image I used belongs to someone (I don’t know who), full credit goes to him.