Skip to content

Instantly share code, notes, and snippets.

View jahkeup's full-sized avatar

Jacob Vallejo jahkeup

View GitHub Profile
@jahkeup
jahkeup / 0_reuse_code.js
Created February 7, 2014 18:04
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
require 'formula'
class Saltstack < Formula
homepage 'http://saltstack.org'
url 'https://github.com/saltstack/salt/archive/v0.13.1.zip'
sha1 '56ee585b42c9f45330fb76f5a3c4bd2259a116a0'
depends_on 'libyaml'
depends_on 'msgpack'
depends_on 'swig' => :build
@jahkeup
jahkeup / rdhcpd.rb
Created June 24, 2012 06:57 — forked from telamon/rdhcpd.rb
Pure ruby DHCP server
' Copyright (c) 2007, Tony Ivanov
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
@jahkeup
jahkeup / install_homebrew.rb
Created November 14, 2011 13:36 — forked from fenollp/install_homebrew.rb
(PowerPC) - Installs Homebrew to /usr/local so you don't need sudo to `brew install`
#!/usr/bin/ruby
# This script installs to /usr/local only. To install elsewhere you can just
# untar https://github.com/sceaga/homebrew/tarball/powerpc anywhere you like.
# ruby -e "$(curl -fsSL https://raw.github.com/gist/1363966)"
module Tty extend self
def blue; bold 34; end
def white; bold 39; end
def red; underline 31; end
def reset; escape 0; end