There are many reasons why you might not want to have Chef Server in your deployment path.  Or, as this example shows, you don’t want to host your own Chef Server.  We instead use Hosted Chef, but purely as a cookbook repository.  We will not have any nodes communicate directly […]

Chef: use knife to bootstrap nodes with chef-zero and Berkshelf

I recently got a new laptop, and had some issues connecting to hosts I’d been able to connect to on my previous laptop. After much googling and no luck, I found the following info via [crayon-5a17fab3cdbb5598965833-i/] : [crayon-5a17fab3cdbc1709683117/] All I needed was the intermediate certificate to be placed in that directory […]

macOS / OS X: Getting Python to trust certificates

Allow installation from unknown sources in Fire TV. Download ADB tools (I used Download Kodi for ARMv7 from [crayon-5a17fab3ce098689421963/]  

Install Kodi on Fire TV Stick

cat docker-compose.yml | docker run --rm -i micahhausler/container-transform If using in CloudFormation, then each key in the task definition must be capitalized. You can feed it to in order to do that for you.

Convert docker-compose file to ECS task definiton

python -m SimpleHTTPServer 8000 docker run -it -p 139:139 -p 445:445 -v ~/Downloads:/mount -d dperson/samba -s “public;/mount” -u “user;password” hdiutil mount -mountpoint ~/Downloads/win10/x64/ ~/Downloads/win10.iso # disable firewall sudo defaults write /Library/Preferences/ globalstate -int 0 Windows side: remove usb after installer loads shift + f10 wpeinit net use S: \\\public\win10 /user:user […]

Install Windows Using

rsync is great, but one thing it doesn’t necessarily excel at is speed. Don’t get me wrong, it plenty fast in most cases, but there are plenty of opportunities to parallelize transfers and help saturate your pipe, but rsync is ultimately just one-file-at-a-time. There are tons of articles on how […]

Quick and easy parallel rsync

Sometimes I need to download big ISOs or other large files onto my work laptop, but GlobalProtect forces me to do so via the VPN. In order to speed things up and use my local network connection, I need to disable the VPN, but I cannot do so due to […]

Disable/Enable GlobalProtect on OS X

I’m a big user of Chef, but was bummed when I couldn’t find any resolver information in Ohai data. I needed to make some changes to an nginx config to use resolver, but wanted to use the resolver that’s already on the host (since nginx doesn’t inherit that for dynamic […]

Get nameservers from resolv.conf with Ruby