Skip to content

Instantly share code, notes, and snippets.

View fine-simple's full-sized avatar

Ahmed Tawfik fine-simple

View GitHub Profile
@fine-simple
fine-simple / ytm-controls.js
Created July 1, 2025 19:51
Youtube Music User Script for controlling volume and seeking using keyboard arrow keys
// ==UserScript==
// @name Youtube Music (YTM) Keyboard controls
// @namespace http://tampermonkey.net/
// @version 2025-07-01
// @description Seek and control volume using keyboard arrows in YouTube Music.
// @author You
// @match https://music.youtube.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant none
// ==/UserScript==
@fine-simple
fine-simple / infix to postfix.cpp
Created June 21, 2021 17:53
Data Structure Problems
#include <bits/stdc++.h>
using namespace std;
int check_precedence(char op)
{
switch (op)
{
case '+':
case '-':