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> | |
<base target="_top"> | |
</head> | |
<body> | |
<b>🎊消化タスク🎊<br> | |
<br> | |
<? for (var j=0; j < tasks.length; j++) {?> | |
☑ <?=tasks[j].title?><br> |
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 MAIL = 'yourmail@example.com'; | |
/* | |
* タスクリストを取得 | |
*/ | |
function getTaskLists() { | |
var taskLists = Tasks.Tasklists.list().getItems(); | |
if (!taskLists) { | |
return []; | |
} |
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 YEAR = '2018'; | |
var MONTH = '10'; | |
var EMAILS = [ | |
'yamamoto@gmail.com', | |
'hasegawa@gmail.jp' | |
] | |
// カレンダータイトルが対象のものかチェック | |
function isTargetTitle(title) { | |
if(title.match(/データ入力/) |
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
// Cubeがカメラ視野の中心にあるか調べるスクリプト | |
// このスクリプトをCubeにアタッチする | |
public class direction : MonoBehaviour { | |
GameObject camera; | |
void Start () { | |
camera = GameObject.FindWithTag ("MainCamera"); | |
} | |
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 Uniduino; | |
public class ArduinoController : MonoBehaviour { | |
public Arduino arduino; | |
// 8番ピン | |
int FOOT_SWITCH_PIN = 8; | |
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 Uniduino; | |
public class ArduinoController : MonoBehaviour { | |
public Arduino arduino; | |
public int pinValueX; | |
public int pinValueY; | |
public int pinValueZ; | |
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 Uniduino; | |
public class BlinkyLight : MonoBehaviour { | |
public Arduino arduino; | |
// Use this for initialization | |
void Start () { | |
arduino = Arduino.global; |
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 Uniduino; | |
public class AngleSensorScript : MonoBehaviour { | |
public Arduino arduino; | |
public int pinValueX; | |
public int pinValueY; | |
public int pinValueZ; |
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 <Distance.h> | |
#define RUN_MODE_STOP 0 | |
#define RUN_MODE_RUN 1 | |
#define MOTOR_MODE_STOP 0 | |
#define MOTOR_MODE_FORWARD 1 | |
#define MOTOR_MODE_BACKWARD 2 | |
#define MOTOR_MODE_RIGHT 3 | |
#define MOTOR_MODE_LEFT 4 |
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> | |
<script src="https://www.dropbox.com/static/api/dropbox-datastores-1.0-latest.js"></script> | |
</head> | |
<body> | |
<form name="form"> | |
FileList:<select id="fileSelect"> | |
<option value="">=== Select File ===</option> | |
</select><br> |