-
anything.el や helm.el の話をします
-
Vim における anything.el 的存在である unite.vim の話をします
-
Emacs 全然分からないので、間違っているところがあったら突っ込み歓迎
-
さらにオマケもあるよ
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
"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 slot = [1, 2, 3, 4]; | |
var snare = slot.map(function(i){ | |
return document.querySelector("#snare" + i); | |
}); | |
var cymbal = slot.map(function(i){ | |
return document.querySelector("#cymbal" + i); | |
}); | |
var id; | |
var current = 0; |
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 UnityEditor; | |
using System.IO; | |
/// <summary> | |
// ScriptableObjectをプレハブとして出力する汎用スクリプト | |
/// </summary> | |
// <remarks> | |
// 指定したScriptableObjectをプレハブに変換する。 |
NewerOlder