Skip to content

Instantly share code, notes, and snippets.

View SphinxKnight's full-sized avatar

SphinxKnight SphinxKnight

View GitHub Profile
@SphinxKnight
SphinxKnight / imp.css
Created December 4, 2023 20:55
importantlayer
body {
background-color: blue !important;
}
@SphinxKnight
SphinxKnight / resp-en-us.drawio
Created September 13, 2023 14:21
Media Queries diagram (drawio)
<mxfile host="app.diagrams.net" modified="2023-09-13T14:07:54.131Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0" etag="ib-BMdHs5x3FEJKKzPCI" version="21.6.6">
<diagram name="Page-1" id="XHp2qDrTD9_0xGDNzbsN">
<mxGraphModel dx="1077" dy="617" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="0Y2vVACd3wLrpoXDEIV2-2" value="" style="sketch=0;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;fillColor=#005F4B;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;outlineConnect=0;shape=mxgraph.veeam2.laptop;aspect=fixed;" vertex="1" parent="1">
<mxGeometry x="70" y="210" width="634.29" height="370" as="geometry" />
</mxCell>
<mxCell id="0Y2vVACd3wLrpoXDEIV2-4" value="" style="verticalLabelPosition=bottom;v
@SphinxKnight
SphinxKnight / diagram.drawio
Created July 23, 2023 09:45
Content Negotiation diagrams
<mxfile host="app.diagrams.net" modified="2023-07-23T09:44:16.648Z" agent="Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0" etag="_tqM7hZvW3Fr0D1uwevL" version="21.6.5" type="device" pages="3">
<diagram name="Schéma1" id="GDJU4oWS2C4HHc3Cu_aC">
<mxGraphModel dx="1195" dy="663" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-27" value="1. Demande la ressource" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;fontSize=14;" edge="1" parent="1" source="A5BYZ7IDN-x3Ulex9PuZ-1" target="A5BYZ7IDN-x3Ulex9PuZ-3">
<mxGeometry y="-30" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
@SphinxKnight
SphinxKnight / a.txt
Created June 14, 2023 10:56
gandi_mail
Cher client,
Depuis 20 ans, nous nous efforçons de vous fournir les meilleurs outils pour gérer votre présence en ligne. Nous ne cessons d'améliorer notre plateforme en ajoutant des fonctionnalités, et en investissant dans nos infrastructures.
Notre engagement envers vous n’a pas changé au cours de ces 20 dernières années et nous allons, dès cette année, renforcer la sécurité de la plateforme et faciliter la gestion de nos produits en se basant sur vos usages. Par ailleurs, une assistance téléphonique sera introduite pour vous accompagner dans les différentes étapes de votre présence en ligne.
Nous continuerons à vous offrir le plus grand choix d'extensions de noms de domaine disponibles, des outils de suggestions personnalisées pour vous aider à faire les meilleurs choix de noms, mais aussi et surtout, en vous offrant des serveurs DNS primaires parmi les plus performants du marché (https://dnsperf.com).
Enfin nous nous engageons à développer un certain nombre de nouvelles fonctionnalités comme :
@SphinxKnight
SphinxKnight / thoughts.md
Last active March 7, 2023 06:49
ads_on_mdn

Disclaimer: it will soon be 10 years I contribute to MDN, esp. localizing its content in French. What follows is my opinion only and does not constitute a statement for the MDN l10n-fr community.

This content is also hosted on https://gist.github.com/SphinxKnight/f8d86b6bdc2910719ba3b1476ac09910

Ethics & Transparency

Transparency

There has been 0 announcements to the public nor to the community. Here is the 8th principle of the Mozilla Manifesto for anyone interested to read: "Transparent community-based processes promote participation, accountability and trust."

Report from 12/08/2022, 15:03:08

All unhandled elements

  • td (3)
  • table.fullwidth.standard-table (3)

Details per Document

Invalid AST transformations

td (45:4) => tableCell
type: "list"
@SphinxKnight
SphinxKnight / fr.sh
Created March 26, 2022 21:33
Fx DevTools - Deletion
yarn tool delete Tools/Firefox_OS_Simulator_clone fr -y
yarn tool delete orphaned/Tools/Page_Inspector/Keyboard_shortcuts fr --redirect https://firefox-source-docs.mozilla.org/devtools-user/keyboard_shortcuts/index.html\#page_inspector -y
yarn tool delete orphaned/Tools/Debugger/Keyboard_shortcuts fr --redirect https://firefox-source-docs.mozilla.org/devtools-user/keyboard_shortcuts/index.html\#debugger -y
yarn tool delete orphaned/Tools/Web_Console/Keyboard_shortcuts fr --redirect https://firefox-source-docs.mozilla.org/devtools-user/keyboard_shortcuts/index.html\#web_console -y
yarn tool delete conflicting/Tools/Debugger/How_to/Set_Watch_Expressions fr --redirect https://firefox-source-docs.mozilla.org/devtools-user/debugger/how_to/set_watch_expressions/index.html -y
yarn tool delete conflicting/Tools/Memory/Basic_operations fr --redirect https://firefox-source-docs.mozilla.org/devtools-user/memory/basic_operations/index.html -y
yarn tool delete conflicting/Tools/Memory/Basic_operations_9264f1c8b3be17d00482
@SphinxKnight
SphinxKnight / url_list.txt
Created March 23, 2022 06:59
url of pages with trailing underscore ids
http://localhost:5042/fr/docs/mozilla/add-ons/webextensions/debugging_%28before_firefox_50%29
http://localhost:5042/fr/docs/mozilla/add-ons/webextensions/your_first_webextension
http://localhost:5042/fr/docs/mozilla/add-ons/webextensions/your_second_webextension
http://localhost:5042/fr/docs/mozilla/add-ons/webextensions/api/bookmarks/move
http://localhost:5042/fr/docs/tools/web_console/helpers
http://localhost:5042/fr/docs/tools/web_console/the_command_line_interpreter
http://localhost:5042/fr/docs/tools/performance
http://localhost:5042/fr/docs/webassembly/concepts
http://localhost:5042/fr/docs/glossary/truthy
http://localhost:5042/fr/docs/glossary/seo
@SphinxKnight
SphinxKnight / check_mdn_asset_locale.py
Created March 11, 2022 17:07
Check for duplicated files in mdn/translated-content
import os
import hashlib
ref_locale = 'en-us'
ref_path = 'content/files/' + ref_locale + '/'
locale = 'fr'
locale_path = 'translated-content/files/' + locale + '/'
dict_files={}
@SphinxKnight
SphinxKnight / bg-tunnel-border-left.svg
Created March 10, 2022 07:50
Example files for animate
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.