|
Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
#######
#
# E-scripts on QR codes.
#
# Note 1: use the eev command (defined in eev.el) and the
# ee alias (in my .zshrc) to execute parts of this file.
# Executing this file as a whole makes no sense.
# An introduction to eev can be found here:
#
# (find-eev-quick-intro)
# http://angg.twu.net/eev-intros/find-eev-quick-intro.html
#
# Note 2: be VERY careful and make sure you understand what
# you're doing.
#
# Note 3: If you use a shell other than zsh things like |&
# and the for loops may not work.
#
# Note 4: I always run as root.
#
# Note 5: some parts are too old and don't work anymore. Some
# never worked.
#
# Note 6: the definitions for the find-xxxfile commands are on my
# .emacs.
#
# Note 7: if you see a strange command check my .zshrc -- it may
# be defined there as a function or an alias.
#
# Note 8: the sections without dates are always older than the
# sections with dates.
#
# This file is at <http://angg.twu.net/e/qrcode.e>
# or at <http://angg.twu.net/e/qrcode.e.html>.
# See also <http://angg.twu.net/emacs.html>,
# <http://angg.twu.net/.emacs[.html]>,
# <http://angg.twu.net/.zshrc[.html]>,
# <http://angg.twu.net/escripts.html>,
# and <http://angg.twu.net/>.
#
#######
# «.qr-droid» (to "qr-droid")
# «.qrencode» (to "qrencode")
# «.cartao-aulas» (to "cartao-aulas")
# http://en.wikipedia.org/wiki/Qr_code
# (find-zsh "availabledebs | sort | grep qr")
#####
#
# QR Droid (for android)
# 2012dec29
#
#####
# «qr-droid» (to ".qr-droid")
# https://play.google.com/store/apps/details?id=la.droid.qr&hl=en
#####
#
# qrencode
# 2012dec29
#
#####
# «qrencode» (to ".qrencode")
# (find-status "qrencode")
# (find-vldifile "qrencode.list")
# (find-udfile "qrencode/")
# (find-angg ".emacs.templates" "find-qrencode-links")
# http://megaui.net/fukuchi/works/qrencode/index.en.html
# https://fukuchi.org/works/qrencode/index.html.en 2021
# (find-udfile "qrencode/NEWS.gz")
# (find-udfile "qrencode/README")
# (find-udfile "qrencode/TODO")
# (find-man "1 qrencode")
# (find-man "1 qrencode" "-m NUMBER, --margin=NUMBER")
# (find-man "1 qrencode" "-s NUMBER, --size=NUMBER")
# (find-man "1 qrencode" "-l {LMQH}, --level={LMQH}")
* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
qrencode -s 8 -o /tmp/q1.png http://anggtwu.net/tmp/aduff-parecer-etica-2023.pdf
qrencode -l H -s 8 -m 4 -o /tmp/q2.png http://anggtwu.net/tmp/aduff-parecer-etica-2023.pdf
qrencode -s 8 -m 4 -o /tmp/q3.png http://anggtwu.net/tmp/aduff-parecer-etica-2023.pdf
qrencode -s 8 -o /tmp/qrL.png 'http://angg.twu.net/#quadradinho'
qrencode -l H -s 8 -m 4 -o /tmp/qrH.png 'http://angg.twu.net/#quadradinho'
qrencode -s 8 -m 4 -o /tmp/qra5.png 'http://goo.gl/JziZaY'
laf /tmp/qr*
* (ee-kill-buffer "q1.png")
* (ee-kill-buffer "q2.png")
* (ee-kill-buffer "q3.png")
(find-wset "13o2_o_o"
' (find-fline "/tmp/qrL.png")
' (find-fline "/tmp/qrH.png")
;; (find-fline "/tmp/qra5.png")
)
cp -v /tmp/qrL.png ~/quadradinho/qrcode.png
#####
#
# cartao-aulas
# 2024dec22
#
#####
# «cartao-aulas» (to ".cartao-aulas")
# (find-fline "~/INKSCAPE/" "2024-cartao")
# (find-TH "2024-aulas")
* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
cd ~/INKSCAPE/
convert 2024-cartao-3.png -scale 12.5% 2024-cartao-3-peq.png
laf *.png
# (find-fline "~/INKSCAPE/" "2024-cartao-3-peq.png")
# (find-fline "~/INKSCAPE/2024-cartao-3-peq.png")
# bug-gnu-emacs 2020aug06:
Compare how
$ qrencode -t UTF8 x
looks in
$ emacs -nw -f shell # vs.
$ emacs -f shell
* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
qrencode -t UTF8 'WIFI:T:WPA2;S:fuck;P:duck;;'
qrencode -t UTF8 'https://media.emacsconf.org/2021/emacsconf-2021-telega--telega-el-and-the-emacs-community-on-telegram--gabriele-bozolla--main.webm'
https://www.quaxio.com/qrquine/
https://qris.cool/
# Local Variables:
# coding: utf-8-unix
# End: