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
| t = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50) | |
| main = print t | |
| -- OutPuts: | |
| -- nums.hs:2:6: | |
| -- No instance for (Num t0) arising from the literal `1' | |
| -- The type variable `t0' is ambiguous | |
| -- Possible cause: the monomorphism restriction applied to the following: | |
| -- t :: (t0, |
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
| # -*- coding:utf-8 -*- | |
| import os, sys | |
| from reportlab.pdfgen import canvas | |
| CANVAS = canvas.Canvas("sample.pdf", bottomup=False) | |
| OFFSET = (50, 50) | |
| XPAD, YPAD = (5, 5) | |
| FONT_SIZE = 30 | |
| CANVAS.setFont("Helvetica", FONT_SIZE) |
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
| C-x C-c: Emacsを終了する | |
| C-v: 次の画面に進む | |
| M-v: 前の画面に戻る | |
| C-l: 画面を書き直す | |
| C-p: 前の行に戻る | |
| C-b: 前の文字に戻る | |
| C-f: 次の文字に移動 | |
| C-n: 次の行に移動 |
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
| { | |
| "aiya": ["aiya", "あいや", "@aiya_000", "@public_ai000ya"], | |
| "カワズ": ["カワズ", "@MrBoilingFrog"], | |
| "ピヨ": ["@cyclic_select", "ピヨ"] | |
| } |
-
ubuntu-restricted-extras
-
数学の文章書くのに使うの
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
| enchant(); | |
| var CELL_LENGTH = 32; | |
| window.onload = function() { | |
| var core = new Core(350, 320); | |
| core.fps = 30; | |
| core.preload("chara1.png"); | |
| core.preload("map0.png"); |
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
| 基本: | |
| tmux ls: セッションの確認 | |
| <pre>d: セッションのデタッチ | |
| tmux attach: 直近のセッションにアタッチ | |
| tmux kill-session: セッションの削除 | |
| <pre>$: セッションのリネーム | |
| windowの操作: | |
| <pre>c: 新規window | |
| <pre>{win-num}: windowの移動 |
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
| #!/usr/bin/env python | |
| # coding: UTF-8 | |
| class Character(str): | |
| pass | |
| ONE = (Character('1'), 0) | |
| class Word(list): | |
| # list of pair of Character and power |
