Skip to content

Instantly share code, notes, and snippets.

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

Takeru Naito elim

🏠
Working from home
View GitHub Profile
@elim
elim / tab.bash
Last active August 29, 2015 14:21 — forked from bobthecow/tab.bash
#!/bin/bash
#
# Open new Terminal tabs from the command line
#
# Author: Justin Hileman (http://justinhileman.com)
#
# Installation:
# Add the following function to your `.bashrc` or `.bash_profile`,
# or save it somewhere (e.g. `~/.tab.bash`) and source it in `.bashrc`
#
;;; clipboard-to-kill-ring.el
;;; * 概要
;;; OS Xのクリップボードを定期的に監視してkill-ringに入れます
;;; deferred.elが必要です
;;;
;;; * 使い方
;;; (clipboard-to-kill-ring t)
;;; で監視を始めます
;;; clipboard-to-kill-ring:interval を設定するとポーリングの間隔を変えられます.
@elim
elim / shibuya-el-position-paper.md
Created September 6, 2012 04:10 — forked from ainame/shibuya-el-position-paper.md
shibuya.elのポジションペーパーです。githubアカウントをお持ちの方はforkしてお使いください。

Shibuya.el#1 ポジションペーパー

Personal

  • 名前

    • 内藤 建 (Takeru Naito)
  • twitter

  • @elim

@elim
elim / fizzbuzz.rb
Created November 17, 2008 15:43 — forked from dzfl/fizzbuzz.rb
#!/usr/bin/env ruby
for n in 1..30
if 0 == n % 15
p "fizzbuzz"
elsif 0 == n % 5
p "buzz"
elsif 0 == n % 3
p "fizz"
else
@elim
elim / strimwidth.rb
Created July 24, 2008 06:48 — forked from dzfl/strimwidth.rb
strimwidth
class String
def strimwidth(width)
self.split(//)[0...width].join
end
end
#see also http://www.ruby-lang.org/ja/man/html/Array.html#self.5bstart.2e.2eend.5d