Movido para o Evernote: https://www.evernote.com/shard/s27/sh/4db8eaef-7130-e71c-bc54-89228007bb5a/f3a97c8eb95ae6dea68bc9470223527b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestMailer < ActionMailer::Base; def test; mail from: '[email protected]', to: '[email protected]', subject: 'Test e-mail subject', body: 'Test e-mail body'; end; end; TestMailer.test.deliver_now |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ "keys": ["ctrl+tab"], "command": "next_view" }, | |
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" }, | |
{ "keys": ["ctrl+f11"], "command": "toggle_menu" } | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sierra guide: | |
https://www.tonymacx86.com/threads/guide-dell-inspiron-15-7559-sierra-install-10-12-5.201576/ | |
Clover guide: | |
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/ | |
Els Capitan guide: | |
(newer) https://www.tonymacx86.com/threads/guide-dell-inspiron-15-7559-el-capitan-hackintosh-dual-boot-with-windows.196138/ | |
(older) https://www.tonymacx86.com/threads/guide-dell-inspiron-15-7559-skylake-i7-6700hq-intel-hd-530-using-clover.191921/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
NewerOlder