Skip to content

Instantly share code, notes, and snippets.

View hunterMG's full-sized avatar
🧠Uploading...

hunterMG

🧠Uploading...
View GitHub Profile
@hunterMG
hunterMG / prompt-injections.md
Created August 18, 2026 12:38 — forked from kibotu/prompt-injections.md
Prompt Injection & Jailbreak Techniques — Comprehensive Reference

Prompt Injection & Jailbreak Techniques — Comprehensive Reference

Purpose & scope. A defensive/educational knowledge base cataloguing known prompt-injection and jailbreak patterns, the models/systems they have affected, and the defenses against them. Compiled from primary literature (arXiv papers, vendor disclosures) and security research, June 2026.

How to read this. Every technique lists: how it works, an illustrative structural skeleton (the shape of the attack, not a weaponized payload), the models/systems it was reported against, and its current status. Examples are deliberately defanged. >

@hunterMG
hunterMG / CrossOverLicence.sh
Created June 4, 2026 01:13 — forked from fedelkev/CrossOverLicence.sh
unlimited CrossOver 24 trial (MacOS)
#!/bin/sh
# Variables
FOLDER_NAME="CrossOverLicence"
PLIST_NAME="com.codeweavers.CrossOver.license.plist"
BOTTLES_PATH="$HOME/Library/Application Support/CrossOver/Bottles"
SCRIPT_URL="https://gist.githubusercontent.com/repsejnworb/84d3e0852cf90ef40edf7e9c060f193b/raw/CrossOverLicence.sh?token=$(date +%s)"
TOTAL_STEPS=3
STEP=0
@hunterMG
hunterMG / crossover.sh
Created June 3, 2026 14:21 — forked from knowlet/crossover.sh
Unlimited CrossOver Trial (macOS)
echo "🧹 Resetting CrossOver bottles..."
pkill CrossOver && echo "✅ CrossOver processes killed."
echo "🕒 Modifying trial timestamps..."
DATETIME=$(date -u -v -3H '+%Y-%m-%dT%TZ')
echo "✅ New trial date set to: ${DATETIME}"
defaults write com.codeweavers.CrossOver FirstRunDate -date "${DATETIME}"
defaults write com.codeweavers.CrossOver SULastCheckTime -date "${DATETIME}"
echo "✅ Updated trial timestamps in preferences."
echo "🧹 Resetting CrossOver bottles..."
find ~/Library/Application\ Support/CrossOver/Bottles/ -type f \( -name ".eval" -o -name ".update-timestamp" \) -exec rm -f "{}" +
@hunterMG
hunterMG / get-vmwarefusion.sh
Created October 15, 2025 12:00 — forked from johnvilsack/get-vmwarefusion.sh
Direct Download VMWare Fusion - Download, Install, and Update VMWare Fusion Automatically.
#!/usr/bin/env bash
# VMware Fusion Latest Version Downloader, Installer, and Updater
# This script automatically finds, downloads, and optionally installs the highest version available
#
# Inspired by this gist: https://gist.github.com/jetfir3/6b28fd279bbcadbae70980bd711a844f
#
# Usage: $0 [-y] [-i] [-d] [-f] [-t <dmg_path>]
# -y: Skip download confirmation prompt
# -i: Automatically install after download (implies -y)
@hunterMG
hunterMG / latency.md
Created May 27, 2019 02:06
GCP、AWS latency test tool
@hunterMG
hunterMG / Debian9enableBBR.md
Created March 15, 2019 12:50
Debian 9 enable BBR
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p

如果正常执行之后没有报错的话,需要重启一下系统,让配置生效。

重启之后,执行如下命令查看配置是否成功生效:

lsmod | grep bbr