- ダッシュボード
- 何も考えずに各モデルをカウントするのでレコード件数増えるとえらいことになる。
This file contains 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
background: linear-gradient(181deg, #3498db, #2c3e50); | |
background-size: 400% 400%; | |
-webkit-animation: AnimationName 11s ease infinite; | |
-moz-animation: AnimationName 11s ease infinite; | |
-o-animation: AnimationName 11s ease infinite; | |
animation: AnimationName 11s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:51% 0%} | |
50%{background-position:50% 100%} | |
100%{background-position:51% 0%} |
(注意)既にRVMを使ってRubyがインストール済みなので、OS X標準のRubyではなくHomebrewを使って別バージョンのRubyをインストールするまでのもろもろの準備は省いています。その部分が必要であれば、このあたりの記事の前段が参考になるかもしれません(Rails OS X Developer Guide)。
まずは、RVMをアンインストールしましょう。
$ rvm implode
This file contains 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
// this is the background code... | |
// listen for our browerAction to be clicked | |
chrome.browserAction.onClicked.addListener(function (tab) { | |
// for the current tab, inject the "inject.js" file & execute it | |
chrome.tabs.executeScript(tab.ib, { | |
file: 'inject.js' | |
}); | |
}); |
- 更新
2013-12-08
- バージョン
0.1.8
- 作者
@voluntas
- URL
概要
This file contains 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
# vim:fileencoding=utf-8 | |
import codecs | |
import sys | |
import types | |
if __name__ == '__main__': | |
# | |
# ターミナルに出力する場合 | |
# 以下のサンプルは、ターミナルに出力する場合は | |
# うまくいくが、リダイレクトさせてファイルに出力すると |