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
import asyncio | |
from pyppeteer import launch | |
from pathlib import Path | |
# ref:https://qiita.com/horikeso/items/69528c2b21ede15a56ee | |
download_path = Path("./download") | |
async def main(): |
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
import asyncio | |
from pyppeteer import launch | |
from pathlib import Path | |
import time | |
# ref:https://qiita.com/horikeso/items/69528c2b21ede15a56ee | |
download_path = "./download" | |
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
function createWebhook(){ | |
// プロパティを設定してから必要な情報を取り出す | |
// 参考:https://qiita.com/0Delta/items/7d8303eebbff4062069e | |
var scriptProp = PropertiesService.getScriptProperties().getProperties(); | |
var trelloKey = scriptProp.TRELLO_API_KEY; | |
var trelloToken = scriptProp.TRELLO_TOKEN; | |
// Trello WebhookへCallback URLを登録する手順 | |
// 1. 登録用のURL生成のために、GASのWEBアプリケーションの公開を以下のように変更してURLを生成する |
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
""" | |
Requeriments: | |
$ sudo pip install boto dnspython | |
Edit ~/.boto to use your AWS credentials | |
""" | |
import time | |
import sys |
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
#define BLYNK_USE_DIRECT_CONNECT | |
#define BLYNK_PRINT Serial | |
#include <BlynkSimpleSerialBLE.h> | |
#include <Adafruit_BLE.h> | |
#include <Adafruit_BluefruitLE_SPI.h> | |
#include <SPI.h> | |
#include <OneWire.h> | |
#include <DallasTemperature.h> |
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
import subprocess | |
import datetime | |
from pprint import pprint | |
ROUTER = "" | |
NW = "" | |
RUN_COUNT = 2 | |
speedtest_command = "speedtest-cli --server 15047".split(" ") |
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
class 日本語挨拶: | |
def __init__(self, 名前): | |
self.名前 = 名前 | |
def 朝(self): | |
print("{}さん おはようございます".format(self.名前)) | |
def 昼(self): | |
print("{}さん こんにちは!".format(self.名前)) | |
def 晩(self): | |
print("{}さん こんばんは".format(self.名前)) | |
def はまちちゃん(self): |
NewerOlder