Skip to content

Instantly share code, notes, and snippets.

View mzvast's full-sized avatar
🎯
Focusing

mzvast mzvast

🎯
Focusing
View GitHub Profile
@mzvast
mzvast / webpack.config.js
Created April 8, 2016 02:23 — forked from learncodeacademy/webpack.config.js
Sample Basic Webpack Config
var debug = process.env.NODE_ENV !== "production";
var webpack = require('webpack');
module.exports = {
context: __dirname,
devtool: debug ? "inline-sourcemap" : null,
entry: "./js/scripts.js",
output: {
path: __dirname + "/js",
filename: "scripts.min.js"
@mzvast
mzvast / example.make
Created March 8, 2016 15:04
自用drupal7 出门装,装了些常用模块,build直接运行drush make example.make .
core: 7.x
api: 2
projects:
drupal:
version: '7.43'
views_bulk_operations:
version: '3.3'
addressfield:
version: '1.2'
admin_menu:
@mzvast
mzvast / Dockerfile
Created February 24, 2016 06:58
drupal7 docker image with write permission
FROM drupal:7
MAINTAINER mzvast <mzvast@gmail.com>
RUN usermod -u 1000 www-data
RUN usermod -G staff www-data