Skip to content

Instantly share code, notes, and snippets.

View austinsonger's full-sized avatar
🙃
Localhost

Austin Songer, CISSP austinsonger

🙃
Localhost
View GitHub Profile
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/opt/homebrew/bin/brew shellenv)"
# Tap needed repos
brew tap homebrew/cask-fonts
# Install some stuff from Homebrew
brew install --cask \
alex313031-thorium \
@nathansgreen
nathansgreen / new-mac-iinit.sh
Last active February 26, 2024 15:02
Initial setup for a new MacOS install
#!/usr/bin/env sh
# stuff to do when setting up a fresh install of MacOS
set -o errexit -o nounset -o noclobber
[ -e /etc/pam.d/sudo_local ] || \
echo 'auth sufficient pam_tid.so' \
| sudo tee /etc/pam.d/sudo_local
softwareupdate --install-rosetta --agree-to-license
@syneart
syneart / meld_hotfix_sonoma.sh
Last active September 4, 2025 15:53
Meld v3.21.0 (r4) hot-fix for macOS on Intel CPU / Apple Silicon CPU with Rosetta
### Test on https://github.com/yousseb/meld/releases/tag/osx-20
### OSX - 3.21.0 (r4) Sonoma
### !!! Note: You need put the Meld.app r4 build to the /Applications path first.
#!/bin/zsh
#Fix libpng16.16.dylib not found
install_name_tool -change /usr/local/opt/libpng/lib/libpng16.16.dylib @executable_path/../Frameworks/libpng16.16.dylib /Applications/Meld.app/Contents/Frameworks/libfreetype.6.20.0.dylib
#Fix libbrotlidec.1.dylib not found
@doraTeX
doraTeX / ocr.sh
Last active January 16, 2026 14:57
A shell script to perform OCR on images/PDFs using macOS built-in OCR engine -- https://doratex.hatenablog.jp/entry/20230629/1687977178
#!/bin/bash
SCRIPTNAME=$(basename "$0")
function realpath () {
f=$@;
if [ -d "$f" ]; then
base="";
dir="$f";
else
base="/$(basename "$f")";
@devinschumacher
devinschumacher / cloud-gpus.md
Last active April 26, 2026 01:38
Cloud GPU Hosting // The Best Servers, Services & Providers [RANKED!]
title The Best Cloud GPU Providers for Artificial Intelligence & Machine Learning
tags
cloud gpu providers
cloud gpu
artificial intelligence

Cloud GPUs: Servers, Providers & Everything You Would Ever Need

@peteristhegreat
peteristhegreat / generate.sh
Last active April 29, 2026 20:26
List gists as links with descriptions
#!/usr/bin/env bash
# git clone git@github.com:14e1a09abfdb9e762683c10cfeff3b4a.git gists-blog
# cd gists-blog
# ./generate.sh
# git add .
# git commit -m "updated links"
# git push
page_count=$(curl -I https://api.github.com/users/peteristhegreat/gists | grep link | grep -oP '(?<=\?page=)(\d+)(?=>; rel="last")')
# local
- ScreenBrush (https://imagestudiopro.com/screenbrush/)
- Presentify (https://presentifyapp.com/)
- Shottr (https://shottr.cc/)
- PhotoScape X (http://x.photoscape.org/)
- Paint X (https://paint-x.com/)
- Skitch (https://evernote.com/intl/zh-tw/products/skitch)
- Seashore (https://github.com/robaho/seashore)
- CleanShot X (https://cleanshot.com/)
- Snipaste (https://www.snipaste.com/)
@OleksandrKucherenko
OleksandrKucherenko / dependencies.sh
Created August 30, 2022 09:51
MACOSX Script contains helper functions that allows verification of script dependencies. Is required tool installed on the laptop? Is the tool version is right? What developer should do to fix the dependency?
#!/usr/bin/env bash
# shellcheck disable=SC2034
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck disable=SC1090 source=commons.sh
source "$SCRIPT_DIR/commons.sh"
logger dependencies "$@" # register own debug tag & logger functions
#set -x # Uncomment to DEBUG
@ericdmoore
ericdmoore / New-Machine-Setup.md
Last active January 12, 2026 15:48
The bare minimum for me to be productive on a new machine
@geekodour
geekodour / c.md
Last active January 7, 2026 18:10
security and privacy guides backup