Skip to content

Commit 68692a6

Browse files
author
nitin-1926
committed
Re-structuring the repo
1 parent a73cd28 commit 68692a6

File tree

203 files changed

+1173
-1176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+1173
-1176
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Corona-Tracker

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,101 +1,101 @@
1-
* {
2-
margin: 0;
3-
padding: 0;
4-
box-sizing: border-box;
5-
}
6-
7-
.menu-container {
8-
color: #fff;
9-
background-color: #5995DA; /* Blue */
10-
padding: 20px 0;
11-
display: flex;
12-
justify-content: center;
13-
}
14-
/* aniket */
15-
.menu {
16-
border: 1px solid #fff;
17-
width: 900px;
18-
display: flex;
19-
justify-content: space-around;
20-
}
21-
.links {
22-
border: 1px solid #fff;
23-
display: flex;
24-
justify-content: flex-end;
25-
}
26-
27-
.login {
28-
margin-left: 20px;
29-
}
30-
.photo-grid-container {
31-
display: flex;
32-
justify-content: center;
33-
}
34-
35-
.photo-grid {
36-
width: 900px;
37-
display: flex;
38-
justify-content: center;
39-
flex-direction: row;
40-
align-items: center;
41-
42-
flex-wrap: wrap;
43-
}
44-
45-
.photo-grid-item {
46-
border: 1px solid #fff;
47-
width: 300px;
48-
height: 300px;
49-
}
50-
.first-item {
51-
order: 1;
52-
}
53-
54-
.last-item {
55-
order: -1;
56-
}
57-
.footer {
58-
display: flex;
59-
justify-content: space-between;
60-
}
61-
62-
.footer-item {
63-
border: 1px solid #fff;
64-
background-color: #D6E9FE;
65-
height: 200px;
66-
flex: 1;
67-
}
68-
.footer-three {
69-
flex: 2;
70-
}
71-
.footer-one,
72-
.footer-three {
73-
background-color: #5995DA;
74-
flex: initial;
75-
width: 300px;
76-
}
77-
.header-container {
78-
color: #5995DA;
79-
background-color: #D6E9FE;
80-
display: flex;
81-
justify-content: center;
82-
}
83-
84-
.header {
85-
width: 900px;
86-
height: 300px;
87-
align-items: stretch;
88-
display: flex;
89-
justify-content: space-between;
90-
}
91-
.social,
92-
.logo,
93-
.subscribe {
94-
border: 1px solid #5995DA;
95-
}
96-
.social,
97-
.subscribe {
98-
align-self: flex-end;
99-
margin-bottom: 20px;
100-
}
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
}
6+
7+
.menu-container {
8+
color: #fff;
9+
background-color: #5995DA; /* Blue */
10+
padding: 20px 0;
11+
display: flex;
12+
justify-content: center;
13+
}
14+
/* aniket */
15+
.menu {
16+
border: 1px solid #fff;
17+
width: 900px;
18+
display: flex;
19+
justify-content: space-around;
20+
}
21+
.links {
22+
border: 1px solid #fff;
23+
display: flex;
24+
justify-content: flex-end;
25+
}
26+
27+
.login {
28+
margin-left: 20px;
29+
}
30+
.photo-grid-container {
31+
display: flex;
32+
justify-content: center;
33+
}
34+
35+
.photo-grid {
36+
width: 900px;
37+
display: flex;
38+
justify-content: center;
39+
flex-direction: row;
40+
align-items: center;
41+
42+
flex-wrap: wrap;
43+
}
44+
45+
.photo-grid-item {
46+
border: 1px solid #fff;
47+
width: 300px;
48+
height: 300px;
49+
}
50+
.first-item {
51+
order: 1;
52+
}
53+
54+
.last-item {
55+
order: -1;
56+
}
57+
.footer {
58+
display: flex;
59+
justify-content: space-between;
60+
}
61+
62+
.footer-item {
63+
border: 1px solid #fff;
64+
background-color: #D6E9FE;
65+
height: 200px;
66+
flex: 1;
67+
}
68+
.footer-three {
69+
flex: 2;
70+
}
71+
.footer-one,
72+
.footer-three {
73+
background-color: #5995DA;
74+
flex: initial;
75+
width: 300px;
76+
}
77+
.header-container {
78+
color: #5995DA;
79+
background-color: #D6E9FE;
80+
display: flex;
81+
justify-content: center;
82+
}
83+
84+
.header {
85+
width: 900px;
86+
height: 300px;
87+
align-items: stretch;
88+
display: flex;
89+
justify-content: space-between;
90+
}
91+
.social,
92+
.logo,
93+
.subscribe {
94+
border: 1px solid #5995DA;
95+
}
96+
.social,
97+
.subscribe {
98+
align-self: flex-end;
99+
margin-bottom: 20px;
100+
}
101101

Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
1-
<!DOCTYPE html>
2-
<html lang='en'>
3-
<head>
4-
<meta charset='UTF-8'/>
5-
<title>Some Web Page</title>
6-
<link rel='stylesheet' href='flexbox.css'/>
7-
</head>
8-
<body>
9-
<div class='menu-container'>
10-
<div class='menu'>
11-
<div class='date'>Aug 14, 2016</div>
12-
<div class='links'>
13-
<div class='signup'>Sign Up</div> <!-- This is nested now -->
14-
<div class='login'>Login</div> <!-- This one too! -->
15-
</div>
16-
</div>
17-
18-
</div>
19-
<div class='header-container'>
20-
<div class='header'>
21-
<div class='subscribe'>Subscribe &#9662;</div>
22-
<div class='logo'><img src='images/awesome-logo.svg'/></div>
23-
<div class='social'><img src='images/social-icons.svg'/></div>
24-
</div>
25-
26-
</div>
27-
<div class='photo-grid-container'>
28-
<div class='photo-grid'>
29-
<div class='photo-grid-item first-item'>
30-
<img src='images/one.svg'/>
31-
</div>
32-
<div class='photo-grid-item'>
33-
<img src='images/two.svg'/>
34-
</div>
35-
<div class='photo-grid-item'>
36-
<img src='images/three.svg'/>
37-
</div>
38-
<div class='photo-grid-item'>
39-
<img src='images/four.svg'/>
40-
</div>
41-
<div class='photo-grid-item last-item'>
42-
<img src='images/five.svg'/>
43-
</div>
44-
</div>
45-
</div>
46-
<div class='footer'>
47-
<div class='footer-item footer-one'></div>
48-
<div class='footer-item footer-two'></div>
49-
<div class='footer-item footer-three'></div>
50-
</div>
51-
52-
</body>
53-
</html>
1+
<!DOCTYPE html>
2+
<html lang='en'>
3+
<head>
4+
<meta charset='UTF-8'/>
5+
<title>Some Web Page</title>
6+
<link rel='stylesheet' href='flexbox.css'/>
7+
</head>
8+
<body>
9+
<div class='menu-container'>
10+
<div class='menu'>
11+
<div class='date'>Aug 14, 2016</div>
12+
<div class='links'>
13+
<div class='signup'>Sign Up</div> <!-- This is nested now -->
14+
<div class='login'>Login</div> <!-- This one too! -->
15+
</div>
16+
</div>
17+
18+
</div>
19+
<div class='header-container'>
20+
<div class='header'>
21+
<div class='subscribe'>Subscribe &#9662;</div>
22+
<div class='logo'><img src='images/awesome-logo.svg'/></div>
23+
<div class='social'><img src='images/social-icons.svg'/></div>
24+
</div>
25+
26+
</div>
27+
<div class='photo-grid-container'>
28+
<div class='photo-grid'>
29+
<div class='photo-grid-item first-item'>
30+
<img src='images/one.svg'/>
31+
</div>
32+
<div class='photo-grid-item'>
33+
<img src='images/two.svg'/>
34+
</div>
35+
<div class='photo-grid-item'>
36+
<img src='images/three.svg'/>
37+
</div>
38+
<div class='photo-grid-item'>
39+
<img src='images/four.svg'/>
40+
</div>
41+
<div class='photo-grid-item last-item'>
42+
<img src='images/five.svg'/>
43+
</div>
44+
</div>
45+
</div>
46+
<div class='footer'>
47+
<div class='footer-item footer-one'></div>
48+
<div class='footer-item footer-two'></div>
49+
<div class='footer-item footer-three'></div>
50+
</div>
51+
52+
</body>
53+
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

