/var/log/messages

Apr 9, 2014 - 1 minute read - Comments - android

設定画面なカスタムダイアログ

雛形てきなナニを備忘まで。あ、gist に貼ってこっちから参照すりゃ良いのか。

パスワード入力なダイアログです。確認入力あり。リソースは略してます。

{% gist 10235370 %}

Liquid Exception: Gist replied with 301 for

なメセジでオチるな。URL が違うみたい。gist.github.com ではなくて gist.githubusercontent.com が正しいはずなんですが、何が悪いのか。

plugins/gist_tag.rb を無理矢理修正してしまいました。いいのかこれ。

    def script_url_for(gist_id, filename)
#      url = "https://gist.github.com/#{gist_id}.js"
      url = "https://gist.githubusercontent.com/#{gist_id}.js"
      url = "#{url}?file=#{filename}" unless filename.nil? or filename.empty?
      url
    end

    def get_gist_url_for(gist, file)
#      "https://gist.github.com/raw/#{gist}/#{file}"
      "https://gist.githubusercontent.com/raw/#{gist}/#{file}"
    end

つうかそもそも octopress そのものを upgrade とかどうやるんだっけ、って世界になり始めていたりします。いやはや。

ちょっと upstream なリポジトリ探して同期取った方が良いな、とは言えどうすりゃ良いのか。

bundle init からヤッてみた 機能追加に関する備忘

comments powered by Disqus