I was building stuff for production when I noticed that Coda, screws up javascript. Especially when typing things such as (c) it replaces it with a ©, which makes it difficult to troubleshoot. I’m switching over to TextMate.

so lately Apple has been blocking the java plugin, this is due to some of those crazy java exploits out there. but for those that NEED to have Safari work with the java plugin, here is a little hack that fixes that.

Apple writes out to a file in:

to block minimum java plugin versions. I attempted to use the one provided by Oracle, but still had issues, so to temporary hack is to change the version.

here is a script that does that (must run as sudo):


echo "default is java version:"


if [ -n "$1" ]; then

echo "search for: $JPLUGIN_VERSION"

#cd /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources
cp XProtect.meta.plist XProtect.meta.plist.bak
sed 's/$JPLUGIN_VERSION/$JPLUGIN_NEW_VERSION/g' XProtect.meta.plist.bak > XProtect.meta.plist

echo "modified to: $JPLUGIN_NEW_VERSION"

download here:


$ sudo ./java_version.sh

$ sudo ./java_version.sh

the other day, on the plane, the flight stewards asked for anyone with a spare AAA battery for someones Bose headphones. I happened to have one, and i notified the stewards. They came by, told me that they had already found the battery, but appreciated my generosity.

The first class cabin steward then came by and promised me some red wine. When the time came for beverages on the flight, i ordered a rum and coke with the intention of paying. The stewardess waived off my payment and received a free drink. Later when they were collecting trash they asked if i had ever received the red wine that the first class steward had promised, and i replied with no, and before i could mention my free previous drink, i ended up with a glass of red.

2 free drinks for just the intention of performing a good deed.

In June 2011, I upgraded my macbook pro (MacBook Pro 13″/15″/17″ Unibody with Core 2 Duo “Penryn” and 9400M G chipset (Mid 2009): max, 8GB), with 8GB of RAM. I bought the Corsair RAM (CMSA8GX3M2A1066C7) from newegg.com

At first (running Snow Leopard OS X 10.6), it crashed every once in a while, but I figured that going to OS X Lion (10.7) would fix it. I was wrong. Lion seems to magnify all there is to these crashes. I would get the grey screen of death as well as applications randomly quitting. These issues seem to escalate as I kept updating from 10.7 to 10.7.2

As always, I thought it was the install of my Lion, as I had just updated on top of Snow Leopard, which on forums was said to be a bad practice.

Finally I got sick of my crashes and googled around and found this forum where they mentioned that it was Lion and its finicky-ness with bad memory. I had never thought that the memory would be the issue. here

So the forum member suggested running rember which is basically a os x wrapper over memtest

I started my system in single user boot mode and ran the test. Unfortunately the forum describes the wrong procedure to run the test, I’ve included it below:

  1. Download rember and put it on the root of your HD
  2. Start up in single user boot mode (hold down Command-S)
  3. Navigate to rember (/Rember.app/Contents/Resources)
  4. Execute memtest with default settings (./memtest)

After removing my 8GB RAM and reinstalling my 2GB standard RAM, it seems to become more stable.

Recently I purchased the Syma S107G mini helicopter for $27.25 (helicopter). Its a very nice lil helicopter that holds its charge for about 6-7 minutes and has some pretty intricate parts. Unfortunately when you crash it a bunch of times as a newbie, it will start acting funny. Here are some ways to troubleshoot this guy.

Helicopter seems to fly, but flies in a slow circle

First thing to check is the connect buckets – see if they are connected from the balance bar to the main rotor assembly.

Helicopter lifts off ok, but immediately the blades seem to collide like it got shot out of the sky

First check the connect buckets, if they are connected then the second thing to do is to check the main rotor assembly. On the rotors below the balance bar, there is a “t” shaped connector that exists on the same plane as the rotors. Most likely those pins have broken off. In the picture below its the 3rd horizontal cross. From top to bottom, the first horizontal cross holds the balance bar, the second horizontal cross attaches the rotor assembly to the main rotor shaft with 2 screws, and the third cross contains the rotor blades.

I actually fixed it one time, by super gluing the pins back on, but you have to be pretty accurate, easier to just buy the replacement parts. I found them on amazon prime for $10.88 (replacement parts)

Sometimes at the end of youTube videos that you have embedded on an external site will display a list of related videos. This does not help with your site continuity.

Luckily there is a way to disable the related videos feature. Your embed code will most likely look something like:

What we want to do is to add to the iframe src, we just add the parameter:


So now we have:

and you are good to go, no more related videos.

Wadsworth constant is a meme that states that the first 30% of any video can be skipped because it contains no worthwhile or interesting information.

Youtube actually allows you to apply this constant and allows you to skip the first 30% of the video. Comes in handy when listening to trance/electronica music.

apply this to the end of youtube video links:

if the ? does not exist use:


if the ? already exists use: