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
RedirectMatch 404 /\.git |
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
git ls-files | xargs wc -l |
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 observe; | |
if (window.attachEvent) { | |
observe = function (element, event, handler) { | |
element.attachEvent('on'+event, handler); | |
}; | |
} | |
else { | |
observe = function (element, event, handler) { | |
element.addEventListener(event, handler, 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
<?php | |
$curl = curl_init("http://api.hitbtc.com/api/1/public/BTCUSD/orderbook"); | |
curl_setopt($curl, CURLOPT_HEADER, 0); | |
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); | |
$result = curl_exec($curl); | |
$resultobject = json_decode($result)); |
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
Flat UI Colors | |
#1abc9c - TURQUOISE | |
#2ecc71 - EMERALD | |
#3498db - PETER RIVER | |
#9b59b6 - AMETHYST | |
#34495e - WET ASPHALT | |
#16a085 - GREEN SEA | |
#27ae60 - NEPHRITIS | |
#2980b9 - BELIZE HOLE | |
#8e44ad - WISTERIA |
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
thisint = 1 | |
thisstring = "asdf" | |
if isinstance(thisstring, basestring) : | |
print thisstring + " is a string" | |
else: | |
print thisstring + " is an int" | |
if isinstance(thisint, basestring) : | |
print str(thisint) + " is a string" |
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
integerSquareRoot :: Integral a => a -> a | |
integerSquareRoot n | |
| n < 0 = error "integerSquareRoot: negative argument" | |
| otherwise = integerSquareRoot' n |
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 clicktest = "ontouchstart" in window ? "touchstart" : "click"; |
NewerOlder