Skip to content

Instantly share code, notes, and snippets.

View nulldef's full-sized avatar

Aleksei Bespalov nulldef

View GitHub Profile
@nulldef
nulldef / sidekiq_extension.rb
Created October 16, 2023 13:44
Run sidekiq job only after commit
module SidekiqClientExtension
def raw_push(jobs)
DB.after_commit { super }
end
end
Sidekiq::Client.prepend(SidekiqClientExtension)
@nulldef
nulldef / config.cfg
Last active July 4, 2023 13:05
CSGO config
cfgver "1"
unbindall
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "9" "slot9"
bind "a" "+moveleft;r_cleardecals"