Skip to content

Instantly share code, notes, and snippets.

@Sitois
Sitois / README.md
Last active July 11, 2024 17:57
Add a profile theme to Discord bots!

How to add a profile theme to your Discord bot:

Install Vencord

Install vencord from here: https://vencord.dev/

FakeProfileThemes

Enable the "FakeProfileThemes" plug-in from the "Plugins" tab in the "Vencord" section in settings.
Choose your bot's profile theme in the Profile tab and go down to the "Try Nitro" section and choose the theme you want.

Set the profile theme to your bot

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active April 16, 2025 16:50
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
@OrionReed
OrionReed / dom3d.js
Last active April 15, 2025 05:22
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@ghostrider-05
ghostrider-05 / discord_app_protocols.md
Last active April 15, 2025 12:37
An unofficial list of discord app protocol routes

Discord app protocol routes

Home:

  • /: discord://-/
  • friends: discord://-/channels/@me/
  • nitro: discord://-/store
  • shop: discord://-/shop
  • message requests: discord://-/message-requests
  • family centre: discord://-/family-center
@shvchk
shvchk / xdotool-nofail
Created February 28, 2021 15:45
Do not let xdotool fail, see jordansissel/xdotool#60
#! /usr/bin/env sh
T0=$(date +%s)
while [ $(( `date +%s` - T0 )) -lt 10 ]; do
[ -z "$(xdotool $@ 2>&1)" ] && break
sleep 0.1
done
@keberwein
keberwein / restart_nginx.bat
Created September 2, 2016 16:28
Restart Nginx Windows
@ECHO OFF
cd /nginx
taskkill /f /IM nginx.exe
start nginx
EXIT
@matthewhartman
matthewhartman / install-fonts.txt
Created March 1, 2015 11:27
Install TTF Fonts in Debian
cd fonts
mv *.ttf /usr/share/fonts/truetype
cd /usr/share/fonts/truetype
mkfontscale
mkfontdir
fc-cache
xset fp rehash