alias open=xdg-open
Copied from: Moving efficiently in the CLI
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"
done
source activate myenv
python -m ipykernel install --user --name myenv --display-name "Python (myenv)"
Found here: Conda environments not showing up in Jupyter Notebook
- Make sure you install
jupyter
in the environment to be added.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Print Pinboard's JSON export as text | |
''' | |
import sys | |
import json | |
import gzip | |
if len(sys.argv) < 2: | |
# Read from stdin pipe |