Skip to content

Instantly share code, notes, and snippets.

https://learnk8s.io/kubernetes-rollbacks
GIT_TRACE=true \
GIT_CURL_VERBOSE=true \
GIT_SSH_COMMAND="ssh -vvv" \
.jiri_root/bin/jiri update -vv
$ GIT_TRACE=true \
GIT_CURL_VERBOSE=true \
GIT_SSH_COMMAND="ssh -vvv" \
GIT_TRACE_PACK_ACCESS=true \
https://os20-rcore-tutorial.github.io/rCore-Tutorial-deploy/
https://cssreference.io/css-grid/#grid-template-areas
really cool func in css
TabNine
EnvFile
GitLink
GitToolBox
Go Linter
Rainbow Brackets
Solarized Themes
Codota
@tlightsky
tlightsky / gist:5c4cf7f99f252e479dc452aab11fd6a5
Created April 15, 2020 03:19
checkout as is in windows
git config --global core.autocrlf input
git checkout --orphan empty # Create orphaned branch
rm .git/index # Remove all files from index
git commit --allow-empty -m 'Empty' # Initial commit
https://coderwall.com/p/aq9xhg/create-google-code-review-for-the-initial-commit-in-a-new-git-repo
@tlightsky
tlightsky / gist:c5efb1906fc38dfe56530b84032fe455
Created April 7, 2020 06:56
solve jetbrains https request problem
-Dhttps.protocols=TLSv1.1,TLSv1.2
sudo diskutil unmount /Volumes/NO\ NAME
sudo dd if=1.54inch-LCD-retropie-4.4-rpi1_zero-190601.img | pv | sudo dd of=/dev/disk2
@tlightsky
tlightsky / gist:30b9c3683693aeb1d80f30cbee3542cc
Created April 2, 2020 03:24
go连接mysql加密方式导致连不上的问题
https://github.com/go-sql-driver/mysql/issues/785
alter user root@'localhost' identified with mysql_native_password by 'my-secret-pw';