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
7a0d349506323c9a8e56a9266548de304ee3c008
1,647
ex
Elixir
lib/mix/tasks/dialyzer.clean.ex
rbino/dialyzex
07c052b3475dff8965656fc47968b57908c8463e
[ "Apache-2.0" ]
63
2017-11-28T15:51:09.000Z
2020-09-25T03:46:38.000Z
lib/mix/tasks/dialyzer.clean.ex
rbino/dialyzex
07c052b3475dff8965656fc47968b57908c8463e
[ "Apache-2.0" ]
22
2017-11-28T19:27:17.000Z
2021-07-06T15:30:56.000Z
lib/mix/tasks/dialyzer.clean.ex
rbino/dialyzex
07c052b3475dff8965656fc47968b57908c8463e
[ "Apache-2.0" ]
9
2017-11-28T20:36:37.000Z
2021-03-29T04:35:30.000Z
# Copyright 2017 Comcast Cable Communications Management, 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 applica...
27.45
77
0.664845
7a0d9ff195cada192c6c3b6f25fcab171e7172de
1,928
ex
Elixir
lib/ratethedub_web.ex
rushsteve1/RateTheDub
89a8ad8ab42d2a55f1c522ba78dc4ac3a7f84081
[ "Apache-2.0" ]
4
2021-04-26T21:50:45.000Z
2021-04-27T18:37:51.000Z
lib/ratethedub_web.ex
rushsteve1/RateTheDub
89a8ad8ab42d2a55f1c522ba78dc4ac3a7f84081
[ "Apache-2.0" ]
25
2021-04-26T21:39:21.000Z
2021-09-07T13:59:14.000Z
lib/ratethedub_web.ex
rushsteve1/RateTheDub
89a8ad8ab42d2a55f1c522ba78dc4ac3a7f84081
[ "Apache-2.0" ]
null
null
null
defmodule RateTheDubWeb 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 RateTheDubWeb, :controller use RateTheDubWeb, :view The definitions below will be executed for every view, con...
23.512195
76
0.69139
7a0daf512167f378ea69391c17c265ce027e7c68
102
ex
Elixir
assignment_3/lib/vrify/repo.ex
woutdp/assignment-vrify
c022117c87a2fff63f87a594848ecd58738567a0
[ "MIT" ]
null
null
null
assignment_3/lib/vrify/repo.ex
woutdp/assignment-vrify
c022117c87a2fff63f87a594848ecd58738567a0
[ "MIT" ]
null
null
null
assignment_3/lib/vrify/repo.ex
woutdp/assignment-vrify
c022117c87a2fff63f87a594848ecd58738567a0
[ "MIT" ]
null
null
null
defmodule VRIFY.Repo do use Ecto.Repo, otp_app: :vrify, adapter: Ecto.Adapters.Postgres end
17
35
0.715686
7a0ddd7a7ca3885c53acca604ec47bc1a62246d1
2,416
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/create_short_dynamic_link_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/create_short_dynamic_link_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/create_short_dynamic_link_request.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...
44.740741
318
0.762831
7a0e26413e49bbfc6d63e899ace67178cc9216e5
1,160
ex
Elixir
web/channels/user_socket.ex
leolorenzoluis/poll
c1009e0796904414a94ef2e7509f7682d2910abf
[ "Apache-2.0" ]
1
2016-08-05T23:37:29.000Z
2016-08-05T23:37:29.000Z
web/channels/user_socket.ex
leolorenzoluis/poll
c1009e0796904414a94ef2e7509f7682d2910abf
[ "Apache-2.0" ]
null
null
null
web/channels/user_socket.ex
leolorenzoluis/poll
c1009e0796904414a94ef2e7509f7682d2910abf
[ "Apache-2.0" ]
null
null
null
defmodule Poll.UserSocket do use Phoenix.Socket ## Channels channel "eleksyon:*", Poll.PollChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authentica...
30.526316
83
0.700862
7a0e6b6f916647172b7a5a740bf8f328cb3c0fee
2,962
ex
Elixir
lib/xdr/transactions/operation_body.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
lib/xdr/transactions/operation_body.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
lib/xdr/transactions/operation_body.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.OperationBody do @moduledoc """ Representation of Stellar `OperationBody` type. """ alias StellarBase.XDR.{OperationType, Void} alias StellarBase.XDR.Operations.{ CreateAccount, ManageSellOffer, Payment, PathPaymentStrictReceive, PathPaymentStrictSend, Create...
26.684685
73
0.71472
7a0e7cb779f73661bf1ad1a8560c6eb86982b6e0
2,653
ex
Elixir
lib/bolt_sips/internals/pack_stream/decoder.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
lib/bolt_sips/internals/pack_stream/decoder.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
lib/bolt_sips/internals/pack_stream/decoder.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
defmodule Bolt.Sips.Internals.PackStream.Decoder do @moduledoc false _moduledoc = """ This module is responsible for dispatching decoding amongst decoder depending on the used bolt version. Most of the documentation regarding Bolt binary format can be found in `Bolt.Sips.Internals.PackStream.EncoderV1` and...
32.753086
95
0.71127
7a0e7dd15656cf501e9465e65fcd7eb015f7b6ef
1,241
exs
Elixir
bench/bench.exs
GearFlowDev/feedbuilder
25a1cec99b23b5cbe545cfff3c089955cff10bc0
[ "MIT" ]
1
2020-12-06T09:17:38.000Z
2020-12-06T09:17:38.000Z
bench/bench.exs
GearFlowDev/feedbuilder
25a1cec99b23b5cbe545cfff3c089955cff10bc0
[ "MIT" ]
null
null
null
bench/bench.exs
GearFlowDev/feedbuilder
25a1cec99b23b5cbe545cfff3c089955cff10bc0
[ "MIT" ]
1
2021-09-08T21:54:02.000Z
2021-09-08T21:54:02.000Z
defmodule Bench.FastSitemap do use Sitemap def simple(range) do create host: "https://example.com", files_path: Path.join(__DIR__, "fast_sitemap"), public_path: "sitemaps" do for n <- range do add("#{n}", lastmod: DateTime.utc_now()) end end end end defmodule Be...
21.77193
79
0.609992
7a0e88866a0cefe414a56ab79fbccb41027e165d
2,710
ex
Elixir
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/metric.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/metric.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/metric.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...
51.132075
589
0.737269
7a0eb6bfa4b4377351eb8871373e15a7978fc434
751
ex
Elixir
lib/docusign/model/shared_item.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/shared_item.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/shared_item.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule DocuSign.Model.SharedItem do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :errorDetails, :shared, :user ] @t...
22.757576
80
0.671105
7a0eb7b50331a59c033c352b43634b4167144717
9,940
exs
Elixir
lib/mix/test/test_helper.exs
seanmor5/elixir
cfc9039abb3d90d7547ea933e6f0c5cc59ad3e97
[ "Apache-2.0" ]
1
2021-02-22T14:21:02.000Z
2021-02-22T14:21:02.000Z
lib/mix/test/test_helper.exs
seanmor5/elixir
cfc9039abb3d90d7547ea933e6f0c5cc59ad3e97
[ "Apache-2.0" ]
null
null
null
lib/mix/test/test_helper.exs
seanmor5/elixir
cfc9039abb3d90d7547ea933e6f0c5cc59ad3e97
[ "Apache-2.0" ]
null
null
null
Mix.start() Mix.shell(Mix.Shell.Process) Application.put_env(:mix, :colors, enabled: false) Logger.remove_backend(:console) Application.put_env(:logger, :backends, []) os_exclude = if match?({:win32, _}, :os.type()), do: [unix: true], else: [windows: true] epmd_exclude = if match?({:win32, _}, :os.type()), do: [epmd:...
22.590909
88
0.62827
7a0ef1afb139f906395745f68e25cefe532084c5
220
ex
Elixir
lib/elixir_tutorial.ex
hollowbit/trying-out-elixir
604004de23ef8ddd64e578cf883ca26a259e8877
[ "MIT" ]
null
null
null
lib/elixir_tutorial.ex
hollowbit/trying-out-elixir
604004de23ef8ddd64e578cf883ca26a259e8877
[ "MIT" ]
null
null
null
lib/elixir_tutorial.ex
hollowbit/trying-out-elixir
604004de23ef8ddd64e578cf883ca26a259e8877
[ "MIT" ]
null
null
null
defmodule ElixirTutorial do @moduledoc """ Documentation for ElixirTutorial. """ @doc """ Hello world. ## Examples iex> ElixirTutorial.hello() :world """ def hello do :world end end
11.578947
35
0.604545
7a0efb581b0048725f7bd96a67ef9850e7d7718c
29,561
exs
Elixir
apps/omg_watcher/test/omg_watcher/ethereum_event_aggregator_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher/test/omg_watcher/ethereum_event_aggregator_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher/test/omg_watcher/ethereum_event_aggregator_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network 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...
50.618151
1,616
0.705457
7a0f1b9163906cc3079606f206fdc063aa676448
1,652
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/admin_audit_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/admin_audit_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/admin_audit_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.714286
156
0.745763
7a0f39ee5e980392c35243934dae0fb456ded68c
1,585
ex
Elixir
apps/omg_watcher_info/lib/omg_watcher_info/exit_consumer.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_info/lib/omg_watcher_info/exit_consumer.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_info/lib/omg_watcher_info/exit_consumer.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 ...
28.303571
113
0.705363
7a0fbf259e9dd6b8a11686195eaf14bf2772f6f6
311
exs
Elixir
test/decoder_test.exs
ElixiumNetwork/WaspVM
7a313825ed50720256dda6e61e83356621357963
[ "MIT" ]
112
2018-12-14T23:43:38.000Z
2019-03-22T22:02:27.000Z
test/decoder_test.exs
ElixiumNetwork/Elixium-Wasm
7a313825ed50720256dda6e61e83356621357963
[ "MIT" ]
21
2018-12-22T23:53:14.000Z
2019-02-21T00:18:05.000Z
test/decoder_test.exs
ElixiumNetwork/Elixium-Wasm
7a313825ed50720256dda6e61e83356621357963
[ "MIT" ]
4
2019-05-11T16:37:19.000Z
2021-05-18T13:45:06.000Z
defmodule AlchemyVM.DecoderTest do use ExUnit.Case doctest AlchemyVM test "Can decode basic .wasm" do AlchemyVM.Decoder.decode_file("./test/fixtures/wasm/basic_mem_add.wasm") end test "Can decode large .wasm" do AlchemyVM.Decoder.decode_file("./test/fixtures/wasm/blake2b.wasm") end end
20.733333
76
0.742765
7a100063e3b9eae71e8be85ae4409cebbcc67820
4,093
exs
Elixir
test/api_client_mock_server_test.exs
wise-home/wise_homex
851f13191ed67acb1003888c12f4e6b71800d31b
[ "MIT" ]
2
2019-03-14T09:09:14.000Z
2020-11-25T06:44:46.000Z
test/api_client_mock_server_test.exs
wise-home/wise_homex
851f13191ed67acb1003888c12f4e6b71800d31b
[ "MIT" ]
139
2019-03-14T06:58:55.000Z
2022-03-29T12:28:09.000Z
test/api_client_mock_server_test.exs
wise-home/wise_homex
851f13191ed67acb1003888c12f4e6b71800d31b
[ "MIT" ]
7
2021-04-09T13:55:45.000Z
2021-04-16T15:49:36.000Z
defmodule ApiClientMockServerTest do use WiseHomex.Test.Case alias WiseHomex.Test.ApiClientMockServer, as: MockServer setup do start_supervised!(MockServer) :ok end test "it sets and receives a mock value" do opts = %{params: [1, 2, 3, 4], query: %{"hej" => "med_dig"}} MockServer.set( ...
28.034247
108
0.641339
7a10040146ca7620274e381661b8d0af505268e8
176
exs
Elixir
{{cookiecutter.app_name}}/test/{{cookiecutter.app_name}}_web/views/layout_view_test.exs
StephaneRob/cookiecutter-phoenix
c71a01a582fe8d57999d646cea7cbd820a4c73ca
[ "BSD-2-Clause" ]
4
2018-01-16T15:40:04.000Z
2020-01-11T19:34:42.000Z
{{cookiecutter.app_name}}/test/{{cookiecutter.app_name}}_web/views/layout_view_test.exs
StephaneRob/cookiecutter-phoenix
c71a01a582fe8d57999d646cea7cbd820a4c73ca
[ "BSD-2-Clause" ]
4
2018-03-10T14:18:37.000Z
2018-03-13T20:43:06.000Z
{{cookiecutter.app_name}}/test/{{cookiecutter.app_name}}_web/views/layout_view_test.exs
StephaneRob/cookiecutter-phoenix
c71a01a582fe8d57999d646cea7cbd820a4c73ca
[ "BSD-2-Clause" ]
1
2019-10-11T20:52:31.000Z
2019-10-11T20:52:31.000Z
defmodule {{cookiecutter.app_name.split('_')|map('title')|join}}Web.LayoutViewTest do use {{cookiecutter.app_name.split('_')|map('title')|join}}Web.ConnCase, async: true end
44
85
0.738636
7a1014e59ebff35a2dca4e7ca032fa8caa3424a9
865
ex
Elixir
lib/plausible_web/views/site_view.ex
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
1
2020-10-08T13:33:04.000Z
2020-10-08T13:33:04.000Z
lib/plausible_web/views/site_view.ex
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
null
null
null
lib/plausible_web/views/site_view.ex
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
null
null
null
defmodule PlausibleWeb.SiteView do use PlausibleWeb, :view def admin_email do Application.get_env(:plausible, :admin_email) end def plausible_url do PlausibleWeb.Endpoint.url() end def base_domain() do PlausibleWeb.Endpoint.host() end def goal_name(%Plausible.Goal{page_path: page_path}) ...
21.097561
83
0.657803
7a1030b102d9010e33afdde0282592efda9b5465
1,821
ex
Elixir
lib/riak_pool/worker.ex
FlyNYCMeter/riak_pool
4ff7f4382cd2916c02e77347ebf83d81eeb4bdf0
[ "MIT" ]
3
2015-02-26T21:04:40.000Z
2020-07-26T20:26:51.000Z
lib/riak_pool/worker.ex
FlyNYCMeter/riak_pool
4ff7f4382cd2916c02e77347ebf83d81eeb4bdf0
[ "MIT" ]
null
null
null
lib/riak_pool/worker.ex
FlyNYCMeter/riak_pool
4ff7f4382cd2916c02e77347ebf83d81eeb4bdf0
[ "MIT" ]
2
2015-02-26T21:28:17.000Z
2020-07-26T10:31:44.000Z
defmodule RiakPool.Worker do use GenServer.Behaviour @behaviour :poolboy_worker defrecord(State, connection: :undefined, address: :undefined, port: :undefined, options: [], timer: :undefined ) def start_link([address, port, options]) do :gen_server.start_link(__MODU...
26.391304
86
0.672707
7a10470f6796fa1197cfa75bd04147d6a9001cec
288
ex
Elixir
test/fixtures/elixir/post_quotes_inside_data.ex
csperando/curlconverter
733f110e5621375701f4424299ccd72e669876f6
[ "MIT" ]
536
2021-10-06T17:21:25.000Z
2022-03-31T13:05:48.000Z
test/fixtures/elixir/post_quotes_inside_data.ex
csperando/curlconverter
733f110e5621375701f4424299ccd72e669876f6
[ "MIT" ]
74
2021-10-08T13:57:14.000Z
2022-03-31T06:55:39.000Z
test/fixtures/elixir/post_quotes_inside_data.ex
csperando/curlconverter
733f110e5621375701f4424299ccd72e669876f6
[ "MIT" ]
104
2021-10-06T19:36:15.000Z
2022-03-31T07:34:04.000Z
request = %HTTPoison.Request{ method: :post, url: "http://localhost:28139", options: [], headers: [ {~s|Content-Type|, ~s|application/x-www-form-urlencoded|}, ], params: [], body: [ {~s|field|, ~s|don't you like quotes|} ] } response = HTTPoison.request(request)
19.2
62
0.607639
7a10965ae5c853faaf49c992c19f0f2b4eb92283
1,103
ex
Elixir
test/support/conn_case.ex
obahareth/has-my-gsuite-been-pwned
03762027e94c16fc939ec6a7174b13f2a622d456
[ "MIT" ]
4
2018-09-21T19:41:02.000Z
2019-06-12T04:40:42.000Z
test/support/conn_case.ex
obahareth/has-my-gsuite-been-pwned
03762027e94c16fc939ec6a7174b13f2a622d456
[ "MIT" ]
9
2018-10-05T15:02:33.000Z
2018-10-30T03:12:50.000Z
test/support/conn_case.ex
obahareth/has-my-gsuite-been-pwned
03762027e94c16fc939ec6a7174b13f2a622d456
[ "MIT" ]
1
2018-10-06T15:46:15.000Z
2018-10-06T15:46:15.000Z
defmodule HasMyGsuiteBeenPwnedWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Fi...
28.282051
82
0.736174
7a10e2a6501bd53f0a3b5e7c8adcd33c4a764a3e
1,534
exs
Elixir
unsilo/priv/repo/migrations/20190222033410_create_feeds.exs
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
1
2019-03-21T02:43:06.000Z
2019-03-21T02:43:06.000Z
unsilo/priv/repo/migrations/20190222033410_create_feeds.exs
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
3
2021-03-09T01:43:16.000Z
2022-02-10T17:04:55.000Z
unsilo/priv/repo/migrations/20190222033410_create_feeds.exs
TehSnappy/unsilo_elixir
d0dd592dee71ed5b994ac08cd347aa357d5845f4
[ "MIT" ]
null
null
null
defmodule Unsilo.Repo.Migrations.CreateFeeds do use Ecto.Migration def change do create table(:rivers) do add :name, :string add :user_id, :integer add :sleep_time, :integer add :access, :integer, default: 0 add :sort_order, :integer, default: 0 timestamps() end cr...
21.914286
61
0.599087
7a10e965a22fa6d036072acc16162f55827534f4
201
exs
Elixir
lib/mix/test/fixtures/only_deps/mix.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/mix/test/fixtures/only_deps/mix.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/test/fixtures/only_deps/mix.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
defmodule OnlyDeps.Mix do use Mix.Project def project do [app: :only_deps, version: "0.1.0", deps: [{:git_repo, git: MixTest.Case.fixture_path("git_repo"), only: :other_env}] ] end end
22.333333
88
0.666667
7a10f1543cd909776cdd125f0f031b361dd155f4
578
ex
Elixir
demo/sitBRU_Demo/web/router.ex
ceedee666/sitbru_2016
b23b4a81a1daec87801c6435ff04d32be043e0b9
[ "MIT" ]
null
null
null
demo/sitBRU_Demo/web/router.ex
ceedee666/sitbru_2016
b23b4a81a1daec87801c6435ff04d32be043e0b9
[ "MIT" ]
null
null
null
demo/sitBRU_Demo/web/router.ex
ceedee666/sitbru_2016
b23b4a81a1daec87801c6435ff04d32be043e0b9
[ "MIT" ]
null
null
null
defmodule SitBRU_Demo.Router do use SitBRU_Demo.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", SitBRU_Demo do ...
19.266667
57
0.678201
7a1110a9e3921541d5e8d1a6561a09d78abf29a7
1,770
exs
Elixir
mix.exs
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
mix.exs
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
mix.exs
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
defmodule Top5.MixProject do use Mix.Project def project do [ app: :top5, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases()...
27.230769
80
0.547458
7a111803dcefcde5793248d63110f16b20ead6d0
4,350
ex
Elixir
lib/cadet_web/controllers/incentives_controller.ex
jiayushe/cadet
66d1ac2a67d891798092c89addbbfe7272de5775
[ "Apache-2.0" ]
null
null
null
lib/cadet_web/controllers/incentives_controller.ex
jiayushe/cadet
66d1ac2a67d891798092c89addbbfe7272de5775
[ "Apache-2.0" ]
10
2022-02-24T17:57:38.000Z
2022-03-31T07:43:05.000Z
lib/cadet_web/controllers/incentives_controller.ex
tsiyuk/cadet
66d1ac2a67d891798092c89addbbfe7272de5775
[ "Apache-2.0" ]
1
2019-07-17T15:51:58.000Z
2019-07-17T15:51:58.000Z
defmodule CadetWeb.IncentivesController do use CadetWeb, :controller use PhoenixSwagger alias Cadet.Incentives.{Achievements, Goals} def index_achievements(conn, _) do render(conn, "index_achievements.json", achievements: Achievements.get()) end def index_goals(conn, _) do render(conn, "index_go...
21.75
77
0.455402
7a1131fb7da9bab280cafa2a69dd0beca1aa0585
1,661
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/thumbnail.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/thumbnail.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/thumbnail.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...
31.339623
98
0.698374
7a113d52f47b2f22db0c4ef52a5f36cc818ad4d2
298
ex
Elixir
lib/otp_applications_3/lib/otp_applications_3/application.ex
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
null
null
null
lib/otp_applications_3/lib/otp_applications_3/application.ex
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
1
2020-01-28T00:19:53.000Z
2020-01-28T00:19:53.000Z
lib/otp_applications_3/lib/otp_applications_3/application.ex
mikan/elixir-practice
624525605eb2324e0c55a4ddcb68388c0d2ecefc
[ "Apache-2.0" ]
null
null
null
defmodule OTPApplications3.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, initial_number) do {:ok, _pid} = OTPApplications3.Supervisor.start_link(initial_number) end end
24.833333
72
0.771812
7a11731fa0b395a9b0c4e7ae60a50d9191138606
11,284
exs
Elixir
test/dark_ecto/projections/typespecs_test.exs
dark-elixir/dark_ecto
006a52e6d1a807e8f3c0f00a29780dc2967e57d9
[ "Apache-2.0" ]
null
null
null
test/dark_ecto/projections/typespecs_test.exs
dark-elixir/dark_ecto
006a52e6d1a807e8f3c0f00a29780dc2967e57d9
[ "Apache-2.0" ]
null
null
null
test/dark_ecto/projections/typespecs_test.exs
dark-elixir/dark_ecto
006a52e6d1a807e8f3c0f00a29780dc2967e57d9
[ "Apache-2.0" ]
null
null
null
defmodule DarkEcto.Projections.TypespecsTest do @moduledoc """ Test for `DarkEcto.Projections.Typespecs` """ use ExUnit.Case, async: true alias DarkEcto.Projections.Typespecs alias DarkEcto.Reflections.EctoSchemaFields describe ".cast/1" do test "with ExampleEctoSchema" do schema = ExampleEct...
36.875817
92
0.457107
7a117b981b3a627a4d108806545d770ccd71cadb
1,617
exs
Elixir
mix.exs
trax-retail/gen_queue_oban
abe6c8cc1a130723657b7cac933d0ee1556e7f7b
[ "MIT" ]
2
2020-07-28T22:18:13.000Z
2020-07-30T12:54:20.000Z
mix.exs
Trax-retail/gen_queue_oban
abe6c8cc1a130723657b7cac933d0ee1556e7f7b
[ "MIT" ]
null
null
null
mix.exs
Trax-retail/gen_queue_oban
abe6c8cc1a130723657b7cac933d0ee1556e7f7b
[ "MIT" ]
null
null
null
defmodule GenQueueTaskBunny.MixProject do use Mix.Project @project_url "https://github.com/Trax-retail/gen_queue_oban" @version "0.2.0" def project do [ app: :gen_queue_oban, version: @version, elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), descrip...
21.276316
65
0.572665
7a11bfd28b3d576181e7b5a63681aa5e6df63bfd
758
exs
Elixir
mix.exs
satom99/lager_logger
323c00ecf5483fc762bfebbd8216c3b163047a2c
[ "Apache-2.0" ]
null
null
null
mix.exs
satom99/lager_logger
323c00ecf5483fc762bfebbd8216c3b163047a2c
[ "Apache-2.0" ]
null
null
null
mix.exs
satom99/lager_logger
323c00ecf5483fc762bfebbd8216c3b163047a2c
[ "Apache-2.0" ]
null
null
null
defmodule LagerLogger.Mixfile do use Mix.Project def project do [app: :lager_logger, version: "1.0.5", elixir: "~> 1.9", package: package(), description: description(), deps: deps()] end defp package do [maintainers: ["Martin Schurrer", "James Fish"], licenses: ["Apache 2...
19.947368
85
0.580475
7a11f6fbdabc3da793ec407b9fc4489cc215972a
349
ex
Elixir
lib/inmana/restaurants/create.ex
alexfariac/inmana
8ff51040c7c4902ef7a62b129373e5cad054c275
[ "MIT" ]
null
null
null
lib/inmana/restaurants/create.ex
alexfariac/inmana
8ff51040c7c4902ef7a62b129373e5cad054c275
[ "MIT" ]
null
null
null
lib/inmana/restaurants/create.ex
alexfariac/inmana
8ff51040c7c4902ef7a62b129373e5cad054c275
[ "MIT" ]
null
null
null
defmodule Inmana.Restaurants.Create do alias Inmana.{Repo, Restaurant} def call(params) do params |> Restaurant.changeset() |> Repo.insert() |> handle_insert() end def handle_insert({:ok, %Restaurant{}} = result), do: result def handle_insert({:error, result}), do: {:error, %{result: result...
23.266667
92
0.667622
7a12178e225eff0ff67ed0e56fb90a78af3c4164
253
exs
Elixir
priv/repo/migrations/20150406013222_add-first_name-and-last_name-to-users.exs
aortbals/chatter
a0ac7af7a8bca66d183b0f51320f269066171199
[ "MIT" ]
null
null
null
priv/repo/migrations/20150406013222_add-first_name-and-last_name-to-users.exs
aortbals/chatter
a0ac7af7a8bca66d183b0f51320f269066171199
[ "MIT" ]
null
null
null
priv/repo/migrations/20150406013222_add-first_name-and-last_name-to-users.exs
aortbals/chatter
a0ac7af7a8bca66d183b0f51320f269066171199
[ "MIT" ]
null
null
null
defmodule :"Elixir.Chatter.Repo.Migrations.Add-firstName-and-lastName-to-users" do use Ecto.Migration def change do alter table(:users) do add :first_name, :string, null: false add :last_name, :string, null: false end end end
23
82
0.695652
7a12191f306c94d01690ad9399e08367e205478e
649
ex
Elixir
web/models/room.ex
Poniverse/LunaTube-API
433473f32ec04a636f6de60642e445fd2e478f98
[ "Apache-2.0" ]
null
null
null
web/models/room.ex
Poniverse/LunaTube-API
433473f32ec04a636f6de60642e445fd2e478f98
[ "Apache-2.0" ]
null
null
null
web/models/room.ex
Poniverse/LunaTube-API
433473f32ec04a636f6de60642e445fd2e478f98
[ "Apache-2.0" ]
null
null
null
defmodule Lunatube.Room do use Lunatube.Web, :model schema "rooms" do field :name, :string field :last_state_at, Timex.Ecto.DateTime field :last_state_offset, :integer field :last_known_state, :map belongs_to :owner, Lunatube.Owner timestamps() end @doc """ Builds a changeset based ...
24.961538
75
0.670262
7a121d3e730c4eeef8f67f1f8ba8460b0e93bd7e
2,401
exs
Elixir
test/notification_test.exs
keichan34/postgrex
f90d87b6b3b0171673c935a70369e0734b09ddbb
[ "Apache-2.0" ]
null
null
null
test/notification_test.exs
keichan34/postgrex
f90d87b6b3b0171673c935a70369e0734b09ddbb
[ "Apache-2.0" ]
null
null
null
test/notification_test.exs
keichan34/postgrex
f90d87b6b3b0171673c935a70369e0734b09ddbb
[ "Apache-2.0" ]
null
null
null
defmodule NotificationTest do use ExUnit.Case, async: true import Postgrex.TestHelper alias Postgrex.Connection, as: P setup do opts = [ database: "postgrex_test" ] {:ok, pid} = P.start_link(opts) {:ok, pid2} = P.start_link(opts) {:ok, [pid: pid, pid2: pid2]} end test "listening", context...
33.347222
109
0.645981
7a126d5411c243597bf20af5e93e441dd226bbc2
3,204
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/product_search_params.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/product_search_params.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/product_search_params.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.890411
156
0.711298
7a129c0e0dd331b82e9ecfeb57f8d5bf103509e1
122,628
ex
Elixir
clients/game_services/lib/google_api/game_services/v1/api/projects.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1/api/projects.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/game_services/lib/google_api/game_services/v1/api/projects.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
46.608894
607
0.622019
7a12be789a85302d894953f925732c77d621b830
429
exs
Elixir
mindcrunch/test/mindcrunch_web/views/error_view_test.exs
dtangster/cmpe210-project
bdc482e6dde315316d9aa05d13be7b0fe6959786
[ "MIT" ]
null
null
null
mindcrunch/test/mindcrunch_web/views/error_view_test.exs
dtangster/cmpe210-project
bdc482e6dde315316d9aa05d13be7b0fe6959786
[ "MIT" ]
null
null
null
mindcrunch/test/mindcrunch_web/views/error_view_test.exs
dtangster/cmpe210-project
bdc482e6dde315316d9aa05d13be7b0fe6959786
[ "MIT" ]
null
null
null
defmodule MindcrunchWeb.ErrorViewTest do use MindcrunchWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(MindcrunchWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" ...
28.6
95
0.741259
7a12ffe0f2e7a9ab8e1bb9c51ac6b7260c8c752b
1,225
ex
Elixir
agma/lib/agma_web/endpoint.ex
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
37
2021-01-31T17:43:03.000Z
2021-11-17T12:29:00.000Z
lib/agma_web/endpoint.ex
queer/agma
f240a7bdf743049b8b1b994ee340b6cce47551bf
[ "BSD-3-Clause" ]
4
2021-05-29T04:54:28.000Z
2021-06-26T20:40:48.000Z
lib/agma_web/endpoint.ex
queer/agma
f240a7bdf743049b8b1b994ee340b6cce47551bf
[ "BSD-3-Clause" ]
null
null
null
defmodule AgmaWeb.Endpoint do use Phoenix.Endpoint, otp_app: :agma # 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: "_agma_key", ...
26.630435
63
0.701224
7a1309dc2329a4650da59528a114d116a870069b
261
exs
Elixir
priv/repo/migrations/20210819074800_drop_old_corporate_related_tables.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
7
2021-07-14T15:45:55.000Z
2022-01-25T11:13:01.000Z
priv/repo/migrations/20210819074800_drop_old_corporate_related_tables.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
10
2021-08-09T15:54:05.000Z
2022-02-17T04:18:38.000Z
priv/repo/migrations/20210819074800_drop_old_corporate_related_tables.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
5
2021-07-23T05:54:35.000Z
2022-01-28T04:14:51.000Z
defmodule Basic.Repo.Migrations.DropOldCorporateRelatedTables do use Ecto.Migration def change do drop_if_exists table(:corporates) drop_if_exists table(:agencies) drop_if_exists table(:distributors) drop_if_exists table(:grants) end end
23.727273
64
0.781609
7a131f031eb3cb95ccaaebf03469c77d1a0ceb5c
551
ex
Elixir
lib/multi_tenancex_web/auth/auth_pipeline.ex
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
30
2018-06-27T17:51:53.000Z
2021-04-24T03:17:55.000Z
lib/multi_tenancex_web/auth/auth_pipeline.ex
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
null
null
null
lib/multi_tenancex_web/auth/auth_pipeline.ex
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
7
2018-07-24T17:56:14.000Z
2019-12-31T02:10:13.000Z
defmodule MultiTenancexWeb.Guardian.AuthPipeline do use Guardian.Plug.Pipeline, otp_app: :multi_tenancex, module: MultiTenancex.Guardian, error_handler: MultiTenancex.Guardian.AuthErrorHandler # If there is a session token, validate it plug(Guardian.Plug.VerifySession, claims: %{"typ" => "access"}) ...
39.357143
65
0.754991
7a1335eba7177f480952fadd240d19764dfcbba7
1,351
ex
Elixir
pump-controller/lib/pump-controller/application.ex
GabrielaMafra/pump-station
85cf8145b271f074d412d89c0492e5a877b33071
[ "MIT" ]
1
2021-07-20T21:58:57.000Z
2021-07-20T21:58:57.000Z
pump-controller/lib/pump-controller/application.ex
GabrielaMafra/pump-station
85cf8145b271f074d412d89c0492e5a877b33071
[ "MIT" ]
null
null
null
pump-controller/lib/pump-controller/application.ex
GabrielaMafra/pump-station
85cf8145b271f074d412d89c0492e5a877b33071
[ "MIT" ]
1
2021-10-10T08:43:53.000Z
2021-10-10T08:43:53.000Z
defmodule PumpController.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application require Tortoise require Logger require WaterPump def start(_type, _args) do import Supervisor.Spec, warn: false children = [ ...
24.563636
96
0.601036
7a13503bf4a252e58c512ada770a56c0e4433845
1,244
exs
Elixir
rocketpay/config/config.exs
W8jonas/estudos
b8f07bfd1890d94ff74c77adba1e033b4f0edd54
[ "MIT" ]
11
2021-01-26T03:13:16.000Z
2021-08-14T01:28:07.000Z
rocketpay/config/config.exs
W8jonas/estudos
b8f07bfd1890d94ff74c77adba1e033b4f0edd54
[ "MIT" ]
4
2021-01-26T07:27:37.000Z
2021-01-26T07:31:18.000Z
rocketpay/config/config.exs
W8jonas/estudos
b8f07bfd1890d94ff74c77adba1e033b4f0edd54
[ "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 :rocketpay, ecto_repos: [Rocketpay.Repo...
29.619048
86
0.766881
7a136c101694ecaaf8dc71b78a0cf39f88e8f7b2
1,454
ex
Elixir
test/support/test_helper.ex
Hihaheho-Studios/Cizen
09ba3c66aa11d0db913ffde804509bc7bef80db9
[ "MIT" ]
null
null
null
test/support/test_helper.ex
Hihaheho-Studios/Cizen
09ba3c66aa11d0db913ffde804509bc7bef80db9
[ "MIT" ]
null
null
null
test/support/test_helper.ex
Hihaheho-Studios/Cizen
09ba3c66aa11d0db913ffde804509bc7bef80db9
[ "MIT" ]
null
null
null
defmodule Cizen.TestHelper do @moduledoc false import ExUnit.Assertions, only: [flunk: 0] import ExUnit.Callbacks, only: [on_exit: 1] alias Cizen.{Dispatcher, Pattern} alias Cizen.Saga alias Cizen.SagaID alias Cizen.TestSaga require Pattern def launch_test_saga(opts \\ []) do saga_id = SagaID.n...
21.382353
90
0.55227
7a1373fe2c0780bc5bf8f6110720c5f944a4a637
167,268
ex
Elixir
lib/elixir/lib/kernel.ex
helloausrine/elixir
c777db129101e0dce1528f7cfb545d36a6cff09c
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
helloausrine/elixir
c777db129101e0dce1528f7cfb545d36a6cff09c
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
helloausrine/elixir
c777db129101e0dce1528f7cfb545d36a6cff09c
[ "Apache-2.0" ]
null
null
null
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixir_bootstrap defmodul...
27.052887
116
0.632966
7a1389229e91827a7be11b85ab76e0d95ea688ce
1,508
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_refresh_consumer_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_refresh_consumer_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_refresh_consumer_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 ...
32.782609
97
0.777851
7a139796b144777136099af46ca800b3310cb2af
2,560
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/auto_install_policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/auto_install_policy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/auto_install_policy.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...
41.967213
336
0.737109
7a13dac14228f38bd1c1faa51008a35125f465b7
6,392
ex
Elixir
lib/goth/client.ex
TeachersPayTeachers/goth
8b6f974af2c6973f0d096112a57f7a8e631858dc
[ "MIT" ]
null
null
null
lib/goth/client.ex
TeachersPayTeachers/goth
8b6f974af2c6973f0d096112a57f7a8e631858dc
[ "MIT" ]
null
null
null
lib/goth/client.ex
TeachersPayTeachers/goth
8b6f974af2c6973f0d096112a57f7a8e631858dc
[ "MIT" ]
null
null
null
defmodule Goth.Client do alias Goth.Config alias Goth.Token @moduledoc """ `Goth.Client` is the module through which all interaction with Google's APIs flows. For the most part, you probably don't want to use this module directly, but instead use the other modules that cache and wrap the underlying API cal...
34.181818
117
0.670682
7a13e6992cd80870279507280fc444f428e9ffd4
1,600
ex
Elixir
apps/ewallet/lib/ewallet/permissions/bouncer/targets/user_target.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/lib/ewallet/permissions/bouncer/targets/user_target.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/lib/ewallet/permissions/bouncer/targets/user_target.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
32
79
0.735
7a140db760f05c96ef4cafefdb8de6babb175e31
2,295
ex
Elixir
golf13/deps/ecto/lib/ecto/query/builder/dynamic.ex
RobertDober/golftour
1a1187ef46be99532b41a08801c10541a9a84ab1
[ "Apache-2.0" ]
null
null
null
golf13/deps/ecto/lib/ecto/query/builder/dynamic.ex
RobertDober/golftour
1a1187ef46be99532b41a08801c10541a9a84ab1
[ "Apache-2.0" ]
null
null
null
golf13/deps/ecto/lib/ecto/query/builder/dynamic.ex
RobertDober/golftour
1a1187ef46be99532b41a08801c10541a9a84ab1
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [apply: 2] defmodule Ecto.Query.Builder.Dynamic do @moduledoc false alias Ecto.Query.Builder @doc """ Builds a dynamic expression. """ @spec build([Macro.t], Macro.t, Macro.Env.t) :: Macro.t def build(binding, expr, env) do {query, vars} = Builder.escape_binding(quote(do: que...
34.772727
94
0.596514
7a1429a4b8c2988b80be31ae0319eb36d2c156cb
272
ex
Elixir
lib/credo_demo_plugin/commands/demo_command.ex
Madumo/credo_demo_plugin
7e746666e8412388a8d351c7fc2a3a4bab3cf788
[ "MIT" ]
null
null
null
lib/credo_demo_plugin/commands/demo_command.ex
Madumo/credo_demo_plugin
7e746666e8412388a8d351c7fc2a3a4bab3cf788
[ "MIT" ]
null
null
null
lib/credo_demo_plugin/commands/demo_command.ex
Madumo/credo_demo_plugin
7e746666e8412388a8d351c7fc2a3a4bab3cf788
[ "MIT" ]
null
null
null
defmodule CredoDemoPlugin.DemoCommand do @moduledoc false alias Credo.CLI.Output.UI alias Credo.Execution def call(exec, _) do castle = Execution.get_plugin_param(exec, CredoDemoPlugin, :castle) UI.puts("By the power of #{castle}!") exec end end
18.133333
71
0.716912
7a1453ca50860f826b7cbe0a44ecb120085cd30b
7,766
ex
Elixir
lib/slackin_ex/slack.ex
deadtrickster/slackin_ex
a3584eb51a9bc2a7ff193e313fa6c1ebdf4bccab
[ "MIT" ]
null
null
null
lib/slackin_ex/slack.ex
deadtrickster/slackin_ex
a3584eb51a9bc2a7ff193e313fa6c1ebdf4bccab
[ "MIT" ]
null
null
null
lib/slackin_ex/slack.ex
deadtrickster/slackin_ex
a3584eb51a9bc2a7ff193e313fa6c1ebdf4bccab
[ "MIT" ]
null
null
null
defmodule SlackinEx.Slack do alias SlackinEx.Config require Logger @moduledoc """ Common Fuse for network/Slack 500 if invite returns rate-limit: notify user and show global unavailable alert show "please retry after @retry seconds" if stat returns rate-limit: just hide stat from page [optionall...
28.24
130
0.580994
7a145ca14d038fe7910797412e098bb33c4dec38
141
ex
Elixir
phoenix/budgets/lib/budgets_web/controllers/page_controller.ex
stevenjackson/jacksonbudget
b1c0189684829f5be13155726ce156f1fccbc8fe
[ "MIT" ]
null
null
null
phoenix/budgets/lib/budgets_web/controllers/page_controller.ex
stevenjackson/jacksonbudget
b1c0189684829f5be13155726ce156f1fccbc8fe
[ "MIT" ]
null
null
null
phoenix/budgets/lib/budgets_web/controllers/page_controller.ex
stevenjackson/jacksonbudget
b1c0189684829f5be13155726ce156f1fccbc8fe
[ "MIT" ]
null
null
null
defmodule BudgetsWeb.PageController do use BudgetsWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
17.625
38
0.737589
7a1464ae97d591e919f47f6c5ac42c9ae6e53d2d
549
exs
Elixir
lib/euler_010.exs
sorentwo/euler
76244a0ef3dcfa17d6b9571daa5d0b46f09057f4
[ "MIT" ]
8
2015-11-04T05:03:05.000Z
2022-01-25T19:34:46.000Z
lib/euler_010.exs
sorentwo/euler
76244a0ef3dcfa17d6b9571daa5d0b46f09057f4
[ "MIT" ]
null
null
null
lib/euler_010.exs
sorentwo/euler
76244a0ef3dcfa17d6b9571daa5d0b46f09057f4
[ "MIT" ]
null
null
null
defmodule EulerTen do @doc """ The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. """ def solve(n // 2_000_000) do sequence |> Stream.filter(&prime?/1) |> Stream.take_while(&1 < n) |> Enum.reduce(0, &1 + &2) end def sequence do ...
21.96
69
0.571949
7a149ef35311a81b651d4e66afa8ce3ee5f848b5
220
exs
Elixir
priv/repo/migrations/20170826042942_add_slugs_to_events.exs
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
2
2017-10-06T01:14:35.000Z
2017-11-18T16:44:44.000Z
priv/repo/migrations/20170826042942_add_slugs_to_events.exs
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
6
2017-10-06T00:04:59.000Z
2017-10-06T00:09:27.000Z
priv/repo/migrations/20170826042942_add_slugs_to_events.exs
apps-team/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
1
2017-10-06T01:17:35.000Z
2017-10-06T01:17:35.000Z
defmodule CommunityTools.Repo.Migrations.AddSlugsToEvents do use Ecto.Migration def change do alter table(:events) do add :slug, :string end create index(:events, [:slug], unique: true) end end
18.333333
60
0.695455
7a14cc2e021d0adc051aa66cb9bc05869419e16b
146
exs
Elixir
priv/repo/migrations/20190903151524_add_unique_index_on_vins.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
2,602
2019-07-24T23:19:12.000Z
2022-03-31T15:03:48.000Z
priv/repo/migrations/20190903151524_add_unique_index_on_vins.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
1,547
2019-07-26T22:02:09.000Z
2022-03-31T15:39:41.000Z
priv/repo/migrations/20190903151524_add_unique_index_on_vins.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
524
2019-07-26T17:31:33.000Z
2022-03-29T15:16:36.000Z
defmodule TeslaMate.Repo.Migrations.AddUniqueIndexOnVins do use Ecto.Migration def change do create(unique_index(:cars, :vin)) end end
18.25
59
0.767123
7a14f91a4b08219bd6bc53c907981b20650d3c9c
6,313
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_pool.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_pool.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_pool.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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...
67.88172
490
0.718359
7a1544eb2c2ebd00fdb304d081fbbfd5c32f5b70
3,703
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_dataset.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_dataset.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_dataset.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...
45.158537
298
0.711315
7a158a1f378fd030086056ef3707a950ad7c3da9
2,507
ex
Elixir
lib/monad/state.ex
rob-brown/MonadEx
a8b15e3207c0efa53749c4574496da70a6ca8f9d
[ "MIT" ]
325
2015-03-03T01:44:05.000Z
2022-03-25T20:29:58.000Z
lib/monad/state.ex
rob-brown/MonadEx
a8b15e3207c0efa53749c4574496da70a6ca8f9d
[ "MIT" ]
11
2015-05-29T13:33:20.000Z
2021-05-11T13:48:14.000Z
lib/monad/state.ex
rob-brown/MonadEx
a8b15e3207c0efa53749c4574496da70a6ca8f9d
[ "MIT" ]
17
2015-04-18T09:46:50.000Z
2019-11-12T21:28:21.000Z
defmodule Monad.State do @moduledoc """ Like `Monad.Reader`, the state monad can share an environment between different operations. Additionally, it can store an arbitrary value. ## Example iex> use Monad.Operators iex> env = %{dev: %{url: "http://www.example.com/dev"}, prod: %{url: "https://www.e...
28.488636
107
0.54288
7a15b57c7461e9d6104cb39e0195fc9ecef2d93e
1,932
ex
Elixir
lib/parser/time.ex
dbernheisel/date_time_parser
53378ccfb5938c304a18fd62b1f288ab94dd5446
[ "MIT" ]
73
2019-07-26T19:48:10.000Z
2022-03-23T10:01:34.000Z
lib/parser/time.ex
dbernheisel/date_time_parser
53378ccfb5938c304a18fd62b1f288ab94dd5446
[ "MIT" ]
23
2019-08-28T22:08:32.000Z
2021-06-14T19:33:18.000Z
lib/parser/time.ex
dbernheisel/date_time_parser
53378ccfb5938c304a18fd62b1f288ab94dd5446
[ "MIT" ]
9
2019-08-01T22:42:20.000Z
2022-02-15T19:02:50.000Z
defmodule DateTimeParser.Parser.Time do @moduledoc """ Tokenizes the string for time elements. This will also attempt to extract the time out of the string first before tokenizing to reduce noise in an attempt to be more accurate. For example, ```elixir iex> DateTimeParser.parse_time("Hello Johnny 5, it's 9:...
30.666667
96
0.646998
7a15c913bb195df079a48d8a16b2cd43d3cd3313
1,362
ex
Elixir
test/intercepted_modules/do_block/intercepted_by_wrapper.ex
filipecabaco/interceptor
e108946d3909d9ceffb2ab9406c5534fa6dcad28
[ "MIT" ]
40
2018-09-30T13:39:20.000Z
2022-01-07T12:47:45.000Z
test/intercepted_modules/do_block/intercepted_by_wrapper.ex
filipecabaco/interceptor
e108946d3909d9ceffb2ab9406c5534fa6dcad28
[ "MIT" ]
6
2019-02-17T22:21:17.000Z
2021-04-26T21:47:59.000Z
test/intercepted_modules/do_block/intercepted_by_wrapper.ex
filipecabaco/interceptor
e108946d3909d9ceffb2ab9406c5534fa6dcad28
[ "MIT" ]
5
2020-05-16T00:31:45.000Z
2021-07-16T13:39:05.000Z
defmodule Wrapper.Callback do def wrap_returns_result({_module, _function, _args} = mfa, lambda) do result = lambda.() Agent.update(:wrapper_test_process, fn messages -> [{Interceptor.Utils.timestamp(), result, mfa} | messages] end) result end def wrap_returns_hello({_module, _f...
21.619048
71
0.695301
7a15c9621799309e5f6c4b0829986375e3209922
1,602
ex
Elixir
lib/blog_api_web.ex
ivoferro/CSIAN_Blog_Management
ad95a7e479090adb04c80e1fc635a400b3aa69c2
[ "MIT" ]
null
null
null
lib/blog_api_web.ex
ivoferro/CSIAN_Blog_Management
ad95a7e479090adb04c80e1fc635a400b3aa69c2
[ "MIT" ]
null
null
null
lib/blog_api_web.ex
ivoferro/CSIAN_Blog_Management
ad95a7e479090adb04c80e1fc635a400b3aa69c2
[ "MIT" ]
null
null
null
defmodule BlogApiWeb 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 BlogApiWeb, :controller use BlogApiWeb, :view The definitions below will be executed for every view, controller, ...
23.558824
69
0.686642
7a15cbc4625d8e53059df10e7619f017b86c725d
1,096
ex
Elixir
auto_hangman/lib/auto_hangman/player.ex
Greenheart/elixir-hangman
1f4f652e212be318de97660ea405b7588c899be8
[ "MIT" ]
null
null
null
auto_hangman/lib/auto_hangman/player.ex
Greenheart/elixir-hangman
1f4f652e212be318de97660ea405b7588c899be8
[ "MIT" ]
null
null
null
auto_hangman/lib/auto_hangman/player.ex
Greenheart/elixir-hangman
1f4f652e212be318de97660ea405b7588c899be8
[ "MIT" ]
null
null
null
defmodule AutoHangman.Player do alias AutoHangman.{State, Summary, Prompter, Mover} def play(%State{tally: %{game_state: :won}}) do exit_with_message("You won! :D") end def play(%State{tally: %{game_state: :lost}}) do exit_with_message("Sorry, you lost... :P") end def play(game = %State{tally: %{...
21.076923
66
0.65146
7a16010fa49514a13dddf26eab5e84d94e74a2c6
2,138
ex
Elixir
apps/eth_geth_adapter/lib/eth_geth_adapter/worker.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/eth_geth_adapter/lib/eth_geth_adapter/worker.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/eth_geth_adapter/lib/eth_geth_adapter/worker.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
26.073171
84
0.671188
7a165ae49f1c3cbfa516371817e827ea23439e9e
10,793
ex
Elixir
lib/aws/generated/ram.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/ram.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/ram.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.RAM do @moduledoc """ Use AWS Resource Access Manager to share AWS resources between AWS accounts. To share a resource, you create a resource share, associate the resource with the resourc...
30.925501
100
0.665802
7a166282395db103d5140cc49777e130c24ca8b2
11,990
ex
Elixir
lib/crontab/cron_expression/parser.ex
fossabot/crontab
9f5e2f5927e5c2b8cb40ce2a1d91d6389caae374
[ "MIT" ]
null
null
null
lib/crontab/cron_expression/parser.ex
fossabot/crontab
9f5e2f5927e5c2b8cb40ce2a1d91d6389caae374
[ "MIT" ]
1
2020-02-09T01:21:02.000Z
2020-02-09T01:21:02.000Z
lib/crontab/cron_expression/parser.ex
kenny-evitt/crontab
9fd29a01fcf326011024432bb3bdbf22c44c80b7
[ "MIT" ]
null
null
null
defmodule Crontab.CronExpression.Parser do @moduledoc """ Parse string like `* * * * * *` to a `%Crontab.CronExpression{}`. """ alias Crontab.CronExpression @type result :: {:ok, CronExpression.t()} | {:error, binary} @specials %{ reboot: %CronExpression{reboot: true}, yearly: %CronExpression{min...
29.53202
95
0.589074
7a166e461ecb1a18107766818846c95f9460cfe9
551
exs
Elixir
test/decimal_arithmetic_support_nested_equality_test.exs
jacek-adamek/decimal_arithmetic
4f30a8e0a14ff6570a0e625b356c8a5af5da1b3e
[ "MIT" ]
12
2016-06-05T10:38:23.000Z
2021-02-14T17:09:59.000Z
test/decimal_arithmetic_support_nested_equality_test.exs
jacek-adamek/decimal_arithmetic
4f30a8e0a14ff6570a0e625b356c8a5af5da1b3e
[ "MIT" ]
1
2018-03-26T21:45:01.000Z
2018-03-26T21:45:01.000Z
test/decimal_arithmetic_support_nested_equality_test.exs
jacek-adamek/decimal_arithmetic
4f30a8e0a14ff6570a0e625b356c8a5af5da1b3e
[ "MIT" ]
4
2017-12-04T17:00:10.000Z
2020-02-23T21:43:11.000Z
defmodule DecimalArithmeticSupportNestedEqualityTest do use ExUnit.Case use DecimalArithmetic, support_nested_equality: true test "==" do assert {~m(3)} == {~m(3.000)} assert [~m(3), ~m(12.30000)] == [~m(3.000), ~m(12.3)] assert %{value: ~m(3)} == %{value: ~m(3.000)} assert %{value: ~m(4.001)} ==...
27.55
57
0.488203
7a167969c59bbfbe4ae20fbb4f57353f375c35be
2,287
ex
Elixir
lib/mix/lib/mix/tasks/compile.leex.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.leex.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.leex.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Compile.Leex do use Mix.Task.Compiler alias Mix.Compilers.Erlang @recursive true @manifest ".compile.leex" @switches [force: :boolean, verbose: :boolean, all_warnings: :boolean] # These options can't be controlled with :leex_options. @forced_opts [report: true, return: true] @modu...
28.949367
86
0.686489
7a167a44a43780af629b1144fb8dc78f2723a7bb
1,325
ex
Elixir
lib/pokedex_bot/pokeapi/evolutions.ex
BenjamimFG/PokedexBot
86201c68ed354a59852252aaf689298c5b70981f
[ "BSD-2-Clause" ]
null
null
null
lib/pokedex_bot/pokeapi/evolutions.ex
BenjamimFG/PokedexBot
86201c68ed354a59852252aaf689298c5b70981f
[ "BSD-2-Clause" ]
null
null
null
lib/pokedex_bot/pokeapi/evolutions.ex
BenjamimFG/PokedexBot
86201c68ed354a59852252aaf689298c5b70981f
[ "BSD-2-Clause" ]
null
null
null
defmodule PokedexBot.PokeApi.Evolutions do alias PokedexBot.PokeApi require Logger @type evolution :: %{ id: integer, name: String.t(), trees: list } @spec get_tree(integer | String.t()) :: {integer, %{} | evolution()} def get_tree(pokemon) do pokemon_str = if is_in...
25.480769
93
0.571321
7a16b0527c8bc0e060549c0d5c2cd9b8644dc01d
1,266
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/failed_to_install.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/failed_to_install.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/failed_to_install.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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...
30.142857
83
0.763823
7a16f51db5f26858e09273f403a7b63b4132f9eb
928
exs
Elixir
2017/day_09/elixir/test/day9_test.exs
nicbet/advent-of-code
a44a16c777081bdc9fabdfee72541a95c291ef18
[ "MIT" ]
null
null
null
2017/day_09/elixir/test/day9_test.exs
nicbet/advent-of-code
a44a16c777081bdc9fabdfee72541a95c291ef18
[ "MIT" ]
null
null
null
2017/day_09/elixir/test/day9_test.exs
nicbet/advent-of-code
a44a16c777081bdc9fabdfee72541a95c291ef18
[ "MIT" ]
null
null
null
defmodule Day9Test do use ExUnit.Case doctest Day9 test "trivial group {} is 1" do assert Day9.score("{}") == {1, 0} end test "groups {{{}}} is 6" do assert Day9.score("{{{}}}") == {6, 0} end test "groups {{},{}} is 5" do assert Day9.score("{{},{}}") == {5, 0} end test "groups {{{},{},...
24.421053
65
0.440733
7a17062189c3ec60e308d531ec83d9564135cee7
914
exs
Elixir
test/ecto_extras_query_test.exs
pawurb/ecto_extras
41c8f437d2499b90104c970c2e0bc2fafb396722
[ "MIT" ]
35
2021-01-13T10:50:11.000Z
2022-03-18T03:16:04.000Z
test/ecto_extras_query_test.exs
pawurb/ecto_extras
41c8f437d2499b90104c970c2e0bc2fafb396722
[ "MIT" ]
null
null
null
test/ecto_extras_query_test.exs
pawurb/ecto_extras
41c8f437d2499b90104c970c2e0bc2fafb396722
[ "MIT" ]
null
null
null
defmodule EctoExtrasQueryTest do use ExUnit.Case import Ecto.Migrator import EctoExtras.Query alias EctoExtras.TestRepo import Ecto.Query alias EctoExtras.{ User, Post, TestMigration } setup do num = System.unique_integer([:positive]) up( TestRepo, num, TestMigr...
16.321429
88
0.588621
7a171514e42569d5743c5b265a19b658be06bbc7
1,179
ex
Elixir
test/support/membrane_file/common.ex
nathanjohnson320/membrane_file_plugin
1011a0a20b79962a84fc6129f96dd598b58c4abb
[ "Apache-2.0" ]
null
null
null
test/support/membrane_file/common.ex
nathanjohnson320/membrane_file_plugin
1011a0a20b79962a84fc6129f96dd598b58c4abb
[ "Apache-2.0" ]
null
null
null
test/support/membrane_file/common.ex
nathanjohnson320/membrane_file_plugin
1011a0a20b79962a84fc6129f96dd598b58c4abb
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.File.TestSupport.Common do defmacro __using__(_) do quote do alias Membrane.File.CommonFile alias Membrane.Element.CallbackContext.{Prepare, Stop} describe "common handle_stopped_to_prepared" do test "should open file", %{state: state} do %{location: locatio...
31.864865
98
0.575064
7a173b83495c6c8a9eb668cd78dbe771ca032ba4
13,713
ex
Elixir
lib/plausible_web/controllers/site_controller.ex
emilburzo/analytics
5e376766ac7961529cd73a92fa035f8a125111d1
[ "MIT" ]
null
null
null
lib/plausible_web/controllers/site_controller.ex
emilburzo/analytics
5e376766ac7961529cd73a92fa035f8a125111d1
[ "MIT" ]
null
null
null
lib/plausible_web/controllers/site_controller.ex
emilburzo/analytics
5e376766ac7961529cd73a92fa035f8a125111d1
[ "MIT" ]
null
null
null
defmodule PlausibleWeb.SiteController do use PlausibleWeb, :controller use Plausible.Repo alias Plausible.{Sites, Goals} plug PlausibleWeb.RequireAccountPlug def index(conn, _params) do user = conn.assigns[:current_user] |> Repo.preload(:sites) render(conn, "index.html", sites: user.sites) end ...
33.20339
99
0.661854
7a1743c99eb00931891626e765f7b3fcefca3251
1,175
ex
Elixir
test/support/channel_case.ex
kimlindholm/plug_session_db_store
898cc1a3d4d43751aebb2495587841ad9136ffde
[ "MIT" ]
3
2021-02-15T13:03:15.000Z
2022-01-25T11:07:47.000Z
test/support/channel_case.ex
kimlindholm/plug_session_db_store
898cc1a3d4d43751aebb2495587841ad9136ffde
[ "MIT" ]
null
null
null
test/support/channel_case.ex
kimlindholm/plug_session_db_store
898cc1a3d4d43751aebb2495587841ad9136ffde
[ "MIT" ]
null
null
null
defmodule PlugSessionDbStoreWeb.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 data structures and query the data layer. Finally, if the test case ...
27.97619
75
0.741277
7a17563268fb976a1b65fabc961348c7fe2536a1
1,845
exs
Elixir
backend/test/honeyland_web/schema/query/hardware_types_test.exs
bejolithic/honeyland
8c4a0d3b56543648d3acb96cc6906df86526743b
[ "Apache-2.0" ]
null
null
null
backend/test/honeyland_web/schema/query/hardware_types_test.exs
bejolithic/honeyland
8c4a0d3b56543648d3acb96cc6906df86526743b
[ "Apache-2.0" ]
null
null
null
backend/test/honeyland_web/schema/query/hardware_types_test.exs
bejolithic/honeyland
8c4a0d3b56543648d3acb96cc6906df86526743b
[ "Apache-2.0" ]
null
null
null
# # This file is part of Honeyland. # # Copyright 2022 Nervive Studio # # 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 ...
26.357143
74
0.625474
7a176026428ba0050efce8028f35fbb01473d888
1,512
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_protobuf_empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_protobuf_empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_protobuf_empty.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...
36
282
0.766534
7a176c3750cd5900f697058a8ebf7007317e57a7
3,160
ex
Elixir
lib/logger_led_backend.ex
RosePointNav/logger_led_backend
29d279f33b1e3e954c2820de3365779d06fa55b0
[ "MIT" ]
null
null
null
lib/logger_led_backend.ex
RosePointNav/logger_led_backend
29d279f33b1e3e954c2820de3365779d06fa55b0
[ "MIT" ]
null
null
null
lib/logger_led_backend.ex
RosePointNav/logger_led_backend
29d279f33b1e3e954c2820de3365779d06fa55b0
[ "MIT" ]
null
null
null
defmodule LoggerLedBackend do @moduledoc """ A `Logger` backend that flashes an LED when an event is received matching the configured log level. Originally designed for embedded applications, it allows easily watching the LED to see if log events of concern are being logged. In your config, simply do somethi...
29.811321
148
0.679114
7a178b657055afdbe00adb6f60bea5f1ed4789bd
54,120
exs
Elixir
test/gradient/ast_specifier_test.exs
rodrigues/gradient
c09245b42d8d01b2624ca07648c41cc1a2dee49c
[ "Apache-2.0" ]
null
null
null
test/gradient/ast_specifier_test.exs
rodrigues/gradient
c09245b42d8d01b2624ca07648c41cc1a2dee49c
[ "Apache-2.0" ]
null
null
null
test/gradient/ast_specifier_test.exs
rodrigues/gradient
c09245b42d8d01b2624ca07648c41cc1a2dee49c
[ "Apache-2.0" ]
null
null
null
defmodule Gradient.AstSpecifierTest do use ExUnit.Case doctest Gradient.AstSpecifier alias Gradient.AstSpecifier import Gradient.TestHelpers setup_all state do {:ok, state} end describe "run_mappers/2" do test "messy test on simple_app" do {tokens, ast} = example_data() new_ast = A...
39.532505
165
0.328566
7a17945bc2732aa09920e6058053de7002530dc8
410
ex
Elixir
example/lib/phoenix_datatables_example_web/views/error_view.ex
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
12
2017-10-20T21:08:33.000Z
2021-11-08T13:04:43.000Z
example/lib/phoenix_datatables_example_web/views/error_view.ex
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
8
2017-11-07T19:53:02.000Z
2021-01-18T22:15:35.000Z
example/lib/phoenix_datatables_example_web/views/error_view.ex
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
7
2018-07-03T08:18:17.000Z
2020-05-28T03:06:02.000Z
defmodule PhoenixDatatablesExampleWeb.ErrorView do use PhoenixDatatablesExampleWeb, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500...
22.777778
50
0.726829
7a17ed2c1d9adcc341f9f55ec9e984c7c3bdeb35
23,194
ex
Elixir
deps/timex/lib/time/duration.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
deps/timex/lib/time/duration.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
deps/timex/lib/time/duration.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
defmodule Timex.Duration do @moduledoc """ This module provides a friendly API for working with Erlang timestamps, i.e. `{megasecs, secs, microsecs}`. In addition, it provides an easy way to wrap the measurement of function execution time (via `measure`). """ alias __MODULE__ alias Timex.Types use Tim...
32.946023
89
0.650729
7a18135277c5595cb162415f69e92dcbc3bcf6b9
2,082
ex
Elixir
lib/changelog_web/controllers/admin/topic_controller.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog_web/controllers/admin/topic_controller.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog_web/controllers/admin/topic_controller.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Admin.TopicController do use ChangelogWeb, :controller alias Changelog.Topic plug :assign_topic when action in [:edit, :update, :delete] plug Authorize, [Policies.AdminsOnly, :topic] plug :scrub_params, "topic" when action in [:create, :update] def index(conn, _params) do topic...
28.135135
88
0.630644
7a18212ab974bbc8f765a1899e4915a8ecdf2c62
2,130
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/get_notification_channel_verification_code_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/get_notification_channel_verification_code_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/get_notification_channel_verification_code_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...
38.727273
318
0.751174
7a1843af2f058a2415780d67b580c2c315a02928
1,889
ex
Elixir
clients/cloud_identity/lib/google_api/cloud_identity/v1/model/google_apps_cloudidentity_devices_v1_approve_device_user_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_identity/lib/google_api/cloud_identity/v1/model/google_apps_cloudidentity_devices_v1_approve_device_user_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_identity/lib/google_api/cloud_identity/v1/model/google_apps_cloudidentity_devices_v1_approve_device_user_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.345455
172
0.771308
7a1856aca3020d2747a614823b409cc42ecf4cb2
1,980
exs
Elixir
config/prod.exs
allen-garvey/artour
fce27b234d11a3e434c897b5fa3178b7c126245f
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/artour/config/prod.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/artour/config/prod.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
31.935484
67
0.712121
7a185968569c38e965c644a4cef6320201561926
2,430
ex
Elixir
apps/website_web/lib/website_web.ex
zarynxyz/website
6c833c78f83f7765286cdbf7b0aa2976ddcfac3f
[ "Apache-2.0" ]
null
null
null
apps/website_web/lib/website_web.ex
zarynxyz/website
6c833c78f83f7765286cdbf7b0aa2976ddcfac3f
[ "Apache-2.0" ]
null
null
null
apps/website_web/lib/website_web.ex
zarynxyz/website
6c833c78f83f7765286cdbf7b0aa2976ddcfac3f
[ "Apache-2.0" ]
null
null
null
defmodule WebsiteWeb 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 WebsiteWeb, :controller use WebsiteWeb, :view The definitions below will be executed for every view, controller, ...
21.891892
81
0.676955
7a186e51b5da7e89101da9c26b6478d85f3757d3
2,699
exs
Elixir
test/ex_okex/v5/public_test.exs
acuityinnovations/ex_okex
52acf16e8d00446ca32607ccb2cd75add0acaceb
[ "MIT" ]
null
null
null
test/ex_okex/v5/public_test.exs
acuityinnovations/ex_okex
52acf16e8d00446ca32607ccb2cd75add0acaceb
[ "MIT" ]
4
2019-04-12T17:13:00.000Z
2020-04-06T07:28:47.000Z
test/ex_okex/v5/public_test.exs
acuityinnovations/ex_okex
52acf16e8d00446ca32607ccb2cd75add0acaceb
[ "MIT" ]
5
2019-04-10T00:41:17.000Z
2021-12-23T14:49:02.000Z
defmodule ExOkex.V5.PublicTest do use ExUnit.Case use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney alias ExOkex.V5.Public, as: Api describe "get_instruments" do test "returns list of intruments" do use_cassette "v5/public/get_instruments" do assert {:ok, %{ "c...
26.722772
82
0.355317
7a188128e6f10eca40dd966f03b07ab36918b180
2,085
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_list_deidentify_templates_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_list_deidentify_templates_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_list_deidentify_templates_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.75
208
0.751559
7a18870c9637378e40dc5cf1e6a1362f437d7c16
1,996
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_text_anchor_text_segment.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_text_anchor_text_segment.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_text_anchor_text_segment.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...
35.017544
191
0.746994
7a188fbc2794a83428ac931f03a1474a8f5f8091
230
exs
Elixir
test/models/idea_tag_test.exs
cdegroot/clueless
c7f575159a42f55eb843df0e37802e778826c845
[ "MIT" ]
null
null
null
test/models/idea_tag_test.exs
cdegroot/clueless
c7f575159a42f55eb843df0e37802e778826c845
[ "MIT" ]
4
2015-12-18T20:35:49.000Z
2015-12-18T20:36:43.000Z
test/models/idea_tag_test.exs
cdegroot/clueless
c7f575159a42f55eb843df0e37802e778826c845
[ "MIT" ]
null
null
null
defmodule Clueless.IdeaTagTest do use Clueless.ModelCase # Empty. The generated attribute validations tests are a tad useless if there are none. # If attributes are added, also re-add the invalid data controller tests. end
32.857143
89
0.786957
7a18913fb5963713d4b454ea5c73197bda8fed39
1,207
exs
Elixir
test/acceptance/ast/footnotes/error_cases_test.exs
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
test/acceptance/ast/footnotes/error_cases_test.exs
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
test/acceptance/ast/footnotes/error_cases_test.exs
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
defmodule Acceptance.Ast.Footnotes.ErrorCasesTest do use ExUnit.Case use ExUnit.Case, async: true import Support.Helpers, only: [as_ast: 2] import EarmarkAstDsl describe "Incorrect Footnotes" do test "undefined footnotes" do markdown = "foo[^1]\nhello\n\n[^2]: bar baz" ast = [p("foo[^1]\nhel...
30.948718
79
0.625518
7a18972c33a58635e3c522d2b9762fcd3dc1ea80
5,460
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/inventory_item.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/inventory_item.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/inventory_item.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...
52.5
374
0.675824
7a189b4f7fa740bd168d598826ae58d1bb212961
4,390
ex
Elixir
apps/andi/lib/andi_web/live/access_group_live_view/manage_users_modal.ex
UrbanOS-Public/smartcitiesdata
c4f4d83fcd1bbae5f4d3f47a9b218f3d991a51cd
[ "Apache-2.0" ]
8
2021-10-31T18:45:02.000Z
2022-03-05T18:33:08.000Z
apps/andi/lib/andi_web/live/access_group_live_view/manage_users_modal.ex
UrbanOS-Public/smartcitiesdata
c4f4d83fcd1bbae5f4d3f47a9b218f3d991a51cd
[ "Apache-2.0" ]
7
2022-01-14T21:21:23.000Z
2022-03-16T17:23:10.000Z
apps/andi/lib/andi_web/live/access_group_live_view/manage_users_modal.ex
UrbanOS-Public/smartcitiesdata
c4f4d83fcd1bbae5f4d3f47a9b218f3d991a51cd
[ "Apache-2.0" ]
1
2022-03-08T23:45:02.000Z
2022-03-08T23:45:02.000Z
defmodule AndiWeb.AccessGroupLiveView.ManageUsersModal do use Phoenix.LiveComponent def render(assigns) do ~L""" <div class="manage-users-modal manage-users-modal--<%= @visibility %>"> <div class="modal-form-container search-modal"> <div class="search-index__header"> <h1 class="sear...
41.809524
246
0.583827
7a189fe6a5782b5f268320a542aecf85ccb17cb9
3,906
exs
Elixir
src/server/test/game/utils/index_map_test.exs
pedromykul/csb-wonhu1
5fe81fbc99d2b9859fbdb3c87c23e788264c0b9c
[ "MIT" ]
null
null
null
src/server/test/game/utils/index_map_test.exs
pedromykul/csb-wonhu1
5fe81fbc99d2b9859fbdb3c87c23e788264c0b9c
[ "MIT" ]
null
null
null
src/server/test/game/utils/index_map_test.exs
pedromykul/csb-wonhu1
5fe81fbc99d2b9859fbdb3c87c23e788264c0b9c
[ "MIT" ]
null
null
null
defmodule IndexMapTest do use ExUnit.Case test "get/2" do items = %{ 1 => %{items: [1, 2]}, 2 => %{items: [3, 4]} } actual = IndexMap.get(items, 2) expected = %{items: [3, 4]} assert actual == expected end test "dig/2" do dices = %{ 1 => %{face: %{amount: 33}}, ...
17.835616
48
0.432924
7a18a0b4475760db395fd17ed985cc19e4ad7a84
1,993
ex
Elixir
lib/basic/agencies.ex
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
7
2021-07-14T15:45:55.000Z
2022-01-25T11:13:01.000Z
lib/basic/agencies.ex
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
10
2021-08-09T15:54:05.000Z
2022-02-17T04:18:38.000Z
lib/basic/agencies.ex
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
5
2021-07-23T05:54:35.000Z
2022-01-28T04:14:51.000Z
defmodule Basic.Agencies do @moduledoc """ The Agencies context. """ import Ecto.Query, warn: false alias Basic.Repo alias Basic.Agencies.Agency @doc """ Returns the list of agencies. ## Examples iex> list_agencies() [%Agency{}, ...] """ def list_agencies do Repo.all(Agency) ...
17.330435
61
0.573507
7a18b005e44a7beec201cf8d4a2eb36d2fabe099
9,890
ex
Elixir
lib/console/email.ex
helium/console
c6912b521926455ee0d4172dbd8e8183bdbae186
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
lib/console/email.ex
helium/console
c6912b521926455ee0d4172dbd8e8183bdbae186
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
lib/console/email.ex
helium/console
c6912b521926455ee0d4172dbd8e8183bdbae186
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule Console.Email do use Bamboo.Phoenix, view: ConsoleWeb.EmailView alias Console.Auth.User alias Console.ApiKeys.ApiKey alias Console.DcPurchases.DcPurchase alias Console.Organizations.Invitation alias Console.Organizations.Organization alias DateTime def dc_transfer_source_notification(from_or...
41.037344
183
0.720829
7a18d684a7295c84bf718eb33472e2587053b427
1,624
ex
Elixir
lib/credo/check/readability/prefer_implicit_try.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
lib/credo/check/readability/prefer_implicit_try.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
lib/credo/check/readability/prefer_implicit_try.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.Check.Readability.PreferImplicitTry do use Credo.Check, base_priority: :low, explanations: [ check: """ Prefer using an implicit `try` rather than explicit `try` if you try to rescue anything the function does. For example, this: def failing_function(first) ...
23.882353
84
0.585591
7a1928f0cb77727b85c14372bb570284b5172f07
6,630
ex
Elixir
lib/elixir/lib/module/types/helpers.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
2
2020-06-02T18:00:28.000Z
2021-12-10T03:21:42.000Z
lib/elixir/lib/module/types/helpers.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/types/helpers.ex
britto/elixir
1f6e7093cff4b68dada60b924399bc8404d39a7e
[ "Apache-2.0" ]
null
null
null
defmodule Module.Types.Helpers do @moduledoc false alias Module.Types.Infer @doc """ Guard function to check if an AST node is a variable. """ defmacro is_var(expr) do quote do is_tuple(unquote(expr)) and tuple_size(unquote(expr)) == 3 and is_atom(elem(unquote(expr), 0)) and ...
30.136364
94
0.610256
7a193303e8629650f301d6f6b51bc71d9828af75
278
ex
Elixir
lib/sgp40/measurement.ex
mnishiguchi/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
2
2021-06-13T21:09:19.000Z
2021-06-16T13:20:14.000Z
lib/sgp40/measurement.ex
elixir-sensors/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
3
2021-06-14T13:09:08.000Z
2021-06-26T19:43:55.000Z
lib/sgp40/measurement.ex
mnishiguchi/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
null
null
null
defmodule SGP40.Measurement do @moduledoc """ One sensor measurement """ defstruct [:timestamp_ms, :voc_index] @type t :: %{ required(:timestamp_ms) => number, required(:voc_index) => number, optional(:__struct__) => atom } end
19.857143
44
0.593525