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
FOLDER=/nas/content/live
WPE_INSTALL=YOURINSTALLNAME
elif [ "staging" == "${CI_ENVIRONMENT_NAME}" ]; then
FOLDER=/nas/content/staging
WPE_INSTALL=YOURINSTALLNAME
else
FOLDER=/nas/content/development
WPE_INSTALL=YOURINSTALLNAME
fi
View .gitlab-ci.yml
image: php:7.2-cli
services:
- mysql:5.7
variables:
MYSQL_DATABASE: wordpress
MYSQL_ROOT_PASSWORD: wordpress
before_script:
View keybase.md

Keybase proof

I hereby claim:

  • I am jamesfacts on github.
  • I am jamesfacts (https://keybase.io/jamesfacts) on keybase.
  • I have a public key ASAbc-93kS2pgt0xAuJYR44fbSIl19SJLkP0D5tueLesUAo

To claim this, I am signing this object:

@jamesfacts
jamesfacts / css-colors.md
Created Feb 22, 2018
Attractive CSS colors
View css-colors.md

LightCoral FireBrick Coral DarkOrange Chocolate Khaki BlueViolet Indigo SlateBlue SpringGreen

@jamesfacts
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 git@git.wpengine.com info
# get around restriction on shallow pushes by WP Engine
git filter-branch -- --all
git checkout master
git config --global user.name "${CI_COMMITTER_NAME}"
git config --global user.email "${CI_COMMITTER_EMAIL}"
# Combine remote git servers
git remote add servers $WPE_SERVERS
@jamesfacts
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 user.name "codeship-username"
git config --global user.email "git@github.com"
You can’t perform that action at this time.