Skip to content

Instantly share code, notes, and snippets.

View avindra's full-sized avatar
🙏
Acepit

Avindra Goolcharan avindra

🙏
Acepit
View GitHub Profile
@avindra
avindra / dmesg.log
Created April 24, 2025 23:21
dmesg nvidia driver failure
[ 0.000000] [ T0] Linux version 6.14.3-1-default (geeko@buildhost) (gcc (SUSE Linux) 14.2.1 20250220 [revision 9ffecde121af883b60bbe60d00425036bc873048], GNU ld (GNU Binutils; openSUSE Tumbleweed) 2.43.1.20241209-5) #1 SMP PREEMPT_DYNAMIC Mon Apr 21 06:23:20 UTC 2025 (493ad77)
[ 0.000000] [ T0] Command line: BOOT_IMAGE=/boot/vmlinuz-6.14.3-1-default root=UUID=efc650f1-fb44-439c-bb0d-3f53d36d911b nvidia-drm.modeset=1 splash=silent quiet mitigations=off nosimplefb=1
[ 0.000000] [ T0] x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks
[ 0.000000] [ T0] BIOS-provided physical RAM map:
[ 0.000000] [ T0] BIOS-e820: [mem 0x0000000000000000-0x000000000009c3ff] usable
[ 0.000000] [ T0] BIOS-e820: [mem 0x000000000009c400-0x000000000009ffff] reserved
[ 0.000000] [ T0] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[ 0.000000] [ T0] BIOS-e820: [mem 0x0000000000100000-0x0000000076acf
@avindra
avindra / Hacking Nintendo Games with Cheat Engine.md
Last active March 27, 2025 21:07
How to use Cheat Engine against Big Endian targets

Cheating in Nintendo Games with Cheat Engine

As you may know, Wii games don't have any known action replay codes, and some of you may have found that memory editing doesn't seem to work.

Disclaimer ⚠️

The methodology herein is obsolete for two reasons. For one, endianness can be set within Cheat Engine. Secondly, dolphin now has a built in cheat search function.

It is still valuable for informational purposes, and for use with other memory editing tools such as scanmem.

Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen Threadripper 1950X 16-Core Processor
CPU Family: 0x17
@avindra
avindra / v8-canary.md
Last active February 22, 2021 17:03
v8/d8 dump location
@avindra
avindra / Reset-Alacritty.md
Last active November 20, 2024 01:50
Reset Terminal

Introduction

To reset your terminal, you can call reset from your shell, which is generally included with the target operating systems.

If you want to reset when you are not at a shell prompt (i.e., inside some other application), we can send an escape sequence in another way.

As an example, we can send a special escape sequence to the Nth tty:

echo -e "\ec" > /dev/pts/$N
@avindra
avindra / TrySwayNVIDIA.sh
Last active November 29, 2020 21:27
Some boilerplate for dealing with common issues when trying to start Sway (window manager) on an NVIDIA card.
#!/bin/sh
primaryGPU=/dev/dri/card0
if [[ ! -c "$primaryGPU" ]]; then
echo "No dri card detected"
exit 1
fi
@avindra
avindra / pfsense-dark-mode.sh
Created July 31, 2018 04:37
Get NATIVE dark mode on pfSense (tested on 2.4.3)
# [ SSH TO YOUR ROUTER ] =
# Press 8 for a shell
cd /usr/local/www/css
ls -lah
cp pfSense.css pfSense.css.base
cat pfSense.css.base pfSense-dark.css > pfSense.css
# Reload browser, the styles should take effect immediately.
@avindra
avindra / lexicalScoping.py
Created January 3, 2018 17:46
Proof of python lacking lexical scope
#!/usr/bin/env python3
if True:
a = " am i lexically scoped?"
print(a)
print("exiting")
exit(0)
@avindra
avindra / suse.log
Created August 7, 2017 23:51
vbam suse build pr 135
[ 0s] Using BUILD_ROOT=/var/cache/obs/worker/root_6/.mount
[ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386
[ 0s] Doing kvm build in /var/cache/obs/worker/root_6/root
[ 0s]
[ 0s]
[ 0s] lamb60 started "build vbam.spec" at Mon Aug 7 23:45:30 UTC 2017.
[ 0s]
[ 0s] Building vbam for project 'home:avindra' repository 'openSUSE_Tumbleweed' arch 'x86_64' srcmd5 '65f360f4ee3815247bf2507b1252fe3b'
[ 0s]
[ 0s] processing recipe /var/cache/obs/worker/root_6/.build-srcdir/vbam.spec ...

Keybase proof

I hereby claim:

  • I am avindra on github.
  • I am avindra (https://keybase.io/avindra) on keybase.
  • I have a public key ASCcoxgPMW3e2nhdBiuamrz-gmWd7iJhfUh5DYf908tcwQo

To claim this, I am signing this object: