Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View rkmathi's full-sized avatar
🐈

Ryuichi KAWAMATA rkmathi

🐈
View GitHub Profile
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キーで、現在のキーバインド情報をログ出力
#
# 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 / 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
@rkmathi
rkmathi / Ruby
Created June 28, 2015 09:58
$ sudo dtruss -p70682
$ sudo dtruss -p70682
SYSCALL(args) = return
sigprocmask(0x1, 0x0, 0x7FFF5E37AA60) = 0x0 0
sigaltstack(0x0, 0x7FFF5E37AA50, 0x7FFF5E37AA60) = 0 0
open("./TEXT.txt\0", 0x1000000, 0x1B6) = 7 0
ioctl(0x7, 0x4004667A, 0x7FFF5E37AB5C) = -1 Err#25
ioctl(0x7, 0x40487413, 0x7FFF5E37AB60) = -1 Err#25
sigprocmask(0x1, 0x0, 0x7FFF5E37AB20) = 0x0 0
sigaltstack(0x0, 0x7FFF5E37AB10, 0x7FFF5E37AB20) = 0 0
read(0x7, "this is text file.\n\0", 0x14) = 19 0
@rkmathi
rkmathi / C
Last active August 29, 2015 14:23
$ sudo dtruss
$ sudo dtruss ./a.out > /dev/null
this is text file.
SYSCALL(args) = return
thread_selfid(0x0, 0x0, 0x0) = 1704016 0
open(".\0", 0x0, 0x1) = 3 0
fstat64(0x3, 0x7FFF5F10AEB0, 0x1) = 0 0
fcntl(0x3, 0x32, 0x7FFF5F10B1A0) = 0 0
close(0x3) = 0 0
stat64("/Users/rkmathi/tmp/ruby/two_rank_down\0", 0x7FFF5F10AE20, 0x7FFF5F10B1A0) = 0 0
@rkmathi
rkmathi / tex_packages.md
Last active August 29, 2015 14:07
TeXパッケージ
@rkmathi
rkmathi / report1.txt
Last active August 29, 2015 14:04
集中講義「Rubyインタプリタに見る実際のシステムソフトウェア」
題字:
C拡張による竹内関数の実装と速度比較
概要:
竹内関数[1]をC拡張で実装し、PureRubyで実装したものとの速度比較を行う。
開発した拡張ライブラリの説明:
竹内関数のオリジナル版(tarai)と、Tak関数を実行できるライブラリを作成。
開発したプログラム(もしくは、github などのプログラムの閲覧方法):