Skip to content

Instantly share code, notes, and snippets.

View sayurin's full-sized avatar

Kurata Sayuri sayurin

  • Japan
  • 14:06 (UTC +09:00)
View GitHub Profile
@sayurin
sayurin / a.cs
Created April 11, 2019 23:23 — forked from yuka1984/a.cs
わかんないやつ
public interface EntityBase {
string Name { get; }
}
public abstract class RepositoryBase<T> where T : EntityBase, new() {
private readonly string _name;
public RepositoryBase() {
_name = new T().Name;
}
@sayurin
sayurin / tinyBase64Decoder.fs
Last active June 29, 2016 22:25 — forked from alphaKAI/tinyBase64Decoder.fs
Tiny Base64 Decoder in F#
module tinyBase64Decoder
open System
open System.Collections.Generic
// Declare fundamental functions
// Generate n length Integer List (0 upto n - 1)
let iota n = [0..n-1]
// Generate n length List of x