Jun 21

Just a note for myself to log when it happened… I found a competitor to the new site we’ve been working on and they are doing lots of things we have already planned. Competition’s good though - keeps you on your toes. (if you’re lost, don’t worrry - none of this will really make sense to anyone but me)

Apr 09

I happened to visit NerdyShirts tonight at just past midnight EST and saw they were having a $1 sale! I picked up two Don’t Hate The Player tees and one (misprint) Free Hugs tee. $3 plus $8 shipping so $11 total for three t-shirts! SWEET!

donthatetheplaya_browse_0.jpg

misprint_hugs_browse.jpg

Mar 31

When using a plugin in Firefox to get the XPath of an item, be aware that Firefox inserts tbody tags into the source. So, if you get an XPath like

/html/body/div[@id='content']/table/tbody/tr/td[1]/div/table/tbody/tr/td[1]/table/tbody/tr[2]/td[3]

Do a View Source in Firefox and see if the tbody tags are actually in the source or not. If not, remove the tbody tags in the XPath then the modified XPath will work with Hpricot.

Tags: , ,

Feb 29

Wow. My candy blog was linked from BusinessWeek today!

Tags: , , ,

Feb 27

Haven’t fully finished tweaking the theme yet, but check out my latest site: GeekCrafts.com. I’ve got a great writer named Shayne that’s gonna be writing for it. We kick it off in earnest this weekend.

Tags: , , , , , , , ,

Feb 25

I finally broke down and bought a nice used PSP today (even though I already have a GP2x). Fun fun!

Jan 19

I couldn’t find a good simple explanation of this online, I had to look at some examples and figure it out so I thought I’d post this for myself and others. Here is how to get all links on a page using Hpricot:


  def get_links(doc)
    urls = []
    unfiltered_links = (doc/"a")
    unfiltered_links.each { |alink|
      urls < <  alink.attributes['href']
    }
    return urls
  end

Tags: , , ,

Jan 12

compaq laptop

On December 30, I bought a Compaq Presario F732NR laptop from Officemax for $549. My desktop had died a few months ago and I was tired of using my work laptop at home (it SUCKS). 3 days ago, I saw that it was now on sale at OfficeMax for $499. I took my receipt to OfficeMax on the 14th day after I bought it and they happily refunded $50 to me. I was amazed. No trouble, no problem. Just $50 back. (It’s $679.99 now) Thanks, OfficeMax!

So far, I am happy with the laptop, I just need to get rid of Vista…. I have found other people that successfully installed XP on it. I’ll probably make it a dual boot XP and linux machine.

Tags: , ,

Jan 09

gyo_1up_mushroom.jpg
These should be so easy to make. I might try it this weekend. Would look great in my cube and would make a great gift.

Buy it at ThinkGeek (they are out of stock) or wait for my instructions to build your own :)

Tags: , ,

Nov 07

UPDATE: I found an even better way to download music from Seeqpod - use sadsteve.com - it has the ability to download built into the site. I use it all the time and never use Seeqpod any more. Give it a try.

So, there’s this site called SeeqPod that allows you to play just about any song you can think of but doesn’t allow you (easily) to download them. So, I fired up Firefox and used the LiveHTTPHeaders addon to see what was going on. Sure enough, the URL to the file is there, but it’s somewhat of a pain to get to and download the file. So, I saw another URL go by with /api/ in it. I poked around and figured out a pretty easy way to use it to download songs. Here’s how:

First, you’ll want to have the linkification plugin installed in Firefox. One of the things it does is make URLs in XML clickable. We need that functionality. Once you have it installed, do this:

Bookmark this link in Firefox (don’t click it, just bookmark it - there is nothing interesting there yet). Now edit the bookmark and change the CHANGETHIS to %s and put in something for the keyword. I used sp for seeqpod.

Now, suppose I want Weird Al’s White and Nerdy song…. I just type
sp white nerdy
in Firefox and I get an XML document with links to the song. With the linkification plugin, I can just double click on the URL and it will download the song for me.

This trick will work in IE, you just have to do some of this by hand (the initial search, copy paste the MP3 URL, etc). It’s just much easier with Firefox.

If this news gets out, I expect Seeqpod to change the way they do things pretty quick so enjoy it while you can - not sure why I’m even sharing this. if someone were really motivated, you could write a plugin that gives you a webpage full of links or download the first hit automatically or something - again though, they will probably close this loop soon now. If you liked this article, check out the original article I did that discussed most of these techniques:
How to find and download hidden music from websites.

Tags: , , , , ,