Skip to content

Instantly share code, notes, and snippets.

@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
@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 / VS2019.vsconfig
Created May 29, 2026 12:15
VS2019 vsconfig file for Cheat Engine
{
"version": "1.0",
"components": [
"Component.Microsoft.VisualStudio.LiveShare",
"Microsoft.Component.MSBuild",
"Microsoft.VisualStudio.Component.CoreEditor",
"Microsoft.VisualStudio.Component.Debugger.JustInTime",
"Microsoft.VisualStudio.Component.Graphics.Tools",
"Microsoft.VisualStudio.Component.IntelliCode",
"Microsoft.VisualStudio.Component.JavaScript.TypeScript",