Blog

How does npm packages versioning work with caret and tilde

Something that can be interesting: how versioning for npm packages works?

Blog

How to save CSV data with Filesaver js in TypeScript

I had a web service giving me CSV results that needed to be downloaded in a TypeScript environment as a CSV file, here is how I did it

Blog

Programmatically saving a file in Drupal 8, 9 & 10

This tutorial code shares how to share a file entity programmatically in Drupal.

Blog

How to put a Drupal site in maintenance mode with drush

If you are running a devOps system, you can put your sites in maintenance mode like this:

Blog

The best ways to learn Drupal

Learn Drupal from basic to advanced level.

Blog

Drupal automatic updates is coming

Drupal automatic updates is a feature that will automatically install new Drupal core updates when they are released. This can be done without you having to lift a finger!

Blog

How to fix ReferenceError: exports is not defined TypeScript

If you are getting the error for code that runs in the browser, try defining a global exports variable above the script tags that load your JS files.

Blog

How to get items from local storage with TypeScript, manipulate and resave

an example of a print basket: how to get the items and re-save them

Blog

How to loop over field items in twig file in Drupal

If you want to use a looping functionality in x.html.twig​​​​​​​ you can use the following:

Blog

How to create an array of objects in Python

When learning new languages you always want to know the typical things like arrays, sorting, etc. Today I was messing around with some Python and noticed I had to look up how to create an array of objects.

Subscribe to