Skip to content

Instantly share code, notes, and snippets.

View creativetim's full-sized avatar

Tim Yager creativetim

View GitHub Profile
git revert -m 1 <merge commit hash>
@creativetim
creativetim / plaintextCSS.js
Created March 20, 2017 16:40
Plaintext CSS from object
import _ from 'lodash/lodash';
/**
* Transforms a "CSS DOM" object into plaintext CSS.
*
* ex. of CSS DOM object
* cssDOM = {
* 'c-header': {
* 'border': '1px solid #000',
* 'border-color: obj.customColor,
@creativetim
creativetim / gist:67de81a6debb897a0a95
Created June 29, 2015 23:41
CFLAGS is valid... no
$rvm install ruby-2.2.2
ruby-2.2.2 - #removing src/ruby-2.2.2..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.10/x86_64/ruby-2.2.2.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx_brew.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Warning: found user selected compiler '/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2', this will suppress RVM auto detection mechanisms.
Installing Ruby from source to: /Users/tyager/.rvm/rubies/ruby-2.2.2, this may take a while depending on your cpu(s)...
@creativetim
creativetim / gist:5f033b49868489c5ca8d
Created April 22, 2015 22:05
Setting OS X target to help in gem install, or whatever
MACOSX_DEPLOYMENT_TARGET=10.9
@creativetim
creativetim / gist:59126299d47f27e29e73
Created October 22, 2014 17:45
Simple GeoChart of United States
http://jsfiddle.net/2zvmqq5c/