Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
jdimsa

Gerardo iiiGerardoiii

💭
jdimsa
  • Monterrey, NL, México
View GitHub Profile
View gist:51f6f0a62516e137daa14bfd949b1733
{"hz":{"deactivate":1,"actTrigger":"ctrl","delay":100,"delayOnIdle":true,"waitHide":true,"markOnHover":"","zoomresized":25,"preload":1,"hiRes":true,"hiResOnFZ":3,"history":true,"mediaVolume":40,"scrollDelay":0,"pileWheel":1,"pileCycle":true,"capStyle":0,"capPos":0,"capText":true,"capLinkText":true,"capWH":false,"capNoSBar":false,"fzMode":1,"fzOnPress":2,"placement":1,"fullspace":true,"move":true,"follow":true,"minPopupDistance":20,"hideIdleCursor":500,"thumbAsBG":true,"thumbAsBGColor":"#c3c3c3","thumbAsBGOpacity":0,"css":"border: 2px solid transparent; border-radius: 2px; margin: 2px 2px 20px; background: linear-gradient(135deg, #fff 0%, #ededed 100%, #fff 50%); box-shadow: rgb(213, 213, 213) 0 0 0 1px, 3px 3px 6px rgba(0,0,0,.46); transition: opacity .1s","scOffInInput":true,"capFlashCount":0,"zoomFromFrame":false,"LDRsrc":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOng9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvP
View autoexec.cfg
//Don't autoswitch weapon when picking it up
cl_autowepswitch 0
//Show netgraph when checking scoreboard
net_graph "1"
net_graphheight "9999"
alias "+scorenet" "+showscores; net_graphheight 0"
alias "-scorenet" "-showscores; net_graphheight 9999"
bind "TAB" "+scorenet"
@iiiGerardoiii
iiiGerardoiii / ?.scpt
Last active Jan 4, 2018
Simple script for easy greentexting on Textual, e.g. type "/? test" to send ">test" in green. Credit goes to donics
View ?.scpt
on textualcmd(inputString, destinationChannel)
set etx to ASCII character 3
return "/smsg " & destinationChannel & " " & etx & "03" & ">" & inputString & etx
end textualcmd
@iiiGerardoiii
iiiGerardoiii / input.conf
Last active May 1, 2019
at ~/.config/mpv
View input.conf
MOUSE_BTN3 add volume 10
MOUSE_BTN4 add volume -10
Alt+MOUSE_BTN3 seek -5
Alt+MOUSE_BTN4 seek 5
MOUSE_BTN2_DBL quit
Alt+MOUSE_BTN2 no-osd cycle-values video-rotate "90" "180" "270" "0"
Alt+r no-osd cycle-values video-rotate "90" "180" "270" "0"
MBTN_MID cycle-values ontop "yes" "no"
Alt+LEFT repeatable playlist-prev
@iiiGerardoiii
iiiGerardoiii / mpv.conf
Last active Jun 21, 2019
at ~/.config/mpv
View mpv.conf
osc=no
#vf=vapoursynth="/BlackFrameInsertion.vpy"
# force starting with centered window
#geometry=50%:50%
# don't allow a new window to have a size larger than 90% of the screen size
autofit-larger=90%x90%
View gist:88855ebd99692cdba476609de48c4fc9
defaults write -g ApplePressAndHoldEnabled -bool false
View .bash_profile
PS1="\[\033[1;32m\]▶\[\033[0m\] "
@iiiGerardoiii
iiiGerardoiii / gist:fac52f65d39d1450ba3f
Last active Dec 31, 2015
put this on console to remove sound latency on source engine games running on OS X
View gist:42033f010e3a54ab3611
:sout=#transcode{vcodec=h264,vb=600,scale=Auto,acodec=mpga,ab=128,channels=2,samplerate=44100}:http{mux=ts,dst=:54280/adalramones} :sout-keep
@iiiGerardoiii
iiiGerardoiii / Firefox scrolling speed
Last active Oct 19, 2015
Chrome-like scrolling speed for Firefox
View Firefox scrolling speed
mousewheel.default.delta_multiplier_y 250