Skip to content

Instantly share code, notes, and snippets.

View CodingBobby's full-sized avatar
👨‍🚀
Flying through the 11th dimension

CodingBobby CodingBobby

👨‍🚀
Flying through the 11th dimension
View GitHub Profile
@prescience-data
prescience-data / hcaptcha.ts
Created April 15, 2021 09:12
HCaptcha Solver
import { IncomingMessage, RequestListener, ServerResponse } from "http"
import { createServer, Server } from "https"
import puppeteer, {
Browser,
BrowserLaunchArgumentOptions,
Protocol
} from "puppeteer-core"
import { Page } from "./types"
import Cookie = Protocol.Network.Cookie
"""
in radius1 s .=3.0 n=2
in radius2 s .=3.0 n=2
in radius3 s .=3.0 n=2
in depth s .=3 n=2
out centers v
out radii s
"""
# Code block below is from https://github.com/lsandig/apollon/apollon.py (GPL License)
@AdriDevelopsThings
AdriDevelopsThings / main.py
Last active January 6, 2021 17:09
Spam phishing site.
from argparse import ArgumentParser
from threading import Thread, Lock
from time import sleep
requires = ["names", "PySocks", "requests"]
import random
import sys
import names
import requests
@kelseyneuenswander
kelseyneuenswander / Strings.ipynb
Created April 23, 2020 19:44
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@p1ho
p1ho / Cache.js
Created February 25, 2019 07:20
Cache that implements expiration on top of flat-cache
'use strict'
const flatCache = require('flat-cache')
module.exports = class Cache {
constructor (name, path, cacheTime = 0) {
this.name = name
this.path = path
this.cache = flatCache.load(name, path)
this.expire = cacheTime === 0 ? false : cacheTime * 1000 * 60
@gcalmettes
gcalmettes / README.md
Last active May 2, 2021 20:51
Visual exploration of the DeQuan Li attractor

Real-time orthographic projection of the Dequan Li attractor.

The attractor shape can be explored while the attractor is live-rendered by selecting different sets of angles to rotate the scene along the X and Z axes. Initials values of x,y,z (initial data point) can be chosen as well.

The rendering of the attractor is done by canvas, while the axis are rendered by svg.

Visualization of other attractors:

@umidjons
umidjons / sort-object-properties-by-value.md
Last active January 16, 2024 13:00
JavaScript: sort object properties by value (numeric or string)

Sort object properties by value (values are text)

I have following object:

var cities={10:'Tashkent', 14:'Karakalpakiya', 16:'Andijan'};

I want sort it by city names, so after sort it should be:

var cities={16:'Andijan', 14:'Karakalpakiya', 10:'Tashkent'};

But I can't sort object properties, instead can convert object into array, then sort items.

@s-shin
s-shin / spigot.js
Created August 16, 2012 08:18
Simple Pi calculation library for JavaScript
/**
* spigot.js
* version 1.1.0
* (C) 2012 shin <s2pch.luck at gmail.com>
* Licensed under the Apache License 2.0
* http://opensource.org/licenses/apache2.0
*
* The Pi calculation is based on the spigot (streaming) algorithm[1].
* This library depends on jsbn[2] (jsbn.js and jsbn2.js),
* one of BigInteger library written by pure JavaScript.