Skip to content

Instantly share code, notes, and snippets.

View eiel's full-sized avatar

HIMURA Tomohiko eiel

View GitHub Profile
openapi: 3.0.0
servers:
- url: 'https://api.chatwork.com/v2'
info:
title: ChatWork API
version: "v2-oas3"
paths:
/contacts:
get:
responses:
@eiel
eiel / sayable.ex
Last active April 23, 2018 16:10
多相確認
# 構造体定義
defmodule Cat do
defstruct [:name]
end
defmodule Dog do
defstruct [:name]
end
# インターフェイス定義

この記事はそんな広島 Advent Calendar 2017の13日目の記事です。

明日は、Ando Mitsuakiさんのそんな広島 Advent Calendar 2017 を作りながら思ったことです。 私が予想するに、2017年の広島のAdvent Calendarが作成されず、どうして作成されなかったのか考察をする記事が投稿されるはずです。

明日の記事が公開される前に、どうして2017年のAdvent Calendarが作成されなかったのか、予想をしたいと思う。

  1. 毎年作っているeielさんに「今年は作らないんですか?」という話がこなかった
  2. eielさんが忙しく、もしカレンダーが埋まらなかったときに、対処する術を持たないと判断したため。
@eiel
eiel / github-abc.md
Last active August 25, 2017 00:55
GitHubの参考になるサイトさがしたけど、うーん。むずかしい。

GitHub入門にオススメしたいサイトを探したり

対象者

HTMLやCSSのコーディングをする人

学んで欲しいこと

  • GitHubが何をするところなのか
  • 作品を公開するところ
@eiel
eiel / Cargo.toml
Last active August 6, 2017 05:22
Rustで「ゼロからつくるDeep Learning」 p26 2.3.2 重みとバイアスの導入
[package]
name = "rust-nn"
version = "0.1.0"
authors = ["Tomohiko Himura <eiel.hal@gmail.com>"]
[dependencies]
nalgebra = "0.12.3"
@eiel
eiel / say.hs
Created November 11, 2016 16:22
{-# LANGUAGE MultiParamTypeClasses #-}
import Text.Printf
data Hello = Hello
data Goodbye = Goodbye
data Teacher = Teacher String
data Friend = Friend String
class Say a b where
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eiel
eiel / hoge.ipynb
Last active September 24, 2016 09:57
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eiel
eiel / Build.sbt
Last active August 10, 2016 11:38
akka stream で backpressureをdelayをつかって体験してみる - http://blog.eiel.info/blog/2016/08/08/ltdd-28-akka-stream/
scalaVersion := "2.11.7"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-stream" % "2.4.8"
)