Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
jdimsa

Gerardo iiiGerardoiii

💭
jdimsa
  • Monterrey, NL, México
View GitHub Profile
@iiiGerardoiii
iiiGerardoiii / Edge-like scrolling on Firefox
Last active Oct 10, 2020
Edge-like scrolling on Firefox
View Edge-like scrolling on Firefox
general.smoothScroll.currentVelocityWeighting: 0
general.smoothScroll.mouseWheel.durationMaxMS: 150
general.smoothScroll.stopDecelerationWeighting; 0.82
mousewheel.min_line_scroll_amount: 25
@iiiGerardoiii
iiiGerardoiii / userChrome.css
Last active Aug 29, 2020
Firefox chrome folder
View userChrome.css
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_bookmarks_toolbar.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
#PersonalToolbar{
--uc-bm-height: 21px; /* Might need to adjust if the toolbar has other buttons */
--uc-bm-padding: 4px; /* Vertical padding to be applied to bookmarks */
--uc-autohide-toolbar-delay: 600ms; /* The toolbar is hidden after 0.6s */
/* 0deg = "show" ; 90deg = "hide" ; Set the following to control when bookmarks are shown */
--uc-autohide-toolbar-focus-rotation: 0deg; /* urlbar is focused */
@iiiGerardoiii
iiiGerardoiii / style
Last active Apr 19, 2020
css config for thelounge
View style
/* Font */
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700');
body {
font-family: "SF Mono","Source Code Pro";
}
#user-specified-css-input {
height: 1400px;
}
@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%
@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
View thelounge.service
[Unit]
Description=The Lounge IRC client
After=thelounge.service
[Service]
Type=simple
ExecStart=/home/pi/.yarn/bin/thelounge start
User=pi
Group=pi
Restart=on-failure
@iiiGerardoiii
iiiGerardoiii / crontab
Created Sep 10, 2018
To run OYSTER and ZNC on boot
View crontab
@reboot /home/pi/pepe/script.sh
*/5 * * * * /usr/local/bin/znc >/dev/null 2>&1
View mouse accel.ahk
^MButton::DllCall("SystemParametersInfo", Int,113, Int,0, UInt,10, Int,2)
!MButton::DllCall("SystemParametersInfo", Int,113, Int,0, UInt,20, Int,2)
@iiiGerardoiii
iiiGerardoiii / Default (OSX).sublime-keymap
Last active Aug 15, 2018
Colemak keybinds for Vintage mode on Sublime Text
View Default (OSX).sublime-keymap
[
{ "keys": ["m"], "command": "enter_insert_mode",
"context":
[
{"key": "setting.command_mode"},
{"key": "selection_empty"}
]
},
{ "keys": ["M"], "command": "enter_insert_mode", "args":
@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
You can’t perform that action at this time.