I hereby claim:
- I am jeremyjh on github.
- I am jeremyjh (https://keybase.io/jeremyjh) on keybase.
- I have a public key ASAPnvEfl1PGGYJVJ6pUh9nzgVMdDGKcdPDQ3C0vAqj9nQo
To claim this, I am signing this object:
cmake_minimum_required(VERSION 3.5) | |
project(godot) | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | |
include_directories(./godot | |
./godot/core/ | |
./godot/core/math/) | |
file (GLOB CPP_FILES godot/**/*.cpp) |
module Main where | |
import Control.Distributed.Process hiding (call) | |
import Control.Distributed.Process.Node as Node (initRemoteTable, runProcess, newLocalNode) | |
import Control.Distributed.Process.Extras (resolve, __remoteTable) | |
import Network.Transport.TCP | |
import Control.Concurrent (threadDelay) | |
import Control.Monad | |
import Network.Transport hiding (send) | |
import System.Environment |
{-# LANGUAGE RankNTypes #-} | |
{-# LANGUAGE GeneralizedNewtypeDeriving #-} | |
module Control.Distributed.Process.Lifted | |
( module Control.Distributed.Process | |
, module Control.Distributed.Process.Lifted | |
) | |
where | |
import Control.Monad.Trans.Control |
... | |
defp deps do | |
[ | |
{:phoenix, "~> 1.3.0"}, | |
{:phoenix_pubsub, "~> 1.0"}, | |
{:phoenix_ecto, "~> 3.2"}, | |
{:postgrex, ">= 0.0.0"}, | |
{:phoenix_html, "~> 2.10"}, | |
{:phoenix_live_reload, "~> 1.0", only: :dev}, | |
{:gettext, "~> 0.11"}, |
I hereby claim:
To claim this, I am signing this object:
@webdir "bigapp_web" | |
@doc """ | |
When used, dispatch to the appropriate controller/view/etc. | |
""" | |
defmacro __using__(:view) do | |
view_path = | |
__CALLER__.file | |
|> String.split(@webdir) | |
|> List.last |
def view(opts \\ | |
[root: "lib/bigapp_web/templates", | |
namespace: BigappWeb]) do | |
quote do | |
use Phoenix.View, unquote(opts) |
def view(opts) do | |
quote do | |
use Phoenix.View, unquote(opts) | |
# Import convenience functions from controllers | |
... |
defmodule BigappWeb do | |
@moduledoc """ | |
The entrypoint for defining your web interface, such | |
as controllers, views, channels and so on. | |
This can be used in your application as: | |
use BigappWeb, :controller | |
use BigappWeb, :view |
-- Functions intended to make it easier to work with distributed-process | |
-- from the REPL. | |
module NodeProcess where | |
import Control.Distributed.Process | |
import Control.Distributed.Process.Serializable | |
import Control.Concurrent.MVar | |
import Control.Concurrent (threadDelay) |