This commit is contained in:
LeoKhoa
2018-07-24 11:04:42 +00:00
parent e12e39f010
commit 848a189df1
610 changed files with 0 additions and 204753 deletions

View File

@@ -1,40 +0,0 @@
[client]
#password=your_password
port=3306
socket=/tmp/mysql.sock
[mysqld]
port=3306
socket=/tmp/mysql.sock
skip-external-locking
key_buffer_size=256M
max_allowed_packet=512M
table_open_cache=256
sort_buffer_size=1M
read_buffer_size=1M
read_rnd_buffer_size=4M
myisam_sort_buffer_size=64M
thread_cache_size=8
query_cache_size=16M
log-bin=mysql-bin
binlog_format=mixed
server-id=1
[mysqldump]
quick
max_allowed_packet=512M
[mysql]
no-auto-rehash
[myisamchk]
key_buffer_size=128M
sort_buffer_size=128M
read_buffer=2M
write_buffer=2M
[mysqlhotcopy]
interactive-timeout

View File

@@ -1,24 +0,0 @@
[client]
#password=your_password
port=3306
socket=/tmp/mysql.sock
[mysqld]
port=3306
socket=/tmp/mysql.sock
key_buffer_size=256M
max_allowed_packet=512M
table_open_cache=256
sort_buffer_size=1M
read_buffer_size=1M
read_rnd_buffer_size=4M
myisam_sort_buffer_size=64M
thread_cache_size=8
secure-file-priv=""
explicit_defaults_for_timestamp=1
[mysqldump]
quick
max_allowed_packet=512M

View File

@@ -1,15 +0,0 @@
# Format:
; Program Name: autorun COMMANDS env_file=PATH_OF_FILE pwd=PATH_OF_WORKING_DIR ENV_VAR1=VALUE ENV_VAR2="VALUE WITH SPACE"
# Help:
; Program Name: Will be displayed on Procfile or Tools' Menu (can contains space)
; autorun: Your COMMANDS will be run automatically when Laragon starts
; COMMANDS: A command or a series of commands (separated by & )
; env_file: You can set environment variables directly or put them to the file
; PWD: Current working directory - where the COMMANDS run
# Examples:
; My Cool App: autorun node start $PORT PORT=9000 env_file=usr\my_file.env PWD=usr/proj/myapp DB_HOST=1.2.3.4 DB_PORT=9999 DB_USER=user DB_PASS="!$Ab.cs3cre1" DB_NAME=cooldb
; Awesome Tool: "PATH HAS SPACES SHOULD BE QUOTED LIKE THIS"
------------------------------------------------------------------------------

View File

@@ -1,27 +0,0 @@
define ROOT "<<PROJECT_DIR>>"
define SITE "<<HOSTNAME>>"
<VirtualHost *:<<PORT>>>
DocumentRoot "${ROOT}"
ServerName ${SITE}
ServerAlias *.${SITE}
<Directory "${ROOT}">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:<<SSL_PORT>>>
DocumentRoot "${ROOT}"
ServerName ${SITE}
ServerAlias *.${SITE}
<Directory "${ROOT}">
AllowOverride All
Require all granted
</Directory>
SSLEngine on
SSLCertificateFile <<SSL_DIR>>/<<HOSTNAME>>.crt
SSLCertificateKeyFile <<SSL_DIR>>/<<HOSTNAME>>.key
</VirtualHost>

View File

@@ -1,11 +0,0 @@
<VirtualHost *:<<PORT>>>
DocumentRoot "<<PROJECT_DIR>>"
ServerName <<HOSTNAME>>
ServerAlias *.<<HOSTNAME>>
<Directory "<<PROJECT_DIR>>">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
# If you want to use SSL, enable it by going to Menu > Apache > SSL > Enabled

View File

@@ -1,9 +0,0 @@
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())

View File

@@ -1,9 +0,0 @@
# -*- coding: utf-8 -*-
import re
import sys
from pip import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())

View File

@@ -1,4 +0,0 @@
@echo off
:: #Fix Fatal error in launcher: Unable to create process using '"'
python "%~dp0\__easy_install__.py" %1 %2 %3 %4 %5 %6 %7 %8 %9

View File

