Skip to content

Instantly share code, notes, and snippets.

@imaami
Created April 30, 2024 10:21
Show Gist options
  • Save imaami/0ef5c555375ef2a2642654ea62196f4b to your computer and use it in GitHub Desktop.
Save imaami/0ef5c555375ef2a2642654ea62196f4b to your computer and use it in GitHub Desktop.
stringy_prime thing
#!/usr/bin/env bash
{ base64 -d | tar xJf - && make >/dev/null && ./stringy_prime "$@"; } << EOF
/Td6WFoAAATm1rRGAgAhAQwAAACPmEGc4Hf/E3hdACaYSWZp2dmN5MBFtReU64IZsyM5tnRakSFu
UPbdIR/QuF5EFRUUhH/5HwelTiMRTMQTMB8haLGg9CMnIdukTtlgXKTJM/Kd0AxEruxtr46KoLCE
5wH2u0auKErz8PuO5Sohr/jU5hsMknDSkidKBpsGJPDBc0JRlAJaJ1w2Yvn75B8bpsgQvr+vPFR4
98UB7klgs9DC4xH4PakHpWzf7Oj8YqPgZDnqj+mqcWPQ6dhdjsbkbQw+SUZRRN5EpBKyVa2q4QJs
4o9u+lIkKVTDrFwnLqgMoHogm/VKoolkGLBFD1gyNxNdxMU6M1PX8Ja6m/JVu/xhQFMAuKWAe1p7
79K1RWjGJLTnJCXLHvxxn33La80M6RAPZf0hPo93iTz8Lhu5NsP0bfe1QgX3WqXB70f5TMt8nZSN
UYmb+8HtRCjMv/xBowOuxcYHY2oeUuHb2+lavETFfeqc/7wuFwMBUwhrkCf++AC0k6oBgbcte5X4
Th79/TqLq+NYm/7sEobxti/sqRvtI6onS3CyiJeBdFUDEBJ22zkZ/B65PagiVkkgCnbXeal21NWb
PWd/BilNrSTCZRXZgVqHAHIXpRra/z5NvJ6z8+LbjVl5NFqGva+fdGW8Acdg1LZhGmYDXnQBALuF
spdNp7OifHCYYddBMeM4JlJnbXK7HrzfAwLvWGIWeU037YDYjkePHsOXzsChCgs1u/OoxO2Zj6G1
k8cQTREMUKY9SLsScnIJPaTbvtEacYPmV8BD26uLbYiVVIN/OZZCblB7guM89laaY1adqFo7XxGx
Mf5P+z3s8yuXmjocno41LiwCh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CSlBy3uMh6o3EyP1RUoNoIBtgTYdwNLPP9F4qd3VVX78md
lrsfyvBbgcIys8VA8iaqbfB7Dxm7la24mizWZSujncIcavZpCDWSio950XXv8ukbPE/M3otwwb2G
0sTy1qioBbeKJPaZRsn49LuhJ8DkJYvmaNN1wLQKW2WZq0qLA+rsyftVWf7aSeS3z59ruarNXB/T
9KP/R9BLrFKq3nsDs6qObpN94/6crOePD0rKvx5jhhLPtnOFQXcEZvJgZ04vBuhTF5vwwcMSL1Jn
s0L9HFH96j/MWDUB1l5OLkB99NSJBd7JmFwR42Bb664USPwzW8UOoZZxTsU36mA6IHKk9A0m70ie
OV/4JONXVm/qquwES5St5HSm2ECrmloM3Gv3c5jnuZ6ypJXgdqTA4t4vT2we+MYGXPVOWkwEc2qi
sEhNYNKaU1sQ1IZ4F1xZvQfySlAnDgePK3Q1RqA/55dCDeiCot5JgyXmghSUn3UPATGhyoT7XD8A
QEAoswRaxqYAAZQngPABADaHxXexxGf7AgAAAAAEWVo=
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment