Skip to content

Instantly share code, notes, and snippets.

View GoalSmashers's full-sized avatar

Goal Smashers Dev Team GoalSmashers

View GitHub Profile
@font-face{font-family:'Open Sans Light';src:url(//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.eot);src:url(//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.eot?#iefix) format('embedded-opentype'),url(//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.woff) format('woff'),url(//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.ttf) format('truetype'),url(//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.svg#OpenSansLight) format('svg');font-weight:400;font-style:normal}
@font-face{font-family:'Open Sans Light';src:url(//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.eot);src:url(//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.eot?#iefix) format('embedded-opentype'),url(//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.woff) format('woff'),url(//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.ttf) format('truetype'),url(//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.svg#OpenSansRegular) format(
@GoalSmashers
GoalSmashers / gist:8765860
Created February 2, 2014 10:11
clean css patch 3
commit 64f380a62e040e33668a378dffb83f6dbb68982a
Author: Jakub Pawlowicz <contact@jakubpawlowicz.com>
Date: Sun Jan 19 17:03:19 2014 +0000
Fixes calc test.
diff --git a/test/unit-test.js b/test/unit-test.js
index 38ce444..ba614d2 100644
--- a/test/unit-test.js
+++ b/test/unit-test.js
@GoalSmashers
GoalSmashers / gist:8765858
Created February 2, 2014 10:11
clean-css patch 2
commit acb8fdfb8e3fdaab93e0b436487f56f208b5d108
Author: Jakub Pawlowicz <contact@jakubpawlowicz.com>
Date: Sun Jan 19 16:51:46 2014 +0000
Fixed units regexp.
diff --git a/lib/properties/compact.js b/lib/properties/compact.js
index af51026..42c4065 100644
--- a/lib/properties/compact.js
+++ b/lib/properties/compact.js
@GoalSmashers
GoalSmashers / gist:8765857
Created February 2, 2014 10:10
clean-css patch 1
commit 29fbb23145254bab63a83e261a02fcf5dc09b5fd
Author: Jakub Pawlowicz <contact@jakubpawlowicz.com>
Date: Sun Jan 19 16:51:07 2014 +0000
Cleaned up line breaks.
diff --git a/lib/properties/compact.js b/lib/properties/compact.js
index d3f5884..af51026 100644
--- a/lib/properties/compact.js
+++ b/lib/properties/compact.js
@GoalSmashers
GoalSmashers / patch.txt
Created December 22, 2013 17:29
unit tests patch 1
diff --git a/test/unit-test.js b/test/unit-test.js
index 38ce444..a57388e 100644
--- a/test/unit-test.js
+++ b/test/unit-test.js
@@ -1333,13 +1333,8 @@ title']{display:block}",
'animation-name': ['animation'],
'animation-play-state': ['animation'],
'animation-timing-function': ['animation'],
- 'background-attachment': ['background'],
'background-clip': ['background'],
@GoalSmashers
GoalSmashers / Procfile
Created October 15, 2013 18:22
bundler + foreman + more than one Ruby interpreter - we run MRI 2.0 and Rubinius 2.1 side by side this way
app: bundle exec puma -p 3000
service: config/scripts/service
@GoalSmashers
GoalSmashers / llvm+rubinius2.sh
Last active December 25, 2015 04:09
LLVM and Rubinius 2 on CentOS 5
# LLVM
V=3.3
wget http://llvm.org/releases/$V/llvm-$V.src.tar.gz
tar zxf llvm-$V.src.tar.gz
cd llvm-$V.src
./configure --enable-jit --enable-targets=x86_64 --prefix=$HOME/local
nice -n 10 make
make install
# Rubinius
@GoalSmashers
GoalSmashers / dependencies.txt
Created January 6, 2012 11:06
Ruby with readline on CentOS 5.x via RVM
Be sure to have ncurses and ncurses-devel installed, which are not recommended by default via `rvm requirements`:
% yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel ncurses ncurses-devel