Skip to content

Instantly share code, notes, and snippets.

@treerao
treerao / Blockstack-ID.txt
Last active July 20, 2019 22:54
Blockstack proof
Verifying my Blockstack ID is secured with the address 13BCK3gERAru3p797J3Zcy4eKQSYYjkzE3 https://explorer.blockstack.org/address/13BCK3gERAru3p797J3Zcy4eKQSYYjkzE3
Verifying my Blockstack ID is secured with the address 13ARzTSCJQ9YxCcacHUraVjtn5ChsLCzQb https://explorer.blockstack.org/address/13ARzTSCJQ9YxCcacHUraVjtn5ChsLCzQb
@treerao
treerao / ExportKindle.js
Last active May 18, 2020 22:13 — forked from jkubecki/ExportKindle.js
Amazon Kindle Export
// The following data should be run in the console while viewing the page https://read.amazon.com/
// It will export a CSV file called "download" which can (and should) be renamed with a .csv extension
var db = openDatabase('K4W', '2', 'thedatabase', 1024 * 1024);
getAmazonCsv = function() {
// Set header for CSV export line - change this if you change the fields used
var csvData = "ASIN,Type,Title,Authors,PurchaseDate\n";
db.transaction(function(tx) {
@treerao
treerao / mongod.conf
Last active August 29, 2015 14:23
Moving to Mongo 3.0
storage:
dbPath: "/data/db_wt"
engine: "wiredTiger"
wiredTiger:
engineConfig:
cacheSizeGB: 8
collectionConfig:
blockCompressor: snappy
systemLog: