Skip to content

Instantly share code, notes, and snippets.

View Jomy10's full-sized avatar

Jonas Everaert Jomy10

View GitHub Profile
@fnky
fnky / ANSI.md
Last active May 12, 2025 15:19
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@colejhudson
colejhudson / Makefile
Last active November 9, 2024 00:03
A base Makefile for compiling swift targeted for iOS without using XCode
# Adapted from http://vojtastavik.com/2018/10/15/building-ios-app-without-xcode/
SYS_BASE := /usr/local
SYS_LIB := $(SYS_BASE)/lib
SYS_INCLUDE := $(SYS_BASE)/include
ORGANIZATION := # Organization Name
NAME := # App Name
BUNDLE := $(NAME).app
@mtimbs
mtimbs / tsconfig.json
Last active April 25, 2025 03:07
basic default tsconfig for use in TypeScript projects
{
"compilerOptions": {
// project options
"lib": [
"ESNext",
"dom"
], // specifies which default set of type definitions to use ("DOM", "ES6", etc)
"outDir": "lib", // .js (as well as .d.ts, .js.map, etc.) files will be emitted into this directory.,
"removeComments": true, // Strips all comments from TypeScript files when converting into JavaScript- you rarely read compiled code so this saves space
"target": "ES6", // Target environment. Most modern browsers support ES6, but you may want to set it to newer or older. (defaults to ES3)
@eddieh
eddieh / chroot-env-on-mac.org
Created July 28, 2021 19:43
chroot Environments on macOS (draft)

chroot Environments on macOS

This is a draft.

macOS doesn’t have many of the advanced Linux or UNIX features that have come about in the past 20 years. So getting a proper chroot environment up and running takes a little more work.

@c0m4r
c0m4r / freebsd_hetzner_cloud_vps.md
Last active April 27, 2025 19:03
FreeBSD installation on Hetzner Cloud VPS