Skip to content

Instantly share code, notes, and snippets.

@berndverst
berndverst / VSCodeUserSettings.json
Last active May 30, 2024 23:22
VS Code: Override Terminal Colors with Solarized Dark regardless of Theme
{
"workbench.colorCustomizations": {
"terminal.foreground": "#839496",
"terminal.background": "#002833",
"terminal.ansiBlack": "#003541",
"terminal.ansiBlue": "#268bd2",
"terminal.ansiCyan": "#2aa198",
"terminal.ansiGreen": "#859901",
"terminal.ansiMagenta": "#d33682",
"terminal.ansiRed": "#dc322f",
@ro31337
ro31337 / settings.json_
Last active March 14, 2019 10:48
VSCode Solarized Dark Theme customization
/*
How to install in VSCode:
1. "Ctrl ," to open User Settings
2. Paste color customization (everything below comment, you may also want to keep the comment)
3. Save!
{
"window.zoomLevel": 1,
@denji
denji / golang-tls.md
Last active November 7, 2024 05:58 — forked from spikebike/client.go
Simple Golang HTTPS/TLS Examples
Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048

# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
@danielestevez
danielestevez / gist:2044589
Last active October 7, 2024 15:24
GIT Commit to an existing Tag
1) Create a branch with the tag
git branch {tagname}-branch {tagname}
git checkout {tagname}-branch
2) Include the fix manually if it's just a change ....
git add .
git ci -m "Fix included"
or cherry-pick the commit, whatever is easier
git cherry-pick {num_commit}