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
spellcheck Attribute in Html
spellcheck Attribute:
It is used to specify whether to check the spelling and grammar of the text in an editable html element. This attribute can be used with input elements, textarea and other editable html elements.
Syntax:
<ele...
What is CSS Gradients?
CSS Gradients:-
CSS3 gradients let you show smooth moves between two or more determined colors.
CSS3 defines two types of gradients:
Linear Gradients (goes down/up/left/right/diagonally)
Radial Gradients (defined by their cent...
How to get data from XML using SimpleXML extension in CakePHP
SimpleXML is an extension of PHP that allows us to get XML data.SimpleXML provides a way of getting element's name, attributes and textual content.SimpleXML extension fetches the data from XML document in a form of data structure.It is easy a...
pg_search gem integration in rails application
If we are using PostgreSQL RDBMS in rails application and there are need to search functionality, pg_search gem is perfect for that. It has easy implementation and having rich methods for the search functionality.
Note: pg_search gem supp...
attr_accessor and attr_accessible methods in Rails
As we know a class can have any number of objects and each object is different from one another. The thing that distinguish one object from another is the attributes they have. So in order to write and read these attributes we have some methods i...
Use of stream instead of for loop in java 8
We all know about the use of For loop and for each loop that is used to iterate all elements in list or collection but some time in case of n numbers of items loop traverse till nth item that is time consuming but after java 8 we have some strong...
Simple chat application in node.js
Today, I am going to show you, how to create a simple chat application in node js using a special model "socket.io". It simply transmits messages from one client to all others.
For this, I am going to create two files:-
1: main.js...
How to implement autolayout programatically in iOS?
Hi Reader’s,
This blog includes the concept of implementing autolayout programatically. This can be done in two ways:-
1.NSLayoutConstraint Class
2.VisualFormat
Below is an example which includes a UITextField ...
How to get all accoutns registered in device ?
Sometimes it is required to get all the accounts registered in device like facebook , gmail, linkedin account as well as whatsapp account.
Account Manager provides list of all centralized account of device.
First of all we can have the inst...
How to protect CakePhp application against Sql injection in 2.x version?
Hi Reader's,
Welcome to FindNerd, today we are going to discuss How to protect CakePhp application against SQL injection in 2.x version?
Basically SQL injection is a technique which is used for attacking to data-driven in a web applicatio...
Few Important Hash Methods in Ruby
Hash:
Hashes are way of storing data in key-value pair format. Key can be any ruby object ( i.e. string, numbers ). Here we will see some of mostly used methods for hashes.
1) Creating/Initializing a hash:
Hash can be created i...
Discussion on in-build modules of Nodejs
Welcome to FindNerd. Today we are going to discuss in-build modules in nodejs. If you work in nodejs then you should be familiar with modules. There are many in-build modules available in core libraries of nodejs. You can also get the modules fro...
Populate greater dates in second dropdown list for End Year than selected in Start year dropdownlist
The below code snippet dipicts how we can populate “End Year” in second dropdownlist all greater than “Start Year” that we selected in the Start Year dropdownlist.
Let us create an html file say selectyear.html
Here ...
How to share files without using internet?
Hello guys,
This tutorial will help you to guide that "to share files without using an internet". Through this tutorial, we can share any type of files between android devices. I am explaining this step by step.
Step1- I...
Introduction to SVG animation
SVG stands for Scalable Vector Graphic.
SVG is used to define vector-based graphics for the web in XML format. A SVG component is an exceptional sort of DOM component that emulates the language structure of a standard HTML component. SVG...
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...
Embedded one page slider is not working properly
Hello!
Now I'm working on the project similar to this one here. I cant make the one page slider work properly. I tried on many different way but still it's not working. I wish to make the slideshow start to work when it is pi...
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...
JSON Parser Not prasing the array in JSON
Hi,
I have a project I'm working on, and I've run into 2 problems. The first is my JSON parser is parsing correctly for regular objects, but doesn't parse the arrays in the JSON.
Secondly, I am trying to implement dependencies i...
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...