shlogg · Early preview
Ashutosh Biswas @ashutoshbw

Lifelong learner.

Instant TOC With Neotoc: Built-in Styles & Customizable CSS Variables

Try Neotoc, a CodePen playground with built-in styles & color schemes for easy TOC styling. Control behavior with JS options like autoFold: true. Read Docs & share your thoughts!

Linux Shells Wildcard Patterns For Efficient Filename Matching

Learn Linux shell wildcards & globbing to match filenames efficiently. Wildcard patterns like *ing.pdf & [cb]at.gif can be used with ls, cp, mv commands.

Gzip Command Tutorial: Compress And Uncompress Files

gzip compresses regular files, not dirs or symlinks. Use `gunzip`, `zcat` & `zless` for uncompressing & viewing. Compress with `gzip file1 file2...` or pipe to `gzip > output.gz`.

Event Object Access In JavaScript: A Surprising Truth

Clicking a button in JavaScript doesn't always work as expected due to `event` being read-only on the `window` object, but it's deprecated and should be accessed via the first parameter of event handlers instead.

JavaScript Comparison Operators Explained In Depth

Learn how JavaScript's comparison operators work with numbers, BigInts & strings. Understand lexicographic ordering for string comparisons & the algorithms behind >, <, <= & >= operators.

JavaScript Falsy Values Explained

Truthy values in JS are considered true in Boolean contexts. Falsy values include false, 0, -0, 0.0, empty strings "", undefined, null and NaN. All else is truthy.