Página 226:
**URL do namespace “app” da tag <menu/> está incorreta:**
Ao invés de:
Página 228:
package springangularjs; | |
import java.io.IOException; | |
import org.jsoup.Connection; | |
import org.jsoup.Jsoup; | |
import org.jsoup.nodes.Document; | |
import org.jsoup.select.Elements; | |
public class AleloConnector { |
Página 226:
**URL do namespace “app” da tag <menu/> está incorreta:**
Ao invés de:
Página 228:
I hereby claim:
To claim this, I am signing this object:
public class DeadlockExample { | |
private static final int NUM_THREADS = 20; | |
private static final int NUM_ACCOUNTS = 5; | |
private static final int NUM_ITERATIONS = 1000000; | |
public static void main(String[] args) { | |
final Random rnd = new Random(); | |
final Account[] accounts = loadAllAccounts(); |
# Install: Save this file to a directory, then add: `include DocumentationMakefile.mk` at the top of your main Makefile. | |
# Adding docs: add a comment right after the target name following this pattern: ##@category_name description | |
# Usage: `make help` | |
#COLORS | |
GREEN := $(shell tput -Txterm setaf 2) | |
WHITE := $(shell tput -Txterm setaf 7) | |
YELLOW := $(shell tput -Txterm setaf 3) | |
RESET := $(shell tput -Txterm sgr0) |
defmodule IRC do | |
use GenServer | |
def connect(host, port, nick) do | |
GenServer.start_link(__MODULE__, %{host: host, port: port, nick: nick}) | |
end | |
def init(opts) do | |
{:ok, socket} = connect_and_identify!(opts.host, opts.port, opts.nick) | |
{:ok, Map.put(opts, :socket, socket)} |