Skip to content

Instantly share code, notes, and snippets.

View xaratustrah's full-sized avatar
🎲
What were the chances?

xaratustrah

🎲
What were the chances?
View GitHub Profile

Using 'conda-forge' channel only

Date: 2023-02-21

Problem

For some reason, we can't use anaconda or miniconda in a normal way anymore, otherwise our purse will get hurt. Normally, we download python packages from anaconda's defaults channel, which is maintained by anaconda's official team. Now we need to stop downloading from the "defaults" channel. Instead, we have to turn to "conda-forge" channel.

A basic introduction to 'micromamba'

Date: 2023-03-27

Introduction

micromamba is a lightweight-version of mamba, which is written purely in C++.

micromamba will maintain a individual folder under home directory: ~/micromamba/. All its created environments & downloaded packages are stored there.

@xaratustrah
xaratustrah / simple-https-server.py
Last active August 27, 2018 12:04 — forked from dergachev/simple-https-server.py
simple-https-server.py
# taken from http://www.piware.de/2011/01/creating-an-https-server-in-python/
# generate server.xml with the following command:
# openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
# run as follows:
# python simple-https-server.py
# then in your browser, visit:
# https://localhost:4443
# Changed for python 3
import http.server