jeremy suriel - tech notes
software: Widget Platform, Facebook Notifier
Burning .dmg to disk - not enough space
I had a problem where i had a 580mb dmg and wanted to burn to 700mb CDR… For some reason, Disk Utility prevented me from burning saying that the disk size wasn’t big enough. I ran the following command on a folder with the .dmg file and it converted it to an .iso. Disk Utility then allowed me to burn to the same CD:
hdiutil makehybrid -o isofilename folderwithdmg
This should create isofilename.iso which you should be able to burn with disk utility.
1 year agoSince pagination has been removed from the rails 2.0 core framework, will_pagination plugin looks like a great alternative:
- http://errtheblog.com/posts/69-paginatin-christmas
- http://agilewebdevelopment.com/plugins/will_paginate
1 year agoInstalling mysql on leopard
- download and install mysql. do not run the preference or the startup packages.
(if you’ve already installed, right-click/remove the preference pane and run sudo rm -R /Library/StartupItems/MySQLCOM)
- put mysql in your path:
put this into your .bash_login
export PATH=”/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH”
export ARCHFLAGS=”-arch i386″
- change root mysql password:
mysqladmin -u root password NEWPASSWORD
- If you need to access mysql through rails, install the mysql gem
sudo gem update —system
sudo gem update
sudo gem install mysql — —with-mysql-config=/usr/local/mysql/bin/mysql_config
1 year ago