Skip to content

Instantly share code, notes, and snippets.

View thierrymarianne's full-sized avatar

Th. Ma. thierrymarianne

  • Greater Paris Metropolitan Area
View GitHub Profile
#!/bin/zsh
#### Usage
# cp emoj.zsh-theme ~/.oh-my-zsh/themes
#
## ~/..zshrc
# ZSH_THEME='emoj' # Mettre à jour le thème oh-my-zsh sélectionné
# plugins=(git emoji) # Ajout d'emoji à la liste existante des plugins
local last_command_failed="$emoji[lady_beetle] $emoji[face_screaming_in_fear]"
#!/bin/zsh
#### Usage
# cp smil.zsh-theme ~/.oh-my-zsh/themes
#
## ~/..zshrc
# ZSH_THEME='smil' # Mettre à jour le thème oh-my-zsh sélectionné
local last_command_failed="o_O"
local last_command_succeeded="^_^"
## tmux 2.5 configuration
# ~/.tmux.conf
set-option -g default-shell /bin/zsh
setw -g mode-keys vi
setw -g aggressive-resize on
set-option -g mouse on
set-window-option -g xterm-keys on
#!/bin/zsh
alias search-history='fc -n -l -10000 | tac | fzf'
alias ll='exa -abghl --time modified --sort=modified --git --color=automatic'
alias pyg='pygmentize -O style=solarizedlight -f console256 -g'
Verifying that "gordonfreeman.id" is my Blockstack ID. https://onename.com/gordonfreeman
Verifying that "thierrymarianne.id" is my Blockstack ID. https://onename.com/thierrymarianne
Verifying that "thierry_marianne.id" is my Blockstack ID. https://onename.com/thierry_marianne
Verifying my Blockstack ID is secured with the address 1eCtchHX1oAKJHg9VUfvVTUD5HhbbZCzY https://explorer.blockstack.org/address/1eCtchHX1oAKJHg9VUfvVTUD5HhbbZCzY
Verifying my Blockstack ID is secured with the address 1DRDyPbrpmZnaiWeCGfFHW2bFh6AKq5aDk https://explorer.blockstack.org/address/1DRDyPbrpmZnaiWeCGfFHW2bFh6AKq5aDk
@thierrymarianne
thierrymarianne / spotting-differences-between-directories-except-for-excluded-files.sh
Last active August 6, 2022 22:59
Code excerpt used in the context of a screencast series entitled "Solving issues with tools running in a shell"
#!/usr/bin/env bash
set -Eeo pipefail
#
# ```
# spot-differences-between-directories "$(pwd)/backup" "$(pwd)/ill-fated-directory"
# ```
#
function spot-differences-between-directories() {
local backup_directory