This file contains hidden or 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
#!/bin/bash | |
set -eu | |
if [ $# -lt 1 ]; then | |
echo Invalid arguments 1>&2 | |
echo [USAGE] | |
echo $0 UNITYPACKAGE | |
exit 1 | |
fi |
This file contains hidden or 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; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using System.Reflection.Emit; | |
namespace Koturn | |
{ | |
/// <summary> | |
/// Provides some utility methods of <see cref="List{T}"/>. |
This file contains hidden or 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; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
namespace Koturn | |
{ | |
/// <summary> |
This file contains hidden or 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
Shader "koturn/GameOfLife" | |
{ | |
// セルの生存をアルファ値で管理する | |
// 座標(0, 0)は更新間隔管理に用いており,描画セルかどうかの座標値の判定は省いているので, | |
// (0, 0)に影響を及ぼさない安定したパターンを初期値として与える必要がある. | |
Properties | |
{ | |
_Color ("Cell Color", Color) = (0.0, 1.0, 0.0, 1.0) | |
_TimeScale ("Time multiplier for HSV rotation", Float) = 0.1 |
This file contains hidden or 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; | |
using System.IO; | |
using System.Linq; | |
namespace MoveFileByTimestamp | |
{ | |
public class Program | |
{ | |
private static readonly TimeSpan DefaultOffsetTs; |
This file contains hidden or 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 Wandbox | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine(Foo.Instance.Name); | |
Console.WriteLine(Bar.Instance.Name); |
This file contains hidden or 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
[[plugins]] | |
repo = 'Shougo/dein.vim' | |
[[plugins]] | |
repo = 'fsharp/vim-fsharp' | |
[[plugins]] | |
repo = 'neovim/pynvim' | |
[[plugins]] |
This file contains hidden or 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 <algorithm> | |
#include <iostream> | |
#include <vector> | |
#if 0 | |
template<class... Ts> struct overloaded : Ts... { using Ts::operator()...; }; | |
template<class... Ts> overloaded(Ts&&...) -> overloaded<std::decay_t<Ts>...>; | |
#else | |
template <typename... Fs> |
NewerOlder