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
fffa7b8aeb53b92cbadb5e2b7704bd3cb177bfde
57,965
ex
Elixir
deps/db_connection/lib/db_connection.ex
matin360/TaksoWebApp
4dd8fef625ecc2364fe1d6e18e73c96c59d15349
[ "MIT" ]
1
2019-11-11T21:48:20.000Z
2019-11-11T21:48:20.000Z
deps/db_connection/lib/db_connection.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/db_connection/lib/db_connection.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
null
null
null
defmodule DBConnection.Stream do defstruct [:conn, :query, :params, :opts] @type t :: %__MODULE__{conn: DBConnection.conn(), query: any, params: any, opts: Keyword.t()} end defimpl Enumerable, for: DBConnection.Stream do def count(_), do: {:error, __MODULE__} def member?(_, _), do: {:error, __MODULE__} de...
33.02849
95
0.644993
fffa8a2bcd5aeb486b3203b2583b79d05c1d4c38
1,087
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20181106043815_create_update_email_request.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20181106043815_create_update_email_request.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20181106043815_create_update_email_request.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
32.939394
74
0.727691
fffa9ad61949316b6a7f6fc5e7e26b0c0ec22821
340
exs
Elixir
test/guardian/db_fail_test.exs
kianmeng/guardian_db
1f3a366805d820504e0c7f160a1848b1f1bfc7c3
[ "MIT" ]
241
2017-01-09T04:44:26.000Z
2022-03-25T13:46:29.000Z
test/guardian/db_fail_test.exs
kianmeng/guardian_db
1f3a366805d820504e0c7f160a1848b1f1bfc7c3
[ "MIT" ]
99
2017-01-10T15:42:10.000Z
2022-03-16T02:21:22.000Z
test/guardian/db_fail_test.exs
kianmeng/guardian_db
1f3a366805d820504e0c7f160a1848b1f1bfc7c3
[ "MIT" ]
85
2017-01-09T10:17:46.000Z
2021-06-15T18:32:11.000Z
defmodule Guardian.DBFailTest do use Guardian.DB.TestSupport.CaseTemplate test "after_encode_and_sign_in is fails" do token = get_token() assert token == nil {:error, :token_storage_failure} = Guardian.DB.after_encode_and_sign(%{}, "token", %{}, "The JWT") token = get_token() assert tok...
22.666667
69
0.682353
fffac67b52859fbc4b93b62c6216bf46d6756ec4
2,606
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/ios_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/ios_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/ios_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
38.895522
135
0.69647
fffac70e2c4509db45bc6ae7856aa48b672fe47c
259
ex
Elixir
rockelivery/lib/rockelivery.ex
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
rockelivery/lib/rockelivery.ex
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
rockelivery/lib/rockelivery.ex
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
defmodule Rockelivery do @moduledoc """ Rockelivery 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. """ end
25.9
66
0.760618
fffad1be158acd4df36f66fc8c6f0cdf90dd2bea
1,165
exs
Elixir
config/config.exs
j-peso/ElixirWeather
b1f34ea4fdfb49b11c626b77da34f4afb9028c7c
[ "MIT" ]
null
null
null
config/config.exs
j-peso/ElixirWeather
b1f34ea4fdfb49b11c626b77da34f4afb9028c7c
[ "MIT" ]
null
null
null
config/config.exs
j-peso/ElixirWeather
b1f34ea4fdfb49b11c626b77da34f4afb9028c7c
[ "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 config :weather, api_key: 'YOUR API KEY' # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this #...
35.30303
73
0.750215
fffadaacd9a6484077b7c9e0dfbd49428454a26a
3,929
exs
Elixir
test/state_module/on_state_entry_test.exs
ityonemo/state_server
1e119970e20abb68fff13d449e95e3bf66298668
[ "MIT" ]
8
2019-08-31T00:31:58.000Z
2021-06-11T22:12:05.000Z
test/state_module/on_state_entry_test.exs
ityonemo/state_server
1e119970e20abb68fff13d449e95e3bf66298668
[ "MIT" ]
39
2019-09-07T21:29:09.000Z
2020-05-05T15:01:30.000Z
test/state_module/on_state_entry_test.exs
ityonemo/state_server
1e119970e20abb68fff13d449e95e3bf66298668
[ "MIT" ]
2
2020-01-04T05:44:25.000Z
2020-01-19T21:44:41.000Z
defmodule StateServerTest.StateModule.OnStateEntryTest do use ExUnit.Case, async: true defmodule StateEntry do use StateServer, [start: [tr: :end, tr_trap: :end, tr_double: :end, tr_update: :end], end: []] def start_link(data), do: StateServer.start_link(__MODULE__, data) @impl true def init(dat...
28.471014
98
0.647748
fffae78721daf7dd4c4c62fb4717d0aed7e2f277
5,221
exs
Elixir
test/ex_oneroster/academic_sessions/academic_sessions_test.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
3
2018-09-06T11:15:07.000Z
2021-12-27T15:36:51.000Z
test/ex_oneroster/academic_sessions/academic_sessions_test.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
test/ex_oneroster/academic_sessions/academic_sessions_test.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
defmodule ExOneroster.AcademicSessionsTest do use ExOneroster.DataCase alias ExOneroster.AcademicSessions describe "academic_sessions" do alias ExOneroster.AcademicSessions.AcademicSession test "list_academic_sessions/0 returns all academic_sessions" do academic_session = insert(:academic_session...
53.824742
237
0.786248
fffb0d0e9b250ac74080439e8c75e0e13e6fec55
91
ex
Elixir
test/support/factory.ex
Soonad/Bitlog
17f41b591169dca7412b9790e8f20abf11b46313
[ "MIT" ]
2
2019-12-03T10:38:38.000Z
2019-12-04T23:52:11.000Z
test/support/factory.ex
moonad/Bitlog
17f41b591169dca7412b9790e8f20abf11b46313
[ "MIT" ]
null
null
null
test/support/factory.ex
moonad/Bitlog
17f41b591169dca7412b9790e8f20abf11b46313
[ "MIT" ]
null
null
null
defmodule Bitlog.Factory do @moduledoc false use ExMachina.Ecto, repo: Bitlog.Repo end
18.2
39
0.78022
fffb2b662445553c688d09871ba0a643ffe33075
2,780
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/lifecycle_config.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/lifecycle_config.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/lifecycle_config.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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...
49.642857
370
0.738489
fffb48903cc35f04472ea376e558e5eac55cae86
1,072
ex
Elixir
lib/cassette/client/generate_st.ex
maureenwonderland/elixir-cassette
2a1f7a0325c51b9abd572dc1d11529dfdd552dc9
[ "MIT" ]
15
2016-03-03T11:22:00.000Z
2021-03-16T15:03:56.000Z
lib/cassette/client/generate_st.ex
maureenwonderland/elixir-cassette
2a1f7a0325c51b9abd572dc1d11529dfdd552dc9
[ "MIT" ]
13
2016-06-16T11:43:02.000Z
2021-09-27T18:40:19.000Z
lib/cassette/client/generate_st.ex
maureenwonderland/elixir-cassette
2a1f7a0325c51b9abd572dc1d11529dfdd552dc9
[ "MIT" ]
6
2016-06-16T19:26:37.000Z
2021-04-15T19:32:04.000Z
defmodule Cassette.Client.GenerateSt do @moduledoc """ Generates CAS Service Ticket """ use HTTPoison.Base alias Cassette.Client alias Cassette.Config @type result :: {:error, :bad_tgt} | {:ok, String.t()} | {:fail, pos_integer(), String.t()} | {:fail, :unknown} ...
24.930233
73
0.594216
fffb685c55da658a6ae906df1b2c6008329e317c
619
exs
Elixir
test/multi_tenancex_web/views/error_view_test.exs
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
30
2018-06-27T17:51:53.000Z
2021-04-24T03:17:55.000Z
test/multi_tenancex_web/views/error_view_test.exs
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
null
null
null
test/multi_tenancex_web/views/error_view_test.exs
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
7
2018-07-24T17:56:14.000Z
2019-12-31T02:10:13.000Z
defmodule MultiTenancexWeb.ErrorViewTest do use MultiTenancexWeb.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(MultiTenancexWeb.ErrorView, "404.html", []) == "Page not found" end ...
28.136364
74
0.693053
fffbf00ffd220c49ee3dac5ae903673dd39e0687
69
ex
Elixir
lib/dashboard/repo.ex
bionikspoon/classroom-dashboard
c324eeab568335591daf83ae0bdd9a60d25f4595
[ "MIT" ]
null
null
null
lib/dashboard/repo.ex
bionikspoon/classroom-dashboard
c324eeab568335591daf83ae0bdd9a60d25f4595
[ "MIT" ]
null
null
null
lib/dashboard/repo.ex
bionikspoon/classroom-dashboard
c324eeab568335591daf83ae0bdd9a60d25f4595
[ "MIT" ]
null
null
null
defmodule Dashboard.Repo do use Ecto.Repo, otp_app: :dashboard end
17.25
36
0.782609
fffbf2deff8ce96c5f8cd490e29a0fb69fc0bd30
1,298
ex
Elixir
lib/parser/tokenizer.ex
dbernheisel/date_time_parser
53378ccfb5938c304a18fd62b1f288ab94dd5446
[ "MIT" ]
73
2019-07-26T19:48:10.000Z
2022-03-23T10:01:34.000Z
lib/parser/tokenizer.ex
dbernheisel/date_time_parser
53378ccfb5938c304a18fd62b1f288ab94dd5446
[ "MIT" ]
23
2019-08-28T22:08:32.000Z
2021-06-14T19:33:18.000Z
lib/parser/tokenizer.ex
dbernheisel/date_time_parser
53378ccfb5938c304a18fd62b1f288ab94dd5446
[ "MIT" ]
9
2019-08-01T22:42:20.000Z
2022-02-15T19:02:50.000Z
defmodule DateTimeParser.Parser.Tokenizer do @moduledoc """ This parser doesn't parse, instead it checks the string and assigns the appropriate parser during preflight. The appropriate parser is determined by whether there is a `"/"` present in the string, and if so it will assume the string is a US-formatted d...
29.5
100
0.727273
fffbfc8cebc3135f6b6faba7d5502e86117f18a8
829
ex
Elixir
lib/bankapi/operations/notify.ex
t00lmaker/elixir-bank
41897d8fa87bb2fedbe3ef6f8f5cd78b756e24f0
[ "MIT" ]
4
2020-05-05T18:37:28.000Z
2022-01-05T00:56:19.000Z
lib/bankapi/operations/notify.ex
t00lmaker/elixir-bank
41897d8fa87bb2fedbe3ef6f8f5cd78b756e24f0
[ "MIT" ]
21
2019-12-01T15:32:02.000Z
2019-12-19T13:10:36.000Z
lib/bankapi/operations/notify.ex
t00lmaker/elixir-bank
41897d8fa87bb2fedbe3ef6f8f5cd78b756e24f0
[ "MIT" ]
2
2020-09-12T16:07:11.000Z
2020-12-11T06:46:45.000Z
defmodule Bank.Operations.Notify do @moduledoc """ Envia uma notificação para o cliente para um operacao realizada em uma de suas contas. """ alias Bank.Operations.Operation require Logger def send(operation) do {:ok, msg} = template(operation) send_email(msg) {:ok, msg} end def sen...
24.382353
78
0.674306
fffc0725b08299801ab50d7a9c083180eae33a8d
2,009
ex
Elixir
lib/sse_test_server/post_handler.ex
praekeltfoundation/sse_test_server
1e30a7719a40b3581e87bca540e3b7f57a4ad352
[ "MIT" ]
null
null
null
lib/sse_test_server/post_handler.ex
praekeltfoundation/sse_test_server
1e30a7719a40b3581e87bca540e3b7f57a4ad352
[ "MIT" ]
9
2018-01-12T10:47:41.000Z
2018-07-26T09:54:05.000Z
lib/sse_test_server/post_handler.ex
praekeltfoundation/sse_test_server
1e30a7719a40b3581e87bca540e3b7f57a4ad352
[ "MIT" ]
null
null
null
defmodule SSETestServer.PostHandler do use SSETestServer.RequestHandler.Base @behaviour :cowboy_handler def init(req = %{method: "POST"}, state) do when_exists(req, state, fn _ -> {:ok, field_list, req_read} = :cowboy_req.read_urlencoded_body(req) handle_action(Map.new(field_list), req_read, st...
31.390625
79
0.674963
fffc3d76f4debe1221c4bf6fcbde0094dbfb333a
349
exs
Elixir
server/satori/priv/repo/seeds.exs
lastmeta/Satori
cb321ee53a15fe8cba8fcdd483eeb6acc8dab3ea
[ "MIT" ]
3
2022-02-16T17:25:53.000Z
2022-02-25T05:24:15.000Z
server/satori/priv/repo/seeds.exs
lastmeta/Satori
cb321ee53a15fe8cba8fcdd483eeb6acc8dab3ea
[ "MIT" ]
9
2022-02-16T20:23:55.000Z
2022-03-26T17:27:23.000Z
server/satori/priv/repo/seeds.exs
lastmeta/Satori
cb321ee53a15fe8cba8fcdd483eeb6acc8dab3ea
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Satori.Repo.insert!(%Satori.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will f...
29.083333
61
0.704871
fffc4ea6fd08e243faf3f1c290c9f6efa07cc5b5
1,067
exs
Elixir
test/integration/broken_consumer_signals_test.exs
renderedtext/ex-tackle
403623f9be6919998fea6871f34aa07ff2655c49
[ "MIT" ]
49
2016-07-30T13:45:12.000Z
2021-08-08T13:45:05.000Z
test/integration/broken_consumer_signals_test.exs
renderedtext/ex-tackle
403623f9be6919998fea6871f34aa07ff2655c49
[ "MIT" ]
20
2016-08-05T11:54:35.000Z
2021-06-02T19:43:06.000Z
test/integration/broken_consumer_signals_test.exs
renderedtext/ex-tackle
403623f9be6919998fea6871f34aa07ff2655c49
[ "MIT" ]
14
2016-08-05T09:39:51.000Z
2021-11-29T14:22:28.000Z
defmodule Tackle.BrokenConsumerSignalsTest do use ExSpec alias Support alias Support.MessageTrace defmodule BrokenConsumer do use Tackle.Consumer, url: "amqp://localhost", exchange: "test-exchange", routing_key: "test-messages", service: "broken-service-signal", retry_delay: ...
21.77551
76
0.667291
fffc592817d9b5e60d85d107d82ac573845dbb81
1,541
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_cancel_test_order_by_customer_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_cancel_test_order_by_customer_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_cancel_test_order_by_customer_request.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...
29.634615
97
0.733939
fffc5fa0aff53c0610091945e6034f9cb5b5787e
408
ex
Elixir
lib/ref/admin/service.ex
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
lib/ref/admin/service.ex
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
lib/ref/admin/service.ex
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
defmodule Ref.Admin.Service do use Ecto.Schema import Ecto.Changeset schema "services" do field :description, :string field :name, :string field :user_id, :id field :price, :integer timestamps() end @doc false def changeset(service, attrs) do service |> cast(attrs, [:name, :de...
19.428571
59
0.661765
fffc6e83eca009bfa1c09681577a69417b2fc536
995
ex
Elixir
lib/bitcoin/protocol/types/tx_output.ex
0xwallet/bitcoinsv-elixir
efccdfca7435ea88b075135caf36ec21e4a022d7
[ "Apache-2.0" ]
1
2019-06-07T18:42:58.000Z
2019-06-07T18:42:58.000Z
lib/bitcoin/protocol/types/tx_output.ex
0xwallet/bitcoinsv-elixir
efccdfca7435ea88b075135caf36ec21e4a022d7
[ "Apache-2.0" ]
2
2019-04-22T04:24:39.000Z
2019-04-26T07:03:59.000Z
lib/bitcoin/protocol/types/tx_output.ex
0xwallet/bitcoinsv-elixir
efccdfca7435ea88b075135caf36ec21e4a022d7
[ "Apache-2.0" ]
1
2019-08-12T02:51:15.000Z
2019-08-12T02:51:15.000Z
defmodule Bitcoin.Protocol.Types.TxOutput do alias Bitcoin.Protocol.Types.VarString defstruct value: 0, # Transaction Value (in satoshis) pk_script: <<>> # Usually contains the public key as a Bitcoin script setting up conditions to claim this output. @type t :: %__MODULE__{ value: non_neg_inte...
26.891892
125
0.657286
fffc74ce93ee52d4409da69515affe984e126ffc
347
exs
Elixir
priv/repo/seeds.exs
rogueunicorn/hello-phoenix
52c7f42b1f058c61b97bcb923ed3691308072bf0
[ "MIT" ]
1
2016-01-01T12:55:25.000Z
2016-01-01T12:55:25.000Z
priv/repo/seeds.exs
cncgl/phoenix-todo
81b1c807a40e972df93ccc4063395ddf48bf4e2e
[ "MIT" ]
1
2015-09-10T13:41:51.000Z
2015-09-10T13:41:51.000Z
priv/repo/seeds.exs
cncgl/phoenix-todo
81b1c807a40e972df93ccc4063395ddf48bf4e2e
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # HelloPhoenix.Repo.insert!(%SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fai...
28.916667
61
0.706052
fffc81f63e25e870ebac31c2140cf4345265f187
2,456
exs
Elixir
test/utils_test.exs
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
1
2020-10-02T18:33:23.000Z
2020-10-02T18:33:23.000Z
test/utils_test.exs
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
null
null
null
test/utils_test.exs
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
null
null
null
defmodule UtilsTest do use ExUnit.Case setup do on_exit(fn -> :meck.unload() end) :ok end test "Request from url" do requests = Crawly.Utils.request_from_url("https://test.com") assert requests == expected_request("https://test.com") end test "Requests from urls" do requests = ...
21.172414
77
0.572476
fffcc14a5537c1bd50ab5810efadb1704bd59166
2,899
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remoteworkers_v1test2_command_task_outputs.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remoteworkers_v1test2_command_task_outputs.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/google_devtools_remoteworkers_v1test2_command_task_outputs.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...
46.015873
386
0.7406
fffcc85e7591d75193f1ca1d6b3fb9e2bbe3142f
699
ex
Elixir
lib/seely/default_router.ex
iboard/seely
2389a7543d9e9897855f73e35abd6fec9abf95f3
[ "MIT" ]
1
2022-03-26T14:53:56.000Z
2022-03-26T14:53:56.000Z
lib/seely/default_router.ex
iboard/seely
2389a7543d9e9897855f73e35abd6fec9abf95f3
[ "MIT" ]
null
null
null
lib/seely/default_router.ex
iboard/seely
2389a7543d9e9897855f73e35abd6fec9abf95f3
[ "MIT" ]
null
null
null
defmodule Seely.DefaultRouter do @moduledoc ~s""" The default router just defines the echo route for the `Seely.EchoController` def routes, do: [{"echo", Seely.EchoController, :echo}] and it's options `--upper` and `--trim` def parse_opts, do: [ strict: [upper: :boolean, t...
21.181818
81
0.589413
fffcdf249f9fb5eb578879ed0dc8c20bc57c6b0c
6,628
ex
Elixir
lib/lti_1p3/data_provider.ex
Simon-Initiative/lti_1p3
e599a61cdaa00fe20eda19dab88b80324580123f
[ "MIT" ]
4
2021-02-19T13:13:49.000Z
2021-11-11T09:02:27.000Z
lib/lti_1p3/data_provider.ex
Simon-Initiative/lti_1p3
e599a61cdaa00fe20eda19dab88b80324580123f
[ "MIT" ]
3
2021-02-15T22:46:06.000Z
2021-03-30T21:26:55.000Z
lib/lti_1p3/data_provider.ex
Simon-Initiative/lti_1p3
e599a61cdaa00fe20eda19dab88b80324580123f
[ "MIT" ]
null
null
null
defmodule Lti_1p3.DataProvider do alias Lti_1p3.Jwk alias Lti_1p3.Nonce alias Lti_1p3.DataProviderError @doc """ Creates a new jwk. ## Examples iex> create_jwk(%Jwk{}) {:ok, %Jwk{}} iex> create_jwk(%Jwk{}) {:error, %Lti_1p3.DataProviderError{}} """ @callback create_jwk(%Jwk{}) :...
30.827907
121
0.664001
fffce2f9fa89756ada2b10daa2becc1b410d85a9
3,393
exs
Elixir
mix.exs
tankwanghow/monarco_hat_rpi3
0c3e08c96e8f9add135eda734a4da49d9d53ab8a
[ "Apache-2.0" ]
null
null
null
mix.exs
tankwanghow/monarco_hat_rpi3
0c3e08c96e8f9add135eda734a4da49d9d53ab8a
[ "Apache-2.0" ]
null
null
null
mix.exs
tankwanghow/monarco_hat_rpi3
0c3e08c96e8f9add135eda734a4da49d9d53ab8a
[ "Apache-2.0" ]
null
null
null
defmodule NervesSystemRpi3.MixProject do use Mix.Project @github_organization "nerves-project" @app :nerves_system_rpi3 @source_url "https://github.com/#{@github_organization}/#{@app}" @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ ...
24.235714
83
0.583554
fffd14113609716fea8f5d40e8dac2bf3a5f4451
11,849
ex
Elixir
lib/fun_with_flags.ex
planswell/fun_with_flags
97656285e59c4852d8be45a1ee8ceb15d53e9ffe
[ "MIT" ]
null
null
null
lib/fun_with_flags.ex
planswell/fun_with_flags
97656285e59c4852d8be45a1ee8ceb15d53e9ffe
[ "MIT" ]
null
null
null
lib/fun_with_flags.ex
planswell/fun_with_flags
97656285e59c4852d8be45a1ee8ceb15d53e9ffe
[ "MIT" ]
null
null
null
defmodule FunWithFlags do @moduledoc """ FunWithFlags, the Elixir feature flag library. This module provides the public interface to the library and its API is made of three simple methods to enable, disable and query feature flags. In their simplest form, flags can be toggled on and off globally. More a...
30.53866
136
0.668326
fffd2c086985684308f071bdffc754c032514f06
428
exs
Elixir
config/review.exs
batmany13/github-ci
e67df76aaeee5e829b923ad09140dc6628ef979b
[ "Apache-2.0" ]
null
null
null
config/review.exs
batmany13/github-ci
e67df76aaeee5e829b923ad09140dc6628ef979b
[ "Apache-2.0" ]
null
null
null
config/review.exs
batmany13/github-ci
e67df76aaeee5e829b923ad09140dc6628ef979b
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :github_ci, GithubCi.Endpoint, secret_key_base: System.get_env("SECRET_KEY_BASE"), force_ssl: [rewrite_on: [:x_forwarded_proto]], url: [host: "https://#{System.get_env("HEROKU_APP_NAME")}.herokuapp.com", port: 80], code_reloader: true, http: [port: {:system, "PORT"}], cache_static_man...
35.666667
86
0.733645
fffd3c5804be91d9931f5e80d4461237f0a04e92
2,169
ex
Elixir
lib/newway/schema/invoice.ex
rbkmoney/pathfinder
fdb3102f524b6f58cba579389047b425fdbd4c92
[ "Apache-2.0" ]
null
null
null
lib/newway/schema/invoice.ex
rbkmoney/pathfinder
fdb3102f524b6f58cba579389047b425fdbd4c92
[ "Apache-2.0" ]
null
null
null
lib/newway/schema/invoice.ex
rbkmoney/pathfinder
fdb3102f524b6f58cba579389047b425fdbd4c92
[ "Apache-2.0" ]
1
2021-12-07T09:25:32.000Z
2021-12-07T09:25:32.000Z
defmodule NewWay.Schema.Invoice do use Ecto.Schema use NewWay.Schema, search_field: :invoice_id require NewWay.Macro.EnumType, as: EnumType @type t :: Ecto.Schema.t EnumType.def_enum(InvoiceStatus, [ :unpaid, :paid, :cancelled, :fulfilled ]) @schema_prefix "nw" schema "invoice" do ...
31.897059
67
0.609959
fffd4c395f9f1b4389bcf5a7ef3b5dca9cdc4d0a
13,837
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/disk_types.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/disk_types.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/disk_types.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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...
58.383966
511
0.670087
fffd591503b3bc0c04549868a45e62a2412bb497
1,515
exs
Elixir
parkapp_server/test/parkapp_web/utils_test.exs
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
2
2018-11-06T12:21:16.000Z
2018-11-21T10:20:17.000Z
parkapp_server/test/parkapp_web/utils_test.exs
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
null
null
null
parkapp_server/test/parkapp_web/utils_test.exs
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
null
null
null
defmodule ParkappWeb.UtilsTest do use Parkapp.DataCase alias ParkappWeb.Utils describe "Utils" do @length 512 test "random_string/1 should generate a string of the given length" do assert Utils.random_string(@length) |> String.length() == @length end test "random_string/1 property testin...
35.232558
100
0.692409
fffd9ab09e6844f16af308172f70822aec391286
954
ex
Elixir
app/test/support/channel_case.ex
irisTa56/hobby_dapp
5738995f4f68202aeb50df7fd23fd5c6b84ee244
[ "MIT" ]
null
null
null
app/test/support/channel_case.ex
irisTa56/hobby_dapp
5738995f4f68202aeb50df7fd23fd5c6b84ee244
[ "MIT" ]
null
null
null
app/test/support/channel_case.ex
irisTa56/hobby_dapp
5738995f4f68202aeb50df7fd23fd5c6b84ee244
[ "MIT" ]
null
null
null
defmodule HobbyDappWeb.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 interacts...
27.257143
66
0.74109
fffd9d3d061ff2117adcda38f3ca54a2cd96824f
1,807
ex
Elixir
lib/teiserver/agents/idle_agent_server.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/teiserver/agents/idle_agent_server.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/teiserver/agents/idle_agent_server.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Teiserver.Agents.IdleAgentServer do @doc """ Logs on, waits around and sends a ping every @tick_ms Also requests news and "new login" type information 5 seconds after login and every @info_ms after that """ use GenServer alias Teiserver.Agents.AgentLib @tick_ms 20000 @info_ms 60000 def han...
23.776316
105
0.643608
fffdd173c961075e6778bc6ca8f5e947ed198f08
464
exs
Elixir
config/test.exs
jeyemwey/radiator-spark
2fba0a84eb43ab1d58e8ec58c6a07f64adf9cb9d
[ "MIT" ]
null
null
null
config/test.exs
jeyemwey/radiator-spark
2fba0a84eb43ab1d58e8ec58c6a07f64adf9cb9d
[ "MIT" ]
null
null
null
config/test.exs
jeyemwey/radiator-spark
2fba0a84eb43ab1d58e8ec58c6a07f64adf9cb9d
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :radiator, RadiatorWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :radiator, Radiato...
24.421053
56
0.734914
fffe00e265055b7eeae3e694507093610276f0ce
772
exs
Elixir
mix.exs
Plus17/xml_builder
7ff4a3dd626132d6f54ea31f841d143e7cdf26fd
[ "MIT" ]
null
null
null
mix.exs
Plus17/xml_builder
7ff4a3dd626132d6f54ea31f841d143e7cdf26fd
[ "MIT" ]
null
null
null
mix.exs
Plus17/xml_builder
7ff4a3dd626132d6f54ea31f841d143e7cdf26fd
[ "MIT" ]
null
null
null
defmodule XmlBuilder.Mixfile do use Mix.Project @source_url "https://github.com/joshnuss/xml_builder" def project do [ app: :xml_builder, version: "2.1.4", elixir: "~> 1.6", deps: deps(), docs: docs(), package: [ maintainers: ["Joshua Nussbaum"], licenses:...
18.829268
76
0.540155
fffe03470784f3bf367631334a712f21484736d1
51,148
ex
Elixir
lib/phoenix/controller.ex
nbw/phoenix
fdafd8563c16ed997a2b8a4ec7d73de62b52c238
[ "MIT" ]
7
2021-01-31T04:51:08.000Z
2022-01-09T06:59:28.000Z
lib/phoenix/controller.ex
nbw/phoenix
fdafd8563c16ed997a2b8a4ec7d73de62b52c238
[ "MIT" ]
null
null
null
lib/phoenix/controller.ex
nbw/phoenix
fdafd8563c16ed997a2b8a4ec7d73de62b52c238
[ "MIT" ]
2
2021-02-06T08:40:23.000Z
2021-03-20T16:35:47.000Z
defmodule Phoenix.Controller do import Plug.Conn alias Plug.Conn.AlreadySentError require Logger require Phoenix.Endpoint @unsent [:unset, :set, :set_chunked, :set_file] @moduledoc """ Controllers are used to group common functionality in the same (pluggable) module. For example, the route: ...
32.007509
137
0.675295
fffe03f2077839b4a6796ad60fd71449c0dcb6a6
2,602
ex
Elixir
lib/libxml/nif.ex
melpon/libxml
cc6a1175b3acf8827c31475ab1cf18c262071f21
[ "MIT" ]
3
2018-02-11T18:55:11.000Z
2019-09-24T21:19:36.000Z
lib/libxml/nif.ex
melpon/libxml
cc6a1175b3acf8827c31475ab1cf18c262071f21
[ "MIT" ]
6
2018-01-26T08:36:08.000Z
2018-04-09T23:40:13.000Z
lib/libxml/nif.ex
melpon/libxml
cc6a1175b3acf8827c31475ab1cf18c262071f21
[ "MIT" ]
2
2018-03-25T22:50:26.000Z
2020-07-15T07:31:37.000Z
defmodule Libxml.Nif do @on_load :load_nif def load_nif() do :ok = :erlang.load_nif(:code.lib_dir(:libxml) ++ '/priv/libxml_nif', 0) end def xml_read_memory(_contents), do: raise("NIF not implemented") def xml_copy_doc(_doc, _recursive), do: raise("NIF not implemented") def xml_free_doc(_doc), do: rai...
50.038462
96
0.751345
fffe12581b1653d3a9ebd68c33ecda8604746bd6
8,399
ex
Elixir
lib/protein/client.ex
katafrakt/protein-elixir
f5ea6e079904ea0defa40e99a0e5becaa02a5735
[ "MIT" ]
9
2018-01-16T12:25:58.000Z
2021-11-24T13:19:35.000Z
lib/protein/client.ex
katafrakt/protein-elixir
f5ea6e079904ea0defa40e99a0e5becaa02a5735
[ "MIT" ]
3
2018-09-07T16:09:57.000Z
2019-02-19T10:37:13.000Z
lib/protein/client.ex
katafrakt/protein-elixir
f5ea6e079904ea0defa40e99a0e5becaa02a5735
[ "MIT" ]
3
2018-05-27T08:56:52.000Z
2021-11-24T13:19:37.000Z
defmodule Protein.Client do @moduledoc """ Calls services in remote systems. ## Usage Here's how your RPC client module may look like: defmodule MyProject.RemoteRPC do use Protein.Client # then, declare services with a convention driven config proto :create_user # ...o...
31.456929
100
0.673056
fffe5c0a2c978c2404d987cc6a54ccd36fe37997
1,907
exs
Elixir
clients/firebase_rules/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/firebase_rules/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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...
28.044118
142
0.66387
fffe852a97c3e9465d8441af393a88bd58704712
24,162
ex
Elixir
lib/surface/compiler/eex_engine.ex
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
lib/surface/compiler/eex_engine.ex
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
lib/surface/compiler/eex_engine.ex
thorsten-de/surface
67ebc2eadec22a22e043394f37d0d8d0e0e81b77
[ "MIT" ]
null
null
null
defmodule Surface.Compiler.EExEngine do @moduledoc """ This module glues together surface's AST and Phoenix.LiveView.Engine to actually render an AST. It takes a list of Surface AST nodes, and processes them into a sequence of static raw html items and dynamic pieces. It then converts these into tokens which a...
27.900693
120
0.600944
fffe8576fe9b61abf22d3cdd046246683e528ba8
604
exs
Elixir
day04/mix.exs
bjorng/advent-of-code-2015
d59ac2fc4a93c86ebfe3917d89ebaad3b571bdb6
[ "Apache-2.0" ]
1
2021-05-12T11:30:15.000Z
2021-05-12T11:30:15.000Z
day04/mix.exs
bjorng/advent-of-code-2016
fb3e40ae2fd52d761f6c0bf55e7634277917ba25
[ "Apache-2.0" ]
null
null
null
day04/mix.exs
bjorng/advent-of-code-2016
fb3e40ae2fd52d761f6c0bf55e7634277917ba25
[ "Apache-2.0" ]
null
null
null
defmodule Day04.MixProject do use Mix.Project def project do [ app: :day04, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applic...
20.133333
87
0.56457
fffe89a0216dcb2e4a9c0ccde6544aedb4a6c79d
2,207
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/live_stream_snippet.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/live_stream_snippet.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_stream_snippet.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 ...
37.40678
177
0.701858
fffeb1de678ad1460af106ac912f6f1551f527dc
1,518
exs
Elixir
pangram/test/pangram_test.exs
rapidfireworks/exercism.ex
7739c60db0510099fe8d37fd6bd76eee37623d05
[ "MIT" ]
null
null
null
pangram/test/pangram_test.exs
rapidfireworks/exercism.ex
7739c60db0510099fe8d37fd6bd76eee37623d05
[ "MIT" ]
null
null
null
pangram/test/pangram_test.exs
rapidfireworks/exercism.ex
7739c60db0510099fe8d37fd6bd76eee37623d05
[ "MIT" ]
1
2021-03-15T11:02:40.000Z
2021-03-15T11:02:40.000Z
defmodule PangramTest do use ExUnit.Case # @tag :pending test "empty sentence" do refute Pangram.pangram?("") end # @tag :pending test "pangram with only lower case" do assert Pangram.pangram?("the quick brown fox jumps over the lazy dog") end # @tag :pending test "missing character 'x'" do...
27.107143
100
0.702899
fffec14d18e874e3d8b9ce585c9ee511ac65d534
1,358
ex
Elixir
lib/kwerk/utils/randomizer.ex
johndavedecano/kwerk
a9e5928c2c5eb7a9a8dfaba30450627c257832a3
[ "MIT" ]
2
2018-09-23T08:45:07.000Z
2020-01-20T15:47:45.000Z
lib/kwerk/utils/randomizer.ex
johndavedecano/kwerk
a9e5928c2c5eb7a9a8dfaba30450627c257832a3
[ "MIT" ]
null
null
null
lib/kwerk/utils/randomizer.ex
johndavedecano/kwerk
a9e5928c2c5eb7a9a8dfaba30450627c257832a3
[ "MIT" ]
null
null
null
defmodule Kwerk.Utils.Randomizer do @moduledoc """ Random string generator module. """ @doc """ Generate random string based on the given legth. It is also possible to generate certain type of randomise string using the options below: * :all - generate alphanumeric random string * :alpha - generate nom-n...
30.863636
140
0.659794
fffed0358678ec36b9c8b5db7a82f59b41af2473
1,718
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/grafeas_v1beta1_intoto_artifact.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/grafeas_v1beta1_intoto_artifact.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/grafeas_v1beta1_intoto_artifact.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...
33.038462
106
0.747963
fffed60f18b2085bd59c1bafe8e57d4d5c481bc3
1,437
ex
Elixir
lib/money/ecto/numeric_currency_type.ex
wingyplus/money
18d8eb3581886badb9b89adf455844517c10f599
[ "MIT" ]
null
null
null
lib/money/ecto/numeric_currency_type.ex
wingyplus/money
18d8eb3581886badb9b89adf455844517c10f599
[ "MIT" ]
null
null
null
lib/money/ecto/numeric_currency_type.ex
wingyplus/money
18d8eb3581886badb9b89adf455844517c10f599
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(Ecto.Type) do defmodule Money.Ecto.NumericCurrency.Type do @moduledoc """ Provides a type for Ecto to store a currency. The underlying data type is a integer. ## Migration Example create table(:my_table) do add :currency, :integer end ## Schema E...
25.660714
106
0.622129
fffed9e3eb5711dd577c980de0c3fd380c28da53
2,017
exs
Elixir
test/phoenix_html_simplified_helpers/truncate_test.exs
ryochin/phoenix_html_simplified_helpers
873c7b3eac9374f4805a3b1288d75496ee7b056b
[ "MIT" ]
31
2016-02-27T18:15:12.000Z
2022-02-23T11:34:09.000Z
test/phoenix_html_simplified_helpers/truncate_test.exs
ryochin/phoenix_html_simplified_helpers
873c7b3eac9374f4805a3b1288d75496ee7b056b
[ "MIT" ]
13
2016-05-26T14:08:59.000Z
2020-10-13T11:03:08.000Z
test/phoenix_html_simplified_helpers/truncate_test.exs
ryochin/phoenix_html_simplified_helpers
873c7b3eac9374f4805a3b1288d75496ee7b056b
[ "MIT" ]
15
2016-05-21T09:54:32.000Z
2021-09-23T01:43:03.000Z
Code.require_file("../../test_helper.exs", __ENV__.file) defmodule Phoenix.HTML.SimplifiedHelpers.TruncateTest do use ExUnit.Case use Phoenix.HTML.SimplifiedHelpers doctest Phoenix.HTML.SimplifiedHelpers test "truncate" do assert "Once upon a time in a world..." == truncate("Once upon a time...
28.013889
98
0.606346
fffedde5f30f067097ecf7cd426628dadfcdc25a
1,032
exs
Elixir
integration/elistrix_remote/mix.exs
tobz/elistrix
c9dd8a8369000492240969ada2b763433768aafa
[ "MIT" ]
15
2015-05-05T07:22:23.000Z
2019-08-16T12:08:56.000Z
integration/elistrix_remote/mix.exs
tobz/elistrix
c9dd8a8369000492240969ada2b763433768aafa
[ "MIT" ]
null
null
null
integration/elistrix_remote/mix.exs
tobz/elistrix
c9dd8a8369000492240969ada2b763433768aafa
[ "MIT" ]
null
null
null
defmodule ElistrixRemote.Mixfile do use Mix.Project def project do [app: :elistrix_remote, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, d...
26.461538
63
0.608527
fffeed10a1e58d9620727c7e79af63dc1cfed219
312
exs
Elixir
test/support/migrations/20000101000000_create_tables.exs
myskoach/polymorphic_embed
3d005c4c6334315194d329a18c193cce17669522
[ "Apache-2.0" ]
null
null
null
test/support/migrations/20000101000000_create_tables.exs
myskoach/polymorphic_embed
3d005c4c6334315194d329a18c193cce17669522
[ "Apache-2.0" ]
null
null
null
test/support/migrations/20000101000000_create_tables.exs
myskoach/polymorphic_embed
3d005c4c6334315194d329a18c193cce17669522
[ "Apache-2.0" ]
1
2020-11-26T01:50:50.000Z
2020-11-26T01:50:50.000Z
defmodule PolymorphicEmbed.CreateTables do use Ecto.Migration def change do create table(:reminders) do add(:date, :utc_datetime, null: false) add(:text, :text, null: false) add(:channel, :map, null: false) add(:contexts, :map, null: false) timestamps() end end end
20.8
44
0.641026
ffff356551a09b71b7b31b652bba93537e121f34
466
exs
Elixir
test/models/product_test.exs
slurmulon/thing
21791e7a9579d41de28a0a6131218aed3679d033
[ "Apache-2.0" ]
null
null
null
test/models/product_test.exs
slurmulon/thing
21791e7a9579d41de28a0a6131218aed3679d033
[ "Apache-2.0" ]
null
null
null
test/models/product_test.exs
slurmulon/thing
21791e7a9579d41de28a0a6131218aed3679d033
[ "Apache-2.0" ]
null
null
null
defmodule Thing.ProductTest do use Thing.ModelCase alias Thing.Product @valid_attrs %{gtin: "some content", name: "some content", upc: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Product.changeset(%Product{}, @valid_attrs) assert changeset.valid? end ...
24.526316
81
0.72103
ffff39ad466ffe6489c42cfa5d9eb6cb6f6682af
569
ex
Elixir
lib/validators/string.ex
gmartsenkov/gate
67a1d9a3b0c0515312b49e9a110cb00ebc46d402
[ "MIT" ]
3
2019-11-04T21:40:10.000Z
2021-12-22T11:25:37.000Z
lib/validators/string.ex
gmartsenkov/gate
67a1d9a3b0c0515312b49e9a110cb00ebc46d402
[ "MIT" ]
null
null
null
lib/validators/string.ex
gmartsenkov/gate
67a1d9a3b0c0515312b49e9a110cb00ebc46d402
[ "MIT" ]
null
null
null
defmodule Gate.Validators.String do @moduledoc false alias Gate.Locale defmacro __using__(_opts) do quote do def validate(value, {:regex, reg_expression}) do with true <- validate(value, :str) do if Regex.match?(reg_expression, value), do: true, else: Locale.get("regex", [value]) end ...
25.863636
100
0.666081
ffff5c8242f3a1b5007b80c670caf76c01cdd075
227
exs
Elixir
priv/repo/migrations/20160217231650_add_path_and_file_comment_to_translations.exs
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
priv/repo/migrations/20160217231650_add_path_and_file_comment_to_translations.exs
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
priv/repo/migrations/20160217231650_add_path_and_file_comment_to_translations.exs
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Accent.Repo.Migrations.AddPathAndFileCommentToTranslations do use Ecto.Migration def change do alter table(:translations) do add(:file_path, :string) add(:file_comment, :string) end end end
20.636364
71
0.726872
ffff6cb9d71bdead4c136f01da1cdcbac4c2e769
605
ex
Elixir
lib/mmdb2/record/enterprise_country.ex
tcitworld/adapter_mmdb2
965fd00ce2ba3d11d1749047f97fa2ccaeaaf533
[ "Apache-2.0" ]
3
2018-03-03T18:59:55.000Z
2020-12-31T19:36:59.000Z
lib/mmdb2/record/enterprise_country.ex
tcitworld/adapter_mmdb2
965fd00ce2ba3d11d1749047f97fa2ccaeaaf533
[ "Apache-2.0" ]
3
2019-07-17T12:55:41.000Z
2020-08-31T18:55:15.000Z
lib/mmdb2/record/enterprise_country.ex
tcitworld/adapter_mmdb2
965fd00ce2ba3d11d1749047f97fa2ccaeaaf533
[ "Apache-2.0" ]
4
2019-07-15T10:07:16.000Z
2021-09-22T15:46:04.000Z
defmodule Geolix.Adapter.MMDB2.Record.EnterpriseCountry do @moduledoc """ Record for `country` information (enterprise database). """ alias Geolix.Adapter.MMDB2.Model alias Geolix.Adapter.MMDB2.Record defstruct %Record.Country{} |> Map.keys() |> List.delete(:__struct__) ...
22.407407
58
0.652893
ffff8031b9356c6d0b8d8152c815057a147235f9
1,253
ex
Elixir
test/support/apps/phx1_4/lib/phx1_4_web/endpoint.ex
nhphuc412/torch
d2145b9fdb889517c0a36a5367f0b116ee7a6844
[ "MIT" ]
528
2019-09-13T15:10:36.000Z
2022-03-31T10:28:27.000Z
test/support/apps/phx1_4/lib/phx1_4_web/endpoint.ex
nhphuc412/torch
d2145b9fdb889517c0a36a5367f0b116ee7a6844
[ "MIT" ]
133
2019-09-13T17:46:59.000Z
2022-03-01T13:37:10.000Z
test/support/apps/phx1_4/lib/phx1_4_web/endpoint.ex
nhphuc412/torch
d2145b9fdb889517c0a36a5367f0b116ee7a6844
[ "MIT" ]
38
2019-10-29T20:37:13.000Z
2022-03-03T05:19:33.000Z
defmodule Phx14Web.Endpoint do use Phoenix.Endpoint, otp_app: :phx1_4 socket "/socket", Phx14Web.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your static fil...
26.659574
69
0.706305
ffff97a9be8e51cc2a4751edfc530bb243efd95c
990
ex
Elixir
apps/service_receive/lib/receive/accept/store.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/service_receive/lib/receive/accept/store.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
apps/service_receive/lib/receive/accept/store.ex
kennyatpillar/hindsight
e90e2150a14218e5d6fdf5874f57eb055fd2dd07
[ "Apache-2.0" ]
null
null
null
defmodule Receive.Accept.Store do @instance Receive.Application.instance() @collection "accepts" import Definition, only: [identifier: 1, identifier: 2] @spec collection() :: String.t() def collection(), do: @collection @spec persist(Accept.t()) :: :ok def persist(accept) do Brook.ViewState.merge(@...
29.117647
81
0.667677
ffffb5d3c858a52a03b8c5e43b3f290cb2ad7227
194
ex
Elixir
lib/metric/prometheus.ex
dustinrouillard/dustin-gateway
205dd39e1e5c38d2d48638e3847024761aeba4f7
[ "MIT" ]
4
2021-08-15T17:40:14.000Z
2021-09-04T10:03:25.000Z
lib/metric/prometheus.ex
dustinrouillard/gm-gateway
2a2e4314cfaddf4d5e4deb32e5cfddb6231c2dd8
[ "MIT" ]
null
null
null
lib/metric/prometheus.ex
dustinrouillard/gm-gateway
2a2e4314cfaddf4d5e4deb32e5cfddb6231c2dd8
[ "MIT" ]
null
null
null
defmodule Gateway.Metrics do use Task, restart: :transient def start_link(_opts) do Task.start_link(fn -> Gateway.Metrics.Collector.start() exit(:normal) end) end end
17.636364
39
0.675258
ffffc5a97f85dbe58fc2c0a58b7f12d00686eb3c
1,266
exs
Elixir
mix.exs
vikger/block_keys
d3bf45782b1470e0bee553804bcf9ea84cf42da1
[ "Apache-2.0" ]
null
null
null
mix.exs
vikger/block_keys
d3bf45782b1470e0bee553804bcf9ea84cf42da1
[ "Apache-2.0" ]
null
null
null
mix.exs
vikger/block_keys
d3bf45782b1470e0bee553804bcf9ea84cf42da1
[ "Apache-2.0" ]
null
null
null
defmodule BlockKeys.MixProject do use Mix.Project def project do [ app: :block_keys, version: "0.1.8", elixir: "~> 1.7", description: description(), start_permanent: Mix.env() == :prod, source_url: "https://github.com/agilealpha/block_keys", package: %{ name: "...
25.32
99
0.586888
08000bde59216bfe106935a584da57f9a2d3bb96
5,089
exs
Elixir
test/arango/collection_test.exs
mpoeter/arangoex
161ed0223f4e75ca47ca921660f162d01fdab863
[ "Apache-2.0" ]
null
null
null
test/arango/collection_test.exs
mpoeter/arangoex
161ed0223f4e75ca47ca921660f162d01fdab863
[ "Apache-2.0" ]
null
null
null
test/arango/collection_test.exs
mpoeter/arangoex
161ed0223f4e75ca47ca921660f162d01fdab863
[ "Apache-2.0" ]
3
2018-03-27T09:47:04.000Z
2019-11-04T22:41:46.000Z
defmodule CollectionTest do use Arango.TestCase doctest Arango alias Arango.Collection alias Arango.Document alias Arango.Wal test "lists collections" do {:ok, collections} = Collection.collections() |> arango(database_name: "_system") names = collections |> Enum.map(fn c -> c.name end...
34.154362
117
0.648261
08004e63d6dd3e903bac01c10a02941c416a3a06
372
ex
Elixir
web/views/error_view.ex
castingclouds/rc4gho
fdbd6665aa233370c857d63b1d6a22459e1833ce
[ "MIT" ]
null
null
null
web/views/error_view.ex
castingclouds/rc4gho
fdbd6665aa233370c857d63b1d6a22459e1833ce
[ "MIT" ]
null
null
null
web/views/error_view.ex
castingclouds/rc4gho
fdbd6665aa233370c857d63b1d6a22459e1833ce
[ "MIT" ]
null
null
null
defmodule Rocket.ErrorView do use Rocket.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_template, a...
20.666667
47
0.696237
0800717a24615ed0ac60f9357feaf3a1c77d7a10
3,757
ex
Elixir
kousa/lib/data-layer/scheduled_room_data.ex
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
2
2021-03-15T22:53:51.000Z
2021-03-22T09:34:06.000Z
kousa/lib/data-layer/scheduled_room_data.ex
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
2
2021-09-01T19:42:51.000Z
2021-12-09T03:56:38.000Z
kousa/lib/data-layer/scheduled_room_data.ex
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
1
2021-03-13T20:31:49.000Z
2021-03-13T20:31:49.000Z
defmodule Kousa.Data.ScheduledRoom do import Ecto.Query import Ecto.Changeset alias Kousa.Pagination alias Beef.Schemas.ScheduledRoom alias Beef.Repo @fetch_limit 16 def get_by_id(id) do from(sr in ScheduledRoom, where: sr.id == ^id, inner_join: u in assoc(sr, :creator), preload: [...
24.555556
95
0.551504
08008298d5c47645317bd8c190e68fbb426150e8
2,249
exs
Elixir
mix.exs
vbrazo/blog_api
8a3e15c666beef8f33b6d323627f92379267ecd9
[ "MIT" ]
null
null
null
mix.exs
vbrazo/blog_api
8a3e15c666beef8f33b6d323627f92379267ecd9
[ "MIT" ]
null
null
null
mix.exs
vbrazo/blog_api
8a3e15c666beef8f33b6d323627f92379267ecd9
[ "MIT" ]
null
null
null
defmodule BlogApi.Mixfile do use Mix.Project def project do [ app: :blog_api, version: "1.0.0", elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
29.592105
94
0.55847
08008301592da03396fc8f6ebf69bcdeddc85ea9
1,924
ex
Elixir
lib/harmony/units.ex
esprezzo/elixir-harmony
0152859dc5af2762431e0399dd39f7975dbc3422
[ "MIT" ]
null
null
null
lib/harmony/units.ex
esprezzo/elixir-harmony
0152859dc5af2762431e0399dd39f7975dbc3422
[ "MIT" ]
null
null
null
lib/harmony/units.ex
esprezzo/elixir-harmony
0152859dc5af2762431e0399dd39f7975dbc3422
[ "MIT" ]
null
null
null
defmodule Harmony.Units do @moduledoc """ Module for @Type that represents Harmony.Unit struct with various ether denominations """ alias Harmony.Units @typedoc """ Type that represents Harmony.Unit struct with various ether denominations """ @type t :: %Units{ "wei": integer, "kwei": integer...
27.098592
87
0.555613
080097ed392a0b78820968a080ce5cb2a18ef815
90
exs
Elixir
test/space_raiders_web/views/page_view_test.exs
abinader89/Space-Raiders
d5e01a3200a54d22824b890238613a00f32a7d62
[ "CC-BY-3.0" ]
null
null
null
test/space_raiders_web/views/page_view_test.exs
abinader89/Space-Raiders
d5e01a3200a54d22824b890238613a00f32a7d62
[ "CC-BY-3.0" ]
null
null
null
test/space_raiders_web/views/page_view_test.exs
abinader89/Space-Raiders
d5e01a3200a54d22824b890238613a00f32a7d62
[ "CC-BY-3.0" ]
null
null
null
defmodule SpaceRaidersWeb.PageViewTest do use SpaceRaidersWeb.ConnCase, async: true end
22.5
43
0.844444
08009aab73ba92e17c870bd19fac83aefbf76c35
489
ex
Elixir
lib/access.ex
cchko/libswagger
c0e5991ca240d9315631dc0784ae71ba344a58c4
[ "MIT" ]
null
null
null
lib/access.ex
cchko/libswagger
c0e5991ca240d9315631dc0784ae71ba344a58c4
[ "MIT" ]
null
null
null
lib/access.ex
cchko/libswagger
c0e5991ca240d9315631dc0784ae71ba344a58c4
[ "MIT" ]
null
null
null
defmodule Swagger.Access do @moduledoc false defmacro __using__(_) do quote do @behaviour Access @doc false def fetch(%__MODULE__{} = s, key), do: Map.fetch(s, key) @doc false def get(%__MODULE__{} = s, key, default), do: Map.get(s, key, default) @doc false def get_an...
25.736842
90
0.603272
08009bd2cad624a5ebc61a7254d482632299d3b6
972
ex
Elixir
lib/z/endpoint.ex
davidsantoso/z
f9918e308c802116351db00510fbfcd871150c1c
[ "MIT" ]
null
null
null
lib/z/endpoint.ex
davidsantoso/z
f9918e308c802116351db00510fbfcd871150c1c
[ "MIT" ]
null
null
null
lib/z/endpoint.ex
davidsantoso/z
f9918e308c802116351db00510fbfcd871150c1c
[ "MIT" ]
null
null
null
defmodule Z.Endpoint do use Phoenix.Endpoint, otp_app: :z socket "/socket", Z.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static, at: "/", from: ...
24.3
69
0.69856
0800bbff5b87ee7fb08a874c6b40f62ac9dc6647
509
ex
Elixir
priv/catalogue/button/example03.ex
aarongraham/surface_bulma
0b8ab633465681b8c3b58c767034cb557e09c8af
[ "MIT" ]
null
null
null
priv/catalogue/button/example03.ex
aarongraham/surface_bulma
0b8ab633465681b8c3b58c767034cb557e09c8af
[ "MIT" ]
null
null
null
priv/catalogue/button/example03.ex
aarongraham/surface_bulma
0b8ab633465681b8c3b58c767034cb557e09c8af
[ "MIT" ]
null
null
null
defmodule SurfaceBulma.Catalogue.Button.Example03 do use Surface.Catalogue.Example, subject: SurfaceBulma.Button, catalogue: SurfaceBulma.Catalogue, title: "Outlined, Rounded and Loading", height: "90px", code_perc: 65, container: {:div, class: "buttons"} def render(assigns) do ~F""" ...
28.277778
59
0.695481
08011a5bd363fc5ae370136b07cb78286d356a8c
12,603
ex
Elixir
lib/aws/generated/service_discovery.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/service_discovery.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/service_discovery.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "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.ServiceDiscovery do @moduledoc """ AWS Cloud Map lets you configure public DNS, private DNS, or HTTP namespaces that your microservice applications run in. When an instance of the service...
34.911357
174
0.71475
08013ef75a89b93d6a97f93070407f2bd0e69b25
2,281
exs
Elixir
test/level_web/controllers/session_controller_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
test/level_web/controllers/session_controller_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
test/level_web/controllers/session_controller_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule LevelWeb.SessionControllerTest do use LevelWeb.ConnCase, async: true describe "GET /login" do test "includes the correct heading", %{conn: conn} do conn = conn |> get("/login") assert html_response(conn, 200) =~ "Sign in to Level" end test "redirects to spaces pa...
29.24359
91
0.580447
080142dfbce8c6ffc6168f15e06ad5bf9b3ec8b3
2,310
ex
Elixir
verify/lib/mix/ua_inspector/verify/fixtures.ex
Route-Now/ua_inspector
4e6ced73fc40b6e9947e0a1b0612d5517f343293
[ "Apache-2.0" ]
null
null
null
verify/lib/mix/ua_inspector/verify/fixtures.ex
Route-Now/ua_inspector
4e6ced73fc40b6e9947e0a1b0612d5517f343293
[ "Apache-2.0" ]
null
null
null
verify/lib/mix/ua_inspector/verify/fixtures.ex
Route-Now/ua_inspector
4e6ced73fc40b6e9947e0a1b0612d5517f343293
[ "Apache-2.0" ]
null
null
null
defmodule Mix.UAInspector.Verify.Fixtures do @moduledoc """ Utility module to bundle/download verification fixtures. """ alias UAInspector.Config @fixture_base_url "https://raw.githubusercontent.com/matomo-org/device-detector/master/Tests/fixtures" @fixtures [ "bots.yml", "camera.yml", "car_b...
22.647059
104
0.62684
080181a4ecc4b1800bc47b98839c198e9cdea117
548
exs
Elixir
api/test/views/error_view_test.exs
panayi/react-phoenix-starter-kit
6615402deeac9b359954cdd8b523f7735b75eec9
[ "MIT" ]
null
null
null
api/test/views/error_view_test.exs
panayi/react-phoenix-starter-kit
6615402deeac9b359954cdd8b523f7735b75eec9
[ "MIT" ]
null
null
null
api/test/views/error_view_test.exs
panayi/react-phoenix-starter-kit
6615402deeac9b359954cdd8b523f7735b75eec9
[ "MIT" ]
null
null
null
defmodule App.ErrorViewTest do use App.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(App.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" do assert r...
24.909091
66
0.664234
080188658f121b8315e3797599633443bfc4d118
1,376
ex
Elixir
lib/livebook_web/live/output/frame_dynamic_live.ex
alaadahmed/livebook
24668c6edb6ee638a3f5291b27bd42a3dfc0c18d
[ "Apache-2.0" ]
1,846
2021-04-13T14:46:36.000Z
2021-07-14T20:37:40.000Z
lib/livebook_web/live/output/frame_dynamic_live.ex
alaadahmed/livebook
24668c6edb6ee638a3f5291b27bd42a3dfc0c18d
[ "Apache-2.0" ]
223
2021-04-13T14:55:06.000Z
2021-07-15T00:25:23.000Z
lib/livebook_web/live/output/frame_dynamic_live.ex
alaadahmed/livebook
24668c6edb6ee638a3f5291b27bd42a3dfc0c18d
[ "Apache-2.0" ]
130
2021-04-13T15:43:55.000Z
2021-07-12T16:57:46.000Z
defmodule LivebookWeb.Output.FrameDynamicLive do use LivebookWeb, :live_view @impl true def mount( _params, %{ "pid" => pid, "id" => id, "session_id" => session_id, "input_values" => input_values, "cell_validity_status" => cell_validity_status ...
22.557377
65
0.548692
0801b2c5bd41c9787e2617a7a7210bd152ac0b66
386
ex
Elixir
lib/phoenix_bloc/web/views/error_view.ex
kevinzg/phoenix-bloc
7c61b6abfdebe25e0e43948b325093b5c98f48c8
[ "MIT" ]
5
2017-07-13T03:38:55.000Z
2019-03-25T18:19:54.000Z
lib/phoenix_bloc/web/views/error_view.ex
kevinzg/phoenix-bloc
7c61b6abfdebe25e0e43948b325093b5c98f48c8
[ "MIT" ]
null
null
null
lib/phoenix_bloc/web/views/error_view.ex
kevinzg/phoenix-bloc
7c61b6abfdebe25e0e43948b325093b5c98f48c8
[ "MIT" ]
2
2017-04-26T04:59:46.000Z
2021-09-19T12:53:49.000Z
defmodule PhoenixBloc.Web.ErrorView do use PhoenixBloc.Web, :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 def template_not_foun...
21.444444
47
0.704663
0801d6b2bb8d52f2de7b1988698185b9cff8d574
2,642
ex
Elixir
lib/ash_policy_authorizer/check.ex
jonathanstiansen/ash_policy_authorizer
d383c63d890c43211c2ac65c8ebb1aeed7fddfa5
[ "MIT" ]
null
null
null
lib/ash_policy_authorizer/check.ex
jonathanstiansen/ash_policy_authorizer
d383c63d890c43211c2ac65c8ebb1aeed7fddfa5
[ "MIT" ]
null
null
null
lib/ash_policy_authorizer/check.ex
jonathanstiansen/ash_policy_authorizer
d383c63d890c43211c2ac65c8ebb1aeed7fddfa5
[ "MIT" ]
null
null
null
defmodule AshPolicyAuthorizer.Check do @moduledoc """ A behaviour for declaring checks, which can be used to easily construct authorization rules. If a check can be expressed simply as a function of the actor, or the context of the request, see `AshPolicyAuthorizer.SimpleCheck` for an easy way to write that ...
38.852941
121
0.708176
0802320bf550334477adacf3e31d584ccad3549d
4,021
ex
Elixir
lib/swoosh/adapters/sparkpost.ex
nathf/swoosh
9507d32e3c14f52ef37e10996f161898c0c11250
[ "MIT" ]
null
null
null
lib/swoosh/adapters/sparkpost.ex
nathf/swoosh
9507d32e3c14f52ef37e10996f161898c0c11250
[ "MIT" ]
null
null
null
lib/swoosh/adapters/sparkpost.ex
nathf/swoosh
9507d32e3c14f52ef37e10996f161898c0c11250
[ "MIT" ]
null
null
null
defmodule Swoosh.Adapters.SparkPost do @moduledoc ~S""" An adapter that sends email using the SparkPost API. For reference: [SparkPost API docs](https://developers.sparkpost.com/api/) ## Example # config/config.exs config :sample, Sample.Mailer, adapter: Swoosh.Adapters.SparkPost, ...
28.51773
91
0.631684
0802a03d5f6fbc8deec2e6704c150e39424213a3
3,873
ex
Elixir
apps/toniefy/lib/toniex/clients/tonies.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
17
2021-04-12T10:01:14.000Z
2022-02-25T17:30:27.000Z
apps/toniefy/lib/toniex/clients/tonies.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
1
2022-03-09T09:35:00.000Z
2022-03-09T11:46:14.000Z
apps/toniefy/lib/toniex/clients/tonies.ex
benvp/toniefy
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
null
null
null
defmodule Toniex.Clients.Tonies do @client_id "my-tonies" @token_url "https://login.tonies.com/auth/realms/tonies/protocol/openid-connect/token" @api_url "https://api.tonie.cloud/v2" def get_token(refresh_token) do res = Tesla.client([ Tesla.Middleware.FormUrlencoded, Tesla.Middleware...
25.993289
88
0.568293
0803225b62a61ed938f8d66b1f683ae9bd289ee5
9,574
exs
Elixir
lib/elixir/test/elixir/kernel/lexical_tracker_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/test/elixir/kernel/lexical_tracker_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/test/elixir/kernel/lexical_tracker_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.LexicalTrackerTest do use ExUnit.Case, async: true alias Kernel.LexicalTracker, as: D setup do {:ok, pid} = D.start_link() {:ok, [pid: pid]} end test "can add remote dispatch", config do D.remote_dispatch(config[:pid], String, :...
33.358885
93
0.633591
08035556fdd30af7c52296f5614231e5f5f53c74
2,006
exs
Elixir
config/prod.exs
pelgero/featex
ef0bd9efa07f87b58f3df68e355a5fa6d367b04f
[ "Apache-2.0" ]
null
null
null
config/prod.exs
pelgero/featex
ef0bd9efa07f87b58f3df68e355a5fa6d367b04f
[ "Apache-2.0" ]
1
2021-05-11T19:13:08.000Z
2021-05-11T19:13:08.000Z
config/prod.exs
pelgero/featex
ef0bd9efa07f87b58f3df68e355a5fa6d367b04f
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
35.821429
66
0.713858
0803739f6555edba6ba1080ce66f2397af95774a
159
ex
Elixir
lib/liveview_bindings_web/controllers/page_controller.ex
rafalgolarz/liveview_bindings
c64fbf9661d5ff78c839daa7561549bbf6cbc731
[ "MIT" ]
null
null
null
lib/liveview_bindings_web/controllers/page_controller.ex
rafalgolarz/liveview_bindings
c64fbf9661d5ff78c839daa7561549bbf6cbc731
[ "MIT" ]
1
2021-03-10T09:32:06.000Z
2021-03-10T09:32:06.000Z
lib/liveview_bindings_web/controllers/page_controller.ex
rafalgolarz/liveview_bindings
c64fbf9661d5ff78c839daa7561549bbf6cbc731
[ "MIT" ]
null
null
null
defmodule LiveviewBindingsWeb.PageController do use LiveviewBindingsWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
19.875
47
0.767296
08037dc6c8d534d2aecc90ff557433adf067e965
4,418
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/enterprise.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/enterprise.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/enterprise.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...
55.924051
311
0.720688
0803acb2b6d8a56846db5b7588ff286de71eff34
3,919
ex
Elixir
lib/protobuf.ex
addcninblue/protobuf-elixir
a18144710fe394909a37d4533bbc28a5636311d1
[ "MIT" ]
4
2021-01-16T02:21:44.000Z
2022-03-04T18:42:18.000Z
lib/protobuf.ex
addcninblue/protobuf-elixir
a18144710fe394909a37d4533bbc28a5636311d1
[ "MIT" ]
5
2020-04-07T20:22:38.000Z
2020-09-23T02:28:36.000Z
lib/protobuf.ex
addcninblue/protobuf-elixir
a18144710fe394909a37d4533bbc28a5636311d1
[ "MIT" ]
4
2020-07-22T23:38:34.000Z
2021-03-26T18:52:54.000Z
defmodule Protobuf do @moduledoc """ `protoc` should always be used to generate code instead of wrting the code by hand. By `use` this module, macros defined in `Protobuf.DSL` will be injected. Most of thee macros are equal to definition in .proto files. defmodule Foo do use Protobuf, syntax: :p...
27.405594
104
0.654249
0803b2631795b9a31025e262f72eff009a9faca9
2,114
exs
Elixir
test/altstatus/admission/admission_test.exs
AltCampus/altstatus_backend
70bf7a9d337e570f54002c3a7df264e88372adfa
[ "MIT" ]
1
2020-01-20T18:17:59.000Z
2020-01-20T18:17:59.000Z
test/altstatus/admission/admission_test.exs
AltCampus/altstatus_backend
70bf7a9d337e570f54002c3a7df264e88372adfa
[ "MIT" ]
null
null
null
test/altstatus/admission/admission_test.exs
AltCampus/altstatus_backend
70bf7a9d337e570f54002c3a7df264e88372adfa
[ "MIT" ]
2
2018-09-09T08:05:24.000Z
2018-09-09T08:35:18.000Z
defmodule Altstatus.AdmissionTest do use Altstatus.DataCase alias Altstatus.Admission describe "batches" do alias Altstatus.Admission.Batch @valid_attrs %{name: "some name", slug: "some slug"} @update_attrs %{name: "some updated name", slug: "some updated slug"} @invalid_attrs %{name: nil, slug...
31.088235
88
0.662725
0803c8e33e97d101f9a88d072c179ed21d1cf9c9
1,987
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/autoscaler_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/autoscaler_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/autoscaler_list_warning_data.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...
39.74
527
0.739809
080415c46a766073105ecd2b0425e56ccc5658d9
11,074
ex
Elixir
lib/plots.ex
piisgaaf/chi2fit
64e1c6719142e74979a407749953b892d4ccd985
[ "Apache-2.0" ]
4
2017-11-06T20:08:40.000Z
2021-07-01T13:42:48.000Z
lib/plots.ex
piisgaaf/chi2fit
64e1c6719142e74979a407749953b892d4ccd985
[ "Apache-2.0" ]
null
null
null
lib/plots.ex
piisgaaf/chi2fit
64e1c6719142e74979a407749953b892d4ccd985
[ "Apache-2.0" ]
null
null
null
defmodule Gnuplotlib do # Copyright 2019-2019 Pieter Rijken # # 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 ...
36.668874
143
0.53603
0804290b86985579893d00d5221308fe8adf9d47
3,595
ex
Elixir
lib/vintage_net_bridge.ex
takasehideki/vintage_net_bridge
ba439f52d1b639b1c8f49b3a1f2461012a52c62d
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_bridge.ex
takasehideki/vintage_net_bridge
ba439f52d1b639b1c8f49b3a1f2461012a52c62d
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_bridge.ex
takasehideki/vintage_net_bridge
ba439f52d1b639b1c8f49b3a1f2461012a52c62d
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetBridge do @moduledoc """ Configure network bridges with VintageNet Configurations for this technology are maps with a `:type` field set to `VintageNetBridge`. The following additional fields are supported: * `:vintage_net_bridge` - Bridge options * `:interfaces` - Set to a list of in...
27.868217
93
0.663978
0804399fb3b08a226d5fe4a274c08db54cd999fd
1,107
exs
Elixir
config/config.exs
seanabrahams/tv
3d103a6ccbf2d2bade619155bf478d5c7b61a065
[ "MIT" ]
null
null
null
config/config.exs
seanabrahams/tv
3d103a6ccbf2d2bade619155bf478d5c7b61a065
[ "MIT" ]
null
null
null
config/config.exs
seanabrahams/tv
3d103a6ccbf2d2bade619155bf478d5c7b61a065
[ "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.709677
73
0.748871
08043d3f4fe2f73e612b37927b8ac51661c9539e
732
ex
Elixir
lib/cforum_web/gettext.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum_web/gettext.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum_web/gettext.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule CforumWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import Cforum.Gettext # Simple translation gettext "Here is the st...
29.28
72
0.684426
080442d7926f4e1d55c3d368b639073544eda1c1
14,501
ex
Elixir
lib/ex_unit/lib/ex_unit.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-12-18T19:20:37.000Z
2020-12-18T19:20:37.000Z
lib/ex_unit/lib/ex_unit.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-11-25T02:22:55.000Z
2020-11-25T02:22:55.000Z
defmodule ExUnit do @moduledoc """ Unit testing framework for Elixir. ## Example A basic setup for ExUnit is shown below: # File: assertion_test.exs # 1) Start ExUnit. ExUnit.start() # 2) Create a new test module (test case) and use "ExUnit.Case". defmodule AssertionTest do ...
32.440716
97
0.659817
080472df5e81d6878202ecf227bb1d9942b4b1a1
6,109
exs
Elixir
test/screens/config/struct_test.exs
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
3
2021-07-27T14:11:00.000Z
2022-01-03T14:16:43.000Z
test/screens/config/struct_test.exs
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
444
2021-03-10T20:57:17.000Z
2022-03-31T16:00:35.000Z
test/screens/config/struct_test.exs
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
null
null
null
defmodule TEST.Config1 do @type t :: %__MODULE__{ action: :include | :exclude, values: list(String.t()) } @enforce_keys [:action, :values] defstruct @enforce_keys use Screens.Config.Struct defp value_from_json("action", "include"), do: :include defp value_from_json("action", "...
28.816038
109
0.617777
080480990f0f311de2e990b8e77576445f265561
5,331
exs
Elixir
test/error_storage_test.exs
sevgit/boom
80be1830f69c71cab0f0b12e8dd3faad8a64d859
[ "MIT" ]
null
null
null
test/error_storage_test.exs
sevgit/boom
80be1830f69c71cab0f0b12e8dd3faad8a64d859
[ "MIT" ]
null
null
null
test/error_storage_test.exs
sevgit/boom
80be1830f69c71cab0f0b12e8dd3faad8a64d859
[ "MIT" ]
null
null
null
defmodule ErrorStorageTest do use ExUnit.Case, async: true @error_info "Some error information" @error_kind :error_kind setup_all do Boom.ErrorStorage.start_link() :ok end setup do Agent.update(:boom, fn _ -> %{} end) end describe "add_errors/2" do test "appends the error to its prop...
37.020833
98
0.642656
0804a547e3226caf505767e53647f562a62d362b
3,609
exs
Elixir
test/metric_transaction_test.exs
trustvox/elixir_agent
391c83c82336c96fd78a03c8ee316d48de2eea4f
[ "Apache-2.0" ]
null
null
null
test/metric_transaction_test.exs
trustvox/elixir_agent
391c83c82336c96fd78a03c8ee316d48de2eea4f
[ "Apache-2.0" ]
null
null
null
test/metric_transaction_test.exs
trustvox/elixir_agent
391c83c82336c96fd78a03c8ee316d48de2eea4f
[ "Apache-2.0" ]
null
null
null
defmodule MetricTransactionTest do use ExUnit.Case use Plug.Test alias NewRelic.Harvest.Collector defmodule TestPlugAppForward do import Plug.Conn def init(opts), do: opts def call(conn, _opts), do: send_resp(conn, 200, "ok") end defmodule Status do use Plug.Router plug(:match) ...
26.343066
94
0.682738
0804c4bea044e83982288282bd8bc2e1a004b9fe
1,943
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_web_detection_web_entity.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_web_detection_web_entity.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_web_detection_web_entity.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.932203
147
0.739063
0804ef642910a9974e3cf3c8f2ab71778a876c88
726
ex
Elixir
lib/forecastr/cache.ex
densefog/forecastr
5b95b52ecd6a1324cac5e8616f693e929135a331
[ "Apache-2.0" ]
11
2018-03-26T07:09:17.000Z
2020-01-12T21:52:03.000Z
lib/forecastr/cache.ex
densefog/forecastr
5b95b52ecd6a1324cac5e8616f693e929135a331
[ "Apache-2.0" ]
3
2018-03-27T09:10:54.000Z
2018-04-10T19:08:03.000Z
lib/forecastr/cache.ex
densefog/forecastr
5b95b52ecd6a1324cac5e8616f693e929135a331
[ "Apache-2.0" ]
7
2018-03-26T07:09:20.000Z
2021-03-06T14:43:44.000Z
defmodule Forecastr.Cache do @moduledoc """ "Proxy" module for different caches """ @spec get(:today, String.t()) :: map() | nil def get(:today, query) do Forecastr.Cache.Worker.get(Forecastr.Cache.Today, query) end @spec get(:next_days, String.t()) :: map() | nil def get(:next_days, query) do ...
27.923077
73
0.674931
0804fefbfcf7dd6cffcce25a895d72e2926c3c90
613
exs
Elixir
test/views/error_view_test.exs
gilcierweb/appElixirPhoenix
4c594b365ddc07e732bd421901620469a49b2395
[ "MIT" ]
1
2018-04-25T15:03:42.000Z
2018-04-25T15:03:42.000Z
test/views/error_view_test.exs
gilcierweb/appElixirPhoenix
4c594b365ddc07e732bd421901620469a49b2395
[ "MIT" ]
null
null
null
test/views/error_view_test.exs
gilcierweb/appElixirPhoenix
4c594b365ddc07e732bd421901620469a49b2395
[ "MIT" ]
null
null
null
defmodule AppElixirPhoenix.ErrorViewTest do use AppElixirPhoenix.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(AppElixirPhoenix.ErrorView, "404.html", []) == "Page not found" end ...
27.863636
74
0.699837
0805080468b02cde07fb31b42e3c88fc4b686577
411
ex
Elixir
test/support/mocks/behaviours/path.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
test/support/mocks/behaviours/path.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
test/support/mocks/behaviours/path.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
defmodule Tests.Support.Mocks.Behaviours.Path do @callback basename(path :: Path.t()) :: String.t() @callback expand(path :: Path.t()) :: String.t() @callback type(path :: Path.t()) :: :absolute | :relative | :volumerelative @callback join(paths :: list(Path.t())) :: String.t() @callback join(left :: Path.t()...
45.666667
77
0.632603
080567035007d99810e1b0c3440371653859c291
3,248
ex
Elixir
lib/litelist_web/controllers/dashboard_controller.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T15:46:49.000Z
2021-01-13T15:46:49.000Z
lib/litelist_web/controllers/dashboard_controller.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T16:42:24.000Z
2021-01-13T16:42:24.000Z
lib/litelist_web/controllers/dashboard_controller.ex
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
null
null
null
defmodule LitelistWeb.DashboardController do use LitelistWeb, :controller alias Litelist.Posts alias LitelistWeb.Utils.SharedUtils alias LitelistWeb.Utils.ExportUtils alias Litelist.Moderation alias Litelist.Discussions def index(conn, _params) do render(conn, "index.html") end...
34.189474
96
0.664101
08058fa863e9b6ee62a73aefa72777f72bc3318b
140
exs
Elixir
test/onvif_test.exs
cogini/onvif
ec687d70895bf22ad7b802d7964142e3719787b6
[ "Apache-2.0" ]
3
2018-09-26T07:33:22.000Z
2020-01-14T18:34:44.000Z
test/onvif_test.exs
cogini/onvif
ec687d70895bf22ad7b802d7964142e3719787b6
[ "Apache-2.0" ]
null
null
null
test/onvif_test.exs
cogini/onvif
ec687d70895bf22ad7b802d7964142e3719787b6
[ "Apache-2.0" ]
null
null
null
defmodule OnvifTest do use ExUnit.Case # doctest Onvif # test "greets the world" do # assert Onvif.hello() == :world # end end
15.555556
36
0.657143
080591648efff0e8a017bb7171cd989a53ced046
4,594
exs
Elixir
test/yacto/query_test.exs
pumbaacave/yacto
6bb98a7d156ff49aa18756b6cf7ce9d1ee89bf23
[ "Apache-2.0" ]
null
null
null
test/yacto/query_test.exs
pumbaacave/yacto
6bb98a7d156ff49aa18756b6cf7ce9d1ee89bf23
[ "Apache-2.0" ]
null
null
null
test/yacto/query_test.exs
pumbaacave/yacto
6bb98a7d156ff49aa18756b6cf7ce9d1ee89bf23
[ "Apache-2.0" ]
null
null
null
defmodule Yacto.QueryTest do use PowerAssert require Ecto.Query @player_id "player_id" setup do repo_default = Yacto.DB.repo(:default) _item = repo_default.insert!(%Yacto.QueryTest.Item{name: "foo", quantity: 100}) repo_player = Yacto.DB.repo(:player, @player_id) _player = repo_player.insert!...
28.7125
97
0.62081
0805ab8ce6ba05bb9ad72ebb2f209074ba9e8b93
5,513
ex
Elixir
lib/bamboo/postmark_adapter.ex
kianmeng/bamboo_postmark
e25fbecde39adc90c84c1fc64545d8f332c3ce85
[ "MIT" ]
null
null
null
lib/bamboo/postmark_adapter.ex
kianmeng/bamboo_postmark
e25fbecde39adc90c84c1fc64545d8f332c3ce85
[ "MIT" ]
null
null
null
lib/bamboo/postmark_adapter.ex
kianmeng/bamboo_postmark
e25fbecde39adc90c84c1fc64545d8f332c3ce85
[ "MIT" ]
null
null
null
defmodule Bamboo.PostmarkAdapter do @moduledoc """ Sends email using Postmarks's API. Use this adapter to send emails through Postmark's API. Requires that an API key is set in the config. ## Example config # In config/config.exs, or config.prod.exs, etc. config :my_app, MyApp.Mailer, a...
27.984772
83
0.630691
0805d4b406aca7afb153bb60b1b1cdf1287bbb39
6,065
exs
Elixir
test/blockfrost/cardano/metadata_test.exs
blockfrost/blockfrost-elixir
b1f8ea7ae47cd3a7037e1c9ed0d3691fc775bdec
[ "Apache-2.0" ]
13
2021-08-31T03:54:37.000Z
2022-01-30T17:39:40.000Z
test/blockfrost/cardano/metadata_test.exs
blockfrost/blockfrost-elixir
b1f8ea7ae47cd3a7037e1c9ed0d3691fc775bdec
[ "Apache-2.0" ]
6
2021-08-30T04:45:52.000Z
2021-09-23T09:15:08.000Z
test/blockfrost/cardano/metadata_test.exs
blockfrost/blockfrost-elixir
b1f8ea7ae47cd3a7037e1c9ed0d3691fc775bdec
[ "Apache-2.0" ]
null
null
null
defmodule Blockfrost.Cardano.MetadataTest do use Blockfrost.Case alias Blockfrost.Cardano.Metadata alias Blockfrost.HTTPClientMock alias Blockfrost.Response.{ TransactionMetadataLabelsResponse, TransactionMetadataContentJSONResponse, TransactionMetadataContentCBORResponse } setup_all do ...
33.324176
94
0.519373