Skip to content

Instantly share code, notes, and snippets.

View akhildevelops's full-sized avatar
Towards a greater vision

Akhil akhildevelops

Towards a greater vision
View GitHub Profile
akhildevelops / PokemonData.csv
Created June 22, 2021 16:42
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
Name,Type,Total,HP,Attack,Defense,Sp. Atk,Sp. Def,Speed,url,icon
Bulbasaur,"['Grass', 'Poison']",318,45,49,49,65,65,45,,
Ivysaur,"['Grass', 'Poison']",405,60,62,63,80,80,60,,
Venusaur,"['Grass', 'Poison']",525,80,82,83,100,100,80,,
Charmander,"['Fire', '']",309,39,52,43,60,50,65,,
Charmeleon,"['Fire', '']",405,58,64,58,80,65,80,,
Charizard,"['Fire', 'Flying']",534,78,84,78,109,85,100,,
akhildevelops / hamilton-dataset.csv
Last active October 21, 2020 03:07
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 3. in line 1.
title speaker lines
Alexander Hamilton BURR How does a bastard, orphan, son of a whore and a
Alexander Hamilton BURR Scotsman, dropped in the middle of a forgotten
Alexander Hamilton BURR Spot in the Caribbean by providence, impoveris...
Alexander Hamilton BURR Grow up to be a hero and a scholar?
Alexander Hamilton LAURENS The ten-dollar Founding Father without a father
apt-get update
echo "deb xenial main" > /etc/apt/sources.list
echo "deb-src xenial main" > /etc/apt/sources.list
apt-get update
apt-get install gdal-bin python-gdal python3-gdal
git clone
pip install -r requirements.txt
akhildevelops /
Created October 9, 2018 02:39
Extract FIlenames from a folder
import os
with open('files.txt','w') as file1:
print('done writing')
akhildevelops /
Last active November 17, 2018 11:58
Script to Download Docker at single shot for ubuntu
# Update the Repositories
sudo apt-get update
# Remove any old / unwanted / exisitng doncker installation
sudo apt-get -y remove docker docker-engine
# Remove any old Containers / Images
# sudo rm -rf /var/lib/docker
akhildevelops /
Last active July 13, 2018 10:59
Download from multiple URLS listed in a File.
# File should contain URLs seprated by new lines
# Execute the Script by running './ <File_Path>'
# If unable to run give executable permissions by running 'chmod +x'
while read p; do
wget -L -P $2 $p
done <$1
class less:
"Print all the Numbers that are less than five"
def __init__(self,list,k=5):
def output(self):
print [i for i in self.l if i<self.k]
list=raw_input("List out Integers with single spacing")
class OddEven:
"Detect Odd / Even"
def __init__(self,Number):
def Result(self,Number=None):
if Number==None:
if Number%2==0:
if Number%4==0: