Skip to content

Instantly share code, notes, and snippets.

View rummelonp's full-sized avatar
🐈‍⬛
ニャーン

Kazuya Takeshima rummelonp

🐈‍⬛
ニャーン
View GitHub Profile
@teppeis
teppeis / tenkaichi-git.md
Last active April 29, 2023 14:58
天下一gitconfig大会

天下一gitconfig大会(サイボウズ社内git勉強会@2012/11/20)の@teppeisの資料です。

ぎっとぎとにしてやんよ

DojoCat

  • gistでmarkdown書いたらbookmarkletでプレゼンになるよ。
@mirakui
mirakui / compile_assets_and_rsync_with_remote_cache.rb
Created November 15, 2012 13:19
Fast deploy using capistrano_rsync_with_remote_cache and turbo-sprockets-rails3
# Requirements:
# https://github.com/vigetlabs/capistrano_rsync_with_remote_cache
# https://github.com/ndbroadbent/turbo-sprockets-rails3
require 'capistrano/recipes/deploy/strategy/rsync_with_remote_cache'
Capistrano::Deploy::Strategy::RsyncWithRemoteCache.class_eval do
def deploy!
update_local_cache
prepare_assets
update_remote_cache
finalize_assets
@kkosuge
kkosuge / ディスプレイの前でニヤニヤしてる人たちをカメラで撮る仕組み.rb
Created November 8, 2012 16:53
ディスプレイの前でニヤニヤしてる人たちをカメラで撮る仕組み.rb
# coding: utf-8
require "chatroid"
Chatroid.new do
set :service, "Twitter"
set :consumer_key, "..."
set :consumer_secret, "..."
set :access_key, "..."
set :access_secret, "..."
@syohex
syohex / cperl-imenu.el
Created November 8, 2012 09:25
my own perl imenu. Default imenu provides too many information for me
(defun my/cperl-imenu-create-index ()
(let (index)
;; collect subroutine
(goto-char (point-min))
(while (re-search-forward "^\\s-*sub\\s-+\\([^ ]+\\)" nil t)
(push (cons (format "Function: %s" (match-string 1))
(match-beginning 1)) index))
;; collect subtest
(goto-char (point-min))
@wtnabe
wtnabe / meetup4_idea.md
Created October 30, 2012 06:44
kanazawa.rb meetup #4 idea

タイトル

忘年会だよ、おっかさん!

日程

12/1(土) 13:00 開場

@hayajo
hayajo / changelog_en.md
Last active April 1, 2025 14:37
ChangeLog を支える英語

ChangeLog を支える英語

ChangeLog を書く際によく使われる英語をまとめました。

ほとんど引用です。

基本形

@clicube
clicube / example.rb
Created October 9, 2012 03:10
add xor method to String
# coding: utf-8
require_relative 'string_xor'
"hoge".xor("fuga") #=> "\x0E\x1A\x00\x04"
# 非破壊的です
@tumf
tumf / gist:3779688
Created September 25, 2012 02:44
アドビのソースコード表示用フォントEmacsで使ってみた
http://sourceforge.net/projects/sourcecodepro.adobe/ からダウンロード・展開して、~/Library/Fonts/に突っ込んで
(set-default-font "-apple-Source_Code_Pro-medium-normal-normal-*-*-*-*-*-m-0-iso10646-1")
でOK
@moro
moro / unit_test_spec.rb
Created September 19, 2012 02:31
unit_test_spec.rb
class A
def foo(num)
%w[one two three][num - 1]
end
end
describe A do
describe "#foo" do
RSpec::Matchers.define :do_foo do |args|
match do |instance|
@Gab-km
Gab-km / github-flow.ja.md
Last active March 21, 2025 03:38 — forked from juno/github-flow.ja.md
GitHub Flow (Japanese translation)