Skip to content

Instantly share code, notes, and snippets.

View mlocher's full-sized avatar

Marko Locher mlocher

View GitHub Profile
@mlocher
mlocher / gist:4013733
Created November 4, 2012 20:54
Protokoll Große Runde 2012.10
Protokoll große Runde Okt. 2012
Anwesend: Dani, Julia L, Thomas H., Helmut, Schiffi, Ulrich L, Marko, Flo, Fritzi, Charly, Reini, Erich, Lu
Beginn: 1325
- Rückblick:
-- Schulfest:
Ablauf war gut, gutes Template für nächstes Schulfest
@mlocher
mlocher / map.geojson
Created August 12, 2013 16:37
via:geojson.io
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mlocher
mlocher / AirPi.json
Last active August 29, 2015 13:56
Kibana configuration for plotting data from an AirPi
{
"title": "AirPi",
"services": {
"query": {
"list": {
"0": {
"query": "*",
"alias": "",
"color": "#7EB26D",
"id": 0,
@mlocher
mlocher / install_play
Created March 31, 2014 08:10
Installing PlayFramework on the Codeship
#!/bin/sh
PLAY_VERSION="2.2.2"
curl -o play-${PLAY_VERSION}.zip http://downloads.typesafe.com/play/${PLAY_VERSION}/play-${PLAY_VERSION}.zip
unzip play-${PLAY_VERSION}.zip
export PATH=$PATH:~/play-${PLAY_VERSION}
play --version
@mlocher
mlocher / install_elasticsearch.sh
Last active August 29, 2015 14:01 — forked from flomotlik/elasticinstall.sh
Install any ElasticSearch version on Codeship
#!/bin/bash
echo "Please see an updated version of this script available at "
echo "https://github.com/codeship/scripts/blob/master/packages/elasticsearch.sh"
VERSION="1.1.1"
PORT="9333"
PWD=`pwd`
mkdir -p ~/elasticsearch/
@mlocher
mlocher / ensure_called
Created May 22, 2014 09:21
Ensure a second ant task is called, independent of the result of the first
#!/bin/bash
ant All
return_value=$?
# Call sendmail task to ensure sending logs
ant sendmail
echo "Call to ant ALL was ${return_value}"
exit $return_value
@mlocher
mlocher / notify_rollbar
Last active August 29, 2015 14:01
notify_rollbar
#!/bin/bash
curl https://api.rollbar.com/api/1/deploy/ -F access_token=$ROLLBAR_ACCESS_TOKEN -F revision=$COMMIT_ID -F environment=production -F local_username=$CI_COMMITTER_USERNAME
@mlocher
mlocher / install_java8
Last active August 29, 2015 14:02
install_java8
#!/bin/bash
# Codeship now integrates a JDK switcher, see
# https://codeship.io/documentation/languages/java-and-jvm-based-languages/#jdks
# for more information!
JAVA="jdk-8u20-linux-x64"
JAVA_URL="http://download.oracle.com/otn-pub/java/jdk/8u20-b26/$JAVA.tar.gz"
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" $JAVA_URL
@mlocher
mlocher / setup_meteor
Created June 4, 2014 11:46
setup_meteor
#!/bin/bash
curl https://install.meteor.com > ./install_meteor
sed -i'' -e 's/PREFIX=.*/PREFIX="$HOME"/g' ./install_meteor
chmod u+x ./install_meteor
./install_meteor

Keybase proof

I hereby claim:

  • I am mlocher on github.
  • I am mlocher (https://keybase.io/mlocher) on keybase.
  • I have a public key whose fingerprint is 0503 3F0E 4B0C 91CD D42E 711F 153F 0151 EA2A 276C

To claim this, I am signing this object: