102 liens privés
Paged.js is a free and open-source library that paginates any HTML content to produce beautiful print-ready PDF. The library fragments the content, reads your CSS print declarations and presents a paginated preview in your browser that you can save as PDF.
By paginating content in the browser, Paged.js shows a preview of the PDF output in web browsers. This allows designers to use browsers dev tools (eg. the inspection console built into most browsers) to make changes on the fly and control the rendering of the typesetting.
It’s also possible to use Paged.js within other tools and to extend rendering by adding plugins.
As Paged.js follows the W3C standards, it can easily be a part of a automated workflows thanks to the command line interface version (using an headless browser) that can generate a PDF from scriptable automated commands.
This is a driver for MicroPython to handle cheap displays based on the ST7789 chip. The driver is written in C. Firmware is provided for ESP32, ESP32 with SPIRAM, pyboard1.1, and Raspberry Pi Pico devices.

GAZPAR_ESP8266 (sur module ESP-01)
Un ESP-01 est donc relié au compteur et compte les Pulses disponibles sur une "sortie" tout/rien.
Le compteur Gazpar dispose d'une "sortie" type collecteur/drain ouvert sur un connecteur type JAE MX44 male. Des cordons étanches femelle sont dispobles un peu partout. Des fils équipés avec des broches femelle type Dupont fonctionnent trés bien également. La broche GND semble etre en haut, la broche Pulse en bas. Une pulse est générée tous les 10 litres de gaz.
L'ESP devant etre alimenté par une batterie (Type Chlorure de lithium thionyle, type ER26500 (8.5Ah)/ ER34615 (19Ah)), il doit alors être en trés basse consommation (Deep_Sleep) entre deux pulses. Afin de limiter la consommation (connexion WiFi), le dépot en Wifi sur InfluxDB se fait toutes les N pulses. (configurable en fonction du débit compteur)
L'ESP-01 est placé en Deep_Sleep et reveillé par un PULSE sur la pin RESET. Un compteur est incrementé. Apres N pulses comptées , une connection WiFi est lancée pour effectuer le depot InfluxDB puis retourne en Deep_Sleep. La configuration du WiFi se fait dans le code source.
Gazpar-Light à pour but de récupéré les informations sur le compteur communicant Gazpar. La version Light est minimaliste au possible, elle ne fait que remonter les informations vers Domoticz ( OK ) ou Jeedom ( non testé ) et fonctionne en mode DeepSleep et donc ne fonctionne que lors d'une impulsion du gazpar.
La version full est avec un serveur Web intégré et utilise le SPDIFF, et remonte les informations vers Domoticz ( OK ) ou Jeedom ( non testé )
Montage électronique :
- une résistance de 1 Kohms entre D1 et 3V
- GND connecté à la borne 1 du Gazpar ( celle du bas )
- D1 connecté à la borne 2 de Gazpar ( celle du haut )
Le compteur Linky, installé dans les foyers français, est équipé d’une sortie d’informations numériques, couramment appelée TIC (Télé-Information Client). Celle-ci donne au client la possibilité de se renseigner en temps réel sur sa consommation électrique.

