Skip to content

Instantly share code, notes, and snippets.

View QuinnyPig's full-sized avatar

Corey Quinn QuinnyPig

View GitHub Profile
@QuinnyPig
QuinnyPig / gist:3029388
Created July 1, 2012 19:54
cairo build failure
cquinn@quinntel ~ % brew doctor 1 22076 12:48:39 Sun 07- 1-2012
Your system is raring to brew.
cquinn@quinntel ~ % brew --config 22075 12:48:35 Sun 07- 1-2012
HOMEBREW_VERSION: 0.9.1
HEAD: d68131523bea48cba7c8c92780ea660d219cdfdd
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.7.4-x86_64
Coreys-Mac:~ cquinn$ tree /Library/Developer/CommandLineTools
-bash: tree: command not found
Coreys-Mac:~ cquinn$ # Dammit mistym!
Coreys-Mac:~ cquinn$ find /Library/Developer/CommandLineTools
find: /Library/Developer/CommandLineTools: No such file or directory
Coreys-Mac:~ cquinn$ /usr/bin/clang --version
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
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.