<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.csgalileo.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.csgalileo.org/feed.php">
        <title>Galileo Labs</title>
        <description></description>
        <link>https://wiki.csgalileo.org/</link>
        <image rdf:resource="https://wiki.csgalileo.org/_media/wiki/logo.png" />
       <dc:date>2026-05-10T13:46:42+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/lxd?rev=1574187132&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/minikube?rev=1632832933&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/vpn/openvpn?rev=1528991643&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/git?rev=1552465805&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/proxmox?rev=1761721843&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/internetofthings/esphome?rev=1625549201&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/zibaldone/vscode?rev=1757792678&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/plate?rev=1655727589&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/ansible?rev=1662714565&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/kubernetes/loadbalancing?rev=1734014735&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/internetofthings/homeassistant?rev=1657268345&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/zibaldone/linux/docker?rev=1681884516&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/ssl?rev=1763712669&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/internetofthings/googlehome?rev=1529602276&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/video?rev=1599055186&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/iotaiuto/doorbell?rev=1633077600&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/ceph-on-k0s?rev=1730360804&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/jibri?rev=1657811304&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/zfs?rev=1674037344&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/internetofthings/iotaiuto_skill?rev=1601544860&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/fail2ban?rev=1555311845&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/telegram?rev=1649743653&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/archlinux/install?rev=1664792590&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/linux/networknamespaces?rev=1548352995&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/mdm?rev=1646900341&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/ionic?rev=1502106885&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/pcb?rev=1620740607&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/wiki/syntax?rev=1614879319&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/internetofthings/influxdb?rev=1569316079&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/iotaiuto/presence?rev=1637940504&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/livenet/virtualization?rev=1590000000&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/db/postgres?rev=1552467336&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/3dprinter?rev=1642948283&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/airos?rev=1552645462&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/cordova?rev=1424362257&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/dns?rev=1632996628&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/helm?rev=1730360165&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/k80?rev=1721367387&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/keras?rev=1576594129&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/overpass?rev=1605627370&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/tmux?rev=1484917314&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/internetofthings/graphite?rev=1510990583&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/internetofthings/iotaiuto?rev=1597998702&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/internetofthings/jetsonnano?rev=1700120363&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/livenet/image-build?rev=1529393270&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/livenet/scipiodev?rev=1529400464&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/livenet/server?rev=1521629811&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/wamp/docs?rev=1493912754&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/zibaldone/linux/systemd?rev=1717506028&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/zibaldone/electronic/turbolevo?rev=1650788052&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/kubernetes/traefik?rev=1734016521&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/atom?rev=1508092341&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/gnss?rev=1661461389&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/k0s?rev=1730885046&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/openspec?rev=1772789179&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/pulsar?rev=1569246272&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/windows10?rev=1536339465&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/zabbix?rev=1627896126&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/projects/zibaldone/python?rev=1659766209&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/android/adb?rev=1527092889&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/android/bootanimation?rev=1425055805&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/db/redis?rev=1510058672&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/gameengine/minecraft?rev=1503129231&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/gameengine/minetest?rev=1503088095&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/radxa/gpio?rev=1424511653&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/radxa/linux?rev=1464533777&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/ubuntu/xenial?rev=1501950910&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.csgalileo.org/tips/vpn/pptp?rev=1484305640&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.csgalileo.org/_media/wiki/logo.png">
        <title>Galileo Labs</title>
        <link>https://wiki.csgalileo.org/</link>
        <url>https://wiki.csgalileo.org/_media/wiki/logo.png</url>
    </image>
    <item rdf:about="https://wiki.csgalileo.org/tips/lxd?rev=1574187132&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-19T18:12:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>lxd</title>
        <link>https://wiki.csgalileo.org/tips/lxd?rev=1574187132&amp;do=diff</link>
        <description>LXD

lxd

install


apt remove lxd lxd-client
snap install lxd

# create zfs dataset on pool rpool
zfs create rpool/lxd

# create lxd storage called zfspool using previous defined dataset
lxc storage create zfspool zfs source=rpool/lxd

# define default storage pool
lxc profile device add default root disk path=/ pool=zfspool

# initialize network
sudo lxd init</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/minikube?rev=1632832933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-09-28T12:42:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>minikube</title>
        <link>https://wiki.csgalileo.org/tips/minikube?rev=1632832933&amp;do=diff</link>
        <description>MiniKube

Install Minikube on ubuntu

&lt;https://minikube.sigs.k8s.io/docs/start/&gt;

Install minikube


curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube

Install Kubectl


curl -LO &quot;https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl&quot;
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/vpn/openvpn?rev=1528991643&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-14T15:54:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>openvpn</title>
        <link>https://wiki.csgalileo.org/tips/vpn/openvpn?rev=1528991643&amp;do=diff</link>
        <description>Openvpn

Certification Autorithy

Create certificate folder 


apt-get install easy-rsa
make-cadir /etc/easy-rsa-legnago
cd /etc/easy-rsa-legnago


Edit vars and


source vars
./clean-all
./build-dh
./pkitool --initca


server certificate


NAME=legnago-gw
./pkitool --pass --server $NAME # create passphrase here
openssl rsa -in keys/$NAME.key -out keys/$NAME.pem # give passphrase here
chmod 600 keys/$NAME.pem</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/git?rev=1552465805&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-03-13T08:30:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>git</title>
        <link>https://wiki.csgalileo.org/tips/git?rev=1552465805&amp;do=diff</link>
        <description>GIT

credentials  and config


machine git.csgalileo.org
login blabla
password blabla



[user]
    name = Stefano Scipioni
    email = blabla
[core]
    autocrlf = input
    #safecrlf = true
    editor = vim
[http]
    sslverify = false
[alias]
    co = checkout
    ci = commit
    st = status
    br = branch
    hist = log --pretty=format:\&quot;%h %ad | %s%d [%an]\&quot; --graph --date=short
    type = cat-file -t
    dump = cat-file -p
