http://taskwarrior.org/docs/timewarrior/tutorial.html
Last update: 2016-11-15
$ sudo pacman -S timew
http://taskwarrior.org/docs/timewarrior/tutorial.html
Last update: 2016-11-15
$ sudo pacman -S timew
#!/bin/bash | |
#1. export gpg private key as ascii | |
#2. split ascii into 4 qr code images | |
#3. generate bash script for importing bash images | |
#4. generate bash script for decrypting files. | |
gpg --export-secret-key --armor | split -C 1000 - IMG | |
for f in IMG*; do cat $f | qrencode -o $f.png; rm -vf $f; done |
#!/bin/env bash | |
# | |
# Author: Amado Martinez - AmadoMartinez.mx | |
# License: MIT License | |
# Date: 2016-05-02 | |
# | |
# Example: | |
# $ ./shotwell_filenames_by_tag.sh ~/.local/share/shotwell/data/photo.db MyTag | |
# |
#!/bin/bash | |
# github.com/projectivemotion | |
# | |
# This script displays a listbox and allows a user | |
# to select and execute any of the commands from a given | |
# ini file. (run.ini) | |
# | |
cd $(dirname "$0") |
#!/bin/bash | |
# epel | |
yum install -y epel-release | |
# docker | |
yum install -y yum-utils device-mapper-persistent-data lvm2 | |
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
yum install -y docker-ce | |
systemctl enable docker |
#!/bin/bash | |
# save as after.sh in project root then run vagrant up | |
if [ "$USER" != "root" ] ; then | |
sudo /bin/bash "$0" | |
exit 0 | |
fi | |
# install php5.6 | |
apt-get update -y |
#learnmysql_init will pull mysql and phpmyadmin/phpmyadmin images from the registry | |
function learnmysql_intit { | |
#Change supersecretpassword to work in not trusted network. | |
docker run --name mysql -e MYSQL_ROOT_PASSWORD="supersecretpassword" -d mysql | |
docker run --name phpmyadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin | |
} | |
function learnmysql_stop { | |
docker stop mysql phpmyadmin | |
} |
These commands were taking from the talk Introduction to Advanced Bash Usage by James Pannacciulli
Updated 21 Jan 2017 06:54:53