Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
jdimsa

Gerardo iiiGerardoiii

💭
jdimsa
  • Monterrey, NL, México
View GitHub Profile
@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 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
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 / 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 / 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 / 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 */
View weechat.conf
#
# weechat.conf -- weechat v1.0.1
#
[debug]
[startup]
command_after_plugins = ""
command_before_plugins = ""
display_logo = on
View .bashrc
# Turn on 256 color support...
if [ "x$TERM" = "xxterm" ]
then
export TERM="xterm-256color"
fi
@iiiGerardoiii
iiiGerardoiii / monitor.py
Last active Aug 24, 2017 — forked from sinrig/monitor.py
Python script to turn off an HDMI-connected monitor on a Raspberry Pi
View monitor.py
# 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()
You can’t perform that action at this time.