Skip to content

Instantly share code, notes, and snippets.

View tomeightyeight's full-sized avatar
:octocat:
Hello, World!

Tom Humphris tomeightyeight

:octocat:
Hello, World!
View GitHub Profile
@tomeightyeight
tomeightyeight / README.markdown
Created July 28, 2017 09:54 — forked from marijn/README.markdown
List of nationalities in YAML, CSV and TXT format

List of nationalities

It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.

##List of countries

I've also compiled a list of countries

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@tomeightyeight
tomeightyeight / fetch-client.js
Created January 5, 2017 16:18 — forked from bryanrsmith/fetch-client.js
A thin wrapper library around the fetch API to provide application-wide HTTP client configuration
export class HttpClient {
constructor(defaults) {
this.defaults = defaults;
this.interceptors = [];
this.activeRequestCount = 0;
this.isRequesting = false;
}
addInterceptor(interceptor) {
this.interceptors.push(interceptor);