Skip to content

Instantly share code, notes, and snippets.

View kaem-e's full-sized avatar
💭
a

Kaem kaem-e

💭
a
View GitHub Profile
@WeirdConstructor
WeirdConstructor / RustAudioLinkCollection.md
Last active February 26, 2025 07:57
Rust Audio Link Collection

Weird Constructor's (slightly opinionated) Rust Audio Link Collection

@luciascarlet
luciascarlet / Balanced.ini
Last active March 21, 2025 20:34
MacType "Balanced" profile (WinUI-like)
# update v1.1 (see revisions for older version; this has a smoother appearance for both DirectWrite and GDI)
# Use with latest testing version of MacType only.
# Recommended to disable ClearType (not AA) system-wide by setting the FontSmoothingType DWORD to 1 in HKCU/Control Panel/Desktop. Do not do this step if you use Firefox, as it'll cause it to render very crunchy non-antialiased fonts for some text, but it improves Edge/Chrome and Chromium apps.
# Microsoft Edge and Chrome require bypassing the renderer code integrity policy so that vertical AA can be enabled by this profile. More details: https://github.com/snowie2000/mactype/wiki/Google-Chrome
# Additional suggested tweak: use Winaero Tweaker (https://winaero.com/winaero-tweaker/) to change every system font to "Segoe UI Variable Small", if you are using Windows 11. This will make fonts in Win32 UI's consistent with WinUI UI's, where Segoe UI Variable is used. (Windows doesn't use Segoe UI Variable for those by default because the legacy ClearType re
@nikolovlazar
nikolovlazar / keybindings.json
Last active September 20, 2025 22:16
VSCode key bindings to navigate like Neovim
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
@CrushedPixel
CrushedPixel / CMakeLists.txt
Created October 9, 2024 20:18
Demonstrates how to use clap-wrapper to build an AUv2 plugin from a CLAP plugin.
cmake_minimum_required(VERSION 3.15)
project(gain) # <-- change me
# this CMakeLists.txt has a "gain_auv2" target that
# converts the "gain.clap" file into AUv2 plugin "gain.component".
# assumes the "gain.clap" file is located next to this CMakeLists.txt
set(CLAP_PLUGIN_PATH "${CMAKE_CURRENT_SOURCE_DIR}/gain.clap") # <-- change me
# the following lines are required to build AU SDK on macOS
@ollpu
ollpu / spectrum.rs
Last active January 24, 2025 02:44
FFT spectrum example
use std::{f32::consts::PI, sync::Arc};
use realfft::{num_complex::Complex, RealFftPlanner, RealToComplex};
const N: usize = 1024;
const SR: f32 = 44100.;
pub struct Spectrum {
fft: Arc<dyn RealToComplex<f32>>,
real_buf: Vec<f32>,
@iamtimmy
iamtimmy / set_explorer.reg
Created March 1, 2025 17:03
registry files to set and unset filepilot as the default file manager.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Drive\shell]
@="none"
[-HKEY_CLASSES_ROOT\Drive\shell\open]
[HKEY_CLASSES_ROOT\Directory]
@="File Folder"