Skip to content

Instantly share code, notes, and snippets.

View vivek-vijayan's full-sized avatar
✔️
Focusing on developing new model for ML

Vivek Vijayan vivek-vijayan

✔️
Focusing on developing new model for ML
View GitHub Profile
@vivek-vijayan
vivek-vijayan / MainProgram.java
Created September 24, 2022 12:44
Java program to explain Interface and static
package student;
import java.util.Scanner;
interface AadharCardProcess {
abstract void GetUsername(String user);
abstract void GetPhonenumber(int number);
abstract void CreateAadharnumber(int newAadharnumber);
@vivek-vijayan
vivek-vijayan / atmcard.html
Created November 5, 2022 14:31
ATM Card HTML CSS design
<!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" />
<title>Index Page</title>
<!-- External CSS -->
<link rel="stylesheet" href="style.css" />
@vivek-vijayan
vivek-vijayan / StockManagement.html
Created December 18, 2022 12:29
Stock Management - adding new stock
<html>
<style>
body {
font-family: 'Comic Sans MS';
}
h2 {
color: rgb(255,255,255);
text-transform: uppercase;
background-color: rgb(34,34,34);
padding: 20px;
@vivek-vijayan
vivek-vijayan / python_app.py
Last active October 1, 2023 10:27
Python script for Tkinter App for displaying the date and time of the selected timezone/country in the dropbox
import tkinter as tk
from tkinter import ttk
from datetime import datetime
import pytz
def get_selected_times():
selected_indices = country_listbox.curselection()
if not selected_indices:
return
@vivek-vijayan
vivek-vijayan / subsequence.py
Last active April 25, 2025 08:39
Quicker way of finding the Sub sequence values
a = "abcdefg"
l = ["a", "acef", "defg", "gg"]
word_count = 0
for word in l:
i = 0 # pointer in main string
for ch in word:
i = a.find(ch, i)
if i == -1: