As configured in my dotfiles.
start new:
tmux
start new with session name:
$ git branch -r --merged | | |
grep origin | | |
grep -v '>' | | |
grep -v master | | |
xargs -L1 | | |
awk '{split($0,a,"/"); print a[2]}' | | |
xargs git push origin --delete |
#!/bin/bash | |
# current Git branch | |
branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | |
# v1.0.0, v1.5.2, etc. | |
versionLabel=v$1 | |
# establish branch and tag name variables | |
devBranch=develop |
// ==UserScript== | |
// @name Use Markdown, sometimes, in your HTML. | |
// @author Paul Irish <http://paulirish.com/> | |
// @link http://git.io/data-markdown | |
// @match * | |
// ==/UserScript== | |
// If you're not using this as a userscript just delete from this line up. It's cool, homey. |
import java.util.List; | |
/* | |
* Test program to show how to remove warnings from generic array construction. | |
* First step: Remove any raw types, by adding <?> as needed. | |
* Second step: Add a cast if needed, to the specific non-wildcard type. | |
* Third step: Suppress "unchecked" warnings on the cast. | |
* The point of the first step is to remove the "rawtypes" warning | |
* cleanly, without resorting to an additional warning suppression. | |
* Note that every use of @SuppressWarnings should have a comment. |
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/bin/sh | |
#Requires Jira CLI, from https://marketplace.atlassian.com/download/plugins/org.swift.atlassian.cli/version/110 | |
JIRAUSER=[Username] | |
JIRAPASSWORD=****** | |
JIRASERVER=http://[Jira address] | |
DEVELOPMENT_HOME=[Git repo (local)] | |
JIRA_CLI_HOME=/c/Atlassian/jira-cli-3.0.0 | |
function callJira { | |
java -jar $JIRA_CLI_HOME/lib/jira-cli-3.0.0.jar --server $JIRASERVER --user $JIRAUSER --password $JIRAPASSWORD "$@" |
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout somewhen, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
#!/usr/bin/env zsh | |
# This script prints a bell character when a command finishes | |
# if it has been running for longer than $zbell_duration seconds. | |
# If there are programs that you know run long that you don't | |
# want to bell after, then add them to $zbell_ignore. | |
# | |
# This script uses only zsh builtins so its fast, there's no needless | |
# forking, and its only dependency is zsh and its standard modules | |
# |