Requires:
- Homebrew (http://mxcl.github.io/homebrew/)
Verify Homebrew is not sick:
brew doctor
Install Node (with NPM) with Homebrew:
/* --------------------------------------------------------------------- | |
Application Platform Page JavaScript | |
Target Browsers: All | |
Authors: Rachel Baker | |
------------------------------------------------------------------------ */ | |
'use strict'; | |
// Namespace Object |
#!/usr/bin/env ruby | |
# newproj.rb | |
# | |
# Initializes new WordPress projects. | |
# Creates new projects for each passed parameter. | |
# | |
# value - The String representing the project name | |
# | |
# Examples |
Requires:
Verify Homebrew is not sick:
brew doctor
Install Node (with NPM) with Homebrew:
jQuery(document).ready(function($) { | |
function WidthChange(mq) { | |
if (mq.matches) { | |
// mobile accordian logic | |
} else { | |
// in case you need to add logic for when window width is larger than the mq variable | |
} | |
} | |
if (matchMedia) { |
Requires:
Homebrew (http://mxcl.github.io/homebrew/)
Ruby
Verify Homebrew is not sick:
brew doctor
/** | |
* ChromePHP Debugging | |
* Author: Rachel Baker | |
*/ | |
function chromePHPDebugTool() | |
{ | |
<?php | |
/** | |
* Snippet via @_mfields | |
* Check order of WordPress hooks | |
*/ | |
function mfields_test_some_hooks() { | |
static $i = 1; | |
var_dump( $i . ' - ' . current_filter() ); | |
$i++; |
/** | |
* Find unexpected output error during plugin activation. | |
* Writes file to /uploads/debug_report.html with buffer output. | |
* | |
* @author Rachel Baker <[email protected]> | |
*/ | |
function debugActivationError(){ | |
file_put_contents(ABSPATH. 'wp-content/uploads/debug_report.html', ob_get_contents()); | |
} | |
add_action('activated_plugin','debugActivationError'); |
{ | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_size_limit": 11943, | |
"auto_complete_with_fields": true, | |
"auto_id_class": true, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Obsidian Color Scheme/Obsidian.tmTheme", | |
"ensure_newline_at_eof_on_save": false, | |
"file_exclude_patterns": |
<h3><?php echo __('Upload CSV'); ?></h3> | |
<form action="" method="post" enctype="multipart/form-data"> | |
<tr> | |
<td width="20%"><?php echo __('Select file'); ?></td> | |
<td width="80%"><input type="file" name="file" id="file"/></td> | |
</tr> | |
<tr> |