Skip to content

Instantly share code, notes, and snippets.

View y-yu's full-sized avatar

YOSHIMURA Yuu y-yu

View GitHub Profile
\newfontfamily\vhiragino[Vertical=RotatedGlyphs]{ヒラギノ明朝 Pro W3}
\rotatebox{-90}{\vhiragino あああああ}
@y-yu
y-yu / shinri4.md
Last active December 11, 2015 18:08
心理学特講IV

PTSD動物モデル

心理学類 山田 一夫

PTSDとは

強い恐怖を感じるような出来事を経験した後、

@y-yu
y-yu / shusenkou.md
Last active December 11, 2015 06:48

主専攻選択説明会

本日の概要

三年次に主専攻を選択するためにいろいろ話がある。

学類長の話

これから三年生になると、必修科目が体育と実験しかないので、 自主的に単位を選択する必要がある。

@y-yu
y-yu / 7-2.c
Last active December 11, 2015 01:29
#include <stdio.h>
void swap_array(int a[], int x, int y)
{
int t = a[x];
a[x] = a[y];
a[y] = t;
}
@y-yu
y-yu / 7.1.c
Created January 13, 2013 13:41
#include <stdio.h>
void plus_minus(int *a, int *b)
{
int t1 = *a,
t2 = *b;
*a = t1 + t2;
*b = t1 - t2;
}
@y-yu
y-yu / taple.tex
Last active December 10, 2015 19:28
\documentclass{jarticle}
\makeatletter
\def\tuple#1{%
\begingroup
\newcount\@fuck@i
\newcount\@fuck@ii
\@fuck@i = -1
\@fuck@ii = 0
@y-yu
y-yu / 7-3.c
Created November 20, 2012 11:28
7-3
#include <stdio.h>
float sum_array (float array[], int n) {
float a = 0.0;
int i;
for (i=0; i<n; i++)
a += array[i];
return a;
@y-yu
y-yu / 7-2.c
Created November 20, 2012 11:23
7-2
#include <stdio.h>
void swap_array (int a[], int i, int j) {
int t = a[i];
a[i] = a[j];
a[j] = t;
}
int main () {
@y-yu
y-yu / 7-1.c
Created November 20, 2012 11:17
7-1
#include <stdio.h>
void plus_minus (int *a, int *b) {
int a_ori = *a,
b_ori = *b;
*a = a_ori + b_ori;
*b = a_ori - b_ori;
}
@y-yu
y-yu / 5.txt
Created November 19, 2012 12:04
5.txt
inorder (reflect t) = rev (inorder t) について
(i) t = Lf の時、成り立つことを示せばよい。
<左辺> = inorder (reflect Lf)
= inorder Lf reflectの定義より
= [] inorderの定義より
<右辺> = rev (inorder Lf)
= rev Lf inorderの定義より