Hub Of Geekz

  • Home
  • About Me
  • Contact Us
  • Home
  • Languages
    • C++
    • Java
    • Perl
    • Prolog
    • Bootstrap
  • Database
    • SQL
    • PL/SQL
  • Study
    • Java
      • Java Collection
      • Java Concurrency
      • Java Interview Questions
      • Java Networking
    • Number System
  • Kavita
  • Entertainment
    • Hinglish Cafe
    • Videos
    • Jokes
  • Windows Tricks
  • How To

Saturday, 21 February 2015

Buttons in Bootstrap

 Earthcare Foundation NGO     00:07     Bootstrap     No comments   

<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains an example of different types of buttons.
</h3>
<div class="container"></div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-primary btn-xs ">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-primary btn-sm ">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-primary btn-lg ">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-default btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-default btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-default btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-success btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-success btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-success btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-info btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-info btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-info btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-warning btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-warning btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-warning btn-lg">Button</a>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<a href="#" class="btn btn-danger btn-xs">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-danger btn-sm">Button</a>
</div>
<div class="col-lg-4">
<a href="#" class="btn btn-danger btn-lg">Button</a>
</div>
</div>
</div>
<script src="js/jquery.js"></script>
  <script src="js/bootstrap.js"></script>
</body>
</html>




style.css

.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}



Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Simple form using Bootstrap

 Earthcare Foundation NGO     00:03     Bootstrap     No comments   

<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains a basic form.
</h3>
<div class="container">
<form class="form">
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control" id="name" placeholder="Enter your Name"/>
</div>
<div class="form-group">
<label for="age">Age</label>
<input type="text" class="form-control" id="age" placeholder="Enter your Age"/>
</div>
<div class="form-group">
<label for="no">Number</label>
<input type="text" class="form-control" id="no" placeholder="Enter your Mobile Number"/>
</div>
<div class="form-group">
<label for="gr">Gender</label>
<input type="text" class="form-control" id="gr" placeholder="Enter your Gender"/>
</div>
<div class="form-group">
<label for="email">E-Mail</label>
<input type="mail" class="form-control" id="mail" placeholder="Enter your E-Mail Id"/>
</div>
<div class="form-group">
<label for="intro">Description</label>
<textarea class="form-control" id="intro" placeholder="Enter something about yourself"></textarea>
</div>
<button type="submit" class="btn btn-info">Submit</button>
<button type="reset" class="btn btn-info">Reset</button>
</form>
</div>
<script src="js/jquery.js"></script>
  <script src="js/bootstrap.js"></script>
</body>
</html>




style.css


.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}




Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Friday, 20 February 2015

Badges in Bootstrap

 Earthcare Foundation NGO     23:59     Bootstrap     No comments   

<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains an example of badges.We have seen it many where such as in our mailboxes we mostly see notification that inbox23 means 23 mails are unread there we use this concept.
</h3>
<center><a href="#" class="btn btn-success btn-lg">Inbox <span class="badge">100</span></a></center>
<script src="js/jquery.js"></script>
  <script src="js/bootstrap.js"></script>
</body>
</html>



style.css

.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}



Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Grid Layout in Bootstrap

 Earthcare Foundation NGO     23:52     Bootstrap     No comments   

This post explains about grid layout in Bootstrap.We can have at most 12 columns and infinite rows using bootstrap on a page.
col-xs-*  for extra smaller devices
col-sm-* for smaller devices
col-md-* for medium devices
col-lg-* for larger devices

* represents a number between 1-12 since we can ave at most 12 columns
col-xs-2 means this column will span on two columns of bootstrap.


<!DOCTYPE html>
<html lang="en">
<head>
<link href="css/style.css" rel="stylesheet">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>My First Bootstrap Application</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
</head>
<body>
<h3 class="head">This page contains columns.
In smaller devices such as tablets all four columns will be in the same row
and in extra small devices such as mobile one row contain 2 columns. </h3>
<div class="container">
<div class="row">
<div class="col-sm-3 col-xs-6 col1">
<h1>Abishek</h1>
</div>
<div class="col-sm-3 col-xs-6 col2" >
<h1>Shashank</h1>
</div>
<div class="col-sm-3 col-xs-6 col3">
<h1>Abhinav</h1>
</div>
<div class="col-sm-3 col-xs-6 col4">
<h1>Atal</h1>
</div>
</div>
</div>
<script src="js/jquery.js"></script>
  <script src="js/bootstrap.js"></script>
