Detect NodeJS if called using import or directly
programming typescript , javascriptHow can I detect if my NodeJS file is called using node file path `node path-to-file` or `require('path-to-file')` or `import 'path-to-file'` ?

How to disable WebRTC in Chrome, Firefox, Safari, Opera & Edge
programming softwareHow to disable WebRTC in Chrome, Firefox, Safari, Opera Edge NFO: WebRTC is often talked about on VPN Websites. WebRTC is a Technology that allows your Browser to have Video and Voice Communication Abilities. When you use Google Meet to hold a Video Conference, youre using WebRTC. The same is
How to exclude anoying tags in intellij idea or android studio
In IntelliJ IDEA and Android Studio, you can exclude specific log tags in the Logcat view
Fix The inferred type of 'X' cannot be named without a reference
programming typescriptHow to fix The inferred type of 'X' cannot be named without a reference to 'path'. This is likely not portable. A type annotation is necessary.
List loaded posts in HexoJS
programming typescript , javascriptList loaded posts in HexoJS Basic codes to list loaded hexo posts by default to list all posts you can using below codes: github https://github.com/sergeyzwezdin/hexo-related-posts/blob/daf1021bf1914f2f90e3c77780e36a01330406ee/lib/calcRelatedPosts.jsL32-L40 https://github.com/sergeyzwezdin/he
Boostrap 5 Color Theme Switcher
programming javascript , css , htmlColor mode toggler for Bootstrap 5.3.0+