9lessons:Detect Shake in Phone using Jquery

9lessons:Detect Shake in Phone using Jquery

Link to 9lessons Programming Blog

Detect Shake in Phone using Jquery

Posted: 29 Dec 2014 06:03 PM PST

In this post I want to explain you how to implement phone shake detection using jquery. Using this I had implemented an interesting concept that shake the mobile device and get the product discount. Very easy to use add this to your e-commerce project, sure this user experience feature will attract the people for more sales. Please try these live demos with your mobile device, this works with mobile web browser device accelerometer.

Detect Shake in Phone using Jquery

Read more »


Post a Comment

Data Structures and C Programming

Data Structures and C Programming


functions in c

Posted: 23 Dec 2014 05:09 AM PST



Post a Comment

C Programming

C Programming


How To Make Continuous Vertical-Horizontal Number Pyramid

Posted: 14 Dec 2014 10:39 AM PST

Q. Write a C program of Continuous Vertical Horizontal Number Pyramid design as:

 1
 6  2
10  7  3
13 11  8 4
15 14 12 9 5

Ans.

Before we starting the coding of above number pyramid design, let's focus the following source image of above pyramid:
Showing flow of data in Number Pyramid Design
Figure: Showing flow of data in Number Pyramid Design

So, In above pyramid design it is too easy to making every rows and columns. let's starting the writing source code.

/*c program for continuous vertical horizontal number pyramid*/
#include<stdio.h>
int main()
{

 int r,c,a=1,b,y,z=5;
 for(r=1; r<=5; r++, a=a+7-r, z--)
 {
   b=a;
   y=z;
   for(c=1; c<=r; c++, b=b-y++)
      printf(" %d ",b);
   printf("\n");
 }
 getch();
 return 0;
}

/**********************************************************
The output of above program would be:
***********************************************************/
Output of How To Make Continuous Vertical Horizontal  Number Pyramid C Program
Figure: Screen shot of How To Make Continuous Vertical Horizontal
 Number Pyramid C Program

You might also like:

  1. Big list of 98+ C Pyramid Programs
  2. Latest Asking Pyramid Programs List


Post a Comment

9lessons:Create a RESTful services using Slim PHP Framework

9lessons:Create a RESTful services using Slim PHP Framework

Link to 9lessons Programming Blog

Create a RESTful services using Slim PHP Framework

Posted: 08 Dec 2014 01:16 PM PST

Two years back we had published an article called create a RESTful Services using PHP, in that most the PHP methods got depreciated. I have been looking for a simple RESTful api framework in PHP, I found few lightweight frameworks called Slim and Epiphany. In this tutorial I had implement a sample user updates RESTful web services project using Slim framework in PHP, it is very simple to implement and only focused on RESTful.

Google New reCaptcha using PHP - Are you a Robot?

Read more »


Post a Comment

9lessons:Google New reCaptcha using PHP - Are you a Robot?

9lessons:Google New reCaptcha using PHP - Are you a Robot?

Link to 9lessons Programming Blog

Google New reCaptcha using PHP - Are you a Robot?

Posted: 03 Dec 2014 07:45 PM PST

Today Google has been introduced new reCaptcha API called Are you a robot? "No Captcha reCaptcha" a complete new design captcha system. This protects your website for spammers and robots, in this post I had implemented new reCaptch API system with HTML login form using PHP. I like the new design it is clean and impressive, hope you will like it. Please take a look quick look at the demo.

Google New reCaptcha using PHP - Are you a Robot?

Read more »


Post a Comment