I hereby claim:
- I am suzuki on github.
- I am suzuki (https://keybase.io/suzuki) on keybase.
- I have a public key whose fingerprint is E282 0319 8E4A 81D2 95E1 C86C DE9E 587A 5139 9007
To claim this, I am signing this object:
❯ go test -bench . ./oviewer -benchmem | |
goos: darwin | |
goarch: amd64 | |
pkg: github.com/noborus/ov/oviewer | |
cpu: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz | |
BenchmarkParseString_Normal-16 2625 401734 ns/op 903699 B/op 20 allocs/op | |
BenchmarkParseString_AnsiEscape-16 1004 1210944 ns/op 1074032 B/op 1221 allocs/op | |
BenchmarkParseString_ChromaTerm-16 482 2405494 ns/op 4406411 B/op 1470 allocs/op | |
BenchmarkDraw_Normal-16 1731 697015 ns/op 728202 B/op 2442 allocs/op | |
BenchmarkDraw_AnsiEscape-16 787 1283360 ns/op 824947 B/op 3187 allocs/op |
❯ go test -bench . ./oviewer -benchmem | |
goos: darwin | |
goarch: amd64 | |
pkg: github.com/noborus/ov/oviewer | |
cpu: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz | |
BenchmarkParseString_Normal-16 2498 420860 ns/op 903698 B/op 20 allocs/op | |
BenchmarkParseString_AnsiEscape-16 865 1318269 ns/op 1074041 B/op 1221 allocs/op | |
BenchmarkParseString_ChromaTerm-16 451 2651899 ns/op 4406445 B/op 1470 allocs/op | |
BenchmarkDraw_Normal-16 358 2822820 ns/op 1261143 B/op 4304 allocs/op | |
BenchmarkDraw_AnsiEscape-16 298 3926522 ns/op 1427113 B/op 5582 allocs/op |
#!/bin/sh | |
DIRS=`find ./ -type d -name .git -depth 3` | |
for D in $DIRS | |
do | |
pushd . > /dev/null | |
cd $D | |
echo `dirname $D` | |
git rev-parse --abbrev-ref HEAD | |
popd > /dev/null | |
done |
% cat composer.json | |
{ | |
"repositories": [ | |
{ | |
"type": "vcs", | |
"url": "https://github.com/yahoojapan/yconnect-php-sdk" | |
} | |
], | |
"require": { | |
"yahoojapan/yconnect-php-sdk": "dev-master" |
abc "d"ef ghi |
(require 'markdown-mode) | |
(setq my-markdown-gfm-command "/usr/local/bin/marked") | |
(setq my-markdown-command "/usr/local/bin/markdown") | |
(cond | |
((file-exists-p my-markdown-gfm-command) | |
(setq markdown-command my-markdown-gfm-command) | |
(setq markdown-command-needs-filename t)) | |
((file-exists-p my-markdown-command) |
#!/bin/sh | |
# | |
# Setup script for Mac with Homebrew / Homebrew-Cask | |
# | |
BASE_DIR='/usr/local' | |
BASE_BIN="$BASE_DIR/bin" | |
BASE_SHARE="$BASE_DIR/share" | |
BREW="$BASE_BIN/brew" |
I hereby claim:
To claim this, I am signing this object:
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.define :es1 do |es| | |
es.vm.box = "chef/debian-7.4" | |
es.vm.network "private_network", ip: "192.168.33.10" | |
es.vm.provision "chef_solo" do |chef| | |
set_es_chef(chef) | |
chef.json = { |
apt_repository 'elasticsearch-stable' do | |
uri 'http://packages.elasticsearch.org/elasticsearch/1.4/debian' | |
distribution 'stable' | |
components ['main'] | |
key 'http://packages.elasticsearch.org/GPG-KEY-elasticsearch' | |
not_if do | |
File.exists?('/etc/apt/source.list/d/elasticsearch.list') | |
end | |
end |