Skip to content

Instantly share code, notes, and snippets.

Paulo Henrique Deléo paulodeleo

  • Curitiba - PR, Brazil
Block or report user

Report or block paulodeleo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@paulodeleo
paulodeleo / .tmux.conf
Last active Dec 4, 2019
Tmux configuration to enable mouse scroll and mouse panel select, taken from: http://brainscraps.wikia.com/wiki/Extreme_Multitasking_with_tmux_and_PuTTY
View .tmux.conf
# Make mouse useful in copy mode
setw -g mode-mouse on
# Allow mouse to select which pane to use
set -g mouse-select-pane on
# Allow mouse dragging to resize panes
set -g mouse-resize-pane on
# Allow mouse to select windows
@paulodeleo
paulodeleo / fixscroll.sh
Created Apr 20, 2019
Script to fix natural touchpad scroll direction for gnome based apps on XFCE4 (eg.: Xubuntu). A copy of https://gist.github.com/wjladams/1a7f37019e0b1b3c2c0be335142b1852
View fixscroll.sh
#!/bin/sh
# Find the amount by doign
# synclient | grep HorizScrollDelta
# synclient | grep VertScrollDelta
# And then simply negative that value for this
# Found at
# https://askubuntu.com/questions/690512/how-to-enable-natural-scrolling-in-xfce4/853262
# This is because, although xubuntu 18.04 has reverse scrolling option in touchpad
# settings, it doesn't really work, the setting does not cascade to gnome apps for some reason.
synclient HorizScrollDelta=-116
@paulodeleo
paulodeleo / myDell7559.xmodmap
Created Apr 20, 2019
My xmodmap based keyboard key remappings for Dell 7559 on linux to use a Lenovo-like layout
View myDell7559.xmodmap
!!! Load it using `xmodmap myDell7559.xmodmap` on login !!!
!!! Remaps pgup to delete !!!
keycode 112 = Delete
!!! Remaps num lock to home !!!
keycode 77 = Home
!!! Remaps numeric 7 to end !!!
keycode 79 = End
@paulodeleo
paulodeleo / Gestures.conf
Created Apr 20, 2019
My Gestures app config export for touch based input control of multimedia keys on Ubuntu (19.04)
View Gestures.conf
# Generated by Gestures 0.2.2 --> https://gitlab.com/cunidev/gestures
# Manual editing might result in data loss!
# Invalid lines
# Unsupported lines
# Swipe threshold (0-100)
@paulodeleo
paulodeleo / Serviços e programas gratuitos que uso.md
Last active Dec 9, 2018
Serviços e programas gratuitos que uso
View Serviços e programas gratuitos que uso.md
View Default (Linux).sublime-keymap.json
// sublime.log_input(True)
// sublime.log_commands(True)
[
{ "keys": ["alt+f4"], "command": "exit" },
{ "keys": ["ctrl+alt+f4"], "command": "close_window" },
{ "keys": ["ctrl+'"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
{ "keys": ["ctrl+keypad_divide"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+shift+keypad_divide"], "command": "toggle_comment", "args": { "block": true } },
// Comment on cce notebook - linux
{ "keys": ["control+q"], "command": "toggle_comment", "args": { "block": false } }
View Default (Windows).sublime-keymap.json
[
{ "keys": ["ctrl+tab"], "command": "next_view" },
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" },
{ "keys": ["ctrl+f11"], "command": "toggle_menu" }
]
@paulodeleo
paulodeleo / Raspberry pi test settings.txt
Last active Mar 15, 2018
Raspberry pi test settings
View Raspberry pi test settings.txt
# based on this article: https://www.linux-toys.com/?p=1153
# original pi settings
vm.swappiness = 60
vm.vfs_cache_pressure = 100
vm.dirty_background_ratio = 10
vm.dirty_ratio = 20
# test settings
sudo sysctl -w vm.swappiness=15
@paulodeleo
paulodeleo / Links about Dell 7559 Hackintosh.txt
Last active Mar 15, 2018
Links about Dell 7559 Hackintosh
View Links about Dell 7559 Hackintosh.txt
View Preferences.sublime-settings
{
"atomic_save": false,
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"enable_tab_scrolling": false,
"font_size": 13,
"ignored_packages":
[
"Color Highlighter",
"Pretty JSON",
"Sass",
You can’t perform that action at this time.