Skip to content

Instantly share code, notes, and snippets.

View jakecobley's full-sized avatar

Jake Cobley jakecobley

View GitHub Profile
@jakecobley
jakecobley / css-utilities.js
Last active September 18, 2020 13:02
PostCSS configuration.
module.exports = {
/**
* Convert pixel values to rem values.
*
* @param {number} pixelValue
*
* @returns {string}
*/
px2rem: (pixelValue) => {
const remValue = pixelValue / 16;
@jakecobley
jakecobley / .dockerignore
Last active November 14, 2020 23:27
VueJS/ReactJS/JavaScript Single Page Application (SPA) NGINX Dockerfile
################################################################################
# Docker
################################################################################
.dockerignore
docker-compose*
Dockerfile*
################################################################################
# Git
@jakecobley
jakecobley / .eslintignore
Created November 14, 2020 23:37
ESLint configuration extending Airbnb's configuration.
################################################################################
# Node
################################################################################
node_modules
################################################################################
# Compiled Directories & Files
################################################################################