Skip to content

Instantly share code, notes, and snippets.

@X-Gorn
X-Gorn / acefile-bypasser.user.js
Last active July 13, 2024 08:28
AceFile auto redirect to drive link. drive link will automatically copied to the clipboard.
// ==UserScript==
// @name Acefile Bypasser
// @namespace https://xgorn.is-a.dev/
// @downloadURL https://gist.github.com/X-Gorn/eb4de448e08509d414f34b55b5551720/raw/acefile-bypasser.user.js
// @updateURL https://gist.github.com/X-Gorn/eb4de448e08509d414f34b55b5551720/raw/acefile-bypasser.user.js
// @version 1.0.1
// @description AceFile auto redirect to drive link. drive link will automatically copied to the clipboard.
// @author Noid Darkstar
// @include /^https?:\/\/acefile.co\/(?:f|player)\/\w+(?:\/[-_\w]+)?/
// @icon https://www.google.com/s2/favicons?sz=64&domain=acefile.co
@rutcreate
rutcreate / README.md
Last active July 22, 2024 12:23
Install Python 3.10.x on Ubuntu 20.04

Prerequisite

sudo apt update
sudo apt install software-properties-common -y

Add custom APT repository

@AadilGillani
AadilGillani / smali-cheatsheet.txt
Created October 1, 2021 06:49
Smalli Cheat-Sheet
A little help in Smali
(To be supplemented)
#
general information
#
Smali
Types
Dalvik bytecode has two main type classes, primitive types and reference types. Reference types are objects and arrays, everything else is primitive.
@MohammadHosseinGhorbani
MohammadHosseinGhorbani / conversation.py
Last active May 8, 2024 09:10
Conversations in pyrogram (no extra package needed)
from pyrogram import Client, filters
app = Client('CONVERSATION_EXAMPLE')
conversations = {}
infos = {}
def conv_filter(conversation_level):
def func(_, __, message):
return conversations.get(message.from_user.id) == conversation_level
@scraperdragon
scraperdragon / chrome2requests.py
Created August 22, 2012 11:25
Convert Chrome headers to Python's Requests dictionary
dict([[h.partition(':')[0], h.partition(':')[2]] for h in rawheaders.split('\n')])