Skip to content

Instantly share code, notes, and snippets.

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

Sergey Agarkov zorgsoft

🏠
Working from home
View GitHub Profile
@zorgsoft
zorgsoft / build_windows.bat
Last active February 9, 2018 14:33 — forked from Calinou/build_windows.bat
Compile Godot 2.x for Windows easily (with a script encryption key if necessary)
:: This script must be run from a Windows machine with
:: Visual Studio 2017, Python 2.7 and SCons installed at their
:: default locations. 7-Zip also needs to be installed (to compress editor binaries).
:: UPX: https://upx.github.io/
:: NOTE: You need Pywin32 to be installed to use multi-threaded compilation.
:: You may need to set "threads" to 1 for the first build, even if you have it installed.
:: Place this script at the root of your Godot Git clone.
:: CC0 1.0 Universal
@zorgsoft
zorgsoft / godot_android.bat
Created November 14, 2017 17:00 — forked from Calinou/godot_android.bat
Compile Godot for Android (from Windows)
@ECHO OFF
set threads=%NUMBER_OF_PROCESSORS%
call scons platform=android tools=no target=release_debug verbose=no warnings=no progress=no -j%threads%
call scons platform=android tools=no target=release verbose=no warnings=no progress=no -j%threads%
cd platform\android\java\
call gradlew build
@zorgsoft
zorgsoft / build_android.bat
Created November 14, 2017 17:05 — forked from Calinou/build_android.bat
Compile Godot for Android easily (on Windows)
:: This script must be run from a Windows machine with
:: Android SDK and NDK installed.
:: NOTE: You need Pywin32 to be installed to use multi-threaded compilation.
:: You may need to set "threads" to 1 for the first build, even if you have it installed.
:: Place this script at the root of your Godot Git clone.
:: CC0 1.0 Universal
set threads=%NUMBER_OF_PROCESSORS%
@zorgsoft
zorgsoft / .htaccess
Created January 9, 2020 10:02 — forked from mnoskov/.htaccess
Запись всех POST-запросов к сайту
php_value open_basedir "/path:/tmp"
php_value mail.add_x_header 1
php_value mail.log /path/mail.log
php_value auto_prepend_file /path/postlogger.php