Category Archives: How-to

How-to: Scrape Data with Python’s BeautifulSoup

Hello. In this post I’ll show how to scrape semi-structured data from a target webpage with Python’s BeautifulSoup module. BeautifulSoup is indeed beautiful. It is the go-to package for scraping data and working with HTML. We’ll also use requests to grab the HTML from the target URL. The page I use in my example should… Read More »

The Raspberry Pi 2 as a Dedicated VPN (round 2)

Previously, I had tested the Pi Zero as a dedicated VPN. And while that was a great way to securely connect to my home network and access files, the Zero definitely struggled performing some tasks (like streaming media). Raspberry Pi’s are ideal for 24/7 use because they barely draw single watt, compared to desktop computers where the… Read More »

How to setup IPython for Python 2.7 and 3+ kernels

IPython is an interactive notebook that is accessed from your browser. It is extremely useful because it is designed with code sharing in mind, supports up to 49 different languages/versions of languages, and has “cells”, or blocks of code that are interpreted one at a time (or all at once). Another reason to use IPython… Read More »

How to Scrape Data from Webpages with Python’s Scrapy

In this post I’ll show how to gather unstructured information that exists on webpages using Python’s open source web crawling framework, Scrapy. Web crawlers have been around since the conception of the internet, in fact Google started out by visiting links from Stanford’s homepage until all 10 million of them had been explored. In the… Read More »

How to connect to PIA through OpenVPN on Linux

One of the most popular VPN providers these days is Private Internet Access (PIA). In this tutorial, I’ll show how to add a VPN connection to the Linux network manager with PIA’s service, using OpenVPN instead of PIA’s client software. Though the client app is robust and offers many useful features like a “VPN killswitch”,… Read More »

The Art of the Sub $200 NAS Build

For decades building your own computer has been a central experience among computer enthusiasts. There’s an indescribable satisfaction that comes with picking out the parts and assembling them into a full computer all by yourself. That same satisfaction extends itself when people decide to build their own network attached storage (NAS) if they’re not simply repurposing… Read More »

Raspberry Pi + Plex = RasPlex

I’m going to share with you a little gem I discovered recently that relieved me of all my digital media player headaches. That gem is of course, RasPlex – a Linux based distribution that is optimized to run Plex client software on the Raspberry Pi, a single board computer. For the layman, this is more or… Read More »