How to Share Virtual Extended Screen in Ubuntu 22.04 | 24.04
Category: Documentations
Documentations, Ethics, Tricks
Guida ad Internet per tiranni
Cassandra Crossing 256/ Guida ad Internet per tiranni riporta un collegamento a http://assets.pwd.io/pwd/media/Guida_per_dittatori.pdf e http://assets.pwd.io/pwd/media/Guida_per_dittatori.txt conservato su archive.org. Ora siccome archive.org è sempre fin troppo oberato mi sembra opportuno copiare qui
Documentations, Software Libero
50 Free and Open Source Projects Selected for NGI Zero grants
Some projects from 50 Free and Open Source Projects Selected for NGI Zero grants that caught my attention for a variety of reasons:
Link
Setting up a VPN Hotspot on the Raspberry PI https://github.com/wmahfoudh/rpi-vpn-hotspot
Documentations
6 reasons why you might want to pick SBCs and mini-PCs over server-grade hardware
How to copy a file or directory from another GIT repository while preserving its history?
Internet is full of magic formulas each one more complex.
Here I’m proposing a much simpler and faster one that is to make a git format-patch for the entire history of the file or subdirectory that we want and then import it into the destination repository.
mkdir /tmp/mergepatchs cd ~/repo/org export reposrc=myfile.c #or mydir git format-patch -o /tmp/mergepatchs $(git log $reposrc|grep ^commit|tail -1|awk '{print $2}')^..HEAD $reposrc cd ~/repo/dest git am /tmp/mergepatchs/*.patchSimple and fast
Source synaptic fault http://blog.neutrino.es/2012/git-copy-a-file-or-directory-from-another-repository-preserving-history/
Tricks
Audio oh, audio
As I tend to meddle a lot more than necessary with my strange machine which is stable/testing/unstable and somehow experimental I tend to mess it up. So today I had to issue to get audio back on my Gnome desktop
Tricks
Speeding up index creation in PostgreSQL
In this blog we are talking about indexes. Speeding up index creation in PostgreSQL is one of the main topic. Source: Speeding up index creation in PostgreSQL
Javascript, Tricks
State of JavaScript 2023
State of JavaScript 2023 The 2023 edition of the annual survey about the latest trends in the JavaScript ecosystem.
One approach is to parse the default kernel from GRUB configurations. The default GRUB menu entry can be detected, for example:
grep GRUB_DEFAULT /etc/default/grub | cut -d '=' -f 2Then get the menu entries from GRUB config, like:
grep -A 15 '^menuentry' /boot/grub/grub.cfg | grep -o -P 'vmlinuz-\S+'
Source: How to get the kernel version of the next boot from a script – Unix & Linux Stack Exchange

