Skip to content

Instantly share code, notes, and snippets.

@travisduffy
travisduffy / .prettierrc
Last active October 29, 2020 22:10
The Prettier configs I like
{
"printWidth": 80,
"endOfLine": "lf",
"semi": false,
"singleQuote": true,
"useTabs": true,
"tabWidth": 2,
"trailingComma": "es5",
"arrowParens": "avoid"
}
@travisduffy
travisduffy / package.json
Created March 10, 2020 13:26
Easy, no-Gulp Sass compiling for the WP underscores theme
{
"name": "underscores-theme",
"version": "1.0.0",
"description": "An underscores WP theme w/ Sass",
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"scss": "node-sass --watch --include-path scss sass/style.scss style.css --output-style=expanded --indent-type=tab --indent-width=1"
},
"keywords": [],
@travisduffy
travisduffy / docker-compose.yml
Last active May 21, 2020 00:47 — forked from bradtraversy/docker_wordpress.md
Quick & Easy Wordpress, MySQL & phpMyAdmin container
# Wordpress, MySQL & phpMyAdmin
# Wordpress: localhost:9000
# phpMyAdmin: localhost:9001
# To build:
# docker-compose up -d
# To tear down:
# docker-compose down --volumes