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
# Search an object heirarchy for the presence of the given keys | |
def keyExists(obj, keys): | |
first, rest = keys[0], keys[1:] | |
if first in obj or len(obj) > int(first): | |
if len(rest) == 0: | |
return True | |
return keyExists(obj[first], rest) | |
return 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
</head> | |
<body> | |
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/search?q=%23freeplay6%20%40Betfair" data-widget-id="707962088631758848">Tweets about #freeplay6 @Betfair</a> | |
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> |
NewerOlder