Skip to content

Instantly share code, notes, and snippets.

Avatar

Mcpie mcpie87

View GitHub Profile
View minesweeper-generator-discord.js
const BOMBS = 20;
const COLS = 9;
const ROWS = 10;
const CHARS = " 123456789*";
const map = Array.from({ length: ROWS }, () =>
Array.from({ length: COLS }, () => CHARS[0])
);
for (let i=0; i<BOMBS; ++i) {
let r1, r2;
View classic_honeypot.sol
/**
*Submitted for verification at BscScan.com on 2021-11-18
*/
/**
PuppyPal is fair launching today at 18.00UTC with $FLOKI reflections for every transaction and products including PuppyPal Rescue Mobile Game and PuppyPal’s NFT-platform📱🎮 Massive marketing push starting today with an experienced and devoted community developer team behind📍Join the Telegram and witness the PuppyPal rocket take off today💎🚀
Why join the PuppyPal community?
- PuppyPal Mobile Rescue Game (launching for iOS and Android on January 12th)📱
- PuppyPal NFT platform (launching December 15h)🖥
@mcpie87
mcpie87 / convert-to-tally.js
Last active Apr 7, 2021
GI - convert extracted wishes to wish tally format
View convert-to-tally.js
const fs = require('fs');
const GACHA_TYPES = [
"STANDARD",
"NOVICE",
"WEAPON",
"CHARACTER",
]
const GACHA_TYPE = process.argv[2];
if (!GACHA_TYPES.includes(GACHA_TYPE)) {
console.log("Invalid gacha type. Available types are:\n" + (GACHA_TYPES).map(e => "\t- " + e).join("\n"))
@mcpie87
mcpie87 / extract-wishes.js
Created Apr 7, 2021
GI - extract wish history (node 14)
View extract-wishes.js
const https = require('https')
const fs = require('fs');
const FEEDBACK_URL = "PLACE YOUR FEEDBACK URL HERE"
const PAGE_SIZE = 20;
const DELAY = 1000;
const GACHA_MAP = {
"STANDARD": 200,
"NOVICE": 100,
"WEAPON": 302,