Skip to content

Instantly share code, notes, and snippets.

Nathan Farrar nfarrar

Block or report user

Report or block nfarrar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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
@marktheunissen
marktheunissen / pedantically_commented_playbook.yml
Created Jun 23, 2012 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
View pedantically_commented_playbook.yml
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
@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
@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
@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
#
You can’t perform that action at this time.