Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Focusing

Aldo Okware aldookware

:octocat:
Focusing
View GitHub Profile
@aldookware
aldookware / docker-cleanup-resources.md
Created Aug 20, 2020 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks
View docker-cleanup-resources.md

Docker - How to cleanup (unused) resources

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

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

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

FVCproductions

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here

@aldookware
aldookware / git-handy-commands.md
Last active Aug 20, 2020
git commands I use often
View git-handy-commands.md

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
aldookware / config.sh
Last active May 21, 2019
My terminal setup
View config.sh
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
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.