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
#include <M5StickC.h> | |
#include <WiFi.h> | |
#include <ssl_client.h> | |
#include <HTTPClient.h> | |
#define PIN_SW 26 | |
const char* ssid = "ssid"; | |
const char* password = "pass"; | |
const char* WEBHOOK_URL = "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
cd /D "%~dp0" | |
for /D %%G in ("*.*") do ( | |
echo %%~nxG | |
"C:\Program Files\7-Zip\7z.exe" a "%%~nxG.zip" "%%~nxG" | |
) | |
cmd /k |
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
# CMakeのバージョン | |
cmake_minimum_required(VERSION 3.19) | |
# プロジェクト名 | |
project(proj_name CXX) | |
# PyBind11 を取得 | |
include(FetchContent) | |
FetchContent_Declare( | |
pybind11 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
</head> | |
<body> | |
<div style="height: 480px; width: 600px; display: block"> | |
<div | |
style=" | |
height: 100%; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Blockly Demo: Generating JavaScript</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/blockly/7.20211209.0-beta.0/blockly_compressed.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/blockly/7.20211209.0-beta.0/blocks_compressed.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/blockly/7.20211209.0-beta.0/javascript_compressed.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/blockly/7.20211209.0-beta.0/msg/en.min.js"></script> | |
<style> |
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
# coding: utf-8 | |
import logging | |
import traceback | |
import argparse | |
import time | |
from logging.handlers import RotatingFileHandler | |
from contextlib import contextmanager | |
logger = logging.getLogger(__name__) |
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
javascript: (function () { | |
/* Kindle Translator V 0.4*/ | |
/* based on ACRExtensions via https://github.com/binarycrafts/ACRExtensions */ | |
var w = null; | |
var kDoc = null; | |
var kObj = null; | |
if (typeof window.KindleReaderContextMenu !== 'undefined') { | |
w = window; | |
} else if (window.length) { | |
for (var i=0;i<window.length;i++) { |
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
javascript: (function () { | |
/* Kindle Translator V 0.4*/ | |
/* based on ACRExtensions via https://github.com/binarycrafts/ACRExtensions */ | |
var w = null; | |
var kDoc = null; | |
var kObj = null; | |
if (typeof window.KindleReaderContextMenu !== 'undefined') { | |
w = window; | |
} else if (window.length) { | |
for (var i=0;i<window.length;i++) { |
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 sys | |
import codecs | |
from sets import Set | |
import xml.etree.ElementTree as ET | |
convert_tuples = [ | |
(u'\u00a6',u'\u007c'),#broken bar=>vertical bar | |
(u'\u2014',u'\u2015'),#horizontal bar=>em dash | |
(u'\u2225',u'\u2016'),#parallel to=>double vertical line | |
(u'\uff0d',u'\u2212'),#minus sign=>fullwidth hyphen minus |
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 sys | |
import codecs | |
from sets import Set | |
import xml.etree.ElementTree as ET | |
convert_tuples = [ | |
(u'\u00a6',u'\u007c'),#broken bar=>vertical bar | |
(u'\u2014',u'\u2015'),#horizontal bar=>em dash | |
(u'\u2225',u'\u2016'),#parallel to=>double vertical line | |
(u'\uff0d',u'\u2212'),#minus sign=>fullwidth hyphen minus |
NewerOlder