Categoria: Uncategorized

  • Come cambiare seriale su Windows 10

    Se volete cambiare key di Windows 10 perché magari volete passare dalla versione Home alla versione pro potete farlo accedendo alle impostazioni e cliccando su About.In fondo alla pagina vedrete questa scritta, cliccateci sopra e vi verrà poi richiesto di inserire un nuovo seriale. Se invece volete acquistare una nuova licenza di Windows 10, su […]

  • Come aggiornare ad HTTP2 su Ubuntu o Debian

    La procedura è pressoché la stessa che ho indicato in questo banale tutorial. Se volete abilitare il protocollo http2 sia su Debian che su Ubuntu, vi basterà modificare il listen della porta 443 di nginx con http2. Le uniche dipendenze sono openssl e nginx.

  • Come aggiornare ad HTTP2

    Molto banalmente, se state utilizzando nginx (come suggerisco praticamente in ogni tutorial), la procedura sarà davvero banale. Nel vostro file di configurazione vi basterà aggiungere a tutte le voci listen la stringa http2. Quindi ad esempio la riga: listen 443 ssl; Deve diventare: listen 443 ssl http2; Poi riavviate con: sudo service nginx restart Se […]

  • Come installare Samba su Raspbian

    Come abbiamo visto in qualche tutorial passato su come installarlo su Raspberry Pi (presupponendo ovviamente che all’interno ci sia installato Raspbian), questo articolo vuole essere ancora più semplice e immediato. Aprite il terminale ed eseguite: sudo apt install samba Aggiungete l’utente pi: sudo smbpasswd -a pi E condividete una cartella modificando: sudo nano /etc/samba/smb.conf Vi […]

  • Quanti siti web utilizzano HTTP2

    Come cita questa statistica: https://w3techs.com/technologies/details/ce-http2 HTTP/2 is used by 45.0% of all the websites.

  • Come verificare se un sito web supporta ALPN

    Comer per HTTP2 (link), vi basterà testare questo tools: https://tools.keycdn.com/http2-test

  • How to remove primary key on MySQL

    First of all remove AI (auto increment) on the cols and then: ALTER TABLE name_table DROP PRIMARY KEY;

  • How to set locale variables automatically

    On macOS of course, because in Ubuntu and other distro you probably already have. So… open terminal and create a new file: sudo nano ~/.profile Then paste this two line and save: export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 You need to have the mark on “Set locale environment variables on startup” like in the screenshot.

  • How to reset all iOS simulators

    Open the terminal and then execute: osascript -e ‘tell application “iOS Simulator” to quit’ osascript -e ‘tell application “Simulator” to quit’ xcrun simctl erase all Source: https://gist.github.com/ZevEisenberg/5a172662cb576872d1ab