Skip to content

Instantly share code, notes, and snippets.

View GLMeece's full-sized avatar

Greg Meece GLMeece

View GitHub Profile
@GLMeece
GLMeece / master_list_of_logical_fallacies.md
Created May 26, 2021 13:22
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
GLMeece / typescript-function-syntaxes.md
Last active October 10, 2022 21:03
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

@GLMeece
GLMeece / new_macos_machine_setup.md
Last active December 1, 2022 15:25
New macOS Machine Setup

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
GLMeece / powerbook_fingerprint_as_sudo.md
Last active December 28, 2021 18:07
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:

Steps

  1. Open the sudo utility:
sudo nano /etc/pam.d/sudo
@GLMeece
GLMeece / casing_styles.md
Last active November 8, 2021 22:24
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
GLMeece / docker_cheatsheet.md
Last active February 8, 2021 17:45
Docker Cheat Sheet

Useful Docker Cheat Sheet

Random Tips

  • 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. 🍰
@GLMeece
GLMeece / Steps_to_Terminal_Enlightenment_on_a_Mac.md
Last active April 29, 2024 05:17
Steps to Terminal Enlightenment on a Mac (tweaking your terminal for fun and profit)
@GLMeece
GLMeece / .zshrc
Created September 5, 2019 22:07
Z-shell Resource File PowerLevel9K Example
# zmodload zsh/zprof # <-- enable for shell profiling
# Note: for more options info, see:
# https://gist.github.com/geeknam/4423298046c4383d36a91c404ff049b1
# Autoload info:
# With the -U flag, alias expansion is suppressed when the function is loaded.
# -z mark the function to be autoloaded using the zsh style
autoload -Uz compinit
@GLMeece
GLMeece / export_ini_values.sh
Last active November 17, 2022 20:49
Exporting INI file values as Environmental Variables
# It is assumed that $HOME is already defined and exported...
# Assuming within our home directory,
# we have a hidden directory called '.env'
envvarsdir="/.env/"
# ...and within that directory we had a file named 'secret_vars.ini'...
envvarsfile=secret_vars.ini
# ...we'd build the path
envvarspath=$HOME$envvarsdir$envvarsfile