Skip to content

Instantly share code, notes, and snippets.

# http://stackoverflow.com/a/29490456
#!/bin/bash
# Uninstall node.js
#
# Options:
#
# -d Actually delete files, otherwise the script just _prints_ a command to delete.
# -p Installation prefix. Default /usr/local
# -f BOM file. Default /var/db/receipts/org.nodejs.pkg.bom
# https://github.com/jgm/pandoc/releases/1.14.0.1
pandoc -V geometry:"top=1.5cm, bottom=1.5cm, left=1.5cm, right=1.5cm" --latex-engine=xelatex *.md -o out.pdf
/**
* BEM Mixin for Sass (v3.4.0)
*
* Block / Element / Modifier
*
* Example:
*
* @include b(test) {
* background: red;
* @include e(element){
(...)
npm info install npm@0.1.27-12
npm ERR! Failed unpacking the tarball.
npm ERR! This is very rare. Perhaps the 'gzip' or 'tar' configs
npm ERR! are set improperly?
npm ERR!
npm ERR! install failed Error: Failed gzip "--decompress" "--stdout" "/home/node/.node_libraries/.npm/.cache/npm/0.1.27-12/package.tgz"
npm ERR! install failed exited with 1
npm ERR! install failed at ChildProcess.<anonymous> (/usr/home/marcin/npm/lib/utils/exec.js:41:19)
npm ERR! install failed at ChildProcess.emit (events:33:26)
root@dnsfreebsd:~/npm [master]# node cli.js config set loglevel verbose
npm info it worked if it ends with ok
npm info version 0.1.27-12
npm info config set loglevel verbose
npm ok
root@dnsfreebsd:~/npm [master]# make install
node cli.js install npm
npm info it worked if it ends with ok
npm verb cli [ 'install', 'npm' ]
npm info version 0.1.27-12