-
Download and install these two CLI tools:
-
Create a permanent folder on your file explorer named something like
BetterDiscordReinstall
. -
Depending on your Discord client, place the two batch programs in the folder:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cogs / test.py | |
from discord.ext import commands | |
class Test(commands.Cog): | |
def __init__(self, client): | |
self.client = client | |
@commands.hybrid_command() | |
@commands.cooldown(1, 10, commands.BucketType.user) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.Synopsis | |
Retrieves all available Exceptions to construct ErrorRecord objects. | |
.Description | |
Retrieves all available Exceptions in the current session to construct ErrorRecord objects. | |
.Example | |
$availableExceptions = Get-AvailableExceptionsList | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.Synopsis | |
Creates an custom ErrorRecord that can be used to report a terminating or non-terminating error. | |
.Description | |
Creates an custom ErrorRecord that can be used to report a terminating or non-terminating error. | |
.Parameter Exception | |
The Exception that will be associated with the ErrorRecord. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
<https://stackoverflow.com/questions/40296831/is-it-possible-to-force-a-copy-of-a-protected-google-doc> | |
NOTE - 2021-05-24 | |
----------------- | |
The script below isn't the fastest way to copy-and-paste from a protected | |
Google Doc. Before trying it, I'd suggest following MikoFrosty's advice from | |
the comments: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SQL Server 2017 | |
---------------- | |
Enterprise Core - 6GPYM-VHN83-PHDM2-Q9T2R-KBV83 | |
Developer - 22222-00000-00000-00000-00000 | |
Enterprise - TDKQD-PKV44-PJT4N-TCJG2-3YJ6B | |
Standard - PHDV4-3VJWD-N7JVP-FGPKY-XBV89 | |
Web - WV79P-7K6YG-T7QFN-M3WHF-37BXC | |
https://www.teamos-hkrg.com/index.php?threads/microsoft-sql-server-english-2017-rtm-teamos.42103/ |
Effective September 2021, Dropbox will be deprecating long-lived access tokens.
This GIST generally describes how to authenticate requests to Dropbox API v2, for anyone working on a server-side PHP Dropbox implementation.
It's important to understand three types of codes you'll encounter:
- Access Code - this is a one-time code that represents user-granted app access.
- Access Token - this is short-lived token that provides access to Dropbox API endpoints.
- Refresh Token - this is a long-lived token that allows you to fetch a fresh Access Token.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*{padding:0}html{overflow-y:scroll}:focus{outline:0}header,section{display:block}body{padding-bottom:15px;font-family:Verdana;font-size:12px}#container{-webkit-box-shadow:0 0 20px #ddd;-moz-box-shadow:0 0 20px #ddd;box-shadow:0 0 20px #ddd;border-bottom-left-radius:10px;border-bottom-right-radius:10px;-moz-border-radius-bottomleft:10px;-moz-border-radius-bottomright:10px;background-color:white}#content{clear:both}.content-rounded{-webkit-box-shadow:0 0 4px #ddd;-moz-box-shadow:0 0 4px #ddd;box-shadow:0 0 4px #ddd;border:1px solid #e0e0e0;padding:10px 10px 0 10px;border-radius:5px}#content header p{margin-bottom:5px;font-size:11px;color:#898989}#content header{border-bottom:1px dotted #e0e0e0;margin-bottom:5px}#content h1{text-decoration:none;font-family:'Arial Narrow',Arial;font-weight:normal;font-size:24px}#content h2{font-size:16px}#content h2{font-family:Arial;margin-bottom:5px;font-weight:bold;color:#232323}#content a:hover{text-decoration:underline}#content a{text-decoration:none}#content p{margin-bottom |
Filter | Description | Example |
---|---|---|
allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-Type -TypeDefinition @" | |
// Copyright (c) Damien Guard. All rights reserved. | |
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | |
using System; | |
using System.Collections.Generic; | |
using System.Security.Cryptography; | |
/// <summary> |