cat introspection_query.json
{
"query": "query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
aback | |
abase | |
abate | |
abbey | |
abbot | |
abhor | |
abide | |
abled | |
abode | |
abort |
// original from: http://mashe.hawksey.info/2014/07/google-sheets-as-a-database-insert-with-apps-script-using-postget-methods-with-ajax-example/ | |
// original gist: https://gist.github.com/willpatera/ee41ae374d3c9839c2d6 | |
// NOTE: Uses es5 javascript | |
// handle method: get | |
function doGet(e){ | |
return handleResponse(e); | |
} | |
// handles method: post | |
function doPost(e){ |
I was able to set up git
without installing brew
on Mojave (10.14 Beta 18A293u) as follows:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
in the terminalgit
works# on os x use brew to get ffmpeg with libfdk_aac | |
brew install ffmpeg --with-fdk-aac | |
# convert and use m4a as file extension | |
find . -name '*.flac' -exec sh -c 'ffmpeg -i "$1" -c:a libfdk_aac -b:a 320k "${1%.flac}.m4a"' _ {} \; |
cronStr="1 * * * * cd / && find . -name '*.DS_Store' -type f -delete" && sudo crontab -l > /tmp/currentCrons || true && echo "$cronStr" >> /tmp/currentCrons && sudo crontab /tmp/currentCrons |
Math.between = function (n1, n2, n3) { | |
return isNaN(n1) || isNaN(n2) || isNaN(n3) ? NaN : n1 >= Math.min(n2, n3) && n1 <= Math.max(n2, n3); | |
}; |