Skip to content

Instantly share code, notes, and snippets.

View aanari's full-sized avatar

Ali Anari aanari

View GitHub Profile
@aanari
aanari / keybindings.json
Last active May 7, 2024 06:38
VSCode Settings
[
// NAVIGATION
{
"key": "ctrl+j",
"command": "workbench.action.terminal.focus",
"when": "!terminalFocus"
},
{
"key": "ctrl+k",
"command": "workbench.action.focusActiveEditorGroup",
@aanari
aanari / config.ini
Created February 2, 2024 03:23
Play Store in Android Emulator
PlayStore.enabled=true
image.sysdir.1=system-images/android-34/google_apis_playstore/arm64-v8a
tag.display=Google Play
tag.id=google_apis_playstore
@aanari
aanari / light_bass_booster.txt
Created January 24, 2024 21:51
Light Bass Booster
Preamp: 0 dB
Filter 1: ON PK Fc 32 Hz Gain 5.5 dB Q 1.41
Filter 2: ON PK Fc 64 Hz Gain 4.25 dB Q 1.41
Filter 3: ON PK Fc 125 Hz Gain 3.5 dB Q 1.41
Filter 4: ON PK Fc 250 Hz Gain 2.5 dB Q 1.41
Filter 5: ON PK Fc 500 Hz Gain 1.25 dB Q 1.41
Filter 6: ON PK Fc 1000 Hz Gain 0 dB Q 1.41
Filter 7: ON PK Fc 2000 Hz Gain 0 dB Q 1.41
Filter 8: ON PK Fc 4000 Hz Gain 0 dB Q 1.41
Filter 9: ON PK Fc 8000 Hz Gain 0 dB Q 1.41
printf "\033]52;c;$(printf %s "asdf" | base64 | tr -d '\n\r')\a"
@aanari
aanari / repeat-rate.sh
Created August 15, 2023 18:33
Fast key repeat rate for Linux
gsettings set org.gnome.desktop.peripherals.keyboard delay 200
gsettings set org.gnome.desktop.peripherals.keyboard repeat-interval 15
@aanari
aanari / wezterm.lua
Created August 11, 2023 16:01
WezTerm Config for WSL 2
local wezterm = require("wezterm")
local function font_with_fallback(name, params)
local names = { name, "Apple Color Emoji", "azuki_font" }
return wezterm.font_with_fallback(names, params)
end
local font_name = "PragmataProMonoLiga Nerd Font"
return {
@aanari
aanari / profile-neovim.lua
Created July 25, 2023 01:38
Profiling Neovim Performance
:profile start profile.log
:profile func *
:profile file *
" At this point do slow actions
:profile pause
:noautocmd qall!
@aanari
aanari / key-repeat-rate.reg
Created July 23, 2023 18:52
Windows 7/8/10/11 - Increase Key Repeat Rate
[HKEY_CURRENT_USER\Control Panel\Accessibility\Keyboard Response]
"AutoRepeatDelay"="200"
"AutoRepeatRate"="10"
"DelayBeforeAcceptance"="0"
"Flags"="59"
"BounceTime"="0"
@aanari
aanari / global-font.css
Created July 23, 2023 18:32
Stylus Global Font
#read-only-cursor-text-area, pre, code, .js-path-segment, .blob-code, .blob-code-marker, .PRIVATE_TreeView-item-content-text, .react-directory-truncate {
font-family: 'PragmataProMonoLiga Nerd Font' !important;
}
h1, h2, h3, h4, h5, p, a, b, u, em, strong, blockquote, address, cite, q, ul, ol, li, dl, dt, dd {
font-family: 'Seitu' !important;
}
@aanari
aanari / iterm2.plist
Last active July 25, 2023 04:51
iTerm2 Config
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AllowClipboardAccess</key>
<true/>
<key>AppleAntiAliasingThreshold</key>
<integer>1</integer>
<key>ApplePressAndHoldEnabled</key>
<false/>