<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
This cheat sheet originated from the forum, credits to Laurent Poulain. We copied it and changed or added a few things.
def example = 2 // evaluated when called
val example = 2 // evaluated immediately| package Boot | |
| import akka.actor.{Cancellable, Actor, ActorSystem, Props} | |
| import akka.stream.{OverflowStrategy, ActorFlowMaterializer} | |
| import akka.stream.actor.ActorSubscriberMessage.{OnComplete, OnNext} | |
| import akka.stream.actor.{ActorSubscriber, OneByOneRequestStrategy, RequestStrategy} | |
| import akka.stream.scaladsl._ | |
| import org.akkamon.core.exporters.StatsdExporter | |
| import org.akkamon.core.instruments.{CounterTrait, LoggingTrait, TimingTrait} |
First, create a Git subfolder inside your Dropbox folder. Then you can share the individual projects inside that folder with whomever you want (or just use it for instant offsite backups).
From inside a Git project:
git clone --bare . ~/Dropbox/Git/gitproject.git
git remote add dropbox ~/Dropbox/Git/gitproject.git
When you're ready to push:
| import scala.language.experimental.macros | |
| import scala.reflect.macros.blackbox.Context | |
| trait Mappable[T] { | |
| def toMap(t: T): Map[String, Any] | |
| def fromMap(map: Map[String, Any]): T | |
| } | |
| object Mappable { | |
| trait Enum { //DIY enum type | |
| import java.util.concurrent.atomic.AtomicReference //Concurrency paranoia | |
| type EnumVal <: Value //This is a type that needs to be found in the implementing class | |
| private val _values = new AtomicReference(Vector[EnumVal]()) //Stores our enum values | |
| //Adds an EnumVal to our storage, uses CCAS to make sure it's thread safe, returns the ordinal | |
| private final def addEnumVal(newVal: EnumVal): Int = { import _values.{get, compareAndSet => CAS} | |
| val oldVec = get |
This is a full set of key bindings (as of Vimium v1.45); covering all Vimium functionality. I have tried to map all Vimium functionality to comparable Emacs functionality (whenever possible). In cases where there is no equivalent, those commands are prefixed by <c-g> (indicating <c-g>oogle Chrome; and because <c-g> does not conflict with other Emacs shortcuts at all).
Commented Shortcuts: There are a few Emacs-style shortcuts that are simply not possible in Vimium. All of my shortcuts (including those which were not possible; i.e. where I used a decent alternative) have been commented below. This should help to clarify my rationale.
_Compatibility: All of these shortcuts were tested on Mac OS X (Mavericks). Please note that all of my shortcuts operate under the assumption that your Emacs Meta key is the ⌥ Alt/Option key. This really was my only choice, because the ⌘ key is already used in Chrome for shortcuts that c
| var pattern = /^[a-z][a-z0-9_]*(\.[a-z0-9_]+)+[0-9a-z_]$/i; | |
| [ | |
| "me.unfollowers.droid", | |
| "me_.unfollowers.droid", | |
| "me._unfollowers.droid", | |
| "me.unfo11llowers.droid", | |
| "me11.unfollowers.droid", | |
| "m11e.unfollowers.droid", | |
| "1me.unfollowers.droid", |