blat 1 year ago
commit
56a30ad725
2 changed files with 244 additions and 0 deletions
  1. 87 0
      Readme.md
  2. 157 0
      slides/index.md

+ 87 - 0
Readme.md

@@ -0,0 +1,87 @@
+## Hacker Slides
+
+[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/msoedov/hacker-slides/blob/master/LICENSE)
+[![Build Status](https://travis-ci.org/msoedov/hacker-slides.svg?branch=master)](https://travis-ci.org/msoedov/hacker-slides)
+[![](https://images.microbadger.com/badges/image/msoedov/hacker-slides:latest.svg)](https://microbadger.com/images/msoedov/hacker-slides "Hacker slides image")
+[![Open Source Helpers](https://www.codetriage.com/msoedov/hacker-slides/badges/users.svg)](https://www.codetriage.com/msoedov/hacker-slides)
+
+Hacker Slides is a self hosted reveal.js presentations editor form markdown files.
+
+
+#### Features:
+
+- Reach ui editor
+- Markdown markup
+- Live reload
+- Color schemes
+- Pdf print
+- [Demo version](https://murmuring-sierra-54081.herokuapp.com)
+- Tiny 10 Mb docker image
+- Optional Basic auth
+
+
+| Edit mode | Published  |
+| --- | --- |
+| ![1st](https://sc-cdn.scaleengine.net/i/520e2f4a8ca107b0263936507120027e.png) | ![1st](https://sc-cdn.scaleengine.net/i/7ae0d31a40b0b9e7acc3f131754874cf.png) |
+|![2nd](https://sc-cdn.scaleengine.net/i/5acba66070e24f76bc7f20224adc611e.png) | ![2nd](https://sc-cdn.scaleengine.net/i/fee3e1374cb13b1d8c292becb7f514ae.png) |
+
+This repo is a reworked version of Sandstorm Hacker Slides which features easy set up run outside of Sandstorm and without vagrant-spk. Likewise you can publish and edit your previous markdown slides which is not supported in the original version.
+
+
+Run from docker image
+-----
+```shell
+docker run -it -p 8080:8080 -v $(pwd)/slides:/app/slides msoedov/hacker-slides
+```
+
+Build locally
+----
+To build and run it locally
+```go
+go get
+go run main.go
+
+[GIN-debug] Listening and serving HTTP on :8080
+```
+
+And then you can just open [http://127.0.0.1:8080](http://127.0.0.1:8080) and it's ready to use with sample slides.
+
+Run with docker
+
+```shell
+docker run -it -p 8080:8080 -v $(pwd)/slides:/app/slides msoedov/hacker-slides
+```
+
+Protect slides with password
+----
+Basic auth (disabled by default)
+```shell
+USER=bob PASSWORD=password1 go run main.go
+[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
+ - using env:	export GIN_MODE=release
+ - using code:	gin.SetMode(gin.ReleaseMode)
+
+WARN[0000] Auth mode enabled
+WARN[0000] Visit http://bob:password1@0.0.0.0:8080
+```
+
+```shell
+docker run -it -p 8080:8080 -e USER=bob -e PASSWORD=password1 -v $(pwd)/slides:/app/slides msoedov/hacker-slides
+```
+
+Use local images
+----
+Store pictures you want to use in the images subfolder, slides/images/ and reference them in the editor as Markdown:
+```
+![demoPicture](/images/demo.png)
+```
+or as HTML:
+```
+<img src="/images/demo.png">
+```
+
+Getting Help
+------------
+
+For **feature requests** and **bug reports**  submit an issue
+to the GitHub issue tracker

+ 157 - 0
slides/index.md

@@ -0,0 +1,157 @@
+## aggiornamenti su openwrt e libremesh
+
+<!-- .slide: data-transition="zoom" -->
+
+---
+
+## Da dove partiamo
+
+questa la versione che stiamo utilizzando ancora ad oggi
+
+- openwrt-19.07.10
+- libremesh-v2020.1
+
+
+--
+
+questa la stable di openwrt 
+22.03
+
+questa la oldstable
+21.05
+
+
+---
+
+## Che ci manca
+
+- gli aggiornamenti alla lime-app
+- la funzionalità dei lime-macaddress (grazie itec)
+
+--
+
+## Librerouter
+
+come avanzare se libremesh non rilascia più versioni taggate del codice?
+
+librerouter usa le tag per il codice e la sua v1.5 è syncato alla branch "librerouteros" nel repo https://github.com/libremesh/lime-packages
+
+---
+
+## cambiamenti in openwrt 
+
+dalla v21 alla v22 succedono un po' di cose
+
+- drop dei device 4/32
+- ar71xx -> ath79
+- swconfig -> DSA
+
+--
+
+### ar71xx -> ath79
+
+Starting with OpenWrt 19.07, there is a new device-tree-based target called ath79 that deprecates the ar71xx target. For 19.07, both targets are still built, but future releases of OpenWrt will drop support for the ar71xx target. 
+
+
+Approximately 50% of ar71xx devices have been ported to ath79 in 19.07
+
+--
+
+### swconfig -> dsa
+DSA stands for Distributed Switch Architecture and is the Linux kernel subsystem for network switches. Because upstream kernel development now uses DSA, the OpenWrt Project is implementing DSA to replace the earlier swconfig framework. Many new routers also use DSA drivers instead of swconfig drivers. 
+
+https://openwrt.org/docs/guide-user/network/dsa/dsa-mini-tutorial
+
+--
+
+### dsa
+
+The original philosophy behind this design was to be able to use unmodified Linux tools such as bridge, iproute2, ifconfig to work transparently whether they configured/queried a switch port network device or a regular network device.
+
+https://www.kernel.org/doc/html/latest/networking/dsa/dsa.html
+
+--
+
+sul sito del battlemesh si trovano diverse risorse a proposito
+
+https://www.battlemesh.org/BattleMeshV14
+
+c'è lo stream di tutte le giornate su youtube
+
+---
+
+## (Pausa) DEAF
+
+nel frattempo al battlemesh 
+scopriamo dei "deaf" delle antenne (grazie ilario)
+
+Ath9k radio, MCS stuck workaround
+https://github.com/libremesh/lime-packages/issues/144
+
+--
+
+pare esserci un commit incriminato [0]
+
+ath9k is instable since http://git.openwrt.org/?p=12.09/openwrt.git;a=commit;h=d29f21c84e2d8af8a5c18ceae80426c026ddac07
+
+
+[0] 
+ath9k wifi stops working occasionally
+https://github.com/freifunk-gluon/gluon/issues/130
+
+---
+
+
+
+### libremesh su openwrt22
+
+--
+
+ar71xx -> ath79
+
+es. il supporto al dispositivo litebeam m5 non è stato importato 
+
+--
+
+dsa
+
+richiede un'inizializzazione delle nuove configurazioni
+
+
+---
+
+## Da docker-compose a ansible
+
+- belvederi
+- server (grafana, mappe, ...)
+- vps
+
+---
+
+## Openwrt Build System via ansible
+
+https://git.lattuga.net/antennine/infra_public
+
+---
+
+## Build basate su lime-macaddress
+
+ci permette di impostare wireguard sui dispositivi e fare a meno dei raspberry (prometheus) localmente distribuiti
+
+---
+
+## What's next
+
+test di versioni con fastd
+ed allargamento a possibile VCN
+
+---
+
+## More from Battlemesh
+
+- Turris
+- Gluon
+
+
+https://github.com/freifunk-gluon/gluon
+