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
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
I hereby claim:
To claim this, I am signing this object:
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) |
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; |
I hereby claim:
To claim this, I am signing this object:
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 |
These are notes from the running groups sessions with Luke, Francis and Terence at NYSportsMed.
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){ |