Skip to content

Instantly share code, notes, and snippets.

gerad / npm install mongodb
Created Mar 10, 2011
npm install mongodb fails on
View npm install mongodb
[node@gerad ~]$ npm install mongodb
npm info it worked if it ends with ok
npm info using npm@0.3.15
npm info using node@v0.4.1
npm info fetch
npm info calculating sha1 /tmp/npm-1299777263646/1299777263646-0.11996227549389005/tmp.tgz
npm info shasum 0b4c97289d9c88fc726a9993a8632d2ebe3284d6
npm info calculating sha1 /home/node/.node_libraries/.npm/.cache/mongodb/0.9.1/package.tgz
npm info shasum 5ea811dd1b55ae50b5ebda38c853e7548c7d86db
npm info preinstall mongodb@0.9.1
ancap / gist:7412407
Last active Apr 6, 2017
Nginx debug
View gist:7412407

#Nginx debug# Use strace. First, you need to detect PID of nginx process:

# ps ax | grep nginx
25043 ?        Ss     0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
25044 ?        S      0:02 nginx: worker process

Ok, so 25044 is the worker process. Now, we trace it:

# strace -p 25044 2>&1 | grep gz
gabrielsson /
Last active Jun 24, 2020
Minecraft on Raspberry Pi cluster with metrics


Minecraft on Raspberry Pi cluster with metrics

Ever wanted to put your Rapsberry Pi cluster to great use? Our team is working remotely, so we started to play Minecraft. I decided I would host the Minecraft server on my Raspberry Pi cluster. This gist will guide you through the steps I took to get a k3s cluster up with k3sup and later installed Minecraft as well as metrics exporter and Prometheus Operator


Quoniam Possumus - Because we can

You'll need

You can’t perform that action at this time.