Skip to content

Instantly share code, notes, and snippets.

View QuinnyPig's full-sized avatar

Corey Quinn QuinnyPig

View GitHub Profile
cquinn@sequinn ~ % boot2docker start [1] 1 3506 22:50:25 Thu 03-13-2014
[2014-03-13 22:50:28] boot2docker-vm is already running.
To connect the docker client to the Docker daemon, please set:
export DOCKER_HOST=tcp://localhost:4243
cquinn@sequinn ~ % export DOCKER_HOST=tcp://localhost:4243 0
cquinn@sequinn ~ % docker pull learn/tutorial 4 3509 22:51:22 Thu 03-13-2014
Pulling repository learn/tutorial
8dbd9e392a96: Download complete
# OSX for Hackers (Mavericks/Yosemite)
#
# Source: https://gist.github.com/brandonb927/3195465
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# QuinnyPig forked from
With Pillar data that looks like:
vlans:
id:
100:
network:
- 10.20.0.0
netmask:
- 255.255.255.0
prefix:
- 10.20.0
@QuinnyPig
QuinnyPig / -
Last active August 29, 2015 14:08
Pillar says:
vlans:
- id: 100
network: 10.20.0.0
netmask: 255.255.255.0
prefix: 10.20.0
gateway: 10.20.0.1
- id: 101
network: 10.21.0.0
@QuinnyPig
QuinnyPig / -
Created January 30, 2015 18:56
RSpec.configure do |c|
# Readable test descriptions
c.formatter = :documentation
c.before :suite do
Dir.entries(modules_root).each do |m0dule|
puppet_module_install(:source => "#{modules_root}/#{m0dule}", :module_name => m0dule)
end
end
end
@QuinnyPig
QuinnyPig / -
Created January 30, 2015 22:51
root@ubuntu-server-1204-x64:/tmp# puppet resource service ntp enable=true
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
(at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning')
Notice: /Service[ntp]/enable: enable changed 'false' to 'true'
service { 'ntp':
ensure => 'running',
enable => 'false',
}
root@ubuntu-server-1204-x64:/tmp# puppet resource service ntp enable=true
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
@QuinnyPig
QuinnyPig / -
Created February 8, 2015 01:45
diff --git a/.zsh/functions/gitstatus.py b/.zsh/functions/gitstatus.py
new file mode 100755
index 0000000..d14420e
--- /dev/null
+++ b/.zsh/functions/gitstatus.py
@@ -0,0 +1,65 @@
+#!/usr/bin/env python
+from __future__ import print_function
+
+# change this symbol to whatever you prefer
XXX has started a new project to identify storage needs at xxx. The project deliverables are a report and recommendation to yyy. Accordingly, xxx would like to get an overview of how students and staff work today, along with your/their projected future storage needs. More information about the project can be found at [1].
xxx has created a simple, anonymous survey [2] (only Venusian version) that should be answered by as many users as possible. You can also leave your email address so that xxx can get back to you with follow-up questions, should this be desireable.
We hope that you can answer the survey and distribute it to other interested employees.
cquinn@Quinnertube ~/src/terraform-example % terraform plan 11 11981 16:25:09 Mon 06- 8-2015
Error loading config: Error parsing /Users/cquinn/src/terraform-example/main.tf: Line 103, column 43: syntax error
cquinn@Quinnertube ~/src/terraform-example % wc -l main.tf [1] 0 11982 16:25:17 Mon 06- 8-2015
100 main.tf
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
*.log
*.so
*.7z