Skip to content

Instantly share code, notes, and snippets.

View rava-dosa's full-sized avatar

Apoorva Kumar rava-dosa

View GitHub Profile

Ml Related Resource

  1. https://github.com/trekhleb/homemade-machine-learning There are two folders homemade and notebook, homemade contains all well commented low level code and doc explaining maths. Notebook is like a more of API use.
  2. https://github.com/Avik-Jain/100-Days-Of-ML-Code It contains more pictorial explanation with just API usage, worth seeing, might come in handy to revise quickly
  3. https://github.com/rushter/MLAlgorithms This contains fundamental implementation of bit more advanced algorithms.

How I found all of these repo

  1. https://github.com/topics/machine-learning-algorithms I went there and scrolled, you can do that too
@rava-dosa
rava-dosa / SSH_in_colab.ipynb
Last active October 7, 2023 07:05
SSHing in colab
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Problem

  1. Hackernews app export wasn't working for all my saved article.
  2. So I panicked

Solution

  1. adb shell 'pm list packages -f' | grep mater
  2. adb backup -f ~/backup.ab -noapk io.github.hidroh.materialistic
  3. ( printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" ; tail -c +25 backup.ab ) | tar xfvz -
  4. Go to ~/apps/io.github.hidroh.materialistic/db
  5. sqlite3 Materialistic.db

installation help

  1. get nvidia drivers from software updates ubuntu. nvidia-440
  2. get local .deb file of cuda.
  3. install according to instruction
  4. export PATH=/usr/local/cuda-10.2/bin${PATH:+:${PATH}}
  5. export LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
  6. Put these commands in bashrc
  7. source it.
  8. download cudnn tarball
  9. extract and go into that directory. you will find a directroy called "cuda".