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
mkdir -p test/subdir/x{86,64}/{gnome,openbox}/config |
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
for d in {00..13} | |
do | |
mkdir $d | |
for f in {000..100} | |
mkfile 100m $d/$f | |
done |
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
find sourcedir -type f -print0 -exec cp {} targetdir \; |
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.sublimetext.2 ApplePressAndHoldEnabled -bool false |
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 -g ApplePressAndHoldEnabled -bool false |
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
Mac OS X 10.7 and 10.8 | |
sudo killall -HUP mDNSResponder | |
Mac OS X 10.5 and 10.6 | |
dscacheutil -flushcache |
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
ssh-keygen -R hostnameORip |
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
# to run this script, execute .\EmptyFolders.ps1 -path "path\to\search" -output "path\to\outputfile.txt" | |
# if output is not supplied, the file is created in the current working directory | |
# | |
# to run unsigned powershell scripts that were created on your local computer, run the following command in PowerShell (Run as administrator) | |
# set-executionpolicy remotesigned | |
# | |
# to completly disable signture checks, run | |
# set-executionpolicy unrestricted | |
param ( |
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
find . -type f -name "*.java" | xargs vim +"argdo set bomb | set fileencoding=utf-8 | w" | |
find . -type f -name "*.java" | xargs vim +"argdo set fileencoding=utf-8 | w" |
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
/usr/libexec/java_home -v 1.7.0_45 --exec javac -version # http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html |
OlderNewer