Skip to content

Instantly share code, notes, and snippets.

@fade2gray
fade2gray / CE-Lazarus-Patch.bat
Last active March 31, 2025 19:05
Patch Cheat Engine files for compatability with Lazarus versions > 2.2.6 (e.g 3.8)
@echo off
setlocal enabledelayedexpansion
:: Define the files to modify
set "file1=cesupport.pas"
set "file2=frmSaveSnapshotsUnit.pas"
set "file3=LuaHandler.pas"
set "file4=luavirtualstringtree.pas"
:: Define search and replace strings
@fade2gray
fade2gray / change-username.sh
Last active November 30, 2016 23:25
Raspbian - Change Default User Name
#!/bin/bash
##############################################################################
# Works for me with clean and fully updated Rasbian Jessie on Rasberry Pi 2b #
# ONLY USE THIS SCRIPT If YOU KNOW WHAT YOU ARE DOING - RUN AT YOUR OWN RISK #
# MUST BE RUN AS ROOT FROM A COMMAND LINE LOGIN - DO NOT RUN AS SUDO USER #
##############################################################################
echo "Change username?"
select yn in "Yes" "No"; do
case $yn in