My website, blog and portfolio…

Archive for August, 2009

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.

Leave a Comment :, , more...

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=$1

if [ $# = 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” $API

rm -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??)

*

Leave a Comment more...

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.

Leave a Comment :, more...

Panther XP theme

by admin on Aug.08, 2009, under Computers, Daily

I just thought I’d show this off. Its windows xp running a neat theme I found.

XP Pather Theme

Leave a Comment more...

TM-V71a dual band mobile

by admin on Aug.08, 2009, under Daily, Hamradio

tm-v71aToday I couldn’t help myself. I bought a TM-V71a dual band radio for the car. The main reason why I chose this over the Yeasu was because I read that you don’t have to have a Kenwood HT to remote control it, also you don’t have to put it in ARTS mode to turn on the CW id. The TM-V71a also has an addon to make it APRS ready (which I’m really excited about). You can check out the addon at http://www.universal-radio.com/CATALOG/fm_txvrs/07270071.html

Leave a Comment :, , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!