PROJET AUTOBLOG


shaarli-Links

Site original : shaarli-Links

⇐ retour index

La nouvelle guerre des étoiles : prix, avis et actualités - Les Numériques

2021-01-28T23:34:02+01:00

U4 (série littéraire) — Wikipédia

2021-01-28T23:13:23+01:00

Sujet d'actualité
Permalink

Wazuh · The Open Source Security Platform

2021-01-28T15:23:13+01:00

Ofshane - YouTube

2021-01-27T22:49:24+01:00

Le PC d’occasion | Zythom

2021-01-27T20:27:39+01:00

C'est toujours fun les PC de récup :-p
Permalink

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