Skip to content

Instantly share code, notes, and snippets.

View indrasaputra's full-sized avatar
🎯
Focusing

Indra Saputra indrasaputra

🎯
Focusing
View GitHub Profile
package main
import "fmt"
// Distance defines the distance of a point
// using row and column as measurement.
type Distance struct {
Row int
Column int
}
# delete all untagged docker images
docker rmi -f $(docker images -a | awk '/none/ {print $3}')
# delete all unnecessary volume
docker volume ls | grep -v DRIVER | awk '{print $2}' | grep -x '.\{30,100\}' | xargs docker volume rm
# delete all past container
docker ps -a | grep -v CONTAINER | awk '{print $1}' | xargs docker rm -f
- iTerm2
- set default window -> save arrangement -> use default
- brew
- go
- mockgen
- golangci-lint
- all dependencies in repo indrasaputra/toggle
- vscode
- docker
- telegram
swagger: "2.0"
info:
title: Auth API
version: 1.0.0
contact:
name: Indra Saputra
url: https://github.com/indrasaputra
license:
name: BSD 3-Clause License
url: https://github.com/indrasaputra/arjuna/blob/main/LICENSE