Skip to content

Instantly share code, notes, and snippets.

View jenmcquade's full-sized avatar

Jen McQuade jenmcquade

View GitHub Profile
@kohlmannj
kohlmannj / customDevServer.js
Created July 9, 2017 22:43
An example of using BrowserSync, webpack-dev-middleware, and webpack-hot-middleware together in a script that boots up a custom dev server
#! /usr/bin/env node
/* eslint-env node */
// Boot it up with:
// $ node customDevServer.js
// ...or:
// $ chmod +X customDevServer.js
// $ ./customDevServer.js
const webpack = require('webpack');
@jonathantneal
jonathantneal / README.md
Last active November 15, 2021 11:34
Setting up a local SSL (HTTPS) WordPress site

Setting up a local SSL (HTTPS) WordPress site

We’re going to walk through setting up HTTPS for a local WordPress site within vagrant. For this tutorial, we’ll pretend our domain is example.local and that our site lives in ~/vagrant-local/www/example. This entire process should only take a minute or two.


First, let’s use the openssl command to create a key and certificate for our site.