Skip to content

Instantly share code, notes, and snippets.

View matteosecli's full-sized avatar
💾

Matteo Seclì matteosecli

💾
View GitHub Profile
@matteosecli
matteosecli / svg2icns.sh
Created July 4, 2020 09:50 — forked from Canorus/svg2icns.sh
Convert SVG file to macOS icon (icns) format
#!/bin/sh -x
set -e
SIZES="
16,16x16
32,16x16@2x
32,32x32
64,32x32@2x
128,128x128
@matteosecli
matteosecli / 32.asm
Created December 31, 2020 14:41 — forked from FiloSottile/32.asm
NASM Hello World for x86 and x86_64 Intel Mac OS X (get yourself an updated nasm with brew)
; /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