Skip to content

Instantly share code, notes, and snippets.

View xaker00's full-sized avatar

Ilya Spivakov xaker00

  • Charlotte, NC (USA)
View GitHub Profile
@xaker00
xaker00 / couchdb.md
Last active October 13, 2023 18:53 — forked from eiri/primer.md
Edit CouchDB design document with curl

Edit CouchDB design document with curl

create new database

$ curl -X PUT http://localhost:5984/koi
{"ok":true}

create a single document

$ curl -X POST http://localhost:5984/koi -d '{"name":"alice","age":25}' -H'Content-Type:application/json'
@xaker00
xaker00 / README.txt
Created January 7, 2023 07:48 — forked from cernoel/README.txt
btrfs + beesd dedup setup on debian 10
# install btrfs + bees (dedup daemon)
# ---------------------------------
# add new "big" disk to vm (edit vm, add new disk)
# be root
su -
# check for new disk in guest