randy pausch’s “final lecture”
very great watch. yes, the whole thing.
for those of you who don’t know, randy was diagnosed with pancreatic cancer and was given about six months to live around the time of this lecture in september.
fundamentally, he talks about following your childhood dreams and enabling others to realize theirs (as “head fakes”). his optimism and humor are something i don’t believe i could maintain faced with the same grim prospects. many props.
one touch 30 second jailbreak/unlock for iphone
i read in the comments mac version is having problems so i used windows
it jailbroke the phone in literally 30 seconds
start the ziphonegui.exe in the zip
click the verbose boot button and watch the shit fly around on your iphone
once it starts up again you have installer on your home screen
fucking bananas no complex firmware downloads and stupid steps
just tick the checkboxes
but yea make sure you have verbose boot on so you can watch your iphone screen load all the cool nis
view hidden files (like ones that start with a period, dude) in osx
open up your terminal application in applications | utilities.
type (or paste) these two commands:
defaults write com.apple.Finder AppleShowAllFiles YES
KillAll Finder
switch YES to NO if you change your mind. jerk off with your left hand.
5g 30gb ipod keeps rebooting to apple logo
for the search engines - i recently ran into this problem myself when trying to install leopard from my ipod as an external hard drive.
basically, just hold the select and play keys immediately after the apple logo appears and it will put the ipod into disk mode. hack as necessary.
also, some other neat things to do are the soft reset, whereby you toggle the hold switch at top of the ipod once, then hold the menu and select keys. this will do a soft reboot of the phone should it hang up.
the other neat feature is the diagnostic menu, which is achieved by toggling the hold switch, holding menu and select simultaneously for a second, removing your fingers off those buttons, then holding the previous track button and the select button simultaneously. a little diagnostic menu will come up so you can be 31337.
unlocking and jailbreaking an iphone using a macbook, iNdependence 1.2.1a and itunes 7.4
because of this shitty fucking 9 hour experience i had with unlocking an iphone, i will share with you the secret to foregoing the headaches i endured during my unlock and jailbreak procedure.
i’m not going to put pictures up because i’m sadistic and hate you.
1. take a shitload of oxycodone, maybe drink like 9 or 10 coronas. mellow the fuck out.
2a. download itunes 7.4, but don’t open it just yet.
2b. download all of the files i have in this directory.
2c. unzip anything that needs unzipping and mount the iNdependence dmg i graced you with.
3. dock your iphone to your stupid macbook.
4. hold in the power button on the top of the iphone and the home key on the iphone simultaneously until you see the apple warning triangle that says “connect this stupid piece of shit to itunes”.
5. start itunes.
6. itunes will update your iphone just hit done, next next, sure, whatever, nis.
7. after your iphone is rebooted and itunes detected it, your iphone will be at the activation screen.
8. quit itunes completely.
9. open up the activity monitor in your applications/utilities directory.
10. search for itunes and kill the itunes helper. zap that shit motherfucker.
11. run iNdependence from inside the mounted image.
12. click the activate phone button and wait until it does its thing and the iphone boots up again.
13. a dialog will come up telling you what a pimp you are - click ok here.
14. click the jailbreak button along the top of the application.
15. perform the jailbreak on the iphone.
16. the iphone will reboot after you follow directions and the phone will be jailbrokenized.
17. click the ssh button at the top of the application.
18. click the install the ssh/sftp blahbiddyblah button.
19. follow the instructions that iNdependence tells you and ssh will be installed on the app. the root password is “dottie”.
20. when the iphone returns from its reboot, go to the settings/network on the iphone and connect to your wireless network. get the ip address of your iphone.
21. connect to your iphone using cyberduck - select the protocol as sftp, hostname would be the ip address of ye phone, login: root, password: dottie
22. copy the lockdownd file you unzipped from my files into /usr/libexec/ - you will overwrite the existing file with the one i gave you.
23. copy the unlock.app into the /applications directory on the iphone.
24. turn off the iphone. stick a paperclip or safety pin into the little hole on the top and press down to eject the SIM card.
25. put in your other SIM card and turn the phone on.
26. click the unlock icon on your iphone desktop and hit the start button.
27. pop some more oxy, smoke some purp, sip some lean for 20 mins - your iphone will be unlocked.
change your fucking root password through iNdependence so no one hax you.
fucking iphone man what a bitch.
plus i had this fucking madhouse going on at my crib but that’s another story all together. i hate my life.
macports for ye mac osx
if you’re a mac owner and you haven’t installed macports, then you are a giant fag. i forgot to blog about this but now i remembered, because i’m doing hax, so lucky you.
click here for macports - after it is installed, reboot ye box and then run sudo port -d selfupdate in ye terminal window. this will initiate rsync hax to insure that your nis is large and awesome and current.
then type sudo port install ettercap-ng and spy on people in boulder when you are connected to their wireless routers.
if your hp dv6000 series is freezing when you are installing amd64 ubuntu
if your dv6000 isn’t booting and just hangs there on a black screen, use the boot parameter “noapic.” it should boot fine.
other helpful installation tips:
sudo aptitude install nvidia-glx
put Load “dri” in the Module section of xorg.conf
change your driver in the Device section from nv to nvidia
in the Screen section change DefaultDepth to 24
sudo nano /etc/modprobe.d/aliases
change alias net-pf-10 ipv6 to alias net-pf-10 off
sudo aptitude install bcm43xx-fwcutter
sudo modprobe bcm43xx
also, if opening firefox yields an empty black window after installing beryl, force AIGLX by right clicking the beryl icon, advanced beryl options, rendering platform, force AIGLX.
vicidial: no one is in your session after power outage/sudden power off
i recently had a power outage and the ups on my server malfunctioned, and then i was having a problem with people logging into the dialer and immediately being kicked out to the “no one is in your session” blue screen. this issue was persistent through reboots and running AST_reset_mysql_vars.pl.
i drilled down and found that the live_channels and live_sip_channels tables were corrupted, so i fixed this issue by repairing them in mysql.
just putting this out there if anyone ever has a similar problem so you have a point of entry where to look.
for leet hax:
nano /usr/share/astguiclient/mysql_tables.sh
paste this:
#!/bin/sh
# this shell script finds all the tables for a database and run a command against it
# @usage "mysql_tables.sh --optimize MyDatabaseABC"
# @date 6/14/2006
# @version 1.1 - 1/28/2007 - add repair
# @version 1.0 - 6/14/2006 - first release
# @author Son Nguyen
DBNAME=$2
printUsage() {
echo "Usage: $0"
echo " --optimize
echo ” –repair
return
}
doAllTables() {
# get the table names
TABLENAMES=`mysql -D $DBNAME -e “SHOW TABLES\G;”|grep ‘Tables_in_’|sed -n ’s/.*Tables_in_.*: \([_0-9A-Za-z]*\).*/\1/p’`
# loop through the tables and optimize them
for TABLENAME in $TABLENAMES
do
mysql -D $DBNAME -e “$DBCMD TABLE $TABLENAME;”
done
}
if [ $# -eq 0 ] ; then
printUsage
exit 1
fi
case $1 in
–optimize) DBCMD=OPTIMIZE; doAllTables;;
–repair) DBCMD=REPAIR; doAllTables;;
–help) printUsage; exit 1;;
*) printUsage; exit 1;;
esac
make sure its rwxrxrx
in your startup script put
/usr/share/astguiclient/mysql_tables.sh –repair asterisk
/usr/share/astguiclient/mysql_tables.sh –optimize asterisk
blocking myspace with iptables
here is the command to block myspace using iptables:
iptables -t nat -I PREROUTING -d 216.178.32.0/20 -j DROP
why would did i have to do this? my employees fail at getting work done. i still like them though.
csi: episode generator
i love my girlfriend and all, but she is in love with csi, and i fail to see how anyone can really like that show.
her taste in TV aside from this show is absolutely fantastic, so this preference is easy to excuse as a momentary lapse in GOOD TASTE.
anyway, click here to mess with it. hit f5 to generate a new episode. i wasted a good ten minutes of my life coding that, so enjoy.
