├── typing-speed-js-master
├── README.md
├── public
│ ├── Snapshot.JPG
│ ├── style.css
│ └── index.js
└── index.html
├── Calculator using Tkinter
├── readme.md
└── calc.py
├── Validation using JS
├── readme.md
├── Screenshot (10).png
├── Screenshot (11).png
└── valid.html
├── Contact List using Tkinter
├── readme.md
├── __pycache__
│ └── phones.cpython-38.pyc
├── phones.py
└── phone.py
├── img-to-sketch
├── a.jpg
└── imgsketch.py
├── Payment_Gateway_Integration
├── bg.jpg
├── style.css
└── index.html
├── Student Registration Portal
├── Sigin.jpg
├── camp.jpg
├── bg.jpg.jpg
├── sihagad.jpg
├── wel.html
├── success.html
├── login.css
├── signin.css
├── home.css
├── login.html
├── Signin.html
└── signin.php
├── Angular JS form Submit
├── Screenshot (8).png
├── Screenshot (9).png
├── angu.js
└── angu.html
├── README.md
├── My First Firebase app
├── package.json
├── README.md
├── style.css
├── index.html
├── index.js
├── LICENSE.txt
└── .vscode
│ └── settings.json
├── Talking paragraph Using HTML & CSS
├── style.css
└── index.html
└── Form using Tkinter.py
/typing-speed-js-master/README.md:
--------------------------------------------------------------------------------
1 | # typing-speed-js
--------------------------------------------------------------------------------
/Calculator using Tkinter/readme.md:
--------------------------------------------------------------------------------
1 |
Simple Calculator using Tkinter
2 |
--------------------------------------------------------------------------------
/Validation using JS/readme.md:
--------------------------------------------------------------------------------
1 | This is Validation of Form using JS
2 |
--------------------------------------------------------------------------------
/Contact List using Tkinter/readme.md:
--------------------------------------------------------------------------------
1 | Contact List Manipulation using Tkinter
2 |
--------------------------------------------------------------------------------
/img-to-sketch/a.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arjundhav/Miniprojects/main/img-to-sketch/a.jpg
--------------------------------------------------------------------------------
/Payment_Gateway_Integration/bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arjundhav/Miniprojects/main/Payment_Gateway_Integration/bg.jpg
--------------------------------------------------------------------------------
/Student Registration Portal/Sigin.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arjundhav/Miniprojects/main/Student Registration Portal/Sigin.jpg
--------------------------------------------------------------------------------
/Student Registration Portal/camp.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arjundhav/Miniprojects/main/Student Registration Portal/camp.jpg
--------------------------------------------------------------------------------
/Student Registration Portal/bg.jpg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arjundhav/Miniprojects/main/Student Registration Portal/bg.jpg.jpg
--------------------------------------------------------------------------------
/Student Registration Portal/sihagad.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arjundhav/Miniprojects/main/Student Registration Portal/sihagad.jpg
--------------------------------------------------------------------------------
/Validation using JS/Screenshot (10).png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arjundhav/Miniprojects/main/Validation using JS/Screenshot (10).png
--------------------------------------------------------------------------------
/Validation using JS/Screenshot (11).png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arjundhav/Miniprojects/main/Validation using JS/Screenshot (11).png
--------------------------------------------------------------------------------
/Angular JS form Submit/Screenshot (8).png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arjundhav/Miniprojects/main/Angular JS form Submit/Screenshot (8).png
--------------------------------------------------------------------------------
/Angular JS form Submit/Screenshot (9).png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arjundhav/Miniprojects/main/Angular JS form Submit/Screenshot (9).png
--------------------------------------------------------------------------------
/typing-speed-js-master/public/Snapshot.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arjundhav/Miniprojects/main/typing-speed-js-master/public/Snapshot.JPG
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Mini-Projects
2 |
3 | This repository is collection of short projects, you could try and implement these in your larger project.
4 |
--------------------------------------------------------------------------------
/Contact List using Tkinter/__pycache__/phones.cpython-38.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/arjundhav/Miniprojects/main/Contact List using Tkinter/__pycache__/phones.cpython-38.pyc
--------------------------------------------------------------------------------
/My First Firebase app/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "js-5pf7ig",
3 | "version": "0.0.0",
4 | "private": true,
5 | "dependencies": {
6 | "@firebase/util": "^0.2.45",
7 | "firebase": "^7.14.1",
8 | "firebaseui": "^4.5.0"
9 | }
10 | }
--------------------------------------------------------------------------------
/Contact List using Tkinter/phones.py:
--------------------------------------------------------------------------------
1 | phonelist = [['Kunal', 'Jadhav', '241-343-4349'],
2 | ['Pratik', 'Jadhav', '202-689-1234'],
3 | ['Yogesh', 'Pawar', '609-483-5432'],
4 | ['Vivek', 'Oberio', '215-683-2341'],
5 | ['Salman', 'Khan', '571-485-2689'],
6 | ['Sai', 'Kadam', '703-987-6543']
7 | ]
--------------------------------------------------------------------------------
/Student Registration Portal/wel.html:
--------------------------------------------------------------------------------
1 |
2 | Welcome
3 |
4 |
5 | Congrats U have Logged in Successfully
6 |
7 |
--------------------------------------------------------------------------------
/Angular JS form Submit/angu.js:
--------------------------------------------------------------------------------
1 | var app=angular.module("simpleApp",[]);
2 | app.controller("simpleController",function($scope)
3 | {
4 | $scope.collection=[
5 | {name:"Arjun",age:22,city:"Nanded"},
6 | {name:"Yash",age:21,city:"Pune"}];
7 | $scope.addEntry=function()
8 | {
9 | $scope.collection.push($scope.newData);
10 | $scope.newData='';
11 | };
12 | });
--------------------------------------------------------------------------------
/Student Registration Portal/success.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Sign Up
4 |
5 |
6 |
7 |
8 | You Have Signed in Succesfully
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Student Registration Portal/login.css:
--------------------------------------------------------------------------------
1 | body {
2 | background: black;
3 | font-family: sans-serif;
4 | background-image: url('bg.jpg.jpg');
5 | background-repeat: no-repeat;
6 | background-attachment: fixed;
7 | background-size: cover;
8 | }
9 |
10 | .heading {
11 | background: #b4e014;
12 | margin: 0 120px 0 100px;
13 | text-align: center;
14 | text-transform: uppercase;
15 | font-style: oblique;
16 | font-size: 19px;
17 | font-weight: bold;
18 | padding: 05px;
19 | }
--------------------------------------------------------------------------------
/Student Registration Portal/signin.css:
--------------------------------------------------------------------------------
1 | body {
2 | background: black;
3 | font-family: sans-serif;
4 | background: black;
5 | font-family: sans-serif;
6 | background-image: url('Sigin.jpg');
7 | background-repeat: no-repeat;
8 | background-attachment: fixed;
9 | background-size: cover;
10 | }
11 |
12 | .heading {
13 | background: #1097cc;
14 | color: black;
15 | text-align: center;
16 | text-transform: uppercase;
17 | font-style: oblique;
18 | font-size: 19px;
19 | font-weight: bold;
20 | padding: 05px;
21 | }
--------------------------------------------------------------------------------
/Talking paragraph Using HTML & CSS/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | padding: 0;
4 | background: white;
5 | overflow: hidden;
6 | }
7 | section {
8 | background: #ffee25;
9 | }
10 | p {
11 | font-size: 13px;
12 | line-height: 10px;
13 | background: url(https://media.giphy.com/media/41x8G9RQjdKSKbO7it/giphy.gif) no-repeat;
14 | background-size: cover;
15 | background-position: center;
16 | background-attachment: fixed;
17 | -webkit-background-clip: text;
18 | -webkit-text-fill-color: rgba(255,255,255,0);
19 | font-weight: 900;
20 | margin: 0;
21 | mix-blend-mode: darken;
22 | }
--------------------------------------------------------------------------------
/Student Registration Portal/home.css:
--------------------------------------------------------------------------------
1 | body {
2 | margin: 0;
3 | padding: 0;
4 | background: black;
5 | font-family: sans-serif;
6 | font-weight: bold;
7 | }
8 |
9 | .wrapper {
10 | position: relative;
11 | width: 100%;
12 | height: 100%;
13 | overflow: hidden;
14 | }
15 |
16 | .wrapper video {
17 | position: absolute;
18 | top: 0;
19 | left: 0;
20 | width: 100%;
21 | height: 100%;
22 | }
23 |
24 | .wrapper h3 {
25 | width: 100%;
26 | height: 100%;
27 | margin: 0;
28 | background-color: #fff;
29 | text-align: center;
30 | mix-blend-mode: screen;
31 | text-transform: uppercase;
32 | font-size: 250px;
33 | font-weight: 600;
34 | }
--------------------------------------------------------------------------------
/My First Firebase app/README.md:
--------------------------------------------------------------------------------
1 | # WTM Summit 2019 Firebase Workshop
2 |
3 | Check out each step:
4 | * https://stackblitz.com/edit/wtm-start
5 | * https://stackblitz.com/edit/wtm-checkpoint1
6 | * https://stackblitz.com/edit/wtm-checkpoint2
7 | * https://stackblitz.com/edit/wtm-checkpoint3
8 | * https://stackblitz.com/edit/wtm-next-steps
9 |
10 | ### How to use
11 | 1) Create a project in the Firebase console
12 | 2) Enable
13 | * Firestore (with rules in test mode) - https://console.firebase.google.com/u/0/project/_/database
14 | * Email / Password Auth - https://console.firebase.google.com/u/0/project/_/authentication/providers
15 | 3) Add a web app, and add the config snippet to index.js after `// Add Firebase config here`- https://console.firebase.google.com/u/0/project/_/settings/general/web
16 |
--------------------------------------------------------------------------------
/Angular JS form Submit/angu.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | AngularJS Form Submit Application
8 |
9 |
10 | No
11 | Name
12 | Age
13 | City
14 |
15 | {{$index+1}}
16 | {{entry.name}}
17 | {{entry.age}}
18 | {{entry.city}}
19 |
20 |
21 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/typing-speed-js-master/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Typing Speed Tester!
4 |
5 |
6 |
7 |
8 |
9 |
Typing Speed Tester!
10 |
11 |
33 |
34 |
35 |
36 |
38 |
39 |
Start
40 |
Restart
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/Form using Tkinter.py:
--------------------------------------------------------------------------------
1 | # Import the Required libraries
2 | from tkinter import *
3 |
4 | # Create an instance of tkinter frame or window
5 | win = Tk()
6 |
7 | # Set the size of the window
8 | win.geometry("700x350")
9 |
10 | # Add a Frame widget
11 | frame = Frame(win)
12 |
13 | # Define a function to get the data and display a message
14 | def on_key_up():
15 | name = fname
16 | frame.pack_forget()
17 | win.configure(bg="green4")
18 | Label(win, text="Hey " + fname.get() + " Welcome to Our Page !!",
19 | font=('Segoe UI', 18, 'bold'),
20 | background="white").pack(pady=30)
21 | # Create a Label widget
22 | Label(frame, text="Registration Form",
23 | font=('Helvetica 16 bold'),
24 | background="green3").grid(row=5, column=0, pady=30)
25 | frame.pack()
26 |
27 | # Add Field for First Value
28 | Label(frame, text="First Name").grid(row=7, column=0, padx=5)
29 | fname = Entry(frame)
30 | fname.grid(row=10, column=0, padx=10)
31 |
32 | # Add Field for Second Value
33 | Label(frame, text="Family name").grid(row=12, column=0, padx=5)
34 | sname = Entry(frame)
35 | sname.grid(row=15, column=0, padx=10)
36 |
37 | # Add Field for Email Address
38 | Label(frame, text="Email address").grid(row=17, column=0, padx=5)
39 | email = Entry(frame)
40 | email.grid(row=20, column=0, padx=10)
41 |
42 | # Add another field for accepting password value
43 | Label(frame, text="Enter a Password").grid(row=22, column=0, padx=5)
44 | password = Entry(frame, show="*")
45 | password.grid(row=25, column=0, padx=10)
46 |
47 | # Create a button
48 | Button(frame, text="Register", command=on_key_up).grid(row=15,
49 | column=1, padx=5)
50 |
51 | win.mainloop()
--------------------------------------------------------------------------------
/Payment_Gateway_Integration/style.css:
--------------------------------------------------------------------------------
1 | body{
2 | background-image: url(./bg.jpg);
3 | background-color: #cccccc;
4 | height: 500px;
5 | background-repeat: no-repeat;
6 | background-size: cover;
7 | position: relative;
8 |
9 | }
10 |
11 | .header h1{
12 |
13 | padding-top: 0px;
14 | padding-bottom:30px;;
15 | }
16 |
17 | .container{
18 | padding-top: 50px;
19 | }
20 |
21 | .title{
22 | padding-top: 30px;
23 | }
24 |
25 | .title h1{
26 | color: yellow;
27 | font-weight: bolder;
28 | }
29 |
30 | .title h3{
31 | padding-top: 10px;
32 | color: aqua;
33 | font-weight: 300px;
34 | }
35 |
36 | .title form{
37 | padding-top: 30px;
38 | }
39 |
40 | ul {
41 | list-style-type: none;
42 | margin: 0;
43 | padding: 0;
44 | overflow: hidden;
45 | background-color: #333;
46 | }
47 |
48 | li {
49 | float: left;
50 | }
51 |
52 | li a {
53 | display: block;
54 | color: white;
55 | text-align: center;
56 | padding: 14px 16px;
57 | text-decoration: none;
58 | }
59 |
60 | li a:hover {
61 | background-color: #111;
62 | }
63 |
64 |
65 | .icon-bar {
66 | position: fixed;
67 | top: 50%;
68 | -webkit-transform: translateY(-50%);
69 | -ms-transform: translateY(-50%);
70 | transform: translateY(-50%);
71 | }
72 |
73 | .icon-bar a {
74 | display: block;
75 | text-align: center;
76 | padding: 16px;
77 | transition: all 0.3s ease;
78 | color: white;
79 | font-size: 20px;
80 | }
81 |
82 | .icon-bar a:hover {
83 | background-color: #000;
84 | }
85 |
86 | .facebook {
87 | background: #3B5998;
88 | color: white;
89 | }
90 |
91 | .linkedin {
92 | background: #007bb5;
93 | color: white;
94 | }
95 |
96 | .instagram {
97 | background: #bb0000;
98 | color: white;
99 | }
100 |
--------------------------------------------------------------------------------
/Student Registration Portal/login.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Sinhgad Log-in
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
43 |
44 |
47 |
48 |
--------------------------------------------------------------------------------
/img-to-sketch/imgsketch.py:
--------------------------------------------------------------------------------
1 | '''
2 | Image to Pencil Sketch with Python
3 | The only library we need for converting an image into a pencil sketch with Python is an OpenCV library
4 | Command to install CV: pip install opencv-python
5 | '''
6 |
7 | import cv2
8 |
9 |
10 | '''
11 | Now the next thing to do is to read the image
12 | cv2.imshow(“Title You want to give”, Image) and
13 | then simply write cv2.waitKey(0).
14 | This will display the image
15 | '''
16 |
17 | image = cv2.imread("a.jpg") #image_Read
18 | cv2.imshow("Orignal Img", image) #display the image
19 | cv2.waitKey(0) #display the image
20 |
21 | '''
22 | #To create a new image by converting the original image to greyscale
23 | gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) #cv2. cvtColor(input_image, flag) method is used to convert an image from one color space to another
24 | cv2.imshow("Black & White", gray_image)
25 | cv2.waitKey(0)
26 |
27 | #next step is to invert the new grayscale image
28 | inverted_image = 255 - gray_image
29 | cv2.imshow("Inverted -ve Img", inverted_image)
30 | cv2.waitKey()
31 |
32 |
33 | #next step in the process is to blur the image by using the Gaussian Function in OpenCV
34 | blurred = cv2.GaussianBlur(inverted_image, (21, 21), 0)
35 |
36 | #final step is to invert the blurred image, then we can easily convert the image into a pencil sketch
37 | inverted_blurred = 255 - blurred
38 | pencil_sketch = cv2.divide(gray_image, inverted_blurred, scale=256.0)
39 | cv2.imshow("Sketch", pencil_sketch)
40 | cv2.waitKey(0)
41 |
42 |
43 | '''
44 | #if you want to have a look at both the original image and the pencil sketch side by side
45 | cv2.imshow("original image", image)
46 |
47 | gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
48 | inverted_image = 255 - gray_image
49 | blurred = cv2.GaussianBlur(inverted_image, (21, 21), 0)
50 | inverted_blurred = 255 - blurred
51 | pencil_sketch = cv2.divide(gray_image, inverted_blurred, scale=150.0)
52 | cv2.imshow("pencil sketch", pencil_sketch)
53 | cv2.waitKey(0)
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/Payment_Gateway_Integration/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | TSF | Services
10 |
11 |
12 |
15 |
16 |
25 |
26 |
27 |
28 |
29 |
THE SPARKS FOUNDATION
30 | "Hey guys! If you wish to get our Services & Utlize paid content Please Subscribe :)"
31 |
32 |
35 |
36 |
37 |
38 |
43 |
44 |
--------------------------------------------------------------------------------
/typing-speed-js-master/public/style.css:
--------------------------------------------------------------------------------
1 | body {
2 | background-color: rgb(231, 216, 8);
3 | color: black;
4 | text-align: center;
5 | font-family: sans-serif;
6 | }
7 |
8 | .container {
9 | display: flex;
10 | flex-direction: column;
11 | align-items: center;
12 | }
13 |
14 |
15 | .title {
16 | margin-bottom: 20px;
17 | font-size: 3rem;
18 | color: rgba(0, 0, 0, 0.884);
19 | width: 100%;
20 | height: auto;
21 | background-color: skyblue;
22 | }
23 |
24 | .header {
25 | display: flex;
26 | align-items: center;
27 | }
28 |
29 | .timer, .errors,
30 | .accuracy, .cpm, .wpm {
31 | background-color:white;
32 | height: 60px;
33 | width: 70px;
34 | margin: 8px;
35 | padding: 12px;
36 | border-radius: 20%;
37 | box-shadow: grey 5px 8px 5px;
38 | }
39 |
40 | .errors{
41 | color: red;
42 | }
43 | .wpm{
44 | color: rgb(16, 197, 16);
45 | }
46 | .cpm, .wpm {
47 | display: none;
48 | }
49 |
50 | .head {
51 | text-transform: uppercase;
52 | font-size: 10px;
53 | font-weight: 600;
54 | color: skyblue;
55 | font-weight: bolder;
56 | }
57 |
58 | .init_time, .init_errors,
59 | .init_accuracy, .init_cpm,
60 | .init_wpm {
61 | font-size: 35px;
62 | }
63 |
64 | .content {
65 | background-color: white;
66 | font-weight: bolder;
67 | margin: 10px;
68 | padding: 25px;
69 | box-shadow: grey 5px 8px 5px;
70 | border-radius: 10px 10px 10px 10px;
71 | }
72 |
73 | .input_box {
74 | background-color: white;
75 | font-weight: bolder;
76 | height: 80px;
77 | width: 40%;
78 | font-size: 1.5rem;
79 | font-weight: 600;
80 | margin: 10px;
81 | padding: 15px;
82 | border: 0px;
83 | box-shadow: grey 5px 8px 5px;
84 | border-radius: 10px 10px 10px 10px;
85 | }
86 |
87 |
88 | .correct{
89 | color: rgb(82, 200, 82);
90 | }
91 |
92 | .restart {
93 | display: none;
94 | background-color: skyblue;
95 | font-size: 1.5rem;
96 | padding: 10px;
97 | border: 0px;
98 | color: whitesmoke;
99 | border-radius: 10px 10px 10px 10px;
100 | width: 30%;
101 | font-weight: bold;
102 | box-shadow: grey 5px 8px 5px;
103 | }
104 |
105 | .start {
106 | background-color: skyblue;
107 | font-size: 1.5rem;
108 | padding: 10px;
109 | border: 0px;
110 | color: whitesmoke;
111 | border-radius: 10px 10px 10px 10px;
112 | width: 30%;
113 | font-weight: bold;
114 | box-shadow: grey 5px 8px 5px;
115 | }
--------------------------------------------------------------------------------
/My First Firebase app/style.css:
--------------------------------------------------------------------------------
1 | @media all and (min-width:1200px){
2 | #app{
3 | max-width: 1000px;
4 | margin: 0 auto;
5 | }
6 | }
7 | @media all and (min-width: 960px) and (max-width: 1199px) {
8 | #app{
9 | max-width: 900px;
10 | margin: 0 auto;
11 | }
12 | }
13 |
14 | @media all and (max-width: 599px) {
15 | img{
16 | width:100%;
17 | height:200px;
18 | object-fit: cover;
19 | }
20 | }
21 |
22 | @media all and (min-width: 600px) {
23 | section {
24 | clear: both;
25 | display: block;
26 | }
27 | #event-details-container{
28 | clear: none;
29 | }
30 | img{
31 | width:60%;
32 | height:300px;
33 | float: left;
34 | border-radius: 8px;
35 | object-fit: cover;
36 | margin-right: 20px;
37 | margin-left: 20px;
38 | margin-bottom: 20px;
39 | }
40 | }
41 |
42 | hr {
43 | clear: both;
44 | margin-bottom: 20px;
45 | margin-top: 20px;
46 | }
47 |
48 | section {
49 | margin: 20px;
50 | }
51 |
52 | .material-icons {
53 | padding-right: 10px;
54 | }
55 |
56 | body {
57 | margin: 0;
58 | font-family: 'Open Sans', sans-serif;
59 | }
60 |
61 | h1, h2, h3, p {
62 | font-family: 'Roboto', sans-serif;
63 | font-weight: normal;
64 | }
65 |
66 | h1 {
67 | font-size: 48px;
68 | }
69 |
70 | h2 {
71 | margin-bottom: 0px;
72 | }
73 |
74 | label{
75 | font-size: 18px;
76 | }
77 |
78 | p {
79 | font-size: 18px;
80 | margin-top:10px;
81 | margin-bottom:0px;
82 | }
83 |
84 | #guestbook > p {
85 | font-weight: lighter;
86 | font-size: 14px;
87 | }
88 |
89 | input{
90 | border: none;
91 | border-bottom: 1px solid rgba(0,0,0,.12);
92 | font-size: 14px;
93 | padding: 4px 0;
94 | background: 0 0;
95 | text-align: left;
96 | color: inherit;
97 | }
98 |
99 | button.clicked{
100 | background-color: rgb(60, 67, 154);
101 | border-color: rgb(60, 67, 154);
102 | color: white;
103 | outline-color: rgb(60, 67, 154);
104 | }
105 |
106 | button, button.firebaseui-id-submit.mdl-button--raised.mdl-button--colored{
107 | align-items: center;
108 | background-color: rgba(0, 0, 0, 0);
109 | border-color: rgb(60, 67, 154);
110 | border-radius: 4px;
111 | border-style: solid;
112 | border-width: 1px;
113 | box-shadow: none;
114 | color: rgb(60, 67, 154);
115 | cursor: default;
116 | display: inline-flex;
117 | font-family: Roboto, sans-serif;
118 | font-size: 14px;
119 | font-weight: bold;
120 | height: 36px;
121 | justify-content: center;
122 | margin: 8px 16px;
123 | outline-color: rgb(60, 67, 154);
124 | overflow: hidden;
125 | padding: 0px 15px;
126 | position: relative;
127 | text-align: center;
128 | text-transform: uppercase;
129 | vertical-align: middle;
130 | }
131 |
--------------------------------------------------------------------------------
/Contact List using Tkinter/phone.py:
--------------------------------------------------------------------------------
1 | from tkinter import *
2 | from phones import *
3 |
4 |
5 | def which_selected():
6 | print("At {0}".format(select.curselection()))
7 | return int(select.curselection()[0])
8 |
9 |
10 | def add_entry():
11 | phonelist.append([fnamevar.get(), lnamevar.get(), phonevar.get()])
12 | set_select()
13 |
14 |
15 | def update_entry():
16 | phonelist[which_selected()] = [fnamevar.get(),
17 | lnamevar.get(),
18 | phonevar.get()]
19 |
20 |
21 | def delete_entry():
22 | del phonelist[which_selected()]
23 | set_select()
24 |
25 |
26 | def load_entry():
27 | fname, lname, phone = phonelist[which_selected()]
28 | fnamevar.set(fname)
29 | lnamevar.set(lname)
30 | phonevar.set(phone)
31 |
32 | def make_window():
33 | global fnamevar, lnamevar, phonevar, select
34 | win = Tk()
35 | win.geometry("600x320")
36 | win['background']='#856ff8'
37 |
38 | frame1 = Frame(win)
39 | frame1.pack()
40 |
41 | Label(frame1, text="First Name").grid(row=0, column=0, sticky=W)
42 | fnamevar = StringVar()
43 | fname = Entry(frame1, textvariable=fnamevar)
44 | fname.grid(row=0, column=1, sticky=W)
45 |
46 | Label(frame1, text="Last Name").grid(row=1, column=0, sticky=W)
47 | lnamevar = StringVar()
48 | lname = Entry(frame1, textvariable=lnamevar)
49 | lname.grid(row=1, column=1, sticky=W)
50 |
51 | Label(frame1, text="Phone").grid(row=2, column=0, sticky=W)
52 | phonevar = StringVar()
53 | phone = Entry(frame1, textvariable=phonevar)
54 | phone.grid(row=2, column=1, sticky=W)
55 |
56 | frame2 = Frame(win) # Row of buttons
57 | frame2.pack()
58 | b1 = Button(frame2, text=" Add ", command=add_entry)
59 | b2 = Button(frame2, text="Update", command=update_entry)
60 | b3 = Button(frame2, text="Delete", command=delete_entry)
61 | b4 = Button(frame2, text="Load ", command=load_entry)
62 | b5 = Button(frame2, text="Refresh", command=set_select)
63 | b1.pack(side=LEFT)
64 | b2.pack(side=LEFT)
65 | b3.pack(side=LEFT)
66 | b4.pack(side=LEFT)
67 | b5.pack(side=LEFT)
68 |
69 | frame3 = Frame(win) # select of names
70 | frame3.pack()
71 | scroll = Scrollbar(frame3, orient=VERTICAL)
72 | select = Listbox(frame3, yscrollcommand=scroll.set, height=6)
73 | scroll.config(command=select.yview)
74 | scroll.pack(side=RIGHT, fill=Y)
75 | select.pack(side=LEFT, fill=BOTH, expand=1)
76 | return win
77 |
78 |
79 | def set_select():
80 | phonelist.sort(key=lambda record: record[1])
81 | select.delete(0, END)
82 | for fname, lname, phone in phonelist:
83 | select.insert(END, "{0}, {1}".format(lname, fname))
84 |
85 |
86 | win = make_window()
87 | set_select()
88 | win.mainloop()
--------------------------------------------------------------------------------
/My First Firebase app/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Firebase Meetup
4 |
5 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | Firebase Meetup
17 |
18 | calendar_today August 17
19 | location_city Nanded
20 | RSVP
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | What we'll be doing
30 | Join us for a day full of Firebase Workshops and Pizza!
31 |
32 |
33 |
34 |
35 |
36 |
37 | Are you attending?
38 | Yes
39 | No
40 |
41 | Discussion
42 |
43 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
63 |
64 |
65 |
81 |
--------------------------------------------------------------------------------
/typing-speed-js-master/public/index.js:
--------------------------------------------------------------------------------
1 | let timer_text = document.querySelector(".init_time");
2 | let accuracy_text = document.querySelector(".init_accuracy");
3 | let error_text = document.querySelector(".init_errors");
4 | let words_text = document.querySelector(".init_wpm");
5 | let content_text = document.querySelector(".content");
6 | let input_box = document.querySelector(".input_box");
7 | let start_btn = document.querySelector(".start");
8 | let restart_btn = document.querySelector(".restart");
9 | let wpm_group = document.querySelector(".wpm");
10 | let error_group = document.querySelector(".errors");
11 | let accuracy_group = document.querySelector(".accuracy");
12 |
13 | let time_left = 60;
14 | let time_passed = 0;
15 | let total_errors = 0;
16 | let errors = 0;
17 | let accuracy = 0;
18 | let typed = 0;
19 | let current_content = "";
20 | let c = 0;
21 | let timer = null;
22 |
23 |
24 | function ChangeContent() {
25 | content_text.textContent = null;
26 | current_content = "Lorem ipsum, or lipsum as it is sometimes known, is dummy text used in laying out print, graphic or web designs. The passage is attributed to an unknown typesetter in the 15th century. If you have come this far without making lot of errors, then you really have a great typing speed!"
27 |
28 | current_content.split('').forEach(char => {
29 | const charSpan = document.createElement('span');
30 | charSpan.innerText = char;
31 | content_text.appendChild(charSpan);
32 | })
33 |
34 | }
35 |
36 | function textInput() {
37 | input = input_box.value;
38 | input_array = input.split('');
39 | typed++;
40 | errors = 0;
41 | quoteSpanArray = content_text.querySelectorAll('span');
42 | quoteSpanArray.forEach((char, index) => {
43 | let typed = input_array[index]
44 | if (typed == null) {
45 | char.classList.remove('correct');
46 | }
47 | else if (typed === char.innerText) {
48 | char.classList.add('correct');
49 | }
50 | else {
51 | errors++;
52 | }
53 | });
54 |
55 | error_text.textContent = total_errors + errors;
56 | let correctCharacters = (typed - (total_errors + errors));
57 | let accuracyData = ((correctCharacters / typed) * 100);
58 | accuracy_text.textContent = Math.round(accuracyData);
59 |
60 | if (input.length == current_content.length) {
61 | ChangeContent();
62 | total_errors += errors;
63 | input_box.value = "";
64 | }
65 | }
66 |
67 |
68 | function updateTimer() {
69 | if (time_left > 0) {
70 | time_left--;
71 | time_passed++;
72 | timer_text.textContent = time_left ;
73 | }
74 | else {
75 | finishGame();
76 | }
77 | }
78 |
79 | function finishGame() {
80 | clearInterval(timer)
81 | input_box.disabled = true;
82 | content_text.style.display="none";
83 | wpm = Math.round((((typed / 5) / time_passed) * 60));
84 | words_text.textContent = wpm;
85 | wpm_group.style.display = "block";
86 | }
87 |
88 |
89 | function startGame() {
90 | content_text.style.display="block";
91 | resetGame();
92 | ChangeContent();
93 | clearInterval(timer);
94 | timer = setInterval(updateTimer, 1000);
95 | }
96 |
97 | function resetGame() {
98 | time_left = 60;
99 | time_passed = 0;
100 | errors = 0;
101 | total_errors = 0;
102 | accuracy = 0;
103 | typed = 0;
104 | c = 0;
105 | input_box.disabled = false;
106 | input_box.value = "";
107 | content_text.textContent = "";
108 | accuracy_text.textContent = 100;
109 | timer_text.textContent = time_left;
110 | error_text.textContent = 0;
111 | restart_btn.style.display = "none";
112 | wpm_group.style.display = "none";
113 | }
114 |
--------------------------------------------------------------------------------
/Student Registration Portal/Signin.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Sinhgad Students Signup
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
88 |
89 |
92 |
93 |
94 |