Skip to content

Instantly share code, notes, and snippets.

Brent Eritou beritou

Block or report user

Report or block beritou

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@beritou
beritou / MySQL.md
Last active Oct 31, 2018 — forked from nrollr/MySQL.md
Install MySQL on El Capitan using Homebrew
View MySQL.md

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

View CompletionStageExample.java
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 Aug 29, 2017
Demonstrating usage of Future with Actors in Akka Java
View ActorWithFutures.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;
View keybase.md

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:

You can’t perform that action at this time.