PROJET AUTOBLOG


shaarli-Links

Site original : shaarli-Links

⇐ retour index

Entête IPv6 - FRAMEIP.COM

mardi 26 janvier 2021 à 21:24

Unacceptable, where is my privacy?

mardi 26 janvier 2021 à 16:34

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

mardi 26 janvier 2021 à 14:33

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

mardi 26 janvier 2021 à 14:06

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

mardi 26 janvier 2021 à 11:42
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

mardi 26 janvier 2021 à 11:35

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

jeudi 21 janvier 2021 à 14:52

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

jeudi 21 janvier 2021 à 14:02

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

lundi 18 janvier 2021 à 15:42

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

vendredi 15 janvier 2021 à 15:23

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

jeudi 14 janvier 2021 à 10:04

:-)
Permalink

bladeRF-wiphy - Nuand

mercredi 13 janvier 2021 à 18:45

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

mercredi 13 janvier 2021 à 14:55

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

mardi 12 janvier 2021 à 22:43

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

lundi 11 janvier 2021 à 16:18

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

lundi 11 janvier 2021 à 11:14

DALL·E: Creating Images from Text

jeudi 7 janvier 2021 à 09:52

Scientists observe live cells responding to magnetic fields for first time

jeudi 7 janvier 2021 à 08:25

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

mercredi 6 janvier 2021 à 23:13

T'as aussi :

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

Permalink

AriaNg

mercredi 6 janvier 2021 à 22:47