I hereby claim:
- I am qgadrian on github.
- I am qgadrian (https://keybase.io/qgadrian) on keybase.
- I have a public key ASBu5sdGCLjARjQURnO-Bz_V_DNG4HjpAFnfcBqkLeTiiwo
To claim this, I am signing this object:
{:fcmex, "~> 0.1.2"} |
System.put_env("FCM_SERVER_KEY", "my_project_id") |
Fcmex.push("/topics/test_topic", | |
data: %{ | |
title: "hi!", | |
body: "this is a message", | |
click_action: "open", | |
icon: "new" | |
} | |
) |
defp deps do | |
[ | |
{:credo, "~> 1.0.0", only: [:dev, :test], runtime: false}, | |
{:aws_lambda_elixir_runtime, "~> 0.1.0", only: [:lambda]}, | |
{:distillery, "~> 2.0"}, | |
{:tmdb, git: "https://github.com/seanabrahams/elixir-tmdb.git"}, | |
{:mox, "~> 0.4", only: :test} | |
] | |
end |
defmodule ThemoviedbAlexa do | |
@moduledoc """ | |
Entrypoint for Alexa skill requests to the AWS lambda. | |
""" | |
require Logger | |
alias ThemoviedbAlexa.Response.{Spanish} | |
@tmdb_client Application.get_env(:themoviedb_alexa, :tmdb_client) |
defmodule ThemoviedbAlexa.Response.Spanish do | |
@moduledoc """ | |
Module that provides an Alexa response to an intent in the spanish. | |
""" | |
@behaviour ThemoviedbAlexa.Response.Behaviour | |
@doc """ | |
Returns an Alexa skill response with the rating info of a movie | |
""" |
import Mix.Config | |
config :tmdb, | |
api_key: "replace_this_with_your_tmdb_api_key" |
@-webkit-keyframes fadein { | |
from { | |
opacity: 0; | |
} | |
to { | |
opacity: 1; | |
} | |
} | |
#sVim-command { |
I hereby claim:
To claim this, I am signing this object:
Write a simple front React application that consumes the Star Wars API and shows the content requested by the user.