This file contains 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
// Copyright 2017 Alex K (wtwf.com) | |
// based on GMAIL Snooze https://gmail.googleblog.com/2011/07/gmail-snooze-with-apps-script.html | |
// This source is at https://wtwf.com/snoozesrc | |
// Add it from the chrome web at https://wtwf.com/snooze | |
DAY_LABELS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] | |
SKIP_LABELS = ['1 week on', '2 weeks on', '3 weeks on', '4 weeks on'] | |
TIME_OF_DAY_LABELS = ['Morning', 'At Work', 'Tonight', 'Midnight'] | |
TRIGGERS = { |
This file contains 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
#!/usr/bin/python | |
import json | |
target = "f6efe8" | |
# kelly more | |
# curl 'http://kellymoore.com/mycolorstudio-color-palette/data/colors.json' -o colors.json | |
# behr |
This file contains 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
#!/usr/bin/python | |
""" | |
find photos.photolibrary/Masters -type f -name '*.*' | ./finddupes | |
Will try and find duplicate images in a photos album and output a file for later processing | |
file output will be a json format file | |
``` | |
[ | |
["/path/to/img.png", "path/to/img2.png"], | |
["/path/to/pic.png", "path/to/pic2.png", "path/to/pic4.png] |
This file contains 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
#!/usr/bin/python | |
""" | |
./processdupes.py | |
loads `dupes.json` and makes some montage images so you can check the dupes | |
then find ids of those images for later addition to albums for deletion. | |
You'll need to edit the comments at the end to change behavior. | |
""" |
This file contains 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
#!/usr/bin/osascript -l JavaScript | |
// -*- JavaScript -*- | |
var idJson = { | |
"errors": [], | |
"ids": { | |
"48.jpg": [ | |
"fjjIN4YbTDuca24C2%AseQ" | |
], | |
} |
This file contains 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
#!/usr/bin/env python3 | |
# pylint: disable=superfluous-parens,old-style-class,invalid-encoded-data,too-many-instance-attributes | |
# gist -u 88f525e10edd62c7e82788c736e85911 ~/bin/share/sqlite3mysql.py | |
# Originally From: https://gist.github.com/techouse/4deb94eee58a02d104c6 | |
__author__ = "Klemen Tušar" | |
__email__ = "techouse@gmail.com" | |
__copyright__ = "GPL" | |
__version__ = "1.0.1" |
This file contains 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
This moved to https://gist.github.com/arkarkark/eef9bb9cfedbc6507a8255e543dd5d1e |
This file contains 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
#!/usr/bin/env python3 | |
# Copyright 2019 Alex K (wtwf.com) | |
# PYTHON_ARGCOMPLETE_OK | |
# This lives at https://gist.github.com/arkarkark/eef9bb9cfedbc6507a8255e543dd5d1e | |
# Update it with | |
# gist -u eef9bb9cfedbc6507a8255e543dd5d1e ~/bin/share/imdb_movie_ratings_adder | |
"""Put IMDB ratings into the bpm field of the selected movies in iTunes. |
This file contains 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
#!/usr/bin/env python3 | |
# PYTHON_ARGCOMPLETE_OK Copyright 2020 Alex K (wtwf.com) | |
# This lives at https://gist.github.com/arkarkark/3ccc9697650c6e97778de128e5a73b30 | |
# Update it with: gist -u 3ccc9697650c6e97778de128e5a73b30 ~/bin/share/update_itunes_selection | |
"""A Small script to update the currently selected iTunes tracks with various criteria.""" | |
__author__ = "wtwf.com (Alex K)" | |
import argparse |
This file contains 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
#!/usr/bin/env python3 | |
# Copyright 2020 Alex K (wtwf.com) | |
# PYTHON_ARGCOMPLETE_OK | |
"""Remove duplicate heic/jpg photos from Photos.app | |
Keep the HEIC versions.""" | |
__author__ = "wtwf.com (Alex K)" |