Skip to content

Instantly share code, notes, and snippets.

View danse's full-sized avatar

Francesco Occhipinti danse

  • Internet
View GitHub Profile
@LeaVerou
LeaVerou / dabblet.css
Created April 3, 2013 07:52
Just for fun: Wifi icon with pure CSS
/**
* Just for fun: Wifi icon with pure CSS
*/
.wifi {
padding: 20px;
}
.wifi, .wifi:before {
display: inline-block;
@simenbrekken
simenbrekken / Makefile
Created September 6, 2012 00:01
Annotated Makefile for combining and minifying LESS/CSS and JavaScript assets.
# Specify where our binaries are (I'm using package.json and npm to handle dependencies)
LESSC = node_modules/.bin/lessc
UGLIFYJS = node_modules/.bin/uglifyjs
# Our LESS input file(s)
LESS = css/base.less
# Our CSS list (replaces .less with .css in the list)
CSS = $(LESS:.less=.css)
@ChimeraCoder
ChimeraCoder / gist:3152820
Created July 20, 2012 19:45
npm (node.js) equivalent of Python's pip freeze?
#Please tell me there is a better way to do this
#(And by 'a better way', I don't mean incorporating the cut within the awk script)
npm ls | grep -E "^(├|└)─" | cut -d" " -f2 | awk '{FS = "@"; print "\""$1"\"", ":", "\""$2"\""}'