Skip to content

Instantly share code, notes, and snippets.

View MattesGroeger's full-sized avatar

Mattes Groeger MattesGroeger

View GitHub Profile
@mnem
mnem / install_all_the_things.sh
Last active September 7, 2016 21:03
Things to install on a fresh Mac: bash <(curl -fsSL https://gist.github.com/mnem/6560977/raw/install_all_the_things.sh)
#!/usr/bin/env bash
function execute_after_confirm {
read -p "$1 ($2) ? [y/n] " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
shift
for var in "$@"
do
@johanneswuerbach
johanneswuerbach / .travis.yml
Last active April 14, 2023 20:31
Deploy an iOS app to testflight using Travis CI
---
language: objective-c
before_script:
- ./scripts/travis/add-key.sh
after_script:
- ./scripts/travis/remove-key.sh
after_success:
- ./scripts/travis/testflight.sh
env:
global:
@andreyvit
andreyvit / tmux.md
Created June 13, 2012 03:41
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

@MattesGroeger
MattesGroeger / switch_branch.sh
Created May 16, 2011 20:31
Run this script to switch branches for multiple projects at the same time. Execute script with terminal command "sh switch_branch.sh".
#! /bin/sh
# path to local branch workspace
branch="/Users/user/Documents/workspaces/workspace_project_branch"
# path to remote branch
remotebranch="https://svnhoster/project/branches"
# modules
MODULE[0]="client_core"