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
| # Once I've cropped all my images, I rotate them to be the correct orientation manually | |
| # but all this does is changes a tag in the exif metadata. So, Immich won't display the | |
| # rotation. | |
| # | |
| # This script will apply that orientation manually and strip that metadata. | |
| for f in `find cropped/* -type f -print`; do | |
| f=$(echo $f | cut -d '/' -f2-) | |
| echo "Doing $f..." |
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
| #define _GNU_SOURCE | |
| #include <stdlib.h> | |
| #include <errno.h> | |
| #include <linux/input.h> | |
| #include <string.h> | |
| #include <stdio.h> | |
| #include <linux/limits.h> | |
| #include <sys/stat.h> | |
| #include <fcntl.h> |
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
| (One):: | |
| -- Line one | |
| -- Line two | |
| -- Some maths $4x^2$ | |
| ;; | |
| (Two):: | |
| -- This is <b>Bold</b> | |
| -- This is in <i>Italics</i> | |
| ;; |