
Search In
IntroductionIn today's information overload, standing out requires more than good content. It would help if you personalized it to your audience, speaking directly to their needs and desires. This shift from generic messaging to indiv
I came across to the many questions asking about to store some kind data in Shared-preferences such as String[] array. Many of these questions are answered with "Use a database".
But here i will show you a perfect piece of code by which you can st
Gray Out an Image in android
In android, Sometimes, we have to gray out image to show it disable or to show it differently.
So I share my code to gray out any ImageView.
We just do it by using pixels.
private ImageView instagramIcon;
instagramIc
In this example, we used a variable named score to calculate the strength of password. If password contain 6 chars the score increases with 10 points, if it has at least one digit – 10 points, has
at least one ASCII symbol (!@#$%^&*) – 10, mixed
In MySQL, the CHECK constraint is used to put limit on value range on value inside a column.
CHECK Constraint on CREATE TABLE
The following statement creates a CHECK constraint on the "id" column when the "employee" table is created. The CHECK cons
Memset is used to fill first n bytes in the block of memory pointed by a pointer to a specific character interpreted as an unsigned char. Memset is defined under string.h header.
Function Prototype
void * memset ( void * ptr, int value, size_t num
In MVC while working in API for making restful services you need to know your request and response.
You can pass data or entity from your model as you want.
But in any case, you have a requirement of passing multiple recor
Hi friends,
In my previous blog, we talked about customization of form helpers and how to create forms for external resources through form helpers in Form Helpers in Rails Part-3. Now we will switch to discuss on how to build complex forms in rails.
This Blog will explore you how you can send the email using liferay portlets. The below code will helps you to send email using liferay portlet.
Firstly you need to configure Liferay Mail Configuration:-
Login using Liferay Admin account and go to
Source: www.finalwebsites.com
PHP as a scripting language has gained immense popularity among web developers who strive to ensure that their websites are attractive and have a great functionality. It’s because of PHP that developers are able to c
