API url: s{server}-{country}.ogame.gameforge.com/api/{endpoint}
players.xml (1 day)
Contain list of all players on the server along with their names and status.
USER=rentzsch | |
PASS=mypassword | |
REPO=mogenerator | |
# Delete default labels | |
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/bug" | |
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/duplicate" | |
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/enhancement" | |
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/invalid" | |
curl --user "$USER:$PASS" --include --request DELETE "https://api.github.com/repos/$USER/$REPO/labels/question" |
<?php | |
// new date/time object | |
$date = new DateTime('now'); | |
// set order time to a Saturday, 2 pm | |
$date->modify('next sat 14:00'); | |
// orders are taken in till 15 minutes before 2pm | |
// http://php.net/manual/de/datetime.formats.relative.php | |
$order_till = new DateTime('front of 14'); |
#!/bin/bash | |
# <Config> | |
backuppath="/path/to/backups" | |
pmapath="/path/to/phpMyAdmin" | |
# </Config> | |
# Colors | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[1;33m' |
RUN apt update | |
RUN apt upgrade -y | |
RUN apt install -y apt-utils | |
RUN a2enmod rewrite | |
RUN apt install -y libmcrypt-dev | |
RUN docker-php-ext-install mcrypt | |
RUN apt install -y libicu-dev | |
RUN docker-php-ext-install -j$(nproc) intl | |
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev | |
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ |
Based on: https://gist.github.com/Isaddo/7efebcb673a0957b9c6f07cd14826ea4
https://github.com/user/repo/labels
[
Le cours : Cours
L'énoncé du TP :Énoncé
La correction du TP : Correction
Le Git du projet :Github