Skip to content

Instantly share code, notes, and snippets.

View xiaom's full-sized avatar
:octocat:

Xiao Meng xiaom

:octocat:
  • Goldsky
  • Canada
  • 20:24 (UTC -07:00)
View GitHub Profile
@xiaom
xiaom / tmux_fabric.py
Created April 30, 2017 23:00 — forked from nopper/tmux_fabric.py
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
self.create_session()
@xiaom
xiaom / 0_reuse_code.js
Created August 18, 2014 22:14
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console