Skip to content

Instantly share code, notes, and snippets.


How to create a scaffold for .NET project

Create the folders

mkdir MyProject

cd MyProject

mkdir src test

View dropwizard-gradle
# /etc/init.d/dropwizard-gradle
# Some things that run always
touch /var/lock/dropwizard-gradle
andrericardo / gist:4985092
Created Feb 19, 2013
Get Mastercard currency GBP to EUR yesterday rate in Mac OSX
View gist:4985092
curl -silent -d "baseCurrency=GBP&service=getExchngRateDetails&settlementDate=`date -j -v-1d +%m/%d/%Y`" | sed -n 's/.*<CURRENCY_NAME>Euro<\/CURRENCY_NAME><CONVERSION_RATE>\([^<]*\)<\/CONVERSION_RATE>.*/\1/p'
andrericardo /
Created Jun 13, 2012
Setup Jenkins with RVM on Centos 5.6

Make sure server is updated

yum update

Install prerequisites

yum install gcc automake autoconf libtool make patch java httpd ruby ruby-devel readline-devel zlib-devel

Add jenkins repo and install