Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike Schinkel mikeschinkel

View GitHub Profile
@kevinelliott
kevinelliott / osx-10.11-setup.md
Last active Oct 22, 2020
Mac OS X 10.11 El Capitan Setup
View osx-10.11-setup.md

Mac OS X 10.11 El Capitan

Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.10 Yosemite setup recipe (as found on this gist https://gist.github.com/kevinelliott/0726211d17020a6abc1f). Note that I expect this to change significantly as I install El Capitan several times.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

@wpsmith
wpsmith / test-short.php
Last active Jan 12, 2018
PHP: WordPress test page
View test-short.php
<?php
date_default_timezone_set( 'America/New_York' );
// Load the WordPress Environment
define( 'WP_DEBUG', true ); /* uncomment for debug mode */
require('./wp-load.php');
// User functions
//require('./wp-admin/includes/user.php');
// Debugging
View update.php
<?php
/**
* This script allows to update any directory from its repository if one exists.
*
* Setup:
* 1. Upload update.php file into wp-content directory
* 2. Make update.php executable
* 3. Add the following rewrite rule to your .htaccess at the top
* RewriteRule ^(.*)update$ /wp-content/update.php?path=$1 [QSA,PT]
*
You can’t perform that action at this time.