This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
ACCOUNT_ID = "ACCOUNT ID" | |
def bytes_to_gb(bytes_value): | |
return bytes_value / 1000 / 1000 / 1000 | |
def bytes_to_mb(bytes_value): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import aiohttp | |
import aiofiles | |
from urllib.parse import unquote | |
import whisper | |
from typing import Union | |
from fastapi import FastAPI | |
model = whisper.load_model("tiny.en") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Stake Reload Claimer | |
// https://stake.com/?tab=reload&modal=vip | |
function tryClaimReload() { | |
const claimButton = document.querySelector("button[type='submit'].variant-success"); | |
if (claimButton && !claimButton.disabled) { | |
claimButton.click(); | |
} | |
} | |
setInterval(tryClaimReload, 1000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var QRCode; !function () { function a(a) { this.mode = c.MODE_8BIT_BYTE, this.data = a, this.parsedData = []; for (var b = [], d = 0, e = this.data.length; e > d; d++) { var f = this.data.charCodeAt(d); f > 65536 ? (b[0] = 240 | (1835008 & f) >>> 18, b[1] = 128 | (258048 & f) >>> 12, b[2] = 128 | (4032 & f) >>> 6, b[3] = 128 | 63 & f) : f > 2048 ? (b[0] = 224 | (61440 & f) >>> 12, b[1] = 128 | (4032 & f) >>> 6, b[2] = 128 | 63 & f) : f > 128 ? (b[0] = 192 | (1984 & f) >>> 6, b[1] = 128 | 63 & f) : b[0] = f, this.parsedData = this.parsedData.concat(b) } this.parsedData.length != this.data.length && (this.parsedData.unshift(191), this.parsedData.unshift(187), this.parsedData.unshift(239)) } function b(a, b) { this.typeNumber = a, this.errorCorrectLevel = b, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [] } function i(a, b) { if (void 0 == a.length) throw new Error(a.length + "/" + b); for (var c = 0; c < a.length && 0 == a[c];)c++; this.num = new Array(a.length - c + b); for |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Net; | |
using System.Net.Http.Json; | |
Console.Title = "[ DISCORD USERNAME CHECKER ]"; | |
const int numberOfRetries = 3; | |
const string proxiesPath = "proxies.txt"; | |
const string usernamesPath = "usernames.txt"; | |
var cts = new CancellationTokenSource(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!(args.Length > 0 && int.TryParse(args[0], out int limit))) | |
limit = 100; | |
for (int i = 0; i <= limit; i++) | |
{ | |
Console.WriteLine((i % 3 is 0, i % 5 is 0) switch | |
{ | |
(true, true) => "FizzBuzz", | |
(true, false) => "Fizz", | |
(false, true) => "Buzz", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define ENABLE_CACHE | |
namespace Levenshtein; | |
public static class LevenshteinStringMetric | |
{ | |
#if ENABLE_CACHE | |
public static int MeasureStringDistance(string source, string target) => LevImpl(source, target, new Dictionary<(int, int), int>()); | |
private static int LevImpl(string a, string b, Dictionary<(int, int), int> cache) |