Instantly share code, notes, and snippets.


Keybase proof

I hereby claim:

  • I am marians on github.
  • I am marians ( on keybase.
  • I have a public key ASC59Z_e1Q8cm9jPZ4xhDuDFkxS1DJuecrMCau60nd58jgo

To claim this, I am signing this object:

# coding: utf8
This script helps to import content from a Ghost blog database to Jekyll.
The database is expected to be running on a reachalbe MySQL host.
See the very end for DB configuration.
Quick Usage:
pip install -r requirements
View main.go
package main
import (
View Chromium

We install certutil and pk12util if necessary:

sudo apt install libnss3-tools

On Linux, Chromium uses the NSS Shared DB. Check if you have the ~/.pki/nssdb directory:

ls $HOME/.pki/nssdb
View openapi-spec.yaml
swagger: "2.0"
- https
title: An Example API Spec
version: "1"
View Ernests

August 25, 2016

Some time ago the inspiring story of Ernest Gagnon (Blog, Facebook, Strava) captured my attention. Ernest (570 lbs/258 kg as of April 2010) is fighting to loose weight by riding his bike on a regular basis and even participating in Cyclocross races. I followed him from the distance on Strava ever since to support his fight idealistically by hitting the Kudos button for his efforts.

Photo of Ernest

Today, Ernest added an activity on Strava titled My last strava posting. In the comments, Ernest explains why he seems decided to quit cycling for good and end his fight.

been a really hard few months, lost lots of friends to new jobs moving and all that, been really hard to find people to ride with

View Dockerfile
FROM python:2.7-alpine
RUN apk add --update openssl py-pip build-base python-dev \
&& pip install pycrypto \
&& apk del build-base python-dev \
&& rm -rf /var/cache/apk/*
ADD . /app/

Getting Started with a D1 mini (ESP-8266EX) and Arduino

These notes from June 2016 document how I got a successful start with a Wemos D1 mini on Arduino (Mac).


USB Serial Connection

I'm on Mac OS Sierra, so I need a driver for the USB serial bridge on the board, which is a CH340. The driver can be downloaded from this page: