Skip to content

Instantly share code, notes, and snippets.

View TechStreetDev's full-sized avatar
🥔
potato

TechStreet TechStreetDev

🥔
potato
View GitHub Profile
@TechStreetDev
TechStreetDev / discord_layout.md
Last active August 16, 2024 12:27
This tutorial explains how to revert to the old (and better) discord mobile layout.

How to Revert New Discord Layout?

  1. Go to https://discord.com/app on your computer
  2. Press Ctrl + Shift + I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
let wpRequire;
window.webpackChunkdiscord_app.push([[ Math.random() ], {}, (req) => { wpRequire = req; }]);
@TechStreetDev
TechStreetDev / whmcs_autoaccept.md
Last active September 4, 2024 17:57
WHMCS Autoaccept

This script autoaccepts orders when using WHMCS

  1. Replace REPLACE_ME with a username of your admin (API) account.
  2. Upload the content below inside of ../includes/hooks/AutoAcceptOrders.php

Note: I did not make this original script, the original was published under MIT licence on a seperate repo but was later deleted.

<?php
function AutoAcceptOrders_accept($vars)
{