Sign up to create your own snipts, or login.

Public snipts » os x The latest public os x snipts.

showing 1-6 of 6 snipts for os x
  • copy + drag mac
    hold option and drag a file within finder to COPY the file, not move it. 
    

    copy | embed

    0 comments - tagged in  posted by titanium_geek on Mar 02, 2010 at 10:32 p.m. EST
  • using mamp in the os x terminal
    export PATH=/Applications/MAMP/Library/bin/:/Applications/MAMP/bin/php5/bin/:/opt/local/bin:/opt/local/sbin:$PATH
    

    copy | embed

    0 comments - tagged in  posted by stipsan on Feb 09, 2010 at 5:48 a.m. EST
  • set office legacy formats
    #!/bin/sh
    for i in /Users/*
    do
      echo "$i"
      if [ $i == "/Users/Shared" ]; then
    	echo Skipping "$i"
    	continue
      fi
      defaults write "$i"/Library/Preferences/com.microsoft.Word "2008\\Default Save\\Default Format" "Doc97"
      defaults write "$i"/Library/Preferences/com.microsoft.Excel "2008\\Default Save\\Default Format" -int 57
      defaults write "$i"/Library/Preferences/com.microsoft.Powerpoint "2008\\Default Save\\Default Save\\Default Format" "Microsoft PowerPoint 98 Presentation"
      defaults write "$i"/Library/Preferences/com.icrosoft.autoupdate2 HowToCheck "Manual"
      defaults write "$i"/Library/Preferences/com.microsoft.office "2008\\FirstRun\\SetupAssistCompleted" -int 1
    done
    exit 0
    

    copy | embed

    0 comments - tagged in  posted by chemxboy on Aug 28, 2009 at 1:57 p.m. EDT
  • Turn off Leopard's 3d dock
    defaults write com.apple.dock no-glass -boolean YES
    killall Dock
    

    copy | embed

    0 comments - tagged in  posted by binbasti on Jan 06, 2009 at 8:17 p.m. EST
  • Text filter for Twitterrific
    defaults write com.iconfactory.Twitterrific tweetTextFilter -string 'blip\.fm'
    

    copy | embed

    0 comments - tagged in  posted by binbasti on Dec 25, 2008 at 8:13 a.m. EST
  • compile php extension on Mac Pro 64-bit OS X Leopard
    sudo su
    cd /SourceCache/php-5.2.6/ext/APC/
    phpize
    MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os  -pipe -no-cpp-precomp" CCFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os  -pipe" CXXFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os  -pipe" LDFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -bind_at_load" ./configure --target=x86_64
    make
    make install
    
    cd /usr/lib/php/extensions/no-debug-non-zts-20060613/
    sh-3.2# file apc.so 
    apc.so: Mach-O universal binary with 4 architectures
    apc.so (for architecture ppc7400):	Mach-O bundle ppc
    apc.so (for architecture ppc64):	Mach-O 64-bit bundle ppc64
    apc.so (for architecture i386):	Mach-O bundle i386
    apc.so (for architecture x86_64):	Mach-O 64-bit bundle x86_64
    

    copy | embed

    0 comments - tagged in  posted by mik on Dec 19, 2008 at 9:32 a.m. EST
Sign up to create your own snipts, or login.