Skip to content

Instantly share code, notes, and snippets.

// An approximation of the TaskPaper 2 Helvetidark theme for TaskPaper 3
@text-color: rgb(90%, 90%, 90%);
@background-color: rgb(10%, 10%, 10%);
@font-family: 'Helvetica Neue';
@user-font-size: @base-font-size - 2;
@selection-color: rgb(20%, 20%, 20%);
@invisibles-color: mix(@tint-color, @background-color, 70%);
@cursor-color: rgb(40%, 40%, 40%);
class ActiveRecord::Base
@@cache_store = nil
def self.cache_store
@@cache_store ||= ActionController::Base.cache_store
end
def self.caches(method_name, key = nil, options = {}, &block)
if key.is_a?(Hash)
options = key
key = nil
is this like pastie?