Skip to content

Instantly share code, notes, and snippets.

View austinsonger's full-sized avatar
🙃
Localhost

Austin Songer, CISSP austinsonger

🙃
Localhost
View GitHub Profile
@doraTeX
doraTeX / ocr.sh
Last active November 16, 2025 14:36
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")";
@peteristhegreat
peteristhegreat / generate.sh
Last active October 13, 2025 15:52
List gists as links with descriptions
#!/usr/bin/env bash
# git clone [email protected]: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 April 25, 2024 20:22
The bare minimum for me to be productive on a new machine
@geekodour
geekodour / c.md
Last active January 13, 2025 04:04
security and privacy guides backup
@HuangJiaLian
HuangJiaLian / make_dmg.sh
Created April 2, 2022 05:37
Two steps to turn a Python file to a macOS installer
#!/bin/sh
# Ref.: https://www.pythonguis.com/tutorials/packaging-pyqt5-applications-pyinstaller-macos-dmg/
rm -rf build dist/*
#################################################
# Create app file using pyinstaller
#################################################
pyinstaller --name 'Huanbu' \
event.code:4688 and winlog.event_data.TargetUserSid :"S-1-0-0" and not winlog.event_data.TargetUserName:*$ and
not winlog.event_data.TargetUserName:- and not winlog.event_data.TargetUserName:"defaultuser100000" and
not winlog.event_data.TargetUserName : ("LOCAL SERVICE" or "NETWORK SERVICE") and
not winlog.event_data.TargetDomainName : ("NT Service" or "Font Driver Host")
@SwitHak
SwitHak / 20211210-TLP-WHITE_LOG4J.md
Last active November 24, 2025 11:24
BlueTeam CheatSheet * Log4Shell* | Last updated: 2021-12-20 2238 UTC

Security Advisories / Bulletins / vendors Responses linked to Log4Shell (CVE-2021-44228)

Errors, typos, something to say ?

  • If you want to add a link, comment or send it to me
  • Feel free to report any mistake directly below in the comment or in DM on Twitter @SwitHak

Other great resources

  • Royce Williams list sorted by vendors responses Royce List
  • Very detailed list NCSC-NL
  • The list maintained by U.S. Cybersecurity and Infrastructure Security Agency: CISA List