Skip to content

Instantly share code, notes, and snippets.

@junkmechanic
junkmechanic / gitflow-breakdown.md
Created January 19, 2018 07:12 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

@junkmechanic
junkmechanic / sp
Last active August 29, 2015 14:12 — forked from wandernauta/sp
#!/bin/bash
#
# This is sp, the command-line Spotify controller. It talks to a running
# instance of the Spotify Linux client over dbus, providing an interface not
# unlike mpc.
#
# Put differently, it allows you to control Spotify without leaving the comfort
# of your command line, and without a custom client or Premium subscription.
#
#!/bin/bash
# Paste at Pastebin.com using command line (browsers are slow, right?)
# coder : Anil Dewani
# date : Novemeber 7, 2010
#help function
howto()
{
echo "\
Pastebin.com Bash Script \

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname