Cerca qui le cose strambe

2024-10-30

How to fix chrome crippled fonts

This bug happened to me very rarely (once every 5 or 6 years?), but, for me, being forced to read with crippled fonts in the browser is a big pain in the back
So this is a quick and dirty explanation of how to fix:

  • go to chrome flags
  • disable Accelerated 2D canvas
  • restart the browser

see the image below for further details


2024-10-15

how to fix "sudo su -" when it has become slow in starting

in case someone is wondering why, from time to time, on a linux server the command 

sudo su -

 seems stuck or just much slower than normal in starting..  this may be because  when the command 

 sudo su -

is starting, by default it scans   wtmp to report last login time from user root and, if on such servers there are hundreds of users, last root access entry may be deep in the access list 

 
the quick trick I have found to fix it is to launch first a simple 

sudo bash 

(so a new entry for root is reported at the top of wtmp) and then closing it at once - after that any next 

sudo su - 

returns to be as fast as usual

2022-11-13

video tiktok senza account

 
fare click col destro su vieo  tiktok postato su twitter ottenendo il link "corto"  tipo

https://t.co/pMXctAOMqX


metterlo nella barra e ottenere il link tiktok che chiede il login

https://www.tiktok.com/login?redirect_url=https%3A%2F%2Fwww.tiktok.com%2F%40francescosalvioriginal%2Fvideo%2F7158083958142471429%3F_t%3D8WqltGmy8hR%26_r%3D1&lang=en&enter_method=mandatory


fare pulizia tenendo utente e numero video
sostituendo %40 con "@" e %2F con "/"

arrivando a

https://www.tiktok.com/@francescosalvioriginal/video/7158083958142471429


e poi messo nella barra che appare alla pagina di un downloader online tipo

https://ttdownloader.com/

(mi raccomando usando finestra browser anonima e adblock tipo muBlock origin)

vi arriva una redirezione al video diretto tipo

https://ttdownloader.com/?url=https://www.tiktok.com/@francescosalvioriginal/video/7158083958142471429

e quindi scaricare il video facendoci click col destro