This file contains hidden or 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 crypto from "crypto"; | |
import fs from "fs"; | |
import path from "path"; | |
// ===== Configuration ===== | |
const AES_SECRET_PATH = path.join(process.cwd(), "aes-secret.key"); | |
// ===== AES Secret Initialization ===== |
This file contains hidden or 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
const http = require('http'); | |
const https = require('https'); | |
const { URL } = require('url'); | |
function createProxy(targetBase) { | |
const targetBaseUrl = new URL(targetBase); | |
return async function (req, res, next) { | |
try { | |
// Reconstitue l'URL finale avec le path et les query params |
This file contains hidden or 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 fetch from 'node-fetch'; | |
import { RequestInit, Response } from 'node-fetch'; | |
import { config } from 'dotenv'; | |
config({ path: "./config/.env" }); | |
// Example usage: | |
/* | |
import { WeightsApi } from './weights-api'; | |
const api = new WeightsApi('your-api-key'); |
This file contains hidden or 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
const fs = require('fs'); | |
const path = require('path'); | |
const axios = require('axios'); | |
// Load JSON file with URLs | |
const urls = require('./urls.json'); // Adjust the path to your JSON file | |
// Directory to save downloaded files | |
const outputDir = path.join(__dirname, 'downloads'); | |
if (!fs.existsSync(outputDir)) { |
This file contains hidden or 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
const express = require('express'); | |
const fetch = require('node-fetch'); | |
const fs = require("fs"); | |
const sha256 = require('sha256'); | |
const port = 5080; // Change this to the port of the server | |
// ======================================== | |
// UTILITY FUNCTIONS |
This file contains hidden or 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
MTI1Mzc4OTQ0NTE0OTQyOTk1Mg.GwTSFP.fAsmy5B3mBNwWA_03wbHpJJboAzkvc0Fw2yV6Y |
This file contains hidden or 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
webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=Object.values(r.c)]); | |
var UserStore = cache.find(m => m?.exports?.default?.getCurrentUser).exports.default; | |
var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes); | |
var user = UserStore.getCurrentUser(); | |
actions.find(n => n.name === "ExperimentStore").actionHandler.CONNECTION_OPEN({ | |
type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [], | |
}); | |
actions.find(n => n.name === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN(); | |
webpackChunkdiscord_app.pop(); user.flags &= ~1; "done"; |
This file contains hidden or 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
## ORIGINAL GAME FROM FIME | |
from math import * | |
from ruin_move import * | |
from kandinsky import fill_rect as drawRect,draw_string as drawTxt,get_pixel as getPxl | |
#from ion import keydown as key | |
from time import monotonic as cTime,sleep | |
from random import randint as rInt,seed as rSeed | |
TARG_SPF=0.02 #50fps |
This file contains hidden or 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
# This comment was added automatically to allow this file to save. | |
# You'll be able to remove it after adding text to the file. | |
from math import * | |
from kandinsky import * | |
from time import * | |
from kandinsky import fill_rect as fl | |
from kandinsky import draw_line as dl | |
p=[200,200,-100,-100,30,10] | |
def cube(x,y,a,b,z,z_,d=None): | |
if d==1:_z=[x+z,y-z_] |
This file contains hidden or 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
from math import * | |
from kandinsky import * | |
from time import * | |
from kandinsky import fill_rect as fl | |
from kandinsky import draw_line as dl | |
p=[200,200,-100,-100,30,10] | |
def cube(x,y,a,b,z,z_,d=None): | |
if d==1:_z=[x+z,y-z_] | |
elif d==2:_z=[x-z,y-z_] | |
elif d==3:_z=[x-z,y+z_] |