Connect to Starbucks Wifi on Arch

If your browser fails to redirect to the Starbucks login prompt when you join the public Wifi at Starbucks, navigate to: http://www.gstatic.com/generate_204. This is a domain maintained by Google to which Chromium will make a cookieless request and check if the response is redirected. Chromium will then open the redirect target in the assumption that it’s a login page, which it is. This was only tested on Chromium.

Installing Manim

I was hoping to generate some explanatory math videos in the style of 3blue1brown and fortunately the creator Grant Sanderson made his mathematical animation library (Manim) available at 3bib/manim. The repo has instructions for installation on Linux, but as I use Arch it was not as intuitive as I would have liked. As such I am throwing my installation process up here for anyone to duplicate that is running into trouble.

Using an AMD GPU in Keras

A while ago my research lab acquired a new workstation, but my PI, well meaning as he is, purchased a system with an AMD GPU (FirePro W7100) rather than an Nvidia card, so CUDA is not an option. For the longest time I thought deep learning was not going to happen with TensorFlow using an OpenCV library, but I recently stumbled on a library PlaidML, a tensor compiler that allows for the use of OpenCL devices, and sits as a layer underneath common machine learning frameworks.

Introducing Parallel into Shell

Having recently needed to convert the format of an enormous quantity of images I stumbled upon GNU parallel, a powerful and simple utility for replacing shell loops with a parallel alternative. Mogrify with GNU Parallel Here is a simple example where I use GNU parallel to parallelize the conversion of a series of svs (a format commonly used for pathology images from digital whole slide scanners) to tiffs, a much more common format.

Shell Tips and Tricks

This is a simple list of tips and tricks for the shell that I discovered over the course of many years of messing around in shell and wanted to coalesce into a single document, partly to remember, and partly to share with others. Persistent SSH Sessions In order to ensure that your SSH sessions do not get disconnected after a period of inactivity simply add the following to your .