Skip to content

Instantly share code, notes, and snippets.

View MauriRojas's full-sized avatar

MauriRojas

  • SOUTHWORKS
  • Esquel, Chubut, Argentina
View GitHub Profile
@csuzw
csuzw / index.js
Created November 7, 2019 10:49
Azure AD Single Sign On with Cypress
// This goes in cypress/plugins/index.js
const AzureAdSingleSignOn = require('./azure-ad-sso/plugin').AzureAdSingleSignOn
module.exports = (on, config) => {
on('task', {AzureAdSingleSignOn:AzureAdSingleSignOn})
}
@MauriRojas
MauriRojas / serializeDeSerialize.js
Last active May 21, 2018 19:41
Serialize and deserialize binary trees with JavaScript
('use strict');
function Node(val, left, right) {
this.val = val;
this.left = left;
this.right = right;
}
function deserialize(nodeString) {
var splited = nodeString.split(",");
@DTrejo
DTrejo / .gitignore
Created April 4, 2011 03:32
How to Readline - an example and the beginnings of the docs
node_modules/