Skip to content

Instantly share code, notes, and snippets.


Aldo Okware aldookware

View GitHub Profile
aldookware /
Created Aug 20, 2020 — forked from bastman/
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see:

$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
aldookware /
Created Jul 3, 2020 — forked from FrancesCoronel/
A sample README for all your GitHub projects.


INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here

aldookware /
Last active Aug 20, 2020
git commands I use often

To initialize a new local repo.

$ git init

To add newly created files to staging

$ git add <file-name> or . for all new files.

To clone a repo

aldookware /
Last active May 21, 2019
My terminal setup
git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
orange=$(tput setaf 166);
purple=$(tput setaf 125);
yello=$(tput setaf 228);
green=$(tput setaf 28);
white=$(tput setaf 15);
reset=$(tput sgr0);
bold=$(tput bold);
aldookware / conda_cheat
Created Mar 17, 2019 — forked from qheuristics/conda_cheat
conda cheatsheet
View conda_cheat
to create a new environment
conda create -n mynewenviron package1 package2 etc
conda create -n newenv --clone ~anaconda
to remove an environment
conda remove -n myenvirontoremove --all
always start with
You can’t perform that action at this time.