Skip to content

Instantly share code, notes, and snippets.

View ethernetium's full-sized avatar

Nissi NassimE ethernetium

View GitHub Profile
@ethernetium
ethernetium / gnupg_scdaemon.md
Created August 4, 2020 23:41 — forked from artizirk/gnupg_scdaemon.md
OpenPGP SSH access with Yubikey and GnuPG

OpenPGP SSH access with Yubikey and GnuPG

Yubikey, Smart Cards, OpenSC and GnuPG are pain in the ass to get working. Those snippets here sould help alleviate pain.

Yubikey Config under Ubuntu

To reset and disable not used modes on Yubikey you need the ykman program

You can install it using those commands

@ethernetium
ethernetium / tmux.md
Created August 4, 2020 19:49 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@ethernetium
ethernetium / tmux.conf
Created August 4, 2020 19:40 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
XTerm*utf8: 1
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 13
XTerm*background: #000000
XTerm*foreground: #aaaaaa
XTerm*metaSendsEscape: true
XTerm*colorBD: #ffffff
XTerm*colorBDMode: true
XTerm*cursorBlink: false
XTerm*cursorColor: #bbbbcc