Skip to content

Instantly share code, notes, and snippets.

Avatar

Sean Escriva webframp

View GitHub Profile
View .hcl.sh
if [[ -n ${ZSH_VERSION-} ]];
then
autoload -U +X bashcompinit && bashcompinit
fi
hcl_update() {
if [ -z "$1" ];
then
echo "Usage: $0 @alias"
else
View hcl.sh
if [[ -n ${ZSH_VERSION-} ]];
then
autoload -U +X bashcompinit && bashcompinit
fi
hcl_update() {
if [ -z "$1" ];
then
echo "Usage: $0 @alias"
else
View flycheck err
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
View keybase.md

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:

View CONTRIBUTING.md
  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
View gist:62f933cda5769b19b581
"os": "windows",
"os_version": "6.1.7601",
"platform": "windows",
"platform_version": "6.1.7601",
"platform_family": "windows",
View gist:781e9050c71b4b36ab43
####trying to run kitchen setup
####.kitchen.yml contents
---
driver_plugin: vagrant
provisioner:
name: chef_zero
platforms:
View gist:1394221
#RVM
[[ -s "/Users/sme/.rvm/scripts/rvm" ]] && source "/Users/sme/.rvm/scripts/rvm" # load RVM into a shell session.
# ALIASES
alias l='ls -F -h'
alias ll='ls -l -F -h'
alias la='ls -a -F -h'
alias lla='ls -l -a -F -h'
# command equivalents
View users.rb
execute "create-tunnelblick-#{u['id']}" do
cwd node["openvpn"]["key_dir"]
command <<-EOH
mkdir #{u['id']}.tblk; cp ca.crt #{u['id']}.{crt,key,conf,ovpn} #{u['id']}.tblk
EOH
not_if { ::File.directory?("#{u['id']}.tblk") }
end
@webframp
webframp / librato.rb
Created Jan 10, 2012
chef recipe for librato collectd plugin
View librato.rb
#
# Cookbook Name:: collectd_plugins
# Recipe:: librato
#
# Copyright 2012, Sean Escriva <sean.escriva@gmail.com>
#
case node.platform
when "ubuntu", "debian"
package "libpython2.7"