Skip to content

Instantly share code, notes, and snippets.

xiaom / 0_reuse_code.js
Created August 18, 2014 22:14
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
xiaom /
Created April 30, 2017 23:00 — forked from nopper/
Tmux helper for fabric
from fabric.api import *
class Tmux(object):
"""Tmux helper for fabric"""
def __init__(self, session_name, run_cmd=run):
self.session_name = session_name
self.run_cmd = run_cmd