Skip to content

Instantly share code, notes, and snippets.

View minhchu's full-sized avatar
🎯
Focusing

Minh Chu minhchu

🎯
Focusing
View GitHub Profile
@minhchu
minhchu / config.yml
Created May 28, 2021 00:30 — forked from thijskok/config.yml
CircleCI 2.0 Laravel build configuration with PHP 7.1, NodeJS, and MySQL support. Runs both PHPunit as well as Laravel Dusk. Proper GD configuration for image editing purposes. Several linters included (requires including them in composer / package.json).
version: 2
jobs:
build:
working_directory: ~/user/repo
environment:
BASH_ENV: ~/.bashrc
docker:
@minhchu
minhchu / simple-git-branching-model.md
Created July 15, 2020 08:42 — forked from chalasr/simple-git-branching-model.md
a simple git branching model

a simple git branching model

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

@minhchu
minhchu / webpack-devserver.js
Created November 4, 2018 09:08 — forked from michaelrambeau/webpack-devserver.js
Script to launch webpack dev server (instead of using `webpack-dev-server --content-base www --hot` command).
// node.js server used to serve assets bundled by Webpack
// use `npm start` command to launch the server.
const webpack = require('webpack');
const WebpackDevServer = require('webpack-dev-server');
const config = require('../../config/webpack.local.config');
console.log('Starting the dev web server...');
const port = 8080;
const path = require('path');
const options = {