Skip to content

Instantly share code, notes, and snippets.

@JenieX
JenieX / rarbg-captcha-solver.user.js
Created August 5, 2023 19:41 — forked from Klaster1/rarbg-captcha-solver.user.js
Rarbg automatic captcha solver
// ==UserScript==
// @name Rarbg captcha solver
// @version 1.2
// @grant none
// @match https://*/threat_defence.php?defence=2*
// @require https://unpkg.com/[email protected]/dist/tesseract.min.js
// @run-at document-idle
// @author Klaster_1
// @icon https://rarbgenter.org/favicon.ico
// @downloadURL https://gist.github.com/Klaster1/dd7991d59fc8e6a7ec2544b47a12e4e9/raw/rarbg-captcha-solver.user.js
@JenieX
JenieX / paint-likes.user.js
Created August 5, 2023 19:40 — forked from Klaster1/paint-likes.user.js
Paint likes 🖌️🥰
// ==UserScript==
// @name Paint likes 🖌️🥰
// @description Like comments by pressing Shift while mouse curosor is over or hovering while Shift is down
// @version 1.2
// @grant none
// @match https://news.ycombinator.com/*
// @match https://www.youtube.com/*
// @match https://www.reddit.com/r/*/comments/*
// @match https://old.reddit.com/r/*/comments/*
// @icon data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🖌️</text></svg>
@JenieX
JenieX / intercept.js
Created January 20, 2023 07:38 — forked from jsoverson/intercept.js
Intercept responses with chrome and puppeteer
const puppeteer = require('puppeteer');
const prettier = require('prettier');
const atob = require('atob');
const btoa = require('btoa');
const scriptUrlPatterns = [
'*'
]
const requestCache = new Map();
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"comment.block",
"comment.block.documentation",
"comment.line",
"constant",
"constant.character",
@JenieX
JenieX / generatePassword.js
Created January 13, 2023 02:12 — forked from piyush01123/generatePassword.js
Generate and copy to clipboard strong password - Tampermonkey script
// ==UserScript==
// @name Generate Strong Password
// @namespace http://tampermonkey.net/
// @version 3.1.1
// @description Strong password generator of size 12
// @author Piyush Singh
// @match *://*/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant unsafeWindow
// @grant GM_setClipboard
@JenieX
JenieX / index.js
Created January 9, 2023 03:27 — forked from LearnWebCode/index.js
Puppeteer / Node.js Automation & Web Scraping Tutorial from YouTube
// in a new folder be sure to run "npm init -y" and "npm install puppeteer"
const puppeteer = require("puppeteer")
const fs = require("fs/promises")
async function start() {
const browser = await puppeteer.launch()
const page = await browser.newPage()
await page.goto("https://learnwebcode.github.io/practice-requests/")
const names = await page.evaluate(() => {
@JenieX
JenieX / checkImage.example.js
Created January 1, 2023 03:30 — forked from draeton/checkImage.example.js
Check the existence of an image file at `url` by creating a temporary Image element.
// Example Use
(function () {
function success() {
console.log("success: ", this.src);
}
function failure() {
console.log("failure: ", this.src);
}
@JenieX
JenieX / git-commit-template.md
Created December 23, 2022 10:17 — forked from lisawolderiksen/git-commit-template.md
Use a Git commit message template to write better commit messages

Using Git Commit Message Templates to Write Better Commit Messages

The always enthusiastic and knowledgeable mr. @jasaltvik shared with our team an article on writing (good) Git commit messages: How to Write a Git Commit Message. This excellent article explains why good Git commit messages are important, and explains what constitutes a good commit message. I wholeheartedly agree with what @cbeams writes in his article. (Have you read it yet? If not, go read it now. I'll wait.) It's sensible stuff. So I decided to start following the

@JenieX
JenieX / fastest_for.js
Created December 15, 2022 10:08 — forked from DungGramer/fastest_for.js
Find fastest way to loop through an array in Javascript
const {performance} = require('perf_hooks');
// Create 1000 random numbers
const arr = length =>
Array.from({length}, () => Math.floor(Math.random() * 1000));
function record(arr) {
const result = [];
function timeRun(callback, message) {
@JenieX
JenieX / crxcagrepper.py
Created September 25, 2022 04:08 — forked from sooshie/crxcagrepper.py
Download multiple versions of Chrome extension source from crxcavator.io and run a string search on the files.
# Python 3
# Sometimes hunting for strings in a bunch of different browser extensions and their many versions can be a pain.
# This will call out to crxcavator.io, pull the versions and sources. Then just run a simple string match on it.
# Surprisingly, it works.
#
# [email protected]
import requests
import json