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 | |
| # This command can fix timezone offsets for Nikon D850 RAW photos. | |
| # Other vendors may have different date/time metadata. | |
| # the hours offset should be the difference in hours to add to the camera's time | |
| HOURS_OFFSET=20:00:00 | |
| # this should be the location's actual TZ offset | |
| NEW_OFFSET=+13:00 | |
| exiftool -ModifyDate+=$HOURS_OFFSET -CreateDate+=$HOURS_OFFSET -OffsetTime=$NEW_OFFSET -OffsetTimeOriginal=$NEW_OFFSET -OffsetTimeDigitized=$NEW_OFFSET -TimeZone=$NEW_OFFSET -DateTimeOriginal+=$HOURS_OFFSET -overwrite_original *.NEF |
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 secrets | |
| import string | |
| from typing import Sequence | |
| """ | |
| This is a set of functions for demonstrating one-time pad | |
| encryption using a twenty-six letter alphabet. | |
| This code is a companion to the article at | |
| https://notes.ericjiang.com/posts/1051 |
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
| 01010 - toggle light | |
| 10010 - toggle light 2 | |
| 01000 - speed 2 | |
| 00100 - speed 1 | |
| 10100 - stop | |
| 10000 - speed 3 | |
| 00010 - reverse | |
| ALL CODES: |
OlderNewer