Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Jay Holtslander JayHoltslander

I may be slow to respond.
View GitHub Profile
JayHoltslander / deactivate-plugins-on-domain.php
Last active Sep 16, 2021 — forked from subharanjanm/deactivate-plugins-wpe-staging.php
Deactivate certain Wordpress plugins when running on the development/staging domain
View deactivate-plugins-on-domain.php
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
$plugins = array(
if ( strpos(get_site_url(), '') !== false ) {
deactivate_plugins( $plugins );
else {
JayHoltslander / 0_reuse_code.js
Created Nov 29, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
JayHoltslander /
Created Sep 25, 2015 — forked from magnetikonline/
IE 7/8/9/10/11 Virtual machines from Microsoft - Linux w/VirtualBox installation notes.
View iOS-8-web-app.html
<!doctype html>
<!-- Run in full-screen mode. -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Make the status bar black with white text. -->
<meta name="apple-mobile-web-app-status-bar-style" content="black">