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 / gist:f0dfc33592f65e973ef8
Created June 16, 2015 21:18
Fixedsys Sublime Text Settings
{
"font_face": "Fixedsys Excelsior 3.01",
"font_options":
[
"no_antialias"
],
"font_size": 16,
"ignored_packages":
[
"Vintage"
@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 / Firefox scrolling speed
Last active October 19, 2015 03:51
Chrome-like scrolling speed for Firefox
mousewheel.default.delta_multiplier_y 250
@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
@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:88855ebd99692cdba476609de48c4fc9
Created March 30, 2016 06:45
Disable press and hold characters
defaults write -g ApplePressAndHoldEnabled -bool false
@iiiGerardoiii
iiiGerardoiii / mpv.conf
Last active March 4, 2022 07:09
at ~/.config/mpv
# disable OSC because mpv_thumbnail_script_server.lua takes care of it
osc=no
log-file="C:\Users\GerardosPC\Downloads"
snap-window
# High quality video rendering for fast computer.
profile=gpu-hq
deband=no
@iiiGerardoiii
iiiGerardoiii / input.conf
Last active March 4, 2022 07:03
at ~/.config/mpv
MOUSE_BTN3 add volume 10
MOUSE_BTN4 add volume -10
Alt+MOUSE_BTN3 seek -5
Alt+MOUSE_BTN4 seek 5
RIGHT seek 3
LEFT seek -3
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"
@iiiGerardoiii
iiiGerardoiii / ?.scpt
Last active January 4, 2018 16:15
Simple script for easy greentexting on Textual, e.g. type "/? test" to send ">test" in green. Credit goes to donics
on textualcmd(inputString, destinationChannel)
set etx to ASCII character 3
return "/smsg " & destinationChannel & " " & etx & "03" & ">" & inputString & etx
end textualcmd