TIL, 2018-12-07, Homebrew and Going
Reading Homebrew Source
brew update --forceto well, force the update. Lol.
cd "[email protected]" >/dev/null || return. This basically outputs the
if, else, fito end.
source FILEloads a file and executes whatever was inside it. Only works for shell, not for stuff with Ruby inside.
> type sourceto figure out what it does. When a command is a shell builtin, do
dfis the Unix command used to display the amount of available disk space for file systems on which the invoking user has appropriate read access.
du] is DISK USAGE.
Starting with Go
- Installing: Don’t do homebrew, just download the package online.
go run ./FILE.go
go get -u github.com/derekparker/delve/cmd/dlv