Call to undefined function mcrypt_encrypt()

written by : Manju Kashyap (Senior Software Engineer)
March 24, 2017
|
0 Comments
|

Error: Call to undefined function mcrypt_encrypt()

Description: In one of our project, I was trying to save a field value in encrypted format in the database, using PHP, which could be retrieved back to its normal value, where we need to display it. So for that, I was trying to Read more…

AWS cli installation, configuration and stopping/starting EC2 machines

written by : Navneet Kashyap (Senior System Administrator)
|
0 Comments
|

Install the AWS CLI Using the MSI Installer (Windows)
Download the AWS CLI MSI installer for Windows (64-bit) click-here or directly access https://s3.amazonaws.com/aws-cli/AWSCLI64.msi.
Run the above downloaded MSI installer. Follow the instructions that appear:
The CLI installs to C:\Program Files Read more…

Correct way to post a form in cakephp 2.* with client side validation in JavaScript

written by : Kailash Kumar (Software Engineer)
March 23, 2017
|
0 Comments
|

If we follow cakephp rules to create a form then we can use cakephp inbuilt functionality like we don’t need to assign labels to form fields. Cakephp automatically creates label for each form field also in case of update/insert validation error messages, the message is automatically shown below Read more…

Overview of DevExtreme components

written by : Neelam Thakur (Senior Web Designer)
|
0 Comments
|

DevExtreme is a commercial application framework created by DevExpress. DevExtreme framework uses html5 and javascript code and targets today’s most popular smartphones and tablet devices. Devextreme supports both mobile application and web application.

In devextreme there are three flavors of the core functionality that we can use in our Read more…

Salesforce: Save docusign (PowerForms) FormData in Salesforce

written by : Kiranpreet Kaur (Software Engineer)
March 22, 2017
|
0 Comments
|

Problem:- Get data filled by user from docusign FormData and pass it into salesforce.

Description:- We have docusign account integrated with Salesforce account. We want to use the functionality of power forms of docusign and get all the data filled by user in power form back to the salesforce.

In Read more…

How to make the image background transparent using gimp editor

written by : Kajal Marwah (Web Designer)
|
0 Comments
|

There are two different ways for making the image background transparent in Gimp.

For white color background

1. Open the required image in Gimp.

2. Go to layer > Transparency>color to alpha as given below in the screenshot:

Above steps makes the image transparent as follows:

For non Read more…

Anonymous Inner Classes in Java

written by : Richa Sharma (Senior Software Engineer)
March 21, 2017
|
0 Comments
|

Using Anonymous Inner Classes in Java

Before getting into the depth of Anonymous inner classes, let’s understand a bit about inner classes first. As the name implies, a class which is declared and defined inside another class just like a normal member function or variable is called inner class Read more…

Java | Static and Non-Static Inner classes

written by : Komal Dhiman (Software Engineer)
|
0 Comments
|

Static and Non-Static Inner classes

Static Nested Classes
Static Nested Classes are the static classes in Java which are created inside another outer class. As these are declared inside another class with keyword ‘static’ , therefore they are treated like the static member of its outer class.

For Nested Classes Read more…

Slider Revolution Plugin : Stop slider on hover

written by : Manpreet Kaur (Software Engineer)
March 20, 2017
|
0 Comments
|

Sometimes Slider Revolution slider does not stop moving the slides even if the user is typing the data in the input box on the slides .

Solution : We can stop the Slider on hover or after some time in slider revolution plugin by following these steps:

1. Click on the Slider Read more…

Taking Database Backup And Moving that backup from one server to another using PHP

written by : Deepika Saini (Software Engineer)
March 17, 2017
|
0 Comments
|

While working on two servers, we can take the backup of database on one server using mysqldump command in php

Example:-
exec(‘mysqldump –host ‘.$dbhost.’ –user ‘.$dbuser.’ –password=’.$dbpass.” “. $dbname.’ > ‘.$dbname.’.sql’);

