Skip to content

Instantly share code, notes, and snippets.

View rafagarciac's full-sized avatar
🌴
On vacation

Rafael García Cuéllar rafagarciac

🌴
On vacation
View GitHub Profile
@rafagarciac
rafagarciac / .tmux.conf
Last active January 27, 2020 10:08
Tmux Spanish Configuration
# Remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# Split panes using h (horizontal) and v (vertical)
bind h split-window -h
@briceburg
briceburg / Dockerfile.fails
Created March 30, 2016 22:17
docker - example adding www-data user to alpine images
FROM nginx:alpine
# stock verison from php:alpine image
# ensure www-data user exists
RUN set -x \
&& addgroup -g 82 -S www-data \
&& adduser -u 82 -D -S -G www-data www-data
# 82 is the standard uid/gid for "www-data" in Alpine
# http://git.alpinelinux.org/cgit/aports/tree/main/apache2/apache2.pre-install?h=v3.3.2
@kwmiebach
kwmiebach / pytest.md
Last active June 4, 2024 06:29 — forked from amatellanes/pytest.sh
pytest cheat sheet

Usage

(Create a symlink pytest for py.test)

pytest [options] [file_or_dir] [file_or_dir] ...

Help: