This file contains hidden or 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
## Run using GNU bash | |
sh .\atom_package_reintsall.sh |
This file contains hidden or 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/bash | |
defaults write com.apple.dock ResetLaunchPad -bool true; killall Dock |
This file contains hidden or 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
/** | |
* Solutions to questions at {@link http://toys.usvsth3m.com/javascript-under-pressure/ } | |
*/ | |
// Ans 1 | |
function doubleInteger(i){ | |
return i*2; | |
} | |
This file contains hidden or 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/bash | |
## To get the list of files modified during a certain periodin SVN | |
## original syntax: svn diff <url> --summarize -r {2012-03-24}:{2012-06-22} > ~/Documents/log.txt | |
## e.g. ./ThisFilesName <url> {date1}:{date2} | |
echo "Getting modified files during" $2 "to" $3 "in" $1 "..." | |
svn diff $1 --summarize -r {$2}:{$3} > log_$2_$3.txt |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" | |
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<false/> | |
<key>Label</key> | |
<string>com.edb.launchd.postgresql-9.1</string> | |
<key>ProgramArguments</key> |