defaults write com.apple.dashboard devmode YES
This is actually a pain in the as since has to be done for each application.
// Puppeteer | |
const puppeteer = require('puppeteer'); | |
// PostgreSQL | |
const pg = require('pg'); | |
// Login + PostgreSQL credentials | |
const CREDS = require('./creds'); | |
// Base URL | |
const URL = 'https://<WOOCOMMERCE_FQDN>' | |
const PRODUCT = '<PRODUCT_URL_PATH>' |
0 ✓ steve@hal9000 ~ $ figlist | \ | |
awk '/fonts/ {f=1;next} /control/ {f=0} f {print}' |\ | |
while read font; do\ | |
printf "\n\n\n>>> Font: $font\n\n" | |
echo 'Hamburgefonstiv' | \ | |
figlet -w 150 -f $font | |
done | |
#!/bin/bash | |
# Source bash output formatting helper | |
source ${BASH_HELPERS}/msg_format.sh | |
# Strings to replace before building site "orignal1:::new1" "original2:::new2" | |
declare -a stringsToReplace=("original1:::new1" "original2:::new2") | |
for string in "${stringsToReplace[@]}"; do |
#!/usr/bin/env bash | |
## Output formatting helper for bash | |
source ~/.env/bash_helpers/vars_colours.sh | |
## Get exit status of process that's piped to another | |
set -o pipefail | |
## fx |
#!/usr/bin/env bash | |
# Define ANSI color escape code | |
# color <ansi_color_code> | |
color() { printf "\033[${1}m"; } | |
# No Color | |
NO_COLOR=$(color "0") | |
NC=${NO_COLOR} |
#!/bin/bash | |
source $HOME/.env/old_dot_custom/fx_msgFormatting.sh | |
_scriptname="$(basename $0)" | |
_forceKill=$1 | |
_stringtokill="$@" | |
function pidlist_gen() { | |
ps -eo pid= -o cputime= -o comm= | grep -v grep | grep -i ${_stringtokill} |
As of 2019 --with-default-name
is deprecaded. Updated packages to install below:
GNU Core Utilities:
brew install coreutils
Common utilities:
brew install binutils
0 ✓ steve@hal9000 ~ $ sqlcipher jeanscollection.db
# insert password for decryption
PRAGMA key = '<PASSWORD>';
> ok
# show databases
.databases
> main: /Users/steve/jeanscollection.db
# show tables
.tables
Install tor on macOS
0 ✓ user@macos ~ $ brew install tor
==> Downloading https://homebrew.bintray.com/bottles/tor-0.4.2.5.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/82/8231f0d4bf6e158a85672f9a29a8bccb50152cf039cbc996b29f45031dc65e29?__gda__=exp=1577172051~hmac=89164770fc6a2d95795cf220c52b76e9f809a781307557930ddce7f6c1a6
######################################################################## 100.0%
==> Pouring tor-0.4.2.5.mojave.bottle.tar.gz
==> Caveats
To restart tor after an upgrade: