Daily Shaarli

All links of one day in a single page.

October 2, 2022

chubin/cheat.sh: the only cheat sheet you need
Mesurer le coût des services publics : une idée de Gérald Darmanin enterrée après une mission à 300 000 euros

envoyer chaque année aux Français une « facture » fictive et personnalisée du coût des services publics dont ils bénéficient, pour que « chacun prenne conscience de la façon dont ses impôts sont employés ».

Oh de la transparence ! Ah non en fait c'est classé comme une mauvaise idée....

Bah pas grave non plus d'avoir dépensé +300k € pour cela... C'est l'argent qu'il aura fallut pour s'en apercevoir. Il ne faudrait pas que le peuple soit au courant.

HP-API // The Harry Potter API

Similar to the PokeAPI or the S(tar) W(ars) API.

This is an API.

As they provide static data, I see an efficient implementation with AstroJS where each route data are generated at compile time.

Github: https://github.com/KostaSav/hp-api

OSINT à partir d’un pseudo avec Blackbird

An OSINT tool to search fast for accounts by username across 574 sites.

Github: https://github.com/p1ngul1n0/blackbird

Operator Lookup - Search JavaScript operators

What does which operators in javascript?

Why I don't use Prettier

He uses ESLint and it is more than good enough.

Dear 20–25 Years Old. We are still 20’s. Don’t act as if our… | by katakurik | Medium

In my opinion, what is the cause of our anxiety, emotions, sadness, anger, sense of disappoint, and so on is that we don’t fucking know our priority.

“Give me six hours to chop down a tree and I will spend the first four sharpening the axe.” — Abraham Lincoln

Lesson: learn a lot, as much as possible.

As John C. Maxwell said, “Live to learn, and you will learn to live.”

I Fooled Millions Into Thinking Chocolate Helps Weight Loss. Here's How.

This journalist has shown that bogus scientific studies can be picked up uncritically in the media. So he set up bogus studies with real protocols, the results are perfectly dubious, but he was able to spin it very easily, and the information was picked up by a great many media.

We landed big fish before we even knew they were biting. Bild rushed their story out. [...] Soon we were in the Daily Star, the Irish Examiner, Cosmopolitan’s German website, the Times of India, both the German and Indian site of the Huffington Post, and even television news in Texas and an Australian morning talk show.
Almost no one asked how many subjects we tested and no one reported that number.

And his "Institute of Diet and Health" which published the study was... just a website.

But it’s hard to focus attention on the science of obesity, he says. “There’s just so much noise.”
The only problem with the diet science beat is that it’s science. You have to know how to read a scientific paper—and actually bother to do it.

Productivity Tips And Tools For A More Efficient Workflow — Smashing Magazine
The CSS Hack You Need To Know!. I wish I knew this sooner… | by James McArthur | Aug, 2022 | Dev Genius

TL;DR Use HTML attributes with the content: attr() CSS property.

Here is an example with a notification icon with a counter nudge.

SWAPI - The Star Wars API

An API that delivers data about Star wars

PokéAPI

An API that delivers data about the pokemon world.

There is already 101 websites about fan-based websites!

Yes and that's exactly the problem! We aim to provide a single source of data that any number of other websites can consume and use.

Github: https://github.com/PokeAPI/pokeapi

Lychee — Self-hosted photo-management done right

Lychee is a free photo-management tool, which runs on your server or web-space. Installing is a matter of seconds. Upload, manage and share photos like from a native application. Lychee comes with everything you need and all your photos are stored securely.