Skip to content

Instantly share code, notes, and snippets.

View dotnet-starter-project.md

How to create a scaffold for .NET project

Create the folders

mkdir MyProject

cd MyProject

mkdir src test

View dropwizard-gradle
#!/bin/sh
# /etc/init.d/dropwizard-gradle
#
# Some things that run always
touch /var/lock/dropwizard-gradle
user="andric87"
DROPWIZARD_DIR=/home/andric87/dropwizard-gradle
@andrericardo
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`" https://www.mastercard.com/psder/eu/callPsder.do | sed -n 's/.*<CURRENCY_NAME>Euro<\/CURRENCY_NAME><CONVERSION_RATE>\([^<]*\)<\/CONVERSION_RATE>.*/\1/p'
@andrericardo
andrericardo / jenkins_with_rvm.md
Created Jun 13, 2012
Setup Jenkins with RVM on Centos 5.6
View jenkins_with_rvm.md

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