
Search In
Static functions in C
The static keyword with a function in C makes it Static function. The function without static keyword in C are global by default. The difference between them is static function are only accessible in the file in which it is def
Hi All,
It is quite easy to add a node programmatically in Drupal 7. But it gets little bit complex when we need to add an image to this node as well.
Use the following codebase to add an image to a node programmatically:
global $user_id;
$fil
Convenience Initializer used in swift as a supporting initializer. By using the convenience initializer you can put multiple -init along with other and use whichever you want to use.
convenience initializers have the convenience keyword befo
variables are good and sufficient to hold the single values, But what if we want to store multiple values in a single variable in that case you have to use arrays or objects
Values in arrays are saved index base. Remember that arrays in JavaScri
First you need make a directive for this.
mainApp.directive("loadMoreData", [function() {
return {
restrict: 'ACE',
link: function($scope, element, attrs, ctrl) {
// alert("check");
va
Apache web server allows access based upon different conditions. For example we can restrict access to url http://firstexample.com/ (mapped to /var/www/public/images directory) from 192.165.1.0/24 network.
Apache provides access based on different c
If you want to change width and height to the box and show the content after a transition on hover, below code will help you.
We can easily use the transition property and change the width and height to the div, for this first we will create the con
In X-Path first we have to go in View_XML file (XML file)
After that we have to decide where we want X-Path and then give Initial to last Path to that field.
See below View_Xml code in Xml file .
<?xml version="1.0" encoding="utf-8"?>
<op
To provide manipulation in a single bit of data or into the multiple bits we will use the things for these bit manipulation.
struct {
unsigned int widthValidated;
unsigned int heightValidated;
} status;
This will give you the
Hello reader's!
Today we discuss about "Creating Photo album gallery to your WordPress."
Recently, we had a person who wanted us to create a photo gallery combine with albums. He wanted that if any user click on the album then he able to see phot
