Permanently remove Mac’s “Downloaded from Internet” warning

Posted: January 29th, 2012 | Author: | Filed under: OS X | No Comments »
defaults write com.apple.LaunchServices LSQuarantine -bool NO

Of course, you should know what you are doing.


Config Mac OSX Lion’s Samba share

Posted: January 27th, 2012 | Author: | Filed under: OS X | No Comments »

smb.conf no longer work. The actual configuration is stored at /System/Library/LaunchDaemons/com.apple.smbd.plist

To make Lion’s samba share follow symbolic link, you need to modify “ProgramArguments”
from:

<key>ProgramArguments</key>
<array>
     <string>/usr/sbin/smbd</string>
</array>
</code>

to:

<key>ProgramArguments</key>
<array>
     <string>/usr/sbin/smbd</string>
     <string>--no-symlinks</string>
     <string>false</string>
</array>

How to time machine

Posted: November 11th, 2011 | Author: | Filed under: OS X | No Comments »

http://blog.interlinked.org/tutorials/rsync_time_machine.html


Geektool Scripts – Geeklets

Posted: October 7th, 2011 | Author: | Filed under: OS X | No Comments »

CPU Usage.glet
Date.glet
Quote of the day.glet
Time.glet
Top Processes.glet
Weather.glet


ShiftIt build

Posted: October 1st, 2011 | Author: | Filed under: OS X | No Comments »

This is a build based on fikovnik’s version.

By pressing hotkeys you can resize any window to one of the 10 position/size combinations. Of course this is mac only.


Stop OSX creating .DS_Store on network mounts

Posted: September 20th, 2011 | Author: | Filed under: OS X, System | No Comments »

Type this in terminal:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

OSX: Remap Home/End keys

Posted: September 6th, 2011 | Author: | Filed under: OS X, System | No Comments »
# ~/Library/KeyBindings/DefaultKeyBinding.dict
{
/* Remap Home / End to be correct :-) */
"\UF729"  = "moveToBeginningOfLine:";                   /* Home         */
"\UF72B"  = "moveToEndOfLine:";                         /* End          */
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */
"$\UF72B" = "moveToEndOfLineAndModifySelection:";       /* Shift + End  */
}

This will make “Home”/”End” act like they are in Windows.