mkdir MyProject
cd MyProject
mkdir src test
{ | |
"description": "Toggle Spotify play/pause", | |
"manipulators": [ | |
{ | |
"from": { "key_code": "f8" }, | |
"to": [{ "shell_command": "osascript -e 'tell application \"Spotify\" to playpause'" }], | |
"type": "basic" | |
} | |
] | |
} |
#!/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 |
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' |
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