copy/move/alias
copy: drag+drop
move: command+drag+drop
alias: option+command+drag+drop
dragging the icon and not the text will prevent the word "alias" being appended to the end of the file
synergy and dual monitors
I want to have this setup on Ubuntu using synergy...
DUAL_MONITOR_SYSTEM_MONITOR-1 <-> SINGLE_MONITOR_SYSTEM <-> DUAL_MONITOR_SYSTEM_MONITOR-2
go to Monitor settings in ubuntu
change the position of existing dual monitors from A->B to B->A
now open up your synergy.conf file and make it look like this
section: links
right =
left =
left =
right =
end
dos2unix
it's been awhile since needing this and when I went to install it was gone. wtf
not really, it just changed a bit
install is easy
$ sudo aptitude install tofrodos
to convert from DOS to UNIX
$ fromdos FILE
to convert from UNIX to DOS
$ todos FILE
disable “application downloaded from the internet”
for a specific location:
$ xattr -d -r com.apple.quarantine ~/Downloads
for a specific location:
$ xattr -d -r com.apple.quarantine /Path/to/application/
globally:
$ defaults write com.apple.LaunchServices LSQuarantine -bool NO
$ killall -9 Finder
remove svn merge information
from workspace root...
svn propdel svn:mergeinfo -R
svn revert .
# if you have merges that happened at a lower level then issue a revert on them as well
svn ci -m "Removed mergeinfo"
paste buffer into file using cat
1) first issue the following command
$ cat > FILENAME
2) type whatever you want
-- or --
2) paste in a buffer then press ENTER to write the pasted buffer to the file
3) to complete the operation issue a CTRL+D to return to the console
fixing function keys on ubuntu + mac keyboard
issuing the following will make the function keys behave like normal
$ echo options hid_apple fnmode=2 | sudo tee -a /etc/modprobe.d/hid_apple.conf
$ sudo update-initramfs -u
$ sudo reboot
for more info see:
https://help.ubuntu.com/community/AppleKeyboard
syncing google contacts on iphone
Problem... my google contacts don't show up when I add my account on my iphone.
Solution... you're adding your google account using Gmail/IMAP not Exchange. In IOS4+ you can have multiple exchange accounts. Adding your google mail account to your iphone using Exchange will expose your contacts and allow you to sync on your iphone.
lock screen from mac menu bar
1) Launch “Keychain Access” located in /Applications/Utilities/
2) From the ‘Keychain Access’ menu, open Preferences
3) Select the checkbox next to “Show Status in Menu Bar”
Convert DMG to ISO
on your Mac, open a Terminal, and type the following
hdiutil convert /PATH/TO/SOURCE_FILENAME.dmg -format UDTO -o /PATH/TO/TARGET_FILENAME.iso