Welcome to my blog !

Puppeteer Login Test example

March 13, 2023 ·  2 min read

Puppeteer is a nodejs library that is used to test webpages in a headless browser. It opens chromium in a headless browser. Create a Directory puppeteertest mkdir puppeteertest cd puppeteertest First, Create a nodejs project using the below command. npm init -y this creates a nodejs project with the required basic configuration. Install puppeteer dependency npm install puppeteer --save `` It installs the puppeteer into a node project. create a test....

How to convert Double to Integer or Integer to double in Dart| Flutter By Example

March 12, 2023 ·  4 min read

This tutorial shows multiple ways to Convert Double to Int and Int to double in Dart and Flutter programming. Convert Double to Int in Dart: First Way, use double.toInt() method, For example: 3.4.toInt() returns int value 3. Second way, use double.truncate() method to remove decimals from a number.3.4.truncate() returns int value 3. Third way, use rounding methods such as round, ceil, and floor based on lower or upper value of a given number....

Best ways to fix 504 gateway time out in nodejs Applications

March 1, 2023 ·  2 min read

This tutorial explains about below things what is 504 gateway time out in nodejs How to Fix 504 Gateway timeout error in NodejS or Express application Express App timeout what is 504 gateway time out in nodejs 504 Gateway Timeout is an HTTP response server-side error, that indicates an error on the server to return the response in a given timeout. The request to Server is taking longer time than expected time(default is 2 minutes)and the response contains 504 gateway timeout error....

Fix for Error No configuration provided for scss

February 28, 2023 ·  1 min read

Running lint on the node project that scss gives an error as given Error: No configuration provided for scss. [email protected] lint:styles stylelint “assets/scss/**/*.{css,sass,scss,sss,less}” Error: No configuration provided for B:\myproject\assets\scss\styles.scss The issue is not finding config for scss lint of a project. Project needs .eslintrc.json configuration file No configuration provided for scss file Please follow below steps Install stylelint-config-standard npm library as devDependency npm install stylelint-config-standard --save-dev Create a .stylelintrc.json configuration file in root of a project....

Multiple ways to List containers in a Docker with examples

February 27, 2023 ·  2 min read

This tutorial explains multiple ways to show a list of containers in the Docker Docker Container List command example The docker ps command is used for the list of containers with different options. It is an alias for the docker container ls command The following are different commands docker container ls docker ps docker ps command has the following options -a or --all: Displays all containers(default lists running containers) -f or --filter: filter based on conditions....

You'll get a notification every time a post gets published here.