Skip to content

Instantly share code, notes, and snippets.

View oshyam's full-sized avatar
:octocat:
Focusing

Shyam Kunwar oshyam

:octocat:
Focusing
View GitHub Profile
@oshyam
oshyam / passwordIndicator.html
Created September 24, 2023 14:38
Password Indicator using plain js and html
<!DOCTYPE html>
<html>
<head>
<title>Password Strength Indicator Lab</title>
<style>
/* Add your CSS here */
#strength {
font-weight: bold;
margin-top: 10px;
}
@oshyam
oshyam / cplus.cpp
Created May 20, 2021 11:12
C++ cheat sheet programs for Beginner and Competitive Exams
// A Simple hello world
/*
Note:C++ is case-sensitive. So, expect compilation to fail if you write
Int instead of int and Std::Cout instead of std::cout.
*/
#include<iostream>
int main(){
std::cout<<"Hello World!"<<std::endl;
}
//This is for educational purpose and a demo of login system
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
var firebaseConfig = {
apiKey: "Your API Key Here",
authDomain: "login-demo-254f7.firebaseapp.com",
projectId: "login-demo-254f7",
storageBucket: "login-demo-254f7.appspot.com",
messagingSenderId: "228883805517",
appId: "1:228883805517:web:db9063121d6bf3a79ab304",
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name=" viewport" content="width=device-width, initial-scale=1.0">
<script src="https://www.gstatic.com/firebasejs/8.2.7/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.7/firebase-auth.js"></script>
<script src="form.js"></script>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"