This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
const autoprefixer = require("autoprefixer"); | |
const ExtractTextPlugin = require("extract-text-webpack-plugin"); | |
const Visualizer = require("webpack-visualizer-plugin"); | |
module.exports = { | |
modify: (baseConfig, { target, dev }, webpack) => { | |
const appConfig = Object.assign({}, baseConfig); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
name=webnoir | |
pidfile=/var/run/$name.pid | |
if [ -f "$pidfile" ]; then | |
pid=`cat $pidfile` | |
running=`ps p $pid |wc -l` | |
if [ $running -eq 1 ]; then | |
pid= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defpartial error-item [[first-error]] | |
[:p.error first-error]) | |
(defpartial user-fields [{:keys [firstname lastname]}] | |
(vali/on-error :firstname error-item) | |
(label "firstname" "First name: ") | |
(text-field "firstname" firstname) | |
(vali/on-error :lastname error-item) | |
(label "lastname" "Last name: ") | |
(text-field "lastname" lastname)) |