Skip to content

Instantly share code, notes, and snippets.

View epmartini's full-sized avatar

Patrick Martini epmartini

View GitHub Profile
#!/bin/bash
#
# This script set the heroku environment variables
#
# @author Patrick Martini <patrick.martini@emarsys.com>
# Exit immediately on error
set -e
# Detect whether output is piped or not.
@epmartini
epmartini / gist:2509266
Created April 27, 2012 13:35
Git Remotes of Branches order by date
for k in `git branch -a | grep remotes | sed s/^..//`;do echo -e `git log -1 --pretty=format:"%ci %cr" "$k"`\\t"$k";done|sort
<?xml version="1.0"?>
<condition name="foo" type="text/html">
<cases>
<case>
<whens>
<when value="25" propertyName="age" operator="contains"/>
<when value="24" propertyName="age" operator="contains"/>
</whens>
<content>
<data>Html Case1</data>