[push]
    default = simple
[color]
    ui = auto</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/proxmox?rev=1761721843&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-29T07:10:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>proxmox</title>
        <link>https://wiki.csgalileo.org/tips/proxmox?rev=1761721843&amp;do=diff</link>
        <description>Proxmox

Template


# Set variables for easy customization
VMID=9000
VM_NAME=&quot;ubuntu-2404-template&quot; # A descriptive name for the template itself

# Create the VM with your specified hardware
qm create $VMID \
  --name $VM_NAME \
  --memory 8192 \
  --cores 2 \
  --net0 virtio,bridge=vmbr0,firewall=0 \
  --net1 virtio,bridge=bridgek,firewall=0 \
  --ostype l26 \
  --scsihw virtio-scsi-pci \
  --agent enabled=1 \
  --boot order=&#039;scsi0;ide2&#039;</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/internetofthings/esphome?rev=1625549201&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-07-06T05:26:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>esphome</title>
        <link>https://wiki.csgalileo.org/projects/internetofthings/esphome?rev=1625549201&amp;do=diff</link>
        <description>ESPHOME

ESP32 cam

	* rtsp into esp32cam progress


#!/bin/sh

TOKEN=...

PAYLOAD=&quot;{\&quot;directive\&quot;: {\&quot;header\&quot;: {\&quot;namespace\&quot;: \&quot;Alexa.Discovery\&quot;, \&quot;name\&quot;: \&quot;Discover\&quot;, \&quot;payloadVersion\&quot;: \&quot;3\&quot;, \&quot;messageId\&quot;: \&quot;8db404f7-f5a1-495e-9a30-3a8af3bf94e0\&quot;}, \&quot;payload\&quot;: {\&quot;scope\&quot;: {\&quot;type\&quot;: \&quot;BearerToken\&quot;, \&quot;token\&quot;: \&quot;...\&quot;}}}}&quot;


curl -q -X POST \
  -d &quot;$PAYLOAD&quot; \
  -H &quot;Authorization: Bearer $TOKEN&quot; \
  -H &quot;Content-Type: application/json&quot; \
  http://localhost:8123/api/alexa/smart_home | j…</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/zibaldone/vscode?rev=1757792678&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-09-13T19:44:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vscode</title>
        <link>https://wiki.csgalileo.org/projects/zibaldone/vscode?rev=1757792678&amp;do=diff</link>
        <description>vscode

Visual Studio Code Editor

base settings


sudo apt install fonts-firacode
paru -S ttf-fira-code



{
    &quot;editor.fontSize&quot;: 16,
    &quot;editor.fontFamily&quot;: &quot;Fira Code&quot;,
    &quot;editor.fontLigatures&quot;: true,
    &quot;window.zoomLevel&quot;: 1.5,
    &quot;editor.tabSize&quot;: 4,
    &quot;editor.insertSpaces&quot;: true,
    &quot;python.formatting.provider&quot;: &quot;black&quot;
}</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/plate?rev=1655727589&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-06-20T12:19:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>plate</title>
        <link>https://wiki.csgalileo.org/projects/plate?rev=1655727589&amp;do=diff</link>
        <description>yolo train


git clone https://github.com/puzzledqs/BBox-Label-Tool.git



import os
from os import walk, getcwd
from PIL import Image

classes = [&quot;targa&quot;]

def convert(size, box):
    dw = 1./size[0]
    dh = 1./size[1]
    x = (box[0] + box[1])/2.0
    y = (box[2] + box[3])/2.0
    w = box[1] - box[0]
    h = box[3] - box[2]
    x = x*dw
    w = w*dw
    y = y*dh
    h = h*dh
    return (x,y,w,h)
    
    
&quot;&quot;&quot;-------------------------------------------------------------------&quot;&quot;&quot; 

&quot;&quot;&quot; Configur…</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/ansible?rev=1662714565&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-09T09:09:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ansible</title>
        <link>https://wiki.csgalileo.org/tips/ansible?rev=1662714565&amp;do=diff</link>
        <description>ansible

basic op


ansible all --list-hosts

ansible all -m ping


playbook


- name: helloworld
  hosts: nodes
  tasks:
   - name: Ping my hosts
     ansible.builtin.ping:
   - name: Print message
     ansible.builtin.debug:
       msg: Hello world</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/kubernetes/loadbalancing?rev=1734014735&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-12T14:45:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>loadbalancing</title>
        <link>https://wiki.csgalileo.org/kubernetes/loadbalancing?rev=1734014735&amp;do=diff</link>
        <description>MetalLB come loadBalancer

La pagina ufficiale dell&#039;installazione: &lt;https://metallb.universe.tf/installation/&gt;

Ho eseguito l&#039;operazione preliminare “If you’re using kube-proxy in IPVS mode, since Kubernetes v1.14.2 you have to enable strict ARP mode.”

Edito la configMap di kube-proxy:</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/internetofthings/homeassistant?rev=1657268345&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-07-08T08:19:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>homeassistant</title>
        <link>https://wiki.csgalileo.org/projects/internetofthings/homeassistant?rev=1657268345&amp;do=diff</link>
        <description>Home Assistant

homeassistant domotic

	* home assistant
	* raspberry
	* &lt;https://github.com/scipioni/home-assistant-example&gt;

Install

	* example 1
	* pip3 install urllib3==1.20 --upgrade --target ~/.homeassistant/deps/  (telegram notify solved)

upgrade


pip install -U homeassistant


and after restart home assistant

with fabric

	* &lt;https://github.com/home-assistant/fabric-home-assistant&gt;

hass


sudo apt install python3 python3-venv incron mc python3-dev libffi-dev libssl-dev
python3 -m ve…</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/zibaldone/linux/docker?rev=1681884516&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-04-19T06:08:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>docker</title>
        <link>https://wiki.csgalileo.org/projects/zibaldone/linux/docker?rev=1681884516&amp;do=diff</link>
        <description>docker

