Skip to content

Instantly share code, notes, and snippets.

View otaviomedeiros's full-sized avatar

Otavio Medeiros otaviomedeiros

  • VNDA e-commerce
  • Florianópolis
View GitHub Profile
@otaviomedeiros
otaviomedeiros / webpack.config.js
Created May 5, 2017 18:45
Webpack build with code splitting
var path = require('path');
var webpack = require('webpack');
var CopyWebpackPlugin = require('copy-webpack-plugin');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var baseCSS = new ExtractTextPlugin({ filename: "base.css" });
var vendorCSS = new ExtractTextPlugin({ filename: "[name].css", allChunks: true });
var VENDOR = [
"angular",
"angular-aria",
@otaviomedeiros
otaviomedeiros / .env
Last active November 19, 2021 21:41
Ruby on Rails with Sidekiq and docker compose
PORT=3000
REDIS_PORT=6379
SIDEKIQ_REDIS_URL=redis://redis:6379/0
APP_DATABASE_HOST=database
APP_DATABASE_PORT=5432
APP_DATABASE_NAME=app_development
APP_DATABASE_USERNAME=postgres
APP_DATABASE_PASSWORD=postgres