Skip to content

Instantly share code, notes, and snippets.

View AlexCallejas's full-sized avatar

Alex Callejas AlexCallejas

View GitHub Profile

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@AlexCallejas
AlexCallejas / gist:272b9bc394e68a115674fb25c3aa5aec
Last active May 22, 2019 17:41 — forked from msfjarvis/sepolicy.md
How to write sepolicy to fix a denial

Denial in question

avc: denied { read write } for pid=29059 comm="i.tetherservice" name="ipa" dev="tmpfs" ino=11991 scontext=u:r:system_app:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file permissive=0

sepolicy fix

allow system_app ipa_dev:chr_file {read write};
@AlexCallejas
AlexCallejas / InstallJBossonCentOS7.md
Last active March 28, 2018 03:29 — forked from Burning-Chai/InstallJBossonCentOS7.md
How to install JBoss on CentOS7
# yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel
# java -version
java version "1.7.0_171"
OpenJDK Runtime Environment (rhel-2.6.13.0.el7_4-x86_64 u171-b01)
OpenJDK 64-Bit Server VM (build 24.171-b01, mixed mode)

# javac -version
javac 1.7.0_171