Skip to content

Instantly share code, notes, and snippets.


Andrea Ercolino aercolino

View GitHub Profile
bennadel / demo.htm
Created February 10, 2012 16:16
Cross-Origin Resource Sharing (CORS) AJAX Requests Between jQuery And Node.js
View demo.htm
<!DOCTYPE html>
<title>Cross-Origin Resource Sharing (CORS) With jQuery And Node.js</title>
Cross-Origin Resource Sharing (CORS) With jQuery And Node.js
yoavniran /
Last active May 21, 2023 15:55
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest
NickGard / safari-focus-polyfill.js
Last active March 8, 2023 08:21
Safari Focus Polyfill
View safari-focus-polyfill.js
(function() {
var capturedEvents = [];
var capturing = false;
function getEventTarget(event) {
return event.composedPath()[0] ||;
function captureEvent(e) {
if (capturing) {