Posts - Page 1

Linux

How to run an app in dark mode without changing Linux's global system settings

Want to run a specific app in dark mode without having to change your entire system's theme? This quick tip maybe what you are looking for.

Read
JavaScript and 1 other tag.

NodeJS: How to write a file that can run as a script or be imported/required as a module

Sometimes we want to run, sometimes we only want to import.

Read
JavaScript

JavaScript: How to get the caller (parent) function's name

Learn how to get the name of the surrounding function in a javascript context.

Read
Git

Easiest way to manage multiple Git users on the same computer

Make commits as different Git users, across different projects, effortlessly.

Read
Linux and 1 other tag.

How to upload/download files via SSH using an identity file and SCP

How to transfer files from/to a server that requires an identity file to SSH into.

Read
JavaScript and 1 other tag.

Guide: How to create a NodeJS CLI (Command Line Interface)

Learn the basic tools for creating Command Line Interfaces with NodeJS.

Read
JavaScript

Checking if a key exists in a JavaScript object

Edge cases and performance when checking if a key exists in a javascript object.

Read
JavaScript

How to remove duplicates from a javascript array

Performance when removing duplicates from Javascript arrays.

Read
CSS and 1 other tag.

Override inline styles from CSS

Win specificity wars: Override inline HTML styles from inside your .css files

Read
CSS and 1 other tag.

CSS: How to select elements that have only one specific class

Learn how to select HTML elements with a specific class, ignoring elements that have any additional classes assigned to it.

Read
TypeScript

Typescript Enums: Supersets, subsets, and equal enums

Solution ideas for when you need to create ENUM relations in TypeScript.

Read
Concept and 1 other tag.

High Cohesion and Low Coupling Outside of OOP (With Examples)

An attempt to illustrate this important concept outside of an Object Oriented Programming context.

Read
Docker and 1 other tag.

How to install docker-compose on Linux (Debian/Ubuntu/Pop!_OS 20.04)

Learn how to install docker-compose on Linux.

Read
Linux and 1 other tag.

How to use Docker without root privileges

No more typing `sudo docker` all of the time.

Read
Linux and 1 other tag.

How to install Docker on Linux (Debian/Ubuntu/Pop!_OS 20.04)

Installing Docker in Ubuntu based Linux distributions is easy. In this post we are going to have a look at how to install Docker in my favorite Linux distribution: PoP_OS!

Read
Frontend and 1 other tag.

How to programmatically request additional JS and CSS files with vanilla JS

There are times when we want to dynamically request additional `.css` and `.js` files in our web applications. Here you can find out how to do that with vanilla JS.

Read
Docker

How to cleanup unused Docker assets and reclaim disk space

Learn how to delete unused docker assets and recover disk space.

Read
Linux and 1 other tag.

Running Linux on Nvidia laptops (ASUS S15 X530/S530)

Tips for those considering running Linux on a ASUS S15 laptop.

Read
Frontend and 3 other tags.

How to use Stencil with Sass/Scss and Bulma

Learn how to use Stencil together with SASS, SCSS and Bulma to create well styled Web Components. Includes animations tips.

Read