Nathan Farrar nfarrar
- Colorado Springs
- Sign in to view email
- https://ferrator.io/
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 |
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. |
View open_with.py
########################### | |
# windows only | |
########################### | |
#import sublime | |
import sublime_plugin | |
import os | |
import os.path | |
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 |
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 | |
# |