PROJET AUTOBLOG


shaarli-Links

Site original : shaarli-Links

⇐ retour index

Qualys SSL Labs - Projects / User Agent Capabilities

2021-01-27T11:21:48+01:00

Compatibilité TLS en fonction des navigateurs / user agent.
Permalink

Entête IPv6 - FRAMEIP.COM

2021-01-26T21:24:29+01:00

Unacceptable, where is my privacy?

2021-01-26T16:34:01+01:00

Addy Osmani sur Twitter : Have low-resolution images? Enlarge them & improve their quality with ojoy.netlify.app. All client side. Powered by ML using UpscalerJS & TensorFlow.js. - Warrior du Dimanche

2021-01-26T14:33:51+01:00

LOL
Même le zoom de Firefox fait mieux que OJOY.
Permalink

Myopia correcting 'smart glasses' from Japan to be sold in Asia - Nikkei Asia

2021-01-26T14:06:13+01:00

Contourner les paywall + astuce pour vos scripts - Le Hollandais Volant

2021-01-26T11:42:23+01:00
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

Permalink

Amazon’s Alexa can now act on its own hunches to turn off lights and more - The Verge

2021-01-26T11:35:09+01:00

Pas super rassurant qu'une société privée prenne des décisions sur le fonctionnement de votre maison.

The service can alert you if Alexa picks up on certain types of sounds in your home and offers access to human agents who can call emergency services on your behalf, similar to ADT

Je sent la connerie arriver.
Permalink

Diameter (protocol) - Wikipedia

2021-01-21T14:52:12+01:00

Advent of Code 2020 - 10 enseignements et bonnes pratiques en PHP

2021-01-21T14:02:48+01:00

Se passer des « if »
Oui, ... mais non.
Niveau optimisation des actions, c'est pas top.

// avec if
$count = 0;
foreach ($data as $value) {
    if ($value === CONTROL_VALUE) {// 1 action
        $count++; // 1 action si condition vrai
    }
}
// sans if
$count = 0;
foreach ($data as $value) {
    $count += (int) ($value === CONTROL_VALUE);// 3 actions quelques soit la valeur de value
    /*
    += : 1 action
    (int) : 1 action
    === : 1 action
    */
}

Bloquez et cassez vos while
C'est débile les while true. Ça consomme des ressources pour rien.

$block = 0; // 1 action
while (true) { // 1 action
    $block++; // 1 action
    if ($block > 1000) { // 1 action
        break; // 1 action
    }
}

3 actions par tour de boucle.

$block = 0; // 1 action
while ($block < 1001) { // 1 action
    $block++; // 1 action
}

2 actions par tour de boucle.
Permalink

Oui, Flipper Zero est bien un Tamagotchi pour hackers

2021-01-18T15:42:01+01:00

linux - changing the names of network interfaces, debian wheezy - Unix & Linux Stack Exchange

2021-01-15T15:23:49+01:00

Renommer une interface réseau

echo "[Match]
MACAddress=00:0d:b9:49:8a:18

[Link]
Name=uplink0
"> /etc/systemd/network/10-uplink0.link 

update-initramfs -u
reboot

Permalink

Wikipédia a 20 ans : voilà 20 faits que vous ignorez peut-être sur l'encyclopédie

2021-01-14T10:04:17+01:00

:-)
Permalink

bladeRF-wiphy - Nuand

2021-01-13T18:45:03+01:00

Harden Docker With CIS – (P6) Container Runtime Configuration - Part 1 | JTNYDV

2021-01-13T14:55:22+01:00

hyakosm.net - Numériser des VHS avec du vieux matériel et du logiciel libre

2021-01-12T22:43:43+01:00

petits-malins.png (image) - Le Hollandais Volant

2021-01-11T16:18:35+01:00

fail2ban et modsecurity, c'est fait pour ça ;-)
Permalink

Comment la police américaine utilise les données récoltées par les voitures pour résoudre des enquêtes

2021-01-11T11:14:20+01:00

DALL·E: Creating Images from Text

2021-01-07T09:52:52+01:00

Scientists observe live cells responding to magnetic fields for first time

2021-01-07T08:25:20+01:00

Atlanta Antifascists sur Twitter : "We're hearing some people are describing the far-Right actions in DC as those of "anarchists". It's nonsense. Our org is not exclusively anarchist. But if you need a lucid introduction to what anarchists stand for, here's a classic text. (via @libcomorg)" - Nekoblog.org :: Marque-pages

2021-01-06T23:13:19+01:00

T'as aussi :

sudo apt install anarchism
firefox /usr/share/doc/anarchism/html/index.html

Permalink