sudo defaults write /System/Library/LaunchDaemons/com.apple.syslogd.plist Sockets -dict-add NetworkListener "{ SockServiceName = syslog; SockType = dgram; }"
/etc/asl/remote-syslog (新規作成):
#!/bin/sh | |
PROXY_USER=user | |
PROXY_PASS=password | |
PROXY_PORT=3128 | |
# Clear the repository index caches | |
yum clean all | |
# Update the operating system |
Server側(リモートから再起動したいマシン)
Client側 (リモートマシン)
cloud console | |
firebase の install , login 不要 | |
いきなり firebase init で可 | |
既存の firebase project に機能追加するのは firebase init functions (例) |
// Original: https://gist.github.com/elifkus/09cd63b3cfbf4e070ecc83b4a4358eaa/281be3cc626dafeed767613ee5e3bad078268e38 | |
// TODO; 日単位で集計(加算)して、 | |
/** | |
* There is a write-up of how to get this code to run. https://elifk.us/en/retrieving-your-strava-data-with-google-app-scripts/ | |
*/ | |
var scriptProp = PropertiesService.getScriptProperties().getProperties(); |