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
9726531df9ffb3b74e7b3a1f187bb988f044467b
68
ex
Elixir
lib/blunt_api/repo.ex
noobiehacker/phoenixFilter
42d913cc0b76b58ccbddf0a37b8f21dc6c639a3d
[ "Apache-2.0" ]
null
null
null
lib/blunt_api/repo.ex
noobiehacker/phoenixFilter
42d913cc0b76b58ccbddf0a37b8f21dc6c639a3d
[ "Apache-2.0" ]
null
null
null
lib/blunt_api/repo.ex
noobiehacker/phoenixFilter
42d913cc0b76b58ccbddf0a37b8f21dc6c639a3d
[ "Apache-2.0" ]
null
null
null
defmodule BluntApi.Repo do use Ecto.Repo, otp_app: :blunt_api end
17
36
0.779412
972657bc603c7e83f50991ce837501136219f16e
3,327
exs
Elixir
test/protocol/pack_test.exs
sasa1977/smppex
21bc56e433b3c6fb0becddb5fbbe06edcedc40c2
[ "MIT" ]
49
2019-11-27T00:20:59.000Z
2022-02-18T17:07:14.000Z
test/protocol/pack_test.exs
sasa1977/smppex
21bc56e433b3c6fb0becddb5fbbe06edcedc40c2
[ "MIT" ]
62
2016-05-19T17:11:02.000Z
2019-11-21T16:47:15.000Z
test/protocol/pack_test.exs
sasa1977/smppex
21bc56e433b3c6fb0becddb5fbbe06edcedc40c2
[ "MIT" ]
25
2016-05-20T14:44:43.000Z
2019-11-15T14:50:24.000Z
defmodule SMPPEX.Protocol.PackTest do use ExUnit.Case alias SMPPEX.Protocol.Pack test "integer" do assert_raise FunctionClauseError, fn -> Pack.integer(123, 3) end assert {:error, _} = Pack.integer(:bad_int, 1) assert {:error, _} = Pack.integer(256, 1) assert {:error, _} = Pack.integer(65_536,...
36.966667
93
0.58942
97268462d1c332140f3d3142d4f02e1156ce08c4
2,861
ex
Elixir
elixir/lib/homework/transactions.ex
n7down/web-homework
53a65cbd852fe0abd542ff1bd29ebbf450e87d5f
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions.ex
n7down/web-homework
53a65cbd852fe0abd542ff1bd29ebbf450e87d5f
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions.ex
n7down/web-homework
53a65cbd852fe0abd542ff1bd29ebbf450e87d5f
[ "MIT" ]
null
null
null
defmodule Homework.Transactions do @moduledoc """ The Transactions context. """ import Ecto.Query, warn: false alias Homework.Repo alias Homework.Transactions.Transaction @doc """ Returns the list of transactions. ## Examples iex> list_transactions([]) [%Transaction{}, ...] """ d...
20.883212
96
0.641035
972685b7250bfcb386d2d2cb3b252a87186084d4
114
exs
Elixir
apps/evm/test/evm/operation/duplication_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/evm/test/evm/operation/duplication_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/evm/test/evm/operation/duplication_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule EVM.Operation.DuplicationTest do use ExUnit.Case, async: true doctest EVM.Operation.Duplication end
22.8
42
0.815789
97269aae437e36d967967c71fef0bbc92f2cca1e
3,147
exs
Elixir
test/chat_api/users_test.exs
xprazak2/papercups
925e7c20ab868648e078a129e832856026c50424
[ "MIT" ]
1
2021-01-18T09:57:23.000Z
2021-01-18T09:57:23.000Z
test/chat_api/users_test.exs
xprazak2/papercups
925e7c20ab868648e078a129e832856026c50424
[ "MIT" ]
null
null
null
test/chat_api/users_test.exs
xprazak2/papercups
925e7c20ab868648e078a129e832856026c50424
[ "MIT" ]
null
null
null
defmodule ChatApi.UsersTest do use ChatApi.DataCase, async: true @moduledoc false import ChatApi.Factory alias ChatApi.Users alias ChatApi.Users.User alias ChatApi.Users.UserSettings describe "profiles" do alias ChatApi.Users.UserProfile @valid_attrs %{ display_name: "some display_name",...
30.852941
99
0.671751
9726adca1ae2b4ee06d44e33865b45db71d4847f
265
ex
Elixir
postgis-ecto/gis_demo/lib/gis_demo/repo.ex
wisq/slides
e0a1b9dd8187b82c8772b4e6ab20f8b069e1feb1
[ "MIT" ]
null
null
null
postgis-ecto/gis_demo/lib/gis_demo/repo.ex
wisq/slides
e0a1b9dd8187b82c8772b4e6ab20f8b069e1feb1
[ "MIT" ]
null
null
null
postgis-ecto/gis_demo/lib/gis_demo/repo.ex
wisq/slides
e0a1b9dd8187b82c8772b4e6ab20f8b069e1feb1
[ "MIT" ]
null
null
null
defmodule GisDemo.Repo do use Ecto.Repo, otp_app: :gis_demo @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
22.083333
66
0.698113
9726dbdd3fa8245d045a5b45b889b80cfe45c765
1,261
exs
Elixir
config/config.exs
iautom8things/simple_token_authentication
38b46f6407e10efa37bd89f37a78cca4e542990b
[ "MIT" ]
null
null
null
config/config.exs
iautom8things/simple_token_authentication
38b46f6407e10efa37bd89f37a78cca4e542990b
[ "MIT" ]
null
null
null
config/config.exs
iautom8things/simple_token_authentication
38b46f6407e10efa37bd89f37a78cca4e542990b
[ "MIT" ]
1
2020-12-02T21:17:49.000Z
2020-12-02T21:17:49.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # 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 loaded nor affect the paren...
36.028571
73
0.752577
9726fc46b5066cc0be4557f5ea926aa07255999e
261
ex
Elixir
lib/opencov/types/json.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
null
null
null
lib/opencov/types/json.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
null
null
null
lib/opencov/types/json.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
null
null
null
defmodule Opencov.Types.JSON do @behaviour Ecto.Type def type, do: :json def cast(any), do: {:ok, any} def load(value), do: Poison.decode(value) def dump(value) when is_binary(value), do: {:ok, value} def dump(value), do: Poison.encode(value) end
23.727273
57
0.681992
972700195d1086954484777af534e9c0694b7b8c
793
ex
Elixir
lib/aggregates/series.ex
crertel/zamrazac
75b9018da8ae134624a00dd9bfb85e4002c651d2
[ "MIT" ]
5
2019-05-23T19:57:43.000Z
2019-10-12T03:21:03.000Z
lib/aggregates/series.ex
crertel/zamrazac
75b9018da8ae134624a00dd9bfb85e4002c651d2
[ "MIT" ]
7
2019-07-01T19:40:10.000Z
2021-12-14T11:00:14.000Z
lib/aggregates/series.ex
crertel/zamrazac
75b9018da8ae134624a00dd9bfb85e4002c651d2
[ "MIT" ]
null
null
null
defmodule Zamrazac.Aggregate.Series do alias Zamrazac.Input.Metadata @moduledoc """ Module for handling aggregates of post series. """ def run(metadatas) when is_list(metadatas) do series_map = metadatas |> Enum.group_by( fn( %Metadata{series: series})-> series end, fn %Metadata{slug: slug} -> slug ...
31.72
104
0.675914
972703b929a583adec54b4ef056dd656176a7ed0
1,116
exs
Elixir
test/bitpal_api/authentication/rest_auth_test.exs
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
5
2021-05-04T21:28:00.000Z
2021-12-01T11:19:48.000Z
test/bitpal_api/authentication/rest_auth_test.exs
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
71
2021-04-21T05:48:49.000Z
2022-03-23T06:30:37.000Z
test/bitpal_api/authentication/rest_auth_test.exs
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
1
2021-04-25T10:35:41.000Z
2021-04-25T10:35:41.000Z
defmodule BitPalApi.AuthTest do use BitPalApi.ConnCase, async: true defp protected_requests do [ {:post, "/v1/invoices"}, {:get, "/v1/invoices/0"}, {:post, "/v1/invoices/0"}, {:delete, "/v1/invoices/0"}, {:post, "/v1/invoices/0/finalize"}, {:post, "/v1/invoices/0/pay"}, ...
24.8
50
0.560932
9727059963eac1231cd638be183ae25cee86e749
632
ex
Elixir
lib/docusign/model/external_doc_service_error_details.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/external_doc_service_error_details.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/external_doc_service_error_details.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# 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 DocuSign.Model.ExternalDocServiceErrorDetails do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :authenticationUrl, :er...
21.793103
77
0.672468
972737fe7db103a720aa15489047590264b92be4
69
ex
Elixir
lib/lit.ex
muhammedsekerci/lit
b58c6135134688ed1ed16f7b2e0f9a6396b2be67
[ "MIT" ]
14
2020-12-22T08:26:15.000Z
2022-01-11T16:08:14.000Z
lib/lit.ex
muhammedsekerci/lit
b58c6135134688ed1ed16f7b2e0f9a6396b2be67
[ "MIT" ]
2
2021-04-06T19:22:55.000Z
2021-05-31T14:02:40.000Z
lib/lit.ex
muhammedsekerci/lit
b58c6135134688ed1ed16f7b2e0f9a6396b2be67
[ "MIT" ]
7
2021-02-03T23:44:12.000Z
2021-12-27T05:09:40.000Z
defmodule Lit do @moduledoc """ Documentation for Lit. """ end
11.5
24
0.652174
97273c6951062bce7688b8d795c0613fb80a897a
3,348
ex
Elixir
clients/games/lib/google_api/games/v1/model/snapshot.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/games/lib/google_api/games/v1/model/snapshot.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/games/lib/google_api/games/v1/model/snapshot.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...
43.480519
210
0.669654
97274d7723ad57c3c14d485ab17c8cf956b3b509
2,519
ex
Elixir
clients/network_management/lib/google_api/network_management/v1/model/operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_management/lib/google_api/network_management/v1/model/operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_management/lib/google_api/network_management/v1/model/operation_metadata.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...
38.753846
154
0.689956
97275ca8d6af5c4987e6d34d690174e3a6f34410
1,357
ex
Elixir
clients/keto/elixir/lib/keto/deserializer.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/keto/elixir/lib/keto/deserializer.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/keto/elixir/lib/keto/deserializer.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule Keto.Deserializer do @moduledoc """ Helper functions for deserializing responses into models """ @doc """ Update the provided model with a ...
34.794872
139
0.630066
97279d4fe76ad177e737bbca15342b5792b0d81c
624
ex
Elixir
clients/elixir/generated/lib/swaggy_jenkins/model/favorite_impllinks.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
23
2017-08-01T12:25:26.000Z
2022-01-25T03:44:11.000Z
clients/elixir/generated/lib/swaggy_jenkins/model/favorite_impllinks.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
35
2017-06-14T03:28:15.000Z
2022-02-14T10:25:54.000Z
clients/elixir/generated/lib/swaggy_jenkins/model/favorite_impllinks.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
11
2017-08-31T19:00:20.000Z
2021-12-19T12:04:12.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule SwaggyJenkins.Model.FavoriteImpllinks do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"self", :"_class" ] @type t...
20.8
91
0.685897
9727a6fbd75ebc88f01bd58409cc3d23ce6a517e
2,622
exs
Elixir
server/test/realtime_web/channels/user_socket_test.exs
Omneedia/realtime
90a72170aa1502e211c9f5cbf638c60add6faaf6
[ "Apache-2.0" ]
null
null
null
server/test/realtime_web/channels/user_socket_test.exs
Omneedia/realtime
90a72170aa1502e211c9f5cbf638c60add6faaf6
[ "Apache-2.0" ]
null
null
null
server/test/realtime_web/channels/user_socket_test.exs
Omneedia/realtime
90a72170aa1502e211c9f5cbf638c60add6faaf6
[ "Apache-2.0" ]
null
null
null
defmodule RealtimeWeb.UserSocketTest do use RealtimeWeb.ChannelCase import Mock alias Phoenix.Socket alias RealtimeWeb.{UserSocket, ChannelsAuthorization} test "connect/2 when :secure_channels config is false" do Application.put_env(:realtime, :secure_channels, false) assert {:ok, %Socket{}} = Use...
33.615385
99
0.590389
9727c6921e9fa9ca6fad62156960aafee99bab26
836
ex
Elixir
lib/simple_api/auth/user.ex
miklt/api-simples
1344928f647d72fad76307228849532c9c76b473
[ "MIT" ]
null
null
null
lib/simple_api/auth/user.ex
miklt/api-simples
1344928f647d72fad76307228849532c9c76b473
[ "MIT" ]
null
null
null
lib/simple_api/auth/user.ex
miklt/api-simples
1344928f647d72fad76307228849532c9c76b473
[ "MIT" ]
null
null
null
defmodule SimpleApi.Auth.User do use Ecto.Schema import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "users" do field :email, :string field :is_active, :boolean, default: false field :password, :string, virtual: true field :password_has...
26.125
104
0.698565
9727fe65e96664c25b791f6fddc41c0ca0ba6619
566
exs
Elixir
elixir/day5/mix.exs
marclefrancois/advent-of-code-2018
75c2a088af3a6bac3fd8f86f2cb5fa21164f6ba5
[ "MIT" ]
null
null
null
elixir/day5/mix.exs
marclefrancois/advent-of-code-2018
75c2a088af3a6bac3fd8f86f2cb5fa21164f6ba5
[ "MIT" ]
null
null
null
elixir/day5/mix.exs
marclefrancois/advent-of-code-2018
75c2a088af3a6bac3fd8f86f2cb5fa21164f6ba5
[ "MIT" ]
null
null
null
defmodule Day5.MixProject do use Mix.Project def project do [ app: :day5, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applicati...
19.517241
88
0.570671
972825c80f3a4d48bcf63ebdb838cc0d8b8391e5
1,399
exs
Elixir
apps/firestorm_data/test/firestorm_data/commands/get_home_categories_test.exs
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
10
2017-06-28T08:06:52.000Z
2022-03-19T17:49:21.000Z
apps/firestorm_data/test/firestorm_data/commands/get_home_categories_test.exs
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
null
null
null
apps/firestorm_data/test/firestorm_data/commands/get_home_categories_test.exs
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
2
2017-10-21T12:01:02.000Z
2021-01-29T10:26:22.000Z
defmodule FirestormData.Commands.GetHomeCategoriesTest do use FirestormData.UnitCase alias FirestormData.Commands.{CreateCategory, GetHomeCategories} alias FirestormData.{Repo} setup do :ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo) end describe "fetching categories for the home screen" do setup [...
23.316667
66
0.651894
9728296046b72ffbeb003ab055549d47ad734933
2,293
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_set_suggestion_feature_config_request.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_set_suggestion_feature_config_request.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_set_suggestion_feature_config_request.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...
37.590164
225
0.767117
97282988685c6cdfc8f74d91fcbc2f4bc540e922
9,171
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/paragraph_style.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/paragraph_style.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/docs/lib/google_api/docs/v1/model/paragraph_style.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...
85.71028
760
0.731654
97283f7b2180c794df6a23b53ba09914fbda8852
112
ex
Elixir
lib/cat_on_duty/repo.ex
psolvy/cat_on_duty
b03ba225286c85407ca21576c39225f058b22b56
[ "MIT" ]
3
2020-11-23T15:30:04.000Z
2020-12-01T17:11:49.000Z
lib/cat_on_duty/repo.ex
psolvy/cat_on_duty
b03ba225286c85407ca21576c39225f058b22b56
[ "MIT" ]
1
2020-12-29T09:09:03.000Z
2020-12-29T09:09:03.000Z
lib/cat_on_duty/repo.ex
psolvy/cat_on_duty
b03ba225286c85407ca21576c39225f058b22b56
[ "MIT" ]
1
2021-08-11T10:10:16.000Z
2021-08-11T10:10:16.000Z
defmodule CatOnDuty.Repo do use Ecto.Repo, otp_app: :cat_on_duty, adapter: Ecto.Adapters.Postgres end
18.666667
35
0.741071
97288ff734f04b10f4202df850c079445e079250
6,879
exs
Elixir
test/game/command/train_test.exs
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
test/game/command/train_test.exs
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
test/game/command/train_test.exs
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
defmodule Game.Command.TrainTest do use Data.ModelCase doctest Game.Command.Train alias Game.Command.Train @socket Test.Networking.Socket @room Test.Game.Room setup do @socket.clear_messages() user = create_user(%{name: "user", password: "password"}) %{state: %{socket: :socket, user: user, s...
32.295775
104
0.592528
9728ad8685abe8f97a16d31934ac78ad6509ed4f
1,530
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/read_instruction.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/read_instruction.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/read_instruction.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...
32.553191
110
0.743137
9728cd9b1f2c1e4da9f62acef4789bea75a81e27
1,146
ex
Elixir
lib/shopify/rest/config.ex
malomohq/shopify-rest-elixir
9817b4227808614d15993043db019542b0de7c0b
[ "MIT" ]
null
null
null
lib/shopify/rest/config.ex
malomohq/shopify-rest-elixir
9817b4227808614d15993043db019542b0de7c0b
[ "MIT" ]
4
2020-04-24T20:15:25.000Z
2022-02-24T17:17:51.000Z
lib/shopify/rest/config.ex
malomohq/shopify-rest-elixir
9817b4227808614d15993043db019542b0de7c0b
[ "MIT" ]
1
2020-04-15T20:03:47.000Z
2020-04-15T20:03:47.000Z
defmodule Shopify.REST.Config do @type t :: %__MODULE__{ access_token: String.t(), headers: list({ String.t(), any }), host: String.t(), http_client: module, http_client_opts: any, json_codec: module, limiter: atom | boolean...
27.285714
53
0.466841
9728e6b947aab51c2b1c9e768dd32e53a029a9ab
6,852
exs
Elixir
test/engine/inclusive_gateway_test.exs
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
test/engine/inclusive_gateway_test.exs
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
test/engine/inclusive_gateway_test.exs
cjsuite/bpxe
4b4759b7e2e8ced9f6f76ab55e5da26eb319a7c9
[ "Apache-2.0" ]
null
null
null
defmodule BPXETest.Engine.InclusiveGateway do use ExUnit.Case, async: true alias BPXE.Engine.Model alias BPXE.Engine.{Process, Event, Task, SequenceFlow} alias BPXE.Engine.Process.Log doctest BPXE.Engine.InclusiveGateway @xsi "http://www.w3.org/2001/XMLSchema-instance" test "forking inclusive gateway sh...
36.641711
164
0.635143
97292564e146ab864d51e011e1432c8436241a27
481
ex
Elixir
lib/gh_web/views/error_view.ex
snamiki1212/example-elixir-phoenix-nuron-graphql
57b7f255db683a880d1b31f65a4328606d4d0009
[ "MIT" ]
null
null
null
lib/gh_web/views/error_view.ex
snamiki1212/example-elixir-phoenix-nuron-graphql
57b7f255db683a880d1b31f65a4328606d4d0009
[ "MIT" ]
null
null
null
lib/gh_web/views/error_view.ex
snamiki1212/example-elixir-phoenix-nuron-graphql
57b7f255db683a880d1b31f65a4328606d4d0009
[ "MIT" ]
null
null
null
defmodule GhWeb.ErrorView do use GhWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. For exam...
28.294118
61
0.72973
97293b99f86c1baac39fcd9325eb81a04eb208eb
856
exs
Elixir
mix.exs
papey/o2m
9b48d6ca49042911ef3118777d60d3ad0b1f8e6a
[ "Unlicense" ]
6
2020-05-30T14:04:35.000Z
2021-05-26T00:40:17.000Z
mix.exs
papey/o2m
9b48d6ca49042911ef3118777d60d3ad0b1f8e6a
[ "Unlicense" ]
4
2019-11-05T21:10:09.000Z
2022-01-29T19:03:29.000Z
mix.exs
papey/o2m
9b48d6ca49042911ef3118777d60d3ad0b1f8e6a
[ "Unlicense" ]
1
2019-11-05T18:31:48.000Z
2019-11-05T18:31:48.000Z
defmodule O2M.MixProject do use Mix.Project def project do [ app: :o2m, version: "0.10.7", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), docs: [ # The main page in the docs main: "O2M", extras: ["README.md"] ] ] end...
20.878049
59
0.496495
97294371651b0ed050c046ea3598dec98d1d1d12
2,108
ex
Elixir
clients/recommender/lib/google_api/recommender/v1beta1/model/google_cloud_recommender_v1beta1_list_insights_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/recommender/lib/google_api/recommender/v1beta1/model/google_cloud_recommender_v1beta1_list_insights_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/recommender/lib/google_api/recommender/v1beta1/model/google_cloud_recommender_v1beta1_list_insights_response.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...
35.133333
180
0.75
97294880e86d53420ad6f7a7cb6f56c9bdf28c68
1,510
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/deployable.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/deployable.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/deployable.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...
32.12766
122
0.742384
97294a52e86b1e6f7a153c9c0622202d6b6d3c84
1,843
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/billing_destination.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/model/billing_destination.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/model/billing_destination.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...
34.773585
123
0.735757
97296e0d4777a4824e91fda1236b12482077863f
160
ex
Elixir
lib/hl7/2.3/segments/rdt.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/segments/rdt.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/segments/rdt.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3.Segments.RDT do @moduledoc false require Logger use HL7.Segment, fields: [ segment: nil, column_value: nil ] end
13.333333
34
0.64375
972977c05ef72dc9c5325c265221351cf0e89c06
176
exs
Elixir
config/prod.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
config/prod.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
config/prod.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
use Mix.Config config :lager, :handlers, [{LagerLogger, [level: :error]}] config :comeonin, bcrypt_log_rounds: 14 config :cog, Cog.Chat.Adapter, cache_ttl: {60, :sec}
16
34
0.693182
9729ad0d066131933faa132d259e4b2e9abb14dc
1,190
ex
Elixir
lib/example_profile_read.ex
ZennerIoT/element-parsers
0a828fd4d9d96f417839cbab5b491c21a07efd1c
[ "MIT" ]
31
2017-10-18T13:21:02.000Z
2022-03-17T13:24:36.000Z
lib/example_profile_read.ex
ZennerIoT/element-parsers
0a828fd4d9d96f417839cbab5b491c21a07efd1c
[ "MIT" ]
13
2018-04-05T12:48:14.000Z
2021-08-19T12:22:12.000Z
lib/example_profile_read.ex
ZennerIoT/element-parsers
0a828fd4d9d96f417839cbab5b491c21a07efd1c
[ "MIT" ]
22
2018-02-26T08:31:29.000Z
2022-03-17T13:28:12.000Z
defmodule Parser do use Platform.Parsing.Behaviour require Logger # Example parser for reading values from device profile # # A profile has a "technical name" and each field has its own "technical name". # These are needed here, NOT the display name! # # Changelog: # 2019-09-30 [jb]: Initial implem...
22.037037
85
0.566387
9729b16cad4e174b6cff5952d4fafd84e8d83909
21,190
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/target_instances.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_instances.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_instances.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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...
52.842893
511
0.656159
9729cbc9752020a91364def432efd28d615b9fcd
2,494
ex
Elixir
lib/blue_heron/hci/events/command_complete.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
1
2020-10-28T14:49:23.000Z
2020-10-28T14:49:23.000Z
lib/blue_heron/hci/events/command_complete.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
null
null
null
lib/blue_heron/hci/events/command_complete.ex
kevinansfield/blue_heron
8339e6747e135030f7d1e67801391f03f2558e0d
[ "Apache-2.0" ]
1
2021-08-25T06:58:03.000Z
2021-08-25T06:58:03.000Z
defmodule BlueHeron.HCI.Event.CommandComplete do use BlueHeron.HCI.Event, code: 0x0E @moduledoc """ > The Command Complete event is used by the Controller for most commands to > transmit return status of a command and the other event parameters that are > specified for the issued HCI command. Reference: V...
31.974359
98
0.711708
9729dbb68c28b94bd9d662d4bf1b515e2d00899b
1,839
ex
Elixir
apps/mishka_api/lib/mishka_api_web.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_api/lib/mishka_api_web.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_api/lib/mishka_api_web.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
defmodule MishkaApiWeb 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 MishkaApiWeb, :controller use MishkaApiWeb, :view The definitions below will be executed for every view, contro...
23.278481
76
0.692224
9729ef0d917567bb289bc73533090a05660679d9
1,903
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_beta1_import_producer_quota_policies_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_beta1_import_producer_quota_policies_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_beta1_import_producer_quota_policies_response.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...
33.385965
183
0.760378
972a1604aeecc02f6291cc904d9b74a1c3ba56b0
85
ex
Elixir
lib/page_change_notifier_web/views/search_view.ex
elitau/page_change_notifier
55c02ef0a464040d98cf416c131e39e7a09df975
[ "MIT" ]
null
null
null
lib/page_change_notifier_web/views/search_view.ex
elitau/page_change_notifier
55c02ef0a464040d98cf416c131e39e7a09df975
[ "MIT" ]
null
null
null
lib/page_change_notifier_web/views/search_view.ex
elitau/page_change_notifier
55c02ef0a464040d98cf416c131e39e7a09df975
[ "MIT" ]
null
null
null
defmodule PageChangeNotifierWeb.SearchView do use PageChangeNotifierWeb, :view end
21.25
45
0.858824
972a1e5742ca168414a0eddba4a920ff80dc2879
1,766
exs
Elixir
mix.exs
menxs/mafia_interface
311f709e512dca4e26b0c0faccf5dfe07df20673
[ "MIT" ]
null
null
null
mix.exs
menxs/mafia_interface
311f709e512dca4e26b0c0faccf5dfe07df20673
[ "MIT" ]
null
null
null
mix.exs
menxs/mafia_interface
311f709e512dca4e26b0c0faccf5dfe07df20673
[ "MIT" ]
1
2022-03-28T06:09:12.000Z
2022-03-28T06:09:12.000Z
defmodule MafiaInterface.MixProject do use Mix.Project def project do [ app: :mafia_interface, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases:...
27.169231
84
0.580408
972a3eda8ec029989c8478985d111c6348c465d4
360
ex
Elixir
priv/templates/phx.gen.context/fixtures.ex
FreedomBen/malan
ec8cd6ed3694e33371f065f018b1169956f2accf
[ "MIT" ]
3
2021-04-24T17:54:55.000Z
2021-09-10T15:40:19.000Z
priv/templates/phx.gen.context/fixtures.ex
FreedomBen/malan
ec8cd6ed3694e33371f065f018b1169956f2accf
[ "MIT" ]
57
2021-04-24T03:17:16.000Z
2022-03-27T04:50:22.000Z
priv/templates/phx.gen.context/fixtures.ex
FreedomBen/malan
ec8cd6ed3694e33371f065f018b1169956f2accf
[ "MIT" ]
null
null
null
def <%= schema.singular %>_fixture(attrs \\ %{}) do {:ok, <%= schema.singular %>} = attrs |> Enum.into(%{ <%= schema.params.create |> Enum.map(fn {key, val} -> " \"#{key}\" => #{inspect(val)}" end) |> Enum.join(",\n") %> }) |> <%= inspect context.module %>.create_<%= schema.singular...
32.727273
121
0.491667
972a7e854aeffa9cb95f74bba6c0762f8c8632a8
2,026
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__entity.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__entity.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__entity.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...
33.766667
111
0.72458
972a83f9a93429570ff83539946a4dacd9ce4929
60,586
ex
Elixir
lib/phoenix_live_view.ex
hypno2000/phoenix_live_view
f9aa7fea9c7baf87448d8666b7340bbb73583611
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
hypno2000/phoenix_live_view
f9aa7fea9c7baf87448d8666b7340bbb73583611
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
hypno2000/phoenix_live_view
f9aa7fea9c7baf87448d8666b7340bbb73583611
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView do @moduledoc ~S""" LiveView provides rich, real-time user experiences with server-rendered HTML. LiveView programming model is declarative: instead of saying "once event X happens, change Y on the page", events in LiveView are regular messages which may cause changes to its st...
39.495437
125
0.690853
972acd87dc411f5723463405cb77ae8bd3089f09
3,047
ex
Elixir
lib/oban/crontab/scheduler.ex
rockwood/oban
34d3b159b4cfb73a76aa081f64fcb2a1c28dc129
[ "Apache-2.0" ]
null
null
null
lib/oban/crontab/scheduler.ex
rockwood/oban
34d3b159b4cfb73a76aa081f64fcb2a1c28dc129
[ "Apache-2.0" ]
null
null
null
lib/oban/crontab/scheduler.ex
rockwood/oban
34d3b159b4cfb73a76aa081f64fcb2a1c28dc129
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Crontab.Scheduler do @moduledoc false use GenServer import Oban.Breaker, only: [open_circuit: 1, trip_errors: 0, trip_circuit: 2] alias Oban.Crontab.Cron alias Oban.{Config, Query} # Make each job unique for 59 seconds to prevent double-enqueue if the node or scheduler # crashes. The mi...
24.18254
95
0.659009
972ae1880f6e2dd598858a639d87d519e272716f
669
ex
Elixir
lib/PullMode/Sink.ex
membraneframework/membrane_performance_test
7a4abf74be04a8b37d3899f416a09b29564817d6
[ "Apache-2.0" ]
null
null
null
lib/PullMode/Sink.ex
membraneframework/membrane_performance_test
7a4abf74be04a8b37d3899f416a09b29564817d6
[ "Apache-2.0" ]
null
null
null
lib/PullMode/Sink.ex
membraneframework/membrane_performance_test
7a4abf74be04a8b37d3899f416a09b29564817d6
[ "Apache-2.0" ]
null
null
null
defmodule PullMode.Sink do use Base.Sink def_input_pad :input, caps: :any, demand_unit: :buffers def_options_with_default() @impl true def handle_init(opts) do Base.Sink.handle_init(opts) end @impl true def handle_write(:input, buffer, ctx, state) do {{:ok, actions}, state} = Base.Si...
20.90625
80
0.663677
972b12297fb2a7c2d5232c9b967bfbfebe7470ac
589
ex
Elixir
lib/code_corps/github/webhook/processor.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
lib/code_corps/github/webhook/processor.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
lib/code_corps/github/webhook/processor.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
defmodule CodeCorps.GitHub.Webhook.Processor do @moduledoc """ Serves as a point of entry to process GitHub webhooks. Can process them synchronously or asynchronously. """ alias CodeCorps.GitHub.Webhook.Handler @doc """ Used to process a Github webhook event in an async manner. Receives the event JS...
25.608696
92
0.724958
972b438ea8ecd14f630eba57e81498e4ee5793cb
1,006
exs
Elixir
test/kaffe/config_test.exs
marinakr/kaffe
7abc5a85f28e770fd077854c975afef9894a8768
[ "MIT" ]
null
null
null
test/kaffe/config_test.exs
marinakr/kaffe
7abc5a85f28e770fd077854c975afef9894a8768
[ "MIT" ]
null
null
null
test/kaffe/config_test.exs
marinakr/kaffe
7abc5a85f28e770fd077854c975afef9894a8768
[ "MIT" ]
null
null
null
defmodule Kaffe.ConfigTest do use ExUnit.Case, async: true describe "heroku_kafka_endpoints/1" do test "transforms endpoints into the correct format" do kafka_url = "kafka+ssl://192.168.1.100:9096,kafka+ssl://192.168.1.101:9096,kafka+ssl://192.168.1.102:9096" expected = [{:"192.168.1.100", 9096}, {...
32.451613
112
0.633201
972b72dbd274f6662fdcba0d7f5109bcfc9707f4
256
ex
Elixir
test/support/zigtest/documentation.ex
jeremyowensboggs/zigler
d1ec07ae66db5c007ff7cfc8a820fb21c661bcea
[ "MIT" ]
349
2019-10-02T07:21:17.000Z
2022-03-21T17:50:06.000Z
test/support/zigtest/documentation.ex
jeremyowensboggs/zigler
d1ec07ae66db5c007ff7cfc8a820fb21c661bcea
[ "MIT" ]
223
2019-10-05T05:36:08.000Z
2022-03-31T23:12:02.000Z
test/support/zigtest/documentation.ex
jeremyowensboggs/zigler
d1ec07ae66db5c007ff7cfc8a820fb21c661bcea
[ "MIT" ]
20
2019-10-08T16:29:39.000Z
2022-03-31T15:07:20.000Z
defmodule ZiglerTest.Integration.Documentation do @moduledoc false # checks which make sure documentation generation is OK. use Zig, dry_run: true ~Z""" /// documentation for foo /// nif: foo/0 fn foo() i32 { return 47; } """ end
15.058824
58
0.65625
972b939d757a8e78762e37a55ce412eda4838eed
140
ex
Elixir
lib/stripe/connect/recipient.ex
Finger-Ink/stripe-elixir
018cef01a6645074547be4a93b6a443d21be2484
[ "MIT" ]
70
2016-07-28T16:39:36.000Z
2021-08-03T14:26:19.000Z
lib/stripe/connect/recipient.ex
Finger-Ink/stripe-elixir
018cef01a6645074547be4a93b6a443d21be2484
[ "MIT" ]
29
2018-09-17T11:35:17.000Z
2021-08-01T11:15:09.000Z
lib/stripe/connect/recipient.ex
Finger-Ink/stripe-elixir
018cef01a6645074547be4a93b6a443d21be2484
[ "MIT" ]
30
2016-10-11T21:07:27.000Z
2020-12-23T20:15:41.000Z
defmodule Stripe.Recipient do use Stripe.API, [:create, :retrieve, :update, :delete, :list] def endpoint do "recipients" end end
17.5
63
0.692857
972b99f9480deb99f511cd921a447fe453e79108
141
exs
Elixir
project3/project3_Bonus/test/project3_test.exs
shubhamagiwal/DOSFall2017
3c1522c4163f57402f147b50614d4051b05a080f
[ "MIT" ]
3
2019-10-28T21:02:55.000Z
2020-10-01T02:29:37.000Z
project3/project3_Bonus/test/project3_test.exs
shubhamagiwal/DOSFall2017
3c1522c4163f57402f147b50614d4051b05a080f
[ "MIT" ]
null
null
null
project3/project3_Bonus/test/project3_test.exs
shubhamagiwal/DOSFall2017
3c1522c4163f57402f147b50614d4051b05a080f
[ "MIT" ]
4
2019-10-12T19:41:58.000Z
2021-09-24T20:24:47.000Z
defmodule Project3Test do use ExUnit.Case doctest Project3 test "greets the world" do assert Project3.hello() == :world end end
15.666667
37
0.716312
972ba1bd9b43f369f188e17098df2acfff3ba1e9
3,135
ex
Elixir
farmbot_os/platform/target/configurator/captive_portal.ex
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
farmbot_os/platform/target/configurator/captive_portal.ex
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
farmbot_os/platform/target/configurator/captive_portal.ex
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Platform.Target.Configurator.CaptivePortal do @moduledoc """ VintageNet Technology that handles redirecting **all** traffic to Farmbot's configuration interface """ @behaviour VintageNet.Technology require FarmbotCore.Logger @impl VintageNet.Technology def normalize(%{vintage_net_...
26.344538
95
0.667305
972bae6ad20f14103faf8822b85f687f15233350
59
exs
Elixir
Easy Challenges/Challenge 0040 Easy/solutions/solution.exs
FreddieV4/DailyProgrammerChallenges
f231fc4728b55ec9ac72d66e5d7ecc6b9377b9cc
[ "MIT" ]
331
2016-03-04T02:13:43.000Z
2017-10-18T09:07:53.000Z
Easy Challenges/Challenge 0040 Easy/solutions/solution.exs
freddiev4/dailyprogrammerchallenges
f231fc4728b55ec9ac72d66e5d7ecc6b9377b9cc
[ "MIT" ]
64
2016-03-15T23:46:42.000Z
2017-10-19T18:25:30.000Z
Easy Challenges/Challenge 0040 Easy/solutions/solution.exs
FreddieV4/DailyProgrammerChallenges
f231fc4728b55ec9ac72d66e5d7ecc6b9377b9cc
[ "MIT" ]
116
2016-03-11T19:59:12.000Z
2017-10-19T18:23:37.000Z
# Not very sporting, but... Enum.each(1..1000, &IO.puts/1)
19.666667
30
0.644068
972baedb1e92784c29291e4e7d950f20f896cc53
1,142
ex
Elixir
lib/rclex_bench/utils.ex
rclex/rclex_bench
960b5439da0f52e1a2307edde1b6e04e0dd80f7a
[ "Apache-2.0" ]
null
null
null
lib/rclex_bench/utils.ex
rclex/rclex_bench
960b5439da0f52e1a2307edde1b6e04e0dd80f7a
[ "Apache-2.0" ]
null
null
null
lib/rclex_bench/utils.ex
rclex/rclex_bench
960b5439da0f52e1a2307edde1b6e04e0dd80f7a
[ "Apache-2.0" ]
null
null
null
defmodule RclexBench.Utils do @moduledoc """ The utility for RclexBench """ def random_string(length) do :crypto.strong_rand_bytes(length) |> Base.encode64() |> binary_part(0, length) end def aggregation_csv(pub_file, sub_file, out_file) do pub_rows = trim_csv(pub_file) sub_rows = trim_csv(s...
24.826087
82
0.638354
972bb64ce5de7300fb51cfa1378fde55997775a6
170
exs
Elixir
priv/repo/migrations/20200429023448_party_description.exs
AminArria/party_hub
aef6d17500856789c115e1c68fc95b853b220e1f
[ "MIT" ]
2
2020-05-22T15:45:53.000Z
2020-06-07T21:07:03.000Z
priv/repo/migrations/20200429023448_party_description.exs
AminArria/party_hub
aef6d17500856789c115e1c68fc95b853b220e1f
[ "MIT" ]
1
2021-03-10T16:36:46.000Z
2021-03-10T16:36:46.000Z
priv/repo/migrations/20200429023448_party_description.exs
AminArria/party_hub
aef6d17500856789c115e1c68fc95b853b220e1f
[ "MIT" ]
null
null
null
defmodule PartyHub.Repo.Migrations.PartyDescription do use Ecto.Migration def change do alter table(:rooms) do add :description, :string end end end
17
54
0.717647
972bc8445aaa2aba20224716cf92503f7e6cf7f8
17,301
ex
Elixir
lib/elixir/lib/task/supervisor.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-04-29T12:35:51.000Z
2019-04-29T12:35:51.000Z
lib/elixir/lib/task/supervisor.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/task/supervisor.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
defmodule Task.Supervisor do @moduledoc """ A task supervisor. This module defines a supervisor which can be used to dynamically supervise tasks. A task supervisor is started with no children, often under a supervisor and a name: children = [ {Task.Supervisor, name: MyApp.TaskSupervisor} ...
36.04375
97
0.677128
972bde9b8e8bf2de120982539e3aa5c98cb489a9
2,329
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/pivot_group_sort_value_bucket.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sheets/lib/google_api/sheets/v4/model/pivot_group_sort_value_bucket.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sheets/lib/google_api/sheets/v4/model/pivot_group_sort_value_bucket.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...
46.58
626
0.74796
972be0e485757985913055e96f3377873663509b
5,553
ex
Elixir
server/lib/oaas/model.ex
christopher-dG/osu-replay-bot
dff626217f6930b0afb2299dac674195b485e4b1
[ "MIT" ]
null
null
null
server/lib/oaas/model.ex
christopher-dG/osu-replay-bot
dff626217f6930b0afb2299dac674195b485e4b1
[ "MIT" ]
null
null
null
server/lib/oaas/model.ex
christopher-dG/osu-replay-bot
dff626217f6930b0afb2299dac674195b485e4b1
[ "MIT" ]
null
null
null
defmodule OAAS.Model do @moduledoc "A generic database model with some CRUD ops." defmacro __using__(_) do quote do alias OAAS.DB import OAAS.Utils @model String.slice(@table, 0, String.length(@table) - 1) @doc "Gets all #{@table}, or a single #{@model} by ID." def get(_) ...
28.921875
92
0.453989
972c2c35fac5c9fe30e940449e84d5b0dacf77ee
362
exs
Elixir
test/test_helper.exs
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
test/test_helper.exs
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
ExUnit.start() defmodule Router do use Phoenix.Router end defmodule Endpoint do use Phoenix.Endpoint, otp_app: :surface plug(Router) end Application.put_env(:surface, Endpoint, secret_key_base: "xM/64j4AU8Y5vpSaR5UDFni94h5EVbRW1njBbGUMAYd79JP2Eyitlv2keTjkQhNU", live_view: [ signing_salt: "4354k5243klh2...
18.1
86
0.787293
972c6e56c7df0077d9c02ce0fa9c58ab2d44181b
382
exs
Elixir
test/valid_fetch_test.exs
d3bbie/valid_fetch
7fefbf157fe8279ec994707a0cb2b7c239dbd144
[ "BSD-3-Clause" ]
null
null
null
test/valid_fetch_test.exs
d3bbie/valid_fetch
7fefbf157fe8279ec994707a0cb2b7c239dbd144
[ "BSD-3-Clause" ]
null
null
null
test/valid_fetch_test.exs
d3bbie/valid_fetch
7fefbf157fe8279ec994707a0cb2b7c239dbd144
[ "BSD-3-Clause" ]
null
null
null
defmodule ValidFetchTest do use ExUnit.Case doctest ValidFetch test "fetch/3 returns {:ok, value} given a valid map/kw and a key" do assert ValidFetch.fetch([hej: "test"], :hej, :binary) == {:ok, "test"} assert ValidFetch.fetch(%{"hej" => "test"}, "hej", :binary) == {:ok, "test"} assert ValidFetch.fe...
34.727273
80
0.625654
972cbc235992ee7ee8a44437c942d69e264bdd05
77
exs
Elixir
test/poison_test.exs
CleverBytes/poison
eb48f76c2d3172c908035311c79ce21ac6fa16af
[ "CC0-1.0" ]
2,021
2015-01-01T15:06:29.000Z
2022-03-25T10:28:58.000Z
test/poison_test.exs
CleverBytes/poison
eb48f76c2d3172c908035311c79ce21ac6fa16af
[ "CC0-1.0" ]
157
2015-01-04T04:14:31.000Z
2022-03-18T07:43:39.000Z
test/poison_test.exs
CleverBytes/poison
eb48f76c2d3172c908035311c79ce21ac6fa16af
[ "CC0-1.0" ]
264
2015-01-12T23:40:09.000Z
2022-03-18T11:03:01.000Z
defmodule PoisonTest do use ExUnit.Case, async: true doctest Poison end
12.833333
30
0.766234
972cec7c32864a3361acace57b30b463146c35d4
210
ex
Elixir
apps/wechat_mp/lib/wechat_mp/api/model/user_list.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
apps/wechat_mp/lib/wechat_mp/api/model/user_list.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
apps/wechat_mp/lib/wechat_mp/api/model/user_list.ex
secretworry/exwechat
2d3a8bf03135eebd58452122c2f7b3718b5f5b3d
[ "Apache-2.0" ]
null
null
null
defmodule WechatMP.Api.Model.UserList do use WechatBase.Api.Model.JsonResponse model do field :total field :count field :data do array :openid field :next_openid end end end
15
40
0.67619
972cf7f90292e4711f109a08807c2063063283df
260
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20180125170352_create_invite_table.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_db/priv/repo/migrations/20180125170352_create_invite_table.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20180125170352_create_invite_table.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWalletDB.Repo.Migrations.CreateInviteTable do use Ecto.Migration def change do create table(:invite, primary_key: false) do add :id, :uuid, primary_key: true add :token, :string, null: false timestamps() end end end
21.666667
56
0.688462
972d1336a74016b95dc74aa59db2fe146a1b63ce
4,541
ex
Elixir
lib/google_api/android_publisher/v3/model/in_app_product.ex
balena/elixir-google-api-android-publisher
fbc7b42edb2a3a3659fca65ebca2db0ec6d93420
[ "Apache-2.0" ]
null
null
null
lib/google_api/android_publisher/v3/model/in_app_product.ex
balena/elixir-google-api-android-publisher
fbc7b42edb2a3a3659fca65ebca2db0ec6d93420
[ "Apache-2.0" ]
null
null
null
lib/google_api/android_publisher/v3/model/in_app_product.ex
balena/elixir-google-api-android-publisher
fbc7b42edb2a3a3659fca65ebca2db0ec6d93420
[ "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.378049
312
0.696102
972d274e0292fc146b99e69c6bd988018a4991b8
980
ex
Elixir
lib/conductor/user.ex
meltingice/conductor
630440adc1081a0991d3dba17ced775a9dd05055
[ "MIT" ]
null
null
null
lib/conductor/user.ex
meltingice/conductor
630440adc1081a0991d3dba17ced775a9dd05055
[ "MIT" ]
2
2021-03-10T20:23:26.000Z
2021-05-11T15:56:49.000Z
lib/conductor/user.ex
meltingice/conductor
630440adc1081a0991d3dba17ced775a9dd05055
[ "MIT" ]
1
2020-06-05T02:34:58.000Z
2020-06-05T02:34:58.000Z
defmodule Conductor.User do use Conductor.Schema import Ecto.Changeset import Ecto.Query alias Ueberauth.Auth alias Conductor.Repo schema "users" do field :active, :boolean, default: false field :email, :string field :first_name, :string field :last_name, :string timestamps() end ...
20.416667
68
0.626531
972d348325f1cb73d0f3fe6def4b60ddd48ded4f
4,721
exs
Elixir
test/bootleg/config_test.exs
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
null
null
null
test/bootleg/config_test.exs
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
1
2018-10-17T17:41:19.000Z
2018-10-17T17:41:19.000Z
test/bootleg/config_test.exs
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
null
null
null
defmodule Bootleg.ConfigTest do use Bootleg.TestCase, async: false alias Bootleg.Config alias Config.Agent alias Mix.Project import ExUnit.CaptureIO import Mock doctest Bootleg.Config defmacro assert_next_received(pattern, failure_message \\ nil) do quote do failure_message = unquote...
28.10119
215
0.574243
972d58c8277f4a647538c75208bb0656b899ab1e
36,535
ex
Elixir
lib/elixir/lib/supervisor.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
2
2020-06-02T18:00:28.000Z
2021-12-10T03:21:42.000Z
lib/elixir/lib/supervisor.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/supervisor.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
null
null
null
defmodule Supervisor do @moduledoc ~S""" A behaviour module for implementing supervisors. A supervisor is a process which supervises other processes, which we refer to as *child processes*. Supervisors are used to build a hierarchical process structure called a *supervision tree*. Supervision trees provide ...
37.016211
105
0.692569
972d5a18aa81d0b3d3f64ca34d822385796c7b8f
1,651
exs
Elixir
episode-015/mix.exs
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
84
2016-07-02T05:21:36.000Z
2021-02-12T22:45:45.000Z
episode-014/elm_is_fun/mix.exs
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
3
2016-07-02T06:03:47.000Z
2017-06-03T14:11:06.000Z
episode-014/elm_is_fun/mix.exs
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
6
2017-02-16T19:33:49.000Z
2019-04-05T19:27:17.000Z
defmodule ElmIsFun.Mixfile do use Mix.Project def project do [app: :elm_is_fun, 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 == :prod, al...
30.018182
89
0.603271
972d5e3a622328cfd516e045709ff39a9458b65b
1,142
ex
Elixir
apps/ewallet_api/lib/ewallet_api/endpoint.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/lib/ewallet_api/endpoint.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/lib/ewallet_api/endpoint.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 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 writi...
27.190476
74
0.739054
972d7ddd6c5335b1323eba97d962930f90af1eb2
172
exs
Elixir
test/map_test.exs
StanBright/exruby
a37efb76db6b942e65e1c65a33300296cd995d2e
[ "MIT" ]
null
null
null
test/map_test.exs
StanBright/exruby
a37efb76db6b942e65e1c65a33300296cd995d2e
[ "MIT" ]
null
null
null
test/map_test.exs
StanBright/exruby
a37efb76db6b942e65e1c65a33300296cd995d2e
[ "MIT" ]
null
null
null
defmodule Exruby.MapTest do use ExUnit.Case doctest Exruby.Map test "access of standart Elixir.Map methods" do assert Exruby.Map.get(%{a: 1}, :a) == 1 end end
19.111111
49
0.69186
972d89f0519e1e613a82b23d97290cd823e35b81
1,120
ex
Elixir
lib/hello_web/coherence_web.ex
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
lib/hello_web/coherence_web.ex
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
lib/hello_web/coherence_web.ex
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
defmodule HelloWeb.Coherence do @moduledoc false def view do quote do use Phoenix.View, root: "lib/hello_web/templates" # Import convenience functions from controllers import Phoenix.Controller, only: [get_csrf_token: 0, get_flash: 2, view_module: 1] # Use all HTML functionality (form...
23.333333
88
0.6875
972dbc4034d37e6d05cb2b218d1911c4df5bb9c8
131
ex
Elixir
lib/google_fit/activity_type/mountain_biking.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
2
2017-02-01T13:51:26.000Z
2019-04-12T11:37:25.000Z
lib/google_fit/activity_type/mountain_biking.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
lib/google_fit/activity_type/mountain_biking.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
defmodule GoogleFit.ActivityType.MountainBiking do @moduledoc false def code, do: GoogleFit.ActivityType.code(__MODULE__) end
21.833333
55
0.816794
972de55d0e1fb0273dcf943eea36298f1f2c9c40
331
ex
Elixir
lib/clhn.ex
nichochar/CLHN
406e55a2810f93c5510f0a9145f95b2bde0fdd9c
[ "MIT" ]
7
2017-05-15T20:31:13.000Z
2022-01-02T03:44:13.000Z
lib/clhn.ex
nichochar/CLHN
406e55a2810f93c5510f0a9145f95b2bde0fdd9c
[ "MIT" ]
3
2017-02-27T03:30:25.000Z
2021-04-28T03:59:17.000Z
lib/clhn.ex
nichochar/CLHN
406e55a2810f93c5510f0a9145f95b2bde0fdd9c
[ "MIT" ]
null
null
null
defmodule Clhn do def main(argv) do {type, count} = Clhn.CLI.parse_args(argv) stories = Clhn.API.get_stories({type, count}) case stories do :error -> Bunt.puts([:red, :bright, "An error occured when connecting to the HN api"]) _ -> Enum.map(stories, &Clhn.Formatter.print_one_story/1) end ...
25.461538
92
0.65861
972de8dbc24a4f8ee7e7feed836b2b9965a36efb
3,191
exs
Elixir
test/muontrap_test.exs
tverlaan/muontrap
81dee232ccc52a773780d410c0de8ad0f91fd59e
[ "Apache-2.0" ]
null
null
null
test/muontrap_test.exs
tverlaan/muontrap
81dee232ccc52a773780d410c0de8ad0f91fd59e
[ "Apache-2.0" ]
null
null
null
test/muontrap_test.exs
tverlaan/muontrap
81dee232ccc52a773780d410c0de8ad0f91fd59e
[ "Apache-2.0" ]
null
null
null
defmodule MuonTrapTest do use ExUnit.Case import MuonTrapTestHelpers doctest MuonTrap test "closing the port kills the process" do port = Port.open({:spawn_executable, MuonTrap.muontrap_path()}, args: ["./test/do_nothing.test"]) os_pid = os_pid(port) assert is_os_pid_around?(os_pid) Po...
27.508621
98
0.63115
972df09e7b60409e382037e7bfdac3fe1c35aba1
596
ex
Elixir
lib/jsonb_macro_example/application.ex
jsangilve/ecto_jsonb_macro_example
809ac94c59b4d8ef1beed3170d7b62709754da98
[ "MIT" ]
1
2020-07-21T09:32:34.000Z
2020-07-21T09:32:34.000Z
lib/jsonb_macro_example/application.ex
jsangilve/ecto_jsonb_macro_example
809ac94c59b4d8ef1beed3170d7b62709754da98
[ "MIT" ]
null
null
null
lib/jsonb_macro_example/application.ex
jsangilve/ecto_jsonb_macro_example
809ac94c59b4d8ef1beed3170d7b62709754da98
[ "MIT" ]
null
null
null
defmodule JsonbMacroExample.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Starts a worker by calling: Testing.Work...
28.380952
66
0.718121
972df57d1250141d1a5b316ada1dea87a394c0a6
3,840
ex
Elixir
lib/elixir_leaderboard/redis_store.ex
payomdousti/elixir_leaderboard
af41620bb6cc44c05a121586c26b81ca04a4b598
[ "Apache-2.0" ]
2
2019-03-02T00:38:03.000Z
2020-05-22T01:53:23.000Z
lib/elixir_leaderboard/redis_store.ex
payomdousti/elixir_leaderboard
af41620bb6cc44c05a121586c26b81ca04a4b598
[ "Apache-2.0" ]
null
null
null
lib/elixir_leaderboard/redis_store.ex
payomdousti/elixir_leaderboard
af41620bb6cc44c05a121586c26b81ca04a4b598
[ "Apache-2.0" ]
1
2019-02-28T00:08:52.000Z
2019-02-28T00:08:52.000Z
defmodule ElixirLeaderboard.RedisStore do @moduledoc """ Use this storage engine to get efficient leaderboards powered by Redis. """ @behaviour ElixirLeaderboard.Storage @redis_stream_buffer_size 10 ## Writers @doc false def create(kwargs) do name = Keyword.get(kwargs, :name) {:ok, name} en...
21.573034
74
0.570573
972df8bf8e6fcdf7469ac9e08fd35d6e9565a45d
564
exs
Elixir
config/config.exs
joshprice/ash
e452c4091918a88d51063000f7dc44b2f54f5f96
[ "MIT" ]
null
null
null
config/config.exs
joshprice/ash
e452c4091918a88d51063000f7dc44b2f54f5f96
[ "MIT" ]
null
null
null
config/config.exs
joshprice/ash
e452c4091918a88d51063000f7dc44b2f54f5f96
[ "MIT" ]
null
null
null
import Config config :ash, :allow_flow, true if Mix.env() == :dev do config :git_ops, mix_project: Ash.MixProject, changelog_file: "CHANGELOG.md", repository_url: "https://github.com/ash-project/ash", # Instructs the tool to manage your mix version in your `mix.exs` file # See below for more inf...
31.333333
74
0.700355
972e1d1b766c3174b69ba5d475a47579d3cd0c8c
262
ex
Elixir
tags_service/lib/nlw07_heat_tags/messages/get.ex
miguelriosoliveira/dowhile-mural
3f616bf7d536f0442b41f6f8795af43ed54e61a0
[ "MIT" ]
null
null
null
tags_service/lib/nlw07_heat_tags/messages/get.ex
miguelriosoliveira/dowhile-mural
3f616bf7d536f0442b41f6f8795af43ed54e61a0
[ "MIT" ]
null
null
null
tags_service/lib/nlw07_heat_tags/messages/get.ex
miguelriosoliveira/dowhile-mural
3f616bf7d536f0442b41f6f8795af43ed54e61a0
[ "MIT" ]
null
null
null
defmodule Nlw07HeatTags.Messages.Get do import Ecto.Query alias Nlw07HeatTags.{Message, Repo} def today_messages() do today = Date.utc_today() query = from message in Message, where: type(message.inserted_at, :date) == ^today Repo.all(query) end end
21.833333
84
0.744275
972e26d5a455deb3e1fe42b1eacfbdf57b71c79a
7
ex
Elixir
testData/org/elixir_lang/parser_definition/sigil_dot_operation_parsing_test_case/CaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/sigil_dot_operation_parsing_test_case/CaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/sigil_dot_operation_parsing_test_case/CaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~x{}.&1
7
7
0.285714
972e40b4b53276151e94b2f3c219c08dc7fec717
1,135
exs
Elixir
config/config.exs
FloatingGhost/secrets_cache
72cb49ee5ba51e21d516ad729943cbd97d972e25
[ "MIT" ]
1
2020-05-11T09:00:53.000Z
2020-05-11T09:00:53.000Z
config/config.exs
FloatingGhost/secrets_cache
72cb49ee5ba51e21d516ad729943cbd97d972e25
[ "MIT" ]
null
null
null
config/config.exs
FloatingGhost/secrets_cache
72cb49ee5ba51e21d516ad729943cbd97d972e25
[ "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 # 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 loaded nor affect the paren...
36.612903
73
0.757709
972e517fce81f7eaea224c2c7b8f17d87a6a7d9a
22,043
ex
Elixir
lib/mix/lib/mix/project.ex
QuentinDanjou/elixir
09d59d4d19cb11b96bdc5786c70f6a0ca48050c8
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/project.ex
QuentinDanjou/elixir
09d59d4d19cb11b96bdc5786c70f6a0ca48050c8
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/project.ex
QuentinDanjou/elixir
09d59d4d19cb11b96bdc5786c70f6a0ca48050c8
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Project do @moduledoc """ Defines and manipulates Mix projects. A Mix project is defined by calling `use Mix.Project` in a module, usually placed in `mix.exs`: defmodule MyApp.MixProject do use Mix.Project def project do [ app: :my_app, ve...
28.739244
105
0.651046
972e57001203ae63a2828d89acf5666249b15ae9
1,259
ex
Elixir
lib/future_made_concerts_web/views/playlist_view.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
lib/future_made_concerts_web/views/playlist_view.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
lib/future_made_concerts_web/views/playlist_view.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
defmodule FutureMadeConcertsWeb.PlaylistView do @moduledoc false use FutureMadeConcertsWeb, :view alias FutureMadeConcerts.Spotify.Schema alias Schema.Playlist alias FutureMadeConcertsWeb.{PlayerView, SearchView} @default_artwork "https://via.placeholder.com/300" @spec artwork(Playlist.t()) :: String.t...
29.27907
87
0.714059
972e6174f689460c2595cacbcdd7a06767bbd2f2
2,324
ex
Elixir
apps/omg_watcher/lib/eventer/event.ex
Pongch/elixir-omg
8a33c246898b49cba62b847e0989d9b6c89f5106
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/lib/eventer/event.ex
Pongch/elixir-omg
8a33c246898b49cba62b847e0989d9b6c89f5106
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/lib/eventer/event.ex
Pongch/elixir-omg
8a33c246898b49cba62b847e0989d9b6c89f5106
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 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 writi...
26.409091
77
0.652324
972e7b4faeff384b61327a6c91f86f62ca99cbf0
631
exs
Elixir
day01/test/day01_test.exs
bjorng/advent-of-code-2020
9d2f4b6cb7f6a2c9a39596a90ce2709c7f1df22a
[ "Apache-2.0" ]
2
2020-12-19T00:40:21.000Z
2021-02-16T04:17:05.000Z
day01/test/day01_test.exs
bjorng/advent-of-code-2020
9d2f4b6cb7f6a2c9a39596a90ce2709c7f1df22a
[ "Apache-2.0" ]
null
null
null
day01/test/day01_test.exs
bjorng/advent-of-code-2020
9d2f4b6cb7f6a2c9a39596a90ce2709c7f1df22a
[ "Apache-2.0" ]
1
2020-12-14T22:37:13.000Z
2020-12-14T22:37:13.000Z
defmodule Day01Test do use ExUnit.Case doctest Day01 test "part 1 with example" do assert Day01.part1(example()) == 514579 end test "part 1 with my input data" do assert Day01.part1(input()) == 1014624 end test "part 2 with example 2" do assert Day01.part2(example()) == 241861950 end t...
16.605263
46
0.603803
972eb281b1fe775853a57748225890326e00d3bd
515
ex
Elixir
lib/elite_investigations_web/views/error_view.ex
lee-dohm/elite-investigations
6511bd1c734bcc7d1e4177b73006891fd1d81855
[ "MIT" ]
null
null
null
lib/elite_investigations_web/views/error_view.ex
lee-dohm/elite-investigations
6511bd1c734bcc7d1e4177b73006891fd1d81855
[ "MIT" ]
8
2019-03-14T16:31:37.000Z
2019-03-31T16:14:57.000Z
lib/elite_investigations_web/views/error_view.ex
lee-dohm/elite-investigations
6511bd1c734bcc7d1e4177b73006891fd1d81855
[ "MIT" ]
null
null
null
defmodule EliteInvestigationsWeb.ErrorView do use EliteInvestigationsWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message fr...
30.294118
61
0.747573
972ebd2dbe8c12868d60282321a98474d8625a3d
3,528
exs
Elixir
mix.exs
mgibowski/livebook
bfb9dc371e386597219a398a180d69c0bfa2f384
[ "Apache-2.0" ]
null
null
null
mix.exs
mgibowski/livebook
bfb9dc371e386597219a398a180d69c0bfa2f384
[ "Apache-2.0" ]
null
null
null
mix.exs
mgibowski/livebook
bfb9dc371e386597219a398a180d69c0bfa2f384
[ "Apache-2.0" ]
1
2021-12-18T03:42:04.000Z
2021-12-18T03:42:04.000Z
defmodule Livebook.MixProject do use Mix.Project @version "0.3.2" @description "Interactive and collaborative code notebooks - made with Phoenix LiveView" def project do [ app: :livebook, version: @version, elixir: "~> 1.12", name: "Livebook", description: @description, ...
28.224
98
0.577381
972efaf9dd9462263ef442afd6c2c57af676ca3b
77
exs
Elixir
config/config.exs
kianmeng/junit-formatter
3c60aa5ce896e329779aafe061652df8a0e7f1b1
[ "Apache-2.0" ]
95
2015-04-12T07:13:10.000Z
2021-12-09T19:15:44.000Z
config/config.exs
kianmeng/junit-formatter
3c60aa5ce896e329779aafe061652df8a0e7f1b1
[ "Apache-2.0" ]
45
2015-09-15T20:52:06.000Z
2021-12-30T12:19:10.000Z
config/config.exs
kianmeng/junit-formatter
3c60aa5ce896e329779aafe061652df8a0e7f1b1
[ "Apache-2.0" ]
37
2015-09-15T19:33:21.000Z
2021-05-12T13:03:17.000Z
use Mix.Config config :junit_formatter, report_file: "report_file_test.xml"
19.25
60
0.818182
972eff6f09eff22101c1130886a8c595e8b003e1
952
ex
Elixir
lib/format_parser/video.ex
antoniskalou/format_parser.ex
bce7f1cdae5ec4be198c49b6f5ef303d43135e33
[ "Apache-2.0" ]
null
null
null
lib/format_parser/video.ex
antoniskalou/format_parser.ex
bce7f1cdae5ec4be198c49b6f5ef303d43135e33
[ "Apache-2.0" ]
null
null
null
lib/format_parser/video.ex
antoniskalou/format_parser.ex
bce7f1cdae5ec4be198c49b6f5ef303d43135e33
[ "Apache-2.0" ]
null
null
null
defmodule FormatParser.Video do alias __MODULE__ @moduledoc """ A Video struct and functions. The Video struct contains the fields format, width_px, height_px and nature. """ defstruct [:format, :width_px, :height_px, nature: :video] @doc """ Parses a file and extracts some information from it. T...
21.155556
114
0.672269
972f1ff24d0c5054766d66275ad67573d1943be9
157
ex
Elixir
web/views/raw_supplier_resolve_job_view.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
web/views/raw_supplier_resolve_job_view.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
web/views/raw_supplier_resolve_job_view.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
defmodule CgratesWebJsonapi.RawSupplierResolveJobView do use CgratesWebJsonapi.Web, :view use JaSerializer.PhoenixView attributes [:id, :status] end
19.625
56
0.808917
972f76d414761a23f0c01f5fe2dec8f113022cc6
67
ex
Elixir
lib/skeleton_web/views/skeleton_view.ex
diegomanuel/liveview-skeleton
a27653a88a356c3dae5e012960d46f58eaf1d1c6
[ "MIT" ]
null
null
null
lib/skeleton_web/views/skeleton_view.ex
diegomanuel/liveview-skeleton
a27653a88a356c3dae5e012960d46f58eaf1d1c6
[ "MIT" ]
null
null
null
lib/skeleton_web/views/skeleton_view.ex
diegomanuel/liveview-skeleton
a27653a88a356c3dae5e012960d46f58eaf1d1c6
[ "MIT" ]
null
null
null
defmodule SkeletonWeb.SkeletonView do use SkeletonWeb, :view end
16.75
37
0.820896
972f9f137eae3fdb91b4ba367419a79430cdbaca
3,868
ex
Elixir
lib/vow/cat.ex
naramore/ex_spec
d3e52be6efd43f112f58e33f8488434c34608247
[ "MIT" ]
2
2020-06-18T06:24:24.000Z
2021-02-21T02:16:37.000Z
lib/vow/cat.ex
naramore/ex_spec
d3e52be6efd43f112f58e33f8488434c34608247
[ "MIT" ]
45
2019-11-21T10:49:14.000Z
2021-08-02T10:21:01.000Z
lib/vow/cat.ex
naramore/ex_spec
d3e52be6efd43f112f58e33f8488434c34608247
[ "MIT" ]
null
null
null
defmodule Vow.Cat do @moduledoc false use Vow.Utils.AccessShortcut defstruct [:vows] @type t :: %__MODULE__{ vows: [{atom, Vow.t()}, ...] } @spec new([{atom, Vow.t()}, ...]) :: t | no_return def new(named_vows) do vow = %__MODULE__{vows: named_vows} if unique_keys?(named_vows) ...
26.861111
87
0.534643
972fbe2758e411b96328b68c366e47c996cf528f
1,653
ex
Elixir
apps/ehealth/lib/ehealth/web/views/employee_request_view.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/ehealth/lib/ehealth/web/views/employee_request_view.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/ehealth/lib/ehealth/web/views/employee_request_view.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule EHealth.Web.EmployeeRequestView do @moduledoc false use EHealth.Web, :view def render("index.json", %{employee_requests: employee_requests, references: references}) do Enum.map(employee_requests, fn request -> party = request.data["party"] legal_entity = references |> ...
32.411765
94
0.638838
972fd2c244df288194cccb0320e8746d20d7793a
1,203
ex
Elixir
lib/google_api/you_tube/v3/model/channel_content_owner_details.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
lib/google_api/you_tube/v3/model/channel_content_owner_details.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
lib/google_api/you_tube/v3/model/channel_content_owner_details.ex
jesteracer/ytb
67e3cab899e4f69e586383f7be2c3855c6beea49
[ "Apache-2.0" ]
null
null
null
# 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...
31.657895
121
0.759767
972fe9acf17cb71ced883b0ff627735a6b9b6e88
2,414
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/config_map_key_selector.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/config_map_key_selector.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/config_map_key_selector.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.107143
242
0.73198
972fec6a0bbffb92dbc9f273db8007c64d611307
4,047
ex
Elixir
lib/norm/core/schema.ex
kieraneglin/norm
5fe9872226ca8b56c6c6ad4b69ec30256c26414e
[ "MIT" ]
null
null
null
lib/norm/core/schema.ex
kieraneglin/norm
5fe9872226ca8b56c6c6ad4b69ec30256c26414e
[ "MIT" ]
null
null
null
lib/norm/core/schema.ex
kieraneglin/norm
5fe9872226ca8b56c6c6ad4b69ec30256c26414e
[ "MIT" ]
null
null
null
defmodule Norm.Core.Schema do @moduledoc false # Provides the definition for schemas alias __MODULE__ defstruct specs: %{}, struct: nil def build(%{__struct__: name} = struct) do # If we're building a schema from a struct then we need to reject any keys with # values that don't implement the confor...
26.109677
92
0.570546
97300d23430ccb77924081b92e12ca0fe73e64b1
217
ex
Elixir
lib/infinity_one_web/controllers/master_controller.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
lib/infinity_one_web/controllers/master_controller.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
lib/infinity_one_web/controllers/master_controller.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule InfinityOneWeb.MasterController do use InfinityOneWeb, :controller def index(conn, _params) do render conn, "index.html" end def phone(conn, _params) do render conn, "phone.html" end end
18.083333
44
0.723502
97302a1e7e05883cd78f697bf1308d5bf05f42ae
261
ex
Elixir
lib/hexpm_web/plugs/status.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
lib/hexpm_web/plugs/status.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
lib/hexpm_web/plugs/status.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule HexpmWeb.Plugs.Status do import Plug.Conn alias Plug.Conn def init(opts), do: opts def call(%Conn{path_info: ["status"]} = conn, _opts) do conn |> send_resp(200, "") |> halt() end def call(conn, _opts) do conn end end
15.352941
57
0.62069
973074232142ba7f0fd6d38905f3fb2d0b1ca69b
3,572
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_search_catalog_request_scope.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_search_catalog_request_scope.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_search_catalog_request_scope.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...
58.557377
944
0.75168
97309987398aca3a8eee36a90e91cabc09ba814d
91
ex
Elixir
lib/fixer.ex
doorgan/credo_fixes
e64869bbd53644bb11480f925540cf75c73432af
[ "Apache-2.0" ]
null
null
null
lib/fixer.ex
doorgan/credo_fixes
e64869bbd53644bb11480f925540cf75c73432af
[ "Apache-2.0" ]
null
null
null
lib/fixer.ex
doorgan/credo_fixes
e64869bbd53644bb11480f925540cf75c73432af
[ "Apache-2.0" ]
null
null
null
defmodule CredoFixes.Fixer do @callback get_fixes(String.t()) :: [Sourceror.patch()] end
22.75
56
0.736264
97309bea9933e20cff43ce327f9bc9ed86ac3a8f
703
exs
Elixir
priv/repo/migrations/20170413124601_entities_relations.exs
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
1
2017-07-27T16:03:28.000Z
2017-07-27T16:03:28.000Z
priv/repo/migrations/20170413124601_entities_relations.exs
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20170413124601_entities_relations.exs
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
null
null
null
defmodule PRM.Repo.Migrations.EntitiesRelations do use Ecto.Migration def change do alter table(:divisions) do add :legal_entity_id, references(:legal_entities, type: :uuid, on_delete: :nothing) end alter table(:medical_service_providers) do add :legal_entity_id, references(:legal_entities...
31.954545
107
0.739687