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
import functools | |
def time_execution(function=None, *args, **kwargs): | |
""" | |
Time the execution of a method. | |
If the optional kwargs contain the warning or error threshold, log it if it exceeds it. | |
""" | |
print 'args', args | |
print 'kwargs', kwargs |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 | |
phpinfo(); |
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
{ | |
"startedDateTime":"2011-09-01T16:39:49.859Z", | |
"time":-1, | |
"request":{ | |
"method":"GET", | |
"url":"ws://impact-node.nodester.com/socket.io/1/websocket/931668631868522223", | |
"httpVersion":"HTTP/1.1", | |
"headers":[ | |
{ | |
"name":"Sec-WebSocket-Origin", |
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
{ | |
"delta":1, | |
"0":{ | |
"n_CompetitionID":21608, | |
"c_Competition":"Tour Down Under", | |
"c_CompetitionShort":null, | |
"n_CompetitionNatioGeoID":2229, | |
"c_CompetitionNatio":"Australi\u00eb", | |
"c_CompetitionNatioShort":"AUS", | |
"n_PhaseID":630534, |
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
<div id="bodytext"> | |
<h2>Functioneel Ontwerper</h2> | |
<p>Elements Interactive ontwikkelt innovatieve applicaties voor web en mobile. Wij realiseren projecten van concept en ontwerp tot ontwikkeling en implementatie.</p> | |
<p>In verband met de groei van onze organisatie zoeken wij een <b>Functioneel Ontwerper.</b></p> | |
<p></p><h3>Taken:</h3> | |
<ul> | |
<li>Ontwikkelen van heldere, doeltreffende en effectieve oplossingen voor klanten</li> |
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
planning:{ | |
'default': ['uitslagen', 'uitslagen', 'programma', 'programma', 'programma', 'programma', 'uitslagen'], | |
'eredivisie': ['uitslagen', 'uitslagen', 'programma', 'programma', 'programma', 'programma', 'uitslagen'], | |
'jupiler': ['uitslagen', 'uitslagen', 'programma', 'programma', 'programma', 'programma', 'uitslagen'], | |
'play-offs': ['uitslagen', 'uitslagen', 'programma', 'programma', 'programma', 'programma', 'uitslagen'], | |
'champions league': ['programma', 'programma', 'programma', 'uitslagen', 'uitslagen', 'uitslagen', 'programma'], | |
'europa league': ['programma', 'programma', 'programma', 'uitslagen', 'uitslagen', 'uitslagen', 'programma'], |
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
planning:{ | |
'default': ['uitslagen', 'uitslagen', 'programma', 'programma', 'programma', 'programma', 'uitslagen'], | |
'eredivisie': ['uitslagen', 'uitslagen', 'programma', 'programma', 'programma', 'programma', 'uitslagen'], | |
'jupiler': ['uitslagen', 'uitslagen', 'programma', 'programma', 'programma', 'programma', 'uitslagen'], | |
'play-offs': ['uitslagen', 'uitslagen', 'programma', 'programma', 'programma', 'programma', 'uitslagen'], | |
'champions league': ['programma', 'programma', 'programma', 'uitslagen', 'uitslagen', 'uitslagen', 'programma'], | |
'europa league': ['programma', 'programma', 'programma', 'programma', 'uitslagen', 'uitslagen', 'uitslagen'], |
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
{ | |
"0":{ | |
"n_CompetitionID":2, | |
"n_CompetitionLevel":1, | |
"c_Competition":"Eredivisie", | |
"c_CompetitionShort":"Ere", | |
"n_CompetitionNatioGeoID":2201, | |
"c_CompetitionNatio":"Nederland", | |
"c_CompetitionNatioShort":"NED", | |
"n_EditionID":18090, |
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
[ | |
{ | |
"clientId":"12wabap0ls4geg0zyc66p14i7npq", | |
"channel":"/meta/connect", | |
"successful":true, | |
"advice":{ | |
"reconnect":"retry", | |
"interval":0, | |
"timeout":50000 | |
} |
OlderNewer