Skip to content

Instantly share code, notes, and snippets.

@mjohnsullivan
mjohnsullivan / parse_json.go
Created December 14, 2015 23:17
Parse JSON objects with arbitrary key names in Go using interfaces and type assertions
// Parsing arbitrary JSON using interfaces in Go
// Demonstrates how to parse JSON with abritrary key names
// See https://blog.golang.org/json-and-go for more info on generic JSON parsing
package main
import (
"encoding/json"
"fmt"
)

A pseudonymous trust system for a decentralized anonymous marketplace

Dionysis Zindros, National Technical University of Athens [email protected]

Keywords

pseudonymous anonymous web-of-trust identity trust bitcoin namecoin proof-of-burn timelock decentralized anonymous marketplace openbazaar

Abstract

@caesar
caesar / Thunderbird Launcher.applescript
Last active February 8, 2020 09:44
Automate loading of Thunderbird profile on encrypted disk image (OS X)
-- Thunderbird Launcher app
-- Mounts a disk image before launching Thunderbird, and unmounts it when Thuderbird closes
-- by Caesar Schinas, based on ideas at http://hintsforums.macworld.com/showthread.php?t=26597
on run
set diskname to "Thunderbird Profile"
set diskpath to "~/Library/Thunderbird/Profiles/Thunderbird Profile.sparsebundle"
set itemname to "/Applications/Thunderbird"
tell application "Finder"
if not (exists the disk diskname) then