Skip to content

Instantly share code, notes, and snippets.

Avatar

Nathan Farrar nfarrar

View GitHub Profile
@brendano
brendano / autolog.py
Created Oct 10, 2008
python decorators to log all method calls, show call graphs in realtime too
View autolog.py
# Written by Brendan O'Connor, brenocon@gmail.com, www.anyall.org
# * Originally written Aug. 2005
# * Posted to gist.github.com/16173 on Oct. 2008
# Copyright (c) 2003-2006 Open Source Applications Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@grugq
grugq / sshclient.py
Created Dec 6, 2011
twisted ssh client (based on conch.py) with an embedded cmd.Cmd shell for controllng the SSH session
View sshclient.py
from twisted.internet import reactor, defer, endpoints, task, stdio
from twisted.conch.client import default, options, direct
from twisted.conch.error import ConchError
from twisted.conch.ssh import session, forwarding, channel
from twisted.conch.ssh import connection, common
from twisted.python import log, usage
import signal
import tty
import struct
import fcntl
@tsurushuu
tsurushuu / open_with.py
Created Dec 12, 2011
for Sublime Text 2
View open_with.py
###########################
# windows only
###########################
#import sublime
import sublime_plugin
import os
import os.path
@marktheunissen
marktheunissen / pedantically_commented_playbook.yml
Last active Jan 13, 2021 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
View pedantically_commented_playbook.yml
This playbook has been removed as it is now very outdated.
@ChaosData
ChaosData / unfuckup.sh
Created Apr 11, 2016
fix vmware shared folders in ubuntu 16.04
View unfuckup.sh
#!/bin/sh
sudo apt-get install open-vm-tools-desktop git build-essential
git clone https://github.com/vmware/open-vm-tools.git
cd open-vm-tools/open-vm-tools/
sudo apt-get install autoconf libtool
autoreconf -i
sudo apt-get install libmspack-dev libglib2.0-dev libprocps4-dev libdumbnet-dev
./configure --without-x --without-pam --without-ssl --without-icu
make MODULES=vmhgfs