install


apt-get install -y ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo &quot;deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable&quot; | sudo tee /etc/apt/sources.list.d/docker.list &gt; /dev/null
apt update
apt-get install -y docker-ce docker-ce-cli container…</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/ssl?rev=1763712669&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-11-21T08:11:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ssl</title>
        <link>https://wiki.csgalileo.org/tips/ssl?rev=1763712669&amp;do=diff</link>
        <description>SSL certificates

ssl certificates letsencrypt

letsencrypt certification authority is free, automated and open.

letsencrypt staging

get ca certificate and use with curl


API_HOST=sso.csgalileo.org
echo quit | openssl s_client -showcerts -servername &quot;$API_HOST&quot; -connect &quot;$API_HOST&quot;:443 &gt; cacert.pem
curl --cacert cacert.pem https://sso.csgalileo.org/

.</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/internetofthings/googlehome?rev=1529602276&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-21T17:31:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>googlehome</title>
        <link>https://wiki.csgalileo.org/projects/internetofthings/googlehome?rev=1529602276&amp;do=diff</link>
        <description>GOOGLE HOME

	* Create a new project in the &lt;https://console.cloud.google.com/home/dashboard&gt; console

	*  Specify project name and country



	* Now you get a new project to the cloud console. Here you get a new project_id.

	* Enable HOMEGRAPH API to the new project.



	* Generate a new API key (the same Api key of api</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/video?rev=1599055186&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-09-02T13:59:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>video</title>
        <link>https://wiki.csgalileo.org/tips/video?rev=1599055186&amp;do=diff</link>
        <description>Video TIPS

Getting INFO


avprobe &lt;file&gt;


Convert to webm


ffmpeg -i input.video -threads 4 -b:v 1M -crf 10 output.webm


Repair index


mencoder -idx input.video -ovc copy -oac copy -o output.video


from images to video


# 5 images per seconds
ffmpeg -y -framerate 5 -pattern_type glob -i &#039;*.jpg&#039; -c:v libx264 -vf &quot;fps=25,scale=720:trunc(ow/a/2)*2&quot; out.mp4</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/iotaiuto/doorbell?rev=1633077600&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-10-01T08:40:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>doorbell</title>
        <link>https://wiki.csgalileo.org/projects/iotaiuto/doorbell?rev=1633077600&amp;do=diff</link>
        <description>Doorbell

ESP32CAM

Esphome camera component

Esphome RTSPserver github



Per la prima scrittura:

	*  connettere uno dei pin di IO a GND, come mostrato in figura
	*  attaccare l&#039;USB
	*  dare i permessi alla porta, esempio: 
chmod 660 /dev/ttyUSB0

	*  riavviare esphome
	*  uploadare la configurazione

Per le scritture wireless non serve che GND sia connesso a un pin di IO</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/ceph-on-k0s?rev=1730360804&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-31T07:46:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ceph-on-k0s</title>
        <link>https://wiki.csgalileo.org/tips/ceph-on-k0s?rev=1730360804&amp;do=diff</link>
        <description>ceph come storage backend

Su ceph creare un pool per kubernetes (che ho chiamato appunto kubernetes)


ubuntu@joint-mongoose:~$ helm repo add ceph-csi https://ceph.github.io/csi-charts
ubuntu@joint-mongoose:~$ helm show values ceph-csi/ceph-csi-rbd &gt; ceph-csi-helm.yaml</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/jibri?rev=1657811304&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-07-14T15:08:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>jibri</title>
        <link>https://wiki.csgalileo.org/tips/jibri?rev=1657811304&amp;do=diff</link>
        <description>jibri

docker

jibri.yml inside ufficial docker-jitsi-meet does not work in swarm service (/dev/snd and xorg problems)

clone a version of jibri with pulse and xdummy support


git clone https://github.com/prayagsingh/docker-jibri-pulseaudio.git


change Dockerfile with specific chrome version</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/zfs?rev=1674037344&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-18T10:22:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>zfs</title>
        <link>https://wiki.csgalileo.org/tips/zfs?rev=1674037344&amp;do=diff</link>
        <description>zfs libvirt

ZFS


apt install zfsutils-linux



sudo zfs list


create filesystem &#039;lab&#039; on &#039;LXD&#039; pool


sudo zfs create LXD/lab
sudo zfs set mountpoint=/lab LXD/lab



sudo zfs destroy LXD/lab


create pool

Pool can be created on disk or partition. In case of partition this is an example</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/internetofthings/iotaiuto_skill?rev=1601544860&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-10-01T09:34:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>iotaiuto_skill</title>
        <link>https://wiki.csgalileo.org/projects/internetofthings/iotaiuto_skill?rev=1601544860&amp;do=diff</link>
        <description>iotaiuto skill



Flusso dati

ogni comando che arriva da alexa si traduce in una richiesta verso la skill &#039;iotaiuto&#039; (metodo event_handler) il cui payload è:

	*  event
	*  context

in particolare event contiene awstoken (estratto dalla funzione get</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/fail2ban?rev=1555311845&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-04-15T07:04:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>fail2ban</title>
        <link>https://wiki.csgalileo.org/tips/fail2ban?rev=1555311845&amp;do=diff</link>
        <description>fail2ban

install


apt install fail2ban


filter

define new filter


[Definition]
failregex = ^&lt;HOST&gt; .+ /auth/token/v2 HTTP/1.[0-9]&quot; 401
ignoreregex =



test filter


fail2ban-regex /var/log/nginx/access.log /etc/fail2ban/filter.d/giano-login.conf --print-all-matched</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/telegram?rev=1649743653&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-12T06:07:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>telegram</title>
        <link>https://wiki.csgalileo.org/tips/telegram?rev=1649743653&amp;do=diff</link>
        <description>Telegram

telegram bot

channel

send message to channel from bot (BOTAPIKEY required):

	*  add bot to channel as admin
	*  send message


curl https://api.telegram.org/bot[BOT_API_KEY]/sendMessage?chat_id=@[MY_CHANNEL_NAME]&amp;text=[MY_MESSAGE_TEXT]


BOT

Create BOT with</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/archlinux/install?rev=1664792590&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-10-03T10:23:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>install</title>
        <link>https://wiki.csgalileo.org/tips/archlinux/install?rev=1664792590&amp;do=diff</link>
        <description>Install

from archlinux iso

install on archiso zfs system from &lt;https://github.com/eoli3n/archiso-zfs&gt;

 
curl -s https://raw.githubusercontent.com/eoli3n/archiso-zfs/master/init | bash


ext4

create partition


DISK=ata-SSDPR-CX400-256-G2_GY3042305
sgdisk --clear -g $DISK

sgdisk     -n3:1M:+512M -t3:EF00 $DISK # boot partition or efi partition
parted $DISK set 3 bios_grub on 
sgdisk     -n1:0:0 -t1:8300 $DISK</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/linux/networknamespaces?rev=1548352995&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-01-24T18:03:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>networknamespaces</title>
        <link>https://wiki.csgalileo.org/tips/linux/networknamespaces?rev=1548352995&amp;do=diff</link>
        <description>Network Namespaces

setup

install netns helper


wget https://raw.githubusercontent.com/Lekensteyn/netns/master/netns -O /bin/netns
chmod +x /bin/nets


uncomment “net.ipv4.ip_forward=1” in /etc/sysctl.d/99-sysctl.conf

enable NAT


iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE
iptables-save  &gt; /etc/firewall</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/mdm?rev=1646900341&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-03-10T08:19:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mdm</title>
        <link>https://wiki.csgalileo.org/projects/mdm?rev=1646900341&amp;do=diff</link>
        <description>mobile device management (MDM)

gestione app

	* &lt;https://gianomdm.comune.verona.it/hmdm/&gt;

scaricare apk o xapk da &lt;https://m.apkpure.com/it/&gt;





caricare su gianomdm il package 









assegnare il package al gruppo di test, ad esempio &#039;supervigili&#039;



successivamente, dopo i test, assegnare il package al gruppo &#039;vigili&#039;</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/ionic?rev=1502106885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-08-07T11:54:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ionic</title>
        <link>https://wiki.csgalileo.org/tips/ionic?rev=1502106885&amp;do=diff</link>
        <description>Ionic

Prerequisites

nodejs (latest)


sudo apt-get install build-essential
# curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
# sudo apt install nodejs


nodeenv


sudo apt-get install python-pip
sudo pip install nodeenv


Create library</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/pcb?rev=1620740607&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-05-11T13:43:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pcb</title>
        <link>https://wiki.csgalileo.org/tips/pcb?rev=1620740607&amp;do=diff</link>
        <description>PCB with CNC

	* my vevor 3018 cnc

	* reference
	* fritzing
	* online jscut guide
	* online ncviewer
	* online drill to gcode converter

	* TODO online carbide3d

CNC for PCB:

	*  22000RPM
	*  V-Bit cutter 30 degree 0.2mm
	*  first pass 0.04mm
	*  second pass 0.07mm with more feed

fritzing

Make electronic schema with fritzing</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/wiki/syntax?rev=1614879319&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-04T17:35:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>syntax</title>
        <link>https://wiki.csgalileo.org/wiki/syntax?rev=1614879319&amp;do=diff</link>
        <description>Formatting Syntax

DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/internetofthings/influxdb?rev=1569316079&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-09-24T09:07:59+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>influxdb</title>
        <link>https://wiki.csgalileo.org/projects/internetofthings/influxdb?rev=1569316079&amp;do=diff</link>
        <description>influxdb


curl -sL https://repos.influxdata.com/influxdb.key | apt-key add -
source /etc/lsb-release
echo &quot;deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable&quot; | tee -a /etc/apt/sources.list
apt update
apt install influxdb</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/iotaiuto/presence?rev=1637940504&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-11-26T15:28:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>presence</title>
        <link>https://wiki.csgalileo.org/projects/iotaiuto/presence?rev=1637940504&amp;do=diff</link>
        <description>Presence detection

Allo scopo di ricevere una notifica all&#039;entrata di un utente in una zona, sia essa l&#039;abitazione, la scuola, o il luogo di lavoro, utilizzando il gps(global positioning system), se le coordinate in cui si trova l&#039;utente sono all&#039;interno di un area decisa. Ovviamente si potrebbero utilizzare altri sistemi per il tracciamento, se io fossi connesso al wifi di casa, all&#039;interno della mia abitazione.</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/livenet/virtualization?rev=1590000000&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-05-20T18:40:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>virtualization</title>
        <link>https://wiki.csgalileo.org/projects/livenet/virtualization?rev=1590000000&amp;do=diff</link>
        <description>Virtualization

Virtualbox

	* Use virtio network driver
	* Use SATA driver for storage (no virtio available)
	* Use host only network and assign static IP to guest
	* In “User Interface” hide minitoolbar
	*  Add printers with address below and with generic MS Publisher Imagesetter driver</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/db/postgres?rev=1552467336&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-03-13T08:55:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>postgres</title>
        <link>https://wiki.csgalileo.org/tips/db/postgres?rev=1552467336&amp;do=diff</link>
        <description>Postgres

Install

container xenial 16.04 (optional)


lxc image copy images:ubuntu/xenial/amd64 local: --alias xenial
lxc launch xenial postgres
lxc exec postgres bash



sudo apt install postgresql


eventually open network for remote connections


listen_addresses = &#039;*&#039;</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/3dprinter?rev=1642948283&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-23T14:31:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>3dprinter</title>
        <link>https://wiki.csgalileo.org/projects/3dprinter?rev=1642948283&amp;do=diff</link>
        <description>3D printer

Resources

	* hotend change
		* mount heatbreak and nozzle touching toghether and with 0.5mm gap between head and nozzle
		* preheat hotend at ABS temp
		* fix nozzle with 1nm torque
	*  E3D V6 assembly
	*  temperature tower
		*  set combing mode to off


z offset: subtract 0.25 to A4 paper without friction and without warm up</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/airos?rev=1552645462&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-03-15T10:24:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>airos</title>
        <link>https://wiki.csgalileo.org/tips/airos?rev=1552645462&amp;do=diff</link>
        <description>AirOS

SNMP


snmpwalk -c lessinianet.snmp -v 1 10.210.12.249 IF-MIB::ifDescr                                
IF-MIB::ifDescr.1 = STRING: lo
IF-MIB::ifDescr.2 = STRING: eth0
IF-MIB::ifDescr.3 = STRING: eth1
IF-MIB::ifDescr.4 = STRING: wifi0
IF-MIB::ifDescr.5 = STRING: ath0
IF-MIB::ifDescr.6 = STRING: eth0.10
IF-MIB::ifDescr.7 = STRING: br0</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/cordova?rev=1424362257&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-02-19T16:10:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cordova</title>
        <link>https://wiki.csgalileo.org/tips/cordova?rev=1424362257&amp;do=diff</link>
        <description>Cordova

Install

Install nodejs and npm


sudo apt-get install nodejs npm


Install cordova


sudo npm install -g cordova


cordova need node and ubuntu install nodejs


sudo ln -s /usr/bin/nodejs /usr/local/bin/node


install cordova-browser from git to have linux support</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/dns?rev=1632996628&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-09-30T10:10:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dns</title>
        <link>https://wiki.csgalileo.org/tips/dns?rev=1632996628&amp;do=diff</link>
        <description>DNS

certbot integration

	* &lt;https://wiki.archlinux.org/title/Certbot#Configure_BIND_for_rfc2136&gt;

generate tsig key


tsig-keygen -a HMAC-SHA512 galileo-tsig-key


enable rfc2136 updates on domain in /etc/bind/named.conf.local


zone &quot;nawigare.it&quot; {
    ......
            
    // this is for certbot
    check-names warn;
    update-policy {
        grant galileo-tsig-key name _acme-challenge.nawigare.it. txt;
        };
    };</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/helm?rev=1730360165&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-10-31T07:36:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>helm</title>
        <link>https://wiki.csgalileo.org/tips/helm?rev=1730360165&amp;do=diff</link>
        <description>HELM

* &lt;https://helm.sh/docs/intro/install/&gt;

Helm è un package manager per kubernetes. L&#039;installazione è molto rapida:


ubuntu@joint-mongoose:~$ mkdir helm
ubuntu@joint-mongoose:~$ cd helm
ubuntu@joint-mongoose:~$ wget https://get.helm.sh/helm-v3.16.2-linux-amd64.tar.gz
ubuntu@joint-mongoose:~$ tar -zxvf helm-v3.16.2-linux-amd64.tar.gz 
ubuntu@joint-mongoose:~$ find . -name helm
ubuntu@joint-mongoose:~$ sudo cp ./linux-amd64/helm /usr/local/bin/helm
ubuntu@joint-mongoose:~$ helm list
NAME	NAM…</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/k80?rev=1721367387&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-19T05:36:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>k80</title>
        <link>https://wiki.csgalileo.org/tips/k80?rev=1721367387&amp;do=diff</link>
        <description>K80


pacman -S nvidia-470xx-dkms nvidia-470xx-settings nvidia-470xx-util
pacman -U https://archive.archlinux.org/packages/c/cuda/cuda-11.4.2-1-x86_64.pkg.tar.zst



nvidia-smi


+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.256.02   Driver Version: 470.256.02   CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
|…</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/keras?rev=1576594129&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-12-17T14:48:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>keras</title>
        <link>https://wiki.csgalileo.org/tips/keras?rev=1576594129&amp;do=diff</link>
        <description>Keras

tensorflow

	* yay bazelisk


pip install -U pip six numpy wheel setuptools mock
pip install -U keras_applications --no-deps
pip install -U keras_preprocessing --no-deps

# tf 2
git clone https://github.com/tensorflow/tensorflow.git
cd tensorflow

# tf 1.15
wget https://github.com/tensorflow/tensorflow/archive/v1.15.0.tar.gz
tar zxvf v1.15.0.tar.gz</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/overpass?rev=1605627370&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-17T15:36:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>overpass</title>
        <link>https://wiki.csgalileo.org/tips/overpass?rev=1605627370&amp;do=diff</link>
        <description>Overpass

&lt;https://overpass-turbo.eu/&gt;

select box and export all streets


[out:xml][timeout:25];
(
  way[&quot;highway&quot;]({{bbox}});
);

out body;
&gt;;
out skel qt;


selezionare direttamente l&#039;area parcheggi di fes


[out:xml][timeout:25];
(way[&quot;highway&quot;](34.02389, -5.01483, 34.04701, -4.99196););
out body;
&gt;;
out skel qt;</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/tmux?rev=1484917314&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-01-20T13:01:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tmux</title>
        <link>https://wiki.csgalileo.org/tips/tmux?rev=1484917314&amp;do=diff</link>
        <description>tmux

tmux

keyboard

	* ctrl+a c: create
	* ctrl+a n: move next
	* ctrl+a o: move previous
	* ctrl+a w: list windows
	* ctrl+a d: detach
	* ctrl+a PGUP: scroll mode

sessions

list


tmux ls


attach


tmux a [-t name]


kill detached


tmux kill-server</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/internetofthings/graphite?rev=1510990583&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-11-18T07:36:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>graphite</title>
        <link>https://wiki.csgalileo.org/projects/internetofthings/graphite?rev=1510990583&amp;do=diff</link>
        <description>carbon, graphite and grafana

carbon

install carbon-cache service


apt-get install graphite-carbon


enable boot startup in /etc/default/graphite-carbon

enable ENABLE_LOGROTATION in /etc/carbon/carbon.conf

extend retentions


[carbon]
pattern = ^carbon\.
retentions = 60:90d

[default]
pattern = .*
retentions = 30s:7d,5m:30d,10m:1y,1d:10y</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/internetofthings/iotaiuto?rev=1597998702&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-08-21T08:31:42+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>iotaiuto</title>
        <link>https://wiki.csgalileo.org/projects/internetofthings/iotaiuto?rev=1597998702&amp;do=diff</link>
        <description>IOTAIUTO

PANORAMICA E PRINCIPI GENERALI



# LA STRUTTURA DI QUESTA GUIDA SI ARTICOLA IN: 

# 1. risorse HW utilizzate

# 2. passi necessari a rendere operativa ciascuna di esse


# IL ROUTER ANDRA&#039; CONFIGURATO AFFINCHE&#039; A OGNI DEVICE SIA ASSEGNATO UN IP-ADDRESS-FISSO

# NEL RANGE 192.168.1.221 - 192.168.1.240</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/internetofthings/jetsonnano?rev=1700120363&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-16T07:39:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>jetsonnano</title>
        <link>https://wiki.csgalileo.org/projects/internetofthings/jetsonnano?rev=1700120363&amp;do=diff</link>
        <description>Nvidia Jetson Nano

	* &lt;https://github.com/Qengineering/Jetson-Nano-Ubuntu-20-image&gt;
	* interesting projects
	* cameras
	* camera search engine

remove desktop


apt remove -y ubuntu-desktop
apt remove -y gnome-*
apt remove -y chromium-browser chromium-codecs-ffmpeg-extra
apt remove -y libreoffice* docker.io thunderbird bluez*
apt remove -y libnvinfer-samples
# remove snap
systemctl stop snapd
apt remove --purge --assume-yes snapd gnome-software-plugin-snap
rm -rf /var/cache/snapd/

apt autoremo…</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/livenet/image-build?rev=1529393270&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-19T07:27:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>image-build</title>
        <link>https://wiki.csgalileo.org/projects/livenet/image-build?rev=1529393270&amp;do=diff</link>
        <description>Image build

Build image (xenial 64bit) named for example xenial-test (NAME=xenial-test)


ln-image --new-name bionic --create


This command create a chroot into /livenet/images/bionic</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/livenet/scipiodev?rev=1529400464&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-19T09:27:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>scipiodev</title>
        <link>https://wiki.csgalileo.org/projects/livenet/scipiodev?rev=1529400464&amp;do=diff</link>
        <description>scipio dev environmnet

prereq

prereq on my dev machine


sudo apt install schroot pigz debootstrap syslinux nfs-kernel-server tftpd-hpa xorriso pxelinux zfsutils-linux
cd /lab/livenet/livenet-server
rm -fR /etc/schroot/livenet
ln -s `pwd`/etc/schroot/livenet /etc/schroot/
[ -f /etc/default/livenet ] || cp -a etc/default/livenet /etc/default/livenet

zfs set sharenfs=ro rpool/livenet/backups</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/livenet/server?rev=1521629811&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-03-21T10:56:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>server</title>
        <link>https://wiki.csgalileo.org/projects/livenet/server?rev=1521629811&amp;do=diff</link>
        <description>Requirements

 HW: 2 nic device

OS: Ubuntu server 17.10

apt install bash debootstrap schroot syslinux nfs-kernel-server tftpd-hpa xorriso pigz  zfsutils-linux

Optional config

apt install isc-dhcp-server 

network config 
nano /etc/netplan/01-netcfg.yaml</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/wamp/docs?rev=1493912754&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-05-04T15:45:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>docs</title>
        <link>https://wiki.csgalileo.org/projects/wamp/docs?rev=1493912754&amp;do=diff</link>
        <description>WAMP

Concepts

A Crossbar.io node is a single instance of the Crossbar.io software running in a specific node directory

There are two types of processes running within a Crossbar.io node:

	*  one process controller
	*  multiple workers

Workers:</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/zibaldone/linux/systemd?rev=1717506028&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-04T13:00:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>systemd</title>
        <link>https://wiki.csgalileo.org/zibaldone/linux/systemd?rev=1717506028&amp;do=diff</link>
        <description>Systemd


systemctl status


show running units


systemctl


show available unit files


systemctl list-unit-files


enable unit


systemctl enable name.service


start unit


systemctl start name


after change unit file


systemctl daemon-reload</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/zibaldone/electronic/turbolevo?rev=1650788052&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-24T08:14:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>turbolevo</title>
        <link>https://wiki.csgalileo.org/projects/zibaldone/electronic/turbolevo?rev=1650788052&amp;do=diff</link>
        <description>turbolevo

canbus

	* canbus basic
	* exploring canbus
	* canbus esp32 project
	* tutorial
	* transreceiver SN65HVD230 datasheet  example ESP32 project
	* transreveiver TJA1050T: datasheet
	* 


firmware

	* 
	* 

BMS

Same port charge and discharge balance PCM for 36V



	* B-: Connect to the negative pole of the battery pack
	* P-: No Connect
	* C-: Connect to the negative electrode of charge and discharge</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/kubernetes/traefik?rev=1734016521&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-12T15:15:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>traefik</title>
        <link>https://wiki.csgalileo.org/kubernetes/traefik?rev=1734016521&amp;do=diff</link>
        <description>Documentazione:
&lt;https://doc.traefik.io/traefik/getting-started/install-traefik/#use-the-helm-chart&gt;


ubuntu@kubectl:~$ helm repo add traefik https://traefik.github.io/charts
ubuntu@kubectl:~$ helm repo update
helm show values traefik/traefik &gt; traefik.yaml


Abilitare la persistenza modificando queste voci (opure nell&#039;ambiente di test usare una directory in /mnt/cephfs):</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/atom?rev=1508092341&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-10-15T18:32:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>atom</title>
        <link>https://wiki.csgalileo.org/tips/atom?rev=1508092341&amp;do=diff</link>
        <description>Atom IDE

download and install

update

/usr/local/bin/atom-update


#!/bin/bash    
wget -q https://github.com/atom/atom/releases/latest -O /tmp/latest
MATCHEDROW=$(awk -F &#039;[&lt;&gt;]&#039; &#039;/href=&quot;.*atom-amd64.deb/&#039; /tmp/latest)
LATEST=$(echo $MATCHEDROW | grep -o -P &#039;(?&lt;=href=&quot;).*(?=&quot; rel)&#039;)
VER_LATEST=$(echo $MATCHEDROW | rev | cut -d&quot;/&quot; -f 2 | rev | sed &#039;s/v//g&#039;)
VER_INST=$(dpkg -l atom | tail -n1 | tr -s &#039; &#039; | cut -d&quot; &quot; -f 3)
if [ &quot;$VER_LATEST&quot; != &quot;$VER_INST&quot; ]; then
   wget --progress=bar -q &quot;https:…</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/gnss?rev=1661461389&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-08-25T21:03:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gnss</title>
        <link>https://wiki.csgalileo.org/tips/gnss?rev=1661461389&amp;do=diff</link>
        <description>GNSS

	* wonderful introduction on GNSS
	* stations that broadcast real time RTCM (protocol) Radio Technical Commission for Maritime
	* ubxtool examples
	* NEO-M9N
	* ZED-F9P

2022

Use gpsd as ntrip client on ublox device

pygnssutils

Configure ublox as base station and run an rtrip server with PyGPSClient

2020

ntrip caster

	* &lt;https://gitlab.com/ihfazhillah/simple-ntrip-caster/-/tree/master&gt;
	* &lt;https://gitlab.com/hydrasystem/ntripcaster.git&gt;</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/k0s?rev=1730885046&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-06T09:24:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>k0s</title>
        <link>https://wiki.csgalileo.org/tips/k0s?rev=1730885046&amp;do=diff</link>
        <description>install


ubuntu@k0s-ctrl:~$ curl --proto &#039;=https&#039; --tlsv1.2 -sSf https://get.k0s.sh | sudo sh
ubuntu@k0s-ctrl:~$ k0s version
v1.31.1+k0s.1


Crea il servizio systemd:


ubuntu@k0s-ctrl:~$ sudo k0s install


Bootstrap controller

Bootstrap del nodo controller (non single mode)</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/openspec?rev=1772789179&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-06T09:26:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>openspec</title>
        <link>https://wiki.csgalileo.org/tips/openspec?rev=1772789179&amp;do=diff</link>
        <description>OpenSpec

&lt;https://dev.to/webdeveloperhyper/how-to-make-ai-follow-your-instructions-more-for-free-openspec-2c85&gt;

install


yay -S openspec



&lt;!-- OPENSPEC:START --&gt;
### Workflow: OpenSpec Refine Change Proposal

This workflow is designed to update the detailed specifications (spec deltas) and the implementation task list (tasks.md) within an existing OpenSpec change folder after the main proposal.md has been modified.

**Input:**
- A valid OpenSpec change ID (e.g., &#039;add-user-profiles&#039;).

**Ste…</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/pulsar?rev=1569246272&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-09-23T13:44:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pulsar</title>
        <link>https://wiki.csgalileo.org/tips/pulsar?rev=1569246272&amp;do=diff</link>
        <description>Pulsar


wget https://archive.apache.org/dist/pulsar/pulsar-2.4.1/apache-pulsar-2.4.1-bin.tar.gz
tar xvfz apache-pulsar-2.4.1-bin.tar.gz
cd apache-pulsar-2.4.1

# connectors


# storage
wget https://archive.apache.org/dist/pulsar/pulsar-2.4.1/apache-pulsar-offloaders-2.4.1-bin.tar.gz
tar xvfz apache-pulsar-offloaders-2.4.1-bin.tar.gz
mv apache-pulsar-offloaders-2.4.1/offloaders offloaders</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/windows10?rev=1536339465&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-09-07T16:57:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>windows10</title>
        <link>https://wiki.csgalileo.org/tips/windows10?rev=1536339465&amp;do=diff</link>
        <description>Remove all windows 10 apps for future users

Get-AppxProvisionedPackage -online | Remove-AppxProvisionedPackage -online

Remove all windows 10 apps

Get-AppxPackage -allusers | Remove-AppxPackage

$AppsList = “Microsoft.MicrosoftOfficeHub”, # Get Office</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/zabbix?rev=1627896126&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-08-02T09:22:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>zabbix</title>
        <link>https://wiki.csgalileo.org/tips/zabbix?rev=1627896126&amp;do=diff</link>
        <description>Zabbix

task

	* dashboard con conteggi aggregati (e altri grafici interessanti)
	* trigger di allarme:
    * luce accesa da troppo tempo
	* export dati csv con API
	* gestire utente non privilegiato su zabbix
	* VPN robusta che riparte quando il cloud non è raggiungibile</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/projects/zibaldone/python?rev=1659766209&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-08-06T06:10:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>python</title>
        <link>https://wiki.csgalileo.org/projects/zibaldone/python?rev=1659766209&amp;do=diff</link>
        <description>Python

type hints cheat sheet (python 3.9+)


from typing import Optional, Callable, Match, MutableMapping, Mapping


x: int = 1
x: float = 1.0
x: bool = True
x: str = &quot;test&quot;
x: bytes = b&quot;test&quot;
x: list[int] = [1]
x: set[int] = {6, 7}
x: dict[str, float] = {&quot;field&quot;: 2.0}
x: tuple[int, str, float] = (3, &quot;yes&quot;, 7.5)
x: tuple[int, ...] = (1, 2, 3)
x: Optional[str] = some_function()
x: Callable[[int, float], float] = f

# User-defined classes are valid as types in annotations
x: MyClass = MyClass()
…</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/android/adb?rev=1527092889&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-05-23T16:28:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>adb</title>
        <link>https://wiki.csgalileo.org/tips/android/adb?rev=1527092889&amp;do=diff</link>
        <description>Android

android


apt-get install android-tools-fastboot
apt-get install android-tools-adb


network mode


adb -d tcpip 5555
adb connect &lt;ip&gt;


Packages

Install


adb install &lt;file.apk&gt;


Pull package

Getting list of packages


adb shell pm list packages</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/android/bootanimation?rev=1425055805&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-02-27T16:50:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bootanimation</title>
        <link>https://wiki.csgalileo.org/tips/android/bootanimation?rev=1425055805&amp;do=diff</link>
        <description>Android bootanimation


cd /lab/radxa/bootanimation
make

make upload


Copy bootanimation.zip into /lab/raxda*common/system/media

desc.txt


512 256 30
p 1 0 part0
p 0 0 part1


	* &#039;523&#039; is the width of the animation
	* &#039;256&#039; is the height of the animation</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/db/redis?rev=1510058672&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-11-07T12:44:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>redis</title>
        <link>https://wiki.csgalileo.org/tips/db/redis?rev=1510058672&amp;do=diff</link>
        <description>redis

	* from sql to redis
	* from mysql to redis

string

type string: store a value [integer, string, ...] belong a key [string]


SET connections 10
INCR connections =&gt; 11
INCR connections =&gt; 12
DEL connections
INCR connections =&gt; 1


expiring key


SET resource:lock &quot;Redis Demo&quot;
EXPIRE resource:lock 120</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/gameengine/minecraft?rev=1503129231&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-08-19T07:53:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>minecraft</title>
        <link>https://wiki.csgalileo.org/tips/gameengine/minecraft?rev=1503129231&amp;do=diff</link>
        <description>Minecraft

Experiments

	* &lt;http://www.raspberrypi-spy.co.uk/2014/06/building-a-castle-in-minecraft-with-python/&gt;

connection


from mcpi.minecraft import Minecraft
from mcpi import block

mc = Minecraft.create(address=&quot;192.168.2.35&quot;)


say “Hello World”


mc.postToChat(&quot;Hello world&quot;)


get position 


x, y, z = mc.player.getPos()</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/gameengine/minetest?rev=1503088095&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-08-18T20:28:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>minetest</title>
        <link>https://wiki.csgalileo.org/tips/gameengine/minetest?rev=1503088095&amp;do=diff</link>
        <description>Minetest

	* &lt;http://www.ocsmag.com/2016/04/04/mining-for-education/&gt;

client


sudo apt install minetest


connect to cubo

commands:

	*  /home (and related /sethome)
	*  /teleport &lt;x&gt;,&lt;y&gt;,&lt;z&gt;
	*  /teleport &lt;player&gt;

keys:

	*  F5 	Shows player coordinates 	Shows server stats
	*  F7 	Changes camera view 	Cycles through camera views</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/radxa/gpio?rev=1424511653&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-02-21T09:40:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>gpio</title>
        <link>https://wiki.csgalileo.org/tips/radxa/gpio?rev=1424511653&amp;do=diff</link>
        <description>GPIO on Radxa

	*  Headers schema
	*  Android APP that read GPIO

Power on blue led


echo default-on &gt; /sys/class/leds/blue/trigger


Power off


echo none &gt; /sys/class/leds/blue/trigger


Header J8
1234567 OUT89 IN101112namenpinheader0A7|167|7|J8|
|0B11699J8PWM228511J8
Input on pin 169 (GPIO0_B1) (pin n°9 su J8)</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/radxa/linux?rev=1464533777&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-05-29T14:56:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux</title>
        <link>https://wiki.csgalileo.org/tips/radxa/linux?rev=1464533777&amp;do=diff</link>
        <description>Radxa Linux

Download image and LinuxUpgradeToolv1.21
&lt;code&gt;
# format
sudo upgradetool lf 

upload image

sudo upgradetool uf rockprorabian1507252ce6708nand.img
&lt;/code&gt;

custom rabian

	* &lt;http://radxa.com/Rabian/develop&gt;
	* &lt;https://github.com/radxa/rabian-build&gt;


apt-get install qemu binfmt-support qemu-user-static
sudo apt-get install git-core flex bison build-essential gcc-arm-linux-gnueabihf libncurses5-dev zlib1g-dev sharutils lzop</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/ubuntu/xenial?rev=1501950910&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-08-05T16:35:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>xenial</title>
        <link>https://wiki.csgalileo.org/tips/ubuntu/xenial?rev=1501950910&amp;do=diff</link>
        <description>Xenial

bootable USB

Create usb bootable from iso


cp xenial.iso xenial-copy.iso
isohybrid xenial-copy.iso
dd if=xenial-copy.iso of=/dev/sd?


ssh

See &lt;https://www.gentoo.org/support/news-items/2015-08-13-openssh-weak-keys.html&gt;

Re-enable ssh-dss key in /etc/ssh/sshd_config


PubkeyAcceptedKeyTypes=+ssh-dss


~/.ssh/config</description>
    </item>
    <item rdf:about="https://wiki.csgalileo.org/tips/vpn/pptp?rev=1484305640&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-01-13T11:07:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pptp</title>
        <link>https://wiki.csgalileo.org/tips/vpn/pptp?rev=1484305640&amp;do=diff</link>
        <description>pptp

linux client


apt install pptp-linux 



lock noauth nobsdcomp nodeflate



&lt;username&gt; PPTP &lt;password&gt; *



pty &quot;pptp 185.91.188.97 --nolaunchpppd&quot;
name &lt;username&gt;
remotename PPTP
require-mppe-128
file /etc/ppp/options.pptp
ipparam galileo


test</description>
    </item>
</rdf:RDF>
