HunterDavis.com

Calorie Counter for Game Boy Advance and Nintendo DS

Ok,

Read More...

Halloween 2008 - King Me

Ok so here’s a hilarious photo from Halloween 2008. If you like it as much as I did, feel free to buy a mug at my cafepress store. I make no profit from anything sold, just the thought of that photo being out there is hilarity itself. King Me!

Read More...

The Live For Free Philosophy -- http://liveforfree.net/

So I’ve started a new website. Live For Free Originally I had planned for these articles to go into a book, but after 20 or so articles it became clear that the scope of a book is not great enough to encompass all that I have learned, or would like to learn.

Read More...

I have cured my own sleep paralysis, and you can too.

I no longer fear waking. My entire life, I have dealt with sleep paralysis. If you don’t know, sleep paralysis is a condition where you wake, terrified, unable to move. Wikipedia has a good article on it, as usual. I just learned to live with it up until a few years ago. I was living with my future wife, who would see me hyperventilating, and shake me awake. At this point, I was just happy I didn’t have to lay there in fear. Time passed, and I began to feel bad for those who didn’t have wives to wake them up. I also worried it would happen on a business trip or vacation. The answer, as usual, was staring me right in the face.

Read More...

Food (and diet) management for the unix geek, a python script

For many a scientist like myself, the pear-shaped waistline which has become synonymous with the unix guru has become all too familiar. While there are a number of mitigating factors, I’m going to chalk it up to the sedentary lifestyle of the typical programmer. A study posted on Digg last week showed that on average, dieters who kept a food journal lose twice as much weight as those who don’t. That’s a pretty powerful tool. Carrying around a notepad doesn’t make a lot of sense for me, as I’m almost never without my laptop, so I’ve been keeping a csv spreadsheet like below: <br></br> 07:53 ,oatmeal , 160<br></br> 07:55 ,water , 000<br></br> 10:40 ,kudos , 100<br></br> 10:40 ,water , 000<br></br> Which is fine. It accomplishes what needs to be accomplished, with regards to the diary at least. However, I would like some statistics with my diet. How many calories do I have left in the day, how many glasses of water, how many calories did I eat at lunch, etc. These little statistics and calculations really drive home the message. I always keep today’s .food file on my desktop, and I have my .bashrc set up to show me my dietary information whenever I login or open a shell like so:

Read More...

Half a line of shell to display to screen while compressing output... The most useful shell I've written in forever

Ok, so here’s the deal. I write a lot of C in my line of work, so when I get the chance to write some clever shell script, I relish it. I do a lot of long supercomputer simulations, which tend to be hard to debug (especially when a problem arrises 3 days into a 4 day run). This is where logfiles come in handy, I know I’m not alone in this. Unfortunately, for really long runs these logfiles can add up to hundreds of gigs of space, which is a hard to come by commodity on supercomputing clusters. I found numerous solutions online, all of them tending to be long and overly complex shell scripts… No thanks!, when I want something done on shell it needs to follow the shell paradigm, small and powerful.

Read More...

Super Simple RSS - SSRSS

Super simple rss is a program designed to make the creation and editing of rss feeds easier for new users. It has since been taken over by a group over at sourceforge. Grab the latest version at ssrss.sourceforge.net

Read More...

Title Bar Scroller

Titlebar scroller was a little program, surprisingly popular in japan, for scrolling books across any window titlebar. Snag it with random feature

Read More...

Snesaver - Zsnes screen saver for linux

Tagged: snes-roms-screensaver

Ok, so here’s a fun bit of perl code I wrote last night. It’s called snesaver, and you can download it here. Here’s how it works,

Read More...

Easy Execution Library - c++ class library for spawning processes

Easy Execute – An extremely easy to use C++ library for spawning processes and executing arbitrary commands. This library is intended for developers who wish to simply execute some command, without worrying about the underlying fork/exec/system calls, string parsing, setting up timers, recording the run time of the command, etc. This library makes it all completely plug and play. GPLv3.

Read More...

Page: 49 of 51