Skip to content

Instantly share code, notes, and snippets.

James White jamesfacts

Block or report user

Report or block jamesfacts

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View deploy
if [ "production" == "${CI_ENVIRONMENT_NAME}" ]; then
elif [ "staging" == "${CI_ENVIRONMENT_NAME}" ]; then
View .gitlab-ci.yml
image: php:7.2-cli
# Updates
- curl -sL | bash
- curl -sS | apt-key add -
- echo "deb stable main" | tee /etc/apt/sources.list.d/yarn.list
- apt-get update
- apt-get -y install yarn libpcre3-dev zlib1g-dev libbz2-dev libpng-dev libjpeg-dev nodejs git zip unzip curl rsync mysql-client
- docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr

Keybase proof

I hereby claim:

  • I am jamesfacts on github.
  • I am jamesfacts ( on keybase.
  • I have a public key ASAbc-93kS2pgt0xAuJYR44fbSIl19SJLkP0D5tueLesUAo

To claim this, I am signing this object:

jamesfacts /
Created Feb 22, 2018
Attractive CSS colors

LightCoral FireBrick Coral DarkOrange Chocolate Khaki BlueViolet Indigo SlateBlue SpringGreen

jamesfacts / 1_env_setup.bash
Last active Sep 26, 2017
Codeship CI script for Sage + WPE, with hashed Blade templates
View 1_env_setup.bash
# ssh info
# get around restriction on shallow pushes by WP Engine
git filter-branch -- --all
git checkout master
git config --global "${CI_COMMITTER_NAME}"
git config --global "${CI_COMMITTER_EMAIL}"
# Combine remote git servers
git remote add servers $WPE_SERVERS
jamesfacts / 1-setup.bash
Created May 4, 2017
Deploy scripts for Sage + WPEngine through Codeship Raw
View 1-setup.bash
# Setup
# Get around restriction on shallow pushes by WP Engine
git filter-branch -- --all
git checkout staging [OR ANY OTHER BRANCH]
# Add User Data
git config --global "codeship-username"
git config --global ""
You can’t perform that action at this time.