Skip to content

Instantly share code, notes, and snippets.

View JamesIslan's full-sized avatar

Joamerson Islan JamesIslan

View GitHub Profile
@JamesIslan
JamesIslan / extract_subs.py
Last active December 29, 2025 04:42
MKV Subtitle Extraction Script
import subprocess
import json
import os
import sys
from concurrent.futures import ProcessPoolExecutor, as_completed
SUPPORTED_CODECS = {
'S_TEXT/UTF8': 'srt',
'S_TEXT/ASS': 'ass',
'S_TEXT/SSA': 'ssa',
@JamesIslan
JamesIslan / configuration.nix
Created October 10, 2025 02:48
configuration.nix
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@JamesIslan
JamesIslan / Rust
Last active November 25, 2024 17:00
{"name":"Rust","settings":"{\"settings\":\"{\\n \\\"code-runner.executorMap\\\": {\\n \\\"python\\\": \\\"clear ; python -u\\\",\\n \\\"javascript\\\": \\\"bun $fullFileName\\\",\\n \\\"typescript\\\": \\\"bun $fullFileName\\\"\\n },\\n \\\"code-runner.saveFileBeforeRun\\\": true,\\n \\\"code-runner.runInTerminal\\\": true,\\n \\\"code-runner.ignoreSelection\\\": true,\\n \\\"code-runner.clearPreviousOutput\\\": true,\\n \\\"code-runner.saveAllFilesBeforeRun\\\": true,\\n \\\"chat.editor.fontFamily\\\": \\\"CartographCF Nerd Font\\\",\\n \\\"chat.editor.fontWeight\\\": \\\"CartographCF Nerd Font\\\",\\n \\\"css.format.newlineBetweenRules\\\": false,\\n \\\"css.format.newlineBetweenSelectors\\\": false,\\n \\\"debug.console.fontFamily\\\": \\\"CartographCF Nerd Font\\\",\\n \\\"debug.disassemblyView.showSourceCode\\\": true,\\n \\\"debug.javascript.automaticallyTunnelRemoteServer\\\": false,\\n \\\"editor.wordWrap\\\": \\\"on\\\",\\n \\\"editor.unicodeHighlight.ambiguousCharacters\\\":