Skip to content

Instantly share code, notes, and snippets.

@pixelomer
pixelomer / brainfuck_interpreter.c
Last active August 17, 2019 13:11
Really slow brainfuck interpreter with a cool UI
/*-------------------------------------------------*
| The project has been moved to a new repository: |
| https://github.com/pixelomer/VisualBrainfuck |
*-------------------------------------------------*/
@pixelomer
pixelomer / mkjail.sh
Last active March 13, 2025 09:33
Create a macOS chroot jail with GNU bash and utilities
#!/usr/bin/env sh
#############################################
# WARNING #
# No more commits are going to be made to #
# this gist. Please get the latest script #
# from the new repository: #
# https://github.com/pixelomer/macos-mkjail #
#############################################
@pixelomer
pixelomer / appgen
Last active September 4, 2021 16:23
Simple script to create macOS application bundles
#!/usr/bin/env bash
if [[ $1 == "--help" ]] || [[ $1 == "-h" ]]; then
echo "Usage: appgen [--help]"
echo ""
echo "AppGen is a tool for creating macOS Application bundles from the terminal. This is an interactive script and doesn't require any arguments to be passed."
echo ""
echo "+ Application Name: Name of the application. Cannot contain special characters, such as \\, \" and *"
echo "+ Bundle Identifier: The identifier of the application. Usually in the form of \"com.website.appname\" without quotes where com.website is a reversed domain name."
echo "+ Script To Execute: This is a shell script or binary and will be ran when you start your application."