
Search In
We can use browsernizer gem to restrict an application to open on old version of browsers or we can notify user to upgrade browser.
Add gem to Gemfile
gem 'browsernizer'
Run
bundel install
rails generate browsernizer:install
This will be crea
Features of Splunk Mint:-
1) Monitoring slow transactions(track process) from start to finish.
2) Track user activity and events
3) Generate exception logs that occured in app.
4) Debug messages based on platform.
5) Examining errors by particular us
In this blog, we illustrate how to create a login page with some validation using angular js.
To validate a login form data we can use the following to trace the error:
1. $dirty:- It is used to check whether the value has been changed or
When we set the aspect fit property of image view then the size of image get reduced because it sets the image according to the aspect ratio. So if we want to get the size after aspect fit the use the following code-
In the following code firs
Hello friends,
I have two date 2016-04-04 and 2016-08-31 and now I want to display its difference as 4 months 24 days format. I have created a function to return date difference in year, months and days format
$date1 = '2016-08-31';
$date2 = '2016
GCM(Google Cloud Messaging) registration token is a kind of id given by the GCM connection server to user/client that allow user to receive messages. To get registration token first we have to generate a unique number, it can be created while configu
If you don't want to allow users to add emoji in edittext then below few lines will be helpfull for you. This method will return blank string while typing any similies/emoji in your editext.
public static InputFilter EMOJI_FILTER = new InputFil
Hello Readers ,
Below is the explanation of how we can create any HTML into PDF and then further send it to emails as an attachment etc.
Install the Dompdf library from github https://github.com/dompdf/dompdf/releases and then put it into you
Please i have a for loop which creates edittext according to what the user types in. It displays the edittexts in a linearlayout. What i want to do is to get each of the texts from the edittexts and store it in an arraylist
This is the fo
This is a simple code snippet which explains's you how to convert NSDate to NSString in iOS.
Create a string as NSString *myDate & a date formatter. Suppose we have picked a random date from date picker so that the date we have picked is alre
