Jquery : Filter array by applying AND & OR logic on checkboxes

Author - Kritika Sood

In one of our projects we have multiple groups of checkboxes and corresponding divs with id as checkbox label. Now we want our checkboxes to perform AND and OR logic .

For Example:

<html>
<div id=”_Java_less than 1500_Basic_Dennis Ritchie” class=”6″ style=”display:none;”&gt Read more…

MySQL Access Denied due to wrong column name

Author - Webner
|
0 Comments
|

MySQL access Denied for user while Username and password is correct.

I got this error when I named one of my table columns as “order” which is also a mysql keyword. When tried to rename it, I got the following error on execution.

ERROR 1045 (28000): Access denied Read more…

Salesforce | Creating communities in Salesforce

Author - Webner
|
0 Comments
|

Steps to create the communities in Salesforce:

1. Click on Setup:

2. Under customize click on communities. Click on all communities:

3. Click on New community button:

4. Choose your template according to your requirements. There are 5 templates provided by salesforce. In this example, I have chosen Read more…

Salesforce: Call Apex Class on Click of Custom Button

Author - Navdeep Kaur

1. Create apex class that you want to call (it should be declared global):
Global class Test
{
Webservice static void testMethod()
{
//do something.
}
}
Note: Webservice method must be static:

Global class Test
{
Webservice static void testMethod(String IDD)
{
//do something.
}
}
2. Goto–>Setup–&gt Read more…

Java Spring | Verifying against WhiteList IP Addresses (spring 4.0.4)

Author - Rita
|
0 Comments
|

While designing RESTful web services in a Spring-based web application, we may have a requirement that some web services should be allowed to run only from specific IP addresses. Spring framework provides a simple procedure to verify if the incoming IP address in available in the whiteList Address list Read more…

Salesforce | System.LimitException: Too many SOQL queries: 101

Author - Neha Mishra
|
0 Comments
|

You may face this exception sometimes in Salesforce:

System.LimitException: Too many SOQL queries: 101

There can be multiple reasons for this exception:

Check if SOQL queries are not written in loops
Check if DML are not called inside a loop.
Check if large number of workflows for field update Read more…

Website Performance Testing using Apache Jmeter

Author - Webner
|
0 Comments
|

Performance testing is used to determine that the web application under test will satisfy high load. Apache Jmeter can be used to analyze overall server machine performance under heavy load.

Apache Jmeter Performance test includes:
* Load Test
* Stress Test

Creating a Performance Test Plan in Jmeter

We are going to Read more…

What is Ajax? How to send the request using different Jquery methods?

Author - Webner

What is Ajax? How to send the request using different Jquery methods?
Ajax: Ajax stands for Asynchronous JavaScript and XML. Ajax is a technique for creating fast and dynamic web pages. Ajax allows web pages to be updated asynchronously by exchanging small amounts of data with the server Read more…

Images, Content, scrolling and some other functions not working in Google Chrome (Windows)

Author - Webner
|
0 Comments
|

Problem: I was facing an issue from the last couple of weeks that the images, content, scrolling and some functions were not working in my browser while testing applications but if I try it with going incognito everything looks great. This issue was mainly with Google Chrome. I tried to Read more…

Application Structure comparison between Laravel and Cakephp 3.x

Author - Rita
|
0 Comments
|

Cakephp and Laravel are MVC frameworks for php. Both frameworks have totally different application structure. In the following document I have described all the important folders and their respective locations in Cakephp and Laravel (project_name is the root folder of your project)

Some other Important Points Read more…

Moodle/Totara | Different ways to enable/disable maintenance mode

Author - Webner
|
0 Comments
|

There are multiple ways to enable/disable maintenance mode in Moodle.

From UI

Enable Maintenance Mode:

* Go to the Site Administration.
* Click on Server.
* Click on Maintenance Mode option:

* On the next screen: Maintenance mode ->Select “Enable” from drop-down. And write the message which Read more…

Diagnosing the exception: System.Data.entity.Internal.appConfig threw an Exception

Author - Harleen Kaur
|
0 Comments
|

‘System.Data.entity.Internal.appConfig’ exception generally arises from your configuration file like web.config file due to some conflicting statements. I faced this error during login process:

During debugging I found that this error was thrown to me at the step of entity framework connection context initialization. I tried Read more…

Database indexes | How to decide on which columns to create database indexes?

Author - Namisha
|
0 Comments
|

Columns that are used for filtering or joining should have indexes on them. An index is a specific data structure that organizes data in such a way that it is much faster for database management system to look up the records at query time. Indexes are great for accessing your Read more…

WordPress | How To change login (wp-admin) page css in WordPress

Author - Komal
|
0 Comments
|

In wordpress, we can also change the appearance of wp-login page. There are so many plugins available for this purpose like Alter – White Label WordPress plugin. We can change the appearance of wp-login page through this plugin like I have changed the background image and color in this Read more…

How to create AWS OpsWorks Stack

Author - Webner

Purpose is to automate most of recurring processes like creating user, installing application (apache, apache-tomcat, mysql-server …etc), and modifying security file to hardening Linux machines in AWS environment.

1. Click AWS OpsWorks option from AWS console panel:

2. Now click on Add Stack to create a new Stack Read more…

CakePHP | Send Email using SMTP in cakephp 3

Author - Gopi
|
0 Comments
|

Open config/app.php file inside your project and then modify the default email configuration and setup your SMTP account there:

          ‘EmailTransport’ => [

           ‘default’ => [

           ‘className’ => ‘SMTP’,

           // The following keys are used in SMTP transports

           ‘host’ => ‘ssl://smtp.gmail.com’,

           ‘port’ => 465,

           ‘timeout’ => 30,

           ‘username’ =&gt Read more…

Slider Revolution Plugin | Keep text while background images change

Author - Komal
|
0 Comments
|

Slider revolution plugin is used to create the slider to be used in the wordpress website through its shortcode. We can create as many slides as we want and can design each slide very easily by adding layers above layers. But sometimes there is a need to keep the text Read more…

Split large CSV into multiple smaller CSV files with Python script

Author - Deepika
|
0 Comments
|

Problem: If you are working with millions of record in a CSV itt is difficult to handle large sized file.

Solution: You can split the file into multiple smaller files according to the number of records you want in one file. Python helps to make it Read more…

Configuring AWS WAF (Web Application Firewall)

Author - Navneet Kashyap
|
0 Comments
|

AWS WAF web application firewall service is built to protect cloud apps from web attacks like DDoS attacks, SQL injections, Cross site scripting.

Below are the steps involved in configure AWS WAF security:

Step.1 Open CloudFormation and click on create new Stack.

Step.2 Select the option (Specify an Read more…

Cakephp 3.0 | Methods to get base and application url

Author - Parminder Kaur
|
0 Comments
|

In cakephp we do not need to set hard coded relative paths.There are methods by calling which we can build the url dynamically.

use Cake\Routing\Router;
To get the base url use
Router::fullBaseUrl(); => http://localhost //Output

To get the Application Url
Router::url(); =>/CakeApp/ //Output

To build Read more…

‹ Prev page1 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 29 30 31 32 33 34 35 36 37 38 Next page ›
Send your message