Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash -ex
# These instructions are mostly adapted from here:
# http://openwall.info/wiki/john/tutorials/Ubuntu-build-howto
#
# With some additional build steps from here:
# https://github.com/magnumripper/JohnTheRipper/wiki/Fallback-binary-chains
# Required stuff
sudo apt-get install build-essential libssl-dev
@sprout42
sprout42 / gnuradio_install.sh
Last active April 2, 2025 00:29
Installing gnuradio w/ companion on MacOS
# This compiles and installs gnuradio including gnuradio-companion for MacOS.
# It uses homebrew (https://brew.sh/) for all non-python libraries and pyenv
# (https://github.com/pyenv/pyenv) for managing python. I'm sure some of this
# would be easier if I used homebrew for python as well but I've found pyenv
# and standard pip to be less buggy in general. However it does mean that for
# python packages that don't install with pip you need to download and compile
# the packages.
#
# Note that this script is not very robust yet, it's not made to run more than
# once (sorry). ~If~ When you find bugs please let me know and we'll update
@sprout42
sprout42 / gist:16d3a2966a949b96368eaeeb9df620ce
Created May 21, 2016 04:10
Rust running as a Xen Mini-OS guest
xen-test@xen-test:/usr/src/xen/stubdom/rust$ sudo xl create -c ./rust-dom.cfg
Parsing config from ./rust-dom.cfg
Xen Minimal OS!
start_info: 0xfa000(VA)
nr_pages: 0x2000
shared_inf: 0x7fcd7000(MA)
pt_base: 0xfd000(VA)
nr_pt_frames: 0x5
mfn_list: 0xea000(VA)
mod_start: 0x0(VA)