Development

How to permanently remove a file from Git history

We all make mistakes sometimes. Pushing files that contain some secrets or sensitive information to a Git repository is fairly…

3 years ago

Select all text on click using CSS

When a user has to select some text on a website, they have to drag and hold their mouse, or…

3 years ago

Detecting element causing CSS overflow

CSS overflows are an annoyance that keep showing up once in a while and are really hard to debug. Unwanted…

3 years ago

Opening a Browser with DevTools Open by Default

While automating some parts of my development workflow, I was wondering if there was a way of opening a browser…

3 years ago

How to create a UUID in JavaScript

Creating a globally unique identifier has always been a necessity in all programming languages and for some reason, JavaScript never…

3 years ago

How to convert a React component to an image

Sometimes you want to give the users the ability to download a part of the web application as an image.…

3 years ago

Specifying a node version in Repl.it

I was recently trying to use a later version of Node on Repl.it. I wanted to use a package that…

3 years ago

Accessing the clipboard in JavaScript

Developers are probably the laziest people on the planet. And of all the things, copy-paste is our favorite keyboard shortcut.…

3 years ago

Using counters in CSS to number elements automatically

Ordered lists have been an important part of web design for quite a while now. If we needed more control…

4 years ago

How to remove a property from a JavaScript object

There are two ways to remove a property from a JavaScript object: one is the mutable way of doing it…

4 years ago
Advertisements