Skip to content

Instantly share code, notes, and snippets.

View mateusmedeiros's full-sized avatar
🏠
Working from home

Mateus Medeiros mateusmedeiros

🏠
Working from home
  • Brazil
View GitHub Profile
@mateusmedeiros
mateusmedeiros / README.md
Created June 27, 2023 12:41 — forked from Informatic/README.md
openlgtv webOS hacking notes

This is just a dump of some interesting undocumented features of webOS (3.8 specifically, on early 2018 4k LG TV) and other development-related tips.

Homebrew app ideas

@mateusmedeiros
mateusmedeiros / sudo
Created September 7, 2018 20:25
Touch ID for sudo including tmux
# sudo: auth account password session
auth optional pam_reattach.so
auth sufficient pam_tid.so
auth sufficient pam_smartcard.so
auth required pam_opendirectory.so
account required pam_permit.so
password required pam_deny.so
session required pam_permit.so
@mateusmedeiros
mateusmedeiros / sudo
Last active September 7, 2018 20:25
Touch ID for sudo
# sudo: auth account password session
auth sufficient pam_tid.so
auth sufficient pam_smartcard.so
auth required pam_opendirectory.so
account required pam_permit.so
password required pam_deny.so
session required pam_permit.so
// This is the user configuration. It is empty by default.
// All possible keys are described in the default configuration file.
// To open it, run the "Open default configuration" action.
// Do not edit this file, it will be replaced on update.
// Edit the user configuration file instead.
// You can open it by running the "Preferences" action.

Keybase proof

I hereby claim:

  • I am mateusmedeiros on github.
  • I am doodad (https://keybase.io/doodad) on keybase.
  • I have a public key whose fingerprint is B8C0 AA8F E0CA 9FC0 526C 173B 23B1 E930 A018 4887

To claim this, I am signing this object:

\set QUIET 1
-- formatting
\x auto
\set VERBOSITY verbose
\set ON_ERROR_ROLLBACK interactive
\timing
\pset pager off
\pset null '<NULL>'
This file has been truncated, but you can view the full file.
@mateusmedeiros
mateusmedeiros / tmux.conf
Last active August 14, 2018 10:26
tmux.conf
set-option -g default-shell $SHELL
set -g base-index 1
set -s escape-time 0
set -g mouse on
set -g history-limit 100000
set -g default-terminal screen
@mateusmedeiros
mateusmedeiros / compton.conf
Last active February 11, 2016 12:32
Compton config
backend = "xr_glx_hybrid";
paint-on-overlay = true;
glx-no-stencil = true;
no-dock-shadow = true;
no-dnd-shadow = true;
clear-shadow = true;
shadow = true;
fading = true;