Skip to content

Instantly share code, notes, and snippets.

PID COMMAND
1 /sbin/init
2 [kthreadd]
3 [ksoftirqd/0]
6 [migration/0]
7 [watchdog/0]
8 [migration/1]
10 [ksoftirqd/1]
12 [watchdog/1]
13 [migration/2]
@opie4624
opie4624 / tarsnap-install.sh
Last active December 11, 2015 00:17 — forked from mdigital/tarsnap-install.sh
Debian / Ubuntu Tarsnap installation
#!/bin/sh
# Installs tarsnap client on Debian and Ubuntu
#
# You'll need to setup an account at
# http://www.tarsnap.com
# and load it with some funds
#
# Make sure you run this as root
#
[default]
aws_access_key_id=AKIATTGGMOWUTOKBBNAE
aws_secret_access_key=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
defmodule IslandsEngine.GameSupervisor do
use DynamicSupervisor
alias IslandsEngine.Game
def start_link(_options), do: DynamicSupervisor.start_link(__MODULE__, :ok, name: __MODULE__)
def init(:ok), do: DynamicSupervisor.init(strategy: :one_for_one)
def start_game(name), do: DynamicSupervisor.start_child(__MODULE__, Game.child_spec(name))