Skip to content

Instantly share code, notes, and snippets.

View t-yuki's full-sized avatar

Yukinari Toyota t-yuki

  • Yokohama, Japan
View GitHub Profile
<html>
<head>
<!--[if lt IE 9]>
<script src="https://raw.github.com/aFarkas/html5shiv/master/src/html5shiv.js"></script>
<![endif]-->
<script language="javascript">
// https://cdn.rawgit.com/chjj/marked/master/marked.min.js
/**
* marked - a markdown parser
@t-yuki
t-yuki / Dockerfile
Created February 15, 2015 16:52
gerrit-build
# gerrit-build
#
FROM dockerfile/java:openjdk-7-jdk
MAINTAINER Yukinari Toyota <[email protected]>
RUN \
sed -i".bak" 's/http:\/\/archive.ubuntu.com\/ubuntu/http:\/\/ftp.jaist.ac.jp\/pub\/Linux\/ubuntu/' /etc/apt/sources.list && \
sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y sudo git && \
sudo apt-get install gcc gcc-aarch64-linux-gnu
git clone https://github.com/4ad/go.git go.arm64
cd go.arm64/src
GOARCH=arm64 ./all.bash # errors on runtime.GOMAXPROCS is not found
GOROOT=~/go.arm64 GOPATH=~/gopath PATH=~/go.arm64/bin:$PATH GOARCH=arm64 go tool
# not working yet
cd $GOPATH/src
cat <<'EOF' > main.go
*.xlsx diff=xlsx
*.pptx diff=pptx
*.xmind diff=xmind
*.pdf diff=pdf
*.doc diff=doc
*.docx diff=docx

GREE Tech Talk 06 - Practical Goの聴講メモ。

peco

コマンドラインフィルタリングツール ls | peco とか

インストールとか

使い方はわかりやすく! readmeにアニメgif

https://www.sics.se/sites/default/files/pub/oladahlenea_syslevel_ipc_mc_nol.pdf
http://man7.org/conf/lca2013/IPC_Overview-LCA-2013-printable.pdf
http://www.cl.cam.ac.uk/research/srg/netos/ipc-bench/
http://www.cl.cam.ac.uk/research/srg/netos/ipc-bench/details/tmpn2YlFp.html
http://www.cl.cam.ac.uk/research/srg/netos/ipc-bench/details/tmp1TTOK5.html
http://rts.lab.asu.edu/web_438/project_final/Talk%208%20AndroidArc_Binder.pdf
buffered vs switching vs switching-process-return
@t-yuki
t-yuki / android
Last active August 29, 2015 14:04
wget http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/git18-1.8.5.5-4.ius.centos6.x86_64.rpm
wget http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/perl-Git18-1.8.5.5-4.ius.centos6.noarch.rpm
yum remove git perl-Git
yum localinstall git18-1.8.5.5-4.ius.centos6.x86_64.rpm perl-Git18-1.8.5.5-4.ius.centos6.noarch.rpm
wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo -O /etc/yum.repos.d/devtools-1.1.repo
yum install devtoolset-1.1
yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel
From 155f3ef694ee54fc2f9a3ad8f75e3a4e81477e27 Mon Sep 17 00:00:00 2001
From: Yukinari Toyota <[email protected]>
Date: Thu, 13 Feb 2014 09:28:59 +0900
Subject: [PATCH] hugetlb: force bootmem prealloc with continuous memblock alloc
---
arch/x86/kernel/setup.c | 2 +
mm/hugetlb.c | 53 ++++++++++++++++-------------------------------
2 files changed, 20 insertions(+), 35 deletions(-)
@t-yuki
t-yuki / 1_2_export_redmine_wiki.bash
Last active April 2, 2019 05:25
1. a script to grab redmine wiki pages in markdown format and convert to standard markdown link format. 2. Makefile to convert markdown to sphinx reST.
#!/bin/bash
#
if [ -z "$APIKEY" ]; then
echo "API Key for Redmine is required."
exit 1
fi
mkdir -p doc/specs
cd doc/specs
@t-yuki
t-yuki / 0_Usage
Last active December 27, 2015 13:58
My vimrc on Windows and Linux for golang. **MOVED TO https://github.com/t-yuki/vimfiles**
:Lint -> execute golint
:Fmt -> execute gofmt
:Import xxx -> add import declaration xxx
:w -> write file and execute gofmt and golint
\r -> do quickrun. to close, type :on or :only
<C-X><C-O> -> autocomple by gocode