3d85a9b435eb833de088e45c3f56e49c ./dvorak.html
9e5b7702d73bfb7febb24bf58f0e8d60 ./hashes.txt
-198a371dd238282e3fa78732be9fbfdb ./index.html
+b7466a31f0ee30450485852855af887c ./index.html
72ac29b74f3e09c551aa10a2a8d2581d ./lejos-ubuntu.html
0ba6cb2c3a9d7d8ba27406d215aa501e ./mart@martlubbers.net.asc
75068866762dc200d6e185bfe9b3a2bf ./o.html
ce31052406b3874b287e98c8a9477516 ./p.jpg
-e0242c7228f6ef8da9747516c597f52c ./put.bash
+e8a032f7db299973004f4baad35967a9 ./put.bash
43eb61826bc538817b4c78c7f8d57019 ./README.md
-4be5b32df3dedb74eeb758b233864fe6 ./robots.txt
+acaac946ac8dc79dc3896e74edbdd303 ./robots.txt
d69f225d06c3d7a417fb5e8159efc2d1 ./test.php
146f1bb6bed2adfd4d13f9644390db71 ./archive/nsa-dropbox.html
2ed34aa229468632cce58151c33d1ebc ./archive/wlan-debian.html
<h3>Work</h3>
<p>Student Assistant at <a href="http://www.mpi.nl/">Max Planck Institute for Psycholinguistics</a>
- in the <a href="http://www.mpi.nl/departments/language-and-cognition">Language and Cognition department</a>.</p>
+ in the <a href="http://www.mpi.nl/departments/language-and-cognition">Language and Cognition department</a>.</p>
<h3>Research Interests</h3>
<ul>
#!/bin/bash
set -e
files=$(find . -type f -not -iwholename "*.git*")
-user=$(gpg -q --use-agent -d ~/pw/general.asc | grep ftpmartlubbers.net -A3 | grep -Po "(?<=user: ).*")
-pass=$(gpg -q --use-agent -d ~/pw/general.asc | grep ftpmartlubbers.net -A3 | grep -Po "(?<=pass: ).*")
+user=$(gpg -q --use-agent -d ~/pw/general.asc | grep ftpmartlubbers.net -A3 | head -3 | tail -2 | sed 's/\s\+\(user\|pass\):\s\+//g' | head -c -1 | tr '\n' ':')
for f in $files
do
echo "$f is not changed"
else
echo "$f is changed"
- curl -u "$user:$pass" -T $f ftp://martlubbers.net/public_html/$f
+ curl -u "$user" -T $f ftp://martlubbers.net/public_html/$f
fi
done
-md5sum ./*{,/*} > ./hashes.txt
+md5sum ./*{,/*} > ./hashes.txt || true