Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Browsernizer gem integration

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

How to get crash report using Splunk Mint in Android App

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

How to create a login page with validation using angular js?

  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

How to get the image size after aspect fit in objectiveC

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

How to count date difference in day, month and year format

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

How to get GCM registration token in Android

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

How to avoid adding emoticons in android edittext

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

Convert html to PDF with dompdf using PHP.

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

How to get the individual texts from edittexts in a loop

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

Convert NSDate to NSString in iOS

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

1 152 370
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: