Skip to content

Instantly share code, notes, and snippets.

View zyklotomic's full-sized avatar

Ethan Kiang zyklotomic

View GitHub Profile
@zyklotomic
zyklotomic / Test.hs
Created April 1, 2021 17:45
ghc-debug socket failure, while trying to make a snapshot
main = withDebuggeeConnect "/tmp/ghc-debug" $ mainToDebug
--
--main = snapshotRun "/tmp/ghc-debug-cache" p37
mainToDebug :: Debuggee -> IO ()
mainToDebug d = do
n <- read . head <$> getArgs
-- Allocate lots of BS
@zyklotomic
zyklotomic / gentoo_simulator.sh
Created December 4, 2019 04:52
Gentoo Simulator
echo "CFLAGS=\"-Oinfinity -superduperfast -march=ayyyyyyymd64\""
echo "Installing Gentoo......"
sleep 2
cat /dev/urandom