Skip to content

Instantly share code, notes, and snippets.

View tmd45's full-sized avatar

Yoko TAMADA tmd45

View GitHub Profile
@willnet
willnet / be_a_rails_contributer.md
Last active August 21, 2023 05:44
Railsコントリビュータへの道

これはなに

  • Railsにプルリクストを送るときに知っておくと便利なお作法集
  • Railsにプルリクエストを送りたいけど何から始めたらいいのかわからない人向けの指針

お作法についてはRuby on Rails に貢献する方法 | Rails ガイドを参考にしています。

前提知識

Railsのコードを読むには、最低限次の二つの知識があったほうがよいです

@a-suenami
a-suenami / 糖質制限アンチパターン.md
Last active February 5, 2016 05:51
糖質制限アンチパターン 2015 の 2 日目のエントリです。

このエントリは糖質制限 Advent Calendar の 2 日目のエントリです。前日は @chiastolite さんの「半年の糖質制限生活の経過報告的なにか」でした。

お前誰?

a_suenami と申します。ネット界隈では「糖質警察」として多少知られてると思います。よろしくお願いします。 僕の糖質制限への熱い想いはこのへんを見ていただければわかるかと思います。

糖質とプログラミングと私

今日のテーマ

@tmm1
tmm1 / sample.gif
Last active December 11, 2020 07:40
View Profiler
sample.gif
@kakutani
kakutani / Annotation.md
Last active September 26, 2019 13:35 — forked from ursm/Gemfile
Raw Gemfile on Idobata (master - 5adeddb)

Idobata Gemfile プレゼント

tl;dr IdotabaのGemfileは"全プレ"になりました。ご笑納ください。→ Gemfile

プレゼントについてのお詫び

rebuild.fmのep36でお知らせさせていただきました、Idobataの最新版Gemfileプレゼントをお届けいたします。 過日はIdobata会議01への多数のご参加ありがとうございました。おかげさまで盛況なミートアップとなりました。 (当日会場を提供いただいたEngine Yardさまのブログにて、Idobata会議01当日の様子がまとめられています。ありがとうございます!)

@mitaroThanken
mitaroThanken / hateblo.foo.vim
Last active August 29, 2015 13:57
hateblo.vim プラグイン (https://github.com/moznion/hateblo.vim) からの接続先を Vim 起動後に変える
" .hateblo.vim での定義を破棄し、再定義
unlet g:hateblo_vim
let g:hateblo_vim = {
\ 'user': 'user_name',
\ 'api_key': 'api_key',
\ 'api_endpoint': 'https://blog.hatena.ne.jp/.../atom',
\ 'WYSIWYG_mode': 0,
\ 'always_yes': 0,
\ 'edit_command': 'edit'
\ }
@sorah
sorah / relink.sh
Last active August 29, 2015 13:57
homebrew: link missing LinkedKegs again
@sue445
sue445 / equal_with_indifferent_access.rb
Last active February 10, 2023 14:29
[RSpec custom matcher] match hashes with indifferent access
# match hashes with indifferent access
#
# example)
# expect({"key1" => 1, :key2 => 2}).to equal_with_indifferent_access(key1: 1, key2: 2)
RSpec::Matchers.define :equal_with_indifferent_access do |expected|
match do |actual|
actual.with_indifferent_access == expected.with_indifferent_access
end
@ogasyo
ogasyo / legacy_mem_cache_store.rb
Created August 2, 2013 08:49
Rails4 で dalli が標準の MemcacheClient になっちゃった対策。
# Add legacy memcache session store for using KyotoTycoon with memcached protocol.
# Sourced from Rails 3.2
# => https://github.com/rails/rails/blob/3-2-stable/actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb
#
require 'action_dispatch/middleware/session/abstract_store'
require 'rack/session/memcache'
module ActionDispatch
module Session
class LegacyMemCacheStore < Rack::Session::Memcache
@noromanba
noromanba / hatenaspace-its-suggestion.mkd
Last active December 18, 2015 22:09
frequently asked issue and ITS suggestion for HatenaSpace (ja)
@kozy4324
kozy4324 / bundler_memo.md
Last active May 25, 2022 01:59
Bundlerめも

bundler

install

Gemfile(or Gemfile.lock)の記述に従って依存gemをシステムにインストール.

$ bundle install