View t3_export.gip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VERSION> | |
<TOURNAMENT NAME> | |
<TOURNAMENT ID> | |
<NUMBER OF PLAYERS> | |
<USER ID>||<FIRSTNAME>||<LASTNAME>||<NICKNAME>||<FACTION>||<CITY>||<TEAM NAME>||<ARMYLIST STATE>||<ARMYLIST RATING>||<PAID>||<NTR RANKING>||x |
View datetimepicker.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (scope.is('body') && locale != 'en') { | |
$.fn.datetimepicker.defaults.locale = locale; | |
} | |
/* Bind datetimepicker */ | |
var currentLocaleData = moment.localeData(); | |
$('.picker-datetime', scope).datetimepicker({ | |
format: currentLocaleData.longDateFormat('L') + ' ' + currentLocaleData.longDateFormat('LT'), | |
stepping: 5 | |
}); |
View install-apc-munin-plugin.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# | |
# Install Munin plugin for PHP APC (Alternative PHP Cache) | |
# | |
# Required : Debian/Ubuntu, Munin-node > 1.4.0, Apc, Apache, some time | |
# | |
# You need to be root | |
# | |
# Inspired by http://kevin.deldycke.com/2011/07/php-apc-debian-squeeze-munin-monitoring/ | |
# Reference : http://munin-php-apc.googlecode.com |
View gist:6129562
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$laender = array( | |
'BW' => 'Baden-Württemberg', | |
'BY' => 'Bayern', | |
'BE' => 'Berlin', | |
'BB' => 'Brandenburg', | |
'HB' => 'Bremen', | |
'HH' => 'Hamburg', | |
'HE' => 'Hessen', | |
'MV' => 'Mecklenburg-Vorpommern', | |
'NI' => 'Niedersachsen', |
View CacheClearCommand.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Althaus\ExtrasBundle\Command; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand as BaseCommand; | |
class CacheClearCommand extends BaseCommand | |
{ | |
/** |