hello Divyansh/hello

File renamed without changes.

myfile.java Divyansh/myfile.java

File renamed without changes.

welcome Divyansh/welcome

File renamed without changes.

wrapper.html Divyansh/wrapper.html

File renamed without changes.

DragonFly-Game

-1
This file was deleted.
File renamed without changes.
File renamed without changes.

jquery.txt Inder/jquery.txt

File renamed without changes.

stack.C MuskanGoyal/stack.C

File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
import java.net.*;
2-
import java.util.*;
3-
import java.io.*;
4-
5-
public class ClientProgram implements Runnable{
6-
int clientport = 10,serverport = 20;
7-
DatagramSocket dc;
8-
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
9-
Thread recThread;
10-
ClientProgram() throws Exception{
11-
dc = new DatagramSocket(clientport);
12-
recThread = new Thread(this);
13-
recThread.start();
14-
senddd();
15-
}
16-
public void senddd() throws Exception{
17-
while(true){
18-
String data = br.readLine();
19-
if(data.equals("EXIT"))
20-
break;
21-
DatagramPacket dp = new DatagramPacket(data.getBytes(),data.length(),InetAddress.getLocalHost(),serverport);
22-
dc.send(dp);
23-
}
24-
dc.close();
25-
}
26-
public void run(){
27-
byte b[] = new byte[1000];
28-
while(true){
29-
try{
30-
DatagramPacket dp = new DatagramPacket(b,b.length);
31-
dc.receive(dp);
32-
String data = new String (b,0,dp.getLength());
33-
System.out.println("Server:"+data);
34-
}
35-
catch(Exception e){}
36-
}
37-
}
38-
public static void main(String[] args) throws Exception {
39-
new ClientProgram();
40-
}
41-
}
1+
import java.net.*;
2+
import java.util.*;
3+
import java.io.*;
4+
5+
public class ClientProgram implements Runnable{
6+
int clientport = 10,serverport = 20;
7+
DatagramSocket dc;
8+
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
9+
Thread recThread;
10+
ClientProgram() throws Exception{
11+
dc = new DatagramSocket(clientport);
12+
recThread = new Thread(this);
13+
recThread.start();
14+
senddd();
15+
}
16+
public void senddd() throws Exception{
17+
while(true){
18+
String data = br.readLine();
19+
if(data.equals("EXIT"))
20+
break;
21+
DatagramPacket dp = new DatagramPacket(data.getBytes(),data.length(),InetAddress.getLocalHost(),serverport);
22+
dc.send(dp);
23+
}
24+
dc.close();
25+
}
26+
public void run(){
27+
byte b[] = new byte[1000];
28+
while(true){
29+
try{
30+
DatagramPacket dp = new DatagramPacket(b,b.length);
31+
dc.receive(dp);
32+
String data = new String (b,0,dp.getLength());
33+
System.out.println("Server:"+data);
34+
}
35+
catch(Exception e){}
36+
}
37+
}
38+
public static void main(String[] args) throws Exception {
39+
new ClientProgram();
40+
}
41+
}
File renamed without changes.

0 commit comments

Comments
 (0)