Skip to content

Instantly share code, notes, and snippets.

View tspoke's full-sized avatar
🎯
Focusing

Thibaud Giovannetti tspoke

🎯
Focusing
View GitHub Profile
@tspoke
tspoke / memo
Last active July 25, 2017 14:57
Simple monkey coded memo for terminal
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
EXPORT_FILE=$DIR'/memo-save.txt'
READ_ONLY=1
for param in "$@"
do
if [ $param = "edit" ]
then
READ_ONLY=0