A list of all UTF-8 emojis in bash or zsh
// Paste this code in your console on http://unicode.org/emoji/charts/full-emoji-list.html
const prefix='emoji_'
$$('tr').filter(e =>
e.getElementsByClassName('chars').length > 0
).map(e => {
let chars = e.getElementsByClassName('chars')[0].innerText
if (chars.includes('&zwj')) {
chars = chars.slice(0, chars.indexOf('&z'))
}
let name = e.getElementsByClassName('name')[0].innerText.toLowerCase()
.replace(/[ -]/g, '_')
.replace(/[.:()"“”,’!]/g, '')
.replace('&', 'and')
.replace(/[ãå]/g, 'a')
.replace('é', 'e')
.replace('í', 'i')
.replace('ô', 'o')
.replace('⊛_', '')
.replace('ç', 'c')
.replace('#', 'hashtag')
.replace('*', 'star')
return `${prefix}${name}=${chars}`
}).join("\n")Saving Scraped Data To Postgres Database With Scrapy Pipelines
If your scraping a website, you need to save that data somewhere. A great option is Postgres as it is a battletested database, trusted by thousands of companies to handle huge amounts of data.
In this guide, we will go through how to save our data to a Postgres database using Scrapy pipelines:
- What Are Scrapy Item Pipelines?
- Setting Up A Postgres Database
- Saving Data To A Postgre Database
- Only Saving New Data
First, let's go over what are Scrapy Item Pipelines.
![]()
webscan
webscan is a browser-based network IP scanner and local IP detector. It detects IPs bound to the user/victim by listening on an RTP data channel via WebRTC and looping back to the port across any live IPs, as well as discovering all live IP addresses on valid subnets by monitoring for immediate timeouts (TCP RST packets returned) from fetch() calls or hidden img tags pointed to valid subnets/IPs.
I2S Sound Tutorial for ESP32
In this tutorial you learn the fundamentals of the I2S communication that is used to transfer digital sound signals and why you should use an ESP32 microcontroller for your I2S projects.
After your learn the functionality of I2S we create 3 projects where you can apply what you have learned.

About Project Euler
What is Project Euler?
Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems.
The motivation for starting Project Euler, and its continuation, is to provide a platform for the inquiring mind to delve into unfamiliar areas and learn new concepts in a fun and recreational context.
Who are the problems aimed at?
The intended audience include students for whom the basic curriculum is not feeding their hunger to learn, adults whose background was not primarily mathematics but had an interest in things mathematical, and professionals who want to keep their problem solving and mathematics on the cutting edge.
Currently we have 1314304 registered members who have solved at least one problem, representing 220 locations throughout the world, and collectively using 114 different programming languages to solve the problems.
Can anyone solve the problems?
The problems range in difficulty and for many the experience is inductive chain learning. That is, by solving one problem it will expose you to a new concept that allows you to undertake a previously inaccessible problem. So the determined participant will slowly but surely work his/her way through every problem.
"Project Euler exists to encourage, challenge, and develop the skills and enjoyment of anyone with an interest in the fascinating world of mathematics."
Circuit Simulator
This is an electronic circuit simulator. When the applet starts up you will see an animated schematic of a simple LRC circuit. The green color indicates positive voltage. The gray color indicates ground. A red color indicates negative voltage. The moving yellow dots indicate current.
To turn a switch on or off, just click on it. If you move the mouse over any component of the circuit, you will see a short description of that component and its current state in the lower right corner of the window. To modify a component, move the mouse over it, click the right mouse button (or control-click if you have a Mac) and select “Edit”.
A quoi ça sert… un pont diviseur de tension ?
Un pont de tension permet de diviser une tension d’entrée à l’aide de 2 résistances en série. Il permet ainsi d’obtenir une tension de sortie U2 plus faible que la tension d’entrée U. Il est utilisé couramment pour créer une tension de référence.

Flipper Zero
Multi-tool Device for Geeks
Flipper Zero is a portable multi-tool for pentesters and geeks in a toy-like body. It loves hacking digital stuff, such as radio protocols, access control systems, hardware, and more. It's fully open-source and customizable, so you can extend it in whatever way you like.

microdot
The impossibly small web framework for Python and MicroPython
Microdot is a minimalistic Python web framework inspired by Flask. Given its
small size, it can run on systems with limited resources such as
microcontrollers. Both standard Python (CPython) and MicroPython are supported.
from microdot import Microdot
app = Microdot()
@app.route('/')
async def index(request):
return 'Hello, world!'
app.run()Rapidly build interactive 3D apps for the web.
You already know Threlte
Threlte puts the simplicity of Svelte and all of the power of Three.js right at your fingertips. It's designed to be powerful and flexible while still being approachable and easy to use.
Reimagine the Web
With AR and VR picking up steam, the web is becoming more and more 3D. Threlte provides a simple, declarative API for creating 3D content on the web.
Powerful Integrations
Threlte comes with integrations for physics, animation and 3D model loading.
Sur l’ESP32 certaines broches sont reliées à l’ADC intégré du microcontrôleur. Un ADC est un convertisseur analogique vers numérique : il revoit une valeur numérique proportionnelle à la tension mesurée.

ESP8266-12E et ESP8266-07 ont une broche ADC facilement accessible. Cela signifie que ces cartes ESP8266 peuvent lire des signaux analogiques. Dans ce tutoriel, nous allons vous montrer comment utiliser la lecture analogique avec l’ESP8266 à l’aide du firmware Arduino IDE, MicroPython ou Lua.

La filière veut replacer la France et l’environnement au cœur de la fabrication de vélos. Pour encourager les professionnels et informer les consommateurs, elle lance le Cyclescore, basé sur des critères environnementaux et sociétaux, et l’indice France vélo, qui distinguera la fabrication française. Deux labels intéressants, qui devront toutefois trouver leur place sans créer de confusion dans l’esprit des consommateurs.
![]()
Man pages
- mosquitto - running the Mosquitto broker
- mosquitto.conf - the Mosquitto broker configuration file
- mosquitto_passwd - command line utility for generating Mosquitto password files
- mosquitto_pub - command line utility for publishing messages to a broker
- mosquitto_rr - command line utility for simple request/response with a broker
- mosquitto_sub - command line utility for subscribing to topics on a broker
- mosquitto-tls - brief cheat sheet for creating x509 certificates
- mqtt - description of MQTT features