</body>
</html>



Style.css


.col1{
background: red;
}
.col2{
background: green;
}
.col3{
background: yellow;
}
.col4{
background: blue;
}
.head{
background: yellow;
}



Output:






Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Saturday, 31 January 2015

Fanna Khafa Juda Nirmal Awasthi Nilesh Tripathi

 Kavita house     15:31     No comments   

dear friends

this is my firsht video song please view link and kindly comment for this what is good
or if any implementation need then please suggest me 

your freind 
NIRMAL AWASTHI

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Wednesday, 14 January 2015

Scalar variables in Perl

 Earthcare Foundation NGO     00:18     Perl     No comments   

A scalar variable is a variable in Perl in which we can store exactly one item- a line of input,a piece of text,a number etc.

The name of a scalar variable starts with a dollar ($) sign followed by at least one letter which is followed by any number  of digits or letters or underscore (_) sign.

For ex

$x
$var
$var1
$v_1_3_w

all are valid examples of scalar variables.

For ex

var
12
$12
$_ 
are not valid examples of scalar variables.

We can assign values to these variables by using assignment operator (=).
As $var=10;
here value 10 is assigned to variable $var.

These variables can be of any length.
$this_is_really_a_very_very_very_long_variable
is a valid variable.

The variables are case sensitive in Perl
means $var and $Var are different scalar variables.


Here is a simple program

#!/perl64/bin/perl 
 $scalar_variable=10;
 print("The value of scalar variable is ", $scalar_variable);


Output:

               The value of scalar variable is 10
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Tuesday, 13 January 2015

Perl Basics

 Earthcare Foundation NGO     23:27     Perl     No comments   

Perl is an interpreted high-level programming language developed by Larry Wall.
Perl stands for practical extraction ans reporting language.It is basically a scripting language, which is compiled each time before running. It is a powerful and famous scripting language now a days.

For writing programs in Perl you just need a text editor in which you can write the program and then save it with .pl extension and you need a Perl interpreter.
So now here is the first program which is hello world in Perl

Program:

           #!/perl64/bin/perl 
           print ("Hello, world!\n");

Output:

Hello, world!


So now we have run our first Perl program.Its very simple.We use print function for printing anything as output.


On Windows we can use notepad for writing the programs and command prompt for running perl programs.
For this first we have to tell the system where the Perl interpreter is?For this we just go to the folder where the Perl interpreter is.Normally in windows default location for Perl is in C drive .

cd perl64
cd bin

and then for running the program
perl hello.pl


where hello.pl is the name of the program.




”
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Wednesday, 17 December 2014

The Leader

 Earthcare Foundation NGO     08:49     Social Services     No comments   

Who is leader??
What makes anyone a leader??
What should be the properties of a leader??
Do you want to become a leader??
Answer to first question,Who is leader??
So according to me a leader is anyone who leads others and able to convince them.
In other words,A leader is someone who organizes a group of people and then achieve a common goal with them.
Now next question, What makes anyone a leader??
If anyone is able to convince others and complete the task with help of others then he has the ability to become a leader.
Now next question,What should be the properties of a leader??
According to me a leader should have the following properties:
Self confidence
Ability to convince other
Control on anger(Cool Minded)
Now next question,Do you want to become a leader??
So do you want to become a leader.If yes then at least you have to follow the above steps.
If you have other views about leadership then comment.I would like to receive the comments. 


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Posts Older Posts Home

Ad


Jobsmag.inIndian Education BlogThingsGuide

Subscribe

Do you want fresh and hot updates about us? Then subscribe to our Feeds.

Total Pageviews

