Skip to content

Instantly share code, notes, and snippets.

View n0ts's full-sized avatar
🏠
Working from home

Naoya Nakazawa n0ts

🏠
Working from home
  • Freelancer
  • Tokyo, Japan
  • X @n0ts
View GitHub Profile
@frsyuki
frsyuki / fluentd-v11-design.md
Created May 8, 2012 19:31
Fluentd v0.11 の設計案

Fluentd v11 設計案

We made it possible. Next, we'll make it beautiful.

Suffering-oriented programming

コンセプト

  • 柔軟性向上
  • 予想以上に複雑な使い方をしているケースが多かったので、設定ファイルも複雑化して対応する
@anekos
anekos / zsh-history-to-autojump.rb
Created March 7, 2012 06:34
zsh の履歴ファイルから、autojump のカウントファイル(?)に追加する (ruby1.9)
#!/usr/bin/ruby
# vim:set fileencoding=utf-8 :
require 'shellwords'
ARGF.each do
|line|
line.chomp!
line.sub!(/\A.+?;/, '') rescue next
next unless m = line.match(/\Acd\s+(~?\/.*)/)
@rust
rust / emacs.rb
Created August 6, 2011 03:59 — forked from pingles/emacs.rb
Homebrew Emacs for OSX Lion with native full-screen
require 'formula'
class Emacs < Formula
url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.3a.tar.bz2'
md5 'f2cf8dc6f28f8ae59bc695b4ddda339c'
homepage 'http://www.gnu.org/software/emacs/'
if ARGV.include? "--use-git-head"
head 'git://repo.or.cz/emacs.git'
else
#!/bin/bash
export LANG=C
for service in $(/sbin/chkconfig --list | grep 3:on | awk '{ print $1 }')
do
while :
do
echo -n "disable $service ?: "
read answer
case $answer in
Y|y)