Latest Tweet
- Downgraded to iPhone OS 3.1.3, upgraded to responsive 3G iPhone. :P 2 weeks ago
- More updates...
Categories
Tags
academia alcohol animals boyfriend cooking databases email forwards family Flickr food friends health Lexington Linux list Mario math movies music news OS X Perl photos 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
"Efficient government is a dictatorship."
— Truman Syndication
All posts RSS feed
Yearly Archives: 2007
roach v. spider
So I was sitting on my couch last night, coloring (yes, coloring, as in with Crayolas and a print-out of Disney’s Sleeping Beauty, darn it), when I felt something crawl across my leg. I thought immediately that it was a roach, because even though I’ve greatly reduced their numbers around here (thank you, boric [...]
.bash_profile
eval `/opt/local/bin/lesspipe.sh`
function dir_access_color {
local DIR="${1-$PWD}" COLOR=0
[[ -r "$DIR" ]] && COLOR=1 # red
[[ -w "$DIR" ]] && COLOR=2 # green
tput -S <<<$'bold\nsetaf '"$COLOR"
}
Posted in Config files Tagged Linux, OS X Leave a comment Current music Maria Jose by Federico Aubele
DefaultKeyBinding.dict
To make it more convenient for me to take clean notes, as opposed to notes filled with "x^2" and "y_j", I looked into changing the key bindings in OS X.
proofs and Yip Yips
The week is almost over and I’m very glad about that because I’ve had two exams to prepare for and stress over. My first was yesterday in logic and theory of computing, and it took the full hour and fifteen minutes for me, but I think I did okay. It involved a lot [...]
wedding fonts and turkey
Today has been a really pleasant day for the most part. I’m at Todd’s parents’ house and all the kids (ha, they’re all older than I am) are home, so we have a full house. I worked with Todd’s sister Sue today, helping her decide on a font to use for wedding invitation [...]
Designfruit wallpapers
These make use of the Japanese Foliage Photoshop brush set by Designfruit. I got permission from the brush set creator before posting anything using his brushes. Feel free to use these wallpapers to decorate your desktop, but I ask that you not redistribute them elsewhere, claim them as your own work, or [...]
Posted in Downloads Leave a comment
pink hair
Because I’m spontaneous, yesterday when I got my hair cut, I also had the underside dyed a deep pinkish-purple.
Photo 1
Photo 2 (my favorite)
Photo 3
Photo 4
I’ve never dyed my hair before, so you can bet I was nervous throughout all 3 hours and 45 minutes at the salon. Holy crap, I’ve never stayed at a [...]
Posted in Daily life 6 Comments
cell phone problems
In the back of a pickup truck, a girl was singing a Beyonce song and a group of us were standing around listening to her. I jumped into the bed of the truck and got a few plastic cable holders, which I then used to keep a bunch of cables together that were coming [...]
finding invalid foreign keys in Rails
Sometimes it would be useful to tell users of your Ruby on Rails application if there is a problem in the database, such as some foreign keys are invalid. As an example, let's assume you have two models, Book and Author, such that each Book has an author_id which connects with Author via its [...]
IBM swag and a roach-squashin’
I was trying to edit an old post, ‘PHP and forms’, this morning but I kept getting “Service Temporarily Unavailable.” Every time in the past that I have tried to edit that particular entry, I’ve gotten the same result. I don’t know if it’s Wordpress or Dreamhost or what, but it’s annoying as [...]
finals and Mario
I’m starting to feel the stress of encroaching finals, so that any time I’m relaxing in front of the TV or idly surfing the ‘net, I have in the back of my mind a worry that I should be doing something productive. I think all my classes this semester have finals, which is new [...]
using Ruby to rename files and edit their content
Recently at work, the web admin for the computer science department came into our lab and told us that my employer's site was broken. The admin had need to make all .php files not act as PHP scripts, and instead, all files with the extension .sphp would now run as PHP scripts. Since [...]
game beaten, test ahead
I just beat Super Paper Mario again. I started it Tuesday night with my dad as an audience and I’ve played it for several hours a day since then; it’s nice having that kind of free time. I played much better this time around than the last time I beat the game, knowing [...]
Paper Mario and Ruby programming
So I’m obviously not doing NaBloPoMo since I haven’t posted anything in about a week, but I do have kind of an excuse: I’ve been doing homework and saving Princess Peach, or trying to. I’ve got a calculus test tomorrow and I’ve been working like mad on my databases project, which is coming [...]
calculus test and sleepy quiz-taking
I just had my calculus test, and I really don’t know what to think of it. There were some problems I felt very confident about; others where I thought the right answer could be one of two things, so I wrote out both and finally chose one; and others that I had no idea [...]
vampire and zombie Sims
I bought The Sims 2 Nightlife Friday night and I’ve been playing it like crazy since then. I was very excited about the possibility of having vampire Sims, which was introduced in Nightlife, so I set about finding and then wooing one of the in-game vampires with one of my Sims. I was [...]
database project and dead week
My database project is past the “omigosh are we going to get it done in time??” stage and into the “what neat feature can I add next?” stage, which is a big relief. If you guys want to play with it, I have it here on 3till7.net. We’re doing a demo of it [...]
SVU and Mario
I just watched the best episode of Law and Order: Special Victims Unit ever! Or should I say, “evar!!!1″. It was the new one, ‘Paternity’, and so as not to ruin any surprises for those of you who watch the show, I’ll just hint at its goings-ons: Jaws of Life, baby, and [...]
ACM competition and Ruby/MySQL/OS X troubles