Skip to content

Instantly share code, notes, and snippets.

aataha0 /
Last active June 25, 2023 08:36
Clyde is Discord's AI Chatbot currently in alpha ( Here lays attempts made at reverse engineering the prompt it uses. Clyde can also see the previous 50 messages in chat.

You are an AI named Clyde - and are currently chatting in a Discord server.

Consider the following in your responses:

  • Be conversational
  • Add unicode emoji to be more playful in your responses
  • Write spoilers using spoiler tags. For example ||At the end of The Sixth Sense it is revealed that he is dead||.
  • You can also reply with a gif, by using @gif("description of the gif you want to send"), for example if you wanted to send a cat gif, you would do: @gif("happy cat"). Gifs are a great way to represent emotion, and you should use them in your replies from time to time to add flavor to the conversation.
  • You can mention people by adding a @ before their name, for example if you wanted to mention yourself you should say @Clyde.

Format text using markdown:

JohannesMP /
Last active July 19, 2024 10:12 — forked from ExordiumX/betaenabler.js
Enabling Discord Dev Experiments on Discord for Windows (2022-02)

Enable Dev Experiments in Discord for Windows


This guide shows how to enable dev mode for the Discord desktop application running on Windows (as of February 2022).

This can be used to view beta experiments to try features currently in development that are included but hidden by default in Discord release builds.

Acendro / Youtube_Playlist_Cleanser.js
Last active June 15, 2023 15:03
Removes watched videos from playlist either by %watched or removes all videos of that playlist // tampermonkey
// ==UserScript==
// @name Youtube Playlist Cleanser 1.0
// @namespace Youtube Playlist Cleanser 1.0
// @version 1.0
// @description Removes watched videos from playlist either by %watched or all
// @author Acendro
// @include http*://**
// @include http*://*
// @include http*://**
// @include http*://*
maratori / .golangci.yml
Last active July 21, 2024 10:49
Golden config for golangci-lint
# This code is licensed under the terms of the MIT license
# Copyright (c) 2021 Marat Reymers
## Golden config for golangci-lint v1.59.1
# This is the best config for golangci-lint based on my experience and opinion.
# It is very strict, but not extremely strict.
# Feel free to adapt and change it for your needs.
MeguminSama / Discord Experiments.js
Last active July 15, 2024 21:37
Discord Experiments.js
let cache; webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=r.c]);
var UserStore = Object.values(cache).find(m => m?.exports?.default?.getUser).exports.default;
var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes);
var user = UserStore.getCurrentUser();
actions.find(n => === "ExperimentStore").actionHandler.CONNECTION_OPEN({
type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [],
actions.find(n => === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN();
webpackChunkdiscord_app.pop(); user.flags &= ~1; "done";

'Users hate change'

This week NN Group released a video by Jakob Nielsen in which he attempts to help designers deal with the problem of customers being resistant to their new site/product redesign. The argument goes thusly:

  1. Humans naturally resist change
  2. Your change is for the better
  3. Customers should just get used to it and stop complaining

There's slightly more to it than that, he caveats his argument with requiring you to have of course followed their best practices on product design, and allows for a period of customers being able to elect to continue to use the old site, although he says this is obviously only a temporary solution as you don't want to support both.

# To use this, you need Python 3.5+ and pip.
# 1. Make a new Discord app with a bot.
# 2. Set environment variable SIMPLEWORDS_TOKEN on your computer to the bot's Token.
# Unix/Mac: export SIMPLEWORDS_TOKEN=MzABCDefghIJKLmnopQRSTuv.EnZ3kg.b5bdD74CKCr3du679hkemGJ7R7N
# PowerShell: $env:SIMPLEWORDS_TOKEN='MzABCDefghIJKLmnopQRSTuv.EnZ3kg.b5bdD74CKCr3du679hkemGJ7R7N'
# 3. Invite the bot to your server:
Muqsit / StringUtils.php
Created January 16, 2018 15:59
minet str center
* Source from:
namespace cosmiccore\miscs;
use pocketmine\utils\TextFormat as TF;
class StringUtils {
astamicu / Remove videos from Youtube Watch Later
Last active July 14, 2024 18:28
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();
anonymous / words
Created October 10, 2017 15:44
[a, auto] [p, play] [toggle]* 0 parameter(s)
[admin]* [cmds, commands] [reload] 0 parameter(s)
[admin]* [eval] 1 parameter(s)
[admin]* [gc] 0 parameter(s)
[admin]* [get, find] [servers, guilds] [mutual]* 1 parameter(s)
[admin]* [history] [get]* 2 parameter(s)
[admin]* [throw error, throwerror] 0 parameter(s)
[admin]* [usage] 0 parameter(s)
[b, previous, prev, back] [track]* 0 parameter(s)
[bot]* [set] [name] 1 parameter(s)