Skip to content

Instantly share code, notes, and snippets.

// ~/.local/share/steam/steamapps/common/Team\ Fortress\ 2/tf/cfg/overrides/autoexec.cfg
// don't name this file autoexec because this seems to conflict with mastercomfig(custom.cfg works just fine)
// I use the quake 1 crosshair supplied by mastercomfig
cl_hud_playerclass_use_playermodel 1
bind shift +duck
// load itemtest
map itemtest
jointeam red
// enable cheats
sv_cheats 1
// add 15 bots to the server
// use "tf_bot_kick all" to kick the bots
tf_bot_add 15 blu
// prevent bots from moving
nb_blind 1
@unrealapex
unrealapex / wordle-words.txt
Created December 11, 2022 22:59
All the possible Wordle words, extracted from the Wordle source code
cigar
rebut
sissy
humph
awake
blush
focal
evade
naval
serve
set statusline=%f\ %h%w%m%r\ %=%(%l,%c%V\ %=\ %P%)
" taken from https://vi.stackexchange.com/a/2187/35229
nnoremap <C-e> :set nomore <Bar> :ls <Bar> :set more <CR>:b<Space>
gamemoderun %command% -noforcemaccel -noforcemspd -novid -nojoy -fullscreen -nosteamcontroller -nohltv -particles 1 -precachefontchars -noquicktime
" auto save file when it is modified
augroup auto_save
autocmd!
" call save function
autocmd BufModifiedSet * call AutoSave()
augroup end
" save function that is called when buffer is modified
function AutoSave()
if (bufname() != "" && &buftype == "" && &filetype != "")
map tr_walkway_rc2
sv_cheats 1
sv_allow_point_servercommand always
retry
jointeam red
/* taken from: https://stackoverflow.com/a/13515693/14111707 */
.center {
display: flex;
justify-content: center;
align-content: center;
flex-direction: column;
/* Column | row */
text-align: center;
}
// document ready shorthand: https://www.w3schools.com/jquery/jquery_syntax.asp
$(function(){
// jQuery methods go here...
});