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> |
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 <iostream> | |
| #include <type_traits> | |
| #include <utility> | |
| #if defined(__cpp_variadic_using) && defined(__cpp_deduction_guides) | |
| template <typename... Fs> | |
| class | |
| #if defined(__has_cpp_attribute) && __has_cpp_attribute(nodiscard) | |
| [[nodiscard]] |
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
| VS_VERSION_INFO VERSIONINFO | |
| FILEVERSION 1,2,3,4 | |
| PRODUCTVERSION 1,2,3,4 | |
| FILEFLAGSMASK 0x3fL | |
| #ifdef _DEBUG | |
| FILEFLAGS 0x1L | |
| #else | |
| FILEFLAGS 0x0L | |
| #endif | |
| FILEOS 0x40004L |
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
| set clipboard=unnamed | |
| set hlsearch | |
| set incsearch | |
| set virtualedit=block | |
| set whichwrap=b,s,h,l,<,>,[,] | |
| set ignorecase smartcase | |
| set scrolloff=5 | |
| nnoremap c "_c | |
| nnoremap x "_x | |
| nnoremap n nzz |