Skip to content

Instantly share code, notes, and snippets.

View benyamin-7's full-sized avatar

Benjamin Geoffrey benyamin-7

  • Lubek, Germany
View GitHub Profile
@delasy
delasy / apply-hamsterkombat-promo-code.js
Last active October 7, 2024 08:34
Script that randomly applies promo codes for HamsterKombat
// insert hamster-kombat-playground-games-promo-keys-generator.js here
// with removed `async function main() {...}` and `main().catch(Logger.panic);`
const { CronJob } = require('cron');
const HK_TOKEN = '<api-token>';
async function applyPromo(promoCode) {
await fetch('https://api.hamsterkombatgame.io/clicker/apply-promo', {
method: 'POST',
@robertsez
robertsez / README.md
Last active September 3, 2024 09:30
A simple frontend for Hamster Kombat promo key generator

Hamster Kombat key generator frontend 🐹

This HTML file serves as a simple, silly frontend for delasy's key generator gist.
Originally, the previously mentioned gist was a direct dependency on this gist, but after the owner made some breaking changes that made my monkey patching very difficult, I decided that it was easier to just maintain a dedicated fork (I've copied his code inside this gist directly).

Why did I create this?

@delasy
delasy / HAMSTER-KOMBAT-PLAYGROUND-GAMES-PRMO-CODE-KEYS-GENERATOR.md
Last active November 13, 2024 09:30
[FREE] Hamster Kombat playground promo code keys generator.

HamsterKombat Playground Promo Code Keys Generator

by @delasy

Warning

THIS SCRIPT IS NO LONGER MAINTAINED.

USE IT AT YOUR OWN RISK AFTER 2024-09-26.

This script is way more advanced than other scripts out there.

  • allows generating HamsterKombat coupon code for free using your machine.
@agn-7
agn-7 / pca_applicator.py
Created July 31, 2020 09:22
Apply PCA on a vector.
import numpy as np
import pandas as pd
import csv
import sys
from sklearn.decomposition import PCA
from sklearn.preprocessing import scale
__author__ = 'aGn'