Skip to content

Instantly share code, notes, and snippets.

View Groovin-Dev's full-sized avatar
🦝

Meliodas Groovin-Dev

🦝
View GitHub Profile
@Groovin-Dev
Groovin-Dev / connect_test.py
Created May 24, 2024 17:19
Small script to test CONNECT requests on a proxy
from flask import Flask, request, jsonify, abort
from flask_socketio import SocketIO, emit
from socketio import Client
import requests
import sys
import threading
app = Flask(__name__)
socketio = SocketIO(app)
@Groovin-Dev
Groovin-Dev / catppuccin_hn.user.css
Created October 7, 2022 14:26
Hacker News Catppuccin
/* ==UserStyle==
@name Hacker News Catppuccin
@namespace github.com/catppuccin/hackernews
@version 1.1.3
@description Soothing pastel theme for Hacker News
@author Catppuccin
@updateURL https://github.com/catppuccin/hackernews/raw/main/catppuccin.user.css
@preprocessor stylus
@var select theme "Theme" ["Latte", "Frappe", "Macchiato", "Mocha*"]

Keybase proof

I hereby claim:

  • I am groovin-dev on github.
  • I am u8_ (https://keybase.io/u8_) on keybase.
  • I have a public key ASCEVNegsnS8EVCJPjj6lfuVUWEIVIXJypkRmUqCAJSpIQo

To claim this, I am signing this object:

@Groovin-Dev
Groovin-Dev / floppa-finder-v2.rs
Last active May 2, 2022 00:02
Floppa Finder v2
use std::collections::HashMap;
use std::fs::File;
use std::io::Write;
use std::str::FromStr;
use reqwest::Url;
use serde::{Deserialize, Serialize};
#[tokio::main]
async fn main() {
import axios, { AxiosInstance, AxiosResponse } from "axios";
import fs from "fs";
import { SearchResult } from "./interfaces";
const key = "TENOR_KEY_HERE";
const main = async () => {
// Create a new axios instance
const instance = axios.create({
@Groovin-Dev
Groovin-Dev / auto-wallpaper.py
Created April 26, 2021 18:47
Change your wallpaper automatically with a random image from the earthporn subreddit. Use a cron job for the best experience.
import requests
import json
import random
import shutil
import os
import getpass
username = getpass.getuser()
@Groovin-Dev
Groovin-Dev / tachi-madara-extractor.py
Created February 17, 2021 22:38
Convert tachi madara sources into paperback ones
import os
import glob
import re
tachi_madara_path = 'D:/Projects/tachiyomi-extensions/multisrc/overrides/madara'
dirs = glob.glob(f'{tachi_madara_path}/*/src/*.kt')
# Define strings here
normal = """import {LanguageCode, SourceInfo} from "paperback-extensions-common";