Skip to content

Instantly share code, notes, and snippets.

@kou029w
kou029w / colaboratory.ipynb
Last active November 8, 2018 09:13
Colaboratoryで感情-音声データセット使った感情解析をやってみた
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
HISTSIZE=1000000
HISTFILESIZE=2000000
PROMPT_COMMAND='[[ $_PWD == $PWD ]] || { _PWD=$PWD; ls; }'
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$(__git_ps1 " \[\033[32m\](%s)\[\033[00m\]")\n\$ '
shopt -s autocd
@kou029w
kou029w / README.md
Last active November 3, 2019 01:19
ads1x15 example

Usage

npm i
node index.js
@kou029w
kou029w / config.part.js
Created January 14, 2020 11:23
tottori-iot.netlify.com 設定例抜粋
speechAgent: {
enable: true,
notifyWhen: () => {
const hours = new Date().getHours();
return 7 <= hours && hours < 19;
},
notifyScript: ({ temperature, eTVOC }) => {
return [
temperature <= 18 ? "暖房を入れましょう" : null,
28 <= temperature ? "暖房を切りましょう" : null,