Skip to content

Instantly share code, notes, and snippets.

View taylordaughtry's full-sized avatar
💯
git-stash is basically the junk drawer

Taylor Daughtry taylordaughtry

💯
git-stash is basically the junk drawer
View GitHub Profile
#!/usr/bin/env bash
# Via https://medium.com/@sean.handley/how-to-set-up-docker-for-mac-with-native-nfs-145151458adc
OS=`uname -s`
if [ $OS != "Darwin" ]; then
echo "This script is OSX-only. Please do not run it on any other Unix."
exit 1
fi
# ===================
# CONFIGURATION
# ===================
commitHooks = https://gist.githubusercontent.com/taylordaughtry/4e6a54fa021b5d21a39e74d16ab05b74/raw/commit-msg
# ===================
# COMMANDS
# ===================
<?php
namespace Craft;
class SeoForCraftService extends BaseApplicationComponent
{
/**
* This method is an easy way to get a specific setting. It could be argued
* that storing the settings array in a property on the class would be more
* efficient, but I'm trading that microefficiency for code readability.
*
* @public