- carrierwave - ファイルアップロードを処理するやつ
- carrierwave_backgrounder - アップロードされたフィアルの処理(画像のリサイズ等)をバックグラウンドで処理する
- delayed_job_active_record - バックグラウンド処理
- fog - AWS との連携に使う。 carrierwave がこれを使って S3 にファイルを保存してくれたりする
- haml-rails - haml 使いたいねん
- twitter-bootstrap-rails - あれ
- will_paginate - ページネーション
- bootstrap-will_paginate - twitter-bootstrap 的にいい感じのタグを出力してくれる
https://github.com/mojombo/jekyll/wiki/Plugins
Jekyllプラグインシステムのフックは、あなたのサイト向けに特化したコンテンツの生成を可能にします。Jekyllのソースを修正することなく、あなたのサイト用のコードを実行できます。
The Jekyll plugin system hooks allow you to create custom generated content specific to your site. You can run custom code for your site without having to modify the Jekyll source itself.
h2. Installing a plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ruby Twitter Gemの簡易リファレンス(というかメモ)です。内容はバージョン1.1.1に準拠しています。 | |
| {{toc_here}} | |
| ! インストール | |
| $ gem install twitter -v=1.1.1 | |
| (環境によっては sudo gem ~) | |
| ! 概要 | |
| * 公式サイト:http://twitter.rubyforge.org/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ $(id -u) != "0" ]; then | |
| printf "Error: You must be root to run this tool!\n" | |
| exit 1 | |
| fi | |
| clear | |
| printf " | |
| #################################################### | |
| # # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I am the owner of lvh.me. And I'm glad to hear it's helpful. In truth, it's just a fancy DNS trick. lhv.me and all of it's sub-domains just point back to your computer (127.0.0.1). That means running ssl is as simple (or difficult) as running ssl on your computer. | |
| I'm not sure how comfortable you are with the command line, but here's my how I setup my development environment. (rvm, passenger, nginx w/ SSL, etc). | |
| # Install rvm (no sudo!) | |
| # ------------------------------------------------------ | |
| bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) | |
| source ~/.rvm/scripts/rvm | |
| rvm install ree-1.8.7-2010.02 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
NewerOlder