phecht's blog

MongoDB startup

C:\node\nodetest1>mongod --dbpath C:\node\nodetest1\data\

Fixing Ubuntu install from 10.04 -> 10.10 -> 11.0

If faced with a grub prompt, I did these commands to fix it:

set root=(hd0,1)
linux /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
boot

after reboot:

sudo grub-install /dev/sda
sudo update-grub

Found in a comment here: http://aaron-kelley.net/blog/2011/04/grub-prompt-after-upgrade-to-ubuntu...

Mac OS X crashing Firefox, Chrome and Safari

While the browser lock ups that have happened since around April 19th, 2011 might not be solved by this, I haven't had a problem since I ran these 2 commands in terminal:

mv ~/Library/Preferences/com.apple.systemuiserver.plist fu.com.apple.systemuiserver.plist.fu

sudo mv /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist fu.com.apple.audio.coreaudiod.plist.fu

I moved the files, but the post I read said to just delete them.

Now I have looked and the /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist is still gone.

The ~/Library/Preferences/com.apple.systemuiserver.plist is back. It is now 82 bytes instead of 653.

This whole experience has made me realize that both Mac and Windows are unstable. Ubuntu is as well. But at least it is free!

I got it from this web page: http://problemresolved.wordpress.com/2009/09/12/slow-snow-leopard/

Sourforge links of the day

http://asymptote.sourceforge.net/index.html appears to be like graphviz.

http://homepage.mac.com/krmathis/ is where one can get a mac command line version on 7z.exe

If your monitor is rotated or sideways....

Converting SVN to Perforce

Luntbuild: Getting the right code

You can get the java installer easily at sourceforge or javaforge. You need SVN to get the source code. Since it is an open source project any joe can get the code. The instructions on http://sourceforge.net/svn/?group_id=113344 forgot the trunk part! This downloads every version of luntbuild ever! The key is to use the "trunk" as I do here:

svn --username anonymous --password anon co http://svn.javaforge.com/svn/luntbuild/trunk

notice the "trunk" at the end. I got "trunk/luntbuild/distribute/luntbuild-1.5.5dev-installer.jar" from the trunk branch "HEAD".

Syndicate content