Skip to content

Instantly share code, notes, and snippets.

View z-zawhtet-a's full-sized avatar

Zaw Htet Aung z-zawhtet-a

View GitHub Profile

Testing fork

Add existing sources to repository

git remote add origin <repo>
git push -u origin master # pushes up the repo and its refs for the first time

Changing URL between SSH and HTML can use git remote set-url too.

youtube-dl add-on

This add-on is to:

  • bypass certification checking for youtude-dl (2015.04.26) on OSX (10.10.3)
  • pass through proxy (MU proxy)
  • download the best quality of audio or video
  • save to ~/Music/youtube-dl

note Since the latest update of youtube-dl (2015.08.23) and OSX (10.10.4), there is no need to bypass certificate anymore. The proxy also seems to be fixed (by importing system proxy.. maybe). However, the options will remain until I'm sure to take them out later.

requirements

@z-zawhtet-a
z-zawhtet-a / m1-max-numpy-setup.md
Created April 7, 2022 07:39 — forked from MarkDana/m1-max-numpy-setup.md
Install NumPy on M1 Max

How to install numpy on M1 Max, with the most accelerated performance (Apple's vecLib)? Here's the answer as of Dec 6 2021.


Steps

I. Install miniforge

So that your Python is run natively on arm64, not translated via Rosseta.

  1. Download Miniforge3-MacOSX-arm64.sh, then
  2. Run the script, then open another shell
$ bash Miniforge3-MacOSX-arm64.sh

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.