Wednesday 3 August 2016

How can I secure my APIs using O-Auth?

php-development1.jpg


I wrote some APIs in PHP to expose my website to a greater no of audience.

Now, can anyone help to know how I can secure them using O-Auth.

Read more about How can I secure my APIs using O-Auth? Visit Findnerd.

Thursday 28 July 2016

How to use Pattern Attribute in Html5

Html5-01r-1920x1080.jpg

Pattern Attribute:


Pattern attribute is used for input field validation and used  to provide  a regular expression which is used to match  the input fields value whether the value is according to the pattern specified or not.

When user  enter a value in the input field and if the value entered is  not as per the  expected format, then a error is thrown and our form will not submit until user does not provide correct format value.

Read more about How to use Pattern Attribute in Html5 visit Findnerd. 

Tuesday 26 July 2016

Basic Skills That Every Tester Should Have

swtesting.jpg


Basic Skills That Every Tester Should Have


1. Documentation:

Documentation is necessary to testing. Also, ensure that you see the value of the documentation process. The benefits of documentation are, it will help you to track requirement changes, track down the test steps, log your work, etc.

2. Test Preparation:

Of all the documents available, the following can’t be neglected. It is also known as deliverable documents and they linked the client, developer and tester understanding.

Read more about Basic Skills That Every Tester Should Have visit Findnerd.

Sunday 24 July 2016

6 Easy Steps to Add Twitter Feeds to Your Webpage

5728.png

If you want to embed multiple Tweets on our website in a compact, single-column view and want to display the latest Tweets from a single Twitter account for this a Twitter collection may be rendered in either a list or a responsive grid template.

The steps below will help you. Ones you started using Twitter account, The most reliable and easy approach is that you can put the official Twitter widget on your website.

The widget can be embedded on any website that allows the use of JavaScript. The Widget is very clever and intelligent to handle size adjustment when using a responsive website.

Step 1. Go to twitter setting

Step 2: Select Twitter Widgets




Thursday 21 July 2016

Simple chat application in node.js

node-js.png

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 (Server root files)

2: index.html

Read more about Simple chat application in node.js visit Findnerd.

Tuesday 12 July 2016

How to avoid duplicate data insertion using php and MySql

mysql-database.png

This blog will help user learn how to avoid the duplicate entries in the database. Storing duplicate values in the table must be avoided while inserting data in the database table. As these duplicate entries can create many problem in the application.

Developers go with many data insertion practice to avoid duplicate entry which are discussed as below:

1- Remove duplicate values using 'DISTINCT' key in mysql query, if it is present in table.

2- Check whether the value is present in table or not using PHP and Mysql before inserting data into the table.

3- We can also avoid duplicate values storing in mysql table while inserting by primary key.



Wednesday 6 July 2016

Password hashing in wordpress using PHP

php_logo_by_kadera_jan-d2xx9y9.png

WordPress doesn't ever store client passwords as plain content. This is the essential motivation behind why, on the off chance that you forget or lose your password, you have to reset it.

Your password is not stored by wordpress, regardless of the possibility that if your database is hacked, the hacker won't does not know what your original password was. This is the reason why we hashed our password.

Distinctive hashing calculations have contrasting levels of security in light of the relative sizes of the hash strings created.

Read more about Password hashing in wordpress using PHP visit Findnerd.

Monday 4 July 2016

Genie effect on Ubuntu

Screenshot_from_2016_06_30_18_35_06.png

This is an interesting blog if you want to use Mac OS like Genie effect on your Ubuntu machine then this blog might be useful for you.

Follow these steps and at the end you will get changed minimized and maximized animations which looks cool.

  • You need to install "compiz” and “CompizConfig Settings Manager” from Ubuntu software center.

  • Go to Ubuntu Dash and type compizConfig Setting Manager

Read more about Genie effect on Ubuntu visit Findnerd.

Tower of Hanoi Implementation in Java

Towers_Of_Hanoi_Figure.jpg

Tower of Hanoi is a mathematical puzzle. It is also known as Tower of Brahma or Locus' Tower. This puzzle consist of three rods in which disks can slide.

