In this tutorial we'll learn about two new tools from adobe for android or iPhone/iPad users.
Here we'll talk about Adobe Draw which is a part of Adobe Illustrator family and Adobe Capture CC. With the help of Adobe Draw you may create y...
This article demonstrate a PHP script which can be used to resize PNG image with transparent background. With the script given below we can pass custom width and size for resized image. The script is given below:
<?php
$original_img = ...
after():
In JQuery, after() method is used to insert the data or content at the end as sibling of the element specify by the parameter.
Syntax:
$(selector).after(content,function(index,html))
Here, we have passed two parameters in...
In this post, I will be discussing about how to send SMS through PHP using Nexmo SMS API. To send SMS, we will be using Nexmo SMS API. There are a number of SMS Gateways like Clickatell, Twilio, and so on available in the market. However, I found...
Hi friends,
In my previous blog, We learn How to Install XAMPP server in Ubuntu Via Commands, but according to the Dazeinfo more than 80% user was using Windows for their work and entertainment in year 2014. so we come up with a new tutori...
In Python variables in a program which may not be accessible at all locations in python program. This depends on where you have declared a variable and value.
The scope of a variable determines the portion of the program using which we can acces...
append():
In JQuery, append() method is used to insert the data or content at the end of the element as child element specify by the parameter.
Syntax:
$(selector).append(content,function(index,html))
Here, we have passed two para...
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use ftp_size() function in php ?
The ftp_size() function is used for returning the size of a specified file on the FTP server.
This function returns the file size in byt...
Hello Readers,
is() is the jquery method which is used to checks or matches the selector to selectorElement. It returns a boolean value indicating true or false.
Syntax :
$(selector).is(selectorElement,function(index,element))
Para...
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use filesize() function in php ?
The filesize() function basically is used for returning the size of the specified file.
filesize() function returns the file size i...
The return statement indicate that return exits in a function and optionally pass back an expression to the caller variable and return statement with no arguments is the same as return None variable.
For example you can see below code and try it...
In python function use the following types of formal arguments which is given below
Required arguments-> Required arguments are the arguments passed to a function in correct positional order and the number of arguments used in the function ca...
Sometimes we need to provide the link of the webpage specially if the content is coming from Ajax or we have multiple contents everyone opening on different webpage in a popover. At that time we can use this functionality of Bootstrap to get the ...
Hello Readers,
innerHeight() is the jquery method which is used get or computed the innerHeight of the jquery matched element, this method including padding while computing innerHeight of the element but not consider the border and margin of t...
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use error_log() function in php ?
The error_log() function is used for sending an error message to a log, to a file, or to a mail account.
The error_log() function al...
A function gives name, specifies the parameters which are included in the function and structures have to be included in the blocks of code and function.
And the basic structure of a function is finalized, we can execute it by calling it from an...
this refers to the current element while $(this) is the jQuery object which is constructed with that element . Using $(this) we can enable jquery functionalities while if we use this it has only generic javascript functionalities. When we nee...
JQuery have DOM filter methods which we can use to filter out elements from a list of DOM elements.
It provides DOM traversal methods to help us select elements in a document randomly as well as in sequential method.
DOM Traversal Methods...
Different Types Of Software Design Levels:-
In the software engineering field software designing is a main section. We can categorized into three sections of the software designing these are as--
Architectural Design
High-level Design
...
You will face any situation in php where you want to display all the images in a random manner. Below is the code which will display all the images in random manner with the help of srand() function which seeds the random generator. It store a...
To get directory list in PHP we have define a function get_dirlist() in which we are passing a parameter which is the name of the directory. Inside this function we are executing the ls command with the help of exec() function. Using this we will...
In Laravel 5.0 we have "paginate" in Eloquent by which we can create pagination very easily by just following some simple steps.However there is a drawback with it as it only works if you know all the conditions prior. But what if you want to cre...
Hi Reader's,
Welcome to FindNerd, today we are going to discuss the use of reset() function in php ?
So, basically The reset() function moves the internal pointer to the first element of the array.
syntax of reset() function
reset(ar...
Javascript and jquery redirection is a client side redirection. Redirection means taking a user from one location to another location i.e page. Here are several methods available in jquery and javascript for page redirection such as
replac...
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use next() Function in php ?
This function returns the array value in the next place and outputs the next element in the array.
means we can say that it always returns...
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use get_browser() Function in php ?
The get_browser() function returns the capabilities of the user's browser.
It looks up the user's browscap.ini file.
syntax of g...
In my previous blog about How to Execute 3 Way Link Building Process, I have explained detailed step by step process involved in executing 3 way link building process. As you all know th...
The attr() is a method which either returns or set selected elements values and attributes An attribute value must be a string whereas a property can be of any type. prop() methods gets the property value for the first element in the given mat...
Hello everyone, In this blog I will guide you "To add custom meta box for add css in every post?"
When we create a Gallery in wordpress normally it comes one by one, in other words all gallery photo are of same height and width. But if you wan...
Mostly when we logout from an application, we want to come to the login screen and clears all the stack of the Activites.
So for this requirement, we just need to use FLAG_ACTIVITY_CLEAR_TOP in addFlags() method.
Below is the code
Intent...
We will understand the process of binding a list box to MySQL by an example. Suppose we have a database "test" having table ex1 which contains columns id,name. We need to bind the name field with the list box. For this we will use the following P...
Basically, it happens when we use third party libraries.
Proguard doesn't work well with many of the libraries so we need to make changes in proguard file.
For example, to solve out the errors of retrofit library, we need to add these thing...
Hello Readers ,
With the use of array_unshift() , it will insert new values at the beginning of an array.
We can add one value, or as many as you like.
Syntax:
array_unshift(array,value1,value2,value3...)
Example:
<?php
$...
Hello readers, In this blog I will guide you "To add theme option in wordpress admin panel"
The below code create a page in your admin dashboard. In dashboard a new tab create Pinboard, when you open this tab you can see three link
Gener...
Hello Readers,
If we want to remove the duplicate values present in an array then their is a function named array_unique() that we can use .
If two or more array values are the same, the first appearance value will be kept and the other wil...
The crypt() function in PHP returns a hashed value. It uses the DES, Blowfish, or MD5 algorithms.
It returns the first two characters of the output as salt in DES-based crypt(). As salt parameter is optional but crypt() function gives a weak p...
With use of range() function , it creates the array contains the range of an element.
It will return an array of element from low to high.
Syntax :
range(low,high,step)
Example :
<?php
$number = range(0,50,10);
print_r ($num...
The filemtime() function is used to get the modification time of the file i.e., the time file was last modified.
Syntax:
filemtime($filename);
In above function there is only one parameter which is the name of the file you want to get th...
Google provides a simple and free* API for querying currency exchange rate. You can convert the currency using google apis url which are given below
https://www.google.com/finance/converter?a=$amount&from=$from_Currency&to=$to_Currency...
In the below code first I have added a Switch button in main layout. Here I have created two-state toggle switch that can select between two options. The user may drag the thumb back and forth to choose the selected option. In MainActivity I have...
To Use Unwind Segues in iOS.
1- Create three controller using storyBoard
2- Push from FirstViewControleller to SecondViewController
3- Push From SecondViewController to Third
Write a function in FirstViewController like this
-(IBAction...
Hello Everyone, In this blog I will guide you "To add custom attributes on product in WooCommerce?"
This is how to produce custom item attributes on the WooCommerce single web page. (To display attributes on the cart page, see Indicate WooComm...
DISTINCT Keyword:
It is used to fetch different values from a table. It removes duplicate records from the result set and used when there can be multiple duplicate tuples in a table.
Syntax:
SELECT DISTINCT columnname FROM tablename;
...
Many SEO experts work on building links for their domain with the prime motive of gaining quality backlinks so that they can improve the search engine ranking for the targeted keywords w...
Hello Friends,
In the current web world many websites are using auto suggest box instead of drop-down. If you want use this please follow the below example:
1) Define your text-box
<input name="abc" id="search-box" class="form-control...
Program to sort elements in Ascending Order using Selection Sort in C language
Selection Sorting
Definition:- It compare the array of number with the rest of number in the array list & takes the selected to the top of the list & agai...
Dependency Injection (DI):- It is a software design pattern and its main motive is to see how components get its dependencies
Injector subsystem in AngularJS is liable for creating components, dependencies resolving and also providing othe...
Program to sort elements in Ascending Order using Insertion Sort in C language
Insertion Sort
Definition:- It is a sorting which sort one number at a time & insert to its proper location in the array list until all the numbers are sorte...
Hello Everyone, today I will guide you "to change add to cart text on product page by its type?"
If you want to change the add to cart text according to product type, the first thing is you have to get the product type. In the below code $pro...
Hi Readers,
Today, I will be discussing about the "Bootstrapping" in AngularJS. AngularJS is a JavaScript framework. Everyone knows that we have dependency injection in AngularJS but at what time does dependency injection actually gets exe...