After two years of tinkering my machine is a bit all over. With Mavericks I wanted to start fresh
Make sure everything is up to date.
My personal settings for Sublime Text (Mac). Heavily borrowed from Wes Bos: https://gist.github.com/wesbos/a3b12cfda064a906ac04
To set the key bindings below, goto Sublime Text menu -> Preferences -> Key Bindings - User
, paste the settings from below and save that file.
To set the user preferences below, type ⌘,
in Sublime Text to bring up the Preferences.sublime-settings
file, paste the settings from below and save that file.
source 'https://rubygems.org' | |
gem 'capistrano', '~> 2.15' | |
gem 'capistrano-ext', '~> 1.2.1' | |
gem 'colored', '~> 1.2' |
<?php | |
/* | |
Plugin Name: Disable XML-RPC + Pingback | |
Plugin URI: http://www.philerb.com/wp-plugins/ | |
Description: This plugin disables XML-RPC API + pingbacks in WordPress 3.5+, which is enabled by default. 2 WP plugins were combined together to cover all bases. | |
Version: 1.0.0 | |
Author: Eric Rasch | |
Author URI: http://ericrasch.com | |
License: GPLv2 | |
*/ |
admin
user + generate a new password<?php | |
/** | |
* Defined paths for local/production vs. staging servers | |
* example: http://website.com/main-folder/sub-folder/paths.php | |
* $full_uri: http://website.com/main-folder/sub-folder/paths.php | |
*/ | |
$full_uri = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; | |
$path = dirname($_SERVER[PHP_SELF]); | |
$current_path = substr( $path, strrpos($path,'/') + 1 ); |
When running npm update
I was getting this error: npm ERR! cb() never called!
This answer on StackOverflow helped solve that issue:
So here's the fix for that. These steps are from David Walsh's blog
- Clear your npm cache:
sudo npm cache clean -f
- Install the latest version of the Node helper:
npm install -g n
- Tell the helper (n) to install the latest stable version of Node:
sudo n stable
Please write a short description of what the PR entails for project. Also, please remember to begin your PR as soon as you create a branch and make your first commit. This allows others to see what's actually being worked on and what the latest updates are (especially if a project has a lot of existing branches).