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
html | |
head | |
title live | |
link(href='https://vjs.zencdn.net/7.10.2/video-js.css' rel='stylesheet') | |
style. | |
* { | |
margin: 0; | |
} | |
body, | |
html { |
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
; Installer https://www.autohotkey.com/ | |
; Run `AutoHotkey_1.xxx_setup.exe` | |
; alt-ime-ahk | |
; https://github.com/karakaram/alt-ime-ahk | |
; ファイル配置 | |
; ├ alt-ime-ahk.ahk | |
; ├ IME.ahk | |
; └ (this file).ahk |
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 UnityEditor; | |
/// <summary> | |
/// このコンポーネントはMainシーンから加算ロードされた場合、非アクティブになる | |
/// </summary> | |
public class PartialSceneObject : MonoBehaviour | |
{ | |
// 単体シーンのロード時に SceneLoader.cs から呼ばれる | |
public void Init() |
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.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading; | |
using UnityEngine; | |
public class UDPReceive : MonoBehaviour | |
{ | |
static UdpClient udp; | |
Thread thread; |
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.Net.Sockets; | |
using System.Text; | |
using UnityEngine; | |
public class UDPSender : MonoBehaviour | |
{ | |
private UdpClient client; | |
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
/* | |
-------------------------------------------------------------------------------- | |
Config | |
-------------------------------------------------------------------------------- | |
*/ | |
var dgram = require('dgram') | |
, Buffer = require('buffer').Buffer; | |
var HEADER = [65, 114, 116, 45, 78, 101, 116, 0, 0, 80, 0, 14, 0, 0, 0, 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
/** | |
* 基底クラス | |
* @file base.js | |
*/ | |
function Base () | |
{ | |
this.position = { x:0, y:0, z:0 }; | |
} | |
Base.prototype.update = function () |
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
/** | |
* オブジェクトをクエリーにする | |
* @param obj {Object} | |
* @returns {String} | |
* @private | |
*/ | |
toQuery = function(obj) | |
{ | |
var query = ''; |
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
/** | |
* jQuery extend | |
*/ | |
jQuery.fn.extend({ | |
/** | |
* plugin | |
* | |
* @param {Object} argument comment | |
*/ | |
plugin: function(args) |
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
# http://qiita.com/items/57ccb570f02799efd9d3 | |
fs = require 'fs' | |
path = require 'path' | |
{spawn, exec} = require 'child_process' | |
option '-o', '--output [DIR]', 'Output directory.' | |
option '-t', '--target [DIR]', 'Watch target directory.' | |
NewerOlder