- press and hold alt right after powering on
- select EFI BOOT
- select try ubuntu gnome
- control + e
- delete quiet and splash, nomodeset intremap=nosid
- hit f10 to boot into live cd
luks
| BenchmarkSend/128-24 200000 5788 ns/op | |
| BenchmarkSend/128#01-24 1000000 2053 ns/op | |
| BenchmarkSend/256-24 100000 10465 ns/op | |
| BenchmarkSend/256#01-24 500000 3311 ns/op | |
| BenchmarkSend/512-24 100000 18025 ns/op | |
| BenchmarkSend/512#01-24 200000 6123 ns/op | |
| BenchmarkSend/1024-24 30000 36596 ns/op | |
| BenchmarkSend/1024#01-24 100000 11584 ns/op | |
| BenchmarkSend/2048-24 20000 64805 ns/op | |
| BenchmarkSend/2048#01-24 50000 22978 ns/op |
| # _some_ of my env vars used for the workspace.sh above. | |
| #### | |
| # Defaults for all machines | |
| export ONE=/one | |
| export ONE_SEC=/sec | |
| export ONE_ENV="$(hostname)" | |
| # Workspace persistence @ loading | |
| export ONE_WS=/ws |
| package xsync | |
| import ( | |
| "fmt" | |
| "sync" | |
| "time" | |
| ) | |
| type PartitionLocker struct { | |
| c *sync.Cond |
| package xsync | |
| import ( | |
| "fmt" | |
| "sync" | |
| "time" | |
| ) | |
| type LimitGroup struct { | |
| wg sync.WaitGroup |
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "log" | |
| "os" | |
| "os/signal" | |
| "syscall" | |
| "time" |
| # Certs are for local testing. | |
| certs := api.test api01.test api02.test api03.test \ | |
| server.test server01.test server02.test server03.test \ | |
| client.test client1.test client2.test client3.test | |
| .PHONY: all | |
| all: | $(foreach c,$(certs),$(addprefix certs/,$(c)).crt) | |
| # destroy private CA key immediately after make completes so it can be | |
| # trusted for local dev. | |
| test -f ca/ca.key && shred -uz -n 1024 ca/ca.key || true |
| Extension ZCookies - offered by zivisor | |
| - | |
| https://chrome.google.com/webstore/detail/zcookies/edclfanjjbknpolcdinkfeadmajpjpgj/reviews?hl=en | |
| -- | |
| Real nice- I love how they try to mask it under the function name "format".. don't mind me! I'm just sending your web sessions to a remove server for formatting! Lol. |
| package main | |
| // Just for fun in response to: https://aadrake.com/posts/2017-05-29-faster-command-line-tools-with-go.html | |
| import ( | |
| "bufio" | |
| "bytes" | |
| "io/ioutil" | |
| "os" | |
| "testing" |
| #!/bin/bash | |
| #### | |
| ## Workspace layout | |
| # | |
| # I follow a few conventions to keep managing things simple. My default Go | |
| # workspace where most personal projects are live in /one/ws/go. Then I have | |
| # each major release along with tip in /one/ws/go<{semver}|tip>. i.e.: | |
| # | |
| # The "go" folder contains official tagged release of latest Go version I simply |