Skip to content

Instantly share code, notes, and snippets.

View moutons's full-sized avatar
๐ŸŒˆ
hello, friend

Shaun Mouton moutons

๐ŸŒˆ
hello, friend
View GitHub Profile
@moutons
moutons / Vagrantfile
Created January 13, 2015 23:38
example Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "chef/ubuntu-14.04"
config.vm.network "public_network"
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
end
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
@moutons
moutons / google-chrome.repo
Last active August 29, 2015 14:13
/etc/yum.repos.d/google-chrome.repo as installed by https://tools.google.com/chrome/browser/desktop/index.html on F21 x86_64
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1

Keybase proof

I hereby claim:

  • I am moutons on github.
  • I am moutons (https://keybase.io/moutons) on keybase.
  • I have a public key whose fingerprint is DF49 668D C423 BAE8 65B4 A530 E0CE 436B 0242 4956

To claim this, I am signing this object:

@moutons
moutons / washing-the-dishes.md
Last active March 11, 2016 06:49
An excerpt from Thich Nhat Hanh's [The Miracle of Mindfulness: An Introduction to the Practice of Meditation](http://www.amazon.com/The-Miracle-Mindfulness-Introduction-Meditation/dp/0807012394)

Washing the dishes to wash the dishes

by Thich Nhat Hanh

Thirty years ago, when I was still a novice at Tu Hieu Pagoda, washing the dishes was hardly a pleasant task. During the Season of Retreat when all the monks returned to the monastery, two novices had to do all the cooking and wash the dishes for sometimes well over one hundred monks. There was no soap. We had only ashes, rice husks, and coconut husks, and that was all. Cleaning such a high stack of bowls was a chore, especially during the winter when the water was freezing cold. Then you had to heat up a big pot of water before you could do any scrubbing. Nowadays one stands in a kitchen equipped with liquid soap, special scrubpads, and even running hot water which makes it all the more agreeable. It is easier to enjoy washing the dishes now. Anyone can wash them in a hurry, then sit down and enjoy a cup of tea afterwards. I can see a machine for washing clothes, although I wash my own things out by hand, but a dishwashing machine is going just a li

๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐Ÿ‘”๐Ÿ”ก๐Ÿ”˜๐Ÿ’ˆ๐ŸŽณ๐Ÿ˜๐ŸŽ๐Ÿ˜๐Ÿ‘€๐ŸŒ‰๐Ÿ“น๐Ÿ†๐ŸŒท๐ŸŒท๐ŸŒท๐Ÿšฌ๐Ÿท๐Ÿ†๐ŸŒท๐Ÿšฌ๐Ÿ’ฃ๐Ÿท๐Ÿšฌ๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŽณ๐Ÿ’ˆ๐Ÿ‘€๐Ÿฐ๐Ÿฐ๐Ÿฐ๐Ÿ”˜๐Ÿ”˜๐Ÿ‘Ÿ๐Ÿ‘€๐Ÿฐ๐Ÿฐ๐ŸŒ‰๐Ÿ“ค๐Ÿ“คโฌ๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐ŸŽก๐ŸŽก๐ŸŽก๐Ÿข๐ŸŽก๐ŸŽก๐ŸŽก
๐ŸŽฆ๐Ÿ‘”๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐Ÿ’จ๐Ÿ’ˆ๐ŸŽณ๐Ÿ†๐ŸŒท๐ŸŒท๐ŸŽ๐Ÿ“น๐Ÿ’ˆ๐Ÿ˜๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŒท๐Ÿท๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿท๐ŸŒท๐Ÿ†๐Ÿก๐Ÿ’ˆ๐Ÿฐ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿฐ๐Ÿฐ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ“น๐Ÿ“น๐Ÿ’ˆ๐Ÿ”˜๐Ÿ“งโฉ๐ŸŽฆ๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐ŸŽก๐ŸŽก๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐ŸŽก๐ŸŽก๐Ÿข
๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐ŸŽฆ๐Ÿ’จ๐Ÿ’ˆ๐Ÿ˜๐ŸŒท๐ŸŒท๐ŸŒท๐Ÿ†๐Ÿ˜๐Ÿ˜๐Ÿ˜๐Ÿ†๐ŸŒท๐Ÿšฌ๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŒท๐Ÿท๐Ÿท๐Ÿท๐Ÿท๐ŸŒท๐ŸŒท๐Ÿ˜๐Ÿ’ป๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ’ผ๐ŸŽŒ๐Ÿ†๐ŸŽณ๐Ÿฐ๐Ÿ“ง๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐Ÿข๐ŸŽฆ๐ŸŽฆ๐Ÿข๐Ÿข๐ŸŽก๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข
๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐Ÿ’จ๐Ÿ’ˆ๐ŸŽŒ๐Ÿ†๐Ÿ†๐ŸŒท๐Ÿ†๐Ÿ˜๐Ÿ˜๐ŸŒท๐Ÿท๐Ÿท๐Ÿ’ฃ๐Ÿท๐ŸŒท๐ŸŒท๐Ÿท๐ŸŒท๐ŸŒท๐Ÿ†๐ŸŽŒ๐Ÿ†๐Ÿ†๐ŸŒท๐ŸŽณ๐Ÿ’ˆ๐Ÿฐ๐Ÿฐ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿ’ผ๐Ÿก๐Ÿ†๐ŸŒท๐Ÿ†๐Ÿ’ˆ๐Ÿ“ง๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐Ÿ‘”๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐Ÿข๐ŸŽฆ
๐Ÿ‘”๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐Ÿ’จ๐ŸŒ‰๐Ÿก๐Ÿ†๐ŸŒท๐ŸŒท๐Ÿ’ฃ๐Ÿ†๐ŸŒท๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿšฌ๐ŸŒท๐Ÿšฌ๐ŸŒท๐ŸŽŒ๐ŸŽŒ๐Ÿก๐ŸŽŒ๐ŸŽŒ๐Ÿ˜๐Ÿก๐Ÿ’ˆ๐Ÿ‘Ÿ๐Ÿ’ˆ๐Ÿš“๐Ÿš“๐Ÿ’ผ๐Ÿ”ฎ๐Ÿ’ˆ๐Ÿš“๐ŸŽŒ๐Ÿ†๐ŸŒท๐Ÿ†๐Ÿฐ๐Ÿ“ง๐ŸŽฆ๐Ÿ‘”๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐Ÿข๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐ŸŽฆ๐ŸŽฆ๐Ÿ‘”๐ŸŽฆ
๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐Ÿ”ก๐Ÿ”ฒ๐Ÿ˜๐ŸŒท๐ŸŒท๐ŸŒท๐Ÿ’ฃ๐Ÿ†๐ŸŒท๐Ÿ’ฃ๐ŸŽฃ๐Ÿ”ป๐Ÿ”ป๐Ÿ”ป๐Ÿ’ฃ๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŽŒ๐ŸŽŒ๐Ÿก๐ŸŽณ๐ŸŽŒ๐Ÿ˜๐Ÿก๐Ÿ’ˆ๐Ÿ’ˆ๐Ÿš“๐Ÿ†๐Ÿ†๐ŸŽŒ๐Ÿ”ฎ๐Ÿ‘Ÿ๐Ÿ’ผ๐ŸŽŒ๐Ÿท๐ŸŒท๐Ÿก๐Ÿฐ๐Ÿ“ง๐Ÿ‘”๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐ŸŽฆ๐Ÿ‘”๐ŸŽฆ
๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐Ÿ’จ๐Ÿ’ˆ๐Ÿ†๐ŸŒท๐ŸŒท๐Ÿšฌ๐ŸŒท๐ŸŒท๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ”ป๐ŸŽ“๐Ÿ”ป๐Ÿ”ป๐Ÿ”ป๐Ÿ”ป๐ŸŽ“๐Ÿ”ป๐Ÿท๐Ÿ†๐ŸŽŒ๐Ÿ˜๐Ÿ†๐ŸŽ๐Ÿ˜๐Ÿก๐Ÿก๐Ÿ†๐Ÿ†๐Ÿ†๐Ÿ†๐Ÿฐ๐Ÿ“ค๐Ÿ‘Ÿ๐Ÿš“๐Ÿ†๐ŸŽŒ๐Ÿ’ˆ๐Ÿ“ฑ๐Ÿ”ฃ๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”
โฉโฉโฉ๐ŸŽฆ๐ŸŽฆโฉ๐ŸŽฆโฉ๐Ÿ’จ๐Ÿ”ฎ๐Ÿ†๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŒท๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ”จ๐Ÿ“๐Ÿ”ป๐Ÿ”ป๐Ÿท๐Ÿ’ฃ๐Ÿ”ป๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿท๐ŸŒท๐Ÿท๐Ÿ’ฃ๐Ÿท๐ŸŒท๐ŸŒท๐Ÿ’ฃ๐Ÿท๐Ÿท๐ŸŽŒ๐Ÿ“ค๐Ÿ”ค๐Ÿ“ง๐Ÿ“ค๐Ÿฐ๐Ÿ“ฑ๐Ÿ“ค๐Ÿ“งโฉ๐ŸŽฆ๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐ŸŽฆ๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”
๐Ÿ“ถ๐Ÿ“ถโฉโฉโฉ๐Ÿ“ถโฉโฉ๐Ÿ’Ž๐Ÿ“น๐Ÿ†๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŒท๐ŸŒท๐Ÿ’ฃ๐Ÿ”ป๐Ÿ“๐Ÿ“๐ŸŽ“๐Ÿ”ป๐Ÿท๐Ÿ’ฃ๐Ÿ†๐ŸŽŒ๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ’ฃ๐Ÿ”ป๐Ÿ”ป๐Ÿ’ฃ๐Ÿท๐Ÿก๐Ÿ“คโฉโฌ๐Ÿ••๐Ÿ“ง๐Ÿ“ง๐Ÿ“ง๐Ÿ“ง๐Ÿ’จ๐Ÿ’จ๐Ÿ’จ๐Ÿ“ง๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”
๐Ÿ“ถโฉ๐Ÿ“ถ๐Ÿ“ถ๐Ÿ“ถ๐Ÿ“ถโฉ๐Ÿ“ถ๐Ÿ’จ๐Ÿ’ˆ๐Ÿ˜๐Ÿ˜๐Ÿ†๐Ÿ†๐ŸŒท๐Ÿ’ฃ๐Ÿ”ป๐ŸŽ“๐Ÿ“๐Ÿ“๐ŸŽ“๐Ÿ”ป๐Ÿ’ฃ๐Ÿท๐ŸŒท๐Ÿท๐Ÿš๐ŸŽฃ๐Ÿ”ป๐Ÿ”ป๐Ÿ’ฃ๐Ÿ”ป๐Ÿ”ป๐Ÿ”ป๐Ÿ”ป๐Ÿ”ป๐Ÿ”ป๐Ÿท๐Ÿ’ˆ๐Ÿ“งโฌโฉโฌโฌโฌโฌ๐Ÿ”ข๐Ÿ”ฃ๐Ÿ”ก๐Ÿ“ง๐Ÿ‘•๐Ÿ’จ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”๐ŸŽฆ๐Ÿ‘”๐Ÿ‘”๐Ÿ‘”

@moutons
moutons / README.md
Created September 16, 2016 02:01 — forked from lusis/README.md
rundeck slack hubot integration

This is a pretty opinionated solution that we use internally. It's strictly designed to post to slack via the API and it uses our notion of wrapping EVERYTHING with a role. All of our plugins automatically use brain storage as well. To be able to execute anything with hubot, you have to be a rundeck_admin role user.

You should be able to tease out the rundeck API stuff specifically.

It depends on a common format for your job defs in rundeck. We have two types of jobs in rundeck that we use via this plugin:

  • ad-hoc
  • predefined

ALL of our jobs have a common parameter called slack_channel. Hubot will automatically set this for you based on where/who it was talking to.

@moutons
moutons / secret.rb
Created January 3, 2020 18:26 — forked from jjasghar/secret.rb
Example Chef extension to extract secrets from HashiCorp's Vault
# Please see the following blog post for more information:
#
# https://www.hashicorp.com/blog/using-hashicorp-vault-with-chef.html
#
resource_name :vault_secret
property :path, String, name_property: true
property :destination, String