Archive for the ‘UNIX’ Category.

Sort a file in Vi

Build a Custom Repository for CentOS 5

This will walk you through the steps of creating a local repository. We did this initially to allow for a Custom out of band version of a package. It’s not officially supported, nor is it part of the various Centos 5.3 depots (os, updates, CentOSPlus, CentOS Extras, etc.)

Continue reading ‘Build a Custom Repository for CentOS 5’ »

Simple HTTP server in OS-X

If you need a quick way to share a directory
Open a terminal window, change to the directory you want to share and type

python -m SimpleHTTPServer 8080

It’s even better as an alias.

alias serve='echo Serving ${PWD} from ${HOSTNAME}:8080$;python -m SimpleHTTPServer 8080'

From Macworld

Mouse Scroll Wheel not working for Ubuntu 9 under VMware Fusion

In my /etc/X11/xorg.conf file, I had these (oddly, correct) setting for the mouse. They were originally commented out, but not below.

Continue reading ‘Mouse Scroll Wheel not working for Ubuntu 9 under VMware Fusion’ »

My .conkyrc setup

I had a very hard time getting conky to stay on my desktop.  If I clicked on the desktop, the program would disappear.  It seems that

own_window yes

needed to be

own_window no

My full ~/.conkyrc after the jump
Continue reading ‘My .conkyrc setup’ »