Skip to content

Instantly share code, notes, and snippets.

View MauroJr's full-sized avatar
🎯
Focusing

Mauro Junior MauroJr

🎯
Focusing
View GitHub Profile
@MauroJr
MauroJr / ultimate-ut-cheat-sheet.md
Created November 27, 2018 18:47 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies


@MauroJr
MauroJr / whatsapp_phone_enumerator_floated_div.js
Created May 13, 2017 22:16
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses (floated div)
/*
PoC WhatsApp enumeration of phonenumbers, profile pics, about texts and online statuses
Floated div edition
01-05-2017
(c) 2017 - Loran Kloeze - [email protected]
This script creates a UI on top of the WhatsApp Web interface. It enumerates certain kinds
of information from a range of phonenumbers. It doesn't matter if these numbers are part
of your contact list. At the end a table is displayed containing phonenumbers, profile pics,
about texts and online statuses. The online statuses are being updated every
@MauroJr
MauroJr / app.html
Created June 28, 2016 23:43 — forked from Thanood/app.html
Aurelia - Materialize Paging
<template>
<div>
<md-pagination md-pages="6" md-active-page.bind="activePage"></md-pagination>
</div>
<div>
active page: ${activePage}
</div>
</template>
@MauroJr
MauroJr / lispy-react.js
Created October 2, 2015 20:23 — forked from scttnlsn/lispy-react.js
Lispy React components
import React from 'react';
import ReactDOM from 'react-dom';
function html([type, opts, ...children]) {
return React.createElement(type, opts, ...children.map((child) => {
if (Array.isArray(child)) {
return html(child);
} else {
return child;
}
@MauroJr
MauroJr / README.md
Created August 28, 2012 23:19 — forked from scttnlsn/README.md
Pub/sub with MongoDB and Node.js

Pub/sub with MongoDB and Node.js

Setup:

$ mongo
> use pubsub
> db.createCollection('messages', { capped: true, size: 100000 })
> db.messages.insert({})