nginx · Server

Fix ERR_SPDY_PROTOCOL_ERROR nginx error on Chrome


There is a nefarious error on nginx that in rare cases can throw an ERR_SPDY_PROTOCOL_ERROR for the users of Chrome. TLDR: Check your nginx add_headers directives for invalid characters within any HTTP2 server configurations. I call this out as attempting to troubleshoot it online can lead you down a rabbit hole of old and misinformation.… Continue reading Fix ERR_SPDY_PROTOCOL_ERROR nginx error on Chrome

Advertisements
Linux · Server

Fix ufw service not loading after a reboot


I have a Ubuntu 18.04 server running ufw (Uncomplicated Firewall) and Docker. Docker relies on iptables-persistent, which is an interface to a much more powerful and complicated firewall that many people would rather avoid. The problem here is that ufw and iptables-persistent are both ways for creating the same firewall. On my server, only one… Continue reading Fix ufw service not loading after a reboot

Linux · Raspberry Pi · Server

Easily create a NAS with a Raspberry Pi or another ARM computer


As of writing in October 2018, there is a price sweet spot for 200GB microSD cards that retail for $44USD. Combined with a Raspberry Pi, they allow the build of a relatively affordable, low powered NAS with a decent storage capacity for a home network -- all without the need for external drives, extra cables,… Continue reading Easily create a NAS with a Raspberry Pi or another ARM computer

Server

Assignment to read-only properties is not allowed in strict mode


Using JavaScript to apply CSS to Internet Explorer/Edge returns 'Assignment to read-only properties is not allowed in strict mode' I encountered a silly mistake on my behalf the other day when programming some JavaScript DOM. This simple JS code to apply a style to an HTML element works fine in Chrome and Firefox. But breaks in Microsoft's… Continue reading Assignment to read-only properties is not allowed in strict mode

Server

Turn a Raspberry Pi into an always on, BitTorrent client with Snappy Ubuntu Core


Update, August 2016 This guide is for the late-2015's release of Ubuntu Core for Raspberry Pi 2 that is based Ubuntu 15.04. Canonical has since made that release redundant with their newer Ubuntu Classic for Raspberry Pi 2 which is based on Ubuntu 16.04. Unfortunately the instructions below do not work with Ubuntu Classic. Introduction… Continue reading Turn a Raspberry Pi into an always on, BitTorrent client with Snappy Ubuntu Core