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 / crontab
Created September 10, 2018 07:32
To run OYSTER and ZNC on boot
@reboot /home/pi/pepe/script.sh
*/5 * * * * /usr/local/bin/znc >/dev/null 2>&1
[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
^MButton::DllCall("SystemParametersInfo", Int,113, Int,0, UInt,10, Int,2)
!MButton::DllCall("SystemParametersInfo", Int,113, Int,0, UInt,20, Int,2)
@iiiGerardoiii
iiiGerardoiii / style
Last active December 29, 2023 19:53
css config for thelounge
.irc-bold {
text-shadow: 0 0 2px;
font-weight: 400;
}
#windows #form, .messages .msg, .userlist {
font-family: "fixedsys excelsior beta","hack",roboto;
font-size: 16px;
-moz-osx-font-smoothing: grayscale;
}
@iiiGerardoiii
iiiGerardoiii / Default (OSX).sublime-keymap
Last active August 15, 2018 14:41
Colemak keybinds for Vintage mode on Sublime Text
[
{ "keys": ["m"], "command": "enter_insert_mode",
"context":
[
{"key": "setting.command_mode"},
{"key": "selection_empty"}
]
},
{ "keys": ["M"], "command": "enter_insert_mode", "args":
@iiiGerardoiii
iiiGerardoiii / Edge-like scrolling on Firefox
Last active March 1, 2024 14:15
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 August 29, 2020 06:59
Firefox chrome folder
/* 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 */
#
# 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()