Skip to content

Instantly share code, notes, and snippets.

View MAPReiff's full-sized avatar

Mitchell Reiff MAPReiff

View GitHub Profile
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 4, 2024 17:21
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@aamiaa
aamiaa / RevertNewLayout.md
Last active April 29, 2024 21:25
Revert New Discord Layout

The original snippet no longer works!

On 02/09/2024 at around 8pm UTC, Discord flipped an experiment (2023-09_mobile_redesign_override_toggles) which ignores the layout toggle that this script relied on.

If you want to continue using the old layout, you can either use a modded mobile client (such as Vendetta) to disable that experiment, or downgrade to an old version of the app.

Method 1 - Downgrading (Android)

Tip

Use this one if you want a fast, beginner-friendly solution and don't mind using a version from November 2023

  1. Download version 205.15 of Discord mobile app from ApkMirror
@hackermondev
hackermondev / ClydeAI-Jailbreak.md
Last active November 15, 2023 02:53
Discord ClydeAI jailbreak
@sarimarton
sarimarton / fix_github_copilot.sh
Last active April 24, 2024 06:59
Fix Github Copilot in dealing with self-signed certificates
# [2023-05-25] Added Copilot Chat, and VSCode Insiders
# [2023-05-20] Add VSCode Insiders variant
# [2023-02-22] Added Copilot Labs
# Fix Github Co-pilot self-signed cert problem
# See: https://github.com/orgs/community/discussions/8866#discussioncomment-3517831
# Note
#
# To make Github Copilot/Nightly/Labs/Chat work, you might need additional
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
<style>
/*
// ==UserScript==
// @name r/place Alliance of New York Institutions bot
// @namespace http://tampermonkey.net/
// @version 3.0
// @description place tile bot
// @author Thanks Jared.
// @match https://hot-potato.reddit.com/embed*
// @updateURL https://gist.github.com/Felixnightshade/bfd0ab22293121931e5997d788ae6ae9/raw/ANYI_Place_Bot.user.js
// @downloadURL https://gist.github.com/Felixnightshade/bfd0ab22293121931e5997d788ae6ae9/raw/ANYI_Place_Bot.user.js
// @grant GM_xmlhttpRequest
// ==UserScript==
// @name r/place Alliance of New York Institutions bot
// @namespace http://tampermonkey.net/
// @version 1.0
// @description place tile bot
// @author Credit to Jared.
// @match https://hot-potato.reddit.com/embed*
// @updateURL https://gist.github.com/Alliance-of-New-York/0cd5ba86762b88d649218d92afc7a3cf/raw/placetesla.user.js
// @downloadURL https://gist.github.com/Alliance-of-New-York/0cd5ba86762b88d649218d92afc7a3cf/raw/placetesla.user.js
// @grant GM_xmlhttpRequest
@amishshah
amishshah / discordjs.md
Created October 22, 2021 22:36
tl;dr i'm stepping down as owner of discord.js!

Hello! I'm Amish (also known as hydrabolt), and I am the creator of discord.js.

I created discord.js as a hobby/learning project for myself in August 2015 while I was still a teenager in school.

More than 6 years later, discord.js has become more popular than I could ever imagine, and I cannot express how grateful I am to the other contributors and the community for this amazing experience.

A few of my favourite highlights include:

  • The countless voice rewrites (I think we're done with that now 😉)
  • The April Fools' traditions
@LeviSnoot
LeviSnoot / discord-timestamps.md
Last active May 3, 2024 16:25
Discord Timestamp Syntax

Discord Timestamps

Discord timestamps can be useful for specifying a date/time across multiple users time zones. They work with the Unix Timestamp format and can be posted by regular users as well as bots and applications.

The Epoch Unix Time Stamp Converter is a good way to quickly generate a timestamp. For the examples below I will be using the Time Stamp of 1543392060, which represents November 28th, 2018 at 09:01:00 hours for my local time zone (GMT+0100 Central European Standard Time).

Formatting

Style Input Output (12-hour clock) Output (24-hour clock)
Default <t:1543392060> November 28, 2018 9:01 AM 28 November 2018 09:01
@Xarkam
Xarkam / KDE Spectacle copy screenshot to clipboard.md
Last active June 1, 2022 08:38
KDE Spectacle copy screenshot to clipboard
  • sudo apt-get install xclip
  • Configure spectacle to use Rectangular Selection, default save to /some/path/Screenshot_%Y%M%D_%H%m%S
  • Configure PrintScreen for rectangular selection via custom shortcuts
  • Try it - once you select the area and hit enter it should show the pop-up notification about saved file.
  • On this notification select the settings button
  • In the notification settings enable "Run command" and set it as /usr/bin/xclip -selection clipboard -target image/png -i $(ls -1tr /some/path/Screenshot_*.png | tail -n 1)