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
# Fix node-gyp error: "No package 'cairo' found" | |
# | |
# Installs Pixman, Cairo and (if absent) pkg-config | |
# N.B. You may want to first cd into a preferred source directory (e.g. ~/src). | |
# | |
# Desc: | |
# This script attempts to fix a node-gyp error, "No package 'cairo' found", | |
# (that in my case appeared) when trying to npm install --save metalsmith-stylus. | |
# Basically, installing Cairo + Pixman (http://www.cairographics.org/) did the | |
# trick for me. (Might come in handy in similar situations with the same error.) |
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
# --------- | |
# prompt.sh | |
# --------- | |
#################################################################### | |
# # | |
# This is probably a mess, with bad scoping and what not, but it # | |
# works and looks just awesome. (Modified for Mac OS X.) # | |
# # |