Posted November 16, 2008 at 10:11pm in
Sysadmin
No I’m not excited about sudo, well I sorta am. I have run into situations where I typed a long command and forgot to type sudo. This is a huge problem when you can’t hit the home key and go to the start of the command, which happens in a lot of SSH tools.
The Fix!!!
sudo !!
Typing that will execute the last command, but it will execute it as if you had typed sudo at the beginning. This is a huge time saver.
Posted November 16, 2008 at 10:11pm in
Sysadmin
Similar to the double bang trick is bang+asterisk. This combinations takes just the parameters from the previous command.
[user@host ~]$ ls /home
user
[user@host ~]$ cd !*
cd /home
[user@host home]$
Enjoy!
Posted November 16, 2008 at 01:11pm in
Site News
It seems my previous post, Work Environment developed a little problem where it would keep redirecting so the post was not viewable. I have changed the name from Development Environment to Work Environment.
I will be moving technology posts from my other blog to this one.
Posted November 16, 2008 at 12:11pm in
Linux, Programming, Sysadmin
I have noticed a few people have been commenting on their development environments and wanted to chime in on what I use when I am consulting or working on a personal project.
Internet Based:
- Dropbox – This application allows me to share files between all of my platforms. It works very similar to how subversion works, but commits the files automatically after they have been added to the directory. They are stored encrypted on the Dropbox servers so the information is safe from prying eyes.
- Twitter – I never got the whole twitter thing for a long time, but it is nice to know what my friends are up to.
- Facebook – Probably the only decent social networking site out there
- LinkedIn – Business social networking.
- del.icio.us – Social bookmarking.
- Pownce – Similar to twitter, but does more for media sharing.
Read the rest of this entry »
Posted November 16, 2008 at 02:11am in
Network
For many years I never had to crimp cable, I had done it before, but never enough to bother remembering the coloring scheme. You have two choices T568A and T568B, the only difference between the two is that the green is swapped with the orange. Looking at the colors didn’t help me to remember it the first day I had to do a bunch of cables I just kept saying it in my head as I did it and it was very effective.
T568B: T568A:
White Orange White Green
Orange Green
White Green White Orange
Blue Blue
White Blue White Blue
Green Orange
White Brown White Brown
Brown Brown
When you make a crossover cable one end is T568A and the other is T568B. So just say those in your head while you crimp a few cables and you won’t forget it.
If you are making a rollover cable crimp on end and then prepare the other end, but before you put it in the ice cube flip it and then crimp.