Skip to content

Instantly share code, notes, and snippets.

View aiya000's full-sized avatar
🐶
Inu

aiya000 aiya000

🐶
Inu
View GitHub Profile
@NomadBlacky
NomadBlacky / foo.scala
Last active August 13, 2018 06:08
scala.reflect.ClassTag
@ def foo[T: scala.reflect.ClassTag](obj: Any): Unit = obj match {
case t: T => println(t.getClass.getName)
case _ => println("ng")
}
defined function foo
@ foo[Int](1)
java.lang.Integer
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ababup1192
ababup1192 / elm-hello-world.md
Last active June 29, 2020 08:31
Elmの開発環境を整えて、HelloWorldをするまで

ElmのHello Worldができるまで (2018 10/25)

nodeのインストール

  • 可能であれば、nvm, nodebrew等を使ってnodeをインストールする。

以下が、現時点(2018/9/3)の安定版のバージョン。

$ node -v
@Iruyan-Zak
Iruyan-Zak / index.html
Created May 17, 2018 05:08
New gender selection form
<head>
<title>Spin radio button</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="forms-area">
<h3>性別</h3>
<div class="classic-area">
<div class="" ><input type="radio" name="classic-gender" value="1"> 男性</div>
<div class="" ><input type="radio" name="classic-gender" value="2"> 女性</div>
@leque
leque / refs.md
Last active March 31, 2018 21:47
CAML考古学参考文献

発表スライド

CAML考古学 at ML Day #1 2018-03-31 参考文献

@erukiti
erukiti / review.md
Last active October 13, 2025 07:30
Re:VIEWチートシート

Re:VIEWチートシート

いつもいつもいつもRe:VIEWの記法に悩んでぐぐってしまう皆さんへ送るチートシートです。

基本

名称 ルール 概要・備考
段落 1行以上の空行をはさむと別の段落になる HTMLでいうP
見出し =ではじまる行 =の個数で、章・節・項・段という感じで増えます。HTMLで言うH1, H2, H3, H4, H5
@matstani
matstani / clojurememo.md
Created December 28, 2017 01:11
Clojureで業務システムを作ったメモ

Clojureを仕事で使った経験をメモしておきます。 2015年の冬に本番稼働したシステムのため、使用したライブラリ等については、必ずしも現在の流行に沿っていないと思います。

作ったもの

  • スタッフがウェブブラウザによりアクセスし、ログインして使用する業務システム
    • 商品管理、売上管理、支払管理etc..

規模

  • DBテーブル数80程度
  • 画面数200程度
@rahulmutt
rahulmutt / Spec.md
Last active January 12, 2018 01:11
Eta FFI Specification

Eta FFI Specification

Architecture

The Eta FFI Generator will consist of support from three components:

  • The Eta compiler
  • The Etlas build tool
  • The eta-ffi tool

Eta Compiler

@mohemohe
mohemohe / kokoro.io.js
Last active October 23, 2017 13:03
こぴぺした
function checkUnread() {
const unreadsArray = document.querySelectorAll('.channel_name .badge.pull-right');
let counter = 0;
unreadsArray.forEach((value, index, array) => {
const innterString = value.innerHTML;
const parseData = parseInt(innterString, 10);
if(!isNaN(parseData)) {
counter += parseData;
}
@mohemohe
mohemohe / LICENSE
Last active October 29, 2017 16:19
心.io | require: curl, jq
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2017 mohemohe <[email protected]>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE