Skip to content

Instantly share code, notes, and snippets.

View falconscript's full-sized avatar

falconscript falconscript

View GitHub Profile
# Fixes compilation issues derived from armv7 -> armv7s/arm64 from iOS 7 to iOS 8
# I never fully understood what the reason was for executables just randomly breaking
# But this will fix it
if [ "$1" = "FIXALL" ]; then
echo "[+] About to run ASM replacement on ALL files in /usr/sbin, /usr/bin, and /usr/local/bin."
echo "[!] WARNING This may break things. HIT CTRL+C RIGHT NOW TO STOP. Otherwise hit enter. BACKUP YOUR DEVICE."
read WARNING
for i in `ls /usr/sbin`; do "$0" "/usr/sbin/$i"; done
@falconscript
falconscript / shutdown.sh
Created January 16, 2016 16:29
Cronjob script to auto-shutdown Macbook after 30 minutes of idling
#!/usr/bin/env bash
# Script for shutdown the mac if no user activity for specified time
cd ~/Desktop
# REQUIRED to run properly as a CRON job
export PATH="/usr/bin:/usr/local/sbin:/usr/local/share:/usr/local/bin:/usr/bin:/bin:/usr/sbin"
# Run every 5 minutes (every 5 minutes it checks to see if 30 minutes of nothing have gone by)
# env EDITOR=nano crontab -e
@falconscript
falconscript / discordfonts.js
Last active June 17, 2020 01:58
Some custom fonts for discord
// FalconScript - DISCORD FONTS
// These are just whatever. Pretty funny though
// Open Chrome Console (CTRL+Shift+i), then paste entire script and hit enter.
// Afterwards, type messages into a textbox. Hit the \ or | key to convert it to the new font!
let FONTS = {
"LIT": { SPACE_REPLACEMENT: '🔥', ALTERNATE_BOLD: true, BLACKLIGHTING: true },
"FLASHY_WORDS": { SPACE_REPLACEMENT: '\\✨', ALTERNATE_BOLD: true, BLACKLIGHTING: false, }
};
@falconscript
falconscript / beforemeleemac.command
Created May 10, 2018 16:20
Reduce lag by running just before playing melee. Script turns off screen scaling to reduce GPU usage
#!/bin/bash
echo '
### ###
##### Melee screen resolution optimizer ##### falconscript
### ###
'
## How to use: