Proper npm Global Package Upgrade Per the npm documentation, this is the script to use: Here's the gist #!/bin/sh set -e set -x for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f2) do npm -g install "$package" done
macOS is my new home Yea, I switched to macOS two years ago as I came from a nix background. I had Surface Book, Surface Pro, Lenovos, all running Windows 10. macOS is smoother, faster, not clunky, virtual desktops work as expected, and the machines are fine quality not plastic feeling. Love the shell and
NTS: Testing Disk Speed on macOS If you want to test the write speed, use the following: time dd if=/dev/zero bs=1024k of=tstfile count=1024 2>&1 | awk '/sec/ {print $1 / $5 / 1048576, "MB/sec" }' Just needed this, and helps to verify. I bought the Samsung T3
Start fresh with a clean installation of Windows 10 For some reason this link fails to come up in reasonable time in search both Google and Bing. https://www.microsoft.com/en-us/software-download/windows10startfresh
Outlook 2016 on macOS and RMS Message - You don't have permissions I have way too many things in dogfood. This is just a reminder on some RMS issues that I've been having lately on OS X (macOS) and Outlook 2016. Courtesy JPoon. (a) Close all (!) Office Programs (b) Delete: rm -r ~/Library/Containers/com.microsoft.RMS-XPCService rm ~/Library/Group\
Carthage and OTP GitHub Errors As a reminder to my self... In Carthage if you start seeing errors "Must specify two-factor authentication OTP code"... One way is to specify via an environment variable: export GITHUB_ACCESS_TOKEN= <get this from Github This comes from here: Line 145 The other option is to
Windows 10 Hyper-V - Finally a NAT Option... Not sure about you but I've been waiting a long time for NAT to be part of HyperV on Windows client. The "other" guys have it - and for a long time too. Now, with Nested Virtualization and NAT support, my world is nearly complete... To