Android: Get Current Time in Milliseconds

I’ve seen this mistake all over the place, so here’s a little reminder INCORRECT int timestamp = System.currentTimeMillis(); CORRECT long timestamp = System.currentTimeMillis(); If you use the incorrect version, you’ll probably get a negative number.

/ No comments

Android: Get Current Time in Milliseconds

I’ve seen this mistake all over the place, so here’s a little reminder INCORRECT int timestamp = System.currentTimeMillis(); CORRECT long timestamp = System.currentTimeMillis(); If you use the incorrect version, you’ll probably get a negative number.

/ No comments

Fix for onActivityResult causing app restart on Motorola devices

My Activity wasn’t returning a result and was causing the entire app to restart, and all I was doing was calling onActivityResult and it wasn’t returning a result. This only happened on Motorola phones that I tested on, specifically the

/ No comments

Fix for onActivityResult causing app restart on Motorola devices

My Activity wasn’t returning a result and was causing the entire app to restart, and all I was doing was calling onActivityResult and it wasn’t returning a result. This only happened on Motorola phones that I tested on, specifically the

/ No comments

Did you go to another country and now can’t login to Google account on your Android?

All the patience I learned from my unsuccessful years of fishing is now vented into free family tech support. It was rightfully Google’s fault this evening, though. I just spent an hour on chat with someone who couldn’t login to

/ No comments

Did you go to another country and now can’t login to Google account on your Android?

All the patience I learned from my unsuccessful years of fishing is now vented into free family tech support. It was rightfully Google’s fault this evening, though. I just spent an hour on chat with someone who couldn’t login to

/ No comments

Fix for “Graphical Layout doesn’t show in Eclipse”

When editing Android layout XML files in Eclipse Indigo Classic, I wasn’t able to see the Graphical Layout tabs. This is weird because the Google Android Installation Guide specifically mentions that “Eclipse Classic is preferred.” I was able to fix

/ No comments

Fix for “Graphical Layout doesn’t show in Eclipse”

When editing Android layout XML files in Eclipse Indigo Classic, I wasn’t able to see the Graphical Layout tabs. This is weird because the Google Android Installation Guide specifically mentions that “Eclipse Classic is preferred.” I was able to fix

/ No comments

Eclipse hanging during build workspace? Run -clean in Mac OS X

Is your ‘build workspace’ dialog box approaching infinity and your Java heap running out of memory? Then it’s time to run -clean before Eclipse even starts – the equivalent of a pre-emptive strike, but with a broom. 1. If you

/ No comments

Eclipse hanging during build workspace? Run -clean in Mac OS X

Is your ‘build workspace’ dialog box approaching infinity and your Java heap running out of memory? Then it’s time to run -clean before Eclipse even starts – the equivalent of a pre-emptive strike, but with a broom. 1. If you

/ No comments

Lyrics to Kill it Kid “Pray On Me”

One of 2011′s greatest songs from a fantastic blues rock band, wrote down the lyrics because I couldn’t find them anywhere. Ohh…. Dirty blade on the cold dark concrete Smell of burnt cotton in the bridal suite Though I know

/ No comments

Lyrics to Kill it Kid “Pray On Me”

One of 2011′s greatest songs from a fantastic blues rock band, wrote down the lyrics because I couldn’t find them anywhere. Ohh…. Dirty blade on the cold dark concrete Smell of burnt cotton in the bridal suite Though I know

/ No comments

Awesome RGB Colour Scale Values from 1-100 (great for heatmaps)

A lot of people struggle with constructing heatmaps, because most values are normalized over 100 and it takes a lot of grief to figure out how to evenly step the colours from 1 to 100. After a lot of faulty

/ No comments

Awesome RGB Colour Scale Values from 1-100 (great for heatmaps)

A lot of people struggle with constructing heatmaps, because most values are normalized over 100 and it takes a lot of grief to figure out how to evenly step the colours from 1 to 100. After a lot of faulty

/ No comments

How to convert XY coordinate values to CSV

I helped a friend with a teensy coding problem last night and found myself making a major n00b mistake while coding a solution. It made me feel like a Computer Science freshman (erm, woman) all over again! For anyone who

/ No comments

How to convert XY coordinate values to CSV

I helped a friend with a teensy coding problem last night and found myself making a major n00b mistake while coding a solution. It made me feel like a Computer Science freshman (erm, woman) all over again! For anyone who

/ No comments

How to really install Node.js on Mac OS X 10.6+

I ran into a few minor problems during my Node.js installation and I’m providing this tiny little guide that should save you a bit of time. How to install on MAC OS X: As it turns out I do have

/ No comments

How to really install Node.js on Mac OS X 10.6+

I ran into a few minor problems during my Node.js installation and I’m providing this tiny little guide that should save you a bit of time. How to install on MAC OS X: As it turns out I do have

/ No comments

Save time with this critical iCal shortcut!

When you’re writing a new event into your iCal, you normally have to fiddle around with the mouse in order to add your events, until you achieve some weird sort of tennis elbow – an unflattering injury on any geek.

/ No comments

Save time with this critical iCal shortcut!

When you’re writing a new event into your iCal, you normally have to fiddle around with the mouse in order to add your events, until you achieve some weird sort of tennis elbow – an unflattering injury on any geek.

/ No comments