Skip to content
View vallerion's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report vallerion

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Remove all from Docker Remove all from Docker
    1
    # Stop all containers
    2
    docker stop `docker ps -qa`
    3
    
    
    4
    # Remove all containers
    5
    docker rm `docker ps -qa`
  2. 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'
  3. 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
    
    
  4. 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]
  5. rscanner rscanner Public

    Same as bufio.Scanner, but in reverse. It enables scanning from the end to the beginning.

    Go 8