Skip to content

Instantly share code, notes, and snippets.

View jsparmani's full-sized avatar

Jay Parmani jsparmani

View GitHub Profile
🏆 2,295 Contributions in year 2020
📦 Used 659 MB in GitHub's Storage
📜 5 Public Gists
🔑 3 Public Keys
💼 Opted to Hire
🗣 Commented on #42 in developer-student-club-thapar/officia...
🎉 Merged PR #355 in developer-student-club-thapar/officialW...
🗣 Commented on #42 in developer-student-club-thapar/officia...
🗣 Commented on #42 in developer-student-club-thapar/officia...
❗️ Closed issue #23 in developer-student-club-thapar/officia...
🌞 Morning 278 commits ███▍░░░░░░░░░░░░░░░░░ 16.4%
🌆 Daytime 598 commits ███████▍░░░░░░░░░░░░░ 35.4%
🌃 Evening 573 commits ███████░░░░░░░░░░░░░░ 33.9%
🌙 Night 242 commits ███░░░░░░░░░░░░░░░░░░ 14.3%
from sys import maxsize
# Count of total vertices in graph
V = 4
def travellingSalesmanProblem(graph, s):
vertex = []
for i in range(V):
if i != s:
vertex.append(i)
initial = {
user_name: "Jay",
user_details_lastname: "Parmani",
user_details_random: "Hello",
user_details_address_city: "Surat",
};
final = {};
for (var key in initial) {
@jsparmani
jsparmani / http-server-user-data
Created July 11, 2021 10:15
HTTP Server user data script
#! /bin/bash
yum update -y
yum install httpd -y
echo "<h1>index.html</h1>" > /var/www/html/index.html
systemctl start httpd
systemctl enable httpd
from os import sep
from typing import final
import pandas as pd
import numpy as np
df = pd.read_csv("ThompsonInput.csv", na_values="-", index_col=["states"])
print(df)
dfa_state_var = 'A'