You were never here, you didn't see anything..

Category Archives: Code

All things that can be considered code, be it PHP, scripting, HTML or whatever.


Getting the IP of a remote machine that requests a page via PHP is simple. On top of that there are services on the web where you can do it. whatismyip.com or ipecho.net are two of the more popular among them.


Currently if you wish to monitor the wireless signal level and other stats from your WiFi card under XFCE your options are limited. There is only one panel plug-in that is part of the XFCE Goodies project called xfce4-wavelan-plugin. It is nice but not quite what I wanted. I don’t Read more…


Since I am up late I will hammer this out while it is fresh in my mind. I am using my netbook more and more. As noted in the previous post “Gentoo Server Config -1” I use NFS on my home server. Well I would like access to the NFS Read more…


A while back I wrote a script to use nvidia-settings to get the core and ambient temperatures from the three GTX465 video cards in my system. All the way up until today it has worked great and is currently tied in with conky to show the temps. Today when I Read more…


You may or may not know that this site is powered by wordpress. It is a very powerful and flexible CMS that makes the management and upkeep of a site like this very easy. This particular install is relatively new being only a few months old. The content that dates Read more…


I am now motivated to share a very simple script. This is what I use when I want to listen to my (current) favorite shoutcast station, I call it tunes.sh: #!/bin/bash # This is a simple script to start playing Chronix Radio # (or something else) from the cli using Read more…


I wrote a post not too long ago about getting temps from the GPUs. I recently took a second look at that and came up with a cleaner and much more versatile approach to getting the data and ever presenting the data. All of the ugly sed-ness (not saying sed Read more…


I have not had time to load the distro of choice onto the new system yet. That will simply take more free time in one lump than I have to spare presently. I did however toss together a short script to pull the temps from the video cards. The cards Read more…


It was asked recently how to generate a random HEX key for something like WEP. A bash one liner can do this for you using the following: string=0123456789ABCDEF && for i in $(seq 1 32); do pos=$(($RANDOM%15)) && key=${key}${string:$pos:1}; done && echo $key


I recently had need of a cli player that would play streams as well as local files. I had used noxmms previously so i figured to use it again. It is basically xmms with the GUI stuff stripped out. I ran into an issue trying to build it related to Read more…

Pages: 1 2 Next

Most who fail…

Most who fail have yet to really try!