Skip to content

Instantly share code, notes, and snippets.

View austinsonger's full-sized avatar
🙃
Localhost

Austin Songer,MIS,CEH,ESCA,Project+ (Navy Veteran) austinsonger

🙃
Localhost
View GitHub Profile
@austinsonger
austinsonger / A-Z-Dirty_Slang_And_Kink_Dictionary.json
Last active December 12, 2024 01:20
Dirty Slang and Kink Dictionary
{
"DirtyDictionary": {
"A": [
{
"Term": "ABC party",
"Definition": "“Anything but clothes” theme party in which guests can come naked or draped in non-traditional coverups, such as duct tape, boxes, newspaper…"
},
{
"Term": "ABC Sex",
"Definition": "In a long-term relationship when a couple only has sex on anniversaries, birthdays, and Christmas."
@austinsonger
austinsonger / Google Search Queries for Clinical Laboratory Scientist.md
Last active December 8, 2024 16:13
Google Search Queries for Clinical Laboratory Scientist

Once you find queries to your liking. Use the following to give you noitication on new jobs pop up via the query. https://alerts.talkwalker.com/alerts/new

Query Examples

Query 1

(Clinical Laboratory Scientist AND Chicago OR Remote) AND (site:jobs.lever.co | site:apply.workable.com | site:breezy.hr | site:applytojob.com | site:bamboohr.com | site:boards.greenhouse.io | site:jobs.jobvite.com)

+Clinical Laboratory Scientist AND (Chicago OR Remote) AND (site:jobs.lever.co | site:apply.workable.com | site:breezy.hr | site:applytojob.com | site:bamboohr.com | site:boards.greenhouse.io | site:jobs.jobvite.com)

@austinsonger
austinsonger / mediaserver-directory.sh
Last active December 8, 2024 04:23
Populate Directory Structure for Plex Media Server
#!/usr/bin/env bash
BASE_DIR="$HOME/PlexMedia"
# Define the directory structure as indexed arrays
MEDIA_DIRS=("Movies:Movies" "TV_Shows:TV_Shows" "Music:Music" "Photos:Photos" "Home_Videos:Home_Videos")
SUBFOLDERS_MOVIES=("Action" "Drama" "Comedy" "Family" "Superhero" "Adventure" "Spy_Thriller" "Martial_Arts" "War" "Fantasy" "Science_Fiction_Action")
SUBFOLDERS_TV_SHOWS=("Drama" "Comedy" "Documentaries" "Cartoons" "Crime_Drama" "Medical_Drama" "Reality_Shows" "Sitcoms" "Animated_Shows")
SUBFOLDERS_MUSIC=("Albums" "Playlists" "Artists" "Genres" "Live_Performances" "Soundtracks")
SUBFOLDERS_PHOTOS=("Vacations" "Events" "Family" "Favorites" "Nature" "Artistic")
@austinsonger
austinsonger / swiral.sh
Last active December 6, 2024 18:15
Automates the installation of Swirl Search Community Edition on a Debian or MacOS.
#!/bin/bash
# Combined Swirl Search Community Installation Script for Debian and macOS
# Exit on errors
set -e
echo "Starting Swirl Search Community installation..."
# Detect the operating system
@austinsonger
austinsonger / CommonPatternsForBannedWords.md
Last active December 5, 2024 07:28
Social Media Frequent Banned Words
  • Off-platform payments (PayPal, Bitcoin, Venmo, CashApp, etc.).
  • Other adult content platforms (Fansly, FansOnly, ManyVids, PornHub, etc.).
  • BDSM and hardcore content (Chokings, Flogging, Caning, Hypnosis, etc.).
  • Injury and torture (Mutilation, Strangulation, Suffocation, etc.).
  • Non-consensual sex acts (Kidnapping, Forcing, Abduction, etc.).
  • Anything age-related (Teen, Lolita, Young, etc.).
  • Animal cruelty (Zoophilia, Bestiality, etc.).
  • Sex work (Meet, Prostitution, Escort, Hookers, etc.).
  • Drugs and intoxication (Drunken, Drinking, Chloroform, Intoxicated, etc.).
@austinsonger
austinsonger / MACOS_Cleanup_Utility.sh
Last active December 5, 2024 04:33
macOS Cleanup Script with Launchd: A macOS script to clean system, app, and developer caches, remove temporary files, flush DNS, reset logs, repair disk, and check updates, battery health, and duplicate files.
#!/bin/bash
# Check if script is run as sudo
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root. Re-running with sudo..."
exec sudo "$0" "$@"
fi
# macOS Cleanup Script with Logging and Error Tracking
LOG_FILE="$HOME/.scripts/logs/cleanup_log_$(date '+%Y%m%d_%H%M%S').log"
@austinsonger
austinsonger / protondrive-cleanup.sh
Created December 5, 2024 01:53
Proton Drive - Data Migration for MacOS Sequoia
#!/bin/bash
# 1. Check that Terminal has full disk access
if ! plutil -lint /Library/Preferences/com.apple.TimeMachine.plist >/dev/null ; then
echo "Please grant Full Disk Access permission to Terminal:"
echo "1. Open System Preferences."
echo "2. Go to Privacy & Security."
echo "3. Scroll down and click Full Disk Access."
echo "4. Click the + button."
echo "5. Navigate to Applications -> Utilities, select Terminal, then click Open."
@austinsonger
austinsonger / Wanring and Consent Banner.txt
Created December 4, 2024 18:55
Wanring and Consent Banner
@austinsonger
austinsonger / OneTimeDownloadFromGoogleDrive.gs
Last active December 3, 2024 16:49
Google App Script - Download files from Google Drive by the one time download method [File is Public for 1 Minutes and automatically Unshared]
function deletePermission() {
const forTrigger = "deletePermission";
const id = CacheService.getScriptCache().get("id");
const triggers = ScriptApp.getProjectTriggers();
triggers.forEach(function(e) {
if (e.getHandlerFunction() == forTrigger) ScriptApp.deleteTrigger(e);
});
const file = DriveApp.getFileById(id);
file.setSharing(DriveApp.Access.PRIVATE, DriveApp.Permission.NONE);
}
@austinsonger
austinsonger / TransferOwnership.gs
Last active December 3, 2024 16:50
Google App Script - Transfer Ownership of File(s) OR Entire Drive
/**
* Transfer ownership of a specific file to another user.
* @param {string} fileId The ID of the file to transfer ownership.
* @param {string} newOwnerEmail The email address of the new owner.
*/
function transferFileOwnership(fileId, newOwnerEmail) {
try {
const file = DriveApp.getFileById(fileId);
Logger.log(`Current owner of file '${file.getName()}' is: ${file.getOwner().getEmail()}`);
file.setOwner(newOwnerEmail);