Monthly Archive:: December 2005

Ruby: I am stuck with OS X Tiger (10.4) Ruby problem and can’t install mysql gem

I have followed the step from but I get the following error: mv /usr/local/lib/libreadline.a /usr/local/lib/libreadline.old/usr/bin/install -c -m 644 libreadline.a /usr/local/lib/libreadline.atest -n “ranlib” && ranlib /usr/local/lib/libreadline.amv /usr/local/lib/libhistory.a /usr/local/lib/libhistory.old/usr/bin/install -c -m 644 libhistory.a /usr/local/lib/libhistory.atest -n “ranlib” && ranlib /usr/local/lib/libhistory.atest -d shlib || mkdir shlib( cd ...Read More

MySQL: Display permissions on different databases

mysql> select Host, DB, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Alter_priv from db; +-----------+-------------------+-------+-------------+-------------+-------------+-------------+-------------+-----------+------------+| Host | DB | User | Select_priv | Insert_priv | Update_priv | Delete_priv | Create_priv | Drop_priv | Alter_priv |+-----------+-------------------+-------+-------------+-------------+-------------+-------------+-------------+-----------+------------+| % | test | | Y | Y | ...Read More

Vim: xml and html auto tag completion

Downloaded the ftplugin from here: (pointed to by here: copied the file to ~/.vim/ftplugin/xml.vim at this point XML completion works (.xml files) but html does not. once the plugin was triggered and installed witha deleteme.xml file, I followed the instruction at did ...Read More