Skip to content

Instantly share code, notes, and snippets.

View deliseev's full-sized avatar
🏠
Working from home

Denis Eliseev deliseev

🏠
Working from home
View GitHub Profile
@sindresorhus
sindresorhus / compile-objc.sh
Last active November 25, 2023 21:13
Compile Objective-C on the command-line with clang
# -fobjc-arc: enables ARC
# -fmodules: enables modules so you can import with `@import AppKit;`
# -mmacosx-version-min=10.6: support older OS X versions, this might increase the binary size
clang main.m -fobjc-arc -fmodules -mmacosx-version-min=10.6 -o main
@elmotec
elmotec / bootstrap_cmdline.py
Last active December 1, 2021 17:14
Minimal python program with logging and argparse.
#!python
"""See main.__doc__"""
import os
import logging
import glob
import unittest
import sys