start new:
tmux
start new with session name:
tmux new -s myname
<Category name="Environment_KeyBindings" Category="{F09035F1-80D2-4312-8EC4-4D354A4BCB4C}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_KeyBindings" PackageName="Visual Studio Environment Package"> | |
<Version>16.0.0.0</Version> | |
<KeyboardShortcuts> | |
<ScopeDefinitions> | |
<Scope Name="Team Explorer" ID="{7AA20502-9463-47B7-BF43-341BAF51157C}"/> | |
<Scope Name="VC Dialog Editor" ID="{543E0C02-8C85-4E43-933A-5EF320E3431F}"/> | |
<Scope Name="Find All References Tool Window" ID="{1FA1FD06-3592-4D1D-AC75-0B953320140C}"/> | |
<Scope Name="Test Explorer Playlist Tab" ID="{D2F6510A-150A-4F3F-9D7C-8E38622D26F7}"/> | |
<Scope Name="Xcode Interface Builder Editor" ID="{DE2BFA0C-4042-4482-8302-47B55670BF7C}"/> | |
<Scope Name="Live Property Explorer" ID="{31FC2115-5126-4A87-B2F7-77EAAB65048B}"/> |
" 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 |
// ==UserScript== | |
// @name Evernote Web HTML editor | |
// @namespace http://andrealazzarotto.com/ | |
// @version 3.2.4 | |
// @description This scripts adds a button to edit the HTML code of a note in Evernote Web | |
// @match https://www.evernote.com/* | |
// @copyright 2015, Seb Maynard, Andrea Lazzarotto | |
// @license Apache License, Version 2.0 | |
// @require http://code.jquery.com/jquery-latest.min.js | |
// @grant GM_setValue |
// 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'); |
#!/bin/sh | |
# based on https://gist.github.com/ipedrazas/9c622404fb41f2343a0db85b3821275d | |
# delete all evicted pods from all namespaces | |
kubectl get pods --all-namespaces | grep Evicted | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod | |
# delete all containers in ImagePullBackOff state from all namespaces | |
kubectl get pods --all-namespaces | grep 'ImagePullBackOff' | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod | |
# delete all containers in ImagePullBackOff or ErrImagePull or Evicted state from all namespaces |
/* | |
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 |