From 23ac9f57b9b4c761cb8edc5bfa0c0de77ec89326 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 30 Sep 2017 14:06:22 -0300 Subject: Change extension to .md --- research/android.md | 23 ++++++ research/android.mdwn | 23 ------ research/archive.md | 105 +++++++++++++++++++++++ research/archive.mdwn | 105 ----------------------- research/bike.md | 14 ++++ research/bike.mdwn | 14 ---- research/data.md | 28 +++++++ research/data.mdwn | 28 ------- research/devops.md | 36 ++++++++ research/devops.mdwn | 36 -------- research/epistemologia.md | 36 ++++++++ research/epistemologia.mdwn | 36 -------- research/git.md | 121 +++++++++++++++++++++++++++ research/git.mdwn | 121 --------------------------- research/hardened.md | 38 +++++++++ research/hardened.mdwn | 38 --------- research/hardware.md | 7 ++ research/hardware.mdwn | 7 -- research/lab.md | 60 ++++++++++++++ research/lab.mdwn | 60 -------------- research/library.md | 73 ++++++++++++++++ research/library.mdwn | 73 ---------------- research/libreboot.md | 148 +++++++++++++++++++++++++++++++++ research/libreboot.mdwn | 148 --------------------------------- research/openwrt.md | 39 +++++++++ research/openwrt.mdwn | 39 --------- research/panc.md | 45 ++++++++++ research/panc.mdwn | 45 ---------- research/python.md | 80 ++++++++++++++++++ research/python.mdwn | 80 ------------------ research/radio.md | 6 ++ research/radio.mdwn | 6 -- research/raspberrypi.md | 161 ++++++++++++++++++++++++++++++++++++ research/raspberrypi.mdwn | 161 ------------------------------------ research/readers.md | 45 ++++++++++ research/readers.mdwn | 45 ---------- research/security.md | 33 ++++++++ research/security.mdwn | 33 -------- research/smartphone.md | 197 ++++++++++++++++++++++++++++++++++++++++++++ research/smartphone.mdwn | 197 -------------------------------------------- research/thinkpad.md | 26 ++++++ research/thinkpad.mdwn | 26 ------ research/token.md | 47 +++++++++++ research/token.mdwn | 47 ----------- research/torrent.md | 15 ++++ research/torrent.mdwn | 15 ---- 46 files changed, 1383 insertions(+), 1383 deletions(-) create mode 100644 research/android.md delete mode 100644 research/android.mdwn create mode 100644 research/archive.md delete mode 100644 research/archive.mdwn create mode 100644 research/bike.md delete mode 100644 research/bike.mdwn create mode 100644 research/data.md delete mode 100644 research/data.mdwn create mode 100644 research/devops.md delete mode 100644 research/devops.mdwn create mode 100644 research/epistemologia.md delete mode 100644 research/epistemologia.mdwn create mode 100644 research/git.md delete mode 100644 research/git.mdwn create mode 100644 research/hardened.md delete mode 100644 research/hardened.mdwn create mode 100644 research/hardware.md delete mode 100644 research/hardware.mdwn create mode 100644 research/lab.md delete mode 100644 research/lab.mdwn create mode 100644 research/library.md delete mode 100644 research/library.mdwn create mode 100644 research/libreboot.md delete mode 100644 research/libreboot.mdwn create mode 100644 research/openwrt.md delete mode 100644 research/openwrt.mdwn create mode 100644 research/panc.md delete mode 100644 research/panc.mdwn create mode 100644 research/python.md delete mode 100644 research/python.mdwn create mode 100644 research/radio.md delete mode 100644 research/radio.mdwn create mode 100644 research/raspberrypi.md delete mode 100644 research/raspberrypi.mdwn create mode 100644 research/readers.md delete mode 100644 research/readers.mdwn create mode 100644 research/security.md delete mode 100644 research/security.mdwn create mode 100644 research/smartphone.md delete mode 100644 research/smartphone.mdwn create mode 100644 research/thinkpad.md delete mode 100644 research/thinkpad.mdwn create mode 100644 research/token.md delete mode 100644 research/token.mdwn create mode 100644 research/torrent.md delete mode 100644 research/torrent.mdwn (limited to 'research') diff --git a/research/android.md b/research/android.md new file mode 100644 index 0000000..1096f51 --- /dev/null +++ b/research/android.md @@ -0,0 +1,23 @@ +[[!meta title="Android"]] + +Some bits on android development. + +## Basic + +Download tools and put inside `~/Android/tools`. + + sudo apt install android-sdk # grab all dependencies + cd ~/Android/tools + bin/android + +## Issues + +* http://stackoverflow.com/questions/41173477/android-cant-find-sdkmanager-jar + +## References + +* [Build Android apps with Debian: apt install android-sdk](https://bits.debian.org/2017/03/build-android-apps-with-debian.html). +* Android emulator inside a virtual machine: + * https://packages.debian.org/stretch/android-sdk + * http://xmodulo.com/how-to-run-android-emulator-on-ubuntu-or-debian.html + * https://developer.android.com/studio/install.html diff --git a/research/android.mdwn b/research/android.mdwn deleted file mode 100644 index 1096f51..0000000 --- a/research/android.mdwn +++ /dev/null @@ -1,23 +0,0 @@ -[[!meta title="Android"]] - -Some bits on android development. - -## Basic - -Download tools and put inside `~/Android/tools`. - - sudo apt install android-sdk # grab all dependencies - cd ~/Android/tools - bin/android - -## Issues - -* http://stackoverflow.com/questions/41173477/android-cant-find-sdkmanager-jar - -## References - -* [Build Android apps with Debian: apt install android-sdk](https://bits.debian.org/2017/03/build-android-apps-with-debian.html). -* Android emulator inside a virtual machine: - * https://packages.debian.org/stretch/android-sdk - * http://xmodulo.com/how-to-run-android-emulator-on-ubuntu-or-debian.html - * https://developer.android.com/studio/install.html diff --git a/research/archive.md b/research/archive.md new file mode 100644 index 0000000..874b724 --- /dev/null +++ b/research/archive.md @@ -0,0 +1,105 @@ +[[!meta title="Archived Research"]] + +* Currently archived research. +* Lista de projetos que já desenvolvi, que atualmente não estão no meu + horizonte de atividades. +* Podem ser desarquivados no futuro ou servir de inspiração. +* Alguns podem ser inclusive passados para frente na linha do [Orfanato de Projetos](https://templates.fluxo.info/orfanato). + +## Lista + +### Social + +* Comunidade "Podíamos!": + * Um banco de ideias coletivas. + * Toda a vez que alguém te disser "podíamos fazer tal coisa", sugira para que + a pessoa sistematize a ideia na comunidade (ou hashtag) "podíamos". +* Festas: + * [Silent disco](https://en.wikipedia.org/wiki/Silent_disco). + * hacknick (hacknique). + * colar nalgum parque com máquinas, livros e brinquedos e fazer um piquenique. + * alguns parques tem mesas boas para trampar confortavelmente. + * otima opção para dias ensolarados e sair das cavernas de concreto. +* Depósitos urbanos comunitários: ecopontos com possibilidade de retirada de materiais. + +### Hardware + +* Algema e corrente Kensington. + +### Misc software + +* Wayland with tiling compositor: + * [Way Cooler](http://way-cooler.org/). + * [Sway](http://swaywm.org/). +* [uMatrix](https://github.com/gorhill/uMatrix). +* [antigen](https://github.com/zsh-users/antigen), [vundle](https://github.com/VundleVim/Vundle.vim), etc. +* [Kaitai Struct: declarative binary format parsing language](http://kaitai.io/). +* [Haiku Project](https://www.haiku-os.org/). +* [asciinema - Record and share your terminal sessions, the right way](https://asciinema.org/) ([client](https://packages.debian.org/jessie/asciinema) and server). +* [HTTP Prompt - An interactive command-line HTTP client](http://http-prompt.com/). +* [mmv](https://packages.debian.org/jessie/mmv) ([manpage](https://ss64.com/bash/mmv.html)). +* [Unikernel](https://en.wikipedia.org/wiki/Unikernel). +* Distributed computing clients (distributed-net, boinc, folding@home with [origami](https://packages.debian.org/stable/origami), etc). + +### Distros + +* [GoboLinux - the alternative Linux distribution](http://gobolinux.org/). +* [OpenBSD vmm](https://marc.info/?l=openbsd-tech&m=149191695821636&w=2). +* [Minix3](http://www.minix3.org/). +* [Sabotage - the hardcore let's be oldschool UNIX experience](http://sabotage.tech/). +* [netboot.xyz](https://netboot.xyz/). +* [iPXE - open source boot firmware](http://ipxe.org/). +* [LEDE](https://lede-project.org/start). + +### Multimedia + +* mopidy/mpdris: + * plugins like https://packages.debian.org/stretch/mopidy-podcast + * https://packages.debian.org/jessie/mopidy + * https://github.com/acrisci/playerctl + * https://packages.debian.org/jessie/mpdris2 + * https://packages.debian.org/stretch/mpris-remote + +### DevOPS + +* onion smtp: + * https://www.void.gr/kargig/blog/2014/05/10/smtp-over-hidden-services-with-postfix/ + * https://tech.immerda.ch/2016/12/ehlo-onion/ + * https://github.com/riseupnet/onionmx +* tor: ooniprobe, lepidopter, onionpi (tor, hostapd and iptables). +* php7-fpm: + * https://serversforhackers.com/video/apache-and-php-fpm + * http://www.binarytides.com/setup-apache-php-fpm-mod-proxy-fcgi-ubuntu/ + + + SetHandler "proxy:unix:/run/php/php7.1-fpm.sock|fcgi://localhost:9000"; + + +### Services + +* [Saravea](https://web.archive.org/web/*/saravea.net). +* [Calendário de Movimentos Sociais](https://web.archive.org/web/*/calendario.cc). +* [Resource Sharing Protocol / Metadata](https://rsp.fluxo.info). +* [Bootless](https://bootless.fluxo.info). +* [Clube da Muamba](https://templates.fluxo.info/muamba/). +* Do [Escritório Sem Login](https://escritorio.fluxo.info): + * [Lembrador de Eventos](https://lembrador.fluxo.info), cujo [código](https://git.fluxo.info/?p=drupal/reminder.git;a=summary) precisa ser retomado para que o serviço entre no ar. + * [Encurtador Saravento](https://encurtador.fluxo.info). + * [Agendador Saravento](https://agendador.fluxo.info). + +### Development + +* [Firma](https://firma.fluxo.info). +* [Simplepkg](https://simplepkg.fluxo.info) e [Slack](https://slack.fluxo.info). +* [Bootex](https://bootex.fluxo.info). +* [Gnudenberg](https://gnuden.fluxo.info). +* [Observatory by Mozilla](https://observatory.mozilla.org/) and [CAA checking becomes mandatory for SSL/TLS certificates](https://ma.ttias.be/caa-checking-becomes-mandatory-ssltls-certificates/). +* [Mapzen](https://mapzen.com). +* Ebook 'playlist': + * with copy capabilities. + * pdf and djvu conversion to epub. +* Calendar compiler: + * public, suckless, responsive, RSS. + * remind, ical. + * multiple sources and categories. + * [ical2html](https://packages.debian.org/stable/ical2html). diff --git a/research/archive.mdwn b/research/archive.mdwn deleted file mode 100644 index 874b724..0000000 --- a/research/archive.mdwn +++ /dev/null @@ -1,105 +0,0 @@ -[[!meta title="Archived Research"]] - -* Currently archived research. -* Lista de projetos que já desenvolvi, que atualmente não estão no meu - horizonte de atividades. -* Podem ser desarquivados no futuro ou servir de inspiração. -* Alguns podem ser inclusive passados para frente na linha do [Orfanato de Projetos](https://templates.fluxo.info/orfanato). - -## Lista - -### Social - -* Comunidade "Podíamos!": - * Um banco de ideias coletivas. - * Toda a vez que alguém te disser "podíamos fazer tal coisa", sugira para que - a pessoa sistematize a ideia na comunidade (ou hashtag) "podíamos". -* Festas: - * [Silent disco](https://en.wikipedia.org/wiki/Silent_disco). - * hacknick (hacknique). - * colar nalgum parque com máquinas, livros e brinquedos e fazer um piquenique. - * alguns parques tem mesas boas para trampar confortavelmente. - * otima opção para dias ensolarados e sair das cavernas de concreto. -* Depósitos urbanos comunitários: ecopontos com possibilidade de retirada de materiais. - -### Hardware - -* Algema e corrente Kensington. - -### Misc software - -* Wayland with tiling compositor: - * [Way Cooler](http://way-cooler.org/). - * [Sway](http://swaywm.org/). -* [uMatrix](https://github.com/gorhill/uMatrix). -* [antigen](https://github.com/zsh-users/antigen), [vundle](https://github.com/VundleVim/Vundle.vim), etc. -* [Kaitai Struct: declarative binary format parsing language](http://kaitai.io/). -* [Haiku Project](https://www.haiku-os.org/). -* [asciinema - Record and share your terminal sessions, the right way](https://asciinema.org/) ([client](https://packages.debian.org/jessie/asciinema) and server). -* [HTTP Prompt - An interactive command-line HTTP client](http://http-prompt.com/). -* [mmv](https://packages.debian.org/jessie/mmv) ([manpage](https://ss64.com/bash/mmv.html)). -* [Unikernel](https://en.wikipedia.org/wiki/Unikernel). -* Distributed computing clients (distributed-net, boinc, folding@home with [origami](https://packages.debian.org/stable/origami), etc). - -### Distros - -* [GoboLinux - the alternative Linux distribution](http://gobolinux.org/). -* [OpenBSD vmm](https://marc.info/?l=openbsd-tech&m=149191695821636&w=2). -* [Minix3](http://www.minix3.org/). -* [Sabotage - the hardcore let's be oldschool UNIX experience](http://sabotage.tech/). -* [netboot.xyz](https://netboot.xyz/). -* [iPXE - open source boot firmware](http://ipxe.org/). -* [LEDE](https://lede-project.org/start). - -### Multimedia - -* mopidy/mpdris: - * plugins like https://packages.debian.org/stretch/mopidy-podcast - * https://packages.debian.org/jessie/mopidy - * https://github.com/acrisci/playerctl - * https://packages.debian.org/jessie/mpdris2 - * https://packages.debian.org/stretch/mpris-remote - -### DevOPS - -* onion smtp: - * https://www.void.gr/kargig/blog/2014/05/10/smtp-over-hidden-services-with-postfix/ - * https://tech.immerda.ch/2016/12/ehlo-onion/ - * https://github.com/riseupnet/onionmx -* tor: ooniprobe, lepidopter, onionpi (tor, hostapd and iptables). -* php7-fpm: - * https://serversforhackers.com/video/apache-and-php-fpm - * http://www.binarytides.com/setup-apache-php-fpm-mod-proxy-fcgi-ubuntu/ - - - SetHandler "proxy:unix:/run/php/php7.1-fpm.sock|fcgi://localhost:9000"; - - -### Services - -* [Saravea](https://web.archive.org/web/*/saravea.net). -* [Calendário de Movimentos Sociais](https://web.archive.org/web/*/calendario.cc). -* [Resource Sharing Protocol / Metadata](https://rsp.fluxo.info). -* [Bootless](https://bootless.fluxo.info). -* [Clube da Muamba](https://templates.fluxo.info/muamba/). -* Do [Escritório Sem Login](https://escritorio.fluxo.info): - * [Lembrador de Eventos](https://lembrador.fluxo.info), cujo [código](https://git.fluxo.info/?p=drupal/reminder.git;a=summary) precisa ser retomado para que o serviço entre no ar. - * [Encurtador Saravento](https://encurtador.fluxo.info). - * [Agendador Saravento](https://agendador.fluxo.info). - -### Development - -* [Firma](https://firma.fluxo.info). -* [Simplepkg](https://simplepkg.fluxo.info) e [Slack](https://slack.fluxo.info). -* [Bootex](https://bootex.fluxo.info). -* [Gnudenberg](https://gnuden.fluxo.info). -* [Observatory by Mozilla](https://observatory.mozilla.org/) and [CAA checking becomes mandatory for SSL/TLS certificates](https://ma.ttias.be/caa-checking-becomes-mandatory-ssltls-certificates/). -* [Mapzen](https://mapzen.com). -* Ebook 'playlist': - * with copy capabilities. - * pdf and djvu conversion to epub. -* Calendar compiler: - * public, suckless, responsive, RSS. - * remind, ical. - * multiple sources and categories. - * [ical2html](https://packages.debian.org/stable/ical2html). diff --git a/research/bike.md b/research/bike.md new file mode 100644 index 0000000..e1fa26c --- /dev/null +++ b/research/bike.md @@ -0,0 +1,14 @@ +[[!meta title="Bicicletas"]] + +## Estante energética + +Uma pesquisa sobre estantes de bicicletas (rolos de treino) geradoras de eletricidade! + +### Material necessário + +* Diversas [referências](https://links.fluxo.info/tags/bicicleta+eletricidade). +* Rolo de treino. +* Bateria automotiva. +* Inversor. +* Circuito carregador. +* Motor elétrico. diff --git a/research/bike.mdwn b/research/bike.mdwn deleted file mode 100644 index e1fa26c..0000000 --- a/research/bike.mdwn +++ /dev/null @@ -1,14 +0,0 @@ -[[!meta title="Bicicletas"]] - -## Estante energética - -Uma pesquisa sobre estantes de bicicletas (rolos de treino) geradoras de eletricidade! - -### Material necessário - -* Diversas [referências](https://links.fluxo.info/tags/bicicleta+eletricidade). -* Rolo de treino. -* Bateria automotiva. -* Inversor. -* Circuito carregador. -* Motor elétrico. diff --git a/research/data.md b/research/data.md new file mode 100644 index 0000000..777661f --- /dev/null +++ b/research/data.md @@ -0,0 +1,28 @@ +[[!meta title="Data science, lean databases and formats"]] + +## Basic + +* Ontologies and how to deal with lists. +* Standards: schema.org, microdata, microformats, json, yaml, csv, dot, vcard. +* Intelligence: how to easilly search, index and produce outputs with strutured data? +* Samples: TODO and ChangeLog (see [yankee: Changelogs meet YAML](https://github.com/studio-b12/yankee)). + +## Software + +* [mtail](https://packages.debian.org/stable/mtail). +* [Scrapy | A Fast and Powerful Scraping and Web Crawling Framework](https://scrapy.org/). +* [phantomjs in stretch](https://packages.debian.org/stable/phantomjs). +* [wpull](https://wpull.readthedocs.io/en/master/usage.html). +* [Darktable - virtual lighttable and darkroom for photographers](https://packages.debian.org/stable/darktable). +* OsmAnd and GPX tracks. + +## API, bigdata, etc + +* https://stripe.com/blog/idempotency +* https://botman.io +* https://github.com/metabase/metabase +* [Apache Drill](https://drill.apache.org/), [presto](https://github.com/prestodb/presto), hadoop, etc. +* [Redash](https://redash.io/). +* [TensorFlow](https://www.tensorflow.org/). +* [Wikidata](https://www.wikidata.org). +* [Swagger Specification](http://swagger.io/specification/). diff --git a/research/data.mdwn b/research/data.mdwn deleted file mode 100644 index 777661f..0000000 --- a/research/data.mdwn +++ /dev/null @@ -1,28 +0,0 @@ -[[!meta title="Data science, lean databases and formats"]] - -## Basic - -* Ontologies and how to deal with lists. -* Standards: schema.org, microdata, microformats, json, yaml, csv, dot, vcard. -* Intelligence: how to easilly search, index and produce outputs with strutured data? -* Samples: TODO and ChangeLog (see [yankee: Changelogs meet YAML](https://github.com/studio-b12/yankee)). - -## Software - -* [mtail](https://packages.debian.org/stable/mtail). -* [Scrapy | A Fast and Powerful Scraping and Web Crawling Framework](https://scrapy.org/). -* [phantomjs in stretch](https://packages.debian.org/stable/phantomjs). -* [wpull](https://wpull.readthedocs.io/en/master/usage.html). -* [Darktable - virtual lighttable and darkroom for photographers](https://packages.debian.org/stable/darktable). -* OsmAnd and GPX tracks. - -## API, bigdata, etc - -* https://stripe.com/blog/idempotency -* https://botman.io -* https://github.com/metabase/metabase -* [Apache Drill](https://drill.apache.org/), [presto](https://github.com/prestodb/presto), hadoop, etc. -* [Redash](https://redash.io/). -* [TensorFlow](https://www.tensorflow.org/). -* [Wikidata](https://www.wikidata.org). -* [Swagger Specification](http://swagger.io/specification/). diff --git a/research/devops.md b/research/devops.md new file mode 100644 index 0000000..ec45fbd --- /dev/null +++ b/research/devops.md @@ -0,0 +1,36 @@ +[[!meta title="DevOps"]] + +DevOps research: + +* [Simet](http://simet.nic.br). +* spice-client-gtk: option to hide menubar: see `window_state_cb` at `spicy.c`. +* auto start user screen sessions. +* backups: snapshots with remote transfer support. +* puppet: + * deploy: multiple module paths: https://docs.puppet.com/puppet/3.6/dirs_modulepath.html + * default modules as submodules from the bootstrap repository, custom modules closer to the config folder? +* kvm: + * kvm-manager improvements (systemd support, packaging, docs). + * env params. + * FDE using bootless image. +* dynamic DNS with proper zone/domain access control: + * http://www.cheshirekow.com/wordpress/?p=457 + * https://www.erianna.com/nsupdate-dynamic-dns-updates-with-bind9 + * https://blog.philippklaus.de/2013/01/updating-dns-entries-with-nsupdate-or-alternative-implementations-your-own-ddns/ + * http://linux.yyz.us/nsupdate/ + * https://debian-administration.org/article/591/Using_the_dynamic_DNS_editor_nsupdate +* containers: + * https://packages.debian.org/stretch/bubblewrap + * https://packages.debian.org/stretch/runc + * https://github.com/projectatomic/bubblewrap + * https://github.com/opencontainers/runc + * https://github.com/thestinger/playpen + * https://github.com/omegaup/minijail +* misc: + * [leap-cli](https://leap.se) ([package](https://packages.debian.org/sid/leap-cli)). + * [bdsync](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724344). +* packaging: + * merge all `build-area` folders. + * deploy debian project as a ikiwiki with a git-annex'ed package repository. + * try an [AutomateBackports](https://wiki.debian.org/AutomateBackports) setup. + * set [SecurePbuilder](https://wiki.debian.org/SecurePbuilder). diff --git a/research/devops.mdwn b/research/devops.mdwn deleted file mode 100644 index ec45fbd..0000000 --- a/research/devops.mdwn +++ /dev/null @@ -1,36 +0,0 @@ -[[!meta title="DevOps"]] - -DevOps research: - -* [Simet](http://simet.nic.br). -* spice-client-gtk: option to hide menubar: see `window_state_cb` at `spicy.c`. -* auto start user screen sessions. -* backups: snapshots with remote transfer support. -* puppet: - * deploy: multiple module paths: https://docs.puppet.com/puppet/3.6/dirs_modulepath.html - * default modules as submodules from the bootstrap repository, custom modules closer to the config folder? -* kvm: - * kvm-manager improvements (systemd support, packaging, docs). - * env params. - * FDE using bootless image. -* dynamic DNS with proper zone/domain access control: - * http://www.cheshirekow.com/wordpress/?p=457 - * https://www.erianna.com/nsupdate-dynamic-dns-updates-with-bind9 - * https://blog.philippklaus.de/2013/01/updating-dns-entries-with-nsupdate-or-alternative-implementations-your-own-ddns/ - * http://linux.yyz.us/nsupdate/ - * https://debian-administration.org/article/591/Using_the_dynamic_DNS_editor_nsupdate -* containers: - * https://packages.debian.org/stretch/bubblewrap - * https://packages.debian.org/stretch/runc - * https://github.com/projectatomic/bubblewrap - * https://github.com/opencontainers/runc - * https://github.com/thestinger/playpen - * https://github.com/omegaup/minijail -* misc: - * [leap-cli](https://leap.se) ([package](https://packages.debian.org/sid/leap-cli)). - * [bdsync](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724344). -* packaging: - * merge all `build-area` folders. - * deploy debian project as a ikiwiki with a git-annex'ed package repository. - * try an [AutomateBackports](https://wiki.debian.org/AutomateBackports) setup. - * set [SecurePbuilder](https://wiki.debian.org/SecurePbuilder). diff --git a/research/epistemologia.md b/research/epistemologia.md new file mode 100644 index 0000000..2db7130 --- /dev/null +++ b/research/epistemologia.md @@ -0,0 +1,36 @@ +[[!meta title="Epistemologia"]] + +Epistemology: data, routines, systems. + +## Branching hypothesis + +* Diferenciação aplicada à história e à história da ciência. +* É um processo de criaçãode ramos que lida com excessões. + +### Hipótese 1 + +Qualquer conjunto de ideias e teorias pode ser organizado +numa árvore lógica. + +A forquilha indica a cisão; o nível acima, ou metanível, representa uma +categoria unificadora. Assim, mesmo a contradição se encaixa. + +### Hipótese 2 + +Neste esquema, fatos são definidos como **trechos** de caminhos: +um mesmo fato percorre regiões da árvore, podendo simultaneamente andar por +diversos ramos. + +Fatos são observações do real mapeado em ideias que não necessariamente +representam o real e que não necessariamente simulam o real com acurácia. + +Fatos são tão relativos quanto ideias. + +Um entendimento do real é a árvore junto com um caminho percorrido. +De modo que se torna possível a seleção de concepções de mundo. + +### Hipótese 3 + +Qualquer conjunto de ideias pode ser racionalizado, isto é, +descrito/justificado por um sistema de regras, por mais estaparfúrdio +que seja. diff --git a/research/epistemologia.mdwn b/research/epistemologia.mdwn deleted file mode 100644 index 2db7130..0000000 --- a/research/epistemologia.mdwn +++ /dev/null @@ -1,36 +0,0 @@ -[[!meta title="Epistemologia"]] - -Epistemology: data, routines, systems. - -## Branching hypothesis - -* Diferenciação aplicada à história e à história da ciência. -* É um processo de criaçãode ramos que lida com excessões. - -### Hipótese 1 - -Qualquer conjunto de ideias e teorias pode ser organizado -numa árvore lógica. - -A forquilha indica a cisão; o nível acima, ou metanível, representa uma -categoria unificadora. Assim, mesmo a contradição se encaixa. - -### Hipótese 2 - -Neste esquema, fatos são definidos como **trechos** de caminhos: -um mesmo fato percorre regiões da árvore, podendo simultaneamente andar por -diversos ramos. - -Fatos são observações do real mapeado em ideias que não necessariamente -representam o real e que não necessariamente simulam o real com acurácia. - -Fatos são tão relativos quanto ideias. - -Um entendimento do real é a árvore junto com um caminho percorrido. -De modo que se torna possível a seleção de concepções de mundo. - -### Hipótese 3 - -Qualquer conjunto de ideias pode ser racionalizado, isto é, -descrito/justificado por um sistema de regras, por mais estaparfúrdio -que seja. diff --git a/research/git.md b/research/git.md new file mode 100644 index 0000000..c07abf9 --- /dev/null +++ b/research/git.md @@ -0,0 +1,121 @@ +[[!meta title="Git"]] + +Git research and development. + +Barebones shared git repositories +--------------------------------- + +No gitolite, gitosis, gitlab or whatever involded. Only OpenSSH and git is needed. + +### Basic config + +If needed, create a host instance for your git server at your `~/.ssh/config`: + + Host git.project.org gitserver + HostName git.project.org + +Now make sure you can log into the server using key-based auth. + +### Server config + + sudo apt install git + sudo adduser git --home /var/git + sudo mkdir /var/git/repositories + sudo chown git. /var/git/repositories + sudo chmod 775 /var/git/repositories + sudo usermod -a -G git `whoami` # add yourself into the git group + +### Creating a repository + +At your computer: + + repo="name-your-project-here" + mkdir $repo + cd $repo + git init + git remote add origin ssh://gitserver/var/git/repositories/$repo.git + +Then do your regular stuff: create files, commit stuff, etc: + + touch test + git add . + git commit -m "Initial import" + +### Copy a bare git repo to the server + + cd .. + git clone --bare $repo $repo.git + scp -r $repo.git gitserver:/var/git/repositories/$repo.git + +### Making the repository shareable + +In the server: + + sudo chgrp -R git /var/git/repositories/$repo.git + sudo chmod 775 /var/git/repositories/$repo.git + + find /var/git/repositories/$repo.git/ -type f -exec sudo chmod 664 {} \; + find /var/git/repositories/$repo.git/ -type d -exec sudo chmod 775 {} \; + +Now make sure that the repository configuration has the following option at the `core` section: + + sharedRepository = group + +You can edit `/var/git/repositories/$repo.git/config` to add this config or just run +the following commands: + + git -C /var/git/repositories/$repo.git config core.sharedRepository group + +### Daily workflow + +From now on, you can work at your computer's local `$repo` as usual: + + cd $repo + git pull + touch another-test + git add . + git commit -m "Adds another-test" + git push # this sends changes back to your git server + +### Adding more users into the game + +You can add existing users to edit the repository given that: + +* They have accounts in the system. +* They are added into the `git` group. + +If they also use key-based auth they can seamlessly contribute to your repository +as if you were using a more complex repository manager like gitolite or a service +like gitlab. + +You can even try to implement some more complex access control by using different +groups for each project so you're not bound to the `git` group. + +### References + +- [How to make bare git repository group-writable after pushing?](http://stackoverflow.com/questions/15881104/how-to-make-bare-git-repository-group-writable-after-pushing). +- [Create Git bare / shared remote repository](http://pietervogelaar.nl/create-git-bare-shared-remote-repository/). +- [How to clone and share a Git repository over SSH](http://linuxaria.com/pills/how-to-clone-and-share-a-git-repository-over-ssh?lang=en) +- [Git - Getting Git on a Server](https://git-scm.com/book/en/v2/Git-on-the-Server-Getting-Git-on-a-Server). +- [Git - Setting Up the Server](https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server). + +Further development +------------------- + +* See [utils-git](https://git.fluxo.info/utils-git/about/) repository for useful scripts and plugins. +* [gitly self-hosted](https://gitly.io). +* [Git Large File Storage - Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.](https://git-lfs.github.com/) / [#792075 - ITP: git-lfs -- Git Large File Support. An open source Git extension for versioning large files - Debian Bug report logs](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792075). +* signed commits: + * check using gpgv? + * [Validating other keys on your public keyring](https://www.gnupg.org/gph/en/manual/x334.html) + * https://git-annex.branchable.com/tips/using_signed_git_commits/ + * http://stackoverflow.com/questions/17371955/verifying-signed-git-commits + * https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work + * https://mikegerwitz.com/papers/git-horror-story.html +* Push-to-deploy plugin: + * http://superuser.com/questions/230694/how-can-i-push-a-git-repository-to-a-folder-over-ssh + * https://devcenter.heroku.com/articles/git + * https://github.com/blog/1957-git-2-3-has-been-released (push-to-deploy) + * https://github.com/git/git/blob/v2.3.0/Documentation/config.txt#L2155 + * http://stackoverflow.com/questions/1764380/push-to-a-non-bare-git-repository + * http://bitflop.com/tutorials/git-bare-vs-non-bare-repositories.html diff --git a/research/git.mdwn b/research/git.mdwn deleted file mode 100644 index c07abf9..0000000 --- a/research/git.mdwn +++ /dev/null @@ -1,121 +0,0 @@ -[[!meta title="Git"]] - -Git research and development. - -Barebones shared git repositories ---------------------------------- - -No gitolite, gitosis, gitlab or whatever involded. Only OpenSSH and git is needed. - -### Basic config - -If needed, create a host instance for your git server at your `~/.ssh/config`: - - Host git.project.org gitserver - HostName git.project.org - -Now make sure you can log into the server using key-based auth. - -### Server config - - sudo apt install git - sudo adduser git --home /var/git - sudo mkdir /var/git/repositories - sudo chown git. /var/git/repositories - sudo chmod 775 /var/git/repositories - sudo usermod -a -G git `whoami` # add yourself into the git group - -### Creating a repository - -At your computer: - - repo="name-your-project-here" - mkdir $repo - cd $repo - git init - git remote add origin ssh://gitserver/var/git/repositories/$repo.git - -Then do your regular stuff: create files, commit stuff, etc: - - touch test - git add . - git commit -m "Initial import" - -### Copy a bare git repo to the server - - cd .. - git clone --bare $repo $repo.git - scp -r $repo.git gitserver:/var/git/repositories/$repo.git - -### Making the repository shareable - -In the server: - - sudo chgrp -R git /var/git/repositories/$repo.git - sudo chmod 775 /var/git/repositories/$repo.git - - find /var/git/repositories/$repo.git/ -type f -exec sudo chmod 664 {} \; - find /var/git/repositories/$repo.git/ -type d -exec sudo chmod 775 {} \; - -Now make sure that the repository configuration has the following option at the `core` section: - - sharedRepository = group - -You can edit `/var/git/repositories/$repo.git/config` to add this config or just run -the following commands: - - git -C /var/git/repositories/$repo.git config core.sharedRepository group - -### Daily workflow - -From now on, you can work at your computer's local `$repo` as usual: - - cd $repo - git pull - touch another-test - git add . - git commit -m "Adds another-test" - git push # this sends changes back to your git server - -### Adding more users into the game - -You can add existing users to edit the repository given that: - -* They have accounts in the system. -* They are added into the `git` group. - -If they also use key-based auth they can seamlessly contribute to your repository -as if you were using a more complex repository manager like gitolite or a service -like gitlab. - -You can even try to implement some more complex access control by using different -groups for each project so you're not bound to the `git` group. - -### References - -- [How to make bare git repository group-writable after pushing?](http://stackoverflow.com/questions/15881104/how-to-make-bare-git-repository-group-writable-after-pushing). -- [Create Git bare / shared remote repository](http://pietervogelaar.nl/create-git-bare-shared-remote-repository/). -- [How to clone and share a Git repository over SSH](http://linuxaria.com/pills/how-to-clone-and-share-a-git-repository-over-ssh?lang=en) -- [Git - Getting Git on a Server](https://git-scm.com/book/en/v2/Git-on-the-Server-Getting-Git-on-a-Server). -- [Git - Setting Up the Server](https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server). - -Further development -------------------- - -* See [utils-git](https://git.fluxo.info/utils-git/about/) repository for useful scripts and plugins. -* [gitly self-hosted](https://gitly.io). -* [Git Large File Storage - Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.](https://git-lfs.github.com/) / [#792075 - ITP: git-lfs -- Git Large File Support. An open source Git extension for versioning large files - Debian Bug report logs](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792075). -* signed commits: - * check using gpgv? - * [Validating other keys on your public keyring](https://www.gnupg.org/gph/en/manual/x334.html) - * https://git-annex.branchable.com/tips/using_signed_git_commits/ - * http://stackoverflow.com/questions/17371955/verifying-signed-git-commits - * https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work - * https://mikegerwitz.com/papers/git-horror-story.html -* Push-to-deploy plugin: - * http://superuser.com/questions/230694/how-can-i-push-a-git-repository-to-a-folder-over-ssh - * https://devcenter.heroku.com/articles/git - * https://github.com/blog/1957-git-2-3-has-been-released (push-to-deploy) - * https://github.com/git/git/blob/v2.3.0/Documentation/config.txt#L2155 - * http://stackoverflow.com/questions/1764380/push-to-a-non-bare-git-repository - * http://bitflop.com/tutorials/git-bare-vs-non-bare-repositories.html diff --git a/research/hardened.md b/research/hardened.md new file mode 100644 index 0000000..e1974f9 --- /dev/null +++ b/research/hardened.md @@ -0,0 +1,38 @@ +[[!meta title="Hardened OS"]] +[[!tag research hardened grsecurity security]] + +grsecurity +---------- + +Basic install: + + sudo apt-get -t jessie-backports install linux-image-4.9.0-2-grsec-amd64 linux-image-grsec-amd64 + sudo apt-get install paxtest + sudo usermod -aG grsec-tpe `whoami` + +As root: + + echo "kernel.grsecurity.rwxmap_logging = 0" > /etc/sysctl.d/kernel.grsecurity.rwxmap_logging.conf + echo "kernel.grsecurity.grsec_lock = 1" > /etc/sysctl.d/kernel.grsecurity.grsec_lock.conf + +As regular user, after reboot: + + paxctl -cm /usr/bin/git-annex + paxctl -cm /usr/bin/qemu-img + paxctl -cm /usr/bin/qemu-system-x86_64 + +Further research +---------------- + +LXC unprivileged containers for GUI applications: + +* [LXC 1.0: GUI in containers [9/10] | Stéphane Graber's website](https://stgraber.org/2014/02/09/lxc-1-0-gui-in-containers/). +* [Configuring Unprivileged LXC containers in Debian Jessie](https://myles.sh/configuring-lxc-unprivileged-containers-in-debian-jessie/). +* [LXC - Debian Wiki](https://wiki.debian.org/LXC). + +References +---------- + +* https://micahflee.com/2016/01/debian-grsecurity/ +* https://nixaid.com/grsec-in-docker/ +* https://hardenedlinux.github.io/ diff --git a/research/hardened.mdwn b/research/hardened.mdwn deleted file mode 100644 index e1974f9..0000000 --- a/research/hardened.mdwn +++ /dev/null @@ -1,38 +0,0 @@ -[[!meta title="Hardened OS"]] -[[!tag research hardened grsecurity security]] - -grsecurity ----------- - -Basic install: - - sudo apt-get -t jessie-backports install linux-image-4.9.0-2-grsec-amd64 linux-image-grsec-amd64 - sudo apt-get install paxtest - sudo usermod -aG grsec-tpe `whoami` - -As root: - - echo "kernel.grsecurity.rwxmap_logging = 0" > /etc/sysctl.d/kernel.grsecurity.rwxmap_logging.conf - echo "kernel.grsecurity.grsec_lock = 1" > /etc/sysctl.d/kernel.grsecurity.grsec_lock.conf - -As regular user, after reboot: - - paxctl -cm /usr/bin/git-annex - paxctl -cm /usr/bin/qemu-img - paxctl -cm /usr/bin/qemu-system-x86_64 - -Further research ----------------- - -LXC unprivileged containers for GUI applications: - -* [LXC 1.0: GUI in containers [9/10] | Stéphane Graber's website](https://stgraber.org/2014/02/09/lxc-1-0-gui-in-containers/). -* [Configuring Unprivileged LXC containers in Debian Jessie](https://myles.sh/configuring-lxc-unprivileged-containers-in-debian-jessie/). -* [LXC - Debian Wiki](https://wiki.debian.org/LXC). - -References ----------- - -* https://micahflee.com/2016/01/debian-grsecurity/ -* https://nixaid.com/grsec-in-docker/ -* https://hardenedlinux.github.io/ diff --git a/research/hardware.md b/research/hardware.md new file mode 100644 index 0000000..653ffeb --- /dev/null +++ b/research/hardware.md @@ -0,0 +1,7 @@ +[[!meta title="Hardware projects"]] +[[!tag research pesquisa hardware]] + +Electronics +----------- + +* trench radio (foxhole radio) and crystal radio. diff --git a/research/hardware.mdwn b/research/hardware.mdwn deleted file mode 100644 index 653ffeb..0000000 --- a/research/hardware.mdwn +++ /dev/null @@ -1,7 +0,0 @@ -[[!meta title="Hardware projects"]] -[[!tag research pesquisa hardware]] - -Electronics ------------ - -* trench radio (foxhole radio) and crystal radio. diff --git a/research/lab.md b/research/lab.md new file mode 100644 index 0000000..db9325b --- /dev/null +++ b/research/lab.md @@ -0,0 +1,60 @@ +[[!meta title="Laboratório de Hardware"]] + +Lista de equipamentos básicos para um laboratório de hardware. + +* Lupa. +* Caixa de ferramentas (martelo, alicate, fenda e philips). +* Cabos JTAG. +* Cabo USB to Serial (Raspberry Pi): + * [Ultimate Serial Port](http://www.mysticengineering.com/debug.buddy/pi.usage.html). + * [USB to TTL Serial Cable - Debug / Console Cable for Raspberry Pi ID: 954 - $9.95 : Adafruit Industries, Unique & fun DIY electronics and kits](https://www.adafruit.com/products/954). + * [USB MPSSE Cables](http://www.ftdichip.com/Products/Cables/RPi.htm). +* Leitores de Smartcard/Simcard. +* Leitor de RFID. +* Leitor de senhas da BIOS dos Thinkpads. +* [Bus Pirate - DP](http://dangerousprototypes.com/docs/Bus_Pirate). +* [Bus pirate basic probe set ID: 238 - $7.00 : Adafruit Industries, Unique & fun DIY electronics and kits](https://www.adafruit.com/products/238). +* [Bus Pirate - v3.6a - TOL-12942 - SparkFun Electronics](https://www.sparkfun.com/products/12942). +* [SparkFun FTDI Basic Breakout - 3.3V - DEV-09873 - SparkFun Electronics](https://www.sparkfun.com/products/9873). +* SDR Dongles. + * Baseados no rtl2832 como FunCubeDongle Pro+, que funciona em OM e OC (vai mais baixo em frequencia). + * Recomendo dar uma olhada no LimeSDR também. +* Kit lockpicking. +* Multímetro. +* Testador de cabo ethernet. +* Fonte de tensão regulável. +* [OpenPCD Passive RFID Project - OpenPCD](http://www.openpcd.org/). +* Arduíno Leonardo. +* Shields RPI: + * RFID. + * Bluetooth 4.0. +* Shields do Arduíno. +* PCB? CNC João de Barro? +* Cortadora Laser. +* RPI 3. +* [LinkIt ONE](https://www.seeedstudio.com/LinkIt-ONE-p-2017.html). +* Beagle Board Green (pra usar de programador standalone pra Gnuk e afins). +* Osciloscópio e gerador de sinais: + * [Comedi - Control and Measurement Interface](http://www.comedi.org). + * [xoscope for Linux](http://xoscope.sourceforge.net/) ([pacote](https://packages.debian.org/stable/xoscope)). + * [BitScope Mini Model 10 | World's Smallest Mixed Signal PC Based USB Oscilloscope!](http://bitscope.com/product/BS10/). + * [DIY: Turn your GNU/Linux computer into a free oscilloscope | Yann "Bug" Dubois](http://www.yann.com/en/diy-turn-your-gnulinux-computer-into-a-free-oscilloscope-29/09/2010.html). +* Ferramentas e instrumentos para ver melhor: + * Telescópio. + * Microscópio. + * Binóculo. + * Astrolábio. + * Teodolito. + * Sismógrafo. + * Balança. + * Paquímetro. + * Micrômetro. + * Réguas de cálculo. + +Lojas +----- + +* https://pandoralab.com.br +* http://labdegaragem.com +* http://www.farnell.com +* https://www.robocore.net diff --git a/research/lab.mdwn b/research/lab.mdwn deleted file mode 100644 index db9325b..0000000 --- a/research/lab.mdwn +++ /dev/null @@ -1,60 +0,0 @@ -[[!meta title="Laboratório de Hardware"]] - -Lista de equipamentos básicos para um laboratório de hardware. - -* Lupa. -* Caixa de ferramentas (martelo, alicate, fenda e philips). -* Cabos JTAG. -* Cabo USB to Serial (Raspberry Pi): - * [Ultimate Serial Port](http://www.mysticengineering.com/debug.buddy/pi.usage.html). - * [USB to TTL Serial Cable - Debug / Console Cable for Raspberry Pi ID: 954 - $9.95 : Adafruit Industries, Unique & fun DIY electronics and kits](https://www.adafruit.com/products/954). - * [USB MPSSE Cables](http://www.ftdichip.com/Products/Cables/RPi.htm). -* Leitores de Smartcard/Simcard. -* Leitor de RFID. -* Leitor de senhas da BIOS dos Thinkpads. -* [Bus Pirate - DP](http://dangerousprototypes.com/docs/Bus_Pirate). -* [Bus pirate basic probe set ID: 238 - $7.00 : Adafruit Industries, Unique & fun DIY electronics and kits](https://www.adafruit.com/products/238). -* [Bus Pirate - v3.6a - TOL-12942 - SparkFun Electronics](https://www.sparkfun.com/products/12942). -* [SparkFun FTDI Basic Breakout - 3.3V - DEV-09873 - SparkFun Electronics](https://www.sparkfun.com/products/9873). -* SDR Dongles. - * Baseados no rtl2832 como FunCubeDongle Pro+, que funciona em OM e OC (vai mais baixo em frequencia). - * Recomendo dar uma olhada no LimeSDR também. -* Kit lockpicking. -* Multímetro. -* Testador de cabo ethernet. -* Fonte de tensão regulável. -* [OpenPCD Passive RFID Project - OpenPCD](http://www.openpcd.org/). -* Arduíno Leonardo. -* Shields RPI: - * RFID. - * Bluetooth 4.0. -* Shields do Arduíno. -* PCB? CNC João de Barro? -* Cortadora Laser. -* RPI 3. -* [LinkIt ONE](https://www.seeedstudio.com/LinkIt-ONE-p-2017.html). -* Beagle Board Green (pra usar de programador standalone pra Gnuk e afins). -* Osciloscópio e gerador de sinais: - * [Comedi - Control and Measurement Interface](http://www.comedi.org). - * [xoscope for Linux](http://xoscope.sourceforge.net/) ([pacote](https://packages.debian.org/stable/xoscope)). - * [BitScope Mini Model 10 | World's Smallest Mixed Signal PC Based USB Oscilloscope!](http://bitscope.com/product/BS10/). - * [DIY: Turn your GNU/Linux computer into a free oscilloscope | Yann "Bug" Dubois](http://www.yann.com/en/diy-turn-your-gnulinux-computer-into-a-free-oscilloscope-29/09/2010.html). -* Ferramentas e instrumentos para ver melhor: - * Telescópio. - * Microscópio. - * Binóculo. - * Astrolábio. - * Teodolito. - * Sismógrafo. - * Balança. - * Paquímetro. - * Micrômetro. - * Réguas de cálculo. - -Lojas ------ - -* https://pandoralab.com.br -* http://labdegaragem.com -* http://www.farnell.com -* https://www.robocore.net diff --git a/research/library.md b/research/library.md new file mode 100644 index 0000000..5d97158 --- /dev/null +++ b/research/library.md @@ -0,0 +1,73 @@ +[[!meta title="Libraries"]] + +Library Management +------------------ + +* [Open Publication Distribution System | Official Specification & Blog](http://opds-spec.org/). +* [FBReader Calibre connector - F-Droid](https://f-droid.org/repository/browse/?fdfilter=calibre&fdid=org.geometerplus.fbreader.plugin.local_opds_scanner). +* [Create Your Own Cloud of Ebooks with Calibre + Calibre OPDS + Dropbox](http://dearauthor.com/ebooks/create-your-own-cloud-of-ebooks-with-calibre-calibre-opds-dropbox/). +* [Turn Raspberry Pi into an Ebook Server with Cal... » Linux Magazine](http://www.linux-magazine.com/Online/Blogs/Productivity-Sauce/Turn-Raspberry-Pi-into-an-Ebook-Server-with-Calibre). +* [Here is COPS : Calibre OPDS (and HTML) PHP Server | Technology and Me](http://blog.slucas.fr/en/oss/calibre-opds-php-server). + +Bibliography Management +----------------------- + +* [Comparison of reference management software - Wikipedia](https://en.wikipedia.org/wiki/Comparison_of_reference_management_software). +* [Citeproc YAML for bibliographies](http://blog.martinfenner.org/2013/07/30/citeproc-yaml-for-bibliographies/). +* [BibTeX](http://www.bibtex.org/) ([ikiwiki plugin](https://ikiwiki.info/plugins/contrib/bibtex/)). +* [Citation Style Language - Wikipedia](https://en.wikipedia.org/wiki/Citation_Style_Language). +* [JSON-LD - Wikipedia](https://en.wikipedia.org/wiki/JSON-LD). +* [Exporting all yaml bibliographic in a pdf file using pandoc - Stack Overflow](http://stackoverflow.com/questions/20077939/exporting-all-yaml-bibliographic-in-a-pdf-file-using-pandoc). +* [FileMeta/MicroYaml: A simple parser for the MicroYaml dialect of the YAML file format.](https://github.com/FileMeta/MicroYaml). +* [jtprince/bivy: "bibliography in vim and yaml" is a lightweight bibliographic management system. Create bibliographies and citations with simple tools.](https://github.com/jtprince/bivy) +* [jbaiter/zotero-cli: Command-line interface for Zotero](https://github.com/jbaiter/zotero-cli). +* [vhotspur/cli-zotero: Command-line client for Zotero (BibTeX export now only)](https://github.com/vhotspur/cli-zotero). +* [pandoc-citeproc in stretch](https://packages.debian.org/stretch/pandoc-citeproc). + +Standards +--------- + +* Metadata organization: + * Lowercase, underlines and dashes. + * Easytag and picard. + * UUID, IMDB ID, etc. + * AcousticBrainz: http://lwn.net/Articles/622682/rss + * Update changes in playlists. +* Filenaming, fixing names with [convmv](https://packages.debian.org/stable/convmv). + +Subtitles +--------- + +* http://subscene.com +* http://www.subtitleseeker.com +* http://www.opensubtitles.org + +Corrente dos Achados & Deixados +------------------------------- + +Recebi algo assim: + + Esqueça um livro e espalhe conhecimento. + + Vamos? + + Deixe no restaurante, no ponto de ônibus, dentro do metrô, sobre a bancada do + banco , no táxi. A escolha é livre. + + Vale um bilhetinho, explicando o projeto e o presente ! + + Modelo de Bilhetinho: + + Ei, você que achou este livro! + + Agora ele é SEU! + + A iniciativa faz parte de um projeto de incentivo à leitura e + compartilhamento de conhecimento. + + Encoraje-se a fazer o mesmo! :) + +References +---------- + +* http://www.datalove.net diff --git a/research/library.mdwn b/research/library.mdwn deleted file mode 100644 index 5d97158..0000000 --- a/research/library.mdwn +++ /dev/null @@ -1,73 +0,0 @@ -[[!meta title="Libraries"]] - -Library Management ------------------- - -* [Open Publication Distribution System | Official Specification & Blog](http://opds-spec.org/). -* [FBReader Calibre connector - F-Droid](https://f-droid.org/repository/browse/?fdfilter=calibre&fdid=org.geometerplus.fbreader.plugin.local_opds_scanner). -* [Create Your Own Cloud of Ebooks with Calibre + Calibre OPDS + Dropbox](http://dearauthor.com/ebooks/create-your-own-cloud-of-ebooks-with-calibre-calibre-opds-dropbox/). -* [Turn Raspberry Pi into an Ebook Server with Cal... » Linux Magazine](http://www.linux-magazine.com/Online/Blogs/Productivity-Sauce/Turn-Raspberry-Pi-into-an-Ebook-Server-with-Calibre). -* [Here is COPS : Calibre OPDS (and HTML) PHP Server | Technology and Me](http://blog.slucas.fr/en/oss/calibre-opds-php-server). - -Bibliography Management ------------------------ - -* [Comparison of reference management software - Wikipedia](https://en.wikipedia.org/wiki/Comparison_of_reference_management_software). -* [Citeproc YAML for bibliographies](http://blog.martinfenner.org/2013/07/30/citeproc-yaml-for-bibliographies/). -* [BibTeX](http://www.bibtex.org/) ([ikiwiki plugin](https://ikiwiki.info/plugins/contrib/bibtex/)). -* [Citation Style Language - Wikipedia](https://en.wikipedia.org/wiki/Citation_Style_Language). -* [JSON-LD - Wikipedia](https://en.wikipedia.org/wiki/JSON-LD). -* [Exporting all yaml bibliographic in a pdf file using pandoc - Stack Overflow](http://stackoverflow.com/questions/20077939/exporting-all-yaml-bibliographic-in-a-pdf-file-using-pandoc). -* [FileMeta/MicroYaml: A simple parser for the MicroYaml dialect of the YAML file format.](https://github.com/FileMeta/MicroYaml). -* [jtprince/bivy: "bibliography in vim and yaml" is a lightweight bibliographic management system. Create bibliographies and citations with simple tools.](https://github.com/jtprince/bivy) -* [jbaiter/zotero-cli: Command-line interface for Zotero](https://github.com/jbaiter/zotero-cli). -* [vhotspur/cli-zotero: Command-line client for Zotero (BibTeX export now only)](https://github.com/vhotspur/cli-zotero). -* [pandoc-citeproc in stretch](https://packages.debian.org/stretch/pandoc-citeproc). - -Standards ---------- - -* Metadata organization: - * Lowercase, underlines and dashes. - * Easytag and picard. - * UUID, IMDB ID, etc. - * AcousticBrainz: http://lwn.net/Articles/622682/rss - * Update changes in playlists. -* Filenaming, fixing names with [convmv](https://packages.debian.org/stable/convmv). - -Subtitles ---------- - -* http://subscene.com -* http://www.subtitleseeker.com -* http://www.opensubtitles.org - -Corrente dos Achados & Deixados -------------------------------- - -Recebi algo assim: - - Esqueça um livro e espalhe conhecimento. - - Vamos? - - Deixe no restaurante, no ponto de ônibus, dentro do metrô, sobre a bancada do - banco , no táxi. A escolha é livre. - - Vale um bilhetinho, explicando o projeto e o presente ! - - Modelo de Bilhetinho: - - Ei, você que achou este livro! - - Agora ele é SEU! - - A iniciativa faz parte de um projeto de incentivo à leitura e - compartilhamento de conhecimento. - - Encoraje-se a fazer o mesmo! :) - -References ----------- - -* http://www.datalove.net diff --git a/research/libreboot.md b/research/libreboot.md new file mode 100644 index 0000000..73d8c39 --- /dev/null +++ b/research/libreboot.md @@ -0,0 +1,148 @@ +[[!meta title="Libreboot"]] + +Also check the [additional references](https://links.fluxo.info/tags/libreboot). + +## Important note + +From [Libreboot – Installation instructions](https://libreboot.org/docs/install/index.html): + + NOTE: if running flashrom -p internal for software based flashing, and you get + an error related to /dev/mem access, you should reboot with iomem=relaxed + kernel parameter before running flashrom, or use a kernel that has + CONFIG_STRICT_DEVMEM not enabled. + +Or you might get errors like this: + + user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_sst -p internal -r factory.bin + flashrom v0.9.9-unknown on Linux 4.9.0-2-686-pae (i686) + flashrom is free software, get the source code at https://flashrom.org + + Calibrating delay loop... OK. + Found chipset "Intel ICH7M". + Enabling flash write... Error accessing ICH RCRB, 0x4000 bytes at 0xfed1c000 + /dev/mem mmap failed: Operation not permitted + FAILED! + FATAL ERROR! + Error: Programmer initialization failed. + user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_macronix -p internal -r factory.bin + +## Pre-compiled binaries + +[Get the latest stable release](https://libreboot.org/download.html), check integrity, etc. + +In my case I only needed these, which were the latest releases at the time of writing: + +* https://mirrors.peers.community/mirrors/libreboot/stable/20160907/SHA512SUMS +* https://mirrors.peers.community/mirrors/libreboot/stable/20160907/SHA512SUMS.sig +* https://mirrors.peers.community/mirrors/libreboot/stable/20160907/libreboot_r20160907_util.tar.xz +* https://mirrors.peers.community/mirrors/libreboot/stable/20160907/rom/grub/libreboot_r20160907_grub_x60.tar.xz + +Download and unpack bot libreboot util and rom tarballs. In this example I used the following paths: + +* `~/code/libreboot/libreboot_r20160907_util` +* `~/code/libreboot/roms/libreboot_r20160907_grub_x60` + +## Building from source + +Just if you need to: + + git clone https://notabug.org/libreboot/libreboot.git && cd libreboot + sudo ./oldbuild dependencies trisquel7 + ./download all + ./oldbuild module all + +## x60s + +This is how I've done. The actual procedure might change without notice :P + +### Overview + +* Backup the original firmware [like said](https://www.coreboot.org/Board:lenovo/x60/Installation#Back_up_the_original_proprietary_firmware). +* Then flash the new ROM as [said here](https://libreboot.org/docs/install/#flashrom_lenovobios). + +Note this [funny note](https://en.wikibooks.org/wiki/Libreboot/Install/ThinkPad_X60_and_T60) on customized and solitary proprietary software: + + While backing up the proprietary BIOS image might be construed as "endorsing" + proprietary software: This BIOS image is unique to every motherboard. It will + be impossible to restore the original BIOS once it is lost. Back it up now or + you will lose it forever. Do not take this decision lightly. + +### BIOS Backup + + user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_sst -p internal -r factory.bin + user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_macronix -p internal -r factory.bin + +### Flashing + + user@x60s:~/code/libreboot/libreboot_r20160907_util$ sudo ./flash i945lenovo\_firstflash ../roms/libreboot_r20160907_grub_x60/x60_usqwerty_vesafb.rom + Mode selected: i945lenovo_firstflash + bucts utility version 'withoutgit' + Using LPC bridge 8086:27b9 at 0000:1f.00 + Current BUC.TS=0 - 128kb address range 0xFFFE0000-0xFFFFFFFF is untranslated + Updated BUC.TS=1 - 64kb address ranges at 0xFFFE0000 and 0xFFFF0000 are swapped + flashrom v0.9.9-unknown on Linux 4.9.0-2-686-pae (i686) + flashrom is free software, get the source code at https://flashrom.org + + Calibrating delay loop... OK. + Found chipset "Intel ICH7M". + Enabling flash write... WARNING: SPI Configuration Lockdown activated. + OK. + Found SST flash chip "SST25VF016B" (2048 kB, SPI) mapped at physical address 0xffe00000. + Reading old flash chip contents... done. + Erasing and writing flash chip... spi_block_erase_20 failed during command execution at address 0x0 + Reading current flash chip contents... done. Looking for another erase function. + spi_block_erase_52 failed during command execution at address 0x0 + Reading current flash chip contents... done. Looking for another erase function. + Transaction error! + spi_block_erase_d8 failed during command execution at address 0x1f0000 + Reading current flash chip contents... done. Looking for another erase function. + spi_chip_erase_60 failed during command execution + Reading current flash chip contents... done. Looking for another erase function. + spi_chip_erase_c7 failed during command execution + Looking for another erase function. + No usable erase functions left. + FAILED! + Uh oh. Erase/write failed. Checking if anything has changed. + Reading current flash chip contents... done. + Apparently at least some data has changed. + Your flash chip is in an unknown state. + Get help on IRC at chat.freenode.net (channel #flashrom) or + mail flashrom@flashrom.org with the subject "FAILED: "! + ------------------------------------------------------------------------------- + DO NOT REBOOT OR POWEROFF! + flashrom v0.9.9-unknown on Linux 4.9.0-2-686-pae (i686) + flashrom is free software, get the source code at https://flashrom.org + + Calibrating delay loop... OK. + Found chipset "Intel ICH7M". + Enabling flash write... WARNING: SPI Configuration Lockdown activated. + OK. + No EEPROM/flash device found. + Note: flashrom can never write if the flash chip isn't found automatically. + user@x60s:~/code/libreboot/libreboot_r20160907_util$ + +Then reboot the machine, passing "iomem=relaxed" into the kernel command line. Then run the +second flash: + + user@x60s:~/code/libreboot/libreboot_r20160907_util$ sudo ./flash i945lenovo\_secondflash ../roms/libreboot_r20160907_grub_x60/x60_usqwerty_vesafb.rom + Mode selected: i945lenovo_secondflash + flashrom v0.9.9-unknown on Linux 4.9.0-2-686-pae (i686) + flashrom is free software, get the source code at https://flashrom.org + + Calibrating delay loop... OK. + coreboot table found at 0x7be9f000. + Found chipset "Intel ICH7M". + Enabling flash write... OK. + Found SST flash chip "SST25VF016B" (2048 kB, SPI) mapped at physical address 0xffe00000. + Reading old flash chip contents... done. + Erasing and writing flash chip... Erase/write done. + Verifying flash... VERIFIED. + bucts utility version 'withoutgit' + Using LPC bridge 8086:27b9 at 0000:1f.00 + Current BUC.TS=1 - 64kb address ranges at 0xFFFE0000 and 0xFFFF0000 are swapped + Updated BUC.TS=0 - 128kb address range 0xFFFE0000-0xFFFFFFFF is untranslated + user@x60s:~/code/libreboot/libreboot_r20160907_util$ + +## Issues + +* [#870006 - xserver-xorg: X60 libreboot Xorg hangs reproducibly after upgrade to stretch - Debian Bug report logs](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870006). diff --git a/research/libreboot.mdwn b/research/libreboot.mdwn deleted file mode 100644 index 73d8c39..0000000 --- a/research/libreboot.mdwn +++ /dev/null @@ -1,148 +0,0 @@ -[[!meta title="Libreboot"]] - -Also check the [additional references](https://links.fluxo.info/tags/libreboot). - -## Important note - -From [Libreboot – Installation instructions](https://libreboot.org/docs/install/index.html): - - NOTE: if running flashrom -p internal for software based flashing, and you get - an error related to /dev/mem access, you should reboot with iomem=relaxed - kernel parameter before running flashrom, or use a kernel that has - CONFIG_STRICT_DEVMEM not enabled. - -Or you might get errors like this: - - user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_sst -p internal -r factory.bin - flashrom v0.9.9-unknown on Linux 4.9.0-2-686-pae (i686) - flashrom is free software, get the source code at https://flashrom.org - - Calibrating delay loop... OK. - Found chipset "Intel ICH7M". - Enabling flash write... Error accessing ICH RCRB, 0x4000 bytes at 0xfed1c000 - /dev/mem mmap failed: Operation not permitted - FAILED! - FATAL ERROR! - Error: Programmer initialization failed. - user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_macronix -p internal -r factory.bin - -## Pre-compiled binaries - -[Get the latest stable release](https://libreboot.org/download.html), check integrity, etc. - -In my case I only needed these, which were the latest releases at the time of writing: - -* https://mirrors.peers.community/mirrors/libreboot/stable/20160907/SHA512SUMS -* https://mirrors.peers.community/mirrors/libreboot/stable/20160907/SHA512SUMS.sig -* https://mirrors.peers.community/mirrors/libreboot/stable/20160907/libreboot_r20160907_util.tar.xz -* https://mirrors.peers.community/mirrors/libreboot/stable/20160907/rom/grub/libreboot_r20160907_grub_x60.tar.xz - -Download and unpack bot libreboot util and rom tarballs. In this example I used the following paths: - -* `~/code/libreboot/libreboot_r20160907_util` -* `~/code/libreboot/roms/libreboot_r20160907_grub_x60` - -## Building from source - -Just if you need to: - - git clone https://notabug.org/libreboot/libreboot.git && cd libreboot - sudo ./oldbuild dependencies trisquel7 - ./download all - ./oldbuild module all - -## x60s - -This is how I've done. The actual procedure might change without notice :P - -### Overview - -* Backup the original firmware [like said](https://www.coreboot.org/Board:lenovo/x60/Installation#Back_up_the_original_proprietary_firmware). -* Then flash the new ROM as [said here](https://libreboot.org/docs/install/#flashrom_lenovobios). - -Note this [funny note](https://en.wikibooks.org/wiki/Libreboot/Install/ThinkPad_X60_and_T60) on customized and solitary proprietary software: - - While backing up the proprietary BIOS image might be construed as "endorsing" - proprietary software: This BIOS image is unique to every motherboard. It will - be impossible to restore the original BIOS once it is lost. Back it up now or - you will lose it forever. Do not take this decision lightly. - -### BIOS Backup - - user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_sst -p internal -r factory.bin - user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_macronix -p internal -r factory.bin - -### Flashing - - user@x60s:~/code/libreboot/libreboot_r20160907_util$ sudo ./flash i945lenovo\_firstflash ../roms/libreboot_r20160907_grub_x60/x60_usqwerty_vesafb.rom - Mode selected: i945lenovo_firstflash - bucts utility version 'withoutgit' - Using LPC bridge 8086:27b9 at 0000:1f.00 - Current BUC.TS=0 - 128kb address range 0xFFFE0000-0xFFFFFFFF is untranslated - Updated BUC.TS=1 - 64kb address ranges at 0xFFFE0000 and 0xFFFF0000 are swapped - flashrom v0.9.9-unknown on Linux 4.9.0-2-686-pae (i686) - flashrom is free software, get the source code at https://flashrom.org - - Calibrating delay loop... OK. - Found chipset "Intel ICH7M". - Enabling flash write... WARNING: SPI Configuration Lockdown activated. - OK. - Found SST flash chip "SST25VF016B" (2048 kB, SPI) mapped at physical address 0xffe00000. - Reading old flash chip contents... done. - Erasing and writing flash chip... spi_block_erase_20 failed during command execution at address 0x0 - Reading current flash chip contents... done. Looking for another erase function. - spi_block_erase_52 failed during command execution at address 0x0 - Reading current flash chip contents... done. Looking for another erase function. - Transaction error! - spi_block_erase_d8 failed during command execution at address 0x1f0000 - Reading current flash chip contents... done. Looking for another erase function. - spi_chip_erase_60 failed during command execution - Reading current flash chip contents... done. Looking for another erase function. - spi_chip_erase_c7 failed during command execution - Looking for another erase function. - No usable erase functions left. - FAILED! - Uh oh. Erase/write failed. Checking if anything has changed. - Reading current flash chip contents... done. - Apparently at least some data has changed. - Your flash chip is in an unknown state. - Get help on IRC at chat.freenode.net (channel #flashrom) or - mail flashrom@flashrom.org with the subject "FAILED: "! - ------------------------------------------------------------------------------- - DO NOT REBOOT OR POWEROFF! - flashrom v0.9.9-unknown on Linux 4.9.0-2-686-pae (i686) - flashrom is free software, get the source code at https://flashrom.org - - Calibrating delay loop... OK. - Found chipset "Intel ICH7M". - Enabling flash write... WARNING: SPI Configuration Lockdown activated. - OK. - No EEPROM/flash device found. - Note: flashrom can never write if the flash chip isn't found automatically. - user@x60s:~/code/libreboot/libreboot_r20160907_util$ - -Then reboot the machine, passing "iomem=relaxed" into the kernel command line. Then run the -second flash: - - user@x60s:~/code/libreboot/libreboot_r20160907_util$ sudo ./flash i945lenovo\_secondflash ../roms/libreboot_r20160907_grub_x60/x60_usqwerty_vesafb.rom - Mode selected: i945lenovo_secondflash - flashrom v0.9.9-unknown on Linux 4.9.0-2-686-pae (i686) - flashrom is free software, get the source code at https://flashrom.org - - Calibrating delay loop... OK. - coreboot table found at 0x7be9f000. - Found chipset "Intel ICH7M". - Enabling flash write... OK. - Found SST flash chip "SST25VF016B" (2048 kB, SPI) mapped at physical address 0xffe00000. - Reading old flash chip contents... done. - Erasing and writing flash chip... Erase/write done. - Verifying flash... VERIFIED. - bucts utility version 'withoutgit' - Using LPC bridge 8086:27b9 at 0000:1f.00 - Current BUC.TS=1 - 64kb address ranges at 0xFFFE0000 and 0xFFFF0000 are swapped - Updated BUC.TS=0 - 128kb address range 0xFFFE0000-0xFFFFFFFF is untranslated - user@x60s:~/code/libreboot/libreboot_r20160907_util$ - -## Issues - -* [#870006 - xserver-xorg: X60 libreboot Xorg hangs reproducibly after upgrade to stretch - Debian Bug report logs](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870006). diff --git a/research/openwrt.md b/research/openwrt.md new file mode 100644 index 0000000..bb44111 --- /dev/null +++ b/research/openwrt.md @@ -0,0 +1,39 @@ +[[!meta title="Wireless com OpenWRT"]] + +Pesquisa rápida sobre roteadores wireless. + +Requisitos +---------- + +1. Bom alcance (potência e sensibilidade). +2. [Rodar OpenWRT](https://wiki.openwrt.org/toh). +3. Preferencialmente arquitetura MIPS. + +Candidatos +---------- + +### TP-Link TL-WDR4300 + +* [TP-Link TL-WDR4300](https://wiki.openwrt.org/toh/tp-link/tl-wdr4300). +* [Download for TL-WDR4300 V1 - Welcome to TP-LINK](http://www.tp-link.com/en/download/TL-WDR4300.html). + +### TP-Link Archer C5 AC1200 + +* Problema: vendor lockdown: dependendo da versão, só carrega firmware assinado. +* [TP-Link Archer C5 AC1200 / TP-Link Archer C7 AC1750 / TP-Link TL-WDR7500](https://wiki.openwrt.org/toh/tp-link/archer-c5-c7-wdr7500). + +### TP-Link TL-WR941ND + +* [TP-Link TL-WR941ND](https://wiki.openwrt.org/toh/tp-link/tl-wr941nd). + +Escolhido +--------- + +* TP-Link TL-WDR4300: é um dos [recomendados](https://wiki.openwrt.org/toh/recommended_routers); [comparação de preços](http://www.buscape.com.br/tp-link-tl-wdr4300). + +Configuração +------------ + +* [Bridged AP [OpenWrt Wiki]](https://wiki.openwrt.org/doc/recipes/bridgedap). +* [Client Mode Wireless [OpenWrt Wiki]](https://wiki.openwrt.org/doc/howto/clientmode). +* [OpenWrt OS upgrade procedure (LuCI or sysupgrade)](http://wiki.openwrt.org/doc/howto/generic.sysupgrade). diff --git a/research/openwrt.mdwn b/research/openwrt.mdwn deleted file mode 100644 index bb44111..0000000 --- a/research/openwrt.mdwn +++ /dev/null @@ -1,39 +0,0 @@ -[[!meta title="Wireless com OpenWRT"]] - -Pesquisa rápida sobre roteadores wireless. - -Requisitos ----------- - -1. Bom alcance (potência e sensibilidade). -2. [Rodar OpenWRT](https://wiki.openwrt.org/toh). -3. Preferencialmente arquitetura MIPS. - -Candidatos ----------- - -### TP-Link TL-WDR4300 - -* [TP-Link TL-WDR4300](https://wiki.openwrt.org/toh/tp-link/tl-wdr4300). -* [Download for TL-WDR4300 V1 - Welcome to TP-LINK](http://www.tp-link.com/en/download/TL-WDR4300.html). - -### TP-Link Archer C5 AC1200 - -* Problema: vendor lockdown: dependendo da versão, só carrega firmware assinado. -* [TP-Link Archer C5 AC1200 / TP-Link Archer C7 AC1750 / TP-Link TL-WDR7500](https://wiki.openwrt.org/toh/tp-link/archer-c5-c7-wdr7500). - -### TP-Link TL-WR941ND - -* [TP-Link TL-WR941ND](https://wiki.openwrt.org/toh/tp-link/tl-wr941nd). - -Escolhido ---------- - -* TP-Link TL-WDR4300: é um dos [recomendados](https://wiki.openwrt.org/toh/recommended_routers); [comparação de preços](http://www.buscape.com.br/tp-link-tl-wdr4300). - -Configuração ------------- - -* [Bridged AP [OpenWrt Wiki]](https://wiki.openwrt.org/doc/recipes/bridgedap). -* [Client Mode Wireless [OpenWrt Wiki]](https://wiki.openwrt.org/doc/howto/clientmode). -* [OpenWrt OS upgrade procedure (LuCI or sysupgrade)](http://wiki.openwrt.org/doc/howto/generic.sysupgrade). diff --git a/research/panc.md b/research/panc.md new file mode 100644 index 0000000..04b584e --- /dev/null +++ b/research/panc.md @@ -0,0 +1,45 @@ +[[!meta title="PANC - Plantas Alimentícias Não-Convencionais"]] + +* Plantas Ruderais, ruderis, entulho: se desenvolvem com freq. Em ambientes hab por humanos, colonizadoras de áreas degradadas. PANC x Ruderal (há intersecção) +* Dormência de semente: revolver um vaso pode reativá-la. +* 30 mil comestíveis de 300 mil espécie total, mas 90% do rango mundial vem de 20 espécies +* Preferir nome científico +* Status legal da coleta urbana? "Melhoria" da limpeza. Como defender? +* PANCS amargas! +* Roda PANC! + +## Espécies + +* Ora pro nobis: fonte de proteínas. +* Grumixama, cereja do rio grande +* Serralha, dente de leão, beldroega, major gomes +* Caruru família quinoa amaranto +* Taioba: + * Fica esperto mermao: folha sai do meio do talo + * Formato de Orelhinha, nervura ao redor da folha + +## Estaca, estaquia + +* Um palmo com um corte na transversal em cada extremidade: aumento contato raíz e escoamento do topo +* Tirar folhas, deixando poucas pra reduzir a evapotranspiração e reduzir gasto energético. +* Plantar na direção correta. +* Enterrar ao menos duas gemas. + +## Referências + +* Fitoalimurgia, Otaviano Tozetti +* PANC, Projeto PANC, Valdely Kinupp +* História da agricultura no mundo, marcel mazoyer e lawrence roudart +* Livro do knuppi e do lorenzi +* Instituto plantarum +* [Como diferenciar serralha e dente-de-leão](http://www.matosdecomer.com.br/2016/08/como-diferenciar-serralha-e-dente-de.html). +* [Cartilha Guia Prático de PANC Plantas Alimenticias Nao Convencionais](http://institutokairos.net/wp content/uploads/2017/08/Cartilha Guia Pr%C3%A1tico de PANC Plantas Alimenticias Nao Convencionais.pdf). + +## Pesquisas futuras: + +* C2 ou C3? +* Venenosas? +* Doenças? +* Contaminação? +* Aplicativo botânico para identificação de plantas +* Musgo? diff --git a/research/panc.mdwn b/research/panc.mdwn deleted file mode 100644 index 04b584e..0000000 --- a/research/panc.mdwn +++ /dev/null @@ -1,45 +0,0 @@ -[[!meta title="PANC - Plantas Alimentícias Não-Convencionais"]] - -* Plantas Ruderais, ruderis, entulho: se desenvolvem com freq. Em ambientes hab por humanos, colonizadoras de áreas degradadas. PANC x Ruderal (há intersecção) -* Dormência de semente: revolver um vaso pode reativá-la. -* 30 mil comestíveis de 300 mil espécie total, mas 90% do rango mundial vem de 20 espécies -* Preferir nome científico -* Status legal da coleta urbana? "Melhoria" da limpeza. Como defender? -* PANCS amargas! -* Roda PANC! - -## Espécies - -* Ora pro nobis: fonte de proteínas. -* Grumixama, cereja do rio grande -* Serralha, dente de leão, beldroega, major gomes -* Caruru família quinoa amaranto -* Taioba: - * Fica esperto mermao: folha sai do meio do talo - * Formato de Orelhinha, nervura ao redor da folha - -## Estaca, estaquia - -* Um palmo com um corte na transversal em cada extremidade: aumento contato raíz e escoamento do topo -* Tirar folhas, deixando poucas pra reduzir a evapotranspiração e reduzir gasto energético. -* Plantar na direção correta. -* Enterrar ao menos duas gemas. - -## Referências - -* Fitoalimurgia, Otaviano Tozetti -* PANC, Projeto PANC, Valdely Kinupp -* História da agricultura no mundo, marcel mazoyer e lawrence roudart -* Livro do knuppi e do lorenzi -* Instituto plantarum -* [Como diferenciar serralha e dente-de-leão](http://www.matosdecomer.com.br/2016/08/como-diferenciar-serralha-e-dente-de.html). -* [Cartilha Guia Prático de PANC Plantas Alimenticias Nao Convencionais](http://institutokairos.net/wp content/uploads/2017/08/Cartilha Guia Pr%C3%A1tico de PANC Plantas Alimenticias Nao Convencionais.pdf). - -## Pesquisas futuras: - -* C2 ou C3? -* Venenosas? -* Doenças? -* Contaminação? -* Aplicativo botânico para identificação de plantas -* Musgo? diff --git a/research/python.md b/research/python.md new file mode 100644 index 0000000..102dac5 --- /dev/null +++ b/research/python.md @@ -0,0 +1,80 @@ +[[!meta title="Python"]] + +## Learning Python + +### General + +* Everything is an object. Really? What about symbols like + - and =? +* The `dir()` and `help()` functions are really useful. +* Great idea: iteration protocol. +* There are sequences and sum operations common for all types and specific type operations. + +### Iteration and optimization + + In general, leading and trailing double underscores is the naming pattern + Python uses for implementation details. The names without the underscores in + this list are the callable methods on string objects. + +### Polymorphism + +Python encourages polymorphism: + + This is related to the idea of polymorphism mentioned earlier, and it stems + from Python’s lack of type declarations. As you’ll learn, in Python, we code to + object interfaces (operations supported), not to types. That is, we care what + an object does, not what it is. Not caring about specific types means that code + is automatically applicable to many of them—any object with a compatible + interface will work, regardless of its specific type. Although type checking is + supported—and even required in some rare cases—you’ll see that it’s not usually + the “Pythonic” way of thinking. In fact, you’ll find that polymorphism is + probably the key idea behind using Python well. + +### Numeric Display Formats + +* [14. Floating Point Arithmetic: Issues and Limitations — Python 2.7.13 documentation](https://docs.python.org/2/tutorial/floatingpoint.html) +* [What Every Computer Scientist Should Know About Floating-Point Arithmetic](https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html) +* [Floating-point arithmetic - Wikipedia](https://en.wikipedia.org/wiki/Floating-point_arithmetic). + + This floating-point limitation is especially apparent for values that cannot be + represented accurately given their limited number of bits in memory. + + [...] + + fractions and decimals both allow more intuitive and accurate results than + floating points sometimes can, in different ways—by using rational + representation and by limiting precision + +### Types + + More formally, there are three major type (and operation) categories in Python + that have this generic nature: + + Numbers (integer, floating-point, decimal, fraction, others) + Support addition, multiplication, etc. + Sequences (strings, lists, tuples) + Support indexing, slicing, concatenation, etc. + Mappings (dictionaries) + Support indexing by key, etc. + + [...] + + The major core types in Python break down as follows: + + Immutables (numbers, strings, tuples, frozensets) + None of the object types in the immutable category support in-place changes, + though we can always run expressions to make new objects and assign their + results to variables as needed. + + Mutables (lists, dictionaries, sets, bytearray) + Conversely, the mutable types can always be changed in place with operations + that do not create new objects. Although such objects can be copied, in-place + changes support direct modification. + +## Libraries and applications + +* QGIS. +* [SciPy.org — SciPy.org](https://www.scipy.org/) ([package](https://packages.debian.org/stable/python-scipy)). + +## Test projects + +* [Arduino Blog » How close are we to doomsday? A clock is calculating it in real time](https://blog.arduino.cc/2013/03/27/how-close-are-we-to-doomsday-clock/) ([python code](https://github.com/tomschofield/Neurotic-Armageddon-Indicator/blob/master/NAI_SERVER/nai_scraper.py) to parse [Timeline from the Bulletin of the Atomic Scientists](http://thebulletin.org/timeline)). diff --git a/research/python.mdwn b/research/python.mdwn deleted file mode 100644 index 102dac5..0000000 --- a/research/python.mdwn +++ /dev/null @@ -1,80 +0,0 @@ -[[!meta title="Python"]] - -## Learning Python - -### General - -* Everything is an object. Really? What about symbols like + - and =? -* The `dir()` and `help()` functions are really useful. -* Great idea: iteration protocol. -* There are sequences and sum operations common for all types and specific type operations. - -### Iteration and optimization - - In general, leading and trailing double underscores is the naming pattern - Python uses for implementation details. The names without the underscores in - this list are the callable methods on string objects. - -### Polymorphism - -Python encourages polymorphism: - - This is related to the idea of polymorphism mentioned earlier, and it stems - from Python’s lack of type declarations. As you’ll learn, in Python, we code to - object interfaces (operations supported), not to types. That is, we care what - an object does, not what it is. Not caring about specific types means that code - is automatically applicable to many of them—any object with a compatible - interface will work, regardless of its specific type. Although type checking is - supported—and even required in some rare cases—you’ll see that it’s not usually - the “Pythonic” way of thinking. In fact, you’ll find that polymorphism is - probably the key idea behind using Python well. - -### Numeric Display Formats - -* [14. Floating Point Arithmetic: Issues and Limitations — Python 2.7.13 documentation](https://docs.python.org/2/tutorial/floatingpoint.html) -* [What Every Computer Scientist Should Know About Floating-Point Arithmetic](https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html) -* [Floating-point arithmetic - Wikipedia](https://en.wikipedia.org/wiki/Floating-point_arithmetic). - - This floating-point limitation is especially apparent for values that cannot be - represented accurately given their limited number of bits in memory. - - [...] - - fractions and decimals both allow more intuitive and accurate results than - floating points sometimes can, in different ways—by using rational - representation and by limiting precision - -### Types - - More formally, there are three major type (and operation) categories in Python - that have this generic nature: - - Numbers (integer, floating-point, decimal, fraction, others) - Support addition, multiplication, etc. - Sequences (strings, lists, tuples) - Support indexing, slicing, concatenation, etc. - Mappings (dictionaries) - Support indexing by key, etc. - - [...] - - The major core types in Python break down as follows: - - Immutables (numbers, strings, tuples, frozensets) - None of the object types in the immutable category support in-place changes, - though we can always run expressions to make new objects and assign their - results to variables as needed. - - Mutables (lists, dictionaries, sets, bytearray) - Conversely, the mutable types can always be changed in place with operations - that do not create new objects. Although such objects can be copied, in-place - changes support direct modification. - -## Libraries and applications - -* QGIS. -* [SciPy.org — SciPy.org](https://www.scipy.org/) ([package](https://packages.debian.org/stable/python-scipy)). - -## Test projects - -* [Arduino Blog » How close are we to doomsday? A clock is calculating it in real time](https://blog.arduino.cc/2013/03/27/how-close-are-we-to-doomsday-clock/) ([python code](https://github.com/tomschofield/Neurotic-Armageddon-Indicator/blob/master/NAI_SERVER/nai_scraper.py) to parse [Timeline from the Bulletin of the Atomic Scientists](http://thebulletin.org/timeline)). diff --git a/research/radio.md b/research/radio.md new file mode 100644 index 0000000..d76f34e --- /dev/null +++ b/research/radio.md @@ -0,0 +1,6 @@ +[[!meta title="A Era do Rádio Chegou"]] +[[!tag radio rádio hardware comunicação]] + +* [Transmitting FM, AM, SSB, SSTV and FSQ with just a Raspberry Pi](http://www.rtl-sdr.com/transmitting-fm-am-ssb-sstv-and-fsq-with-just-a-raspberry-pi/). +* [Raspberry PiRate Radio FM Transmitter](http://www.rtl-sdr.com/raspberry-pirate-radio-fm-transmitter/). +* [Transmitting Data with a Raspberry Pi and RTL-SDR](http://www.rtl-sdr.com/transmitting-data-raspberry-pi-rtl-sdr/). diff --git a/research/radio.mdwn b/research/radio.mdwn deleted file mode 100644 index d76f34e..0000000 --- a/research/radio.mdwn +++ /dev/null @@ -1,6 +0,0 @@ -[[!meta title="A Era do Rádio Chegou"]] -[[!tag radio rádio hardware comunicação]] - -* [Transmitting FM, AM, SSB, SSTV and FSQ with just a Raspberry Pi](http://www.rtl-sdr.com/transmitting-fm-am-ssb-sstv-and-fsq-with-just-a-raspberry-pi/). -* [Raspberry PiRate Radio FM Transmitter](http://www.rtl-sdr.com/raspberry-pirate-radio-fm-transmitter/). -* [Transmitting Data with a Raspberry Pi and RTL-SDR](http://www.rtl-sdr.com/transmitting-data-raspberry-pi-rtl-sdr/). diff --git a/research/raspberrypi.md b/research/raspberrypi.md new file mode 100644 index 0000000..b4acd29 --- /dev/null +++ b/research/raspberrypi.md @@ -0,0 +1,161 @@ +[[!meta title="Raspberry Pi"]] + +* [General information](https://wiki.debian.org/RaspberryPi2). + +Issues +====== + +## SSH + +SSH not working by default on newer (2017) raspbian releases. That's because it's disabled +by default. Solution is to create a file called 'ssh' in the boot partition. + +## Networking + +* You might try to make it allways up with wicd-curses. + +### Amplifier mode + +Some references on using an external soundcard as an amplifier: + +* packages: libncurses5-dev libjack-jackd2-dev jack-tools +* http://wiki.linuxaudio.org/wiki/raspberrypi +* http://www.jackaudio.org/applications/ +* http://linux-audio.4202.n7.nabble.com/Solution-for-jackd2-and-dbus-without-X-session-td35904.html +* http://comments.gmane.org/gmane.linux.audio.users/82560 +* [sound - How do I output my audio input? - Ask Ubuntu](https://askubuntu.com/questions/2719/how-do-i-output-my-audio-input) +* [Crackle-free audio on the Raspberry Pi with mpd and PulseAudio – dbader.org](https://dbader.org/blog/crackle-free-audio-on-the-raspberry-pi-with-mpd-and-pulseaudio) +* [How to play realtime insted of using arecord and aplay?](https://www.linuxquestions.org/questions/linux-newbie-8/how-to-play-realtime-insted-of-using-arecord-and-aplay-858500/) +* [Jackd Headless](https://capocasa.net/jackd-headless). + +Attempts: + + man jack_disconnect + man jack_connect + man jack_lsp + sudo jack_lsp + sudo apt-get install jack-tools + jackd + jackd --no-realtime + jackd --no-realtime -d alsa + export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket jackd --no-realtime -d alsa + DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket jackd --no-realtime -d alsa + sudo jackd --no-realtime -d alsa + DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket sudo jackd --no-realtime -d alsa + sudo apt-get install libncurses5-dev libjack-jackd2-dev -y + DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket sudo jackd --no-realtime -d alsa + DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket sudo jackd -r -d alsa -d default:CARD=USB + +### Freezing + +At the serial console: + + [123916.394903] INFO: rcu_preempt detected stalls on CPUs/tasks: + [123916.413406] 1: (1 GPs behind) idle=dcd/140000000000000/0 softirq=1003110/1003111 fqs=312910 + [123916.447541] (detected by 0, t=765007 jiffies, g=729122, c=729121, q=347657) + [123916.467769] Task dump for CPU 1: + [123916.484152] puppet R running 0 29362 1 0x00000002 + [123916.503500] rcu_preempt kthread starved for 448421 jiffies! + +References: + +* [Pi2 rcu_preempt detected stalls · Issue #1161 · raspberrypi/linux · GitHub](https://github.com/raspberrypi/linux/issues/1161). + +## Montagem automática de volume cifrado + +Assumindo: + + VOLNAME: nome do disco externo + MEDIA: nome do dispositivo mapeado (device mapper) + +No TPC: + + dd if=/dev/urandom of=pirotron bs=1024 count=4 + keyringer $PROJECT encrypt disks/$MEDIA/luks/root-berry $VOLNAME + scp $VOLNAME berry:~/ + wipe $VOLNAME + +No raspberry: + + sudo mv /home/$USER/$VOLNAME /root/ + sudo chmod 0400 /root/$VOLNAME + sudo cryptsetup luksAddKey /dev/sda1 /root/$VOLNAME + +No `/etc/crypttab`: + + $VOLNAME /dev/sda1 /root/$VOLNAME luks + +No `/etc/fstab`: + + /dev/mapper/$VOLNAME /media/$VOLNAME ext4 defaults 0 2 + +Referências: + +* https://www.howtoforge.com/automatically-unlock-luks-encrypted-drives-with-a-keyfile +* https://askubuntu.com/questions/450895/mount-luks-encrypted-hard-drive-at-boot + +## Rede + +Arquivo `/etc/network/interfaces`: + + auto lo + iface lo inet loopback + + #auto eth0 + #allow-hotplug eth0 + + #iface eth0 inet manual + #iface eth0 inet static + # address 192.168.0.100 + # netmask 255.255.255.0 + + auto wlan0 + allow-hotplug wlan0 + + iface wlan0 inet static + address 192.168.0.100 + netmask 255.255.255.0 + wpa-ssid ACCESS_POINT_NAME + wpa-psk PSK + #wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf + post-up /usr/sbin/service shorewall restart + + #iface wlan0 inet manual + # wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf + # + #iface ape inet static + # address 192.168.0.100 + # netmask 255.255.255.0 + + #iface wlan0 inet manual + #wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf + + #auto wlan1 + #allow-hotplug wlan1 + #iface wlan1 inet manual + #wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf + +Arquivo `/etc/wpa_supplicante/wpa_supplicant.conf` (por enquanto não utilizado): + + ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev + update_config=1 + + network={ + ssid="ACCESS_POINT_NAME" + psk="PSK" + } + +O esquema `wpa-roam` não funciona com interfaces `static`, então foi necessário usar [https://git.fluxo.info/?p=puppet-nodo.git;a=commit;h=d09f347afc0a99481673f227f83864d06206add6 um script]. + +Backups +------- + +Fazendo o backup do cartão microSD a partir do TPC: + + dcfldd if=/dev/sdb | bzip2 > raspberry.img.bz2 + +## References + +* http://linuxonflash.blogspot.com.br +* http://elinux.org/RPi_Serial_Connection +* https://www.raspbian.org/RaspbianMirrors diff --git a/research/raspberrypi.mdwn b/research/raspberrypi.mdwn deleted file mode 100644 index b4acd29..0000000 --- a/research/raspberrypi.mdwn +++ /dev/null @@ -1,161 +0,0 @@ -[[!meta title="Raspberry Pi"]] - -* [General information](https://wiki.debian.org/RaspberryPi2). - -Issues -====== - -## SSH - -SSH not working by default on newer (2017) raspbian releases. That's because it's disabled -by default. Solution is to create a file called 'ssh' in the boot partition. - -## Networking - -* You might try to make it allways up with wicd-curses. - -### Amplifier mode - -Some references on using an external soundcard as an amplifier: - -* packages: libncurses5-dev libjack-jackd2-dev jack-tools -* http://wiki.linuxaudio.org/wiki/raspberrypi -* http://www.jackaudio.org/applications/ -* http://linux-audio.4202.n7.nabble.com/Solution-for-jackd2-and-dbus-without-X-session-td35904.html -* http://comments.gmane.org/gmane.linux.audio.users/82560 -* [sound - How do I output my audio input? - Ask Ubuntu](https://askubuntu.com/questions/2719/how-do-i-output-my-audio-input) -* [Crackle-free audio on the Raspberry Pi with mpd and PulseAudio – dbader.org](https://dbader.org/blog/crackle-free-audio-on-the-raspberry-pi-with-mpd-and-pulseaudio) -* [How to play realtime insted of using arecord and aplay?](https://www.linuxquestions.org/questions/linux-newbie-8/how-to-play-realtime-insted-of-using-arecord-and-aplay-858500/) -* [Jackd Headless](https://capocasa.net/jackd-headless). - -Attempts: - - man jack_disconnect - man jack_connect - man jack_lsp - sudo jack_lsp - sudo apt-get install jack-tools - jackd - jackd --no-realtime - jackd --no-realtime -d alsa - export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket jackd --no-realtime -d alsa - DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket jackd --no-realtime -d alsa - sudo jackd --no-realtime -d alsa - DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket sudo jackd --no-realtime -d alsa - sudo apt-get install libncurses5-dev libjack-jackd2-dev -y - DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket sudo jackd --no-realtime -d alsa - DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket sudo jackd -r -d alsa -d default:CARD=USB - -### Freezing - -At the serial console: - - [123916.394903] INFO: rcu_preempt detected stalls on CPUs/tasks: - [123916.413406] 1: (1 GPs behind) idle=dcd/140000000000000/0 softirq=1003110/1003111 fqs=312910 - [123916.447541] (detected by 0, t=765007 jiffies, g=729122, c=729121, q=347657) - [123916.467769] Task dump for CPU 1: - [123916.484152] puppet R running 0 29362 1 0x00000002 - [123916.503500] rcu_preempt kthread starved for 448421 jiffies! - -References: - -* [Pi2 rcu_preempt detected stalls · Issue #1161 · raspberrypi/linux · GitHub](https://github.com/raspberrypi/linux/issues/1161). - -## Montagem automática de volume cifrado - -Assumindo: - - VOLNAME: nome do disco externo - MEDIA: nome do dispositivo mapeado (device mapper) - -No TPC: - - dd if=/dev/urandom of=pirotron bs=1024 count=4 - keyringer $PROJECT encrypt disks/$MEDIA/luks/root-berry $VOLNAME - scp $VOLNAME berry:~/ - wipe $VOLNAME - -No raspberry: - - sudo mv /home/$USER/$VOLNAME /root/ - sudo chmod 0400 /root/$VOLNAME - sudo cryptsetup luksAddKey /dev/sda1 /root/$VOLNAME - -No `/etc/crypttab`: - - $VOLNAME /dev/sda1 /root/$VOLNAME luks - -No `/etc/fstab`: - - /dev/mapper/$VOLNAME /media/$VOLNAME ext4 defaults 0 2 - -Referências: - -* https://www.howtoforge.com/automatically-unlock-luks-encrypted-drives-with-a-keyfile -* https://askubuntu.com/questions/450895/mount-luks-encrypted-hard-drive-at-boot - -## Rede - -Arquivo `/etc/network/interfaces`: - - auto lo - iface lo inet loopback - - #auto eth0 - #allow-hotplug eth0 - - #iface eth0 inet manual - #iface eth0 inet static - # address 192.168.0.100 - # netmask 255.255.255.0 - - auto wlan0 - allow-hotplug wlan0 - - iface wlan0 inet static - address 192.168.0.100 - netmask 255.255.255.0 - wpa-ssid ACCESS_POINT_NAME - wpa-psk PSK - #wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf - post-up /usr/sbin/service shorewall restart - - #iface wlan0 inet manual - # wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf - # - #iface ape inet static - # address 192.168.0.100 - # netmask 255.255.255.0 - - #iface wlan0 inet manual - #wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf - - #auto wlan1 - #allow-hotplug wlan1 - #iface wlan1 inet manual - #wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf - -Arquivo `/etc/wpa_supplicante/wpa_supplicant.conf` (por enquanto não utilizado): - - ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev - update_config=1 - - network={ - ssid="ACCESS_POINT_NAME" - psk="PSK" - } - -O esquema `wpa-roam` não funciona com interfaces `static`, então foi necessário usar [https://git.fluxo.info/?p=puppet-nodo.git;a=commit;h=d09f347afc0a99481673f227f83864d06206add6 um script]. - -Backups -------- - -Fazendo o backup do cartão microSD a partir do TPC: - - dcfldd if=/dev/sdb | bzip2 > raspberry.img.bz2 - -## References - -* http://linuxonflash.blogspot.com.br -* http://elinux.org/RPi_Serial_Connection -* https://www.raspbian.org/RaspbianMirrors diff --git a/research/readers.md b/research/readers.md new file mode 100644 index 0000000..15375a2 --- /dev/null +++ b/research/readers.md @@ -0,0 +1,45 @@ +[[!meta title="Leitores - eReaders"]] +[[!tag leitura hardware pesquisa gadget]] + +Candidato: Kobo. + +* [fread is coming](https://fread.ink/). +* [MobileRead Wiki - Debian Linux on a Kobo](https://wiki.mobileread.com/wiki/Debian_Linux_on_a_Kobo). +* [Ask HN: Cheap, hackable e-reader? | Hacker News](https://news.ycombinator.com/item?id=13863046). + +Kobo +---- + +* [Kobo Brasil - Google+](https://plus.google.com/communities/112084021543948580071). +* [Graham King » Kobo eReader Touch on Ubuntu Linux](https://www.darkcoding.net/misc/kobo-ereader-touch-on-ubuntu-linux/). +* [Kobo Aura H2O - Rakuten Kobo eReader Store](https://gl.kobobooks.com/products/kobo-aura-h2o). +* [Kobo e-reader](https://en.wikipedia.org/wiki/Kobo_eReader). +* [Code](https://github.com/kobolabs/Kobo-Reader). + +## Customizing + +* [KOReader Community · GitHub](https://github.com/koreader): [Installation on Kobo devices · koreader/koreader Wiki · GitHub](https://github.com/koreader/koreader/wiki/Installation-on-Kobo-devices). + +### Hacking + +* [Kobo Start Menu 08 - MobileRead Forums](https://www.mobileread.com/forums/showthread.php?t=266821). +* [Hacking the fnacbook (aka. Kobo by Fnac) - a3nm's blog](https://a3nm.net/blog/fnacbook_kobo_hacking.html). +* [Even more Kobo hacking - a3nm's blog](https://a3nm.net/blog/kobo_glo_hacking.html). +* [MobileRead Wiki - Kobo Touch Hacking](https://wiki.mobileread.com/wiki/Kobo_Touch_Hacking). +* [Hacking / Customizing a Kobo Touch ebook reader: Part I, sqlite (Shallow Thoughts)](http://shallowsky.com/blog/tech/kobo-hacking.html). +* [Offline Wikipedia on Kobo (Guide) - MobileRead Forums](https://www.mobileread.com/forums/showthread.php?t=276219). +* [KoboStuff](https://geek1011.github.io/KoboStuff/). + +### Sincronização + +A partir de uma cópia completa do acervo: + + storage="/path/to/complete/doc/repos" + sudo rsync --size-only -avL --no-p --no-g --no-owner --delete-after --ignore-errors \ + --include='*/' --include='*.pdf' --include='*.epub' --include='*.mobi' --exclude='*' \ + $storage/books/ /media/tablet/books/ + +Notar que usamos: + +* `--size-only` para fazer uma comparação simples de tamanho dos arquivos (é seguro porque assumimos que são obras autoradas/fechadas) e copiar mais rápido, além de evitar a cópia completa por conta de `-L`. +* `--ignore-errors` por conta de possíveis ligações simbólicas mortas de arquivos do git-annex que não estejam na cópia de trabalho. diff --git a/research/readers.mdwn b/research/readers.mdwn deleted file mode 100644 index 15375a2..0000000 --- a/research/readers.mdwn +++ /dev/null @@ -1,45 +0,0 @@ -[[!meta title="Leitores - eReaders"]] -[[!tag leitura hardware pesquisa gadget]] - -Candidato: Kobo. - -* [fread is coming](https://fread.ink/). -* [MobileRead Wiki - Debian Linux on a Kobo](https://wiki.mobileread.com/wiki/Debian_Linux_on_a_Kobo). -* [Ask HN: Cheap, hackable e-reader? | Hacker News](https://news.ycombinator.com/item?id=13863046). - -Kobo ----- - -* [Kobo Brasil - Google+](https://plus.google.com/communities/112084021543948580071). -* [Graham King » Kobo eReader Touch on Ubuntu Linux](https://www.darkcoding.net/misc/kobo-ereader-touch-on-ubuntu-linux/). -* [Kobo Aura H2O - Rakuten Kobo eReader Store](https://gl.kobobooks.com/products/kobo-aura-h2o). -* [Kobo e-reader](https://en.wikipedia.org/wiki/Kobo_eReader). -* [Code](https://github.com/kobolabs/Kobo-Reader). - -## Customizing - -* [KOReader Community · GitHub](https://github.com/koreader): [Installation on Kobo devices · koreader/koreader Wiki · GitHub](https://github.com/koreader/koreader/wiki/Installation-on-Kobo-devices). - -### Hacking - -* [Kobo Start Menu 08 - MobileRead Forums](https://www.mobileread.com/forums/showthread.php?t=266821). -* [Hacking the fnacbook (aka. Kobo by Fnac) - a3nm's blog](https://a3nm.net/blog/fnacbook_kobo_hacking.html). -* [Even more Kobo hacking - a3nm's blog](https://a3nm.net/blog/kobo_glo_hacking.html). -* [MobileRead Wiki - Kobo Touch Hacking](https://wiki.mobileread.com/wiki/Kobo_Touch_Hacking). -* [Hacking / Customizing a Kobo Touch ebook reader: Part I, sqlite (Shallow Thoughts)](http://shallowsky.com/blog/tech/kobo-hacking.html). -* [Offline Wikipedia on Kobo (Guide) - MobileRead Forums](https://www.mobileread.com/forums/showthread.php?t=276219). -* [KoboStuff](https://geek1011.github.io/KoboStuff/). - -### Sincronização - -A partir de uma cópia completa do acervo: - - storage="/path/to/complete/doc/repos" - sudo rsync --size-only -avL --no-p --no-g --no-owner --delete-after --ignore-errors \ - --include='*/' --include='*.pdf' --include='*.epub' --include='*.mobi' --exclude='*' \ - $storage/books/ /media/tablet/books/ - -Notar que usamos: - -* `--size-only` para fazer uma comparação simples de tamanho dos arquivos (é seguro porque assumimos que são obras autoradas/fechadas) e copiar mais rápido, além de evitar a cópia completa por conta de `-L`. -* `--ignore-errors` por conta de possíveis ligações simbólicas mortas de arquivos do git-annex que não estejam na cópia de trabalho. diff --git a/research/security.md b/research/security.md new file mode 100644 index 0000000..38e32ce --- /dev/null +++ b/research/security.md @@ -0,0 +1,33 @@ +[[!meta title="Security"]] + +Research and development in security: + +* [Creepy - Geolocation OSINT Tool](http://www.geocreepy.com/) ([package](https://packages.debian.org/wheezy/creepy)). +* [Qubes OS](https://www.qubes-os.org/): + * [Qubes - Debian Wiki](https://wiki.debian.org/Qubes). + * [i3 | Qubes OS](https://www.qubes-os.org/doc/i3/). + * [Qubes OS 3.2 [LWN.net]](https://lwn.net/Articles/705827/). +* bitmask and LEAP. +* port knocking. +* hardened systems: apparmor, gradm2, firejail, seccomp, etc. +* sshd: + * https://stribika.github.io/2015/01/04/secure-secure-shell.html + * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774711#60 + * http://security.stackexchange.com/questions/64562/how-should-i-defend-against-zero-day-attack-on-ssh + * https://charlieharvey.org.uk/page/ssh_port_pros_and_cons +* fuzzy testing: fusil, etc. +* router: serial console to other boxes with dhe luks! :) +* [Mailcap, HTML and AppArmor](http://www.justgohome.co.uk/blog/2014/02/mailcap-html-apparmor.html). +* Increased security on smtp/imaps password storage: + * https://github.com/sup-heliotrope/sup/wiki/Securely-Store-Password + * http://serverfault.com/questions/149452/how-can-i-use-fetchmail-or-another-email-grabber-with-osx-keychain-for-authent + * http://mah.everybody.org/docs/mail/fetchmail_check +* Enhanced shell: + * Add a counter-measure to prevent SSH timing attacks: + http://users.ece.cmu.edu/~dawnsong/papers/ssh-timing.pdf + http://www.slideshare.net/idsecconf/countermeasure-against-timing-attack-on-ssh-using-random-delay + http://www.scribd.com/doc/59628153/Timing-Analysis-of-Keystrokes-and-Timing-Attacks-on-SSH-Revisited +* https://shodan.io +* https://censys.io +* https://keybase.io +* https://github.com/shadowsocks/shadowsocks-go diff --git a/research/security.mdwn b/research/security.mdwn deleted file mode 100644 index 38e32ce..0000000 --- a/research/security.mdwn +++ /dev/null @@ -1,33 +0,0 @@ -[[!meta title="Security"]] - -Research and development in security: - -* [Creepy - Geolocation OSINT Tool](http://www.geocreepy.com/) ([package](https://packages.debian.org/wheezy/creepy)). -* [Qubes OS](https://www.qubes-os.org/): - * [Qubes - Debian Wiki](https://wiki.debian.org/Qubes). - * [i3 | Qubes OS](https://www.qubes-os.org/doc/i3/). - * [Qubes OS 3.2 [LWN.net]](https://lwn.net/Articles/705827/). -* bitmask and LEAP. -* port knocking. -* hardened systems: apparmor, gradm2, firejail, seccomp, etc. -* sshd: - * https://stribika.github.io/2015/01/04/secure-secure-shell.html - * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774711#60 - * http://security.stackexchange.com/questions/64562/how-should-i-defend-against-zero-day-attack-on-ssh - * https://charlieharvey.org.uk/page/ssh_port_pros_and_cons -* fuzzy testing: fusil, etc. -* router: serial console to other boxes with dhe luks! :) -* [Mailcap, HTML and AppArmor](http://www.justgohome.co.uk/blog/2014/02/mailcap-html-apparmor.html). -* Increased security on smtp/imaps password storage: - * https://github.com/sup-heliotrope/sup/wiki/Securely-Store-Password - * http://serverfault.com/questions/149452/how-can-i-use-fetchmail-or-another-email-grabber-with-osx-keychain-for-authent - * http://mah.everybody.org/docs/mail/fetchmail_check -* Enhanced shell: - * Add a counter-measure to prevent SSH timing attacks: - http://users.ece.cmu.edu/~dawnsong/papers/ssh-timing.pdf - http://www.slideshare.net/idsecconf/countermeasure-against-timing-attack-on-ssh-using-random-delay - http://www.scribd.com/doc/59628153/Timing-Analysis-of-Keystrokes-and-Timing-Attacks-on-SSH-Revisited -* https://shodan.io -* https://censys.io -* https://keybase.io -* https://github.com/shadowsocks/shadowsocks-go diff --git a/research/smartphone.md b/research/smartphone.md new file mode 100644 index 0000000..0894029 --- /dev/null +++ b/research/smartphone.md @@ -0,0 +1,197 @@ +[[!meta title="Smartphone"]] + +[[!toc levels=4]] + +Objetivo +-------- + +* Ter um smartphone disponível e funcional sempre que preciso. +* Reduzindo ao máximo as perdas de privacidade e segurança. +* Estabilidade de longo prazo: escolhas de hardware, software e configuração duráveis. + +Sistema escolhido +----------------- + +Para este estudo, o sistema escolhido foi o [LineageOS](https://lineageos.org). + +### Prós + +* Código mais aberto. +* Risco menor de backdoors. +* Google Apps não-mandatório. + +### Contras + +* Menor base de aplicativos. +* Atualizações de segurança mais lentas. +* Ainda dependente de um ecossistema tecnotóxico. +* No caso de root no dispositivo, há redução de segurança. + +Modelo escolhido +---------------- + +Para este estudo, o modelo escolhido foi o Moto E. + +### Prós + +* Custo relativamente baixo. +* Bom suporte ao LineageOS. + +### Contras + +* Sem flash. +* Bateria não-removível. +* Jack de áudio não é compatível com qualquer conector. + +Checklist +--------- + +Iterador básico para a manutenção do smartphone: + +* Destravamento do bootloader. +* Instalação ou atualização do recovery. +* Instalação do LineageOS. +* [Criptografia do armazenamento interno](https://source.android.com/security/encryption/full-disk). +* Configuração de senha e intervalo de travamento (após cifrar o armazenamento). +* Ferramentas de desenvolvimento habilitadas. +* Restaurar backups e configurações, caso existam. +* Configurações de aparência e comportamento. +* Apps: + * VPN. + * Editor. + * LibreSignal. + * Barcode Scanner. + * [Scuttloid](https://f-droid.org/packages/gr.ndre.scuttloid/). + * [MPDroid](https://f-droid.org/packages/com.namelessdev.mpdroid/). +* Teste e correções. +* Realização de backups. +* Upgrade: + * Atualizar ROM. + * Atualizar apps via F-Droid. + * Atualizar apks manualmente. + * Alguns apps podem ser auto-autualizáveis. + +Detalhes a seguir sobre algumas das etapas acima elencadas. + +Destravamento +------------- + +Este procedimento é específico para alguns aparelhos para que o bootloader +possa ser desbloqueado, como é o caso do modelo escolhido: + + # stretch onwards: sudo apt install adb fastboot + sudo apt install android-tools-adb android-tools-fastboot + + 1 20160410 14:55:06 user@box:~ $ adb reboot bootloader + 0 20160410 14:55:22 user@box:~ $ fastboot devices + 0012711246 fastboot + 0 20160410 14:55:40 user@box:~ $ fastboot oem get_unlock_data + ... + (bootloader) [...] + OKAY [ 0.235s] + finished. total time: 0.235s + 0 20160410 14:56:01 user@box:~ $ fastboot oem unlock $code + ... + (bootloader) Check 'Allow OEM Unlock' in Developer Options. + FAILED (remote failure) + finished. total time: 0.007s + 1 20160410 15:30:32 user@box:~ $ fastboot devices + 0012711246 fastboot + 0 20160410 15:30:49 user@box:~ $ + +Recovery +-------- + +Usando o [TWRP para Moto E surnia](https://twrp.me/devices/motorolamotoelte.html): + + adb reboot bootloader + fastboot flash recovery recovery.img + fastboot reboot + +Instalação +---------- + +Detalhes de instalação já são bem cobertos pela documentação do LineageOS, +incluindo a ativação do ADB: + +* [Update and build preparation](http://lineageos.org/Update-and-Build-Prep/). +* [Moto E surnia builds](https://download.lineageos.org/surnia). +* [Verifying builds](http://wiki.lineageos.org/verifying-builds.html). +* [Info about surnia | LineageOS Wiki](https://wiki.lineageos.org/devices/surnia). +* [Install LineageOS on surnia | LineageOS Wiki](https://wiki.lineageos.org/devices/surnia/install). +* [Using ADB and fastboot | LineageOS Wiki](https://wiki.lineageos.org/adb_fastboot_guide.html). + +Backups +------- + +Usaremos o [adb-sync](https://github.com/google/adb-sync) e o [adb-export](https://github.com/snatik/adb-export) através do script [android-backup](https://git.fluxo.info/scripts/tree/android-backup). + +Restauro +-------- + +A partir de um sistema recém-instalado: + + # Arquivos: cópia completa + #for file in `ls files`; do + # adb push files/$file $base/$file + #done + + # Arquivos: cópia incremental + for file in `ls files`; do + adb-sync --delete files/$file/ $base/$file/ + done + + # Configurações + adb restore backup.ab + +## Subir músicas + +Podem ser enviadas a partir de acervos compatíveis com o [playlister](https://git.fluxo.info/playlister/about/): + + playlist-copy adb + +Dicas +----- + +## Escondendo arquivos do mídia player + + touch /storage/emulated/0/SomeApp/Media/.nomedia + +Via [Hide Certain Files in Android Music Player (or Photo Gallery)](http://www.guidingtech.com/15563/hide-certain-files-android-music-player-photo-gallery/). + +## Checagem de fingerprint do ADB + + awk '{print $1}' < ~/.android/adbkey.pub | openssl base64 -A -d -a | openssl md5 -c | \ + awk '{print $2}' | tr '[:lower:]' '[:upper:]' + +Via [Validating the Android 4.2.2 RSA fingerprint](https://shred.zone/cilla/page/374/validating-the-android-422-rsa-fingerprint.html). + +## Instalação manual de apps + +Checagem de assinatura: + + apksigner verify --print-certs app.apk + +Instalação: + + adb install app.apk + +## Movendo arquivos do sdcard para o armazenamento interno + + adb shell + cd /storage/emulated/0 + mv /storage/1FAC-34C3/Music/* Music/ + +Referências +----------- + +* Aplicativos interessantes: snoopsnitch. +* [Modificações de hardware](https://web.archive.org/web/20160402005909/https://people.torproject.org/~ioerror/skunkworks/moto_e/). +* [List of custom android firmware](https://en.wikipedia.org/wiki/List_of_custom_Android_firmware). +* [Fossdroid: Free and open source Android apps](https://fossdroid.com/). +* Backups: + * [Android: How to Backup Contacts and SMS Messages | chombium's blog](https://chombium.wordpress.com/2012/09/30/android-how-to-backup-contacts-and-sms-messages/), but requires root on recent androids. + * [Does adb backup include contacts? - Android Enthusiasts Stack Exchange](https://android.stackexchange.com/questions/85269/does-adb-backup-include-contacts). + * [GitHub - stachre/dump-contacts2db: Bash script that dumps contacts from an Android contacts2.db to stdout in vCard format. Especially helpful when the device is inop or missing, with only a contacts2.db file available (from backup, etc.) to migrate contac](https://github.com/stachre/dump-contacts2db). + * [Full Phone Backup without Unlock or … | Samsung Galaxy Nexus](https://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351). + * [How to use ADB backup to back up your unrooted phone - Pocketables](http://www.pocketables.com/2012/09/how-to-use-adb-backup-to-back-up-your-unrooted-phone.html). diff --git a/research/smartphone.mdwn b/research/smartphone.mdwn deleted file mode 100644 index 0894029..0000000 --- a/research/smartphone.mdwn +++ /dev/null @@ -1,197 +0,0 @@ -[[!meta title="Smartphone"]] - -[[!toc levels=4]] - -Objetivo --------- - -* Ter um smartphone disponível e funcional sempre que preciso. -* Reduzindo ao máximo as perdas de privacidade e segurança. -* Estabilidade de longo prazo: escolhas de hardware, software e configuração duráveis. - -Sistema escolhido ------------------ - -Para este estudo, o sistema escolhido foi o [LineageOS](https://lineageos.org). - -### Prós - -* Código mais aberto. -* Risco menor de backdoors. -* Google Apps não-mandatório. - -### Contras - -* Menor base de aplicativos. -* Atualizações de segurança mais lentas. -* Ainda dependente de um ecossistema tecnotóxico. -* No caso de root no dispositivo, há redução de segurança. - -Modelo escolhido ----------------- - -Para este estudo, o modelo escolhido foi o Moto E. - -### Prós - -* Custo relativamente baixo. -* Bom suporte ao LineageOS. - -### Contras - -* Sem flash. -* Bateria não-removível. -* Jack de áudio não é compatível com qualquer conector. - -Checklist ---------- - -Iterador básico para a manutenção do smartphone: - -* Destravamento do bootloader. -* Instalação ou atualização do recovery. -* Instalação do LineageOS. -* [Criptografia do armazenamento interno](https://source.android.com/security/encryption/full-disk). -* Configuração de senha e intervalo de travamento (após cifrar o armazenamento). -* Ferramentas de desenvolvimento habilitadas. -* Restaurar backups e configurações, caso existam. -* Configurações de aparência e comportamento. -* Apps: - * VPN. - * Editor. - * LibreSignal. - * Barcode Scanner. - * [Scuttloid](https://f-droid.org/packages/gr.ndre.scuttloid/). - * [MPDroid](https://f-droid.org/packages/com.namelessdev.mpdroid/). -* Teste e correções. -* Realização de backups. -* Upgrade: - * Atualizar ROM. - * Atualizar apps via F-Droid. - * Atualizar apks manualmente. - * Alguns apps podem ser auto-autualizáveis. - -Detalhes a seguir sobre algumas das etapas acima elencadas. - -Destravamento -------------- - -Este procedimento é específico para alguns aparelhos para que o bootloader -possa ser desbloqueado, como é o caso do modelo escolhido: - - # stretch onwards: sudo apt install adb fastboot - sudo apt install android-tools-adb android-tools-fastboot - - 1 20160410 14:55:06 user@box:~ $ adb reboot bootloader - 0 20160410 14:55:22 user@box:~ $ fastboot devices - 0012711246 fastboot - 0 20160410 14:55:40 user@box:~ $ fastboot oem get_unlock_data - ... - (bootloader) [...] - OKAY [ 0.235s] - finished. total time: 0.235s - 0 20160410 14:56:01 user@box:~ $ fastboot oem unlock $code - ... - (bootloader) Check 'Allow OEM Unlock' in Developer Options. - FAILED (remote failure) - finished. total time: 0.007s - 1 20160410 15:30:32 user@box:~ $ fastboot devices - 0012711246 fastboot - 0 20160410 15:30:49 user@box:~ $ - -Recovery --------- - -Usando o [TWRP para Moto E surnia](https://twrp.me/devices/motorolamotoelte.html): - - adb reboot bootloader - fastboot flash recovery recovery.img - fastboot reboot - -Instalação ----------- - -Detalhes de instalação já são bem cobertos pela documentação do LineageOS, -incluindo a ativação do ADB: - -* [Update and build preparation](http://lineageos.org/Update-and-Build-Prep/). -* [Moto E surnia builds](https://download.lineageos.org/surnia). -* [Verifying builds](http://wiki.lineageos.org/verifying-builds.html). -* [Info about surnia | LineageOS Wiki](https://wiki.lineageos.org/devices/surnia). -* [Install LineageOS on surnia | LineageOS Wiki](https://wiki.lineageos.org/devices/surnia/install). -* [Using ADB and fastboot | LineageOS Wiki](https://wiki.lineageos.org/adb_fastboot_guide.html). - -Backups -------- - -Usaremos o [adb-sync](https://github.com/google/adb-sync) e o [adb-export](https://github.com/snatik/adb-export) através do script [android-backup](https://git.fluxo.info/scripts/tree/android-backup). - -Restauro --------- - -A partir de um sistema recém-instalado: - - # Arquivos: cópia completa - #for file in `ls files`; do - # adb push files/$file $base/$file - #done - - # Arquivos: cópia incremental - for file in `ls files`; do - adb-sync --delete files/$file/ $base/$file/ - done - - # Configurações - adb restore backup.ab - -## Subir músicas - -Podem ser enviadas a partir de acervos compatíveis com o [playlister](https://git.fluxo.info/playlister/about/): - - playlist-copy adb - -Dicas ------ - -## Escondendo arquivos do mídia player - - touch /storage/emulated/0/SomeApp/Media/.nomedia - -Via [Hide Certain Files in Android Music Player (or Photo Gallery)](http://www.guidingtech.com/15563/hide-certain-files-android-music-player-photo-gallery/). - -## Checagem de fingerprint do ADB - - awk '{print $1}' < ~/.android/adbkey.pub | openssl base64 -A -d -a | openssl md5 -c | \ - awk '{print $2}' | tr '[:lower:]' '[:upper:]' - -Via [Validating the Android 4.2.2 RSA fingerprint](https://shred.zone/cilla/page/374/validating-the-android-422-rsa-fingerprint.html). - -## Instalação manual de apps - -Checagem de assinatura: - - apksigner verify --print-certs app.apk - -Instalação: - - adb install app.apk - -## Movendo arquivos do sdcard para o armazenamento interno - - adb shell - cd /storage/emulated/0 - mv /storage/1FAC-34C3/Music/* Music/ - -Referências ------------ - -* Aplicativos interessantes: snoopsnitch. -* [Modificações de hardware](https://web.archive.org/web/20160402005909/https://people.torproject.org/~ioerror/skunkworks/moto_e/). -* [List of custom android firmware](https://en.wikipedia.org/wiki/List_of_custom_Android_firmware). -* [Fossdroid: Free and open source Android apps](https://fossdroid.com/). -* Backups: - * [Android: How to Backup Contacts and SMS Messages | chombium's blog](https://chombium.wordpress.com/2012/09/30/android-how-to-backup-contacts-and-sms-messages/), but requires root on recent androids. - * [Does adb backup include contacts? - Android Enthusiasts Stack Exchange](https://android.stackexchange.com/questions/85269/does-adb-backup-include-contacts). - * [GitHub - stachre/dump-contacts2db: Bash script that dumps contacts from an Android contacts2.db to stdout in vCard format. Especially helpful when the device is inop or missing, with only a contacts2.db file available (from backup, etc.) to migrate contac](https://github.com/stachre/dump-contacts2db). - * [Full Phone Backup without Unlock or … | Samsung Galaxy Nexus](https://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351). - * [How to use ADB backup to back up your unrooted phone - Pocketables](http://www.pocketables.com/2012/09/how-to-use-adb-backup-to-back-up-your-unrooted-phone.html). diff --git a/research/thinkpad.md b/research/thinkpad.md new file mode 100644 index 0000000..09a2fbd --- /dev/null +++ b/research/thinkpad.md @@ -0,0 +1,26 @@ +[[!meta title="Thinkpad"]] + +# Modelos + +## X62 - 51NB + +* [ThinkPad x62](https://geoff.greer.fm/2017/07/16/thinkpad-x62/). +* [X62 Laptop Review](https://www.notebookcheck.net/X62-Laptop-Review.211598.0.html). +* [Accept the fourth batch of X62 motherboard, New orders](https://m.facebook.com/notes/lcdfans/-accept-the-fourth-batch-of-x62-motherboard-new-orders/1877823262484777/?__tn__=H-R). + +# Memória + +* [Memory Compatibility - Notebooks](https://support.lenovo.com/br/en/solutions/pd012623#x). + +# X201 + +* [Detailed specifications - ThinkPad X201, X201s](https://support.lenovo.com/br/en/solutions/pd010141). +* [Category:X201 - ThinkWiki](http://www.thinkwiki.org/wiki/Category:X201) + +# T430i + +* Bateria do Thinkpad T430i - FRU P/N 45N1001, ASM P/N 45N1000. + +## Firmware + +* [Libreboot – Hardware compatibility list](https://libreboot.org/docs/hcl/). diff --git a/research/thinkpad.mdwn b/research/thinkpad.mdwn deleted file mode 100644 index 09a2fbd..0000000 --- a/research/thinkpad.mdwn +++ /dev/null @@ -1,26 +0,0 @@ -[[!meta title="Thinkpad"]] - -# Modelos - -## X62 - 51NB - -* [ThinkPad x62](https://geoff.greer.fm/2017/07/16/thinkpad-x62/). -* [X62 Laptop Review](https://www.notebookcheck.net/X62-Laptop-Review.211598.0.html). -* [Accept the fourth batch of X62 motherboard, New orders](https://m.facebook.com/notes/lcdfans/-accept-the-fourth-batch-of-x62-motherboard-new-orders/1877823262484777/?__tn__=H-R). - -# Memória - -* [Memory Compatibility - Notebooks](https://support.lenovo.com/br/en/solutions/pd012623#x). - -# X201 - -* [Detailed specifications - ThinkPad X201, X201s](https://support.lenovo.com/br/en/solutions/pd010141). -* [Category:X201 - ThinkWiki](http://www.thinkwiki.org/wiki/Category:X201) - -# T430i - -* Bateria do Thinkpad T430i - FRU P/N 45N1001, ASM P/N 45N1000. - -## Firmware - -* [Libreboot – Hardware compatibility list](https://libreboot.org/docs/hcl/). diff --git a/research/token.md b/research/token.md new file mode 100644 index 0000000..2443074 --- /dev/null +++ b/research/token.md @@ -0,0 +1,47 @@ +[[!meta title="Tokens USB"]] + +## Gnuk + +* [Free Software Initiative of Japan - gnuk](http://www.fsij.org/category/gnuk.html) +* [Gnuk Documentation — Gnuk Documentation 1.0 documentation](http://www.fsij.org/doc-gnuk/) +* [Gnuk - Noisebridge](https://noisebridge.net/wiki/Gnuk). +* [FST-01 - Seeed Wiki](http://wiki.seeed.cc/FST-01/). +* [Questions - FST-01 Q&A Forum](http://no-passwd.net/askbot/questions/). +* Threat modeling: + * [How safe is Gnuk against side channel attacks, USB sniffer, or electron/tunneling microscope? - FST-01 Q&A Forum](http://no-passwd.net/askbot/question/33/how-safe-is-gnuk-against-side-channel-attacks-usb/). + * [How does Gnuk protect against attacks to extract private keys? - FST-01 Q&A Forum](http://no-passwd.net/askbot/question/32/how-does-gnuk-protect-against-attacks-to-extract/). + * [What types of risk are more likely? What's "best practice" against that? - FST-01 Q&A Forum](http://no-passwd.net/askbot/question/68/what-types-of-risk-are-more-likely-whats-best/). + +## Safenet eToken E5110 + +No Debian, instale o [MUSCLE](https://pcsclite.alioth.debian.org/): + + sudo apt install libccid pcsc-tools pcscd pcscd libpcsclite1 + +Plugue a parada e execute: + + opensc-tool --list-readers + +## SafeNet Authentication Client + +Para uso no mundo corporativo e institucional, como OAB e afins. Você não vai +querer usar os drivers proprietários a não ser que seja forçado, certo? + +Curioso que no fim das contas a OAB conseguiu seu lugar ao sol no mercado +da certificação digital apesar da implantação do modelo governamental escolhido +para o certificado raíz brasileiro, história contada no livro [Leviatã Eletrônico](http://www.scielo.br/scielo.php?script=sci_arttext&pid=S1517-45222010000300013). + +Enfim, pra usar o eToken E5110 pra assinar documentos no navegador você +precisará de drivers específicos e proprietários. + +Aparentemente a [Gemalto comprou a SafeNet]http://www.gemalto.com/press/Pages/Gemalto-to-acquire-SafeNet,the-worldwide-leader-in-data-and-software-protection.aspx) e depois ficou muito mais difícil para baixar o driver do eToken E5110, que além de ser proprietário ainda ficou privativo! Maluco fez [até script](https://gist.github.com/dex4er/1354710) pra automatizar essa zica. [Aqui](https://site.solutinet.com.br/2015/manuais/instaladores/) há versões recentes das bibliotecas e do cliente de autenticação proprietário (dica [daqui](https://diadialinux.wordpress.com/2017/03/02/instalar-etoken-alladin-usar-sites-do-governo-com-certificado-digital-e-assinar-documentos-pdf/)). + +Referêcias: + +* [Token-Based Authentication | SafeNet eToken 5110 USB Authenticator](https://safenet.gemalto.com/multi-factor-authentication/authenticators/pki-usb-authentication/etoken-5110-usb-token/) +* [Guia](http://poddarprofessional.com/demo/DIGITAL%20SIGNATURE/UTILITIES/E-token%20Drivers%20For%20LINUX/eToken_PKI_Client_Linux_4_55_Reference_Guide.pdf). +* [eToken Pro 72k and Linux - r3blog](https://r3blog.nl/index.php/etoken-pro-72k/). + +## Misc + +* [ImperialViolet - Security Keys](https://www.imperialviolet.org/2017/08/13/securitykeys.html). diff --git a/research/token.mdwn b/research/token.mdwn deleted file mode 100644 index 2443074..0000000 --- a/research/token.mdwn +++ /dev/null @@ -1,47 +0,0 @@ -[[!meta title="Tokens USB"]] - -## Gnuk - -* [Free Software Initiative of Japan - gnuk](http://www.fsij.org/category/gnuk.html) -* [Gnuk Documentation — Gnuk Documentation 1.0 documentation](http://www.fsij.org/doc-gnuk/) -* [Gnuk - Noisebridge](https://noisebridge.net/wiki/Gnuk). -* [FST-01 - Seeed Wiki](http://wiki.seeed.cc/FST-01/). -* [Questions - FST-01 Q&A Forum](http://no-passwd.net/askbot/questions/). -* Threat modeling: - * [How safe is Gnuk against side channel attacks, USB sniffer, or electron/tunneling microscope? - FST-01 Q&A Forum](http://no-passwd.net/askbot/question/33/how-safe-is-gnuk-against-side-channel-attacks-usb/). - * [How does Gnuk protect against attacks to extract private keys? - FST-01 Q&A Forum](http://no-passwd.net/askbot/question/32/how-does-gnuk-protect-against-attacks-to-extract/). - * [What types of risk are more likely? What's "best practice" against that? - FST-01 Q&A Forum](http://no-passwd.net/askbot/question/68/what-types-of-risk-are-more-likely-whats-best/). - -## Safenet eToken E5110 - -No Debian, instale o [MUSCLE](https://pcsclite.alioth.debian.org/): - - sudo apt install libccid pcsc-tools pcscd pcscd libpcsclite1 - -Plugue a parada e execute: - - opensc-tool --list-readers - -## SafeNet Authentication Client - -Para uso no mundo corporativo e institucional, como OAB e afins. Você não vai -querer usar os drivers proprietários a não ser que seja forçado, certo? - -Curioso que no fim das contas a OAB conseguiu seu lugar ao sol no mercado -da certificação digital apesar da implantação do modelo governamental escolhido -para o certificado raíz brasileiro, história contada no livro [Leviatã Eletrônico](http://www.scielo.br/scielo.php?script=sci_arttext&pid=S1517-45222010000300013). - -Enfim, pra usar o eToken E5110 pra assinar documentos no navegador você -precisará de drivers específicos e proprietários. - -Aparentemente a [Gemalto comprou a SafeNet]http://www.gemalto.com/press/Pages/Gemalto-to-acquire-SafeNet,the-worldwide-leader-in-data-and-software-protection.aspx) e depois ficou muito mais difícil para baixar o driver do eToken E5110, que além de ser proprietário ainda ficou privativo! Maluco fez [até script](https://gist.github.com/dex4er/1354710) pra automatizar essa zica. [Aqui](https://site.solutinet.com.br/2015/manuais/instaladores/) há versões recentes das bibliotecas e do cliente de autenticação proprietário (dica [daqui](https://diadialinux.wordpress.com/2017/03/02/instalar-etoken-alladin-usar-sites-do-governo-com-certificado-digital-e-assinar-documentos-pdf/)). - -Referêcias: - -* [Token-Based Authentication | SafeNet eToken 5110 USB Authenticator](https://safenet.gemalto.com/multi-factor-authentication/authenticators/pki-usb-authentication/etoken-5110-usb-token/) -* [Guia](http://poddarprofessional.com/demo/DIGITAL%20SIGNATURE/UTILITIES/E-token%20Drivers%20For%20LINUX/eToken_PKI_Client_Linux_4_55_Reference_Guide.pdf). -* [eToken Pro 72k and Linux - r3blog](https://r3blog.nl/index.php/etoken-pro-72k/). - -## Misc - -* [ImperialViolet - Security Keys](https://www.imperialviolet.org/2017/08/13/securitykeys.html). diff --git a/research/torrent.md b/research/torrent.md new file mode 100644 index 0000000..501c351 --- /dev/null +++ b/research/torrent.md @@ -0,0 +1,15 @@ +[[!meta title="BitTorrent"]] + +Torrent workflow: torrent-maker, magnet2torrent and torrent-reseed plan: + +* http://wiki.rtorrent.org/MagnetUri +* http://dan.folkes.me/2012/04/19/converting-a-magnet-link-into-a-torrent/ +* https://github.com/danfolkes/Magnet2Torrent +* http://code.google.com/p/pyroscope/wiki/CommandLineTools +* https://trac.transmissionbt.com/ticket/4176 +* http://wiki.rtorrent.org/MagnetUri +* https://github.com/rakshasa/rtorrent/issues/212 +* saving/restoring `.meta` and `~/rtorrent/.session` files. +* multiple instances: https://kernelwho.wordpress.com/2011/11/15/running-multiple-instances-of-rtorrent/ + + rtorrent -n -o import=/home/user/.rtorrent1.rc diff --git a/research/torrent.mdwn b/research/torrent.mdwn deleted file mode 100644 index 501c351..0000000 --- a/research/torrent.mdwn +++ /dev/null @@ -1,15 +0,0 @@ -[[!meta title="BitTorrent"]] - -Torrent workflow: torrent-maker, magnet2torrent and torrent-reseed plan: - -* http://wiki.rtorrent.org/MagnetUri -* http://dan.folkes.me/2012/04/19/converting-a-magnet-link-into-a-torrent/ -* https://github.com/danfolkes/Magnet2Torrent -* http://code.google.com/p/pyroscope/wiki/CommandLineTools -* https://trac.transmissionbt.com/ticket/4176 -* http://wiki.rtorrent.org/MagnetUri -* https://github.com/rakshasa/rtorrent/issues/212 -* saving/restoring `.meta` and `~/rtorrent/.session` files. -* multiple instances: https://kernelwho.wordpress.com/2011/11/15/running-multiple-instances-of-rtorrent/ - - rtorrent -n -o import=/home/user/.rtorrent1.rc -- cgit v1.2.3