This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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"\""}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Just for fun: Wifi icon with pure CSS | |
*/ | |
.wifi { | |
padding: 20px; | |
} | |
.wifi, .wifi:before { | |
display: inline-block; |