Draft for CSS Environment Variables
https://www.w3.org/news/2025/first-public-working-draft-css-environment-variables-module-level-1
#css #env #news
https://www.w3.org/news/2025/first-public-working-draft-css-environment-variables-module-level-1
#css #env #news
W3C
First Public Working Draft: CSS Environment Variables Module Level 1
This specification defines the concept of environment variables and the env() function, which work similarly to custom properties and the var() function, but are defined globally for a document.
🤯2
Don't forget to take State of JS survey 2025
https://survey.devographics.com/en-US/survey/state-of-js/2025
https://survey.devographics.com/en-US/survey/state-of-js/2025
State of JavaScript 2025
Take the State of JavaScript survey
🔥1
TIL: NPX Cheatsheet
https://www.nodejs-security.com/blog/mastering-npx-cheatsheet-npm-nodejs-power-users
#npx #til
https://www.nodejs-security.com/blog/mastering-npx-cheatsheet-npm-nodejs-power-users
#npx #til
NodeJS Security & NodeJS Secure Coding
Mastering NPX: A Cheatsheet for npm and Node.js Power Users
Explore unknown npx commands and tips to enhance your Node.js workflow. This cheatsheet covers everything from running packages without global installs to finding executable paths and using npx with specific Node versions.
This AI Code Detector is too good
Try it out and let me know if you could get a false positive result.
https://www.span.app/detector
#ai #code #tools
Try it out and let me know if you could get a false positive result.
https://www.span.app/detector
#ai #code #tools
www.code-detector.ai
Introducing AI Code Detector by Span
Span is your complete toolbox for developer productivity and experience.
🔥3⚡1
TIL: Boolean coercion are different
Read more
#til #ecmanoscript
Note: Unlike other type conversions like string coercion or number coercion,
boolean coercion does not attempt to convert objects to primitives by calling user methods.
—MDN: Boolean: Boolean coercion
Read more
#til #ecmanoscript
Zach Leatherman
I want to intercept Boolean Coercion for Objects in JavaScript—zachleat.com
A post by Zach Leatherman (zachleat)
⚡3👍1
VERT is a file conversion utility that uses WebAssembly to convert files on your device instead of a cloud. Check out the live instance at vert.sh.
https://github.com/VERT-sh/VERT
#tool #convert
https://github.com/VERT-sh/VERT
#tool #convert
GitHub
GitHub - VERT-sh/VERT: The next-generation file converter. Open source, fully local* and free forever.
The next-generation file converter. Open source, fully local* and free forever. - VERT-sh/VERT
🔥5
Bases
We have a new core plugin in Obsidian that can act as a database
https://help.obsidian.md/bases
#obsidian #news
We have a new core plugin in Obsidian that can act as a database
https://help.obsidian.md/bases
#obsidian #news
🔥8🎉3
Chromium team is working on "Vertical Tabs" 🎉
https://chromium-review.googlesource.com/c/chromium/src/+/7018894
#chrome #news
https://chromium-review.googlesource.com/c/chromium/src/+/7018894
#chrome #news
👍5👎3🎉1
A Brief Introduction to Behavioral Reusability (Mostly Inheritance Model)
https://medium.com/p/a-brief-introduction-to-behavioral-reusability-mostly-inheritance-model-aaddbda1d943
#article
https://medium.com/p/a-brief-introduction-to-behavioral-reusability-mostly-inheritance-model-aaddbda1d943
#article
Medium
A Brief Introduction to Behavioral Reusability (Mostly Inheritance Model)
Code reuse has been evolving for decades, from classical inheritance to prototypes to composition. This is the story :)
TIL:
You can listen for attribute changes on a DOM element using a
In my case, I needed to inspect a DOM element during a transient state that changed too quickly to catch manually.
Using DOM breakpoints wasn't helpful since the element was updated too frequently.
The solution was to use a
#til
You can listen for attribute changes on a DOM element using a
MutationObserver.In my case, I needed to inspect a DOM element during a transient state that changed too quickly to catch manually.
Using DOM breakpoints wasn't helpful since the element was updated too frequently.
The solution was to use a
MutationObserver to trigger specifically when a certain attribute changed.
const observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (
mutation.type === "attributes" &&
mutation.attributeName === "my-attribute") {
debugger;
}
});
});
observer.observe(element, { attributes: true });
#til
❤7👍3🔥1🤯1