Latest Tweet
- Remember folks: the blue mini neon sour gummi worms are best. 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
Art is the imposing of a pattern on experience, and our aesthetic enjoyment is recognition of the pattern.
— A.N. Whitehead Syndication
All posts RSS feed
Tag Archives: tutorials
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 [...]
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 [...]
Posted in Programming Also tagged CSS, Javascript, programming, Web development 4 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' [...]
Posted in Programming Also tagged AJAX, Javascript, PHP 1 Comment Current music Beautiful Liar by Beyonce and Shakira
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 [...]
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 [...]
XGL/Compiz customizations on Ubuntu
So I’ve got XGL/Compiz up and running and, I must say, it is hot. See the full entry for screenshots of what I’ve done so far.
That’s the cube as I’m rotating it. That’s a photo of the city of Baltimore in the background with the capital dome on top of the cube.
That’s the [...]
custom shapes in Photoshop
Custom shapes can be very useful for making multiple objects that look the same. For example, say you want several photos to all be cut out of the same shape, like this:
Creating a Custom Shape
Create a blank 200 pixels x 200 pixels image. Select the Rounded Rectangle Tool and set its radius to [...]
Posted in Techy Also tagged Graphics, Web development 2 Comments Current music They Dance Alone by Sting
image generation in PHP
Creating images on-the-fly can be a very useful skill. Using PHP's built-in image generation functions, it's pretty easy, too. This tutorial will detail how to have the titles of blog entries show up as automatically generated images.
What we'll be doing is passing arguments via the URL to a separate file that will be [...]
Grub Error 13 and 17 together