Notes on using Docker in practice.
Add the following option: --entrypoint "/bin/bash"
| ''' | |
| Print Pinboard's JSON export as text | |
| ''' | |
| import sys | |
| import json | |
| import gzip | |
| if len(sys.argv) < 2: | |
| # Read from stdin pipe |
source activate myenv
python -m ipykernel install --user --name myenv --display-name "Python (myenv)"Found here: Conda environments not showing up in Jupyter Notebook
jupyter in the environment to be added.This is a super simple gist, but I never can remember it.
#!/bin/bash
for file in *.jpg
do
echo "converting $file"
convert "$file" "$(basename "$file" .jpg).dds"
doneCopied from: Moving efficiently in the CLI