Skip to content

Instantly share code, notes, and snippets.

View abhiksark's full-sized avatar
🏠
Working from home

Abhik Sarkar abhiksark

🏠
Working from home
View GitHub Profile
@abhiksark
abhiksark / deepstream.md
Created December 28, 2021 18:42 — forked from leviethung2103/deepstream.md
Step to run Deepstream Python3 Sample App on X86 PC

How to install the Deepstream via docker container

Install Docker

Skip this step if you already had the docker and nvidia-docker

Pull Docker Image

docker pull nvcr.io/nvidia/deepstream:5.1-21.02-samples
@abhiksark
abhiksark / 🧽.gif
Created May 28, 2020 11:53 — forked from EvanBacon/🧽.gif
🥓
🧽.gif
@abhiksark
abhiksark / bobp-python.md
Last active July 1, 2019 10:23 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python. "Do not forget"

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
# -*- coding: utf-8 -*-
"""
Created on Mon Feb 20 14:02:08 2017
@author: Abhik
"""
import os
import cv2
import numpy as np
from PIL import Image
@abhiksark
abhiksark / BST.c
Last active February 1, 2017 10:30
#include<stdio.h>
#include<stdlib.h>
struct tree{
int data;
struct tree *left;
struct tree *right;
};
struct tree *head = NULL;
struct tree *newTree(int input){
struct tree *temp = (struct tree *)malloc(sizeof(struct tree));
@abhiksark
abhiksark / Stack.py
Created October 12, 2016 16:49
Stack/Python
# -*- coding: utf-8 -*-
"""
Created on Mon Oct 10 10:33:04 2016
@author: abhik
Stack Implementation
"""
class Stack(object):
def __init__(self,limit=10):
self.stk=[]
self.limit=limit