hexsha
stringlengths
40
40
size
int64
2
991k
ext
stringclasses
2 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
208
max_stars_repo_name
stringlengths
6
106
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
list
max_stars_count
int64
1
33.5k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
208
max_issues_repo_name
stringlengths
6
106
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
list
max_issues_count
int64
1
16.3k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
208
max_forks_repo_name
stringlengths
6
106
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
list
max_forks_count
int64
1
6.91k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
2
991k
avg_line_length
float64
1
36k
max_line_length
int64
1
977k
alphanum_fraction
float64
0
1
85226208d0f3e96d0c333d750ae0762a84eb3f1d
175
ex
Elixir
lib/changelog/kits/string_kit.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog/kits/string_kit.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog/kits/string_kit.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
defmodule Changelog.StringKit do def dasherize(string) do string |> String.downcase |> String.replace(~r/[^\w\s]/, "") |> String.replace(" ", "-") end end
19.444444
38
0.594286
85226c1e223e904076a466d63e90605c04b854f4
598
exs
Elixir
test/views/error_view_test.exs
sebbean/phoenix-trello
c698ef9bdd29553aff941cc1f31778ee09c974d6
[ "MIT" ]
1
2017-01-19T20:12:08.000Z
2017-01-19T20:12:08.000Z
test/views/error_view_test.exs
sebbean/phoenix-trello
c698ef9bdd29553aff941cc1f31778ee09c974d6
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
sebbean/phoenix-trello
c698ef9bdd29553aff941cc1f31778ee09c974d6
[ "MIT" ]
null
null
null
defmodule PhoenixTrello.ErrorViewTest do use PhoenixTrello.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(PhoenixTrello.ErrorView, "404.html", []) == "Page not found" end test "re...
27.181818
71
0.692308
85226e718160d147c750d68d291b7dac537f8b77
2,254
ex
Elixir
lib/erlef/slack_invite.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
71
2019-07-02T18:06:15.000Z
2022-03-09T15:30:08.000Z
lib/erlef/slack_invite.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
157
2019-07-02T01:21:16.000Z
2022-03-30T16:08:12.000Z
lib/erlef/slack_invite.ex
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
45
2019-07-04T05:51:11.000Z
2022-02-27T11:56:02.000Z
defmodule Erlef.SlackInvite do @moduledoc """ Erlef.SlackInvite - Slack Invite API client """ def invite(email, team: team) do slack_config = Application.get_env(:erlef, :slack_invite_config) team_env_keys = slack_config[team] token = System.get_env(team_env_keys.token_key) team_id = System.get...
27.82716
94
0.651287
8522e893c2bfdd66c435faa5c152f09dd1c2ca4e
1,204
ex
Elixir
lib/pump/metrics/os_mon.ex
whysoserious/pump
5eff0f949b8aff5ed420736eff4f562b8e86f6fa
[ "MIT" ]
1
2018-11-05T17:53:18.000Z
2018-11-05T17:53:18.000Z
lib/pump/metrics/os_mon.ex
whysoserious/pump
5eff0f949b8aff5ed420736eff4f562b8e86f6fa
[ "MIT" ]
null
null
null
lib/pump/metrics/os_mon.ex
whysoserious/pump
5eff0f949b8aff5ed420736eff4f562b8e86f6fa
[ "MIT" ]
1
2020-12-03T11:48:37.000Z
2020-12-03T11:48:37.000Z
defmodule Pump.Metrics.OSMon do # TODO docs def metrics() do # http://erlang.org/doc/man/cpu_sup.html nprocs = :cpu_sup.nprocs() avg1 = :cpu_sup.avg1() avg5 = :cpu_sup.avg5() avg15 = :cpu_sup.avg15() avg_util = :cpu_sup.util() {_, busy, non_busy, _} = :cpu_sup.util([:detailed]) # h...
31.684211
95
0.61711
8522f97190de99e29b86fc9aa355ab22580b94e1
1,598
ex
Elixir
lib/kitto/plugs/authentication.ex
bougueil/kitto
a2b5fb10e632e9ee05dce2644193fd35eaa1938e
[ "MIT" ]
1,047
2016-05-11T16:09:29.000Z
2022-03-29T17:17:26.000Z
lib/kitto/plugs/authentication.ex
bougueil/kitto
a2b5fb10e632e9ee05dce2644193fd35eaa1938e
[ "MIT" ]
132
2016-10-28T19:44:26.000Z
2020-12-06T21:16:53.000Z
lib/kitto/plugs/authentication.ex
bougueil/kitto
a2b5fb10e632e9ee05dce2644193fd35eaa1938e
[ "MIT" ]
70
2016-10-26T00:11:05.000Z
2022-01-02T21:43:06.000Z
defmodule Kitto.Plugs.Authentication do @moduledoc """ Defines authentication logic for routes that require it. Authentication uses token based auth with the Authentication header. ## Setting up authentication: To configure the dashboard with authentication, add the expected auth token to your application...
26.196721
88
0.706508
8523088212790fbf770b818dde0b3680480fef2d
2,860
exs
Elixir
mix.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
mix.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
mix.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
defmodule Central.MixProject do use Mix.Project def project do [ app: :central, version: "0.1.0", elixir: "1.11.2", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
30.105263
84
0.524825
85232175875aa4651a1456c174028d799f908e14
882
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.666667
74
0.758503
852325bdb72a6d4bb2eed4fb7d4745dfa3b124a0
1,846
ex
Elixir
lib/rummage_ecto/hooks/custom_sort.ex
ramansah/rummage_ecto
0f24fdccfe504e3c5b8337698446c17fefc60766
[ "MIT" ]
1
2019-02-11T19:54:24.000Z
2019-02-11T19:54:24.000Z
lib/rummage_ecto/hooks/custom_sort.ex
ramansah/rummage_ecto
0f24fdccfe504e3c5b8337698446c17fefc60766
[ "MIT" ]
null
null
null
lib/rummage_ecto/hooks/custom_sort.ex
ramansah/rummage_ecto
0f24fdccfe504e3c5b8337698446c17fefc60766
[ "MIT" ]
2
2019-11-02T21:36:27.000Z
2021-03-02T15:58:31.000Z
defmodule Rummage.Ecto.Hook.CustomSort do @moduledoc """ """ use Rummage.Ecto.Hook @spec run(Ecto.Query.t(), map()) :: Ecto.Query.t() def run(q, s), do: handle_sort(q, s) # Helper function which handles addition of paginated query on top of # the sent queryable variable defp handle_sort(queryable, {f...
31.288136
92
0.66143
85232a9904386bc5762a39a69b531f84e28499b3
3,409
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/model/organization.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/model/organization.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/model/organization.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
50.132353
348
0.707246
85234b08c3f84899678130f66f950be81cd83c5b
2,270
ex
Elixir
lib/la_famiglia_web/controllers/report_controller.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
5
2016-10-20T10:00:59.000Z
2017-11-19T08:14:18.000Z
lib/la_famiglia_web/controllers/report_controller.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
39
2020-04-22T05:27:32.000Z
2022-03-13T17:22:26.000Z
lib/la_famiglia_web/controllers/report_controller.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
null
null
null
defmodule LaFamigliaWeb.ReportController do use LaFamiglia.Web, :controller alias LaFamiglia.{Villa, Report} plug :load_grouped_reports plug :load_villa_grouped_by def index(conn, params) do query = from(r in assoc(conn.assigns.current_player, :reports), order_by: [desc: :delivered_at] ...
23.894737
79
0.595154
85237db48a5eaefcf48c71d113c06a88adaa6d8b
5,527
ex
Elixir
lib/mango_pay/reporting.ex
Eweev/mangopay-elixir
7a4ff7b47c31bfa9a77d944803158f8297d51505
[ "MIT" ]
1
2020-04-07T22:17:25.000Z
2020-04-07T22:17:25.000Z
lib/mango_pay/reporting.ex
Eweev/mangopay-elixir
7a4ff7b47c31bfa9a77d944803158f8297d51505
[ "MIT" ]
17
2018-04-11T12:07:07.000Z
2019-03-18T21:33:18.000Z
lib/mango_pay/reporting.ex
Eweev/mangopay-elixir
7a4ff7b47c31bfa9a77d944803158f8297d51505
[ "MIT" ]
2
2018-05-15T12:41:46.000Z
2019-04-08T14:19:15.000Z
defmodule MangoPay.Reporting do @moduledoc """ Functions for MangoPay [reporting](https://docs.mangopay.com/endpoints/v2.01/reporting#e824_the-report-object). """ use MangoPay.Query.Base set_path "reports" @doc """ Get a reporting. ## Examples {:ok, reporting} = MangoPay.Reporting.get(id) """...
26.194313
138
0.52325
8523bf0b95a39b9d147e4df8ede1ed1e3c490bf2
1,252
exs
Elixir
bench/exp_bench.exs
zacky1972/nx_math
c8995ece124287ddc1af8c88eefdd21b79d2e9c4
[ "Apache-2.0" ]
null
null
null
bench/exp_bench.exs
zacky1972/nx_math
c8995ece124287ddc1af8c88eefdd21b79d2e9c4
[ "Apache-2.0" ]
null
null
null
bench/exp_bench.exs
zacky1972/nx_math
c8995ece124287ddc1af8c88eefdd21b79d2e9c4
[ "Apache-2.0" ]
null
null
null
defmodule RandSet do def rand_set(size) do for(_ <- 1..size, do: :rand.uniform() * 20 - 10) end def make_input(size) do rand = rand_set(size) t16 = Nx.tensor(rand, type: {:f, 16}) t32 = Nx.tensor(rand, type: {:f, 32}) t64 = Nx.tensor(rand, type: {:f, 64}) %{ input16: t16, inp...
28.454545
91
0.587859
8523c8b4cd47e8f90ebb718ede49b7e508376e44
274
ex
Elixir
lib/changelog_web/plugs/allow_framing.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
lib/changelog_web/plugs/allow_framing.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
lib/changelog_web/plugs/allow_framing.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule ChangelogWeb.Plug.AllowFraming do import Plug.Conn def init(opts), do: opts def call(conn = %{request_path: path}, _opts) do if String.ends_with?(path, "embed") do delete_resp_header(conn, "x-frame-options") else conn end end end
19.571429
50
0.671533
8523e0ac8cdbf8c46813f408744c899eb7541e3d
498
ex
Elixir
lib/doctor_schedule/release.ex
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
2
2022-03-11T12:15:01.000Z
2022-03-11T13:53:21.000Z
lib/doctor_schedule/release.ex
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
3
2020-12-12T22:10:17.000Z
2021-04-05T12:53:12.000Z
lib/doctor_schedule/release.ex
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
1
2021-02-26T04:24:34.000Z
2021-02-26T04:24:34.000Z
defmodule DoctorSchedule.Release do @app :doctor_schedule def migrate do load_app() for repo <- repos() do {:ok, _, _} = Ecto.Migrator.with_repo(repo, &Ecto.Migrator.run(&1, :up, all: true)) end end def rollback(repo, version) do load_app() {:ok, _, _} = Ecto.Migrator.with_repo(repo...
19.92
91
0.646586
8523ea6152a7a1ad4bd774b14bca00c6e2cd0abc
3,873
exs
Elixir
test/notifications/webhook_test.exs
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
test/notifications/webhook_test.exs
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
test/notifications/webhook_test.exs
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
defmodule StepFlow.Notifications.WebhookTest do use ExUnit.Case use Plug.Test import FakeServer alias Ecto.Adapters.SQL.Sandbox alias FakeServer.Response alias StepFlow.Step alias StepFlow.Workflows setup do # Explicitly get a connection before each test Sandbox.checkout(StepFlow.Repo) end ...
24.358491
82
0.485154
8523ec18d8bdcf8a394136bfab008199b16033b4
7,000
ex
Elixir
lib/digoc.ex
bunnylushington/digoc
a4acb7798cd20a3741dafa12ccd9a2de46a83012
[ "MIT" ]
1
2019-08-09T05:35:04.000Z
2019-08-09T05:35:04.000Z
lib/digoc.ex
bunnylushington/digoc
a4acb7798cd20a3741dafa12ccd9a2de46a83012
[ "MIT" ]
null
null
null
lib/digoc.ex
bunnylushington/digoc
a4acb7798cd20a3741dafa12ccd9a2de46a83012
[ "MIT" ]
null
null
null
defmodule DigOc do import DigOc.Request, only: [req: 1, postreq: 2, putreq: 2, delreq: 1 ] @endpoint "https://api.digitalocean.com/v2/" @token_varible "DIGOC_API2_TOKEN" @per_page 25 @wait_time_ms 5000 @event_manager DigOc.EM @moduledoc """ This is an Elixir client for the Digital Ocean API, verion...
20.771513
79
0.593286
85240722d92ed66c31a1568815b4f196f39b7cd1
1,673
ex
Elixir
lib/sanbase/webinars/webinar.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/webinars/webinar.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/webinars/webinar.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Webinar do use Ecto.Schema import Ecto.Changeset import Ecto.Query alias Sanbase.Repo schema "webinars" do field(:description, :string) field(:end_time, :utc_datetime) field(:image_url, :string) field(:is_pro, :boolean, default: false) field(:start_time, :utc_datetime) ...
21.448718
99
0.640167
85244ecf0e28acab776f806a051d32ba63f238e1
16,308
exs
Elixir
lib/mix/test/mix/tasks/deps.git_test.exs
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/deps.git_test.exs
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/deps.git_test.exs
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.DepsGitTest do use MixTest.Case defmodule DepsOnGitApp do def project do [ app: :deps_on_git_app, version: "0.1.0", deps: [ {:deps_on_git_repo, "0.2.0", git: fixture_path("deps_on_git_repo")} ...
31.003802
133
0.631898
85245723cdb61de7819e867c9946346446e127e7
98
exs
Elixir
config/config.exs
dcdourado/auth_blog
29ed5d5d0d90d83a1a0a05176d0378e56de79823
[ "MIT" ]
null
null
null
config/config.exs
dcdourado/auth_blog
29ed5d5d0d90d83a1a0a05176d0378e56de79823
[ "MIT" ]
1
2021-09-11T13:23:29.000Z
2021-09-11T13:23:29.000Z
config/config.exs
dcdourado/auth_blog
29ed5d5d0d90d83a1a0a05176d0378e56de79823
[ "MIT" ]
null
null
null
import Config config :auth_blog, ecto_repos: [AuthBlog.Repo] import_config "#{Mix.env()}.exs"
14
32
0.72449
852480b501040d723f63a1eac785a6c0e54712fb
1,954
ex
Elixir
apps/data/lib/grapevine_data/games/redirect_uri.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
apps/data/lib/grapevine_data/games/redirect_uri.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
apps/data/lib/grapevine_data/games/redirect_uri.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule GrapevineData.Games.RedirectURI do @moduledoc """ Redirect URI Schema """ use Ecto.Schema import Ecto.Changeset alias GrapevineData.Games.Game @type t :: %__MODULE__{} schema "redirect_uris" do field(:uri, :string) belongs_to(:game, Game) timestamps() end def changeset(...
18.261682
67
0.581883
852486fcf89a923b427b47a317097e8d8d57fa23
668
exs
Elixir
04_mad_lib/mix.exs
mkchandler/elixir-school
cc08bd723db00cc35cd2d6b07abe519e5d102ca0
[ "MIT" ]
1
2015-12-15T04:46:41.000Z
2015-12-15T04:46:41.000Z
04_mad_lib/mix.exs
mkchandler/elixir-school
cc08bd723db00cc35cd2d6b07abe519e5d102ca0
[ "MIT" ]
null
null
null
04_mad_lib/mix.exs
mkchandler/elixir-school
cc08bd723db00cc35cd2d6b07abe519e5d102ca0
[ "MIT" ]
null
null
null
defmodule MadLib.Mixfile do use Mix.Project def project do [app: :mad_lib, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" for mor...
20.242424
77
0.606287
8524b92fcb184dab73b64b32e3b148abb599689c
2,291
ex
Elixir
lib/tentacat/repositories/branches.ex
hi-rustin/tentacat
be0b4a671f90faab2598b6d58a691d506f46cfb5
[ "MIT" ]
432
2015-01-19T20:38:35.000Z
2022-01-11T14:32:28.000Z
lib/tentacat/repositories/branches.ex
hi-rustin/tentacat
be0b4a671f90faab2598b6d58a691d506f46cfb5
[ "MIT" ]
183
2015-01-19T08:55:29.000Z
2022-03-01T20:26:03.000Z
lib/tentacat/repositories/branches.ex
hi-rustin/tentacat
be0b4a671f90faab2598b6d58a691d506f46cfb5
[ "MIT" ]
189
2015-01-04T14:56:59.000Z
2021-12-14T20:48:18.000Z
defmodule Tentacat.Repositories.Branches do import Tentacat alias Tentacat.Client @doc """ List Branches. ## Example Tentacat.Repositories.Branches.list "elixir-lang", "elixir" Tentacat.Repositories.Branches.list client, "elixir-lang", "elixir" More info at: https://developer.github.com/v3/r...
26.952941
103
0.621999
8524d235c63b37e504be7db56ed956b13bbc5a01
4,070
ex
Elixir
lib/grizzly/zwave/commands/indicator_supported_report.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
lib/grizzly/zwave/commands/indicator_supported_report.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
lib/grizzly/zwave/commands/indicator_supported_report.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.ZWave.Commands.IndicatorSupportedReport do @moduledoc """ This command is used to advertise the supported properties for a given indicator. Params: * `:indicator_id` - This field is used to specify the actual indicator resource (required) * `:next_indicator_id` - This field is used to...
31.796875
137
0.62801
8524f25418524e3af76feb5814f49a0354c8edde
315
ex
Elixir
examples/annotation_test/lib/annotation_test.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
75
2021-11-17T11:55:13.000Z
2022-03-28T04:35:04.000Z
examples/annotation_test/lib/annotation_test.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
48
2021-11-15T13:56:14.000Z
2022-03-31T15:55:47.000Z
examples/annotation_test/lib/annotation_test.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
6
2021-12-22T20:41:27.000Z
2022-03-09T09:07:38.000Z
defmodule AnnotationTest do @moduledoc """ Documentation for `AnnotationTest`. """ @doc """ Hello world. ## Examples iex> AnnotationTest.hello() :world """ use Gradient.TypeAnnotation @spec hello() :: boolean() def hello do a = 12 annotate_type(a, integer()) end end
13.125
37
0.612698
852500c76ede27005141beca88be588015ae7eb4
7,516
ex
Elixir
lib/protein/server.ex
katafrakt/protein-elixir
f5ea6e079904ea0defa40e99a0e5becaa02a5735
[ "MIT" ]
9
2018-01-16T12:25:58.000Z
2021-11-24T13:19:35.000Z
lib/protein/server.ex
katafrakt/protein-elixir
f5ea6e079904ea0defa40e99a0e5becaa02a5735
[ "MIT" ]
3
2018-09-07T16:09:57.000Z
2019-02-19T10:37:13.000Z
lib/protein/server.ex
katafrakt/protein-elixir
f5ea6e079904ea0defa40e99a0e5becaa02a5735
[ "MIT" ]
3
2018-05-27T08:56:52.000Z
2021-11-24T13:19:37.000Z
defmodule Protein.Server do @moduledoc """ Responds to service calls from remote systems. ## Usage Here's how your RPC server module may look like: defmodule MyProject.MyRPC do use Protein.Server # then, declare services with a convention driven config proto :create_user ...
31.579832
100
0.650479
8525036beb45e87aabf2c0184d93baa823e5e38c
1,625
ex
Elixir
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/batch_get_photos_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/batch_get_photos_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/batch_get_photos_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
33.854167
161
0.768
85250fbd0afd2acd6ac75b51d85498ad3ceb1f9a
2,085
ex
Elixir
lib/session_supervisor.ex
enter-haken/retro
8954fc825a37e6e32caddccf3e440c5a5ef6e5d4
[ "MIT" ]
3
2020-05-09T09:57:35.000Z
2020-08-28T10:33:42.000Z
lib/session_supervisor.ex
enter-haken/retro
8954fc825a37e6e32caddccf3e440c5a5ef6e5d4
[ "MIT" ]
5
2020-08-18T19:19:19.000Z
2021-10-06T16:41:58.000Z
lib/session_supervisor.ex
enter-haken/retro
8954fc825a37e6e32caddccf3e440c5a5ef6e5d4
[ "MIT" ]
1
2020-05-06T20:28:19.000Z
2020-05-06T20:28:19.000Z
defmodule Retro.SessionSupervisor do use Supervisor require Logger alias Retro.{Session, SessionWorker} def child_spec(_) do {Retro.SessionSupervisor, {Retro.SessionSupervisor, :start_link, []}, :permanent, :infinity, :supervisor, [Retro.SessionSupervisor]} end def start_link() do Logger.in...
25.426829
96
0.614388
85257ce73d1573e89061f98242ee5be16fdf0c17
1,601
ex
Elixir
clients/people/lib/google_api/people/v1/model/delete_contact_photo_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/delete_contact_photo_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/delete_contact_photo_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.06383
189
0.750156
85258757c4aeaca396ed6c68502bb70a35309506
138
exs
Elixir
test/crutches/format/number_test.exs
mykewould/crutches
da83f233839720f79ef49f20122f6ad38f08a0a3
[ "Apache-2.0" ]
146
2015-06-26T08:16:13.000Z
2021-12-24T08:10:51.000Z
test/crutches/format/number_test.exs
mykewould/crutches
da83f233839720f79ef49f20122f6ad38f08a0a3
[ "Apache-2.0" ]
108
2015-07-16T20:09:50.000Z
2021-04-01T16:33:35.000Z
test/crutches/format/number_test.exs
mykewould/crutches
da83f233839720f79ef49f20122f6ad38f08a0a3
[ "Apache-2.0" ]
49
2015-06-26T19:10:43.000Z
2020-09-21T14:57:43.000Z
defmodule Crutches.Format.NumberTest do alias Crutches.Format.Number use ExUnit.Case, async: true doctest Crutches.Format.Number end
27.6
39
0.811594
85258cf6df812328ddbe9300f5fc20e7dee9700b
1,668
exs
Elixir
weathervane_api/mix.exs
dtanner/weathervane-api
d4308fc73cb34da57ef6d60bc3b6e5ff633f0a0a
[ "MIT" ]
null
null
null
weathervane_api/mix.exs
dtanner/weathervane-api
d4308fc73cb34da57ef6d60bc3b6e5ff633f0a0a
[ "MIT" ]
null
null
null
weathervane_api/mix.exs
dtanner/weathervane-api
d4308fc73cb34da57ef6d60bc3b6e5ff633f0a0a
[ "MIT" ]
null
null
null
defmodule WeathervaneApi.Mixfile do use Mix.Project def project do [app: :weathervane_api, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :pr...
30.327273
89
0.607314
8525b38490775a4de234bcfd8b986faecb7be65d
9,999
ex
Elixir
lib/codes/codes_m63.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_m63.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_m63.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_M63 do alias IcdCode.ICDCode def _M6380 do %ICDCode{full_code: "M6380", category_code: "M63", short_code: "80", full_name: "Disorders of muscle in diseases classified elsewhere, unspecified site", short_name: "Disorders of muscle in diseases...
44.838565
107
0.671067
8525c286e00d21406bb44b2338b54099bb945f97
771
exs
Elixir
config/test.exs
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
null
null
null
config/test.exs
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
null
null
null
config/test.exs
MichalDolata/eventstore
2a6725fcb4c398d81a74455b6077901189b75386
[ "MIT" ]
null
null
null
use Mix.Config config :logger, backends: [] config :ex_unit, capture_log: true, assert_receive_timeout: 2_000, refute_receive_timeout: 100 config :eventstore, TestEventStore, username: "postgres", password: "postgres", database: "eventstore_test", hostname: "localhost", pool_size: 1, pool_overflow:...
23.363636
68
0.757458
8525d670f0d71188b4e57fafe87dbf13c4052b3e
1,952
exs
Elixir
test/integration/kayrock/compatibility_0_p_8_p_0_test.exs
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
536
2015-08-10T03:14:39.000Z
2022-03-24T15:07:33.000Z
test/integration/kayrock/compatibility_0_p_8_p_0_test.exs
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
349
2015-09-16T21:27:42.000Z
2022-03-28T08:51:56.000Z
test/integration/kayrock/compatibility_0_p_8_p_0_test.exs
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
180
2015-09-01T22:58:26.000Z
2022-03-25T16:47:49.000Z
defmodule KafkaEx.KayrockCompatibility0p8p0Test do @moduledoc """ These are tests using the original KafkaEx API with the kayrock server These come from server0_p_8_p_0_test.exs. Note that even though Kayrock does not support this version of Kafka, the original implementations often delegate to previous ver...
27.492958
80
0.606045
8525d94041bd80c7b7e97b05bcf111854fb2616d
3,380
exs
Elixir
mix.exs
elcritch/nerves_system_rpi4
f25c7b0a68dec12d332ba126a6473e40ff2e8eee
[ "Apache-2.0" ]
null
null
null
mix.exs
elcritch/nerves_system_rpi4
f25c7b0a68dec12d332ba126a6473e40ff2e8eee
[ "Apache-2.0" ]
null
null
null
mix.exs
elcritch/nerves_system_rpi4
f25c7b0a68dec12d332ba126a6473e40ff2e8eee
[ "Apache-2.0" ]
null
null
null
defmodule NervesSystemRpi4.MixProject do use Mix.Project @github_organization "nerves-project" @app :nerves_system_rpi4 @source_url "https://github.com/#{@github_organization}/#{@app}" @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ ...
24.142857
79
0.583432
852604f494dd6e88a5871f0270a2f29c4fe878ef
3,949
ex
Elixir
clients/double_click_search/lib/google_api/double_click_search/v2/model/report.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/double_click_search/lib/google_api/double_click_search/v2/model/report.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/double_click_search/lib/google_api/double_click_search/v2/model/report.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
55.619718
343
0.717903
852625cd36e8e22cb3191fa4c2845647d63e8c3d
2,544
ex
Elixir
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/dimension_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/dimension_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/dimension_filter.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.118644
340
0.716981
852657799cb84dd35ce864e99f475a0edc96bf69
541
ex
Elixir
lib/blog_engine_web/views/error_view.ex
jpbrab0/blog-engine-elixir
7d9394abdbe1963036f4bae9264efa27708236c2
[ "Apache-2.0" ]
null
null
null
lib/blog_engine_web/views/error_view.ex
jpbrab0/blog-engine-elixir
7d9394abdbe1963036f4bae9264efa27708236c2
[ "Apache-2.0" ]
null
null
null
lib/blog_engine_web/views/error_view.ex
jpbrab0/blog-engine-elixir
7d9394abdbe1963036f4bae9264efa27708236c2
[ "Apache-2.0" ]
null
null
null
defmodule BlogEngineWeb.ErrorView do use BlogEngineWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status messag...
31.823529
83
0.722736
852696af2aac5b797c497b54b85c2de276a2e460
1,164
ex
Elixir
lib/lobsters_nntp/lobsters_mnesia.ex
NattyNarwhal/LobstersNntp
17175e4f5d00bf12db8b122569106b8f80cfb145
[ "BSD-3-Clause" ]
17
2021-02-15T06:33:44.000Z
2021-08-29T16:46:44.000Z
lib/lobsters_nntp/lobsters_mnesia.ex
NattyNarwhal/LobstersNntp
17175e4f5d00bf12db8b122569106b8f80cfb145
[ "BSD-3-Clause" ]
5
2021-02-15T11:51:28.000Z
2021-02-21T21:18:14.000Z
lib/lobsters_nntp/lobsters_mnesia.ex
NattyNarwhal/LobstersNntp
17175e4f5d00bf12db8b122569106b8f80cfb145
[ "BSD-3-Clause" ]
2
2021-02-15T15:05:09.000Z
2021-04-29T14:53:54.000Z
use Amnesia defdatabase LobstersNntp.LobstersMnesia do #deftable Tag, [:tag, :description], type: :bag do # @type t :: %Tag{tag: String.t, description: String.t} #end deftable Story, [:id, :created_at, :title, :url, :text, :username, :tags, :karma], type: :bag do end deftable Comment, [:id, :create...
29.846154
101
0.66323
85269b65e60b5ecf6970348141ec9a64d7429543
1,119
ex
Elixir
test/support/conn_case.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
3
2018-05-29T12:16:14.000Z
2019-09-25T21:12:36.000Z
test/support/conn_case.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
23
2018-05-25T21:09:43.000Z
2021-12-16T05:45:25.000Z
test/support/conn_case.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
null
null
null
defmodule BearingsWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if th...
24.866667
58
0.715818
8526b7c072437f186e12f95d0a45cfc3b05d8b9d
421
exs
Elixir
test/models/link_test.exs
ssuprunenko/phoenix-vue-2-example
78498514927ed507ef911877f9fea8ef88541193
[ "MIT" ]
67
2016-10-01T03:17:18.000Z
2021-01-17T15:04:27.000Z
test/models/link_test.exs
marvelperseus/phoenix-vue-2-example
78498514927ed507ef911877f9fea8ef88541193
[ "MIT" ]
1
2017-01-03T11:30:20.000Z
2017-01-03T11:30:20.000Z
test/models/link_test.exs
marvelperseus/phoenix-vue-2-example
78498514927ed507ef911877f9fea8ef88541193
[ "MIT" ]
10
2016-10-15T15:36:46.000Z
2019-07-29T01:58:03.000Z
defmodule Web.LinkTest do use Web.ModelCase alias Web.Link @valid_attrs %{host: "some content", path: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Link.changeset(%Link{}, @valid_attrs) assert changeset.valid? end test "changeset with invalid attribut...
22.157895
60
0.707838
8526ce708006fb23655c19d809e57df5e63f53c4
29
ex
Elixir
lib/API/authors.ex
gamezcua1/Toxin
fece5bb82ccc679c258ec9a26a633247cbe53691
[ "MIT" ]
null
null
null
lib/API/authors.ex
gamezcua1/Toxin
fece5bb82ccc679c258ec9a26a633247cbe53691
[ "MIT" ]
null
null
null
lib/API/authors.ex
gamezcua1/Toxin
fece5bb82ccc679c258ec9a26a633247cbe53691
[ "MIT" ]
null
null
null
defmodule API.Authors do end
9.666667
24
0.827586
8526e6f0db69ec9677ce88fda0ff2dd928a017c6
1,685
ex
Elixir
lib/storage/api_version.ex
nulian/ex_microsoft_azure_storage
b147de024ceb1fd21d617863a9c53c41263700a6
[ "MIT" ]
null
null
null
lib/storage/api_version.ex
nulian/ex_microsoft_azure_storage
b147de024ceb1fd21d617863a9c53c41263700a6
[ "MIT" ]
null
null
null
lib/storage/api_version.ex
nulian/ex_microsoft_azure_storage
b147de024ceb1fd21d617863a9c53c41263700a6
[ "MIT" ]
null
null
null
defmodule ExMicrosoftAzureStorage.Storage.ApiVersion do @moduledoc """ ApiVersion """ # "2015-04-05" # def get_api_version(:storage), do: "2016-05-31" # "2017-07-29" # "2017-11-09" def get_api_version(:storage), do: "2020-04-08" defstruct [:year, :month, :day] def parse(api_version) when is_binar...
36.630435
94
0.619585
85270bba1f18bc1823b023cba3ecfd37a62a0dac
2,202
exs
Elixir
test/lib/dynamo/decoder_test.exs
kianmeng/ex_aws_dynamo
e7870700c0c8ed740e31c487fc90fbca08e6c677
[ "MIT", "Unlicense" ]
null
null
null
test/lib/dynamo/decoder_test.exs
kianmeng/ex_aws_dynamo
e7870700c0c8ed740e31c487fc90fbca08e6c677
[ "MIT", "Unlicense" ]
null
null
null
test/lib/dynamo/decoder_test.exs
kianmeng/ex_aws_dynamo
e7870700c0c8ed740e31c487fc90fbca08e6c677
[ "MIT", "Unlicense" ]
null
null
null
defmodule ExAws.Dynamo.DecoderTest do use ExUnit.Case, async: true alias ExAws.Dynamo.Decoder alias ExAws.Dynamo.Encoder test "Decode boolean (boolean and string boolean)" do assert Decoder.decode(%{"BOOL" => true}) == true assert Decoder.decode(%{"BOOL" => "false"}) == false end test "Decode stri...
31.014085
88
0.558129
852710aa85565b0e1dc6c41cd580d1fddec44d95
710
exs
Elixir
config/config.exs
joaothallis/strong_migrations
8b0beb9a37659c1d310a633b320a0d7eb1040f78
[ "MIT" ]
null
null
null
config/config.exs
joaothallis/strong_migrations
8b0beb9a37659c1d310a633b320a0d7eb1040f78
[ "MIT" ]
null
null
null
config/config.exs
joaothallis/strong_migrations
8b0beb9a37659c1d310a633b320a0d7eb1040f78
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # Sample configuration: # # config :strong_migrations, # migration_paths: [ # "priv/repo/migrations", # "my/fancy/path/to/migrations" # ], # cla...
35.5
74
0.709859
852729efa5e484a74c3bf07e487e8f9b3c6c9b3b
182
ex
Elixir
lib/sanbase/scheduler.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
lib/sanbase/scheduler.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
lib/sanbase/scheduler.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.Scrapers.Scheduler do use Quantum.Scheduler, otp_app: :sanbase end defmodule Sanbase.Signals.Scheduler do use Quantum.Scheduler, otp_app: :sanbase end
18.2
39
0.774725
85273e6eb7fdf58f209457fa8181df8e3cd05934
2,788
exs
Elixir
config/runtime.exs
3zcurdia/red_robin
a4aa6870d6bde05c95d375913311ecb392f7c44c
[ "MIT" ]
null
null
null
config/runtime.exs
3zcurdia/red_robin
a4aa6870d6bde05c95d375913311ecb392f7c44c
[ "MIT" ]
null
null
null
config/runtime.exs
3zcurdia/red_robin
a4aa6870d6bde05c95d375913311ecb392f7c44c
[ "MIT" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
37.675676
82
0.697274
85276bbd9018b2ababded20ff0850696ba8fe9ea
198
ex
Elixir
lib/oli_web/plugs/no_cache.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli_web/plugs/no_cache.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli_web/plugs/no_cache.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Plugs.NoCache do import Plug.Conn def init(opts), do: opts def call(conn, _opts) do put_resp_header(conn, "cache-control", "no-cache, no-store, must-revalidate") end end
19.8
81
0.707071
8527aab36a5ef2308f4f90740d58be21e9697740
141
exs
Elixir
chapter2/challenges/exflight/test/exflight_test.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter2/challenges/exflight/test/exflight_test.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter2/challenges/exflight/test/exflight_test.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
defmodule ExflightTest do use ExUnit.Case doctest Exflight test "greets the world" do assert Exflight.hello() == :world end end
15.666667
37
0.716312
8527c2a0c5e1b7addce1f085d9ec35bdd9340fb9
473
ex
Elixir
lib/excheck/triq_agent.ex
devstopfix/excheck
c8cbf457e9bf7c13a0a4b70c60c8e02495ff53a1
[ "MIT" ]
null
null
null
lib/excheck/triq_agent.ex
devstopfix/excheck
c8cbf457e9bf7c13a0a4b70c60c8e02495ff53a1
[ "MIT" ]
null
null
null
lib/excheck/triq_agent.ex
devstopfix/excheck
c8cbf457e9bf7c13a0a4b70c60c8e02495ff53a1
[ "MIT" ]
null
null
null
defmodule ExCheck.TriqAgent do defstruct tests_count: 0 alias __MODULE__ def start_link do Agent.start_link(fn -> %TriqAgent{} end, name: __MODULE__) end def update_tests_count(count) do Agent.update(__MODULE__, fn %{tests_count: c} = state -> %{state | tests_count: c + count} end) end ...
21.5
68
0.665962
8527ce59d679ea7bb2f10a8800c2ab7dfaa58c8b
807
exs
Elixir
test/flickrex/decoder/xml_test.exs
christopheradams/flickrex
67e3a507e128c55969aeda3802f6dacd94bb03c5
[ "MIT" ]
13
2017-04-02T10:55:10.000Z
2022-03-02T02:55:40.000Z
test/flickrex/decoder/xml_test.exs
christopheradams/flickrex
67e3a507e128c55969aeda3802f6dacd94bb03c5
[ "MIT" ]
null
null
null
test/flickrex/decoder/xml_test.exs
christopheradams/flickrex
67e3a507e128c55969aeda3802f6dacd94bb03c5
[ "MIT" ]
1
2021-01-31T17:47:27.000Z
2021-01-31T17:47:27.000Z
defmodule Flickrex.Decoder.XMLTest do use ExUnit.Case, async: true alias Flickrex.Decoder @xml_doc "<?xml version='1.0'?><_/>" @xml_parse %{"_" => %{}} @ok_doc """ <?xml version="1.0" encoding="utf-8" ?><rsp stat="ok"></rsp> """ @ok_parse %{"stat" => "ok"} @error_doc """ <?xml version="1.0" enco...
25.21875
67
0.614622
852814aeabcf138e0c22886094554e63f5b6f2c7
4,018
exs
Elixir
test/json_schema_test_suite/draft6/any_of_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
test/json_schema_test_suite/draft6/any_of_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
test/json_schema_test_suite/draft6/any_of_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
defmodule JsonSchemaTestSuite.Draft6.AnyOfTest do use ExUnit.Case import Xema, only: [valid?: 2] describe "anyOf" do setup do %{ schema: Xema.from_json_schema( %{"anyOf" => [%{"type" => "integer"}, %{"minimum" => 2}]}, draft: "draft6" ) } e...
22.446927
93
0.502987
8528477ba772453b15ad64500ed86cafc1de2bda
2,852
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/snapshot.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/snapshot.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/snapshot.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.169014
143
0.681627
8528a8b1047374043e50f5524ee8613697e1ce51
6,896
ex
Elixir
lib/radius/dict.ex
balena/elixir-radius
1e6933cd8386991bf91178540965d9a72bbc07b2
[ "MIT" ]
11
2015-05-20T05:14:52.000Z
2020-09-24T13:34:28.000Z
lib/radius/dict.ex
balena/elixir-radius
1e6933cd8386991bf91178540965d9a72bbc07b2
[ "MIT" ]
2
2015-10-23T05:00:19.000Z
2021-01-16T19:04:19.000Z
lib/radius/dict.ex
balena/elixir-radius
1e6933cd8386991bf91178540965d9a72bbc07b2
[ "MIT" ]
3
2015-02-14T20:37:32.000Z
2019-11-22T14:19:03.000Z
defmodule Radius.Dict do require GenServer require Logger def init(file) do init_ets() load(file) {:ok,%{file: file}} end #init/1 #def handle_call(:reload,_from,state) do # ctx = load(state.file) # {:reply, {:ok,ctx}, state} #end #handle_call/3 #exports def start_link(file) do G...
26.121212
128
0.597593
8528af8a2c6929e803b35125544bee213e8c3ba8
1,244
ex
Elixir
lib/phoenix_bloc/web/channels/user_socket.ex
kevinzg/phoenix-bloc
7c61b6abfdebe25e0e43948b325093b5c98f48c8
[ "MIT" ]
5
2017-07-13T03:38:55.000Z
2019-03-25T18:19:54.000Z
lib/phoenix_bloc/web/channels/user_socket.ex
kevinzg/phoenix-bloc
7c61b6abfdebe25e0e43948b325093b5c98f48c8
[ "MIT" ]
null
null
null
lib/phoenix_bloc/web/channels/user_socket.ex
kevinzg/phoenix-bloc
7c61b6abfdebe25e0e43948b325093b5c98f48c8
[ "MIT" ]
2
2017-04-26T04:59:46.000Z
2021-09-19T12:53:49.000Z
defmodule PhoenixBloc.Web.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", PhoenixBloc.Web.RoomChannel channel "document:*", PhoenixBloc.Web.DocumentChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket par...
31.897436
87
0.708199
8528d88eb324d0077ca7461481d02eef045d76c8
1,307
ex
Elixir
apps/itest/lib/in_flight_exit_client.ex
omgnetwork/specs
4028b2b9a6a4d5f0057b6ac9e3298c66e32a9deb
[ "Apache-2.0" ]
4
2020-10-31T15:16:16.000Z
2021-02-06T22:44:19.000Z
apps/itest/lib/in_flight_exit_client.ex
omgnetwork/specs
4028b2b9a6a4d5f0057b6ac9e3298c66e32a9deb
[ "Apache-2.0" ]
4
2020-11-02T17:12:09.000Z
2021-02-10T20:35:19.000Z
apps/itest/lib/in_flight_exit_client.ex
omgnetwork/specs
4028b2b9a6a4d5f0057b6ac9e3298c66e32a9deb
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
29.704545
77
0.735272
8529288a16a2dc5406764bca04e80b4690c8d845
549
exs
Elixir
test/test_helper.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
test/test_helper.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
test/test_helper.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
import Mox defmodule Console.AccessTokenDecoder.MockDecodeAccessToken do @behaviour ConsoleWeb.AccessTokenDecoder def decode_conn_access_token(token) do user_id_and_email = token |> String.split(" ") %{user_id: List.first(user_id_and_email), email: List.last(user_id_and_email), auth0_id: "example"} end en...
36.6
103
0.814208
852938249fc65f8c0f95f4fe219180608b0e7eb6
138
exs
Elixir
test/militerm/parsers/simple_response_test.exs
jgsmith/militerm
c4252d0a93f5620b90750ac2b61baf282e9ef7eb
[ "Apache-2.0" ]
6
2017-06-16T10:26:35.000Z
2021-04-07T15:01:00.000Z
test/militerm/parsers/simple_response_test.exs
jgsmith/militerm
c4252d0a93f5620b90750ac2b61baf282e9ef7eb
[ "Apache-2.0" ]
2
2020-04-14T02:17:46.000Z
2021-03-10T11:09:05.000Z
test/militerm/parsers/simple_response_test.exs
jgsmith/militerm
c4252d0a93f5620b90750ac2b61baf282e9ef7eb
[ "Apache-2.0" ]
null
null
null
defmodule Militerm.Parsers.SimpleResponseTest do use ExUnit.Case alias Militerm.Parsers.SimpleResponse doctest SimpleResponse end
17.25
48
0.833333
8529b578960a9a5b055ad3d97f8b2036764be271
2,485
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/invideo_branding.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/invideo_branding.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/invideo_branding.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
40.080645
168
0.717103
8529e04996547110ddbb4e66304f0c43a209857c
981
exs
Elixir
monitoring_hub/apps/monitoring_hub_utils/mix.exs
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
null
null
null
monitoring_hub/apps/monitoring_hub_utils/mix.exs
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
null
null
null
monitoring_hub/apps/monitoring_hub_utils/mix.exs
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
null
null
null
defmodule MonitoringHubUtils.Mixfile do use Mix.Project def project do [app: :monitoring_hub_utils, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.2", build_embedded: Mix...
23.357143
77
0.591233
8529e09154757c36a188d8cfc4990085d1c406e6
241
exs
Elixir
070.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
070.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
070.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
Euler.totient(Primes.list(4000)) |> Stream.zip(Euler.count_stream(2)) |> Stream.take(9_999_999) |> Stream.filter(fn {t, n} -> Euler.perm?(Integer.digits(t), Integer.digits(n)) end) |> Enum.min_by(fn {t, n} -> n / t end) |> elem(1) |> IO.puts
34.428571
84
0.655602
8529e5ae499c9089c295112a3860bc59d08e1a11
407
ex
Elixir
test/support/message.ex
fidr/qh
14d392c5612889c7ed9e88cf558e677ac06b39f4
[ "MIT" ]
5
2022-01-10T10:57:44.000Z
2022-01-22T18:15:05.000Z
test/support/message.ex
fidr/qh
14d392c5612889c7ed9e88cf558e677ac06b39f4
[ "MIT" ]
null
null
null
test/support/message.ex
fidr/qh
14d392c5612889c7ed9e88cf558e677ac06b39f4
[ "MIT" ]
null
null
null
defmodule QTest.Message do use Ecto.Schema import Ecto.Changeset schema "messages" do belongs_to(:user, QTest.User) field(:message, :string) field(:likes, :integer, default: 0) timestamps() end def changeset(user \\ %__MODULE__{}, params) do user |> cast(params, __schema__(:fields)) ...
21.421053
49
0.670762
852a046bad53b513d686a061fabc9e83abaabb7f
1,607
ex
Elixir
lib/liquid_voting_web.ex
jinjagit/api
c1a176d8c318e05810bc1635706c56395819191e
[ "MIT" ]
null
null
null
lib/liquid_voting_web.ex
jinjagit/api
c1a176d8c318e05810bc1635706c56395819191e
[ "MIT" ]
10
2020-09-28T06:37:48.000Z
2021-12-22T15:04:38.000Z
lib/liquid_voting_web.ex
jinjagit/api
c1a176d8c318e05810bc1635706c56395819191e
[ "MIT" ]
null
null
null
defmodule LiquidVotingWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use LiquidVotingWeb, :controller use LiquidVotingWeb, :view The definitions below will be executed for every view,...
23.985075
83
0.704418
852a234c468f054e63884fad053b0384df5dc748
62
exs
Elixir
config/config.exs
slogsdon/elixir-control
4136ce4fa6b62368b5f3bdf38708c7e28c4b256b
[ "MIT" ]
23
2015-10-04T20:49:56.000Z
2022-01-09T19:35:52.000Z
config/config.exs
slogsdon/elixir-control
4136ce4fa6b62368b5f3bdf38708c7e28c4b256b
[ "MIT" ]
null
null
null
config/config.exs
slogsdon/elixir-control
4136ce4fa6b62368b5f3bdf38708c7e28c4b256b
[ "MIT" ]
2
2015-10-11T22:07:56.000Z
2015-12-21T13:56:07.000Z
use Mix.Config config :dogma, exclude: [ ~r(test/), ]
10.333333
14
0.564516
852a2c967868c59c2333625bddcbbd9ff0264955
2,380
ex
Elixir
lib/verk/schedule_manager.ex
coop/verk
cae9bea1426d5b340b3041b29453f17c709d70a8
[ "MIT" ]
null
null
null
lib/verk/schedule_manager.ex
coop/verk
cae9bea1426d5b340b3041b29453f17c709d70a8
[ "MIT" ]
null
null
null
lib/verk/schedule_manager.ex
coop/verk
cae9bea1426d5b340b3041b29453f17c709d70a8
[ "MIT" ]
1
2018-12-04T03:50:36.000Z
2018-12-04T03:50:36.000Z
defmodule Verk.ScheduleManager do @moduledoc """ The ScheduleManager looks for jobs to be retried and accept jobs to scheduled to be retried The job is added back to the queue when it's ready to be run or retried """ use GenServer require Logger alias Verk.Time @default_poll_interval 5000 @schedule...
28.333333
97
0.689076
852a2df4b498ad2109690e5c9d9bd8cffa5da221
825
ex
Elixir
elixir/lib/homework_web/schema.ex
Billzabob/divvy-homework
1be2b35d6436dbb3ff1536ed232b2bc61730081d
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schema.ex
Billzabob/divvy-homework
1be2b35d6436dbb3ff1536ed232b2bc61730081d
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schema.ex
Billzabob/divvy-homework
1be2b35d6436dbb3ff1536ed232b2bc61730081d
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Schema do @moduledoc """ Defines the graphql schema for this project. """ use Absinthe.Schema import_types(HomeworkWeb.Schemas.Types) query do @desc "Get all Transactions" field(:transactions, :paginated_transaction) do resolve(fn _, _ -> {:ok, %{}} end) end @d...
22.297297
51
0.64
852a315628b681a3c9960e0a77aded2835070111
2,690
exs
Elixir
test/lib/timber/context_test.exs
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
test/lib/timber/context_test.exs
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
test/lib/timber/context_test.exs
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
defmodule Timber.ContextTest do use Timber.TestCase alias Timber.Context describe "Timber.Context.add/2" do test "keyword list" do result = Context.add(%{}, key1: %{value1: "value"}, key2: %{value2: "value"}) assert result == %{custom: %{key1: %{value1: "value"}, key2: %{value2: "value"}}} ...
38.428571
98
0.628996
852a85749ffae212d967bcb420fdcb8c912c1550
3,896
exs
Elixir
test/acceptance/ast/inline_code_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
test/acceptance/ast/inline_code_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
test/acceptance/ast/inline_code_test.exs
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
defmodule Acceptance.Ast.InlineCodeTest do use ExUnit.Case, async: true import Support.Helpers, only: [as_ast: 1, parse_html: 1] describe "Inline Code" do test "plain simple" do markdown = "`foo`\n" html = "<p><code class=\"inline\">foo</code></p>\n" ast = parse_html(html) messag...
28.028777
81
0.534908
852a87e36d4e3fe80cc3cfa7bea9fd2d0a1f1e8e
75
ex
Elixir
server/web/views/layout_view.ex
MikaAK/trello-burndown
b78d97fa03fcdd60c1c9652b65d272936f648c6f
[ "MIT" ]
null
null
null
server/web/views/layout_view.ex
MikaAK/trello-burndown
b78d97fa03fcdd60c1c9652b65d272936f648c6f
[ "MIT" ]
3
2016-04-18T18:09:21.000Z
2016-04-25T07:29:59.000Z
server/web/views/layout_view.ex
MikaAK/trello-burndown
b78d97fa03fcdd60c1c9652b65d272936f648c6f
[ "MIT" ]
null
null
null
defmodule TrelloBurndown.LayoutView do use TrelloBurndown.Web, :view end
18.75
38
0.826667
852ab73243f9d4577eb5603fc202ec72952a6036
2,404
ex
Elixir
lib/tangent/agent/intercept.ex
geometerio/tangent
c3e7b64f6ec88c2938176b1e4aba856a2eefa706
[ "MIT" ]
null
null
null
lib/tangent/agent/intercept.ex
geometerio/tangent
c3e7b64f6ec88c2938176b1e4aba856a2eefa706
[ "MIT" ]
null
null
null
lib/tangent/agent/intercept.ex
geometerio/tangent
c3e7b64f6ec88c2938176b1e4aba856a2eefa706
[ "MIT" ]
null
null
null
defmodule Tangent.Agent.Intercept do @moduledoc false @type on_start() :: Tangent.on_start() @type agent() :: Tangent.agent() @type state() :: term() @spec start_link(module(), (() -> term()), GenServer.options()) :: Macro.t() def start_link(caller_module, fun, options) when is_function(fun, 0) do Tan...
38.15873
97
0.65391
852abb72aa40d2a5c0b69ef38159dfb26203fa67
8,088
exs
Elixir
test/telemetry_metrics_cloudwatch_test.exs
brucepom/telemetry_metrics_cloudwatch
df557495846e76e63a2bfd7000337421ac3eb7b2
[ "MIT" ]
16
2019-10-15T14:33:10.000Z
2021-05-06T12:18:50.000Z
test/telemetry_metrics_cloudwatch_test.exs
brucepom/telemetry_metrics_cloudwatch
df557495846e76e63a2bfd7000337421ac3eb7b2
[ "MIT" ]
3
2019-09-17T21:33:48.000Z
2020-10-04T13:46:19.000Z
test/telemetry_metrics_cloudwatch_test.exs
brucepom/telemetry_metrics_cloudwatch
df557495846e76e63a2bfd7000337421ac3eb7b2
[ "MIT" ]
3
2019-09-17T21:30:14.000Z
2021-02-23T22:34:33.000Z
defmodule TelemetryMetricsCloudwatchTest do use ExUnit.Case alias Telemetry.Metrics alias TelemetryMetricsCloudwatch.Cache describe "An empty cache" do test "should have the right metric count and max values per metric" do empty = %Cache{} assert Cache.metric_count(empty) == 0 assert Cac...
31.59375
96
0.566518
852ada4da7a30c93bace3ad9ce0a4fc8161a6d2f
774
ex
Elixir
lib/photog/api/album.ex
allen-garvey/photog-phoenix
69cbcffbba905e623fe9c9c236e3be27b678ec75
[ "MIT" ]
null
null
null
lib/photog/api/album.ex
allen-garvey/photog-phoenix
69cbcffbba905e623fe9c9c236e3be27b678ec75
[ "MIT" ]
1
2020-09-05T17:07:35.000Z
2020-09-05T17:07:35.000Z
lib/photog/api/album.ex
allen-garvey/photog-phoenix
69cbcffbba905e623fe9c9c236e3be27b678ec75
[ "MIT" ]
null
null
null
defmodule Photog.Api.Album do use Ecto.Schema import Ecto.Changeset schema "albums" do field :apple_photos_id, :integer field :name, :string field :description, :string timestamps() belongs_to :cover_image, Photog.Api.Image has_many :album_images, Photog.Api.AlbumImage many_to_man...
24.967742
76
0.71447
852b322da1cbed9598d0f0231a3e21f1f4e38bd5
597
ex
Elixir
Microsoft.Azure.Management.Advisor/lib/microsoft/azure/management/advisor/model/resource.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Advisor/lib/microsoft/azure/management/advisor/model/resource.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Advisor/lib/microsoft/azure/management/advisor/model/resource.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Advisor.Model.Resource do @moduledoc """ An Azure resource. """ @derive [Poison.Encoder] defstruct [ :"i...
19.9
81
0.663317
852b3f444f44deaec806303408b31444d00b16a9
6,715
exs
Elixir
web_finngen_r8/test/risteys/icd10_test.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/test/risteys/icd10_test.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/test/risteys/icd10_test.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule Risteys.Icd10Test do use ExUnit.Case, async: true alias Risteys.Icd10 setup_all do icd10fi_file_path = "test/data/ICD10_koodistopalvelu_2015-08_26_utf8.csv" {icd10s, map_undotted_dotted, map_child_parent, map_parent_children} = Icd10.init_parser(icd10fi_file_path) [ icd10s: i...
24.778598
84
0.561876
852b5f9d69cf82eaf81c9aba3b23f429593f40c5
27,073
ex
Elixir
lib/cybersource-sdk/client.ex
CrazyEggInc/cybersource-sdk
a914cca9a672a2853fa0872d29e7d8539432b3c0
[ "MIT" ]
null
null
null
lib/cybersource-sdk/client.ex
CrazyEggInc/cybersource-sdk
a914cca9a672a2853fa0872d29e7d8539432b3c0
[ "MIT" ]
null
null
null
lib/cybersource-sdk/client.ex
CrazyEggInc/cybersource-sdk
a914cca9a672a2853fa0872d29e7d8539432b3c0
[ "MIT" ]
1
2020-02-24T14:54:00.000Z
2020-02-24T14:54:00.000Z
defmodule CyberSourceSDK.Client do @moduledoc """ This Client module handle all HTTPS requests to the CyberSource server. It takes some parameters and convert to HTTPS requests. It support the following payments: * Android Pay * Apple Pay It supports the following requests: * Authorization * Capture...
34.932903
174
0.653455
852bb0a5163e23f60ff3c6d9219286a8c8c423d3
1,125
exs
Elixir
mix.exs
2players/chinese_translation
92dd535598ca9f21c4113ab048d12409d9551f80
[ "MIT" ]
null
null
null
mix.exs
2players/chinese_translation
92dd535598ca9f21c4113ab048d12409d9551f80
[ "MIT" ]
null
null
null
mix.exs
2players/chinese_translation
92dd535598ca9f21c4113ab048d12409d9551f80
[ "MIT" ]
null
null
null
defmodule Han.Mixfile do use Mix.Project @version File.cwd!() |> Path.join("version") |> File.read!() |> String.trim() @repo_url "https://github.com/c4710n/ex_han" @doc_url "https://hexdocs.pm/han" def project do [ app: :han, version: @version, elixir: "~> 1.7", description: desc...
19.396552
79
0.511111
852bb49355fb023dedeb3bda08c27915e1a9a40d
9,959
ex
Elixir
lib/nostrum/consumer.ex
defnorep/nostrum
daf869afc0f98fd132460296a2c999fea033fd63
[ "MIT" ]
null
null
null
lib/nostrum/consumer.ex
defnorep/nostrum
daf869afc0f98fd132460296a2c999fea033fd63
[ "MIT" ]
null
null
null
lib/nostrum/consumer.ex
defnorep/nostrum
daf869afc0f98fd132460296a2c999fea033fd63
[ "MIT" ]
null
null
null
defmodule Nostrum.Consumer do @moduledoc """ Consumer process for gateway event handling. # Consuming Gateway Events To handle events, Nostrum uses a GenStage implementation. Nostrum defines the `producer` and `producer_consumer` in the GenStage design. To consume the events you must create at least one `...
35.567857
105
0.642032
852bbf6dfd79de1082e4fc504d2e0b39803a26e5
2,482
exs
Elixir
test/bankapi/clients_test.exs
t00lmaker/elixir-bank
41897d8fa87bb2fedbe3ef6f8f5cd78b756e24f0
[ "MIT" ]
4
2020-05-05T18:37:28.000Z
2022-01-05T00:56:19.000Z
test/bankapi/clients_test.exs
t00lmaker/elixir-bank
41897d8fa87bb2fedbe3ef6f8f5cd78b756e24f0
[ "MIT" ]
21
2019-12-01T15:32:02.000Z
2019-12-19T13:10:36.000Z
test/bankapi/clients_test.exs
t00lmaker/elixir-bank
41897d8fa87bb2fedbe3ef6f8f5cd78b756e24f0
[ "MIT" ]
2
2020-09-12T16:07:11.000Z
2020-12-11T06:46:45.000Z
defmodule Bank.ClientsTest do use Bank.DataCase alias Bank.Clients describe "clients" do alias Bank.Clients.Client @valid_attrs %{ birth_date: "some birth_date", name: "some name", social_id: "some social_id", email: "my@mail.com" } @update_attrs %{ birth_date: "s...
30.268293
88
0.659549
852bd94288aa3a903cc29881c9a1faa164741c93
442
ex
Elixir
lib/ash/registry/extensions/resource_validations/resource_validations.ex
joshprice/ash
e452c4091918a88d51063000f7dc44b2f54f5f96
[ "MIT" ]
null
null
null
lib/ash/registry/extensions/resource_validations/resource_validations.ex
joshprice/ash
e452c4091918a88d51063000f7dc44b2f54f5f96
[ "MIT" ]
null
null
null
lib/ash/registry/extensions/resource_validations/resource_validations.ex
joshprice/ash
e452c4091918a88d51063000f7dc44b2f54f5f96
[ "MIT" ]
null
null
null
defmodule Ash.Registry.ResourceValidations do @moduledoc """ Adds some top level validations of resources present in a registry """ @transformers [ Ash.Registry.ResourceValidations.Transformers.EnsureResourcesCompiled, Ash.Registry.ResourceValidations.Transformers.ValidateRelatedResourceInclusion, A...
34
83
0.809955
852bdc70959b5869cf99e69040a3fc37ab5d0b10
3,814
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/languages.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/languages.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/languages.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.853933
196
0.65548
852c0c2717d4ef09acdcd3ae7501447ee190e4bb
237
exs
Elixir
priv/repo/migrations/20170809161306_create_sections.exs
rbgraham/quiz_site
57ded7991e355e2cf9f5edecc823b67833ee0ceb
[ "MIT" ]
2
2017-10-30T00:42:01.000Z
2017-10-30T21:29:15.000Z
priv/repo/migrations/20170809161306_create_sections.exs
rbgraham/quiz_site
57ded7991e355e2cf9f5edecc823b67833ee0ceb
[ "MIT" ]
null
null
null
priv/repo/migrations/20170809161306_create_sections.exs
rbgraham/quiz_site
57ded7991e355e2cf9f5edecc823b67833ee0ceb
[ "MIT" ]
null
null
null
defmodule QuizSite.Repo.Migrations.CreateSections do use Ecto.Migration def change do create table(:sections) do add :title, :string add :content, :text add :cta, :string timestamps() end end end
15.8
52
0.649789
852c2d339f29c25a29485b7006d7d7c1fa73b1ce
246
exs
Elixir
daniel/prog_elix/ch22/macro_binding.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
null
null
null
daniel/prog_elix/ch22/macro_binding.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
1
2020-02-26T14:55:23.000Z
2020-02-26T14:55:23.000Z
daniel/prog_elix/ch22/macro_binding.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
null
null
null
defmodule My do defmacro mydef(name) do quote bind_quoted: [name: name] do def unquote(name)(), do: unquote(name) end end end defmodule Test do require My [ :fred, :bert ] |> Enum.each(&My.mydef(&1)) end IO.puts Test.fred
16.4
46
0.646341
852c2d752e2a1535c74f414123124dd8eb09e67b
711
ex
Elixir
lib/inmytime_web/gettext.ex
r-frederick/inmytime
c5e6ad5d8c09d42dcd77ec74c09e6da8f044b929
[ "MIT" ]
1
2018-11-16T14:30:41.000Z
2018-11-16T14:30:41.000Z
lib/inmytime_web/gettext.ex
r-frederick/inmytime
c5e6ad5d8c09d42dcd77ec74c09e6da8f044b929
[ "MIT" ]
9
2018-05-17T14:02:04.000Z
2018-10-03T21:57:18.000Z
lib/inmytime_web/gettext.ex
r-frederick/inmytime
c5e6ad5d8c09d42dcd77ec74c09e6da8f044b929
[ "MIT" ]
null
null
null
defmodule InmytimeWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import InmytimeWeb.Gettext # Simple translation gettext "Here is...
28.44
72
0.682138
852c6c16021d8989cb3270159689df212926ec03
622
exs
Elixir
test/xandra_test.exs
team-telnyx/xandra
93857c488efa10a07de833b36385a07782ea496b
[ "ISC" ]
318
2017-01-17T13:24:29.000Z
2022-03-17T20:31:39.000Z
test/xandra_test.exs
team-telnyx/xandra
93857c488efa10a07de833b36385a07782ea496b
[ "ISC" ]
117
2017-01-17T14:20:15.000Z
2022-03-30T11:22:32.000Z
test/xandra_test.exs
team-telnyx/xandra
93857c488efa10a07de833b36385a07782ea496b
[ "ISC" ]
49
2017-02-06T19:18:03.000Z
2022-03-22T13:08:46.000Z
defmodule XandraTest do use ExUnit.Case, async: true test "options validation in Xandra.start_link/1" do message = "invalid item \"foo:bar\" in the :nodes option" assert_raise ArgumentError, message, fn -> Xandra.start_link(nodes: ["foo:bar"]) end message = "multi-node use requires Xandra.C...
25.916667
72
0.672026
852cb25b637ea50e067cae5068d0b802650536c5
23,522
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/global_operations.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/api/global_operations.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/api/global_operations.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
57.651961
1,450
0.646841
852cb3f653378f1d0f853ca31a85e85d12abb80f
18,775
ex
Elixir
lib/opentelemetry_jaeger.ex
sadesyllas/opentelemetry_jaeger
5d2719b810717c6674838dd08ff76d22e470313d
[ "MIT" ]
null
null
null
lib/opentelemetry_jaeger.ex
sadesyllas/opentelemetry_jaeger
5d2719b810717c6674838dd08ff76d22e470313d
[ "MIT" ]
null
null
null
lib/opentelemetry_jaeger.ex
sadesyllas/opentelemetry_jaeger
5d2719b810717c6674838dd08ff76d22e470313d
[ "MIT" ]
null
null
null
defmodule OpenTelemetryJaeger do @moduledoc """ `OpenTelemetryJaeger` is a library for exporting [OpenTelemetry](https://opentelemetry.io/) trace data, as modeled by [opentelemetry-erlang](https://github.com/open-telemetry/opentelemetry-erlang), to a [Jaeger](https://www.jaegertracing.io/) endpoint. The conf...
33.348135
122
0.649001
852ce1e63684814e0d8ffa9977b606dac493e5e1
286
ex
Elixir
web/channels/room_channel.ex
sighmin/chatter
af1d07690e7f46cd8a066537a74b7ae13e2d044a
[ "MIT" ]
null
null
null
web/channels/room_channel.ex
sighmin/chatter
af1d07690e7f46cd8a066537a74b7ae13e2d044a
[ "MIT" ]
null
null
null
web/channels/room_channel.ex
sighmin/chatter
af1d07690e7f46cd8a066537a74b7ae13e2d044a
[ "MIT" ]
null
null
null
defmodule Chatter.RoomChannel do use Phoenix.Channel def join("rooms:lobby", message, socket) do {:ok, socket} end def handle_in("new:message", msg, socket) do broadcast!(socket, "new:message", %{user: msg["user"], body: msg["body"]}) {:noreply, socket} end end
22
78
0.657343
852d0cff84f92ecf1d086deb35e465232b70b5c7
1,238
exs
Elixir
test/ocpp_model_test.exs
gertjana/ocpp_model
d5cef92a33e6e30e044ec757231d619faa80358f
[ "Apache-2.0" ]
1
2020-11-06T21:05:22.000Z
2020-11-06T21:05:22.000Z
test/ocpp_model_test.exs
gertjana/ocpp_model
d5cef92a33e6e30e044ec757231d619faa80358f
[ "Apache-2.0" ]
3
2020-11-10T13:46:20.000Z
2020-12-20T15:14:25.000Z
test/ocpp_model_test.exs
gertjana/ocpp_model
d5cef92a33e6e30e044ec757231d619faa80358f
[ "Apache-2.0" ]
null
null
null
defmodule OcppModelTest do use ExUnit.Case alias OcppModel.V20.FieldTypes, as: FT alias OcppModel.V20.Messages, as: M defmodule TestStruct do use TypedStruct typedstruct do field :foo, String.t(), enforce: true field :bar, integer() end end test "that to_struct converts a map to ...
30.195122
86
0.663974
852d12bd1777b462a5e2ff16a9961370681b93d3
898
exs
Elixir
advent_umbrella_2016/apps/day12/test/json_counter_test.exs
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent_umbrella_2016/apps/day12/test/json_counter_test.exs
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent_umbrella_2016/apps/day12/test/json_counter_test.exs
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
defmodule JsonCounterTest do use ExUnit.Case test "Simple list" do assert 6 == JsonCounter.count('[1,2,3]') end test "Simple dict" do assert 6 == JsonCounter.count('{"a":2,"b":4}') end test "Nested list" do assert 3 == JsonCounter.count('[[[3]]]') end test "Nested dict" do assert 3 == J...
24.944444
74
0.619154
852d249c01417d473d2a867c69032c2593b1c822
1,020
exs
Elixir
mix.exs
sudix/vcr_mock_helper
1a25df6ffa54a484bc25a5972d386e5f9e610a16
[ "MIT" ]
1
2018-05-27T09:27:04.000Z
2018-05-27T09:27:04.000Z
mix.exs
sudix/vcr_mock_helper
1a25df6ffa54a484bc25a5972d386e5f9e610a16
[ "MIT" ]
null
null
null
mix.exs
sudix/vcr_mock_helper
1a25df6ffa54a484bc25a5972d386e5f9e610a16
[ "MIT" ]
null
null
null
defmodule VCRMockHelper.MixProject do use Mix.Project def project do [ app: :vcr_mock_helper, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), # Docs name: "VCRMockHelper", source_url: "https://github.com/sudix/vcr_mock_help...
22.173913
70
0.590196
852d342ef144224c1e68f24a7fe0968c5f2e80ae
1,124
exs
Elixir
mix.exs
exredorg/exred_node_redis_in
2bbd0298704d21060ad109bfe56dda02b2229731
[ "MIT" ]
null
null
null
mix.exs
exredorg/exred_node_redis_in
2bbd0298704d21060ad109bfe56dda02b2229731
[ "MIT" ]
null
null
null
mix.exs
exredorg/exred_node_redis_in
2bbd0298704d21060ad109bfe56dda02b2229731
[ "MIT" ]
null
null
null
defmodule Exred.Node.RedisIn.Mixfile do use Mix.Project @description "Reads from Redis" @version File.read!("VERSION") |> String.trim() def project do [ app: :exred_node_redis_in, version: @version, elixir: "~> 1.5", start_permanent: Mix.env() == :prod, deps: deps(), de...
23.416667
74
0.572064
852d5a84479f80cd454f7c6fd6c5da53b3f6cd21
1,338
ex
Elixir
lib/bbb_lti/meetings/meeting.ex
IBM/bbb_l
01d2a2ad9a7056b02f6f0d85f17949126256c549
[ "Apache-2.0" ]
null
null
null
lib/bbb_lti/meetings/meeting.ex
IBM/bbb_l
01d2a2ad9a7056b02f6f0d85f17949126256c549
[ "Apache-2.0" ]
null
null
null
lib/bbb_lti/meetings/meeting.ex
IBM/bbb_l
01d2a2ad9a7056b02f6f0d85f17949126256c549
[ "Apache-2.0" ]
null
null
null
defmodule BbbLti.Meetings.Meeting do use Ecto.Schema import Ecto.Changeset schema "meetings" do field :meeting_id, :string field :created_by, :string field :meeting_name, :string field :unit_id, :string field :when, :utc_datetime field :time_zone, :string field :duration, :integer, de...
23.892857
94
0.615845
852d6d9d3222ae87ab882fd110566686b42ae2b4
628
exs
Elixir
config/test.exs
drj17/accent
25b42dff1f9051e0a42ed7135890a9f740c65026
[ "BSD-3-Clause" ]
null
null
null
config/test.exs
drj17/accent
25b42dff1f9051e0a42ed7135890a9f740c65026
[ "BSD-3-Clause" ]
null
null
null
config/test.exs
drj17/accent
25b42dff1f9051e0a42ed7135890a9f740c65026
[ "BSD-3-Clause" ]
null
null
null
import Config config :accent, Accent.Repo, pool: Ecto.Adapters.SQL.Sandbox, url: System.get_env("DATABASE_URL") || "postgres://localhost/accent_test" config :accent, hook_github_file_server: Accent.Hook.Inbounds.GitHub.FileServerMock config :ueberauth, Ueberauth, providers: [{:dummy, {Accent.Auth.Ueberauth.Dummy...
31.4
94
0.757962
852d6f78972bbc39590327095a3853d764b62726
3,924
ex
Elixir
lib/vite/view.ex
mindreframer/vite_phx
a3de00bf6b07fadb35f94c57b4195393d1080dda
[ "MIT" ]
14
2021-02-01T12:02:56.000Z
2022-02-22T19:10:45.000Z
lib/vite/view.ex
mindreframer/vite
a3de00bf6b07fadb35f94c57b4195393d1080dda
[ "MIT" ]
3
2021-04-07T00:34:27.000Z
2021-10-17T15:22:32.000Z
lib/vite/view.ex
mindreframer/vite
a3de00bf6b07fadb35f94c57b4195393d1080dda
[ "MIT" ]
5
2021-02-01T12:03:11.000Z
2021-07-14T05:14:56.000Z
defmodule Vite.View do @moduledoc """ Help with View integration into Phoenix views """ alias Vite.{Config, ManifestReader} @doc """ The snippet for `@vite/client` during development. Does nothing in :prod env. """ @spec vite_client :: binary() | {:safe, binary()} def vite_client() do case Config...
27.062069
130
0.635831
852d7c91ec471508a99080511f6092bc7cf6b3dc
1,589
ex
Elixir
web/controllers/password_reset_controller.ex
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
1
2020-02-09T03:03:04.000Z
2020-02-09T03:03:04.000Z
web/controllers/password_reset_controller.ex
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
null
null
null
web/controllers/password_reset_controller.ex
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
null
null
null
defmodule Soroban.PasswordResetController do use Soroban.Web, :controller import Soroban.Authorize alias Soroban.{Mailer, User} alias Openmaize plug Openmaize.ResetPassword, [mail_function: &Mailer.receipt_confirm/1] when action in [:update] def new(conn, _params) do render conn, "new.html" end...
32.428571
87
0.664569
852d85747fe96176d1ad1b4259695142583ec745
1,475
ex
Elixir
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/header.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/header.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/header.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.5
76
0.71322
852da3057cc4abde929900b2e47b891a7745c856
23,045
ex
Elixir
lib/ash/actions/read.ex
regularfellow/ash
179495fecb141e0eb8eaf35bbb4d04000eab694b
[ "MIT" ]
null
null
null
lib/ash/actions/read.ex
regularfellow/ash
179495fecb141e0eb8eaf35bbb4d04000eab694b
[ "MIT" ]
null
null
null
lib/ash/actions/read.ex
regularfellow/ash
179495fecb141e0eb8eaf35bbb4d04000eab694b
[ "MIT" ]
null
null
null
defmodule Ash.Actions.Read do @moduledoc false require Logger require Ash.Query alias Ash.Actions.SideLoad alias Ash.Engine alias Ash.Engine.Request alias Ash.Error.Invalid.{LimitRequired, PaginationRequired} alias Ash.Error.Query.NoReadAction alias Ash.Filter alias Ash.Query.Aggregate def unpa...
30.203145
100
0.565546
852dc6d500ed634e899de8ddcb97ab6f336ffb23
9,946
ex
Elixir
lib/hammox.ex
surgeventures/hammox
932005384ede5a4f13db050965ee5d2c95f9a3b5
[ "Apache-2.0" ]
null
null
null
lib/hammox.ex
surgeventures/hammox
932005384ede5a4f13db050965ee5d2c95f9a3b5
[ "Apache-2.0" ]
null
null
null
lib/hammox.ex
surgeventures/hammox
932005384ede5a4f13db050965ee5d2c95f9a3b5
[ "Apache-2.0" ]
null
null
null
defmodule Hammox do @moduledoc """ Hammox is a library for rigorous unit testing using mocks, explicit behaviours and contract tests. See the [README](readme.html) page for usage guide and examples. Most of the functions in this module come from [Mox](https://hexdocs.pm/mox/Mox.html) for backwards compati...
27.475138
115
0.640358
852df36d500b6cfe42516d889d0d04099592686c
983
exs
Elixir
mix.exs
gyson/ex_type_struct
689de19fb7b6b39df0294df06dccf73567933574
[ "MIT" ]
2
2021-01-25T13:14:46.000Z
2021-02-24T14:04:52.000Z
mix.exs
gyson/ex_type_struct
689de19fb7b6b39df0294df06dccf73567933574
[ "MIT" ]
null
null
null
mix.exs
gyson/ex_type_struct
689de19fb7b6b39df0294df06dccf73567933574
[ "MIT" ]
null
null
null
defmodule ExTypeStruct.MixProject do use Mix.Project @github_url "https://github.com/gyson/ex_type_struct" def project do [ app: :ex_type_struct, version: "0.1.1", description: "A simple and concise way to annotate structs (or exceptions) with type info.", elixir: "~> 1.9", sta...
20.479167
98
0.577823
852e06397331685638b1cba60ca0266773d02438
230,262
ex
Elixir
clients/container/lib/google_api/container/v1/api/projects.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/api/projects.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/api/projects.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
47.078716
549
0.615529
852e13d686b5b7393a8391aa4f33767afe8d1774
15,973
ex
Elixir
lib/vaxin.ex
kraftjectory/vaxin
863fd78b3f877aecb962b474d9d603e65ba3b0e6
[ "0BSD" ]
2
2020-12-20T19:04:38.000Z
2020-12-20T23:54:28.000Z
lib/vaxin.ex
kraftjectory/vaxin
863fd78b3f877aecb962b474d9d603e65ba3b0e6
[ "0BSD" ]
null
null
null
lib/vaxin.ex
kraftjectory/vaxin
863fd78b3f877aecb962b474d9d603e65ba3b0e6
[ "0BSD" ]
null
null
null
defmodule Vaxin do @moduledoc """ Contains the core functionality to work with Vaxin. Vaxin at its core is a data validator combinator library. It tries to solve the problem of validating the shape and content of some data (most useful when such data come from an external source) and of conforming those data...
33.070393
124
0.635072