Skip to content

Instantly share code, notes, and snippets.

View hamelsmu's full-sized avatar
💻
Always learning.

Hamel Husain hamelsmu

💻
Always learning.
View GitHub Profile
@hamelsmu
hamelsmu / Automating_Conda_Directory.md
Created January 9, 2021 23:57
Notes on working with Jeremy Howard to automate creation of files for Conda builds https://github.com/fastai/fastconda
@hamelsmu
hamelsmu / fastcore_run.ipynb
Created January 5, 2021 00:56
Problem with fastcore's run
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hamelsmu
hamelsmu / Rich_notes.ipynb
Created January 4, 2021 03:35
Rich CLI Notes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hamelsmu
hamelsmu / example.ipynb
Created December 24, 2020 01:47
Type checking by using inheritance
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hamelsmu
hamelsmu / example.ipynb
Last active December 24, 2020 10:01
run-time type checking with python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hamelsmu
hamelsmu / Rich_notes.ipynb
Created December 16, 2020 21:59
My notes on Rich
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hamelsmu
hamelsmu / linebreaks.md
Last active November 13, 2020 01:25
How linebreaks are handled in markdown

Newlines are ignored when markdown is rendered, unless:

Writing some text. Even though this text is on another line it will appear on the same line

You put two spaces at the end of the line

Writing some text.
The only difference in this text is that the prior line has two spaces at the end.

@hamelsmu
hamelsmu / checkbox-matrix.md
Last active September 17, 2020 16:44
How to have a matrix with checkboxes in GitHub-flavored markdown
Criteria @danfrankj @hamelsmu
Row One
Row Two -[ ] -[x]
@hamelsmu
hamelsmu / mlops.md
Last active July 30, 2020 13:35
The Git + Data tool I always wanted

install MLOps

brew install mlops

clone repo as usual

If metadata data.yaml is detected in the root of the repo, the plugin mlops will automatically ask user if they would like to download the data.

> git clone https://github.com/david/ml
from multiprocessing import Pool
from time import sleep
def f(x):
sleep(1000) # simulate some computation
return x*x
if __name__ == '__main__':
with Pool(8) as p:
print(p.map(f, range(8)))