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
var userChoice = prompt("Do you choose rock, paper or scissors?"); | |
var computerChoice = Math.random(); | |
if (computerChoice <0.34){ | |
computerChoice = "rock"; | |
}else if(computerChoice <=0.67){ | |
computerChoice = "paper"; | |
}else{ | |
computerChoice = "scissors"; | |
} |
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
sips -g pixelHeight -g pixelWidth |
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
try: | |
from local_settings import * | |
except ImportError, exp: | |
pass |
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
# Allow text selection in Quick Look | |
defaults write com.apple.finder QLEnableTextSelection -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
Show hidden characters
{ | |
"auto_complete_commit_on_tab": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Theme - Aqua/Color Schemes/Espresso Aqua.tmTheme", | |
"detect_slow_plugins": false, | |
"drag_text": false, | |
"draw_white_space": "all", | |
"folder_exclude_patterns": | |
[ | |
".svn", |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="1.0"> | |
<head> | |
<title>Instacast Subscriptions from Gordon Cole</title> | |
<dateCreated>Thu, 12 May 2011 12:58:26 GMT</dateCreated> | |
<dateModified>Thu, 12 May 2011 12:58:26 GMT</dateModified> | |
</head> | |
<body> | |
<outline text="1 Indie Nation" type="rss" xmlUrl="http://oneindienation.libsyn.com/rss" htmlUrl="http://1indienation.com/" /> | |
<outline text="Think Vitamin Radio" type="rss" xmlUrl="http://feeds.feedburner.com/thinkvitaminradio" htmlUrl="http://thinkvitamin.com" /> |