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 System.Windows.Forms; | |
using System.Threading.Tasks; | |
using System.Threading; | |
namespace Test1 | |
{ | |
public class TaskTest | |
{ | |
private async void Test1() |
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; | |
public class Ray : MonoBehaviour { | |
// Use this for initialization | |
void Start () { | |
} | |
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
"use strict"; | |
var sphero = require("sphero"); | |
var orb = sphero("<ポート名>"); | |
orb.connect(listen); | |
var isRed = false; | |
function listen() { | |
orb.color("green"); | |
setInterval(function() { | |
if (isRed) { | |
orb.color("red"); |
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 posX = 0, posY = 0; // お好きな値に。 | |
var deg = Math.atan2(posY, posX) / (Math.PI / 180) + 180 |
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
{ | |
"port": <ポート名>, | |
"ip": "IPアドレス(127.0.0.1はダメ!)", | |
"sphero_serialport": "Spheroのシリアルポート" | |
} |
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
<!--Tumblr Tag Cloud--> | |
<script type="text/javascript" src="http://static.tumblr.com/zpgybcc/Neelpcziw/tumblr.min.js?minsize=120&maxsize=280&css=default"></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
var gulp = require("gulp"); | |
var watchify = require("watchify"); | |
var browserify = require("browserify"); | |
var tsify = require("tsify"); | |
var source = require("vinyl-source-stream"); | |
gulp.task("watchify-tsify", function() { | |
var b = watchify(browserify({ | |
entries: [ "./ts/a.ts", "./ts/b.ts", /* ... */], | |
cache: {}, |
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
document.addEventListener("DOMContentLoaded", () => { | |
var movejs = document.createElement("script"); | |
movejs.src = "<インストール先>/bower_components/move.js/move.min.js"; // move.jsのインストール先 | |
document.head.appendChild(movejs); | |
}); |
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
```js | |
// ..... | |
var hoge = () => { | |
}; | |
// ...... | |
``` |
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
<div> | |
[javascript] (好きな言語に) | |
// ... | |
var hoge = () => { | |
}; | |
// ... | |
[/javascript] | |
</div> |
OlderNewer