GREE Tech Talk 06 - Practical Goの聴講メモ。
コマンドラインフィルタリングツール
ls | peco とか
使い方はわかりやすく! readmeにアニメgif
| <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 |
| # 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 |
| 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 |
| 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(-) |
| #!/bin/bash | |
| # | |
| if [ -z "$APIKEY" ]; then | |
| echo "API Key for Redmine is required." | |
| exit 1 | |
| fi | |
| mkdir -p doc/specs | |
| cd doc/specs |
| :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 |