dennydai
Re:docker2exe: Convert a Docker image to an executable
on Wednesday May 07, 2025 @01:51AM (#43912627)
Just use shebang
https://news.ycombinator.com/item?id=38987109
#!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')"
Re:Patcherex2 – Binary Patching tool for various architectures
on Tuesday April 16, 2024 @01:10AM (#40048560)
Thanks for your interest! The key difference is that Patcherex2 was designed from the ground up to be a highly modular binary patching framework. This makes it much easier to add support for new architectures and maintain compared to the original Patcherex, as many components can be shared across different targets, and patch implementations are mostly target-agnostic.
For more details, please check out our latest documentation: https://purseclab.github.io/Patcherex2 https://purseclab.github.io/Patcherex2/core_ideas/patches/ https://purseclab.github.io/Patcherex2/advanced_usages/add_n...
Re:Ask HN: Small scripts, hacks and automations you're proud of?
on Sunday March 12, 2023 @01:53PM (#35123549)
IDA doesn't have a real headless mode. Instead, you can only run scripts within the TUI and hide the TUI interface, which makes output or errors not visible. So, I made this yesterday just to run IDA headlessly. I guess that still counts as a "small script" since it's roughly 50 lines of code.