これは [Haskell Advent Calendar 2012][] の11日目の記事です。
Haskell でデータ設計を便利に行う発想・方法について書きました。
[persistent][] というライブラリを活用します。
Haskell を知らなくても読めます。
主な対象読者は [プログラミングHaskell][] か [すごいHaskellたのしく学ぼう!][] を読み、Haskell をより使いたい人です。
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
| # source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list | |
| # A list of available STUN server. | |
| stun.l.google.com:19302 | |
| stun1.l.google.com:19302 | |
| stun2.l.google.com:19302 | |
| stun3.l.google.com:19302 | |
| stun4.l.google.com:19302 | |
| stun01.sipphone.com | |
| stun.ekiga.net |
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
| package niochat; | |
| import java.net.*; | |
| import java.nio.*; | |
| import java.nio.channels.*; | |
| import java.io.IOException; | |
| import java.util.*; | |
| public class NiochatServer implements Runnable { | |
| private final int port; |
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
| メ __-─-,-- _ | |
| ,イ >:::::::::::< ヽ〟 | |
| ヽ─イ /,::::,::::::::\ >─r | |
| ヾ〟//:!:::ハ::::::|:!:ヽ ,丿 | |
| ソ r:リヤ ハ::::::ハ:ハ::|rヘ〟 | |
| Ⅲ:|:| V―ヘ::::/-ル゙|/ ハリ\ あらぶる | |
| !|:ハ:|,-=〟ヽ/,-=.ソハリ H Vim の | |
| !ヽriゾUソゾ "ハUソノ゙hNノソ ぽーず♡ | |
| |!ハヾヾ` `´ノlリ´ | |
| ノ:ノハ ハ 丶 クハ ____ |
| 更新: | 2013-07-30 |
|---|---|
| バージョン: | 0.1.1 |
| 作者: | @voluntas |
| URL: | http://voluntas.github.io/ |
概要
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
| package main | |
| import ( | |
| "net/http" | |
| "html/template" | |
| ) | |
| type Page struct { |
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
| ;; 前置きとして… | |
| ;; どんな言語にもあると思いますが、 Common Lisp にも一般的なスタイルがあります。 | |
| ;; まずは、それに目を通すことをおすすめします。 | |
| ;; | |
| ;; Google Common Lisp Style Guide | |
| ;; en: https://google-styleguide.googlecode.com/svn/trunk/lispguide.xml | |
| ;; jp: http://lisphub.jp/doc/google-common-lisp-style-guide/ | |
| ;; | |
| ;; Tutorial on Good Lisp Programming Style | |
| ;; en: http://www.norvig.com/luv-slides.ps |
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
| # morimorihoge screenrc | |
| escape \233\233 | |
| zombie | |
| hardstatus on | |
| defbce on | |
| # Protection from attacks | |
| multiuser off |
2025/05/25 更新
この記事は、自作OS Advent Calendar 2018の 12/2 の記事として書かれました。
意外と、まとまったページが無いという認識だったので、記事にしてみました。