Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Bind Combobox with XML Data
Combobox control is like a dropdown control which contains the list of items. By default it takes no value. There is a property itemsSource with which we bind the items.
To bind combobox with the XML file,we will right click on the project and...
5 Things to Remember While Managing Multiple Projects
Image source: www.getapp.com
Are you looking forward to manage multiple projects? If yes, then you have come to the right place because here we are discussing five things one must pay heed to run multiple projects smoothly. Many ...
Difference between C# and VB.Net
C#
CB.Net
1. It contains a “using” keyword to release unmanaged code.
1. It doesn't contains a “using” keyword.
2...
Customize Flash message in Cakephp 2
Customize Flash message in Cakephp 2
If you want to customize flash message, and want to integrate your own alert flash box, then you can do this by SessionComponent method.
Step 1 : First of all you need to include the session co...
PHP 7 new feature: The null coalesce operator
Hello Friends,
Today we will discuss about PHP 7 another new feature which is The null coalesce operator. This operator denoted by ?? (double question mark) and it replace the ternary operator feature in a single line with less code than...
PHP 7 new feature: Return type declaration
Hello Friends,
Today, We will discuss a new feature Return type declaration which is introduced in Php 7. Return type declaration refers the type of the value that a function should return.
Following is the declaration type supported by the...
Install BaasBox on Ubuntu 14.04
Install BaasBox on Ubuntu 14.04
Baasbox is server side application that is used for database server. Mobile and backend developers can use this application to store data in database and can create backups. In order to install stable version of...
DataBinding in WPF
Hello Readers,
Data Binding is a concept which is used to bring/display data in UI controls from source object. DataBinding in WPF is binding between the source object and the destination UI element. With data binding in WPF you can take data ...
What is composer and how to install Composer in Ubuntu?
Hello Friends,
Now-a-days composer is widely used in the PHP applications like Laravel, CakePHP and so on. Let's talk about Composer this is a command line tool for dependency management in PHP. This allows you to integrate libraries requi...
Scan document like CS Scanner using OpenCV and NDK
In my last blog I have written about how to use Jhansi Karee's Android Scanning library.
This blog is about how you can use/modify library code according to your requirement.
I am assuming that you are already familiar...
Calling function in another file Node
It is always good practice to break your code into smaller files which are more meaningful as per the actions being performed in them. Splitting files into smaller one will require us to have some way by which we can call each other as required a...
Authentication using JSON Web Token (jwt) in node.js
Authentication is one of the big part of any application. JSON web token is one of the safest medium of transferring information between two parties. The token is a long encryped string that has 3 parts-
The headers - It contai...
How to auto-restart app after Crash/Force close in Android
In this tutorial, we will learn about how to handle exceptions manually in android using UncaughtExceptionHandler and how to restart app after exceptions. Some of the cases App gets crashed or situations like force close. Thread.setDefaultUncaugh...
Interaction in jQuery with Drag-able
The Drag-able function can be used in JqueryUI to enable draggable functionality on a DOM element. Using Drag-able function we can drag the element by clicking on it with the mouse.
Example code:
<html>
<head>
<...
Default methods and static methods uses in Interface.
We know that interface provide methods without body or functionality but in abstract class we can provide default functionality of methods. So in interface we can't give method body and can't declare ant static method.
But in Java 8 no...
Display multiple locations marker on a google map in web page
Google Map provides a facility to display maps on web page of web application. We used Google map API to show and customize the gmap on our web page.
The GMap API is a kind of JavaScript library. Here we will learn how to implementation and cu...
Use of Lambda expression in java 8
The lambda expressions is introduced in java 8 and easy to use. Lamda expression automatically read the params type and return the same type value.
Like we have an anonymous class to implement some listener in it like this :
button.addTou...
What is the difference between JavaScript and JQuery?
Hii all, it seems that many want to know what is actually a difference between JavaScript and JQuery. So, here are following differences between these two :-
JavaScript :-
1. JavaScript is a scripting language.
2. In JavaScript, you...
Integrate twilio with rails
Twilio is a cloud-based service that allows software developers to programmatically make and receive phone calls and send and receive text messages using Twilio's cloud APIs. So once developer integrates their application with Twilio, their a...
Clear Application Cache Programatically.
Clear Cache Programatically
Hello All,
This is a simple tutorial to clear cache of your application, Sometimes there is need in our application to store some of the files on device cache and we don have the choice to move them to SD c...
Difference between HTML and XML
To know the difference between HTML & XML, first of all we need to know what is HTML and XML.
What is HTML :- HTML(Hyper Text Markup Language ) is a markup language used for describing web pages.
What is XML :...
Uses of Java 8 predicates in android to filter data
Predicates basically used in ios to query over model class data but from java 8 its available in android or java this function returns true or false value based on condition like P: Y? {true, false} that predicates on.
Example : We have a mode...
Bar code scanner using Zxing library
There are too many libraries available to read qr code like Zbar and zxing library. Here we are showing how to use Zxing lib to scan qr code :
First of all add dependency in app gradle file :
compile 'me.dm7.barcodescanner:zxing:...
How to read or sync only newly added smses ?
Basically we sync all the smses everytime when user do login in our app but this is time consuming task to do all the time so it would be better and effective if we sync only new smses after last sync.
so basically for the first time we have...
How to read or sync only newly added contact ?
Basically we sync all the contact everytime when user do login in our app but this is time consuming task to do all the time so it would be better and effective if we sync only new contact after last sync.
so basically for the first time we ha...
Discussion on Nodejs
Welcome to FindNerd. Today we are going to discuss nodejs. If you start the learning of nodejs then it can create little bit confusion for you. First question should be raised that what is nodejs? Nodejs is nothing but runtime environment for ser...
Node.js Promises
As we all know In node.js many times we will use asynchronous callback. There are n number of situation where we want to use nested callback where we want to use one callback result to another asynchronous callback. The best way to do that task i...
How to read otp from message inbox if new message contains otp?
//We know that now a days apps like watsapp automatically read otp from messages //so this post will show you how to do that programatically.
//First of all we need Broadcast Reciever that will announce broadcast that a new //message has arr...
Create wordpress Plugin- Get All Category in Dropdown
Hello readers, In this tutorial I will guide you to create Wordpress Plugin for "Get all Category in Dropdown".
For creating Wordpress Plugin, we need to do some basic things for creating a Plugin.
1) Create Wordpress Plugin, just...
Child Process(exec or spawn) In Node JS
As we all know that Node.js runs in a single thread mode and in order to achieve performance it make use of event-driven methodology. This event-driven methodology make Node.js efficient for I/O processes , but sometime there are cases where appl...
ItemsControl in WPF
WPF has so many controls to bind the data. They all have different shapes and perform different according to their functionality.
There is a simplest control ItemsControl in WPF which is used to bind the list of items. There is no shape and st...
ASP.NET : Binding ArrayList to DataList
Binding ArrayList to DataList
DataList is a web server data bound control which display data items in repeating list. DataList provides an optional facility of selecting and editing data items. In DataList,Templates defines the content and lay...
Scan document like CS Scanner
This blog is about sample application for Scanning documents like CamScanner.
Jhansi Karee has published library and demo project like CamScanner develop with OpenCv and NDK.
if you want only scan image and getting result t...
Binding syntax in Angular2
Hello Readers,
Data binding is a way where we can specify what user see with the application data values. Application should be easy to read, write i.e it should be user friendly, so data binding is very important part in application.
Angular...
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 part...
Make a simple paint application in iOS
We all have seen a paint application in our PCs or laptops. So, here we are going to build a simple application which uses different colors to draw on the screen :-
Lets start with making the UI. Drag an UIImageView and UIView in the...
Chaining in jQuery
Chaining is a technique that allows us to run multiple jQuery commands, one after the other, on the same element. Using chaining we can run multiple jquery methods within a single statement.
Chaining makes code short and easy to manage and it im...
Custom Tooltip using Html and CSS
Tooltip:
A tooltip is generally used to indicate hints (extra information) about something when the user moves the mouse pointer over an element.
We can use either bootstrap tooltip plugin or we can create our own tooltip using html a...
Join and Inject methods for arrays (Ruby)
Join and Inject methods for arrays in ruby
Join method is used to combine all array elements into one string.
With the help of join method we can combine a lot of strings present in an array into one single string.
Join method can a...
HAML in Rails
Rails default templating language is ERB which embeds ruby code into a HTML document, but there is an alternative templating language available called HAML.
HAML(HTML abstraction markup language) provides an elegant syntax which is easy to...
Default checked the checkboxes in CakePHP
Hi Reader's,
Welcome to FindNerd,today we are going to discuss to default checked the checkboxes in CakePHP 3
If we want to set checkbox in our cakephp application for showing list of a product in checkbox then firstly we have to find a lis...
How to create an app to upload resume or doc file in rails?
Lets suppose , we need an application which able to upload a file(i.e. pdf, doc, htm, html, docx) and user can delete it form the list in rails. So here we will use 'carrierwave' to upload file and for styling the pages use 'bootstrap...
Random movement of a sprite in 2D
When we develop a game sometimes we need gameobject move randomly without any user input. In this script a sprite randomly move in 2D and also rotate in moving direction.
using UnityEngine;
using System.Collections;
public class move : M...
Array operations in ruby
In our regular programming life, we always come in to situation where we need to pick few elements from array, remove them or insert some elements into them. In ruby there are methods available for such operations. Some of them are:
1) Select:...
Environment Variables (Part 2)
In part 1 of this series we have seen how easily we can export environment variables to .bash_profile file with Linux "export" command and then using it with "process.env" . But this approach do have some drawbacks does not sc...
Conversion of binary value to an integer
Description:
Given an array of one's and zero's convert the equivalent binary value to an integer.
Eg: [0, 0, 0, 1] is treated as 0001 which is the binary representation of 1
Examples:
Testing: [0, 0, 0, 1] ==> 1
Testing...
Custom email configurations in CakePHP 3.x
Welcome to FindNerd. We are going to discuss the Email settings in CakePHP 3.x. We have already discussed the different methods available in Email class in our previous blog. Click here to check the blog. We have also mentioned examples how...
Binding data with the layout
Typically, to bind data with the layout i.e with the UI fields we access the view elements in the activity using findViewById() method and then set the values to the views.
This sometimes becomes quite cumbersome when there are large no. of view...
Object-Oriented JavaScript
Objects are used to represent the real world entities in our code like bank account, books, person, etc, by storing all relevant information in one place, i.e, an object. We have two ways to create objects in javascript, i.e., 'Literal notati...
What is the difference between Component, Helper and Behavior in CakePHP
Hello Friends,
Generally lots of programmer get confuse why we have three different things Component, Helper and Behavior in CAKEPHP while its seems to work same. Well the answer is yes all three items in CakePHP do the same kind of job, it ex...