Get it from http://developer.apple.com. You will not be able to submit apps to any stores using this XCode version, so turn away if that is something you might want to do.
In XCode's Preferences > Downloads you can install command line tools.
| -- PostgreSQL 9.2 beta (for the new JSON datatype) | |
| -- You can actually use an earlier version and a TEXT type too | |
| -- PL/V8 http://code.google.com/p/plv8js/wiki/PLV8 | |
| -- JSON Types need to be mapped into corresponding PG types | |
| -- | |
| -- Number => INT or DOUBLE PRECISION | |
| -- String => TEXT |
Get it from http://developer.apple.com. You will not be able to submit apps to any stores using this XCode version, so turn away if that is something you might want to do.
In XCode's Preferences > Downloads you can install command line tools.
You can break these rules if you can talk your pair into agreeing with you.
| # Erlang R16B | |
| # Elixir 0.9.3 | |
| # amrita 0.1.3 | |
| # mix.exs ##################################### | |
| defmodule AmritaSandbox.Mixfile do | |
| use Mix.Project | |
| def project do | |
| [ app: :amrita_sandbox, |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| get ("/movies") { | |
| return Movie.all | |
| } | |
| get ("/movies/:id") { | |
| movie = Movie.get(params["id"]) | |
| return movie | |
| } |
| 2014-09-30 21:01:01.432+0000 INFO [o.n.s.CommunityNeoServer]: Setting startup timeout to: 120000ms based on -1 | |
| 2014-09-30 21:01:01.507+0000 INFO [o.n.k.InternalAbstractGraphDatabase]: No locking implementation specified, defaulting to 'community' | |
| 2014-09-30 21:01:01.557+0000 INFO [o.n.k.i.DiagnosticsManager]: --- INITIALIZED diagnostics START --- | |
| 2014-09-30 21:01:01.558+0000 INFO [o.n.k.i.DiagnosticsManager]: Neo4j Kernel properties: | |
| 2014-09-30 21:01:01.559+0000 INFO [o.n.k.i.DiagnosticsManager]: neostore.propertystore.db.mapped_memory=1285M | |
| 2014-09-30 21:01:01.559+0000 INFO [o.n.k.i.DiagnosticsManager]: neostore.nodestore.db.mapped_memory=357M | |
| 2014-09-30 21:01:01.559+0000 INFO [o.n.k.i.DiagnosticsManager]: neostore.relationshipstore.db.mapped_memory=1575M | |
| 2014-09-30 21:01:01.559+0000 INFO [o.n.k.i.DiagnosticsManager]: neostore.propertystore.db.strings.mapped_memory=1092M | |
| 2014-09-30 21:01:01.559+0000 INFO [o.n.k.i.DiagnosticsManager]: store_dir=/Users/karmenblake/Downloads/neo4j-community-2.1.5/data/ |
| defmodule FizzBuzz do | |
| def compute(n) do | |
| s = case {rem(n, 3), rem(n, 5)} do | |
| {0, 0} -> :FizzBuzz | |
| {0, _} -> :Fizz | |
| {_, 0} -> :Buzz | |
| _ -> n | |
| end | |
| IO.puts(s) | |
| end |
| IO.puts "Conway's Game of Life" | |
| defmodule Cell do | |
| def next_cycle do | |
| receive do | |
| {sender, number_live_neighbors} -> | |
| cond do | |
| number_live_neighbors < 2 -> | |
| send sender, {:died, die_off} | |
| number_live_neighbors > 3 -> |
| test_scores = [88, 100, 93, 65, 89, 90, 78, 99, 54] | |
| If given an array of integers, display a horizontal histogram using ‘*’ | |
| For example, | |
| Produce: | |
| 88 : **************************************************************************************** |