Skip to content

Instantly share code, notes, and snippets.

View asabaylus's full-sized avatar

Asa Baylus asabaylus

View GitHub Profile
@asabaylus
asabaylus / gitcheats.txt
Last active March 31, 2022 17:27 — forked from chrismccoy/gitcheats.txt
git cheats
# From the last release to the HEAD of master
# find all commits with a Jira key
$ git log <branch_A>..<branch_B> 2> /dev/null | grep -Eo "[A-Za-z]+-[0-9]+" | sort | uniq
# checkout the same branch across multiple repos
$ ls | xargs -P10 -I{} git -C {} checkout <branch_name>
# make an alias to run a git command across multiple repo, add to ~/.bashrc or ~/.zshrc
alias agit="ls | xargs -P10 -I{} git -C {}"
@asabaylus
asabaylus / gist:5831604
Last active December 18, 2015 19:18 — forked from jdorrance/gist:5826119
#GLOBAL
HTTPRESPONSE="json"
SUCCESS="success"
#TEST
#UIARTFCT="org.acs.cq-code-476"
#UILOC="/appl/bamboo-home/xml-data/build-dir/393217/CQ5-MASTER-JOB1/ui/target/"
#AUTHORHOST="cmsautdev.acs.org"
#AUTHORPORT="443"
#AUTHORPROTOCOL="https://"
@asabaylus
asabaylus / gist:5489088
Last active December 16, 2015 19:59 — forked from joannaho/gist:5454699
Updated URLs for Production
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>International Center Search</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<!-- Search Engine Verify for Home Page -->
<meta name="msvalidate.01" content="3D92C0EE929BE04567ECFDE4F390DC96" />
<meta name="google-site-verification" content="xL7RtAlI13QtadjUtrjw9-TnDxGRYmO6ysBvEd9_xwQ" />
<meta name="y_key" content="1940ff70ba0e0bee" />