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
function init() { | |
window.Store = {} | |
window.Store.pos = [ | |
[1,1,1,1], | |
[1,1,1,1], | |
[1,1,1,1], | |
] | |
window.Store.rot = [ | |
[1,1,1,1], |
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
public interface IOption<T>:IEquatable<IOption<T>>, IEquatable<T> | |
{ | |
bool IsDefined | |
{ | |
get; | |
} | |
// Something Method | |
// ... | |
} | |
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; | |
using NUnit.Framework; | |
public class JsonUtilTest { | |
[System.Serializable] | |
public class user_self{ | |
public user data; | |
} |
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
addSbtPlugin("org.flywaydb" % "flyway-sbt" % "4.0.3") | |
resolvers += "Flyway" at "http://flywaydb.org/repo" |
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
{"lastUpload":"2021-11-18T08:32:51.467Z","extensionVersion":"v3.4.3"} |
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
[info] Resolving org.scala-sbt.ivy#ivy;2.3.0-sbt-c5d1b95fdcc1e1007740ffbecf4eb07abc51ec93[info] Resolving org.fusesource.jansi#jansi;1.4 ... | |
[warn] :::::::::::::::::::::::::::::::::::::::::::::: | |
[warn] :: UNRESOLVED DEPENDENCIES :: | |
[warn] :::::::::::::::::::::::::::::::::::::::::::::: | |
[warn] :: org.flywaydb#flyway-sbt;4.0.1: not found | |
[warn] :::::::::::::::::::::::::::::::::::::::::::::: | |
[warn] | |
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes. | |
[warn] org.flywaydb:flyway-sbt:4.0.1 (scalaVersion=2.10, sbtVersion=0.13) | |
[warn] |
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; | |
namespace LSD | |
{ | |
public interface IEither<T1, T2> | |
{ | |
U Use<U>(Func<T1, U> ofLeft, Func<T2, U> ofRight); | |
bool IsRight{ | |
get; | |
} |
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
#pragma strict | |
public var speed : float = 3; public var jumpPower : float = 6; | |
private var direction : Vector3 = Vector3.zero; | |
private var playerController : CharacterController; | |
private var animator : Animator; | |
function Start() { | |
playerController = GetComponent( CharacterController ); | |
animator = GetComponentInChildren( Animator ); |
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
//Phantomjsを使ってPDFをエクスポートしてみた | |
var phantom = require('phantom') | |
phantom.create(function(ph){ | |
ph.createPage(function(page) { | |
page.open("http://www.google.com", function(status) { | |
page.render('google.pdf', function(){ | |
console.log('Page Rendered'); |
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
/** | |
* DB Connection | |
* @type {{host, user, password, database}} | |
*/ | |
var params = (function(){ | |
if(sails.config.environment == 'production'){ | |
return { | |
host: sails.config.connections.prodMysqlServer.host, | |
user: sails.config.connections.prodMysqlServer.user, | |
password: sails.config.connections.prodMysqlServer.password, |
NewerOlder