Skip to content

Instantly share code, notes, and snippets.

View Jeraldy's full-sized avatar
🎯
Focusing

Jeraldy Deus Jeraldy

🎯
Focusing
View GitHub Profile
@Jeraldy
Jeraldy / listAllEventListeners.js
Created May 14, 2020 14:13 — forked from dmnsgn/listAllEventListeners.js
List all event listeners in a document
const listeners = (function listAllEventListeners() {
let elements = [];
const allElements = document.querySelectorAll('*');
const types = [];
for (let ev in window) {
if (/^on/.test(ev)) types[types.length] = ev;
}
for (let i = 0; i < allElements.length; i++) {
const currentElement = allElements[i];
{
"categories": [{
"name": "action",
"key": "action",
"icons": [{
"id": "ic_3d_rotation",
"name": "3d rotation",
"group_id": "action",
"keywords": ["action, 3d, rotation"],
"ligature": "3d_rotation",
@Jeraldy
Jeraldy / install virtualenv ubuntu 16.04.md
Created August 4, 2019 05:22 — forked from Geoyi/install virtualenv ubuntu 16.04.md
How to install virtual environment on ubuntu 16.04

How to install virtualenv:

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

sudo pip3 install virtualenv