Korohub
  • Home
  • About
  • Tags
Log in S'abonner
Log in S'abonner
  • Home
  • About
  • Tags
Bonjour je suis David

David

24 Articles
PRAW post image
Python

PRAW post image

For example, to submit a self post with inline media do: from praw.models import InlineGif, InlineImage, InlineVideo gif = InlineGif(path="path/to/image.gif", caption="optional caption") image = InlineImage(

  • Go to the profile of  David
David
13 mars 2022 · 1 minute de lecture
Réduire la taille d'une vidéo avec FFMPEG
ffmpeg

Réduire la taille d'une vidéo avec FFMPEG

Réduit la taille par 2 en moyenne, sans réduire la qualité ffmpeg -i input.mp4 -vcodec libx265 -acodec aac -crf 23 output.mp4 Réduit la taille par 3, avec une

  • Go to the profile of  David
David
3 févr. 2022 · 1 minute de lecture
Powershell, créer des alias de commande
Powershell

Powershell, créer des alias de commande

Pour obtenir le chemin du profil : $profile dans l'invite de commande. Si le fichier n'existe pas il faut le créer. => profile.ps1 alias simple : New-alias p python Pour lancer une

  • Go to the profile of  David
David
31 janv. 2022 · 1 minute de lecture
Générer des données pour une BDD, exemple Postgres
Postgres

Générer des données pour une BDD, exemple Postgres

CREATE TABLE IF NOT EXISTS user_info( id text, phone text, name text, job text, address text ); CREATE TABLE IF NOT EXISTS payment_info( id text, account_number text, intl_

  • Go to the profile of  David
David
31 janv. 2022 · 1 minute de lecture
To disable TLS/SSL verification for a single git command

To disable TLS/SSL verification for a single git command

git -c http.sslVerify=false clone https://example.com/path/to/git Comment ignorer la vérification du certificat SSL avec GIT

  • Go to the profile of  David
David
19 janv. 2022 · 1 minute de lecture
Comment puis-je tout supprimer après un texte spécifique présent en html ? Utiliser python et beautifulsoup4
Python

Comment puis-je tout supprimer après un texte spécifique présent en html ? Utiliser python et beautifulsoup4

Vous pouvez utiliser le sélecteur CSS avec ~pour sélectionner les bons éléments à extraire : from bs4 import BeautifulSoup txt = '''

This I want to keep

See also

  • List of adaptations

  • Go to the profile of  David
David
6 janv. 2022 · 1 minute de lecture
Récupérer la date d'un datepicker en HTML et Javascript
html

Récupérer la date d'un datepicker en HTML et Javascript

  • Go to the profile of  David
David
10 déc. 2021 · 1 minute de lecture
Mongodb alternative MangoDB
mongodb

Mongodb alternative MangoDB

MangoDB was founded to become the de-facto open-source substitute to MongoDB. MangoDB is an open-source proxy, converting the MongoDB wire protocol queries to SQL - using PostgreSQL as a database engine.

  • Go to the profile of  David
David
29 nov. 2021 · 2 minutes de lecture
scenedetect + ffmpeg

scenedetect + ffmpeg

scenedetect -i '.\Footissime - De Barcelone à Paris lhistoire de Neymar en Ligue des champions.mp4' -o out2/--drop-short-scenes detect-content --threshold 27.5 split-video ffmpeg -i .\goldeneye.mp4 -i

  • Go to the profile of  David
David
26 oct. 2021 · 1 minute de lecture
Comment corriger l'erreur  pyppeteer.errors.BrowserError: Browser closed unexpectedly
Python

Comment corriger l'erreur pyppeteer.errors.BrowserError: Browser closed unexpectedly

You want to run your Pyppeteer application on Linux, but you see an error message like Traceback (most recent call last): File "PyppeteerExample.py", line 15, in asyncio.get_event_

  • Go to the profile of  David
David
26 oct. 2021 · 1 minute de lecture
Kong API Manager avec Prometheus et Splunk
API

Kong API Manager avec Prometheus et Splunk

Kong API Manager avec Prometheus et Splunk

  • Go to the profile of  David
David
16 août 2021 · 3 minutes de lecture
Javascript : Vérification de mot de passe

Javascript : Vérification de mot de passe

Pour vérifier un mot de passe entre 8 et 15 caractères contenant au moins une lettre minuscule, une lettre majuscule, un chiffre numérique et un caractère spécial

  • Go to the profile of  David
David
9 août 2021 · 1 minute de lecture
Une petite base de données de documents pour Python

Une petite base de données de documents pour Python

BD d'étagère Introduction Shelf DB est une petite base de données de documents permettant à Python de stocker des documents ou des données de type JSON. Tu piges $ pip install

  • Go to the profile of  David
David
4 août 2021 · 1 minute de lecture
Moteur SQL distribué en Python à l'aide de Dask
Python

Moteur SQL distribué en Python à l'aide de Dask

dask-sql est un moteur de requête SQL distribué en Python. Il vous permet d'interroger et de transformer vos données en utilisant un mélange de les opérations SQL courantes et le

  • Go to the profile of  David
David
3 août 2021 · 5 minutes de lecture
Envoyer les journaux à RabbitMQ depuis Python/Django
Python

Envoyer les journaux à RabbitMQ depuis Python/Django

python-logging-rabbitmq Le gestionnaire de journalisation envoie les journaux à RabbitMQ. Compatible avec Django. Installation Installer à l'aide de pip. pip install python_logging_rabbitmq Versions Versions Dépendance >= 2.x Pika

  • Go to the profile of  David
David
2 août 2021 · 5 minutes de lecture
DEDMAP Un puissant outil d'analyse de ports et d'automatisation de réseau multiplateforme
Python

DEDMAP Un puissant outil d'analyse de ports et d'automatisation de réseau multiplateforme

[ ] DEDMAP [][py] DEDMAP est un outil Simple mais Puissant, Intelligent et Flexible [Balayage des ports][ps] multiplateforme fait avec la facilité d'utilisation et la commodité à l'esprit. Les protocoles TCP

  • Go to the profile of  David
David
31 juil. 2021 · 6 minutes de lecture
NodeJS Express router
Node js

NodeJS Express router

router express js

  • Go to the profile of  David
David
26 juil. 2021 · 1 minute de lecture
Comment obtenir l'heure actuelle en Python
Python

Comment obtenir l'heure actuelle en Python

Utlisation du module datetime en python.

  • Go to the profile of  David
David
10 juin 2021 · 1 minute de lecture
© 2023 Korohub. All rights reserved.
Design with by @GodoFredoNinja
  • Data & privacy
  • Contact
Aucun résultat trouvé
↑ ↓ Naviguer avec haut/bas
Enter Aller à l'article
Esc Fermer la recherche