万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    http://u2airsot.ninja-web.net/12_rails_ofc2/index.html


    ・日時
    http://noranuko.air-nifty.com/system/rubyrails/index.html


    module ApplicationHelper
      # 日本語日付選択
      def date_select_jp(object_name, method, options={ })
        options[:use_month_numbers] = true unless options[:use_month_numbers]
        t = date_select(object_name, method, options)
        if options[:discard_day]
          t.sub(/<\/select>(.+?)<\/select>/m, "</select>年\\1</select>月")
        else
          t.sub(/<\/select>(.+?)<\/select>(.+?)<\/select>/m, "</select>年\\1</select>月\\2</select>日")
        end
      end
    end
    



    http://d.hatena.ne.jp/yuum3/20080705/1215245926
    http://wota.jp/ac/?date=20071110