Latest Tweet
- Dropped container of polynesian sauce on floor, fully-open side down. NOTHING CAME OUT. Chick-fil-A, champion of viscous sauces. 6 days ago
- More updates...
Categories
Tags
academia alcohol animals boyfriend cooking databases email forwards family Flickr food friends health Javascript Lexington Linux list Mario math movies music news OS X Perl PHP politics programming quizzes Rails rants reading Ruby screenshots shopping Sims sports themes tutorials Twilight is ridiculous vehicles video games videos weather Web development work zombies again-
Recent Comments
-
Random Quote
(00:53:26) Trinity: no way! i dont need rice in my butt crack and other places! Syndication
All posts RSS feed
Category Archives: Techy
sortable arrays of symbols in Ruby
I got this error in my Rails app because I was trying to sort an array of symbols: undefined method `' for :my_symbol:Symbol. I defined the spaceship method for the Symbol class and included the Comparable module in order to have other comparison methods available for symbols.
Ruby
class Symbol
include Comparable
def <=>(other)
[...]
games and finals
I’ve been playing American McGee’s Alice recently and seeing all the environments and their beautifully detailed textures again, especially with my new video card, has made me want them as wallpaper and flooring in The Sims 2. I remember for the original Sims game, I found a huge collection of Alice walls and floors [...]
C++ shell with forks and pipes
As an assignment for my operating systems class, we were to write a shell in C or C++. I'm putting my work here under the GNU General Public License v3 in hopes that it will be helpful for someone else, presumably some future student arguing with the C language, which I find infinitely frustrating to work with sometimes.
bought a Wii Fit
Well, Todd left for Ireland last night, and he should’ve arrived there sometime very early this morning, at least by Eastern Standard Time. I won’t see him for eleven days now, and I’m already kind of sad and missing him. My biggest worry whenever someone dear to me travels is that they’ll get [...]
Nintendo DS Lite
Just a short note to say that I bought a Nintendo DS Lite on Monday and have been enjoying the heck out of it since. I’ve bought two games so far: Mario and Luigi Partners in Time, and Super Princess Peach. Partners in Time has been my favorite because it’s like the [...]
I beat the Amazee Dayzee!
In Paper Mario for the Nintendo 64, which I’ve been playing on my Wii, there’s this creature called an Amazee Dayzee. It’s dead tricky to beat because it has 20 Heart Points, which isn’t much, but it usually runs away as soon as it gets the chance. I’ve been trying to beat the [...]
my Qbee PHP script
I'm a member of the Quilting Bee and I use a very simple PHP script I wrote for displaying my quilt. I figure someone else might get some use out of it, so here it is for your coding pleasure:
PHP
<?php
// The relative URL to the directory containing my patches
$img_dir = '/wp-images/qbee/';
// The patches [...]
Also posted in Programming Tagged PHP, programming 8 Comments Current music Frontier Psychiatrist by The Avalanches
Introduction to Web Design presentation
View PDF »
This is a very basic introduction on how to go about creating a web page. It was to last for about ten minutes and given to an audience of middle schoolers. See also the handout I made for them containing links to various resources.
code reports Rake task