Skip to content

Instantly share code, notes, and snippets.

View advaith1's full-sized avatar
👨‍💻
hi

advaith advaith1

👨‍💻
hi
View GitHub Profile
@advaith1
advaith1 / embednewline.txt
Created November 3, 2017 22:27
To create newlines in embeds, place the gist content where you want the line break. To create empty lines, use this: `_ _` Thanks to AS04™#2793!
START[ ]END
@advaith1
advaith1 / net-neutrality-rp.json
Last active December 13, 2017 00:57
config file for SimplePresence. Go to [...] for more info and available image options.
{
"textConfig": {
"details": "Save Net Neutrality",
"state": "Break the Internet: https://breaktheinternetprotest.org/"
},
"imageConfig": {
"smallKey": "stopthefcc",
"largeKey": "breaktheinternet",
"smallText": "#STOPTHEFCC",
"largeText": "Break the Internet to save Net Neutrality. Take action and pass it on.",
@advaith1
advaith1 / net-neutrality-rp.md
Last active December 13, 2017 01:00
Info for Net Neutrality Rich Presence
<!--- page style --->
<style>
.page {
color: #ffffff !important;
}
p {
color: #ffffff !important;
}
html {
background-color: #2C2F33 !important;
@advaith1
advaith1 / wordflags.md
Last active April 30, 2018 02:02
Word Flags

Word Flags

  • a: The word is offensive.
  • b: The word might be found in most dictionaries.
  • c: The pronunciation is known with confidence. It was not automatically generated.

Keybase proof

I hereby claim:

  • I am advaith1 on github.
  • I am advaithj (https://keybase.io/advaithj) on keybase.
  • I have a public key ASByKvk4xRuUQK_xYamwjpeAvJjeMUq3HuYmR63yEt0ULQo

To claim this, I am signing this object:

@advaith1
advaith1 / redirect.html
Created December 21, 2017 18:27
Redirects the page to a new url.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Redirecting...</title>
<meta HTTP-EQUIV="REFRESH" content="0; url=/newurl">
<link rel="canonical" href="/newurl" /></head>
<body>
<a href="/newurl">Click here if you are not redirected automatically.</a></body>
</html>
@advaith1
advaith1 / drp-ext-doc.md
Last active September 23, 2023 18:46
Documentation for the Discord Rich Presence extension

Discord Rich Presence Extension Documentation

0. Create an app

First, create an application at Discord's New App page.

Set the App Name to the title of your Rich Presence playing status. For example, if you want Playing with discord, set the app name to with discord. You don't need to set a Redirect URI, Description, or App Icon, just click Create App. New App screenshot

Next, click Enable Rich Presence here: Enable Rich Presence screenshot

Now you can upload your images.

@advaith1
advaith1 / domain-price-changes-2023.md
Created July 19, 2023 21:34
2023 Domain Price Changes

Data from Cloudflare

Due to changes in the Registry pricing, our fees for the following TLDs will be changing. All transactions, including auto-renewals, that occur on or after the effective date will be billed at the new price. As a reminder, renewals can be submitted manually at any time.

[
"ACTIVITIES_ALPHA",
"ACTIVITIES_EMPLOYEE",
"ACTIVITIES_INTERNAL_DEV",
"ANIMATED_BANNER",
"ANIMATED_ICON",
"APPLICATION_COMMAND_PERMISSIONS_V2",
"AUTOMOD_TRIGGER_KEYWORD_FILTER",
"AUTOMOD_TRIGGER_ML_SPAM_FILTER",
"AUTOMOD_TRIGGER_SPAM_LINK_FILTER",