Skip to content

Instantly share code, notes, and snippets.

View AdrianBenson's full-sized avatar

Adrian Benson AdrianBenson

  • Wellington, New Zealand
View GitHub Profile
@AdrianBenson
AdrianBenson / miniforge_windows_install.md
Last active November 4, 2024 19:40
Install miniforge/mambaforge on windows

Installing Miniforge3 on a GNS Windows machine

This guide will show you how to install and configure Miniforge on a GNS Windows PC. Before you jump into the install there are a few things you should understand

  • This a "user" install. No adminstator privileges are required. Miniforge will be installed under your user profile, so other users of a given PC wil not have access to your Miniforge installation.
  • You are responsible for maintaining all aspects of your Miniforge installation.
  • Miniforge is not available via Software Centre and is not officially supported by GNS IT. Nevertheless, IT know all about Miniforge and endorse your use of it.
  • If you have any problems you should first try asking for help from GNS Python Users on Microsoft Teams. IT Support may be able to help, but t
@AdrianBenson
AdrianBenson / best_bash_prompt.sh
Created November 18, 2020 22:25 — forked from ckabalan/best_bash_prompt.sh
The Best Bash Prompt
# Bash History Replacement Script
# Author: Caesar Kabalan
# Last Modified: June 6th, 2017
# Description:
# Modifies the default Bash Shell prompt to be in the format of:
# [CWD:COUNT:BRANCH:VENV]
# [USER:HOSTNAME] _
# Where:
# CWD - Current working directory (green if last command returned 0, red otherwise)
# COUNT - Session command count
@AdrianBenson
AdrianBenson / install_miniconda_advice.md
Last active April 24, 2022 15:14
Install miniforge

Uninstall

check where conda files are installed

conda config --show root_prefix pkgs_dirs
conda config --show-sources

Now delete those directories, e.g. rm -rf ~/anaconda3 ~/.conda/pkgs