Skip to content

Instantly share code, notes, and snippets.

View megat69's full-sized avatar
💻
Creating my own programming language !

TheAssassin megat69

💻
Creating my own programming language !
View GitHub Profile
@Julynx
Julynx / 15_python_tips.md
Last active June 24, 2024 11:05
15 Python Tips To Take Your Code To The Next Level!
@ZRunner
ZRunner / Me and mee6.md
Last active July 15, 2023 16:24
Why I left MEE6

I leave MEE6, and here is why

TL;DR

To make a long story short: due to some internal problems in the MEE6 organization, which were identified and recognized years ago but never considered important by the bot administration, it is time for me to officially step down from my volunteer role along with a number of my mates and friends.

MEE6: The beginning

I started my journey with MEE6 almost as soon as I arrived on Discord, in 2017. It was then the only Discord bot I knew, and I loved its then all-white and very simplistic dashboard, its small and very welcoming community (there was even a French-only channel!), and the general atmosphere of the bot. It was not uncommon to chat with Anis, the founder of MEE6, about many things. I especially remember the day when he leaked what was going to become the xp leaderboard page, now known by all. I have really good memories of that time.

@megat69
megat69 / README.md
Last active April 15, 2021 15:18
Multiple files downloader from URL

Multiple files downloader from URL

Requirements

Please install the libraries requests and tqdm first.

A version without TQDM (the progress bars library) is also available. This version will use prints instead, and is less nice for the user.

Instructions

Run this file from the command prompt

@Rishi-Bidani
Rishi-Bidani / tkinterVerticalScroll.py
Last active May 31, 2021 10:36
This python class will create a vertical scroll region for you to use in any tkinter project.
import tkinter as tk
from tkinter import ttk
class CreateVerticalScrollRegion:
def __init__(self, frame, canvascolor, scrollSide=tk.RIGHT):
self.frame = frame
self.canvascolor = canvascolor
self.scrollSide = scrollSide
self.canvas = tk.Canvas(self.frame)
@linuswillner
linuswillner / psa.md
Last active May 30, 2022 01:43
Public service announcement from The Coding Den staff about social engineering being utilised as an attack vector for server takeovers

Today, on the 27th of March 2021, The Coding Den was subjected to a social engineering attack that lead to a brief hostile takeover of the server before the situation was brought under control by staff. We are sharing this statement as a public service announcement on the methodology used in the scam and possible remediations to prevent it, in order to help other staff teams avoid becoming victims of it.

Methodology

The attack proliferates as follows:

  1. The attacker will look for a staff member who is presently offline. This will ensure that it appears as if the staff member's account was globally banned and forcefully booted offline.
  2. It is within the attacker's interest to choose a target with the highest possible privileges (to do the maximum amount of damage), meaning that they will likely prefer administrators over moderators and so forth.
  3. The attacker will create a new Discord account with the same name and profile picture as the target.
  4. The attacker will approach a staff member, claiming
@megat69
megat69 / README.md
Last active May 21, 2024 07:42
Download GitHub repository

Repository downloader

This Python script allows you to download a public GitHub repository extremely quickly.

Usage

download_repo()

This function is the function that will download the repository.

Parameters

URL

This is required parameter.

@Cobertos
Cobertos / github-only-readme.js
Created January 11, 2021 14:16
GitHub Only Readme
// ==UserScript==
// @name GitHub Only Readme
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Replace the contents of a GitHub page with just the contents of the README (for a dashboard uwu)
// @author You
// @match https://github.com/Cobertos/Cobertos/blob/master/README.md
// @grant none
// ==/UserScript==
@MPThLee
MPThLee / enableDiscordExperiments.js
Last active June 20, 2024 12:30
This code doesn't work anymore. I just decided to remove this code. You can check working code on comments.
/**
* !!!! This code doesn't work anymore !!!!
*
* - You can check working code on comments. I won't update this code anymore.
*
* Also, I just decided to remove this code. You can check revisions for old code.
* Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore.
* I don't want people keep arguing in the comments, i decided to remove this code.
*
* Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything.
@citrusui
citrusui / dropdown.md
Last active July 17, 2024 17:15
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<details>
<summary>How do I dropdown?</summary>
<br>
This is how you dropdown.