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
gulp.task('sass', function () { | |
return sass(config.sassPath + '/style.scss', | |
{ | |
style: 'expanded', | |
loadPath:[ | |
'./src/sass', | |
config.bowerDir + '/bootstrap-sass-official/assets/stylesheets' | |
]}) | |
.on('error', notify.onError(function (error){ |
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
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var config = { | |
sassPath: './src/sass/', | |
bowerDir: './bower_components', | |
autoprefixer: { | |
cascade: true | |
}, |
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
{ | |
"name": "aurelia-skeleton-navigation", | |
"version": "0.15.1", | |
"description": "A starter kit for building a standard navigation-style app with Aurelia.", | |
"keywords": [ | |
"aurelia", | |
"navigation", | |
"skeleton" | |
], | |
"homepage": "http://aurelia.io", |
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
System.config({ | |
"defaultJSExtensions": true, | |
"transpiler": "babel", | |
"babelOptions": { | |
"optional": [ | |
"es7.decorators", | |
"es7.classProperties", | |
"runtime" | |
] | |
}, |
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
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var runSequence = require('run-sequence'); | |
var changed = require('gulp-changed'); | |
var plumber = require('gulp-plumber'); | |
var ts = require('gulp-typescript'); | |
var merge = require('merge2'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var paths = require('../paths'); | |
var assign = Object.assign || require('object.assign'); |
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/sh | |
############################################################################################## | |
## Install Nginx with OpenSSL and ngx_pagespeed | |
## Author: Andrew Maxwell <amaxwell@traffixdevices.com> | |
## Date: 2016/05/27 | |
## Version: 0.1 | |
## | |
## Disclaimer: I am not responsible for how you use this script. Do not assume this script | |
## will work in all envrionments or any Ubuntu version other than 14.04. This script assumes |
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"; | |
require('regenerator-runtime/runtime'); | |
/** | |
* To learn more about how to use Easy Webpack | |
* Take a look at the README here: https://github.com/easy-webpack/core | |
**/ | |
const easyWebpack = require('@easy-webpack/core'); | |
const generateConfig = easyWebpack.default; | |
const get = easyWebpack.get; |
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
var path = require('path'); | |
const ProvidePlugin = require('webpack/lib/ProvidePlugin'); | |
const webpack = require("webpack"); | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const autoprefixer = require('autoprefixer'); | |
const AureliaWebpackPlugin = require('aurelia-webpack-plugin'); | |
module.exports = { | |
entry: { | |
main: [ |
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 | |
# MongoDB Setup on Ubuntu 14.04 with PHP7 | |
# Source: | |
#1. Import the public key used by the package management system: | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 | |
#2. Create a list file for MongoDB. | |
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list |
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
A little explanation for those who have no idea what NOBLOGREDIRECT is. | |
The define(‘NOBLOGREDIRECT’, ‘%siteurl%’); inside of the wp-config.php makes it so that when someone enters a subdomain that does not exist on your site to redirect to whatever url you wish it to. You can use this to have it either go to a specific FAQ page or directly back to the main root installation, anywhere you want to direct it. the %siteurl% can be replaced for example define(‘NOBLOGREDIRECT’, ‘http://frumph.net/FAQ/site-create’); | |
When someone in their browser tries to go to (for example) http://badsubdomain.frumph.net/ a subomain which doesn’t exist, it will go to what is defined in NOBLOGREDIRECT. | |
Without using NOBLOGREDIRECT the (for example) http://badsubdomain.frumph.net/ – which is a subdomain that doesn’t exist would direct to the signup page asking which reports whether or not the user can create the bad subdomain in question. This is fine, there’s nothing wrong with it redirecting to the signup page if someone put |
OlderNewer