-
WebGL in Chrome - How to Enable, Disable and Troubleshoot | oTechWorld
-
[GitHub] add-qwq/WebGL-GPU-Detector - Check if the browser is enabled/supports WebGL GPU acceleration (JS component)
- gpu-detector.js - line 36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ref.: https://plainjs.com/javascript/manipulation/unwrap-a-dom-element-35/ | |
| /** | |
| * unwrap the content of a given HTMLElement to the parent element at the previous | |
| * position of the given element | |
| * | |
| * @param {HTMLElement} element | |
| * @param {boolean} removeElement | |
| */ | |
| export const unwrap = (element: HTMLElement, removeElement = true) => { |
What Is Daylight Savings Time (DST)? - About 40% of countries use Daylight Saving Time. Learn how it works, what makes it controversial, and why it’s not actually saving any daylight.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Day.js - format | |
| https://day.js.org/docs/en/display/format | |
| */ | |
| const getLastSundaysOfYear = (year = new Date().getFullYear()) => { | |
| const currentYear = dayjs().year(year); | |
| const lastSundaysOfYearMap = new Map(); | |
| for(let i = 0; i < 12; i++) { | |
| const lastSundayOfMonth = currentYear.month(i).endOf('month').day(0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| dynamic sorting an object array | |
| https://dev.to/fpaghar/donesort-an-array-of-objects-ways-in-javascript-48hl | |
| */ | |
| const SortDirection = { | |
| Asc: 1, | |
| Desc: -1 | |
| } as const; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| use case of how to merge 2 similat objects arrays into a new object array | |
| combining the data from them | |
| */ | |
| const ConsumptionType = { | |
| TYPE_1: 'TYPE_1_VALUE', | |
| TYPE_2: 'TYPE_2_VALUE' | |
| } as const satisfies Record<string, string> |
Writing better Jira story names helps improve team understanding, prioritization, and sprint planning. A good story title should be clear, concise, and action-oriented, summarizing the value or task in a way that's immediately understandable.
If following Agile user story format:
comparison between dependabot and renovatebot | Perplexity.ai ( 2025-06-27 )
Here is a detailed, objective comparison between Dependabot and RenovateBot, focusing on their key features, strengths, and ideal use cases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| useful references: | |
| https://github.com/erkobridee/lab-pdf-lib/blob/83ef7e53e61227cef4293a6294979b1e551a3603/src/helpers/random.js#L4 | |
| https://github.com/erkobridee/nx-todos/blob/1647f66518a6def9ddf7569ca7a2b6397337d09c/libs/shared/helpers/src/lib/values.ts#L25 | |
| https://github.com/erkobridee/gatsby-typescript-app-starter/blob/5a7bcfbbe6ff014ecb360da35a3e8255fe80bf9e/src/helpers/values.ts#L21 | |
| https://gist.github.com/rubinchyk/46d9868e2eb86d744abcb83b5b6d8d29 |
NewerOlder
