
Search In
Hello Reader's!, If you are looking for a code that can give the directory size from a given path, Then you can use below library code for both Windows and Linux hosting:-
If on a Windows Host:
<?
$filePath = 'c:/www/myfolder';
$obj = ne
hello friends ,
You can check user's current notification setting by following line of codes.
// this method is deprecated in iOS 8.0
UIRemoteNotificationType types = [[UIApplication sharedApplication] enabledRemoteNotificationTypes];
if (type ==
Some time TextView lost text while getting fragment from Back-stack or when screen orientation changed.
I also faced that problem. Here is the solution for save state of TextView forcefully.
Add Tag
android:freezesText="true"
to Text
Hello Reader's!
If you learning the wordpress and want to show the contents of a page from admin panel. Then you can use the code below:-
First you need to publish the page with it's title, content and a featured image. Now open the page and write
Hi If you want to change the tags of HTML with another tags then you can perform this action using JS in realitme.
Let's consider and example to change the <h2> tag with <i> using JS.
<h2 class="xyzxterms" style="cursor: default; ">
Laravel 4.x we have a facility to get last inserted id easily. By showing one of my code you will get easily understanding.
Example:
$karmaNote = new Karmanote;
$karmaNote ->reqid = $meetingId;
$karmaNote ->connectionidgGi
Sometimes, we need to change some special character on String to fulfill our requirements.
For example, we need to show phone number, i.e, 2001256443 as (200)-125-6443
Now we use the substring method of String to solve it.
We just add String on the
Simply Use following Code & set the "size" field according to your desired font
[[UISegmentedControl appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIFont fontWithName:@"STHeitiSC-Medium" size:13.0], UITextAttribu
Hi all,
If you want to get contact name and contact number from your iphone contact list then below two methods can help you to get contact name and contact phone number .
Note: In this you will only get those contacts,which contain phone number o
What is tht sort() function in php ?
The sort() function sorts an indexed array in ascending order means lowest to highest .
why use sort() function in php ?
Sort() function basically use for sort the elements of the array in ascending alphabet
