Skip to content

Instantly share code, notes, and snippets.

View rphillips's full-sized avatar

Ryan Phillips rphillips

  • Red Hat
  • Austin, TX
View GitHub Profile
INFO global: Vagrant version: 1.6.0
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_DEFAULT_PROVIDER="vmware_fusion"
INFO global: VAGRANT_EXECUTABLE="/Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.0/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_DETECTED_OS="Darwin"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
@rphillips
rphillips / keybase.md
Created July 14, 2014 19:46
keybase.md

Keybase proof

I hereby claim:

  • I am rphillips on github.
  • I am rphillips (https://keybase.io/rphillips) on keybase.
  • I have a public key whose fingerprint is 73FF 5DAB 1D53 AF0F D905 16DF BD93 B48C 83E9 2964

To claim this, I am signing this object:

var async = require('async');
var _ = require('underscore');
var ld = require('ld');
var dbopsEntity = require('../db/ops/entity');
var dbopsAgentConnection = require('../db/ops/agent_connection');
var dbopsAgent = require('../db/ops/agent');
var errors = require('../util/errors');
var flowCtrl = require('rackspace-shared-utils/lib/flow_control');
var log = require('logmagic').local('ele.lib.util.agent');
var instruments = require('rackspace-shared-utils/lib/instruments');
package main
import (
"errors"
"io"
"os"
"os/user"
"path"
"strings"
(defvar workgroups2-packages
'(
workgroups2
)
"List of all packages to install and/or initialize. Built-in packages
which require an initialization must be listed explicitly in the list.")
(defun workgroups2/init-workgroups2 ()
(use-package workgroups2
:init
@rphillips
rphillips / record.lua
Last active August 29, 2015 14:18
Record Terminal
local bit = require('bit')
local ffi = require('ffi')
local S = require('syscall')
ffi.cdef[[
int execl(const char *path, const char *arg0, ...);
int login_tty(int fd);
]]
local STDIN_FILENO = 0
package main
import(
"io/ioutil"
"fmt"
"net"
"net/http"
"log"
)
# Screenshot http://trovao.droplinegnome.org/stuff/mutt-zenburnt.png
#
# This is a zenburn-based muttrc color scheme that is not (even by far)
# complete. There's no copyright involved. Do whatever you want with it.
# Just be aware that I won't be held responsible if the current color-scheme
# explodes your mutt.
#
# Please remember that this color scheme requires a 256 color
# terminal-emulator. Any modern X terminal emulator should have support for
# that and you can enable it by calling mutt as "TERM=xterm-256color mutt", or
@rphillips
rphillips / 256-colors
Created October 19, 2010 16:39
.tmux.conf
# Key Default Action
# h,| % Split window horizontally
# v,- " Split window vertically
# C-s o Go to next pane
# x x Kill the active pane
# q q Show pane numbers
# A-Arrow Key Resize the active pane
# C-Arrow Key Resize the active pane by one line or on character
#
unbind C-b
@rphillips
rphillips / gist:635823
Created October 20, 2010 05:28
hacky irc
import select
import socket
import sys
import fcntl
import os
EPOLLIN = select.EPOLLIN
EPOLLOUT = select.EPOLLOUT
epoll = select.epoll(60000)