Skip to content

Instantly share code, notes, and snippets.

View PyYoshi's full-sized avatar
🌍
Working from The World

MISAWA Yoshihiro PyYoshi

🌍
Working from The World
View GitHub Profile
@PyYoshi
PyYoshi / run.sh
Last active April 25, 2016 12:55 — forked from matope/string_join_benchmark.go
Golang string join benchmark
#!/bin/bash
go version
go test -benchmem -bench .

uname -a

Linux MBA62-LNX 3.19.0-23-generic #24-Ubuntu SMP Tue Jul 7 18:52:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a

No LSB modules are available.

lsb_release -a

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 15.04
Release:	15.04
Codename:	vivid
@PyYoshi
PyYoshi / info.md
Created July 10, 2015 13:38
web application framework benchmarks

revision

231fdbc9b7f815abd7ff95d32d3576cb78afb91c

Host

lsb_release -a

Distributor ID:	Ubuntu
--without-pear
--with-gd
--enable-sockets
--with-jpeg-dir=/usr
--with-png-dir=/usr
--enable-exif
--enable-zip
--with-zlib
--with-zlib-dir=/usr
--with-kerberos
@PyYoshi
PyYoshi / yield.go
Last active August 29, 2015 14:22
PythonのyieldをGolangで
// Thanks mattn_jp!!: https://twitter.com/mattn_jp/status/605581283238944768 http://play.golang.org/p/Tzaoh3liuN
package main
import "fmt"
type Tower struct {
Floor int
}
@PyYoshi
PyYoshi / autoexec.cfg
Last active March 19, 2020 16:40
csgo
//// 通信設定
cl_interp "0"
cl_interp_ratio "1"
rate "128000"
cl_cmdrate "128"
cl_updaterate "128"
cl_lagcompensation "1"
cl_interpolate "1"
net_graph "1"
#!/bin/sh
VERSION=0.8.0.0
BUILD_TYPE=debug
echo ============================
echo Set version $VERSION
echo ============================
TAG=$VERSION
python ./build/set_version.py $VERSION > ./src/version.h
@PyYoshi
PyYoshi / unixbench5.1.3.log
Last active August 29, 2015 14:08
MBP 2010 Mid
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: IDEMO-BUILDSRV-MBP2010.local: Darwin
OS: Darwin -- 14.0.0 -- Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64
Machine: x86_64 (unknown)
Language: en_US.utf8 (charmap="US-ASCII", collate=)
CPU 0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz (0.0 bogomips)
MMX, Physical Address Ext, SYSENTER/SYSEXIT, Intel virtualization
CPU 1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz (0.0 bogomips)
{
"en-US" : "English (US)",
"ja" : "日本語"
}