ubuntu@ubuntu:~$ sudo nano /etc/nginx/sites-available/default
map $http_connection $map_http_connection {
default upgrade;
'' close;
}
server {
ubuntu@ubuntu:~$ sudo nano /etc/nginx/sites-available/default
map $http_connection $map_http_connection {
default upgrade;
'' close;
}
server {
| //+------------------------------------------------------------------+ | |
| //| OrderSideways.mq5 | | |
| //| Copyright 2009-2017, MetaQuotes Software Corp. | | |
| //| http://www.mql5.com | | |
| //+------------------------------------------------------------------+ | |
| #property copyright "2009-2017, MetaQuotes Software Corp." | |
| #property link "http://www.mql5.com" | |
| //--- | |
| #include <Trade\OrderInfo.mqh> | |
| #include <Trade\Trade.mqh> |
| CREATE OR REPLACE FUNCTION get_financial_pmt(p_rate numeric, p_periods integer, p_present numeric, p_future numeric, p_type integer) | |
| RETURNS numeric | |
| LANGUAGE plpgsql | |
| AS $function$ | |
| DECLARE | |
| v_result numeric = 0; | |
| v_term numeric = 0; | |
| BEGIN | |
| p_type = COALESCE(p_type, 0); | |
| p_future = COALESCE(p_future, 0); |
| // ==UserScript== | |
| // @name Spectre Helper | |
| // @namespace https://dapp.spectre.pm/dashboard | |
| // @version 0.2 | |
| // @description Help Lazy and Inconsistent Trader | |
| // @author You | |
| // @match https://dapp.spectre.pm/dashboard | |
| // @grant none | |
| // ==/UserScript== |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Context path=""> | |
| <Manager> | |
| <SessionIdGenerator sessionIdLength="64" /> | |
| </Manager> | |
| </Context> |
| // ==UserScript== | |
| // @name Auto Spin Diruna Slot Machine | |
| // @namespace https://diruna.org/slot_machine | |
| // @version 0.4.6 | |
| // @description Automate SPIN Diruna Slot Machine | |
| // @author You | |
| // @match https://diruna.org/slot_machine* | |
| // @match https://oauth.telegram.org/embed/DirunaCommunityBot* | |
| // @grant none | |
| // ==/UserScript== |
904 sudo groupadd tomcat3 905 sudo useradd -M -s /bin/nologin -g tomcat3 -d /opt/tomcat3 tomcat3 906 sudo mkdir /opt/tomcat3 907 sudo tar xvf apache-tomcat-7.0.92.tar.gz -C /opt/tomcat3 --strip-components=1 908 cd /opt/tomcat3 909 sudo chgrp -R tomcat3 /opt/tomcat3 910 sudo chmod -R g+r conf 911 sudo chmod g+x conf 912 sudo chown -R tomcat3 webapps/ work/ temp/ logs/ 913 sudo nano /etc/systemd/system/tomcat3.service
sudo docker run --name postgres-test -e POSTGRES_PASSWORD=postgres -p 54321:5432 -d postgres
[MaxScale & MariaDB]
Checklist & Issue Consistency select after insert : cloudsave inbox function get_user_id in file function.php leaderboard receiptvalidation function get_user_id in file function.php referral
MariaDB Replication
MASTER
docker create --name mariadb-master -e MYSQL_ROOT_PASSWORD=password -p 3316:3306 mariadb:10.2 docker start mariadb-master docker exec -it mariadb-master /bin/bash
apt-get update apt-get install nano