$ uname -r
This file contains hidden or 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
| #!/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 -gmkdir ipdat; cd ipdat; dat create; cd ..;- edit file
serviceswith this:
cd ipdat && dat sync
cd ipdat && run-every 3600 curl ipinfo.io/ip > ip.txt
This file contains hidden or 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
| #!/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
This file contains hidden or 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
| { | |
| "name": "utp-hole-punching", | |
| "dependencies": { | |
| "utp-native": "*", | |
| "discovery-channel": "*" | |
| } | |
| } |
This file contains hidden or 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
| #!/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' |
NewerOlder