This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
| /** | |
| * ## Merging mixin views in backbone.js ## | |
| * | |
| * really just more a test for tumblr gistr | |
| */ | |
| /** | |
| * Merge the mixin (a Backbone.View) into another Backbone.View. Automatically merge events, defaults, and call the parent initializer. | |
| **/ | |
| function mergeMixin(view, mixin) { |
| /** | |
| * Date Format | |
| * Copyright (c) 2011, marlun78 | |
| * MIT License, https://gist.github.com/marlun78/bd0800cf5e8053ba9f83 | |
| * | |
| * Format options inspired by the .NET framework's format. | |
| * http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx | |
| * | |
| * Non-formatting characters within the format string must be | |
| * quoted (single (') or double (") quotes)! The same is true |
#Mac OS X
| /** Akshaal, 2012. http://akshaal.info */ | |
| import language.experimental.macros | |
| import scala.reflect.macros.Context | |
| import scala.annotation.Annotation | |
| /** | |
| * Macros for traversing over annotated elements. | |
| * | |
| * See http://www.akshaal.info/2012/08/scala-210-annotated-fields-macro.html for more information. |
| package object mail { | |
| implicit def stringToSeq(single: String): Seq[String] = Seq(single) | |
| implicit def liftToOption[T](t: T): Option[T] = Some(t) | |
| sealed abstract class MailType | |
| case object Plain extends MailType | |
| case object Rich extends MailType | |
| case object MultiPart extends MailType |
| ----- Esc ----- | |
| Quick change directory: Esc + c | |
| Quick change directory history: Esc + c and then Esc + h | |
| Quick change directory previous entry: Esc + c and then Esc + p | |
| Command line history: Esc + h | |
| Command line previous command: Esc + p | |
| View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
| Print current working directory in command line: Esc + a | |
| Switch between background command line and MC: Ctrl + o | |
| Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |
| (function () { | |
| App.Views.PopoverView = Backbone.View.extend({ | |
| initialize: function (options) { | |
| _.bindAll(this, "render", "setContent", "show", "hide", "toggle", "destroy", "remove"); | |
| this.offsetTop = 30; | |
| this.offsetLeft = 0; |