Let’s say you have a batch file, and that batch file needs to write some temporary files. Sure, you’d rather avoid it, but in this case, you don’t have a choice, and you have to write the temporary file. While you could just hard code a file name, to reduce the likelihood that your batch will clobber an existing file,… Read more →
If USB-C is the future, then it’d be nice to be able to use a USB-C peripheral and charge a MacBook at the same time. For example, I’d like to be able to buy a network adapter or a USB key with a USB-C plug, and not have my battery draining the whole time. The right device to allow that… Read more →
I’ve been updating for three days. I wish Windows had a “catch up mode” that would just check, download, install, reboot, and repeat until everything is installed.
In the Windows command prompt, using 7zip, make a zip archive that is named with the current date. You can use partial expansion of environment variables to achieve similar results in a number of places. 7z a %date:~-4%%date:~4,-8%%date:~7,-5%.zip archive Read more →
Is there anything more satisfying than saying “Porsche Doppelkupplungsgetriebe” out loud?
It’s hard to find R129 SL600 / 600SL performance stats. Motor Trend quotes base 1995 SL600 stats in this article for the same of comparison. Scroll down a bit. Mercedes-Benz Renntech SL740 – European Car – Motor Trend Magazine Read more →
Prips is a great tool for printing the IP addresses in a range. Sometimes, you’re on a platform that doesn’t support that, like Windows. The good news is that you can approximate some of the features of prips using only the Windows for command. for /L %d in (0,1,255) do for /L %c in (1,1,64) do for %b in (100,101,102)… Read more →
Environment: Requires a command prompt running with domain admin rights, GNU sed, GNU grep, and Microsoft Sysinternals psexec. All tools are assumed to be located in directories included in the %PATH% environment variable. Starting with a directory containing a subdirectory called “data” and a text file containing a list of computers. The text file contains one computer per line (computers.txt). The “reboot… Read more →
It’s surprising how much more gas is used when you actually get your tires hooked up. Read more →