This file contains hidden or 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 | |
/** | |
* Only get the values for keys which | |
* exist in the array. | |
* | |
* Example: array_only_keys(['a' => 'b', 'c' => 'd'], ['a']); // returns ['a' => 'b'] | |
* | |
* @param Array $haystack The array you want values from | |
* @param Array|String $keys Array of keys, or a key which you want from the haystack |
This file contains hidden or 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
(function () { | |
'use strict'; | |
var cluster = require('cluster'), | |
http = require('http'), | |
os = require('os'), | |
/* | |
* ClusterServer object |
This file contains hidden or 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 | |
/** | |
* Include a php file, and return the | |
* parsed content. Allows you to use php | |
* files instead of custom templating | |
* engines such as blade. | |
* | |
* Takes an array of data to pass to the included | |
* file and calls extract() on it. |
This file contains hidden or 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
// | |
// Primary breakpoints | |
// =================== | |
// Define the projects breakpoints here. Some sensible defualts are included. | |
// | |
/** | |
* Less than | |
* ========= | |
* |
NewerOlder