Good bye Comcast. Hello EPB.

I’ve used Comcast as my ISP ever since they started providing Internet access in my area. We’ve been through some rough times together, but nothing in comparison to the nightmare that was BellSouth DSL. Recently EPB started offering fiber access. Hesitant to switch as I’ve grown rather fond of my IP address, I waited as long as I could before jumping ship to swim to the new ISP.

Continue reading Good bye Comcast. Hello EPB.

wpadminbar vs

I play around with wordpress nightlies because I like living on the edge, breaking my own site, and fixing buggy code. Recently, in the latest nightly release wordpress decided I need an administration bar along the top of my pages. This only displays when logged in, but destroyed my theme. I do not know the official name of this bar, but it has an ID of “wpadminbar”. After seeking plug-ins and settings to no avail and being let down by google, I turned to grep. The resolution is simple. To remove the bar, open wp-settings.php and comment out the following line:

require( ABSPATH . WPINC . '/admin-bar.php' );


//require( ABSPATH . WPINC . '/admin-bar.php' );

Note: If you know of an official way to disable “wpadminbar” or make it more theme friendly, please share.

WD20EARS 4096 HDD vs fdisk

Western Digital GreenHaving purchased a new WD20EARS 4096 (2 terabyte hard drive) I was anxious to put the new beast in my home server, format the drive, and get to moving files around.
so I sudo fdisk -l /dev/sdc as I normally do..

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table

Continue reading WD20EARS 4096 HDD vs fdisk

Bash script to show WAN and LAN network IPs.

Following is a bash script I wrote to show my lan and wan IPs.
The script will loop every 10 seconds. Seeing as my ISP has a less than desirable up time, I use this to see when I’m finally reconnected.

#  -/oss+:`  `-/o/.
#     `-omMmy+.  +Md/
#        -MMMMMNdhMMMyos+:
#  odo::NMMMMMM/`s-MMMMMMmMMds/
# -.  `NMMMMMMMd+- -ooo/-..-oNM-   `++ /+`++  //
#     +MMMMMMMMMMMMmhyssss-  `-     .ddh. mdd/yy
#     sMm`oMMMMMMMMMMMMMMNmdy+`      -M.  m+`sMy
#     .M/  `+hNMMMMMMMMMMMMMMMMs`    `.`  .`  ..
#      /`     `.:+oo..-/yMMMMMMMN-
#        -+yo:`          +MMMMMMMN`
#     :yNMN+so  -so`     :hyMMMMMM/
#   /mMMMMMMMNhdMN`   ://+hMMMMMNN:
# hMmm-   /osMMMNosNMMMMMMMMdNM+
#`Ms`/  ..-smMNs.oNNho+/++:` sM/
# h/    `:++/- -my-           +s`
#  .          .s`
echo "Press ctrl-c to exit at any time."
while [ 1 ]; do
	WAN_ip_addr=`wget --timeout=10 --tries=2 -qO -`
	LAN_ip_addr=`ifconfig | grep 'inet addr:'| grep -v '' | cut -d: -f2 | awk '{ print $1}'`
	echo $(date)
	echo -ne "External IP: "
	if [ -z $WAN_ip_addr ]; then
		echo -e "Disconnected"
		echo -e $WAN_ip_addr
	echo -ne "Internal IP: "
	if [ -z $LAN_ip_addr ]; then
		echo -e "Disconnected"
		echo -e $LAN_ip_addr
	if [ -n "$WAN_ip_addr" ]; then
		echo "Found external IP"
		exit 0
exit 0

PS3: Laws? pfft!

“It only does everything.”
Not any more. In a rather bold move by Sony, they have removed the “Other OS” feature from their console with the latest update of their firmware.

I’m not happy about it, as it was a selling point in my purchase. Now a feature I bought has been removed, and I have to comply with the removal should I wish to play games. I’m not alone in the disgust. Continue reading PS3: Laws? pfft!