$ brew install scala sbt giter8
This file contains 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
package com.github.j5ik2o.scalaz | |
import scalaz._ | |
import Scalaz._ | |
class Request(map: Map[String, Any]) { | |
def apply(name: String): Any = map(name) | |
} |
This file contains 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
まず | |
iCloudログイン | |
AppStoreで以下をインストール (購入済みタブからまとめてインストールできる) | |
Xcode | |
Slack | |
Sketch | |
LINE | |
sourceTree |
This file contains 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
sealed trait MyOption[+A] { | |
def map[B](f: A => B): MyOption[B] = | |
if (isEmpty) MyNone else MySome(f(this.get)) | |
def flatMap[B](f: A => MyOption[B]): MyOption[B] = | |
if (isEmpty) MyNone else f(this.get) | |
def get: A |
This file contains 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
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger (doppelheathen@gmail.com) | |
;This file is provided for your own use as-is. It will require the character rom data | |
;and an iNES file header to get it to work. | |
;There are so many people I have to thank for this, that taking all the credit for | |
;myself would be an unforgivable act of arrogance. Without their help this would | |
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |
This file contains 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
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
# | |
# ** Hatebu2Pinboard ** | |
# はてブのAtomエクスポートデータをPinboardにインポートします。 | |
# カレントディレクトリにエクスポートデータ(dump.yml)と、 | |
# Pinboardのユーザ名、パスワードを書いたYAMLファイル(auth.yml)を | |
# 用意して下さい。 | |
# | |
# [usage] |