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
| """ | |
| MIT License | |
| Copyright (c) 2019-2021 noaione | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
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
| [ | |
| { | |
| "id": 0, | |
| "name": { | |
| "default": "General" | |
| }, | |
| "is_primary": true | |
| }, | |
| { | |
| "id": 1, |
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
| // ==UserScript== | |
| // @name TweetDeck Enforcer | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1.2 | |
| // @description Force using Tweetdeck instead of Twitter | |
| // @updateURL https://gist.github.com/noaione/a405844de481f8aa1cefd41c8b70cc29/raw/tweetdeckenforcer.user.js | |
| // @downloadURL https://gist.github.com/noaione/a405844de481f8aa1cefd41c8b70cc29/raw/tweetdeckenforcer.user.js | |
| // @author noaione | |
| // @match https://twitter.com/* | |
| // @icon https://www.google.com/s2/favicons?domain=twitter.com |
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
| { | |
| "version": 1, | |
| "notes": "", | |
| "documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n", | |
| "keyboard": "mwstudio/mw75", | |
| "keymap": "default", | |
| "layout": "LAYOUT", | |
| "layers": [ | |
| [ | |
| "KC_ESC", |
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
| """ | |
| Simple script to download MangaDex manga/titles. | |
| It will download all chapters specified with selected languages. | |
| Usage: | |
| python mangadex-dl.py | |
| You will then be asked to enter the title UUID. |
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
| """ | |
| This is a simple IRC bot client that I made using asyncio. | |
| Need Python 3.7+ | |
| No additional packages required | |
| You can modify some variables at some part on the bottom of the file. | |
| After that just run: python3 irc-bot-async.py | |
| """ |
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
| from typing import TYPE_CHECKING, Optional | |
| import disnake.state | |
| from disnake import ApplicationCommandInteraction, ComponentType, MessageInteraction, ModalInteraction | |
| if TYPE_CHECKING: | |
| from disnake.types.interactions import ( | |
| ApplicationCommandInteraction as ApplicationCommandInteractionPayload, | |
| ) |
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
| """ | |
| A simple pdf image and text extractor. | |
| This script will help you extract your pdf into a folder | |
| where you can see all the image and "screenshoted" text of your pdf/ebooks. | |
| This program use argparse, you can run it with the following command: | |
| python3 pdfsnap.py -h | |
| To see all the command. |
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
| """ | |
| This tool help descramble a single image from MangaHot website. | |
| Make sure it has the proper filename kinda like this: | |
| - content1_1647920106.2577.png | |
| The important part is the digit behind the extension, it's being used to get the type. | |
| Requirements: | |
| - Python 3.6 or better |
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
| # This script will crawl nginx index page and return | |
| # the list of valid files. | |
| import os | |
| import sys | |
| from typing import Dict, List | |
| from copy import deepcopy | |
| from urllib.parse import unquote | |
| import requests |