Skip to content

Instantly share code, notes, and snippets.

View kvpb's full-sized avatar
🍀

Karl kvpb

🍀
  • Paris, France
  • 05:17 (UTC +02:00)
View GitHub Profile
@Lusamine
Lusamine / Research Catalog.md
Last active May 5, 2024 19:36
List of research so you don't have to look through my Twitter.

Posts are generally in reverse chronological order (newest listed first).
Most listings are mine; others I've worked with or retweeted are noted.

Last updated May 5, 2024.

Scarlet/Violet

Important Tables

@moyix
moyix / killbutmakeitlooklikeanaccident.sh
Created February 5, 2022 22:51
Script to inject an exit(0) syscall into a running process. NB: only x86_64 for now!
#!/bin/bash
gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont'
@rlaphoenix
rlaphoenix / bdsp-glitch.md
Last active April 14, 2024 19:27
Pokémon Brilliant Diamond & Shining Pearl Glitching

Pokémon Brilliant Diamond & Shining Pearl Glitching

Note: This document is fairly out of date. While a lot of the information within it is valid, the strategies to various tricks in here has since been improved or trumped by another strategy.

I might not be updating this document in this future, so if anyone wants to fork this git to continue it, feel free. In the meantime check out BLAINES YouTube as he has covered glitches found since I stopped documenting them.

Do note that I do not agree with BLAINES strategy of obtaining information on some of those glitches

@Dids
Dids / IPA_Install_Apple_Silicon.md
Last active March 25, 2024 20:39
Installing IPAs on the M1

Installing IPAs on Apple Silicon (M1)

  1. Open Apple Configurator 2 and plug in your iPhone or iPad
  2. Click Add, login to the App Store and select the application you want to install
  3. Open up ~/Library/Group\ Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Assets and wait until the TemporaryItems directory appears
  4. Copy the application from the newly created temporary directory, but do note that it will disappear once Apple Configurator is done installing
  5. Double click the .ipa on your Apple Silicon (M1) device and install it
  6. Fix permissions on the installed application by running sudo xattr -rd com.apple.quarantine /Applications/<your_app>.app (if you skip this step, you're unable to start the application)

Note that it's easier if you already have the application installed, as Apple Configurator will prompt you about overwriting the existing installation, at which point the temporary file (the .ipa) will still exist, until you choose an action in the prompt.

@victornpb
victornpb / deleteDiscordMessages.js
Last active April 16, 2024 09:32
Delete all your messages from DM or Channel in Discord
/*
This file is now hosted here:
https://github.com/victornpb/undiscord
*/
@marwein
marwein / GVLKs for KMS.txt
Created January 7, 2019 09:33 — forked from CHEF-KOCH/GVLKs for KMS.txt
Microsoft Office 2019 Build 10730.20102 RTM
Source:
https://docs.microsoft.com/en-us/DeployOffice/vlactivation/gvlks
GVLKs for Office 2019
=====================
Office Professional Plus 2019
NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
Office Standard 2019
@marwein
marwein / Microsoft Office 2019 RTM GVLK Keys
Created January 7, 2019 09:30
Microsoft Office 2019 RTM default #GVLK (Generic Volume License Key)
GVLKs for KMS and Active Directory-based activation of Office 2019 and Office 2016
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
By default, volume licensed versions of Office 2019 and Office 2016 are installed with a Generic Volume License Key (GVLK).
The GVLK enables Office to automatically discover and activate against your KMS host computer or Active Directory infrastructure.
Important
These license keys can't be used to activate your personal copy of Office.
@fnky
fnky / ANSI.md
Last active May 9, 2024 02:21
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@scriptingosx
scriptingosx / userpictures.sh
Created October 23, 2018 07:24
sample script that loops through all users and sets a different user picture.
#!/bin/bash
# create an array from all images in the User Pictures subfolders
IFS=$'\n' read -rd '' -a pictures <<< "$(find '/Library/User Pictures/Fun' -name *.tif -print )"
# loop through all users
picIndex=0