Random One-Liners

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

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

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

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:

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
Page 2 of 7