Skip to content

Instantly share code, notes, and snippets.

View quabey's full-sized avatar
🥰
what is this 'backend' everyone is talking about ?!

bey quabey

🥰
what is this 'backend' everyone is talking about ?!
View GitHub Profile
@quabey
quabey / add-a-bot.js
Last active July 18, 2025 20:46
Add-A-Bot run with node.js
import puppeteer from "puppeteer";
import cliProgress from "cli-progress";
// ───────── CONFIG ─────────
// Canvas URL:
const URL = "https://addapixel.com/";
// Worker configurations: each specifies its own sub-area and color.
// Adjust xStart, xEnd, yStart, yEnd, and colorIdx as needed.
const WORKER_CONFIGS = [
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig
plugins {
alias(libs.plugins.kotlinMultiplatform)
alias(libs.plugins.androidApplication)
alias(libs.plugins.composeMultiplatform)
@quabey
quabey / list_test.py
Created October 1, 2023 20:43
Fixed python tests
from list import summieren, reverse
def test_summieren():
assert summieren([1, 2, 3]) == 6
assert summieren([1, 2, 3, 4]) == 10
assert summieren([]) == 0
assert summieren([1, 2, 3, 4, -5]) == 5
def test_reverse():
@quabey
quabey / Password.java
Created February 19, 2021 08:49 — forked from craSH/Password.java
A simple example Java class to safely generate and verify bcrypt password hashes for use in authentication systems.
/**
* Author: Ian Gallagher <igallagher@securityinnovation.com>
*
* This code utilizes jBCrypt, which you need installed to use.
* jBCrypt: http://www.mindrot.org/projects/jBCrypt/
*/
public class Password {
// Define the BCrypt workload to use when generating password hashes. 10-31 is a valid value.
private static int workload = 12;