Analyzing OngoingWorlds posts

July 15, 2017

The previous post used Scrapy to extract post data from the website OngoingWorlds. Here are a few conclusions from that spider crawl:

Read the full article →

Scrapy example: posts from OngoingWorlds

July 15, 2017

Scrapy is a software project for fetching structured data (think spreadsheets or databases) from any website. These are some notes for dummies and forgetful people like me.

Read the full article →

Page constantly reloads after logging in to Outlook on the web

October 8, 2016

When logging in to Outlook on the web (sometimes known as Outlook Web Access or Office 365), sometimes my browser constantly reloads the page, switching between different domains, but never showing anything but a blank page. I was able to solve this in Chrome as follows:

Read the full article →

Using the GPG renderer to protect Salt pillar items

May 21, 2016

Some notes on how to encrypt sensitive data in SaltStack pillar files, e.g. to commit them to source code repositories. Note about virtual machines In order to generate a key pair, entropy (“randomness”) is required. Entropy is usually generated from user input via the keyboard and mouse, which are not available inside virtual machines. Key […]

Read the full article →

Updating to latest “pass” on Ubuntu 14.04

May 2, 2016

The password manager “pass” is in Ubuntu’s repository, but the version on 14.04 is quite old and does not support e.g. the “find” command (“pass find somesite.com”, where “somesite.com” is in a subfolder of the password store). To get the latest and greatest version: Install tree v1.7.0 Download pass v1.6.5 (tarball) unxz password-store-1.6.5.tar.xz tar xf password-store-1.6.5.tar cd […]

Read the full article →

Create a FreeBSD GCE instance with salt-cloud

April 16, 2016

When creating a Google Compute Engine instance from a publicly shared image which is not in your own project nor one of the default projects – such as FreeBSD – the image-project can be specified on the gcloud command line. Here’s how to do the same when using salt-cloud instead of gcloud:

Read the full article →