Skip to content

Instantly share code, notes, and snippets.

@bzz
bzz / anrirang-in-frame.md
Last active August 27, 2020 10:36
Arirang TV show "In Fame" with Magnum photographers travelling in Korea
@bzz
bzz / ramdisk.sh
Created May 4, 2020 14:43 — forked from rxin/ramdisk.sh
ramdisk create/delete on Mac OS X.
#!/bin/bash
# From http://tech.serbinn.net/2010/shell-script-to-create-ramdisk-on-mac-os-x/
#
ARGS=2
E_BADARGS=99
if [ $# -ne $ARGS ] # correct number of arguments to the script;
then
@bzz
bzz / macos-ramdisk.md
Created April 30, 2020 10:27 — forked from htr3n/macos-ramdisk.md
Creating RAM disk in macOS

Built-in

diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nobrowse -nomount ram://XXXXX`

where XXXXX is the size of the RAM disk in terms of memory blocks.

Notes:

@bzz
bzz / tmux-cheatsheet.markdown
Created April 4, 2020 21:36 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@bzz
bzz / 41286-go-5-meta.tsv
Last active May 16, 2023 08:06
Go package dependencies embeddings
We can't make this file beautiful and searchable because it's too large.
github.com/pkg/errors
github.com/sirupsen/logrus
google.golang.org/grpc
k8s.io/apimachinery/pkg/apis/meta/v1
github.com/golang/protobuf/proto
github.com/spf13/cobra
github.com/gin-gonic/gin
k8s.io/apimachinery/pkg/runtime
github.com/spf13/viper
github.com/gorilla/mux
@bzz
bzz / README.md
Last active May 14, 2019 07:56
Migration of old client \wo modules to new entry version

enry \w go modules for a clinet not using modules

go version
 go version go1.12.1 darwin/amd64

echo $GO111MODULE

cd $GOPATH/src/github.com/src-d
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
['joshua peek', 'josh@joshpeek.com']
['michael hobbs', 'github@psudo.net', 'michaelshanehobbs@gmail.com', 'michaelshobbs@users.noreply.github.com']
['jeff lindsay', 'progrium@gmail.com']
['bryce', 'bryce@gitlab.com', 'bryce johnson']
['andrew newdigate', 'andrew@gitlab.com', 'andrew@troupe.co']
['grzegorz bizon', 'grzegorz bizon ', ' off until 20th june', 'grzegorz@gitlab.com', 'grzesiek.bizon@gmail.com', 'grzegorz.bizon@ntsn.pl']
['steve azzopardi', 'steveazz@outlook.com', 'sazzopardi@gitlab.com']
['z.j. van de weg', 'git@zjvandeweg.nl', 'zeger-jan van de weg', 'zegerjan@gitlab.com', 'gitlab@zjvandeweg.nl', 'mail@zjvandeweg.nl', 'zj van de weg', 'zeger-jan van de weg 🌴 ooo back on 12th of august', 'zegerjan@localhost.localdomain']
['phil hughes', 'me@iamphill.com', 'theephil@gmail.com']
['rémy coutable', 'remy@rymai.me', 'rymai', '🏖 rémy coutable 🏖', 'remy@gitlab.com']
@bzz
bzz / docker-rm-images.md
Created March 1, 2019 17:15 — forked from alferov/docker-rm-images.md
Remove all (untagged) images and containers from Docker
# Delete all containers
docker rm $(docker ps -aq)
# Delete all images
docker rmi $(docker images -q)
# Delete all untagged images
docker rmi $(docker images -q --filter "dangling=true")

References: