phecht's blog
Fixing Ubuntu install from 10.04 -> 10.10 -> 11.0
Submitted by phecht on Tue, 2011-07-26 18:12If 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
Submitted by phecht on Wed, 2011-05-11 22:26While 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
Submitted by phecht on Sat, 2008-12-13 12:11http://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....
Submitted by phecht on Thu, 2008-02-07 11:41You should look at this link:
http://internetducttape.com/2006/08/01/stupid-windows-features-monitor-d...
Converting SVN to Perforce
Submitted by phecht on Sun, 2008-02-03 15:22http://public.perforce.com:8080/public/perforce/utils/svn2p4/?ac=83
The above link is to a svn2p4 conversion.
Luntbuild: Getting the right code
Submitted by phecht on Sat, 2008-02-02 23:36You 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".
