Site original : shaarli-Links
Intéressant comme licence.
DON'T BE A DICK PUBLIC LICENSE
> Version 1.1, December 2016
> Copyright (C) [year] [fullname]
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document.
> DON'T BE A DICK PUBLIC LICENSE
> TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1. Do whatever you like with the original work, just don't be a dick.
Being a dick includes - but is not limited to - the following instances:
1a. Outright copyright infringement - Don't just copy this and change the name.
1b. Selling the unmodified original with no work done what-so-ever, that's REALLY being a dick.
1c. Modifying the original work to contain hidden harmful content. That would make you a PROPER dick.
2. If you become rich through modifications, related works/services, or supporting the original work,
share the love. Only a dick would make loads off this work and not buy the original work's
creator(s) a pint.
3. Code is provided with no warranty. Using somebody else's code and bitching when it goes wrong makes
you a DONKEY dick. Fix the problem yourself. A non-dick would submit the fix back.
via https://nicolas-delsaux.hd.free.fr/Shaarli/?X31NQQ
— Permalink
Génial !
Ce site permet de consulter instagram sans avoir de compte.
via https://warriordudimanche.net/article1656/623ef1993a08d
— Permalink
Extraction et modification d'un docx avec python :
import zipfile
import os
import shutil
input_filename='exemple.docx'
output_filename='exemple-output.docx'
# Extraction du .docx
sourceFile = zipfile.ZipFile(input_filename)
tmp_dir="tmp-docx"
os.mkdir(tmp_dir)
sourceFile.extractall(tmp_dir)
##
# ici l'on modifie 'word/document.xml'
##
# Création du .docx
filenames = sourceFile.namelist()
with zipfile.ZipFile(output_filename, "w", compression=zipfile.ZIP_DEFLATED) as docx:
for filename in filenames:
docx.write(os.path.join(tmp_dir,filename), filename)
shutil.rmtree(tmp_dir)
Il manque un «s» à «subtitles» !
<track kind="subtitles" ....
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track
— Permalink
«Le projet Distributed Denial of Secrets a mis en ligne 364 000 fichiers, totalisant 526,9 Go de données, émanant de Roskomnadzor (l'agence fédérale russe responsable de la surveillance et de la censure des médias russes) de la République russe du Bachkortostan (l'une des plus grandes républiques de la fédération de Russie).»
https://ddosecrets.com/wiki/Roskomnadzor
«Dans ce panorama de la menace informatique, l’ANSSI revient sur les grandes tendances ayant marqué le paysage cyber sur l’année 2020-2021 et en propose des perspectives d’évolution à court terme. »
https://www.cert.ssi.gouv.fr/uploads/20220308_NP_WHITE_ANSSI_panorama-menace-ANSSI_pour-Publi.pdf
— Permalink
Un salon de discussion via SSH.
— Permalink
Je suis surpris qu'il n'y ai pas un arrêt automatique en cas de fort vent.
const es = new EventSource("https://localhost/sse");
es.onopen = e => console.log("EventSource open");
es.addEventListener("message", e => console.log(e.data));
// Event listener for custom event
es.addEventListener( "join", e => console.log(`${e.data} joined`))
Ouai ta capture d'écran, c'est clairement due à ModSecurity.
Il faut que tu regardes les logs de ModSecurity. De là tu devrais pouvoir trouver quelle règles est en cause.
Soit tu modifies ton code pour prendre en compte ce qui est attendu par ModSecurity ou soit tu modifies la règles de ModSecurity.
À mon avis, c'est + lié à un truc qui dois manquer dans le header ou post trop gros (pour ModSecurity).
— Permalink