Skip to content

Instantly share code, notes, and snippets.

View Jourdelune's full-sized avatar
🏠
Working from home

Jourdelune

🏠
Working from home
View GitHub Profile
@Jourdelune
Jourdelune / high_jump.sh
Last active June 20, 2025 10:09
Run high jump glith for roblox with sober
#!/bin/bash
DEVICE="/dev/input/event19" # change with the name of your input (evtest)
STATE="running"
STATE_FILE="/tmp/sober_state"
evtest "$DEVICE" | while read -r line; do
sleep 0.01
if echo "$line" | grep -q "EV_KEY.*KEY_V.*value 1"; then
@Jourdelune
Jourdelune / youtube_dl_over_tor.py
Last active September 29, 2024 09:51
Bypass youtube limitation by using tor and youtubeDL, reset the ip each time youtube block it.
import logging
import random
from typing import Any
import yt_dlp
from yt_dlp.utils import DownloadError
# create a logger for the module with the module name
logger = logging.getLogger(__name__)
@Jourdelune
Jourdelune / lyrics.py
Last active August 24, 2024 15:09
Code to finetune a lyrics detector
import evaluate
import numpy as np
from audiotools import AudioSignal
from datasets import Audio, load_dataset
from transformers import (
AutoFeatureExtractor,
AutoModelForAudioClassification,
Trainer,
TrainingArguments,
)
@Jourdelune
Jourdelune / gist:5a54c800198134408ccf075a6766de08
Last active February 5, 2024 23:35
Patreon API with discord
class PatreonApi:
def __init__(self, campaign_id: str, access_token: str):
self.campaign_id = campaign_id
self.access_token = access_token
async def fetch_all(self) -> dict:
"""Get all discord id with current tiers of a patreon campaign
:return: a dict that contain the discord id and the current tiers of the user
:rtype: dict
@Jourdelune
Jourdelune / .md
Last active July 4, 2022 15:09
Opus language code

Opus language code: If you see a model that does not match the language or a missing model, please create a pull request.

Afrikaans (af) : Helsinki-NLP/opus-mt-en-af <-> Helsinki-NLP/opus-mt-af-en
Amharic (am) : Helsinki-NLP/opus-mt-en-sem <-> Helsinki-NLP/opus-mt-sem-en
Arabic (ar) : Helsinki-NLP/opus-mt-en-ar <-> Helsinki-NLP/opus-mt-ar-en
Asturian (ast) : 
Azerbaijani (az) : Helsinki-NLP/opus-mt-en-az <-> Helsinki-NLP/opus-mt-az-en
Bashkir (ba) : Helsinki-NLP/opus-mt-en-mul <-> Helsinki-NLP/opus-mt-mul-en