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
ffacc420912dd26001ac277b04f7f85b2a74225c
1,239
exs
Elixir
refuge/config/prod.secret.exs
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
refuge/config/prod.secret.exs
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
1
2020-02-26T14:55:23.000Z
2020-02-26T14:55:23.000Z
daniel/pragstudio/refuge/config/prod.secret.exs
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
29.5
67
0.717514
ffad0626c55bf1a8ab03b5d18cf46f35f87f7c83
6,604
ex
Elixir
lib/tesla.ex
RamanBut-Husaim/tesla
d618115c27950cac8e7c1b4ee305d7df575b2383
[ "MIT" ]
1
2021-04-19T06:48:59.000Z
2021-04-19T06:48:59.000Z
lib/tesla.ex
sdn90/tesla
4c59ef6ca7dac632a474c054f02c3323504bd03c
[ "MIT" ]
null
null
null
lib/tesla.ex
sdn90/tesla
4c59ef6ca7dac632a474c054f02c3323504bd03c
[ "MIT" ]
null
null
null
defmodule Tesla.Error do defexception env: nil, stack: [], reason: nil def message(%Tesla.Error{env: %{url: url, method: method}, reason: reason}) do "#{inspect(reason)} (#{method |> to_string |> String.upcase()} #{url})" end end defmodule Tesla.Env do @type client :: Tesla.Client.t() @type method :: :h...
25.898039
94
0.592217
ffad427c9d3c5bd07af07fd69208e205fef70779
537
ex
Elixir
samples/client/petstore/elixir/lib/swagger_petstore/model/dog.ex
lob/swagger-codegen
cd4aaa272342b473f940576913d38378f0392991
[ "Apache-2.0" ]
null
null
null
samples/client/petstore/elixir/lib/swagger_petstore/model/dog.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/dog.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.Dog do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :className, :color, :breed ] @ty...
17.9
75
0.664804
ffad444c12d94ffb82aaa2ef0eba950fbeadd2f2
65
ex
Elixir
todoList/lib/todoList_web/views/layout_view.ex
Mateusz-Stempniewicz/elixir-restservice
2a8f1e7950fd33b202174ea1b2cb2ba0f1620416
[ "MIT" ]
null
null
null
todoList/lib/todoList_web/views/layout_view.ex
Mateusz-Stempniewicz/elixir-restservice
2a8f1e7950fd33b202174ea1b2cb2ba0f1620416
[ "MIT" ]
null
null
null
todoList/lib/todoList_web/views/layout_view.ex
Mateusz-Stempniewicz/elixir-restservice
2a8f1e7950fd33b202174ea1b2cb2ba0f1620416
[ "MIT" ]
null
null
null
defmodule TodoListWeb.LayoutView do use TodoListWeb, :view end
16.25
35
0.815385
ffad55277c3cb16ef7c5470cb6cc1e0a4c8b9308
1,890
exs
Elixir
phoenix_backend/test/phoenix_backend/content_test.exs
raphaklaus/opentelemetry-examples
099fc6cf52bdd337f359530e12007050aa835b35
[ "Apache-2.0" ]
4
2020-03-15T10:51:31.000Z
2020-04-24T07:07:01.000Z
phoenix_backend/test/phoenix_backend/content_test.exs
raphaklaus/opentelemetry-examples
099fc6cf52bdd337f359530e12007050aa835b35
[ "Apache-2.0" ]
8
2020-06-27T22:05:24.000Z
2022-02-16T09:23:41.000Z
phoenix_backend/test/phoenix_backend/content_test.exs
raphaklaus/opentelemetry-examples
099fc6cf52bdd337f359530e12007050aa835b35
[ "Apache-2.0" ]
5
2020-10-27T00:59:26.000Z
2021-11-23T17:22:23.000Z
defmodule PhoenixBackend.ContentTest do use PhoenixBackend.DataCase alias PhoenixBackend.Content describe "posts" do alias PhoenixBackend.Content.Post @valid_attrs %{title: "some title"} @update_attrs %{title: "some updated title"} @invalid_attrs %{title: nil} def post_fixture(attrs \\ %{}...
29.076923
84
0.654497
ffadad78b550f5b153a5dbbe8032757f767f9fe4
920
exs
Elixir
config/prod.exs
yknx4/opencov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
8
2021-08-22T10:37:57.000Z
2022-01-10T11:27:06.000Z
config/prod.exs
yknx4/librecov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
109
2021-08-20T04:08:04.000Z
2022-01-03T07:39:18.000Z
config/prod.exs
Librecov/librecov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
null
null
null
import Config config :tesla, Tesla.Middleware.Logger, filter_headers: ["authorization"] config :librecov, Librecov.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json" config :librecov, Librecov.Repo, adapter: Ecto.Adapters.Postgres, ssl: true config :logger, :console, metadata: [:request_id, :mfa...
24.210526
93
0.744565
ffadbf92af5c9a76f97e4b79b0773fb5544930b2
1,210
exs
Elixir
mix.exs
Ninigi/ecto_dripper
ca472e90aafd3313b91a268f81e6aa936c59e021
[ "MIT" ]
1
2018-06-28T11:15:14.000Z
2018-06-28T11:15:14.000Z
mix.exs
Ninigi/ecto_dripper
ca472e90aafd3313b91a268f81e6aa936c59e021
[ "MIT" ]
null
null
null
mix.exs
Ninigi/ecto_dripper
ca472e90aafd3313b91a268f81e6aa936c59e021
[ "MIT" ]
null
null
null
defmodule EctoDripper.MixProject do use Mix.Project def project do [ app: :ecto_dripper, version: "1.0.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package()...
23.269231
105
0.590083
ffadc8d7db56ef2590edd62fd2f68a58169a0a2c
5,851
exs
Elixir
apps/reaper/test/unit/reaper/data_extract/schema_filler_test.exs
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
apps/reaper/test/unit/reaper/data_extract/schema_filler_test.exs
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
apps/reaper/test/unit/reaper/data_extract/schema_filler_test.exs
jakeprem/smartcitiesdata
da309ac0d2261527278951cbae88604455207589
[ "Apache-2.0" ]
null
null
null
defmodule Reaper.DataExtract.SchemaFillerTest do use ExUnit.Case doctest SmartCity.Helpers alias Reaper.DataExtract.SchemaFiller describe "single level" do setup do basic_schema = [ %{name: "id", type: "string"}, %{ name: "parentMap", type: "map", subSche...
25.550218
108
0.503162
ffadee78917713679dab1e46177b7ab85d19a7d7
1,552
exs
Elixir
mix.exs
jotaviobiondo/rajska
d678d501fed0e698d697bb8d58648451091ec1ff
[ "MIT" ]
null
null
null
mix.exs
jotaviobiondo/rajska
d678d501fed0e698d697bb8d58648451091ec1ff
[ "MIT" ]
null
null
null
mix.exs
jotaviobiondo/rajska
d678d501fed0e698d697bb8d58648451091ec1ff
[ "MIT" ]
null
null
null
defmodule Rajska.MixProject do use Mix.Project @github_url "https://github.com/jungsoft/rajska" def project do [ app: :rajska, version: "1.2.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), name: "Rajska", source_url: @github_url, descr...
22.171429
70
0.521263
ffae159bf3d577864313f15732e69cdf07e5ee35
521
ex
Elixir
hackerank_elixir/easy/split_strings.ex
eduardorasgado/ElixirWarlock
1658ab2ffb2870cb81c8a434755d98678572838c
[ "MIT" ]
null
null
null
hackerank_elixir/easy/split_strings.ex
eduardorasgado/ElixirWarlock
1658ab2ffb2870cb81c8a434755d98678572838c
[ "MIT" ]
1
2021-03-10T05:09:49.000Z
2021-03-10T05:09:49.000Z
hackerank_elixir/easy/split_strings.ex
eduardorasgado/ElixirWarlock
1658ab2ffb2870cb81c8a434755d98678572838c
[ "MIT" ]
null
null
null
defmodule SplitStrings do @moduledoc """ This problem can be found here: https://www.codewars.com/kata/515de9ae9dcfc28eb6000001/train/elixir """ @doc """ solution("abc") # should return ["ab", "c_"] solution("abcdef") # should return ["ab", "cd", "ef"] """ def solution(str_s) do # Your code here...
23.681818
71
0.642994
ffae1f87eaff225d317266c626fb62f946e365c0
997
ex
Elixir
lib/opentelemetry_jaeger/span_ref_type_mapper.ex
sadesyllas/opentelemetry_jaeger
5d2719b810717c6674838dd08ff76d22e470313d
[ "MIT" ]
null
null
null
lib/opentelemetry_jaeger/span_ref_type_mapper.ex
sadesyllas/opentelemetry_jaeger
5d2719b810717c6674838dd08ff76d22e470313d
[ "MIT" ]
null
null
null
lib/opentelemetry_jaeger/span_ref_type_mapper.ex
sadesyllas/opentelemetry_jaeger
5d2719b810717c6674838dd08ff76d22e470313d
[ "MIT" ]
null
null
null
defprotocol OpenTelemetryJaeger.SpanRefTypeMapper do @moduledoc """ An implementor of this protocol is required to read a list of `:opentelemetry.attribute()`s and resolve a `Jaeger.Thrift.SpanRefType`, if applicable. """ require Jaeger.Thrift.SpanRefType, as: SpanRefType @type span_ref_type :: unquote(Sp...
34.37931
107
0.751254
ffae328d480a36942b6d5437589fce798dc9fdc0
258
ex
Elixir
lib/cowguest/controller.ex
cedretaber/cowguest
dd41ca95f19820de3707e4b1afa04f901a9e9670
[ "MIT" ]
null
null
null
lib/cowguest/controller.ex
cedretaber/cowguest
dd41ca95f19820de3707e4b1afa04f901a9e9670
[ "MIT" ]
null
null
null
lib/cowguest/controller.ex
cedretaber/cowguest
dd41ca95f19820de3707e4b1afa04f901a9e9670
[ "MIT" ]
null
null
null
defmodule Cowguest.Controller do @moduledoc false defmacro __using__(opts) do quote location: :keep do import Cowguest.Controller use Plug.Builder, unquote(opts) end end def to_json(value) do Poison.encode(value) end end
16.125
37
0.697674
ffae467fe0273ffc63324103531bbc66f702fe39
1,776
ex
Elixir
clients/books/lib/google_api/books/v1/model/volumes.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volumes.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/books/lib/google_api/books/v1/model/volumes.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...
33.509434
198
0.704955
ffae524093f0d26606dee2b7a7956deaaf6de158
1,954
ex
Elixir
src/elixir/irc/lib/server.ex
fmi-unibuc/iclp
771541a768ddbfba15fa083df2f128e87a84b567
[ "MIT" ]
null
null
null
src/elixir/irc/lib/server.ex
fmi-unibuc/iclp
771541a768ddbfba15fa083df2f128e87a84b567
[ "MIT" ]
null
null
null
src/elixir/irc/lib/server.ex
fmi-unibuc/iclp
771541a768ddbfba15fa083df2f128e87a84b567
[ "MIT" ]
null
null
null
defmodule Server do @moduledoc """ A server maintaining the list of channels and users """ @doc """ """ use GenServer, restart: :transient def start_link(opts \\ []) do GenServer.start_link(__MODULE__, :ok, opts) end def register(server, name) do GenServer.call(server, {:register, name}) ...
26.767123
75
0.620778
ffae6f309a78f5ce3b98305adecd06d568768bfb
1,278
ex
Elixir
lib/exhmac/noncer/noncer_server.ex
lizhaochao/ExHmac
9e7e00999362107e17528d6d9af97da7f461d6a9
[ "MIT" ]
null
null
null
lib/exhmac/noncer/noncer_server.ex
lizhaochao/ExHmac
9e7e00999362107e17528d6d9af97da7f461d6a9
[ "MIT" ]
null
null
null
lib/exhmac/noncer/noncer_server.ex
lizhaochao/ExHmac
9e7e00999362107e17528d6d9af97da7f461d6a9
[ "MIT" ]
null
null
null
defmodule ExHmac.Noncer.Server do @moduledoc false ### Use GenServer To Make Sure Operations Is Atomic. use GenServer alias ExHmac.{Config, Noncer} alias ExHmac.Noncer.GarbageCollector, as: GC @gc_interval_milli Config.get_gc_interval_milli() def start_link(opts) when is_list(opts) do with( ...
22.421053
92
0.668232
ffae75407e58f17d28e4079698afa5b7cedd43bb
86
ex
Elixir
web/views/order_view.ex
the5fire/ex_admin_demo
655540499a68670c7349974b47c5e0bfee29aa99
[ "MIT" ]
22
2016-03-31T02:58:09.000Z
2020-06-16T02:37:16.000Z
web/views/order_view.ex
the5fire/ex_admin_demo
655540499a68670c7349974b47c5e0bfee29aa99
[ "MIT" ]
7
2016-03-27T14:22:59.000Z
2021-04-27T14:33:51.000Z
web/views/order_view.ex
the5fire/ex_admin_demo
655540499a68670c7349974b47c5e0bfee29aa99
[ "MIT" ]
13
2016-04-21T06:05:32.000Z
2018-08-23T06:38:54.000Z
defmodule ExAdminDemo.OrderView do use ExAdminDemo.Web, :view require Xain end
14.333333
34
0.767442
ffae939e88257663362e40e17430eb1577714e85
720
exs
Elixir
jwt_app/mix.exs
gguimond/elixir
415a7ed10fb44d84089ff89fb651b765b5f5e53f
[ "MIT" ]
1
2019-03-28T09:08:16.000Z
2019-03-28T09:08:16.000Z
jwt_app/mix.exs
gguimond/elixir
415a7ed10fb44d84089ff89fb651b765b5f5e53f
[ "MIT" ]
null
null
null
jwt_app/mix.exs
gguimond/elixir
415a7ed10fb44d84089ff89fb651b765b5f5e53f
[ "MIT" ]
null
null
null
defmodule JwtApp.Mixfile do use Mix.Project def project do [app: :jwt_app, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" for mor...
20.571429
77
0.591667
ffaee73c8e0d07ef7e556c48b13e1acf282a3fa4
3,859
ex
Elixir
apps/omg_api/lib/fee_server.ex
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
null
null
null
apps/omg_api/lib/fee_server.ex
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
null
null
null
apps/omg_api/lib/fee_server.ex
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
2
2020-06-07T11:14:54.000Z
2020-08-02T07:36:32.000Z
# 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...
29.684615
120
0.66779
ffaf04efc3d7e1fdccc73b50c240e3b8e10af885
2,288
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__explicit_content_annotation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__explicit_content_annotation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p3beta1__explicit_content_annotation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.2
204
0.751311
ffaf2344091599cf28cf44a73479815e0b2ea039
5,630
ex
Elixir
Meta-Interpreter.ex
evansaboo/elixir-programming
57408424914003091003430500473546c94354d9
[ "MIT" ]
null
null
null
Meta-Interpreter.ex
evansaboo/elixir-programming
57408424914003091003430500473546c94354d9
[ "MIT" ]
null
null
null
Meta-Interpreter.ex
evansaboo/elixir-programming
57408424914003091003430500473546c94354d9
[ "MIT" ]
null
null
null
defmodule Env do def new() do [] end def add(id, str, env) do [{id,str}|env] end def lookup(id, env) do case env do [] -> nil [{^id, str}|t] -> {id,str} [h|t] -> lookup(id, t) end ...
24.267241
66
0.397869
ffaf68362ce47db7753fdd6da7c061a1f2368634
186
exs
Elixir
time_tracker_backend/priv/repo/migrations/20160818200407_add_users.exs
knewter/time-tracker
1f58031112a24c26a1a54ac33105b4430a04e954
[ "MIT" ]
382
2016-08-18T07:34:27.000Z
2021-02-25T20:46:34.000Z
time_tracker_backend/priv/repo/migrations/20160818200407_add_users.exs
knewter/time-tracker
1f58031112a24c26a1a54ac33105b4430a04e954
[ "MIT" ]
1
2017-09-30T00:01:26.000Z
2017-09-30T00:01:26.000Z
time_tracker_backend/priv/repo/migrations/20160818200407_add_users.exs
knewter/time-tracker
1f58031112a24c26a1a54ac33105b4430a04e954
[ "MIT" ]
45
2016-08-30T07:34:04.000Z
2020-01-27T11:39:26.000Z
defmodule TimeTrackerBackend.Repo.Migrations.AddUsers do use Ecto.Migration def change do create table(:users) do add :name, :string timestamps() end end end
15.5
56
0.688172
ffaf8b0de17de0813eb8f6eb372167497e36a416
940
exs
Elixir
mix.exs
DanilaMihailov/docs_getter
82f95bc60a885ea1ec778e218a9b6d06e8ee05c5
[ "Apache-2.0" ]
null
null
null
mix.exs
DanilaMihailov/docs_getter
82f95bc60a885ea1ec778e218a9b6d06e8ee05c5
[ "Apache-2.0" ]
null
null
null
mix.exs
DanilaMihailov/docs_getter
82f95bc60a885ea1ec778e218a9b6d06e8ee05c5
[ "Apache-2.0" ]
null
null
null
defmodule DocsGetter.MixProject do use Mix.Project def project do [ app: :docs_getter, version: "0.1.0-beta.1", source_url: "https://github.com/DanilaMihailov/docs_getter", homepage_url: "https://github.com/DanilaMihailov/docs_getter", elixir: "~> 1.10", start_permanent: Mix...
18.8
75
0.567021
ffafa181b56f924ef2db3ffe1a1e4fc918356c34
718
exs
Elixir
config/test.exs
hammoc-app/hammoc-elixir
00cd24e2170cc3dee65c7848868ea3d1096ac25c
[ "MIT" ]
5
2019-07-13T22:20:50.000Z
2020-07-13T05:05:43.000Z
config/test.exs
hammoc-app/hammoc-elixir
00cd24e2170cc3dee65c7848868ea3d1096ac25c
[ "MIT" ]
33
2019-08-01T03:48:23.000Z
2021-07-28T03:29:40.000Z
config/test.exs
hammoc-app/hammoc-elixir
00cd24e2170cc3dee65c7848868ea3d1096ac25c
[ "MIT" ]
2
2019-09-03T22:45:11.000Z
2020-01-01T23:56:58.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :hammoc, HammocWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :hammoc, Hammoc.Repo, ...
26.592593
94
0.750696
ffafa43bda470a98d411b34ef3d01dcc2d79b1d9
1,678
exs
Elixir
config/test.exs
onomated/coherence
210c6e56a48f53b6a02a6f99a6b5260027ae6633
[ "MIT" ]
1,347
2016-07-04T23:20:10.000Z
2022-02-10T20:10:48.000Z
config/test.exs
onomated/coherence
210c6e56a48f53b6a02a6f99a6b5260027ae6633
[ "MIT" ]
378
2016-07-06T16:30:28.000Z
2021-09-16T13:34:05.000Z
config/test.exs
onomated/coherence
210c6e56a48f53b6a02a6f99a6b5260027ae6633
[ "MIT" ]
276
2016-07-06T20:26:17.000Z
2021-12-06T19:32:41.000Z
use Mix.Config # config :coherence, ecto_repos: [TestCoherence.Repo] config :logger, level: :error config :coherence, TestCoherenceWeb.Endpoint, http: [port: 4001], secret_key_base: "HL0pikQMxNSA58Dv4mf26O/eh1e4vaJDmX0qLgqBcnS94gbKu9Xn3x114D+mHYcX", server: false config :coherence, ecto_repos: [TestCoherence....
27.064516
86
0.733611
ffafab54b182f401eca902fcf493e10ea781e8a6
24,367
exs
Elixir
lib/ex_unit/test/ex_unit/diff_test.exs
fedora-erlang/elixir
84c1044164a3e99b4a7d155024eb1130ab5d3377
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/diff_test.exs
fedora-erlang/elixir
84c1044164a3e99b4a7d155024eb1130ab5d3377
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/diff_test.exs
fedora-erlang/elixir
84c1044164a3e99b4a7d155024eb1130ab5d3377
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule ExUnit.DiffTest do use ExUnit.Case, async: true alias Inspect.Algebra alias ExUnit.{Assertions, Diff} defmodule User do defstruct [:name, :age] end defmodule Person do defstruct [:age] end defmodule Opaque do defstruct [:data] ...
30.727617
98
0.430295
ffafb91e63a73a28d4288eb6613908e6b8139eef
1,091
exs
Elixir
test/farmbot_ext/api/reconciler_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/farmbot_ext/api/reconciler_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/farmbot_ext/api/reconciler_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.API.ReconcilerTest do require Helpers use ExUnit.Case use Mimic alias FarmbotOS.API.Reconciler alias FarmbotOS.API setup :verify_on_exit! @fake_sync %Ecto.Changeset{ action: nil, changes: %{ devices: [], farmware_envs: [], fbos_configs: [], firmware_...
21.392157
54
0.605866
ffafc221bc59847e935c944ab5cf9ffbce45eb0d
3,952
exs
Elixir
test/liveview_todos_web/live/todo_live_test.exs
mwindholtz/liveview_todos
1f6a2e576be4a41f49d0bfe2b01da97d268d0d0d
[ "Apache-2.0" ]
null
null
null
test/liveview_todos_web/live/todo_live_test.exs
mwindholtz/liveview_todos
1f6a2e576be4a41f49d0bfe2b01da97d268d0d0d
[ "Apache-2.0" ]
2
2021-03-09T14:03:26.000Z
2021-05-10T06:02:53.000Z
test/liveview_todos_web/live/todo_live_test.exs
mwindholtz/liveview_todos
1f6a2e576be4a41f49d0bfe2b01da97d268d0d0d
[ "Apache-2.0" ]
null
null
null
defmodule LiveviewTodosWeb.TodoLiveTest do use LiveviewTodosWeb.ConnCase alias LiveviewTodos.DomainEvent alias LiveviewTodosWeb.TodoLive alias Phoenix.LiveView alias Phoenix.LiveView.Socket import ExUnit.CaptureLog defmodule TodoApplicationServiceStub do def create_list(name, observer_pid) when is_pi...
26.884354
95
0.623482
ffafd0b4927664a7d2523b355438a6efda9772ac
3,079
ex
Elixir
lib/receipt_verifier/receipt/iap_receipt.ex
portal-labs/receipt_verifier
d8d2d0e6382874cfc35daa27148be39a2fb23aeb
[ "MIT" ]
null
null
null
lib/receipt_verifier/receipt/iap_receipt.ex
portal-labs/receipt_verifier
d8d2d0e6382874cfc35daa27148be39a2fb23aeb
[ "MIT" ]
null
null
null
lib/receipt_verifier/receipt/iap_receipt.ex
portal-labs/receipt_verifier
d8d2d0e6382874cfc35daa27148be39a2fb23aeb
[ "MIT" ]
null
null
null
defmodule ReceiptVerifier.IAPReceipt do @moduledoc """ The struct represent an In-App Purchase Receipt """ @type t :: %__MODULE__{ web_order_line_item_id: String.t(), transaction_id: String.t(), quantity: integer, purchase_date: DateTime.t(), product_id: String...
24.632
64
0.671971
ffb009cb7b9eb489df8e95c7223424ca66cb4303
12,795
ex
Elixir
lib/redix/connection.ex
SoCal-Software-Labs/safe-redix
6ac3d42c104ee3a2bcd5d726aaca1474e95cc29f
[ "MIT" ]
968
2015-08-17T14:14:57.000Z
2022-03-29T03:39:17.000Z
lib/redix/connection.ex
SoCal-Software-Labs/safe-redix
6ac3d42c104ee3a2bcd5d726aaca1474e95cc29f
[ "MIT" ]
192
2015-08-17T20:39:57.000Z
2022-03-23T08:48:36.000Z
lib/redix/connection.ex
SoCal-Software-Labs/safe-redix
6ac3d42c104ee3a2bcd5d726aaca1474e95cc29f
[ "MIT" ]
145
2015-08-17T20:38:22.000Z
2022-03-04T22:59:47.000Z
defmodule Redix.Connection do @moduledoc false alias Redix.{ConnectionError, Format, Protocol, SocketOwner, StartOptions} @behaviour :gen_statem defstruct [ :opts, :transport, :socket_owner, :table, :socket, :backoff_current, :connected_address, counter: 0, client_reply: :...
31.670792
98
0.651739
ffb03674528f148d56d0fc96cb60457181fe8656
892
exs
Elixir
deps/connection/mix.exs
matin360/TaksoWebApp
4dd8fef625ecc2364fe1d6e18e73c96c59d15349
[ "MIT" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
deps/connection/mix.exs
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
4
2021-03-04T13:00:52.000Z
2021-03-12T12:42:09.000Z
deps/connection/mix.exs
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
null
null
null
defmodule Connection.Mixfile do use Mix.Project @version "1.1.0" def project do [ app: :connection, version: @version, elixir: "~> 1.7", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), docs: ...
16.830189
71
0.55157
ffb0493c24555f2bcfbfaab6717c534d33619c4f
968
exs
Elixir
config/test.exs
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
13
2021-03-06T12:16:34.000Z
2022-03-31T09:46:35.000Z
config/test.exs
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
148
2021-03-05T12:44:55.000Z
2022-03-11T12:09:06.000Z
config/test.exs
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
2
2021-06-02T14:31:21.000Z
2022-02-14T08:36:51.000Z
import Config config :hierbautberlin, :environment, :test # Only in tests, remove the complexity from the password hashing algorithm config :bcrypt_elixir, :log_rounds, 1 # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. #...
31.225806
77
0.774793
ffb05f27cb78ea1291a27320dd289d5d18a883a9
2,002
ex
Elixir
lib/baiji_generator/spec/writer.ex
wrren/baiji_generator.ex
7c36c0089d6b88576fa6e064e86c342f03729003
[ "MIT" ]
null
null
null
lib/baiji_generator/spec/writer.ex
wrren/baiji_generator.ex
7c36c0089d6b88576fa6e064e86c342f03729003
[ "MIT" ]
null
null
null
lib/baiji_generator/spec/writer.ex
wrren/baiji_generator.ex
7c36c0089d6b88576fa6e064e86c342f03729003
[ "MIT" ]
null
null
null
defmodule Baiji.Generator.Spec.Writer do @doc """ Given a list of specs, write generated .ex files for each service to the path specified """ alias Baiji.Generator.Spec def write(specs, write_path, template_file) when is_list(specs) do specs |> Enum.map(fn spec -> {spec, generate_service_f...
32.819672
92
0.6004
ffb0713a8cff319a668f7305c008df3a9c70ecd3
1,334
ex
Elixir
lib/lpass_client/application.ex
Arp-G/lpass_client
43da579914191b1f1f326c28a614ef16acfcb12f
[ "MIT" ]
null
null
null
lib/lpass_client/application.ex
Arp-G/lpass_client
43da579914191b1f1f326c28a614ef16acfcb12f
[ "MIT" ]
null
null
null
lib/lpass_client/application.ex
Arp-G/lpass_client
43da579914191b1f1f326c28a614ef16acfcb12f
[ "MIT" ]
null
null
null
defmodule LpassClient.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ # Start the Telemetry supervisor LpassClientWeb.Telemetry, # Start the...
28.382979
82
0.710645
ffb07f7b38610545ccd6cf4a0f98ec132935b7da
620
ex
Elixir
lib/future_made_concerts_web/views/episode_view.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
lib/future_made_concerts_web/views/episode_view.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
lib/future_made_concerts_web/views/episode_view.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
defmodule FutureMadeConcertsWeb.EpisodeView do @moduledoc false use FutureMadeConcertsWeb, :view alias FutureMadeConcerts.Spotify.Schema.{Episode, Player} @spec playing?(Episode.t(), Player.t()) :: boolean() defp playing?(%Episode{id: episode_id}, %Player{status: :playing, item: %{id: episode_id}}), do:...
31
94
0.71129
ffb0da75c7b8068e5c6ffb8bd6a21a50fb04291c
1,182
exs
Elixir
mix.exs
NeoArcanjo/hound
31f15d35aafcebc6263c28948f2bc84eefe8892d
[ "MIT" ]
null
null
null
mix.exs
NeoArcanjo/hound
31f15d35aafcebc6263c28948f2bc84eefe8892d
[ "MIT" ]
null
null
null
mix.exs
NeoArcanjo/hound
31f15d35aafcebc6263c28948f2bc84eefe8892d
[ "MIT" ]
null
null
null
defmodule Hound.Mixfile do use Mix.Project @version "1.2.2" def project do [ app: :hound, version: @version, elixir: ">= 1.9.0", description: "Webdriver library for integration testing and browser automation - Forked from HashNuke/hound", source_url: "http://192.168.0.1...
23.64
104
0.538917
ffb0e1c785533c085cf330a6dcf21fc0028b8b16
1,889
ex
Elixir
lib/brando/soft_delete/query.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
lib/brando/soft_delete/query.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
lib/brando/soft_delete/query.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule Brando.SoftDelete.Query do @moduledoc """ Query tools for Soft deletion """ alias Brando.Trait import Ecto.Query @doc """ Excludes all deleted entries from query """ def exclude_deleted(query), do: from(t in query, where: is_nil(t.deleted_at)) @doc """ List all soft delete enabled sche...
24.532468
95
0.670725
ffb0ff0ac31d32c2b3730869effcd6608925d167
5,187
ex
Elixir
lib/square_up/resources/v2/payment.ex
beaver21/SquareUp
c9791d96ed9335926933403a966eba5076fbc15b
[ "MIT" ]
4
2020-10-21T18:34:50.000Z
2022-03-16T06:25:44.000Z
lib/square_up/resources/v2/payment.ex
beaver21/SquareUp
c9791d96ed9335926933403a966eba5076fbc15b
[ "MIT" ]
5
2020-10-21T23:16:32.000Z
2021-05-13T13:42:44.000Z
lib/square_up/resources/v2/payment.ex
beaver21/SquareUp
c9791d96ed9335926933403a966eba5076fbc15b
[ "MIT" ]
3
2020-10-21T21:20:36.000Z
2021-03-15T18:00:30.000Z
defmodule SquareUp.V2.Payment do import Norm import SquareUp.Client, only: [call: 2] @spec refund(SquareUp.Client.t(), %{}, SquareUp.TypeSpecs.refund_payment_request(), %{}) :: SquareUp.Client.response(SquareUp.TypeSpecs.refund_payment_response()) def refund(client, path_params \\ %{}, params \\ %{},...
35.047297
98
0.67033
ffb1302b57a61e1191eac061253dfe1b45d4583f
1,999
exs
Elixir
test/realtime_signs_config_test.exs
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-01-24T12:39:05.000Z
2022-01-24T12:39:05.000Z
test/realtime_signs_config_test.exs
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
40
2021-05-05T10:14:25.000Z
2022-03-31T18:34:15.000Z
test/realtime_signs_config_test.exs
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-03-20T21:08:12.000Z
2022-03-20T21:08:12.000Z
defmodule RealtimeSignsConfigTest do use ExUnit.Case, async: false import ExUnit.CaptureLog import RealtimeSignsConfig setup do on_exit(fn -> Application.delete_env(:realtime_signs, :app_key) end) end describe "update_env/5" do test "sets the application environment" do assert :ok = update_...
35.070175
89
0.646823
ffb13830c4daff69a76bd990f501c0eae8a9ad09
504
ex
Elixir
lib/hierbautberlin/geo_data/geo_place.ex
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
13
2021-03-06T12:16:34.000Z
2022-03-31T09:46:35.000Z
lib/hierbautberlin/geo_data/geo_place.ex
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
148
2021-03-05T12:44:55.000Z
2022-03-11T12:09:06.000Z
lib/hierbautberlin/geo_data/geo_place.ex
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
2
2021-06-02T14:31:21.000Z
2022-02-14T08:36:51.000Z
defmodule Hierbautberlin.GeoData.GeoPlace do use Ecto.Schema alias Geo.PostGIS.Geometry alias Hierbautberlin.GeoData.NewsItem schema "geo_places" do field :external_id, :string field :name, :string field :city, :string field :district, :string field :type, :string field :geometry, Geo...
22.909091
98
0.730159
ffb13c36de6af3d270992cbbb0c0267b8e0764c2
616
exs
Elixir
code_generation/mix.exs
sdrew/protox
c28d02f1626b5cd39bad7de2b415d20ebbdf76ee
[ "MIT" ]
null
null
null
code_generation/mix.exs
sdrew/protox
c28d02f1626b5cd39bad7de2b415d20ebbdf76ee
[ "MIT" ]
null
null
null
code_generation/mix.exs
sdrew/protox
c28d02f1626b5cd39bad7de2b415d20ebbdf76ee
[ "MIT" ]
null
null
null
defmodule CodeGeneration.MixProject do use Mix.Project def project do [ app: :code_generation, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
20.533333
65
0.561688
ffb1947834080f25155e2e8cbc32802a57f9559f
733
ex
Elixir
lib/ex_json_schema/validator/const.ex
tinfoil/ex_json_schema
6836d531c9adcd6abfa3a5e296d3da977f7b7fb1
[ "MIT" ]
301
2015-07-17T22:22:56.000Z
2022-03-20T13:42:22.000Z
lib/ex_json_schema/validator/const.ex
tinfoil/ex_json_schema
6836d531c9adcd6abfa3a5e296d3da977f7b7fb1
[ "MIT" ]
70
2015-09-30T21:19:43.000Z
2022-02-03T10:23:07.000Z
lib/ex_json_schema/validator/const.ex
tinfoil/ex_json_schema
6836d531c9adcd6abfa3a5e296d3da977f7b7fb1
[ "MIT" ]
100
2015-09-16T11:58:15.000Z
2022-01-31T19:09:32.000Z
defmodule ExJsonSchema.Validator.Const do @moduledoc """ `ExJsonSchema.Validator` implementation for `"anyOf"` attributes. See: https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.24 https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.3 """ alias ExJ...
23.645161
86
0.684857
ffb1966f891de1eb1f2087e662e2044b70cc9c7d
4,425
exs
Elixir
apps/ewallet_db/test/ewallet_db/validator_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/test/ewallet_db/validator_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/test/ewallet_db/validator_test.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...
28.548387
98
0.632316
ffb1ab80435093ec6cd483a95bfac62dfe7b1c91
1,427
ex
Elixir
lib/cforum/messages/reindex_messages_job.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
null
null
null
lib/cforum/messages/reindex_messages_job.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
null
null
null
lib/cforum/messages/reindex_messages_job.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
null
null
null
defmodule Cforum.Messages.ReindexMessagesJob do use Appsignal.Instrumentation.Decorators import Ecto.Query, warn: false alias Cforum.Repo alias Cforum.Search alias Cforum.Threads alias Cforum.Messages alias Cforum.Search.Document alias Cforum.Messages.Message @decorate transaction(:indexing) def r...
25.945455
66
0.64541
ffb1ca63fb3eb359129dfb1c681d97a625ebcaf8
2,088
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/interconnect_attachments_scoped_list_warning_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/interconnect_attachments_scoped_list_warning_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/interconnect_attachments_scoped_list_warning_data.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 ...
40.153846
527
0.748563
ffb1dcb33b3d3c21653f7036c9df45068341d3d1
2,805
exs
Elixir
mix.exs
Adzz/money
c611d53018f5fcba7a4e85569caf8b41f57d79dd
[ "Apache-2.0" ]
null
null
null
mix.exs
Adzz/money
c611d53018f5fcba7a4e85569caf8b41f57d79dd
[ "Apache-2.0" ]
null
null
null
mix.exs
Adzz/money
c611d53018f5fcba7a4e85569caf8b41f57d79dd
[ "Apache-2.0" ]
null
null
null
defmodule Money.Mixfile do use Mix.Project @version "5.6.0" def project do [ app: :ex_money, version: @version, elixir: "~> 1.6", name: "Money", source_url: "https://github.com/kipcole9/money", docs: docs(), build_embedded: Mix.env() == :prod, start_permanent:...
26.714286
89
0.554724
ffb1f09f7c9435a305890c49d3c21c6a9c5264f6
3,057
ex
Elixir
lib/workers/send_mention_notification.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
lib/workers/send_mention_notification.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
lib/workers/send_mention_notification.ex
hakerspeak/hakerspeak.com
efd9e75f4854fdd19fc1873300deae0b160fb629
[ "MIT" ]
null
null
null
defmodule ChatApi.Workers.SendMentionNotification do @moduledoc false use Oban.Worker, queue: :mailers import Ecto.Query, warn: false require Logger alias ChatApi.{Accounts, Users} alias ChatApi.Messages alias ChatApi.Messages.Message alias ChatApi.Users.User @impl Oban.Worker @spec perform(Oba...
28.570093
92
0.645731
ffb1fb20a657ef12de060b0aaa2be63337f7e70f
1,596
ex
Elixir
13-phoenix/hello/lib/hello_web/endpoint.ex
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
null
null
null
13-phoenix/hello/lib/hello_web/endpoint.ex
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
null
null
null
13-phoenix/hello/lib/hello_web/endpoint.ex
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
1
2020-11-17T07:06:17.000Z
2020-11-17T07:06:17.000Z
defmodule HelloWeb.Endpoint do use Phoenix.Endpoint, otp_app: :hello # 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: "_hello_key", ...
29.018182
97
0.716165
ffb2051bbb2b19e330a84a6dda9198564f964bad
868
exs
Elixir
test/ref_inspector/database/init_test.exs
elixir-inspector/ref_inspector
f34485a8e32f0aaea2e3951fbb756eac14a9f8dd
[ "Apache-2.0" ]
7
2018-12-22T14:41:26.000Z
2020-05-04T08:16:11.000Z
test/ref_inspector/database/init_test.exs
elixir-inspector/ref_inspector
f34485a8e32f0aaea2e3951fbb756eac14a9f8dd
[ "Apache-2.0" ]
2
2019-11-25T09:41:27.000Z
2020-05-06T17:30:45.000Z
test/ref_inspector/database/init_test.exs
elixir-inspector/ref_inspector
f34485a8e32f0aaea2e3951fbb756eac14a9f8dd
[ "Apache-2.0" ]
null
null
null
defmodule RefInspector.Database.InitTest do use ExUnit.Case, async: false import ExUnit.CaptureLog alias RefInspector.Database setup do app_files = Application.get_env(:ref_inspector, :database_files) on_exit(fn -> Application.put_env(:ref_inspector, :database_files, app_files) end) end ...
23.459459
77
0.682028
ffb20d9c52037d56db3d8fb04ac5d1d49f906700
355
ex
Elixir
lib/employee_reward_app_web/workers/monthly_digest_worker.ex
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
lib/employee_reward_app_web/workers/monthly_digest_worker.ex
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
lib/employee_reward_app_web/workers/monthly_digest_worker.ex
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
defmodule EmployeeRewardAppWeb.Workers.MonthlyDigestWorker do use Oban.Worker, queue: :events, priority: 3, max_attempts: 3, tags: ["business"], unique: [period: 30] alias EmployeeRewardApp.Points alias EmployeeRewardApp.Points.Pool @impl Oban.Worker def perform(_job) do EmployeeRewardApp.Poin...
19.722222
61
0.735211
ffb228f7b201990f937700a41e21faa466f0d613
855
exs
Elixir
test/telemetry_async/shard_test.exs
pushex-project/telemetry_async
9fcfad89e02290175b9fae04d1971207805f11ac
[ "MIT" ]
null
null
null
test/telemetry_async/shard_test.exs
pushex-project/telemetry_async
9fcfad89e02290175b9fae04d1971207805f11ac
[ "MIT" ]
1
2019-05-02T19:42:00.000Z
2019-05-04T03:27:09.000Z
test/telemetry_async/shard_test.exs
pushex-project/telemetry_async
9fcfad89e02290175b9fae04d1971207805f11ac
[ "MIT" ]
null
null
null
defmodule TelemetryAsync.ShardTest do use ExUnit.Case, async: false require Logger import ExUnit.CaptureLog alias TelemetryAsync.Shard test "a Shard can be started", %{test: test} do assert {:ok, pid} = Shard.start_link(name: test) assert is_pid(pid) end test "a function can be executed in the ...
28.5
66
0.650292
ffb23b259620cd82b343ef4b07988cc419ae921a
245
ex
Elixir
examples/bank/lib/bank/bank_account_state.ex
OleMchls/incident
220e46598719fc50d10c96e5a848080172bf6f9b
[ "MIT" ]
null
null
null
examples/bank/lib/bank/bank_account_state.ex
OleMchls/incident
220e46598719fc50d10c96e5a848080172bf6f9b
[ "MIT" ]
null
null
null
examples/bank/lib/bank/bank_account_state.ex
OleMchls/incident
220e46598719fc50d10c96e5a848080172bf6f9b
[ "MIT" ]
null
null
null
defmodule Bank.BankAccountState do use Incident.AggregateState, aggregate: Bank.BankAccount, initial_state: %{ aggregate_id: nil, account_number: nil, balance: nil, version: nil, updated_at: nil } end
20.416667
34
0.657143
ffb242655d944efb80c4d1dab45dddcd3e6e4958
685
ex
Elixir
lib/tmi/supervisor.ex
ryanwinchester/tmi.ex
e7a96e89ade2ae08429a2079f027517a86eaa9f5
[ "Apache-2.0" ]
11
2020-07-29T09:33:21.000Z
2022-02-22T08:41:52.000Z
lib/tmi/supervisor.ex
ryanwinchester/tmi.ex
e7a96e89ade2ae08429a2079f027517a86eaa9f5
[ "Apache-2.0" ]
8
2020-07-30T03:40:21.000Z
2022-03-25T21:51:08.000Z
lib/tmi/supervisor.ex
ryanwinchester/tmi.ex
e7a96e89ade2ae08429a2079f027517a86eaa9f5
[ "Apache-2.0" ]
4
2020-11-10T23:04:28.000Z
2022-02-24T18:12:38.000Z
defmodule TMI.Supervisor do @moduledoc """ TMI is a library for connecting to Twitch chat with Elixir. See the [README](https://hexdocs.pm/tmi/readme.html) for more details. """ use Supervisor def start_link(config) do Supervisor.start_link(__MODULE__, config, name: __MODULE__) end @impl true d...
24.464286
72
0.687591
ffb258ca1b629911896962216e269c2b302c94e0
61
ex
Elixir
lib/apiv4/repo.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
lib/apiv4/repo.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
lib/apiv4/repo.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
null
null
null
defmodule Apiv4.Repo do use Ecto.Repo, otp_app: :apiv4 end
15.25
32
0.754098
ffb270d64212dadb60bf9b0298d1f90c16f3f4a3
5,422
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/billing_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/billing_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/billing_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.692913
187
0.656953
ffb273dfa64b4040f558abe2120c75be815be1d7
11,233
ex
Elixir
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/cloud_function.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/cloud_function.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/model/cloud_function.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "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...
80.235714
763
0.713345
ffb28824529141b47e393a0ac4d6f96bb8f37321
1,787
ex
Elixir
lib/stackexchange_crawler_web.ex
chittolina/stackexchange_crawler
e0ab27eb718bbf62b50ff3b76abefe947ec3fea8
[ "MIT" ]
null
null
null
lib/stackexchange_crawler_web.ex
chittolina/stackexchange_crawler
e0ab27eb718bbf62b50ff3b76abefe947ec3fea8
[ "MIT" ]
1
2022-02-10T19:50:54.000Z
2022-02-10T19:50:54.000Z
lib/stackexchange_crawler_web.ex
chittolina/stackexchange_crawler
e0ab27eb718bbf62b50ff3b76abefe947ec3fea8
[ "MIT" ]
null
null
null
defmodule StackexchangeCrawlerWeb 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 StackexchangeCrawlerWeb, :controller use StackexchangeCrawlerWeb, :view The definitions below will be ...
25.528571
83
0.716284
ffb29fb6187ef77d37582e161af9d61fa5a4254e
6,037
ex
Elixir
lib/ratchet_wrench/model.ex
hirocaster/ratchet_wrench
67b056cf25b9f3001dd87e167db68fd5d911089e
[ "MIT" ]
8
2020-05-29T03:22:02.000Z
2022-03-18T12:16:49.000Z
lib/ratchet_wrench/model.ex
hirocaster/ratchet_wrench
67b056cf25b9f3001dd87e167db68fd5d911089e
[ "MIT" ]
4
2020-07-06T08:11:18.000Z
2020-08-14T11:10:10.000Z
lib/ratchet_wrench/model.ex
hirocaster/ratchet_wrench
67b056cf25b9f3001dd87e167db68fd5d911089e
[ "MIT" ]
4
2020-05-26T02:47:00.000Z
2021-05-03T15:26:12.000Z
defmodule RatchetWrench.Model do @moduledoc """ Define struct module of record in database. ## Examples ```elixir defmodule Data do use RatchetWrench.Model schema do uuid :data_id pk: [:data_id] attributes data_id: {"STRING", nil}, string: {"STRING", ""}, ...
26.247826
89
0.654133
ffb2af4fb19dba73a0e62d2254fdc35427ef110e
872
ex
Elixir
lib/ecto/storage.ex
yrashk/ecto
1462d5ad4cbb7bf74c292ec405852bc196808daf
[ "Apache-2.0" ]
1
2016-08-15T21:23:28.000Z
2016-08-15T21:23:28.000Z
lib/ecto/storage.ex
yrashk/ecto
1462d5ad4cbb7bf74c292ec405852bc196808daf
[ "Apache-2.0" ]
null
null
null
lib/ecto/storage.ex
yrashk/ecto
1462d5ad4cbb7bf74c292ec405852bc196808daf
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Storage do @moduledoc """ Convenience functions around the data store of a repository. """ @doc """ Create the storage in the data store and return `:ok` if it was created successfully. Returns `{:error, :already_up}` if the storage has already been created or `{:error, term}` in case a...
29.066667
78
0.673165
ffb2b6448f890c18a76e7c3393797441a10e14f5
778
ex
Elixir
lib/fawkes/handlers/help.ex
QuinnWilton/fawkes
c6d445d46b8d7bc6e0f44e9366bee8ce0441305c
[ "MIT" ]
40
2020-02-24T16:21:56.000Z
2021-12-08T23:25:41.000Z
lib/fawkes/handlers/help.ex
QuinnWilton/fawkes
c6d445d46b8d7bc6e0f44e9366bee8ce0441305c
[ "MIT" ]
50
2020-03-27T02:18:17.000Z
2022-03-23T10:38:35.000Z
lib/fawkes/handlers/help.ex
QuinnWilton/fawkes
c6d445d46b8d7bc6e0f44e9366bee8ce0441305c
[ "MIT" ]
4
2020-07-26T21:31:26.000Z
2020-11-05T14:22:24.000Z
defmodule Fawkes.Handlers.Help do @moduledoc """ A handler for surfacing help messages about your bots handlers. This handler is added automatically to your bot and you do not need to add it yourself. This documentation is only here for posterity. """ use Fawkes.Listener def init(bot, handlers) do me...
25.096774
78
0.613111
ffb2f05102b412f31eb9a46b29365e6578e07e4d
1,126
ex
Elixir
deps/makeup/lib/makeup/styles/html/pygments/borland.ex
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
null
null
null
deps/makeup/lib/makeup/styles/html/pygments/borland.ex
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
null
null
null
deps/makeup/lib/makeup/styles/html/pygments/borland.ex
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
null
null
null
defmodule Makeup.Styles.HTML.BorlandStyle do @moduledoc false @styles %{ :error => "bg:#e3d2d2 #a61717", :keyword => "bold #000080", :name_attribute => "#FF0000", :name_tag => "bold #000080", :string => "#0000FF", :string_char => "#800080", :number => "#0000FF", :operat...
26.809524
47
0.587922
ffb30d8b8ef3896a92f4353b620c2b6ca1f3a093
3,477
exs
Elixir
test/unit/confex/type_test.exs
circles-learning-labs/confex
525ad3144293a0b7d287b39013fcaf5b65bfdffa
[ "MIT" ]
299
2016-09-08T19:15:02.000Z
2022-03-16T07:19:56.000Z
test/unit/confex/type_test.exs
circles-learning-labs/confex
525ad3144293a0b7d287b39013fcaf5b65bfdffa
[ "MIT" ]
54
2016-09-13T20:55:30.000Z
2021-04-01T14:31:42.000Z
test/unit/confex/type_test.exs
circles-learning-labs/confex
525ad3144293a0b7d287b39013fcaf5b65bfdffa
[ "MIT" ]
37
2016-11-02T12:26:21.000Z
2021-07-15T21:55:42.000Z
defmodule Confex.TypeTest do use ExUnit.Case, async: true alias Confex.Type doctest Confex.Type test "cast nil" do for type <- [:string, :integer, :float, :boolean, :atom, :module, :list, {M, :f, []}] do assert Type.cast(nil, type) == {:ok, nil} end end test "cast string" do assert Type....
36.989362
112
0.577509
ffb31c8cf588a8928154b2811b82365437ea987b
646
ex
Elixir
lib/towwwer/websites/report.ex
juhalehtonen/towwwer
552fe57e93adc9c521a4c6a8ef550b84efec32ca
[ "MIT" ]
1
2019-05-03T13:39:40.000Z
2019-05-03T13:39:40.000Z
lib/towwwer/websites/report.ex
juhalehtonen/towwwer
552fe57e93adc9c521a4c6a8ef550b84efec32ca
[ "MIT" ]
13
2019-03-27T05:40:41.000Z
2019-05-24T10:43:31.000Z
lib/towwwer/websites/report.ex
juhalehtonen/towwwer
552fe57e93adc9c521a4c6a8ef550b84efec32ca
[ "MIT" ]
null
null
null
defmodule Towwwer.Websites.Report do @moduledoc false use Ecto.Schema import Ecto.Changeset alias Towwwer.Websites.Monitor schema "reports" do field(:data, :map) field(:mobile_data, :map) field(:wpscan_data, :map) belongs_to(:monitor, Monitor) timestamps() end @doc false def chang...
22.275862
56
0.673375
ffb326ed600564c413febd15057bb19e504e4ed2
871
exs
Elixir
kousa/test/beef/scheduled_room_test.exs
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/test/beef/scheduled_room_test.exs
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/test/beef/scheduled_room_test.exs
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule Kousa.Beef.ScheduledRoomsTest do # allow tests to run in parallel use ExUnit.Case, async: true use KousaTest.Support.EctoSandbox alias KousaTest.Support.Factory alias Beef.Repo alias Beef.Schemas.User alias Beef.Schemas.ScheduledRoom alias Beef.ScheduledRooms defp create_user(_) do {:o...
24.194444
92
0.667049
ffb336a66c46bb1ea8cc2218f5c1b28ea6cff544
1,701
ex
Elixir
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/cert_http_challenge.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/cert_http_challenge.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/cert_http_challenge.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.711538
126
0.728983
ffb349781ee3568e61b03b48a04213b968b152fb
166
exs
Elixir
test/controllers/page_controller_test.exs
marcaddeo/marc.cx
2c858e640c2e19608495be8bf96e0a89b5e58ac7
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
marcaddeo/marc.cx
2c858e640c2e19608495be8bf96e0a89b5e58ac7
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
marcaddeo/marc.cx
2c858e640c2e19608495be8bf96e0a89b5e58ac7
[ "MIT" ]
null
null
null
defmodule MarcCx.PageControllerTest do use MarcCx.ConnCase test "GET /" do conn = get conn(), "/" assert html_response(conn, 200) =~ "marc.cx" end end
18.444444
48
0.662651
ffb367d7c2d139054e5485672945604eb28cc1f5
1,808
exs
Elixir
test/subscription_handler_test.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
test/subscription_handler_test.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
test/subscription_handler_test.exs
robktek/poxa
1c330789735f9bc1e91c3dfa7a10edb3aff50aab
[ "MIT" ]
null
null
null
defmodule Poxa.SubscriptionHandlerTest do use ExUnit.Case, async: true alias Poxa.Event alias Poxa.Channel use Mimic import Poxa.SubscriptionHandler setup do stub(Event) :ok end test "disconnected" do expect(Channel, :occupied?, fn "channel_1" -> false end) expect(Channel, :occupied?, ...
38.468085
124
0.683075
ffb3adf3737d3ee95ecc2258c9186cf999070011
5,729
ex
Elixir
apps/ex_wire/lib/ex_wire/packet/capability/par/block_bodies.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/ex_wire/lib/ex_wire/packet/capability/par/block_bodies.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/ex_wire/lib/ex_wire/packet/capability/par/block_bodies.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 ExWire.Packet.Capability.Par.BlockBodies do @moduledoc """ Par Wire Packet for getting block bodies from a peer. ``` **BlockBodies** [`+0x06`, [`transactions_0`, `uncles_0`] , ...] Reply to `GetBlockBodies`. The items in the list (following the message ID) are some of the blocks, minus the heade...
44.757813
517
0.498342
ffb3de4dcbed7946458d7c8930e3bce1d46de390
4,977
ex
Elixir
clients/vm_migration/lib/google_api/vm_migration/v1/model/compute_engine_target_defaults.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vm_migration/lib/google_api/vm_migration/v1/model/compute_engine_target_defaults.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vm_migration/lib/google_api/vm_migration/v1/model/compute_engine_target_defaults.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
52.389474
186
0.681133
ffb3ebe2b3d1acdc42314e24f387a504d43507fb
849
ex
Elixir
lib/chess_app/application.ex
leobessa/exchess
289819d183f3001dddf56810c36298fa669c3a06
[ "MIT" ]
3
2017-06-02T20:47:07.000Z
2018-05-25T11:17:12.000Z
lib/chess_app/application.ex
leobessa/exchess
289819d183f3001dddf56810c36298fa669c3a06
[ "MIT" ]
null
null
null
lib/chess_app/application.ex
leobessa/exchess
289819d183f3001dddf56810c36298fa669c3a06
[ "MIT" ]
null
null
null
defmodule ChessApp.Application 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 # Define workers and child supervisors to be supervised children = [ # Start the Ect...
33.96
86
0.709069
ffb443bc753a3eaf422f671638fcd21d1846c3c1
571
ex
Elixir
apps/ewallet_db/lib/ewallet_db/user_query.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_db/lib/ewallet_db/user_query.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/lib/ewallet_db/user_query.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWalletDB.UserQuery do @moduledoc """ Helper functions to manipulate a `EWalletDB.User`'s query. """ import Ecto.Query alias EWalletDB.{Membership, User} @doc """ Scopes the given user query to users with one or more membership only. If a `queryable` is not given, it automatically creates a n...
30.052632
75
0.688266
ffb459caae6d26e7e9fc415577b341ce25478cd0
1,595
ex
Elixir
lib/phoenix_elixir_hello_world_web/views/error_helpers.ex
gleidsonduarte/phoenix-elixir-hello-world
b89f7682ac63df8fb8235b2f426b8a82e4cec826
[ "MIT" ]
null
null
null
lib/phoenix_elixir_hello_world_web/views/error_helpers.ex
gleidsonduarte/phoenix-elixir-hello-world
b89f7682ac63df8fb8235b2f426b8a82e4cec826
[ "MIT" ]
null
null
null
lib/phoenix_elixir_hello_world_web/views/error_helpers.ex
gleidsonduarte/phoenix-elixir-hello-world
b89f7682ac63df8fb8235b2f426b8a82e4cec826
[ "MIT" ]
null
null
null
defmodule PhoenixElixirHelloWorldWeb.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 -> ...
33.229167
92
0.675235
ffb4809466eded4adf852ae4f3a8316f0a946859
4,528
ex
Elixir
lib/components/menu_bar/menu_float_button.ex
axelson/scenic-widget-contrib
951dc6f677d57f297739c03ce5aeab6f506d48d9
[ "Apache-2.0" ]
null
null
null
lib/components/menu_bar/menu_float_button.ex
axelson/scenic-widget-contrib
951dc6f677d57f297739c03ce5aeab6f506d48d9
[ "Apache-2.0" ]
null
null
null
lib/components/menu_bar/menu_float_button.ex
axelson/scenic-widget-contrib
951dc6f677d57f297739c03ce5aeab6f506d48d9
[ "Apache-2.0" ]
null
null
null
defmodule ScenicWidgets.MenuBar.FloatButton do # use Scenic.Component # require Logger # @moduledoc """ # This module is really not that different from a normal Scenic Button, # just customized a little bit. # """ # def validate(%{label: _l, menu_index: _n, frame: _f, margin: _m, font: _fs...
37.733333
119
0.558746
ffb483e327ba5accc9aa48e456ee5b38f5c0933c
1,051
exs
Elixir
test/cog/chat/slack/templates/common/self_registration_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/cog/chat/slack/templates/common/self_registration_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/cog/chat/slack/templates/common/self_registration_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Chat.Slack.Templates.Common.SelfRegistrationTest do use Cog.TemplateCase test "self_registration_success renders properly" do data = %{"mention_name" => "@cog", "first_name" => "Cog", "username" => "cog"} expected = """ @cog: Hello Cog! It's great to meet you! Yo...
38.925926
162
0.686013
ffb495f9d3e1d803cc53a8e3723d3bb3235755c6
1,610
ex
Elixir
recallr/lib/recallr_web/endpoint.ex
myfoundea/liveview_march_2021
8aef6225271bbc8e9985746505d74dc850f295fb
[ "MIT" ]
null
null
null
recallr/lib/recallr_web/endpoint.ex
myfoundea/liveview_march_2021
8aef6225271bbc8e9985746505d74dc850f295fb
[ "MIT" ]
1
2021-03-24T14:49:29.000Z
2021-03-24T14:49:29.000Z
recallr/lib/recallr_web/endpoint.ex
myfoundea/liveview_march_2021
8aef6225271bbc8e9985746505d74dc850f295fb
[ "MIT" ]
5
2021-03-21T19:45:38.000Z
2021-03-24T14:53:07.000Z
defmodule RecallrWeb.Endpoint do use Phoenix.Endpoint, otp_app: :recallr # 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: "_recallr_k...
29.272727
97
0.718634
ffb4ac988248496c0e01c5979cd716f2f0ce3aaf
5,532
ex
Elixir
lib/mono_repo/build.ex
alexander-uljev/mono_repo
577d989a0ada0fa5262e736e3f455b9cc843f247
[ "MIT" ]
1
2020-05-05T22:28:46.000Z
2020-05-05T22:28:46.000Z
lib/mono_repo/build.ex
alexander-uljev/mono_repo
577d989a0ada0fa5262e736e3f455b9cc843f247
[ "MIT" ]
null
null
null
lib/mono_repo/build.ex
alexander-uljev/mono_repo
577d989a0ada0fa5262e736e3f455b9cc843f247
[ "MIT" ]
null
null
null
defmodule MonoRepo.Build do @moduledoc """ This module holds a set of search path functions for convinient building of paths to parent applications. These functions take a parent application's name as argument and return a string of unexpanded path to parent application relative to caller's directory . For...
28.081218
85
0.667932
ffb4fc5670607097b718abc54db9a0c6aaff23e1
1,752
ex
Elixir
integration_test/phoenix_example_app/lib/phoenix_example_app_web.ex
elitau/tix
2aa5fe4d91e7962ebcdc9b668aacf65e09ff9bb8
[ "MIT" ]
1
2021-08-16T18:52:45.000Z
2021-08-16T18:52:45.000Z
integration_test/phoenix_example_app/lib/phoenix_example_app_web.ex
elitau/tix
2aa5fe4d91e7962ebcdc9b668aacf65e09ff9bb8
[ "MIT" ]
16
2021-03-09T19:39:31.000Z
2022-03-15T15:20:24.000Z
integration_test/phoenix_example_app/lib/phoenix_example_app_web.ex
elitau/tix
2aa5fe4d91e7962ebcdc9b668aacf65e09ff9bb8
[ "MIT" ]
null
null
null
defmodule PhoenixExampleAppWeb 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 PhoenixExampleAppWeb, :controller use PhoenixExampleAppWeb, :view The definitions below will be executed ...
25.028571
83
0.710616
ffb5157b87788f460b718564bf90e76467d9afd7
1,482
ex
Elixir
lib/badges_web/live/test_live/form_component.ex
TomGrozev/SAD-Badges
a94331433ea21a0d719216ac8473e706166d6004
[ "MIT" ]
null
null
null
lib/badges_web/live/test_live/form_component.ex
TomGrozev/SAD-Badges
a94331433ea21a0d719216ac8473e706166d6004
[ "MIT" ]
null
null
null
lib/badges_web/live/test_live/form_component.ex
TomGrozev/SAD-Badges
a94331433ea21a0d719216ac8473e706166d6004
[ "MIT" ]
null
null
null
defmodule BadgesWeb.TestLive.FormComponent do use BadgesWeb, :live_component alias Badges.Tests @impl true def update(%{test: test} = assigns, socket) do changeset = Tests.change_test(test) {:ok, socket |> assign(assigns) |> assign(:changeset, changeset)} end @impl true def hand...
26.464286
67
0.634278
ffb51f779aeb3dfdd764deb3f9d7c41dfa0b5bab
1,335
exs
Elixir
test/redex/command/subscribe_test.exs
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
173
2019-03-15T15:05:11.000Z
2022-01-10T08:21:48.000Z
test/redex/command/subscribe_test.exs
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
null
null
null
test/redex/command/subscribe_test.exs
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
9
2019-07-28T01:20:43.000Z
2021-08-18T03:41:44.000Z
defmodule Redex.Command.SubscribeTest do use ExUnit.Case, async: true use ExUnitProperties import Mox import Redex.DataGenerators import Redex.Command.SUBSCRIBE setup :verify_on_exit! property "SUBSCRIBE to some channels" do check all state <- state(channels: true), channels <- list_o...
25.673077
86
0.561049
ffb52dedf7440e43199f08d43a1d02cefa1522a9
6,655
ex
Elixir
lib/mix/lib/mix/tasks/compile.protocols.ex
hurrycaner/elixir
c54daf97764c222a3ade6c84ac89bacb68abb0fb
[ "Apache-2.0" ]
243
2020-02-03T03:48:51.000Z
2021-11-08T12:56:25.000Z
lib/mix/lib/mix/tasks/compile.protocols.ex
hurrycaner/elixir
c54daf97764c222a3ade6c84ac89bacb68abb0fb
[ "Apache-2.0" ]
6
2021-03-19T12:33:21.000Z
2021-04-02T17:52:45.000Z
lib/mix/lib/mix/tasks/compile.protocols.ex
hurrycaner/elixir
c54daf97764c222a3ade6c84ac89bacb68abb0fb
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Compile.Protocols do use Mix.Task.Compiler @manifest "compile.protocols" @manifest_vsn 1 @moduledoc ~S""" Consolidates all protocols in all paths. This task is automatically invoked unless the project disables the `:consolidate_protocols` option in their configuration. ## Conso...
28.440171
96
0.669572
ffb53e8d0be68fe0f92783115e3c07b756d44247
961
exs
Elixir
auditor/test/poll_test.exs
zeroasterisk/faas-cold-start-auditor
eef6c50d4f1d33dfad81bc9c8e571f7d827a4223
[ "MIT" ]
1
2018-07-31T05:43:23.000Z
2018-07-31T05:43:23.000Z
auditor/test/poll_test.exs
zeroasterisk/faas-cold-start-auditor
eef6c50d4f1d33dfad81bc9c8e571f7d827a4223
[ "MIT" ]
null
null
null
auditor/test/poll_test.exs
zeroasterisk/faas-cold-start-auditor
eef6c50d4f1d33dfad81bc9c8e571f7d827a4223
[ "MIT" ]
null
null
null
defmodule PollTest do use ExUnit.Case doctest Poll test "requests 10 total, 1 concurrant @ google" do res = Poll.requests(10, 1, "https://www.google.com/") # [262.364, 259.223, 262.516, 255.973, 256.028, 262.277, 259.421, 251.385, 259.483, 251.451] assert res |> Enum.count() == 10 assert is_float...
36.961538
96
0.633715
ffb55df925af64af97b923b9397b7fbe7a22ccc1
991
exs
Elixir
test/gen_magic/pool/poolboy_test.exs
kianmeng/gen_magic
db6888a90f5b1fa065abe8b45d8fbac0bde8e3c0
[ "Apache-2.0" ]
7
2020-05-13T22:47:32.000Z
2022-01-09T00:44:08.000Z
test/gen_magic/pool/poolboy_test.exs
kianmeng/gen_magic
db6888a90f5b1fa065abe8b45d8fbac0bde8e3c0
[ "Apache-2.0" ]
13
2020-05-04T14:06:48.000Z
2022-01-05T12:41:04.000Z
test/gen_magic/pool/poolboy_test.exs
kianmeng/gen_magic
db6888a90f5b1fa065abe8b45d8fbac0bde8e3c0
[ "Apache-2.0" ]
4
2020-04-28T16:58:50.000Z
2021-07-24T21:36:32.000Z
defmodule GenMagic.Pool.PoolboyTest do use GenMagic.MagicCase alias GenMagic.Pool.Poolboy, as: Pool describe "Poolboy" do test "can be addressed by name if started by name" do {:ok, _} = Pool.start_link(pool_name: TestPool) assert_file(TestPool) end test "can not be started without pool_...
24.775
83
0.606458
ffb59b330b756918ad886d982c070f5e32c3ce2a
937
ex
Elixir
test/support/channel_case.ex
orneryhippo/phlearn
7ef72120c8d4719ef90809f16907b5e98d6c54b1
[ "MIT" ]
null
null
null
test/support/channel_case.ex
orneryhippo/phlearn
7ef72120c8d4719ef90809f16907b5e98d6c54b1
[ "MIT" ]
null
null
null
test/support/channel_case.ex
orneryhippo/phlearn
7ef72120c8d4719ef90809f16907b5e98d6c54b1
[ "MIT" ]
null
null
null
defmodule PhlearnWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interacts wi...
24.657895
69
0.716115
ffb5b732eed3a825a991362baab99a0d937871d1
1,093
ex
Elixir
lib/cessao_recebiveis.ex
rhnonose/receptible_calculator
33667106384a739b822f5b95c093ba08c182fe1f
[ "MIT" ]
null
null
null
lib/cessao_recebiveis.ex
rhnonose/receptible_calculator
33667106384a739b822f5b95c093ba08c182fe1f
[ "MIT" ]
null
null
null
lib/cessao_recebiveis.ex
rhnonose/receptible_calculator
33667106384a739b822f5b95c093ba08c182fe1f
[ "MIT" ]
null
null
null
defmodule CessaoRecebiveis do @moduledoc false def generate_random do Enum.map(1..1000, fn _ -> {Enum.random(50..700), Enum.random(1..12)} end) ++ Enum.map(1..8000, fn _ -> {Enum.random(701..2000), Enum.random(1..12)} end) ++ Enum.map(1..1000, fn _ -> {Enum.random(2001..10_000), Enum.random(1..12)} end...
24.840909
85
0.548033
ffb5e942fd0ef26b308d5a1fb7364ee985682476
1,191
ex
Elixir
lib/bookish/endpoint.ex
beccanelson/8th-light-library
d0aa70371ca7645abf8609b53202ebb1808ca633
[ "MIT" ]
null
null
null
lib/bookish/endpoint.ex
beccanelson/8th-light-library
d0aa70371ca7645abf8609b53202ebb1808ca633
[ "MIT" ]
9
2016-09-22T20:30:22.000Z
2016-09-22T21:00:53.000Z
lib/bookish/endpoint.ex
beccanelson/library
d0aa70371ca7645abf8609b53202ebb1808ca633
[ "MIT" ]
null
null
null
defmodule Bookish.Endpoint do use Phoenix.Endpoint, otp_app: :bookish socket "/socket", Bookish.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. plug Plug.Static, ...
27.697674
69
0.714526
ffb5ea155b788e298ade1902da5a4cb48f6a7683
3,199
ex
Elixir
clients/domains/lib/google_api/domains/v1beta1/model/transfer_domain_request.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/domains/lib/google_api/domains/v1beta1/model/transfer_domain_request.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/domains/lib/google_api/domains/v1beta1/model/transfer_domain_request.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "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...
54.220339
465
0.747734
ffb5ed7b7cbf406cfb9d65b6c903d023667a96d1
4,319
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/binding.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/binding.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/binding.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...
81.490566
1,972
0.755499
ffb635c61cab6e7bcebbb76693f443fffc95345c
2,401
exs
Elixir
test/exdns/storage/ets_storage_test.exs
jeanparpaillon/exdns
53b7fc780399eda96d42052e11e03d5eb0dcd789
[ "MIT" ]
16
2016-05-26T10:11:57.000Z
2021-01-08T15:09:19.000Z
test/exdns/storage/ets_storage_test.exs
jeanparpaillon/exdns
53b7fc780399eda96d42052e11e03d5eb0dcd789
[ "MIT" ]
9
2016-08-11T00:48:27.000Z
2020-09-16T22:10:07.000Z
test/exdns/storage/ets_storage_test.exs
jeanparpaillon/exdns
53b7fc780399eda96d42052e11e03d5eb0dcd789
[ "MIT" ]
11
2016-08-10T08:13:36.000Z
2021-04-03T10:20:11.000Z
defmodule Exdns.Storage.EtsStorageTest do use ExUnit.Case, async: false test "create" do assert Exdns.Storage.EtsStorage.create(:test) == :ok end test "create lookup table" do assert Exdns.Storage.EtsStorage.create(:lookup_table) == :ok end test "create schema is not implemented" do assert Ex...
33.816901
106
0.683882
ffb65fbd57c72a1a269271e8324454ca51456a56
2,992
ex
Elixir
lib/day7.ex
erljef/adventofcode-2017
ce601ee8b812a0255178a4074f05a577c9288a8f
[ "WTFPL" ]
null
null
null
lib/day7.ex
erljef/adventofcode-2017
ce601ee8b812a0255178a4074f05a577c9288a8f
[ "WTFPL" ]
null
null
null
lib/day7.ex
erljef/adventofcode-2017
ce601ee8b812a0255178a4074f05a577c9288a8f
[ "WTFPL" ]
null
null
null
defmodule Day7 do def read_file(path) do File.stream!(path) |> parse_input end def parse_input(input) do input |> Stream.map(&String.split/1) |> Stream.filter(fn x -> !Enum.empty? x end) |> Enum.to_list |> Enum.map(&row/1) |> Map.new(fn item -> {item[:name], item} end) end de...
32.879121
125
0.611965
ffb674802029c171f869772edef48a69f3d4ddfb
1,157
exs
Elixir
mix.exs
adigitalmonk/rinku
57475c99cb66b527a2f52c73ee8d5af7e136a682
[ "MIT" ]
null
null
null
mix.exs
adigitalmonk/rinku
57475c99cb66b527a2f52c73ee8d5af7e136a682
[ "MIT" ]
null
null
null
mix.exs
adigitalmonk/rinku
57475c99cb66b527a2f52c73ee8d5af7e136a682
[ "MIT" ]
null
null
null
defmodule Rinku.MixProject do @moduledoc false use Mix.Project @version "0.0.1" def project do [ app: :rinku, version: @version, elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), source_url: "https://github.com/adigitalmonk/rinku", homepage_url...
22.686275
59
0.559205
ffb67a919cb04af07992231cee02216c9bc182fd
3,643
exs
Elixir
test/kelvin/in_order_subscription_test.exs
NFIBrokerage/kelvin
2c30111d2b2f1f8b8082d99b78ff2c465acb2ea8
[ "Apache-2.0" ]
null
null
null
test/kelvin/in_order_subscription_test.exs
NFIBrokerage/kelvin
2c30111d2b2f1f8b8082d99b78ff2c465acb2ea8
[ "Apache-2.0" ]
2
2021-05-27T19:49:14.000Z
2021-08-12T14:31:09.000Z
test/kelvin/in_order_subscription_test.exs
NFIBrokerage/kelvin
2c30111d2b2f1f8b8082d99b78ff2c465acb2ea8
[ "Apache-2.0" ]
null
null
null
defmodule Kelvin.InOrderSubscriptionTest do use ExUnit.Case, async: true @moduletag :capture_log alias Extreme.Messages setup do stream_name = "Kelvin.Test-#{UUID.uuid4()}" producer_name = String.to_atom("Kelvin.InOrderProducer-#{UUID.uuid4()}") [stream_name: stream_name, producer_name: producer...
27.598485
77
0.629426
ffb6ab1fcfd0aab396738300679266e1cda341ba
138
exs
Elixir
test/fixtures/parser/disable_migration_lock_true.exs
maximemenager/strong_migrations
b7e091d2cfed73098d3bf683c7ce5c8ceee3159b
[ "MIT" ]
23
2021-10-29T19:58:35.000Z
2021-11-13T21:42:45.000Z
test/fixtures/parser/disable_migration_lock_true.exs
maximemenager/strong_migrations
b7e091d2cfed73098d3bf683c7ce5c8ceee3159b
[ "MIT" ]
1
2021-10-31T03:57:47.000Z
2021-10-31T14:33:45.000Z
test/fixtures/parser/disable_migration_lock_true.exs
surgeventures/strong_migrations
3c82e34a6e7a372c6de17ba7a0b07da7664baa26
[ "MIT" ]
3
2021-10-31T02:14:10.000Z
2021-11-09T08:07:22.000Z
defmodule DisableMigrationLockTrue do @moduledoc false use Ecto.Migration @disable_migration_lock true def change do end end
12.545455
37
0.782609
ffb6dda398346f37b462053b8a384cbbfaa4cd80
15,018
exs
Elixir
test/exq_test.exs
onpointvn/exq
ee4db22624fb8a00ddc01c35a135e24de31b5a66
[ "Apache-2.0" ]
null
null
null
test/exq_test.exs
onpointvn/exq
ee4db22624fb8a00ddc01c35a135e24de31b5a66
[ "Apache-2.0" ]
null
null
null
test/exq_test.exs
onpointvn/exq
ee4db22624fb8a00ddc01c35a135e24de31b5a66
[ "Apache-2.0" ]
null
null
null
defmodule ExqTest do use ExUnit.Case alias Exq.Redis.JobQueue alias Exq.Redis.JobStat alias Exq.Support.Node import ExqTestUtil defmodule PerformWorker do def perform do send(:exqtest, {:worked}) end end defmodule PerformArgWorker do def perform(arg) do send(:exqtest, {:worked,...
29.976048
92
0.647756
ffb6e10c19b60f8daefeafff148dc2c9b5a7abe8
2,045
exs
Elixir
config/prod.exs
gissandrogama/contracts_api
13bcd292637d0e2bc4d2a6c05f5b3266e8bf28e1
[ "MIT" ]
null
null
null
config/prod.exs
gissandrogama/contracts_api
13bcd292637d0e2bc4d2a6c05f5b3266e8bf28e1
[ "MIT" ]
2
2021-03-16T06:43:04.000Z
2021-03-16T06:54:55.000Z
config/prod.exs
gissandrogama/contracts_api
13bcd292637d0e2bc4d2a6c05f5b3266e8bf28e1
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
36.517857
66
0.719315
ffb6ebd096418b7fef26486a7ba0a4b6898182b2
1,980
exs
Elixir
config/config.exs
bglusman/elixir-companies
d6a728cf9136888367e261feb876c5d2a266ed57
[ "MIT" ]
null
null
null
config/config.exs
bglusman/elixir-companies
d6a728cf9136888367e261feb876c5d2a266ed57
[ "MIT" ]
null
null
null
config/config.exs
bglusman/elixir-companies
d6a728cf9136888367e261feb876c5d2a266ed57
[ "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 config :companies, ecto_repos: [Companies.Repo] ...
29.552239
96
0.769697
ffb70e41571e06479529de58df4c02a25378aa33
2,498
ex
Elixir
lib/logger_json/formatters/basic_logger.ex
coingaming/logger_json
05000f70e6964fdf37f3847a046639d3a8587598
[ "MIT" ]
null
null
null
lib/logger_json/formatters/basic_logger.ex
coingaming/logger_json
05000f70e6964fdf37f3847a046639d3a8587598
[ "MIT" ]
null
null
null
lib/logger_json/formatters/basic_logger.ex
coingaming/logger_json
05000f70e6964fdf37f3847a046639d3a8587598
[ "MIT" ]
1
2021-07-02T15:54:21.000Z
2021-07-02T15:54:21.000Z
defmodule LoggerJSON.Formatters.BasicLogger do @moduledoc """ Basic JSON log formatter with no vender specific formatting """ import Jason.Helpers, only: [json_map: 1] alias LoggerJSON.FormatterUtils @behaviour LoggerJSON.Formatter # @processed_metadata_keys ~w[pid file line function module applicatio...
22.709091
122
0.649319
ffb70e6d0140f5e73c177d5724c40fac81442e87
34,681
ex
Elixir
lib/ecto/adapters/postgres/connection.ex
mbuhot/ecto
e6c4c7df0af055ba4bae8737908b98ae85352d2f
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/postgres/connection.ex
mbuhot/ecto
e6c4c7df0af055ba4bae8737908b98ae85352d2f
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/postgres/connection.ex
mbuhot/ecto
e6c4c7df0af055ba4bae8737908b98ae85352d2f
[ "Apache-2.0" ]
null
null
null
if Code.ensure_loaded?(Postgrex) do Postgrex.Types.define(Ecto.Adapters.Postgres.TypeModule, Ecto.Adapters.Postgres.extensions(), json: Application.get_env(:ecto, :json_library, Poison)) defmodule Ecto.Adapters.Postgres.Connection do @moduledoc false @defaul...
37.012807
109
0.600213
ffb72a349c317c6a8d242ffef5382bdad5de11ed
1,403
exs
Elixir
test/straw_hat_map/cities_test.exs
straw-hat-team/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
4
2018-03-07T04:12:36.000Z
2018-03-08T16:13:14.000Z
test/straw_hat_map/cities_test.exs
straw-hat-labs/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
61
2018-03-07T04:50:42.000Z
2019-11-01T10:24:03.000Z
test/straw_hat_map/cities_test.exs
straw-hat-team/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
2
2018-03-22T19:44:45.000Z
2019-08-02T03:45:47.000Z
defmodule StrawHat.Map.CitiesTests do use StrawHat.Map.TestSupport.CaseTemplate, async: true alias StrawHat.Map.Cities describe "finding a city" do test "with a valid ID" do city = insert(:city) assert {:ok, _city} = Cities.find_city(Repo, city.id) end test "with an invalid ID" do ...
23.779661
67
0.647897
ffb7627656d9bb230db7d6291bbfb144ac943b34
1,976
ex
Elixir
lib/telluride_ui/messaging/pipeline_config_producer.ex
brsg/telluride_ui
f5f477ff2ed5aa9ef5baa2d6f4e4596ecee482fd
[ "Apache-2.0" ]
2
2021-03-05T13:24:49.000Z
2021-09-22T23:36:21.000Z
lib/telluride_ui/messaging/pipeline_config_producer.ex
brsg/telluride_ui
f5f477ff2ed5aa9ef5baa2d6f4e4596ecee482fd
[ "Apache-2.0" ]
null
null
null
lib/telluride_ui/messaging/pipeline_config_producer.ex
brsg/telluride_ui
f5f477ff2ed5aa9ef5baa2d6f4e4596ecee482fd
[ "Apache-2.0" ]
null
null
null
defmodule Telluride.Messaging.PipelineConfigProducer do use GenServer alias __MODULE__ alias Telluride.Messaging.AMQPConnectionManager alias Telluride.Messaging.PipelineConfigQueue ################################################################################ # Client interface #######################...
31.365079
82
0.515182
ffb77eaa83fe7554e4a63f93a95e77c7857c3947
539
ex
Elixir
lib/nudge_api/matches/meeting.ex
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
lib/nudge_api/matches/meeting.ex
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
lib/nudge_api/matches/meeting.ex
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
defmodule NudgeApi.Matches.Meeting do use Ecto.Schema import Ecto.Changeset schema "meetings" do field :finalized_at, :utc_datetime field :location, :map field :happens_at, :utc_datetime belongs_to :video_call, NudgeApi.Matches.VideoCall has_many :user_meetings, NudgeApi.Matches.UserMeeting ...
23.434783
75
0.721707
ffb77eedae87d60e47edb0614af295036cae9c03
3,549
exs
Elixir
queen-attack/queen_attack_test.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
queen-attack/queen_attack_test.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
queen-attack/queen_attack_test.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("queen_attack.exs", __DIR__) end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule QueenAttackTest do use ExUnit.Case # test "default positions" do # assert Queens.new_list([ # {1, {1, 2, 3}}, # {4, {2, 3, 4}}, ...
21.379518
58
0.573401