Tag Archives: Ruby

Automated Virtue

Sometimes all you need is a nudge.
Posted in Dev, Hacks, Ruby | Also tagged , , , | Leave a comment

The Magic Ruby vs the Url of Excel: a short story with long code

Once there was a hacker who needed to rescue a beautiful princess from her prison on a creaking ship moored in the middle of the sky.   He made it onto the noisy old ship, slipped past the guards and tiptoed down the swaying halls to the room where she wept, chained to an excel spreadsheet.
Posted in Hacks, Ruby | Also tagged , , , | Leave a comment

LibraryDroid tracks your books

Here’s me: I have an android phone, I can program, I use LibraryThing for tracking my books. Here’s how those things come together.
Posted in Dev, Hacks, Python, Ruby, Software | Also tagged , , , , , | 12 Comments

Using Ruby for command line web lookups

Common Problem You frequently have to look up customer information on the company website.  Firing up a web browser takes time and invites you to start dawdling away on facebook and such.  If only anyone in the company had bothered to write a decent webservice or command line utility to look up customer information. Find [...]
Posted in Dev, Ruby | Also tagged , , , , | Leave a comment

How to get Ruby Gems to work behind the corporate firewall

This is just a note to remind me.  Ruby and ruby gems don’t automatically pick up on your proxy information in IE.  Instead, find out the proxy and set the following environment variables. in windows:  set http_proxy=http://user:password@internalcorporateproxy.com in cygwin/unix: export http_proxy http://user:password@internalcorporateproxy.com
Posted in Dev, Ruby | Also tagged , | 2 Comments

Recent Nerdery

I drew my whole apartment on google sketchup in order to settle a discussion with my partner Sam over where we should move some chairs and tables.  Sadly, it did not help. Due to a nasty twitter post, I had to write up rot13 in ruby – which is of course hot. #ruby on rot13 [...]
Posted in Dev, Pals, Ruby | Also tagged | 3 Comments

The beauty of Ruby’s array subtraction operator

Today I had to a set of email addresses, one per line, from which I had to remove the addresses of folks that said “Don’t email me.” Those emails were in a separate file, one address per line. I figured I’d have to do this again, so I wrote a ruby script to automate it. [...]
Posted in Dev, Ruby | Also tagged , | 2 Comments
  • Categories

  • Old Posts