add multiple .vcf files to gmail
so the other day i had to import an address book from windows live mail into gmail. the issue was that every time i did an export from windows live mail, it would mess up the csv, so when gmail read it it imported all the email addresses and data into the notes field. however, gmail could import a .vcf just fine. so i exported all the contacts to .vcf format and dumped them into one folder. then ran copy /B *.vcf all_in_one.vcf. this copied all the .vcf’s into one file. i was then able to import the file into gmail no problem.
right click in ubuntu on the powerbook g4
wow. i never thought i would have to google how to right click using ubuntu on the powerbook.
apples powerbook touchpad has no middle or right mouse button – where this isnt a big problem using os x, in ubuntu it can generally be an issue.
after much googling i finally found that by default the mouse middle-click was f11 and the mouse right-click was f12. now these are mapped and can be changed by editing the /etc/sysctl.conf and mapping dev/mac_hid/mouse_button2_keycode and dev/mac_hid/mouse_button3_keycode to their corresponding key scan codes.
you can get the key scan codes by running sudo showkey then pressing the key or keys for which the scan codes are to be printed. to exit the key mapping software, press ctrl d.
mac keyboard shortcuts
| C | boot from cd or dvd |
| D | force the boot device to be the internal hard drive |
| T | start in firewire target disk mode – essentially turns your mac into a wicked expensive external hd |
| X | force boot into mac os x (older macs that dual-boot into os 9 and x) |
| N | boot from network drive |
| shift | hold after power-up to boot into safe mode, hold after login to prevent startup items from opening |
| mouse button | eject cd before booting normally |
| command-S | boot into single user mode; type exit when done |
| command-option-O-F | boot into the open firmware prompt |
| command-option-P-R | reset PRAM |
| command-option-V | verbose boot | command-option-shift-delete | bypass internal hard drive and boot from external drive or cd |
| option | shows the startup manager for all bootable drives |
| command-. | when startup disk chooser is active, open the cd tray |
‘all tasks’ in windows 7
you can run this using the run command, or access it via windows explorer address bar or create a shortcut. any way you do it will bring up a massive list tasks for windows 7. it was originally developed by the windows developers to show search results, so whenever you search for something in the control panel, this page is searched.
here it is -
shell:::{ED7BA470-8E54-465E-825C-99712043E01C}
fat32 in the fstab
to mount a fat32 to the users group and a user:
/dev/sda3 /home/michael-pass/fat32 vfat users,gid=users,umask=0002,uid=1000 0 0
install virtualbox on ubuntu server 11.04
i did this all on a ubuntu 11.04 server virtual machine inside of an ubuntu 11.04 host.
open /etc/apt/source.list in your favorite editor and add the following line
deb http://download.virtualbox.org/virtualbox/debian natty contrib
get the virtualbox public key
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
update the package database
sudo apt-get update
now install virtualbox 4
sudo apt-get install linux-headers-$(uname -r) build-essential virtualbox-4.0 dkms
download and install the extension pack (this is required since virtualbox outsourced some funcionality)
cd /tmp/
sudo wget http://download.virtualbox.org/virtualbox/4.0.8/Oracle_VM_VirtualBox_Extension_Pack-4.0.8-71778.vbox-extpack
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.0.8-71778.vbox-extpack
add user to vboxusers group
sudo adduser mike vboxusers
now virtualbox is installed and ready to use. the next posts will be on configuring and using virtualbox via the command line and managing your vms via phpvirtualbox
grep equivalent in dos
in the linux world, we can always grep a command. today i needed to be able to do the same thing in dos.
help find
Searches for a text string in a file or files.
FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] "string" [[drive:][path]filename[ ...]]
/V Displays all lines NOT containing the specified string.
/C Displays only the count of lines containing the string.
/N Displays line numbers with the displayed lines.
/I Ignores the case of characters when searching for the string.
/OFF[LINE] Do not skip files with offline attribute set.
"string" Specifies the text string to find.
[drive:][path]filename
Specifies a file or files to search.
If a path is not specified, FIND searches the text typed at the prompt
or piped from another command.
so, for example, if you wanted to find just the system model of a pc using systeminfo, you would type to following:
systeminfo | find /i "system model"
&
it can also be used with netstat
netstat -ano | find /i "80"
reset mac os x password
there are tons of guides out there on this topic. this is just here so i can get to it faster.
reset 10.5 leopard & 10.6 snow leopard password
- power on or restart your mac.
- at the grey screen hold down
command+son your keyboard to enter single-user mode - it’s a good idea because it checks the consistency of the hard disk before moving on. at the prompt, type
fsck –fyand press enter. wait for the checks to complete before going to the next step. - type
mount -uw /and press enter - type
launchctl load /system/library/launchdaemons/com.apple.directoryservices.plistand press enter. - type
dscl . -passwd /users/username passwordand replace “username” with one of the users displayed in the previous step. replace “password” with a new password of your choice. press enter. - reboot
reset 10.4 tiger password
- power on or restart your mac
- at the grey screen hold down
command+son your keyboard to enter single-user mode - type
sh /etc/rcand press enter - type
passwd usernameand replace “username” with the short name of the user account for which you’d like to reset the password - type your desired password and press enter
- reboot
helpful wow sites
epic enchants
epic enchants is a great site for going over all the enchants in the game. it is not limited to just the enchanting recipes, it also includes all the other professions, as well as the various rep required enchants.
wow gem finder
i know i have posted this here before, however, it is absolutely worth mentioning again. i have yet to see a better site dedicated to wow gems.
wow professions
i dont know to many people who dont use this site for help with there professions. it is incredibly detailed for every profession.
google chrome in slackware
i am a diehard google fanboy. so i finally decided to make the switch to using chrome over firefox. dont get me wrong, firefox is amazing and i will still continue to use it for testing and such. however, chrome is waaaay better.
i am using slackware 13.1 for this, so all the slackbuilds links will be for 13.1.
download and install the ORBit2 slackbuild
download and install the GConf slackbuild
download and install the google chrome slackbuild
and you should be all set to use chrome in slackware!

