$ uname -r
#!/bin/bash | |
# | |
# /etc/rc.d/init.d/xvfbd | |
# | |
# chkconfig: 345 95 28 | |
# description: Starts/Stops X Virtual Framebuffer server | |
# processname: Xvfb | |
# | |
module | levelup version |
downloads in the last 30 days |
total downloads |
---|---|---|---|
level-sublevel | ~0.19.0 | 151,300 | 1,226,226 |
pouchdb | 1.3.8 | 124,983 | 1,162,731 |
browserify-fs | ^0.18.2 | 100,027 | 458,142 |
pouchdb-adapter-leveldb-core | 1.3.8 | 97,566 | 419,461 |
level-packager | ~1.3.0 | 74,165 | 758,119 |
merkle-patricia-tree | ^1.2.1 | 13,231 | 127,025 |
dynalite | ^1.3.3 | 10,553 | 258,090 |
mosca | ^1.3.8 | 9,513 | 171,844 |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
for ubuntu, to set up a dynamic dns service that tells you what the external ip of some machine is
npm install dat lil-pids run-every add-to-systemd -g
mkdir ipdat; cd ipdat; dat create; cd ..;
- edit file
services
with this:
cd ipdat && dat sync
cd ipdat && run-every 3600 curl ipinfo.io/ip > ip.txt
#!/bin/bash | |
# This script should be located on each Jenkins slave, and the jenkins user should have permission to run it with sudo | |
# Attempts to cleanly stop and remove all containers, volumes and images. | |
docker ps -q | xargs --no-run-if-empty docker stop | |
docker ps -q -a | xargs --no-run-if-empty docker rm --force --volumes | |
docker volume ls -q | xargs --no-run-if-empty docker volume rm | |
docker images -a -q | xargs --no-run-if-empty docker rmi -f | |
# Stops the docker service, unmounts all docker-related mounts, removes the entire docker directory, and starts docker again. |
This is a collection of snippets, not a comprehensive guide. I suggest you start with Operational PGP.
Here is an incomplete list of things that are different from other approaches:
- I don't use keyservers. Ever.
- Yes, I use Gmail instead of some bespoke hipster freedom service
"How do I get started with Node?" is a commonly heard question in #Node.js. This gist is an attempt to compile some of the answers to that question.
And if this list didn't quite answer your questions, I'm available for tutoring and code review! A donation is also welcome :)
Especially if you normally use a different language, or you only use Javascript occasionally, it's easy to misunderstand some of the aspects of the language.
These links will help you refresh your knowledge of JS, and make sure that you understand the OOP model correctly.
{ | |
"name": "utp-hole-punching", | |
"dependencies": { | |
"utp-native": "*", | |
"discovery-channel": "*" | |
} | |
} |
#!/bin/bash | |
SERVER=yourwebsite.com | |
tar -cjf- ~/.crypt/passwd ~/.ssh ~/.bashrc ~/.profile ~/.vimrc ~/.gitconfig \ | |
~/.config/chromium ~/.mozilla \ | |
| openssl enc -aes-256-cbc \ | |
| ssh $SERVER 'cat>~/www/backup/`date +%F.%T`' | |
ssh $SERVER 'ls -1 ~/www/backup | grep ^[0-9] | sort > ~/www/backup/list.txt' |