Skip to content

Instantly share code, notes, and snippets.

View Luziberto's full-sized avatar

Luziberto Mendes Junior Luziberto

  • Sobral - CE
  • 13:25 (UTC -03:00)
View GitHub Profile
@Luziberto
Luziberto / getVersion.js
Created May 2, 2020 13:14 — forked from lucianobragaweb/getVersion.js
Get App Version package.json
var pjson = require('./package.json');
console.log(pjson.version);
@Luziberto
Luziberto / Dockerfile
Created May 2, 2020 13:14 — forked from lucianobragaweb/Dockerfile
Docker Compose
FROM php:7.2-fpm
# Copy composer.lock and composer.json
COPY composer.lock composer.json /var/www/
# Set working directory
WORKDIR /var/www
# Install dependencies
RUN apt-get update && apt-get install -y \
@Luziberto
Luziberto / Instructions.sh
Created May 2, 2020 13:15 — forked from lucianobragaweb/Instructions.sh
Install PHP7.2 NGINX and PHP7.2-FPM on Ubuntu 16.04
########## Install NGINX ##############
# Install software-properties-common package to give us add-apt-repository package
sudo apt-get install -y software-properties-common
# Install latest nginx version from community maintained ppa
sudo add-apt-repository ppa:nginx/stable
# Update packages after adding ppa
@Luziberto
Luziberto / docker-compose.yml
Created May 2, 2020 13:15 — forked from lucianobragaweb/docker-compose.yml
Docker Compose para Node.js
version: "2"
services:
node:
image: "node:12"
working_dir: /app
volumes:
- ./:/app
expose:
- "8080"
ports:
node_modules
root = true
[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
# editorconfig-tools is unable to ignore longs strings or urls
@Luziberto
Luziberto / .gitignore
Created May 2, 2020 13:16 — forked from lucianobragaweb/.gitignore
.gitignore for Pascal project files - This ignore executable/binary files from your project root and directories
# Ignore all
*
# Unignore all with extensions
!*.*
# Ignore all with extension .o
*.o
# Rules for dirs