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
da4627353e293a47eb28393217bf9f32e2f3a160
409
exs
Elixir
apps/snitch_core/priv/repo/migrations/20180725060847_add_product_option_values.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/priv/repo/migrations/20180725060847_add_product_option_values.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/priv/repo/migrations/20180725060847_add_product_option_values.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Repo.Migrations.AddProductOptionValues do use Ecto.Migration def change do create table("snitch_product_option_values") do add :value, :string add :display_name, :string add :option_type_id, references("snitch_option_types", on_delete: :delete_all), null: false add :pro...
29.214286
97
0.723716
da462cc3c3832c28c7bb1c8e2390bcdfcbad71eb
3,307
exs
Elixir
test/exco/task_list_test.exs
mikunn/exco
18bfeb1750fd0e78c77718a87b567465a8f01bfc
[ "Apache-2.0" ]
null
null
null
test/exco/task_list_test.exs
mikunn/exco
18bfeb1750fd0e78c77718a87b567465a8f01bfc
[ "Apache-2.0" ]
null
null
null
test/exco/task_list_test.exs
mikunn/exco
18bfeb1750fd0e78c77718a87b567465a8f01bfc
[ "Apache-2.0" ]
null
null
null
defmodule Exco.TaskListTest do use ExUnit.Case, async: true doctest Exco.TaskList describe "await" do test "accepts the return value from async()" do results = Exco.TaskList.async([fn -> 1 end]) |> Exco.TaskList.await() assert results == [1] end test "accepts a list of t...
22.194631
72
0.518295
da46330bcf59194cdc85a16ccf3388afb119a6ae
1,995
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/model/regional_subscription_offer_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/model/regional_subscription_offer_config.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/model/regional_subscription_offer_config.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...
39.9
305
0.752882
da46989f1ad9fbfc3c0cb9de79dc9957cb1aa6fd
38,843
exs
Elixir
test/mix/tasks/phx.gen.auth_test.exs
sthagen/phoenixframework-phoenix
71c89ac8d00968844dc5fb48d06d9331812985c4
[ "MIT" ]
null
null
null
test/mix/tasks/phx.gen.auth_test.exs
sthagen/phoenixframework-phoenix
71c89ac8d00968844dc5fb48d06d9331812985c4
[ "MIT" ]
null
null
null
test/mix/tasks/phx.gen.auth_test.exs
sthagen/phoenixframework-phoenix
71c89ac8d00968844dc5fb48d06d9331812985c4
[ "MIT" ]
null
null
null
Code.require_file "../../../installer/test/mix_helper.exs", __DIR__ defmodule Mix.Tasks.Phx.Gen.AuthTest do use ExUnit.Case @moduletag :mix_phx_new import MixHelper alias Mix.Tasks.Phx.Gen setup do Mix.Task.clear() :ok end defp in_tmp_phx_project(test, additional_args \\ [], func) do in_t...
42.083424
150
0.664599
da469e3f91346c73704ceef64c0d78b2735c2ca6
1,689
exs
Elixir
test/media_server_web/live/watches_live_test.exs
MNDL-27/midarr-server
b749707a1777205cea2d93349cde2ef922e527ec
[ "MIT" ]
null
null
null
test/media_server_web/live/watches_live_test.exs
MNDL-27/midarr-server
b749707a1777205cea2d93349cde2ef922e527ec
[ "MIT" ]
null
null
null
test/media_server_web/live/watches_live_test.exs
MNDL-27/midarr-server
b749707a1777205cea2d93349cde2ef922e527ec
[ "MIT" ]
null
null
null
defmodule MediaServerWeb.WatchesLiveTest do use MediaServerWeb.ConnCase import Phoenix.LiveViewTest alias MediaServer.AccountsFixtures alias MediaServer.WatchesFixtures defp create_fixtures(_) do %{user: AccountsFixtures.user_fixture()} end describe "Index" do setup [:create_fixtures] tes...
30.160714
98
0.653641
da46ba96fdfd5d3738456ccb4e391d4f34aa0529
77,038
ex
Elixir
lib/elixir/lib/module.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/lib/module.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/lib/module.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Module do @moduledoc ~S''' Provides functions to deal with modules during compilation time. It allows a developer to dynamically add, delete and register attributes, attach documentation and so forth. After a module is compiled, using many of the functions in this module will raise errors, since...
32.032432
113
0.659817
da46bea0834837681b078cda609a4a7c7e3e3d4d
262
ex
Elixir
lib/mudkip/repo.ex
KaiaHa/MUDkip
10c1208d117d3426474c9b39b864972b7c41d65d
[ "MIT" ]
null
null
null
lib/mudkip/repo.ex
KaiaHa/MUDkip
10c1208d117d3426474c9b39b864972b7c41d65d
[ "MIT" ]
null
null
null
lib/mudkip/repo.ex
KaiaHa/MUDkip
10c1208d117d3426474c9b39b864972b7c41d65d
[ "MIT" ]
null
null
null
defmodule Mudkip.Repo do use Ecto.Repo, otp_app: :mudkip @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
21.833333
66
0.694656
da472ff4ce43c9d729187e647503a27f16d11f5e
541
ex
Elixir
lib/pos_web/views/dish_view.ex
ancarvalho/backend-elixir
e42c22ae0881d80336a60dc6c87d4786db97c7a8
[ "MIT" ]
null
null
null
lib/pos_web/views/dish_view.ex
ancarvalho/backend-elixir
e42c22ae0881d80336a60dc6c87d4786db97c7a8
[ "MIT" ]
null
null
null
lib/pos_web/views/dish_view.ex
ancarvalho/backend-elixir
e42c22ae0881d80336a60dc6c87d4786db97c7a8
[ "MIT" ]
null
null
null
defmodule PosWeb.DishView do use PosWeb, :view alias PosWeb.DishView def render("index.json", %{dishes: dishes}) do %{data: render_many(dishes, DishView, "dish.json")} end def render("show.json", %{dish: dish}) do %{data: render_one(dish, DishView, "dish.json")} end def render("dish.json", %{di...
23.521739
55
0.639556
da473d51d9f4aad6e045a4449358737bf5c6d0ba
69
exs
Elixir
test/test_helper.exs
brandaoplaster/bank_api
3df64ea59b4a0af4f9a74e36a71bbfd1eb5a8ca1
[ "MIT" ]
1
2020-07-07T14:23:14.000Z
2020-07-07T14:23:14.000Z
test/test_helper.exs
brandaoplaster/bank_api
3df64ea59b4a0af4f9a74e36a71bbfd1eb5a8ca1
[ "MIT" ]
null
null
null
test/test_helper.exs
brandaoplaster/bank_api
3df64ea59b4a0af4f9a74e36a71bbfd1eb5a8ca1
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(BankApi.Repo, :manual)
23
53
0.782609
da476341615fc05513a88dd6e6f56d42e447d6a5
2,089
exs
Elixir
config/test.exs
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
config/test.exs
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
config/test.exs
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :code_corps, CodeCorps.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :code_corps, CodeC...
32.138462
90
0.777884
da47766a43b7dc45f8837879ab3906584217230b
4,863
ex
Elixir
test/support/router.ex
mhanberg/phoenix_live_view
526b5d6d4d1b2419a159f06705e91406fa0b15f7
[ "MIT" ]
null
null
null
test/support/router.ex
mhanberg/phoenix_live_view
526b5d6d4d1b2419a159f06705e91406fa0b15f7
[ "MIT" ]
null
null
null
test/support/router.ex
mhanberg/phoenix_live_view
526b5d6d4d1b2419a159f06705e91406fa0b15f7
[ "MIT" ]
1
2021-11-20T01:11:28.000Z
2021-11-20T01:11:28.000Z
defmodule Phoenix.LiveViewTest.Router do use Phoenix.Router import Phoenix.LiveView.Router pipeline :setup_session do plug Plug.Session, store: :cookie, key: "_live_view_key", signing_salt: "/VEDsdfsffMnp5" plug :fetch_session end pipeline :browser do plug :setup_session p...
34.246479
97
0.697306
da477e7e19b740630c001083dec6c43219d42e12
701
ex
Elixir
lib/elixero/core_api/models/manual_journals.ex
philals/elixero
fd75fe4a6f0a93b1d2ff94adbb307d20f014d458
[ "MIT" ]
84
2016-11-09T01:15:17.000Z
2022-01-06T02:55:35.000Z
lib/elixero/core_api/models/manual_journals.ex
philals/elixero
fd75fe4a6f0a93b1d2ff94adbb307d20f014d458
[ "MIT" ]
14
2017-03-10T04:16:07.000Z
2021-11-10T16:39:19.000Z
lib/elixero/core_api/models/manual_journals.ex
philals/elixero
fd75fe4a6f0a93b1d2ff94adbb307d20f014d458
[ "MIT" ]
18
2017-03-11T21:12:15.000Z
2022-02-22T20:07:10.000Z
defmodule EliXero.CoreApi.Models.ManualJournals do use Ecto.Schema import Ecto.Changeset @derive {Poison.Encoder, except: [:__meta__, :id]} schema "manualjournals" do embeds_many :ManualJournals, EliXero.CoreApi.Models.ManualJournals.ManualJournal end def from_map(data) do ...
26.961538
89
0.60913
da4793ee7c5a01e51f35aa70f929da12d15d974d
242
ex
Elixir
lib/options_tracker_web/live/statistics_live/header_component.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
12
2020-06-25T17:25:15.000Z
2021-09-30T20:13:33.000Z
lib/options_tracker_web/live/statistics_live/header_component.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
5
2020-08-05T03:12:31.000Z
2021-07-15T04:59:03.000Z
lib/options_tracker_web/live/statistics_live/header_component.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
2
2021-07-03T17:20:15.000Z
2021-09-01T15:38:58.000Z
defmodule OptionsTrackerWeb.StatisticsLive.HeaderComponent do use OptionsTrackerWeb, :live_component import OptionsTrackerWeb.PositionLive.Helpers def update(assigns, socket) do {:ok, socket |> assign(assigns)} end end
22
61
0.760331
da47bc668e8a75dbfcedb87c0078cf4a0c3bcb7c
2,183
ex
Elixir
clients/games/lib/google_api/games/v1/model/leaderboard_score_rank.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/games/lib/google_api/games/v1/model/leaderboard_score_rank.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/leaderboard_score_rank.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "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 ...
37
184
0.704077
da47e09f9a48c69869b2dfc1b25ae3cb3776dfc9
253
ex
Elixir
lib/twaddler.ex
woeye/twaddler
e06a22a94520055bc33aaaacfe51989ba8ab665f
[ "Apache-2.0" ]
1
2018-10-08T13:57:08.000Z
2018-10-08T13:57:08.000Z
lib/twaddler.ex
woeye/twaddler
e06a22a94520055bc33aaaacfe51989ba8ab665f
[ "Apache-2.0" ]
null
null
null
lib/twaddler.ex
woeye/twaddler
e06a22a94520055bc33aaaacfe51989ba8ab665f
[ "Apache-2.0" ]
1
2018-10-08T13:55:44.000Z
2018-10-08T13:55:44.000Z
defmodule Twaddler do @moduledoc """ Twaddler keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.3
66
0.754941
da48237111e2fe17421c53dee2e1f39f3b3096d5
6,579
ex
Elixir
lib/ecto/embedded.ex
Anber/ecto
2b903c8c6acb924f87746fe4d40cb4b42a7f0491
[ "Apache-2.0" ]
1
2019-05-03T08:51:16.000Z
2019-05-03T08:51:16.000Z
lib/ecto/embedded.ex
Anber/ecto
2b903c8c6acb924f87746fe4d40cb4b42a7f0491
[ "Apache-2.0" ]
1
2020-07-17T10:07:44.000Z
2020-07-17T10:07:44.000Z
lib/ecto/embedded.ex
Anber/ecto
2b903c8c6acb924f87746fe4d40cb4b42a7f0491
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Embedded do @moduledoc false alias __MODULE__ alias Ecto.Changeset @type t :: %Embedded{cardinality: :one | :many, on_replace: :raise | :mark_as_invalid | :delete, field: atom, owner: atom, on_cast: nil |...
35.755435
110
0.651771
da489d662f094339605216796f7ef6eb44b2066a
1,040
ex
Elixir
test/support/conn_case.ex
vinicius-molina/FaTex
bbc05acef7a9697efe9ec0fe64511bce9f26a9b3
[ "Apache-2.0" ]
3
2019-12-08T19:42:39.000Z
2020-03-17T13:02:56.000Z
test/support/conn_case.ex
vinicius-molina/FaTex
bbc05acef7a9697efe9ec0fe64511bce9f26a9b3
[ "Apache-2.0" ]
1
2021-03-09T19:49:41.000Z
2021-03-09T19:49:41.000Z
test/support/conn_case.ex
vinicius-molina/FaTex
bbc05acef7a9697efe9ec0fe64511bce9f26a9b3
[ "Apache-2.0" ]
1
2019-12-08T19:42:42.000Z
2019-12-08T19:42:42.000Z
defmodule FatexWeb.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 data structures and query the data layer. Finally, if the ...
26.666667
67
0.715385
da48c0310505eb43d2ecc670aca0c6c96454e99e
9,854
ex
Elixir
lib/aws/generated/media_package.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/media_package.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/media_package.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.MediaPackage do @moduledoc """ AWS Elemental MediaPackage """ alias AWS.Client alias AWS.Request def metadata do %AWS.ServiceMetadata{ abbreviation: nil, api_version:...
19.283757
98
0.561092
da48d394814d54c501f4b6cabefd538e66df27ee
571
exs
Elixir
exercises/practice/largest-series-product/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/largest-series-product/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/largest-series-product/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule Series.MixProject do use Mix.Project def project do [ app: :series, version: "0.1.0", # elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_app...
19.689655
87
0.57268
da48d601bdcd070dea19272f35d5d31fd93afb36
28,004
ex
Elixir
lib/elixir/lib/keyword.ex
michalmuskala/elixir
097de7d308ac40747b4524e266558a3d9498a60b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
michalmuskala/elixir
097de7d308ac40747b4524e266558a3d9498a60b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/keyword.ex
michalmuskala/elixir
097de7d308ac40747b4524e266558a3d9498a60b
[ "Apache-2.0" ]
null
null
null
defmodule Keyword do @moduledoc """ A set of functions for working with keywords. A keyword is a list of two-element tuples where the first element of the tuple is an atom and the second element can be any value. For example, the following is a keyword list: [{:exit_on_close, true}, {:active, :once...
27.241245
98
0.593237
da48e05f793c973e646f8f6395f54cb43d8beff2
1,814
ex
Elixir
lesson_05/demo/user_demo_umbrella/apps/user_demo_web/lib/user_demo_web/controllers/user_controller.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
1
2021-09-22T09:56:35.000Z
2021-09-22T09:56:35.000Z
lesson_05/demo/user_demo_umbrella/apps/user_demo_web/lib/user_demo_web/controllers/user_controller.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
7
2020-03-14T19:30:29.000Z
2022-02-27T01:20:40.000Z
lesson_05/demo/user_demo_umbrella/apps/user_demo_web/lib/user_demo_web/controllers/user_controller.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
11
2020-02-13T14:52:45.000Z
2020-08-03T12:18:56.000Z
defmodule UserDemoWeb.UserController do use UserDemoWeb, :controller alias UserDemo.UserContext alias UserDemo.UserContext.User def new(conn, _parameters) do changeset = UserContext.change_user(%User{}) render(conn, "new.html", changeset: changeset) end def create(conn, %{"user" => user_params}) ...
28.793651
94
0.642227
da490a0288a881db12dd02c52868cc834ffc1159
390
ex
Elixir
test/support/counter.ex
QuinnWilton/fawkes
c6d445d46b8d7bc6e0f44e9366bee8ce0441305c
[ "MIT" ]
40
2020-02-24T16:21:56.000Z
2021-12-08T23:25:41.000Z
test/support/counter.ex
QuinnWilton/fawkes
c6d445d46b8d7bc6e0f44e9366bee8ce0441305c
[ "MIT" ]
50
2020-03-27T02:18:17.000Z
2022-03-23T10:38:35.000Z
test/support/counter.ex
QuinnWilton/fawkes
c6d445d46b8d7bc6e0f44e9366bee8ce0441305c
[ "MIT" ]
4
2020-07-26T21:31:26.000Z
2020-11-05T14:22:24.000Z
defmodule Fawkes.TestHandlers.Counter do @moduledoc false use Fawkes.Listener @help """ inc - Increments the internal counter """ hear ~r/inc/, fn _matches, event, count -> say(event, "incremented count") count + 1 end @help """ count - Returns the count """ hear ~r/count/, fn _matches, ...
18.571429
46
0.630769
da494387f63c130cc324b5b77926f4ce411974e1
2,921
exs
Elixir
test/ex_stone_openbank/config_test.exs
duzzifelipe/ex-stone-openbank
5a0faa547c3aa3d7f3842739e50cca6b14337124
[ "Apache-2.0" ]
null
null
null
test/ex_stone_openbank/config_test.exs
duzzifelipe/ex-stone-openbank
5a0faa547c3aa3d7f3842739e50cca6b14337124
[ "Apache-2.0" ]
null
null
null
test/ex_stone_openbank/config_test.exs
duzzifelipe/ex-stone-openbank
5a0faa547c3aa3d7f3842739e50cca6b14337124
[ "Apache-2.0" ]
null
null
null
defmodule ExStoneOpenbank.ConfigTest do use ExUnit.Case, async: true alias ExStoneOpenbank.Config describe "validate_and_persist/1" do test "validates invalid config_name" do assert_raise RuntimeError, "Name must be an atom", fn -> Config.validate_and_persist(name: "not an atom") end ...
33.193182
88
0.661075
da495e6ad91087f780e628d85b8eedfc538bf12a
4,250
ex
Elixir
apps/andi/lib/andi_web/live/helpers/form_tools.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/andi/lib/andi_web/live/helpers/form_tools.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/andi/lib/andi_web/live/helpers/form_tools.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule AndiWeb.Helpers.FormTools do @moduledoc false use Properties, otp_app: :andi alias Andi.InputSchemas.Datasets alias Andi.InputSchemas.StructTools alias Andi.Services.OrgStore getter(:dataset_name_max_length, generic: true) getter(:org_name_max_length, generic: true) getter(:documentation_roo...
27.597403
89
0.679294
da4967503356051340474c54679db393c026530d
866
exs
Elixir
priv/repo/migrations/20180418014745_standardize_value_type_columns.exs
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
priv/repo/migrations/20180418014745_standardize_value_type_columns.exs
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
priv/repo/migrations/20180418014745_standardize_value_type_columns.exs
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Accent.Repo.Migrations.StandardizeValueTypeColumns do use Ecto.Migration def change do execute(""" UPDATE "operations" AS o0 SET "previous_translation" = replace(previous_translation::TEXT,'"value_type": ""','"value_type": "string"')::json """) execute(""" UPDATE "operations" AS ...
28.866667
146
0.623557
da49740e65ac2582d59e79b75031639852c72a19
1,657
ex
Elixir
clients/content/lib/google_api/content/v2/model/orderpayments_notify_refund_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orderpayments_notify_refund_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orderpayments_notify_refund_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # 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...
32.490196
115
0.747737
da4994b453cb5ab81c1981cfd2f78a35a82a047b
815
ex
Elixir
elixir/lib/homework/transactions/transaction.ex
jacobbadger/web-homework
e989562f0060f69c1f595e16f051545d51d7fd3c
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions/transaction.ex
jacobbadger/web-homework
e989562f0060f69c1f595e16f051545d51d7fd3c
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions/transaction.ex
jacobbadger/web-homework
e989562f0060f69c1f595e16f051545d51d7fd3c
[ "MIT" ]
null
null
null
defmodule Homework.Transactions.Transaction do use Ecto.Schema import Ecto.Changeset alias Homework.Merchants.Merchant alias Homework.Users.User @primary_key {:id, :binary_id, autogenerate: true} schema "transactions" do field(:amount, :integer) field(:credit, :boolean, default: false) field(:d...
30.185185
90
0.710429
da49d85a178fe7fef0837c3c2d4a38137fd85e1d
617
exs
Elixir
generate_icons.exs
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
generate_icons.exs
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
generate_icons.exs
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
template_path = "lib/supabase_surface/components/icons/feathericon.eex" icon_paths = :code.priv_dir(:feathericons) |> Path.join("icons/*.svg") |> Path.wildcard() for path <- icon_paths do function_name = Path.basename(path, ".svg") |> String.replace("-", "_") module_name = Path.basename(path, ".svg") |> S...
41.133333
98
0.713128
da49e123193dc23f80aa32075ca49b1267ccfc2c
160
ex
Elixir
lib/movement/suggested_translation.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
lib/movement/suggested_translation.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
lib/movement/suggested_translation.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
defmodule Movement.SuggestedTranslation do @enforce_keys ~w(text)a defstruct ~w(text key file_comment file_index value_type revision_id plural locked)a end
32
86
0.83125
da49eb1e0b2ba91896008e3ad2f9432beda0bc0d
1,752
ex
Elixir
apps/snitch_api/lib/snitch_api_web/views/product_view.ex
fadeojo/avia
a55763d97b9990dd60b3f6d8b04d528e346f027e
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/snitch_api/lib/snitch_api_web/views/product_view.ex
fadeojo/avia
a55763d97b9990dd60b3f6d8b04d528e346f027e
[ "MIT" ]
null
null
null
apps/snitch_api/lib/snitch_api_web/views/product_view.ex
fadeojo/avia
a55763d97b9990dd60b3f6d8b04d528e346f027e
[ "MIT" ]
null
null
null
defmodule SnitchApiWeb.ProductView do use SnitchApiWeb, :view use JaSerializer.PhoenixView alias Snitch.Data.Model.{Product, ProductReview} alias Snitch.Core.Tools.MultiTenancy.Repo location("/products/:slug") attributes([ :name, :description, :available_on, :deleted_at, :discontinue_o...
19.909091
91
0.676941
da4a015817c8f1428800931bcc3f7ca71ac387c7
446
ex
Elixir
lib/consul/yaml_codec.ex
nsdavidson/consulex
6ac7360c4035555da0d0066c1893a7d4d63b1b0b
[ "Apache-2.0" ]
1
2021-06-14T10:59:01.000Z
2021-06-14T10:59:01.000Z
lib/consul/yaml_codec.ex
nsdavidson/consulex
6ac7360c4035555da0d0066c1893a7d4d63b1b0b
[ "Apache-2.0" ]
1
2021-12-15T01:23:36.000Z
2021-12-15T01:23:36.000Z
lib/consul/yaml_codec.ex
nsdavidson/consulex
6ac7360c4035555da0d0066c1893a7d4d63b1b0b
[ "Apache-2.0" ]
4
2020-10-17T13:11:58.000Z
2021-12-30T17:51:04.000Z
defmodule Consul.YamlCodec do @type yaml_value :: nil | true | false | list | float | integer | String.t() | map @callback read_from_string(iodata) :: {:ok, yaml_value} | {:error, term} def read_from_string(iodata) do case yaml_codec() do nil -> {:error, :not_implemented} mod ->...
24.777778
84
0.636771
da4a10fae6f2f7618c65393db77923eb1a26bae5
2,622
ex
Elixir
lib/madari_web/live/bootenv_live.ex
yoossaland/yoossa
1e1ab968d12c7690a76fc670c47c91c29efb2979
[ "BSD-2-Clause" ]
null
null
null
lib/madari_web/live/bootenv_live.ex
yoossaland/yoossa
1e1ab968d12c7690a76fc670c47c91c29efb2979
[ "BSD-2-Clause" ]
null
null
null
lib/madari_web/live/bootenv_live.ex
yoossaland/yoossa
1e1ab968d12c7690a76fc670c47c91c29efb2979
[ "BSD-2-Clause" ]
null
null
null
defmodule MadariWeb.BootenvLive do use Phoenix.LiveView import Phoenix.LiveView.Helpers alias Madari.Api.Bootenv def mount(_params, _session, socket) do if connected?(socket), do: Bootenv.subscribe() {:ok, socket |> assign(%{ be_available: Bootenv.is_available?, be_list: Bootenv.list, ...
25.456311
71
0.607551
da4a69f2e8e3797a9753a9efcee5161b2bdaeb53
3,616
exs
Elixir
apps/snitch_core/test/data/schema/card_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/test/data/schema/card_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/test/data/schema/card_test.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Data.Schema.CardTest do use ExUnit.Case, async: true use Snitch.DataCase import Snitch.Factory import Ecto.Changeset, only: [apply_changes: 1] alias Snitch.Data.Schema.Card @card %{ month: 12, year: 2099, name_on_card: "Tony Stark", brand: "VISA", number: "41111111111...
28.25
98
0.603706
da4a77c0c763d506579c8a9cdb8762eec31126c8
611
ex
Elixir
programming/elixir/conduit/lib/conduit/blog/projections/article.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/conduit/lib/conduit/blog/projections/article.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/conduit/lib/conduit/blog/projections/article.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
defmodule Conduit.Blog.Projections.Article do use Ecto.Schema @primary_key {:uuid, :binary_id, autogenerate: false} schema "blog_articles" do field :slug, :string field :title, :string field :description, :string field :body, :string field :tag_list, {:array, :string} field :favorited, :...
26.565217
61
0.698854
da4a8c3c03ec49ffabd0521b866cb3ff2ee4c677
6,924
exs
Elixir
test/glimesh/streams_test.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
test/glimesh/streams_test.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
test/glimesh/streams_test.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
defmodule Glimesh.StreamsTest do use Glimesh.DataCase use Bamboo.Test import Glimesh.AccountsFixtures alias Glimesh.Streams describe "followers" do @valid_attrs %{has_live_notifications: true} @update_attrs %{has_live_notifications: false} @invalid_attrs %{has_live_notifications: nil} def f...
31.761468
98
0.664645
da4a9085eb88b008ce3ee750a3524a96e4ff6c30
5,309
exs
Elixir
integration_test/test/code_generation/app_with_defaults_test.exs
anirudh24seven/phoenix
b5580e9cd1c78e0460d2df30807f4f99bd8b3051
[ "MIT" ]
null
null
null
integration_test/test/code_generation/app_with_defaults_test.exs
anirudh24seven/phoenix
b5580e9cd1c78e0460d2df30807f4f99bd8b3051
[ "MIT" ]
null
null
null
integration_test/test/code_generation/app_with_defaults_test.exs
anirudh24seven/phoenix
b5580e9cd1c78e0460d2df30807f4f99bd8b3051
[ "MIT" ]
null
null
null
defmodule Phoenix.Integration.CodeGeneration.AppWithDefaultsTest do use Phoenix.Integration.CodeGeneratorCase, async: true describe "new with defaults" do test "has no compilation or formatter warnings" do with_installer_tmp("new with defaults", fn tmp_dir -> {app_root_path, _} = generate_phoenix...
32.175758
90
0.632699
da4a98918f9d3004a04da6b8f8ee3dd0e00ec661
414
ex
Elixir
lib/bbb_lti/clients/credential.ex
IBM/bbb_l
01d2a2ad9a7056b02f6f0d85f17949126256c549
[ "Apache-2.0" ]
null
null
null
lib/bbb_lti/clients/credential.ex
IBM/bbb_l
01d2a2ad9a7056b02f6f0d85f17949126256c549
[ "Apache-2.0" ]
null
null
null
lib/bbb_lti/clients/credential.ex
IBM/bbb_l
01d2a2ad9a7056b02f6f0d85f17949126256c549
[ "Apache-2.0" ]
null
null
null
defmodule BbbLti.Clients.Credential do use Ecto.Schema import Ecto.Changeset schema "credentials" do field :client_id, :string field :client_secret, :string timestamps() end @doc false def changeset(credential, attrs) do credential |> cast(attrs, [:client_id, :client_secret]) |> v...
20.7
54
0.702899
da4ab7b38a649187a0a566b0a669b28a0e251945
3,875
exs
Elixir
priv/templates/phx.gen.json/controller_test.exs
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
2
2020-07-24T08:34:36.000Z
2021-02-08T03:21:49.000Z
priv/templates/phx.gen.json/controller_test.exs
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
1
2021-11-17T12:10:06.000Z
2021-11-24T12:53:45.000Z
priv/templates/phx.gen.json/controller_test.exs
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
null
null
null
defmodule <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web_namespace, schema.alias) %>ControllerTest do use <%= inspect context.web_module %>.ConnCase alias <%= inspect context.module %> alias <%= inspect schema.module %> @create_attrs %{ <%= schema.params.create |> Enum.map(fn {key, val...
43.539326
165
0.589419
da4ac670c25a3116972ec5d940f522bb90ad3198
13,009
exs
Elixir
lib/elixir/test/elixir/kernel/parallel_compiler_test.exs
zillou/elixir
2cd4f2178299abfc783f399d5b9fdc0c902c3776
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/parallel_compiler_test.exs
zillou/elixir
2cd4f2178299abfc783f399d5b9fdc0c902c3776
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/parallel_compiler_test.exs
zillou/elixir
2cd4f2178299abfc783f399d5b9fdc0c902c3776
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) import PathHelpers defmodule Kernel.ParallelCompilerTest do use ExUnit.Case import ExUnit.CaptureIO defp purge(modules) do Enum.map(modules, fn mod -> :code.purge(mod) :code.delete(mod) end) end defp write_tmp(context, kv) do dir = t...
29.168161
119
0.55108
da4ad31d3195f036f0e13a1d78421c40be9f3e41
1,810
ex
Elixir
lib/codes/codes_n14.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_n14.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_n14.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_N14 do alias IcdCode.ICDCode def _N140 do %ICDCode{full_code: "N140", category_code: "N14", short_code: "0", full_name: "Analgesic nephropathy", short_name: "Analgesic nephropathy", category_name: "Analgesic nephropathy" ...
34.807692
102
0.648066
da4b3c15590fb734fb5a2e8aec57b44fa40460f5
492
ex
Elixir
lib/sparrow/h2_worker/authentication/certificate_based.ex
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
20
2019-01-15T10:13:16.000Z
2021-12-30T09:39:30.000Z
lib/sparrow/h2_worker/authentication/certificate_based.ex
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
45
2018-10-02T10:14:57.000Z
2021-04-30T21:57:28.000Z
lib/sparrow/h2_worker/authentication/certificate_based.ex
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
9
2019-05-08T17:25:56.000Z
2022-03-06T10:16:41.000Z
defmodule Sparrow.H2Worker.Authentication.CertificateBased do @moduledoc """ Structure for cerificate based authentication. Use to create `Sparrow.H2Worker.Config` for `Sparrow.H2Worker`. """ @type t :: %__MODULE__{ certfile: Path.t(), keyfile: Path.t() } defstruct [ :certfil...
21.391304
65
0.623984
da4b6ca5d9822a26e9497a4766b582194ecba816
1,079
ex
Elixir
test/support/factory.ex
straw-hat-team/straw_hat_mailer
eddbfe736f43bcea7567b8cc94339d57f5f43b22
[ "MIT" ]
10
2017-12-14T06:09:43.000Z
2019-07-30T19:56:43.000Z
test/support/factory.ex
straw-hat-labs/straw_hat_mailer
eddbfe736f43bcea7567b8cc94339d57f5f43b22
[ "MIT" ]
79
2017-10-15T15:45:51.000Z
2019-11-01T11:18:06.000Z
test/support/factory.ex
straw-hat-labs/straw_hat_mailer
eddbfe736f43bcea7567b8cc94339d57f5f43b22
[ "MIT" ]
1
2017-12-14T06:09:52.000Z
2017-12-14T06:09:52.000Z
defmodule StrawHat.Mailer.TestSupport.Factory do @moduledoc false use ExMachina.Ecto, repo: StrawHat.Mailer.TestSupport.Repo alias StrawHat.Mailer.{Template, Privacy, Partial} def template_factory do privacy = get_privacy() %Template{ name: Faker.Pokemon.name(), title: Faker.Name.title()...
25.093023
99
0.629286
da4b9a931d2995c34a699e399d690bcf12ce3748
1,070
exs
Elixir
clients/pub_sub_lite/test/test_helper.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/pub_sub_lite/test/test_helper.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/pub_sub_lite/test/test_helper.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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.722222
83
0.740187
da4bd2ca42ff931bf9061cc5c84124415ad6b2e7
2,017
exs
Elixir
test/lib/plaid/income_test.exs
mrhooray/plaid-elixir
3fe1a3794c49cfa50af2b372990394f14c5b8054
[ "MIT" ]
null
null
null
test/lib/plaid/income_test.exs
mrhooray/plaid-elixir
3fe1a3794c49cfa50af2b372990394f14c5b8054
[ "MIT" ]
null
null
null
test/lib/plaid/income_test.exs
mrhooray/plaid-elixir
3fe1a3794c49cfa50af2b372990394f14c5b8054
[ "MIT" ]
null
null
null
defmodule Plaid.IncomeTest do use ExUnit.Case import Plaid.Factory setup do bypass = Bypass.open() Application.put_env(:plaid, :root_uri, "http://localhost:#{bypass.port}/") {:ok, bypass: bypass} end describe "income" do test "get/1 requests POST and returns Plaid.Income", %{bypass: bypass}...
30.560606
97
0.595935
da4be31ecd05e78fddcb6eabb0d39f8fd62c1b9a
2,373
ex
Elixir
lib/alertlytics_web.ex
cultivatedcode/sitrep
75e9e006882cdae3e1ed4158aa3477ed77601a58
[ "Apache-2.0" ]
null
null
null
lib/alertlytics_web.ex
cultivatedcode/sitrep
75e9e006882cdae3e1ed4158aa3477ed77601a58
[ "Apache-2.0" ]
3
2019-02-24T18:04:02.000Z
2020-06-12T04:36:44.000Z
lib/alertlytics_web.ex
cultivatedcode/alertlytics
92bbc071bfc667e8c15dca6aa3a5cc28627f2fed
[ "Apache-2.0" ]
null
null
null
defmodule AlertlyticsWeb 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 AlertlyticsWeb, :controller use AlertlyticsWeb, :view The definitions below will be executed for every view, ...
23.038835
78
0.689001
da4bea1b96a2cd00ba279e6dd762b361d85e2d44
2,704
exs
Elixir
test/json_xema/validation_error_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
54
2019-03-10T19:51:07.000Z
2021-12-23T07:31:09.000Z
test/json_xema/validation_error_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
36
2018-05-20T09:13:20.000Z
2021-03-14T15:22:03.000Z
test/json_xema/validation_error_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
3
2019-04-12T09:08:51.000Z
2019-12-04T01:23:56.000Z
defmodule JsonXema.ValidationErrorTest do use ExUnit.Case, async: true doctest JsonXema.ValidationError alias JsonXema.ValidationError alias Xema.Validator describe "Xema.validate!/2" do setup do %{schema: ~s|{"type": "integer"}| |> Jason.decode!() |> JsonXema.new()} end test "returns a ...
28.765957
85
0.544749
da4c00684d34497506a02b6145cc694f5b815901
1,439
ex
Elixir
lib/evercam_models/analytics/recognition_feedback.ex
mekongit/evercam_models
7c36d52f2b47ffc89a3eaca65c2e353716fafacc
[ "MIT" ]
null
null
null
lib/evercam_models/analytics/recognition_feedback.ex
mekongit/evercam_models
7c36d52f2b47ffc89a3eaca65c2e353716fafacc
[ "MIT" ]
null
null
null
lib/evercam_models/analytics/recognition_feedback.ex
mekongit/evercam_models
7c36d52f2b47ffc89a3eaca65c2e353716fafacc
[ "MIT" ]
null
null
null
defmodule Analytics.RecognitionFeedback do use Evercam.Schema defmodule BoundingBox do use Evercam.Schema @primary_key false embedded_schema do field(:xmin, :float) field(:ymin, :float) field(:xmax, :float) field(:ymax, :float) end def changeset(struct, attrs) do ...
23.590164
92
0.669215
da4c05b3393ae2f9bb46491d87c5d630cbb3297e
2,579
ex
Elixir
clients/cloud_support/lib/google_api/cloud_support/v2beta/model/diff_checksums_response.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_support/lib/google_api/cloud_support/v2beta/model/diff_checksums_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_support/lib/google_api/cloud_support/v2beta/model/diff_checksums_response.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...
43.711864
165
0.732454
da4c4683d3a76d57b322065c9fe532f58dacb4d9
12,916
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/api/folders.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/api/folders.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/api/folders.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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...
105.00813
892
0.737535
da4c83305d57701569eac1a17079449295042172
510
exs
Elixir
mix.exs
rstorsauce/Exaggerate
3f3093e7b6247638180bc01cb0751db70aa6f236
[ "MIT" ]
2
2017-12-20T11:21:08.000Z
2020-01-27T00:44:23.000Z
mix.exs
rstorsauce/Exaggerate
3f3093e7b6247638180bc01cb0751db70aa6f236
[ "MIT" ]
1
2018-10-15T22:33:24.000Z
2019-04-05T01:01:32.000Z
mix.exs
rstorsauce/Exaggerate
3f3093e7b6247638180bc01cb0751db70aa6f236
[ "MIT" ]
1
2018-12-06T03:16:21.000Z
2018-12-06T03:16:21.000Z
defmodule Exaggerate.Mixfile do use Mix.Project def project do Application.put_env(:exaggerate, :real_root, File.cwd!) [ app: :exaggerate, version: "0.1.0", elixir: "~> 1.6-dev", start_permanent: Mix.env == :prod, deps: deps(), ] end def application do [ extra_app...
18.888889
71
0.562745
da4c86321df0777fa29cda18bd38a23309a3d58f
11,361
exs
Elixir
test/ex_doc/formatter/epub_test.exs
zoldar/ex_doc
f2ca5d1f4f85650b55460bc08e4d17a00f9f0d75
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
test/ex_doc/formatter/epub_test.exs
zoldar/ex_doc
f2ca5d1f4f85650b55460bc08e4d17a00f9f0d75
[ "Apache-2.0", "CC-BY-4.0" ]
2
2020-12-04T22:03:31.000Z
2022-03-02T10:00:23.000Z
test/ex_doc/formatter/epub_test.exs
bonomali/ex_doc
d22cdad512fbfd8bfc44b417c680b1105c8aa19a
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Formatter.EPUBTest do use ExUnit.Case alias ExDoc.Markdown.DummyProcessor setup do File.rm_rf(output_dir()) File.mkdir_p!(output_dir()) end defp output_dir do Path.expand("../../tmp/epub", __DIR__) end defp beam_dir do Path.expand("../../tmp/beam", __DIR__) end # Th...
37.619205
120
0.669219
da4c9a58ba5e08646eef9eed7c3fcd2bd7638e0a
631
exs
Elixir
mix.exs
okx-code/Panacea
3398c624c0497158ef49653ba001fed18cebc4b0
[ "Unlicense" ]
null
null
null
mix.exs
okx-code/Panacea
3398c624c0497158ef49653ba001fed18cebc4b0
[ "Unlicense" ]
null
null
null
mix.exs
okx-code/Panacea
3398c624c0497158ef49653ba001fed18cebc4b0
[ "Unlicense" ]
null
null
null
defmodule Panacea.MixProject do use Mix.Project def project do [ mod: {Main, []}, app: :panacea, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), escript: [main_module: Main] ] end # Run "mix help compile.app" to learn abo...
20.354839
88
0.567353
da4cb5a04a374ed3d1f592f12168b0d857dc4399
1,778
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instances_scoped_list.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instances_scoped_list.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instances_scoped_list.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.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...
34.862745
107
0.747469
da4cc4ea7c9b20efa0d33443ecbac676487838d6
1,272
exs
Elixir
elixir/elixir-conf-eu-2015/elixir_conf_workshop/test/abacus_server_test.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-conf-eu-2015/elixir_conf_workshop/test/abacus_server_test.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-conf-eu-2015/elixir_conf_workshop/test/abacus_server_test.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule AbacusServerTest do use ExUnit.Case test "server should know how to add" do {:ok, pid} = AbacusServer.start_link() assert AbacusServer.add(pid, 2, 2) == 4 end test "server should return its executed operation history" do {:ok, pid} = AbacusServer.start_link() AbacusServer.add(pid, ...
23.555556
63
0.660377
da4cd704c26a66e66089f4dedfcd2b7f2d01d264
921
ex
Elixir
lib/arkecosystem/crypto/transactions/serialisers/vote.ex
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
lib/arkecosystem/crypto/transactions/serialisers/vote.ex
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
lib/arkecosystem/crypto/transactions/serialisers/vote.ex
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
defmodule ArkEcosystem.Crypto.Transactions.Serializers.Vote do def serialize(bytes, transaction) do votes = serialize_votes(transaction.asset.votes, []) votecount = length(votes) bytes <> <<votecount::little-unsigned-integer-size(8)>> <> (Enum.join(votes) |> Base.decode16!(case: :lower)) en...
25.583333
74
0.625407
da4d03e0f6deee3f42d1530814981a609fb329f5
97
exs
Elixir
test/resx/resource/content_test.exs
ScrimpyCat/Resx
b7ed996a6202ecaa6e411ebd989198e16d97719d
[ "BSD-2-Clause" ]
null
null
null
test/resx/resource/content_test.exs
ScrimpyCat/Resx
b7ed996a6202ecaa6e411ebd989198e16d97719d
[ "BSD-2-Clause" ]
null
null
null
test/resx/resource/content_test.exs
ScrimpyCat/Resx
b7ed996a6202ecaa6e411ebd989198e16d97719d
[ "BSD-2-Clause" ]
null
null
null
defmodule Resx.Resource.ContentTest do use ExUnit.Case doctest Resx.Resource.Content end
19.4
38
0.783505
da4d06d9a8b43ffc9f106b0fa70efb38f43e213f
1,893
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/sharding_option.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/testing/lib/google_api/testing/v1/model/sharding_option.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/testing/lib/google_api/testing/v1/model/sharding_option.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...
37.86
180
0.745378
da4d17c0c129ec83bf4d96a182889a715e0cc47d
14,117
ex
Elixir
deps/plug/lib/plug/crypto/message_encryptor.ex
renatoalmeidaoliveira/Merlin
92a0e318872190cdfa07ced85ee54cc69cad5c14
[ "Apache-2.0" ]
null
null
null
deps/plug/lib/plug/crypto/message_encryptor.ex
renatoalmeidaoliveira/Merlin
92a0e318872190cdfa07ced85ee54cc69cad5c14
[ "Apache-2.0" ]
null
null
null
deps/plug/lib/plug/crypto/message_encryptor.ex
renatoalmeidaoliveira/Merlin
92a0e318872190cdfa07ced85ee54cc69cad5c14
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Crypto.MessageEncryptor do @moduledoc ~S""" `MessageEncryptor` is a simple way to encrypt values which get stored somewhere you don't trust. The encrypted key, initialization vector, cipher text, and cipher tag are base64url encoded and returned to you. This can be used in situations simila...
39.105263
128
0.658993
da4d37951b1882e76adfee935b09dc1d66f8d3bd
4,662
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_result.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_result.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_result.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...
63
929
0.710639
da4d5389e3a2a007ed07c07d62ff9f36215d7da3
1,544
ex
Elixir
clients/jobs/lib/google_api/jobs/v2/model/empty.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/jobs/lib/google_api/jobs/v2/model/empty.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/jobs/lib/google_api/jobs/v2/model/empty.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # 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 ...
30.88
77
0.739637
da4daf7511aefa9d17282aea8baf921edfaca534
731
ex
Elixir
lib/message_pack.ex
mururu/msgpack-elixir
4f0063f5e7b010dcd3e8ca8f1b8650f67ea08dea
[ "MIT" ]
63
2015-01-07T09:43:18.000Z
2022-01-31T21:01:03.000Z
lib/message_pack.ex
mururu/msgpack-elixir
4f0063f5e7b010dcd3e8ca8f1b8650f67ea08dea
[ "MIT" ]
2
2015-03-26T21:13:54.000Z
2016-08-22T10:24:31.000Z
lib/message_pack.ex
mururu/msgpack-elixir
4f0063f5e7b010dcd3e8ca8f1b8650f67ea08dea
[ "MIT" ]
14
2015-04-12T01:33:12.000Z
2020-08-17T06:02:43.000Z
defmodule MessagePack do defdelegate pack(term), to: MessagePack.Packer defdelegate pack(term, options), to: MessagePack.Packer defdelegate pack!(term), to: MessagePack.Packer defdelegate pack!(term, options), to: MessagePack.Packer defdelegate unpack(term), to: MessagePack.Unpacker defdelegate unpack(term...
43
67
0.786594
da4db1a056847a6a2e1a459781ab56b4f5930abf
1,782
ex
Elixir
lib/prevalent/prevalent_system.ex
agnaldo4j/prevayler-iex
4ff587f954149a94ff10a22550198ab79e9fcfe0
[ "BSD-3-Clause" ]
1
2017-04-06T23:16:03.000Z
2017-04-06T23:16:03.000Z
lib/prevalent/prevalent_system.ex
agnaldo4j/prevayler-iex
4ff587f954149a94ff10a22550198ab79e9fcfe0
[ "BSD-3-Clause" ]
null
null
null
lib/prevalent/prevalent_system.ex
agnaldo4j/prevayler-iex
4ff587f954149a94ff10a22550198ab79e9fcfe0
[ "BSD-3-Clause" ]
null
null
null
defmodule Prevalent.System do @moduledoc "" use GenServer alias Prevalent.Journaling, as: Journaling def init(_current_state) do previous_state = reload_system() {:ok, previous_state} end def handle_call({:execute, command}, _from, actual_state) do command |> J...
25.457143
76
0.654321
da4dd57dff9006398f960968130c4d882bb2be1b
3,227
ex
Elixir
apps/gitgud_web/lib/gitgud_web/views/issue_view.ex
anndream/gitgud
0dee75547f86040df417def209bf62c33cd8dfec
[ "MIT" ]
1
2019-09-08T07:48:10.000Z
2019-09-08T07:48:10.000Z
apps/gitgud_web/lib/gitgud_web/views/issue_view.ex
anndream/gitgud
0dee75547f86040df417def209bf62c33cd8dfec
[ "MIT" ]
null
null
null
apps/gitgud_web/lib/gitgud_web/views/issue_view.ex
anndream/gitgud
0dee75547f86040df417def209bf62c33cd8dfec
[ "MIT" ]
null
null
null
defmodule GitGud.Web.IssueView do @moduledoc false use GitGud.Web, :view alias GitGud.Issue alias GitGud.IssueQuery import Phoenix.HTML.Tag import Phoenix.HTML.Link @spec status_tag(Issue.t | binary, keyword) :: binary def status_tag(issue, attrs \\ []) def status_tag(%Issue{status: status} = _issu...
41.371795
172
0.627828
da4df1290f6ab39653035a4a8110ac208abe4bf6
293
ex
Elixir
lib/phone/nanp/ca/territory.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/nanp/ca/territory.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/nanp/ca/territory.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.NANP.CA.Territory do @moduledoc false use Helper.Area def regex, do: ~r/^(1)(867)([2-9].{6})$/ def area_name, do: ["Northwest Territories", "Nunavut", "Yukon"] def area_type, do: "territories" def area_abbreviation, do: ["NT", "NU", "YT"] matcher ["1867"] end
22.538462
66
0.645051
da4e054fe8ca1ba5ac89b65e1cb51aea170713fb
1,091
ex
Elixir
lib/pardall_web/channels/user_socket.ex
alfredbaudisch/pardall-markdown-phoenix-demo
701fa5b312f00d4076b471d9f880ea56bb3c4119
[ "Apache-2.0" ]
null
null
null
lib/pardall_web/channels/user_socket.ex
alfredbaudisch/pardall-markdown-phoenix-demo
701fa5b312f00d4076b471d9f880ea56bb3c4119
[ "Apache-2.0" ]
null
null
null
lib/pardall_web/channels/user_socket.ex
alfredbaudisch/pardall-markdown-phoenix-demo
701fa5b312f00d4076b471d9f880ea56bb3c4119
[ "Apache-2.0" ]
null
null
null
defmodule PardallWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", PardallWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channe...
30.305556
83
0.694775
da4e20b67a045125044c4a41419688162df7af46
1,447
exs
Elixir
test/hacker_news_aggregator_web/channels/stories_channel_test.exs
rhnonose/hacker_news_aggregator
2dbcf9db4fb08c9cdc716959e0283c5e98312586
[ "MIT" ]
null
null
null
test/hacker_news_aggregator_web/channels/stories_channel_test.exs
rhnonose/hacker_news_aggregator
2dbcf9db4fb08c9cdc716959e0283c5e98312586
[ "MIT" ]
null
null
null
test/hacker_news_aggregator_web/channels/stories_channel_test.exs
rhnonose/hacker_news_aggregator
2dbcf9db4fb08c9cdc716959e0283c5e98312586
[ "MIT" ]
null
null
null
defmodule HackerNewsAggregatorWeb.StoriesChannelTest do use HackerNewsAggregatorWeb.ChannelCase setup do :ets.new(:top_stories, [:set, :public, :named_table, read_concurrency: true]) :ets.insert(:top_stories, {1, %{"title" => "some title"}}) :ets.insert(:top_stories, {2, %{"title" => "some title"}}) ...
28.372549
88
0.620594
da4e3337d69619d7dc75dd57bb1ee1342526942d
1,899
ex
Elixir
lib/rig_kafka/serializer.ex
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
518
2017-11-09T13:10:49.000Z
2022-03-28T14:29:50.000Z
lib/rig_kafka/serializer.ex
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
270
2017-11-10T00:11:34.000Z
2022-02-27T13:08:16.000Z
lib/rig_kafka/serializer.ex
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
67
2017-12-19T20:16:37.000Z
2022-03-31T10:43:04.000Z
defmodule RigKafka.Serializer do @moduledoc """ Interface for event serialization and deserialization. Used to decide which serializer to use, such as Apache Avro. """ alias RigKafka.Avro @typep encode_type :: String.t() @typep schema_name :: String.t() @typep kafka_headers :: list() @prefix "ce_" ...
22.607143
117
0.597156
da4e37272644eef11e62ec1092626af170c95d96
1,068
ex
Elixir
pig/lib/pig/deployer.ex
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
37
2021-01-31T17:43:03.000Z
2021-11-17T12:29:00.000Z
pig/lib/pig/deployer.ex
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
4
2021-05-29T04:54:28.000Z
2021-06-26T20:40:48.000Z
pig/lib/pig/deployer.ex
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
null
null
null
defmodule Pig.Deployer do alias Mahou.Format.App alias Mahou.Format.App.Limits alias Mahou.Message alias Mahou.Message.{ ChangeContainerStatus, CreateContainer, } alias Singyeong.{Client, Query} require Logger def deploy(%App{limits: %Limits{cpu: _, ram: ram}} = app) do msg = %CreateC...
23.733333
72
0.602996
da4e3d24af8e458f2fd3f99bc6560a15f1c45017
2,120
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/waf_expression_set.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/waf_expression_set.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/waf_expression_set.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...
40
331
0.725472
da4e711a40b5cfd7bd238c9b2d7c60006a877d97
14,040
ex
Elixir
lib/tortoise.ex
antp/tortoise
ac01ccb760ffb7dc63d023e37607ee855e56fc0c
[ "Apache-2.0" ]
null
null
null
lib/tortoise.ex
antp/tortoise
ac01ccb760ffb7dc63d023e37607ee855e56fc0c
[ "Apache-2.0" ]
null
null
null
lib/tortoise.ex
antp/tortoise
ac01ccb760ffb7dc63d023e37607ee855e56fc0c
[ "Apache-2.0" ]
null
null
null
defmodule Tortoise do @moduledoc """ A MQTT client for Elixir. `Tortoise` provides ways of publishing messages to, and receiving messages from one or many MQTT brokers via TCP or SSL. The design philosophy of Tortoise is to hide the protocol specific details from the user, and expose interfaces and a conne...
40.114286
92
0.70641
da4e8849a49a9d74d1f1869a44fecf38e53563e4
9,277
exs
Elixir
test/translator_test.exs
andreasknoepfle/surface
0fc19a662e3b94fb33f49df91841d9bb4a850e5d
[ "MIT" ]
null
null
null
test/translator_test.exs
andreasknoepfle/surface
0fc19a662e3b94fb33f49df91841d9bb4a850e5d
[ "MIT" ]
null
null
null
test/translator_test.exs
andreasknoepfle/surface
0fc19a662e3b94fb33f49df91841d9bb4a850e5d
[ "MIT" ]
null
null
null
defmodule TranslatorTest do use ExUnit.Case import ExUnit.CaptureIO require Logger defmodule Button do use Surface.Component property label, :string, default: "" property click, :event property class, :css_class property disabled, :boolean def render(assigns) do ~H""" <but...
22.737745
90
0.554058
da4e901f90d2e6766d6c1e7daa2d15f614ee24d2
1,743
ex
Elixir
lib/earmark_parser/helpers/html_helpers.ex
RobertDober/earmark_parser
8a4e2bf47f4ce0d749df67288046f5a69e8f1f5d
[ "Apache-2.0" ]
32
2020-07-01T17:25:08.000Z
2022-03-23T05:38:38.000Z
lib/earmark_parser/helpers/html_helpers.ex
RobertDober/earmark_parser
8a4e2bf47f4ce0d749df67288046f5a69e8f1f5d
[ "Apache-2.0" ]
91
2020-06-30T09:08:00.000Z
2022-03-24T18:11:16.000Z
lib/earmark_parser/helpers/html_helpers.ex
RobertDober/earmark_parser
8a4e2bf47f4ce0d749df67288046f5a69e8f1f5d
[ "Apache-2.0" ]
22
2020-07-02T08:50:17.000Z
2022-02-21T08:31:27.000Z
defmodule EarmarkParser.Helpers.HtmlHelpers do @moduledoc false import EarmarkParser.Helpers.AttrParser @simple_tag ~r{^<(.*?)\s*>} @doc false def augment_tag_with_ial(context, tag, ial, lnb) do case Regex.run( @simple_tag, tag) do nil -> nil ["<code class=\"inline\">", "code clas...
28.57377
98
0.557085
da4ea8dc88fb46b92a748b331dac1932bbf8255f
1,789
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/write_instruction.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/write_instruction.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/write_instruction.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # 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 ...
35.078431
105
0.735606
da4eaca7cc4af6996f10027f0da7b86882d16d69
1,552
ex
Elixir
lib/live_view_web/views/error_helpers.ex
eduardo-rdguez/phoenix-liveview
66ced7a3cd3c8f57c1e5e8c3646dcd7c837d202c
[ "MIT" ]
null
null
null
lib/live_view_web/views/error_helpers.ex
eduardo-rdguez/phoenix-liveview
66ced7a3cd3c8f57c1e5e8c3646dcd7c837d202c
[ "MIT" ]
4
2021-07-19T22:03:03.000Z
2021-07-22T16:38:34.000Z
lib/live_view_web/views/error_helpers.ex
eduardo-rdguez/phoenix-liveview
66ced7a3cd3c8f57c1e5e8c3646dcd7c837d202c
[ "MIT" ]
null
null
null
defmodule LiveViewWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag...
32.333333
77
0.666237
da4ebabbf8ef76ce355bf7ab5f675be1031f4b7b
19,104
ex
Elixir
clients/os_login/lib/google_api/os_login/v1/api/users.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/os_login/lib/google_api/os_login/v1/api/users.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/os_login/lib/google_api/os_login/v1/api/users.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "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.054187
196
0.624581
da4ec3a38209648afc557c175c3c1a2e9ba4c670
169
exs
Elixir
priv/repo/migrations/20180404091422_rename_cmspassport_roles.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/repo/migrations/20180404091422_rename_cmspassport_roles.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/repo/migrations/20180404091422_rename_cmspassport_roles.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Repo.Migrations.RenameCmspassportRoles do use Ecto.Migration def change do rename(table(:cms_passports), :roles, to: :rules) end end
21.125
66
0.769231
da4ee9290d42939fb3fff41ea49108098ee88cc8
2,977
ex
Elixir
lib/console/graphql/kubernetes/application.ex
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
6
2021-11-17T21:10:49.000Z
2022-02-16T19:45:28.000Z
lib/console/graphql/kubernetes/application.ex
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
18
2021-11-25T04:31:06.000Z
2022-03-27T04:54:00.000Z
lib/console/graphql/kubernetes/application.ex
pluralsh/console
38a446ce1bc2f7bc3e904fcacb102d3d57835ada
[ "Apache-2.0" ]
null
null
null
defmodule Console.GraphQl.Kubernetes.Application do use Console.GraphQl.Schema.Base alias Console.GraphQl.Resolvers.{Plural, Kubecost, License} object :application do field :name, non_null(:string), resolve: fn %{metadata: %{name: name}}, _, _ -> {:ok, name} end field :spec, non_null(:application_spe...
30.690722
101
0.623111
da4ef61360d047ce2ac6336610c32f4912ff8eb3
1,737
ex
Elixir
lib/kxir/cli/cli.ex
fridayy/kxir
92856ad5d337333f94b5c3adeb465ae216e24417
[ "Apache-2.0" ]
null
null
null
lib/kxir/cli/cli.ex
fridayy/kxir
92856ad5d337333f94b5c3adeb465ae216e24417
[ "Apache-2.0" ]
null
null
null
lib/kxir/cli/cli.ex
fridayy/kxir
92856ad5d337333f94b5c3adeb465ae216e24417
[ "Apache-2.0" ]
null
null
null
defmodule Kxir.CLI do @moduledoc """ Entry point for the Kxir CLI. """ @behaviour Kxir.CLI.Help def main([]) do IO.puts(Kxir.CLI.Help.help(Kxir.CLI)) end def main(args) do parsed_args = OptionParser.parse(args, aliases: [p: :pipe], strict: [help: :boolean, jaro: :string, p...
26.723077
72
0.552677
da4ef66c483068f36a0009c88fe8af1858b4214d
1,063
exs
Elixir
samples/phoenix_wobserver/config/config.exs
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
11
2017-05-05T12:28:35.000Z
2020-02-26T09:16:10.000Z
samples/phoenix_wobserver/config/config.exs
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
null
null
null
samples/phoenix_wobserver/config/config.exs
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :phoenix_wobserver, ecto_repos: [Phoenix...
33.21875
86
0.770461
da4f03ac7106a68a7a181584fb5189620c7f623e
1,147
exs
Elixir
config/config.exs
artukrap/elixir_csv_stream
40d9e8023d026e559585b3ac5046148e5d0b246c
[ "MIT" ]
2
2018-06-19T06:42:58.000Z
2018-07-10T13:58:17.000Z
config/config.exs
krapans/elixir_csv_stream
40d9e8023d026e559585b3ac5046148e5d0b246c
[ "MIT" ]
null
null
null
config/config.exs
krapans/elixir_csv_stream
40d9e8023d026e559585b3ac5046148e5d0b246c
[ "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 config :river, port: 4000 # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be...
33.735294
73
0.74891
da4f0cc4b845ccb298309f21dcf18dfc8f219f95
20,996
ex
Elixir
lib/phoenix_live_view/channel.ex
snewcomer/phoenix_live_view
477e9e23e9eec9163599649dab0b3ea48d54300e
[ "MIT" ]
1
2019-12-07T19:28:57.000Z
2019-12-07T19:28:57.000Z
lib/phoenix_live_view/channel.ex
snewcomer/phoenix_live_view
477e9e23e9eec9163599649dab0b3ea48d54300e
[ "MIT" ]
1
2019-03-17T23:44:09.000Z
2019-03-19T21:52:06.000Z
lib/phoenix_live_view/channel.ex
snewcomer/phoenix_live_view
477e9e23e9eec9163599649dab0b3ea48d54300e
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Channel do @moduledoc false use GenServer, restart: :temporary require Logger alias Phoenix.LiveView.{Socket, Utils, Diff, Static} alias Phoenix.Socket.Message @prefix :phoenix def start_link({auth_payload, from, phx_socket}) do hibernate_after = phx_socket.endpoint.conf...
30.428986
100
0.640741
da4f1bfb456d918ba742c8744e4c85201979b460
1,306
exs
Elixir
mix.exs
haydenrou/react-phoenix
b18039f1bab28b3db259ed79dd0700730eb5a406
[ "MIT" ]
503
2017-04-18T01:35:38.000Z
2022-03-30T18:11:51.000Z
mix.exs
haydenrou/react-phoenix
b18039f1bab28b3db259ed79dd0700730eb5a406
[ "MIT" ]
37
2017-04-21T16:30:41.000Z
2021-11-19T21:28:19.000Z
mix.exs
haydenrou/react-phoenix
b18039f1bab28b3db259ed79dd0700730eb5a406
[ "MIT" ]
39
2017-04-21T16:31:21.000Z
2021-10-19T16:58:11.000Z
defmodule ReactPhoenix.Mixfile do use Mix.Project @version "1.2.0" @source_url "https://github.com/geolessel/react-phoenix" def project do [ app: :react_phoenix, version: @version, elixir: "~> 1.4", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, ...
21.409836
79
0.563553
da4f2fe428597b14878c66e6476808efffa6db29
37
exs
Elixir
projetos/letter/test/letter_test.exs
Elixir-UTFPR/curso_de_elixir_sequencial_marco_2022
f05d723eebd35ea1b448ddc5a4e420e2a1e39e9c
[ "MIT" ]
2
2022-03-07T18:24:44.000Z
2022-03-22T09:26:20.000Z
projetos/letter/test/letter_test.exs
Elixir-UTFPR/curso_de_elixir_sequencial_marco_2022
f05d723eebd35ea1b448ddc5a4e420e2a1e39e9c
[ "MIT" ]
null
null
null
projetos/letter/test/letter_test.exs
Elixir-UTFPR/curso_de_elixir_sequencial_marco_2022
f05d723eebd35ea1b448ddc5a4e420e2a1e39e9c
[ "MIT" ]
3
2022-03-14T22:34:06.000Z
2022-03-16T20:56:27.000Z
defmodule LetterTest do # TODO end
9.25
23
0.756757
da4f36da05c927619de114db2940ce50ef75200b
1,817
exs
Elixir
test/corex_web/auth_test.exs
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
test/corex_web/auth_test.exs
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
test/corex_web/auth_test.exs
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
defmodule CorexWeb.AuthTest do use CorexWeb.ConnCase alias Corex.Test describe "check_auth" do test "admin with success status" do assert do_check_auth(:admin, 200) == [ [:guest, "4xx, 5xx", 200, false], [:member, "4xx, 5xx", 200, false], [:admin, "2xx, 3xx...
30.283333
106
0.498624
da4f6ac79f098e0968cd23697a4b3a39468e71e9
164
exs
Elixir
apps/core/priv/repo/migrations/20201127221150_add_version_digest.exs
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/priv/repo/migrations/20201127221150_add_version_digest.exs
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/priv/repo/migrations/20201127221150_add_version_digest.exs
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Repo.Migrations.AddVersionDigest do use Ecto.Migration def change do alter table(:versions) do add :digest, :string end end end
16.4
50
0.707317
da4f708108b957828454352f0c0f7da008f4df70
827
ex
Elixir
lang/elixir/learning-fp-with-elixir/exercises/lib/chapter3/first.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
lang/elixir/learning-fp-with-elixir/exercises/lib/chapter3/first.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
lang/elixir/learning-fp-with-elixir/exercises/lib/chapter3/first.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
defmodule Exercises.Chapter3.First do @moduledoc """ In RPGs, players have points to spend on their character attributes. Create a function that returns the total number of points players have spent on their characters. The function will receive a map containing the strength, dexterity, and intelligence value...
33.08
88
0.729141
da4f828d4e3571c2ba2e9d798b6f621243f47eeb
18,656
ex
Elixir
lib/aws/generated/network_firewall.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/network_firewall.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/network_firewall.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
1
2020-10-28T08:56:54.000Z
2020-10-28T08:56:54.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.NetworkFirewall do @moduledoc """ This is the API Reference for AWS Network Firewall. This guide is for developers who need detailed information about the Network Firewall API actions, da...
41.274336
199
0.743461
da4fda28f5bcc2a35a7e3fc35df982f9e0b957f9
490
ex
Elixir
web/models/repo/migration.ex
ryankask/marcy
268845e0b98dcaea8c4f52382473fe02ded73ad6
[ "MIT" ]
null
null
null
web/models/repo/migration.ex
ryankask/marcy
268845e0b98dcaea8c4f52382473fe02ded73ad6
[ "MIT" ]
null
null
null
web/models/repo/migration.ex
ryankask/marcy
268845e0b98dcaea8c4f52382473fe02ded73ad6
[ "MIT" ]
null
null
null
defmodule Marcy.Repo.Migration do use Ecto.Migration, only: [add, 3, fragment: 1, execute: 1] def timestamps do now = fragment("now()") add :created, :"timestamp with time zone", null: false, default: now add :modified, :"timestamp with time zone", null: false, default: now end def modified_trigge...
30.625
73
0.695918
da4ff8be005831bd5e7d4a3e5009ba7ab3b9bb7c
251
ex
Elixir
lib/polaris/polaris.ex
mayel/polaris
9b610f83883d009847a72452635d18427f1c7872
[ "Apache-2.0" ]
2
2020-05-02T00:16:35.000Z
2020-06-18T11:43:17.000Z
lib/polaris/polaris.ex
mayel/polaris
9b610f83883d009847a72452635d18427f1c7872
[ "Apache-2.0" ]
2
2021-03-10T10:35:32.000Z
2021-05-11T06:13:28.000Z
lib/polaris/polaris.ex
mayel/polaris
9b610f83883d009847a72452635d18427f1c7872
[ "Apache-2.0" ]
2
2020-12-03T10:41:14.000Z
2022-01-17T20:22:50.000Z
defmodule Polaris do @moduledoc """ Polaris keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.1
66
0.752988
da4ffd86ac8acf85b587deb595a6148f4249010a
1,076
exs
Elixir
mix.exs
joshnuss/phoenix-billing-demo
f72f4de6c975624b2b8b6c189126df32992b5936
[ "MIT" ]
62
2015-09-19T02:06:39.000Z
2021-03-15T04:35:50.000Z
mix.exs
joshnuss/phoenix-billing-demo
f72f4de6c975624b2b8b6c189126df32992b5936
[ "MIT" ]
4
2015-09-23T03:42:23.000Z
2017-01-14T18:03:20.000Z
mix.exs
joshnuss/phoenix-billing-demo
f72f4de6c975624b2b8b6c189126df32992b5936
[ "MIT" ]
8
2015-09-19T16:14:40.000Z
2020-10-28T21:38:18.000Z
defmodule Store.Mixfile do use Mix.Project def project do [app: :store, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end ...
26.9
63
0.596654
da502b7f523a03eda1a1c9f8fe49c9111d773aee
1,004
ex
Elixir
lib/lib_ten/products/emails.ex
10clouds/10Books
622360ea190421e07d4b207700867be105894218
[ "MIT" ]
11
2018-08-29T15:59:09.000Z
2021-08-25T16:35:13.000Z
lib/lib_ten/products/emails.ex
fram74/10Books
9e4e280032c7f7b9625c831efa9850d999327e53
[ "MIT" ]
16
2018-08-29T15:43:52.000Z
2021-05-09T00:53:56.000Z
lib/lib_ten/products/emails.ex
fram74/10Books
9e4e280032c7f7b9625c831efa9850d999327e53
[ "MIT" ]
3
2019-05-29T14:22:59.000Z
2020-06-06T12:30:54.000Z
defmodule LibTen.Products.Emails do import Bamboo.Email use Bamboo.Phoenix, view: LibTenWeb.ProductsView alias LibTen.Products.Product alias LibTen.Accounts.User @default_endpoint LibTenWeb.Endpoint def product_has_been_returned(%Product{} = product, %User{} = user) do new_email() |> to(user.ema...
26.421053
74
0.677291
da505c587d6a5f727ec46972d627f361783e8d0b
1,966
exs
Elixir
clients/binary_authorization/mix.exs
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/binary_authorization/mix.exs
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/binary_authorization/mix.exs
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "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...
29.343284
181
0.672431
da509de565c0c3d819b72fbe333fe80b39c82550
5,666
ex
Elixir
lib/ex_aws/request.ex
andrewhr/ex_aws
47fcd13b2767aecddd2471388263539f3d9a6851
[ "MIT" ]
643
2017-10-17T12:55:11.000Z
2022-03-24T15:23:37.000Z
lib/ex_aws/request.ex
andrewhr/ex_aws
47fcd13b2767aecddd2471388263539f3d9a6851
[ "MIT" ]
338
2017-10-17T11:12:21.000Z
2022-03-20T09:48:23.000Z
lib/ex_aws/request.ex
andrewhr/ex_aws
47fcd13b2767aecddd2471388263539f3d9a6851
[ "MIT" ]
319
2017-10-17T17:39:44.000Z
2022-03-29T13:35:34.000Z
defmodule ExAws.Request do @moduledoc """ Makes requests to AWS. """ require Logger @type http_status :: pos_integer @type success_content :: %{body: binary, headers: [{binary, binary}]} @type success_t :: {:ok, success_content} @type error_t :: {:error, {:http_error, http_status, binary}} @type res...
30.627027
133
0.592305
da50cba19d71837375d512fe3077188373d5e2cd
953
ex
Elixir
core/ets/memcache.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:11.000Z
2020-08-27T18:43:11.000Z
core/ets/memcache.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
null
null
null
core/ets/memcache.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:21.000Z
2020-08-27T18:43:21.000Z
# Copyright(c) 2015-2020 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.Ets.Memcache do alias Croma.Result, as: R alias Antikythera.ExecutorPool.Id, as: EPoolId @table_name :antikythera_memcache defun table_name() :: atom, do: @table_name defun init() :: :ok do AntikytheraCo...
28.878788
126
0.657922
da50dad7eb34b06d7f4e995e04a6fe0071c85fe0
78
ex
Elixir
lib/calixir.ex
rengel-de/calixir
66f49670dbf7de30b8440a9f0e920f7ce074ac22
[ "Apache-2.0" ]
2
2020-07-26T18:39:51.000Z
2021-12-22T17:10:21.000Z
lib/calixir.ex
rengel-de/calixir
66f49670dbf7de30b8440a9f0e920f7ce074ac22
[ "Apache-2.0" ]
null
null
null
lib/calixir.ex
rengel-de/calixir
66f49670dbf7de30b8440a9f0e920f7ce074ac22
[ "Apache-2.0" ]
null
null
null
defmodule Calixir do @moduledoc """ Documentation for Calixir. """ end
11.142857
28
0.679487
da50f0a8b4185d7f12d760e3fba188cbff8e914e
1,144
ex
Elixir
Elixir/phoenixskeleton/test/support/conn_case.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
8
2016-08-14T12:35:16.000Z
2021-01-26T04:05:31.000Z
Elixir/phoenixskeleton/test/support/conn_case.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
null
null
null
Elixir/phoenixskeleton/test/support/conn_case.ex
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
5
2016-08-18T22:12:19.000Z
2020-02-17T18:52:41.000Z
defmodule Phoenixskeleton.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 and query models. Finally, if the test case interacts with...
25.422222
77
0.716783
da512e49c21d4e1da68ea8de9b62c6bd282ea2a4
583
exs
Elixir
test/hound_test.exs
NeoArcanjo/hound
31f15d35aafcebc6263c28948f2bc84eefe8892d
[ "MIT" ]
null
null
null
test/hound_test.exs
NeoArcanjo/hound
31f15d35aafcebc6263c28948f2bc84eefe8892d
[ "MIT" ]
null
null
null
test/hound_test.exs
NeoArcanjo/hound
31f15d35aafcebc6263c28948f2bc84eefe8892d
[ "MIT" ]
null
null
null
defmodule HoundTest do use ExUnit.Case use Hound.Helpers setup do Hound.start_session() parent = self() on_exit(fn -> Hound.end_session(parent) end) :ok end test "should return driver info" do {:ok, driver_info} = Hound.driver_info() assert driver_info[:driver_type] == nil end t...
22.423077
66
0.699828
da514e1eed72f1df1073c957cc63d3abaae9cafc
1,517
exs
Elixir
iex.exs
caironoleto/my-dot-files
d4b0e7862d892467bc32c0f6a672a914340dabee
[ "MIT" ]
2
2019-09-17T19:29:31.000Z
2020-04-30T01:13:38.000Z
iex.exs
caironoleto/my-dot-files
d4b0e7862d892467bc32c0f6a672a914340dabee
[ "MIT" ]
null
null
null
iex.exs
caironoleto/my-dot-files
d4b0e7862d892467bc32c0f6a672a914340dabee
[ "MIT" ]
2
2019-08-08T17:09:36.000Z
2020-04-30T01:15:11.000Z
# Will be using `ANSI` Application.put_env(:elixir, :ansi_enabled, true) # Letting people know what iex.exs they are using IO.puts IO.ANSI.magenta_background() <> IO.ANSI.bright() <> IO.ANSI.underline() # <> IO.ANSI.blink_slow() <> "Using global .iex.exs (located in ~/.iex.exs)" <> IO.ANSI.reset() # G...
30.34
84
0.644034
da514f6247219efc7488f8dfe02a1cb9ad2c41be
8,085
ex
Elixir
apps/hefty/lib/hefty/trades.ex
Cinderella-Man/crypto-streamer
b1e990d375f7143c5149930be991249f0d9c3ee3
[ "MIT" ]
49
2019-10-28T22:27:28.000Z
2021-10-11T06:40:29.000Z
apps/hefty/lib/hefty/trades.ex
Cinderella-Man/crypto-streamer
b1e990d375f7143c5149930be991249f0d9c3ee3
[ "MIT" ]
9
2019-08-30T13:15:36.000Z
2019-10-10T21:25:14.000Z
apps/hefty/lib/hefty/trades.ex
Cinderella-Man/crypto-streamer
b1e990d375f7143c5149930be991249f0d9c3ee3
[ "MIT" ]
7
2019-10-31T06:19:26.000Z
2021-09-30T04:20:58.000Z
defmodule Hefty.Trades do require Logger import Ecto.Query, only: [from: 2] alias Decimal, as: D alias Hefty.Repo.Trade alias Hefty.Repo.Binance.Order @fee D.new(Application.get_env(:hefty, :trading).defaults.fee) def fetch(offset, limit, symbol \\ "") do Logger.debug("Fetching trades for a symbol...
29.833948
102
0.619913
da5150c2c62901a42e94be123b43735a66cf9eb1
61
ex
Elixir
lib/chatter_web/views/page_view.ex
E1337Kat/chatter
e21728af5bfcadf3723b531081e0536a95da043e
[ "MIT" ]
2
2019-08-29T19:35:01.000Z
2019-08-31T04:08:03.000Z
lib/chatter_web/views/page_view.ex
E1337Kat/chatter
e21728af5bfcadf3723b531081e0536a95da043e
[ "MIT" ]
1
2020-07-16T23:18:36.000Z
2020-07-16T23:18:36.000Z
lib/chatter_web/views/page_view.ex
E1337Kat/chatter
e21728af5bfcadf3723b531081e0536a95da043e
[ "MIT" ]
null
null
null
defmodule ChatterWeb.PageView do use ChatterWeb, :view end
15.25
32
0.803279