Skip to content

Instantly share code, notes, and snippets.


Manoj Bhat Manojbhat09

View GitHub Profile

Credits: Zuxin Liu

Ubuntu 18.04 Environment Configuration (from beginning to giving up)

1. Install Ubuntu

  • make sure that the /swap partition is twice larger than the computer memory.
  • 25GB is enough for root /.
  • The /boot partition should be use as 'EFI system partition'. 1GB is enough.
  • The / partition should be of 'primary' type. Others should be 'logical'.
Manojbhat09 / Running-python-on-browser
Created Aug 11, 2020
Js replacement resources for Deep learning applications
View Running-python-on-browser
Good Summary of current methods:
Manojbhat09 / Graphical-viewer-vnc
Created Jul 2, 2020
Solves graphical issues with vnc remote desktop
View Graphical-viewer-vnc
sudo apt-get update
sudo apt-get install --reinstall ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
sudo apt-get update
sudo apt-get upgrade
Manojbhat09 /
Last active Jul 2, 2020
How to install cuda on Azure
# Replace ubuntu1604 with ubuntu1804
sudo apt-key adv --fetch-keys
sudo bash -c 'echo "deb /" > /etc/apt/sources.list.d/cuda.list'
sudo apt update
sudo apt install cuda-10-0 --yes
# Cudnn: download library from
# Extract the tgz file
sudo cp cuda/include/cudnn.h /usr/local/cuda-10.0/include/
sudo cp cuda/lib64/libcudnn* /usr/local/cuda-10.0/lib64/ -r
Manojbhat09 /
Created May 29, 2020
Install open3d on Debian or Ubuntu on GCP/EC2
# Follow
git clone --recursive
cd open3d
mkdir build
cd build
cmake -DPYTHON_EXECUTABLE=/path/to/my/python ..
make -j5
make install
Manojbhat09 / helpful_links_for_building_packages.txt
Created May 3, 2020
Helpful links for building packages (Opencv)
View helpful_links_for_building_packages.txt
Manojbhat09 /
Last active May 3, 2020
Building VTK is sometimes difficult, and finding the right flags is cumbersome. This is a general quick build gist
sudo apt install cmake libavcodec-dev libavformat-dev libavutil-dev libboost-dev libdouble-conversion-dev libeigen3-dev libexpat1-dev libfontconfig-dev libfreetype6-dev libgdal-dev libglew-dev libhdf5-dev libjpeg-dev libjsoncpp-dev liblz4-dev liblzma-dev libnetcdf-dev libnetcdf-cxx-legacy-dev libogg-dev libpng-dev libpython3-dev libqt5opengl5-dev libqt5x11extras5-dev libsqlite3-dev libswscale-dev libtheora-dev libtiff-dev libxml2-dev libxt-dev qtbase5-dev qttools5-dev zlib1g-dev
git clone VTK
cd vtk
git checkout v8.2.0
mkdir build
cd build
-DVTK_Group_Qt=ON \
Manojbhat09 /
Created Apr 29, 2020
Convert Argoverse format to KITTI
# Converting the ply files into the bin files
import sys
print("removed ros")
import pyntcloud
import numpy as np
import glob
import pdb
You can’t perform that action at this time.