There are some number of disks are placed on a rod in increasing order of their disk size form top to bottom. Now we have to transfer all the disk to another rod. Keeping in mind that.

  1. Only one disk can be moved at a time.

  1. Each move consists of taking the upper disk from one of the stacks and placing it on top of another stack i.e. a disk can only be moved if it is the uppermost disk on a stack.

  1. No disk may be placed on top of a smaller disk.

Read more about Tower of Hanoi Implementation in Java visit Findnerd.

Wednesday 22 June 2016

How to Use Callback in Node.js

node.js-logo.png

A callback is a function which is highly used in node js. When we want to run any task after the success or completion of a given task then we will use a callback. We will write maximum API in such a way that they will support callback.

when we write localhost:3000/sum/23 on the browser then first it will call to the app.get('/sum/:num', sumCallback); routes. Then it will go to the sum function there we pass callback then we check number exists or not  if the number exists then on the success of the function we will move further else we will display error.

In else case we will call one more function sum there we also write one more callback. If sum function will return any result then inside sum callback will occur and display the result.

Read more about How to Use Callback in Node.js visit Findnerd.

Friday 17 June 2016

Browsernizer gem integration in Ruby Programming

programming-language-ruby-and-the-rails-framework-1-728.jpg


We can use browsernizer gem to restrict an application to open on old version of browsers or we can notify user to upgrade browser. Its works like a middleware in application.

If the browser version is less than config it will be redirected to /browser.html page that is IE 10+, Firefox 40+, Opera 11.1+ and Chrome 45+ are supported and Non listed browsers are considered to be supported regardless of their version.

Read more about Browsernizer gem integration in Ruby Programming visit Findnerd.

Thursday 16 June 2016

Top 8 Project Management Tools an Entrepreneur Should Know

road-sign-1280256_960_720.png

Project Management is a plethora of activities. Project Management indulges in various activities such as Client Communication, Resource Planning, Project Planning, Risk analysis and mitigation, Project co-ordination and so on. In order to smooth the process there are few project management tools which ease the process.

Few of them are mentioned below :

BaseCamp : This is one of the simple and efficient project management tool. The BaseCamp provides wide variety of features with ease. The BaseCamp is widely used by many companies across the globe for ease project management process.

Asana : Just like BaseCamp, Asana is another project management tool which provides ease in project management process. Asana is mainly designed for effective team collaboration,it mainly focuses on project management without using email.

Read more about Top 8 Project Management Tools an Entrepreneur Should Know visit Findnerd.

Wednesday 15 June 2016

List of Software Components in Android Architecture

cetizen_android6_0.jpg

Android Architecture is a bundle of software components. Android is Linux-based software stack that has some software components like operating system, middleware, native applications,  API libraries.

Android Architecture has five sections and four main layers. Each Android Architecture layer has different functionality and different services to Android operation system.

Android Architecture main parts:-
  1. Linux Kernel
  2. Native Libraries
  3. Android Runtime
  4. Application Framework
  5. Applications

Read more about the List of Software Components in Android Architecture visit Findnerd.

Friday 10 June 2016

Cordova Insomnia plugin - Keep the screen awake




This post is about cordova insomnia plugin. Which prevent the mobile screen from turn down and locking while user is not touching the screen.

This feature used in applications when we read a lengthy document or watching a video in application.

To use this feature in the app we need to install following plugin through CLI.

Read more about the Cordova Insomnia plugin - Keep the screen awake visit Findnerd.

Wednesday 1 June 2016

Image Upload using Retrofit

maxrresdefault.jpg

We are assuming you are already familiar with Retrofit. If not then first go to this. We have used multipart request for uploading image on server using Retrofit.
Following are the simple and easy steps for image uploading using Retrofit:-

Step 1: Add required dependency in your module level gradle file for using Retrofit.

Step 2: Create an interface that contain an abstract method with return type Call<ResponseBody>.

Step 3: Create a class that contains following:-
  • Base url of your server.
  • Instance of OkHttpClient.Builder.
  • Instance of Retrofit.Builder.

Read more about the Image Upload using Retrofit visit Findnerd.


Monday 30 May 2016

Shake Detector in Android

maxresdefault.jpg

In Android, the most commonly used sensors are the accelerometer, it is used to measure acceleration. Here it is explained how to detect a shake motion.
Step 1. Create Class ShakeDetector that will extend SensorEventListener:-

