- Alexa Smart Home I Works with Amazon Alexa Certification
- Certify Your Device with Works with Alexa
- Works with Alexa - Program Guidelines - Amazon Apps & Services Developer Portal
- Connected and controlled by your skill that uses the Smart Home Skill API and is published in the skill store.
- Works with Alexa - Trademark Usage Guidelines - Amazon Apps & Services Developer Portal
- Works with Alexa Requirements for a Smart Home Skill
- Target version 3
- Works with Alexa - Program Guidelines - Amazon Apps & Services Developer Portal
- Implement state reporting
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
// 需要调整到变量 | |
var webhook = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=baffda1c-c922-409e-91ef-***********" | |
//定义post方法 | |
function posthttp(url, data) { | |
var xhr = new XMLHttpRequest(); | |
xhr.addEventListener("readystatechange", function () { | |
if (this.readyState === 4) { | |
flash(this.responseText); //显示返回消息,可删除本行 | |
} |
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
30 2 * * Sun /path/to/disk-cleanup.sh |
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 csv | |
# 解析文件,得到函数行数的列表 | |
def get_len_arr(filename='result.csv'): | |
arr = [] | |
with open(filename) as fp: | |
# 获取头部(返回一个元祖) | |
print(next(fp)) |
#基于树莓派的直播平台系统搭建
##1. 安装FFMPEG并添加H.264编解码器支持
###1.1 更新源并安装git
sudo apt-get update
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
MD5 implementation in C |
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
CRC16 CCITT / 16位CRC检验算法的C语言实现 |
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
@echo off | |
:: BatchGotAdmin | |
:------------------------------------- | |
REM --> Check for permissions | |
IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" ( | |
>nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system" | |
) ELSE ( | |
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" | |
) |
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
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
/* ========================================================================== | |
HTML5 display definitions | |
========================================================================== */ | |
/** | |
* Correct `block` display not defined in IE 8/9. | |
*/ |
NewerOlder