Skip to content

Instantly share code, notes, and snippets.

View Axhat's full-sized avatar
🍋
Focusing

Akshat Kumar Axhat

🍋
Focusing
View GitHub Profile
@Axhat
Axhat / Configs.txt
Last active December 4, 2022 14:17
ok ok ok
1. Find S
import pandas as pd
import numpy as np
def train(X, y):
# Create the most specific hypothesis
hypothesis = []
for i in range(len(X[0])):
hypothesis.append("null")
#HILL CIPHER
#include <bits/stdc++.h>
using namespace std;
vector<int> multiply(vector<vector<int>> mat,vector<int> vec){
vector<int> ans(vec.size(),0);
for(int i=0;i<mat.size();i++){
for(int j=0;j<vec.size();j++){
ans[i] += mat[i][j]*vec[j];
}
ans[i]%=26;
echo "Startup git bash"
path_to_key = "" # Enter path of the key to add
path_to_repo = "" # Enter path of repo to cd into
cd "$path_to_repo"
eval $(ssh-agent -s) # Starting up the ssh-agent