View 2018_12_29_113449_create_csv_data_table.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Support\Facades\Schema; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class CreateCsvDataTable extends Migration | |
{ | |
/** | |
* Run the migrations. |
View manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "10up", | |
"hostname": [ | |
"10up.dev", | |
"www.10up.dev" | |
], | |
"maintainers": [ | |
{ | |
"name": "Taylor Lovett", | |
"email": "taylor.lovett@10up.com" |
View class-wp-doc-collection.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* WP Docs Collection Class | |
* | |
* Stores commonly | |
* | |
* @access public | |
* @since 3.7.0 | |
*/ |
View gist:5256345
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MyTestClass extends PHPUnit_Framework_TestCase { | |
public function setUp() { | |
\WP_Mock::setUp(); | |
} | |
public function tearDown() { | |
\WP_Mock::tearDown(); | |
} |
View disable-plugins-when-doing-local-dev.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Disable plugins when doing local dev | |
Description: If the WP_LOCAL_DEV constant is true, disables plugins that you specify | |
Version: 0.1 | |
License: GPL version 2 or any later version | |
Author: Mark Jaquith | |
Author URI: http://coveredwebservices.com/ | |
*/ |
View node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Define a JSON data-structure that will look and perform like the real deal | |
// What is common to every post? Lets examine the details: | |
var forumData = { // Defining the object structure | |
"Posts" : [ // array of Posts | |
// single post item in the array | |
{ | |
// definition of properties | |
"id" : "1", | |
"user" : "Melvin", | |
"title" : "Yes, I beleive you have my stapler...", |