vallerion - Overview
🎯
Focusing
- Netherlands
Pinned Loading
-
Remove all from Docker Remove all from Docker
1
# Stop all containers2
docker stop `docker ps -qa`3
4
# Remove all containers5
docker rm `docker ps -qa` -
aliases.sh aliases.sh
1
alias ls='ls -lGFh'
2
alias la='ls -la'
3
4
alias gc='git commit -am'
5
alias gs='git status'
-
Go cpu and memory profiling benchmar... Go cpu and memory profiling benchmarks. #golang #benchmark
1
go test -run=. -bench=. -benchtime=5s -count 5 -benchmem -cpuprofile=cpu.out -memprofile=mem.out -trace=trace.out ./package | tee bench.txt
2
go tool pprof -http :8080 cpu.out
3
go tool pprof -http :8081 mem.out
4
go tool trace trace.out
5
-
mysql - my.cnf 1gb ram mysql - my.cnf 1gb ram
1
[client]
2
port = 9704
3
socket = /var/run/mysqld/mysqld.sock
4
5
[mysqld_safe]


