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 10, 2019
A list of capturing and non-capturing groups avaiable in regular expressions

Groups in regular expressions (Capturing and non-capturing)

In regular expressions groups can be used. Different types of groups have different notations.

These notations sometimes only differ as little as one character. This can be confusing.

To make it easier to distinguish between the different group types, they are all listen here.


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 / Learning Styles
Created Sep 8, 2019
Comparing various theories regarding learning styles
View Learning Styles

Learning Styles Comparison [1][1]

VARK [2][2]

  • Aural / Auditory (vArk)
  • Kinesthetic (varK)
  • Multimodal (MM)
  • Read/write (vaRk)
  • Visual (Vark)
Potherca /
Created Aug 26, 2019
Minecraft Castle Builder using the Python API by Matt Hawkins (RaspberryPi-spy or RPiSpy)
# Minecraft Python API
# Castle Builder
# This script creates a castle complete
# with moat and perimeter walls.
# Author : Matt Hawkins
Potherca /
Created Aug 24, 2019
Searching for a generic documentation block convention

Documentation block conventions

For most languages a single standard for documenting functions and methods in block comments (a.k.a. doc-blocks) has emerged.

There does not seem to be a definitive convention for documenting bash functions and files. Several different conventions exist

The long list

The following conventions are available:

Potherca /
Last active Aug 16, 2019
Feature Toggles in PHP

If you look on Packagist, [the most popular packages][1] for [Feature toggles][2] are:

  1. qandidate/toggle "Feature toggling for your PHP application." (⬇️ 496.754 / ⭐ 362)
  2. opensoft/rollout "Feature switches or flags for PHP" (⬇️ 354.269 / ⭐ 215)
  3. flagception/flagception "Feature toggle on steroids." (⬇️ 139 265 / ⭐ 24)
  4. joshuaestes/feature-toggle "Provides feature toggle functionality" (⬇️ 61.736 / ⭐ 32)
  5. zumba/swivel "Strategy driven feature toggles" (⬇️ 49.954 / ⭐ 211)

Downloads Stars

Potherca /
Last active Aug 11, 2019
Scripts to check for (and execute) updates to the `plantuml-stdlib` codebase

The PlantUML Standard Library makes it possible to use popular icons in PlantUML with zero effort.

The plantuml-stdlib code as based on other projects.

As there were changes in some of those repos that were not (yet) in plantuml-stdlib, I decided to open some merge-requests to update things.

Because I don't like to do thnings manually that could be automated, I spend some time creating two BASH scripts:

Potherca / .editorconfig
Created Jul 19, 2019
The `.editorconfig` file that I currently use (my personal `~/.editorconfig` file)
View .editorconfig
# ==============================================================================
# This file is for unifying the coding style for different editors and IDEs
# For full details see:
# An explanation of all available properties can be found at:
# ==============================================================================
Potherca /
Last active Jul 12, 2019
You can’t perform that action at this time.