This commit is contained in:
Andrea Fazzi 2023-12-13 09:46:37 +01:00
parent f9378c9ad0
commit 748a433a2f
15 changed files with 98 additions and 2 deletions

2
journals/2023_11_30.md Normal file
View file

@ -0,0 +1,2 @@
- **15:24** [[quick capture]]: [Llamafile lets you distribute and run LLMs with a single file](https://news.ycombinator.com/item?id=38464057) #llm
- **20:41** [[quick capture]]: [Llamafile lets you distribute and run LLMs with a single file](https://news.ycombinator.com/item?id=38464057)

1
journals/2023_12_01.md Normal file
View file

@ -0,0 +1 @@
- **20:18** [[quick capture]]: [GitHub - lllyasviel/Fooocus: Focus on prompting and generating](https://github.com/lllyasviel/Fooocus) #stablediffusion

4
journals/2023_12_02.md Normal file
View file

@ -0,0 +1,4 @@
- **08:40** [[quick capture]]: [Accidental database programming](https://news.ycombinator.com/item?id=38489307) #database #local #sqlite
- **09:36** [[quick capture]]: [GitHub - zitadel/oidc: Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation](https://github.com/zitadel/oidc)
- **14:53** [[quick capture]]: [aseprite/INSTALL.md at main · aseprite/aseprite · GitHub](https://github.com/aseprite/aseprite/blob/main/INSTALL.md)
- **20:12** [[quick capture]]: [You don't need JavaScript for that - HTMHell](https://www.htmhell.dev/adventcalendar/2023/2/)

1
journals/2023_12_03.md Normal file
View file

@ -0,0 +1 @@
- **20:36** [[quick capture]]: [Ask HN: If you work at an enterprise, do you use Open Source LLM or GPT?](https://news.ycombinator.com/item?id=38503835)

3
journals/2023_12_04.md Normal file
View file

@ -0,0 +1,3 @@
- **06:00** [[quick capture]]: [Lets learn how modern JavaScript frameworks work by building one | Read the Tea Leaves](https://nolanlawson.com/2023/12/02/lets-learn-how-modern-javascript-frameworks-work-by-building-one/)
- **20:31** [[quick capture]]: [Greet - urfave/cli](https://cli.urfave.org/v1/examples/greet/) #Golang #linuxcommandline
- **20:38** [[quick capture]]: [GitHub - charmbracelet/bubbletea: A powerful little TUI framework 🏗](https://github.com/charmbracelet/bubbletea)

2
journals/2023_12_05.md Normal file
View file

@ -0,0 +1,2 @@
- **15:24** [[quick capture]]: [My Fediverse use I'm hosting everything myself PeerTube, Mastodon and Lemmy](https://news.ycombinator.com/item?id=38530597)
- **16:58** [[quick capture]]: [ngrok blog: Unleash the power of ngrok with our Go SDK](https://ngrok.com/blog-post/unleash-ngrok-with-go-sdk?utm_campaign=Monthly%20Newsletter&utm_medium=email&_hsmi=285196637&_hsenc=p2ANqtz-8DZNBjvJcWd9aP6uwypz8tYC3qeQZsTAus6Q931TUZRga4oTzyxwQpzIPOlDHeAN1VPuFK8CSiZsC3tFqePPsR80YeAw&utm_content=285198315&utm_source=hs_email)

1
journals/2023_12_06.md Normal file
View file

@ -0,0 +1 @@
- **19:49** [[quick capture]]: [JSONB has landed](https://news.ycombinator.com/item?id=38540421)

1
journals/2023_12_07.md Normal file
View file

@ -0,0 +1 @@
- **15:56** [[quick capture]]: [linux - How to resize the EFI System Partition? - Super User](https://superuser.com/questions/1230741/how-to-resize-the-efi-system-partition)

5
journals/2023_12_08.md Normal file
View file

@ -0,0 +1,5 @@
- **06:36** [[quick capture]]: [Fine-tuning Mistral 7B on Magic the Gathering Draft](https://news.ycombinator.com/item?id=38533105)
- **15:54** [[quick capture]]: [Mostrami un esempio in cui si uniscono tramite JOIN valori JSON con valori presenti in un'altra tabella.](https://www.phind.com/search?cache=sb1i9ggx3ssauval8p72y6y5)
- **20:02** [[quick capture]]: [Mostrami un semplice client javascript che riceva eventi websocket da un webserver scritto in Go. Il client deve aggiornare una parte della pagina che contiene un punteggio. Il punteggio è ricevuto tramite websocket. Non usare librerie esterne per il backend e neanche per il frontend.](https://www.phind.com/search?cache=v1p56ljf98itrrfjzf0ubj58)
- **20:14** [[quick capture]]: [sqlite package - modernc.org/sqlite - Go Packages](https://pkg.go.dev/modernc.org/sqlite)
- **20:22** [[quick capture]]: [How to Build a Web App with Go and SQLite - All Hands on Tech](https://www.allhandsontech.com/programming/golang/web-app-sqlite-go-2/)

1
journals/2023_12_09.md Normal file
View file

@ -0,0 +1 @@
- **14:19** [[quick capture]]: [PysimpleGUI](https://news.ycombinator.com/item?id=38579161) #ui #python

4
journals/2023_12_11.md Normal file
View file

@ -0,0 +1,4 @@
- **09:53** [[quick capture]]: [Templ: A language for writing HTML user interfaces in Go](https://news.ycombinator.com/item?id=38597599) #Golang
- **09:57** [[quick capture]]: [gomponents, view components in pure Go](https://www.gomponents.com/) #Golang
- **10:04** [[quick capture]]: [quicktemplate/examples at master · valyala/quicktemplate · GitHub](https://github.com/valyala/quicktemplate/tree/master/examples) #Golang #html
- **14:21** [[quick capture]]: [Mistral: Our first AI endpoints are available in early access](https://news.ycombinator.com/item?id=38598568) #llm

1
journals/2023_12_12.md Normal file
View file

@ -0,0 +1 @@
- **18:35** [[quick capture]]: [Omg.lol: An Oasis on the Internet](https://news.ycombinator.com/item?id=38594697)

View file

@ -0,0 +1,69 @@
- Configurare la tastiera italiana
- ```bash
loadkeys it
```
- Aumentare (eventualmente) le dimensioni dei caratteri
- ```bash
setfont ter-132b
```
- Nel caso di schermo ruotato (tablet PC) scrivere sul seguente file relativo alla framebuffer console
- ```bash
echo 1 > /sys/class/graphics/fbcon/rotate_all
```
- Verificare la modalità con cui è stato eseguito il boot (UEFI o no)
- ```bash
cat /sys/firmware/efi/fw_platform_size
```
- Se l'output è 64 allora la macchina è stata avviata in modalità UEFI
- Per collegarsi ad una rete wifi
- Eseguire il comando `iwctl`
- Nel REPL di `iwctl` eseguire
- ```
station wlan0 get-networks
station wlan0 connect SSID
```
-
- Per montare un volume creando la cartella per il mount point
- ```bash
mount --mkdir /dev/sda1 /mnt
```
- Ricordarsi di montare eventualmente /boot e /home
- Ricordarsi di attivare lo swap con
- ```bash
swapon /dev/sda3
```
- Installare i pacchetti base
- ```bash
pacstrap -K /mnt base linux linux-firmware
```
- Fare un `chroot` dentro /mnt
- ```bash
arch-chroot /mnt
```
- Installare e configurare il boot manager (dopo aver fatto `chroot`)
- ```bash
pacman -S grub
grub-install /dev/vda
grub-mkconfig -o /boot/grub/grub.cfg
```
- Installare e configurare `NetworkManager`
- ```bash
pacman -S networkmanager
```
- Installare il pacchetto `sudo`
- ```bash
pacman -S sudo
sudo -lU andrea # mostra la configurazione di sudo per l'utente andrea
```
- Configurare `sudo`
- ```bash
visudo ## togliere i commenti da %wheel ALL=(ALL:ALL) ALL
usermod -a -G wheel andrea # aggiungere l'utente al gruppo wheel
```
- Installare il window manager `sway` compatibile con #i3wm
- ```bash
pacman -S sway swayidle swaylock
```
- [Video](https://www.youtube.com/watch?v=OIV8n_KWXWQ) utile su come installare #archlinux su #qemu
- **15:55** [[quick capture]]: [linux - How to resize the EFI System Partition? - Super User](https://superuser.com/questions/1230741/how-to-resize-the-efi-system-partition)
-

View file

@ -64,4 +64,5 @@
- ```bash
pacman -S sway swayidle swaylock
```
- [Video](https://www.youtube.com/watch?v=OIV8n_KWXWQ) utile su come installare #archlinux su #qemu
- [Video](https://www.youtube.com/watch?v=OIV8n_KWXWQ) utile su come installare #archlinux su #qemu
- **15:55** [[quick capture]]: [linux - How to resize the EFI System Partition? - Super User](https://superuser.com/questions/1230741/how-to-resize-the-efi-system-partition)

View file

@ -1 +1 @@
-
- **20:14** [[quick capture]]: [sqlite package - modernc.org/sqlite - Go Packages](https://pkg.go.dev/modernc.org/sqlite)