Blog
How to debug NGINX "/usr/sbin/nginx -c /etc/nginx/nginx.conf" error
I got this error on my website and suddenly it was down. With the following command I was able to debunk the issue
Blog
A boilerplate Drupal Entity file
I realized there are not many resources to find a boilerplate custom entity. Here I share a code snippet containing one.
Blog
How to fix "Mismatched entity and/or field definition" in Drupal.
This update script will help you in fixing Mismatched entity and/or field definitions errors in Drupal
Blog
Get the current Drupal version with Drush
This easy snippet can help you if you want information about your current drupal version
Blog
How to get a list of uninstalled (contrib) modules with drush
When upgrading to Drupal 9 it can be handy to look up the uninstalled modules first, to remove them.
Blog
Getting a query parameter with Angular router
It is rather easy to read out query parameters like ?id=2030 from a URL with Angular router. Here is the snippet
Blog
Use the async pipe on an observable in Angular
I had this online/offline observable and I needed it on my component. This was the snippet I used to show things dependent on my online/offline state.
Blog
How to serve your ionic icons offline in a PWA
When registering your PWA, the ngsw-config.json file is the most important. This snippet helps you caching your ionic icons offline.
Blog
Prevent a controller from being cached in drupal
How to prevent your controller from being cached by drupal.
Blog
How to allow html in translation strings with ng-translate
The translation pipe is extremely useful for multilingual angular apps. But by default you cannot serve html-strings in your translations. This his how to do this.