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) |
| ... | |
| 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:
| 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 | |
| ... |
| @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 |
| 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 |
| 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 |
| extern crate rand; | |
| use std::thread; | |
| use std::sync::Arc; | |
| use std::sync::mpsc::{Sender, Receiver, channel}; | |
| use rand::Rng; | |
| fn main() { | |
| let waiter = Waiter::new(); |
| /* | |
| * File: cocos_ref.h | |
| * Author: jeremy | |
| * | |
| * Created on June 28, 2014, 8:38 PM | |
| */ | |
| #ifndef COCOS_REF_H | |
| #define COCOS_REF_H |