This file contains hidden or 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
function doGet() { | |
const token = PropertiesService.getScriptProperties().getProperty("REMO_API_TOKEN"); | |
if (!token) { | |
throw new Error('REMO_API_TOKEN must be set as script property'); | |
} | |
Logger.log("=== begin ==="); | |
postTv(token, "power"); // 電源ON | |
sleep(20000); |
This file contains hidden or 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 bash | |
#### | |
# | |
# peco-awslogs | |
# | |
# awslogs getのラッパー。 | |
# AWSのロググループをpecoで絞って取得する。 | |
# | |
# original: https://qiita.com/hiroga/items/2a9a4673f60aca7cc48f |
OlderNewer