Skip to content

Instantly share code, notes, and snippets.

View webframp's full-sized avatar

Sean Escriva webframp

View GitHub Profile
  1. Fork the repository using Github
  2. Checkout a named feature branch created from the develop branch
  3. Write tests using chefspec or serverspec as appropriate.
  4. Complete modifications or corrections.
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request to the develop branch using Github

Keybase proof

I hereby claim:

  • I am webframp on github.
  • I am sme (https://keybase.io/sme) on keybase.
  • I have a public key whose fingerprint is 16B4 54B3 5E3F B675 99FE 4DC9 BD39 B3F7 CB0C EB99

To claim this, I am signing this object:

Loading /Users/sme/.emacs.d/sme/init-dash.el (source)...
Loading /Users/sme/.emacs.d/sme/init-ghc.el (source)...
Loading /Users/sme/.emacs.d/sme/init-ruby.el (source)...
Loading /Users/sme/.emacs.d/sme/json.el (source)...
Loading /Users/sme/.emacs.d/sme/mailto-compose-mail.el (source)...
Loading /Users/sme/.emacs.d/sme/notmuch-config.el (source)...
Cannot open load file: notmuch-address
Saving file /Users/sme/.ido.last...
Loading vc-git...
Wrote /Users/sme/.ido.last
@webframp
webframp / hcl.sh
Last active August 29, 2015 13:56
if [[ -n ${ZSH_VERSION-} ]];
then
autoload -U +X bashcompinit && bashcompinit
fi
hcl_update() {
if [ -z "$1" ];
then
echo "Usage: $0 @alias"
else
if [[ -n ${ZSH_VERSION-} ]];
then
autoload -U +X bashcompinit && bashcompinit
fi
hcl_update() {
if [ -z "$1" ];
then
echo "Usage: $0 @alias"
else
suites:
- name: default
run_list:
- recipe[graphite]
attributes:
graphite:
carbon:
service_type: "init"
@webframp
webframp / config.yml
Last active January 2, 2016 18:39
Auto-enable Local HTTP Caching in Test Kitchen, global t-k config
<%
require 'socket'
def local_ip
@local_ip ||= begin
# turn off reverse DNS resolution temporarily
orig, Socket.do_not_reverse_lookup = Socket.do_not_reverse_lookup, true
UDPSocket.open do |s|
s.connect '64.233.187.99', 1
s.addr.last
;;;; Custom settings for notmuch and mail handling
;; this configured both notmuch and message-mode
(autoload 'mailto-compose-mail "mailto-compose-mail" nil t)
;; mail sending
(setq message-send-mail-function 'message-send-mail-with-sendmail)
(setq sendmail-program "/usr/local/bin/msmtp")
(setq mail-specify-envelope-from 't)
(setq message-sendmail-envelope-from 'header)
--- Gemfile.orig 2014-01-01 23:16:31.000000000 -0800
+++ Gemfile 2014-01-01 23:16:53.000000000 -0800
@@ -1,5 +1,4 @@
source 'https://rubygems.org'
gem 'omnibus', '~> 1.3.0'
-gem 'omnibus-software', :git => 'git://github.com/opscode/omnibus-software.git',
- :branch => 'master'
+gem 'omnibus-software', :git => 'git://github.com/sl4mmy/omnibus-software.git', :branch => 'fix-openssl-docs-with-perl-5.18'
driver:
name: docker
socket: tcp://192.168.42.42:4242
sudo: false