Copy this clean.jsbeautifyrc.json
file to .jsbeautifyrc
in your root project folder.
Precondition:
hookyqr.beautify
is installed.jsbeautifyrc
exist
// Envia a encomenda para o mailer. | |
function serializeToJson(form) { | |
//Pega os dados do form serializa e converte para objeto | |
let data = $(form).serialize().split("&"); | |
let dataObj = {}; | |
for (var key in data) { | |
dataObj[data[key].split("=")[0]] = data[key].split("=")[1]; | |
} | |
//Converte o objeto para json | |
let dados = JSON.stringify(dataObj) |
var OFF = 0, WARN = 1, ERROR = 2; | |
module.exports = exports = { | |
"env": { | |
"es6": true | |
}, | |
"ecmaFeatures": { | |
// env=es6 doesn't include modules, which we are using | |
"modules": true |
FROM php:7.2-apache | |
RUN apt-get update && apt-get install -y \ | |
libfreetype6-dev \ | |
libjpeg62-turbo-dev \ | |
libpng-dev \ | |
libmcrypt-dev \ | |
&& pecl install mcrypt-1.0.1 \ | |
&& docker-php-ext-enable mcrypt \ | |
&& docker-php-ext-install -j$(nproc) iconv \ | |
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ |
version: '2' | |
services: | |
webserver: | |
depends_on: | |
- db | |
image: php:7-apache | |
container_name: Apache2-PHP7 | |
restart: always | |
volumes: | |
- ./public_html:/var/www/html/ |
version: "2" | |
services: | |
web: | |
image: nginx:latest | |
container_name: Nginx | |
ports: | |
- "80:80" | |
volumes: | |
- ./public:/public |
# Configuration file | |
########################################################################################################## | |
# autodetect | |
#--------------------------------------------------------------------------------------------------------# | |
# Autodetect items and blocks during game start-up. | |
########################################################################################################## | |
autodetect { | |
# Autodetect blocks with the below prefixes in the ore dictionary, adding the names to the axe list. [default: true] |
sudo chown www-data:www-data -R * # Let apache be owner | |
find . -type d -exec sudo chmod 755 {} \; # Change directory permissions rwxr-xr-x | |
find . -type f -exec sudo chmod 644 {} \; # Change file permissions rw-r--r-- |
server { | |
listen 80; | |
server_name CHANGEME.app; | |
root /var/www/vhosts/CHANGEME.app/public; | |
index index.html index.htm index.php; | |
charset utf-8; | |
location / { |
Minimal yet very detailed.
Forked from Shak Dizzle's Pen Minimal Flat Devices Responsive.
A Pen by Giovani Oliveira on CodePen.