Skip to content

Instantly share code, notes, and snippets.

View jjungnickel's full-sized avatar
🏠
Working from home

Jan Jungnickel jjungnickel

🏠
Working from home
View GitHub Profile
# Colorize ls
alias ls="ls --color -F"
# Kill M-Stream Port
function killmstream() {
for port in $*; do
sudo pkill -Umstream -f "mstreamserver -p ${port}";
done
}
local L = {
--Ex.
--["Weakened Soul"] = GetSpellInfo(6788),
["Viper Sting"] = GetSpellInfo(3034),
["Wound Poison"] = GetSpellInfo(57978),
["Mortal Strike"] = GetSpellInfo(47486),
["Aimed Shot"] = GetSpellInfo(49050),
Integer userId = transportConfiguration.getInteger("userId");
String responseText = transportConfiguration.getString("responseText");
SmsMessage originalMessage = job.getSmsMessage();
SmsMessage autoResponse = originalMessage.reply();
autoResponse.setUserId(userId);
autoResponse.setMessage(responseText);
jmsTemplate.send("input", new StandardSmsMessageCreator(autoResponse, new TransportProperties()));
/*
* Copyright (c) 2004 - 2010 carmunity.com GmbH
*
* Verbreitung und Verwendung nur mit ausdrücklicher Genehmigung des Urhebers. In
* Einzelfällen abweichende Urheber sind vermerkt.
*/
package de.carmunity.quickpage.callbacks.mira;
import org.apache.commons.logging.Log;
#/bin/bash
DOMAIN=$1
TEMPFILE=`mktemp -t xfer-domain.XXXXXXXXXX`
function usage {
echo "Usage: $0 <domain>";
exit 1;
}
--
-- PostgreSQL database dump
--
SET client_encoding = 'UTF8';
SET standard_conforming_strings = off;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET escape_string_warning = off;
#!/bin/bash
if [ -z "$1" ]; then
echo "Usage: $0 <username>";
exit 1;
fi
rsync -avz --delete quimby.displayboy.com:/home/${1}/.maildir /home/CARMUNITY/${1}/
chown -R ${1}:domänen-benutzer /home/CARMUNITY/${1}
atries
askowronek
bbock
ckreul
dheyse
gkasmin
hwoitke
hbehrens
jzahn
jjungnickel
if [ -d /usr/local/ruby/bin ]; then
PATH="${PATH}:/usr/local/ruby/bin"
fi
if [ -d /usr/local/ruby/lib/ ]; then
export RUBYLIB="${RUBYLIB}:/usr/local/ruby/lib/"
fi
if [ -d /var/local/lib/gems ]; then
export GEM_HOME=/var/local/lib/gems
# You'll need to configure this file for the appropriate environment before
# you run PowerDNS on Rails.
# PostgreSQL development
development:
adapter: postgresql
database: powerdns
host: localhost
# username:
# password: