Skip to content

Instantly share code, notes, and snippets.

View y-yu's full-sized avatar

YOSHIMURA Yuu y-yu

View GitHub Profile
@y-yu
y-yu / OMakeroot
Created September 5, 2012 12:42
OMakeroot
open build/LaTeX
DefineCommandVars()
.SUBDIRS: .
@y-yu
y-yu / listing.tex
Created September 7, 2012 06:27
listing
\lstset{
basicstyle=\footnotesize\tt,
keywordstyle=\footnotesize\sl,
numbers=left,
breaklines=true,
frame=trbl,
showstringspaces=false,
firstnumber=1,
xleftmargin=16pt,
xrightmargin=4pt,
@y-yu
y-yu / bangou.tex
Created September 10, 2012 16:25
bangou
\makeatletter
\def\@sect#1#2#3#4#5#6[#7]#8{%
\ifnum #2>\c@secnumdepth
\let\@svsec\@empty
\else
\refstepcounter{#1}%
\protected@edef\@svsec{\@seccntformat{#1}\relax}%
\fi
\@tempskipa #5\relax
@y-yu
y-yu / chukan.md
Created September 21, 2012 07:02

木構造を持つデータ構造によって記述出来る、プレゼンテーションアプリの開発

情報科学類 二年 吉村 優

https://gist.github.com/3760110

概要

プレゼンテーションを作るアプリケーションは、 MSの製品などいくつあるが、木構造をスライドとして持つものは恐らくない。

@y-yu
y-yu / convert_error
Created October 22, 2012 13:40
convert error
$ convert -density 10000 mand.pdf mand.png
Error: /ioerror in --run--
Operand stack:
--dict:6/15(L)-- 59.4618 169.32
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1846 1 3 %oparray_pop 1845 1 3 %oparray_pop 1829 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- --nostringval--
Dictionary stack:
--dict:1155/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:106/127(ro)(G)-- --dict:285/300(ro)(G)-- --dict:22/25(L)-- --dict:4/6(L)-- --dict:21/40(L)-- --dict:5/5(L)-- --dict:1/1(ro)(G)-- --dict:5/5(L)--
Current allocation mode is local
Las
@y-yu
y-yu / gist:3978934
Created October 30, 2012 08:18
local.map
rml H HiraMinPro-W3.otf
rmlv V HiraMinPro-W3.otf
gbm H HiraKakuPro-W3.otf
gbmv V HiraKakuPro-W3.otf
%%% OTF package
hminr-h H HiraMinPro-W3.otf
hminr-v V HiraMinPro-W3.otf
otf-ujmr-h UniJIS-UTF16-H HiraMinPro-W3.otf
@y-yu
y-yu / listing.tex
Created November 4, 2012 12:28
listing settings
\usepackage{listings}
\lstset{
language=C,
basicstyle=\footnotesize\tt,
keywordstyle=\footnotesize\sl,
breaklines=true,
numbers=left,
frame=trbl,
showstringspaces=false,
@y-yu
y-yu / rlwrap.md
Created November 13, 2012 02:02
rlwrap.md
@y-yu
y-yu / gosh.md
Created November 13, 2012 02:07
gosh
@y-yu
y-yu / readline.md
Created November 13, 2012 02:15
readline