Skip to content

Instantly share code, notes, and snippets.

@xasima
xasima / 3-typography.css
Created April 8, 2013 17:02
Declare closure-stylesheet mixins (3-typography.gss) and try to use them (in 5-main.gss)
/* Typograph Vertical Rythms via http://drewish.com/tools/vertical-rhythm
Initial params:
Georgia - base font-family,
15px - base font,
22.5 - line height ,
40, 35, 30 20 15 13 - target fonts rythms
--------------------*/
@def _FNT_SIZE 15;
@def _EM _FNT_SIZE;
@xasima
xasima / Install goog-closure-linter on Ubuntu
Created February 8, 2012 16:34
Installing google closure linter (with easy_install) on Ubuntu 11.10
sudo apt-get install build-essential
sudo apt-get install python-cheetah
wget http://peak.telecommunity.com/dist/ez_setup.py
sudo python ez_setup.py
sudo easy_install http://closure-linter.googlecode.com/files/closure_linter-latest.tar.gz
>> Installing fixjsstyle script to /usr/local/bin
Installing gjslint script to /usr/local/bin