Skip to content

Instantly share code, notes, and snippets.

View pincheira's full-sized avatar
🚀
Shipping

JP Pincheira pincheira

🚀
Shipping
View GitHub Profile
@pincheira
pincheira / homebrew.rb
Last active July 1, 2016 17:07
Working version of Homebrew for OS X 10.10

Working version of Homebrew for OS X 10.10

The only way to get working Homebrew on OS X 10.10 for now (10.10 beta was just released a couple of hours ago) is by using an special fork by @jacknagel available at https://github.com/jacknagel/homebrew/tree/rb2.

To install this working version of Homebrew just execute:

ruby -e "$(curl -fsSL https://gist.githubusercontent.com/jpincheira/bd3698fee46735fac252/raw/2c6a2f81927871c1a64e2dfbbc5eef451c71a9ac/homebrew.rb)"

@pincheira
pincheira / Custom.css
Created June 6, 2013 12:55
Modified mnml theme for Chrome Devtools
/**********************************************/
/*
/* mnml Theme for Chrome DevTools by Michael P. Pfeiffer
/*
/* Based on a Gist by Ben Truyman. Further attr:
/* https://gist.github.com/3040634
/* Modified by: Juan Pablo Pincheira
/* What was changed? Remove .status-bar selectors because
/* they looked odd on a retina display.
/**********************************************/
@pincheira
pincheira / gist:3658238
Created September 6, 2012 16:34
Shorcut to add an Object method in JavaScript

Sublime Text shorcut to add an Object method in JavaScript

To achieve this easily:

start: function() {
  ...
}
@pincheira
pincheira / gist:2724082
Created May 18, 2012 08:58
Custom override console.log to display date on every return string
function showDate(){
var date = new Date(),
str = date.toUTCString();
return str;
}
var orig = console.log;
console.log = function() {
@pincheira
pincheira / gist:2636687
Created May 8, 2012 16:02
Appearance effect
&.filter
position: absolute
top: -300px
left: 0
right: 0
height: 100%
z-index: 2
opacity: 0
pointer-events: none
padding: