This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hdmi_force_hotplug=1 | |
enable_uart=0 | |
# camera settings, see http://elinux.org/RPiconfig#Camera | |
start_x=1 | |
disable_camera_led=1 | |
gpu_mem=128 | |
# Enable audio (added by raspberrypi-sys-mods) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You need to change any variables wrapped <like-this> to your own variables. | |
#cloud-config | |
hostname: <hostname> | |
manage_etc_hosts: true | |
users: | |
- name: <username> | |
primary-group: users | |
shell: /bin/bash | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
groups: users,docker,adm,dialout,audio,plugdev,netdev,video |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule MyAppServerWeb.RoomChannelTest do | |
use MyAppServerWeb.ChannelCase | |
alias MyAppServerWeb.RoomChannel | |
# if I uncomment this then alchemist-help-search-at-point does work on "socket" | |
# use Phoenix.ChannelTest | |
setup do | |
{:ok, _, socket} = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule MyAppServerWeb.ChannelCase do | |
use ExUnit.CaseTemplate | |
using do | |
quote do | |
# Why can alchemist not see this? | |
use Phoenix.ChannelTest | |
end | |
end |