Skip to content

Instantly share code, notes, and snippets.

View dr-orlovsky's full-sized avatar
🔬
Transumanizing

Dr. Maxim Orlovsky dr-orlovsky

🔬
Transumanizing
View GitHub Profile
@Kixunil
Kixunil / quick_dive_rust_code.md
Last active February 4, 2023 19:00
WIP quick dive into a source code written in Rust

Quick dive into a source code written in Rust

Are you a Rust newbie who found some code written in Rust and wants to dive right into the code? You're at the right place! This quick guide is supposed to help you in exactly this situation. It's not meant to be a full Rust tutorial - there are beter sources of those!

Quick intro

Two basic things you should know before you start:

@lukemetz
lukemetz / image_scatter.py
Created August 26, 2015 17:58
Image tsne scatter plot
from tsne import bh_sne
import numpy as np
from skimage.transform import resize
from matplotlib import pyplot as plt
def gray_to_color(img):
if len(img.shape) == 2:
img = np.dstack((img, img, img))
return img