Step 1(a) :-  Declare the required variable :-
  1. /*gForce Must be greater than 1G (one earth gravity unit).*/
  2. private static final float THRESHOLD_GRAVITY = 3.2F;
  3. private static final int SLOP_TIME_MS = 1000; /*This decide after how much interval shake will detect */
  4. private static final int COUNT_RESET_TIME_MS = 3000;
  5. private Double mAccelCurrent, gForce = 0.00, mAccelLast = 0.00, mAccel = 0.00;
  6. private OnShakeListener mListener;
  7. private long mShakeTimestamp;
  8. private int mShakeCount;

Read more about the Shake Detector in Android visit Findnerd.

Sunday 29 May 2016

Best Practices to Create Multichannel Preview

4827.jpg

Multi Channel Preview Interface in PIM introduces user to get enriched information about the Products through different channels before the Product is actually Publish. Common Channels like mobile, web shops etc. Managing the displayed output in a particular channel for the User is the ultimate task of PIM.

Best Practices to Create The Preview are as follows :
  • Creating Multi Channel Preview.
  • Using Functions that are available
  • Best way to Include Images in the Preview Template
  • Problems to Identify

Read more about Best Practices to Create Multi Channel Preview visit Findnerd.

Wednesday 25 May 2016

7 Amazing Ways to Use Typography Effectively in Web Design

7 amazing ways.jpg

They say ‘First Impressions are the last impressions’. Whether you believe it or not, the font-faces and the typography create immense impact on the mood, user experience, readability, anticipated article length and much more. Typography is present everywhere throughout the World Wide Web. A number of missions and varied applications rely on the chosen typography fonts to legibly and cleanly convey the web-based products to the readers or target audiences.

A good Web Typography has the potential to reveal a quick response and ability to create an atmosphere, much similar to the human voice. It is one of the most important element for a successful website design.

It is very much important that a professional web designer should understand and apprehend various typography designs and principles that helps them to create a gratifying and a pleasing web design.

An Overview to HTML5

5865032805_84d3b0d7a9_b.jpg

What is HTML5?

  • It is a Hyper Text Markup Language which is used for structuring and presenting content on Internet.
  • It is the current version for HTML.
  • Its previous version was HTML 4.01.
  • It is the 5'th version of the HTML standard.
  • It's main aim to improve the language that supports latest multimedia and easily accessible for the developers.

 Some rules for HTML5:-

  1. All the new features introduced should be based on HTML, CSS , DOM , and JavaScript.
  2. It reduces the need for the additional plugins.
  3. It has better error handling technique.
  4. It is device independent.
  5. It has more markup for replacing the scripting.

Read more about An Overview to HTML5 visit Findnerd.

Tuesday 12 January 2016

What is High Availability testing?


High availability(HA) means undisrupted functioning of a system for a long time so that users face no troubles in accessing the system almost all the times. Customers expect from companies that their services will be highly available 24x7x365, especially when services that are linked to life, health, well-being etc could be paralyzed due to system failures. It’s important to note that high availability does not mean a system will never face a failure. HA means a system that is designed to manage failures and minimize downtime (time period for which system service is not available) so that services can be restored with negligible adverse impact on users. Uptime is used for a time period during which a system is in operation.
high
A system failure occurs due to failures of components in the system, resulting into downtime and non-availability of system resources, which is technically called as an outage.
Read more about High Availability Testing at FindNerd.

Monday 11 January 2016

How to create SEO friendly responsive web page using CSS

css.png
All the website are open from various screen sizes from a small mobile phone to large screen computer, so we required a webpage which adapt according to the various screen size and OS system like android phone, iPhone, Linux Ubuntu, Windows PC and Mac computers.
In my previous blog post, we discussed about How to create SEO friendly responsive web page in HTML5 . you can use css programming for the same. for making an responsive web page you required to have a separate css file or you can add some line of code to you html file. In this tutorial, we are focusing on link to external css file.
  1. <div class="w3-container w3-teal">
  2. <h1>CSS File Header</h1>
  3. </div>

  4. <img src="img&#95;car.png" alt="Car" style="width:100%">

  5. <div class="w3-container">
Here is not the end. To view the full Blog about How to create SEO friendly responsive web page using CSS visit Findnerd.
Also Explore Findnerd to view such more blogs on various Technologies such as iOS, Android, Java, C, C++, Javascript Blogs etc.