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 | |
| mysql_user=user | |
| mysql_pwd=pwd | |
| databases=$(echo "show databases;" | sudo mysql -u "$mysql_user" -p "$mysql_pwd" -B | tail -n +2) | |
| date=$(date +%Y-%m-%d_%H-%M-%S) | |
| for database in $databases; | |
| do |
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
| ✘ moritz@moritz-desktop ~/mapcrafter mapcrafter -c world1.7.conf -rf world1.7_day_jpeg -j 8 | |
| Scanning worlds... | |
| (2/4) Rendering map world1.7_day_jpeg ("world1.7_day_jpeg"): | |
| (2.1/2.1) Rendering rotation top-left: | |
| libpng warning: iCCP: Not recognizing known sRGB profile that has been edited | |
| libpng warning: iCCP: Not recognizing known sRGB profile that has been edited | |
| libpng warning: iCCP: Not recognizing known sRGB profile that has been edited | |
| libpng warning: iCCP: Not recognizing known sRGB profile that has been edited | |
| libpng warning: iCCP: Not recognizing known sRGB profile that has been edited | |
| libpng warning: iCCP: Not recognizing known sRGB profile that has been edited |
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
| diff --git a/src/renderer/tilerenderworker.cpp b/src/renderer/tilerenderworker.cpp | |
| index 286a3bf..8740068 100644 | |
| --- a/src/renderer/tilerenderworker.cpp | |
| +++ b/src/renderer/tilerenderworker.cpp | |
| @@ -83,17 +83,16 @@ | |
| render_context.tileset->getTileOffset(), image); | |
| render_work_result.tiles_rendered++; | |
| - /* | |
| // draws a border on the tile |
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
| [ 5:53PM ] [ moritz@vs2387:~/abizeitung_django/src(master✗) ] | |
| $ ./manage.py migrate | |
| Running migrations for abizeitung: | |
| - Migrating forwards to 0016_auto__del_field_student_test. | |
| > abizeitung:0001_initial | |
| > abizeitung:0002_auto__add_field_student_test | |
| > abizeitung:0003_auto__add_field_student_tutor | |
| > abizeitung:0004_auto__add_field_teachersurvey_question__add_field_studentsurvey_questi | |
| > abizeitung:0005_auto__add_studentsurveyentry | |
| > abizeitung:0006_auto__del_studentsurveyentry |
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
| [ 11:39PM ] [ m0r13@mapcrafter:~/azeroth ] | |
| $ mc-overviewer/overviewer.py -c azeroth_overviewer.conf -p16 | |
| 2013-12-27 23:39:35 Welcome to Minecraft Overviewer! | |
| 2013-12-28 00:20:25 Rendering 733081 total tiles. | |
| 4% [========= ^[^@ ] 35429 10.25t/s eta 18h | |
| 54m 32s | |
| 6% [============ ] 47397 9.35t/s eta 20h | |
| 21m 54s | |
| 16% [================================ ] 118560 8.88t/s eta 19h | |
| 12m 48s |
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
| ~/mapcrafter-v.1.1# make | |
| Scanning dependencies of target version.cpp | |
| [ 3%] Built target version.cpp | |
| Scanning dependencies of target mapcraftercore | |
| [ 6%] Building CXX object src/CMakeFiles/mapcraftercore.dir/version.cpp.o | |
| [ 9%] Building CXX object src/CMakeFiles/mapcraftercore.dir/util/filesystem.cpp.o | |
| In file included from /root/mapcrafter-v.1.1/src/util/filesystem.cpp:22:0: | |
| /root/mapcrafter-v.1.1/src/util/../util.h:41:1: error: expected ';' after class definition | |
| /root/mapcrafter-v.1.1/src/util/../util.h:31:7: error: an anonymous struct cannot have function members | |
| /root/mapcrafter-v.1.1/src/util/../util.h:41:1: error: abstract declarator 'const<anonymous class>' used as declaration |
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 | |
| for file in ~/dist/deb/packages/*.deb; do | |
| if ! dpkg-sig --verify $file | grep "GOODSIG" > /dev/null; then | |
| dpkg-sig --sign builder $file | |
| fi | |
| done |
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
| ### Eclipse Workspace Patch 1.0 | |
| #P mapcrafter | |
| diff --git src/config/mapcrafter_config.cpp src/config/mapcrafter_config.cpp | |
| index 2dadf19..2855cd3 100644 | |
| --- src/config/mapcrafter_config.cpp | |
| +++ src/config/mapcrafter_config.cpp | |
| @@ -532,9 +532,11 @@ | |
| bool MapcrafterConfigHelper::isCompleteRenderSkip(const std::string& map) const { | |
| const std::set<int>& rotations = config.getMap(map).getRotations(); |
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
| # From Minecraft Overviewer (https://github.com/overviewer/Minecraft-Overviewer) | |
| # png-it.py script -- modified version which works with mapcrafter maps | |
| """ | |
| Outputs a huge PNG file using the tiles from a overviewer map. | |
| """ | |
| from optparse import OptionParser | |
| from PIL import Image | |
| from os.path import join, split, exists |
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
| git@vs2387:~$ locale | |
| LANG=en_US.UTF-8 | |
| LANGUAGE= | |
| LC_CTYPE="en_US.UTF-8" | |
| LC_NUMERIC="en_US.UTF-8" | |
| LC_TIME="en_US.UTF-8" | |
| LC_COLLATE="en_US.UTF-8" | |
| LC_MONETARY="en_US.UTF-8" | |
| LC_MESSAGES="en_US.UTF-8" | |
| LC_PAPER="en_US.UTF-8" |