Get an FTDI, the Arduino IDE, add the ESP8266 plugin to the IDE.
Then connect TX↔RX, RX↔TX, GND↔GND, VCC↔3V and CHPD↔3V.
To enter the flashing mode, connect GPIO0↔GND. Then briefly touch RST↔GND.
After flashing, disconnect GPIO0 from GND.
RX and TX can later be used as GPIOs. The blue led is on when TX is low.
DIRS=$(find /var/git-repos -mindepth 1 -maxdepth 1 -type d)
for D in $DIRS
do
http POST https://git.gogs.here/api/v1/repos/migrate clone_addr=$D uid:=1 repo_name=$(basename $D|sed "s,\.git,,") --auth user:password
doneSource code for Wi-Fi Privacy Police, available on Google Play at https://play.google.com/store/apps/details?id=be.uhasselt.privacypolice
use GhostScript, adjust ColorImageResolution
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dEmbedAllFonts=true -dSubsetFonts=true -dColorImageResolution=250 -dColorImageDownsampleType=/Bicubic -dNOPAUSE -dQUIET -dBATCH -sOutputFile=out.pdf in.pdflpr *.pdf
DNS MX records:
- priority 0: main server
- priority 10: backup server
cron script:
FETCHMAILHOME=/tmp fetchmail -f ~/.fetchmailrc
fetchmailrc:
set postmaster "root"
set no bouncemail
poll imap.backupserver.net
protocol IMAP
envelope "X-Envelope-To:"
user 'user@backupserver.net'
pass 'passw0rd'
to 'root' here
smtphost localhost
keep
ssl
sslcertcknix-build -E 'with import ./. {}; uwsgi.override { plugins=[ "php" "python3" ]; }'
amerikanischer Kinderpsychologe Bruno Bettelheim - Kinder brauchen für eine gesunde Entwicklung drei familiäre Grunderfahrungen: "1. Du bist nicht allein. 2. Die Welt ist etwas Faszinierendes. 3. Du kannst Belastungen aushalten."
#!/usr/bin/bash
rm -rf markdown
# SETUP
git clone --depth=1 https://github.com/ludoza/DokuWiki-to-Markdown-Converter converter
cp -R ~/sync/projects/docs/wernerwiki/ copy/
wget https://dynalon.github.io/mdwiki/mdwiki-latest-debug.html
# convert dokuwiki -> markdown
mv copy/ converter/input
cd converter/scripts/
php Translate.php ../input
cd ../../
rm -rf converter/input
mv converter/output markdown/
# mdwiki specials: append ".md" to internal links
cd markdown/
find -type f -name "*.md" -print0 | xargs -0 sed -ri "s,\[([^]]+)\]\(([^)]+)\),[\1](http://\2.md),g"
cd ../
# cleanup
mv mdwiki-latest-debug.html markdown/index.html
cd markdown/
find -type f -name "start.md" -print0 | xargs -0 -I{} rename start.md index.md {}
rm -f sidebar.md index.md
# fix wrong LaTeX
find -type f -name "*.md" -print0 | xargs -0 sed -ri "s,\`?<=>\`?,\\\\Leftrightarrow,g"
find -type f -name "*.md" -print0 | xargs -0 sed -ri "s,\`?=>\`?,\\\\Rightarrow,g"
find -type f -name "*.md" -print0 | xargs -0 sed -ri "s,\`?<-->\`?,<=>,g"
find -type f -name "*.md" -print0 | xargs -0 sed -ri "s,\`?<-\`?,\\\\leftarrow,g"
find -type f -name "*.md" -print0 | xargs -0 sed -ri "s,\`?(<|>)\`?,\1,g"
find -type f -name "*.md" -print0 | xargs -0 sed -i "/\\$/! { s,->,\$->\$,g; }"
find -type f -name "*.md" -print0 | xargs -0 sed -ri "s,\`?->\`?,\\\\rightarrow,g"
find -type f -name "*.md" -print0 | xargs -0 sed -i "/\\$/ { s,\*,\\\\*,g; }"
find -type f -name "*.md" -print0 | xargs -0 sed -i "/\\$/ { s,_,\\\\_,g; }"
# TODO breaks some markdown
# TODO breaks image links
cd ..wget -nv --mirror --page-requisites --adjust-extension --no-parent --convert-links -R '*do=*','*indexer*' --header="X-DokuWiki-Do: export_xhtml" "http://localhost/doku.php?id=sidebar"
find -name "*.html" -print0 | xargs -I{} -0 pandoc -f html+tex_math_dollars -t latex "{}" -o "{}.pdf"