Skip to content

Instantly share code, notes, and snippets.

View voluntas's full-sized avatar
🎲
Focusing

V voluntas

🎲
Focusing
View GitHub Profile
@techgaun
techgaun / sysctl.conf
Created February 24, 2015 13:36
Sysctl configuration for high performance
### KERNEL TUNING ###
# Increase size of file handles and inode cache
fs.file-max = 2097152
# Do less swapping
vm.swappiness = 10
vm.dirty_ratio = 60
vm.dirty_background_ratio = 2
@methane
methane / README.md
Last active March 17, 2016 08:42
Quick benchmark on PyMySQL
time[sec]
CPython 3.4.2(6f78fcb) 20.5
CPython 3.4.2(a724607) 14.2
PyPy 2.5 (6f78fcb) 3.4
PyPy 2.5 (a724607) 3.1
CPython (mysqlclient) 2.8

Dataset is "world database (innodb)". It is deployed on here

@gacha-ru
gacha-ru / DevLOVEAdventCalendar20150114.md
Last active August 29, 2015 14:13
自分の「越境」を見つめなおす

『DevLOVE Advent Calendar 2014 「越境」』の1/14(水)の記事として書かせていただきます、

自己紹介

はじめまして、西村 遊(@gacharion)と申します。
某ソーシャルゲーム系の会社でインフラ担当をしています。
自分自身の振り返りがてら書かせていただこうと思います。
初Advent Caleder参加です。よろしくお願いします。

2014年 何を「越境」したか

越境 = 自分(周りの環境含め)の変化 ということで考えてみました。

% mkdir surgemq
% cd surgemq
% export GOPATH=`pwd`
% go get github.com/surge/surgemq
% go get github.com/dataence/assert
% cd src/github.com/surge/surgemq/benchmark
% GOMAXPROCS=2 go test -run=TestServer -vv=2 -logtostderr
I1207 16:43:21.135916 63352 server.go:44/ListenAndServe] server/ListenAndServe: server is ready...
@isSatake
isSatake / mosquitto
Created August 31, 2014 06:39
時雨堂のMQTTサーバをmosquittoで試す
##subscribe側##
$ mosquitto_sub -h free.mqtt.shiguredo.jp -u stkay@github -P [パスワード] -t "/stkay@github/"
##publish側##
$ mosquitto_pub -h free.mqtt.shiguredo.jp -u stkay@github -P [パスワード] -t "/stkay@github/" -m "hoge"
@mopemope
mopemope / example_pongo2.go
Created July 16, 2014 06:45
Gin meets Pongo2 !
package main
import (
"github.com/flosch/pongo2"
"github.com/gin-gonic/gin"
"net/http"
)
type pongoRender struct {
cache map[string]*pongo2.Template
@exoego
exoego / 転職先に訊きたいチェックリスト.md
Last active May 25, 2024 15:30
転職活動してて訊きたいことのメモ

制度

  • 有休…
  • 病休…
  • 育休…
  • 年収(月給、賞与など)…
  • 残業代…
  • 早朝/深夜手当…
  • 休出手当…
  • 住宅補助…
@ibc
ibc / Chrome.sh
Last active February 26, 2024 17:52
WebRTC debugging
/Google\ Chrome\ Canary --enable-logging --v=1 --vmodule=*/webrtc/*=2,*/libjingle/*=2,*=-2 --enable-logging=stderr
// Easier:
/Google\ Chrome\ Canary --enable-logging --v=1 --vmodule=*/webrtc/*=2,*=-2 --enable-logging=stderr