git Output the number of Git commits a person made each day of the year in bash. It's the end of the year. Sometimes I want to know how many commits I made per day. This also helps me to see how many days I worked per year. (The unrelated
vscode Allow VSCode through WSL Firewall As far as I can tell, VSCode's Remote - WSL service connects over port `41261`. So, we can allow it through the Firewall like this: sudo ufw allow 41261 comment 'VSCODE'
bash Use ssh to run a local script with arguments on a remote host. ssh user@host -i rsa_private_key 'bash -s arg01 arg02' < some_script.shSee also: https://stackoverflow.com/questions/305035/how-to-use-ssh-to-run-a-shell-script-on-a-remote-machine
software-development Parse jest --json test output with jq The following example installs jq, saves the jest test output to a JSON file, parses the JSON with jq, and then selects only the fullName of tests with a status of "failed&
wsl Tab completion in Ubuntu Bash (in WSL) This is for people, like me, who come from ten years of Windows PowerShell, and are more an more using Linux (through the Windows Subsystem for Linux). Here is a snippet from the