Skip to content

Instantly share code, notes, and snippets.

@xiaom
xiaom / tmux_fabric.py
Created Apr 30, 2017 — forked from nopper/tmux_fabric.py
Tmux helper for fabric
View tmux_fabric.py
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
self.create_session()
@xiaom
xiaom / 0_reuse_code.js
Created Aug 18, 2014
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