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
#!/bin/sh | |
REPOS="$1" | |
REV="$2" | |
TXN_NAME="$3" | |
# ------------------------------ | |
# Mattermost Setting | |
# ------------------------------ | |
# チェンネル |
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
gitlab-mysql: | |
restart: always | |
image: sameersbn/mysql:latest | |
container_name: gitlab-mysql | |
environment: | |
- DB_USER=gitlab | |
- DB_PASS=password | |
- DB_NAME=gitlabhq_production | |
volumes: | |
# データ永続化のため、/srv/docker/gitlab/mysqlはよしなに |
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
[ | |
{ | |
"id": "6dbbe3cf.ae249c", | |
"type": "inject", | |
"z": "3da1702f.6ba46", | |
"name": "", | |
"topic": "", | |
"payload": "", | |
"payloadType": "date", | |
"repeat": "", |
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 lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>加速度センサー</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> |
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
using UnityEngine; | |
using System.Collections; | |
using IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1; | |
using IBM.Watson.DeveloperCloud.Services.SpeechToText.v1; | |
/// <summary> | |
/// Watson Manager. | |
/// </summary> | |
[RequireComponent(typeof(AudioSource))] | |
public class WatsonManager : MonoBehaviour |
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
using SimpleJSON; | |
using UnityEngine; | |
using System.Collections; | |
/// <summary> | |
/// Google Translate. | |
/// </summary> | |
public class GoogleTranslate : MonoBehaviour | |
{ | |
/// <summary> |
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
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.UI; | |
using IBM.Watson.DeveloperCloud.Services.TextToSpeech.v1; | |
using System; | |
public delegate void CallBack(string text); | |
/// <summary> | |
/// Introduction. |
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
{ | |
"PHP_EXTENSIONS": [ "bz2", "zlib", "curl", "mcrypt", "mbstring", "mysql", "pdo", "pdo_mysql", "fileinfo", "ftp", "zip" ] | |
} |
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 localMediaStream = null; | |
var localScriptProcessor = null; | |
audioData = []; // 録音データ | |
var onAudioProcess = function(e) { | |
var input = e.inputBuffer.getChannelData(0); | |
var bufferData = new Float32Array(bufferSize); | |
for (var i = 0; i < bufferSize; i++) { | |
bufferData[i] = input[i]; | |
} |