start new:
tmux
start new with session name:
tmux new -s myname
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
set wsc = CreateObject("WScript.Shell") | |
Do | |
'Five minutes | |
WScript.Sleep(5*60*1000) | |
wsc.SendKeys("{NUMLOCK}") | |
Loop |
ctx := context.Background() | |
assumecnf, _ := config.LoadDefaultConfig( | |
ctx, config.WithRegion("{aws-region}"), | |
config.WithCredentialsProvider(aws.NewCredentialsCache( | |
credentials.NewStaticCredentialsProvider( | |
"{aws-assume-role-key}", | |
"{aws-assume-role-secret}", "", | |
)), | |
), | |
) |
Tested on:
Lenovo Legion 5i with below specs:
AMD® Ryzen 7 4800h with radeon graphics × 16
NVIDIA Corporation / NVIDIA GeForce RTX 2060/PCIe/SSE2
nvidia-driver-470 - HDMI doesn't have to work from the beginning
nvidia-driver-495 - HDMI works from the beginning, unstable (random reboots)\