Skip to content

Instantly share code, notes, and snippets.

View sussan0416's full-sized avatar

Takahiro Suzuki sussan0416

View GitHub Profile
本アプリでは、アプリの利用に関する情報を収集しません。
This application does not collect information about the use of the application.
Updated: 2023/07/28
本アプリでは、アプリの利用に関する情報を収集しません。
Updated: 2023/05/10
@sussan0416
sussan0416 / Privacy policy for ぽんぽんツイートシステム
Created November 17, 2022 14:21
Privacy policy for ぽんぽんツイートシステム
本アプリでは、アプリの利用に関する情報を収集しません。
また、本アプリを通してツイートしたことによるいかなるトラブルも、開発者は責任を負いません。
Updated: 2022/11/17
@sussan0416
sussan0416 / ESP32WebServerWithBME280.ino
Created November 22, 2021 14:55
ESP32とBME280を使って、温湿度計を実装する
#include <WiFi.h>
#include <WebServer.h>
#include <ESPmDNS.h>
#include <Wire.h>
#include "SparkFunBME280.h"
#include <time.h>
#define HTML "<!doctype html>"\
"<html lang=\"ja\">"\
"<head>"\
@sussan0416
sussan0416 / NTPClockWithTempSensor.ino
Last active September 4, 2021 15:45
NTP時計 + 温湿度計
#include <ESP8266WiFi.h> // for WIFI
#include <time.h> // for time(), localtime()
// Wi-Fi設定
#define WIFI_SSID "your wi-fi ssid"
#define WIFI_PASSWORD "your wi-fi password"
// NTP設定
#define TIMEZONE_JST "JST-9" // Arduino/cores/esp8266/TZ.h
#define NTP_SERVER1 "ntp.nict.jpntp.nict.jp" // NTPサーバー
@sussan0416
sussan0416 / MailTrasher.gs
Last active March 12, 2020 13:43
A Google Apps Script for trashing aged mails.
// Set this function as Trigger
function myFunction() {
const queries = [
"from: to-be-trashed@hoge.fuga.com",
"from: high-frequently-ads@hoge.fuga.com"
];
trashMails(queries);
}
function getDateBefore7Days() {
@sussan0416
sussan0416 / file0.txt
Created February 13, 2018 02:16
Cloud Datalabに大きなデータをアップロードする方法 ref: https://qiita.com/sutchan/items/263cf60ff76152426ccc
gcloud projects list
gcloud config set core/project プロジェクトID