Skip to content

Instantly share code, notes, and snippets.


Greg Meece GLMeece

View GitHub Profile
GLMeece /
Created Sep 9, 2022 — forked from pudquick/
Lightly "sandboxed" homebrew on macOS

brew is a bad neighbor

This isn't a guide about locking down homebrew so that it can't touch the rest of your system security-wise.

This guide doesn't fix the inherent security issues of a package management system that will literally yell at you if you try to do something about "huh, maybe it's not great my executables are writeable by my account without requiring authorization first".

But it absolutely is a guide about shoving it into its own little corner so that you can take it or leave it as you see fit, instead of just letting the project do what it likes like completely taking over permissions and ownership of a directory that might be in use by other software on your Mac and stomping all over their contents.

By following this guide you will:

  • Never have to run sudo to forcefully change permissions of some directory to be owned by your account

How to Import YAML Variables into Robot Framework

I recently answered this question on the Robot Framework forum.

For switching between runtime environments, my go-to is to create YAML files that encapsulate essential differences between environments. If you focus on just the things that change, then your maintenance load will be lower.

I like YAML because you can represent the 3 primitive data types supported:

  • Scalar
  • List
  • Dictionary

Leveraging Robot Framework's Documentation Support


This is a short tutorial on how to leverage Robot Framework's built-in support for documentation. This documentation can be embedded in test suites, libraries, and other resource files. The markup is fairly simple, and most closely resembles AsciiDoc syntax.

Official Documentation

The official documentation explains the use of the Library documentation tool (Libdoc), its correspondent for Test data documentation (Testdoc), as well as the Documentation formatting syntax. Please use these references as the official word on how to

GLMeece /
Created May 26, 2021
Master List of Logical Fallacies

Master List of Logical Fallacies

original article here

> Fallacies are fake or deceptive arguments, "junk cognition," that is, arguments that seem irrefutable but prove nothing. Fallacies often seem superficially sound and they far too often retain immense persuasive power even after being clearly exposed as false. Like epidemics, fallacies sometimes "burn through" entire populations, often with the most tragic results, before their power is diminished or lost. Fallacies are not always deliberate, but a good scholar’s purpose is always to identify and unmask fallacies in arguments. Note that many of these definitions overlap, but the goal here is to identify contemporary and classic fallacies as they are used in today's discourse. Effort has been made to avoid mere word-games (e.g., "The Fallacist's Fallacy," or the famous "Crocodile's Paradox" of classic times), or the so-called "fallacies" of purely formal and symbolic, business and financia

GLMeece /
Last active May 13, 2021
Typescript Function Syntaxes

In JavaScript itself, there are lots of ways to write functions. Add TypeScript to the mix and all of a sudden it's a lot to think about. So with the help of some


New MacOS Machine Setup

This guide is based on my own experience, but also draws on other guides. It is primarily oriented towards those doing code-related stuff (e.g., I'm mostly an SDET, but is also applicable to those doing either Python or Web-based development).

A couple of other examples:

Most of the setup will use the terminal. For more details on how to setup an awesome terminal experience on the Mac, see my guide Steps to Terminal Enlightenment on a Mac (tweaking your terminal for fun and profit), which in fact includes some of these steps (you're welcome!).

GLMeece /
Last active Dec 28, 2021
Use Fingerprint Reader on a MacBook to Validate SUDO

HOWTO Leverage the Fingerprint Reader on a MacBook to Validate SUDO

The following is derived from the article Use Touch ID for sudo on Mac:


  1. Open the sudo utility:
sudo nano /etc/pam.d/sudo
GLMeece /
Last active Nov 8, 2021
Variable/Constant Casing Styles

Computer Language Case Styles

A quick discussion of the most popular ways to invoke variable (or constant) names using case and/or space replacement.

These styles are:

  • camelCase
  • PascalCase
  • snake_case
  • kebab-case
GLMeece /
Last active Feb 8, 2021
Docker Cheat Sheet

Useful Docker Cheat Sheet

Random Tips

A Dozen Dockerfile Instructions to Know

  • FROM — specifies the base (parent) image; typically you specify both the image name as well as the label. 🍰
  • RUN — runs a command and creates an image layer. Used to install packages into containers. 🍰