Implementation of the SOAP server - server.php:
<?php
// turn off WSDL caching
ini_set("soap.wsdl_cache_enabled","0");
// model, which uses in web service functions as parameter| <!-- Intruction: | |
| - Download and unzip Mojave dynamic background here: https://files.rb.gd/mojave_dynamic.zip | |
| - Fix the path to the background images | |
| - Use gnome-tweaks tool to select this XML as wallpaper | |
| --> | |
| <background> | |
| <starttime> | |
| <year>2014</year> | |
| <month>01</month> | |
| <day>11</day> |
| # install bzr and gource | |
| # get a branch of Mir's trunk code | |
| # create gource video | |
| $ sudo apt-get install bzr gource | |
| $ bzr branch lp:mir | |
| $ cd mir | |
| $ gource \ | |
| -s .06 \ |
| Disclaimer: The instructions are the collective efforts from a few places online. | |
| Nothing here is my original. But I want to put them together in one place to save people from spending the same time as I did. | |
| First off, bundle. | |
| ================== | |
| 1. cd to the project directory | |
| 2. Start the react-native packager if not started | |
| 3. Download the bundle to the asset folder: | |
| curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle" |
#Introduction If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for a live environment!
I hope it helps you too!
fyi @mheiniger and me started with an installer here: https://github.com/mheiniger/webdev-setup
| #include <a_samp> | |
| #include <streamer> | |
| #include <zcmd> | |
| #include <sscanf2> | |
| #include <foreach> | |
| // EDIT THESE DEFINES TO WHATEVER SUITS YOU | |
| #define USE_SYNC true // respawns the vehicle after you hit the cancel/finish button so it syncs with the world, disable this if you're mapping on a hill and the vehicle accidentally drives down the hill. | |
| #define MAX_VEHICLES_PER_PLAYER (50) // maximum amount of vehicles 1 player can spawn | |
| #define LABEL_COLOR 0xFFFFFFFF // Vehicle's label color |
| # SSL self signed localhost for rails start to finish, no red warnings. | |
| # 1) Create your private key (any password will do, we remove it below) | |
| $ openssl genrsa -des3 -out server.orig.key 2048 | |
| # 2) Remove the password | |
| $ openssl rsa -in server.orig.key -out server.key |