If you want vim to nicely format an XML file (and a xena file in this example, 2nd line) then add this to your ~/.vimrc file: ” Format *.xml and *.xena files by sending them to xmllint au FileType xml exe “:silent 1,$!xmllint –format –recover – 2>/dev/null” au FileType xena…
Debian 6 was released the other day, with this release they not only released a Linux kernel version but they now support a FreeBSD version as well! So I decided to install it under VirtualBox and check it out… The install process went smoothly until I got to the end…
If you have a local mirror and want to use it as the mirror for preupgrade then follow the these normal steps EXCEPT do the following BEFORE you run the preupgrade(-cli) command: Download the releases.txt file used: wget http://mirrors.fedoraproject.org/releases.txt Modify the releases.txt file, I changed the Fedora 14 (what I’m…
Bash is an awesome shell and also very configurable. Some of bash’s build-in functions are not binded to keys, some of which REALLY should be! Bash has two very useful functions used for searching your bash history: history-search-backward history-search-forward So the question is how do we bind them. I bound…
Git makes it easy to add remote repositories to push to, best part is you can use ssh. The ‘git remote add’ command takes in a html URL like parameter for even SSH like: ssh://<user>@<host>/<path to git repo>/ NOT the standard ssh scp syntax: ssh://<user>@<host>:<path to repo>/ Which allows you…
Fedora is an awesome Linux distro. Chris just informed me of an awesome feature so I thought I’d blog for everyone else’s benefit and also my own 😉 When installing a kernel module through yum, instead of installing the kmod-<module> package install the akmod-<module> version e.g: sudo yum install kmod-nvidia…
I just upgraded to Fedora 13, all went smoothly.. or so I thought. When it finally became time login to my new system I got a error saying ksmserver wouldn’t start, and my session would then close and throw me back to the login screen. Turning to a console I…
A few of us here at work are using Fedora 12, two of the guys upgraded Fedora to find X not starting, seemingly a broken nvidia driver. Because they had issues I was careful about updates. But the inevitable happened.. I updated killing my Xorg. I decided I’d do a…
Iptables is a powerful firewall/packet filtering framework inside Linux, and obviously used for firewalls on desktop, servers, and even embedded Linux devices such as most home internet routers. I was asked to write a script that could monitor and report network usage on one of our machines at work. I…