Ionic build error iOS 15 api.js not found: Recently we started upgrading our iOS application to support iOS 15. It was a major update as we were required to migrate to the latest Xcode version and in turn, migrate to the latest macOS version for our machine. After finishing the Xcode and macOS update when […]
How to Restore from .gz backup using mongorestore?
Restore from .gz backup / mongorestore to create new DB from .gz backup files Taking a backup of stage and restoring it to our local database is a common practice followed to test and replicate any issue found on stage or prod. Due to data being transferred from the different channels the team which creates […]
How to Query for “is not null” in MongoDB?
Query for “is not null” in MongoDB: We have a mongo collection that contains a field with null, blanks or some value. We now need to find all the records, where the value of that field is not null. We can use the below-mentioned query to find out all the not null records in the […]
Drop, Remove a MongoDB database from the command line?
For live applications, we don’t have an option to drop a collection or database by using interface. In most cases, we need to provide the deployment teams with a script to execute. The below-mentioned script can be used to drop a MongoDB database from the command line. Check out this link for more references. Here […]
Position of Carousel Arrow outside images, colour change Bootstrap
Position Carousel arrow bootstrap: You create a carousel and find that the next and prev arrow is hidden by the images in your carousel. It takes away the feature of the carousel as the buttons to navigate forward and backwards is hidden behind the colour of your images. You can add the below-mentioned styles in […]
Set-Cookie in response header not stored in the browser, not working
Set-Cookie missing in the browser: You call an API they send you the response with set-cookie in response headers, now the expectation is the cookie should be stored in the browser with proper values. But to your surprise, the cookie passed in the set-cookie response header is mysteriously missing from your browser cookies list. You […]
Request Entity Too Large Error NodeJS/NestJS
Request Entity Too Large: You send a large payload to nodejs/nestjs API and the backend throws an error Request entity too large. This error usually happens when you send a large payload to the server which is beyond the default payload accepted limit of the server. Though you should not be sending such a huge […]
Ionic action sheet tutorial / How to use Ionic action sheet?
Ionic action sheet tutorial / How to use Ionic action sheet? / Ionic action sheet example / Example of ionic action sheet An Ionic Action Sheet is a dialog that displays a set of options to user. It appears on the top of the applications content and user need to dismiss sheet in order to […]
Dynamic Page Title Angular / Meta Tags in Angular
Dynamic page titles in Angular / Dynamic meta tags in Angular / Set dynamic keywords in Angular / Set dynamic description in Angular. Page titles and Meta tags are key to SEO. Angular provides two important services that we can inject in our components to dynamically set page title and meta tags. These two services […]