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 | |
| # Open vcmi.cfg in your favorite editor one one side and terminal on other side | |
| # --color option only available in diffutils 3.4 (2016-08-08) | |
| # for older version of diff use "colordiff" tool instead: | |
| # diff -u source.cpp source.cpp.uncrustify | colordiff | |
| VCMICFG="/home/i/UNTEST/vcmi.cfg" | |
| SRC="/home/i/UNTEST/source.cpp" | |
| SRCUN="/home/i/UNTEST/source.cpp.uncrustify" | |
| SRCUNOLD="/home/i/UNTEST/source.cpp.uncrustify.old" | |
| rm -f $SRCUN |
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
| THE 3DO COMPANY | |
| End-User License Agreement | |
| Software Product: Heroes of Might and Magic(R) III Demo | |
| IMPORTANT--PLEASE READ CAREFULLY. This End-User License Agreement (the "EULA") is a legal agreement between The 3DO Company, a California corporation ("3DO") and you, the recipient of a demo copy of the 3DO software product identified above ("You"), which product includes computer software and the associated audiovisual works, and may include printed materials, and electronic or "online" documentation and/or related items (collectively, the "Software Product"). By downloading, installing, copying, or otherwise using the Software Product, You agree to be bound by the terms and conditions of this EULA. If You do not agree to all of the provisions of this EULA, do not install or copy or otherwise use the Software Product. IF YOU ARE UNDER THE AGE OF EIGHTEEN (18), PLEASE HAVE A PARENT OR GUARDIAN READ THE ENTIRE EULA PRIOR TO INSTALLING OR COPYING OR OTHERWISE USING THE SOFTWARE PRODUCT. | |
| 1. LICENSE GRANT. 3DO here |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| package main | |
| import ( | |
| "fmt" | |
| _"flag" | |
| _"time" | |
| "strings" | |
| "compress/gzip" | |
| "io/ioutil" | |
| "path/filepath" |
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 | |
| define('TAB', ' '); | |
| $pizz = array( | |
| "30cm" => "http://www.pizzmaster.ru/shop/pizza-30sm", | |
| "40cm" => "http://www.pizzmaster.ru/shop/pizza-40sm", | |
| "12" => "http://www.pizzmaster.ru/shop/polovinka-pizz", | |
| "to" => "http://www.pizzmaster.ru/shop/picca-40sm-na-tonkom-korzhe", | |
| "it" => "http://www.pizzmaster.ru/shop/picca-40sm-na-italjanskom-teste" | |
| ); |
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
| <meta name="referrer" content="no-referrer" /> | |
| <form action="mAx-knigi.php" method="post"> | |
| URL: <input type="text" name="url"><br> | |
| <input type="submit" value="Submit"> | |
| </form><br><br> | |
| <?php | |
| if(isset($_POST['url']) && strlen($_POST['url']) > 10) | |
| { | |
| $url = parse_url($_POST['url'], PHP_URL_PATH); | |
| $page = file_get_contents('https://domain/'.$url); |
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
| # as root | |
| sudo -i | |
| mkdir /opt/vcmi/ | |
| # Then copy files and set execution permissions | |
| chmod +x /opt/vcmi/switchFiles.sh | |
| chmod +x /opt/vcmi/changeLinks.sh | |
| # Run this one as root: | |
| /opt/vcmi/switchFiles.sh |
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
| # Cleanup old alternatives | |
| update-alternatives --remove-all cc | |
| update-alternatives --remove-all c++ | |
| update-alternatives --remove-all gcc | |
| update-alternatives --remove-all g++ | |
| update-alternatives --remove-all clang | |
| update-alternatives --remove-all clang++ | |
| update-alternatives --remove-all icc | |
| update-alternatives --remove-all icc++ |
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
| Source: | |
| http://wiki.vcmi.eu/index.php?title=Opis_zadania_%E2%80%94_bitewne_AI_dla_VCMI |