Skip to content

Instantly share code, notes, and snippets.

nteissler / Patterns.swift
Last active Aug 24, 2018
Pro Pattern Matching
View Patterns.swift
import UIKit
// Swift 4.2 Xcode 10
//: ## Optional Patterns
func aLegacyObjcFunction() -> String! {
return "I wasn't annotated with modern objc conventions!"
func myFunction() -> String {
nteissler /
Created Feb 8, 2021 — forked from andreyvit/
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a