Skip to content

Instantly share code, notes, and snippets.

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

Quico Moya qmoya

🏠
Working from home
View GitHub Profile
import Foundation
import SnapshotTesting
import XCTest
/// Returns a valid snapshot directory under the project’s `ci_scripts`.
///
/// - Parameter file: A `StaticString` representing the current test’s filename.
/// - Returns: A directory for the snapshots.
/// - Note: It makes strong assumptions about the structure of the project; namely,
/// it expects the project to consist of a single package located at the root.
@qmoya
qmoya / .tmux.con
Created September 19, 2011 12:57
My tmux
# use vi keys
set -g status-keys vi
setw -g mode-keys vi
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# force a reload of the config file