halfsquatch | 5 months ago | on: Show HN: A store that generates products from anything you type in search
halfsquatch's comments
halfsquatch | 2 years ago | on: Plane forced to turn back to JFK after horse breaks loose onboard
halfsquatch | 3 years ago | on: Pulling MikroTik into the Limelight Demystifying and Jailbreaking RouterS
Slide deck from margin.re: https://margin.re/content/files/2022/11/Pulling_MikroTik_int...
Blurb about the presentation at the con's site: https://cfp.recon.cx/media/2022/submissions/TZUFS8/resources...
Blurb about the presentation at margin.re: https://margin.re/pulling-mikrotik-into-the-limelight-2/
halfsquatch | 3 years ago | on: Ask HN: Is there a list of richest based on liquid assets not stock wealth?
...can I get in on it?
halfsquatch | 3 years ago | on: Apple previews Lockdown Mode
halfsquatch | 3 years ago | on: The Worst CPUs Ever Made (2021)
halfsquatch | 4 years ago | on: A pair of dice which never roll 7 (2004)
halfsquatch | 5 years ago | on: Ask HN: When coding, how to do remember what you were doing the previous day?
I have a batch file called remember.bat, stored in my %PATH% so I can call it from anywhere (I usually use the start menu run box). It simply ECHOes the time, date, and any command line arguments to a text file. Like this:
(First post. Sorry if the formatting breaks.) (edit: yeah, formatting broke.)
time /t >> %userprofile%\documents\notes.txt
date /t >> %userprofile%\documents\notes.txt
echo %* >> %userprofile%\documents\notes.txt
echo. >> %userprofile%\documents\notes.txt
exit
I also have a log viewer application called CMTrace.exe (from Windows SCCM) in my startup folder, pointing at that notes.txt file.
So when I log in to my computer, CMTrace tails the notes file, highlighting a bunch of key words in different colors to make severity more obvious.
When I need to add something to the list, I just start\run, type "remember whatever I need to remember" (without quotes) and the file is appended with:
06:47 AM Thu 01/14/2021 whatever I need to remember
If you want to view it live, you can use anything that can tail a file instead of CMTrace if you don't have access to it. Otherwise it's available to refer to anytime with your text viewer of choice.
If I need to remove something from the notes, I can open it in Notepad++ or whatever and save it, but I find myself leaving everything there for future reference.
I realize the post starts with "When coding", but I imagine this could work there, and I know it works elsewhere, so I figured I'd share anyway.
That didn't take long.