Skip to content

Instantly share code, notes, and snippets.

View basbebe's full-sized avatar

basbebe

View GitHub Profile
@ageis
ageis / YubiKey-GPG-SSH-guide.md
Last active October 30, 2024 07:49
Technical guide for using YubiKey series 4 for GPG and SSH

YubiKey 4 series GPG and SSH setup guide

Written for fairly adept technical users, preferably of Debian GNU/Linux, not for absolute beginners.

You'll probably be working with a single smartcard, so you'll want only one primary key (1. Sign & Certify) and two associated subkeys (2. Encrypt, 3. Authenticate). I've published a Bash function which automates this slightly special key generation process.

@Takika
Takika / fixphpextorder.sh
Last active May 3, 2016 10:01
FreeBSD script to reorder php extensions to avoid sig11
#!/bin/sh
EGREP=/usr/bin/egrep
ECHO=/bin/echo
EXTENSIONS_INI=/usr/local/etc/php/extensions.ini
CP=/bin/cp
MV=/bin/mv
HAS_SPL=`$EGREP -c '^extension=spl.so$' $EXTENSIONS_INI`
HAS_SQLITE=`$EGREP -c '^extension=sqlite.so$' $EXTENSIONS_INI`
@antifuchs
antifuchs / iterm2_zsh_init.zsh
Last active July 19, 2024 07:47
tmux-enabled iterm2 shell integration for zsh.
if [[ -o login ]]; then
TMUX_PREFIX=""
if [[ ! -z "$TMUX" ]] ; then
# Via
# <http://blog.yjl.im/2014/12/passing-escape-codes-for-changing-font.html>:
TMUX_PREFIX='\ePtmux;\e'
TMUX_POSTFIX='\e\\'
fi
# Indicates start of command output. Runs just before command executes.
@XVilka
XVilka / TrueColour.md
Last active November 18, 2024 16:13
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!