CSS Selectors
by David Orkin on Jan.01, 2011, under css
Recently I switched the style in which I write css files. I used to write 1 line per attribute, which made for very long files. It may have improved readibility for a given entry but it made working with the overall file much more difficult. Totally enjoying the 1 line syntax.
Devils Unicorn?
by David Orkin on Dec.19, 2010, under Websites
As silly as it sounds, I can't remember when I the last time I wrote if statements, solely to generate laughs (or at least I hope a few chuckles
) So after reading an article over at In Lou We Trust that listed a unicorn as one of the few ways left to salvage the The New Jersey Devils season, I took up a challenge as a fan, and present to you what I hope is the begining to a drive towards a playoff spot.
New location for the mysql socket in Karmic Koala
by David Orkin on Nov.07, 2009, under Ubuntu, Ruby on Rails, 9.10 Karmic Koala
Just loaded up my development environment for one of my rails application, which I haven't used since I upgraded to Ubuntu 9.10 (Karmic Koala) to find that my application wouldn't run. Turns out that the mysql socket is now in /var/run/mysqld/mysqld.sock. Note: its not mysql.sock but mysqld.sock now. Anyways back to work...
Deploying to Staging and Production Environments via Capistrano
by David Orkin on Oct.26, 2009, under Ubuntu, Capistrano, Ruby
Ok, so I admit it. Im late to the game as far as using capistrano for deployment of my rails applications.
But I figured, today is a nice rainy day and a great opportunity to give this a shot. Below is the play by play for getting capistrano set up to work.
Im going to make some initial assumptions. First, you are using subversion.
Second, you want to be able to deploy to different environments, (in my case Staging and Production).
Third, you are using a shared hosting environment, using Phusion Passenger
Fourth, you are running your deployment for a linux machine. What follows below assumes Ubuntu in particular.
Fifth, and finally, you like reading verbose posts about technology on random blogs that you come across 'dem internet tubes.
So follow me inside, for more on deploying your ruby on rails application with Capistrano
Displaying Japanese in Adobe Reader 9.1.2 on Linux
by David Orkin on Oct.08, 2009, under PDF
Wanted to do a quick follow up post for those users who need asian languages to be displayed in Adobe Reader 9.1.2 for linux. The application will tell you to go to the Adobe Reader - Asian and Extended Language Font Packs page but you notice that at least at the time of this post that there is no option for Adobe Reader 9 in the adobe reader drop-down list and if you try to install from the Adobe Reader 8 files it won't work. Here is a link to the only site that I have found that has the asian font packs for 9.1.2.