Skip to content

Instantly share code, notes, and snippets.

View tusharxoxoxo's full-sized avatar
🦧
making compilers grin/playing nvim

Tushar Dahiya tusharxoxoxo

🦧
making compilers grin/playing nvim
View GitHub Profile
@mvanga
mvanga / guitar_theory.py
Last active April 13, 2024 02:19
Applied guitar theory in ~400 lines of Python.
# MIT License
#
# Copyright (c) 2021 Manohar Vanga
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
@timClicks
timClicks / pixie.rs
Created June 29, 2023 03:23
Pixelate images in less than 50 lines of code
//! # pixie
//!
//! Pixelate images. This file provides the code demonstrated
//! in this video: <https://youtu.be/Q18vAySAiHc>
//!
//! Uses image 0.24.0 <https://docs.rs/image/0.24.6/image/>
use image::io::Reader as ImageReader;
use image::{GenericImageView, DynamicImage, ImageBuffer, Rgba};
@0x61nas
0x61nas / ublock-filters_clean-twitter.txt
Last active November 23, 2023 14:06
Ublock filters to make twitter less sucks
! Checksum: 7a9f8af18055b400e61cdbda092ff6d6
! Title: Suckless twitter
! Last modified: 2023112301
! Expires: 1 month (update frequency)
! Homepage: https://gist.github.com/0x61nas/57ce3c8ef4411dda0e61175d7285c58c
! License: https://opensource.org/licenses/MIT
!
! Description: Make X(officially twitter) less suck.
!
! Legal Disclaimer (Terms and Conditions):