Install pandoc on Mac OS X 10.8
$ brew install haskell-platform| gem 'carrierwave-mongoid', github: 'jnicklas/carrierwave-mongoid' | |
| gem 'mongoid', github: 'mongoid/mongoid' |
| filename = 'foobar.zer.png' | |
| def content_type | |
| extname = File.extname(filename)[1..-1] | |
| Mime::Type.lookup_by_extension(extname) | |
| end |
| chrome.tabs.query( | |
| {'active': true, 'currentWindow': true}, | |
| function (tabs) { | |
| var tab = tabs[0] | |
| var url = tab.url; | |
| var title = tab.title; | |
| var pattern = /https:\/\/github.com\/pracstrat\/(\w+)\/issues\/(\w+)/ | |
| var search = tab.url.match(pattern) | |
| jQuery.ajax({ |
$ brew install haskell-platform| class Message | |
| include Mongoid::Document | |
| include Mongoid::Timestamps | |
| field :alert, type: String | |
| field :badge, type: Integer, default: 0 | |
| field :sound, type: String | |
| field :schedule, type: DateTime | |
| field :custom, type: Hash |
Integrate Backup with Rails, Whenever, Mongoid 3
Time tracking serverice
$ git pull --rebase.Closes #123)