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
// problem: the order of the files it finds can be different each time glob searches the exact same path | |
// solution: use synchronous globbing instead | |
var _ = require('lodash'), | |
glob = require('glob') | |
; | |
function deglob() { | |
var syncGlob = glob.sync, | |
patterns = _.flatten(arguments, true); |
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
http://stackoverflow.com/questions/2095088/error-when-calling-3rd-party-executable-from-powershell-when-using-an-ide |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title></title> | |
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> | |
<script type='text/javascript' src="http://code.jquery.com/jquery-1.11.3.js"></script> | |
<script type='text/javascript' src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> | |
<script type='text/javascript' src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.0/angular.js"></script> | |
</head> |
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
https://gist.github.com/CMCDragonkai/6282750 |
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
http://blog.workshape.io/making-a-spherical-globe-using-d3js/ |
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 componentName = 'scopeSrc'; | |
angular | |
.module('mixins.' + componentName, []) | |
.directive(componentName, [ | |
'$http', | |
'$parse', |
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
Model.prototype.$extended = function () { | |
var thisModel = this, | |
extendedModel = angular.copy(thisModel); | |
Object | |
.keys(thisModel) | |
.filter(key => typeof thisModel[key] === 'function') | |
.forEach(key => { | |
try { | |
extendedModel[key] = thisModel[key](); |
This file has been truncated, but you can view the full file.
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
[{"UtcTimestamp":"2016-04-17T00:00:03.790489Z","ConnectionInfo":{"FrontEnds":"USSEA-FE03.example.com","Pools":"USSEA-LYNCPOOL02.example.com","CallId":"339a818f-8ece-4d3e-a9b2-69089b52cdf5","ConversationId":"e4ac7ad284074ac3b7f7ec9df40384f3","TimeStamp":"2016-04-16T17:00:03.790489-07:00","Connectivity":"DIRECT","StartTime":"2016-04-16T16:59:06.8470034-07:00","EndTime":"2016-04-16T16:59:57.8111481-07:00","Originator":"c9b65aaf9"},"Info":{"ReceivedTime":"2016-04-17T00:00:04.0039754Z","ProcessingDuration":213,"MessageTypes":"qualityupdate qualityupdate ","ManagedThreadId":23,"EndpointUriFrom":"sip:[email protected]","EndpointUriTo":"sip:+14258650735;ext=735;[email protected];user=phone","ConnectivityType":0},"QualityUpdates":[{"From":{"Id":"61a55d8c9","URI":"sip:+14258650735;ext=735;[email protected];user=phone","Contact":"sip:[email protected];gruu;opaque=srvr:MediationServer:tfj0lJ9BU1WVYJh6-_VXBAAA;grid=5a9a9dc63672446b95fa634d1a1d5ac7","IP":"64.94.116.113","UserAgent":"RTCC/6.0.0 |
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 discoverPropertyPaths(parentObject, parentPath) { | |
var paths = [], | |
propertyNames = Object.keys(parentObject); | |
propertyNames.forEach(function (propertyName) { | |
var propertyPath = (parentPath ? (parentPath + '.') : '') + propertyName, | |
property = parentObject[propertyName]; | |
if (typeof property === 'object') { | |
var isArray = angular.isArray(property); |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Console] | |
"ColorTable00"=dword:000c0c0c | |
"ColorTable01"=dword:00da3700 | |
"ColorTable02"=dword:000ea113 | |
"ColorTable03"=dword:00dd963a | |
"ColorTable04"=dword:001f0fc5 | |
"ColorTable05"=dword:00981788 | |
"ColorTable06"=dword:00009cc1 |