Skip to content

Instantly share code, notes, and snippets.

View ocxo's full-sized avatar
💆‍♂️
domakesaythink

ocxo ocxo

💆‍♂️
domakesaythink
  • Vacant
View GitHub Profile
@ocxo
ocxo / pr.md
Created January 18, 2013 21:54 — forked from piscisaureus/pr.md

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = [email protected]:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

gem 'mysql2'
gem 'minitest'
@ocxo
ocxo / .slate
Created January 23, 2013 17:37
# This is the default .slate file.
# If no ~/.slate file exists this is the file that will be used.
config defaultToCurrentScreen true
config nudgePercentOf screenSize
config resizePercentOf screenSize
# Resize Bindings
bind right:alt;cmd resize +10% +0
bind left:alt;cmd resize -10% +0
@ocxo
ocxo / Gemfile
Last active December 12, 2015 07:08
source :rubygems
gem 'berkshelf'
Using berkshelf (1.1.6)
Installing ffi (0.6.3) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/Adam/.rbenv/versions/1.9.3-p362/bin/ruby extconf.rb
extconf.rb:6: Use RbConfig instead of obsolete and deprecated Config.
checking for ffi.h in /usr/local/include... no
checking for rb_thread_blocking_region()... yes
creating extconf.h
creating Makefile
def github(name, version, options = nil)
options ||= {}
options[:repo] ||= "boxen/puppet-#{name}"
mod name, version, :github_tarball => options[:repo]
end
# This file manages Puppet module dependencies.
#
# It works a lot like Bundler. We provide some core modules by
# default. This ensures at least the ability to construct a basic
# environment.
def github(name, version, options = nil)
options ||= {}
options[:repo] ||= "boxen/puppet-#{name}"
mod name, version, :github_tarball => options[:repo]
class people::fromonesrc {
include alfred
include caffeine
include elasticsearch
include flux
include handbrake
include notational_velocity
include onepassword
include screen
include vlc
Verifying permissions for “Macintosh HD”
Permissions differ on “System/Library/Frameworks/CoreGraphics.framework/Headers”; should be lrwxrwxrwx ; they are lrwxr-xr-x .
Permissions differ on “usr/include/arpa/nameser.h”; should be lrw-r--r-- ; they are lrwxr-xr-x .
Group differs on “Library”; should be 0; group is 80.
Permissions differ on “Library”; should be drwxr-xr-x ; they are drwxrwxr-t .
Permissions differ on “Library/Application Support”; should be drwxr-xr-x ; they are drwxrwxr-x .
Group differs on “Library/Contextual Menu Items”; should be 0; group is 80.
Permissions differ on “Library/Contextual Menu Items”; should be drwxr-xr-x ; they are drwxrwxr-x .
Permissions differ on “Library/Internet Plug-Ins/JavaAppletPlugin.plugin”; should be lrwxr-xr-x ; they are drwxr-xr-x .
Group differs on “Library/Java”; should be 0; group is 80.
curl -O http://ftp.postgresql.org/pub/pgadmin3/release/v1.16.1/osx/pgadmin3-1.16.1.dmg && yes | hdiutil attach pgadmin3-1.16.1.dmg > /dev/null && cp -r /Volumes/pgAdmin3/pgAdmin3.app /Applications && umount /Volumes/pgAdmin3