Skip to content

Instantly share code, notes, and snippets.

View Yash-Singh1's full-sized avatar

Yash Singh Yash-Singh1

View GitHub Profile
@juliusmarminge
juliusmarminge / enum-generator.ts
Last active September 17, 2025 16:37
prisma enum generator
import { generatorHandler } from "@prisma/generator-helper";
import fs from "node:fs/promises";
import path from "node:path";
const header = `// This file was generated by a custom prisma generator, do not edit manually.\n`;
generatorHandler({
onManifest() {
return {
defaultOutput: "./enums/index.ts",
@trvswgnr
trvswgnr / compress_video
Last active August 10, 2025 16:33
portable shell script to compress videos with ffmpeg
#!/bin/sh
print_usage() {
echo "usage: compress_video <input_file>"
echo "supported formats: mp4, webm, mkv, mov, avi, flv"
}
get_extension() {
f="${1##*/}"
case "$f" in
@ezhevita
ezhevita / README.md
Last active July 25, 2025 21:07
Reconstructed Ryujinx games list compatibility database

This is a database of Ryujinx games compatibility, reconstructed from the archived GitHub issues.

It is not affiliated with the original Ryujinx project or any of the forks and thus won't be updated.

Data is current as of the 2nd October 2024 (the date Ryujinx repo went down).

This dataset was acquired using the following Clickhouse query in the public playground:

SELECT
    number as issue_number,