This file contains hidden or 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
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
module.exports = (neutrino, options) => { | |
// Supports neutrino-preset-web and any other preset following this pattern. | |
const styleRule = neutrino.config.module.rule('style'); | |
const styleTest = styleRule.get('test'); | |
const styleFallback = { | |
loader: styleRule.use('style').get('loader'), | |
options: styleRule.use('style').get('options') }; | |
const styleLoaders = Array.from(styleRule.uses.store.keys()) |
This file contains hidden or 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
# Required files: | |
# domain.crt and godaddy.p7b: provided by Godaddy when exporting | |
# private.key: self-generated file that was needed to create CSR (Certificate signing request) | |
$ openssl pkcs12 -export -in domain.crt -inkey private.key -certfile godaddy.p7b -out domain.pfx | |
# or if you need intermediate .cer instead of .p7b | |
$ openssl pkcs7 -print_certs -in godaddy.p7b -out godaddy.crt | |
$ openssl pkcs12 -export -in domain.crt -inkey private.key -certfile godaddy.cer -out domain.pfx |
This file contains hidden or 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
# Install linux update, followed by GCC and Make | |
sudo yum -y update | |
sudo yum install -y gcc make | |
# Install Nginx and PHP-FPM | |
sudo yum install -y nginx php-fpm | |
# Install PHP extensions | |
sudo yum install -y php-devel php-mysql php-pdo \ | |
php-pear php-mbstring php-cli php-odbc \ |
This file contains hidden or 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
#!/usr/bin/env bash | |
rm -rf "${HOME}/Library/Caches/CocoaPods" | |
rm -rf "`pwd`/Pods/" | |
pod update |
This file contains hidden or 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/sh | |
## | |
## Redhat / Linux / LSB | |
## | |
# chkconfig: 345 85 15 | |
# description: Startup script for Express / Node.js application with the \ | |
## forever module. | |
## | |
## A modification of https://gist.github.com/1339289 | |
## |