Skip to content

Instantly share code, notes, and snippets.

@NeutralKaon
NeutralKaon / CreateGhidraApp.sh
Last active September 2, 2021 23:49 — forked from saagarjha/CreateGhidraApp.sh
Creates a Ghidra.app bundle for macOS
#!/bin/sh
set -eu
create_iconset() {
mkdir -p Ghidra.iconset
cat << EOF > Ghidra.iconset/Contents.json
{
"images":
[
#Helper function to plot a simple linear regression line over a facet_wrap grid with ggplot2
stat_smooth_func <- function(mapping = NULL, data = NULL,
geom = "smooth", position = "identity",
...,
method = "auto",
formula = y ~ x,
se = TRUE,
n = 80,
span = 0.75,
fullrange = FALSE,