Skip to content

Instantly share code, notes, and snippets.

View p01nt's full-sized avatar

Pavlo Klets p01nt

  • Kyiv
View GitHub Profile
@p01nt
p01nt / hack.sh
Created April 2, 2012 07:01 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@p01nt
p01nt / puppet-init.rb
Created March 12, 2012 09:39
puppet installer
#!/usr/bin/env ruby
require 'singleton'
if RUBY_VERSION.tr('.', '').to_i < 190
class Platform
include Singleton
Platform::IMPL = case RUBY_PLATFORM.split("-")[1]