This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Note: consider using bash with "set -euo pipefail" | |
| set -eu | |
| # Decide whether to install the SSH remote server (-ssh), | |
| # the web one (-web), or both (if no argument is given). | |
| INSTALL_SSH=1 | |
| INSTALL_WEB=1 | |
| if [ "$#" -gt 0 ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; /usr/local/bin/nasm -f macho 32.asm && ld -macosx_version_min 10.7.0 -o 32 32.o && ./32 | |
| global start | |
| section .text | |
| start: | |
| push dword msg.len | |
| push dword msg | |
| push dword 1 | |
| mov eax, 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh -x | |
| set -e | |
| SIZES=" | |
| 16,16x16 | |
| 32,16x16@2x | |
| 32,32x32 | |
| 64,32x32@2x | |
| 128,128x128 |