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
33f6309ecf72456c5d13681b02058aa2ffa0f520
4,837
ex
Elixir
clients/page_speed_online/lib/google_api/page_speed_online/v5/api/pagespeedapi.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/page_speed_online/lib/google_api/page_speed_online/v5/api/pagespeedapi.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/page_speed_online/lib/google_api/page_speed_online/v5/api/pagespeedapi.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.576577
196
0.64172
33f65a069d03af6c389fa93fb5dc6fbea14da8ae
753
ex
Elixir
lib/pathfinder/application.ex
joargp/pathfinder_ex
19a77d555419223909f07eaed5dcf8122e8bec1c
[ "MIT" ]
null
null
null
lib/pathfinder/application.ex
joargp/pathfinder_ex
19a77d555419223909f07eaed5dcf8122e8bec1c
[ "MIT" ]
null
null
null
lib/pathfinder/application.ex
joargp/pathfinder_ex
19a77d555419223909f07eaed5dcf8122e8bec1c
[ "MIT" ]
null
null
null
defmodule Pathfinder.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do import Supervisor.Spec # List all child processes to be supervised children = [ supervisor(NodeJS, [ ...
28.961538
69
0.681275
33f6ab1d755f3caef6a9c9643ac1528905db0908
3,895
ex
Elixir
lib/concentrate.ex
paulswartz/concentrate
a69aa51c16071f2669932005be810da198f622c8
[ "MIT" ]
19
2018-01-22T18:39:20.000Z
2022-02-22T16:15:30.000Z
lib/concentrate.ex
mbta/concentrate
bae6e05713ed079b7da53867a01dd007861fb656
[ "MIT" ]
216
2018-01-22T14:22:39.000Z
2022-03-31T10:30:31.000Z
lib/concentrate.ex
paulswartz/concentrate
a69aa51c16071f2669932005be810da198f622c8
[ "MIT" ]
5
2018-01-22T14:18:15.000Z
2021-04-26T18:34:19.000Z
defmodule Concentrate do @moduledoc """ Application entry point for Concentrate """ use Application def start(_type, _args) do "CONCENTRATE_JSON" |> System.get_env() |> parse_json_configuration |> Enum.each(&update_configuration/1) Concentrate.Supervisor.start_link() end def parse_j...
22.645349
81
0.580231
33f6ead46304b29d7490e81db9e84deb0e07d9a4
2,957
exs
Elixir
priv/repo/migrations/20181121231342_initial_schema.exs
alissonfpmorais/tucano
d22480fc416d14b44862be2ed89040d92b7c08d1
[ "MIT" ]
null
null
null
priv/repo/migrations/20181121231342_initial_schema.exs
alissonfpmorais/tucano
d22480fc416d14b44862be2ed89040d92b7c08d1
[ "MIT" ]
null
null
null
priv/repo/migrations/20181121231342_initial_schema.exs
alissonfpmorais/tucano
d22480fc416d14b44862be2ed89040d92b7c08d1
[ "MIT" ]
null
null
null
defmodule Tucano.Repo.Migrations.InitialSchema do use Ecto.Migration def change do create table(:funcionario) do add :nome, :string, null: false add :email, :string, null: false add :provedor, :string, null: false add :token, :string, null: false timestamps() end create ...
26.881818
94
0.634427
33f6ee8d4ae8ff729f2378a847221d2257ade32d
409
ex
Elixir
lib/new_relic/sampler/supervisor.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
227
2018-09-05T15:33:23.000Z
2022-02-25T18:12:06.000Z
lib/new_relic/sampler/supervisor.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
211
2018-09-05T21:42:41.000Z
2022-03-25T17:51:56.000Z
lib/new_relic/sampler/supervisor.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
84
2018-09-05T04:26:26.000Z
2022-03-09T14:28:14.000Z
defmodule NewRelic.Sampler.Supervisor do use Supervisor @moduledoc false def start_link(_) do Supervisor.start_link(__MODULE__, []) end def init(_) do children = [ NewRelic.Sampler.Agent, NewRelic.Sampler.Beam, NewRelic.Sampler.Process, NewRelic.Sampler.TopProcess, New...
18.590909
53
0.687042
33f6f8c9be70ba1df734e61752b69998e28ee52f
1,990
exs
Elixir
clients/my_business_business_information/mix.exs
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/my_business_business_information/mix.exs
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/my_business_business_information/mix.exs
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.701493
164
0.677889
33f73fde1082787be17f545af2f37a86720a3578
1,031
ex
Elixir
lib/ppc/plan/frequency.ex
somatoko/ppc
464379c3e56132519a7fc53717071c07d06aca85
[ "Apache-2.0" ]
null
null
null
lib/ppc/plan/frequency.ex
somatoko/ppc
464379c3e56132519a7fc53717071c07d06aca85
[ "Apache-2.0" ]
null
null
null
lib/ppc/plan/frequency.ex
somatoko/ppc
464379c3e56132519a7fc53717071c07d06aca85
[ "Apache-2.0" ]
null
null
null
defmodule Ppc.Plan.Frequency do defstruct [:interval_unit, :interval_count] @type interval_unit :: :day | :week | :month | :year @type t :: %__MODULE__{ interval_unit: interval_unit(), interval_count: integer } @doc """ Create a pricing tier for a plan. - interval_unit: unit ...
25.775
101
0.643065
33f75a76cd904438c9e9291c45555c45d8e4d6e0
2,295
ex
Elixir
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/attributes.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/attributes.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/attributes.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...
45
492
0.731155
33f7686846f2655fe7e9ae2acbf3825ce62d7a88
1,948
ex
Elixir
lib/dark_testing/assertions/ecto_query_assertions.ex
dark-elixir/dark_testing
1969ea2a08f6dbeaa0f3556da0338bae9bbb465b
[ "MIT" ]
null
null
null
lib/dark_testing/assertions/ecto_query_assertions.ex
dark-elixir/dark_testing
1969ea2a08f6dbeaa0f3556da0338bae9bbb465b
[ "MIT" ]
null
null
null
lib/dark_testing/assertions/ecto_query_assertions.ex
dark-elixir/dark_testing
1969ea2a08f6dbeaa0f3556da0338bae9bbb465b
[ "MIT" ]
null
null
null
defmodule DarkTesting.Assertions.EctoQueryAssertions do @moduledoc """ Assertion helpers for working with `Ecto.Query`. """ import ExUnit.Assertions alias DarkEcto.Reflections.EctoQueryReflection alias DarkEcto.SQLFormatter alias DarkTesting.Assertions.EctoQueryAssertions alias DarkTesting.FailureForm...
28.647059
87
0.684805
33f786ebc891e94b1604e7dca03f9cd8f4e19716
1,812
ex
Elixir
episode06/test/web/controllers/post_controller.ex
paulfioravanti/learn_phoenix
3767f28b09bb5e740231dd261a0bfa8b3eea98d3
[ "MIT" ]
null
null
null
episode06/test/web/controllers/post_controller.ex
paulfioravanti/learn_phoenix
3767f28b09bb5e740231dd261a0bfa8b3eea98d3
[ "MIT" ]
null
null
null
episode06/test/web/controllers/post_controller.ex
paulfioravanti/learn_phoenix
3767f28b09bb5e740231dd261a0bfa8b3eea98d3
[ "MIT" ]
null
null
null
defmodule Test.PostController do use Test.Web, :controller alias Test.Post plug :scrub_params, "post" when action in [:create, :update] def index(conn, _params) do posts = Repo.all(Post) render(conn, "index.html", posts: posts) end def new(conn, _params) do changeset = Post.changeset(%Post{}...
26.647059
67
0.610375
33f79fb964950f490528e0418b43231a1d3a2e82
4,260
exs
Elixir
test/prometheus_logger_test.exs
rubberduck203/ex_prometheus_logger
d99c4e2eadde9c94aa14501e05cf7888d05bec44
[ "MIT" ]
1
2018-11-08T12:15:05.000Z
2018-11-08T12:15:05.000Z
test/prometheus_logger_test.exs
rubberduck203/ex_prometheus_logger
d99c4e2eadde9c94aa14501e05cf7888d05bec44
[ "MIT" ]
null
null
null
test/prometheus_logger_test.exs
rubberduck203/ex_prometheus_logger
d99c4e2eadde9c94aa14501e05cf7888d05bec44
[ "MIT" ]
null
null
null
defmodule Logger.Backends.PrometheusTest do use ExUnit.Case require Prometheus.Metric.Counter alias Prometheus.Metric.Counter, as: Counter alias Logger.Backends.Prometheus, as: PLogger doctest Logger.Backends.Prometheus @timestamp {{2018, 11, 3}, {10, 29, 10, 124}} @hostname PLogger.hostname() setup ...
31.094891
104
0.617371
33f7ba936bfae67768af2efac9ac1d92ef27be3c
1,371
ex
Elixir
lib/days/day_10.ex
7hoenix/advent-of-code
99cd5094032b619ff1891b8ffac860854a4c0c6b
[ "MIT" ]
null
null
null
lib/days/day_10.ex
7hoenix/advent-of-code
99cd5094032b619ff1891b8ffac860854a4c0c6b
[ "MIT" ]
null
null
null
lib/days/day_10.ex
7hoenix/advent-of-code
99cd5094032b619ff1891b8ffac860854a4c0c6b
[ "MIT" ]
null
null
null
defmodule Prog do @moduledoc """ Documentation for `Prog`. """ @doc """ Day 10 """ def solve do {:ok, raw} = File.read("data/day_10") # raw = "28 # 33 # 18 # 42 # 31 # 14 # 46 # 20 # 48 # 47 # 24 # 23 # 49 # 45 # 19 # 38 # 39 # 11 # 1 # 32 # 25 # 35 # 8 # 17 # 7 # 9 # 4 # 2 # 34 # 10 # 3" fi...
19.869565
117
0.615609
33f7bc7c8ba7cedb7e918b08cf893546b4965bf4
323
ex
Elixir
core/lib/cronus_core/timer/interval_tag.ex
Parasrah/cronus
b630a7d62128b03c7cdf65f941af2a2c2bd617e5
[ "MIT" ]
null
null
null
core/lib/cronus_core/timer/interval_tag.ex
Parasrah/cronus
b630a7d62128b03c7cdf65f941af2a2c2bd617e5
[ "MIT" ]
null
null
null
core/lib/cronus_core/timer/interval_tag.ex
Parasrah/cronus
b630a7d62128b03c7cdf65f941af2a2c2bd617e5
[ "MIT" ]
null
null
null
defmodule CronusCore.Timer.IntervalTag do use Ecto.Schema import Ecto.Changeset schema "interval_tags" do field :interval_id, :id field :tag_id, :id timestamps() end @doc false def changeset(interval_tags, attrs) do interval_tags |> cast(attrs, []) |> validate_required([]) end e...
17
41
0.678019
33f7c68873c06ce580cdd48bb7da27a32e46dc27
169
ex
Elixir
lib/perspective/utilities/app_id/fetch_process_app_id.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
2
2020-04-24T19:43:06.000Z
2020-04-24T19:52:27.000Z
lib/perspective/utilities/app_id/fetch_process_app_id.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
lib/perspective/utilities/app_id/fetch_process_app_id.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
defmodule Perspective.FetchProcessAppId do def fetch() do Process.get(:app_id) |> case do nil -> nil result -> to_string(result) end end end
16.9
42
0.633136
33f7cc09f71447b8a0c1b05b762a46f94c440c46
1,872
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/metric_value_set.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/metric_value_set.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_control/lib/google_api/service_control/v1/model/metric_value_set.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...
37.44
160
0.740919
33f818b284ec304d3b31d8aeec833d9ebe0fd5bd
475
exs
Elixir
test/cog/chat/hipchat/templates/embedded/group_list_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/hipchat/templates/embedded/group_list_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/cog/chat/hipchat/templates/embedded/group_list_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Chat.HipChat.Templates.Embedded.GroupListTest do use Cog.TemplateCase test "group-list template" do data = %{"results" => [%{"name" => "testgroup1"}, %{"name" => "testgroup2"}, %{"name" => "testgroup3"}]} expected = """ testgroup1<br/>...
27.941176
79
0.564211
33f841105ef397f17cf66f5c9d3b92270189d511
1,111
exs
Elixir
ping/config/config.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
ping/config/config.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
ping/config/config.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.83871
73
0.749775
33f8444186ee572e4a76061b9efc9b3d15fc8f62
4,201
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/data_source.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/data_source.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/data_source.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...
61.779412
586
0.725542
33f84e59f14ad3f1196a945955a450d59aa055e0
803
exs
Elixir
test/advent_of_code_test.exs
mugimaru73/adventofcode2018
24ff5b2b8327b17b3242d3167bf7cc691199da86
[ "MIT" ]
1
2018-12-03T11:24:19.000Z
2018-12-03T11:24:19.000Z
test/advent_of_code_test.exs
mugimaru73/adventofcode2018
24ff5b2b8327b17b3242d3167bf7cc691199da86
[ "MIT" ]
null
null
null
test/advent_of_code_test.exs
mugimaru73/adventofcode2018
24ff5b2b8327b17b3242d3167bf7cc691199da86
[ "MIT" ]
null
null
null
defmodule AdventOfCodeTest do use ExUnit.Case doctest AdventOfCode doctest AdventOfCode.Utils, import: true doctest AdventOfCode.Day01 doctest AdventOfCode.Day02 doctest AdventOfCode.Day03 doctest AdventOfCode.Day04 doctest AdventOfCode.Day05 doctest AdventOfCode.Day06 doctest AdventOfCode.Day07 d...
27.689655
73
0.753425
33f87b459c3c7fb4bc02c8e45273f4abd750fd55
527
ex
Elixir
lib/exceptions.ex
cwbriones/stache
51eb1435c81975a2ce680eca8263cd5a146d80f8
[ "MIT" ]
1
2016-05-02T10:47:45.000Z
2016-05-02T10:47:45.000Z
lib/exceptions.ex
cwbriones/stache
51eb1435c81975a2ce680eca8263cd5a146d80f8
[ "MIT" ]
null
null
null
lib/exceptions.ex
cwbriones/stache
51eb1435c81975a2ce680eca8263cd5a146d80f8
[ "MIT" ]
null
null
null
defmodule Stache.SyntaxError do @module """ Raised during template compilation when a syntax error is detected in the input file or string. """ defexception [:message, :file, :line] def exception(opts) do message = Keyword.fetch!(opts, :message) file = Keyword.get(opts, :file, :nofile) line = Key...
29.277778
97
0.658444
33f8bcbe23e01c1c89533c7b95055cc7d8dd352c
424
ex
Elixir
apps/server_web/lib/server_web/controllers/hello_controller.ex
shtanaka/gs-cup
697f000f79dd61221b6fbaac08abd2366613679c
[ "MIT" ]
null
null
null
apps/server_web/lib/server_web/controllers/hello_controller.ex
shtanaka/gs-cup
697f000f79dd61221b6fbaac08abd2366613679c
[ "MIT" ]
null
null
null
apps/server_web/lib/server_web/controllers/hello_controller.ex
shtanaka/gs-cup
697f000f79dd61221b6fbaac08abd2366613679c
[ "MIT" ]
null
null
null
defmodule ServerWeb.HelloController do use ServerWeb, :controller plug :assign_welcome_message, "Hello Stranger!" def index(conn, _params) do render(conn, "index.html") end def show(conn, %{"user" => user}) do conn |> assign(:message, "Hello #{user}! Welcome to gs-cup") |> render("index.html...
22.315789
59
0.676887
33f8c3ccbd086ce9a4c48d2dc52684cdd8852d1c
1,908
ex
Elixir
lib/iw.ex
ConnorRigby/elixir-iw
05ffc5459ed6b317e5e30e425d9b8ffe1419f300
[ "0BSD" ]
1
2020-08-25T09:28:22.000Z
2020-08-25T09:28:22.000Z
lib/iw.ex
ConnorRigby/elixir-iw
05ffc5459ed6b317e5e30e425d9b8ffe1419f300
[ "0BSD" ]
null
null
null
lib/iw.ex
ConnorRigby/elixir-iw
05ffc5459ed6b317e5e30e425d9b8ffe1419f300
[ "0BSD" ]
null
null
null
defmodule Iw do def iw do Application.app_dir(:iw, ["priv", "usr", "sbin", "iw"]) end def ap_scan(ifname) do case System.cmd(iw(), ["dev", ifname, "scan", "ap-force"]) do {output, 0} -> parse_scan(output) _ -> [] end end def parse_scan(output) do [_ | rest] = Regex.split(~r...
22.714286
98
0.530922
33f914225fc8dfee7eae397971b6be021f24c862
329
exs
Elixir
apps/financial_system/priv/repo/seeds.exs
juniornelson123/tech-challenge-stone
e27b767514bf42a5ade5228de56c3c7ea38459d7
[ "MIT" ]
null
null
null
apps/financial_system/priv/repo/seeds.exs
juniornelson123/tech-challenge-stone
e27b767514bf42a5ade5228de56c3c7ea38459d7
[ "MIT" ]
2
2021-03-10T03:19:32.000Z
2021-09-02T04:33:17.000Z
apps/financial_system/priv/repo/seeds.exs
juniornelson123/tech-challenge-stone
e27b767514bf42a5ade5228de56c3c7ea38459d7
[ "MIT" ]
null
null
null
FinancialSystem.Transaction.create_account(%{name: "Nelson", email: "nelson@email.com", balance: "1_000_000"}) FinancialSystem.Transaction.create_account(%{name: "Pablo", email: "pablo@email.com", balance: "1_000_000"}) FinancialSystem.Transaction.create_account(%{name: "Elias", email: "elias@email.com", balance: "1_00...
82.25
110
0.762918
33f95152b11e747afafd9097c86522430dce58b8
1,686
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/clustering_metrics.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/clustering_metrics.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/clustering_metrics.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...
33.058824
126
0.746738
33f96f557aca76b41fc9201e17d9a999ec6533d0
1,967
ex
Elixir
clients/people/lib/google_api/people/v1/model/birthday.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/birthday.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/people/lib/google_api/people/v1/model/birthday.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...
37.113208
173
0.714286
33f96f76e87a54b68bd244e4a99bb5e3c4f9f29a
581
ex
Elixir
lib/aggregate_pid_manager.ex
x3m-ex/system
22e24a21b1eb716c4a69c629bd27ad98c720a6d5
[ "MIT" ]
3
2019-11-05T22:05:46.000Z
2021-08-10T12:06:47.000Z
lib/aggregate_pid_manager.ex
x3m-ex/system
22e24a21b1eb716c4a69c629bd27ad98c720a6d5
[ "MIT" ]
null
null
null
lib/aggregate_pid_manager.ex
x3m-ex/system
22e24a21b1eb716c4a69c629bd27ad98c720a6d5
[ "MIT" ]
2
2020-03-19T21:24:32.000Z
2020-08-26T20:49:02.000Z
defmodule X3m.System.AggregatePidManager do use Supervisor alias X3m.System.AggregateRegistry, as: Registry alias X3m.System.AggregateSup def start_link([prefix, aggregate_mod]), do: Supervisor.start_link(__MODULE__, {prefix, aggregate_mod}, name: name(aggregate_mod)) def init({prefix, aggregate_mod}) d...
27.666667
93
0.73494
33f99a558be38cedb1837b79b75513583255048e
1,121
ex
Elixir
lib/coxir/gateway/stage/producer.ex
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
178
2018-04-08T17:11:56.000Z
2022-03-25T15:36:41.000Z
lib/coxir/gateway/stage/producer.ex
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
21
2018-04-30T21:33:59.000Z
2019-09-03T17:25:26.000Z
lib/coxir/gateway/stage/producer.ex
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
25
2018-04-21T19:41:03.000Z
2021-07-24T22:40:40.000Z
defmodule Coxir.Gateway.Producer do @moduledoc """ Work in progress. """ use GenStage alias GenStage.BroadcastDispatcher @type producer :: pid def start_link(state) do GenStage.start_link(__MODULE__, state) end def init(_state) do state = {:queue.new(), 0} {:producer, state, dispatcher...
21.557692
55
0.643176
33f9a6dae042ead84a49978c14465b8bd7e78441
2,502
ex
Elixir
lib/mix/tasks/guard.ex
hurrycaner/ex_guard
a84f3d83111bccd34c1a28e101c7ef7fd33458ec
[ "MIT" ]
null
null
null
lib/mix/tasks/guard.ex
hurrycaner/ex_guard
a84f3d83111bccd34c1a28e101c7ef7fd33458ec
[ "MIT" ]
null
null
null
lib/mix/tasks/guard.ex
hurrycaner/ex_guard
a84f3d83111bccd34c1a28e101c7ef7fd33458ec
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Guard do @moduledoc ~S""" ExGuard automates various tasks by running custom rules whenever file or directories are modified. ## Usage usage: mix guard [--config=.exguard.exs] [guard titles...] help: mix help guard ## Installation add `ex_guard` to `mix.exs` def deps d...
27.494505
107
0.620703
33f9a93492cc795590aedb6c86580cc7bccfac97
4,353
exs
Elixir
test/lib/code_corps/model/task_list_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
test/lib/code_corps/model/task_list_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
test/lib/code_corps/model/task_list_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.TaskListTest do use CodeCorps.ModelCase alias CodeCorps.TaskList alias Ecto.Changeset @valid_attrs %{name: "some content", position: 42} @invalid_attrs %{} test "changeset with valid attributes" do changeset = TaskList.changeset(%TaskList{}, @valid_attrs) assert changeset.vali...
31.316547
73
0.637491
33f9c83fffc95aabbf8f4b6ce721b28ea0646abb
381
ex
Elixir
elixir_tutorial/lib/looker.ex
ayarhlaine/elixir-tutorial
ebc2410a7aa7cf093f6904f628a7bd00bc4e91ca
[ "MIT" ]
null
null
null
elixir_tutorial/lib/looker.ex
ayarhlaine/elixir-tutorial
ebc2410a7aa7cf093f6904f628a7bd00bc4e91ca
[ "MIT" ]
null
null
null
elixir_tutorial/lib/looker.ex
ayarhlaine/elixir-tutorial
ebc2410a7aa7cf093f6904f628a7bd00bc4e91ca
[ "MIT" ]
null
null
null
defmodule Looker do # Check first item of list match with search item, then return the value. def search([item | _rest], item) do item end # If item not found in first place, find in rest items. def search([_item | rest], item) do search(rest, item) end # Base case of recursion, if no item lef...
20.052632
75
0.664042
33fa16b81e5f935ba1cab301e9d9d7f844ba2d6b
63
ex
Elixir
lib/web/views/message_contex_status_view.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
lib/web/views/message_contex_status_view.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
lib/web/views/message_contex_status_view.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule Web.MessageContextStatusView do use Web, :view end
15.75
41
0.809524
33fa204f6b43e3344057ef2d6d81c84282cd9d3a
973
exs
Elixir
frameworks/Elixir/phoenix/config/prod.exs
jyanJing/FrameworkBenchmarks
0ff3ff999a118a42869600ae756b54743b46b212
[ "BSD-3-Clause" ]
1
2019-12-27T01:03:21.000Z
2019-12-27T01:03:21.000Z
frameworks/Elixir/phoenix/config/prod.exs
jyanJing/FrameworkBenchmarks
0ff3ff999a118a42869600ae756b54743b46b212
[ "BSD-3-Clause" ]
15
2022-02-16T01:18:58.000Z
2022-02-16T01:20:21.000Z
frameworks/Elixir/phoenix/config/prod.exs
jyanJing/FrameworkBenchmarks
0ff3ff999a118a42869600ae756b54743b46b212
[ "BSD-3-Clause" ]
null
null
null
use Mix.Config config :hello, HelloWeb.Endpoint, url: [host: "0.0.0.0"], http: [port: 8080, protocol_options: [max_keepalive: :infinity], backlog: 8096], cache_static_lookup: false, check_origin: false, debug_errors: false, code_reloader: false, server: true config :hello, Hello.Repo, username: "bench...
23.731707
82
0.682425
33fa71601a5770b450ead82cc35c831320bfadb1
5,491
ex
Elixir
lib/paper_trail/multi.ex
kianmeng/paper_trail
f0981b9897412dacec05893eff1cc25f5d8bc56d
[ "MIT" ]
null
null
null
lib/paper_trail/multi.ex
kianmeng/paper_trail
f0981b9897412dacec05893eff1cc25f5d8bc56d
[ "MIT" ]
null
null
null
lib/paper_trail/multi.ex
kianmeng/paper_trail
f0981b9897412dacec05893eff1cc25f5d8bc56d
[ "MIT" ]
null
null
null
defmodule PaperTrail.Multi do import Ecto.Changeset alias PaperTrail alias PaperTrail.Version alias PaperTrail.RepoClient alias PaperTrail.Serializer defdelegate new(), to: Ecto.Multi defdelegate append(lhs, rhs), to: Ecto.Multi defdelegate error(multi, name, value), to: Ecto.Multi defdelegate merge...
34.974522
116
0.614278
33fa765bdd05a9e9d192ee5278e4446913131261
59
ex
Elixir
lib/spmapi_web/views/page_view.ex
localgyros/spmapi
90c0292de0bd2ca7f90395d2fbd62524ced66ce7
[ "MIT" ]
1
2018-06-04T01:03:05.000Z
2018-06-04T01:03:05.000Z
lib/spmapi_web/views/page_view.ex
localgyros/spmapi
90c0292de0bd2ca7f90395d2fbd62524ced66ce7
[ "MIT" ]
5
2018-06-03T14:08:19.000Z
2018-06-07T19:34:27.000Z
lib/spmapi_web/views/page_view.ex
localgyros/spmapi
90c0292de0bd2ca7f90395d2fbd62524ced66ce7
[ "MIT" ]
null
null
null
defmodule SpmapiWeb.PageView do use SpmapiWeb, :view end
14.75
31
0.79661
33fa7bb51d709b1a7194a8010ee42c01b5651feb
360
exs
Elixir
spec/day05_spec.exs
CraigCottingham/advent-of-code-2018
3004abc80055e419eaae4751b0014fd04721acda
[ "Apache-2.0" ]
2
2018-12-04T19:55:11.000Z
2019-05-14T04:43:53.000Z
spec/day05_spec.exs
CraigCottingham/advent-of-code-2018
3004abc80055e419eaae4751b0014fd04721acda
[ "Apache-2.0" ]
null
null
null
spec/day05_spec.exs
CraigCottingham/advent-of-code-2018
3004abc80055e419eaae4751b0014fd04721acda
[ "Apache-2.0" ]
null
null
null
defmodule AoC.Day05.Spec do @moduledoc false use ESpec describe "sanity checks" do before do: allow File |> to(accept(:stream!, fn(_, _, _) -> test_data() |> String.split(~r//) end)) let :test_data, do: "dabAcCaCBAcCcaDA" it do expect(AoC.Day05.part_1()) |> to(eq(10)) expect(AoC.Day05.p...
22.5
103
0.613889
33fa7e12f9e2e6c655d080372e7bc12124d05a7c
430
exs
Elixir
priv/repo/migrations/20150924194327_user_permission_grants.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
priv/repo/migrations/20150924194327_user_permission_grants.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
priv/repo/migrations/20150924194327_user_permission_grants.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Repo.Migrations.UserPermissionGrants do use Ecto.Migration def change do create table(:user_permissions, primary_key: false) do add :user_id, references(:users, type: :uuid, on_delete: :delete_all), null: false add :permission_id, references(:permissions, type: :uuid, on_delete: :dele...
35.833333
100
0.737209
33fa810fa3d9eb54a0bebb2f2f27032e1a50badf
4,121
ex
Elixir
priv/perf/apps/load_test/lib/child_chain/deposit.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
priv/perf/apps/load_test/lib/child_chain/deposit.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
priv/perf/apps/load_test/lib/child_chain/deposit.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 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 ...
35.525862
103
0.715846
33fabe8604f30cca22b4a1b73a4480b3a7bc1595
1,886
ex
Elixir
clients/blogger/lib/google_api/blogger/v3/model/comment_author.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/blogger/lib/google_api/blogger/v3/model/comment_author.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/blogger/lib/google_api/blogger/v3/model/comment_author.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.678571
115
0.698834
33fac53047cc198ce9908310fbd5346760028293
1,955
exs
Elixir
config/dev.exs
realyarilabs/exchange_api
c7dd9af9356277a022b164675cc1622359af8a76
[ "Apache-2.0" ]
3
2020-08-10T10:09:26.000Z
2020-08-28T08:41:36.000Z
config/dev.exs
realyarilabs/exchange_api
c7dd9af9356277a022b164675cc1622359af8a76
[ "Apache-2.0" ]
30
2020-08-17T10:38:24.000Z
2022-02-28T07:06:42.000Z
config/dev.exs
realyarilabs/exchange_api
c7dd9af9356277a022b164675cc1622359af8a76
[ "Apache-2.0" ]
1
2020-09-17T13:08:47.000Z
2020-09-17T13:08:47.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :exchange_api, ExchangeApiWeb.Endpoint, http: [p...
28.75
69
0.68798
33facbcf5c9746d26f124160d520866117d88365
545
ex
Elixir
test/inactive_bucket_cleaner.ex
ForeTokenOfficial/foretoken
d338b48fee55ca871ff4debefea1818920790cdb
[ "MIT" ]
4
2018-05-29T08:14:50.000Z
2020-01-14T04:37:10.000Z
lib/inactive_bucket_cleaner.ex
skirino/foretoken
5ad390c786f294d91fb801a70462625ae2132c90
[ "MIT" ]
null
null
null
lib/inactive_bucket_cleaner.ex
skirino/foretoken
5ad390c786f294d91fb801a70462625ae2132c90
[ "MIT" ]
null
null
null
use Croma defmodule Foretoken.InactiveBucketCleaner do use GenServer alias Foretoken.{Ets, Config} defun start_link([]) :: GenServer.on_start do GenServer.start_link(__MODULE__, :ok, [name: __MODULE__]) end @impl true def init(:ok) do {:ok, %{}, Config.bucket_cleanup_interval()} end @impl tr...
23.695652
81
0.722936
33fb0320dc4346449d2b0ba439784df0747b901e
1,867
ex
Elixir
lib/hedwig_trivia/question.ex
maxbeizer/hedwig_trivia
9087aeb12d9910633e6b7975c7ef7aa3130a1bd6
[ "MIT" ]
null
null
null
lib/hedwig_trivia/question.ex
maxbeizer/hedwig_trivia
9087aeb12d9910633e6b7975c7ef7aa3130a1bd6
[ "MIT" ]
2
2019-12-04T20:59:47.000Z
2019-12-04T21:00:14.000Z
lib/hedwig_trivia/question.ex
maxbeizer/hedwig_trivia
9087aeb12d9910633e6b7975c7ef7aa3130a1bd6
[ "MIT" ]
2
2019-12-04T16:21:06.000Z
2019-12-25T03:10:33.000Z
defmodule HedwigTrivia.Question do @moduledoc """ Logic surrounding fetching and evaluating questions from the API """ alias HedwigTrivia.Fetchers.API alias HedwigTrivia.GameState @doc """ Call the API to fetch a new question, verify it's playable, and add the data to the game state. """ @spec fet...
25.930556
77
0.583824
33fb22512297380b661d1c6328b58dffd0563d10
6,794
ex
Elixir
lib/cldr/messages/backend.ex
jshmrtn/cldr_messages
19145ffd756cbe05432b70225bb4e81aecc941c7
[ "Apache-2.0" ]
6
2019-06-09T11:55:49.000Z
2021-08-24T07:58:32.000Z
lib/cldr/messages/backend.ex
jshmrtn/cldr_messages
19145ffd756cbe05432b70225bb4e81aecc941c7
[ "Apache-2.0" ]
10
2020-11-14T00:29:20.000Z
2022-01-18T21:19:59.000Z
lib/cldr/messages/backend.ex
jshmrtn/cldr_messages
19145ffd756cbe05432b70225bb4e81aecc941c7
[ "Apache-2.0" ]
6
2020-02-12T11:37:47.000Z
2022-01-03T14:36:52.000Z
defmodule Cldr.Message.Backend do def define_message_module(config) do module = __MODULE__ backend = config.backend config = Macro.escape(config) quote location: :keep, bind_quoted: [module: module, backend: backend, config: config] do defmodule Message do @moduledoc false if C...
27.395161
95
0.609508
33fb71b2453d80a5385b63ce3347b72d21efbe52
3,157
exs
Elixir
test/stripe/invoices_test.exs
vysakh0/stripe
b5981176deba0058abbd20baa1b167c2c61ed4f9
[ "BSD-3-Clause" ]
null
null
null
test/stripe/invoices_test.exs
vysakh0/stripe
b5981176deba0058abbd20baa1b167c2c61ed4f9
[ "BSD-3-Clause" ]
null
null
null
test/stripe/invoices_test.exs
vysakh0/stripe
b5981176deba0058abbd20baa1b167c2c61ed4f9
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.InvoicesTest do use ExUnit.Case require Helper setup_all do Helper.create_test_plans customer1 = Helper.create_test_customer "invoices_test1@localhost" {:ok, sub1} = Stripe.Subscriptions.create customer1.id, [plan: "test-std"] params = [ customer: customer1.id, amoun...
28.7
134
0.61324
33fb89e0b52fb0fd5ea1432740e533f552e1ed9b
5,591
exs
Elixir
lib/elixir/test/elixir/set_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/set_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/set_test.exs
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ # A TestSet implementation used only for testing. defmodule TestSet do def new(list \\ []) when is_list(list) do { TestSet, list } end def reduce({ TestSet, list }, acc, fun) do Enumerable.reduce(list, acc, fun) end def member?({ TestSet, list }, v) do ...
28.819588
85
0.553926
33fb91ad6427328a308699935af2c4f9cdf4e01a
77
ex
Elixir
lib/sponsorly_web/views/user_registration_view.ex
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
lib/sponsorly_web/views/user_registration_view.ex
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
lib/sponsorly_web/views/user_registration_view.ex
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
defmodule SponsorlyWeb.UserRegistrationView do use SponsorlyWeb, :view end
19.25
46
0.844156
33fbb9cb1a7fac8e47dcf00b415bfdc8ac906d05
5,669
ex
Elixir
lib/game/command/wield.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/game/command/wield.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
lib/game/command/wield.ex
shanesveller/ex_venture
68507da11442a9e0423073fcd305e9021f649ca1
[ "MIT" ]
null
null
null
defmodule Game.Command.Wield do @moduledoc """ The "wield" command """ use Game.Command alias Game.Item alias Game.Items @must_be_alive true commands(["wield", "unwield"], parse: false) @impl Game.Command def help(:topic), do: "Wield" def help(:short), do: "Put an item in your hands" def h...
28.631313
94
0.604692
33fbcb402d7f505a8079247e69526c0f735ea519
871
ex
Elixir
lib/api/ai_competition/bot.ex
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
1
2017-09-10T23:51:40.000Z
2017-09-10T23:51:40.000Z
lib/api/ai_competition/bot.ex
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
24
2018-03-14T18:17:00.000Z
2021-03-01T07:47:53.000Z
lib/api/ai_competition/bot.ex
portosummerofcode/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
null
null
null
defmodule Api.AICompetition.Bot do use Ecto.Schema import Ecto.Changeset alias Api.AICompetition.{Bot, GameBot} alias Api.Accounts.User @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "ai_competition_bots" do field :sdk, :string field :source_code, :string ...
26.393939
99
0.695752
33fbcee0d0fa6bea32793e1ab4cfdf1c7d3ded41
816
ex
Elixir
lib/hornet/worker/worker_supervisor.ex
andreaswillems/hornet
a61e4518afd45ae5f2cf7ceb8c80527a7be0a174
[ "MIT" ]
30
2020-11-02T19:01:55.000Z
2021-12-15T07:42:15.000Z
lib/hornet/worker/worker_supervisor.ex
andreaswillems/hornet
a61e4518afd45ae5f2cf7ceb8c80527a7be0a174
[ "MIT" ]
4
2020-10-08T18:31:22.000Z
2022-02-28T20:18:40.000Z
lib/hornet/worker/worker_supervisor.ex
andreaswillems/hornet
a61e4518afd45ae5f2cf7ceb8c80527a7be0a174
[ "MIT" ]
2
2020-11-17T12:23:37.000Z
2020-11-17T15:59:12.000Z
defmodule Hornet.Worker.WorkerSupervisor do @moduledoc false use Supervisor alias Hornet.Worker @spec start_link(Keyword.t()) :: Supervisor.on_start() def start_link(opts) do Supervisor.start_link(__MODULE__, opts) end @impl true def init(params) do id = Keyword.fetch!(params, :id) func ...
24.727273
97
0.653186
33fbe98d9703a9c3ff446191057f5ada28fc39b2
479
exs
Elixir
config/test.exs
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
5
2018-06-27T17:51:51.000Z
2020-10-05T09:59:04.000Z
config/test.exs
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
1
2018-10-08T11:33:12.000Z
2018-10-08T11:33:12.000Z
config/test.exs
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
2
2018-10-08T11:31:55.000Z
2020-10-05T09:59:05.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :retrospectivex, RetrospectivexWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :retro...
25.210526
56
0.743215
33fbede702f1ae7dbedd40a74d8882315af887af
447
ex
Elixir
lib/safe_code/validator/function_validators/phoenix.ex
nathanl/safe_code
8dac42cb65cfe0f9ca51a2d29ba0eabb98ad67b3
[ "MIT" ]
null
null
null
lib/safe_code/validator/function_validators/phoenix.ex
nathanl/safe_code
8dac42cb65cfe0f9ca51a2d29ba0eabb98ad67b3
[ "MIT" ]
null
null
null
lib/safe_code/validator/function_validators/phoenix.ex
nathanl/safe_code
8dac42cb65cfe0f9ca51a2d29ba0eabb98ad67b3
[ "MIT" ]
null
null
null
defmodule SafeCode.Validator.FunctionValidators.Phoenix do @behaviour SafeCode.Validator.FunctionValidators.Behaviour def safe_function?(_), do: false def safe_module_function?(Phoenix.LiveView.Engine, :live_to_iodata), do: true def safe_module_function?(Phoenix.LiveView.Engine, :changed_assign?), do: true ...
37.25
80
0.794183
33fbf4203a95c90266eaa7ceae9e484d682ed23b
1,458
exs
Elixir
config/config.exs
PillarTechnology/discovery_api
ee4b91ff492af72cb1d7867775d6cc41c12a43f3
[ "Apache-2.0" ]
null
null
null
config/config.exs
PillarTechnology/discovery_api
ee4b91ff492af72cb1d7867775d6cc41c12a43f3
[ "Apache-2.0" ]
null
null
null
config/config.exs
PillarTechnology/discovery_api
ee4b91ff492af72cb1d7867775d6cc41c12a43f3
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :prestige, :session_opts, user: "discovery-api", catalog: "hive", schema: "default" config :discovery_api, DiscoveryApiWeb.Endpoint, secret_key_base: "7Qfvr6quFJ6Qks3FGiLMnm/eNV8K66yMVpkU46lCZ2rKj0YR9ksjxsB+SX3qHZre", render_errors: [view: DiscoveryApiWeb.ErrorView, accepts: ~w(json)],...
30.375
88
0.745542
33fc24da3fc60b0a414db218a24a03e6cfbd4685
3,320
exs
Elixir
test/dynamo/connection/query_parser_test.exs
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
415
2015-01-04T15:59:47.000Z
2022-02-02T21:12:46.000Z
test/dynamo/connection/query_parser_test.exs
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
9
2015-02-06T16:09:46.000Z
2018-08-08T06:33:50.000Z
test/dynamo/connection/query_parser_test.exs
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
44
2015-02-01T15:49:50.000Z
2021-11-29T09:08:37.000Z
defmodule Dynamo.Connection.QueryParserTest do use ExUnit.Case, async: true test "parse queries" do params = parse "foo=bar&baz=bat" assert params["foo"] == "bar" assert params["baz"] == "bat" params = parse "users[name]=hello&users[age]=17" assert params["users"]["name"] == "hello" assert...
32.54902
113
0.543675
33fc31b65bc3088330d8034899e384581403e478
3,673
ex
Elixir
lib/imagine/accounts/user.ex
nacengineer/imagine_cms
00a73790f9de6c409bb87e1fdfb3b41010a9d222
[ "Apache-2.0" ]
25
2020-09-08T05:13:40.000Z
2022-03-15T13:35:59.000Z
lib/imagine/accounts/user.ex
nacengineer/imagine_cms
00a73790f9de6c409bb87e1fdfb3b41010a9d222
[ "Apache-2.0" ]
null
null
null
lib/imagine/accounts/user.ex
nacengineer/imagine_cms
00a73790f9de6c409bb87e1fdfb3b41010a9d222
[ "Apache-2.0" ]
3
2021-08-11T03:48:54.000Z
2022-02-09T20:11:06.000Z
defmodule Imagine.Accounts.User do @moduledoc """ User - for authentication, authorization, auditing """ use Ecto.Schema import Ecto.Changeset schema "users" do field :username, :string field :current_password, :string, virtual: true field :password, :string, virtual: true field :password_...
28.92126
98
0.663218
33fc7c80a4d1dce910c2665f2d7004aefd344e2d
1,918
exs
Elixir
config/dev.exs
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
1
2022-03-16T20:41:29.000Z
2022-03-16T20:41:29.000Z
config/dev.exs
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
null
null
null
config/dev.exs
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
null
null
null
import Config # Configure your database config :rockelivery, Rockelivery.Repo, username: "postgres", password: "postgres", database: "rockelivery_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and cod...
31.442623
86
0.733055
33fc7d33cf6c279747f40c731f417bc948030075
15,906
exs
Elixir
test/protocol/fetch_test.exs
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
536
2015-08-10T03:14:39.000Z
2022-03-24T15:07:33.000Z
test/protocol/fetch_test.exs
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
349
2015-09-16T21:27:42.000Z
2022-03-28T08:51:56.000Z
test/protocol/fetch_test.exs
Zarathustra2/kafka_ex
436a84c7a32bee40f1dbffc17a3c1a0f2fc98c30
[ "MIT" ]
180
2015-09-01T22:58:26.000Z
2022-03-25T16:47:49.000Z
defmodule KafkaEx.Protocol.Fetch.Test do use ExUnit.Case, async: true alias KafkaEx.Protocol.Fetch.Message test "create_request creates a valid fetch request" do good_request = <<1::16, 0::16, 1::32, 3::16, "foo"::binary, -1::32, 10::32, 1::32, 1::32, 3::16, "bar"::binary, 1::32, 0::32, 1::64, ...
28.556553
97
0.468062
33fc7feec897bab31b792db3507f85979b3d215b
6,115
ex
Elixir
life_cli/lib/life.ex
andfoy/cpd-exercises
f36ac16c74bb980d7edd6aaf5661a6d4d4b09489
[ "MIT" ]
null
null
null
life_cli/lib/life.ex
andfoy/cpd-exercises
f36ac16c74bb980d7edd6aaf5661a6d4d4b09489
[ "MIT" ]
null
null
null
life_cli/lib/life.ex
andfoy/cpd-exercises
f36ac16c74bb980d7edd6aaf5661a6d4d4b09489
[ "MIT" ]
null
null
null
defmodule Life do @moduledoc """ Documentation for Life. """ def life(grid, rows, cols) do up_row = Enum.into((for n <- 0..cols, do: {n, 0}), %{}) down_row = Enum.into((for n <- 0..cols, do: {n, 0}), %{}) left_col = Enum.into((for n <- 0..rows, do: {n, 0}), %{}) right_col = Enum.into((for n <- 0...
43.992806
107
0.540801
33fc9915aaf01b8ec2947e25b656a5a0b61d5bb1
199
ex
Elixir
lib/witchcraft/foldable/tuple.ex
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
454
2019-06-05T22:56:45.000Z
2022-03-27T23:03:02.000Z
lib/witchcraft/foldable/tuple.ex
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
26
2019-07-08T09:29:08.000Z
2022-02-04T02:40:48.000Z
lib/witchcraft/foldable/tuple.ex
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
36
2019-06-25T17:45:27.000Z
2022-03-21T01:53:42.000Z
import TypeClass definst Witchcraft.Foldable, for: Tuple do def right_fold(tuple, seed, reducer) do index = tuple_size(tuple) - 1 tuple |> elem(index) |> reducer.(seed) end end
16.583333
42
0.668342
33fca4b1c92ad81673d9725fcb5822bb0877d6fa
2,407
exs
Elixir
config/dev.exs
3zcurdia/red_robin
a4aa6870d6bde05c95d375913311ecb392f7c44c
[ "MIT" ]
null
null
null
config/dev.exs
3zcurdia/red_robin
a4aa6870d6bde05c95d375913311ecb392f7c44c
[ "MIT" ]
null
null
null
config/dev.exs
3zcurdia/red_robin
a4aa6870d6bde05c95d375913311ecb392f7c44c
[ "MIT" ]
null
null
null
import Config # Configure your database config :red_robin, RedRobin.Repo, username: "postgres", password: "postgres", hostname: "localhost", database: "red_robin_dev", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloa...
32.093333
86
0.714167
33fca63c6e6e05ac93d4f21a1087b442c0f821b5
1,515
ex
Elixir
nomads/src/test/support/data_case.ex
HarpBytes/nomads
10c79953e19262d9d095a190eecb09a5e57e6bf2
[ "MIT" ]
null
null
null
nomads/src/test/support/data_case.ex
HarpBytes/nomads
10c79953e19262d9d095a190eecb09a5e57e6bf2
[ "MIT" ]
null
null
null
nomads/src/test/support/data_case.ex
HarpBytes/nomads
10c79953e19262d9d095a190eecb09a5e57e6bf2
[ "MIT" ]
null
null
null
defmodule Nomads.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to th...
29.134615
87
0.694389
33fcdf93b07715baef67ceb7a63f3b445a758490
503
ex
Elixir
lib/store/log.ex
Devotu/trail
aff9709440105940f3ff9ef98468ac99139aefba
[ "MIT" ]
null
null
null
lib/store/log.ex
Devotu/trail
aff9709440105940f3ff9ef98468ac99139aefba
[ "MIT" ]
4
2021-05-16T09:09:15.000Z
2021-05-16T10:11:00.000Z
lib/store/log.ex
Devotu/trail
aff9709440105940f3ff9ef98468ac99139aefba
[ "MIT" ]
null
null
null
defmodule Trail.Log do @delimiter "*___*_*_*" alias Trail.Store defp path(id) do Store.data_dir() <> "/event/#{id}.log" end def log(id, event) do path = path(id) bin = :erlang.term_to_binary(event) del = bin <> @delimiter File.write(path, del, [:append]) end def read(id) do id ...
16.766667
47
0.594433
33fce39b5ea3097e8b8db11c43b6dee8a78bdf7e
278
ex
Elixir
lib/exping/application.ex
kennyballou/exping
72a9d1114658371c8bcf2de7f9d3384722962e81
[ "Apache-2.0" ]
1
2016-08-02T13:58:55.000Z
2016-08-02T13:58:55.000Z
lib/exping/application.ex
kennyballou/exping
72a9d1114658371c8bcf2de7f9d3384722962e81
[ "Apache-2.0" ]
null
null
null
lib/exping/application.ex
kennyballou/exping
72a9d1114658371c8bcf2de7f9d3384722962e81
[ "Apache-2.0" ]
null
null
null
defmodule ExPing.Application do use Application @moduledoc """ Application definition for ExPing """ @doc """ Start ExPing OTP Application """ @spec start(any, any) :: {:ok, pid} | {:error, any} def start(_, _) do ExPing.Supervisor.start_link() end end
18.533333
53
0.651079
33fd04fc94fee109c35784fb20b0557c520b4018
771
ex
Elixir
apps/demon_spirit/lib/demon_spirit.ex
mreishus/demon_spirit_umbrella
1ab9161427361ac7d35132fce2aed36923896a4b
[ "MIT" ]
12
2019-09-17T13:47:57.000Z
2021-12-11T17:11:11.000Z
apps/demon_spirit/lib/demon_spirit.ex
mreishus/demon_spirit_umbrella
1ab9161427361ac7d35132fce2aed36923896a4b
[ "MIT" ]
181
2019-10-15T01:21:44.000Z
2021-08-31T19:26:54.000Z
apps/demon_spirit/lib/demon_spirit.ex
mreishus/demon_spirit_umbrella
1ab9161427361ac7d35132fce2aed36923896a4b
[ "MIT" ]
2
2020-07-11T02:18:46.000Z
2021-05-31T10:46:39.000Z
defmodule DemonSpirit do alias DemonSpirit.{Guest, ChatMessage} alias Ecto.Changeset @moduledoc """ DemonSpirit keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ ...
24.870968
66
0.722438
33fd4b0819d15217ee0b44e88738c060876091c2
4,738
exs
Elixir
test/acceptance/commits_test.exs
joakimk/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
27
2016-09-21T09:11:25.000Z
2020-12-16T04:04:50.000Z
test/acceptance/commits_test.exs
barsoom/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
2
2016-12-02T08:05:13.000Z
2020-03-27T08:07:59.000Z
test/acceptance/commits_test.exs
barsoom/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
4
2016-09-25T09:58:17.000Z
2020-04-27T15:07:36.000Z
defmodule Review.CommitsTest do use Review.AcceptanceCase import Review.Factory test "shows a list of commits, with the newest on top" do commit1 = insert(:commit) commit2 = insert(:commit) commit3 = insert(:commit) navigate_to_commits_page() elements = find_all_elements(:css, ".test-commit...
25.202128
86
0.656606
33fd72e745bd98f49e8690d15ee4dac2b535b8e5
70
exs
Elixir
test/test_helper.exs
Qqwy/calliope
f1f2a38e96f4f20b1ebe44f813b36df679434259
[ "Apache-2.0" ]
152
2015-01-13T15:39:04.000Z
2022-03-09T22:20:28.000Z
test/test_helper.exs
Qqwy/calliope
f1f2a38e96f4f20b1ebe44f813b36df679434259
[ "Apache-2.0" ]
43
2015-02-18T12:54:12.000Z
2018-06-26T20:48:16.000Z
test/test_helper.exs
Qqwy/calliope
f1f2a38e96f4f20b1ebe44f813b36df679434259
[ "Apache-2.0" ]
34
2015-02-16T23:35:45.000Z
2021-01-11T15:01:59.000Z
Code.load_file("equivalent_html.exs", "./test/support") ExUnit.start
17.5
55
0.757143
33fd827b0572e58163617ea7e8c2cc9392843734
3,842
exs
Elixir
test/hap/accessories_test.exs
petermm/hap
550433a78bccd586ab6a7d8bf85765bfae58b13b
[ "MIT" ]
40
2019-10-26T01:58:42.000Z
2022-03-09T18:18:39.000Z
test/hap/accessories_test.exs
petermm/hap
550433a78bccd586ab6a7d8bf85765bfae58b13b
[ "MIT" ]
11
2021-04-02T14:55:02.000Z
2021-11-05T13:49:55.000Z
test/hap/accessories_test.exs
petermm/hap
550433a78bccd586ab6a7d8bf85765bfae58b13b
[ "MIT" ]
6
2020-05-18T09:34:14.000Z
2021-11-04T11:14:15.000Z
defmodule HAP.AcessoriesTest do use ExUnit.Case, async: false setup do {:ok, _pid} = start_supervised(HAP.Test.TestValueStore) HAP.Test.TestValueStore.put_value(true, value_name: :lightbulb) {:ok, _pid} = [ accessories: [ %HAP.Accessory{ services: [ %H...
35.574074
117
0.330817
33fd842d2dd36eb1744d0c07d17bc3cfbd0ea5ec
3,307
ex
Elixir
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/domain_provisioning.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/domain_provisioning.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/firebase_hosting/lib/google_api/firebase_hosting/v1beta1/model/domain_provisioning.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...
48.632353
172
0.724826
33fd9bbba096daa2c191d75b1d91eb7e414a8d36
1,290
exs
Elixir
elixir/#5-trailing_bang!.exs
rwietter/codebase
7466a958c27720aff84c14b39a2f9e6031ddd49c
[ "MIT" ]
null
null
null
elixir/#5-trailing_bang!.exs
rwietter/codebase
7466a958c27720aff84c14b39a2f9e6031ddd49c
[ "MIT" ]
null
null
null
elixir/#5-trailing_bang!.exs
rwietter/codebase
7466a958c27720aff84c14b39a2f9e6031ddd49c
[ "MIT" ]
null
null
null
# Trailling bang refere-se que uma função ou macro em que os casos de falha lançam uma exceção. # Muitas funções vêm em pares, como File.read/1e File.read!/1. File.read/1retornará uma tupla de sucesso ou falha, enquanto File.read!/1retornará um valor simples ou levantará uma exceção: import IO # A versão sem !é a pr...
39.090909
287
0.750388
33fdad90f34be251f4fd5aa9edd94ca72424a694
150
exs
Elixir
test/termsize_test.exs
sotojuan/termsize
b8efc95f88303fc8ef77482f8a2912e1ad639ef9
[ "MIT" ]
null
null
null
test/termsize_test.exs
sotojuan/termsize
b8efc95f88303fc8ef77482f8a2912e1ad639ef9
[ "MIT" ]
null
null
null
test/termsize_test.exs
sotojuan/termsize
b8efc95f88303fc8ef77482f8a2912e1ad639ef9
[ "MIT" ]
null
null
null
defmodule TermSizeTest do use ExUnit.Case test "gets size" do {cols, rows} = TermSize.get assert cols > 0 assert rows > 0 end end
13.636364
31
0.646667
33fdb87d6bb7fbb392595464da4d4458092e7a50
481
ex
Elixir
lib/dust/html/format.ex
sultaniman/dust
273cf538552870fd07269330c23e993c8859ddd9
[ "Apache-2.0" ]
18
2020-06-16T09:43:34.000Z
2021-11-06T09:35:17.000Z
lib/dust/html/format.ex
imanhodjaev/dust
f834dc92bbaaee82ca76f848bf640d3d37e4c5e8
[ "Apache-2.0" ]
13
2020-10-29T05:33:14.000Z
2022-01-24T18:01:50.000Z
lib/dust/html/format.ex
imanhodjaev/dust
f834dc92bbaaee82ca76f848bf640d3d37e4c5e8
[ "Apache-2.0" ]
null
null
null
defmodule Dust.HTML.Format do @moduledoc false @doc """ Split `content` and filter out blank lines. """ @spec split(String.t()) :: [String.t()] def split(content) do content |> String.split(["\n\n", "\r\n\r\n"], trim: true) |> Enum.reject(&blank?/1) end defp blank?("\r\n" <> rest), do: bla...
24.05
53
0.575884
33fdc6e8b687508b3f9b001a290f8c4c38ece80c
5,529
exs
Elixir
test/aggregates/aggregate_concurrency_test.exs
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1
2020-02-19T01:07:32.000Z
2020-02-19T01:07:32.000Z
test/aggregates/aggregate_concurrency_test.exs
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
null
null
null
test/aggregates/aggregate_concurrency_test.exs
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1
2020-02-18T20:53:39.000Z
2020-02-18T20:53:39.000Z
defmodule Commanded.Aggregates.AggregateConcurrencyTest do use Commanded.MockEventStoreCase alias Commanded.MockedApp alias Commanded.Aggregates.{Aggregate, ExecutionContext} alias Commanded.EventStore.RecordedEvent alias Commanded.ExampleDomain.{BankAccount, OpenAccountHandler, DepositMoneyHandler} alias ...
32.715976
95
0.52505
33fdcbeee9548619cdb8876b3b941c8eb28e174a
1,082
exs
Elixir
mix.exs
mveytsman/Mustache.ex
22a123e730de6d5ff9fc5f599a7390ae6c840be7
[ "MIT" ]
50
2015-04-12T17:20:41.000Z
2022-03-08T01:32:47.000Z
mix.exs
mveytsman/Mustache.ex
22a123e730de6d5ff9fc5f599a7390ae6c840be7
[ "MIT" ]
16
2015-04-23T14:27:47.000Z
2022-01-29T08:52:29.000Z
mix.exs
mveytsman/Mustache.ex
22a123e730de6d5ff9fc5f599a7390ae6c840be7
[ "MIT" ]
16
2016-04-04T15:18:43.000Z
2022-02-25T23:15:03.000Z
defmodule Mustache.Mixfile do use Mix.Project def project do [app: :mustache, version: "0.4.0", elixir: "~> 1.0", package: package(), description: "Mustache templates for Elixir", deps: deps()] end defp description do """ A Mustache Implementation for Elixir """ end ...
21.64
77
0.589649
33fddeb1d3a04707300b3ab3c6c6f6e23d60c5ef
3,625
ex
Elixir
clients/fusion_tables/lib/google_api/fusion_tables/v2/model/table.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/fusion_tables/lib/google_api/fusion_tables/v2/model/table.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/fusion_tables/lib/google_api/fusion_tables/v2/model/table.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 ...
43.674699
142
0.677517
33fdef3afc1e46bef994500181470492288c8a40
1,520
ex
Elixir
template/$PROJECT_NAME$/apps/web/lib/web/endpoint.ex
mitjok/gen_template_litslink_umbrella
eadef26e83a1bb540a360f0bf5db0f519a100f8b
[ "Apache-2.0" ]
1
2020-07-01T07:09:02.000Z
2020-07-01T07:09:02.000Z
template/$PROJECT_NAME$/apps/web/lib/web/endpoint.ex
mitjok/gen_template_litslink_umbrella
eadef26e83a1bb540a360f0bf5db0f519a100f8b
[ "Apache-2.0" ]
null
null
null
template/$PROJECT_NAME$/apps/web/lib/web/endpoint.ex
mitjok/gen_template_litslink_umbrella
eadef26e83a1bb540a360f0bf5db0f519a100f8b
[ "Apache-2.0" ]
null
null
null
defmodule Web.Endpoint do use Phoenix.Endpoint, otp_app: :web # 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: "_web_key", signin...
28.148148
97
0.710526
33fdf4cd56c86c1ac1a50eab8a5292d737af1251
499
exs
Elixir
apps/performance_3/config/dev.exs
WhiteRookPL/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
14
2017-08-09T14:21:47.000Z
2022-03-11T04:10:49.000Z
apps/performance_3/config/dev.exs
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
null
null
null
apps/performance_3/config/dev.exs
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
15
2017-09-05T15:43:53.000Z
2020-04-13T16:20:18.000Z
use Mix.Config config :metrics_collector, MetricsCollector.Web.Endpoint, http: [ port: 4000, acceptors: 2 ], debug_errors: true, code_reloader: true, check_origin: false config :logger, :console, format: "[$level] $message\n" config :phoenix, :stacktrace_depth, 20 config :metrics_collector, Metric...
22.681818
57
0.727455
33fdf94893acf2f11bcc7bbcde7fbc452de53caa
988
ex
Elixir
apps/daemon/lib/daemon.ex
olafura/git-peer
1a2c57a2c12ee9a0d185e22d1f0b849bc93cfbd4
[ "Apache-2.0" ]
null
null
null
apps/daemon/lib/daemon.ex
olafura/git-peer
1a2c57a2c12ee9a0d185e22d1f0b849bc93cfbd4
[ "Apache-2.0" ]
null
null
null
apps/daemon/lib/daemon.ex
olafura/git-peer
1a2c57a2c12ee9a0d185e22d1f0b849bc93cfbd4
[ "Apache-2.0" ]
null
null
null
defmodule GitPeer.Daemon do @moduledoc """ Documentation for GitPeer.Daemon. """ alias GitPeer.Services use GenServer def add_user(%{"user" => user, "key" => key}) do Services.User.set_user(%{"user" => user, "key" => key}) end def get_users do Services.User.get_users() end def request_r...
18.641509
83
0.618421
33fe245c0f897702c9bdce274599ed551c6629df
182
ex
Elixir
lib/class_roll/service/attendance.ex
mazurka/example-class-roll
50e55eca6e0e3dce5214d1bb9b03a0421c0ed879
[ "MIT" ]
null
null
null
lib/class_roll/service/attendance.ex
mazurka/example-class-roll
50e55eca6e0e3dce5214d1bb9b03a0421c0ed879
[ "MIT" ]
null
null
null
lib/class_roll/service/attendance.ex
mazurka/example-class-roll
50e55eca6e0e3dce5214d1bb9b03a0421c0ed879
[ "MIT" ]
null
null
null
defmodule ClassRoll.Service.Attendance do def get(class, date, member) do {:ok, %{present: true}} end def update(class, date, member, params) do {:ok, true} end end
18.2
44
0.659341
33fe42a3d6a0d785e1b55b76812fb993d783fbd6
8,747
exs
Elixir
test/mint/integration_test.exs
ryochin/mint
1ea7731d921840ad75a47fa9415525c3d94b9980
[ "Apache-2.0" ]
477
2019-10-28T14:53:23.000Z
2022-03-30T08:13:21.000Z
test/mint/integration_test.exs
ryochin/mint
1ea7731d921840ad75a47fa9415525c3d94b9980
[ "Apache-2.0" ]
108
2019-11-05T04:21:04.000Z
2022-02-24T18:36:15.000Z
test/mint/integration_test.exs
ryochin/mint
1ea7731d921840ad75a47fa9415525c3d94b9980
[ "Apache-2.0" ]
56
2019-11-10T01:19:56.000Z
2022-03-25T18:08:06.000Z
defmodule Mint.IntegrationTest do use ExUnit.Case, async: true import Mint.HTTP1.TestHelpers alias Mint.{TransportError, HTTP} describe "httpstat.us" do @describetag :integration @describetag skip: "Seems like httpstat.us is down" test "SSL - select HTTP1" do assert {:ok, conn} = ...
32.7603
97
0.559735
33fe51714b7b2508cac36db571169304277938b5
1,322
exs
Elixir
test/state_module/handle_continue_test.exs
ityonemo/state_server
1e119970e20abb68fff13d449e95e3bf66298668
[ "MIT" ]
8
2019-08-31T00:31:58.000Z
2021-06-11T22:12:05.000Z
test/state_module/handle_continue_test.exs
ityonemo/state_server
1e119970e20abb68fff13d449e95e3bf66298668
[ "MIT" ]
39
2019-09-07T21:29:09.000Z
2020-05-05T15:01:30.000Z
test/state_module/handle_continue_test.exs
ityonemo/state_server
1e119970e20abb68fff13d449e95e3bf66298668
[ "MIT" ]
2
2020-01-04T05:44:25.000Z
2020-01-19T21:44:41.000Z
defmodule StateServerTest.StateModule.HandleContinueTest do use ExUnit.Case, async: true defmodule Undelegated do use StateServer, [start: [tr: :end], end: []] def start_link(data), do: StateServer.start_link(__MODULE__, data) @impl true def init(data), do: {:ok, data, continue: :my_continuation...
24.943396
74
0.657337
33fe7821d9ab8cb1e9918bb6becc1e97be71e27b
2,381
exs
Elixir
test/type_module_test.exs
ivan/postgrex
dd377695fbe469bc3823116b9e4e8f498996b9a3
[ "Apache-2.0" ]
null
null
null
test/type_module_test.exs
ivan/postgrex
dd377695fbe469bc3823116b9e4e8f498996b9a3
[ "Apache-2.0" ]
null
null
null
test/type_module_test.exs
ivan/postgrex
dd377695fbe469bc3823116b9e4e8f498996b9a3
[ "Apache-2.0" ]
null
null
null
defmodule TypeModuleTest do use ExUnit.Case, async: true import Postgrex.TestHelper alias Postgrex, as: P @types TestTypes setup_all do on_exit(fn -> :code.delete(@types) :code.purge(@types) end) opts = [decode_binary: :reference, null: :custom, json: :fake_json] Postgrex.TypeMod...
39.683333
106
0.629987
33feb1152596b75b8d7edc67d17435862f6d9817
2,030
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_big_query_key.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_big_query_key.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_big_query_key.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...
40.6
336
0.755665
33fec2069b8f4f175a315e0d51910643be9c2b79
3,403
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_block.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_block.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_block.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...
39.569767
187
0.704966
33fed0bb5f145698ebd04cbf93d4ffa9cca3d980
1,787
exs
Elixir
clients/sas_portal/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sas_portal/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sas_portal/mix.exs
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...
26.671642
101
0.650252
33fed24112d2e321a8f1afa4e5f1eb2e43f71131
5,228
ex
Elixir
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/model/error_group_stats.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/model/error_group_stats.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/model/error_group_stats.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...
68.789474
676
0.749809
33feed4f2fc8e1d3de87e7901506399032d6f0c7
2,117
ex
Elixir
test/test_helper/udp_server.ex
maciej-szlosarczyk/gelfx
b5b4a04b690794c5a96647c3efd798bbcd019e9a
[ "Apache-2.0" ]
5
2019-06-25T08:15:35.000Z
2021-05-14T07:56:55.000Z
test/test_helper/udp_server.ex
maciej-szlosarczyk/gelfx
b5b4a04b690794c5a96647c3efd798bbcd019e9a
[ "Apache-2.0" ]
5
2020-10-19T08:03:12.000Z
2021-12-08T15:21:55.000Z
test/test_helper/udp_server.ex
maciej-szlosarczyk/gelfx
b5b4a04b690794c5a96647c3efd798bbcd019e9a
[ "Apache-2.0" ]
5
2020-04-02T01:27:46.000Z
2021-11-04T13:10:27.000Z
defmodule TestHelper.UdpServer do @moduledoc false use GenServer defstruct [ :socket, messages: :queue.new(), buffer: %{} ] def pop(server \\ __MODULE__) when is_pid(server) or is_atom(server) do GenServer.call(server, :pop, 1000) end def all(server \\ __MODULE__) when is_pid(server) or...
25.202381
90
0.611242
33feee67e5f7b9ec387bfa48f24e82387ca29211
1,571
ex
Elixir
lib/parklot_rsvp_web/endpoint.ex
egutter/parklot-rsvp
356b71b1a819a6c701cdf3b74e938255199f86e0
[ "MIT" ]
null
null
null
lib/parklot_rsvp_web/endpoint.ex
egutter/parklot-rsvp
356b71b1a819a6c701cdf3b74e938255199f86e0
[ "MIT" ]
3
2018-08-17T23:12:30.000Z
2018-09-18T12:54:57.000Z
lib/parklot_rsvp_web/endpoint.ex
egutter/parklot-rsvp
356b71b1a819a6c701cdf3b74e938255199f86e0
[ "MIT" ]
null
null
null
defmodule ParklotRsvpWeb.Endpoint do use Phoenix.Endpoint, otp_app: :parklot_rsvp socket "/socket", ParklotRsvpWeb.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. ...
28.563636
95
0.707193
33fefcc99bcccce278ded67e012dd2ceadbd1fda
1,656
ex
Elixir
lib/muontrap/options.ex
tverlaan/muontrap
81dee232ccc52a773780d410c0de8ad0f91fd59e
[ "Apache-2.0" ]
null
null
null
lib/muontrap/options.ex
tverlaan/muontrap
81dee232ccc52a773780d410c0de8ad0f91fd59e
[ "Apache-2.0" ]
null
null
null
lib/muontrap/options.ex
tverlaan/muontrap
81dee232ccc52a773780d410c0de8ad0f91fd59e
[ "Apache-2.0" ]
null
null
null
defmodule MuonTrap.Options do @moduledoc false @spec to_args(keyword()) :: {[binary()], keyword()} def to_args(options), do: to_args(options, [], []) defp to_args([], args, opts), do: {args, opts} defp to_args([{:cgroup_controllers, controllers} | rest], args, opts) do new_args = controllers_to_args(co...
29.052632
83
0.628019
33ff0b0bd3692f78c025445f516364e2e6dabe94
10,872
ex
Elixir
clients/games_management/lib/google_api/games_management/v1management/api/events.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/api/events.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/api/events.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...
40.567164
249
0.683499
33ff21f6e6094f3b32d434606f2f240ded5e224c
6,630
ex
Elixir
lib/animu/media/anime/bag/summon.ex
elarkham/animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
1
2018-01-02T06:59:08.000Z
2018-01-02T06:59:08.000Z
lib/animu/media/anime/bag/summon.ex
elarkham/Animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
null
null
null
lib/animu/media/anime/bag/summon.ex
elarkham/Animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
null
null
null
defmodule Animu.Media.Anime.Bag.Summon do @moduledoc """ Fills field values using external APIs such as Kitsu.io """ import Ecto.Changeset import Animu.Util.Schema alias Animu.Media.Anime alias Animu.Media.Anime.{Bag, Episode, Genre} alias Animu.Media.Upload.Image alias Animu.Media.Kitsu alias __M...
25.5
74
0.573303
33ff358e6e9c4124e5c6f2879ee10e924c6c8360
1,993
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_async_batch_annotate_files_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_async_batch_annotate_files_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_async_batch_annotate_files_response.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 ...
33.216667
198
0.752634
33ff9239fec613c988a2b374167852a4b191dd03
2,103
exs
Elixir
samples/formatters.exs
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
636
2016-06-06T07:58:36.000Z
2019-03-19T15:27:37.000Z
samples/formatters.exs
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
198
2016-06-18T08:19:15.000Z
2019-03-19T15:32:37.000Z
samples/formatters.exs
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
43
2016-06-08T08:04:30.000Z
2019-02-13T17:10:24.000Z
list = Enum.to_list(1..10_000) map_fun = fn i -> [i, i * i] end format_fun = fn %{scenarios: scenarios} -> IO.puts("") Enum.each(scenarios, fn scenario -> sample_size = scenario.run_time_data.statistics.sample_size IO.puts("Benchee recorded #{sample_size} run times for #{scenario.job_name}!") end) end ...
31.38806
84
0.586305
33ff968661d3496ea56a324aea9c73cf68e1dd39
600
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20171128082710_add_from_and_to_to_transfers.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_db/priv/repo/migrations/20171128082710_add_from_and_to_to_transfers.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20171128082710_add_from_and_to_to_transfers.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWalletDB.Repo.Migrations.AddFromAndToToTransfers do use Ecto.Migration def change do alter table(:transfer) do add :amount, :decimal, precision: 81, scale: 0, null: false add :minted_token_id, references(:minted_token, type: :uuid) add :from, references(:balance, type: :string, ...
35.294118
66
0.521667
33ffa1acc5c8e2f77f8d192513009be23ac3b196
4,037
ex
Elixir
elx_queue/lib/crawler.ex
bhatti/concurency-katas
e235a71d042cf1093544cc7b878a68f27e653747
[ "MIT" ]
null
null
null
elx_queue/lib/crawler.ex
bhatti/concurency-katas
e235a71d042cf1093544cc7b878a68f27e653747
[ "MIT" ]
null
null
null
elx_queue/lib/crawler.ex
bhatti/concurency-katas
e235a71d042cf1093544cc7b878a68f27e653747
[ "MIT" ]
null
null
null
###------------------------------------------------------------------- ## A fake implementation of web crawler using shared queue ###------------------------------------------------------------------- defmodule Crawler do @max_depth 4 @moduledoc """ Documentation for Crawler. """ ## Client API def start_...
36.7
138
0.655189
33ffdade273c8581b9f6728a9dadd30c6c3de312
2,373
exs
Elixir
test/ex_uuid/impl_test.exs
hrzndhrn/ex_uuid
90059b12135a806ec47538c8009277c38361aed9
[ "MIT" ]
null
null
null
test/ex_uuid/impl_test.exs
hrzndhrn/ex_uuid
90059b12135a806ec47538c8009277c38361aed9
[ "MIT" ]
null
null
null
test/ex_uuid/impl_test.exs
hrzndhrn/ex_uuid
90059b12135a806ec47538c8009277c38361aed9
[ "MIT" ]
null
null
null
defmodule ExUUID.ImplTest do use ExUnit.Case alias ExUUID.Impl @clock_sequence <<253, 14::size(6)>> @node_id <<236, 244, 236, 23, 17, 187>> @timestamp <<30, 181, 107, 83, 231, 63, 72, 8::size(4)>> @hash <<69, 161, 19, 172, 199, 242, 0, 176, 208, 165, 163, 153, 171, 145, 39, 22>> describe "uuid/5" do ...
38.901639
92
0.600927
d500060a95c7b83c04848de21839b06ae9c0cd3f
1,986
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_longrunning__list_operations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_longrunning__list_operations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_longrunning__list_operations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.661017
192
0.749245
d50009d887ba68f6ec06ec29a97f420af90f6568
471
ex
Elixir
lib/erlef_web/plugs/admin.ex
ferd/website
400409d05ba91ff2a84179ed9a769196aee8f564
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/plugs/admin.ex
ferd/website
400409d05ba91ff2a84179ed9a769196aee8f564
[ "Apache-2.0" ]
null
null
null
lib/erlef_web/plugs/admin.ex
ferd/website
400409d05ba91ff2a84179ed9a769196aee8f564
[ "Apache-2.0" ]
null
null
null
defmodule ErlefWeb.Plug.RequiresAdmin do @moduledoc """ ErlefWeb.Plug.RequiresAdmin - Redirects a conn unless the user is an admin """ import Plug.Conn def init(opts), do: opts def call(conn, _opts) do session = get_session(conn, :member_session) case Erlef.Session.normalize(session) do %{...
19.625
76
0.624204
d5000f359e9f4e41244d714805ef159ab0a60284
1,667
ex
Elixir
lib/kerbal_maps_web.ex
CraigCottingham/ksp-maps
ffd81c5e667cf6ca7770e717c736e51489c0c3d3
[ "Apache-2.0" ]
6
2019-01-25T12:07:43.000Z
2021-09-09T20:31:39.000Z
lib/kerbal_maps_web.ex
CraigCottingham/ksp-maps
ffd81c5e667cf6ca7770e717c736e51489c0c3d3
[ "Apache-2.0" ]
144
2019-01-26T02:20:07.000Z
2021-07-21T06:28:23.000Z
lib/kerbal_maps_web.ex
CraigCottingham/ksp-maps
ffd81c5e667cf6ca7770e717c736e51489c0c3d3
[ "Apache-2.0" ]
2
2019-07-31T21:11:00.000Z
2020-04-15T19:51:14.000Z
defmodule KerbalMapsWeb 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 KerbalMapsWeb, :controller use KerbalMapsWeb, :view The definitions below will be executed for every view, con...
23.814286
83
0.695861
d5002c6153872906667365afe1222ba62067359e
319
ex
Elixir
lib/rustler_live_view_toy/supervisor/types/config.ex
supernintendo/rustler_live_view_toy
4faeb662daae4238142d3f560ef22d5cd26bb3c6
[ "Apache-2.0" ]
1
2019-10-07T09:30:16.000Z
2019-10-07T09:30:16.000Z
lib/rustler_live_view_toy/supervisor/types/config.ex
supernintendo/rustler_live_view_toy
4faeb662daae4238142d3f560ef22d5cd26bb3c6
[ "Apache-2.0" ]
2
2021-03-09T19:17:39.000Z
2021-05-10T16:30:30.000Z
lib/rustler_live_view_toy/supervisor/types/config.ex
supernintendo/rustler_live_view_toy
4faeb662daae4238142d3f560ef22d5cd26bb3c6
[ "Apache-2.0" ]
null
null
null
defmodule RustlerLiveViewToy.Supervisor.Config do use TypedStruct typedstruct do field :child_defs, [RustlerLiveViewToy.Supervisor.Child.t()] field :children, [map()], default: [] field :name, Supervisor.name(), enforce: true field :strategy, Supervisor.strategy(), default: :one_for_one end end
29
65
0.730408
d50072d11afd92729c3b831be7d83ef5d53e0a4e
44
ex
Elixir
lib/elixir/test/elixir/fixtures/parallel_deadlock/foo.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/elixir/test/elixir/fixtures/parallel_deadlock/foo.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/fixtures/parallel_deadlock/foo.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
5
2015-02-01T06:01:19.000Z
2019-08-29T09:02:35.000Z
defmodule Foo do Bar.__info__(:macros) end
14.666667
23
0.772727
d5008702f4bcab42dd7a4f67f28f4009621c43aa
608
ex
Elixir
lib/hl7/2.5/segments/pra.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/pra.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/pra.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5.Segments.PRA do @moduledoc false require Logger alias HL7.V2_5.{DataTypes} use HL7.Segment, fields: [ segment: nil, primary_key_value_pra: DataTypes.Ce, practitioner_group: DataTypes.Ce, practitioner_category: nil, provider_billing: nil, specialty: Da...
25.333333
65
0.700658
d500bacb9763c17e6a79b2ee9ac996d0253c4e65
861
ex
Elixir
lib/shex/shexc.ex
rdf-elixir/shex-ex
84100ab3dfcf3988b2b90289a8e4fbeb9f4d1516
[ "MIT" ]
4
2020-06-06T15:09:16.000Z
2021-03-22T19:46:30.000Z
lib/shex/shexc.ex
rdf-elixir/shex-ex
84100ab3dfcf3988b2b90289a8e4fbeb9f4d1516
[ "MIT" ]
null
null
null
lib/shex/shexc.ex
rdf-elixir/shex-ex
84100ab3dfcf3988b2b90289a8e4fbeb9f4d1516
[ "MIT" ]
null
null
null
defmodule ShEx.ShExC do @moduledoc """ Functions for working with the ShExC format. ShExC is the standard-format for the definition of ShEx schemas. See <http://shex.io/shex-primer/> for an introduction. """ @doc """ Reads a `ShEx.Schema` from a string with a ShExC schema definition. Returns an `ok`...
25.323529
97
0.663182