Popular Posts

  • Write a program in PL/SQL to print the factorial of a number.
    In this post I will explain how to get the factorial of any given number. For that first you need to know what is the procedure to find ...
  • To find the GCD of two numbers in PROLOG.
    gcd(X,Y):-X=Y,write('GCD of two numbers is '),write(X); X=0,write('GCD of two numbers is '),write(Y); Y=0,write('G...
  • Write a PL/SQL code to get the Fibonacci Sequence
    First, I will explain what is Fibonacci Sequence and how to get this series. So, Fibonacci Sequence is a series of numbers 0,1,1,2,3,5,8,1...

Label

All Articles Best Resources Blogging Boost Traffic Bootstrap C Plus Plus Collection Comedy Comedy Posts Comedy Videos Concurrency creative commons website Education Employee Entertainment Fibonacci Sequence free images GirlFriend Hinglish Cafe How To Image Websites Inspirational Java Java Interview Questions Java Networking Kavita Sangrah Life Lock Sreen Love Number System Patterns Perl Picture PL/SQL Plastic Engineering Programming Prolog public domain SEO Servlet Short Story Shortcut Keys Social Media Social Services SQL SuVichar Thread Traffic True Events Ultimate Guide Windows Tricks Windows8.1 WordPress

Blog Archive

  • ▼  2020 (43)
    • ▼  September (41)
      • कुल 33 प्रकार के देवी देवता हैँ हिँदू धर्म मे
      • तीन ऋण -
      • चारपीठ
      • चार युगों के नाम
      • चार धाम
      • चार वेद
      • चार आश्रम
      • चार अंतःकरण
      • पञ्च गव्य
      • पञ्च देव
      • पंच तत्त्व
      • छह दर्शन
      • दो पक्षो के नाम
      • सप्त ऋषियों के नाम
      • सप्त पुरी के नाम
      • आठ योग
      • आठ लक्ष्मी
      • नव दुर्गा
      • दस दिशाओ के नाम
      • प्रभु विष्णु के ११ अवतार
      • सनातन संस्कृति के अनुसार बारह महीनों के नाम
      • बारह राशियों के नाम
      • श्री मद्-भगवत गीता"के बारे में महत्वपूर्ण जानकारी
      • धृतराष्ट्र और गांधारी के सौ पुत्र….. कौरव कहलाए ज...
      • पांच पांडवो की माताओ के नाम
      • पांच पांडव के नाम
      • Important Toll Free numbers in India
      • बारह शिव ज्योतिर्लिंग
      • Full form of technical words
      • Full form of abbreviations
      • Trigonometry formulas
      • Chemistry symbols
      • भारतीय संविधान - प्रश्न उत्तर
      • General knowledge question answer
      • Physics formula and relations
      • General knowledge question answer
      • फल/फुल/सब्जी आदि का वैज्ञानिक नाम
      • Chemistry के इम्पोर्टेन्ट सिम्बल्स
      • गणित के महत्वपूर्ण चिन्ह,,
      • पंद्रह तिथियाँ
      • Phrasal Verbs :
    • ►  August (2)
  • ►  2019 (1)
    • ►  July (1)
  • ►  2018 (9)
    • ►  September (7)
    • ►  July (1)
    • ►  May (1)
  • ►  2017 (8)
    • ►  June (3)
    • ►  May (3)
    • ►  March (1)
    • ►  January (1)
  • ►  2016 (2)
    • ►  September (1)
    • ►  January (1)
  • ►  2015 (91)
    • ►  December (1)
    • ►  November (1)
    • ►  October (6)
    • ►  May (10)
    • ►  March (20)
    • ►  February (50)
    • ►  January (3)
  • ►  2014 (339)
    • ►  December (1)
    • ►  October (55)
    • ►  September (58)
    • ►  August (94)
    • ►  July (64)
    • ►  June (67)
  • ►  2013 (34)
    • ►  August (5)
    • ►  April (29)
  • ►  2012 (20)
    • ►  November (1)
    • ►  October (15)
    • ►  September (4)

Author

  • Earthcare Foundation NGO
  • Kavita house
  • Unknown
  • Unknown

Info

Copyright © Hub Of Geekz | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates