Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
moukoublen committed Dec 16, 2024
1 parent 26f3a54 commit df92982
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
26 changes: 26 additions & 0 deletions config/gnome/lib/display-colors
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,29 @@ echo "Turquoise 06: ${C_06}"
echo "Light Turquoise 14: ${C_14}"

echo "Gnome terminal profile palette: ${C_PAL}"

echo "Ptyxi like palette:"
# https://gitlab.gnome.org/chergert/ptyxis/-/tree/main/src/palettes?ref_type=heads

echo "Hover FG : ${C_HFG}"
echo "Hover BG : ${C_HBG}"
echo "Cursor BG : ${C_CBG}"
echo "Background=${C_BG}"
echo "Foreground=${C_FG}"
echo "Cursor=${C_CFG}"
echo "Color0=${C_00}" # Black 00
echo "Color1=${C_01}" # Red 01
echo "Color2=${C_02}" # Green 02
echo "Color3=${C_03}" # Yellow 03
echo "Color4=${C_04}" # Blue 04
echo "Color5=${C_05}" # Purple 05
echo "Color6=${C_06}" # Turquoise 06
echo "Color7=${C_07}" # Grey 07
echo "Color8=${C_08}" # Light Black 08
echo "Color9=${C_09}" # Light Red 09
echo "Color10=${C_10}" # Light Green 10
echo "Color11=${C_11}" # Light Yellow 11
echo "Color12=${C_12}" # Light Blue 12
echo "Color13=${C_13}" # Light Purple 13
echo "Color14=${C_14}" # Light Turquoise 14
echo "Color15=${C_15}" # Light Grey 15
33 changes: 33 additions & 0 deletions notes/golang/build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
https://pkg.go.dev/go/build
https://pkg.go.dev/cmd/go#hdr-Environment_variables
https://pkg.go.dev/cmd/go#hdr-Build_constraints

Separate files per os or arch.

#### Rules
```plain
filename_GOOS.go
filename_GOARCH.go
filename_GOOS_GOARCH.go
filename_linux_test.go
filename_amd64_test.go
filename_linux_amd64_test.go
```

#### GOOS
```
linux
darwin
windows
netbsd
```

#### GOARCH
```
386 (For GOARCH=386, GO386=387 and GO386=sse2 set the 386.387 and 386.sse2 build tags, respectively.)
amd64 (For GOARCH=amd64, GOAMD64=v1, v2, and v3 correspond to the amd64.v1, amd64.v2, and amd64.v3 feature build tags.)
arm (For GOARCH=arm, GOARM=5, 6, and 7 correspond to the arm.5, arm.6, and arm.7 feature build tags.)
arm64 (For GOARCH=arm64, GOARM64=v8.{0-9} and v9.{0-5} correspond to the arm64.v8.{0-9} and arm64.v9.{0-5} feature build tags.)
```

0 comments on commit df92982

Please sign in to comment.