Skip to content

Instantly share code, notes, and snippets.

@asklc
asklc / main.sh
Created April 19, 2025 08:42 — forked from pojntfx/main.sh
Cross-compile and package GTK4/libadwaita apps for Windows from Linux with MSYS2 and WINE
#!/bin/bash
# Install native dependencies
sudo dnf update -y
sudo dnf install -y curl wine
# Install MSYS2
curl -L -o /tmp/msys2.exe 'https://github.com/msys2/msys2-installer/releases/download/2021-11-30/msys2-base-x86_64-20211130.sfx.exe'
wine64 /tmp/msys2.exe x -y -oC:/
@asklc
asklc / TestDummy.py
Created February 18, 2016 04:47
Quick and dirty draft of a plugin for scraping Google's ReCAPTCHA v2.0 captchas (those with the click-all-image-with-whatever challenges)
from bs4 import BeautifulSoup as Soup
import requests
from module.plugins.captcha.ReCaptcha import ReCaptcha
from module.plugins.internal.Crypter import Crypter
class TestDummy(Crypter):
__name__ = 'TestDummy'
__status__ = 'testing'