I should probably actually announce surl… Anyway. I did some reading and hacked up a little plugin to make Twitter Tools use my URL shortener, surl Hopefully it works. It’s kind of unfortunate, since I have to post to test, and I really don’t want all my test posts going out to Twitter, and yet they have to… EDIT: Yay it works. Win! And here’s the code:
Verbose Logging
software development with some really amazing hairruby-openid IOError with Passenger
The ruby-openid gem was giving me problems with Passenger, causing IOError problems. I found the fix here The gist of it? Add To environment.rb, and you’re good!
Read the full article
32 Rack Resources to Get You Started
My, what a nice rack you have. Rack is what Sinatra runs on, and it’s just a great interface for webservers. Here’s some brain food. 32 Rack Resources to Get You Started
Read the full article
RSS fun with Feedzirra
Sometimes, checking RSS feeds is boring. Sometimes you just want to grab a picture or whatever from each item. For that, there’s ruby. Oh and feedzirra. There is an RSS feed I read, except it’s more of a picture feed and I just want to grab the pictures from it, and doing this through Google Reader is no fun. That’s where ruby and feedzirra come in. feedzirra is a ruby gem for dealing with RSS feeds. It’s got a great interface and just works. ...
Read the full article
Compiling ruby-gnome from scratch
If you go download the ruby-gnome stuff, and GTK fails to compile, it’s easy to fix. It whines about some defines, and you can just comment out the block that’s causing the problem.
Read the full article
Surl, now with 100% more Ubiquity
My URL shortener, Surl, which is located here now has Ubiquity support. Hit the page, and if you have Ubiquity installed for Firefox, it will recognize the command and you can subscribe to it. In Ubiquity, you can then use ‘s.darkhax’ (which will complete sooner due to the fact that there aren’t many commands with a dot) to shorten URLs. It replaces the highlighted URL and copies to the clipboard. Check it out! Surl
Read the full article
intoDNS, a DNS Tools replacement
intoDNS replaces DNS Tools, which used to be free, then became pay for, but now looks like it’s back to being free, but whatever. intoDNS provides a bunch of nice information, and seems quite useful. Check it out. intoDNS
Read the full article
Make Eclipse not suck on Ubuntu 8.10
I don’t know if this is a problem on Jaunty anymore, but whatever. I had to do this on 8.10 to get Eclipse to actually run and function properly. In a word: printing. In more words: disable it. Who prints from Eclipse anyway? Add this as a vmarg in your eclipse.ini -Dorg.eclipse.swt.internal.gtk.disablePrinting The long story: When I was at school, my Eclipse instance just would not start. Well, scratch that. A blank workspace would start fine...
Read the full article
git things I always forget
Create a branch locally, and push it to origin: git checkout -b branchname git push origin branchname Get at that branch from elsewhere: git checkout -t -b branchname origin/branchname
Read the full article
POP Moved to Heroku
Adam Wiggins hooked me up with the Heroku stuff (and by hooked up, I mean I emailed Heroku support and he enabled the services for me), and so I moved my professional online presence to be hosted on Heroku. The URL is the same as before (http://www.darkhax.com), but now it should be just a bit snappier, and easier for me to deploy to. If you haven’t at least checked out Heroku by visiting the site, do so now.
Read the full article