Outdoor Technologist

Random thoughts spewed in the digital realm

regex notes

Searching in Notepad++

Installing Windows 11 w/o Microsoft Account

I make machines for temp use and I don’t want to attach my account to them, but Windows 11 makes it more difficult to do this… but not elbissopmi! I found the info here

Remove SSH known hosts on Windows

The quick: Open a Windows File Explorer and type: This brings you to the .ssh directory that has the known_hosts file in it. Open the known_host file delete the key that is causing you problems. Source: https://superuser.com/questions/311886/where-is-the-known-hosts-file-for-openssh-for-windows/318749#318749?newreg=7793b32b40354caeab6d06206035d9f0 A bit more bloggy: Due to the nature of the work I do, I often use the same…

Continue Reading

Moving Windows backup partition

I cloned my disk to a larger one and learned that I should move my Recovery partition so I can make my windows one larger contiguous partition, and keep my Recovery Partition at the end of the disk. No need to write it myself because The DXT did it perfectly here: https://thedxt.ca/2023/06/moving-windows-recovery-partition-correctly/

Turning off BitLocker

I want to clone my drive to another disk so I can start debugging my Laptop. I have a suspicion that the Video Hardware is having issues, but it could simply be a software corruption on Windows 10 that caused the headaches. I noticed this video glitch while designing a 6 layer PCB in Altium…

Continue Reading

WSL install on Windows 11

Install using Command prompt in Administrative mode Execute: wsl –install I didn’t reboot my machine, because the instructions I was following didn’t say to, and I was curious. So I went on to see the distros available. See below: See the linux releases by typing: I accidentally typed wsl -install again and it automagically told…

Continue Reading

Serial Program – Tera Term

Teraterm is what I use for serial communications Save Settings

View Git History of Specific Line

Sometimes you want to know when a line of code changed and who changed it – This is how. Source: https://stackoverflow.com/questions/50469927/view-git-history-of-specific-line Example (placeholder):

Parse files with grep and cut – wait cut??

I had a few log files with microsecond timers that I needed to parse quickly and I figured I could do it with grep, but then I found out I could do it even more efficiently by piping to ‘cut’ I learned this here: https://unix.stackexchange.com/a/548716/438718 Example:

Win 10 unresponsive until ctrl+alt+del then ‘esc’

Was having this issue and found a (hopeful) solution using these commands: This is the reddit post that google sent me to: