Wetware » 2009 » December

Archive for December, 2009

Open remote application window over ssh – X11

You left the office but forgot to leave an application running.  An application that requires it’s GUI, you try to open it via ssh but “Error: Can’t open display” prevents you. Simple fix here, you will kick yourself. DISPLAY=:0 <command> for me this translated into DISPLAY=:0 transmission What this does is instruct the application to […]

Posted on December 29, 2009 at 8:18 am by Jordan Carter · Permalink · 2 Comments
In: Ubuntu Tricks · Tagged with: , , ,

Fetch Email Attachments with Ruby on Rails

This snippet is used in one of my projects to automatically import a csv into the database. It uses cron to check an email account via IMAP. When a unread email is found it will try to match it to subject lines in the database. If there is an entry it will attempt to import […]

Posted on December 28, 2009 at 8:34 am by Jordan Carter · Permalink · Leave a comment
In: Ruby on Rails · Tagged with: , , , , ,

Factory Farming Possibility in NZ

Get the full story and how to oppose the factory farming

Posted on December 8, 2009 at 1:34 pm by Jordan Carter · Permalink · Leave a comment
In: Uncategorized