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
Create accordion menu using JQuery
Hello Readers
Accordion menu is familiar to all of us.
In this kind of menu, each menu item produces a dropdown menu on click. But when we click on another menu item, the dropdown for other menu items would close by themselves. Such a menu...
How to create realistic candle in illustrator?
In this tutorial, we'll learn how to create a candle in illustrator.
Step 1: Open a new document and Draw a rectangle, Fill it with black color.
Step 2: Now to make a candle we need to draw an another rectangle with ...
Discussion on naming conventions in CakePHP
Hi Reader's,
Welcome to FindNerd,today we are going to discuss naming conventions in CakePHP.
When implementing a web application in CakePHP, we have to use naming conventions for making any model name and table name etc very carefully.
...
Generic methods in C#
Generic is a feature provided in C# which allows defining the class, method etc without binding it to work with a specific data type, instead it is created with a substituted type which get replaced with the data type passed at run time. In other...
How to animate view zoom and bounce like popup in objectiveC
This blog includes zoom and bouncing In animation on view. If we want to present view like popUp alert then it include two animation-
first is zoom and second is bouncing.These two animation can be achieved by affinity transform.Scaling, rotat...
Function inside a function
Functions are small modules or chunk of code. Swift’s function syntax is so flexible that it allows to write a function inside a function.
Here is a syntax:
func firstFunction(arguments) -> returnType{
func secondFunction(arg...
HTML Embed Multimedia
Many times you have to include music or video into your website. The most effortless approach to add video or sound to your website is to use the HTML tag called <embed>. This label makes the web browser to itself incorporate controls for t...
How to create horizontal wizard using CSS?
Hello Readers!
Online shopping is a very common thing to do nowadays. We all must have tried our hands on it some time. It does save our money, and of course, a lot of time.
Whenever we shop a product, we are made to go through various step...
Different jquery methods used to calculate dimensions
Hii,
In this blog i am going to share the definition and difference between different methods of jquery used to calculate dimensions.
Following are the six different jquery methods used to calculate dimensions as per ...
How to make menu to visible only a specific user in Joomla?
Hello friends, today I'll tell you how you can display a menu to a specific user in Joomla. Before starting the process you should know about User Group and User Access Level in Joomla. User Group and User Access Level in joomla is used to co...
Discussion on Auth component in CakePHP 3
Welcome to Findnerd. Today we are going to discuss Auth component in CakePHP 3. Authentication is necessary in all web applications. You can identify the user by his provided user-name and password and authorized his activities in the application...
CSS Counters
CSS Counters:
CSS counters are similar to variable in a programming language. Counter values are incremented by rules define in CSS. Variables are required to manipulate counter value are as follows:
counter-reset - This variable is used...
Countdown timer in Pure JavaScript
Hii,
In this blog, I am going to share few lines of javascript code to create a countdown timer.
Countdown timer is used in many places like
In online shopping sites showing sale ends , starts in time, delive...
How to insert an icon in an input type?
Hello Readers!
Many a times, we must have seen a magnifying glass (search icon) in a search type input box. There are many input types in various web pages that have an icon relating to that input type. It makes them look appealing but doing t...
Screenshot plugin for Cordova/phoneGap apps.
Hello Readers,
Screenshot plugin for Cordova/phonegap apps allows you to take screenshot of the current open screen and save it to phone storage.
First of all we need to install the following plugin through CLI:
$ cordova plu...
Finding index value using AngularJs
Hii,
To learn how to find index value from a given list of array element or to find the index value of filtered data using AngularJs.
Go through examples given below.
Example 1:In this example index value of the day selected from the drop ...
Saving Details With BelongsTo Associations in cakePHP 3
Hello Reader's ,
Hope your are doing good today.
Today in my blog i am going to explain how you can save details with BelongsTo Associations in CakePHP 3.
If you have multiple record for a single user, then you need to split your recor...
Differences between Require, Load, Include and Extend methods in ROR
Include: If your application has many classes that need the same code, then we can keep that reusable code in a module and include that module in class.
When we Include a module into a class, it is like we are taking all the methods within the m...
What is favicon?
Favicon was first used in march 1999, when Microsoftft released Internet Explorer 5 that time it was used to make tabs a favorites (bookmarks).
Favicon is a small square 16×16 pixels image, Basically It is used on tab at the web browsers...
Different border properties using CSS
We have used the different properties of the border like width, color etc.
All the border properties are used in one time and in order: border-width, border-style and border-color.
Syntax of border:-
border: bo...
How get camera make and model from Image using PHP?
Hello, Reader's if you are uploading images for website gallery and looking for extract the Camera make and model from it, Then PHP offers you to do this via EXIF meta.
Every original digital photo contains the detail of Camera ...
Database Access and ORM cakephp 3
The new version of cakephp comes with lots of new features and changes in it.
Cakephp access the database with mainly two objects.
First is table objects.
Second is entities.
Objects provide the access to the collection of data.
En...
Creating file / writing in a file using command line interface
In this small blog we will learn how to create a file with different file extensions and how can we write some text or paragraph in the file? how to write content of one file to another file. We can also use cat command to append the binary data....
Scrolling webpage with Selenium Webdriver
Sometimes we face the problem of scrolling an element as per user view.
JavaScript Executor is used in java code to scroll the page.
There are some scenarios for which we have to perform scroll action:
Sometimes we require to scroll t...
Describe Data type in PHP
Hello Reader's ,
Today in my blog i am going to Describe Data Type in PHP. Data Type is a very important part of any programming language. Let's start learning about Data Type
What is Data Type?
A data type identifie...
client side and sever side validation in cakephp
Data validation plays an important role in any application, It helps to confirm that the data in a Model confirms to all the rules of any application.
There are 2 types of validation in cakephp. First one is server side and the...
Discussion on upload File in PHP
Hi Reader's,
Welcome to FindNerd, today we are going to discuss File upload in PHP.
When developing a web application in PHP sometimes we need to upload images in our application. Basically, we can say that when a user goes for registrati...
How to check browser has enabled cookies?
Check cookies are enabled or disabled on the browser :
In web applications sometimes we need to save some information on client side, to save data on client side the most popular option is cookies. But the user can enable or disable cookies o...
How to create a Garlic by using mesh tool in illustrator?
In this tutorial we'll learn how to make a garlic in illustrator.
Step 1: Open up a new document to draw the shape of garlic on the canvas. Filled with any color inside it.
Step 2: To make a garlic add ...
Discussion on paginator component in CakePHP 3
Welcome to Findnerd. Today we are going to discuss pagination in CakePHP 3. If you have hundreds of records in one page then you need to implement the pagination for better user experience. Pagination is a technique to divide the records in multi...
TextToSpeech API provided by Apple
Apple has provided a powerful api to play audio from text and here are the steps to achieve:
1- Import AVFoundation framework
2- Initialise AVSpeechSynthesizer(as below)
let synthesizer = AVSpeechSynthesizer()
...
Clear view or image with touch in iOS
Hi Readers,
Paint related apps are usually used to clear content what have been drawn. One can achieve it by using Core Graphics framework provided by iOS.
With touch delegate methods will be called so following code snippet will give prope...
Create symfony bundle using command line
Create new bundle using commands:
Run the following command to create new bundle:
# php app/console generate:bundle
Following are some options which need to fill after running the above command:
Welcome to the Sy...
Progress bar with Gradient effect using jQuery
Progress Bar :- Progress bars demonstrate the fulfillment rate of an operation or procedure. It can be utilized to demonstrate a client that how far along he/she is in a procedure.
Below is the HTML, CSS and Jquery task, which show...
How to Right Click and Choose an Option Using Selenium WebDriver
Here, we discuss that how to right click on a link or button and choose any option from the list using Selenium WebDriver. In this, Actions Class helps to right click on any element.
Also, we need to import:
'import ...
How to use mocha for unit testing in node?
mocha is a javascript test framework. It works well for both node.js and browser. It makes asynchronous testing simple and easy. Mocha test run serially. mocha is open source.
Installing mocha globally:
npm install -g mocha
With the ab...
Start project with npm init - Node.js
NPM's init command will scaffold out a valid json file for you project.
The commands for npm init are:-
mkdir myapis
cd myapis
npm init --yes
I have used --yes option with the above command, because I don't want to set author...
Learn how to copy text and paste to clipboard using javascript
Hii,
To learn how we can copy text and paste to clipboard using very simple few lines of javascript code,Go through the given example below
In this example execCommand() plays an important role in the following way:
Step 1: I have a html tag...
Selenium Webdriver methods
To perform operation on web browser and with web element (Ex: URL, Title, buttons, links,check box, edit boxes, radio buttons etc) Webdriver provides many methods(Ex: URL, Title, buttons, links,check box, edit boxes, radio buttons etc).
...
How to make div height 100%?
Hello Readers,
Today will discuss the possible way to make div height 100% according to screen size. Let's see about the first method -
So, below is the CSS code -
html, body{
height: 100%;
}
.box{
height: 100%;
...
Create color picker using javascript without using any external link/library/plugin
Hii,
In this blog i am sharing an example of creating a color picker using javascript without using any external link/library/plugin.
There are many browser's addons tools and online tools available using which we can choose ...
Explaination of HTTP Status Codes 5xx Server Error
Here we will learn about the server errors that are received by the client under different situations.
The HTTP status or error codes which belong to 5xx series come frequently in the web browser. The status codes are returned by the web serve...
Rails 4 Strong parameter
Rails 4 has many new features, and Strong parameter is one of them. Strong parameter allows us to choose attributes that can be whitelisted for mass assignment. In rails 3 we were doing this by listing accessible attributes in the model. But in r...
CSS Radial gradient property
Hii,
This blog is continuation with my previous blogs in which i had discuss about type of css gradient properties,
In this blog i am going to share how to use css radial gradient property in different ways.
Go through the following exam...
Discuss on export MySQL Table Records into CSV file
Hi Reader's,
Welcome to FindNerd, today we are going to discuss export MySQL Table Records into CSV file.
If we are developing any web application in PHP then sometimes we need to export MySQL Table Records into CSV file. fputcsv() is a f...
Selenium WebDriver - Double Click On Button Using Actions Class
Here, we discuss that how to double click on a button in Selenium WebDriver. In this, Actions Class helps to double click on any element or button.
Also, we need to import:
'import org.openqa.selenium.interactions.Ac...
Getting width and height of a div with the help of jQuery
If anyone want to get the width and height of a div then he/she can do this with the help of jQuery width() or height() method.
The width() method will find the width of that element which we want to find. It do not take the padding or m...
Display a list of all installed application in an android device
The PackageManager class is used to get the information of application packages that are currently installed on android device. You can get an instance of PackageManager class using getPackageManager().
Below example will show you ho...
Selenium Webdriver - Set browser width and height
Here, we discuss that how to resize the browser's width and height in Selenium WebDriver. It allows to resize and also maximize the window from its API. In this, Dimension Class helps to resize and declare the object by initializing the width...
Search records using angularJS with nodeJS
Welcome to Findnerd. Today we are going to build an application for searching the records. As we all know that we have written many blogs on angularJS as well as nodeJS. We want to recommend you to check these blogs for clear idea of these two fr...