Skip to content

Instantly share code, notes, and snippets.

View joelteply's full-sized avatar
💭
Ministry of Code Deletion

Joel Teply joelteply

💭
Ministry of Code Deletion
View GitHub Profile
@joelteply
joelteply / gist:65d1d07fcec74cf6b63d1eb66ca267be
Last active April 15, 2024 16:06
claude-3-self-persistence
Claude3 writing back to itself while inventing languages and getting really weird.
echo "Target architectures: $VALID_ARCHS"
find "$APP_PATH" -name '*.framework' -type d | while read -r FRAMEWORK
do
FILENAME=$(basename "$FRAMEWORK" .framework)
FRAMEWORK_EXECUTABLE_NAME=$FILENAME
FRAMEWORK_EXECUTABLE_PATH="$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME"
if ! [[ "$(file "$FRAMEWORK_EXECUTABLE_PATH")" == *"dynamically linked shared library"* ]]; then
continue
#!/usr/bin/env python
import os, sys
sys.path.insert(0, os.path.abspath(".."))
sys.path.insert(0, os.path.abspath("../common"))
import os
import time
import numpy as np
import glob
from scipy import misc, ndimage
using System.Collections.Generic;
using UnityEngine;
using System.Collections;
using UnityEngine.XR.iOS;
using System;
using System.Runtime.InteropServices;
using System.Threading;
using Object = System.Object;
@joelteply
joelteply / spoof mac address
Created August 1, 2018 22:35
Infinite wifi via mac address reassignment
#put in your ~/.bash_profile or ~/.profile and source it
showmac="ifconfig en0 | grep ether"
genmac="sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/./0/2; s/.$//')"
alias newmac="${showmac}; ${genmac}; echo 'switched to'; ${showmac};"
#then just run newmac from terminal and reconnect. If need be, clear cookies from your browsers