Yan (@Yan_Coquoz) header
Yan (@Yan_Coquoz) profile picture

Développeur Web fullstack js Accros aux lignes de code !! 🧛‍♂️

Morbihan, Bretagne
Joined December 2019
Photo by Yan (@Yan_Coquoz)Photo by Yan (@Yan_Coquoz)Photo by Yan (@Yan_Coquoz)Photo by Yan (@Yan_Coquoz)
La industria musical se enfrentó a su peor enemigo. No era una persona. No era una empresa. Era un script de Python. Se llama yt-dlp. 158 mil estrellas en GitHub. Sin dueño. Sin licencia que demandar. Imposible de llevar a juicio. El 23 de octubre de 2020, la RIAA lanzó un DMCA contra él. GitHub lo borró en horas. Junto con 18 forks. Entonces un desarrollador hizo algo genial: Metió todo el código fuente dentro del propio repositorio de notices DMCA de GitHub. El aviso que intentaba matarlo, ahora lo contenía. 24 días después, GitHub dio marcha atrás. Restauró todo. Y creó un fondo de $1 millón para defender a desarrolladores. La industria musical perdió. Y lo mejor: La comunidad forkeó youtube-dl, lo renombró yt-dlp y sigue vivo. Última release: 17 de marzo de 2026. Un simple script de Python vs. todo el poder de Sony, Universal y Warner. Imposible de matar. (100% open source) Link en comentarios 👇
63
580
40
5,212
281,328
Yan retweeted
GitHub 上有一份被无数自学者当作“计算机本科替代方案”的课程清单:open-source-cs,已拿下 2 万+ Stars。 它把 MIT、斯坦福、普林斯顿等顶尖高校的免费公开课,按传统 CS 本科培养路线重新编排:从入门到进阶、从理论到工程,一条清晰的学习路径直接铺好。 编程、数学、系统、算法到应用全覆盖;每门课还贴心标注学时、难度与前置要求,让你少踩坑、不迷路。 GitHub:github.com/ForrestKnight/ope… 你将学到: - 计算机科学基础:从 Harvard CS50 打牢地基 - 编程能力:Duke、华盛顿大学的 Java 与编程语言体系训练 - 数学底座:MIT 微积分 + UT Austin 线性代数,补齐硬核必修 - 系统原理:从零构建现代计算机,理解“它为什么这样跑” - 算法与理论:普林斯顿算法与 CS 理论,练出解题与证明能力 - 方向应用:软件工程、机器学习、数据库、密码学等实战领域 所有课程来自知名大学公开课平台,完全免费。适合想按本科体系系统自学计算机科学的人:按这张地图走,就不再靠运气学习。
Readers added context they thought people might want to know
Los enlaces apuntan a Coursera que dejó de ser gratuito en mayo de 2025, ahora es obligado pagar la tasa. Además, son enlaces de afiliado prácticamente el 90% coursera.org/about/affiliat… coursera.support/s/article/lear…
39
831
9
5,775
338,085
J'ai découvert une lib qui permet de générer un skeleton de chargement à partir de l'UI de la page automatiquement 🤯 Je vais tester ça dans la journée car ça à l'air d'être un vrai gain de temps ! Je mets le lien en dessous 👇
8
32
2
422
38,481
Have you heard of CSS Subgrid? 🤔 A grid item can now pass its parent's grid lines to children, so nested elements align perfectly with the outer layout. No more hacky workarounds for aligned nested grids. Learn more 👇 developer.mozilla.org/en-US/…
1
18
1
146
5,600
15 auth mistakes every VIBE CODER ships to production : Here's the FULL BREAKDOWN 1/ storing JWTs in localStorage > XSS attack = every token on the page stolen > localStorage is readable by any script on your site > use httpOnly cookies instead 2/ JWT signed with a weak or default secret > "secret" and "your_jwt_secret_here" are tested first by attackers > if its from a tutorial, assume its already compromised > generate a proper 256-bit random secret 3/ no refresh token rotation > stolen refresh token works forever without rotation > rotate on every use, invalidate the old one immediately > one-line config in most auth libraries 4/ no account lockout after failed logins > brute force has zero friction without it > 10 failed attempts should lock the account > add lockout + exponential backoff 5/ auth middleware applied inconsistently > AI generates middleware for some routes and skips others > the skipped ones are completley open > audit every endpoint manually, assume nothing is protected 6/ different error messages for wrong email vs wrong password > "user not found" vs "wrong password" tells attackers which emails exist > return the same generic message for both cases > never confirm or deny account existence 7/ forgot-password tokens that never expire > a reset link from 3 months ago should be invalid > yours probably isnt > set a short expiry, 15 to 60 minutes max 8/ OAuth redirect_uri not validated > exploited to redirect auth codes to attacker-> controlled URLs > whitelist every valid redirect URI explicitly > never allow open redirects in your OAuth flow 9/ no email verification on signup > fake accounts and spam at zero friction > verify before granting full access > a verification link, not just a welcome email 10/ sessions not invalidated server-side on logout > cookie is cleared client-side but server-side session still works > invalidate the session record in your DB on logout > client-side clearing alone is not enough 11/ passwords stored without bcrypt or argon2 > MD5, SHA256 without salt, plain text > all of these show up in breach headlines > bcrypt or argon2 only, no exceptions 12/ auth endpoints not enforcing HTTPS > credentials over HTTP are visible on any network > enforce HTTPS at the infrastructure level > no HTTP fallback for any auth route 13/ client-side role checks instead of server-side > you can't trust what the frontend says about who the user is > validate roles and permissions on every server request > the frontend is UI, not security 14/ no 2FA on admin or sensitive routes > one breached password = full access to everything > add TOTP or magic link 2FA on admin routes minimum > non-negotiable for anything handling user data 15/ test credentials left in production > admin:admin or [email protected]:password123 are real entry points, not conveniences > audit and remove every test account before you ship paste it into cursor before your next auth build.
17
65
2
576
43,633
Yan retweeted
Remember to abort fetch requests on time 👇. If you don't, the calls will remain pending forever or until something else naturally ends them, and your UI will likely be stuck indefinitely. Use `AbortSignal.timeout` for a simpler approach. 👍
2
14
196
11,342
Algorithm Visualizer permet de voir ses algos s'exécuter pas à pas, directement depuis le code. Utile quand on veut vraiment comprendre ce qui se passe sous le capot, pas juste en théorie. ⬇️ algorithm-visualizer.org/
1
6
14
1,080
Can you tell CSS from BS? Can you beat my score? keithcirkel.co.uk/css-or-bs/
4
24
1
315
37,254
BREAKING: axios Maintainer or developer, do yourself a favor and star this repo, send it to your entire dev team, and follow curated and battle-tested advice to avoid future security incidents and npm package compromise: github.com/lirantal/npm-secu… I CANNOT STRESS ENOUGH
6
78
1
382
39,336
🚨 Nouvelle attaque supply chain EN COURS Elle peut compromettre des millions de projets de code en quelques jours. Comment !? Bah c'est exactement ce qu'il s'est passé il y a quelques mois quand le développeur Qix s'est fait avoir par du phishing.⬇️
🚨 CRITICAL: Active supply chain attack on axios -- one of npm's most depended-on packages. The latest [email protected] now pulls in [email protected], a package that did not exist before today. This is a live compromise. This is textbook supply chain installer malware. axios has 100M+ weekly downloads. Every npm install pulling the latest version is potentially compromised right now. Socket AI analysis confirms this is malware. plain-crypto-js is an obfuscated dropper/loader that: • Deobfuscates embedded payloads and operational strings at runtime • Dynamically loads fs, os, and execSync to evade static analysis • Executes decoded shell commands • Stages and copies payload files into OS temp and Windows ProgramData directories • Deletes and renames artifacts post-execution to destroy forensic evidence If you use axios, pin your version immediately and audit your lockfiles. Do not upgrade.
6
39
1
433
57,937
CORS ne protège pas vos API les ami(e)s codeurs. Il protège vos utilisateurs contre des scripts malveillants dans leur navigateur. C'est pas du tout la même chose, faut bien le comprendre.
2
6
1
52
7,569
Creating a resolvable Promise just got cleaner 🧹 `Promise.withResolvers()` returns { promise, resolve, reject } No more wrapping logic inside the constructor. Learn more 👇 developer.mozilla.org/en-US/…
1
21
216
8,729
Cela fait des semaines que je travaille dessus mais le "remaster" de la formation CSS est en ligne ! grafikart.fr/formations/appr… (avec une pédagogie plus fluide que la précédente qui commençait à dater maintenant, 8 ans !). J'espère qu'elle vous plaira !
1
17
1
159
6,352
2 lines of code for light and dark mode! #coding #devcommunity
5
9
96
4,142
Il se joue actuellement un combat silencieux pour la liberté de Linux et plus largement, pour la liberté d'utiliser un ordinateur 😯🧐 Le Colorado (US) a obligé les systèmes d'exploitation à vérifier l'âge de leurs utilisateurs (forcément via biométrie et/ou données personnelles prêtes à fuiter..) Voici les distributions actuelles de Linux qui ont décidé de ne pas s'y plier, et RÉSISTER : github.com/Saulimedes/DoesIt… Des suites de cette tentative totalitaire découleront les solutions en France/UE suiviste.
19
67
4
163
13,526
Un annuaire d'outils numériques évalués selon leurs pratiques de confidentialité : 137 outils (dont 102 open source et 83 européens) classés par catégorie. Messagerie, navigateurs, OS, IA, stockage, DNS… privacynex.org/
6
88
1
269
18,359
Ca y est c'est dispo en Progressive Web App pour pas dépendre d'un accès à Internet actif. Sous Chrome ou Edge, vous cliquez sur ce bouton et vous suivez le guide.
👉Mon fils étant dysgraphique et dyspraxique, il doit utiliser un PC en cours plutôt que d'écrire à la main. C'est compliqué pour les maths et la géométrie, et on n'a trouvé aucun logiciel facile à utiliser. Donc j'ai créé une appli web dédiée : dysmaths.com (...)
21
194
3
513
26,270