Macbook key broke
by admin on Sep.12, 2009, under Computers
So this weekend I headed to my sisters house to take care of her animals while she’s at Mexico Beach for a triathlon. Well I left the room this morning for 5 minutes and my laptop was on the floor closed. When I opened it up the 8 key was missing and could not be found! I’ve searched and searched, the only thing I can figure is one of the dogs popped the key off and ate it! So I did a few google searched and found out that it would cost me about $225 to replace the kayboard or I could replace it myself for far less.
A few more google searches later and I found a youtube video of a guy replacing a single key on the macbook, so I found this site called “WeLoveMacs” and purchased an 8 key from them for about $16. Now I wait for my new 8 key to come in so I can stop hitting that little rubber thing.
Getting Firefox to remove All history..
by admin on Aug.25, 2009, under Computers, Daily
So unlike previous versions of firefox its impossible to clear all the history. How The fuck do I remove browser history, cookies and everything else from firefox!?
Here’s a post with the same question on this issue straight from mozillas website..
http://support.mozilla.com/tiki-view_forum_thread.php?locale=ro&forumId=1&comments_parentId=399203
For those who are interested, I finally managed to clear the shit. I removed firefox, ran cclean and reinstalled firefox. Something is wrong with firefox. Also I switched it so firefox is always in secure browsing mode. For those who are paranoid like me, just leave the stupid thing in secure browsing mode.
Posting files to twitter
by admin on Aug.15, 2009, under Computers, Daily
Today after reading about botnets being controlled by twitter I decided to see if I could post files via twitter. I quickly hacked up a unix script to do just that. This is the script, soon to follow I will have another to monitor twitter for files and reassemble them once they come through.
#!/bin/bash
API=”http://twitter.com/statuses/update.xml”
DATA=”"
USER=”fefeman”
PASS=”"
FILE=$1if [ $# = 0 ]; then
echo “USE: ”
echo “post.sh file”
echo ” ”
echo “file is the name of the file you wish to post to twitter.”
exit 1
fi# split the file into 139character cunks for twitter
base64 $1 | split -C 139# post initial file information
DATA=”Posting file: $FILE base 64 encoded for your pleasure!”
wget –user=$USER –password=$PASS –post-data=”status=$DATA” $API
DATA=”"# output files are in x* format so to make things simple
# we’ll just list all of the x* files
for f in ./x*
do
DATA=`cat $f`
wget –user=$USER –password=$PASS –post-data=”status=$DATA” $API
rm -rf update.xml
done# post initial file information
DATA=”End of file: $FILE ”
wget –user=$USER –password=$PASS –post-data=”status=$DATA” $APIrm -rf x*
It’s got a few bugs but its a good proof of concept. Several such bugs are:
- If wget cannot hit the page for whatever reason then the script will continue on to the next 139 bytes of the file
- There maybe issues with wget posting in the wrong order. (I noticed multiple update.xml files in the output directory which means either previous update.xml files didnt get removed probably due to multitasking problems??)
*
HTC G1 (Android) Unlock
by admin on Aug.09, 2009, under Daily
So I got my unlock code today from T-Mobile and here are the instructions for those inquiring minds:
Thank you for taking the time to contact T-Mobile. Below you will see the Instructions for unlocking your HTC device.
1. Insert the foreign SIM card
2. Power on the device and the display should read “Please input unlock code”
3. Enter the unlock code and the device should display “Phone is unlocked.”
4. Allow the phone to scan the network (or manually click on the antenna icon to do this)
It is very important that the instructions and SIM unlock code are entered correctly as listed. If you receive an error message while performing the instructions do not make any further attempts to unlock the handset. Please be aware that if an excessive amount of incorrect attempts are made, the phone will be permanently locked. You will need to verify the IMEI by pressing *#06# and contact Customer Care for support.

