25 May 2008
I have loved justice and hated iniquity, therefore I die in exile.
I have loved justice and hated iniquity, therefore I die in exile.
Let me rather think about the things of God, so that my soul may be strengthened on its journey from exile to home.
If you speak of God, speak with love. If you speak of yourself, speak with love. Take care that there is nothing in you but love, love, love.
Rantastic!
— adjective. Something so fantastic, it deserves a good rant!
put it in your .bash_profile and smoke it:
$ echo "export GREP_OPTIONS='--exclude=*.svn*'" >> ~/.bash_profile
$ source ~/.bash_profile
$ grep -rl 'whatimlookingfor' src/
Perhaps we don’t need the movies. Perhaps the books come with the movie built in.
— Terry Pratchett, The Art of Discworld
I’m still drinking the Ruby Kool Aid, but when I have to PHP in my own well:
class User extends AppModel
{
var $name = 'User';
var $primaryKey = 'user_id';
var $useDbConfig = 'alternate';
}
Cake: easy as pie. :)
class User extends ActiveRecord
{
function init ($attributes = array())
{
parent::init($attributes);
$this->setPrimaryKey('user_id');
}
function setConnection ($dsn = null, $connection_id = null)
{
$this->_db =& Ak::db('mysql://user:password@localhost/alternate', 'usersalt');
}
}
Akelos: more like a PITA.