Random programming things I'd want to remember

Thursday, September 22, 2011

How to set Google Chrome's search engine to Google US English by default

Instructions are taken from here: http://www.google.com/support/forum/p/Chrome/thread?tid=581638f51350589b&hl=en
1. Go to Wrench > Options (Preferences on Mac) > Basics > Search > Manage
2. Select Add ("+" sign on Mac)
3. For "Name" and "Keyword," type whatever
4. For "URL," enter http://www.google.com/search?q=%s
5. Click O.K. 6. Select your new search engine from the list and click "Make default"
7. Click "Close"

Generate random text in Microsoft Word

If you type in =rand(10,10) in Microsoft Word, it will generate 10 paragraphs of text with 10 sentences in each paragraph. Looks like the text is coming from Word help files, but it is a great feature.

Thursday, September 15, 2011

How to make bootable USB flash drive with just Windows

diskpart
select disk 1
clean
create partition primary
select partition 1
active
format fs=fat32
assign
exit

xcopy d:\*.* /s/e/f e:\

From: http://www.techmixer.com/install-windows-vista-from-bootable-usb-flash-memory-drive/