| #!/usr/bin/env python3 | |
| # Download your data dump and place this file in the "messages" folder of your data dump. | |
| # Run it using python | |
| from datetime import datetime, timedelta, timezone | |
| import dateutil.parser | |
| import matplotlib.pyplot as plt | |
| import matplotlib.ticker as ticker | |
| import matplotlib.dates as mdates | |
| import csv |
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.
Tip
Use this one if you want a fast, beginner-friendly solution and don't mind using a version from November 2023
- Download version
205.15of Discord mobile app from ApkMirror
| <template> | |
| <div class="vm-placement" :data-id="adId" :style="rich ? { display: 'none' } : { }" :data-refid="refid"></div> | |
| </template> | |
| <script> | |
| export default { | |
| props: { | |
| adId: String, | |
| rich: Boolean | |
| }, |
type StringBool = "true"|"false";
interface AnyNumber { prev?: any, isZero: StringBool };
interface PositiveNumber { prev: any, isZero: "false" };
type IsZero<TNumber extends AnyNumber> = TNumber["isZero"];
type Next<TNumber extends AnyNumber> = { prev: TNumber, isZero: "false" };
type Prev<TNumber extends PositiveNumber> = TNumber["prev"];| """ | |
| If user has 2* or more concurrent streams and the IP of the 2nd stream differs from 1st kill 2nd. | |
| If 2nd stream IP is the same as 1st stream don't kill. | |
| *PlexPy > Settings > Notification> User Concurrent Stream Threshold | |
| The number of concurrent streams by a single user for PlexPy to trigger a notification. Minimum 2. | |
| PlexPy > Settings > Notification Agents > Scripts > Bell icon: | |
| [X] Notify on user concurrent streams |
| .rounded-corners-gradient-borders { | |
| width: 300px; | |
| height: 80px; | |
| border: double 4px transparent; | |
| border-radius: 80px; | |
| background-image: linear-gradient(white, white), radial-gradient(circle at top left, #f00,#3020ff); | |
| background-origin: border-box; | |
| background-clip: padding-box, border-box; | |
| } |
(Inspired by https://medium.com/@icanhazedit/clean-up-unused-github-rpositories-c2549294ee45#.3hwv4nxv5)
-
Open in a new tab all to-be-deleted github repositores (Use the mouse’s middle click or Ctrl + Click) https://github.com/username?tab=repositories
-
Use one tab https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall to shorten them to a list.
-
Save that list to some path
-
The list should be in the form of “ur_username\repo_name” per line. Use regex search (Sublime text could help). Search for ' |.*' and replace by empty.