@@ -1,44 +0,0 @@
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: mongod.log
# Where and how to store data.
storage:
dbPath: mongodb
journal:
enabled: true
# engine:
# mmapv1:
# wiredTiger:
# how the process runs
processManagement:
#fork: true # fork and run in background
pidFilePath: mongod.pid # location of pidfile
# network interfaces
net:
port: 27017
bindIp: 127.0.0.1 # Listen to local interface only, comment to listen on all interfaces.
#security:
#operationProfiling:
#replication:
#sharding:
## Enterprise-Only Options
#auditLog:
#snmp:

View File

@@ -1,39 +0,0 @@
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
include "<<LARAGON_ROOT>>/etc/nginx/php_upstream.conf";
include "<<LARAGON_ROOT>>/etc/nginx/sites-enabled/*.conf";
client_max_body_size 2000M;
server_names_hash_bucket_size 64;
}

View File

@@ -1,39 +0,0 @@
server {
listen <<PORT>>;
listen <<SSL_PORT>> ssl;
server_name <<HOSTNAME>> *.<<HOSTNAME>>;
root "<<PROJECT_DIR>>";
index index.html index.htm index.php;
location / {
try_files $uri $uri/ /index.php$is_args$args;
autoindex on;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass php_upstream;
#fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
# Enable SSL
ssl_certificate "<<SSL_DIR>>/<<HOSTNAME>>.crt";
ssl_certificate_key "<<SSL_DIR>>/<<HOSTNAME>>.key";
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
ssl_prefer_server_ciphers on;
charset utf-8;
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
location ~ /\.ht {
deny all;
}
}
# This file is auto-generated.
# If you want Laragon to respect your changes, just remove the [auto.] prefix

View File

@@ -1,31 +0,0 @@
server {
listen <<PORT>>;
server_name <<HOSTNAME>> *.<<HOSTNAME>>;
root "<<PROJECT_DIR>>";
index index.html index.htm index.php;
location / {
try_files $uri $uri/ /index.php$is_args$args;
autoindex on;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass php_upstream;
#fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
charset utf-8;
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
location ~ /\.ht {
deny all;
}
}
# This file is auto-generated.
# If you want Laragon to respect your changes, just remove the [auto.] prefix
# If you want to use SSL, enable it at: Menu > Nginx > SSL > Enabled

View File

@@ -1,43 +0,0 @@
server {
listen <<PORT>> default_server;
listen <<SSL_PORT>> ssl default_server;
server_name localhost ;
root "<<DOC_ROOT>>";
index index.html index.htm index.php;
# Access Restrictions
allow 127.0.0.1;
deny all;
include "<<LARAGON_ROOT>>/etc/nginx/alias/*.conf";
location / {
try_files $uri $uri/ =404;
autoindex on;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass php_upstream;
#fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
# Enable SSL
ssl_certificate "<<LARAGON_ROOT>>/etc/ssl/laragon.crt";
ssl_certificate_key "<<LARAGON_ROOT>>/etc/ssl/laragon.key";
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
ssl_prefer_server_ciphers on;
charset utf-8;
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
location ~ /\.ht {
deny all;
}
}

View File

@@ -1,34 +0,0 @@
server {
listen <<PORT>> default_server;
server_name localhost ;
root "<<DOC_ROOT>>";
index index.html index.htm index.php;
# Access Restrictions
allow 127.0.0.1;
deny all;
include "<<LARAGON_ROOT>>/etc/nginx/alias/*.conf";
location / {
try_files $uri $uri/ =404;
autoindex on;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass php_upstream;
#fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
charset utf-8;
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
location ~ /\.ht {
deny all;
}
}

View File

@@ -1,25 +0,0 @@
[req]
default_bits = 2048
distinguished_name = req_distinguished_name
req_extensions = v3_req
prompt = no
[req_distinguished_name]
C = SG
ST = Singapore
L = Singapore
O = Laragon
OU = IT
CN = laragon
[v3_req]
keyUsage = keyEncipherment, dataEncipherment
extendedKeyUsage = serverAuth
subjectAltName = @alt_names
[alt_names]
DNS.1 = localhost
# You can another DNS below. For example:
# DNS.2 = xxx
# DNS.3 = yyy

View File

@@ -1,4 +0,0 @@
@echo off
:: #Fix Fatal error in launcher: Unable to create process using '"'
python "%~dp0\__pip__.py" %1 %2 %3 %4 %5 %6 %7 %8 %9

View File

@@ -1 +0,0 @@
mongo eval "db.getSiblingDB('admin').shutdownServer()"