Type this into Github Gist Search (https://gist.github.com/)
user:BoQsc your search query
| function Emitter(){ | |
| var events = new Map(); | |
| return { | |
| subscribe: function(event_name, callback){ | |
| //If events has event_name, then get the event Subscription and push to it. | |
| //Else create new event, subscription and add to events. | |
| var isEventExisted = events.has(event_name), index = 0; | |
Type this into Github Gist Search (https://gist.github.com/)
user:BoQsc your search query
| // config/passport.js | |
| // load all the things we need | |
| var LocalStrategy = require('passport-local').Strategy; | |
| var mysql = require('mysql'); | |
| var connection = mysql.createConnection({ | |
| host : 'localhost', | |
| user : 'root', |
| from __future__ import print_function | |
| import numpy as np | |
| from xlwings import Workbook, Range | |
| #Deep excel not included please find it here: http://www.deepexcel.net/ | |
| def run_test_data(): | |
| with open('test.csv','rt') as f: | |
| with open('result.csv','wt') as r: |