Category Archives: Techy

Programming! Also Linux, web design, hardware… But mostly programming.

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.
Also posted in Config files, OS X | Tagged | 1 Comment

.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" }
Also posted in Config files | Tagged , | Leave a comment | Current music Maria Jose by Federico Aubele

Grub Error 17

Note: if this tutorial doesn’t help you, possibly because fdisk reports your known Linux partition correctly as Linux, you might also try my Grub Error 13 with Grub Error 17 tutorial. I just had an interesting time with trying to boot into Linux on my PC. Last night, I noticed my /boot/grub/menu.lst file had [...]
Also posted in Linux | Tagged , , | 21 Comments

using Javascript and CSS to mark outgoing links

It may be useful to your visitors to know which links will take them off of your site without having to hover over all of them. It might also be a nice touch to mark links pointing to PDF documents, for example, with a little Adobe PDF logo. With the help of Javascript [...]
Also posted in Programming | Tagged , , , , | 3 Comments | Current music The Way I Are by Timbaland

using AJAX to implement a live search

I recently implemented a live search on the quotes page, so I figured I'd give a tutorial on how I did it. A "live" search is like a regular search feature, but if the user has Javascript enabled, the search will run as they type, instead of waiting for them to hit the 'Submit' [...]
Also posted in Programming | Tagged , , , | 1 Comment | Current music Beautiful Liar by Beyonce and Shakira

good sites for slow connections

Put a limit on my bandwidth and I go all dumb about what to do online. You know how you see guides for fun things to do on a low budget? There need to be such guides for Internet users on dial-up connections. Heck, that’s not a bad thing for me to [...]
Posted in Techy | Tagged | 2 Comments | Current music Jaded by The Crystal Method

using AJAX to spiff up a gallery

Lightbox is nice and all, but sometimes I find it clunky, particularly in Firefox when I have a lot of other tabs open. However, I don't want to go the route of having an image load by itself in the browser, because it would be so much nicer to have it integrated into my [...]
Also posted in Programming | Tagged , , , , , | 6 Comments

how to reformat your pen drive

USB pen drives are everywhere these days, and for good reason, since they’re dead useful. I use mine with my Linux box, my Powerbook, and various other systems I’ve had cause to stick it in. After a while, my 1 GB drive was only holding a few hundred MB. When I would [...]
Also posted in Linux | Tagged , | 10 Comments

too little time for programming

I tell you, I just don’t have enough time to do everything I want to, which is a very common lament, I’m sure. I’ve been working on this project called Moola Tracker for my own use, and Todd’s as well, with these specs: Easily add expenses and income, noting the location I spent money or [...]
Also posted in Daily life | 2 Comments | Current music Toxicity by System of a Down

the ease of Linux with a focus on Ubuntu

3till7.net had some excitement yesterday because a post from 2005 got Dugg, and is also garnering a lot of hits from StumbleUpon. I find this funny because it’s such an old post but also because the content is just an email my dad sent me about how all these different companies use Linux. [...]
Also posted in 3till7.net, Linux | Tagged | 8 Comments | Current music Numb by Portishead