Skip to content

Instantly share code, notes, and snippets.

package com.lightbend.akka.sample;
import akka.actor.AbstractActor;
import akka.actor.ActorSystem;
import akka.dispatch.OnSuccess;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.Executor;
@beritou
beritou / ActorWithFutures.java
Created August 29, 2017 16:41
Demonstrating usage of Future with Actors in Akka Java
package com.lightbend.akka.sample;
import akka.actor.AbstractActor;
import akka.actor.ActorSystem;
import akka.dispatch.Futures;
import akka.dispatch.OnSuccess;
import scala.concurrent.Future;
import static akka.dispatch.Futures.future; //this import might be missing
import java.util.Arrays;
import java.util.List;
@beritou
beritou / MySQL.md
Last active October 31, 2018 14:28 — forked from nrollr/MySQL.md
Install MySQL on El Capitan using Homebrew

Install MySQL on OS X El Capitan

Normally the installation of MySQL can be achieved with a single command, which executes a script provided by MacMiniVault : bash <(curl -Ls http://git.io/eUx7rg)

However, at the time of writing the script is not compatible with OS X El Capitan (10.11)

Install MySQL using Homebrew

An alternative to the aforementioned installation script is installing MySQL using Homebrew. This gist assumes you already have Homebrew installed, if not first read the article "Homebrew and El Capitan"

Make sure Homebrew has the latest formulae, so run brew update first

Keybase proof

I hereby claim:

  • I am beritou on github.
  • I am brenteritou (https://keybase.io/brenteritou) on keybase.
  • I have a public key whose fingerprint is A276 37EA 7667 BACB F5A0 EF1B 286F 7456 6819 DFEF

To claim this, I am signing this object: