Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Ashok Bakthavathsalam kgashok

🎯
Focusing
View GitHub Profile
@kgashok
kgashok / PrinciplesOfSuccess.md
Last active Mar 23, 2020
Principles of Success - Ray Dalio
View PrinciplesOfSuccess.md
<title>PrinciplesOfSuccess</title>
@kgashok
kgashok / PrinciplesOfSuccess.md
Last active Mar 23, 2020
Principles of Success - Ray Dalio
View PrinciplesOfSuccess.md
<title>PrinciplesOfSuccess</title>
View virus.md
Virus Source Animal
SARS (2003) China bat / pig
MERS (2012) Middle-East camel
H1N1 (2009) USA (N Carolina) -> Mexico pig (aka swine)
Ebola (2014) Republic of Congo bats, chimpanzees, gorillas, baboons
Zika (1947) Uganda mosquito
Covid-19 (2019) China bat / snake
View virus.md.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">-->
<title>virus</title>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
@kgashok
kgashok / HuffmanCoding.py
Created Dec 31, 2019 — forked from bhrigu123/HuffmanCoding.py
Code for Huffman Coding, compression and decompression. Explanation at http://bhrigu.me/blog/2017/01/17/huffman-coding-python-implementation/
View HuffmanCoding.py
import heapq
import os
class HeapNode:
def __init__(self, char, freq):
self.char = char
self.freq = freq
self.left = None
self.right = None
@kgashok
kgashok / mutableTuple.py
Last active Jun 3, 2019
"Tuples are immutable, but their mutable constituents, if any, are mutable!"
View mutableTuple.py
tup1 = (1, 2, [3, 4, 5])
print(tup1)
print("Tuples are immutable, but their mutable constituents, if any, are mutable!")
tup1[2][2] = 'x'
print(tup1)
# (1, 2, [3, 4, 'x'])
@kgashok
kgashok / enco.html
Created Aug 29, 2018
ENCO Literary Challenge
View enco.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">-->
<title>ENCO Literary Challenge</title>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
View ENCO Literary Challenge.md
<title>ENCO Literary Challenge</title>
@kgashok
kgashok / replace.html
Last active Jun 4, 2018
replaceString
View replace.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>replaceRefactorSaga</title>
<link rel="stylesheet" href="https://stackedit.io/style.css" />
</head>
@kgashok
kgashok / importantTopics.html
Created Apr 6, 2018
importantTopics-kgashok
View importantTopics.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>importantTopics-kgashok</title>
<link rel="stylesheet" href="https://stackedit.io/style.css" />
</head>
You can’t perform that action at this time.