How to fetch unread emails from a mailbox

Author - Maniraj Singh
|
0 Comments
|

Python code to fetch Unread emails from a Mailbox

Script to check and fetch the unread inbox using the following packages.
1. imaplib
2. email
3. csv

IMAP is an email retrieval protocol which does not download the emails. It just reads them and displays them Read more…

Insert and update bulk data in CakePHP 3.7

Author - Kailash Kumar
|
0 Comments
|

How to Insert and update bulk data in CakePHP 3.7?

We can insert and update multiple records using “saveMany($entities)” function. We can create entities array from “newEntities() / patchEntities()” functions. newEntities function is used to insert new data and patchEntities function is used to update Read more…

Automate aws snapshot using Lambda and cloudwatch service

Author - Navneet Kashyap
|
0 Comments
|

Automate the Snapshots using AWS Lambda & CloudWatch services.

Step.1 Create IAM Role with following accessibility

1. To get information of volumes and snapshots from EC2
2. To create new snapshots using the CreateSnapshot API call
In the AWS management console, go to Read more…

Using Donut Pie Charts in Tableau

Author - Harshit Gulati
|
0 Comments
|

How you can create a Donut Pie Chart in Tableau Pie Charts

Problem : Feature of Donut Pie Chart is not available in Tableau.

Solution : Donut pie-charts are good looking graphs that explains clearly that bigger the slice, the more of that Read more…

DMARC (Domain-based Message Authentication, Reporting & Conformance)

Author - Navneet Kashyap
|
0 Comments
|

DMARC (Domain-based Message Authentication, Reporting & Conformance) is an enhancement to existing email authentication policy and reporting protocol. It helps to prevent spoofing on your mail domain so that no one other than you can use your domain to send emails to anonymous IDs.

DMARC is widely used Read more…

Web Data Connection with Tableau

Author - Harshit Gulati
|
0 Comments
|

Web Data Connection with Tableau

1. What is WDC?

WDC or Web Data Connector, is a web page with JavaScript code that connects to web data, converts the data to a JSON format, and passes the data to Tableau. Currently, we are using WDC Read more…

ASP.Net MVC Quick Introduction

Author - Vikas Dalal
|
0 Comments
|

ASP.Net MVC Quick Introduction

ASP.Net MVC – In MVC, the architecture of an application is divided into three parts –
Model, View and Controller.

Model – Model represents the shape of data. It is basically used to connect to the database and perform Read more…

Routing And Navigation on Command Line in Angular 6

Author - Kuldeep Singh
|
0 Comments
|

Routing And Navigation On Command Line in Angular 6

Angular CLI tool can be installed with npm. It requires NodeJs.

We can download node from the official site [link] and install using instructions on the site.

node -v // this command is used to check the version of node Read more…

WordPress | Move WordPress site from HTTP to HTTPS

Author - Navneet Kashyap
|
0 Comments
|

How to move whole wordpress site from HTTP to HTTPS in simple steps using Really Simple SSL plugin with AWS Cloudfront.

Solution.

Step-1. Login to wordpress

Step.2 Click Plugins

Step-3. Download Really Simple SSL plugin Read more…

How to close Heroku Postgres Database connections

Author - Kailash Kumar
|
0 Comments
|

Problem: Heroku Postgres Database Fatal error too many database connections for role ‘username’

Solution:
1. First install Heroku toolbelt with command
a. sudo snap install heroku –classic
2. Login from command line
a. heroku login
3. Check current database connections
a. heroku pg:info Read more…

Detect Text From Uploaded Image and Base64 string

Author - Dalbir Kaur
|
0 Comments
|

How to Detect Text From Uploaded Image and Base64 string in laravel

Laravel has various packages available to achieve this. I have tried “yk/laravel-ocr” and “alimranahmed/laraocr” but these are not producing accurate results. After that, I used the “AWS sdk” and it proved Read more…

How to change DevExtreme column captions in run time without grid Refresh

Author - Nipun Negi
|
0 Comments
|

How to change language of DevExtreme grid column captions without reload the page

DevExtreme is a powerful Component Suite designed by DevExpress that can be used with many languages (javascript, jquery,angularJs, angular, Vue, Knockout, react) to get the desired UI. for creating a responsive web Read more…

How to run CakePHP 3.7 Shell Commands in Heroku console

Author - Kailash Kumar
|
0 Comments
|

Learn how to run CakePHP 3.7 Shell Commands in Heroku console

1. Create myCommandShell.php file in src/Shell folder with below content

<?php
namespace App\Shell;
use Cake\Console\Shell;
use App\Controller\PagesController;
class myCommandShell extends Shell {
public function main() {
// do your Read more…

The page was not displayed because the request entity is too large

Author - Umang Pasricha
|
0 Comments
|

Issue “The page was not displayed because the request entity is too large” while uploading a file.

This error occurs when you try to upload large size of files but it extends the limits for the number of bytes allowed in the entity body of a Read more…

Laravel Cron to keep executing manually even for a long time

Author - Komal Dhiman
|
0 Comments
|

Laravel Cron to keep executing manually even for a long time

The cron jobs we create in Laravel can be very time consuming if they have much to do. They may take a few minutes to execute completely. While testing the cron by executing it manually Read more…

Display direct/indirect users under a manager in totara

Author - Pawandeep Kaur
|
0 Comments
|

Display direct/indirect users under a manager in Totara

Direct Users: The users under a manager.
In the following example, Manager1 is direct manager of Manager2.
Indirect Users: The users who are not directly under the manager instead they are under some Read more…

Visual Code to AzureDevops | Visual Code to Salesforce

Author - Neha Mishra
|
0 Comments
|

Visual Code to AzureDevops | Visual Code to Salesforce

Steps to connect local project from VS Code to Azure DevOps:

1. Install Visual Code.

2. Install all the salesforce extensions.

3. Install Git on your system.

4. Go to your Azure account.

5. Select the Read more…

Add Text to Image with Php and Python

Author - Maniraj Singh
|
0 Comments
|

How to add Text to Image with Php and Python

Step 1: Call the python file from PHP with the following arguments.
$ filePathForPython: Specify the location of the python file.
$imageName: Dynamic name of the image.
$ imageText: Text to be written on the image Read more…

Face detection using Laravel

Author - Harpal Singh
|
0 Comments
|

Method of Face detection using Laravel

Laravel is a PHP framework for Web Development. It provides many features to make things easy for Web Development. It also takes care of the security of the application. If you have an intermediate level knowledge of PHPRead more…

Clear HTML cache programmatically

Author - Harleen Kaur
|
0 Comments
|

How to clear HTML cache programmatically

HTML automatic caching is one of the popular features provided in HTML5 which makes the application page loading faster as the same page is not freshly loaded every time from the server. An issue arises when the website pages are Read more…