Want to create a Gist from your editor, the command line, or the Services menu? Here's how.
This file contains hidden or 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
[alias] | |
ci = commit -a | |
cl = clean -dfx | |
cc = cherry-pick | |
ff = merge --ff-only | |
fx = commit -a --amend -C HEAD | |
ix = diff --cached | |
st = status -sb | |
fap = fetch --all --prune | |
hist = log --all --graph --color=always --pretty='[%C(cyan)%h%Creset]%C(bold cyan)%d%Creset %s' |
This file contains hidden or 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
#!/usr/bin/env python | |
# Written by @aknin | |
# https://gist.github.com/gists/2290744 | |
# This code has been placed in the public domain, no strings attached either way. | |
from __future__ import print_function | |
import platform | |
import os |
This file contains hidden or 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 | |
#Yes, there is no six | |
hosts=(pipe1 pipe2 pipe3 pipe4 pipe5 pipe7 pipe8 pipe9) | |
names=(pipe1 pipe2 pipe3 pipe4 pipe5 pipe7 pipe8 pipe9) | |
sessions=(1 2 3 4 5 7 8 9) | |
tmux new-session -d -s pipelines | |
i=0 |
NewerOlder