
Search In
In Linux or Unix based OS create file into two parts ::
1. Data part : it contains the information regarding the iNode number of the file along with the variuos permission on that file.
2. Filename part : contains the name of file and inode number
If you want to set some part of the UITextview to BOLD then you can implement the following code :-
NSString *str = @"I belong to Dehradun"; // default string
NSMutableAttributedString *attString=[[NSMutableAttributedString alloc]
Hello friends, I hope you all are doing well, so today I would be discussing rails view in ruby in rails. View in ruby is used to display the data which is requested by controller from web with the help of shareable variables. We usually end view fil
Hello readers,
This post is about to get Unique Device Id in cordova application. Here is a plugin which provides UUID and does not change when we uninstall the app. Basically, we get new UUID whenever we re-install the app but with this plugin UUID
Below code is used to find number of days between two dates
NSDateFormatter *startDateformatter = [[NSDateFormatter alloc]init];
[startDateformatter setDateFormat:@"dd-MM-yyyy HH:mm:ss"];//setting date formate
NSDate *startdate = [st
Suppose we want to find the day of the week according to the given date i.e if we want to know the week day of a particular date then the following lines of code will help you to implement this :-
NSDate *date = [NSDate date]; // get toda
Hello, readers . In today's Blog I have created An Animated Slideshow using CSS3. Basically a Slideshow is comprises of various slides which keeps on rotating and display images one at a time .
So here in my blog I have tried to create a
We can find the hours between two dates by using NSDateFormatter. NSDateFormatter provides formatting and conversion methods for NSDate objects. In below code, I have used formatter to convert the start date and end date into hours and minutes where
Hi Readers,
In this blog i will provide you the Java solution for the famous Tower of Hanoi problem using Stack.
Problem definition
Tower of Hanoi is a mathematical puzzle. It is also known as Tower of Brahma or Locus' Tower. This puzzle
Hello all !
To crop an UIImage in iOS the following code can be used :-
- (void)viewDidLoad {
[super viewDidLoad];
[_originalImage setImage:[UIImage imageNamed:@"Scenery.jpg"]];
CGRect rect = CGRectMake(_originalImage.
