Skip to content

Instantly share code, notes, and snippets.

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

Kaem kaem-e

💭
a
View GitHub Profile
@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"
@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>,
@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
@nikolovlazar
nikolovlazar / keybindings.json
Last active October 26, 2025 09:24
VSCode key bindings to navigate like Neovim
[
// Navigation
{
"key": "ctrl-h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl-l",
"command": "workbench.action.navigateRight"
},
@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
@WeirdConstructor
WeirdConstructor / RustAudioLinkCollection.md
Last active February 26, 2025 07:57
Rust Audio Link Collection

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

@paul-vd
paul-vd / readme.md
Last active August 25, 2025 10:54
GPU Passthrough Fedora
@datio
datio / enable-wifi.ps1
Last active September 24, 2025 02:16
Enable Windows 10 & 11 WiFi Hotspot - Powershell Script
# https://stackoverflow.com/questions/45833873/enable-win10-inbuild-hotspot-by-cmd-batch-powershell/60444585#answer-60444585
[Windows.System.UserProfile.LockScreen,Windows.System.UserProfile,ContentType=WindowsRuntime] | Out-Null
Add-Type -AssemblyName System.Runtime.WindowsRuntime
$asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq 'IAsyncOperation`1' })[0]
Function Await($WinRtTask, $ResultType) {
$asTask = $asTaskGeneric.MakeGenericMethod($ResultType)
$netTask = $asTask.Invoke($null, @($WinRtTask))
$netTask.Wait(-1) | Out-Null
$netTask.Result
@ChristopherA
ChristopherA / brew-bundle-brewfile-tips.md
Last active October 22, 2025 20:29
Brew Bundle Brewfile Tips

Brew Bundle Brewfile Tips

Copyright & License

Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.

Sponsor

If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.

/Library/OFX/Plugins/Red Giant Universe/Universe_Blur_Blur_Premium_OFX_Fx.ofx.bundle
/Library/OFX/Plugins/Red Giant Universe/Universe_Blur_Compound_Blur_Premium_OFX_Fx.ofx.bundle
/Library/OFX/Plugins/Red Giant Universe/Universe_Blur_Spot_Blur_OFX_Fx.ofx.bundle
/Library/OFX/Plugins/Red Giant Universe/Universe_CrumplePop_Finisher_OFX_Fx.ofx.bundle
/Library/OFX/Plugins/Red Giant Universe/Universe_CrumplePop_Fisheye_Fixer_OFX_Fx.ofx.bundle
/Library/OFX/Plugins/Red Giant Universe/Universe_CrumplePop_Grain16_OFX_Fx.ofx.bundle
/Library/OFX/Plugins/Red Giant Universe/Universe_CrumplePop_OverLight_OFX_Fx.ofx.bundle
/Library/OFX/Plugins/Red Giant Universe/Universe_CrumplePop_ShrinkRay_OFX_Fx.ofx.bundle
/Library/OFX/Plugins/Red Giant Universe/Universe_Distort_Camera_Shake_Pro_OFX_Fx.ofx.bundle
/Library/OFX/Plugins/Red Giant Universe/Universe_Distort_Chromatic_Aberration_OFX_Fx.ofx.bundle