Skip to content

Instantly share code, notes, and snippets.

View mattray's full-sized avatar
🇦🇺
in Sydney

Matt Ray mattray

🇦🇺
in Sydney
View GitHub Profile
mray@farnsworth[11:24]2.2.4(master)~/ws/habitat
$ ls plans/
Makefile coreutils/ gnupg/ libidn/ openssl/ rust/
README.md coreutils-static/ gnupg-static/ libksba/ openssl-0.9.8/ sed/
acl/ curl/ go/ libmpc/ openssl-musl/ shadow/
apr/ db/ gpgme/ libpng/ patch/ sqlite/
apr-util/ dejagnu/ grep/ libsodium/ patchelf/ strace/
attr/ diffutils/ gzip/ libsodium-musl/ pcre/ tar/
autoconf/ docker/ hab-backline/ libtool/ perl/ tcl/
automake/ elixir/ haproxy/ libxml2/ phantomjs/ texinfo/
mray@farnsworth[11:23]2.2.4(master)~/ws/habitat
$ hab studio enter
hab-studio: Creating Studio at /hab/studios/src (default)
hab-studio: Entering Studio at /hab/studios/src (default)
[1][default:/src:0]# ls
ls
[2][default:/src:0]#
#cherry-picking
#add the remote
git cherry-pick 76fcd68
#cherry-pick uncommited
git cherry-pick -n 76fcd68
@mattray
mattray / criteria.txt
Last active September 11, 2015 17:12 — forked from gigamonkey/criteria.txt
Hiring criteria: looking for the ability to …
Write a program that does what it’s supposed to do
Write idiomatic code
Debug a program that you wrote
Debug a program someone else wrote
Debug the interaction between a system you wrote and one you didn’t
File a good bug report
Modify a program you didn’t write
Test a program you wrote
Test a program you didn’t write
Learn a new programming language
root@localhost:~/omnibus-chef/pkg# chef-client
[2015-05-26T19:21:09+00:00] WARN: Please install an English UTF-8 locale for Chef to use, falling back to C locale and disabling UTF-8 support.
{:config_missing=>true}
[2015-05-26T19:21:10+00:00] WARN: *****************************************
[2015-05-26T19:21:10+00:00] WARN: Did not find config file: /etc/chef/client.rb, using command line options.
[2015-05-26T19:21:10+00:00] WARN: *****************************************
Starting Chef Client, version 12.4.0.rc.0
Creating a new client identity for localhost.localdomain using the validator key.
================================================================================
@mattray
mattray / gist:4da8d9e9c1676aeec6ab
Created February 9, 2015 20:47
Spiceweasel outputs
ChefDK 0.4.0
mray@farnsworth[14:40]SYSTEM(master)~/ws/os/chef-repo
$ chef gem install spiceweasel
Fetching: chef-zero-2.2.1.gem (100%)
WARNING: You don't have /Users/mray/.chefdk/gem/ruby/2.1.0/bin in your PATH,
gem executables will not run.
Successfully installed chef-zero-2.2.1
Fetching: rest-client-1.6.7.gem (100%)
Successfully installed rest-client-1.6.7
@mattray
mattray / openstack-summit.txt
Created October 30, 2014 14:41
OpenStack Summit Events
* Monday
Cisco: http://tweetvite.com/event/crepestack
Mirantis: http://openstacksummitnovember2014paris.sched.org/event/5c3f044471d857d8cff5de124f838040#.VE-i0MlayeI
NewStack: http://www.eventbrite.com/e/the-new-stack-warmup-at-openstack-tickets-13396753049
* Tuesday
Canonicial: https://www.eventbrite.co.uk/e/an-evening-of-world-class-paris-culture-registration-13697167597
CloudBeers: http://www.meetup.com/CloudBeers/events/212087532/
HP: http://openstackparis.scality.com/
Midokura: https://www.eventbrite.com/e/midonet-launch-party-tickets-13977159059
* Wednesday
mray@farnsworth[17:06]1.9.3(master)~/ws/os/chef-repo
$ bundle exec spiceweasel --debug infrastructure.yml
DEBUG: file: infrastructure.yml
DEBUG: file manifest: {"berksfile"=>{"options"=>"--no-freeze --halt-on-frozen"}, "cookbooks"=>nil, "roles"=>[{"allinone-compute"=>nil}, {"os-compute-single-controller"=>nil}, {"os-base"=>nil}, {"os-ops-caching"=>nil}, {"os-ops-messaging"=>nil}, {"os-ops-database"=>nil}, {"os-block-storage"=>nil}, {"os-block-storage-api"=>nil}, {"os-block-storage-scheduler"=>nil}, {"os-block-storage-volume"=>nil}, {"os-client"=>nil}, {"os-compute-api"=>nil}, {"os-compute-api-ec2"=>nil}, {"os-compute-api-metadata"=>nil}, {"os-compute-api-os-compute"=>nil}, {"os-compute-cert"=>nil}, {"os-compute-conductor"=>nil}, {"os-compute-scheduler"=>nil}, {"os-compute-setup"=>nil}, {"os-compute-vncproxy"=>nil}, {"os-compute-worker"=>nil}, {"os-dashboard"=>nil}, {"os-identity"=>nil}, {"os-image"=>nil}, {"os-image-api"=>nil}, {"os-image-registry"=>nil}, {"os-image-upload"=>nil}, {"os-telemetry-agent-centra
@mattray
mattray / gist:f5141f3f6cb0be4cfc5d
Created May 14, 2014 13:07
OpenStack Atlanta Chef Workshop Instructions

Welcome to the OpenStack Deployment with Chef Workshop. These instructions are tailored to provide the minimal configuration for doing the walk-through. There is an expectation of Chef familiarity, but the steps are the same used in the presentation.

User shell commands will start with '$' or '#' for the 'root' user on the Virtualbox image.

1. Install Virtualbox. We are currently using 4.3.10. You may download it from https://Virtualbox.com

2. Install Vagrant. We are currently using 1.4.3. You may download it from https://downloads.vagrantup.com

3. Install the Chef Development Kit. We are currently using 0.1.0. You may download it from https://www.getchef.com/downloads/chef-dk/