This file contains hidden or 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
# Backup | |
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
# Restore | |
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
This file contains hidden or 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 | |
[ -z "$PHP_VERSION" ] && PHP_VERSION="7.0.0RC2" | |
ZEND_VM="GOTO" | |
ZLIB_VERSION="1.2.8" | |
POLARSSL_VERSION="1.3.8" | |
LIBMCRYPT_VERSION="2.5.8" | |
GMP_VERSION="6.0.0a" | |
GMP_VERSION_DIR="6.0.0" | |
CURL_VERSION="curl-7_44_0" |
This file contains hidden or 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 | |
/** | |
* This file is an example of a compressed plaintext plugin format for PocketMine | |
* It's aimed towards easy scripting, but not for normal plugin development. | |
* | |
* This kind of plugin won't be able to embed/load resources, | |
* nor have access to some features like fast permission/command integration. | |
* | |
* This first comment is used to define the properties like on plugin.yml, |
This file contains hidden or 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 shoghicp\MinecraftSimulator\task; | |
use pocketmine\Player; | |
use pocketmine\scheduler\PluginTask; | |
use shoghicp\MinecraftSimulator\Loader; | |
class MarqueeTask extends PluginTask{ |