Skip to content

Instantly share code, notes, and snippets.

View iiiGerardoiii's full-sized avatar
💭
jdimsa

Gerardo iiiGerardoiii

💭
jdimsa
  • Monterrey, NL, México
View GitHub Profile
@iiiGerardoiii
iiiGerardoiii / autoexec.cfg
Last active December 10, 2017 07:11
for csgo
//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"
#
# weechat.conf -- weechat v1.0.1
#
[debug]
[startup]
command_after_plugins = ""
command_before_plugins = ""
display_logo = on
# Turn on 256 color support...
if [ "x$TERM" = "xxterm" ]
then
export TERM="xterm-256color"
fi
@iiiGerardoiii
iiiGerardoiii / monitor.py
Last active August 24, 2017 20:49 — forked from sinrig/monitor.py
Python script to turn off an HDMI-connected monitor on a Raspberry Pi
# This program monitors the screensaver and turns the monitor off
# when the screensaver blanks the screen, and back on again when
# the screensaver unblanks the screen.
# once you put this file in /home/pi/.local/bin/ type:
# sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart
# and add this line:
# @python /home/pi/.local/bin/monitor.py
import sys # for exit()
@iiiGerardoiii
iiiGerardoiii / gist:51f6f0a62516e137daa14bfd949b1733
Last active April 17, 2017 12:02
Imagus config ala HoverZoom
{"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
@iiiGerardoiii
iiiGerardoiii / gist:88855ebd99692cdba476609de48c4fc9
Created March 30, 2016 06:45
Disable press and hold characters
defaults write -g ApplePressAndHoldEnabled -bool false
@iiiGerardoiii
iiiGerardoiii / private.xml
Last active March 26, 2016 09:35
(CapsLock was remapped to Option in System Preferences > Keyboard > Modifier Keys because Model M) IMPORTANT: Change the Key Overlaid Modifier Timeout to 200ms.
<?xml version="1.0"?>
<root>
<item>
<name>Change Option_L to Option_L (Send a Delete key event if Option_L is tapped alone)</name>
<!-- Remaps Option_L to Delete if tapped, and to Option_L if held down or used with another key (e.g. Opt+Cmd) -->
<identifier>private.optionL2optionL_Delete</identifier>
<autogen>
__KeyOverlaidModifier__
KeyCode::OPTION_L, ModifierFlag::OPTION_L | ModifierFlag::NONE,
@iiiGerardoiii
iiiGerardoiii / gist:fac52f65d39d1450ba3f
Last active December 31, 2015 01:41
put this on console to remove sound latency on source engine games running on OS X
snd_mixahead 0.02
PS1="\[\033[1;32m\]▶\[\033[0m\] "
@iiiGerardoiii
iiiGerardoiii / gist:42033f010e3a54ab3611
Created October 31, 2015 01:51
vlc stream output string
:sout=#transcode{vcodec=h264,vb=600,scale=Auto,acodec=mpga,ab=128,channels=2,samplerate=44100}:http{mux=ts,dst=:54280/adalramones} :sout-keep