Skip to content

Instantly share code, notes, and snippets.

View boricj's full-sized avatar

Jean-Baptiste Boric boricj

View GitHub Profile
@boricj
boricj / git-proxy-cache.sh
Created May 24, 2024 21:58
git-proxy-cache
#!/bin/bash
set -e
#
# Git read-only remote cache for SSH.
#
# This script is to be used as a shell for a dedicated Git user. Each time a
# clone/pull is attempted on the cache, it will either:
# * fetch everything from the remote if it has already been cloned, or
# * attempt to clone the remote.
@boricj
boricj / ImportPSX_SYM.java
Last active March 27, 2024 22:19
Ghidra script for importing a Psy-Q SYM file
//Imports a Psy-Q SYM file into the current program.
//@author Jean-Baptiste Boric
//@category Import
//@keybinding
//@menupath
//@toolbar
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;