After creating dump of database, user can move the dump database file from one server to another using Read more…

Web crawlers, Robots.txt and Googlebot

written by : Navneet Kashyap (Senior System Administrator)
|
0 Comments
|

What are web crawlers?
Web crawlers are programs or scripts which search engines use to gather certain types of data from the websites and check links and update the indexes, so that search engines can show up-to-date results. Most of search engines like Google and Yahoo, use crawlers Read more…

Scaffolding in CakePHP

written by : Ishpreet Kaur (Senior Software Engineer)
March 16, 2017
|
0 Comments
|

Scaffolding in CakePHP

Application scaffolding in CakePHP is a technique that allows the developer to define and create a basic application that can create, retrieve, update and delete objects. Basically CRUD (create, Read, Update, Delete) data operations are common in most of the applications.

Scaffolding basically provides temporary structure or Read more…

Jquery | Check if image exists for the url created at runtime

written by : Harleen Kaur (Software Engineer)
|
0 Comments
|

Suppose a website page displays the list of subjects along with information and corresponding image. Html “div” with classname “.subjects” are generated dynamically in accordance with database records of subjects with custom attribute assigned as “data-subjectid” to each div which represents the unique id of each subject .

Suppose we Read more…

Add virtual field in cakephp 2.* in find methods

written by : Kailash Kumar (Software Engineer)
March 15, 2017
|
0 Comments
|

How to specify an extra field (not existing in the table) while fetching data from database using find method? Solution is explained below.

Assign value to virtual field before find function call:

$this->virtualFields[‘virtual_field_name’] = ‘any value’;

Use virtual field in find function:

$result = $this – > find(‘all’,
array(
‘fields’ => array Read more…

Selenium IDE: Locate and verify GUI and CSS Elements

written by : Dixit Soni (Software Test Engineer)
|
0 Comments
|

While using Selenium Ide, It is very hard to verify the GUI and CSS elements using record and run method. In record and run method you will not be able to use all of the commands due to lack of commands in the web page context menu (Use Right click Read more…

RESTFul architecture best practices

written by : Rita Sharma (Senior Software Engineer)
March 14, 2017
|
0 Comments
|

1. Restful web service has its specific set of standard methods like: GET, POST, DELETE, PUT, OPTIONS. We should use HTTP methods as per standard. For example: use “Delete” method to delete the resource not for any other task.
2. We should return valid HTTP response code for each and Read more…

Ubuntu | Unable to login, failed to start session

written by : Nitin Pant (System Administrator)
|
0 Comments
|

Description:- I am trying to login in my Ubuntu machine. I entered my correct password and it didn’t login me. It showed me “failed to start session” message in red color. I am also not able to login with guest user.

Solution:- This problem occurs when your Unity desktop Read more…

Some important terms of US Insurance Industry

written by : Ashish Gautam (Software Engineer)
March 10, 2017
|
0 Comments
|

Insurance industry of United Stated is very much different from any other country and also it is the largest market in terms of premium amount according to federal Insurance Office (2014) Report. Insurance industry of US is regulated by each state individually means it is a state based insurance regulatory Read more…

Quickbook Webconnector queue concept with Job priorities

written by : Kunal Kumar (Software Engineer)
|
0 Comments
|

Queue plays very important role in Quickbook integration via Web connector. Each new job is created in the queue with priority level according to which it is executed. For example when we add a new user or new product than these events are stored in a queue as a job Read more…

Allowing PHP cURL to access self-signed websites without verifying the SSL certificate

written by : Richa Sharma (Senior Software Engineer)
March 9, 2017
|
0 Comments
|

By default, each cURL request can access only SSL certified websites. However, at times it is required to access those sites which are self-signed. To verify that your cURL request is able to access self-signed websites or not, use below command:
curl <URL of the domain to Read more…

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Next page ›
Send your message