Skip to content

Instantly share code, notes, and snippets.

Ben Peachey Potherca

Block or report user

Report or block Potherca

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Potherca /
Last active Dec 6, 2019
Amount of pulls from docker hub for each of the gitlab pipeline-components.

This page shows the amount of pulls each one of the Gitlab Pipeline-Components have received thus far.

(List sorting update December 2019)


Potherca / README - Fair Finance Guide
Last active Dec 2, 2019
Dutch Fair Finance Guide Scores ( - Total scores
View README - Fair Finance Guide


Fair Finance Guide International (FFGI) is an international civil society network initiated by Oxfam, that seeks to strengthen the commitment of banks and other financial institutions to social, environmental and human rights standards.

Every year, the FFGI publishes records of how financial institutions perform on a set of subjects.

For the Netherlands these results are published at

The website shows the scores for each company per subject but does not show a total.

Potherca /
Last active Nov 15, 2019
Converting a webm file to GIF (using FFmpeg and Gifsicle)


Sometimes I want to make a screencapture of a websites behaviour.

In Chrome, I am quite happy doing this with the [Awesome Screenshot: Screen Video Recorder][1] extension.

Besides screenshots, the extension offers the ability to make a recording. (Limited to 30 seconds in the free version).

The recording can be uploaded to Youtube or Google Drive. It can also be downloaded as WebM file.

Potherca /
Last active Nov 11, 2019
Create a branch on Github without access to a local git repo using

Ever had the need to create a branch in a repo on Github without wanting (or being able) to access a local repo?

With the aid of [the Github API][1] and [][2] this is a piece of cake!

Just follow these steps:

  1. Open [][2]
  2. Find the revision you want to branch from. Either on Github itself or by doing a GET request from Hurl:<AUTHOR>/<REPO>/git/refs/heads
  3. Copy the revision hash
  4. Do a POST request from Hurl to<AUTHOR>/<REPO>/git/refs with the following as the POST body :
Potherca / mini-mustache.php
Last active Nov 6, 2019
A minimal implementation of Mustache in PHP. Supports escaped and HTML Variables, Comments, Sections and Inverted Section. Does not support Lists, Callbacks, Partials or Delimiter setting.
View mini-mustache.php
* In Mustache syntax, values are represented by "tags".
* Tags are indicated by double braces (a.k.a. curly brackets): {{name}}
* To check if a value is available use a "section". A section is a tag that is
* prefixed with a pound `#` character. The closing tag is prefixed with a
* slash `/`. For example, to only show "name" when it is available:
Potherca /
Last active Oct 27, 2019
HOWTO: Skip files outside PhpStorm project in Xdebug sessions


In PHP development environments, it is not entirely uncommon to use an auto_prepend_file to add development-specific functionality to an application. Usually such a file is used for several projects at the same time. This means the prepend file resides somewhere in a more high-level location.

A more common practice is to use Xdebug te debug PHP code.

When combining these two with PhpStorm this will lead to the prepend file being marked as "not mapped".


Potherca / logo-pipeline-components-animated.svg
Last active Oct 5, 2019
Animated SVG version of the Pipeline-Component logo
View logo-pipeline-components-animated.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Potherca /
Last active Sep 23, 2019
The search for a Regex to match BEM CSS class-names

The search for a Regex to match BEM CSS class-names


Use this regular expression to match BEM class-names:

You can’t perform that action at this time.