Skip to content

Instantly share code, notes, and snippets.

View the-pesar's full-sized avatar
💭
Focusing on DSA

Yasha the-pesar

💭
Focusing on DSA
View GitHub Profile
@the-pesar
the-pesar / script.js
Created September 28, 2024 18:49
$COUB airdrop task autocomplete
const token = "$token" // replace your token here
const headers = {
Authorization: token,
}
async function delay(ms) {
return new Promise((reslove) => setTimeout(() => reslove(true), ms))
}
async function makeMoney() {
@the-pesar
the-pesar / script.js
Created September 27, 2024 12:35
Withdraw hamster airdrop
const token = "$token" // replace your token to $token
const headers = {
Authorization: token,
}
async function delay(ms) {
return new Promise((reslove) => setTimeout(() => reslove(true), ms))
}
@the-pesar
the-pesar / script.ts
Created September 17, 2024 12:19
Major airdrop script
const token = "" // put your token here
async function delay(ms: number) {
return new Promise((reslove) => setTimeout(() => reslove(true), ms))
}
async function validateToken(token: string) {
const headers = { Authorization: token }
const res = await fetch(`https://major.bot/api/users/6946511911/`, {
@the-pesar
the-pesar / script.ts
Last active October 4, 2024 14:26
Cats airdrop script
const headers = {
authorization: "$token",
}
async function delay(ms) {
return new Promise((reslove) => setTimeout(() => reslove(true), ms))
}
async function makeMoney() {
for (let i = 1; i <= 500; i++) {
@the-pesar
the-pesar / script.js
Created September 13, 2024 10:56
To bypass airdrop Telegram miniapps preventation on computer
const el = document.createElement("iframe")
el.src = document.getElementsByTagName('iframe')[0].src.replace(/(tgWebAppPlatform=)[^&]+/, "$1android")
document.querySelector("iframe").remove()
el.height = "100%"
el.width = "100%"
document.querySelector(".web-app-body").appendChild(el)
@the-pesar
the-pesar / script.js
Last active October 7, 2024 11:34
DUCKS script airdrop
const token = "$token" // replace your token here
const headers = {
"Content-Type": "application/json",
Authorization: token,
}
async function delay(ms) {
return new Promise((reslove) => setTimeout(() => reslove(true), ms))
}
@the-pesar
the-pesar / index.js
Last active October 10, 2024 16:51
GOAT airdrop script
const headers = {
Authorization: "$token", // replace your token here
}
async function delay(ms) {
return new Promise((reslove) => setTimeout(() => reslove(true), ms))
}
async function getMissions() {
const res = await fetch("https://api-mission.goatsbot.xyz/missions/user", {
@the-pesar
the-pesar / gist:0831050e82814608e9a18171f9756277
Last active June 4, 2024 11:16
To upload multiple files in formdata Fiber (Go)
func UploadFile(c *fiber.Ctx) error {
	form, err := c.MultipartForm()

	if err != nil {
		log.Fatal(err)
	}

	files := form.File["file"]
@the-pesar
the-pesar / test
Created September 21, 2023 19:04
Another test
test