Skip to content

Instantly share code, notes, and snippets.

View awaxa's full-sized avatar

Greg Kitson awaxa

View GitHub Profile
# Optional/custom modules. There are tons available at
# https://github.com/boxen.
github "brewcask", "0.0.4", :repo => "phinze/puppet-brewcask"
@awaxa
awaxa / -
Created December 5, 2014 22:46
vagrant plugin list
vagrant-auto_network (1.0.2)
vagrant-config_builder (0.12.0)
vagrant-hosts (2.2.4)
vagrant-pe_build (0.9.6)
oscar (0.4.1)
vagrant-cachier (1.1.0)
vagrant-digitalocean (0.7.1)
vagrant-login (1.0.1, system)
vagrant-multiprovider-snap (0.0.14)
vagrant-share (1.1.2, system)
[Fri Nov 28 2014 09:53:58 GMT-0800 (PST)] ERROR TypeError: Object #<Object> has no method 'usersForFuzzyName'
at Listener.callback (/Users/awaxa/src/hubot-welcome/src/welcome.coffee:24:16, <js>:13:41)
at Listener.call (/Users/awaxa/src/diabot/node_modules/hubot/src/listener.coffee:27:7, <js>:23:14)
at Robot.receive (/Users/awaxa/src/diabot/node_modules/hubot/src/robot.coffee:197:9, <js>:142:33)
at IrcBot.Adapter.receive (/Users/awaxa/src/diabot/node_modules/hubot/src/adapter.coffee:66:5, <js>:47:25)
at Client.<anonymous> (/Users/awaxa/src/diabot/node_modules/hubot-irc/src/irc.coffee:299:7, <js>:386:21)
at Client.emit (events.js:106:17)
at Client.<anonymous> (/Users/awaxa/src/diabot/node_modules/hubot-irc/node_modules/irc/lib/irc.js:413:22)
at Client.emit (events.js:95:17)
at /Users/awaxa/src/diabot/node_modules/hubot-irc/node_modules/irc/lib/irc.js:658:22
class Example {
public static void main (String[] args) {
System.out.println("this is where it begins");
doStuff();
System.out.println("this is where it ends");
}
public static void doStuff() {
System.out.println("this is where it does stuff");
}
}
# use static classification for important nodes
node 'puppet.example.com' {
include role::puppet::master
}
# allow otherwise unclassified development nodes to classify themselves via a role fact
node default {
include profile::base
$cool_tiers = [
'internal_dev',
@awaxa
awaxa / arthur
Last active August 29, 2015 14:09
'{
"Ansi 0 Color" = {
"Blue Component" = "0.16470588743686676";
"Green Component" = "0.20784313976764679";
"Red Component" = "0.23921568691730499";
};
"Ansi 1 Color" = {
"Blue Component" = "0.36078432202339172";
"Green Component" = "0.36078432202339172";
"Red Component" = "0.80392158031463623";
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ferventcoder/win7pro-x64-nocm-lite"
config.vm.provider "vmware_fusion" do |v|
v.gui = true
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCeNGd4WXmWYczyNQhQsY5Orq5cwLgx9gsY2dx4rtrEu0TBQdglet3ALLhGj1qmd1bI/VRwlp2dOM1m39F2khCUefCWlX52LonRxQhewjEuqJI1nfa47r9r8zhfB5MmceyAxUfb3YdO80F6US3WWBeo6fg5vXlpTR7ZCJukGyr9qIhxcCdnyoPu+4o9vQt0vztFQnaUEnvu/5+JhvNm6Y17we2rn6lu9pEodZnbxT9lEjNTslIx2xA9PWmF5uyNdjGpG//4+8iNTCIBBos4kBoMn7MVQ9jrQ5LoFSw7roMEVMK+7N6EQxAUlqtyU+mF+z9+lF3TVQbSVWUbwmpuP5hN6htGEJuwF6piVJ0/fD/M+EBjc05vxv4RHCmzb/pDKeg5BWD5uGEfQ1aLuC4Kr4u6kp9080xSogoV4OPyukVhux3hD2/cHO29S//HbbPa7RUOLhfmXIiSufHhqHwygIU3V3koi2oJRChUmK288U0rUmfP1HfVkVZZa0VnvmUNHnaPF9rahOWV6gLBTweIwRoJNuEUmIiCUaeEOFwgWLcdg6OWj7ALlc8BW0he9AgdMYmnaswHrOZGaOTXrM6+/pnVXYDuUawha5FpAi8P4X/EKrMeAt6OuZvjfUkJEGyc7lGYTwkfTwGn/QlNAI/doEvVp+3RN+PcbdFPitYzTS+Rfw== greg.kitson@puppetlabs.com
@awaxa
awaxa / -
Created October 13, 2014 01:37
1 1461 14.6115% git
2 692 6.92069% cd
3 646 6.46065% cat
4 593 5.93059% vim
5 493 4.93049% g
6 445 4.45045% rm
7 260 2.60026% ls
8 247 2.47025% gco
9 203 2.0302% mv
10 195 1.9502% v
FROM dockerfile/nodejs
COPY . /src
RUN cd /src ; npm install
RUN cd /src ; node node_modules/bower/bin/bower --allow-root install
EXPOSE 1337
CMD ["node", "/src/server.js"]