Skip to content

Instantly share code, notes, and snippets.

andrericardo /
Last active April 19, 2023 19:27
cheatsheet dotnet command line commands to quickly setup new projects and solution

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 February 19, 2013 11:39
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 June 13, 2012 11:11
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