Skip to content

Instantly share code, notes, and snippets.

🌴
On vacation

Jewel Mahanta lap00zza

🌴
On vacation
Block or report user

Report or block lap00zza

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lap00zza
lap00zza / Abstract Equality Algorithm.md
Last active Nov 11, 2017
Javascripts Abstract Equality Algorithm in tabular form
View Abstract Equality Algorithm.md

Abstract Equality Comparison

Consider this expression:

x == y

Then,

@lap00zza
lap00zza / scrapper.js
Last active Oct 16, 2017
Scrape anime info from MAL
View scrapper.js
const h2 = document.querySelectorAll("h2");
const infoH2 = (() => {
for (let i = 0; i < h2.length; i++) {
if (h2[i].innerText === "Information") return h2[i];
}
})();
// holds the elements between the Information (H2) and the next H2
const elList = [];
// start from the element after the H2
let now = infoH2.nextElementSibling;
View lapzbotAPI.py
# coding=utf-8
"""
LAPZBOT Restful
Handles the inter process communications between Lapzbot and the Console, without having to rely on the database
for Server / User information. This is intended to be run in a thread.
Typical UseCase:
----------------
import lapzbotAPI
You can’t perform that action at this time.