-
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
{ | |
"aiya": ["aiya", "あいや", "@aiya_000", "@public_ai000ya"], | |
"カワズ": ["カワズ", "@MrBoilingFrog"], | |
"ピヨ": ["@cyclic_select", "ピヨ"] | |
} |
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
# -*- 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
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
from timeit import timeit | |
N = 10**9 | |
eq_plus = """ | |
a = 1 | |
a += 2 | |
""" | |
subst_plus = """ |
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
\documentclass{article} | |
\usepackage{amsmath, amssymb} | |
\usepackage{amsthm} | |
\newcommand{\RR}{\mathbf{R}} | |
\begin{document} | |
We define diffeomorphism $\phi \colon \RR^2 \to \RR^2$ by identify: | |
\[ | |
\phi(x, y) = (x, y). | |
\] |