Skip to content

Instantly share code, notes, and snippets.

View rkmathi's full-sized avatar
🐈

Ryuichi KAWAMATA rkmathi

🐈
View GitHub Profile
@rkmathi
rkmathi / jornal.tex
Last active March 15, 2023 04:48
LuaLaTeX用テンプレ
%%% /usr/texbin/lualatex jornal.tex
%%=============================================================================
% 雑誌会テンプレート (for LuaLaTeX)
%%=============================================================================
\documentclass[a4paper, 10pt]{ltjsarticle}
%%=============================================================================
% パッケージの読み込み
resources:
- deploy.yml
namePrefix: xxx-
configurations:
- configurations.yml
@rkmathi
rkmathi / dot.nodoka
Last active March 14, 2020 08:27
のどか設定
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Nodoka - dotjp.nodoka
# Copyright (C) 1999-2005, TAGA Nayuta <nayuta@users.sourceforge.net>
#
# Modify by applet on 2014-11-11 for のどかGuiEdit
#
include "read-keyboard-define.nodoka" #1. キーボード定義ファイル 英語/日本語配列や、Emacsライク設定をシンボル定義(-DUSE104; -DUSE109; DUSEdefault)で切り替えます。
keymap Global #2. グローバルキーマップの設定
#key C-A-D = &DescribeBindings # (1) Ctrl-Alt-Dキーで、現在のキーバインド情報をログ出力
#key S-F1= &DescribeBindings # (2) Shift-F1キーで、現在のキーバインド情報をログ出力
@rkmathi
rkmathi / GB37301.md
Last active March 7, 2020 06:41
情報システム特別講義D #GB37301

情報システム特別講義D

  • 1時限目 イントロ - 川島先生(筑波大学)

  • 2時限目 Inside PostgreSQL Kernel - 永安 悟史さん(アップタイム・テクノロジーズ)

  • 3時限目 データストレージの諸々 - 星野 喬さん(サイボウズ・ラボ)

  • 4時限目 並列データベースシステムの概念と原理 - 油井 誠さん(産総研)

@rkmathi
rkmathi / 20140514.md
Last active May 17, 2019 02:31
PRML

2.3.9 混合ガウス分布

混合分布

ガウス分布のような基本的な分布を、いくつか線形結合して作る重ね合わせた確率モデル

(2.188)式

K: 個のガウス分布 >

@rkmathi
rkmathi / memo.md
Created August 12, 2016 00:54
h2o ubuntu
apt-get install bison build-essential cmake dh-autoreconf libssl-dev pkg-config python-sphinx ruby-dev
# (additional)
apt-get install tmux libyaml-dev

cd /opt
git clone --depth 1 https://github.com/libuv/libuv.git
cd libuv && ./autogen.sh && ./configure --prefix=/usr/local && make && make install

cd /opt
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.9.0-gentoo Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
@rkmathi
rkmathi / memo.txt
Last active December 23, 2016 05:13
Windows 10 and Gentoo Linux on X260
livecd ~ # parted -a optimal /dev/sda
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA SAMSUNG MZ7LN512 (scsi)
Disk /dev/sda: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
@rkmathi
rkmathi / csv_to_colon.rb
Created January 21, 2014 16:07
csv to double-colon
require 'csv'
in_file = ARGV[0]
out_file = ARGV[1]
ramen_csv = CSV.table(in_file)
File.open(out_file, 'w') { |file|
ramen_csv.each_with_index { |row,i|
row.each { |r|
@rkmathi
rkmathi / gist:7798830
Created December 5, 2013 01:43
Gentoo Linux glibc-2.16 died :(
* Messages for package sys-libs/glibc-2.15-r3:
* The ebuild phase 'postrm' has been killed by signal 11.
* The 'postrm' phase of the 'sys-libs/glibc-2.15-r3' package has failed
* with exit value 1.
*
* The problem occurred while executing the ebuild file named
* 'glibc-2.15-r3.ebuild' located in the '/var/db/pkg/sys-
* libs/glibc-2.15-r3' directory. If necessary, manually remove the
* environment.bz2 file and/or the ebuild file located in that directory.