Skip to content

Instantly share code, notes, and snippets.

View hiddenwaffle's full-sized avatar
🌿
Working on the Casablanca simulation

Anthony Villena hiddenwaffle

🌿
Working on the Casablanca simulation
View GitHub Profile
// ============================================
// Counter-Strike: Source Autoexec Config
// Optimized for: 300fps @ 2K | 16 Bots | Smooth Mouse | Max Graphics
// Hardware: GMKtec K12 - Ryzen 7 8745HS + Radeon 780M + 32GB DDR5
// ============================================
// ============================================
// FRAME RATE & SMOOTHNESS
// ============================================
mat_queue_mode 2 // Multi-threaded rendering
--------------------------------------------------------------------------------------------------------------------------
keymap.json:
// Zed keymap
//
// For information on binding keys, see the Zed
// documentation: https://zed.dev/docs/key-bindings
//
// To see the default key bindings run `zed: open default keymap`
// from the command palette.
-----------------------------------------------------------------------------
meer8 NUC
- NOTE: Actual model is a NUC13ANB-M
- Use a DisplayPort cable instead of HDMI cable
-----------------------------------------------------------------------------
Xubuntu
- Easiest to use full install and then remove things
- Set Display refresh rate to 180 Mhz
@hiddenwaffle
hiddenwaffle / multi-until-loop.sh
Created November 4, 2024 13:29
bash until loop, multiple conditions for multiple commands
#!/bin/bash
set -e
check_it () {
set +e
grep PATH .zshrc
local check1=$?
grep ASDF .zshrc
local check2=$?
set -e
{
"font_size": 16,
"scroll_past_end": true,
"tab_size": 2,
"translate_tabs_to_spaces": true,
"word_wrap": "false",
"ignored_packages":
[
"Vintage",
],
@hiddenwaffle
hiddenwaffle / vscode-settings.txt
Last active December 28, 2024 14:04
Visual Studio Code - Settings
// Place your settings in this file to overwrite the default settings
{
"telemetry.telemetryLevel": "off",
"window.zoomLevel": 3,
"workbench.colorTheme": "Nord",
"files.autoSave": "onFocusChange",
"files.trimTrailingWhitespace": true,
"search.exclude": {
"docs": true,
"dist": true,
@hiddenwaffle
hiddenwaffle / intellij-notes.txt
Last active January 20, 2025 22:15
intellij-notes.txt
Open Preferences (Cmd+,), and search for these terms to fix them:
* "Choose lookup item" - remove the enter key to prevent enter from autoselecting when a suggestion box is open (can use tab instead)
* "Show virtual space at file bottom" - check to allow scrolling past the last line (but this makes Cmd+down jump too far?)
* Editor -> Inspections-> "Proofreading" - uncheck to turn off spelling and grammar inspections
* "Move Caret to Text Start" - set Cmd+Up to jump to top of file
* "Move Caret to Text End" - set Cmd+Down to jump to the bottom of the file
* "Start New Line Before Current" - set Ctrl+O to emulate the VS Code shortcut
* Keymap -> "Debug" - remove Ctrl+D
* "Delete" - add Ctrl+D for forward delete on macOS
* "Caret blinking" - uncheck to stop the cursor from blinking
set nowrap
set shiftwidth=2
set tabstop=2
set expandtab
set hlsearch
" shift-tab unindent command and insert mode
nnoremap <S-Tab> <<
inoremap <S-Tab> <C-d>
beer=$(printf '\xf0\x9f\x8d\xba')
export PS1='$beer \033[36m$PWD\033[00m $ '
; ------------------------------ my customizations begin here ----------------
;(require 'tabbar)
;(tabbar-mode 1)
;; Prevent jumping when scrolling past top/bottom
(setq scroll-conservatively 101)
; Add MELPA
(require 'package)