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
21d408e1a72c07877f9d432f636aa65a3671b51f
61
ex
Elixir
lib/my_blog_web/views/layout_view.ex
bechanh5/final-nabo
bfa5d57b1a8a4f647151f10442ffa1069cd76fdb
[ "MIT" ]
1
2018-09-08T16:04:47.000Z
2018-09-08T16:04:47.000Z
lib/my_blog_web/views/layout_view.ex
bechanh5/final-nabo
bfa5d57b1a8a4f647151f10442ffa1069cd76fdb
[ "MIT" ]
1
2018-09-08T20:04:46.000Z
2018-09-08T20:04:46.000Z
lib/my_blog_web/views/layout_view.ex
bechanh5/final-nabo
bfa5d57b1a8a4f647151f10442ffa1069cd76fdb
[ "MIT" ]
2
2017-11-13T21:15:57.000Z
2018-09-08T16:10:22.000Z
defmodule MyBlogWeb.LayoutView do use MyBlogWeb, :view end
15.25
33
0.803279
21d41212708b5e3ec80c7228f4bba3bd397c00f4
98
exs
Elixir
test/fixtures/fake_app/test/fake_app_test.exs
LaudateCorpus1/conform
664c3b8de09a4b35c64e4b7559869740d906fcee
[ "MIT" ]
410
2015-01-10T13:33:00.000Z
2022-01-31T20:12:15.000Z
test/fixtures/fake_app/test/fake_app_test.exs
LaudateCorpus1/conform
664c3b8de09a4b35c64e4b7559869740d906fcee
[ "MIT" ]
140
2015-02-05T16:29:32.000Z
2020-10-22T10:52:33.000Z
test/fixtures/fake_app/test/fake_app_test.exs
LaudateCorpus1/conform
664c3b8de09a4b35c64e4b7559869740d906fcee
[ "MIT" ]
65
2015-02-13T21:02:29.000Z
2021-06-23T05:49:09.000Z
defmodule FakeAppTest do use ExUnit.Case test "the truth" do assert 1 + 1 == 2 end end
12.25
24
0.653061
21d416b57d41df33947eaf6c7e22d1f7fc68be88
235
exs
Elixir
priv/repo/migrations/20160519075719_add_shippment_unit_id_to_line_items.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
priv/repo/migrations/20160519075719_add_shippment_unit_id_to_line_items.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
priv/repo/migrations/20160519075719_add_shippment_unit_id_to_line_items.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.Repo.Migrations.AddShippmentUnitIdToLineItems do use Ecto.Migration def change do alter table(:line_items) do add :shipment_unit_id, references(:shipment_units, on_delete: :nilify_all) end end end
23.5
80
0.765957
21d42439453700ea3c85520961194670efaf42fa
1,479
ex
Elixir
lib/webapp_web/controllers/api_v1/distribution_controller.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
12
2019-07-02T14:30:06.000Z
2022-03-12T08:22:18.000Z
lib/webapp_web/controllers/api_v1/distribution_controller.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
9
2020-03-16T20:10:50.000Z
2021-06-17T17:45:44.000Z
lib/webapp_web/controllers/api_v1/distribution_controller.ex
runhyve/webapp
434b074f98c1ebac657b56062c1c1a54e683dea1
[ "BSD-2-Clause" ]
null
null
null
defmodule WebappWeb.ApiV1.DistributionController do use WebappWeb, :controller alias Webapp.Distributions alias Webapp.Distributions.Distribution action_fallback WebappWeb.FallbackController def index(conn, _params) do distributions = Distributions.list_active_distributions() render(conn, "index.js...
32.152174
89
0.709939
21d428f102028decd0845a465d08f02b2151a3cb
12,519
ex
Elixir
lib/chat_api/customers.ex
utsav0209/papercups
66d7c33dde057b5e4309db35b5f4cccdec4a76dc
[ "MIT" ]
null
null
null
lib/chat_api/customers.ex
utsav0209/papercups
66d7c33dde057b5e4309db35b5f4cccdec4a76dc
[ "MIT" ]
null
null
null
lib/chat_api/customers.ex
utsav0209/papercups
66d7c33dde057b5e4309db35b5f4cccdec4a76dc
[ "MIT" ]
null
null
null
defmodule ChatApi.Customers do @moduledoc """ The Customers context. """ import Ecto.Query, warn: false alias ChatApi.Repo alias ChatApi.Customers.Customer alias ChatApi.Tags.{CustomerTag, Tag} @spec list_customers(binary(), map()) :: [Customer.t()] def list_customers(account_id, filters \\ %{}) do...
32.017903
98
0.635754
21d43a47875f54f094f5b08c3e49aaeb5d485bd0
793
exs
Elixir
test/sgp40/comm_test.exs
mnishiguchi/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
2
2021-06-13T21:09:19.000Z
2021-06-16T13:20:14.000Z
test/sgp40/comm_test.exs
elixir-sensors/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
3
2021-06-14T13:09:08.000Z
2021-06-26T19:43:55.000Z
test/sgp40/comm_test.exs
mnishiguchi/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
null
null
null
defmodule SGP40.CommTest do use ExUnit.Case, async: true # https://hexdocs.pm/mox/Mox.html import Mox # Make sure mocks are verified when the test exits setup :verify_on_exit! setup do %{transport: :c.pid(0, 0, 0)} end test "serial_id", %{transport: transport} do SGP40.MockTransport |> M...
27.344828
97
0.641866
21d43a9c18bf28aa9459ad65f77ab236fa2ed493
561
ex
Elixir
lib/servantex/accounts/token.ex
alisinabh/servantex
03bd4b7c1c47fc926a37b52670394f827c2d97ad
[ "Apache-2.0" ]
null
null
null
lib/servantex/accounts/token.ex
alisinabh/servantex
03bd4b7c1c47fc926a37b52670394f827c2d97ad
[ "Apache-2.0" ]
null
null
null
lib/servantex/accounts/token.ex
alisinabh/servantex
03bd4b7c1c47fc926a37b52670394f827c2d97ad
[ "Apache-2.0" ]
null
null
null
defmodule Servantex.Accounts.Token do use Ecto.Schema import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "tokens" do field :client_id, :string field :token, :string field :type, :string field :user_id, :binary_id # TODO: Add is ena...
22.44
57
0.672014
21d45de5be1f7a87b35d7ec1395b687020a16931
2,415
ex
Elixir
clients/run/lib/google_api/run/v1/model/config_map_key_selector.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/config_map_key_selector.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/config_map_key_selector.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...
32.2
174
0.706418
21d47153a5dc37036d0bfc5ccfa23c68315cade5
230
exs
Elixir
test/ex_aequo_test.exs
RobertDober/ex_aequo
d02fea2115d21e8ca426c6ef082ae2663839fe93
[ "Apache-2.0" ]
null
null
null
test/ex_aequo_test.exs
RobertDober/ex_aequo
d02fea2115d21e8ca426c6ef082ae2663839fe93
[ "Apache-2.0" ]
null
null
null
test/ex_aequo_test.exs
RobertDober/ex_aequo
d02fea2115d21e8ca426c6ef082ae2663839fe93
[ "Apache-2.0" ]
null
null
null
defmodule Test.ExAequoTest do use ExUnit.Case doctest ExAequo, import: true @requested_format ~r{\A \d+ \. \d+ \. \d+ \z}x test "version string" do assert Regex.match?(@requested_format, ExAequo.version()) end end
20.909091
61
0.682609
21d4a9b6276aaae9daddf364f0c9f9cda73d0278
1,035
exs
Elixir
config/dev.exs
mfunaro/handiman-api
66357caa55c2b1fb696471c04e602b5546879cf4
[ "Unlicense", "MIT" ]
null
null
null
config/dev.exs
mfunaro/handiman-api
66357caa55c2b1fb696471c04e602b5546879cf4
[ "Unlicense", "MIT" ]
null
null
null
config/dev.exs
mfunaro/handiman-api
66357caa55c2b1fb696471c04e602b5546879cf4
[ "Unlicense", "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :handiman_api, HandimanApi.Endpoint, http: [po...
28.75
60
0.715942
21d4bb2accbcc276656466e48ffcbb993897facb
1,821
ex
Elixir
lib/issues/cmd.ex
LucasPaszinski/github_issues
9da6c91d37b54727037d39d063d50ff0a18c4f8d
[ "MIT" ]
null
null
null
lib/issues/cmd.ex
LucasPaszinski/github_issues
9da6c91d37b54727037d39d063d50ff0a18c4f8d
[ "MIT" ]
null
null
null
lib/issues/cmd.ex
LucasPaszinski/github_issues
9da6c91d37b54727037d39d063d50ff0a18c4f8d
[ "MIT" ]
null
null
null
defmodule Issues.Cmd do @default_count 4 @moduledoc """ Handle the command line and the dispatch to various functions that end up genrating the table of the last nº of issues in a given github project """ def main(argv) do argv |> parse_args |> process end @doc """ ...
22.481481
85
0.616145
21d4e5f25f73fd50863fe83a623e698167792f94
1,149
exs
Elixir
config/config.exs
mbramson/two_factor_in_a_can
c15f6ba1aabd4de52034de727d53b189fb671121
[ "MIT" ]
3
2019-04-22T22:34:54.000Z
2021-11-08T06:34:11.000Z
config/config.exs
mbramson/two_factor_in_a_can
c15f6ba1aabd4de52034de727d53b189fb671121
[ "MIT" ]
null
null
null
config/config.exs
mbramson/two_factor_in_a_can
c15f6ba1aabd4de52034de727d53b189fb671121
[ "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...
37.064516
73
0.75544
21d4eca93084ae0b30da61af0f8fb13e1b7dba64
2,070
exs
Elixir
test/absinthe_streamdata_test.exs
maartenvanvliet/absinthe_streamdata
d297e7dd4f49dafc183d0fcea95366f218449106
[ "MIT" ]
null
null
null
test/absinthe_streamdata_test.exs
maartenvanvliet/absinthe_streamdata
d297e7dd4f49dafc183d0fcea95366f218449106
[ "MIT" ]
7
2021-10-16T19:40:55.000Z
2022-03-24T04:24:08.000Z
test/absinthe_streamdata_test.exs
maartenvanvliet/absinthe_streamdata
d297e7dd4f49dafc183d0fcea95366f218449106
[ "MIT" ]
null
null
null
defmodule Absinthe.StreamDataTest do use ExUnit.Case use ExUnitProperties doctest Absinthe.StreamData # defstruct :variables @no_var_query """ query testA{ version } """ @scalar_query """ query testB($boolean: Boolean $float: Float $integer: Int $id: ID $string: String){ defaultSc...
24.069767
98
0.62029
21d4f17ef0fc12f376d718e0bb31e44f443fc680
1,759
ex
Elixir
lib/hexpm/cdn/fastly.ex
pragmaticivan/hexpm
7845d1baaf14e8811df00db550b59e51ac9675c6
[ "Apache-2.0" ]
null
null
null
lib/hexpm/cdn/fastly.ex
pragmaticivan/hexpm
7845d1baaf14e8811df00db550b59e51ac9675c6
[ "Apache-2.0" ]
null
null
null
lib/hexpm/cdn/fastly.ex
pragmaticivan/hexpm
7845d1baaf14e8811df00db550b59e51ac9675c6
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.CDN.Fastly do require Logger @behaviour Hexpm.CDN @fastly_url "https://api.fastly.com/" @retry_times 10 def purge_key(service, keys) do keys = keys |> List.wrap() |> Enum.uniq() body = %{"surrogate_keys" => keys} service_id = Application.get_env(:hexpm, service) {:ok, 200, _...
21.716049
72
0.57419
21d4f4185232ee0ab4cf41365e923de451302428
374
ex
Elixir
web/views/error_view.ex
dogweather/ketobit
cd757648e5fee357b82716a2fb2d4542131312e7
[ "MIT" ]
6
2016-07-05T22:57:05.000Z
2019-04-05T01:47:28.000Z
web/views/error_view.ex
dogweather/ketobit
cd757648e5fee357b82716a2fb2d4542131312e7
[ "MIT" ]
null
null
null
web/views/error_view.ex
dogweather/ketobit
cd757648e5fee357b82716a2fb2d4542131312e7
[ "MIT" ]
null
null
null
defmodule Ketobit.ErrorView do use Ketobit.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_template,...
20.777778
47
0.697861
21d54858376d0c278fad1db91fad38b868fcae5a
2,678
ex
Elixir
lib/event_store/notifications/listener.ex
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
576
2017-11-03T14:11:07.000Z
2022-03-29T06:18:47.000Z
lib/event_store/notifications/listener.ex
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
129
2017-11-08T06:10:20.000Z
2021-09-15T16:18:14.000Z
lib/event_store/notifications/listener.ex
jsmestad/eventstore
93660ce316ca174ff4694e211a7ac420253e4dac
[ "MIT" ]
118
2017-11-14T14:10:09.000Z
2022-03-28T13:13:56.000Z
defmodule EventStore.Notifications.Listener do @moduledoc false # Listener subscribes to event notifications using PostgreSQL's `LISTEN` # command. Whenever events are appended to storage a `NOTIFY` command is # executed by a trigger. The notification payload contains the first and last # event number of the...
29.428571
99
0.681105
21d55a5cda26d2a2145c79bcfa04d200523e8078
521
ex
Elixir
samples/client/petstore/elixir/lib/swagger_petstore/model/special_model_name.ex
lob/swagger-codegen
cd4aaa272342b473f940576913d38378f0392991
[ "Apache-2.0" ]
null
null
null
samples/client/petstore/elixir/lib/swagger_petstore/model/special_model_name.ex
lob/swagger-codegen
cd4aaa272342b473f940576913d38378f0392991
[ "Apache-2.0" ]
1
2022-01-06T22:28:02.000Z
2022-01-06T22:28:02.000Z
samples/client/petstore/elixir/lib/swagger_petstore/model/special_model_name.ex
lob/swagger-codegen
cd4aaa272342b473f940576913d38378f0392991
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule SwaggerPetstore.Model.SpecialModelName do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"$special[property.name]" ] ...
20.84
75
0.708253
21d579c05ea709ab0e89ba8f0afa741ab5503532
2,446
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/auth_requirement.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_management/lib/google_api/service_management/v1/model/auth_requirement.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_management/lib/google_api/service_management/v1/model/auth_requirement.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...
48.92
785
0.756746
21d57e193833c605e25027c9e33c40837e25e31c
1,193
ex
Elixir
socket_remotedata/web/channels/user_socket.ex
mikeonslow/elm-socket-remotedata
8b5ee678f7f954c6b289f96b559d8ff5d648d474
[ "MIT" ]
1
2020-02-09T20:20:23.000Z
2020-02-09T20:20:23.000Z
socket_remotedata/web/channels/user_socket.ex
mikeonslow/elm-socket-remotedata
8b5ee678f7f954c6b289f96b559d8ff5d648d474
[ "MIT" ]
null
null
null
socket_remotedata/web/channels/user_socket.ex
mikeonslow/elm-socket-remotedata
8b5ee678f7f954c6b289f96b559d8ff5d648d474
[ "MIT" ]
null
null
null
defmodule SocketRemotedata.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", SocketRemotedata.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to ...
31.394737
89
0.708298
21d591006835e6738a07a6b7ab2ae9988c10f43e
1,160
exs
Elixir
config/config.exs
craigspaeth/elixir-api
6b89274ef90af6b1255c263321c31c3630b14944
[ "MIT" ]
null
null
null
config/config.exs
craigspaeth/elixir-api
6b89274ef90af6b1255c263321c31c3630b14944
[ "MIT" ]
null
null
null
config/config.exs
craigspaeth/elixir-api
6b89274ef90af6b1255c263321c31c3630b14944
[ "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...
34.117647
73
0.74569
21d5a2843ae7c44fd09fee84b9fa167cbe5beeb5
888
exs
Elixir
mix.exs
secomind/plug_logger_with_meta
5c12d73132c6632aeaee5bba65f41a60c121d4d7
[ "Apache-2.0" ]
3
2019-10-31T08:44:22.000Z
2021-04-20T22:47:41.000Z
mix.exs
secomind/plug_logger_with_meta
5c12d73132c6632aeaee5bba65f41a60c121d4d7
[ "Apache-2.0" ]
null
null
null
mix.exs
secomind/plug_logger_with_meta
5c12d73132c6632aeaee5bba65f41a60c121d4d7
[ "Apache-2.0" ]
1
2019-10-28T16:01:05.000Z
2019-10-28T16:01:05.000Z
defmodule PlugLoggerWithMeta.MixProject do use Mix.Project def project do [ app: :plug_logger_with_meta, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), source_url: "https://gi...
20.651163
72
0.586712
21d5bcc613c351c0d2e1e5d28609c53b7e1b19f3
906
ex
Elixir
src/token_service/lib/token_service/application.ex
wbpascal/statuswebsite
7a81e530a9176c53abeab0582cb710113101b716
[ "MIT" ]
1
2021-04-18T20:21:03.000Z
2021-04-18T20:21:03.000Z
src/token_service/lib/token_service/application.ex
wbpascal/statuswebsite
7a81e530a9176c53abeab0582cb710113101b716
[ "MIT" ]
null
null
null
src/token_service/lib/token_service/application.ex
wbpascal/statuswebsite
7a81e530a9176c53abeab0582cb710113101b716
[ "MIT" ]
1
2021-04-18T20:21:08.000Z
2021-04-18T20:21:08.000Z
defmodule TokenService.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 = [ # Start the endpoint when the application start...
30.2
71
0.729581
21d5be0635ca2c217fc4d35bf6f501aafae72b7a
871
ex
Elixir
web/models/field.ex
snocorp/meansweepx
585cb25ad22dd2231ab01edd840b0613d6abef77
[ "MIT" ]
null
null
null
web/models/field.ex
snocorp/meansweepx
585cb25ad22dd2231ab01edd840b0613d6abef77
[ "MIT" ]
null
null
null
web/models/field.ex
snocorp/meansweepx
585cb25ad22dd2231ab01edd840b0613d6abef77
[ "MIT" ]
null
null
null
defmodule Meansweepx.Field do use Meansweepx.Web, :model @primary_key {:id, :binary_id, autogenerate: true} schema "fields" do field :width, :integer field :height, :integer field :count, :integer field :active, :boolean, default: false field :grid, :map field :result, :integer, default:...
29.033333
85
0.664753
21d5c23d8ccaa5daf6f89b8501908db191ecf0d1
303
ex
Elixir
lib/ex_json_schema/schema/root.ex
edenlabllc/nex_json_schema
f7445a1da1f470b2876e9ee28965e675c54e74c2
[ "MIT" ]
3
2016-10-25T12:10:00.000Z
2020-11-06T21:33:23.000Z
lib/ex_json_schema/schema/root.ex
edenlabllc/nex_json_schema
f7445a1da1f470b2876e9ee28965e675c54e74c2
[ "MIT" ]
12
2017-05-31T17:23:16.000Z
2020-10-21T00:58:45.000Z
lib/ex_json_schema/schema/root.ex
edenlabllc/nex_json_schema
f7445a1da1f470b2876e9ee28965e675c54e74c2
[ "MIT" ]
4
2018-06-18T23:37:53.000Z
2020-07-08T13:03:20.000Z
defmodule NExJsonSchema.Schema.Root do defstruct schema: %{}, refs: %{}, location: :root @type t :: %NExJsonSchema.Schema.Root{ schema: NExJsonSchema.Schema.resolved(), refs: %{String.t() => NExJsonSchema.Schema.resolved()}, location: :root | String.t() } end
30.3
65
0.613861
21d5d06b3d6c5afee8f1ac01f7a26bd76f06fd86
1,112
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/test_iam_permissions_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/test_iam_permissions_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/test_iam_permissions_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
30.054054
80
0.752698
21d5f154a43193fab03623c1d116f2f3478af4bd
4,342
ex
Elixir
lib/teiserver/coordinator/automod_server.ex
beyond-all-reason/teiserver
e394b5efe561eaf5700bca62e4e4263d8f720ac5
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/teiserver/coordinator/automod_server.ex
beyond-all-reason/teiserver
e394b5efe561eaf5700bca62e4e4263d8f720ac5
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/teiserver/coordinator/automod_server.ex
beyond-all-reason/teiserver
e394b5efe561eaf5700bca62e4e4263d8f720ac5
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Teiserver.Coordinator.AutomodServer do @moduledoc """ The coordinator server is the interface point for the Coordinator system. Consuls are invisible (to the players) processes performing their actions in the name of the coordinator """ use GenServer alias Teiserver.{Account, User, Client, Coordin...
26.802469
124
0.639567
21d5fa69d30602a9c573cd510df400adbddbd156
441
ex
Elixir
apps/re_web/lib/graphql/resolvers/shortlists.ex
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re_web/lib/graphql/resolvers/shortlists.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re_web/lib/graphql/resolvers/shortlists.ex
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule ReWeb.Resolvers.Shortlists do @moduledoc """ Resolver module for shortlists queries and mutations """ alias Re.Shortlists def index(%{opportunity_id: opportunity_id}, %{context: %{current_user: current_user}}) do case Bodyguard.permit(Shortlists, :shortlist_listings, current_user, %{}) do ...
31.5
92
0.743764
21d600bfb43d28344916a6b5acd151b34e730450
2,307
ex
Elixir
clients/composer/lib/google_api/composer/v1/model/private_cluster_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1/model/private_cluster_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/composer/lib/google_api/composer/v1/model/private_cluster_config.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.528302
385
0.742523
21d616c07f535689ff98f9c19c083757887bbcbe
1,525
ex
Elixir
lib/erlixir_web/endpoint.ex
itsemilano/erlixir
39fdcb86a9ccd55058682b3263d40efb9cbad11f
[ "MIT" ]
null
null
null
lib/erlixir_web/endpoint.ex
itsemilano/erlixir
39fdcb86a9ccd55058682b3263d40efb9cbad11f
[ "MIT" ]
null
null
null
lib/erlixir_web/endpoint.ex
itsemilano/erlixir
39fdcb86a9ccd55058682b3263d40efb9cbad11f
[ "MIT" ]
null
null
null
defmodule ErlixirWeb.Endpoint do use Phoenix.Endpoint, otp_app: :erlixir # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_erlixir_k...
29.901961
97
0.721311
21d624fe6d6e13f93b97949a01dd4fc8ede86090
433
ex
Elixir
apps/datapio_k8s/lib/datapio_k8s/conn.ex
datapio/opencore
6e766c3b3a2ad8b07295c7fd27cffc0923284197
[ "Apache-2.0" ]
5
2021-05-14T22:01:08.000Z
2021-09-21T16:28:09.000Z
apps/datapio_k8s/lib/datapio_k8s/conn.ex
datapio/opencore
6e766c3b3a2ad8b07295c7fd27cffc0923284197
[ "Apache-2.0" ]
198
2019-10-17T12:22:25.000Z
2022-03-16T02:14:14.000Z
apps/datapio_k8s/lib/datapio_k8s/conn.ex
datapio/opencore
6e766c3b3a2ad8b07295c7fd27cffc0923284197
[ "Apache-2.0" ]
1
2022-03-10T08:54:36.000Z
2022-03-10T08:54:36.000Z
defmodule Datapio.K8s.Conn do @moduledoc """ Generate `K8s.Conn` object. """ @doc "Generate a `K8s.Conn` object from a *kubeconfig* or in-cluster config." @spec lookup(String.t() | nil) :: {:ok, K8s.Conn.t()} | {:error, term()} def lookup(default_path \\ nil) do case System.get_env("KUBECONFIG", defaul...
28.866667
79
0.648961
21d64e03c49daac0d2303da0e643d3c25d0b7a66
442
exs
Elixir
test/test_helper.exs
RiverFinancial/sentry-elixir
5ce0a8fc1d5523755dabeb7e629c955248c0d99e
[ "MIT" ]
502
2016-09-03T14:23:53.000Z
2022-03-23T17:36:37.000Z
test/test_helper.exs
RiverFinancial/sentry-elixir
5ce0a8fc1d5523755dabeb7e629c955248c0d99e
[ "MIT" ]
350
2016-08-29T18:53:26.000Z
2022-03-27T15:45:38.000Z
test/test_helper.exs
RiverFinancial/sentry-elixir
5ce0a8fc1d5523755dabeb7e629c955248c0d99e
[ "MIT" ]
147
2016-09-22T13:30:57.000Z
2022-03-14T13:24:14.000Z
Code.compile_file("test/support/example_plug_application.ex") Code.require_file("test/support/test_environment_helper.exs") Code.require_file("test/support/test_before_send_event.exs") Code.require_file("test/support/test_filter.exs") Code.require_file("test/support/test_gen_server.exs") Code.require_file("test/support...
40.181818
61
0.843891
21d654fd705a8af2f3472eb4671385d4b34cdeef
625
ex
Elixir
lib/ssdp.ex
rosetta-home/ssdp
80bd4b75868d2605be5d497b5b9f36ac051ae459
[ "Apache-2.0" ]
1
2020-03-22T23:36:34.000Z
2020-03-22T23:36:34.000Z
lib/ssdp.ex
rosetta-home/ssdp
80bd4b75868d2605be5d497b5b9f36ac051ae459
[ "Apache-2.0" ]
null
null
null
lib/ssdp.ex
rosetta-home/ssdp
80bd4b75868d2605be5d497b5b9f36ac051ae459
[ "Apache-2.0" ]
null
null
null
defmodule SSDP do use Application require Logger def start(_type, _args) do SSDP.Supervisor.start_link end def register do SSDP.Client |> GenServer.call(:register) end def dispatch(type, event) do Logger.debug "Dispatching: #{inspect type} - #{inspect event}" case Registry.lookup(SSDP.R...
24.038462
66
0.648
21d65c52d734e144cbaea4e040dc9285cec5e8dc
11,950
ex
Elixir
lib/kaffy/resource_form.ex
jotaviobiondo/kaffy
a058b7566e8f18c04a70d7c9aff624ec448fe7a9
[ "MIT" ]
null
null
null
lib/kaffy/resource_form.ex
jotaviobiondo/kaffy
a058b7566e8f18c04a70d7c9aff624ec448fe7a9
[ "MIT" ]
1
2020-10-20T14:24:27.000Z
2020-10-20T14:24:27.000Z
lib/kaffy/resource_form.ex
jotaviobiondo/kaffy
a058b7566e8f18c04a70d7c9aff624ec448fe7a9
[ "MIT" ]
1
2020-10-02T17:59:55.000Z
2020-10-02T17:59:55.000Z
defmodule Kaffy.ResourceForm do use Phoenix.HTML def form_label_string({field, options}), do: Map.get(options, :label, field) def form_label_string(field) when is_atom(field), do: field def form_label(form, field) do label_text = form_label_string(field) label(form, label_text) end def form_help_...
30.958549
103
0.558912
21d69b009ec8b2a53ecf37565604c03aeadac137
408
ex
Elixir
lib/radiator/constants.ex
optikfluffel/radiator
b1a1b966296fa6bf123e3a2455009ff52099ace6
[ "MIT" ]
1
2021-03-02T16:59:40.000Z
2021-03-02T16:59:40.000Z
lib/radiator/constants.ex
optikfluffel/radiator
b1a1b966296fa6bf123e3a2455009ff52099ace6
[ "MIT" ]
null
null
null
lib/radiator/constants.ex
optikfluffel/radiator
b1a1b966296fa6bf123e3a2455009ff52099ace6
[ "MIT" ]
null
null
null
defmodule Radiator.Constants do @moduledoc false defmacro __using__(_) do quote do @otp_app Mix.Project.config()[:app] @permission_values [:readonly, :edit, :manage, :own] @auth_user_status_values [:unverified, :active, :suspended] defguard is_permission(p) when p in @permission_value...
25.5
67
0.708333
21d6a05a41b31fcab62295cc30feb22a2b82874d
1,063
ex
Elixir
lib/troika_bag/counter/counter_supervisor.ex
tomhart-msc/TroikaBag
bc6033e516ba38bc43fb6be4fec9be9fe2abb80d
[ "MIT" ]
1
2020-06-29T11:39:18.000Z
2020-06-29T11:39:18.000Z
lib/troika_bag/counter/counter_supervisor.ex
tomhart-msc/TroikaBag
bc6033e516ba38bc43fb6be4fec9be9fe2abb80d
[ "MIT" ]
null
null
null
lib/troika_bag/counter/counter_supervisor.ex
tomhart-msc/TroikaBag
bc6033e516ba38bc43fb6be4fec9be9fe2abb80d
[ "MIT" ]
null
null
null
defmodule TroikaBag.Counter.CounterSupervisor do use DynamicSupervisor require Logger @counter_registry_name :counter_process_registry @doc """ Starts the supervisor. """ def start_link(_) do DynamicSupervisor.start_link(__MODULE__, :no_args, name: __MODULE__) end # Returns the pid of the count...
24.159091
87
0.685795
21d708b86fa19f1592c1ca30944261c836201d7a
17,755
ex
Elixir
lib/ex_unit/lib/ex_unit/assertions.ex
gsphanikumar/elixir
6ca225da4e016200a462888348ff1c3feb625b78
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/ex_unit/lib/ex_unit/assertions.ex
alco/elixir
4407170349aa12c58664cab2122374167e827f5e
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/assertions.ex
alco/elixir
4407170349aa12c58664cab2122374167e827f5e
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.AssertionError do @moduledoc """ Raised to signal an assertion error. """ @no_value :ex_unit_no_meaningful_value defexception left: @no_value, right: @no_value, message: @no_value, expr: @no_value @doc """ Indicates no meaningful val...
25.957602
161
0.618136
21d74ba03458cc2b6bb7c611322ee103bfde5d0e
23,180
ex
Elixir
clients/blogger/lib/google_api/blogger/v3/api/comments.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/blogger/lib/google_api/blogger/v3/api/comments.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/blogger/lib/google_api/blogger/v3/api/comments.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...
41.099291
196
0.58503
21d78289c5e90c8e824dc2dd2a2bb63c30eca46b
207
ex
Elixir
lib/golem/example_commands/test.ex
ghaabor/golem
202cde10fe86a7e4e5d3713e7c78a4848d4d96a1
[ "Apache-2.0" ]
null
null
null
lib/golem/example_commands/test.ex
ghaabor/golem
202cde10fe86a7e4e5d3713e7c78a4848d4d96a1
[ "Apache-2.0" ]
null
null
null
lib/golem/example_commands/test.ex
ghaabor/golem
202cde10fe86a7e4e5d3713e7c78a4848d4d96a1
[ "Apache-2.0" ]
null
null
null
defmodule Golem.ExampleCommands.Test do @moduledoc """ Example commands. """ use Golem.Command def init do command ~r/test/, fn -> "hello" end command ~r/ping/, fn -> "pong" end end end
17.25
39
0.637681
21d787dc2fbc51f636b952ee3c8bb79e5fd8bfdf
76
exs
Elixir
test/views/layout_view_test.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
189
2018-09-25T09:02:41.000Z
2022-03-09T13:52:06.000Z
test/views/layout_view_test.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
29
2018-09-26T05:51:18.000Z
2021-11-05T08:55:03.000Z
test/views/layout_view_test.exs
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
32
2018-10-21T12:28:11.000Z
2022-03-28T02:20:19.000Z
defmodule Opencov.LayoutViewTest do use Opencov.ConnCase, async: true end
19
35
0.815789
21d791431bf7b810d6cd0c83a64e3e1bfb961fd0
2,213
exs
Elixir
triangle/triangle_test.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
triangle/triangle_test.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
triangle/triangle_test.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("triangle.exs", __DIR__) end ExUnit.start() ExUnit.configure(exclude: :pending, trace: true) defmodule TriangleTest do use ExUnit.Case test "equilateral triangles have equal sides" do assert Triangle.kind(2, 2, 2) == {:ok, :equilateral} end ...
31.169014
89
0.692725
21d7a275abb15be96aac5c04fe89790747e0e358
75
ex
Elixir
lib/pocket_reducer_web/views/layout_view.ex
czogori/pocket_reducer
09ecb2fcdf56a360b827a93c6e211e2885d3b8a3
[ "MIT" ]
null
null
null
lib/pocket_reducer_web/views/layout_view.ex
czogori/pocket_reducer
09ecb2fcdf56a360b827a93c6e211e2885d3b8a3
[ "MIT" ]
null
null
null
lib/pocket_reducer_web/views/layout_view.ex
czogori/pocket_reducer
09ecb2fcdf56a360b827a93c6e211e2885d3b8a3
[ "MIT" ]
null
null
null
defmodule PocketReducerWeb.LayoutView do use PocketReducerWeb, :view end
18.75
40
0.84
21d7a95261687d63c472a724e86d771dd228fd53
602
ex
Elixir
create_fun_umbrella/apps/create_fun_endpoint/lib/create_fun_endpoint/controllers/plugs/reroute.ex
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
null
null
null
create_fun_umbrella/apps/create_fun_endpoint/lib/create_fun_endpoint/controllers/plugs/reroute.ex
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
9
2018-06-17T09:54:03.000Z
2018-06-17T09:55:20.000Z
create_fun_umbrella/apps/create_fun_endpoint/lib/create_fun_endpoint/controllers/plugs/reroute.ex
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
1
2018-06-05T18:38:01.000Z
2018-06-05T18:38:01.000Z
defmodule CreateFunEndpoint.Reroute do import Plug.Conn def init(opts) do CreateFunApi.Router.init(opts) #YipYip-Scaffold-Remove-API CreateFunCms.Router.init(opts) #YipYip-Scaffold-Remove-CMS CreateFunWeb.Router.init(opts) #YipYip-Scaffold-Remove-WEB end def call(conn, params) do case conn.pat...
33.444444
87
0.719269
21d7b32fd2b4ce613ec80922b5ed342c292166d6
1,341
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/operations_scoped_list_warning.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/operations_scoped_list_warning.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/operations_scoped_list_warning.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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.707317
111
0.753915
21d7c1de1ea7f6cb16f7ff7d90ee664ea4c24b16
3,777
ex
Elixir
config/dispatcher.ex
tenforce/esco-etms-platform
22741cf50ee5263bfc523dcaceba49509fe56c7e
[ "Apache-2.0" ]
1
2021-11-27T11:27:54.000Z
2021-11-27T11:27:54.000Z
config/dispatcher.ex
tenforce/esco-etms-platform
22741cf50ee5263bfc523dcaceba49509fe56c7e
[ "Apache-2.0" ]
1
2021-12-01T09:05:17.000Z
2021-12-01T09:05:17.000Z
config/dispatcher.ex
tenforce/esco-etms-platform
22741cf50ee5263bfc523dcaceba49509fe56c7e
[ "Apache-2.0" ]
null
null
null
defmodule Dispatcher do use Plug.Router def start(_argv) do port = 80 IO.puts "Starting Plug with Cowboy on port #{port}" Plug.Adapters.Cowboy.http __MODULE__, [], port: port :timer.sleep(:infinity) end plug Plug.Logger plug :match plug :dispatch match "/sessions/*path" do Proxy.f...
26.978571
78
0.678051
21d7d308659fb194eabfb6f4e576f05b9822f8ce
3,090
exs
Elixir
test/integration/discovery_api/recommendation_engine_test.exs
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
null
null
null
test/integration/discovery_api/recommendation_engine_test.exs
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
null
null
null
test/integration/discovery_api/recommendation_engine_test.exs
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveryApi.RecommendationEngineTest do use ExUnit.Case alias DiscoveryApi.TestDataGenerator, as: TDG alias DiscoveryApi.RecommendationEngine alias DiscoveryApi.Test.Helper use Divo, services: [:redis, :zookeeper, :kafka, :"ecto-postgres"] use DiscoveryApi.DataCase setup do Helper.wait_fo...
30.594059
101
0.589644
21d7d62ad1bd3a020533b6f27fce0a9386a6b23e
678
exs
Elixir
learn/common/errors.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
learn/common/errors.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
learn/common/errors.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
# Raise a runtime error raise "Runtime error" # Raise an argument error raise ArgumentError, message: "the argument value is invalid" # Catch the raised errors and performs some actions regardless of error with `after` {:ok, file} = File.open("/etc/resolv.conf") try do IO.puts "Do some work" rescue e in RuntimeE...
21.1875
84
0.675516
21d80677e252c2fcd8cb20560e06cea4122293d7
819
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20180629050719_add_failure_reason_to_consumption.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20180629050719_add_failure_reason_to_consumption.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20180629050719_add_failure_reason_to_consumption.exs
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...
32.76
74
0.758242
21d8166fbb68f29469436cf92862702e537c178f
3,933
ex
Elixir
lib/docusign/model/envelope_document_tabs.ex
neilberkman/docusign_elixir
64ad8b54af3b82d800808d8866b523aa918c51e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/envelope_document_tabs.ex
tandemequity/docusign_elixir
f27115235de92631b03b6a1d65a503ce2b447d7a
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/envelope_document_tabs.ex
neilberkman/docusign_elixir
64ad8b54af3b82d800808d8866b523aa918c51e6
[ "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.EnvelopeDocumentTabs do @moduledoc """ Envelope Document Tabs resource """ @derive [Poison.Encoder] defstruct [ :app...
37.457143
90
0.654462
21d8240c71fbfbfbdf067ea961b6682cf50c5c4c
702
ex
Elixir
lib/ex338_web/gettext.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
lib/ex338_web/gettext.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
lib/ex338_web/gettext.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338Web.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import Ex338Web.Gettext # Simple translation gettext "Here is the s...
28.08
72
0.678063
21d8303fcfbdd1550c9dcba75457fa5743ae64e8
1,745
ex
Elixir
lib/tube_streamer_web/endpoint.ex
surik/tube_streamer
c353e8512ec6b7521c18e8bdad927d8abad0d346
[ "MIT" ]
1
2018-02-06T17:28:51.000Z
2018-02-06T17:28:51.000Z
lib/tube_streamer_web/endpoint.ex
surik/tube_streamer
c353e8512ec6b7521c18e8bdad927d8abad0d346
[ "MIT" ]
null
null
null
lib/tube_streamer_web/endpoint.ex
surik/tube_streamer
c353e8512ec6b7521c18e8bdad927d8abad0d346
[ "MIT" ]
null
null
null
defmodule TubeStreamerWeb.Endpoint do use Phoenix.Endpoint, otp_app: :tube_streamer socket "/socket", TubeStreamerWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production....
29.083333
95
0.715759
21d859b01ff77aca84962dc46cba418808d38984
1,000
ex
Elixir
lib/superfundme.ex
mapmeld/superfund-me
8bd1aeb78504e6ae068cf57dbefca05bebbb2b07
[ "MIT" ]
null
null
null
lib/superfundme.ex
mapmeld/superfund-me
8bd1aeb78504e6ae068cf57dbefca05bebbb2b07
[ "MIT" ]
3
2016-09-09T21:09:17.000Z
2017-09-13T17:55:20.000Z
lib/superfundme.ex
Georeactor/superfund-me
8bd1aeb78504e6ae068cf57dbefca05bebbb2b07
[ "MIT" ]
null
null
null
defmodule Superfundme do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Start the endpoint when the application starts supervisor(Super...
32.258065
71
0.718
21d87dcdbb414d2d2dbe002c7c1d1fa219701121
2,811
ex
Elixir
lib/forthvm/core-worker.ex
alexiob/forthvm
4dc75790ef98e248ac48a6f4116ad7673cee6287
[ "MIT" ]
8
2021-11-19T14:02:01.000Z
2022-03-09T06:29:33.000Z
lib/forthvm/core-worker.ex
alexiob/forthvm
4dc75790ef98e248ac48a6f4116ad7673cee6287
[ "MIT" ]
null
null
null
lib/forthvm/core-worker.ex
alexiob/forthvm
4dc75790ef98e248ac48a6f4116ad7673cee6287
[ "MIT" ]
1
2021-11-26T18:51:31.000Z
2021-11-26T18:51:31.000Z
defmodule ForthVM.Core.Worker do @moduledoc """ Core supervised worker """ use GenServer @tick_interval 10 def start_link([id: id] = state) do id = id || System.unique_integer() io = Keyword.get(state, :io, :stdio) GenServer.start_link(__MODULE__, [id: id, io: io], name: via_tuple(id)) end ...
25.554545
82
0.598719
21d8bc1117474529f4feb17cfbcd23041689b664
7,487
exs
Elixir
test/forcex/client_test.exs
sata/forcex
ac97cb5a9671063728bb12d443ba1cfbee072d77
[ "MIT" ]
null
null
null
test/forcex/client_test.exs
sata/forcex
ac97cb5a9671063728bb12d443ba1cfbee072d77
[ "MIT" ]
null
null
null
test/forcex/client_test.exs
sata/forcex
ac97cb5a9671063728bb12d443ba1cfbee072d77
[ "MIT" ]
null
null
null
defmodule Forcex.ClientTest do use ExUnit.Case import Mox setup :verify_on_exit! describe "session_id based login" do @session_id "forcex_session_id" @server_url "https://forcex.my.salesforce.com/services/Soap/u/41.0/00Dd0000000cQ8L" @org_id "org_id" @response """ <?xml version=\"1.0\" e...
38.592784
1,608
0.6729
21d8df9e60fce90a5def61c2597dd0a34c520f51
12,666
ex
Elixir
lib/phoenix/endpoint/supervisor.ex
yithanglee/damien_phoenix
c21fa17afc9f550c337b255ac88890630d4bbb75
[ "MIT" ]
null
null
null
lib/phoenix/endpoint/supervisor.ex
yithanglee/damien_phoenix
c21fa17afc9f550c337b255ac88890630d4bbb75
[ "MIT" ]
null
null
null
lib/phoenix/endpoint/supervisor.ex
yithanglee/damien_phoenix
c21fa17afc9f550c337b255ac88890630d4bbb75
[ "MIT" ]
null
null
null
defmodule Phoenix.Endpoint.Supervisor do # This module contains the logic used by most functions in Phoenix.Endpoint # as well the supervisor for sockets, adapters, watchers, etc. @moduledoc false require Logger use Supervisor alias Phoenix.Endpoint.{CowboyAdapter, Cowboy2Adapter} @doc """ Starts the ...
28.917808
117
0.653482
21d8e999b479bffed0c433c1704d843012ecd64d
193
exs
Elixir
priv/repo/migrations/20181116145709_add_index_to_categories.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/repo/migrations/20181116145709_add_index_to_categories.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/repo/migrations/20181116145709_add_index_to_categories.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.AddIndexToCategories do use Ecto.Migration def change do alter table(:categories) do add(:index, :integer, default: 0) end end end
19.3
64
0.725389
21d910e277a81d34ecc499b19f198eca5587b3c6
18,412
ex
Elixir
lib/aws/generated/access_analyzer.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/access_analyzer.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/access_analyzer.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "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.AccessAnalyzer do @moduledoc """ Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to identify any policies that grant access to...
22.076739
129
0.601456
21d91e26c2fc34b02a008dfb91862e79c23567cb
1,649
ex
Elixir
lib/absinthe/phase/document/validation/variables_are_input_types.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
1
2019-10-10T02:57:52.000Z
2019-10-10T02:57:52.000Z
lib/absinthe/phase/document/validation/variables_are_input_types.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
2
2018-08-02T13:35:38.000Z
2018-08-02T13:36:42.000Z
lib/absinthe/phase/document/validation/variables_are_input_types.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
1
2018-11-16T02:34:40.000Z
2018-11-16T02:34:40.000Z
defmodule Absinthe.Phase.Document.Validation.VariablesAreInputTypes do @moduledoc false # Validates document to ensure that all variable definitions are for # input types. alias Absinthe.{Blueprint, Phase, Schema, Type} use Absinthe.Phase use Absinthe.Phase.Validation @doc """ Run the validation. ...
27.032787
89
0.687083
21d93fd8a6a56a98fe6f85d1b0d0c8397daff10f
4,481
exs
Elixir
test/collision/vector/vector_2_test.exs
tpoulsen/collision
6dc6635e9a8623af3d5b88d901903040dc5b046f
[ "BSD-2-Clause" ]
17
2016-08-01T22:10:27.000Z
2021-03-11T10:43:50.000Z
test/collision/vector/vector_2_test.exs
smpoulsen/collision
6dc6635e9a8623af3d5b88d901903040dc5b046f
[ "BSD-2-Clause" ]
3
2016-08-02T02:15:58.000Z
2016-08-18T19:29:14.000Z
test/collision/vector/vector_2_test.exs
smpoulsen/collision
6dc6635e9a8623af3d5b88d901903040dc5b046f
[ "BSD-2-Clause" ]
3
2016-08-18T18:48:41.000Z
2019-04-21T14:21:44.000Z
defmodule Collision.Vector.Vector2Test do use ExUnit.Case use ExCheck doctest Collision.Vector.Vector2 alias Collision.Vector.Vector2 # Generator for Vector2 values def vector2 do domain(:vector2, fn(self, size) -> {_, x} = :triq_dom.pick(real, size) {_, y} = :triq_dom.pick(real, ...
28.909677
100
0.63892
21d982cfc67a1b245063db680a4716e00f88a0be
3,022
ex
Elixir
lib/wallet/request_signin.ex
alexfilatov/near_api
85d92f0ad4fae3a1135adba6a48a1c284870bed8
[ "MIT" ]
7
2021-12-27T19:02:30.000Z
2022-03-30T14:08:46.000Z
lib/wallet/request_signin.ex
alexfilatov/near_api
85d92f0ad4fae3a1135adba6a48a1c284870bed8
[ "MIT" ]
4
2021-12-29T21:16:02.000Z
2022-01-01T22:07:17.000Z
lib/wallet/request_signin.ex
alexfilatov/near_api
85d92f0ad4fae3a1135adba6a48a1c284870bed8
[ "MIT" ]
1
2022-02-21T18:17:36.000Z
2022-02-21T18:17:36.000Z
defmodule NearApi.Wallet.RequestSignin do @moduledoc """ Request Signin struct """ @type t :: %__MODULE__{ contract_id: String.t(), methond_names: [String.t()], success_url: String.t(), failure_url: String.t() } defstruct [:contract_id, :methond_names, :succes...
36.853659
229
0.68994
21d997dcb6ccbbbeae3e4acfc060bd12a21df8d5
175
ex
Elixir
lib/live_beats_web/errors.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
1
2021-11-19T07:44:18.000Z
2021-11-19T07:44:18.000Z
lib/live_beats_web/errors.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
null
null
null
lib/live_beats_web/errors.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
null
null
null
defimpl Plug.Exception, for: EdgeDB.Error do def status(%EdgeDB.Error{name: "NoDataError"}), do: 404 def status(_exception), do: 500 def actions(_exception), do: [] end
29.166667
57
0.714286
21d9a211f16b3869165ab49c108be0bf4d946af8
5,543
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__speech_transcription_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__speech_transcription_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__speech_transcription_config.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 ...
48.622807
216
0.716219
21d9a8936c212287c1c999f89a86ce96398ed43a
1,763
ex
Elixir
clients/games/lib/google_api/games/v1/model/turn_based_match_modification.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/turn_based_match_modification.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/turn_based_match_modification.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
35.26
153
0.759501
21d9b25af497d25fb021ab5832b8d8b8640d00b2
1,212
ex
Elixir
clients/games_management/lib/google_api/games_management/v1management/connection.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/connection.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/connection.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "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...
37.875
85
0.755776
21d9f0bcfded0dcab231bef06a4856bd5828e935
65
ex
Elixir
lib/kirby_web/views/user_settings_view.ex
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
lib/kirby_web/views/user_settings_view.ex
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
lib/kirby_web/views/user_settings_view.ex
prefeitura-municipal-campos/kirby
290835751a28cd7e39be2e721de243e495273be7
[ "BSD-3-Clause" ]
null
null
null
defmodule KirbyWeb.UserSettingsView do use KirbyWeb, :view end
16.25
38
0.815385
21d9f1f9e791078e8e291baf6a3dbaf6739f040f
683
ex
Elixir
lib/credo/issue_meta.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/issue_meta.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/issue_meta.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
defmodule Credo.IssueMeta do @doc """ IssueMeta provides helper functions for meta information which a check wants to pass to the `issue_for(...)` function, i.e. the current SourceFile and check params (by default). """ @type t :: module alias Credo.SourceFile def for(current_source_file, check_param...
25.296296
81
0.736457
21d9f78c1acf50d82cb68aa7f351195fc2845331
161
exs
Elixir
Elixir/E7/Testequenaopassa.exs
incursio26/MATA56
338898d45e54deb69f15dd35b2b327537a2e6266
[ "Unlicense" ]
null
null
null
Elixir/E7/Testequenaopassa.exs
incursio26/MATA56
338898d45e54deb69f15dd35b2b327537a2e6266
[ "Unlicense" ]
null
null
null
Elixir/E7/Testequenaopassa.exs
incursio26/MATA56
338898d45e54deb69f15dd35b2b327537a2e6266
[ "Unlicense" ]
null
null
null
#teste para E2 ´@#&~´´~~~´@#&~~´´%£@#&~££³£²³³£³¢£¬¢£³~~´@#&~~´´´´´~´´¢£³~~´²³@#&~´´%£~´²³@#&~³³£³¢£¬¢£³~~´~´¢£¬¢£³~~´´´¢£¬¢£³~~´~´´¢£³~~´²³@#&~´´%£~´²³@#&~@#&~
80.5
145
0.204969
21da0cf02fc030ed0634a1d00e3e2b24a91240e3
11,987
ex
Elixir
lib/phoenix/template.ex
jshahs/magiclogo
5b18cb4efff04c3547d167bab194d2806ec20d8a
[ "MIT" ]
null
null
null
lib/phoenix/template.ex
jshahs/magiclogo
5b18cb4efff04c3547d167bab194d2806ec20d8a
[ "MIT" ]
null
null
null
lib/phoenix/template.ex
jshahs/magiclogo
5b18cb4efff04c3547d167bab194d2806ec20d8a
[ "MIT" ]
null
null
null
defmodule Phoenix.Template do @moduledoc """ Templates are used by Phoenix when rendering responses. Since many views render significant content, for example a whole HTML file, it is common to put these files into a particular directory, typically "web/templates". This module provides conveniences for rea...
30.346835
97
0.664136
21da10bb58da3d14521c14ee79954ba2b456e044
676
ex
Elixir
lib/mix/tasks/news/feed_only.ex
gustavoarmoa/changelog.com
e898a9979a237ae66962714821ed8633a4966f37
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
lib/mix/tasks/news/feed_only.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
lib/mix/tasks/news/feed_only.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule Mix.Tasks.Changelog.News.FeedOnly do use Mix.Task alias Changelog.{Episode, EpisodeNewsItem, NewsItem, Person, Repo} @shortdoc "Generates news items for historic feed-only episodes" def run(_) do Mix.Task.run("app.start") create_news_items_for_episodes() end defp create_news_items_for_...
22.533333
68
0.668639
21da14c1c31fc7d8753e7c6e8e456bc0fe0b751f
509
exs
Elixir
config/test.exs
judas-christ/final-forum
c42f0f1a2913eb2373353779ced9b4566183422b
[ "MIT" ]
null
null
null
config/test.exs
judas-christ/final-forum
c42f0f1a2913eb2373353779ced9b4566183422b
[ "MIT" ]
null
null
null
config/test.exs
judas-christ/final-forum
c42f0f1a2913eb2373353779ced9b4566183422b
[ "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 :final_forum, FinalForum.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :final_forum, Fi...
25.45
56
0.742633
21da1d89926da4926d90f0fe2b04cb8e7b993dbf
8,147
ex
Elixir
lib/vintage_net/wifi/wpa_supplicant_decoder.ex
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/wifi/wpa_supplicant_decoder.ex
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/wifi/wpa_supplicant_decoder.ex
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
defmodule VintageNet.WiFi.WPASupplicantDecoder do @doc """ Decode notifications from the wpa_supplicant """ def decode_notification(<<"CTRL-REQ-", rest::binary>>) do [field, net_id, text] = String.split(rest, "-", parts: 3, trim: true) {:interactive, "CTRL-REQ-" <> field, String.to_integer(net_id), text...
34.521186
217
0.646127
21da43270fc6b8cfac4410e582b53886b55127c7
17,462
exs
Elixir
lib/logger/test/logger/translator_test.exs
garyf/elixir
20fcde6ff392836dfd4cf449ee438a11b7f52813
[ "Apache-2.0" ]
null
null
null
lib/logger/test/logger/translator_test.exs
garyf/elixir
20fcde6ff392836dfd4cf449ee438a11b7f52813
[ "Apache-2.0" ]
null
null
null
lib/logger/test/logger/translator_test.exs
garyf/elixir
20fcde6ff392836dfd4cf449ee438a11b7f52813
[ "Apache-2.0" ]
null
null
null
defmodule Logger.TranslatorTest do use Logger.Case import Supervisor.Spec defmodule MyGenServer do use GenServer def handle_call(:error, _, _) do raise "oops" end end defmodule MyGenEvent do use GenEvent def handle_call(:error, _) do raise "oops" end end defmodule ...
32.885122
141
0.576452
21da6df8d23829e1d2d682e91d7eb01d8ed4dfed
1,513
ex
Elixir
clients/plus_domains/lib/google_api/plus_domains/v1/model/comment_in_reply_to.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/plus_domains/lib/google_api/plus_domains/v1/model/comment_in_reply_to.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/plus_domains/lib/google_api/plus_domains/v1/model/comment_in_reply_to.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "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...
29.666667
79
0.726371
21da7522c07e93691d297cb11bddc330649421d6
1,775
ex
Elixir
clients/chat/lib/google_api/chat/v1/model/list_memberships_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/chat/lib/google_api/chat/v1/model/list_memberships_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/chat/lib/google_api/chat/v1/model/list_memberships_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2018 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.803922
154
0.743099
21da7ad32789659ae1b3cb20b376781fadba1202
570
ex
Elixir
lib/node.ex
bearice/elixir-etcd
09652791abf3aac84f7c5a777aecdd26091fa8ed
[ "MIT" ]
10
2015-02-18T18:35:03.000Z
2021-09-13T15:24:20.000Z
lib/node.ex
bearice/elixir-etcd
09652791abf3aac84f7c5a777aecdd26091fa8ed
[ "MIT" ]
2
2015-08-11T11:02:59.000Z
2017-10-25T07:41:22.000Z
lib/node.ex
bearice/elixir-etcd
09652791abf3aac84f7c5a777aecdd26091fa8ed
[ "MIT" ]
9
2015-07-28T07:13:58.000Z
2019-09-20T14:06:52.000Z
defmodule Etcd.Node do @derive [Access,Collectable] defstruct [ dir: false, key: nil, nodes: nil, createdIndex: nil, modifiedIndex: nil, ttl: nil, expiration: nil, ] def from_map(map) do load_nodes(Enum.into(map, %Etcd.Node{}, fn({k,v})->{String.to_existing_atom(k),v} end)) ...
24.782609
93
0.642105
21dab5a3b37361d43463f78305935316ffbf135b
277
exs
Elixir
apps/publishing/priv/repo/migrations/20210627194434_alter_article_table_rename_preview_column.exs
Lgdev07/branchpage
302731d35446292ca7b9ec67c46db67cd0393849
[ "MIT" ]
49
2021-06-06T05:40:30.000Z
2021-08-23T04:50:46.000Z
apps/publishing/priv/repo/migrations/20210627194434_alter_article_table_rename_preview_column.exs
felipelincoln/mvp
6f3ca7dfafe884af40883f84f3eb825bb061c974
[ "MIT" ]
40
2021-01-09T16:50:50.000Z
2021-10-01T16:27:35.000Z
apps/publishing/priv/repo/migrations/20210627194434_alter_article_table_rename_preview_column.exs
felipelincoln/mvp
6f3ca7dfafe884af40883f84f3eb825bb061c974
[ "MIT" ]
5
2021-02-20T12:58:39.000Z
2022-02-01T02:23:23.000Z
defmodule Publishing.Repo.Migrations.AlterArticleTableRenamePreviewColumn do use Ecto.Migration def change do rename table(:article), :preview, to: :description alter table(:article) do modify :description, :string add :cover, :text end end end
21.307692
76
0.718412
21dac062fd83aa98163fe8231109328a4ff31015
76
ex
Elixir
lib/planga/scheduler.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
37
2018-07-13T14:08:16.000Z
2021-04-09T15:00:22.000Z
lib/planga/scheduler.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
9
2018-07-16T15:24:39.000Z
2021-09-01T14:21:20.000Z
lib/planga/scheduler.ex
ResiliaDev/Planga
b21d290dd7c2c7fa30571d0a5124d63bd09c0c9e
[ "MIT" ]
3
2018-10-05T20:19:25.000Z
2019-12-05T00:30:01.000Z
defmodule Planga.Scheduler do use Quantum.Scheduler, otp_app: :planga end
19
41
0.802632
21dac4d1b062a542043400254bca504003822845
311
ex
Elixir
homesynck/lib/homesynck_web/views/layout_view.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
5
2021-03-28T21:20:41.000Z
2021-07-02T22:46:29.000Z
homesynck/lib/homesynck_web/views/layout_view.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
homesynck/lib/homesynck_web/views/layout_view.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
defmodule HomesynckWeb.LayoutView do use HomesynckWeb, :view def current_user(conn) do Plug.Conn.get_session(conn, :user_id) end defp sessions_enabled? do enable_sessions = Application.fetch_env!(:homesynck, :enable_sessions) enable_sessions == "true" or enable_sessions == true end end
23.923077
74
0.749196
21daca129788bff2c5d0b74694a0cdf2d60a8b44
1,162
ex
Elixir
lib/mix/tasks/count_read.ex
szTheory/bsoneach
deb0a6721518ed9712cef4fc952df5ae3ba23c69
[ "MIT" ]
8
2016-08-05T19:28:16.000Z
2021-07-15T22:00:30.000Z
lib/mix/tasks/count_read.ex
szTheory/bsoneach
deb0a6721518ed9712cef4fc952df5ae3ba23c69
[ "MIT" ]
5
2016-08-29T13:07:15.000Z
2016-11-24T16:58:01.000Z
lib/mix/tasks/count_read.ex
szTheory/bsoneach
deb0a6721518ed9712cef4fc952df5ae3ba23c69
[ "MIT" ]
5
2018-06-19T02:43:46.000Z
2021-07-15T22:00:36.000Z
defmodule Mix.Tasks.CountRead do use Mix.Task alias BSONEach.Mix.Utils.CounterAgent @moduledoc """ This module defines a task that loads a whole BSON fixture and increments counter on each document. ## Examples $ mix count_read test.bson """ @shortdoc "Load a whole BSON fixture and increment cou...
20.385965
101
0.656627
21dae14442c9c59f61beb406172703616cee8704
1,417
exs
Elixir
test/ja_serializer/builder/resource_object_test.exs
Xerpa/ja_serializer
b94a37fd9ed6fdb20dc3776cd5c581fefc57c924
[ "Apache-2.0" ]
1
2017-08-31T04:00:15.000Z
2017-08-31T04:00:15.000Z
test/ja_serializer/builder/resource_object_test.exs
Xerpa/ja_serializer
b94a37fd9ed6fdb20dc3776cd5c581fefc57c924
[ "Apache-2.0" ]
null
null
null
test/ja_serializer/builder/resource_object_test.exs
Xerpa/ja_serializer
b94a37fd9ed6fdb20dc3776cd5c581fefc57c924
[ "Apache-2.0" ]
null
null
null
defmodule JaSerializer.Builder.ResourceObjectTest do use ExUnit.Case defmodule ArticleSerializer do use JaSerializer def type, do: "articles" attributes [:title, :body] end test "single resource object built correctly" do a1 = %TestModel.Article{id: "a1", title: "a1", body: "a1"} context...
29.520833
91
0.677488
21dae6240ded020946f898337ad9db98a4a7a447
1,715
exs
Elixir
mix.exs
membraneframework/membrane_aac_plugin
6d40aa158f6b0926cc84763e6e2ff9555d5704e3
[ "Apache-2.0" ]
null
null
null
mix.exs
membraneframework/membrane_aac_plugin
6d40aa158f6b0926cc84763e6e2ff9555d5704e3
[ "Apache-2.0" ]
5
2020-06-24T13:22:23.000Z
2022-01-03T12:05:10.000Z
mix.exs
membraneframework/membrane_aac_plugin
6d40aa158f6b0926cc84763e6e2ff9555d5704e3
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Element.AAC.MixProject do use Mix.Project @version "0.11.1" @github_url "https://github.com/membraneframework/membrane_aac_plugin" def project do [ app: :membrane_aac_plugin, version: @version, elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), deps...
22.272727
72
0.55102
21db1af4077897faaaa2e525df2406642c446648
681
ex
Elixir
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/source.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/source.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/source.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Containers.Model.Source do @moduledoc """ The registry node that generated the event. Put differently, while the ac...
24.321429
124
0.71072
21db200ce2ed681254ac21f9a3f8c6a90d22385c
1,011
ex
Elixir
lib/deribit/utils/periodic_message.ex
0nkery/psychic-computing-machine
d90e8792c49d170e166b4d6029e4686104109b24
[ "MIT" ]
null
null
null
lib/deribit/utils/periodic_message.ex
0nkery/psychic-computing-machine
d90e8792c49d170e166b4d6029e4686104109b24
[ "MIT" ]
null
null
null
lib/deribit/utils/periodic_message.ex
0nkery/psychic-computing-machine
d90e8792c49d170e166b4d6029e4686104109b24
[ "MIT" ]
null
null
null
defmodule Deribit.Utils.PeriodicMessage do @moduledoc """ Небольшой helper для периодических тасков. Сохраняет интервал и возвращает ссылку на сообщение, которое триггерит выполнение таска. Сообщения отправляются обычным образом - то есть, нужно обрабатывать их с помощью `handle_info/2` внутри `GenServer`, `G...
25.923077
81
0.703264
21db47ef6ce90adc503bec282198f52d06154a53
39
exs
Elixir
015.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
015.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
015.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
sz = 20 Euler.comb(2*sz, sz) |> IO.puts
13
20
0.615385
21db5b70201c44989e1fd08c3d2ff88494eff054
1,511
exs
Elixir
orderapi/config/dev.exs
iandeherdt/phoenixshop
cd6e223c676505b75c1340b96908468a5c09fd7c
[ "Apache-2.0" ]
1
2018-03-06T10:32:22.000Z
2018-03-06T10:32:22.000Z
orderapi/config/dev.exs
iandeherdt/phoenixshop
cd6e223c676505b75c1340b96908468a5c09fd7c
[ "Apache-2.0" ]
null
null
null
orderapi/config/dev.exs
iandeherdt/phoenixshop
cd6e223c676505b75c1340b96908468a5c09fd7c
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :orderapi, OrderapiWeb.Endpoint, http: [port: ...
32.148936
170
0.735936
21db616246ad89d438a45806acd83b15d2c430f2
1,178
ex
Elixir
lib/explorer/polars_backend/series/iterator.ex
srowley/explorer
f17dd01d0b60f7d00718c94a8b0779befb1c8e82
[ "MIT" ]
null
null
null
lib/explorer/polars_backend/series/iterator.ex
srowley/explorer
f17dd01d0b60f7d00718c94a8b0779befb1c8e82
[ "MIT" ]
null
null
null
lib/explorer/polars_backend/series/iterator.ex
srowley/explorer
f17dd01d0b60f7d00718c94a8b0779befb1c8e82
[ "MIT" ]
null
null
null
defmodule Explorer.PolarsBackend.Series.Iterator do @moduledoc false defstruct [:series, :size] alias Explorer.PolarsBackend.Series def new(series) do %__MODULE__{series: series, size: Series.size(series)} end defimpl Enumerable do alias Explorer.PolarsBackend.Series def count(iterator), do...
25.608696
80
0.632428
21dbb0c1fda3794733e56b01b9cb47a7e6a8b64d
569
exs
Elixir
lib/eex/test/eex/smart_engine_test.exs
fishcakez/elixir
1b8ab9ae0b28ddbbb867a85f86fcdaa15ef522a0
[ "Apache-2.0" ]
1
2017-09-09T20:59:04.000Z
2017-09-09T20:59:04.000Z
lib/eex/test/eex/smart_engine_test.exs
fishcakez/elixir
1b8ab9ae0b28ddbbb867a85f86fcdaa15ef522a0
[ "Apache-2.0" ]
null
null
null
lib/eex/test/eex/smart_engine_test.exs
fishcakez/elixir
1b8ab9ae0b28ddbbb867a85f86fcdaa15ef522a0
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule EEx.SmartEngineTest do use ExUnit.Case, async: true test "evaluates simple string" do assert_eval "foo bar", "foo bar" end test "evaluates with assigns" do assert_eval "1", "<%= @foo %>", assigns: [foo: 1] end test "evaluates with loops" ...
24.73913
81
0.646749
21dbc68230e858f36a0f97508bffb34f4d6bca04
8,601
ex
Elixir
lib/epicenter/accounts.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
lib/epicenter/accounts.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
lib/epicenter/accounts.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule Epicenter.Accounts do alias Epicenter.Accounts.Admin alias Epicenter.Accounts.Login alias Epicenter.Accounts.User alias Epicenter.Accounts.UserToken alias Epicenter.Accounts.UserNotifier alias Epicenter.AuditingRepo alias Epicenter.Repo def change_login(attrs), do: Login.changeset(%Login{}, a...
32.579545
141
0.681084
21dbdffb9d32fd6999d619792eff6d6099f79b1a
968
ex
Elixir
demos/my_system/lib/my_system/application.ex
randycoulman/boundary
2fdea46e702400c152670262d5ca1f31edbd4fa1
[ "MIT" ]
490
2019-09-07T10:33:15.000Z
2022-03-30T09:50:03.000Z
demos/my_system/lib/my_system/application.ex
randycoulman/boundary
2fdea46e702400c152670262d5ca1f31edbd4fa1
[ "MIT" ]
35
2019-09-07T10:49:25.000Z
2022-03-18T10:02:34.000Z
demos/my_system/lib/my_system/application.ex
randycoulman/boundary
2fdea46e702400c152670262d5ca1f31edbd4fa1
[ "MIT" ]
16
2019-09-08T15:09:16.000Z
2022-02-12T21:40:14.000Z
defmodule MySystem.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Boundary, top_level?: true, deps: [MySystem, MySystemWeb] use Application def start(_type, _args) do # List all child processes to be supervised childr...
29.333333
67
0.716942
21dbedd176c3943e74ff4a2c94b63ae846e7c916
8,071
ex
Elixir
lib/oli/part_components.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/part_components.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/part_components.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
defmodule Oli.PartComponents do import Ecto.Query, warn: false alias Oli.Repo alias Oli.PartComponents.Manifest alias Oli.PartComponents.PartComponentRegistration alias Oli.Authoring.Course alias Oli.PartComponents.PartComponentRegistrationProject alias Oli.PartComponents.PartComponentMapEntry import O...
29.564103
95
0.659893
21dc0d51bf0c2097594d0253261fb89ce1a39f36
71
ex
Elixir
lib/space_raiders_web/views/page_view.ex
abinader89/Space-Raiders
d5e01a3200a54d22824b890238613a00f32a7d62
[ "CC-BY-3.0" ]
null
null
null
lib/space_raiders_web/views/page_view.ex
abinader89/Space-Raiders
d5e01a3200a54d22824b890238613a00f32a7d62
[ "CC-BY-3.0" ]
null
null
null
lib/space_raiders_web/views/page_view.ex
abinader89/Space-Raiders
d5e01a3200a54d22824b890238613a00f32a7d62
[ "CC-BY-3.0" ]
null
null
null
defmodule SpaceRaidersWeb.PageView do use SpaceRaidersWeb, :view end
17.75
37
0.830986
21dc25f1f16805c44f6c2115069f6eff34e0f68c
1,650
ex
Elixir
lib/gigalixir_ex_web.ex
pmaksimenko/gigalixir-ex
bbf73bbe1f6b89d925b43a3f9c57e2727c60c5fc
[ "MIT" ]
null
null
null
lib/gigalixir_ex_web.ex
pmaksimenko/gigalixir-ex
bbf73bbe1f6b89d925b43a3f9c57e2727c60c5fc
[ "MIT" ]
null
null
null
lib/gigalixir_ex_web.ex
pmaksimenko/gigalixir-ex
bbf73bbe1f6b89d925b43a3f9c57e2727c60c5fc
[ "MIT" ]
null
null
null
defmodule GigalixirExWeb 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 GigalixirExWeb, :controller use GigalixirExWeb, :view The definitions below will be executed for every view, ...
24.264706
69
0.695758
21dc32ae494f5feff6a4b4b2fe1890b336f17c3c
698
exs
Elixir
test/support/fixtures/dynamic/prefix_schema.exs
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
null
null
null
test/support/fixtures/dynamic/prefix_schema.exs
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
2
2018-08-02T13:35:38.000Z
2018-08-02T13:36:42.000Z
test/support/fixtures/dynamic/prefix_schema.exs
jlgeering/absinthe
a3dbc29640d613928398626ad75a8f03203a1720
[ "MIT" ]
null
null
null
defmodule Absinthe.Fixtures.PrefixSchema do use Absinthe.Schema query do field :foo, :integer do arg :bar, :string end field :__mything, name: "__mything", type: :string, args: [ __myarg: [type: :integer] ], resolve: fn _, _ -> {:ok, %{name: "Test"}}...
17.45
68
0.578797
21dc352650b59479ae058d05ff130d299fbd596c
12,220
exs
Elixir
meetup/meetup_test.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
meetup/meetup_test.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
meetup/meetup_test.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("meetup.exs", __DIR__) end ExUnit.start ExUnit.configure trace: true defmodule MeetupTest do use ExUnit.Case # @tag :skip test "monteenth of may 2013" do assert Meetup.meetup(2013, 5, :monday, :teenth) == {2013, 5, 13} end # @tag :skip ...
26.223176
72
0.626187
21dc5f21ba39d2e27502cd719ba0ad9b92e4788e
2,407
ex
Elixir
lib/teslamate/settings.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
2,602
2019-07-24T23:19:12.000Z
2022-03-31T15:03:48.000Z
lib/teslamate/settings.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
1,547
2019-07-26T22:02:09.000Z
2022-03-31T15:39:41.000Z
lib/teslamate/settings.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
524
2019-07-26T17:31:33.000Z
2022-03-29T15:16:36.000Z
defmodule TeslaMate.Settings do @moduledoc """ The Settings context. """ import Ecto.Query, warn: false alias TeslaMate.Repo alias __MODULE__.{GlobalSettings, CarSettings} alias TeslaMate.{Log, Locations} alias TeslaMate.Log.Car def get_global_settings! do case Repo.all(GlobalSettings) do ...
25.88172
101
0.659742
21dc63d050d4de8e26c6c0cf9054806fe464444e
327
ex
Elixir
apps/tai/lib/tai/events/hydrate_accounts.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/lib/tai/events/hydrate_accounts.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/events/hydrate_accounts.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.Events.HydrateAccounts do alias __MODULE__ @type venue_id :: Tai.Venue.id() @type t :: %HydrateAccounts{ venue_id: venue_id, total: non_neg_integer, filtered: non_neg_integer } @enforce_keys ~w(venue_id total filtered)a defstruct ~w(venue_id total filtered...
23.357143
44
0.675841
21dc7fa82d0f5977fd73d0b6f4667f799a4c207b
3,354
ex
Elixir
lib/licensir/scanner.ex
bonfire-networks/licensir
969a1beeadb7b79fb757a4b49cfd24d553fde024
[ "MIT" ]
null
null
null
lib/licensir/scanner.ex
bonfire-networks/licensir
969a1beeadb7b79fb757a4b49cfd24d553fde024
[ "MIT" ]
null
null
null
lib/licensir/scanner.ex
bonfire-networks/licensir
969a1beeadb7b79fb757a4b49cfd24d553fde024
[ "MIT" ]
null
null
null
defmodule Licensir.Scanner do @moduledoc """ Scans the project's dependencies for their license information. """ alias Licensir.{License, FileAnalyzer, Guesser} @human_names %{ agpl_v3: "AGPL v3", apache2: "Apache 2.0", bsd: "BSD", cc0: "CC0 1.0", gpl_v2: "GPL v2", gpl_v3: "GPL v3", ...
24.661765
91
0.625224
21dcb616b3e322e8b4e528ebf819aa0789ee71a6
5,697
exs
Elixir
test/elixir/test/all_docs_test.exs
popojargo/couchdb
e97f0297234b03b9b4a9904c7403b703a2a9a735
[ "Apache-2.0" ]
null
null
null
test/elixir/test/all_docs_test.exs
popojargo/couchdb
e97f0297234b03b9b4a9904c7403b703a2a9a735
[ "Apache-2.0" ]
null
null
null
test/elixir/test/all_docs_test.exs
popojargo/couchdb
e97f0297234b03b9b4a9904c7403b703a2a9a735
[ "Apache-2.0" ]
null
null
null
defmodule AllDocsTest do use CouchTestCase @moduletag :all_docs @moduledoc """ Test CouchDB _all_docs This is a port of the all_docs.js suite """ # TODO: do we need to bring this in? # var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"}, {w: 3}); @tag :with_db test "All Docs tests", co...
32.369318
97
0.562928
21dcd627a9679378755aba3aad1a87baad8e5dcb
3,739
ex
Elixir
lib/bgp/protocol/update.ex
rzalamena/bgp_bench
069e0583ec62b44f20d838849eb444434cf426fc
[ "MIT" ]
2
2018-02-24T15:02:11.000Z
2021-06-19T17:25:11.000Z
lib/bgp/protocol/update.ex
rzalamena/bgp_bench
069e0583ec62b44f20d838849eb444434cf426fc
[ "MIT" ]
null
null
null
lib/bgp/protocol/update.ex
rzalamena/bgp_bench
069e0583ec62b44f20d838849eb444434cf426fc
[ "MIT" ]
null
null
null
defmodule Bgp.Protocol.Update do @moduledoc """ Documentation for protocol UPDATE messages (RFC 4271). """ use Bitwise defmodule PathAttribute do @moduledoc """ Path attribute options for encoding. """ @enforce_keys [:type, :flags, :value] defstruct [type: nil, flags: nil, value: nil] ...
24.437908
81
0.6138
21dcd744e0f3f5bcb60761b954ac5b417801b8eb
71
exs
Elixir
config/dev.secret.exs
wasi0013/tbud
19b3931f758cd5c923296a7f64ffc74d320e2243
[ "MIT" ]
null
null
null
config/dev.secret.exs
wasi0013/tbud
19b3931f758cd5c923296a7f64ffc74d320e2243
[ "MIT" ]
2
2021-11-12T14:34:12.000Z
2021-11-12T14:40:30.000Z
config/dev.secret.exs
wasi0013/tbud
19b3931f758cd5c923296a7f64ffc74d320e2243
[ "MIT" ]
null
null
null
import Config config :app, bot_name: "" config :nadia, token: ""
8.875
14
0.633803
21dcd804758ad4217dbdc0318cbae029364d9457
386
ex
Elixir
lib/chaos_spawn/pid_list.ex
meadsteve/chaos-spawn
ca983ad96cb1e8541474e726f727d20636828c24
[ "MIT" ]
90
2015-09-29T16:40:17.000Z
2022-02-20T18:45:54.000Z
lib/chaos_spawn/pid_list.ex
meadsteve/chaos-spawn
ca983ad96cb1e8541474e726f727d20636828c24
[ "MIT" ]
17
2015-09-29T15:37:43.000Z
2015-12-09T08:46:41.000Z
lib/chaos_spawn/pid_list.ex
meadsteve/chaos-spawn
ca983ad96cb1e8541474e726f727d20636828c24
[ "MIT" ]
6
2015-12-03T16:03:35.000Z
2018-06-28T00:54:08.000Z
defmodule ChaosSpawn.PidList do @moduledoc """ Utilities for dealing with lists of pids """ def only_alive(pids) do pids |> Stream.filter(&Process.alive?/1) end def pick_random(pids) do try do [pid] = pids |> Enum.shuffle |> only_alive |> Enum.take(1) pid ...
16.083333
42
0.580311