Skip to content

Instantly share code, notes, and snippets.

View teustice's full-sized avatar

Tanner Eustice teustice

  • Portland, Oregon
View GitHub Profile
@teustice
teustice / wp-setup.sh
Last active March 3, 2020 18:12
WordPress setup script
#!/bin/bash
echo "Enter the WordPress project name :"
read name
name_slug=$(echo $name | iconv -t ascii//TRANSLIT | sed -E s/[^a-zA-Z0-9]+/-/g | sed -E s/^-+\|-+$//g | tr A-Z a-z)
db_slug=$(echo $name_slug |tr -d '-')
echo $db_slug;
@teustice
teustice / SCSS Simple Grid
Last active January 17, 2019 19:05
Lightweight SCSS Grid
$width: 90%;
$gutter: 4%;
$breakpoint-small: 33.75em; // 540px
$breakpoint-med: 45em; // 720px
$breakpoint-large: 60em; // 960px
.row {
position: relative;
width: 100%;
margin-left: auto;