Random One-Liners

- Posted in Uncategorized by
pmset -g assertions|grep -q '^ *UserIsActive *1$' && echo "User active" || echo "user inactive" [...] Read more

Queen Loft Bed

- Posted in Uncategorized by
I recently built my kids a queen size loft bed. I got the plans from the OP Loftbed Company. OP Loftbed has plans for Twin, Full, Queen, and King mattress sizes at three different heights. You can [...] Read more

Getting Serial Number, Manufacturer and Model from WMI

- Posted in Uncategorized by
Get Serial from command prompt: wmic bios get serialnumber or in powershell Get-WmiObject Win32_BIOS | Select SerialNumber Get Manufacturer and Model from command prompt wmic csproduct get [...] Read more

VMWare Player and HyperV in Windows 8.1

- Posted in Uncategorized by
When installing VMWare (or running) you get a message to uninstall HyperV if it is enabled - something to do with HyperV using hardware virtualization. Instead of uninstalling, you can turn it off: [...] Read more

Compressing files ala Finder via Command Line

- Posted in Uncategorized by
The Finder "Compress" option creates a pkZip archive. Here is how to compress and extract with the command line. Compress: ditto -c -k --sequesterRsrc --keepParent src_directory archive.zip To [...] Read more
Page 2 of 7