start new:
tmux
start new with session name:
tmux new -s myname
" Tony's Settings | |
" Usage: | |
" Download and install nvim, then install 'dein' the vim-package manager. | |
" During installation of dein it will output a sample configuration, take the | |
" two lines that `set runtimepath=PATH` and `dein#begin(PATH)` and replace the | |
" ones in this file online 14 and 17. Restart nvim and Happy Vimming! | |
"dein Scripts----------------------------- | |
if &compatible | |
set nocompatible " Be iMproved |
// Gulp 4 | |
var gulp = require('gulp'); | |
var using = require('gulp-using'); | |
var grep = require('gulp-grep'); | |
var changed = require('gulp-changed'); | |
var del = require('del'); | |
var coffee = require('gulp-coffee'); | |
var less = require('gulp-less'); | |
var coffeelint = require('gulp-coffeelint'); | |
var sourcemaps = require('gulp-sourcemaps'); |
/* | |
This is a quick example of how to fake out the response for calling a Google API endpoint. | |
I'm using the QPX Express api as an example, but I'm _assuming_ this could apply accross the board | |
for other Google API's. | |
The reason you would want to do this, is so you don't need to hit the internet to get your results | |
(think, coding on a plane, no internet coverage, no hurting your API allowance, etc). | |
The main trick here is that we need to do two things: | |
1. Create a fake HttpMessageHandler |