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 ABSPATH as this file's directory */ | |
| if (! defined('ABSPATH')) { | |
| define('ABSPATH', __DIR__ . '/'); | |
| } | |
| /* If wp-config.php exists in the WordPress root, or if it exists in the root and wp-settings.php | |
| * doesn't, load wp-config.php. The secondary check for wp-settings.php has the added benefit | |
| * of avoiding cases where the current directory is a nested installation, e.g. / is WordPress(a) |
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
| ssl-ee-domain () | |
| { | |
| read -p "Enter your domain name: " domain_name | |
| ~/.acme.sh/acme.sh --issue -d $domain_name -d www.$domain_name --keylength ec-384 --dns dns_cf --dnssleep 60 | |
| # create folder to store certificate | |
| mkdir -p /etc/nginx/acme.sh/$domain_name |
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 generated configuration file | |
| # See the sshd_config(5) manpage for details | |
| # What ports, IPs and protocols we listen for | |
| Port 22 | |
| # Use these options to restrict which interfaces/protocols sshd will bind to | |
| #ListenAddress :: | |
| #ListenAddress 0.0.0.0 | |
| Protocol 2 | |
| # HostKeys for protocol version 2 |
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
| #------------------------------------------------------------------------------# | |
| # OFFICIAL DEBIAN REPOS | |
| #------------------------------------------------------------------------------# | |
| ###### Debian Main Repos | |
| deb http://ftp.fr.debian.org/debian/ oldstable main contrib non-free | |
| deb http://ftp.fr.debian.org/debian/ oldstable-updates main contrib non-free | |
| deb http://security.debian.org/ oldstable/updates main |
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
| #------------------------------------------------------------------------------# | |
| # OFFICIAL UBUNTU REPOS # | |
| #------------------------------------------------------------------------------# | |
| ###### Ubuntu Main Repos | |
| deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse | |
| ###### Ubuntu Update Repos | |
| deb http://fr.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse |
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
| { | |
| "algo": "cryptonight", | |
| "av": null, | |
| "aesni": 0, | |
| "threads": 0, | |
| "multihash-factor": 0, | |
| "multihash-thread-mask": null, | |
| "background": false, | |
| "colors": true, | |
| "cpu-affinity": null, |
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
| postgresql: | |
| restart: always | |
| image: sameersbn/postgresql:9.6-2 | |
| environment: | |
| - DB_USER=gitlab | |
| - DB_PASS=password | |
| - DB_NAME=gitlabhq_production | |
| volumes: | |
| - /home/gitlab/postgresql:/var/lib/postgresql | |
| gitlab: |
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
| /* Specify maximum number of Revisions. */ | |
| define( 'WP_POST_REVISIONS', '10' ); | |
| /* Trash Days. */ | |
| define( 'EMPTY_TRASH_DAYS', '15' ); | |
| /* PHP Memory */ | |
| define( 'WP_MEMORY_LIMIT', '128M' ); | |
| define( 'WP_MAX_MEMORY_LIMIT', '256M' ); | |
| define('WP_DEBUG', false); |
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
| location / | |
| { | |
| try_files $uri @url; | |
| } | |
| location ~ \.php$ | |
| { | |
| try_files $uri =404; | |
| include fastcgi_params; | |
| fastcgi_pass php7; | |
| } |
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 | |
| wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | |
| chmod +x speedtest-cli | |
| ./speedtest-cli --share |