Skip to content

Instantly share code, notes, and snippets.

View whyisjake's full-sized avatar
✈️

Jake Spurlock whyisjake

✈️
View GitHub Profile
diff --git a/.nvmrc b/.nvmrc
index b009dfb9d9..c2f6421352 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-lts/*
+10.22.1
diff --git a/.travis.yml b/.travis.yml
index bd1980aab9..d99d9498cf 100644
--- a/.travis.yml
@whyisjake
whyisjake / .wp-env.json
Created April 15, 2020 06:33
Simple WP Env Config for the VIP Go Skeleton Repo
{
"plugins": [
"./client-mu-plugins/",
"./mu-plugins/",
"./plugins/"
],
"themes": [
"./themes/"
],
"config": {
/* Set the background color of body to dark grey */
/* Default Layout */
body {
background-color: #333;
color: #fff;
}
.kittens {
background-color: #fff;
padding: 10px;
<?php
WP_CLI::add_command( 'podcast', 'JS_Podcast_Import' );
/**
* Wired Core CLI Functions
*/
class JS_Podcast_Import extends WP_CLI_Command {
#!/bin/sh
defaults read com.apple.finder CreateDesktop > /dev/null 2>&1
enabled=$?
if [ "$1" = "off" ]; then
if [ $enabled -eq 1 ]; then
defaults write com.apple.finder CreateDesktop false
osascript -e 'tell application "Finder" to quit'
open -a Finder
@whyisjake
whyisjake / cloudSettings
Created March 16, 2018 23:17
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-03-16T23:17:55.299Z","extensionVersion":"v2.9.0"}
<?php
/**
* Test Callback on Publish
*
* @package News-Nerds
*/
add_action( 'publish_post', 'callback_function_to_run_on_publish', 999 );
/**
<?php
/**
* Plugin Name: Comment Moderator
* Plugin URI: https://99robots.com/products/
* Description: Add a new user role, Comment Moderator, that allows a new user to only manage comments.
* Version: 1.3.2
* Author: 99 Robots
* Author URI: https://99robots.com
* License: GPL2
* Text Domain: wpsite-comment-moderator
@whyisjake
whyisjake / bundled-config.txt
Last active June 2, 2017 21:15
Output from the different config files.
src/styles/allure/main.scss:197:9 [W] NestingDepth: Nesting should be no greater than 4, but was 5
src/styles/allure/main.scss:285:9 [W] NestingDepth: Nesting should be no greater than 4, but was 5
src/styles/allure/main.scss:404:1 [W] SelectorDepth: Selector should have depth of applicability no greater than 4, but was 5
src/styles/allure/main.scss:404:9 [W] NestingDepth: Nesting should be no greater than 4, but was 5
src/styles/allure/main.scss:423:1 [W] SelectorDepth: Selector should have depth of applicability no greater than 4, but was 5
src/styles/allure/main.scss:426:1 [W] SelectorDepth: Selector should have depth of applicability no greater than 4, but was 5
src/styles/allure/main.scss:426:9 [W] NestingDepth: Nesting should be no greater than 4, but was 5
src/styles/bon-appetit/main.scss:12:27 [W] NameFormat: Name of variable `graphikBARegular` should be written in all lowercase letters with hyphens instead of underscores
src/styles/bon-appetit/main.scss:14:26 [W] NameFormat: Name of variable `graphik
jQuery( '#storyart-table select.post-needs' ).val('complete').addClass('saveme');