Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1b
- Decimal:
27
## Where to find info and how to report on system extensions in macOS Catalina+ | |
# Staged system extensions location in folder based on unique ID | |
/Library/SystemExtensions/ | |
# Info on each | |
/Library/SystemExtensions/db.plist | |
Includes... | |
- state (enabled, activated, etc.) | |
- associated launchd plists |
ARCH ?= arm64 | |
VERSION ?= 20.10 | |
SPIN ?= live-server | |
vftool ?= ./vftool/build/vftool | |
DATA ?= ./data | |
ISO := ubuntu-$(VERSION)-$(SPIN)-$(ARCH).iso | |
MOUNTPOINT := /Volumes/Ubuntu | |
CD := $(DATA)/$(ISO) |
#!/bin/sh | |
parse_yaml() { | |
local prefix=$2 | |
local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034') | |
sed -ne "s|^\($s\)\($w\)$s:$s\"\(.*\)\"$s\$|\1$fs\2$fs\3|p" \ | |
-e "s|^\($s\)\($w\)$s:$s\(.*\)$s\$|\1$fs\2$fs\3|p" $1 | | |
awk -F$fs '{ | |
indent = length($1)/2; | |
vname[indent] = $2; | |
for (i in vname) {if (i > indent) {delete vname[i]}} |
#!/usr/bin/env bash | |
# 参考サイト: http://tukaikta.blog135.fc2.com/blog-entry-224.html | |
# ================各種設定================ | |
# ダウンロードするファイル (GNU 日本語man) | |
# | |
# http://linuxjm.sourceforge.jp/ からダウンロードするファイルを指定します。 | |
#export GNUJMAN=man-pages-ja-20120915.tar.gz | |
#export GNUJMAN=man-pages-ja-20150315.tar.gz |
# not an exhaustive list | |
nsurlsessiond "icloud sync" | |
fseventsd "macos file system events" | |
WindowServer "macos windows" | |
DisplayLinkManager "macos driver" | |
configd "macos dynamic configuration" | |
displaypolicyd "macos process" | |
CommCenter "macos keychain" | |
kernel_task "macos kernel" |
#include <iostream> | |
#include <cstdint> | |
using namespace std; | |
// we are going to generate random numbers using | |
// an xorshift generator | |
static uint32_t xorshift_y; |
#! /bin/bash | |
# | |
# build-xnu-6153.11.26.sh | |
# Scott Knight | |
# | |
# Based on the script by Brandon Azad | |
# https://gist.github.com/bazad/654959120a423b226dc564073b435453 | |
# | |
# A script showing how to build XNU version 6153.11.26 on macOS Catalina | |
# 10.15 with Xcode 11.13.1. |
// | |
// main.m | |
// EndpointSecurityDemo | |
// | |
// Created by Omar Ikram on 17/06/2019 - Catalina 10.15 Beta 1 (19A471t) | |
// Updated by Omar Ikram on 15/08/2019 - Catalina 10.15 Beta 5 (19A526h) | |
// Updated by Omar Ikram on 01/12/2019 - Catalina 10.15 (19A583) | |
// | |
#import <Foundation/Foundation.h> |