Skip to content

Instantly share code, notes, and snippets.

View masckmaster2007's full-sized avatar
🦃
🦃

Jean masckmaster2007

🦃
🦃
View GitHub Profile
@masckmaster2007
masckmaster2007 / GMDDownload.php
Created July 19, 2025 11:10
Download a file online and serve it to the user as a GMD file! Credits to MegaSa1nt ;)
<?php
function getGMDFile($levelID, $server) {
if(!is_numeric($levelID)) return false;
$post = [
'levelID' => $levelID,
'secret' => 'Wmfd2893gb7',
];
$index = [
"https://www.boomlings.com/database/downloadGJLevel22.php",
@masckmaster2007
masckmaster2007 / TI.sh
Created June 26, 2025 06:52
Proof of Concept Bash Script that installs any Texture Pack folder from Texture Workshop. MAKE A BACKUP OF GEODE'S & GD'S RESOURCES FOLDER, INSTALLATION IS PERMANENT.
read -p "GD Path (where there is Resources & geode): " gdpath
read -p "TP Path (Folder): " tppath
rm -rf $tppath/ui
for dir in $tppath/*/; do
[ -d "$dir" ] && cp -rf "$dir" $gdpath/geode/resources
done
cp -rf $tppath/* $gdpath/Resources
@masckmaster2007
masckmaster2007 / GJP-script.php
Created August 19, 2024 10:30
PHP Implementation of the GJP proxy. Use it locally (php -S localhost:PORT)
<?php
function xorCipher($string, $key) {
$keyLength = strlen($key);
$result = '';
for ($i = 0; $i < strlen($string); $i++) {
$char = $string[$i];
$keyChar = $key[$i % $keyLength];
$result .= chr(ord($char) ^ ord($keyChar));
@masckmaster2007
masckmaster2007 / notifications.js
Created May 4, 2024 11:03
Notification API Example
Notification.requestPermission().then(permission => {
if(permission !== "granted") return; // User refused notifications
const image = "https://dgdps.ix.tc/gd.png"; // Logo for notification
const target = "https://dgdps.us.to"; // Website to open if user clicks on it
const title = "Test"; // Notification title
const msg = "Salut"; // Notification body message
const notify = new Notification(title, { body: msg, icon: image }); // Builds notification
notify.onclick = function () {
window.open(target); // Open site
notify.close(); // Closes notification (x)
@masckmaster2007
masckmaster2007 / setup.md
Last active April 24, 2025 09:45
DindeGDPS' dgdps:// protocol - Creating a custom and compatible GDPS

Setting up a custom GDPS

You'll need:

  • A web server (hosting static sites)
  • Your GDPS
  • A brain

Note

Latest versions of DindeGDPS now support web hosts that add blank new lines! GitHub Pages can now be used!

1. Structure