Skip to content

Instantly share code, notes, and snippets.

View minh-ton's full-sized avatar
🌙

Minh Ton minh-ton

🌙
View GitHub Profile
@minh-ton
minh-ton / facey_bot.py
Last active August 22, 2021 10:43
A discord bot that detect faces from an image attachment.
import discord
import urllib.request
import cv2
import numpy as np
client = discord.Client()
@client.event
async def on_ready():
print('Logged in as {0.user}'.format(client))
@minh-ton
minh-ton / debmirror.sh
Last active July 23, 2021 13:45
Download most deb packages from a jailbreaking repo.
#!/bin/sh
repo=$1
output=$2
if [ -z $1 ] || [ -z $2 ]; then
echo
echo Usage: debmirror [repo url] [output]
echo + Example usage: "'debmirror https://repo.packix.com ~/packix'"
echo