GGuinblog.kclass.work·Oct 8, 2025 · 1 min readSSH into Boxes VM from HostIn guest VM (Ubuntu) # Optional, tmux is convinient for long running task sudo apt install tmux # Start a tmux session tmux # Creates a reverse SSH tunnel from the host (_gateway) # back to your VM, mapping the host port 2222 to VM port 22, # al...00
GGuinblog.kclass.work·May 7, 2025 · 1 min readMy Git Cheat SheetHow to merge upstream changes to my branch git remote add upstream git@gitlab.com:CentOS/automotive/demos/ffi-demo.git git fetch upstream git checkout a_branch git rebase upstream/a_branch Reference https://www.atlassian.com/git/tutorials/git-forks...00
GGuinblog.kclass.work·Mar 12, 2025 · 1 min readHTTP3 Noteshttps://hub.docker.com/r/ymuski/curl-http3 $ docker run -it --rm ymuski/curl-http3 curl -V $ docker run -it --rm ymuski/curl-http3 curl -svo /dev/null https://lf19-c10.bytedgame.com/ --http3 * Trying 151.101.110.73:443... * Connect socket 5 over ...00
GGuinblog.kclass.work·Jul 22, 2024 · 1 min readMy Python Environment Cheat SheetInstall pyenv Mac brew update brew install pyenv echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc echo 'eval "$(pyenv init -)"' >> ~/.zshrc Linux curl -fsSL https...00
GGuinblog.kclass.work·Apr 9, 2022 · 2 min readTest TLS ResumptionSession Ticket Resumption new connection Session parameter will be saved in /tmp/ssl_s openssl s_client -connect t3.fastly.work:443 -sess_out /tmp/ssl_s -servername t3.fastly.work output --- SSL handshake has read 4654 bytes and written 304 bytes -...00