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
@rkmathi
rkmathi / make.conf
Last active Sep 27, 2015
/etc/make.conf for X201s
View make.conf
### /etc/make.conf
# For GentooLinux on X201s
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j -l4"
FEATURES="ccache parallel-fetch metadata-transfer"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="4G"
@rkmathi
rkmathi / make.conf
Last active Sep 30, 2015
/etc/portage/make.conf for "Sakura VPS(v3) 2G"
View make.conf
# For Gentoo/Linux on Sakura VPS(v3) 2G
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j4"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
View gist:2603186
# virt-install --connect qemu:///system --hvm --os-type=Linux \
--name nrt \
--ram=4096 --disk=/var/lib/libvirt/images/nrt.img \
--cdrom=/var/lib/libvirt/images/install-amd64-minimal-20120223.iso \
--network bridge=br0 \
--vnc --vncport 5900 \
--extra-args='console=tty0 console=tty0,11520n8'
@rkmathi
rkmathi / $ emerge -avD @okkake
Created Jul 1, 2012
/etc/portage/sets/okkake
View $ emerge -avD @okkake
$ emerge -avD @okkake
WARNING: One or more repositories have missing repo_name entries:
/home/rkmathi/rep/gh/rkmathi-overlay/profiles/repo_name
NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.
@rkmathi
rkmathi / .config
Created Oct 23, 2012
gentoo-sources-3.12.2 .config for Sakura VPS
View .config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 3.12.2-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
@rkmathi
rkmathi / 20-thinkpad.conf
Created Oct 28, 2012
/usr/share/X11/xorg.conf.d/20-thinkpad.conf
View 20-thinkpad.conf
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TrackPoint"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
View deploy.rb
require "capistrano_colors"
require "bundler/capistrano"
# RVM settings
# $:.unshift(File.expand_path("./lib", ENV["rvm_path"]))
require "rvm/capistrano"
set :rvm_type, :user
set :rvm_ruby_string, "1.9.3"
# Repository settings
View nginx.conf
user {ユーザ名};
worker_processes 4;
pid /var/run/nginx.pid;
events {
worker_connections 768;
}
http {
View unicorn.ebuild
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bsearch/bsearch-1.5.0.ebuild,v 1.1 2012/12/10 19:02:05 graaff Exp $
EAPI=5
USE_RUBY="ruby19"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="Documentation/*"
View main.coffee
WIN_SIZE = [320, 320]
CTK_IMG = "ctk.png"
CTK_SIZE = [80, 80]
CTK_MOVE = 10
ITF_IMG = "itf.png"
ITF_SIZE = [90, 60]
ITF_MOVE = 10
enchant()
You can’t perform that action at this time.