Ruby on Rails + Sybase

Caveat: This adapter may only work with the enterprise edition of Sybase (i.e. Sybase ASE) not with SQLAnywhere (Sybase ASA) =gem install activerecord-sybase-adapter -s http://gems.rubyonrails.org = 1 2 3 4 5 6 ActiveRecord::Base.establish_connection( :adapter => "sybase", :database => "test", :host => "www.yourdbserver.com", :username => "kevin", :password => "test") Play!

Passwords, passwords

Default passwords for MSSQL, Sybase, and mySQL: , , , That's right.. All three have blank root / sa passwords by default. Talk about secure! That's the kind of knowledge that can come in handy.

Lisp on OSX

Just a link to a page.. Got me started with barely any trouble (just make sure you know how to read a .emacs file - I learned on the fly on his page, it wasn't too tricky). http://www.david-steuber.com/Lisp/OSX/

Installing the mysql gem on OSX

Taken straight from <a href="http://www.eclips3media.com/workshop/2008/10/installing-the-mysql-gem-on-os-x/">this blog</a> in a terminal.. First do a locate mysql_config and then replace the path in the following command with where that file is. $ sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config 1 2 3 Building native extensions. This could take a while... Successfully installed mysql-2.7 1 gem installed