Skip to content

Instantly share code, notes, and snippets.

@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active March 22, 2026 18:58
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();
@sdawood
sdawood / remove-all-youtube-liked-videos.js
Last active March 22, 2026 18:57
How to remove (unlike) all liked videos on youtube, June, 2023
/*
* inspired by https://gist.github.com/astamicu/eb351ce10451f1a51b71a1287d36880f
* modified to remove all liked Youtube videos and to work with Youtube as of June 2023
*/
setInterval(function () {
videos = document.getElementsByTagName('ytd-playlist-video-renderer');
// when a video is removed, the tag gets an 'is-dimissed' attribute, which tripped the original script
var notDismissedIndex = 0;
@ergetie
ergetie / fusion_on_linux.md
Created December 3, 2025 13:16
Windows 11 SR-IOV Passthrough (Headless) on CachyOS

Windows 11 SR-IOV Passthrough (Headless) on CachyOS

1. Prerequisites & Hardware

  • OS: CachyOS (Arch-based)
  • CPU: Intel 12th/13th/14th Gen (e.g., i5-13600K) with UHD 770
  • GPU Strategy: SR-IOV (Single Root I/O Virtualization) to create virtual GPU slices.
  • BIOS Settings:
    • VT-d: Enabled
    • Above 4G Decoding: Enabled
    • Re-Size BAR: DISABLED (Crucial for 13th Gen iGPU passthrough stability)
@ravarcheon
ravarcheon / minphase.py
Created March 6, 2026 02:01
makes a minimum phase version of the input audio
import numpy as np
import soundfile as sf
import os
import tkinter as tk
from tkinter import filedialog
from scipy.fft import fft, ifft, next_fast_len
def minipassMethod(ir):
ir = np.asarray(ir, dtype=np.float64)
@ravarcheon
ravarcheon / spectralRotation.py
Last active March 22, 2026 18:55
rotates an audio file by 90 degrees in the spectrum while being a reversible process with minimal loss (only floating point errors which are like -150 dB but thats literally silence ahaha~)
import numpy as np
import soundfile as sf
from scipy.fftpack import fft, ifft
def rotateSignal(signal,flip):
if flip:
signal = signal[::-1]
x = np.concatenate((signal, signal[1:][::-1])) # concatenating the array with a reverse of itself makes it such that the fourier transform doesn't layer over a reversed version of itself in the inverse fft
rotSig = ifft(x)
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active March 22, 2026 18:51
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@mp035
mp035 / tk_scroll_demo.py
Last active March 22, 2026 18:47
A simple scrollable frame class for tkinter, including example usage.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
import tkinter as tk
import platform
# ************************
# Scrollable Frame Class
# ************************

MERN Marketplace

Hello and Welcome to my coding course to build a multi-vendor ecommerce website by MERN stack. In this course you will learn the essential tools and skills to design, develop and deploy a fully-function marketplace website using React and Redux in frontend and Node and MongoDB in backend.

What You Will Learn

This is a practical coding course and we are gonna learn and build lots of stuff in this multi-vendor ecommerce website like:

  • create functional component by react
  • use react hooks to handle form inputs
  • manage application state by redux using custom hooks
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@ongkiii
ongkiii / IPA-Sources.md
Last active March 22, 2026 18:47
REPOS/TELEGRAM CHANNELS LIST BY u/angkitbharadwaj