Skip to content

Instantly share code, notes, and snippets.

👨‍💻
Improving Processes, Products, Projects and People in Software Development.

Ben Peachey Potherca

👨‍💻
Improving Processes, Products, Projects and People in Software Development.
View GitHub Profile
@Potherca
Potherca / README.md
Last active Feb 7, 2020
Automated reproduction of all scenarios related to Dealerdirect/phpcodesniffer-composer-installer issues #105
View README.md

Introduction

This gist contains a BASH script that runs through all scenarios related to Dealerdirect/phpcodesniffer-composer-installer issues #105.

For v0.6.0 of phpcodesniffer-composer-installer, all scenario(s) fail.

These are the scenario reported in the issue and the scenario with 'composer run-script'

@Potherca
Potherca / README.md
Last active Jan 26, 2020
Automated reproduction of all scenarios related to Dealerdirect/phpcodesniffer-composer-installer issues #103
View README.md
@Potherca
Potherca / README.md
Last active Dec 10, 2019
A list of capturing and non-capturing groups avaiable in regular expressions
View README.md

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.

Overview

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

Learning Styles Comparison [1][1]

VARK [2][2]

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

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
Potherca / README.md
Last active Aug 16, 2019
Feature Toggles in PHP
View README.md

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
Potherca / README.md
Last active Jun 23, 2020
Scripts to check for (and execute) updates to the `plantuml-stdlib` codebase
View README.md

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:

You can’t perform that action at this time.