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 | |
use DesignMyNight\Collins\Services\PreorderManager; | |
if(!defined('ABSPATH')) { | |
require_once('/srv/core/current/site-config.php'); | |
require_once('/srv/core/current/includes/solr-php/Service.php'); | |
} | |
global $mongo, $mongoDB, $user, $request, $site; |
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
Time Priority Description | |
14/06/2019 07:22:35 Warning! RCS Partial Service;CM-MAC=48:d3:43:74:65:1b;CMTS-MAC=00:01:5c:73:86:bc;CM-QOS=1.1;CM-VER=3.0; | |
14/06/2019 07:33:51 critical SYNC Timing Synchronization failure - Loss of Sync;CM-MAC=48:d3:43:74:65:1b;CMTS-MAC=00:01:5c:73:86:bc;CM-QOS=1.1;CM-VER=3.0; | |
14/06/2019 07:33:51 Warning! RCS Partial Service;CM-MAC=48:d3:43:74:65:1b;CMTS-MAC=00:01:5c:73:86:bc;CM-QOS=1.1;CM-VER=3.0; | |
14/06/2019 18:54:33 Error DHCP RENEW sent - No response for IPv4;CM-MAC=48:d3:43:74:65:1b;CMTS-MAC=00:01:5c:73:86:bc;CM-QOS=1.1;CM-VER=3.0; | |
15/06/2019 00:59:9 Warning! RCS Partial Service;CM-MAC=48:d3:43:74:65:1b;CMTS-MAC=00:01:5c:73:86:bc;CM-QOS=1.1;CM-VER=3.0; | |
15/06/2019 01:45:1 Error DHCP RENEW sent - No response for IPv4;CM-MAC=48:d3:43:74:65:1b;CMTS-MAC=00:01:5c:73:86:bc;CM-QOS=1.1;CM-VER=3.0; | |
15/06/2019 08:35:33 Error DHCP REBIND WARNING - Field invalid in response;CM-MAC=48:d3:43:74:65:1b;CMTS-MAC=00:01:5c:73:86:bc;CM-QOS=1.1;CM-VER=3.0; | |
15/06/2019 17:12:35 critical |
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
class ServiceProvider { | |
constructor(services) { | |
this._services = services; | |
// use proxy to create a "magic getter" that will search the _services for a matching name | |
// then call "_makeOnce" to instantiate or return the singleton | |
return new Proxy(this, { | |
get: (provider, service) => { | |
service = service.charAt(0).toUpperCase() + service.slice(1); |
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
const JadeConfig = { | |
environment: 'prod', | |
domain: 'jamesmosullivan', | |
topLevelDomain: 'uk' | |
}; |
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 | |
/** | |
* Class TextTableCreator | |
* | |
* Creates a text based table for printing out simple arrays | |
* | |
* CONVERTS: | |
* | |
* $table = new TextTableCreator(); |
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
'use strict'; | |
angular.module('dmn.filters.inCollection', []) | |
/* | |
* Filters an array of objects (collection) against another collection. | |
* | |
* @param compareCollection the collection to compare against | |
* @param compareField the field in both collections to compare | |
* @param filterOnIsIn Boolean of whether to filter against 'in collection' TRUE, 'not in collection' FALSE. Defaults to TRUE (is in collection) |