Skip to content

Instantly share code, notes, and snippets.

Avatar

Ethan Kiang zyklotomic

  • Georgia Institute of Technology
  • Hong Kong
View GitHub Profile
@zyklotomic
zyklotomic / Test.hs
Created April 1, 2021 17:45
ghc-debug socket failure, while trying to make a snapshot
View Test.hs
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
View gentoo_simulator.sh
echo "CFLAGS=\"-Oinfinity -superduperfast -march=ayyyyyyymd64\""
echo "Installing Gentoo......"
sleep 2
cat /dev/urandom