Skip to content

Instantly share code, notes, and snippets.

View mrkn's full-sized avatar
:octocat:

Kenta Murata mrkn

:octocat:
View GitHub Profile
@makoto
makoto / gist:566419
Created September 5, 2010 23:07
RubyKaigi must die (for at least once).
NOTE: This is English translation of "http://shyouhei.tumblr.com/post/145555071/ruby".
The theme of Ruby Kaigi 2011 is "The last RubyKaigi" and the chariman Takahashi apparently got the
inspiration from this blog which Urabe san wrote a year ago. I translated this so that non Japanese
speaker also understand the context of post RubyKaigi discussions going on in Japanese Ruby community.
あえて言うがRuby会議はそろそろ一回終わってみるべき。
RubyKaigi must die (for at least once).
Original title: Let me say that Ruby Kaigi should end for now.
@nobu
nobu / ltsv.rb
Last active December 12, 2015 07:28
LTSV viewer in Ruby
# -*- coding: us-ascii -*-
require 'csv'
require 'yaml'
class LTSV < CSV
attr_accessor :ordered
alias ordered? ordered
def self.def_options(opt, options = {})
@tadd
tadd / ruby23.log
Created November 13, 2016 14:55
rational benchmark, Ruby 2.3 vs 2.4
Warming up --------------------------------------
rat + fix 134.525k i/100ms
rat + big 72.034k i/100ms
rat + flt 186.444k i/100ms
rat + rat 116.875k i/100ms
rat - fix 134.165k i/100ms
rat - big 65.282k i/100ms
rat - flt 182.951k i/100ms
rat - rat 153.479k i/100ms
rat * big 80.963k i/100ms
@7shi
7shi / text.md
Last active March 15, 2017 06:38
アスキードワンゴ編集部 編集長 鈴木嘉平氏 『技術書を出版するには』
###
# Scheme code is translated to YARV byte code, then evaluated in the
# Ruby Virtual Machine
require 'rbconfig'
require 'dl'
require 'fiddle'
require 'strscan'
class RubyVM
@studio3104
studio3104 / WeeChat を入れてやったことまとめ.md
Last active January 19, 2019 04:19
都度追記型 WeeChat メモ

基本設定

  • nick

    weechat: /set irc.server_default.nicks "studio3104,studio3104_,studio3104__"
    
  • higlight

@tomohiro
tomohiro / gist:2020862
Created March 12, 2012 09:20
GUNDAM (GitHub Ubuntu Node Dropbox AWS MongoDB) が生まれるまでの流れ
<Tomohiro> orz
<Tomohiro> うける
<gongo_tea> これはなんだろう。土下座してでも来てほしいのか
<gongo_tea> なんか残念なのか
<Tomohiro> 今の時代 LAMP/LAPP のスキルセット持ってても...
<Tomohiro> 的悲壮感ただよってる
<Tomohiro> Ruby/Node/NginX/Unicorn/MongoDB
<Tomohiro> あたりがナウい感じ出るのでは
<m_zuma> RNNUM
<gongo_tea> らんなむ
@znz
znz / RubyPrize.md
Last active January 29, 2020 01:32
Ruby Prize 候補者(敬称略)
@mikhailov
mikhailov / ruby_gc.sh
Created March 11, 2011 10:33
Ruby’s GC Configuration
- http://www.coffeepowered.net/2009/06/13/fine-tuning-your-garbage-collector/
- http://snaprails.tumblr.com/post/241746095/rubys-gc-configuration
article’s settings: ("spec spec" took 17-23!sec)
export RUBY_HEAP_MIN_SLOTS=1250000
export RUBY_HEAP_SLOTS_INCREMENT=100000
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
export RUBY_GC_MALLOC_LIMIT=30000000
export RUBY_HEAP_FREE_MIN=12500
@z80oolong
z80oolong / 00_TMUX_FIX.md
Last active October 4, 2021 22:50
tmux 2.5 以降において East Asian Ambiguous Character を全角文字の幅で表示する

tmux 2.5 以降において East Asian Ambiguous Character を全角文字の幅で表示する

告知 (2019/03/15, 2020/04/29)

これまで、本稿の Gist にて公開しておりました [tmux 2.5][TMUX] 以降において [East Asian Ambiguous Character][EAWA] を全角文字の幅で表示する為の差分ファイルについて、差分ファイルの分量が多くなったことに伴い、今後は以下の [Github][GITH] のリポジトリにて [tmux][TMUX] の [East Asian Ambiguous Character][EAWA] 対応差分ファイルを公開することと致します。

また、今後 [East Asian Ambiguous Character][EAWA] 対応の [tmux][TMUX] の導入を御考えの方は、後述する [Linuxbrew][BREW] を用いた差分ファイルの適用及びインストール若しくは、 [AppImage パッケージ][APPR]を用いたインストールを御勧め致します。