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
[{ | |
"8nrh6gUb7e8": "bDQti", | |
"TzoJ7q0q1AXmFxGS": { | |
"zJ0T55CBX5Oa1XwAos": "0ZXVaC", | |
"73BgW95KJipckQYfnE5PW": "XAaEv", | |
"9UufdEX8ww5ZVRsID4FUe5F8w": "wy6jqUjCINp", | |
"MjZrR0lkjp": "n0KRwWzYQHqz2", | |
"SRarFeERb": null, | |
"dMNMPWN2HxyVWNV6": null, | |
"oqLLuhGU": "cItndG4kn9AKo", |
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
function DataLayerReceiver(callBack) { | |
this.dataLayerByName = []; | |
this.callBack = callBack; | |
} | |
DataLayerReceiver.prototype.emit = function (publisherName, publisherData) { | |
console.log('emit from ', publisherName); | |
var complete = true; | |
for (var i = 0; i < this.dataLayerByName.length; i++) { |
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
// test DOMContentLoaded | |
console.log('parse test.js from gits'+(+new Date)); | |
var pubpubExt = t1.attach("pubExt"); | |
setTimeout(function () { | |
pubpubExt("emit pubpubExt"); | |
}, 1000); | |
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
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:1.4.5:check (default-cli) on project backend-app: Execution default-cli of goal org.owasp:dependency-check-maven:1.4.5:check failed: A required class was missing while executing org.owasp:dependency-check-maven:1.4.5:check: org/joda/time/ReadableInstant | |
[ERROR] ----------------------------------------------------- | |
[ERROR] realm = plugin>org.owasp:dependency-check-maven:1.4.5 | |
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy | |
[ERROR] urls[0] = file:/D:/outils/m2repository/org/owasp/dependency-check-maven/1.4.5/dependency-check-maven-1.4.5.jar | |
[ERROR] urls[1] = file:/D:/outils/m2repository/org/owasp/dependency-check-core/1.4.5/dependency-check-core-1.4.5.jar | |
[ERROR] urls[2] = file:/D:/outils/m2repository/joda-time/joda-time/1.6/joda-time-1.6.jar | |
[ERROR] urls[3] = file:/D:/outils/m2repository/org/apache/commons/commons-compress/1.13/commons-compress-1.13.jar | |
[ERROR] urls[4] = file:/D:/outils/m2repository/commons-io/comm |
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
class A { | |
public static void display() { | |
System.out.println("Inside static method of superclass"); | |
} | |
} | |
class B extends A { | |
public void show() { | |
display(); | |
} |
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
package test; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.util.Properties; | |
import java.util.ResourceBundle; | |
public class TestClass { |
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
var unique = require('uniq'); | |
var data = [1, 2, 2, 3, 4, 5, 5, 5, 6]; | |
console.log(unique(data)); | |
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
var unique = require('uniq'); | |
var data = [1, 2, 2, 3, 4, 5, 5, 5, 6]; | |
console.log(unique(data)); |
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
var myService = function($http, $q, $timeout) { | |
this.doItAsync = function() { | |
var deferred = $q.defer(); | |
... | |
return deferred.promise; | |
}; | |
}; | |
angular.module('global.services', []); | |
myService.$inject = ['$http', '$q', '$timeout']; |
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
(function () { | |
angular.module('myApp', []); | |
var myCtrl = function ($scope) { | |
console.log("declare myCtrl"); | |
$scope.itWasUsed = false; | |
$scope.myvalue = 'value initial'; | |
$scope.useIt = function () { | |
console.log("call real useIt function"); | |
$scope.itWasUsed = true; |
NewerOlder