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
| #!/bin/bash | |
| gs -o ${1%%.pdf}_cmyk.pdf \ | |
| -dNOPAUSE -dBATCH -dSAFER \ | |
| -sDEVICE=pdfwrite \ | |
| -dPDFSETTINGS=/prepress \ | |
| -dEncodeColorImages=false \ | |
| -dEncodeGrayImages=false \ | |
| -dEncodeMonoImages=false \ | |
| -dOverrideICC=true \ | |
| -dHaveTransparency=false \ |
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
| #access my extra partitions in toolbox | |
| if [ -f /run/.toolboxenv ]; then | |
| sudo mount --rbind /run/host/var/homedata /var/homedata | |
| sudo mount --rbind /run/host/var/work /var/work | |
| fi | |
| #ad hoc aliases | |
| alias www='python -m http.server' | |
| #flatpak apps |
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
| import bpy | |
| from pathlib import Path | |
| import numpy as np | |
| import os | |
| p = Path('/var/home/jimmac/SparkleShare/wallpaper-assets/43/experiments/svg-icons') | |
| scene = bpy.context.scene | |
| collections = set(scene.collection.children) |
OlderNewer