I hereby claim:
- I am narikakun on github.
- I am narikakun (https://keybase.io/narikakun) on keybase.
- I have a public key ASCl15bvq22yBKN5EHRI0TYUbfb7sc0LSejB9VVHR1ilkgo
To claim this, I am signing this object:
| /* ==UserStyle== | |
| @name TwitterRevertColoring | |
| @description Twitter の UI の配色を元に戻すユーザースタイル | |
| @namespace https://gist.github.com/tsukumijima | |
| @updateURL https://gist.github.com/tsukumijima/931905c4ed3f181ce926730463a29d80/raw/TwitterRevertColoring.user.css | |
| @author tsukumi | |
| @version 1.0.0 | |
| @license MIT | |
| ==/UserStyle== */ |
I hereby claim:
To claim this, I am signing this object:
| import network | |
| WIFI_SSID = "WiFi SSID" | |
| WIFI_PASSWORD = "WiFi Password" | |
| wlan = network.WLAN(network.STA_IF) | |
| wlan.active(True) | |
| wlan.config(pm = 0xa11140) # Disable power-save mode | |
| if not wlan.isconnected(): | |
| wlan.connect(WIFI_SSID, WIFI_PASSWORD) |
| from nanoguilib.color_setup import ssd | |
| from nanoguilib.nanogui import refresh | |
| from nanoguilib.label import Label | |
| from nanoguilib.writer import CWriter | |
| import nanoguilib.freesans20 as freesans20 | |
| from nanoguilib.colors import * | |
| CWriter.set_textpos(ssd, 0, 0) | |
| wri = CWriter(ssd, freesans20, GREEN, BLACK, verbose=False) | |
| wri.set_clip(True, True, False) |
| import hashlib | |
| import hmac | |
| import base64 | |
| import cmath | |
| import urequests | |
| base_url = 'https://api.switch-bot.com/v1.1/' | |
| token = "SwitchBot API Token" | |
| secret = "SwitchBot API Secret" | |
| device_id = "" |
| import ntptime | |
| ntptime.settime() |
| ' 魔法の言葉 | |
| Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal ms As Long) | |
| ' スタート! | |
| Sub Start() | |
| ' i を定義する | |
| Dim i | |
| ' 1 から 3 まで i に数字を代入しながら繰り返す | |
| For i = 1 To 3 | |
| ' H3 セルに i の数字を入れる |