Nginx Cheat Sheet
(from Understanding Nginx Server and Location Block Selection Algorithms - https://goo.gl/YyzshP)
server {
(from Understanding Nginx Server and Location Block Selection Algorithms - https://goo.gl/YyzshP)
server {
# 1 FOR TESTING PURPOSES ONLY!!! | |
debuglevel = 1 | |
# file format to send | |
pattern = '.txt' | |
# files to sent path | |
path = 'path = ‘/path/where/files/to/send/' | |
# delete file after sending? | |
delete_files = False |
########## START | |
RED=$'\e[0;31m' | |
R=${RED} | |
BLUE=$'\e[0;34m' | |
B=${BLUE} | |
GREEN=$'\e[0;32m' | |
G=${GREEN} | |
CYAN=$'\e[0;36m' | |
C=${CYAN} | |
YELLOW=$'\e[0;33m' |
##-------------------------- | |
## Terraform: Functions ## | |
##-------------------------- | |
## Open terraform console | |
terraform console | |
####################### | |
## Numeric Functions ## | |
####################### |
This entry will hopefully show you how to troubleshoot memory used by Linux and application.
Display amount of free and used memory in the system (-m = in megas)
$ free -m
total used free shared buffers cached
test.yml
---
- hosts: localhost
gather_facts: no
connection: local
vars:
type: st1
<?php | |
/* | |
* 2007-2015 PrestaShop | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Open Software License (OSL 3.0) | |
* that is bundled with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/osl-3.0.php |
$ vagrant box add {title} {url}
$ vagrant init {title}
$ vagrant up
[user] | |
name = Example Name | |
email = example@example.com | |
[http] | |
sslVerify = false | |
[push] | |
default = current | |
[color] | |
ui = auto | |
[color "branch"] |