Skip to content

Instantly share code, notes, and snippets.

View janaki-sasidhar's full-sized avatar

flameboy janaki-sasidhar

View GitHub Profile

Keybase proof

I hereby claim:

  • I am the-serpants on github.
  • I am sasidhar_royal (https://keybase.io/sasidhar_royal) on keybase.
  • I have a public key whose fingerprint is BD76 C9A6 A671 4A58 4CAC 47D6 9C6B BB5D 2B0D 9DE3

To claim this, I am signing this object:

@janaki-sasidhar
janaki-sasidhar / sample.md
Created April 7, 2020 04:56 — forked from bradtraversy/sample.md
Markdown Cheat Sheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

This text is italic

Keybase proof

I hereby claim:

  • I am janaki-sasidhar on github.
  • I am sasidhar_royal (https://keybase.io/sasidhar_royal) on keybase.
  • I have a public key whose fingerprint is AD3D 2421 FE84 F96B 417B 2412 DE47 94A6 E15E BA99

To claim this, I am signing this object:

name=input("Enter the name ")
age = int(input("Enter your age "))
print("Your name is {} ".format(name))
print(f"Your age is {age} , you will turn to 100 years old in {2120-age}")
import time
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
from PIL import Image
import cv2
options = Options()
options.headless = True
driver = webdriver.Firefox(
executable_path=r"C:\Users\sasid\Downloads\geckodriver.exe", options=options)
import boto3,os
from pathlib import Path
from flask import jsonify,Flask,request
#initialize flask app
app=Flask(__name__)
#util functions
def get_bucket():
import boto3,os
from pathlib import Path
from flask import jsonify,Flask,request
#initialize flask app
app=Flask(__name__)
#util functions
def get_bucket():
const multiFilter = (A,F) => {
const filterkeys = Object.keys(F);
return A.filter(eachObj => {
return filterkeys.every(eachKey => {
console.log('hi')
if(!F[eachKey].length){
return true // ignore filter and return all
}
return eachObj[eachKey].includes(F[eachKey])
})
import json
import pydantic
from typing import Optional , List
books_list = '''[
{
"isbn_10": "1593279509",
"isbn_13": "1593279509",
"title": "Eloquent JavaScript, Third Edition",
"subtitle": "A Modern Introduction to Programming",
'''
SOLID DESIGN PRINCIPLES
[S]INGLE RESPONSIBILITY
[O]PEN / CLOSED
[L]ISKOV SUBSTITUTION
[I]NTERFACE SEGREGATION
[D]EPENDENCY INVERSION
'''