Skip to content

Instantly share code, notes, and snippets.

View nerd's full-sized avatar
💜
your thin paper wings

eris nerd

💜
your thin paper wings
  • USA
View GitHub Profile
@polaris-xoxo
polaris-xoxo / PS2 Modchip HDD Formatter.sh
Created May 18, 2025 10:19
PS2 Modchip HDD Formatter
#!/bin/bash
clear
C_RED_BLD='\033[1;31m' C_YLW_BLD='\033[1;93m' C_GRN_BLD='\033[1;32m' C_BLU_BLD='\033[1;94m' C_CYN_BLD='\033[1;36m' C_WHT_BLD='\033[1;37m' C_GRY_BLD='\033[1;30m'
C_RED='\033[0;91m' C_YLW='\033[0;93m' C_GRN='\033[0;92m' C_BLU='\033[0;94m' C_CYN='\033[0;36m' C_WHT='\033[0;37m' C_GRY='\033[0;30m'
C_BLANK='\033[0m' C_FLASH='\033[1;5m'
TOOLKIT_PATH="${HOME}/ps2"
function function_apa_checksum_fix() {

Using gpg (using homebrew on MacOS) with mailmate

MailMate looks into the default path from MacGPG to find gpg binary. The path is indeed different if you have gpg installed using homebrew or any other method. It is not possible to chnage the default path through user interface, but it is possible through hidden settings.

defaults write com.freron.MailMate environmentVariables -array '{ enabled = :true;  name = "MM_GPG"; value = "/opt/homebrew/bin/gpg"; }'
@Bigcheese
Bigcheese / README.md
Last active June 9, 2022 03:41
/r/MyLittlePony /r/place minimap script!

Help /r/MyLittlePony get a pony on /r/place!

example of the /r/mylittlepony overlay

Instructions

  • Use a Chromium based browser (Google Chrome, Edge, Opera, Yandex.Browser)
  • Android folks can use Kiwi Browser + Tampermonkey.
@bristermitten
bristermitten / RecordTypeAdapterFactory.java
Created July 24, 2021 15:47
Gson support for java 16 records
package me.bristermitten.warzone.config.loading;
import com.google.gson.Gson;
import com.google.gson.TypeAdapter;
import com.google.gson.TypeAdapterFactory;
import com.google.gson.annotations.SerializedName;
import com.google.gson.reflect.TypeToken;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import com.google.gson.stream.JsonWriter;