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
module.exports = function (grunt) { | |
// load all grunt tasks matching the `grunt-*` pattern | |
require('load-grunt-tasks')(grunt); | |
grunt.initConfig({}); | |
grunt.registerTask('default', []); | |
} |
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
var uniqueArray = duplicatesArray.filter(function(elem, pos) { | |
return duplicatesArray.indexOf(elem) == pos; | |
}); |
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
// Bookmarklet Gremling | |
javascript: (function() { | |
function callback() { | |
gremlins.createHorde().unleash() | |
} | |
var s = document.createElement("script"); | |
s.src = "https://rawgithub.com/marmelab/gremlins.js/master/gremlins.min.js"; | |
if (s.addEventListener) { | |
s.addEventListener("load", callback, false) | |
} else if (s.readyState) { |
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
## how to work with non allowed CORS | |
# Windows | |
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --args --disable-web-security | |
# MAC | |
open /Application/Google \Chrome.app --args --disable-web-security |
NewerOlder