Tbpgr Blog

Employee Experience Engineer tbpgr(てぃーびー) のブログ

2014-02-21から1日間の記事一覧

TbpgrUtils | 追加要件 String#sayを追加

概要 追加要件 String#sayを追加 詳細 追加要件 String#sayを追加します 仕様 ・任意の記号で文字列を囲む※より詳細についてはGitHubのREADMEおよびテストケース参照 GitHub https://github.com/tbpgr/tbpgr_utils Rubygems http://rubygems.org/gems/tbpgr_…

Sublime Text2 | MarkdownPreviewでGitHub CSSを利用する

概要 MarkdownPreviewでGitHub CSSを利用する 詳細 手順 ・メニュー=>Preferences=>Package Settings=>Markdown Preview=>Setting - Userを開く ・下記を設定する {"css" : "github.css"} サンプル markdown =============== em --------------- *em* strong…

Apache

概要 Apache 一覧 項目 URL Basic認証の設定 http://d.hatena.ne.jp/tbpg/20140221/1392987053

Apache | Basic認証の設定

概要 Basic認証の設定 詳細 手順 ・対象ディレクトリの決定 /var/www/wiki ・認証用のユーザ・パスワードの設定 ユーザ:hoge 新規作成自のみ-cオプションを利用する。 sudo htpasswd -c /etc/apache2/.htpasswd hoge ・認証対象の設定 sudo cp /etc/apache2…

ActiveSupport | String#titleize

概要 String#titleize 詳細 String#titleize について String#titleize 文字列を区切り文字ごとに先頭大文字にする。 サンプル # encoding: utf-8 require 'active_support/core_ext/string/inflections' require 'tbpgr_utils' bulk_puts_eval binding, <<-…