This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[~]: cd ~/InstaDMG/ | |
[~/InstaDMG]: svn update | |
At revision 453. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /path/to/Users | |
sudo mkdir .TemporaryItems | |
chgrp staff .TemporaryItems | |
chmod 1770 .TemporaryItems |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo blkid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace Icon with the name of the file you wish to ignore | |
ls | grep -v 'Icon' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
killall "PrinterProxy" "Printer Setup Utility" "cupsd" 2>/dev/null | |
sleep 1 | |
rm -rf /etc/cups/printers.conf* \ | |
/etc/cups/ppds.dat \ | |
/etc/cups/ppds/* 2>/dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
display dialog "Are you sure you want to cancel ALL of the print jobs in the print queue?" buttons {"Yes", "No"} default button 2 with title "Cancel Print Jobs" with icon alias ((path to startup disk) & ¬ | |
"Library:Scripts:NCS:PrinterScripts:PrintFaxPref.icns" as string) | |
if button returned of result = "Yes" then | |
set AdminUser to "YOUR ADMIN ACCOUNT" | |
set AdminPass to "ADMIN PASSWORD" | |
do shell script "cancel -a -" user name AdminUser password AdminPass with administrator privileges | |
display dialog "All jobs have been cancelled" buttons ["OK"] default button 1 with title "Cancel Print Jobs" with icon alias ((path to startup disk) & ¬ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
networksetup -setproxyautodiscovery "Wi-Fi" on | |
networksetup -setproxyautodiscovery "Ethernet" on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults write com.apple.appstore ShowDebugMenu -bool true | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/bin/chmod 754 "/Applications/App Store.app" | |
/usr/bin/chflags hidden "/Applications/App Store.app" | |
/bin/chmod 755 "/Applications/App Store.app" | |
/usr/bin/chflags nohidden "/Applications/App Store.app" |
OlderNewer