View wine.rb
# NOTE: When updating Wine, please check Wine-Gecko and Wine-Mono for updates
# too:
# - http://wiki.winehq.org/Gecko
# - http://wiki.winehq.org/Mono
class Wine < Formula
desc "Wine Is Not an Emulator"
homepage "https://www.winehq.org/"
head "git://source.winehq.org/git/wine.git"
stable do
View gist:65bb0238b38d8a2dfa3a5b75c0c9d14e
$ brew install cmake
Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
==> Downloading https://cmake.org/files/v3.5/cmake-3.5.2.tar.gz
Already downloaded: /Users/jasonstiebs/Library/Caches/Homebrew/cmake-3.5.2.tar.gz
==> ./bootstrap --prefix=/usr/local/Cellar/cmake/3.5.2 --no-system-libs --parallel=4 --datadir=/share/cmake --docdir=/share/doc/cmake --mandir=/share/man --sys
Last 15 lines from /Users/jasonstiebs/Library/Logs/Homebrew/cmake/01.bootstrap:
View gist:10b131186d9586c9d739
### Keybase proof
I hereby claim:
* I am jeregrine on github.
* I am peregrine (https://keybase.io/peregrine) on keybase.
* I have a public key ASCxv5_catIscgkxbyUrDSk52s9QabLO7S4Yhe2Qqs_eYQo
To claim this, I am signing this object:
View gist:bbdf6e6ab756b9b7df21
===> Failed to fetch and copy dep: {git,"git://github.com/DeadZen/goldrush.git",
{tag,"879c69874a"}}
View phoenix-0.15-upgrade.md

Sockets and Channels

A new socket behaviour has been introduced to handle socket authentication in a single place, wire up default channel assigns, and disconnect a user's multiplex connection as needed.

First things first, create a UserSocket module in web/channels/user_socket.ex and move all your channel routes from web/route.ex to the user socket: (replace MyApp with your application module)

0.14.x - web/router.ex:

defmodule MyApp.Router do
   ...
View config.exs
config :hackney,
mod_metrics: MyApp.Util.HackneyLibratoMetrics
View hackney_librarto.ex
defmodule MyApp.Util.HackneyLibratoMetrics do
require Logger
def new(_, _) do
:ok
end
def delete(_name) do
:ok
end
View repo.ex
defmodule MyApp.Repo do
use Ecto.Repo, otp_app: :my_app
def log(entry) do
Logger.info(fn ->
[log_time("measure#database.query", entry.query_time, true), log_time("measure#database.queue", entry.queue_time, false)]
end)
super(entry)
end
View task_timeout.ex
results = try do
Task.await(search_task, @timeout)
catch
:exit, {:timeout, {Task, :await, [_, @timeout]}} -> []
end
View Howto.md

Then add

worker(Redis, []),

to your supervision tree