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
3f565d2ed104a8f4441d05227d00d14375f8429d
1,850
exs
Elixir
clients/o_auth2/mix.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/o_auth2/mix.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/o_auth2/mix.exs
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...
27.61194
107
0.656216
3f56616d8c2904024de563e8f53f9ee00df163a4
1,545
exs
Elixir
mix.exs
sntran/yEnc
3a5f12e8a7f98507651d4eec537500fafc69705d
[ "Apache-2.0" ]
null
null
null
mix.exs
sntran/yEnc
3a5f12e8a7f98507651d4eec537500fafc69705d
[ "Apache-2.0" ]
null
null
null
mix.exs
sntran/yEnc
3a5f12e8a7f98507651d4eec537500fafc69705d
[ "Apache-2.0" ]
null
null
null
defmodule YEnc.MixProject do use Mix.Project @version "0.5.0" @repo "https://github.com/sntran/yEnc" def project do [ app: :yEnc, version: @version, description: """ The Erlang yEnc decoder and encoder. """, elixir: "~> 1.11", elixirc_paths: elixirc_paths(Mix.env(...
21.760563
68
0.55534
3f569ebc27161111d46e357afcde93f76c2ba562
11,985
ex
Elixir
lib/phoenix_live_view/static.ex
ucwaldo/phoenix_live_view
aa192420dc3b3b4158bbc7582ce39cb149221170
[ "MIT" ]
2
2021-05-15T05:20:19.000Z
2021-05-20T17:55:04.000Z
lib/phoenix_live_view/static.ex
ucwaldo/phoenix_live_view
aa192420dc3b3b4158bbc7582ce39cb149221170
[ "MIT" ]
1
2021-05-12T12:14:27.000Z
2021-05-12T12:14:27.000Z
lib/phoenix_live_view/static.ex
ucwaldo/phoenix_live_view
aa192420dc3b3b4158bbc7582ce39cb149221170
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Static do # Holds the logic for static rendering. @moduledoc false alias Phoenix.LiveView.{Socket, Utils, Diff} # Token version. Should be changed whenever new data is stored. @token_vsn 4 def token_vsn, do: @token_vsn # Max session age in seconds. Equivalent to 2 weeks. @...
29.519704
102
0.636212
3f56f02c25d6e2d14d310e760077a8a18bffbbfb
6,511
ex
Elixir
lib/console/devices/devices.ex
JeffcoTrading/console
78a6634b0f1cbe922de02488ecc0492b0680e724
[ "Apache-2.0" ]
1
2021-11-18T13:32:47.000Z
2021-11-18T13:32:47.000Z
lib/console/devices/devices.ex
JeffcoTrading/console
78a6634b0f1cbe922de02488ecc0492b0680e724
[ "Apache-2.0" ]
null
null
null
lib/console/devices/devices.ex
JeffcoTrading/console
78a6634b0f1cbe922de02488ecc0492b0680e724
[ "Apache-2.0" ]
null
null
null
defmodule Console.Devices do import Ecto.Query, warn: false alias Console.Repo alias Console.Devices.Device alias Console.Devices.DeviceImports alias Console.Organizations.Organization alias Console.Labels.DevicesLabels alias Console.Organizations.Organization alias Console.Events.Event def list_dev...
28.937778
148
0.642144
3f5705e21d04a71eb537494cf6b0225282d5a5f9
1,478
exs
Elixir
config/config.exs
filipebteixeira98/heatmicroservice
1521a4e33b7ff82f406e4430d4dfa223f3c54474
[ "MIT" ]
null
null
null
config/config.exs
filipebteixeira98/heatmicroservice
1521a4e33b7ff82f406e4430d4dfa223f3c54474
[ "MIT" ]
null
null
null
config/config.exs
filipebteixeira98/heatmicroservice
1521a4e33b7ff82f406e4430d4dfa223f3c54474
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config config :heat_tags, ecto_repos: [HeatTags.Repo] # C...
30.791667
81
0.746279
3f5718b574320b6ef8a62fdec5bb9fb8ab680403
4,402
ex
Elixir
lib/mailapi/smtp_handler.ex
tongdao/mailapi
529e04cdcd1f2a4449524f48cadaae233588abee
[ "MIT" ]
null
null
null
lib/mailapi/smtp_handler.ex
tongdao/mailapi
529e04cdcd1f2a4449524f48cadaae233588abee
[ "MIT" ]
null
null
null
lib/mailapi/smtp_handler.ex
tongdao/mailapi
529e04cdcd1f2a4449524f48cadaae233588abee
[ "MIT" ]
null
null
null
defmodule Mailapi.SmtpHandler do @behaviour :gen_smtp_server_session require Logger alias Mailapi.Database defmodule State do defstruct options: [] end @type error_message :: {:error, String.t, State.t} # SMTP error codes @smtp_too_busy 421 @smtp_requested_action_okay 250 @smtp_mail_action_a...
30.150685
151
0.661972
3f573e77ead286a01cf7391a69e84cb0559ad7e8
21,099
ex
Elixir
lib/new_relic/transaction/complete.ex
edds/elixir_agent
fbf95830f05a09cca4b8e3eda50c3a7f899cc4f7
[ "Apache-2.0" ]
null
null
null
lib/new_relic/transaction/complete.ex
edds/elixir_agent
fbf95830f05a09cca4b8e3eda50c3a7f899cc4f7
[ "Apache-2.0" ]
null
null
null
lib/new_relic/transaction/complete.ex
edds/elixir_agent
fbf95830f05a09cca4b8e3eda50c3a7f899cc4f7
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Transaction.Complete do @moduledoc false alias NewRelic.Util alias NewRelic.Harvest.Collector alias NewRelic.DistributedTrace alias NewRelic.Transaction def run( %{start_time: _, start_time_mono: _, end_time_mono: _} = tx_attrs, pid ) do {tx_segments, tx_attrs,...
31.350669
100
0.666288
3f5776a3ea79b5594ecb69a40610c22bb1adb959
2,466
exs
Elixir
config/prod.exs
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
config/prod.exs
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
config/prod.exs
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
33.780822
72
0.716139
3f5781d6a1efe96c1f83b5956ae2ba515eb64602
7,699
ex
Elixir
apps/docker/lib/docker.ex
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
1
2020-10-23T19:25:27.000Z
2020-10-23T19:25:27.000Z
apps/docker/lib/docker.ex
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
5
2019-01-11T11:48:08.000Z
2019-01-16T17:29:23.000Z
apps/docker/lib/docker.ex
makerdao/qa_backend_gateway
38e9a3f3f4b66212f1ee9d38b3b698a2a1f9a809
[ "Apache-2.0" ]
7
2019-10-09T05:49:52.000Z
2022-03-23T16:48:45.000Z
defmodule Staxx.Docker do @moduledoc """ Set of docker commands """ require Logger alias Staxx.Docker.Container alias Staxx.Docker.Struct.SyncResult # Sync docker operation timeout @timeout Application.get_env(:docker, :sync_timmeout, 180_000) @doc """ Start existing container in system """ @...
26.098305
94
0.625276
3f578c4e6cdaacb87f09f81ab9df4b29c86314b6
1,831
exs
Elixir
mix.exs
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
mix.exs
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
2
2021-03-09T09:26:25.000Z
2021-05-09T08:58:51.000Z
mix.exs
rpillar/Top5_Elixir2
9f3a9a0315c5dc53cb53aab93deadccdb697a868
[ "MIT" ]
null
null
null
defmodule Top52.MixProject do use Mix.Project def project do [ app: :top5_2, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
26.926471
79
0.558165
3f57962bf04b0553d16489ccb74cab62669f61f5
1,370
ex
Elixir
lib/slackex/instant_message.ex
soriyath/slackex
ee972bb4ef61d6f0876f7da7cb9b944491681d26
[ "MIT" ]
30
2016-01-12T18:05:37.000Z
2020-06-19T19:54:11.000Z
lib/slackex/instant_message.ex
soriyath/slackex
ee972bb4ef61d6f0876f7da7cb9b944491681d26
[ "MIT" ]
7
2016-01-12T18:23:35.000Z
2020-11-30T13:26:47.000Z
lib/slackex/instant_message.ex
soriyath/slackex
ee972bb4ef61d6f0876f7da7cb9b944491681d26
[ "MIT" ]
5
2016-11-01T17:17:38.000Z
2019-10-29T16:08:45.000Z
defmodule Slackex.IM do @moduledoc """ Get info on your direct messages. """ @doc """ This method closes a direct message channel. """ def close(channel, options \\ %{}) do params = options |> Map.merge(%{channel: channel}) Slackex.request("im.close", params) end @doc """ This method retur...
26.346154
69
0.660584
3f57ba705e4bd068d75faa565a5369dda4368e95
973
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/request_builder.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/request_builder.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/request_builder.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.423077
77
0.766701
3f57d42e616b16965ff8255f5313dab3a05bc6a4
2,263
ex
Elixir
lib/auto_api/states/historical_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/states/historical_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/states/historical_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
36.5
96
0.72426
3f5834949073e3e6f38addca5c4da9523e7539ef
1,814
ex
Elixir
lib/redis_provider/provider.ex
Anp-tomsk/redis_provider
4932d51f83b0b0e8146a61eb3bcf7da099775573
[ "MIT" ]
null
null
null
lib/redis_provider/provider.ex
Anp-tomsk/redis_provider
4932d51f83b0b0e8146a61eb3bcf7da099775573
[ "MIT" ]
null
null
null
lib/redis_provider/provider.ex
Anp-tomsk/redis_provider
4932d51f83b0b0e8146a61eb3bcf7da099775573
[ "MIT" ]
null
null
null
defmodule RedisProvider.Provider do alias RedisProvider.{BasicAdapter, ListAdapter, MapAdapter, RedisWrapper} def push(conn, key, value) when is_list(value) do ListAdapter.push(key, value) |> RedisWrapper.execute(conn) end def push(conn, key, value) when is_map(value) do MapAdapter.set(ke...
24.513514
76
0.631753
3f5844e4e00fd9b012d01930052799a32b2289a0
705
exs
Elixir
mix.exs
nsarno/http2_server
096a99611248c7b7c3373392e1e220ea7108df49
[ "MIT" ]
1
2016-08-17T19:01:55.000Z
2016-08-17T19:01:55.000Z
mix.exs
nsarno/http2_server
096a99611248c7b7c3373392e1e220ea7108df49
[ "MIT" ]
null
null
null
mix.exs
nsarno/http2_server
096a99611248c7b7c3373392e1e220ea7108df49
[ "MIT" ]
null
null
null
defmodule Http2Server.Mixfile do use Mix.Project def project do [app: :http2_server, version: "0.0.1", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type "mix help compile.app"...
20.735294
77
0.608511
3f585cd7b98e5cb3f823da47af6321ba763800f0
5,424
ex
Elixir
clients/composer/lib/google_api/composer/v1beta1/model/software_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/composer/lib/google_api/composer/v1beta1/model/software_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1beta1/model/software_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 "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 ...
43.741935
134
0.697456
3f5884bbc8c6ee42caed57b7d75afd6404321c59
1,422
ex
Elixir
lib/scripture/exception_reporter.ex
exterm/scripture
eec53d2626f8484c03ad0545feffc73ec276fcab
[ "MIT" ]
null
null
null
lib/scripture/exception_reporter.ex
exterm/scripture
eec53d2626f8484c03ad0545feffc73ec276fcab
[ "MIT" ]
30
2016-08-21T18:33:11.000Z
2020-04-12T23:16:18.000Z
lib/scripture/exception_reporter.ex
exterm/scripture
eec53d2626f8484c03ad0545feffc73ec276fcab
[ "MIT" ]
null
null
null
defmodule Scripture.ExceptionReporter do def rollbar_standard_metadata(conn) do headers_map = Map.new(conn.req_headers) |> Map.delete("x-forwarded-for") %{ framework: "phoenix " <> phoenix_version(), request: %{ url: build_url(conn, headers_map), method: conn.meth...
30.255319
87
0.604079
3f5890626b10b12ffcc077138778d657a0f5b01e
1,059
ex
Elixir
lib/fatex_web/channels/user_socket.ex
vinicius-molina/FaTex
bbc05acef7a9697efe9ec0fe64511bce9f26a9b3
[ "Apache-2.0" ]
3
2019-12-08T19:42:39.000Z
2020-03-17T13:02:56.000Z
lib/fatex_web/channels/user_socket.ex
vinicius-molina/FaTex
bbc05acef7a9697efe9ec0fe64511bce9f26a9b3
[ "Apache-2.0" ]
1
2021-03-09T19:49:41.000Z
2021-03-09T19:49:41.000Z
lib/fatex_web/channels/user_socket.ex
vinicius-molina/FaTex
bbc05acef7a9697efe9ec0fe64511bce9f26a9b3
[ "Apache-2.0" ]
1
2019-12-08T19:42:42.000Z
2019-12-08T19:42:42.000Z
defmodule FatexWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", FatexWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels, ...
31.147059
83
0.694995
3f58a0c8d204c66ef96eff501b641b7daa376bce
2,582
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/auth_requirement.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/auth_requirement.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/auth_requirement.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...
36.366197
125
0.726956
3f58ac3d13e0ca797150df8f3ab99ec47b68de54
2,101
exs
Elixir
backend/config/prod.exs
ospaarmann/ex-emoji-map
7a5c2a1b4c2c684ddee33ac2b284c65d150965d4
[ "MIT" ]
14
2018-01-12T08:47:00.000Z
2020-06-18T04:59:27.000Z
backend/config/prod.exs
ospaarmann/ex-emoji-map
7a5c2a1b4c2c684ddee33ac2b284c65d150965d4
[ "MIT" ]
1
2017-03-17T13:15:47.000Z
2017-03-17T13:15:47.000Z
backend/config/prod.exs
ospaarmann/ex-emoji-map
7a5c2a1b4c2c684ddee33ac2b284c65d150965d4
[ "MIT" ]
4
2018-07-31T12:29:15.000Z
2021-01-05T19:22:49.000Z
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
30.897059
67
0.70633
3f58d7202d78331c6fba153d3f28299eaf7cc780
345
ex
Elixir
examples/crud_example/lib/crud_example/application.ex
aenglisc/elixir-mongodb-driver
a8a72fbb8690f44ac349e0449616ac2cfbf50640
[ "Apache-2.0" ]
140
2019-04-10T09:23:53.000Z
2022-03-27T12:37:02.000Z
examples/crud_example/lib/crud_example/application.ex
aenglisc/elixir-mongodb-driver
a8a72fbb8690f44ac349e0449616ac2cfbf50640
[ "Apache-2.0" ]
99
2019-04-11T07:46:45.000Z
2022-03-31T07:23:28.000Z
examples/crud_example/lib/crud_example/application.ex
aenglisc/elixir-mongodb-driver
a8a72fbb8690f44ac349e0449616ac2cfbf50640
[ "Apache-2.0" ]
45
2019-07-15T07:06:21.000Z
2021-11-24T09:23:21.000Z
defmodule CrudExample.Application do @moduledoc false use Application def start(_type, _args) do import Supervisor.Spec children = [ worker(Mongo, [[name: :mongo, database: "db-1", pool_size: 3]]) ] opts = [strategy: :one_for_one, name: CrudExample.Supervisor] Supervisor.start_link(c...
20.294118
69
0.684058
3f58fa54a0fe6ddad671ffb70eb9c0d0cad715db
59
ex
Elixir
lib/ex_daas_web/views/page_view.ex
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
8
2018-03-21T17:44:35.000Z
2020-01-12T03:24:18.000Z
lib/ex_daas_web/views/page_view.ex
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
5
2018-03-22T02:03:10.000Z
2018-04-03T15:19:03.000Z
lib/ex_daas_web/views/page_view.ex
selfup/exdaas
60b522397e0c1e3ea5b3520573c9aedb99dd76b9
[ "MIT" ]
1
2018-03-30T11:09:40.000Z
2018-03-30T11:09:40.000Z
defmodule ExDaasWeb.PageView do use ExDaasWeb, :view end
14.75
31
0.79661
3f5966aac2a79c38f3d515d7abec5a34e8daaada
462
exs
Elixir
server/test/fakers_api_web/views/error_view_test.exs
bart-kosmala/fakers
aff49689c2507a5f8e6e81441bd922ec8887bbc9
[ "MIT" ]
5
2020-11-15T17:46:40.000Z
2021-06-15T16:10:57.000Z
server/test/fakers_api_web/views/error_view_test.exs
bart-kosmala/fakers
aff49689c2507a5f8e6e81441bd922ec8887bbc9
[ "MIT" ]
5
2020-12-04T13:38:10.000Z
2020-12-18T11:15:50.000Z
server/test/fakers_api_web/views/error_view_test.exs
bart-kosmala/fakers
aff49689c2507a5f8e6e81441bd922ec8887bbc9
[ "MIT" ]
2
2020-12-18T11:16:18.000Z
2021-01-19T22:03:35.000Z
defmodule FakersApiWeb.ErrorViewTest do use FakersApiWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(FakersApiWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "renders 5...
28.875
94
0.688312
3f5968944e48a2aade952ebf6144a0b93b422c56
1,856
exs
Elixir
test/cgrates_web_jsonapi/tariff_plans/tp_shared_group_test.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
2
2018-10-03T07:41:32.000Z
2021-03-21T11:27:27.000Z
test/cgrates_web_jsonapi/tariff_plans/tp_shared_group_test.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
1
2018-10-31T04:55:59.000Z
2018-10-31T04:55:59.000Z
test/cgrates_web_jsonapi/tariff_plans/tp_shared_group_test.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
5
2018-09-27T11:30:44.000Z
2021-01-16T08:28:58.000Z
defmodule CgratesWebJsonapi.TariffPlans.TpSharedGroupTest do use CgratesWebJsonapi.ModelCase alias CgratesWebJsonapi.TariffPlans.TpSharedGroup alias CgratesWebJsonapi.Repo import CgratesWebJsonapi.Factory @valid_attrs %{ tag: "some content", strategy: "true", rating_subject: "some content", ...
28.121212
76
0.62069
3f5982a02a0fa0483d10566f5f80097cd433d353
1,677
exs
Elixir
config/dev.exs
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
config/dev.exs
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
config/dev.exs
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :blog_post_api, BlogPostApi.Repo, username: "postgres", password: "postgres", database: "blog_post_api_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging an...
28.913793
68
0.730471
3f5996a70bc0bd36100eea2f0a19a5a56f96622b
1,643
ex
Elixir
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/batch_write_spans_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/batch_write_spans_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/batch_write_spans_request.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...
34.957447
195
0.745587
3f59eb7d397960815da875853bdf97ffa7cedaef
1,507
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/job_statistics4.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/job_statistics4.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/job_statistics4.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...
32.76087
269
0.758461
3f59fa8bf2dede4c1fb088cfe5cab440e7c8ac98
1,876
exs
Elixir
test/test_helper.exs
divex/prelude
cd6d4517d27d0954fa184b2938cef1a823afae32
[ "MIT" ]
null
null
null
test/test_helper.exs
divex/prelude
cd6d4517d27d0954fa184b2938cef1a823afae32
[ "MIT" ]
null
null
null
test/test_helper.exs
divex/prelude
cd6d4517d27d0954fa184b2938cef1a823afae32
[ "MIT" ]
null
null
null
defmodule Test.Prelude.Case do defmacro __using__(_) do quote do use ExUnit.Case, async: Mix.env == :test import Prelude import unquote(__MODULE__) end end defmacro preludetest(name, [{:do, body} | assertions]) do base = Module.concat(__CALLER__.module, name |> String.replace(" ", "...
22.070588
101
0.578891
3f5a19b12ec0814a9562211c17bae67f8333150e
568
ex
Elixir
apps/evm/lib/evm/configuration/spurious_dragon.ex
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/lib/evm/configuration/spurious_dragon.ex
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/lib/evm/configuration/spurious_dragon.ex
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.Configuration.SpuriousDragon do alias EVM.Configuration.TangerineWhistle use EVM.Configuration, fallback_config: TangerineWhistle, overrides: %{ exp_byte_cost: 50, code_size_limit: 24_577, increment_nonce_on_create: true, empty_account_value_transfer: true, clean...
25.818182
81
0.748239
3f5a213a3abc6fbb71a4a38b5f7ba7f7e604f930
2,794
ex
Elixir
lib/rapid_api/socket.ex
Spyes/RapidAPIConnect_Elixir
7645f99cb90807d72b97939b13303ac3f6816f32
[ "Unlicense" ]
2
2017-06-12T20:24:20.000Z
2017-06-28T05:55:10.000Z
lib/rapid_api/socket.ex
RapidAPI/rapidapi-elixir-sdk
7645f99cb90807d72b97939b13303ac3f6816f32
[ "Unlicense" ]
1
2021-01-07T08:53:45.000Z
2021-01-07T08:53:45.000Z
lib/rapid_api/socket.ex
Spyes/RapidAPIConnect_Elixir
7645f99cb90807d72b97939b13303ac3f6816f32
[ "Unlicense" ]
1
2021-12-08T23:46:57.000Z
2021-12-08T23:46:57.000Z
defmodule RapidApi.Socket do alias Phoenix.Channels.GenSocketClient @behaviour GenSocketClient def start_link(token, receiver_pid, params \\ []) do start = GenSocketClient.start_link( __MODULE__, Phoenix.Channels.GenSocketClient.Transport.WebSocketClient, ["wss://webhooks.rapidapi.io/socket...
29.410526
98
0.652112
3f5a4ce82387bb7a0d50fbfd1fe1aa278ff929f9
43
ex
Elixir
testData/org/elixir_lang/formatting/multispace_not_operator.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/formatting/multispace_not_operator.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/formatting/multispace_not_operator.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
# Non-Numeric not true # Numeric not 1
7.166667
13
0.651163
3f5a6bed74c866374c301efc53aaa8ec09009cc5
1,470
ex
Elixir
lib/admin_web/views/error_helpers.ex
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
lib/admin_web/views/error_helpers.ex
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
lib/admin_web/views/error_helpers.ex
jeantsai/phoenix-admin
3f954f0c452d385438b616f7e91bc5d66bcc1adc
[ "MIT" ]
null
null
null
defmodule AdminWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag :s...
32.666667
74
0.669388
3f5a8001271a3c378161db2b14bc5fa30729f6ff
3,979
ex
Elixir
lib/framework/game_channel.ex
spawnphile/garuda
f394e38fbbbcf89380cac4b331f21e3be0fd8518
[ "MIT" ]
4
2021-02-01T12:20:24.000Z
2021-07-29T08:37:50.000Z
lib/framework/game_channel.ex
spawnphile/garuda
f394e38fbbbcf89380cac4b331f21e3be0fd8518
[ "MIT" ]
2
2021-06-10T11:22:48.000Z
2021-07-30T06:09:10.000Z
lib/framework/game_channel.ex
spawnphile/garuda
f394e38fbbbcf89380cac4b331f21e3be0fd8518
[ "MIT" ]
null
null
null
defmodule Garuda.GameChannel do @moduledoc """ Defines specific game behaviours over `Phoenix.Channel`. GameChannel extends `Phoenix.Channel` and defines game-behaviours. ## Using GameChannel defmodule TictactoePhxWeb.TictactoeChannel do use Garuda.GameChannel @impl true def on_...
28.833333
98
0.612717
3f5ab1b504b14489be9b13472998da3ba6657c0d
339
exs
Elixir
test/songbook_test.exs
mat-hek/spiewnik_hk
445fb286c2b2d79bcfc5139db6bf061c4febd9be
[ "MIT" ]
1
2021-03-30T14:04:41.000Z
2021-03-30T14:04:41.000Z
test/songbook_test.exs
mat-hek/spiewnik_hk
445fb286c2b2d79bcfc5139db6bf061c4febd9be
[ "MIT" ]
null
null
null
test/songbook_test.exs
mat-hek/spiewnik_hk
445fb286c2b2d79bcfc5139db6bf061c4febd9be
[ "MIT" ]
null
null
null
defmodule SongbookTest do use ExUnit.Case test "parse -> serialize is identity" do text = File.read!("songbook.txt") assert text |> Songbook.parse() |> Songbook.serialize() == text end test "to_pdf generates pdf" do Songbook.to_pdf("songbook.txt") assert {:ok, _stat} = File.stat("output/songbo...
24.214286
67
0.675516
3f5ad446d10e3432a028cc4975074c8eeea74b6e
84
exs
Elixir
test/views/page_view_test.exs
wsmoak/my_app_802337
a863bdd16c909b12a598bf06b8901e1c8c0d3f7c
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
wsmoak/my_app_802337
a863bdd16c909b12a598bf06b8901e1c8c0d3f7c
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
wsmoak/my_app_802337
a863bdd16c909b12a598bf06b8901e1c8c0d3f7c
[ "MIT" ]
null
null
null
defmodule MyApp_802337.PageViewTest do use MyApp_802337.ConnCase, async: true end
21
40
0.833333
3f5ae7be6f28ac962def29dfd3b720a9f5cb6324
772
ex
Elixir
lib/elm_phoenix_web_socket_example_web/gettext.ex
phollyer/elm-phoenix-websocket-example
147da038b5ca4f9304924124c546284f12ecfaa8
[ "BSD-3-Clause" ]
null
null
null
lib/elm_phoenix_web_socket_example_web/gettext.ex
phollyer/elm-phoenix-websocket-example
147da038b5ca4f9304924124c546284f12ecfaa8
[ "BSD-3-Clause" ]
2
2020-12-29T15:13:39.000Z
2020-12-30T01:01:02.000Z
lib/elm_phoenix_web_socket_example_web/gettext.ex
phollyer/elm-phoenix-websocket-example
147da038b5ca4f9304924124c546284f12ecfaa8
[ "BSD-3-Clause" ]
null
null
null
defmodule ElmPhoenixWebSocketExampleWeb.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 ElmPhoenixWebSocketExampleWeb.Gettext # Simpl...
30.88
72
0.703368
3f5b11c761f09dd8e47ccbb2efc6ac96bf79c669
425
exs
Elixir
test/dict_test.exs
liquidz/ex_vimdoc
3b3df4b53d45045f1ef60d4db965ea4e4d2d8a40
[ "MIT" ]
null
null
null
test/dict_test.exs
liquidz/ex_vimdoc
3b3df4b53d45045f1ef60d4db965ea4e4d2d8a40
[ "MIT" ]
null
null
null
test/dict_test.exs
liquidz/ex_vimdoc
3b3df4b53d45045f1ef60d4db965ea4e4d2d8a40
[ "MIT" ]
null
null
null
defmodule DictTest do use ExUnit.Case alias Vimdoc.Dict, as: VD test "aa" do expected = %{ hello: "world", foo: "bar", nest: %{bar: "baz"}, list: [%{one: 1}, %{two: 2}] } actual = VD.keyDict %{ "hello" => "world", "list" => [%{"one" => 1}, %{two: 2}], ...
17.708333
44
0.432941
3f5b1991955942ce5fb76d2ff3e3488e998ccc3e
433
ex
Elixir
lib/exvcr/records.ex
junsumida/exvcr
0f8aeeb19e5164917302ce257a2a1c324e02ff3b
[ "MIT" ]
null
null
null
lib/exvcr/records.ex
junsumida/exvcr
0f8aeeb19e5164917302ce257a2a1c324e02ff3b
[ "MIT" ]
null
null
null
lib/exvcr/records.ex
junsumida/exvcr
0f8aeeb19e5164917302ce257a2a1c324e02ff3b
[ "MIT" ]
1
2018-10-10T05:57:37.000Z
2018-10-10T05:57:37.000Z
defmodule ExVCR.Record do defstruct options: nil, responses: nil end defmodule ExVCR.Request do defstruct url: nil, headers: [], method: nil, body: nil, options: [], request_body: "" end defmodule ExVCR.Response do defstruct type: "ok", status_code: nil, headers: [], body: nil end defmodule ExVCR.Checker.Resul...
22.789474
88
0.732102
3f5b341cf292b0e72bac08c67a0c476bacaa698c
639
ex
Elixir
lib/vintage_net/technology/null.ex
GregMefford/vintage_net
fdbbd80d45f4b660e72e0150aa4b98a1155b071e
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/technology/null.ex
GregMefford/vintage_net
fdbbd80d45f4b660e72e0150aa4b98a1155b071e
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/technology/null.ex
GregMefford/vintage_net
fdbbd80d45f4b660e72e0150aa4b98a1155b071e
[ "Apache-2.0" ]
null
null
null
defmodule VintageNet.Technology.Null do @behaviour VintageNet.Technology alias VintageNet.Interface.RawConfig @null_config %{type: __MODULE__} @moduledoc """ An interface with this technology is unconfigured """ @impl true def normalize(_config), do: @null_config @impl true def to_raw_config(if...
19.363636
59
0.679186
3f5b46958db9008240344f9819514f5211003aa3
3,132
ex
Elixir
lib/twilio_signature_plug.ex
YodelTalk/twilio_signature_plug
f1678c700e7a07764d06566f3ce1f3a6b3e055b1
[ "MIT" ]
null
null
null
lib/twilio_signature_plug.ex
YodelTalk/twilio_signature_plug
f1678c700e7a07764d06566f3ce1f3a6b3e055b1
[ "MIT" ]
null
null
null
lib/twilio_signature_plug.ex
YodelTalk/twilio_signature_plug
f1678c700e7a07764d06566f3ce1f3a6b3e055b1
[ "MIT" ]
null
null
null
defmodule TwilioSignaturePlug do alias Plug.Conn require Logger @doc false def init(config) do case Keyword.get(config, :error_handler, :not_found) do :not_found -> raise "No :error_handler configuration option provided. It's required to set this when using #{inspect(__MODULE__)}." val...
24.46875
125
0.632503
3f5bc0a7a0815cd05f65e13e5fb1239c715bf7be
927
ex
Elixir
lib/xslt_parser.ex
milendd/xslt_parser
91f870d86184180a8c05d2e85aa1138f46e0606d
[ "MIT" ]
null
null
null
lib/xslt_parser.ex
milendd/xslt_parser
91f870d86184180a8c05d2e85aa1138f46e0606d
[ "MIT" ]
null
null
null
lib/xslt_parser.ex
milendd/xslt_parser
91f870d86184180a8c05d2e85aa1138f46e0606d
[ "MIT" ]
null
null
null
defmodule XsltParser do @moduledoc """ Documentation for XsltParser. """ defstruct ALLOWED_VERSIONS: ["1.0", "1.1", "2.0"] def transform(xml_file, xslt_file) do {:ok, xml} = File.read(xml_file) record_xml = generate_record(xml) {:ok, xslt} = File.read(xslt_file) record_xslt = generate_recor...
22.609756
68
0.678533
3f5bd611f754d2889648a59edf41a342c5785ced
180
exs
Elixir
priv/repo/migrations/20190505223353_add_source_code_to_connectors.exs
flowr-app/flowr
1e88bc917da32df2878e13c9bb1998dbbe61cd62
[ "0BSD" ]
2
2021-08-01T04:38:08.000Z
2021-08-01T06:52:29.000Z
priv/repo/migrations/20190505223353_add_source_code_to_connectors.exs
flowr-app/flowr
1e88bc917da32df2878e13c9bb1998dbbe61cd62
[ "0BSD" ]
3
2021-08-01T08:20:13.000Z
2021-08-01T08:22:07.000Z
priv/repo/migrations/20190505223353_add_source_code_to_connectors.exs
flowr-app/flowr
1e88bc917da32df2878e13c9bb1998dbbe61cd62
[ "0BSD" ]
null
null
null
defmodule Flowr.Repo.Migrations.AddSourceCodeToConnectors do use Ecto.Migration def change do alter table(:connectors) do add(:source_code, :text) end end end
18
60
0.727778
3f5c1238275e9b709282485065f62676763d7a4e
561
ex
Elixir
elixir/lib/homework_web/views/changeset_view.ex
ceejaay/web-homework
e5844609b62bdfa79a9b5b8f302c0d7ba81dc75d
[ "MIT" ]
null
null
null
elixir/lib/homework_web/views/changeset_view.ex
ceejaay/web-homework
e5844609b62bdfa79a9b5b8f302c0d7ba81dc75d
[ "MIT" ]
null
null
null
elixir/lib/homework_web/views/changeset_view.ex
ceejaay/web-homework
e5844609b62bdfa79a9b5b8f302c0d7ba81dc75d
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.ChangesetView do use HomeworkWeb, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `HomeworkWeb.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_errors(changeset,...
28.05
65
0.73975
3f5c175cb0b6f6f0848401d81a1df3733d2354bc
4,049
ex
Elixir
lib/paginator/config.ex
quexpl/paginator
a59563e40d4be1d182b5ce331b52bb66ea8d2cea
[ "MIT" ]
null
null
null
lib/paginator/config.ex
quexpl/paginator
a59563e40d4be1d182b5ce331b52bb66ea8d2cea
[ "MIT" ]
null
null
null
lib/paginator/config.ex
quexpl/paginator
a59563e40d4be1d182b5ce331b52bb66ea8d2cea
[ "MIT" ]
null
null
null
defmodule Paginator.Config do @moduledoc false alias Paginator.Cursor @type t :: %__MODULE__{} defstruct [ :after, :after_values, :before, :before_values, :cursor_fields, :fetch_cursor_value_fun, :include_total_count, :total_count_primary_key_field, :limit, :maximum_li...
29.772059
94
0.680168
3f5c4d63783b8a56dfdd707467d12ff8c51728d8
103
ex
Elixir
lib/queue/queue/queue.ex
elfelrandcor/learning_elixir_simple_queue
efc01fa09d7f7f67c6772250fe68a125c8858de9
[ "MIT" ]
null
null
null
lib/queue/queue/queue.ex
elfelrandcor/learning_elixir_simple_queue
efc01fa09d7f7f67c6772250fe68a125c8858de9
[ "MIT" ]
null
null
null
lib/queue/queue/queue.ex
elfelrandcor/learning_elixir_simple_queue
efc01fa09d7f7f67c6772250fe68a125c8858de9
[ "MIT" ]
null
null
null
defmodule Queue.Queue do use Ecto.Schema schema "queue" do field(:message, :string) end end
12.875
28
0.68932
3f5c77bdf740801af99399d7de77d296c454348c
5,434
ex
Elixir
lib/fdb/directory.ex
VinogradovAlexandr/fdb
312b0a173337993ce28024f338f0977ccf81ae25
[ "MIT" ]
40
2018-06-12T17:38:51.000Z
2022-03-31T05:16:14.000Z
lib/fdb/directory.ex
VinogradovAlexandr/fdb
312b0a173337993ce28024f338f0977ccf81ae25
[ "MIT" ]
15
2018-06-19T00:56:37.000Z
2022-01-30T04:33:25.000Z
lib/fdb/directory.ex
VinogradovAlexandr/fdb
312b0a173337993ce28024f338f0977ccf81ae25
[ "MIT" ]
6
2018-08-23T19:30:50.000Z
2021-11-06T14:44:32.000Z
defmodule FDB.Directory do @moduledoc """ Directory is one of the ways to [manage namespaces](https://apple.github.io/foundationdb/developer-guide.html#directories). root = FDB.Directory.new() dir = FDB.Database.transact(db, fn tr -> FDB.Directory.create_or_open(root, tr, ["users", "inactive"...
34.392405
123
0.706662
3f5c7c6aad7c38c4ea60454ea5c100c258a1f01e
4,997
ex
Elixir
lib/codes/codes_o08.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_o08.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_o08.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_O08 do alias IcdCode.ICDCode def _O080 do %ICDCode{full_code: "O080", category_code: "O08", short_code: "0", full_name: "Genital tract and pelvic infection following ectopic and molar pregnancy", short_name: "Genital tract and pelvic infecti...
40.298387
103
0.660596
3f5cbda3cabff36d47df50425d15950eed140408
1,067
ex
Elixir
apps/artemis/lib/artemis/contexts/customer/delete_customer.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/lib/artemis/contexts/customer/delete_customer.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/lib/artemis/contexts/customer/delete_customer.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.DeleteCustomer do use Artemis.Context alias Artemis.DeleteManyAssociatedComments alias Artemis.GetCustomer alias Artemis.Repo def call!(id, params \\ %{}, user) do case call(id, params, user) do {:error, _} -> raise(Artemis.Context.Error, "Error deleting customer") {:ok, re...
25.404762
82
0.671978
3f5cc2d7d09138eb30f35fe64695d9efdca176fc
982
exs
Elixir
live/hiyoko/config/config.exs
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
null
null
null
live/hiyoko/config/config.exs
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
null
null
null
live/hiyoko/config/config.exs
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config # Configures the endpoint config :hiyoko, Hiyoko...
33.862069
86
0.771894
3f5ccb4a264849e496e8f97744d3e6714217c3e0
427
ex
Elixir
lib/code_corps/github/request.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
lib/code_corps/github/request.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
lib/code_corps/github/request.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
defmodule CodeCorps.GitHub.Request do alias CodeCorps.GitHub @spec retrieve(String.t, Keyword.t) :: {:ok, map} | {:error, GitHub.api_error_struct} def retrieve(endpoint, opts), do: retrieve(%{}, endpoint, opts) @spec retrieve(map, String.t, Keyword.t) :: {:ok, map} | {:error, GitHub.api_error_struct} def r...
30.5
92
0.683841
3f5d24fdf1f76f3e14e48d822ebb359e4862e93f
1,542
exs
Elixir
mix.exs
sproutapp/pavlov
7f3c0d7c75c8c2875e21b495511a291194bfc85a
[ "MIT" ]
148
2015-01-04T16:44:30.000Z
2022-02-15T03:08:28.000Z
mix.exs
sproutapp/pavlov
7f3c0d7c75c8c2875e21b495511a291194bfc85a
[ "MIT" ]
25
2015-01-05T16:24:24.000Z
2016-05-05T05:28:07.000Z
mix.exs
sproutapp/pavlov
7f3c0d7c75c8c2875e21b495511a291194bfc85a
[ "MIT" ]
11
2015-01-06T11:08:29.000Z
2019-11-10T01:41:45.000Z
defmodule Pavlov.Mixfile do use Mix.Project @version "0.2.3" def project do [app: :pavlov, version: @version, elixir: "~> 1.0", deps: deps, elixirc_paths: paths(Mix.env), registered: [:pavlov_let_defs, :pavlov_callback_defs], # Hex description: description, package: ...
23.363636
78
0.601816
3f5dabcc47dd8ecf317c2491b603be9d9c2de544
2,887
ex
Elixir
lib/blockchain_api/batcher/txns.ex
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
17
2019-11-03T03:02:41.000Z
2022-01-13T17:03:32.000Z
lib/blockchain_api/batcher/txns.ex
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
5
2019-11-07T23:26:53.000Z
2020-11-24T21:45:35.000Z
lib/blockchain_api/batcher/txns.ex
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
11
2019-12-04T07:03:16.000Z
2022-01-13T17:03:50.000Z
defmodule BlockchainAPI.Batcher.Txns do @moduledoc false alias BlockchainAPI.{Query, Schema.Transaction} # ================================================================== # Add all transactions # ================================================================== def insert_all(block, _ledger, height) d...
36.0875
86
0.556287
3f5df41c7f1495fc94311b97f7832b2f3418ba52
804
exs
Elixir
test/blockfrost/utils_test.exs
blockfrost/blockfrost-elixir
b1f8ea7ae47cd3a7037e1c9ed0d3691fc775bdec
[ "Apache-2.0" ]
13
2021-08-31T03:54:37.000Z
2022-01-30T17:39:40.000Z
test/blockfrost/utils_test.exs
blockfrost/blockfrost-elixir
b1f8ea7ae47cd3a7037e1c9ed0d3691fc775bdec
[ "Apache-2.0" ]
6
2021-08-30T04:45:52.000Z
2021-09-23T09:15:08.000Z
test/blockfrost/utils_test.exs
blockfrost/blockfrost-elixir
b1f8ea7ae47cd3a7037e1c9ed0d3691fc775bdec
[ "Apache-2.0" ]
null
null
null
defmodule Blockfrost.UtilsTest do use Blockfrost.Case alias Blockfrost.Utils describe "validate_network!/2" do test "returns :ok if instance is valid for networks" do start_supervised!({Blockfrost, name: TestNet, api_key: "apikey", network: :cardano_testnet}) Utils.validate_network!(TestNet, [:...
28.714286
98
0.695274
3f5df891ec318618f982a7a0d3b50dbac507b98f
2,873
ex
Elixir
lib/ordering_process.ex
anoiio/pmex
c0b3b91ab1517d14d2c4407cbb8da678d6d84aa5
[ "MIT" ]
null
null
null
lib/ordering_process.ex
anoiio/pmex
c0b3b91ab1517d14d2c4407cbb8da678d6d84aa5
[ "MIT" ]
null
null
null
lib/ordering_process.ex
anoiio/pmex
c0b3b91ab1517d14d2c4407cbb8da678d6d84aa5
[ "MIT" ]
null
null
null
defmodule OrderingProcess do use ProcessManager, initial_step: :start ######################################## Steps definitions ################################### defstep start do defevent order_started(%{customer: customer_id, order: order_id}) do open_shopping_cart(customer_id, ord...
31.922222
107
0.631744
3f5e11faf43b4748dd430d83f17a7fc34b1302fb
1,545
exs
Elixir
test/commands/country_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
test/commands/country_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
test/commands/country_test.exs
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.Command.CountryTest do use Nectar.ModelCase alias Nectar.Repo alias Nectar.TestSetup describe "db validations" do # Params are rewritten because postgres fails on the first validation test "prevent reuse of iso" do TestSetup.Country.create_country! {status, changeset} = Nec...
38.625
108
0.676375
3f5e1efef0aed6f73f9c5125cc2e0ed9c78ab642
6,227
exs
Elixir
test/comparator_web/controllers/user_auth_test.exs
jellybob/comparator
e9528341366641baa7fa49690fdd6ffa3e2159a0
[ "MIT" ]
null
null
null
test/comparator_web/controllers/user_auth_test.exs
jellybob/comparator
e9528341366641baa7fa49690fdd6ffa3e2159a0
[ "MIT" ]
null
null
null
test/comparator_web/controllers/user_auth_test.exs
jellybob/comparator
e9528341366641baa7fa49690fdd6ffa3e2159a0
[ "MIT" ]
null
null
null
defmodule ComparatorWeb.UserAuthTest do use ComparatorWeb.ConnCase, async: true alias Comparator.Auth alias ComparatorWeb.UserAuth import Comparator.AuthFixtures @remember_me_cookie "_comparator_web_user_remember_me" setup %{conn: conn} do conn = conn |> Map.replace!(:secret_key_base, Com...
36.415205
98
0.676088
3f5e2273cd615bfdbe76937be7964356be8518b2
275
ex
Elixir
lib/delivery_web/auth/error_handle.ex
gjlbro/testdelivery
3d667cca67b3a561d7395673b6b968523ed3270a
[ "MIT" ]
null
null
null
lib/delivery_web/auth/error_handle.ex
gjlbro/testdelivery
3d667cca67b3a561d7395673b6b968523ed3270a
[ "MIT" ]
null
null
null
lib/delivery_web/auth/error_handle.ex
gjlbro/testdelivery
3d667cca67b3a561d7395673b6b968523ed3270a
[ "MIT" ]
null
null
null
defmodule DeliveryWeb.Auth.ErrorHandler do alias Guardian.Plug.ErrorHandle alias Plug.Conn @behaviour ErrorHandle def auth_error(conn, {error, _reason}, _opts) do body = Jason.encode!(%{message: to_string(error)}) Conn.send_resp(conn, 401, body) end end
21.153846
54
0.730909
3f5e23ab5005920d859d86abd93b219b285205ec
2,116
ex
Elixir
lib/bintreeviz.ex
Tmw/bintreeviz
5a77d2a16a2a86160c70d47cfd9f696196f2f1bf
[ "MIT" ]
null
null
null
lib/bintreeviz.ex
Tmw/bintreeviz
5a77d2a16a2a86160c70d47cfd9f696196f2f1bf
[ "MIT" ]
null
null
null
lib/bintreeviz.ex
Tmw/bintreeviz
5a77d2a16a2a86160c70d47cfd9f696196f2f1bf
[ "MIT" ]
null
null
null
defmodule Bintreeviz do @moduledoc """ Bintreeviz is a binary tree visualizer for Elixir. Its main purpose is to convert a given tree structure into a string representation. ## Positioning It supports pluggable algorithms for positioning of the individual nodes. Out-of-the-box it comeswith the Wetherell and Sh...
39.185185
258
0.73913
3f5e287642de0feacd7188b3dc6497854120dfa8
1,841
exs
Elixir
clients/cloud_identity/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/cloud_identity/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/cloud_identity/mix.exs
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.477612
105
0.657795
3f5e2ec68c80212c25d62208c3e6638ce916d9df
973
exs
Elixir
test/jsonb_serializer_test.exs
quiqupltd/eventstore
dc7a92156df04f218b180f3c7b0eabcced65e585
[ "MIT" ]
null
null
null
test/jsonb_serializer_test.exs
quiqupltd/eventstore
dc7a92156df04f218b180f3c7b0eabcced65e585
[ "MIT" ]
null
null
null
test/jsonb_serializer_test.exs
quiqupltd/eventstore
dc7a92156df04f218b180f3c7b0eabcced65e585
[ "MIT" ]
null
null
null
defmodule EventStore.JsonbSerializerTest do use ExUnit.Case alias EventStore.JsonbSerializer defmodule TestStruct do defstruct [:one, :two] end test "Converts first level atoms to strings" do data = %TestStruct{one: 1, two: %{three: 3, four: %{five: 5}}} serialized = %{"one" => 1, "two" => %{fo...
21.622222
71
0.51593
3f5e305008f9f35834d44b9ae33fd62e8133e769
2,976
exs
Elixir
mix.exs
BenMorganIO/appsignal-elixir
4c27fc72fba9f4dbc9f9277dc6320d2bbb6296b5
[ "MIT" ]
null
null
null
mix.exs
BenMorganIO/appsignal-elixir
4c27fc72fba9f4dbc9f9277dc6320d2bbb6296b5
[ "MIT" ]
null
null
null
mix.exs
BenMorganIO/appsignal-elixir
4c27fc72fba9f4dbc9f9277dc6320d2bbb6296b5
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Compile.Appsignal do use Mix.Task def run(_args) do {_, _} = Code.eval_file("mix_helpers.exs") Mix.Appsignal.Helper.install() end end defmodule Appsignal.Mixfile do use Mix.Project def project do [ app: :appsignal, version: "1.10.10", name: "AppSignal", ...
27.054545
97
0.56922
3f5e6ed0f0c19eb371cefbab169a727a900a7128
3,172
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/report_criteria.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/report_criteria.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/report_criteria.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...
50.349206
166
0.739596
3f5e7254e1bc23271351e4f5cc8dc4a9e8b4b1b4
1,207
exs
Elixir
lib/mix/test/mix/project_test.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
4
2016-04-05T05:51:36.000Z
2019-10-31T06:46:35.000Z
lib/mix/test/mix/project_test.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/project_test.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
5
2015-02-01T06:01:19.000Z
2019-08-29T09:02:35.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule Mix.ProjectTest do use MixTest.Case defmodule SampleProject do def project do [ hello: "world" ] end end defmodule EnvProject do def project do [ hello: "world", env: [ prod: [hello: "new"] ] ] end end test "p...
21.553571
87
0.673571
3f5e8ef165e5a63a18d107874459af1baaf58241
1,798
exs
Elixir
mix.exs
elitau/page_change_notifier
55c02ef0a464040d98cf416c131e39e7a09df975
[ "MIT" ]
null
null
null
mix.exs
elitau/page_change_notifier
55c02ef0a464040d98cf416c131e39e7a09df975
[ "MIT" ]
null
null
null
mix.exs
elitau/page_change_notifier
55c02ef0a464040d98cf416c131e39e7a09df975
[ "MIT" ]
null
null
null
defmodule PageChangeNotifier.Mixfile do use Mix.Project def project do [ app: :page_change_notifier, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, al...
26.835821
79
0.570078
3f5ea03ab9f38c1f1f0928697fb74e0162afd2fb
351
exs
Elixir
priv/repo/seeds.exs
gautambaghel/fighter
970a098f0d234892af351070b6b2b596b9a2d83c
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
gautambaghel/fighter
970a098f0d234892af351070b6b2b596b9a2d83c
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
gautambaghel/fighter
970a098f0d234892af351070b6b2b596b9a2d83c
[ "Apache-2.0" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Fighter.Repo.insert!(%Fighter.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will...
29.25
61
0.706553
3f5ea91517e7714371e0d2ee5ad19c5f28bb3a2e
27,413
ex
Elixir
clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/api/billing_accounts.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 ...
46.70017
196
0.634553
3f5eb4db669570fd7cfbc14617ae17e6ad929732
356
exs
Elixir
priv/repo/migrations/20201228233257_alter_tag_name_type_citext.exs
CyberFlameGO/bolt
225e6276983bec646e7f13519df066e8e1e770ed
[ "ISC" ]
31
2018-12-06T23:12:33.000Z
2022-03-29T18:34:25.000Z
priv/repo/migrations/20201228233257_alter_tag_name_type_citext.exs
CyberFlameGO/bolt
225e6276983bec646e7f13519df066e8e1e770ed
[ "ISC" ]
18
2021-06-14T19:03:26.000Z
2022-03-15T17:46:22.000Z
priv/repo/migrations/20201228233257_alter_tag_name_type_citext.exs
CyberFlameGO/bolt
225e6276983bec646e7f13519df066e8e1e770ed
[ "ISC" ]
4
2018-11-07T18:52:28.000Z
2022-03-16T00:14:38.000Z
defmodule Bolt.Repo.Migrations.AlterTagNameTypeCitext do use Ecto.Migration def up do execute("CREATE EXTENSION citext") alter table("tags") do modify(:name, :citext, from: :string) end end def down do alter table("tags") do modify(:name, :citext, from: :text) end execute...
17.8
56
0.657303
3f5f1808bc8e64d2e92e5d5ca1658b8c24e4046c
3,449
exs
Elixir
kousa/test/beef/user_test.exs
movwf/dogehouse
c97c04164e98853c6221100a97cc4ff1af84de7b
[ "MIT" ]
2
2021-04-06T09:06:29.000Z
2021-05-26T07:55:34.000Z
kousa/test/beef/user_test.exs
movwf/dogehouse
c97c04164e98853c6221100a97cc4ff1af84de7b
[ "MIT" ]
1
2021-03-18T08:41:30.000Z
2021-03-18T08:41:30.000Z
kousa/test/beef/user_test.exs
movwf/dogehouse
c97c04164e98853c6221100a97cc4ff1af84de7b
[ "MIT" ]
1
2021-03-17T13:44:04.000Z
2021-03-17T13:44:04.000Z
defmodule Kousa.Beef.UserTest do # allow tests to run in parallel use ExUnit.Case, async: true use Kousa.Support.EctoSandbox alias Kousa.Support.Factory alias Beef.Follows alias Beef.Schemas.Room alias Beef.Schemas.User alias Beef.UserBlocks alias Beef.Users alias Beef.Repo describe "you can cre...
27.814516
98
0.587997
3f5f50f311592a284bdd4e30a2b96d8fc86c7e2c
11,922
ex
Elixir
deps/ecto_sql/lib/ecto/migration/runner.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/ecto_sql/lib/ecto/migration/runner.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/ecto_sql/lib/ecto/migration/runner.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
defmodule Ecto.Migration.Runner do # A GenServer responsible for running migrations # in either `:forward` or `:backward` directions. @moduledoc false require Logger alias Ecto.Migration.Table alias Ecto.Migration.Index alias Ecto.Migration.Constraint alias Ecto.Migration.Command @doc "...
33.301676
130
0.633786
3f5f620e5a9917654eeadbf6f519657dbeda1c8e
2,505
exs
Elixir
config/runtime.exs
cabol/distcount
b0b42f66dcc130ec6e349ab8b915cfb6f5b77c7b
[ "MIT" ]
null
null
null
config/runtime.exs
cabol/distcount
b0b42f66dcc130ec6e349ab8b915cfb6f5b77c7b
[ "MIT" ]
null
null
null
config/runtime.exs
cabol/distcount
b0b42f66dcc130ec6e349ab8b915cfb6f5b77c7b
[ "MIT" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
36.838235
80
0.7002
3f5f66a2a191922f3a7571958014284f17796991
1,308
ex
Elixir
apps/ewallet_api/lib/ewallet_api/global/controllers/status_controller.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_api/lib/ewallet_api/global/controllers/status_controller.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_api/lib/ewallet_api/global/controllers/status_controller.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 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 ...
27.25
74
0.695719
3f5fa04cb8c7ff8ada5c1bbcd0da68f88a35344e
12,684
ex
Elixir
lib/thrift/generated/properly_nested.ex
alabama/code-wars-solutions
507e8333b0dd5a9409aeeb4ef6986b534cc3ca53
[ "MIT" ]
null
null
null
lib/thrift/generated/properly_nested.ex
alabama/code-wars-solutions
507e8333b0dd5a9409aeeb4ef6986b534cc3ca53
[ "MIT" ]
2
2021-03-09T21:34:13.000Z
2021-05-10T18:15:27.000Z
lib/thrift/generated/properly_nested.ex
alabama/code-wars-solutions
507e8333b0dd5a9409aeeb4ef6986b534cc3ca53
[ "MIT" ]
null
null
null
defmodule(Thrift.Generated.ProperlyNested) do @moduledoc(false) defmodule(IsProperlyNestedArgs) do @moduledoc(false) _ = "Auto-generated Thrift struct Elixir.IsProperlyNestedArgs" _ = "1: nested.Work w" defstruct(w: nil) @type(t :: %__MODULE__{}) def(new) do %__MODULE__{} end d...
34.846154
134
0.610848
3f5fb31359d731ee73f5eec7fe76ffca18e60b8d
288
ex
Elixir
3-3 Supervisors/wallet_supervisor.ex
tutsplus/get-started-with-elixir
f45ccf064c664d0cad01a07b71457ba299717a1e
[ "BSD-2-Clause" ]
2
2017-06-28T18:10:31.000Z
2017-10-10T02:48:41.000Z
3-3 Supervisors/wallet_supervisor.ex
tutsplus/get-started-with-elixir
f45ccf064c664d0cad01a07b71457ba299717a1e
[ "BSD-2-Clause" ]
1
2018-12-29T06:30:55.000Z
2022-02-22T23:16:23.000Z
3-3 Supervisors/wallet_supervisor.ex
tutsplus/get-started-with-elixir
f45ccf064c664d0cad01a07b71457ba299717a1e
[ "BSD-2-Clause" ]
1
2019-12-12T06:38:36.000Z
2019-12-12T06:38:36.000Z
defmodule WalletSupervisor do use Supervisor def start_link do Supervisor.start_link(__MODULE__, []) end def init([]) do children = [ worker(Wallet, [:wallet1]), worker(Cache, [[name: Cache]]) ] supervise(children, strategy: :one_for_one) end end
16.941176
47
0.645833
3f5fb38b82d511efd34958190378fde503984e13
4,543
ex
Elixir
lib/monitor/orwell_dashboard.ex
spawnphile/garuda
f394e38fbbbcf89380cac4b331f21e3be0fd8518
[ "MIT" ]
4
2021-02-01T12:20:24.000Z
2021-07-29T08:37:50.000Z
lib/monitor/orwell_dashboard.ex
spawnphile/garuda
f394e38fbbbcf89380cac4b331f21e3be0fd8518
[ "MIT" ]
2
2021-06-10T11:22:48.000Z
2021-07-30T06:09:10.000Z
lib/monitor/orwell_dashboard.ex
spawnphile/garuda
f394e38fbbbcf89380cac4b331f21e3be0fd8518
[ "MIT" ]
null
null
null
defmodule Garuda.Monitor.OrwellDashboard do @moduledoc false use Phoenix.LiveView require Logger alias Garuda.RoomManager.RoomDb alias Garuda.RoomManager.RoomSheduler @polling_interval 5_000 def mount(_params, _session, socket) do Process.send_after(self(), "update", @polling_interval) stats = Ro...
25.379888
92
0.612371
3f5fdd5ceedce03a2e0772c5799dfc0d6e9198fa
73
exs
Elixir
test/assoc/util_test.exs
jmhthethird/assoc
d73c556f398d01258cbc17b6de58a621a6bc4397
[ "MIT" ]
6
2019-01-31T23:31:42.000Z
2020-10-06T20:05:34.000Z
test/assoc/util_test.exs
jmhthethird/assoc
d73c556f398d01258cbc17b6de58a621a6bc4397
[ "MIT" ]
2
2021-11-09T14:35:51.000Z
2021-11-09T18:04:15.000Z
test/assoc/util_test.exs
jmhthethird/assoc
d73c556f398d01258cbc17b6de58a621a6bc4397
[ "MIT" ]
2
2019-01-31T23:53:33.000Z
2021-11-05T21:47:26.000Z
defmodule Assoc.UtilTest do use ExUnit.Case doctest Assoc.Schema end
14.6
27
0.794521
3f5fdfe5cd674533bf8be0543eb566a3ffe6c095
919
exs
Elixir
apps/human/mix.exs
sheltont/pandora
a83a67000cfd1171bca90fade9de4a69bec3587f
[ "MIT" ]
null
null
null
apps/human/mix.exs
sheltont/pandora
a83a67000cfd1171bca90fade9de4a69bec3587f
[ "MIT" ]
null
null
null
apps/human/mix.exs
sheltont/pandora
a83a67000cfd1171bca90fade9de4a69bec3587f
[ "MIT" ]
null
null
null
defmodule Human.Mixfile do use Mix.Project def project do [app: :human, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_pe...
21.880952
77
0.584331
3f5ff66f5355288821002e6e6927ccde44d370ad
2,552
ex
Elixir
massa_proxy/apps/massa_proxy/lib/massa_proxy/protocol/discovery/worker.ex
wesleimp/massa
f2deebe91f953e472774b83b8ac6a2ceeaa55a3e
[ "Apache-2.0" ]
1
2021-11-30T19:59:51.000Z
2021-11-30T19:59:51.000Z
massa_proxy/apps/massa_proxy/lib/massa_proxy/protocol/discovery/worker.ex
wesleimp/massa
f2deebe91f953e472774b83b8ac6a2ceeaa55a3e
[ "Apache-2.0" ]
null
null
null
massa_proxy/apps/massa_proxy/lib/massa_proxy/protocol/discovery/worker.ex
wesleimp/massa
f2deebe91f953e472774b83b8ac6a2ceeaa55a3e
[ "Apache-2.0" ]
null
null
null
defmodule MassaProxy.Protocol.Discovery.Worker do @moduledoc false use GenServer require Logger alias MassaProxy.Protocol.Discovery.Manager def child_spec(opts \\ []) do %{ id: __MODULE__, start: {__MODULE__, :start_link, [opts]} } end def start_link(state \\ []) do Logger.info(...
26.309278
95
0.664577
3f5ffb6fd2f9c261d6c57a8956d5646276135503
1,406
exs
Elixir
test/recurly/coupon_test.exs
calibr/recurly-client-elixir
a1160a10f90e0919adacf39bd95df3784e11fdcc
[ "MIT" ]
8
2016-08-11T00:45:46.000Z
2020-05-04T18:55:48.000Z
test/recurly/coupon_test.exs
calibr/recurly-client-elixir
a1160a10f90e0919adacf39bd95df3784e11fdcc
[ "MIT" ]
10
2016-08-15T20:01:56.000Z
2019-05-10T02:09:35.000Z
test/recurly/coupon_test.exs
calibr/recurly-client-elixir
a1160a10f90e0919adacf39bd95df3784e11fdcc
[ "MIT" ]
4
2017-10-16T14:29:58.000Z
2019-05-09T23:20:56.000Z
defmodule Recurly.CouponTest do use ExUnit.Case, async: true alias Recurly.Coupon import Utils @readable_fields ~w( applies_to_all_plans applies_to_non_plan_charges coupon_code coupon_type created_at deleted_at description discount_type discount_in_cents discount_percent...
20.676471
64
0.739687
3f5ffe22692c38581d7a2a4ad470526ff1448d48
1,783
exs
Elixir
clients/pub_sub_lite/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/pub_sub_lite/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/pub_sub_lite/mix.exs
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...
26.61194
103
0.649467
3f6031e32287513afca4cdb5d97cd7fd0a934b9a
73
exs
Elixir
dev/market/test/views/layout_view_test.exs
miniguez/elixirmarket
e8ef1fcd062abdad754a017bfd58fa160f8fed44
[ "Apache-2.0" ]
1
2019-11-09T16:30:56.000Z
2019-11-09T16:30:56.000Z
dev/market/test/views/layout_view_test.exs
miniguez/elixirmarket
e8ef1fcd062abdad754a017bfd58fa160f8fed44
[ "Apache-2.0" ]
null
null
null
dev/market/test/views/layout_view_test.exs
miniguez/elixirmarket
e8ef1fcd062abdad754a017bfd58fa160f8fed44
[ "Apache-2.0" ]
null
null
null
defmodule Market.LayoutViewTest do use Market.ConnCase, async: true end
24.333333
34
0.821918
3f6034ce7d234ece8de7a8d8e7cd685924b217e8
5,022
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__prediction_input.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__prediction_input.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__prediction_input.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "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...
60.506024
434
0.736957
3f6035e915d173879622fd71530c564c31eb8c85
207
exs
Elixir
priv/repo/migrations/20200811204001_add_event_slug_counter_to_groups.exs
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
1
2019-11-15T15:39:24.000Z
2019-11-15T15:39:24.000Z
priv/repo/migrations/20200811204001_add_event_slug_counter_to_groups.exs
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
166
2020-06-30T16:07:48.000Z
2021-11-25T00:02:24.000Z
priv/repo/migrations/20200811204001_add_event_slug_counter_to_groups.exs
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
null
null
null
defmodule Juntos.Repo.Migrations.AddEventSlugCounterToGroups do use Ecto.Migration def change do alter table(:meetup_groups) do add :event_slug_counter, :integer, default: 0 end end end
20.7
63
0.748792
3f6063418f0e13c12cf192cb19e03fd8bcda87ea
2,193
exs
Elixir
config/prod.exs
juanjcsr/BudgetAndCashAPI
89c83c73175663d4572d6bfd0442af22353b6bc9
[ "MIT" ]
null
null
null
config/prod.exs
juanjcsr/BudgetAndCashAPI
89c83c73175663d4572d6bfd0442af22353b6bc9
[ "MIT" ]
null
null
null
config/prod.exs
juanjcsr/BudgetAndCashAPI
89c83c73175663d4572d6bfd0442af22353b6bc9
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
33.227273
67
0.715458
3f608cad0ed855b5ab023aa6a7737d2bdc7869b6
3,319
ex
Elixir
lib/nodejs/worker.ex
nanlong/elixir-nodejs
0fb3d5e2e38dddbeb2606a96d80b9689dddd813e
[ "MIT" ]
null
null
null
lib/nodejs/worker.ex
nanlong/elixir-nodejs
0fb3d5e2e38dddbeb2606a96d80b9689dddd813e
[ "MIT" ]
null
null
null
lib/nodejs/worker.ex
nanlong/elixir-nodejs
0fb3d5e2e38dddbeb2606a96d80b9689dddd813e
[ "MIT" ]
null
null
null
defmodule NodeJS.Worker do use GenServer # Port can't do more than this. @read_chunk_size 65_536 # This random looking string makes sure that other things writing to # stdout do not interfere with the protocol that we rely on here. # All protocol messages start with this string. @prefix '__elixirnodejs_...
24.050725
84
0.59536
3f6091b5a8735fb7466a365fe1b4567d64708fa3
999
exs
Elixir
test/four_lucha/review_test.exs
Thomas-Jean/four_lucha
591627059c02edc3315b5cac2c35eacb821108ff
[ "Apache-2.0" ]
1
2021-02-21T19:15:27.000Z
2021-02-21T19:15:27.000Z
test/four_lucha/review_test.exs
Thomas-Jean/four_lucha
591627059c02edc3315b5cac2c35eacb821108ff
[ "Apache-2.0" ]
null
null
null
test/four_lucha/review_test.exs
Thomas-Jean/four_lucha
591627059c02edc3315b5cac2c35eacb821108ff
[ "Apache-2.0" ]
null
null
null
defmodule FourLucha.ReviewTest do use ExUnit.Case, async: true use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney, options: [clear_mock: true] ExVCR.Config.filter_url_params(true) setup_all do HTTPoison.start() end setup do {status, _cleared} = Cachex.clear(:gb_cache) status end test "respon...
27
77
0.681682
3f609f7f98883a32d461b34be1262e64fce783db
4,219
ex
Elixir
clients/gke_hub/lib/google_api/gke_hub/v1/model/binding.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/gke_hub/lib/google_api/gke_hub/v1/model/binding.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/gke_hub/lib/google_api/gke_hub/v1/model/binding.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
79.603774
1,970
0.749704
3f60a2e5216d49041058ac646d013945bd7b0c10
454
exs
Elixir
test/invault_web/views/error_view_test.exs
invault-team/backend
1a79652be21f8ae0389378239a48881f78e61c58
[ "Apache-2.0" ]
2
2018-10-22T20:56:40.000Z
2018-11-05T09:48:37.000Z
test/invault_web/views/error_view_test.exs
invault-team/backend
1a79652be21f8ae0389378239a48881f78e61c58
[ "Apache-2.0" ]
8
2018-11-05T20:35:55.000Z
2019-01-01T06:15:32.000Z
test/invault_web/views/error_view_test.exs
invault-team/backend
1a79652be21f8ae0389378239a48881f78e61c58
[ "Apache-2.0" ]
null
null
null
defmodule InvaultWeb.ErrorViewTest do use InvaultWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(InvaultWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "renders 500.jso...
28.375
92
0.682819
3f60a63b7f14af50f746e07969a22585561e0ca2
451
ex
Elixir
lib/backbone/channels/channel.ex
oestrich/gossip-backbone
0bd926a6ad759486d4b14216d60c2653240be7da
[ "MIT" ]
1
2018-10-23T04:13:39.000Z
2018-10-23T04:13:39.000Z
lib/backbone/channels/channel.ex
oestrich/gossip-backbone
0bd926a6ad759486d4b14216d60c2653240be7da
[ "MIT" ]
null
null
null
lib/backbone/channels/channel.ex
oestrich/gossip-backbone
0bd926a6ad759486d4b14216d60c2653240be7da
[ "MIT" ]
null
null
null
defmodule Backbone.Channels.Channel do @moduledoc """ Schema for channels """ use Backbone.Schema schema "channels" do field(:remote_id, :integer) field(:name, :string) field(:description, :string) field(:hidden, :boolean) timestamps() end def changeset(struct, params) do struc...
19.608696
63
0.656319
3f60b526981afb3d051d3814c22639be4a29ea3f
2,352
exs
Elixir
test/satori_test.exs
NationalAssociationOfRealtors/SatoriChallenge
3b975f64426194378fb6b1378e9c12cfb97c9a48
[ "Apache-2.0" ]
1
2017-06-19T14:09:16.000Z
2017-06-19T14:09:16.000Z
test/satori_test.exs
NationalAssociationOfRealtors/SatoriChallenge
3b975f64426194378fb6b1378e9c12cfb97c9a48
[ "Apache-2.0" ]
1
2017-05-08T20:51:34.000Z
2017-05-08T20:51:34.000Z
test/satori_test.exs
NationalAssociationOfRealtors/SatoriChallenge
3b975f64426194378fb6b1378e9c12cfb97c9a48
[ "Apache-2.0" ]
null
null
null
defmodule SatoriTest do use ExUnit.Case alias Satori.PDU require Logger doctest Satori @role "rosetta-home" @channel "transportation" @publish_id "publish-id" @sub_id "sub-id" test "publisher" do url = "#{Application.get_env(:satori, :url)}?appkey=#{Application.get_env(:satori, :app_key)}" ...
46.117647
136
0.697704
3f60cd8f3616d8d9cca677ad01b14caf1a52f4dc
1,065
ex
Elixir
lib/morphic_pro/application.ex
MorphicPro/morphic.pro
9098da267344e025f262a344de6a2fb5cfea50a8
[ "MIT" ]
5
2020-04-23T21:12:17.000Z
2020-09-30T00:16:58.000Z
lib/morphic_pro/application.ex
joshchernoff/morphic.pro
9098da267344e025f262a344de6a2fb5cfea50a8
[ "MIT" ]
232
2020-04-24T00:52:24.000Z
2021-08-05T17:23:12.000Z
lib/morphic_pro/application.ex
MorphicPro/morphic.pro
9098da267344e025f262a344de6a2fb5cfea50a8
[ "MIT" ]
1
2020-04-04T02:19:44.000Z
2020-04-04T02:19:44.000Z
defmodule MorphicPro.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 Ecto repository MorphicPro.Repo...
28.783784
69
0.713615
3f60ed3e5ea9fb7966203f14b0460581f2aaf988
1,570
ex
Elixir
clients/jobs/lib/google_api/jobs/v3/model/timestamp_range.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/jobs/lib/google_api/jobs/v3/model/timestamp_range.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/jobs/lib/google_api/jobs/v3/model/timestamp_range.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...
31.4
81
0.715924
3f60f69804702a51e06c7182f689af5f3db4c10d
2,261
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/metric_structured_name.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/metric_structured_name.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/metric_structured_name.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
41.87037
451
0.732419
3f6131c1eb0008166609b8b3fd6dbde35cc059a1
275
ex
Elixir
lib/control_web/views/layout_view.ex
irvingreid/control
07c661ed2e12bc60d53311ed2c7259efc8e88f96
[ "BSD-3-Clause" ]
null
null
null
lib/control_web/views/layout_view.ex
irvingreid/control
07c661ed2e12bc60d53311ed2c7259efc8e88f96
[ "BSD-3-Clause" ]
null
null
null
lib/control_web/views/layout_view.ex
irvingreid/control
07c661ed2e12bc60d53311ed2c7259efc8e88f96
[ "BSD-3-Clause" ]
null
null
null
defmodule ControlWeb.LayoutView do use ControlWeb, :view # Phoenix LiveDashboard is available only in development by default, # so we instruct Elixir to not warn if the dashboard route is missing. @compile {:no_warn_undefined, {Routes, :live_dashboard_path, 2}} end
34.375
72
0.774545
3f6137003af395b9a4979c6e52c4019066c3179d
852
exs
Elixir
chapter2/exlivery/test/orders/order_test.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter2/exlivery/test/orders/order_test.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter2/exlivery/test/orders/order_test.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
defmodule Exlivery.Orders.OrderTest do use ExUnit.Case alias Exlivery.Orders.Order import Exlivery.Factory describe "build/2" do test "when all params are valid, returns an item" do user = build(:user) items = [ build(:item), build(:item, description: "Another descr...
20.285714
56
0.605634
3f6165ed386210faf394ad74a0d9f3f5eff2e913
1,455
ex
Elixir
lib/credo/check/refactor/negated_conditions_in_unless.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
lib/credo/check/refactor/negated_conditions_in_unless.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
lib/credo/check/refactor/negated_conditions_in_unless.ex
rodrigues/credo
b4e08477a2141d5537d8fc9c5cc08ebf93a5ee23
[ "MIT" ]
null
null
null
defmodule Credo.Check.Refactor.NegatedConditionsInUnless do @moduledoc """ Unless blocks should not contain a negated condition. The code in this example ... unless !allowed? do proceed_as_planned end ... should be refactored to look like this: if allowed? do proceed_as_pla...
26.454545
80
0.694845
3f618bac0ea108d40751717bf38fefefffd9dbb5
5,348
ex
Elixir
deps/httpotion/lib/httpotion.ex
szTheory/mmExchangeRate
cd4c38d728411eebcd39df30f8a8db9378db2759
[ "Apache-2.0" ]
null
null
null
deps/httpotion/lib/httpotion.ex
szTheory/mmExchangeRate
cd4c38d728411eebcd39df30f8a8db9378db2759
[ "Apache-2.0" ]
null
null
null
deps/httpotion/lib/httpotion.ex
szTheory/mmExchangeRate
cd4c38d728411eebcd39df30f8a8db9378db2759
[ "Apache-2.0" ]
1
2020-03-03T14:55:16.000Z
2020-03-03T14:55:16.000Z
defmodule HTTPotion.Base do defmacro __using__(_) do quote do def start do :application.ensure_all_started(:httpotion) end def process_url(url) do unless url =~ ~r/\Ahttps?:\/\// do "http://" <> url else url end end def process_re...
33.63522
116
0.591249
3f6190fe58c9a77b03e164c7bdbe726795dc98be
486
ex
Elixir
services/fc_identity/lib/fc_identity/commands/generate_password_reset_token.ex
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
services/fc_identity/lib/fc_identity/commands/generate_password_reset_token.ex
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
services/fc_identity/lib/fc_identity/commands/generate_password_reset_token.ex
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
defmodule FCIdentity.GeneratePasswordResetToken do use TypedStruct use Vex.Struct typedstruct do field :requester_id, String.t() field :requester_type, String.t() field :requester_role, String.t() field :client_id, String.t() field :client_type, String.t() field :account_id, String.t() ...
24.3
50
0.707819
3f619a28103dd02dc4d279b503c14192f71f75d1
2,093
exs
Elixir
farmbot_ext/test/farmbot_ext/amqp/auto_sync_asset_handler_test.exs
Arti4ever/farmbot_os
a238c1d5ae78c08d1f5894cac41ed61035fb3266
[ "MIT" ]
1
2021-04-22T10:18:50.000Z
2021-04-22T10:18:50.000Z
farmbot_ext/test/farmbot_ext/amqp/auto_sync_asset_handler_test.exs
Arti4ever/farmbot_os
a238c1d5ae78c08d1f5894cac41ed61035fb3266
[ "MIT" ]
null
null
null
farmbot_ext/test/farmbot_ext/amqp/auto_sync_asset_handler_test.exs
Arti4ever/farmbot_os
a238c1d5ae78c08d1f5894cac41ed61035fb3266
[ "MIT" ]
null
null
null
defmodule AutoSyncAssetHandlerTest do require Helpers use ExUnit.Case, async: false use Mimic setup :verify_on_exit! setup :set_mimic_global alias FarmbotExt.AMQP.AutoSyncAssetHandler alias FarmbotCore.{Asset, BotState, Leds} import ExUnit.CaptureLog def auto_sync_off, do: expect(Asset.Query, :aut...
31.238806
77
0.703297
3f61a005102980908dcec1a377112f2b2ddfd6c3
2,215
ex
Elixir
apps/muster_web/lib/muster_web.ex
eugenebolshakov/muster
dd5465da2c9c1a64817e271b297de95fa31c07d9
[ "Unlicense" ]
null
null
null
apps/muster_web/lib/muster_web.ex
eugenebolshakov/muster
dd5465da2c9c1a64817e271b297de95fa31c07d9
[ "Unlicense" ]
null
null
null
apps/muster_web/lib/muster_web.ex
eugenebolshakov/muster
dd5465da2c9c1a64817e271b297de95fa31c07d9
[ "Unlicense" ]
null
null
null
defmodule MusterWeb 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 MusterWeb, :controller use MusterWeb, :view The definitions below will be executed for every view, controller, etc...
22.15
78
0.679007
3f61bd001c8d4d88a7b422518eb07673d9fd17ab
1,673
exs
Elixir
test/one/block_test.exs
supaiku0/elixir-client
2d5549ce3a876a18750a36a14ff769427688c5bb
[ "MIT" ]
null
null
null
test/one/block_test.exs
supaiku0/elixir-client
2d5549ce3a876a18750a36a14ff769427688c5bb
[ "MIT" ]
null
null
null
test/one/block_test.exs
supaiku0/elixir-client
2d5549ce3a876a18750a36a14ff769427688c5bb
[ "MIT" ]
null
null
null
defmodule ArkEcosystem.Client.BlockTest do use ExUnit.Case import ArkEcosystem.Client.Block @client ArkEcosystem.Client.new(%{ host: "https://dexplorer.ark.io:8443/api", nethash: "578e820911f24e039733b45e4882b73e301f813a0d2c31330dafda84534ffa23", version: "1.1.1" }) ...
21.727273
88
0.659892