Skip to content

Instantly share code, notes, and snippets.

View ItsMitlit's full-sized avatar
😈

Mitlit ItsMitlit

😈
View GitHub Profile
@ItsMitlit
ItsMitlit / cloudflare-pterodactyl-tunnels.md
Last active September 7, 2025 10:59
Use cloudflare tunnels inside pterodactyl nodejs project

How to run a Cloudflare Tunnel inside a Pterodactyl Server

1. Install cloudflared

npm install cloudflared

2. Login to cloudflare

npx cloudflared tunnel login

3. Create the tunnel

npx cloudflared tunnel create my-app

4. Create a config file

The file must be named config.yml and should be inside the .cloudflared directory.

@ItsMitlit
ItsMitlit / moddownloader.js
Last active February 10, 2025 03:42 — forked from c4software/download-multiple-files.js
Download multiple files then compress to one zip file using JSZip & JSZip-utils
var fs = require('fs');
var JSZip = require('jszip');
var JSZipUtils = require('jszip-utils');
var saveAs = require('file-saver');
var zip = new JSZip();
var count = 0;
var zipFilename = "modpack.zip";
var urls = [];
@ItsMitlit
ItsMitlit / pteroads.md
Created October 1, 2023 01:18
Add ads to Pterodactyl panel

How to insert ads on Pterodactyl

  • Run sudo -i

  • Navigate to /var/www/pterodactyl/resources/views/templates

  • Open the wrapper.blade.php file by running nano wrapper.blade.php

  • Insert your ad code wherever they asked you to. e.g. above </body> or above </head>

  • Save your changes by doing CTRL + X and reload your webpage