Skip to content

Instantly share code, notes, and snippets.

Ryuichi KAWAMATA rkmathi

Block or report user

Report or block rkmathi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 20140514.md

2.3.9 混合ガウス分布

混合分布

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

(2.188)式

K: 個のガウス分布

View memo.md
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
@rkmathi
rkmathi / jornal.tex
Last active Sep 18, 2018
LuaLaTeX用テンプレ
View jornal.tex
%%% /usr/texbin/lualatex jornal.tex
%%=============================================================================
% 雑誌会テンプレート (for LuaLaTeX)
%%=============================================================================
\documentclass[a4paper, 10pt]{ltjsarticle}
%%=============================================================================
% パッケージの読み込み
@rkmathi
rkmathi / GB37301.md
Last active Jul 30, 2018
情報システム特別講義D #GB37301
View GB37301.md

情報システム特別講義D

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

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

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

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

View kernel.config
#
# 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 Dec 23, 2016
Windows 10 and Gentoo Linux on X260
View memo.txt
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 Jan 21, 2014
csv to double-colon
View csv_to_colon.rb
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 Dec 5, 2013
Gentoo Linux glibc-2.16 died :(
View gist:7798830
* 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.
@rkmathi
rkmathi / install.md
Last active Dec 30, 2015
Installing Gentoo Linux (amd64) in Sakura VPS
View install.md
@rkmathi
rkmathi / Makefile.patch
Last active Dec 28, 2015
MeCab.jarをScalaで使いたい (on Gentoo)
View Makefile.patch
*** mecab-java-0.996/Makefile 2013-02-18 02:24:16.000000000 +0900
--- ../opt/lib/mecab-java/Makefile 2013-11-19 16:32:57.426941588 +0900
***************
*** 3,9 ****
JAVA=java
JAR=jar
CXX=c++
! INCLUDE=/usr/lib/jvm/java-6-openjdk/include
PACKAGE=org/chasen/mecab
You can’t perform that action at this time.