This is either the heading or the title when interpreted by GitHub Gist. I don’t recall which. Donec sed odio operae, eu vulputate felis rhoncus. Nihilne te nocturnum praesidium Palati, nihil urbis vigiliae. Quae vero auctorem tractata ab fiducia dicuntur. Quisque placerat facilisis egestas cillum dolore. Paullum deliquit, ponderibus modulisque suis ratio utitur. Plura mihi bona sunt,
This file contains 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
#import <Foundation/Foundation.h> | |
#define BEGIN_AUTORELEASEPOOL @autoreleasepool { | |
#define END_AUTORELEASEPOOL } | |
int main(int argc, const char **arg) | |
{ | |
BEGIN_AUTORELEASEPOOL | |
NSError *err; |
This file contains 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 | |
#SRC=${1} | |
#DST=${2} | |
SRC="/usr/local/opt/emacs-mac/Emacs.app" | |
DST="/Applications" | |
osascript <<EOF | |
tell app "Finder" |
This file contains 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
function mono(str) { | |
const ASCII_A = 'A'.codePointAt(0) | |
const ASCII_Z = 'Z'.codePointAt(0) | |
const ASCII_a = 'a'.codePointAt(0) | |
const ASCII_z = 'z'.codePointAt(0) | |
const ASCII_0 = '0'.codePointAt(0) | |
const ASCII_9 = '9'.codePointAt(0) | |
const MONO_Alpha_offset = '𝙰'.codePointAt(0) - ASCII_A | |
const MONO_alpha_offset = '𝚊'.codePointAt(0) - ASCII_a | |
const MONO_num_offset = '𝟶'.codePointAt(0) - ASCII_0 |
This file contains 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
console.log('%cYo!', 'font-family: cursive; font-size: 3em; color: indigo') |
This file contains 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/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
==> Checking for `sudo` access (which may request your password). | |
Password: | |
==> This script will install: | |
/usr/local/bin/brew | |
/usr/local/share/doc/homebrew | |
/usr/local/share/man/man1/brew.1 | |
/usr/local/share/zsh/site-functions/_brew | |
/usr/local/etc/bash_completion.d/brew | |
/usr/local/Homebrew |
This file contains 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/bash | |
# tputcolors | |
# http://linuxtidbits.wordpress.com/2008/08/11/output-color-on-bash-scripts/ | |
echo | |
echo -e "$(tput bold) reg bld und tput-command-colors$(tput sgr0)" | |
for i in $(seq 0 7); do | |
echo " $(tput setaf $i)Text$(tput sgr0) $(tput bold)$(tput setaf $i)Text$(tput sgr0) $(tput sgr 0 1)$(tput setaf $i)Text$(tput sgr0) \$(tput setaf $i)" | |
done |
This file contains 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
# -*- mode: conf; tab-width: 4; -*- | |
## Passwords | |
# When using iCloud it is best to create an app-specific password | |
# | |
# https://support.apple.com/en-us/HT204397 | |
# | |
# Store application specific passwords on macOS with |
This file contains 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
SUBDIRS += dispatch | |
SUBDIRS += os | |
SUBDIRS += private | |
SUBDIRS += src | |
SDK_ROOT=/Applications/Xcode9.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk | |
libpthread_path=$(abspath ../libpthread-301.50.1) | |
libplatform_path=$(abspath ../libplatform-161.50.1) | |
xnu_path=$(abspath ../xnu-4570.71.2) |