Skip to content

Instantly share code, notes, and snippets.

View pstonier's full-sized avatar

Paul Stonier pstonier

View GitHub Profile
@bfintal
bfintal / wp_dev_install.sh
Last active June 11, 2018 23:20
WordPress development tools that I need in MacOSX. At the end of this, you can have linter-phpcs working with WP standards (helpful for Atom) and scss compilation among others. Note to self: will still need to install xcode & command line tools.
#!/bin/bash
# FILE="/tmp/out.$$"
# GREP="/bin/grep"
# Make sure only normal users can run our script since we have sudos in the commands.
if [ "$(id -u)" == "0" ]; then
echo "This script must be run as a normal user" 1>&2
exit 1
fi