These are notes from the running groups sessions with Luke, Francis and Terence at NYSportsMed.
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 qhttp = require('q-io/http'); | |
var _ = require('lodash'); | |
var some_url = "http://localhost:8080/getsome/" | |
var makeNextUrl = _.bind(String.prototype.concat, some_url); | |
var all_data = []; | |
function getData(resp){ |
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 urllib | |
def do_it(): | |
f = urllib.urlopen("https://raw.githubusercontent.com/alexwaters/domainChecker/master/archive/domainDict"); | |
data = f.read() | |
# closes automatically when f is garbage collected but why not | |
f.close() | |
# neat solution found on stack overflow | |
# [iter(data)] * n creates a list of n instances of the iterator to the string | |
# *[list] passes it to zip by making use of argument unpacking |
I hereby claim:
- I am amykyta on github.
- I am mykyta (https://keybase.io/mykyta) on keybase.
- I have a public key whose fingerprint is 9377 DA9F D878 C044 C75A E70F 99E5 8551 9CA8 EF1B
To claim this, I am signing this object:
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
const path = require('path'); | |
const webpack = require('webpack'); | |
const merge = require('webpack-merge'); | |
const stylelint = require('stylelint'); | |
const NpmInstallPlugin = require('npm-install-webpack-plugin'); | |
const pkg = require('./package.json'); | |
const HTMLWebpackPlugin = require('html-webpack-plugin'); | |
const TARGET = process.env.npm_lifecycle_event; |
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 logging | |
import sys | |
logger = logging.getLogger() | |
logger.setLevel(logging.DEBUG) | |
ch = logging.StreamHandler(sys.stdout) | |
ch.setLevel(logging.DEBUG) | |
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') | |
ch.setFormatter(formatter) |
I hereby claim:
- I am amykyta on github.
- I am mykyta (https://keybase.io/mykyta) on keybase.
- I have a public key ASCk7BRfX3jTP7MtKWADoy_IDMHkozzijLkjAdOEhu2Upgo
To claim this, I am signing this object:
so here is my setup, I have a ~/.ssh/config
file with this in it
Host staging
HostName staging.bondstreet.com
User ubuntu
Host prod
HostName bondstreet.com
User ubuntu