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
/** | |
??= An operator that will assign the left hand value | |
to the right hand value if the left hand value is nil | |
Example Usage: | |
``` | |
var str: String? | |
str ??= "Bob" |
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 | |
# This requires the guetzli jpg encoder: | |
# https://github.com/google/guetzli/ | |
# Set the desired max quality | |
# Quality setting of 84 is the lowest google/guetzli allows :( | |
# Use my fork of guetzli if you would like to use lower quality settings | |
# https://github.com/rectangular/guetzli | |
QUALITY=84 |