View script.gs
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
// Code below looks a bit complicated for suc a simple action | |
// It's purpose is to add a guest to an event AND send email notification to a new guest. | |
// If email notification is optional, you can use simple apporach with CalendarApp | |
// Trigger type for the script should be "On Form submit" | |
// If it's your primary google calendar, use your email as ID | |
const calendarId = 'john.smith@gmail.com' | |
// How to get event ID: | |
// 1. Open event editor in Calendar Web UI |
View heic-to-jpg.sh
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
#!/bin/bash | |
# Batch convert provided heic photos to jpeg | |
hash heif-convert 2>/dev/null || { printf >&2 "heif-convert is required.\nTry installing it with: \nsudo apt install libheif-examples\n"; exit 1; } | |
if [ $# -eq 0 ] ; then | |
echo >&2 "usage: heic-tojpg.sh <filename1.heic> <filename2.heic> ..." | |
exit 1; | |
fi |
View build.gradle
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
... | |
/* Tested with Gradle 6.3 */ | |
tasks.register("depsize") { | |
description = 'Prints dependencies for "default" configuration' | |
doLast() { | |
listConfigurationDependencies(configurations.default) | |
} | |
} |