zplug "akarzim/2bd1012f3047585b19cdfad4937895b3", \
from:gist, \
on:"sindresorhus/pure", \
if:"(( $+commands[docker] ))"
I hereby claim:
- I am akarzim on github.
- I am akarzim (https://keybase.io/akarzim) on keybase.
- I have a public key ASD_kvOPf8DwAJ3kMZ2viboTc9bqLfdB6gVMqXtsX_aY6wo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/TwP/logging/ | |
# Temporarily log with or without backtrace | |
# | |
# Usage: | |
# require 'logging' | |
# logger = Logging.logger(STDOUT) | |
# logger.with_backtrace do | |
# logger.error StandardError.new('oups!') | |
# end | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Source du backup | |
SRC="/home/akarzim/Documents" | |
# Destination du backup | |
DST="/media/SDBackup" | |
UUID="/dev/disk/by-uuid/02e610cf-1cda-4891-b6f5-486d216a4d39" | |
# Date de la forme année-mois-jour-timestamp | |
# (le timestamp %s sert si on veut faire plusieurs sauvegardes dans la même journée) | |
DATE=`date +%Y-%m-%d-%s` |
NewerOlder