Skip to content

Instantly share code, notes, and snippets.

View gilgen's full-sized avatar

Jamie Gilgen gilgen

View GitHub Profile

Keybase proof

I hereby claim:

  • I am gilgen on github.
  • I am jamiebikies (https://keybase.io/jamiebikies) on keybase.
  • I have a public key ASAmUkdFE2DTmngMYONwPvswn7N5xoxT0QMSiBcq5N7sNwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am jamiebikies on github.
  • I am jamiebikies (https://keybase.io/jamiebikies) on keybase.
  • I have a public key ASAmUkdFE2DTmngMYONwPvswn7N5xoxT0QMSiBcq5N7sNwo

To claim this, I am signing this object:

How to build a greenhouse

By: Jamie Gilgen

This plan is for a greenhouse that is 4'x5' and is 18" tall at the base of the roof and ??? tall at the tip of the roof.

Tools required:

  • Mitre saw
  • Drill
  • A way to make cuts at a specific depth. This could be with your mitre saw, a skill saw, a table, saw, or whatever works for you.
  • Staple gun
// see https://gist.github.com/raycohen/2296605
// see https://github.com/mahonnaise/b0rked.js
var b0rked = 'https://raw.githubusercontent.com/mahonnaise/b0rked.js/master/b0rked.js';
var script= document.createElement('script');
script.type = 'text/javascript';
script.src = b0rked;
document.head.appendChild(script);
var logIfB0rked = function(s) {
#!/usr/bin/env ruby
# This pre-commit hook will prevent any commit to forbidden branches
# (by default, "staging" and "production").
# Put this file in your local repo, in the .git/hooks folder
# and make sure it is executable.
# The name of the file *must* be "pre-commit" for Git to pick it up.
FORBIDDEN_BRANCHES = ["production"]
@gilgen
gilgen / vagrant_ssh.log
Last active January 2, 2016 16:09
vagrant ssh death
>>>> VAGRANT_LOG=debug vagrant ssh
INFO global: Vagrant version: 1.4.2
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/Applications/Vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_DETECTED_OS="Darwin"
INFO global: VAGRANT_INSTALLER_ENV="1"
DEBUG global: Loading core plugin: /Applications/Vagrant/embedded/gems/gems/vagrant-1.4.2/plugins/commands/box/plugin.rb
@gilgen
gilgen / iTerm four tabs.applescript
Last active December 16, 2015 12:39
Open four tabs into a project directory
-- Set the directory where your projects live
set projectsDirectory to ((path to home folder) as string) & "projects:"
-- Set your editor command
set editorCommand to "mvim"
-- Set your default session name here
set defaultSession to "Default"
tell me
@gilgen
gilgen / handystuff.md
Created May 19, 2011 12:22
Handy stuff

Jamie's handy tidbits

Add a postgres user

sudo -u postgres createuser -S -D -R -P your_user_name

Create a postgres database owned by a user

sudo -u postgres createdb -O database_owner_username name_of_database

Crazy omniauth segfault workaround/fix(?)

export RUBYOPT='-r openssl'