Skip to content

Instantly share code, notes, and snippets.

View CommoDor64's full-sized avatar

CommoDor64

  • Berlin, Germany
View GitHub Profile
/*
go test -bench=. -test.benchmem=true -test.benchtime=10s
goos: darwin
goarch: amd64
BenchmarkDirectCall-12 1000000000 1.31 ns/op 0 B/op 0 allocs/op
BenchmarkInterface-12 1000000000 1.69 ns/op 0 B/op 0 allocs/op
BenchmarkHoF-12 1000000000 1.61 ns/op 0 B/op 0 allocs/op
@k3yavi
k3yavi / spacemacs-cheatsheet.txt
Last active February 28, 2024 01:15 — forked from davoclavo/spacemacs-cheatsheet.md
Spacemacs cheatsheet
//from http://www.saltycrane.com/blog/2015/12/switching-emacs-vim-actually-spacemacs/
Useful Spacemacs commands
SPC q q - quit
SPC w / - split window vertically
SPC w - - split window horizontally
SPC 1 - switch to window 1
SPC 2 - switch to window 2
SPC w c - delete current window