Quotidien Shaarli

Tous les liens d'un jour sur une page.
Fix Ubuntu and other Linux slow/hanging file copying via USB. · GitHub
thumbnail

If your running a x64 bit Ubuntu or other Linux and find USB transfers hang at the end apply this fix:

echo $((16*1024*1024)) > /proc/sys/vm/dirty_background_bytes
echo $((48*1024*1024)) > /proc/sys/vm/dirty_bytes

I suggest you edit your /etc/rc.local file to make this change persistant across reboots.

sudo nano /etc/rc.local

Go to the bottom of the file and leave a space then paste in those two lines.

Save the file with ctrl + x then press y.

To revert the changes enter this in console and remove the lines in /etc/rc.local

echo 0 > /proc/sys/vm/dirty_background_bytes
echo 0 > /proc/sys/vm/dirty_bytes

More info and references: https://unix.stackexchange.com/questions/107703/why-is-my-pc-freezing-while-im-copying-a-file-to-a-pendrive/107722#107722

Exploring the HTML5 <a> Tag Ping Attribute
thumbnail

The ping attribute in the HTML5 <a> tag offers a simple and efficient way to track link clicks. It is especially useful for analytics, affiliate marketing, and advertising, providing a lightweight alternative to JavaScript-based tracking.

L'attribut ping de la balise HTML <a> permet d'envoyer une requête POST vers une URL, donc de tracker les clicks sur les liens.
Pour bloquer :

Chrome

  1. Open Chrome Settings.
  2. Navigate to Privacy and Security > Cookies and other site data.
  3. Block third-party cookies and trackers.

Firefox

  1. Open Firefox Preferences.
  2. Go to Privacy & Security > Enhanced Tracking Protection.
  3. Select Strict mode.

Ou par l'extension µBlock origin : onglet Paramètres > Section Confidentialité > Cocher Désactiver l'audit hyperlien