Skip to content

Instantly share code, notes, and snippets.

View ronnix's full-sized avatar

Ronan Amicel ronnix

View GitHub Profile
@josiahcarlson
josiahcarlson / redis_simple_chat.py
Created June 24, 2011 22:07
A way of implementing a poll-based chat inside Redis
'''
redis_simple_chat.py
Written June 24, 2011 by Josiah Carlson
Released under the GNU GPL v2
available: http://www.gnu.org/licenses/gpl-2.0.html
Other licenses may be available upon request.
@jezdez
jezdez / fabfile.py
Created November 22, 2009 14:36
Fabric file to run a command in a openvz guest without outside connectivity
from fabric_openvz import guests, vz_run
@guests('uhura', 'obiwan')
def uname_a(guest):
"""
Show uname -a on given guests
"""
vz_run(guest, 'uname -a')
@guests('uhura', 'obiwan')