I hereby claim:
- I am zeddee on github.
- I am zeddee (https://keybase.io/zeddee) on keybase.
- I have a public key ASC2xWF-qZ4npl11Gjh1II5pLBdUR1lJBC92IEXAchReewo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// This works on all devices/browsers, and uses IndexedDBShim as a final fallback | |
var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB || window.shimIndexedDB; | |
// Open (or create) the database | |
var open = indexedDB.open("MyDatabase", 1); | |
// Create the schema | |
open.onupgradeneeded = function() { | |
var db = open.result; | |
var store = db.createObjectStore("MyObjectStore", {keyPath: "id"}); |
#!/bin/sh | |
# Setup encrypted disk image | |
# For Ubuntu 14.04 LTS | |
CRYPTFS_ROOT=/cryptfs | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install cryptsetup |
"Tips and Tricks of the Docker Captains", YouTube video, published by "Docker" on 3 Nov 2017. Available: https://www.youtube.com/watch?v=1vgi51f0tCk
On keeping containers small:
package main | |
import ( | |
"fmt" | |
"os" | |
) | |
func main() { | |
for x, env := range os.Environ() { | |
fmt.Println(x, env) |
// Attempting to write try-catch pattern | |
// with defer, panic, and recover in golang | |
// Built upon https://blog.golang.org/defer-panic-and-recover | |
package main | |
import "fmt" | |
func main() { | |
container() |
package main | |
import ( | |
"fmt" | |
"strings" | |
"golang.org/x/net/html" | |
) | |
func main() { |