Skip to content

Instantly share code, notes, and snippets.

View raisiqueira's full-sized avatar
👽
learning something new!

Raí Siqueira raisiqueira

👽
learning something new!
View GitHub Profile
@raisiqueira
raisiqueira / Dockerfile
Created September 19, 2017 11:12
Dockerfile for Nuxt application
FROM node:7.8
ADD . /app
WORKDIR /app
RUN npm install
ARG APP_NODE_ENV=production
ENV NODE_ENV ${NODE_ENV}
RUN npm run build
@raisiqueira
raisiqueira / README.MD
Last active August 6, 2021 17:40
Install Docker

Install Docker

https://github.com/eon01/DockerCheatSheet

Install

curl -fsSL https://get.docker.com | sh;

docker-compose

@raisiqueira
raisiqueira / README.md
Created June 22, 2017 13:43
Vue + Firebase + Auth Demo

Vue + Firebase + Auth Demo

A simple App using Vue.js & Firebase with Auth.

See the DEMO.

@raisiqueira
raisiqueira / 01-directory-structure.md
Created May 31, 2017 19:38 — forked from tracker1/01-directory-structure.md
Anatomy of a JavaScript/Node project.

Directory structure for JavaScript/Node Projects

While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.

Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.

Directories

  • lib/ is intended for code that can run as-is
  • src/ is intended for code that needs to be manipulated before it can be used
@raisiqueira
raisiqueira / _filter.sass
Created May 30, 2017 18:11 — forked from johnferrie/_filter.sass
CSS3 Filter Effects Sass Mixin
// https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html
//
// grayscale ex: filter: grayscale(100%);
// sepia ex: filter: sepia(100%);
// saturate ex: filter: saturate(0%);
// hue-rotate ex: filter: hue-rotate(45deg);
// invert ex: filter: invert(100%);
// brightness ex: filter: brightness(15%);
// contrast ex: filter: contrast(200%);
// blur ex: filter: blur(2px);
@raisiqueira
raisiqueira / Dockerfile-php56-compose
Created May 20, 2017 15:01
Dockerfile PHP + Compose CLI
FROM alpine:3.5
MAINTAINER Rai Siqueira <[email protected]>
RUN echo "---> Misc libs" && \
apk add --update --no-cache \
curl \
bash \
fontconfig \
libxrender \
version: '3'
services:
# Banco Maria DB
mysql:
image: mysql/mysql-server:5.7
container_name: mysql-chamados
restart: always
volumes:
- "./.datadb:/var/lib/mysql"
#include "rwmake.ch"
User Function SF2460I()
Local _aArea := GetArea()
dbselectarea("SE1")
dbsetorder(1)
dbseek(xfilial("SE1")+SF2->F2_PREFIXO+SF2->F2_DOC)
If !Eof()
@raisiqueira
raisiqueira / README.md
Last active March 27, 2018 00:36
My Docker aliases
#
# Alias for Docker
#
# Development alias
#
# Alias for mongoDB running on Docker
function mongoinit(){
docker run --name mongodb -p 17017:27017 -d mongo
}