Commit b2f6ea28 authored by HENNING Greg's avatar HENNING Greg
Browse files

2019-05-03-10-33-14-0005

parent 55ee1052
urlencodepipe() {
local LANG=C; local c; while IFS= read -r c; do
case $c in [a-zA-Z0-9.~_-]) printf "$c"; continue ;; esac
printf "$c" | od -An -tx1 | tr ' ' % | tr -d '\n'
done <<EOF
$(fold -w1)
EOF
echo
}
urlencode() { printf "$*" | urlencodepipe ;}
echo "If you want to add new files, us git add before!"
git add -u
git config --global user.email "ghenning@iphc.cnrs.fr"
git config --global user.name "Greg Henning"
git commit -m "`date +%F-%H-%M-%S-000%w`"
git push -u origin master
#Username for 'https://gitlab.in2p3.fr': gregoire.henning
#Password for 'https://gregoire.henning@gitlab.in2p3.fr':
git rev-parse HEAD > this_commit.txt
urlencode `git config --get remote.origin.url` > this_url
echo https://mybinder.org/v2/git/`cat this_url`/`cat this_commit.txt` > binder.url
git add binder.url
git commit -m "`date +%F-%H-%M-%S-000%w`"
git push -u origin master
nouveau fichier test avec du texte... est-ce que binder.url le conteindra ?
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment