Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 431
» Latest member: ydezi
» Forum threads: 91
» Forum posts: 99

Full Statistics

Online Users
There are currently 5 online users.
» 0 Member(s) | 5 Guest(s)

Latest Threads
Ravishankar Chavare
SQLiteDatabse In Android

Forum: Android
Last Post: Ravishankar Chavare
02-21-2018, 04:37 PM
» Replies: 0
» Views: 39
Ravishankar Chavare
Add Stylish Toast In Your...

Forum: Android
Last Post: Ravishankar Chavare
02-03-2018, 06:26 AM
» Replies: 0
» Views: 302
Ravishankar Chavare
Github Integration In And...

Forum: Android
Last Post: Ravishankar Chavare
02-02-2018, 06:22 PM
» Replies: 0
» Views: 155
Ravishankar Chavare
Be off campus job opening...

Forum: Off campus
Last Post: Ravishankar Chavare
01-19-2018, 12:54 PM
» Replies: 0
» Views: 329
Ravishankar Chavare
HSBC Java J2EE/Software E...

Forum: Direct Walkins
Last Post: Ravishankar Chavare
01-10-2018, 04:32 PM
» Replies: 0
» Views: 580
Ravishankar Chavare
Barclays Repo Developer

Forum: Direct Walkins
Last Post: Ravishankar Chavare
01-10-2018, 04:23 PM
» Replies: 0
» Views: 129
Ravishankar Chavare
Bently Hiring Software En...

Forum: Direct Walkins
Last Post: Ravishankar Chavare
01-10-2018, 04:13 PM
» Replies: 0
» Views: 83
Ravishankar Chavare
Function in

Forum: C
Last Post: Ravishankar Chavare
01-10-2018, 02:21 PM
» Replies: 0
» Views: 514
Ravishankar Chavare
Why C Programming

Forum: C
Last Post: Ravishankar Chavare
01-10-2018, 01:48 PM
» Replies: 0
» Views: 155
Ravishankar Chavare
Build Responsive Website ...

Forum: Udemy
Last Post: Ravishankar Chavare
01-06-2018, 06:56 AM
» Replies: 2
» Views: 620

 
  Part 1- Introduction of AngularJS
Posted by: admin - 12-02-2017, 05:59 PM - Forum: Angular Js - No Replies

[Image: JHiQslK.png]

Hello friends today  i am teaching you basic introduction about AngularJS

What is AngularJS?

AngularJS is a JavaScript-based open-source front-end web application framework mainly maintained by Google and by a community of individuals and corporations to address many of the challenges encountered in developing single-page applications. AngularJS version 1.0 was released in 2012.



Before to start learn AngularJS we assume that you alredy know the following languages

1. HTML (Hyper TextMarkup Language)
2. JS (JavaScript)
3. CSS (Cascading Style Sheets)


 AngularJS is very popular powerfull web application framework maintained by Google.



Why do we need AngularJS?

-AngularJS provide mvc architecture
-write less code
-flexibility with codes
-unit testing ready

Print this item

  What is the output of following code
Posted by: Ravishankar Chavare - 11-30-2017, 08:50 AM - Forum: C - No Replies

What will be output of following programs
[Image: IMG_20171130_WA0002.jpg]

Answer:
On line 4 of main program evaluation of right side will be done because of "=" operator. So right side as there are only logic operators RHS will be evaluated from Left to right

So from left side "||" comes first and therefore (++x) value is checked to be true/false value
And as we know ++x is a truthy value, further condition is not checked

So ++y && ++z is not executed

Finally z value = 1
x value is incremented by 1 (because of ++x)
And y value is 1 due to initial declaration

So ans = 2,1,1?
If you don't get this, pm me, i will help further.

Print this item

  WhatsApp group for PHP Programming
Posted by: admin - 11-30-2017, 05:13 AM - Forum: Php - No Replies

[Image: NzOrFC-PcXva2setA0BU2cceQZyLUX0JgCcW3iv1...22-h282-nc]

Hello friends today we have created a WhatsApp group for PHP learning join following group


JOIN PHP GROUP HERE

Rules
-only discuss PHP related questions and answers
-spammers don't allowed here

Print this item

  How to create a unique key using php
Posted by: admin - 11-29-2017, 04:12 PM - Forum: Php - No Replies

Hello friends every web application or android app has user registration function we provide username and password for user verification with this verification we can easily add a simple unique token.
Today i am teaching you to how to create a unique token using php 

create following files

 token.php

PHP Code:
<?php
   function crypto_rand_secure
($min$max)
{
    $range $max $min;
    if ($range 1) return $min// not so random...
    $log ceil(log($range2));
    $bytes = (int) ($log 8) + 1// length in bytes
    $bits = (int) $log 1// length in bits
    $filter = (int) (<< $bits) - 1// set all lower bits to 1
    do {
        $rnd hexdec(bin2hex(openssl_random_pseudo_bytes($bytes)));
        $rnd $rnd $filter// discard irrelevant bits
    } while ($rnd $range);
    return $min $rnd;
}

function 
getToken($length)
{
    $token "";
    $codeAlphabet "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    $codeAlphabet.= "abcdefghijklmnopqrstuvwxyz";
    $codeAlphabet.= "0123456789";
    $max strlen($codeAlphabet); // edited

    for ($i=0$i $length$i++) {
        $token .= $codeAlphabet[crypto_rand_secure(0$max-1)];
    }

    return $token;
}

?>

in which file do you want to create token add following code
PHP Code:
include "token.php";
 
$uniquetoken=md5(getToken(20));

echo 
$uniquetoken


Note:If you want to create 15digit token key just replace 20 in getToken with your 15

Print this item

  can u guys help me to write a program and print this 1 121 12321 1234321
Posted by: admin - 11-29-2017, 12:43 PM - Forum: C - No Replies

can u guys help me to write a program and print this in c programs
1
121
12321
1234321

Print this item

  What is the output of following code
Posted by: admin - 11-28-2017, 02:57 AM - Forum: C - Replies (1)

What will be output of this c program and give reason
1.

Code:
int main(){
    
    printf("%d\n",sizeof('P'));
    return 0;
}


2.
Code:
int main(){
    char ch = 'P';
    printf("%d\n",sizeof(ch));
    return 0;
}

Print this item

  How to post new thread with stylish customization
Posted by: admin - 11-26-2017, 03:54 PM - Forum: Help - No Replies

You can use MyCode, a simplified version of HTML, in your posts to create certain effects.

1.Bold text

Code:
[b] This text is bold [/b]
Output:
This text is bold


2.Italicized text
Code:
[i] This text is italicized [/i]
Output:
This text is italicized


3.Underlined text
Code:
[u] This text is underlined [/u]
Output:
This text is underlined


4.Text is struck out
Code:
[s]This text is struck out[/s]
Output:
This text is struck out



5.url code
Code:
[Url]http://ravisblogs.com[/url]
Output:
http://ravisblogs.com


6.url code with customize
Code:
[url=http://ravisblogs.com]http://ravisblogs.com[/url]
Output:
ravisblog


7.Email
Code:
[email]board@protutr.com[/email]
Output:
board@protutr.com


8.Email with customize string
Code:
[email=board@protutr.com]protutr email[/email]
Output:
protutr email


9.Quoted text
Code:
[quote]Quoted text will be here[/quote]
Output:
Quote:Quoted text will be here

10.Text with preserve formating for code
Code:
[code]Text with preserved formatting
[/code]
Output:
Code:
Text with preserved formatting


11.Images
Code:
[img]https://secure.php.net/images/php.gif[/img]
Output:
[Image: php.gif]


12.Images with size defined
Code:
[img=50x50]https://secure.php.net/images/php.gif[/img]
Output:
[Image: php.gif]


13.Text color
Code:
[color=red]This text is red[/color]
Output:
This text is red


14.Text size
Code:
[size=3]This text is size 3[/size]
Output:
This text is size 3


15.Text Font
Code:
[font=Tahoma]This font is Tahoma[/font]
Output:
This font is Tahoma


16.Text center
Code:
[align=center]This is centered[/align]
[align=right]This is right-aligned[/align]
Output:
This is centered
This is right-aligned


17.List
Code:
[list]
[*]List Item #1
[*]List Item #2
[*]List Item #3
[/list]
Output:
  • List Item #1
  • List Item #2
  • List Item #3

You can make an ordered list by using
  1. for a numbered, and
    1. for an alphabetical list.

Print this item

Photo How to add Image inside a post
Posted by: admin - 11-26-2017, 02:49 PM - Forum: Help - No Replies

Code:
[img* imageurl [/img]

Note:replace * with [

Output:
[Image: photo-1486312338219-ce68d2c6f44d?auto=fo...Ozs7Ozs%3D]

Print this item

  How to add code block inside a thread
Posted by: admin - 11-25-2017, 03:19 PM - Forum: Help - Replies (1)

Syntax

[code*
Enter here your code
[/code]

Note:replace * with [


Code:
 
Example output
Appear code here which code added inside code block

Print this item

  This is android first Post
Posted by: Ravishankar Chavare - 11-25-2017, 02:44 PM - Forum: Android - No Replies

Hello Android

Print this item