Skip to content

Instantly share code, notes, and snippets.

View mmasaki's full-sized avatar

Masaki Matsushita mmasaki

  • NTT Communications
  • Tokyo, Japan
  • X @_mmasaki
View GitHub Profile
#!/usr/bin/env ruby
SOI = "\xff\xd8"
APP0 = "\xff\xe0"
DQT = "\xff\xdb"
DHT = "\xff\xc4"
SOF0 = "\xff\xc0"
SOS = "\xff\xda"
EOI = "\xff\xd9"
@nagachika
nagachika / block_benchmark.rb
Created November 5, 2011 14:01
CRuby extension for stacksize.
require "benchmark"
require_relative "stacksize"
class EnumBlkCall
def initialize(num)
@num = num
end
def each(&blk)
i = 0
while i < @num
@matope
matope / Dynamo: Amazonの高可用性Key-value Store.markdown
Last active November 18, 2022 17:54
Dynamo: Amazonの高可用性Key-value Store[和訳]