A Great Combination of Jupyter + Conda + Docker

I’ve always wanted a clean local environment to install python packages in it. To me, it should have multiple requirements: 1- Installing packages should be easy enough. I mean I just want to use pip install that and not worry about anything else. 2- Switching between python environments should be easy. If I happen to need multiple environments in my system, I want to be able to easily switch between them....

December 8, 2023 · 3 min · 588 words · Amir

Useful Linux Commands and Scripts

I’ve been working for some time with Linux and I feel that sharing some scripts and also tools I frequently use can be helpful. Search History history | grep seach_string or Ctrl+R. Show File and Folder Size To analyze file size, there are several ways. ls -alh -rw-r--r-- 1 amir amir 270K May 20 2023 Arial.ttf -rw-r--r-- 1 root root 72 Sep 20 21:10 Untitled5.ipynb -rw-r--r-- 1 amir amir 1.2M May 26 2023 exp12....

December 5, 2023 · 3 min · 639 words · Amir

How to Sync Obsidian between Android, Windows and Mac via GIT

Introduction I’ve tried many tools and tutorials to sync my obsidian notes between android and windows. They all have the same problems: Some need subscription service (Obsidian Sync) which I’m not willing to pay Some can’t handle editing the same file (Sync via GoogleDrive, Dropbox and …) Others need complicated setup and maintenance. My Solution This solution takes some time (at most 10 minutes) to setup. But, once it is finished, it works perfectly....

January 16, 2023 · 6 min · 1251 words · Amir