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
💜💜💜💜💜💜🔜😊🔒💜💜💜💜💜💜💜 | |
👣👂🔥👂🎄🔦🐕👓🌐👍💯💯⛳️🐝🎲🐬 | |
🍀🍤👂🔦🔥🐝💼📖🚙🐝🐬💾💧🐬👣🐬 | |
🍀🌳👊🐝💼🐝🐔🚪🌽👑📆🍟👂🎳🍤🍤 | |
🐬💎🔥🚪🐄💎🍰🔥🐫🎲🐊👏🎊👂🌍💫 | |
⛵️🌽💧🎬🍫🐬👻👰🎬🏁📆🍟🍩💧👢📖 | |
☕️💡🐝🚙🐝💵🐬🐕🍀🎁💾🍟🍒🔥🍩🔦 | |
🐝💼⛳️🐝🌽📚👣🍟🍟👫💻🎊📚🔥🎬📆 | |
☕️🐸🍞💎📖💎🐊👰👑👢📘🌳💵🎊👻🍰 | |
🐕🎬🌽👂🐝💼🐝🐊💾🎳📘🐊👰🏁👦🍤 |
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
👣👂🔥👂🎄🔦🐕👓🌐👍💯💯⛳️🐝🎲🐬🍀🍤👂🔦🔥🐝💼📖🚙🐝🐬💾💧🐬👣🐬🍀🌳👊🐝💼🐝👓🍰🍸🍟🍫📖💿👣🐈🍪💵👣🎲💧🍀⛵️🐔📚👑💿☁️🌳☕️💿🍫🎁🔦🚪💵🚗💎🎁🚧👓🍒🐄🐔💐📆💾👰🍪🔦💡🐝🚙🐝💵🐬🐕🍀🎁💾🍟🍒🔥🍩🔦🐝💼⛳️🐝🐊🌳☕️☕️📆📘🍪👢👢🌳🎄🎲👰💫📚🏁🚧🍩🎁💣💧🌍👢🍰🍸🚧🌍🏁👑☕️🍪🎳🐝💼🐝🍒👑💧🍩⛵️🍸👓🎬💣🐬👻👢🍫🔥👣🍬💵🎬☁️🌳🌍🚧👻🚪💎👂🚧🐈🐔🐈🔥🌐📆🎬🐄🏁💿💎📆🐄🎊🎊🍪💻🍟🚧🎲👢👊🚗🍤👑🚧📆🎬🏈🍫⛵️🍫🏈💿👰💧🎁🐸☁️👦🍪🎄🌍🍞🍬👂🎲👣🌳🍸📚💥🚧🐄🚪🐈🍀🏈🐈💥🎄🍟🎄🚗🍫🎄🌽👫💻⛵️🍤🏁🌽🍸🍩💐🍩🎳👏🐕🚗🔥👏👣🌍💐🍒📘💣🎬🍸🏁🌍☁️🌐📚🎁🌳🚗🌳☕️📆🔥🍬👏🐊👢🐸🎁🍫🏁👓🎁💎☁️🐄🚪🍩🍩🚪🌐👊💾💵📚🐫💧🍰🎬💫🏈👂💎⛵️🌳🐔🐬🎳🌐💐👦🍤💻🐬💫🎊📘👦🎊💫🍫🍀🍞🍸☁️💐🐔👢📆💐🏈🏈🏈🔦🎲🍒☁️🐸🍰📆👢🏁👣🐊💎🍟📘💣💵💧🐊⛵️📚🌳💎📖⛵️🍟👂💻🐄🍬🏁💎👦🐔🍸💧💻👏⛵️🚪⛵️💿🎊🐈🔥👏🍬🎬🌍🍒🎳👂⛵️💫👓💐☁️🚧🍞👂💣💎🔥🎲💻👓🎄💥💣🍞👏☕️🌳🎲🍤🏈👢🎄🎁💻🐫🍤🍪💵🎄💎🍫💻👑🐊👂🚗👏🍩💣🐊🍤💎👑🍟📖💾👦💻🍩👻🚗📖🌽🐈🚪💧🐔🔦📆👊🏈🚧🍀🍬👦👢🍩💣🐕🐔📚👣🚗🌍🚪🔥🚗💎🍬🍰⛵️🐬💾👂🍰📖🏈🏁👏🐸🍤💎🚪🏁👣🎄💿🚧🌽🌳💣🎊👓🚧🐊💧🍸🍰📚💵📖📚💵📆👣🍸💧🎊🐬👓💫👂💻💾🎳☕️💾📖⛵️🍟🍬🐬🎳🐔👦☁️⛵️👻👑📚🐔🐊👂💧🏁👢🍰🌍💥🌳🐬🏈🐔🚗🐊👢🍪🎁👻👑👰💐🍩👊📆🐕👏📚🌽🌽🏈📆🐄🎁🔦🐕🌍🐬👑🐊🐬💫🍫🐊🚧☁️🍪🍰🍩🎁👦🎲🌍👻🎁🍒💥📆👑🐊👫💧🌳🐬🍪🎳🎬💿🎄🐸🐫🍀🔥🐕📚💫⛵️☕️🍒🚧💵🍀👻🎬👣📘🌍🍰👣🍀💣👫☁️💧🏈🍪💻👓🎁💧💧👫🎁🍒🏁🐔🍤🔥🎳🍰🌳🍀🍪🍬🌽☕️👊🎳👢🐔👦🍀🐔🐝🍏🍏💯🔢💯💯🎩🐜🎮💤👽👾👐🔉🎅🌹📼💨❄️🐇🎳💈🅰☎️📻🐛🐖🌍🐧🔨💎🌼🍔🍰👔💦💬🎮🎅🐣🚌🍀🛀🍪🎈🍺🌐🔫🏆🐫📻🔧🏆🐣🙏🏆💔👊🍤⌚️🐈🔦⌛️🍗🐒🐧⭐️🍟🐈🎾🎻🎹🔫👤💨👤💩🐽🐂☎️🎻👅⌛️👕🎸❄️💼🚧💼🎷💨📌🐈🎤🚑⬆️🚿⛵️🐝💻⚓️🍪💀🍩☎️🍩👤🎷🔗👰💿💿⬅️🎄🍟🏊👢🍺👃💐⛵️🅰🌼👢💻🐴📢🐫💯🍪💢🍤🐾🍑💫📫🍫🍑🔉⛄️👻👰🐎🎲💵👾🎩🚨💔🍕🌹🎳🙏🍏💿🎷💧🐫🐴🐞🏀🐇🍃💉🐔💃🐂🔆📍🏁⬅️🚑🚪🏊💃🐔📌🔋⛔️🍒🍀👙👆👢🍐📢🍃💩👻🚪👃💉👉🐣❄️🎲🔫🐴🎱👽📼🔦🐔☁️💡🍤🐀💃🌙💃🚪👽🎥👐🚗💡🍬💀👫🎨💊🐫👻❄️🐍👎💍👙💤✈️🐚🚦🐨📖⛅️🍔📼✈️❄️💢🐛💊🏧🍐⌚️🐌🎲👜🌼🙏⛄️🍩🐾➡️🍀🎅👤🐺🔥💙👶🐙🏁👇🌹💿🐖🐬☎️📫👌💡🐕📫🍓🔫⚡️🌿👼💯💯💯🐖👎⛳️💼🐾⌚️⛵️👽📍🐨🎁👎💦🚗📫📼🎬🔦⚓️☎️👃🎭🍀🔫🐜🎅🐼💯 |
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
// convention for streams with ports | |
// object with two properties 'in' and 'out' | |
// 'in' is an object with keys as port names and values which are Writable streams | |
// 'out' is an object with keys as port and values which are Readable streams | |
// if the length of in- our outports is 1, 'in' and 'out' can be Readable or Writable streams directly | |
// if both the length of the in- and outports is 1, it's a Duplex stream | |
// through-like helper module |
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
[ | |
{"type": "string", "position": 0, "name": "delimiter"} | |
{"type": "boolean", "position": 1, "key": "objectMode"} | |
] |
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
def force_float(str): | |
try: | |
return float(str) | |
except (ValueError): | |
return 0.0 | |
def rcp_poll_data(xml): | |
dom = web.Element(test_xml) | |
dates = [date.content for date in dom('series value')] | |
titles = {} |
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
ctx.fillRect(10,10,100,200) |
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 catHeight = 150 // 150 | |
var catOffset = 200 | |
ctx.fillStyle = '#002E68' | |
ctx.fillRect(0, 0, ctx.canvas.width, ctx.canvas.height) | |
// rainbow | |
var rainbowColors = [ | |
'#FF0000', |
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 EventEmitter = require('events').EventEmitter | |
// my current implementation | |
module.exports = function (obj) { | |
var calls = new EventEmitter() | |
for(methodName in obj) { | |
if (typeof obj[methodName] !== 'function') continue | |
var originalMethod = obj[methodName] |
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 split = require('split') | |
var fs = require('fs') | |
var umlautwords = {} | |
function loadGermanWords() { | |
fs.createReadStream('./umlautwords.txt') | |
.pipe(split()) | |
.on('data', function (word) { | |
word = word.toLowerCase() |