Skip to content

Instantly share code, notes, and snippets.

View karimawi's full-sized avatar
📚
Studying

Kareem Almorsi karimawi

📚
Studying
View GitHub Profile
@pklaus
pklaus / rec_unlimited.py
Last active February 16, 2025 12:00
Audio recording with python-sounddevice
#!/usr/bin/env python3
"""Create a recording with arbitrary duration.
PySoundFile (https://github.com/bastibe/PySoundFile/) has to be installed!
WARNING: This works only in Python 3.x!
"""
import argparse
import tempfile
@SitanHuang
SitanHuang / typeracer.hack.js
Last active April 1, 2024 05:26
Typeracer 100% hack (Version 2 - Aadaptive Mode - Types at minimum speed required to win)
function triggerKeyboardEvent(el, keyCode, type)
{
var eventObj = document.createEventObject ?
document.createEventObject() : document.createEvent("Events");
if(eventObj.initEvent){
eventObj.initEvent(type, true, true);
}
eventObj.keyCode = keyCode;
@advaith1
advaith1 / top bots.md
Last active May 7, 2025 19:18
The top Discord bots ranked by server count
Rank Bot Approximate Server Count Library
1 MEE6 21,300,000 Custom Python
2 Rythm 🪦 15,200,000 JDA
3 carl-bot 🅱️ 10,900,000 Pycord
4 Groovy 🪦 10,100,000 JDA, Discord4J
5 Dyno
@marco79cgn
marco79cgn / spotify-now-playing.js
Last active May 5, 2025 12:21
A Scriptable iOS widget that shows what‘s playing on Spotify
let spotifyCredentials
let widget = await createWidget()
Script.setWidget(widget)
Script.complete()
async function createWidget() {
let widget = new ListWidget()
let spotifyIcon = await getImage("spotify-icon.png")
widget.backgroundColor = new Color("1e2040")
@Kavan72
Kavan72 / README.md
Created June 12, 2021 12:44
How to fetch Valorant user inventory?

How to fetch valorant user inventory(in python)?

There is no endpoint available to fetch inventory. Wait a second ? how does the game fetch user skins, player_cards, buddy, etc? So, After digging into Valorant I found the user inventory.

I created down below a basic python code that fetches the Valorant user inventory.

import request
@ghostrider-05
ghostrider-05 / discord_app_protocols.md
Last active May 10, 2025 11:30
An unofficial list of discord app protocol routes

Discord app protocol routes

Home:

  • /: discord://-/
  • friends: discord://-/channels/@me/
  • nitro: discord://-/store
  • shop: discord://-/shop
  • message requests: discord://-/message-requests
  • family centre: discord://-/family-center