Skip to content

Instantly share code, notes, and snippets.


Gerardo iiiGerardoiii

  • Monterrey, NL, México
View GitHub Profile
iiiGerardoiii / gist:f0dfc33592f65e973ef8
Created Jun 16, 2015
Fixedsys Sublime Text Settings
View gist:f0dfc33592f65e973ef8
"font_face": "Fixedsys Excelsior 3.01",
"font_size": 16,
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
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
View .bash_profile
PS1="\[\033[1;32m\]▶\[\033[0m\] "
iiiGerardoiii / gist:fac52f65d39d1450ba3f
Last active Dec 31, 2015
put this on console to remove sound latency on source engine games running on OS X
iiiGerardoiii / private.xml
Last active Mar 26, 2016
(CapsLock was remapped to Option in System Preferences > Keyboard > Modifier Keys because Model M) IMPORTANT: Change the Key Overlaid Modifier Timeout to 200ms.
View private.xml
<?xml version="1.0"?>
<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) -->
KeyCode::OPTION_L, ModifierFlag::OPTION_L | ModifierFlag::NONE,
View gist:88855ebd99692cdba476609de48c4fc9
defaults write -g ApplePressAndHoldEnabled -bool false
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
iiiGerardoiii /
Last active Aug 24, 2017 — forked from sinrig/
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/
import sys # for exit()
View .bashrc
# Turn on 256 color support...
if [ "x$TERM" = "xxterm" ]
export TERM="xterm-256color"
You can’t perform that action at this time.