⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
<style> | |
.watch-dancing-psy { | |
background: url(http://s.ytimg.com/yts/img/logo_dancing_psy-vflsJl9hC.gif) no-repeat -73px 1px; | |
width: 20px; | |
height: 30px; | |
margin-top: 0px; | |
} | |
</style> | |
<img class="watch-dancing-psy" src="//s.ytimg.com/yts/img/pixel-vfl3z5WfW.gif"> |
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
# Show Mac download log file contents | |
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEvents* 'select LSQuarantineDataURLString from LSQuarantineEvent' | |
# Clear Mac download log file contents | |
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEvents* 'delete from LSQuarantineEvent' | |
# Remove default | |
defaults write com.apple.LaunchServices LSQuarantine -bool NO |
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
{ | |
"cmd": ["/Users/damiannelson/.rvm/bin/rvm-auto-ruby", "$file"], | |
"file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
"selector": "source.ruby" | |
} |
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
Google Chrome Logging - Mac OSX | |
- Quit Chrome | |
- $ /Applications/Browsers/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --enable-logging --v=1 | |
- Open Chrome Log file with mac log viewer |
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
<!doctype html> | |
<head> | |
<script> | |
function clicked() { | |
document.getElementById("link").href="http://www.nik-it.com/wp-content/uploads/2012/01/Youve_Been_Hacked-300x170.jpg"; | |
} | |
</script> | |
</head> | |
<body> | |
<strong>Click the link</strong><br /> |
NewerOlder