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
33496d45cd53cede7ccd61ca14d32a47d1356fca
3,040
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/update_paragraph_style_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/slides/lib/google_api/slides/v1/model/update_paragraph_style_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/update_paragraph_style_request.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 ...
42.222222
167
0.713158
33497cb1afbda4494bab2bec596e2118a5774415
623
ex
Elixir
apps/teaching_management/lib/teaching_management/accounts/student.ex
danielscosta/teaching_management
c703374a27174763d5309b9144ba09488eeb95c4
[ "MIT" ]
2
2020-07-28T14:10:41.000Z
2020-10-20T20:32:27.000Z
apps/teaching_management/lib/teaching_management/accounts/student.ex
danielscosta/teaching_management
c703374a27174763d5309b9144ba09488eeb95c4
[ "MIT" ]
null
null
null
apps/teaching_management/lib/teaching_management/accounts/student.ex
danielscosta/teaching_management
c703374a27174763d5309b9144ba09488eeb95c4
[ "MIT" ]
null
null
null
defmodule TeachingManagement.Accounts.Student do @moduledoc false use Ecto.Schema import Ecto.Changeset alias TeachingManagement.Records.Group @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "students" do field :internal_code, :string many_to_many :groups, ...
23.961538
64
0.717496
33497e1e90fefe15875092192579325f842c0d09
5,320
ex
Elixir
lib/smppex/mc.ex
cgcorea/smppex
a90e072bf037b2bba7166fe3c79d2ceba78feb6d
[ "MIT" ]
null
null
null
lib/smppex/mc.ex
cgcorea/smppex
a90e072bf037b2bba7166fe3c79d2ceba78feb6d
[ "MIT" ]
null
null
null
lib/smppex/mc.ex
cgcorea/smppex
a90e072bf037b2bba7166fe3c79d2ceba78feb6d
[ "MIT" ]
null
null
null
defmodule SMPPEX.MC do @moduledoc """ This is a module for launching a TCP listener (or any other listener supported by `ranch`, for example, `ssl`) which handles incoming connections with the passed `SMPPEX.Session` implementations. To start an MC one generally should do the following. 1. Implement an `SMPPE...
46.666667
293
0.709586
33498137d930c1627608e0b7b5fbba8c49551c80
3,589
ex
Elixir
lib/notion.ex
garthk/notion
08c6288659c23e47f97fbd6c0a9dfbd8bc28019e
[ "MIT" ]
12
2019-06-15T09:08:01.000Z
2021-11-10T04:25:28.000Z
lib/notion.ex
garthk/notion
08c6288659c23e47f97fbd6c0a9dfbd8bc28019e
[ "MIT" ]
11
2019-06-16T01:38:25.000Z
2022-02-13T06:21:51.000Z
lib/notion.ex
garthk/notion
08c6288659c23e47f97fbd6c0a9dfbd8bc28019e
[ "MIT" ]
2
2019-06-16T05:43:22.000Z
2022-02-09T00:31:30.000Z
defmodule Notion do @moduledoc """ Notion is a thin wrapper around [`:telemetry`](https://github.com/beam-telemetry/telemetry) that defines functions that dispatch telemetry events, documentation, and specs for your applications events. """ @moduledoc_template """ `MODULE_NAME` is a thin wrapper around [`:te...
28.712
203
0.605183
33499c3c41134c5de499f5aaf0c724182443083d
4,540
exs
Elixir
apps/ewallet/test/ewallet/web/balance_loader_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/test/ewallet/web/balance_loader_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/test/ewallet/web/balance_loader_test.exs
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 ...
31.310345
96
0.624449
3349cc8741d29d09f37801326cdedcb2e9f72dba
52
exs
Elixir
test/multicasting_test.exs
paulanthonywilson/otp-multicast-example
8f2a2f189cd2dc6f546979121a4999aa7f1fb6a4
[ "MIT" ]
2
2021-03-10T13:42:21.000Z
2021-04-08T02:58:34.000Z
test/multicasting_test.exs
paulanthonywilson/otp-multicast-example
8f2a2f189cd2dc6f546979121a4999aa7f1fb6a4
[ "MIT" ]
null
null
null
test/multicasting_test.exs
paulanthonywilson/otp-multicast-example
8f2a2f189cd2dc6f546979121a4999aa7f1fb6a4
[ "MIT" ]
null
null
null
defmodule MulticastingTest do use ExUnit.Case end
13
29
0.826923
334a3690665f6d1b20a4fba6281c4cda41665888
342
ex
Elixir
elixir/euler/lib/euler_elixir/problem2.ex
dreadwail/study
71793dedfb3ce9cd1dbbdc3d36f2b16214d1abcb
[ "MIT" ]
1
2022-01-22T22:46:12.000Z
2022-01-22T22:46:12.000Z
elixir/euler/lib/euler_elixir/problem2.ex
dreadwail/study
71793dedfb3ce9cd1dbbdc3d36f2b16214d1abcb
[ "MIT" ]
94
2020-12-30T23:31:22.000Z
2022-03-29T08:58:43.000Z
elixir/euler/lib/euler_elixir/problem2.ex
dreadwail/study
71793dedfb3ce9cd1dbbdc3d36f2b16214d1abcb
[ "MIT" ]
null
null
null
defmodule EulerElixir.Problem2 do def fib_of(0), do: 1 def fib_of(1), do: 1 def fib_of(n), do: fib_of(n - 1) + fib_of(n - 2) def sum_even_fibs(max: max) do Stream.iterate(1, &(&1 + 1)) |> Stream.map(&fib_of/1) |> Stream.filter(&(rem(&1, 2) == 0)) |> Stream.take_while(&(&1 < max)) |...
21.375
50
0.55848
334a3d60e1a96e3381aa146656ead6d120240bfc
15,321
ex
Elixir
lib/flamelex/gui/components/kommand_buffer/utils/kommand_buffer_gui_utils.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
10
2021-03-02T20:05:13.000Z
2022-03-14T21:10:39.000Z
lib/flamelex/gui/components/kommand_buffer/utils/kommand_buffer_gui_utils.ex
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
2
2021-12-14T18:29:44.000Z
2021-12-23T20:38:27.000Z
lib/flamelex/gui/components/kommand_buffer/utils/kommand_buffer_gui_utils.ex
JediLuke/franklin
8eb77a342547de3eb43d28dcf9f835ff443ad489
[ "Apache-2.0" ]
2
2021-12-05T20:41:26.000Z
2021-12-26T01:46:42.000Z
defmodule Flamelex.GUI.Component.KommandBuffer.Utils do use Flamelex.ProjectAliases # @font_size Flamelex.GUI.Fonts.size() # @cursor_width GUI.Fonts.monospace_font_width(:ibm_plex, @font_size) #TODO get this properly # @cursor_width 16 # @text_field_left_margin 2 # distance between the left-hand side of th...
33.306522
204
0.63612
334a413bf92dd96b83b9d879059bb0a3aa1abb50
2,203
exs
Elixir
test/model/account_test.exs
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
27
2015-08-09T16:36:31.000Z
2020-01-26T17:47:17.000Z
test/model/account_test.exs
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
14
2015-07-31T07:28:07.000Z
2018-09-06T18:32:37.000Z
test/model/account_test.exs
Ablu/fintex
3dd2088c01a4e035478d09df1e09ec244b54cf87
[ "MIT" ]
19
2015-07-31T01:25:17.000Z
2019-06-29T16:28:42.000Z
defmodule FinTex.Model.AccountTest do alias FinTex.DataProvider alias FinTex.Model.Account use ExUnit.Case use FinTex setup do { :ok, fintex: DataProvider.fintex, credentials: DataProvider.credentials, account: DataProvider.account, ibans: DataProvider.ibans, bics: Da...
22.479592
83
0.620971
334a90deb876f1228813f955ebd490ab29983471
1,312
ex
Elixir
lib/nebulex/object.ex
bbassett/nebulex
4bbe24358a128a6205309c09c2ca758a89dfce40
[ "MIT" ]
1
2021-03-04T12:47:10.000Z
2021-03-04T12:47:10.000Z
lib/nebulex/object.ex
peburrows/nebulex
df9146e3af6600e79e5f0db2a74e0be7b1055250
[ "MIT" ]
null
null
null
lib/nebulex/object.ex
peburrows/nebulex
df9146e3af6600e79e5f0db2a74e0be7b1055250
[ "MIT" ]
null
null
null
defmodule Nebulex.Object do @moduledoc """ Defines a Cache Object. This is the struct used by the caches to store and retrieve data. """ defstruct [:key, :value, :version, :expire_at] @type t :: %__MODULE__{ key: any, value: any, version: any, expire_at: integer | ...
25.72549
88
0.660823
334a91d2190b0dbad8cf084a007a6c90c2a999f7
80,454
ex
Elixir
lib/google_maps.ex
eldarik/google_maps
49c40745c7b776a4be8df66f2ca36c59e9c7b344
[ "MIT" ]
null
null
null
lib/google_maps.ex
eldarik/google_maps
49c40745c7b776a4be8df66f2ca36c59e9c7b344
[ "MIT" ]
null
null
null
lib/google_maps.ex
eldarik/google_maps
49c40745c7b776a4be8df66f2ca36c59e9c7b344
[ "MIT" ]
null
null
null
defmodule GoogleMaps do @moduledoc """ Provides various map-related functionality. Unless otherwise noted, all the functions take the required Google parameters as its own parameters, and all optional ones in an `options` keyword list. The `options` keyword can also take special entry for `headers` and ...
45.505656
242
0.689686
334a9e55b37c624d40c6b09c7782300f6dd192a5
3,100
exs
Elixir
apps/language_server/test/providers/references_test.exs
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
865
2018-10-31T20:29:13.000Z
2022-03-29T11:13:39.000Z
apps/language_server/test/providers/references_test.exs
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
441
2019-01-05T02:33:52.000Z
2022-03-30T20:56:50.000Z
apps/language_server/test/providers/references_test.exs
maciej-szlosarczyk/elixir-ls
f9e3a969a32212482a7625deec9e0fd0f533f991
[ "Apache-2.0" ]
126
2018-11-12T19:16:53.000Z
2022-03-26T13:27:50.000Z
defmodule ElixirLS.LanguageServer.Providers.ReferencesTest do use ExUnit.Case, async: true alias ElixirLS.LanguageServer.Providers.References alias ElixirLS.LanguageServer.SourceFile alias ElixirLS.LanguageServer.Test.FixtureHelpers require ElixirLS.Test.TextLoc test "finds references to a function" do ...
28.971963
71
0.510323
334aab01c709b64d6d31f96a978745bebfd869c2
3,224
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/expr.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/expr.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/expr.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...
57.571429
1,092
0.736663
334ad25589c24b73249c540e39aa8f467e2c599e
87
exs
Elixir
test/test_helper.exs
RiverFinancial/logger_sentry
e31a50c990aa0640e0ea36c2cb40daf91bd69ad8
[ "Apache-2.0" ]
18
2017-12-03T09:40:29.000Z
2022-03-29T12:55:00.000Z
test/test_helper.exs
RiverFinancial/logger_sentry
e31a50c990aa0640e0ea36c2cb40daf91bd69ad8
[ "Apache-2.0" ]
7
2018-07-18T19:06:27.000Z
2022-02-03T03:46:54.000Z
test/test_helper.exs
RiverFinancial/logger_sentry
e31a50c990aa0640e0ea36c2cb40daf91bd69ad8
[ "Apache-2.0" ]
4
2019-04-01T07:19:05.000Z
2021-07-07T22:06:11.000Z
ExUnit.start() :ets.new(:__just_prepare_for_logger_sentry__, [:named_table, :public])
21.75
70
0.781609
334ae92cb7c3326cb44ce6ac049acf5e93697c8e
2,098
ex
Elixir
lib/code_corps_web/controllers/organization_github_app_installation_controller.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
lib/code_corps_web/controllers/organization_github_app_installation_controller.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
lib/code_corps_web/controllers/organization_github_app_installation_controller.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorpsWeb.OrganizationGithubAppInstallationController do @moduledoc false use CodeCorpsWeb, :controller alias CodeCorps.{OrganizationGithubAppInstallation, User, Helpers.Query} action_fallback CodeCorpsWeb.FallbackController plug CodeCorpsWeb.Plug.DataToAttributes @spec index(Conn.t, map) ::...
46.622222
200
0.713537
334aef87b0c9d5cf9821fc1a604c67d459428ffb
549
ex
Elixir
lib/absinthe/language/float_value.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
4,101
2016-03-02T03:49:20.000Z
2022-03-31T05:46:01.000Z
lib/absinthe/language/float_value.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
889
2016-03-02T16:06:59.000Z
2022-03-31T20:24:12.000Z
lib/absinthe/language/float_value.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
564
2016-03-02T07:49:59.000Z
2022-03-06T14:40:59.000Z
defmodule Absinthe.Language.FloatValue do @moduledoc false alias Absinthe.{Blueprint, Language} defstruct [ :value, :loc ] @type t :: %__MODULE__{ value: float, loc: Language.loc_t() } defimpl Blueprint.Draft do def convert(node, _doc) do %Blueprint.Input.Fl...
19.607143
75
0.624772
334af2c1161469673cd78c2052a26a7fb1e2095d
968
exs
Elixir
config/config.exs
thluiz/quartoElugRJ
4988fe0fd05ed92a43f92f5d43ebbc2983021c30
[ "MIT" ]
1
2016-05-06T00:00:10.000Z
2016-05-06T00:00:10.000Z
config/config.exs
thluiz/quartoElugRJ
4988fe0fd05ed92a43f92f5d43ebbc2983021c30
[ "MIT" ]
null
null
null
config/config.exs
thluiz/quartoElugRJ
4988fe0fd05ed92a43f92f5d43ebbc2983021c30
[ "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. use Mix.Config # Configures the endpoint config :quartoElugRJ, QuartoElugRJ.Endpoint, url: [host: ...
32.266667
86
0.760331
334b12606f81e309c31ea62a24cc24e009fd6897
264
exs
Elixir
test/exticker_test.exs
straightdave/exticker
7ab8779b797cffea8107bcd16eaf82ca81f271af
[ "MIT" ]
null
null
null
test/exticker_test.exs
straightdave/exticker
7ab8779b797cffea8107bcd16eaf82ca81f271af
[ "MIT" ]
null
null
null
test/exticker_test.exs
straightdave/exticker
7ab8779b797cffea8107bcd16eaf82ca81f271af
[ "MIT" ]
null
null
null
defmodule MyTicker do use ExTicker def work() do IO.puts("hello") end end defmodule ExTickerTest do use ExUnit.Case doctest ExTicker test "start ok" do MyTicker.new() MyTicker.start() :timer.sleep(5000) MyTicker.stop() end end
13.2
25
0.666667
334b1378bc9548c0574f1d03507e7d959599f9d0
3,146
ex
Elixir
lib/drain_ex/discover.ex
frobese/drain_ex
76329841a08569fa2562bed2823739b3c8588f14
[ "Apache-2.0" ]
null
null
null
lib/drain_ex/discover.ex
frobese/drain_ex
76329841a08569fa2562bed2823739b3c8588f14
[ "Apache-2.0" ]
null
null
null
lib/drain_ex/discover.ex
frobese/drain_ex
76329841a08569fa2562bed2823739b3c8588f14
[ "Apache-2.0" ]
null
null
null
defmodule DrainEx.Discover do use GenServer require Logger alias DrainEx.Config defmodule Beacon do defstruct [:host, :port, :iid, :group, :first_seen, :last_seen] end defstruct [:config, :socket, :beacons] def beacons() do GenServer.call(__MODULE__, :beacons) end def start_link(_args) d...
24.578125
97
0.608709
334b324225ad5bf5a745c64dee36cae4db2de9bb
246
exs
Elixir
test/test_helper.exs
nimblehq/liveman-demo-api
e184349983f949c8434b8651f9223db597ef1025
[ "MIT" ]
null
null
null
test/test_helper.exs
nimblehq/liveman-demo-api
e184349983f949c8434b8651f9223db597ef1025
[ "MIT" ]
19
2021-07-02T08:14:52.000Z
2021-07-30T09:33:12.000Z
test/test_helper.exs
nimblehq/liveman
e184349983f949c8434b8651f9223db597ef1025
[ "MIT" ]
null
null
null
Code.put_compiler_option(:warnings_as_errors, true) {:ok, _} = Application.ensure_all_started(:ex_machina) {:ok, _} = Application.ensure_all_started(:mimic) ExUnit.start(capture_log: true) Ecto.Adapters.SQL.Sandbox.mode(Liveman.Repo, :manual)
27.333333
54
0.784553
334b34074b86358151d7ada342fede4c6b7aa9bf
8,382
ex
Elixir
deps/phoenix/lib/phoenix/transports/long_poll.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/transports/long_poll.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/transports/long_poll.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
1
2020-02-08T16:23:00.000Z
2020-02-08T16:23:00.000Z
defmodule Phoenix.Transports.LongPoll do @moduledoc """ Socket transport for long poll clients. ## Configuration The long poll is configurable in your socket: transport :longpoll, Phoenix.Transports.LongPoll, window_ms: 10_000, pubsub_timeout_ms: 2_000, transport_log: false, ...
31.276119
101
0.658315
334b3920b6b9ea41fee42d296c93820c99350132
1,218
exs
Elixir
test/controllers/api/post_controller_test.exs
stoiven/tilex
953eca1e5471c603527b4c655fdfc4d60198f47f
[ "MIT" ]
460
2016-12-28T21:50:05.000Z
2022-03-16T14:34:08.000Z
test/controllers/api/post_controller_test.exs
stoiven/tilex
953eca1e5471c603527b4c655fdfc4d60198f47f
[ "MIT" ]
412
2016-12-27T17:32:01.000Z
2021-09-17T23:51:47.000Z
test/controllers/api/post_controller_test.exs
stoiven/tilex
953eca1e5471c603527b4c655fdfc4d60198f47f
[ "MIT" ]
140
2017-01-06T06:55:58.000Z
2022-02-04T13:35:21.000Z
defmodule Tilex.Api.PostControllerTest do use TilexWeb.ConnCase, async: true alias Tilex.Factory test "returns the entries", %{conn: conn} do lizlemon = Factory.insert!(:developer, username: "lizlemon") Factory.insert!(:post, title: "Eye-rolling Is My Life", developer: lizlemon, inser...
26.478261
80
0.604269
334b3b3c30dfad10a23256d7b2e0f68059acb645
433
ex
Elixir
test/support/server.ex
thiamsantos/heartcheck-elixir
bb8b003c3c0a79332837c34fc1287f493832108c
[ "MIT" ]
null
null
null
test/support/server.ex
thiamsantos/heartcheck-elixir
bb8b003c3c0a79332837c34fc1287f493832108c
[ "MIT" ]
null
null
null
test/support/server.ex
thiamsantos/heartcheck-elixir
bb8b003c3c0a79332837c34fc1287f493832108c
[ "MIT" ]
null
null
null
defmodule TestServer do @moduledoc false def start do {:ok, s} = :ranch_tcp.listen(port: 0) {:ok, port} = :inet.port(s) :erlang.port_close(s) {:ok, socket} = :ranch_tcp.listen(port: port) ref = make_ref() cowboy_opts = [ref: ref, acceptors: 5, port: port, socket: socket] {:ok, cowboy_...
25.470588
78
0.630485
334b695ac0e0a925880c3fec9689d96bc5afd0ed
272
ex
Elixir
lib/exfile/hasher.ex
sreecodeslayer/exfile
c88288563d688fb47a6fcae190dbe1b8eb64bf9b
[ "MIT" ]
100
2015-12-25T12:38:41.000Z
2021-12-31T11:41:20.000Z
lib/exfile/hasher.ex
sreecodeslayer/exfile
c88288563d688fb47a6fcae190dbe1b8eb64bf9b
[ "MIT" ]
62
2015-12-26T01:43:54.000Z
2019-09-15T16:16:35.000Z
lib/exfile/hasher.ex
sreecodeslayer/exfile
c88288563d688fb47a6fcae190dbe1b8eb64bf9b
[ "MIT" ]
22
2016-04-19T11:54:38.000Z
2021-09-29T14:48:46.000Z
defmodule Exfile.Hasher do @moduledoc """ A behaviour defining a module to generate a file ID. The File ID will be used as the filename on the backend storage. """ @type uploadable :: Exfile.LocalFile.t @callback hash(uploadable) :: Exfile.File.file_id end
22.666667
66
0.724265
334b9fefd8bf703e135ef22d4be76ad5c6e00b97
505
ex
Elixir
lib/curator_lockable/hooks.ex
curator-ex/curator_lockable
31b03c18c8ea194f9cde378dcfa5bae400c566bd
[ "MIT" ]
null
null
null
lib/curator_lockable/hooks.ex
curator-ex/curator_lockable
31b03c18c8ea194f9cde378dcfa5bae400c566bd
[ "MIT" ]
null
null
null
lib/curator_lockable/hooks.ex
curator-ex/curator_lockable
31b03c18c8ea194f9cde378dcfa5bae400c566bd
[ "MIT" ]
null
null
null
defmodule CuratorLockable.Hooks do @moduledoc """ This module hooks into the curator lifecycle. """ use Curator.Hooks def before_sign_in(user, _type) do CuratorLockable.active_for_authentication?(user) end def after_sign_in(conn, user, _key) do CuratorLockable.clear_lock_info!(user) conn ...
18.035714
52
0.730693
334baaf48a06218c7f2a37cd95aaec5d33107c01
110
exs
Elixir
test/test_helper.exs
Lean5/rbmq
c6e746c212e103fc4ada53969e88fc1f32a357a6
[ "MIT" ]
26
2016-08-29T09:32:58.000Z
2022-03-22T16:32:26.000Z
test/test_helper.exs
Nebo15/rbmq
247070853396778b16ba664f114c25fb2633c9f2
[ "MIT" ]
10
2016-08-26T10:44:12.000Z
2018-05-22T23:42:23.000Z
test/test_helper.exs
Lean5/rbmq
c6e746c212e103fc4ada53969e88fc1f32a357a6
[ "MIT" ]
9
2016-08-29T10:56:03.000Z
2021-06-07T23:44:54.000Z
ExUnit.start() # Comment this line it you want to have verbose console output Logger.remove_backend(:console)
27.5
62
0.8
334be456b7f64a1c4cfb2bf4457e887f6335284f
621
ex
Elixir
lib/mockin_web/views/route_view.ex
victor-mesquita/mockin-api
31efb457067b0b1cf8878eccc87480e009934fc9
[ "MIT" ]
null
null
null
lib/mockin_web/views/route_view.ex
victor-mesquita/mockin-api
31efb457067b0b1cf8878eccc87480e009934fc9
[ "MIT" ]
null
null
null
lib/mockin_web/views/route_view.ex
victor-mesquita/mockin-api
31efb457067b0b1cf8878eccc87480e009934fc9
[ "MIT" ]
null
null
null
defmodule MockinWeb.RouteView do use MockinWeb, :view alias MockinWeb.{RouteView, FormatHelpers} def render("index.json", %{routes: routes}) do %{ routes: render_many(routes, RouteView, "route.json") } end def render("show.json", %{route: route}) do %{route: render_one(route, RouteView, "r...
20.032258
58
0.595813
334bf47a55407f4b3efc2d31fb2a6250f2d10798
256
ex
Elixir
lib/les/repo.ex
gpad/les
2317b8055ab24aa857a6cda06f6e529c992c668c
[ "Apache-2.0" ]
11
2018-04-06T14:02:15.000Z
2020-12-09T10:44:03.000Z
lib/les/repo.ex
gpad/les
2317b8055ab24aa857a6cda06f6e529c992c668c
[ "Apache-2.0" ]
1
2018-11-18T02:35:23.000Z
2018-11-18T02:35:23.000Z
lib/les/repo.ex
gpad/les
2317b8055ab24aa857a6cda06f6e529c992c668c
[ "Apache-2.0" ]
null
null
null
defmodule Les.Repo do use Ecto.Repo, otp_app: :les @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
21.333333
66
0.6875
334bf7dd51ec33624f15e25c5c9f2cb174a7a37e
218
exs
Elixir
priv/repo/migrations/20160801161005_enably_pgsql_fuzzymatch.exs
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20160801161005_enably_pgsql_fuzzymatch.exs
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20160801161005_enably_pgsql_fuzzymatch.exs
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Repo.Migrations.EnablyPgsqlFuzzymatch do use Ecto.Migration def up do execute "CREATE EXTENSION IF NOT EXISTS fuzzystrmatch" end def down do raise "non reversible migration" end end
18.166667
58
0.756881
334c2cd2a8d3e247d542c2185c86198c70648a6d
732
ex
Elixir
clients/kratos/elixir/lib/ory/model/self_service_verification_flow_state.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/kratos/elixir/lib/ory/model/self_service_verification_flow_state.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/kratos/elixir/lib/ory/model/self_service_verification_flow_state.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule Ory.Model.SelfServiceVerificationFlowState do @moduledoc """ The state represents the state of the verification flow. choose_method: ask the user...
28.153846
271
0.744536
334c31a6e140960905c528cc712abf728b92c125
434
exs
Elixir
test/recurly/address_test.exs
calibr/recurly-client-elixir
a1160a10f90e0919adacf39bd95df3784e11fdcc
[ "MIT" ]
8
2016-08-11T00:45:46.000Z
2020-05-04T18:55:48.000Z
test/recurly/address_test.exs
calibr/recurly-client-elixir
a1160a10f90e0919adacf39bd95df3784e11fdcc
[ "MIT" ]
10
2016-08-15T20:01:56.000Z
2019-05-10T02:09:35.000Z
test/recurly/address_test.exs
calibr/recurly-client-elixir
a1160a10f90e0919adacf39bd95df3784e11fdcc
[ "MIT" ]
4
2017-10-16T14:29:58.000Z
2019-05-09T23:20:56.000Z
defmodule Recurly.AddressTest do use ExUnit.Case, async: true alias Recurly.Address import Utils @all_fields ~w( address1 address2 city country phone state zip )a test "should maintain the list of writeable fields" do compare_writeable_fields(Address, @all_fields) end ...
18.083333
56
0.714286
334c339de53835f3d4562bcac866d0002833060e
3,082
exs
Elixir
test/pretty_print_formatter/ecto/sql_tokenizer_test.exs
byjord/pretty_print_formatter
a008f9368eaa03bf69da47754caae11ec3f51c5f
[ "MIT" ]
null
null
null
test/pretty_print_formatter/ecto/sql_tokenizer_test.exs
byjord/pretty_print_formatter
a008f9368eaa03bf69da47754caae11ec3f51c5f
[ "MIT" ]
null
null
null
test/pretty_print_formatter/ecto/sql_tokenizer_test.exs
byjord/pretty_print_formatter
a008f9368eaa03bf69da47754caae11ec3f51c5f
[ "MIT" ]
null
null
null
defmodule PrettyPrintFormatter.Ecto.SqlTokenizerTest do use ExUnit.Case alias PrettyPrintFormatter.Ecto.SqlTokenizer doctest SqlTokenizer describe "tokenize/1" do test "basic select statement" do assert SqlTokenizer.tokenize("SELECT * FROM users AS u0 WHERE u0.id = 5 LIMIT 10 OFFSET 50") == ...
31.44898
101
0.348799
334c5b23b7e3d763d8af665796f944e78d5ccb0a
1,406
exs
Elixir
mix.exs
dmka/commanded_messaging
d37eb85653baf6f061da60195064e7067985db7c
[ "MIT" ]
null
null
null
mix.exs
dmka/commanded_messaging
d37eb85653baf6f061da60195064e7067985db7c
[ "MIT" ]
null
null
null
mix.exs
dmka/commanded_messaging
d37eb85653baf6f061da60195064e7067985db7c
[ "MIT" ]
null
null
null
defmodule EsMessaging.MixProject do use Mix.Project @version "0.2.1" def project do [ app: :commanded_messaging, version: @version, elixir: "~> 1.6", aliases: aliases(), elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), ...
23.830508
77
0.555477
334c796a821b53274ead7299898cc8b5268e069c
220
ex
Elixir
test/support/schema/comment.ex
enewbury/ecto_quarry
396f2a2156c33595213cd822111c0832a9e1a757
[ "MIT" ]
5
2021-12-27T02:03:17.000Z
2022-03-04T16:05:38.000Z
test/support/schema/comment.ex
enewbury/ecto_quarry
396f2a2156c33595213cd822111c0832a9e1a757
[ "MIT" ]
1
2021-12-27T05:30:12.000Z
2022-02-10T05:33:47.000Z
test/support/schema/comment.ex
enewbury/quarry
396f2a2156c33595213cd822111c0832a9e1a757
[ "MIT" ]
null
null
null
defmodule Quarry.Comment do use Ecto.Schema schema "comments" do field :body, :string belongs_to :post, Quarry.Post, foreign_key: :post_id belongs_to :user, Quarry.User, foreign_key: :user_id end end
20
56
0.718182
334c9aadc77ba4986fe96dad2e7e574e1d60eba7
7,538
ex
Elixir
lib/xml_rpc/decoder.ex
CalixHu/elixir-xml_rpc
01468cb1b698cffaaee7ab41030e6881402a28ec
[ "Apache-2.0" ]
null
null
null
lib/xml_rpc/decoder.ex
CalixHu/elixir-xml_rpc
01468cb1b698cffaaee7ab41030e6881402a28ec
[ "Apache-2.0" ]
null
null
null
lib/xml_rpc/decoder.ex
CalixHu/elixir-xml_rpc
01468cb1b698cffaaee7ab41030e6881402a28ec
[ "Apache-2.0" ]
2
2015-11-15T00:46:23.000Z
2022-02-07T08:46:47.000Z
defmodule XMLRPC.DecodeError do defexception message: nil end defmodule XMLRPC.Decoder do alias XMLRPC.DecodeError alias XMLRPC.Fault alias XMLRPC.MethodCall alias XMLRPC.MethodResponse # Load our XML Schema from an external file @xmlrpc_xsd_file Path.join(__DIR__, "xmlrpc.xsd") @external_resource @x...
31.14876
120
0.582117
334ca7235e4ac369f8b1fb440aa54f934acd0f79
1,466
ex
Elixir
apps/cronitex_web/lib/cronitex_web/router.ex
alayers2/cronitex
cf8da9553b8e93b9171f5e9a0f0a08a24a324689
[ "MIT" ]
1
2020-11-05T15:38:53.000Z
2020-11-05T15:38:53.000Z
apps/cronitex_web/lib/cronitex_web/router.ex
alayers2/cronitex
cf8da9553b8e93b9171f5e9a0f0a08a24a324689
[ "MIT" ]
36
2020-10-24T01:28:42.000Z
2022-02-07T11:11:37.000Z
apps/cronitex_web/lib/cronitex_web/router.ex
alayers2/cronitex
cf8da9553b8e93b9171f5e9a0f0a08a24a324689
[ "MIT" ]
null
null
null
defmodule CronitexWeb.Router do use CronitexWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers plug CronitexWeb.Auth end pipeline :api do plug :accepts, ["json"] end scope ...
28.192308
77
0.702592
334ccb6930e77cd61eeff60fd6ca0e6be0fe1eec
1,787
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/bucket_access_controls.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/storage/lib/google_api/storage/v1/model/bucket_access_controls.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/storage/lib/google_api/storage/v1/model/bucket_access_controls.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.74
193
0.734191
334ce8052648127277a114d62c4c4556d7071a50
35,333
ex
Elixir
lib/phoenix_live_view/test/live_view_test.ex
davydog187/phoenix_live_view
c15d2811a7e91f71f448f4d9d1b9a520e9d0bf91
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/live_view_test.ex
davydog187/phoenix_live_view
c15d2811a7e91f71f448f4d9d1b9a520e9d0bf91
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/live_view_test.ex
davydog187/phoenix_live_view
c15d2811a7e91f71f448f4d9d1b9a520e9d0bf91
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest do @moduledoc """ Conveniences for testing Phoenix LiveViews. In LiveView tests, we interact with views via process communication in substitution of a browser. Like a browser, our test process receives messages about the rendered updates from the view which can be asserted ag...
32.238139
98
0.65961
334cec699c2f1aac99227d6cdf7d84bb567f768e
114
ex
Elixir
lib/ais_front/repo_back.ex
FractalWire/ais_front
a33522195e5eb07c89027c59a3d2d48ba9730438
[ "MIT" ]
null
null
null
lib/ais_front/repo_back.ex
FractalWire/ais_front
a33522195e5eb07c89027c59a3d2d48ba9730438
[ "MIT" ]
18
2020-09-24T14:21:23.000Z
2020-10-01T16:11:58.000Z
lib/ais_front/repo_back.ex
FractalWire/ais_front
a33522195e5eb07c89027c59a3d2d48ba9730438
[ "MIT" ]
null
null
null
defmodule AisFront.RepoBack do use Ecto.Repo, otp_app: :ais_front, adapter: Ecto.Adapters.Postgres end
16.285714
35
0.736842
334cfd394a216b2e9143d7705471a51caba734ff
3,741
exs
Elixir
test/credo/check/consistency/space_in_parentheses_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
test/credo/check/consistency/space_in_parentheses_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
test/credo/check/consistency/space_in_parentheses_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.Check.Readability.SpaceInParenthesesTest do use Credo.Test.Case @described_check Credo.Check.Consistency.SpaceInParentheses @without_spaces ~S""" defmodule Credo.Sample1 do @default_sources_glob ~w(** *.{ex,exs}) @username_regex ~r/^[A-z0-9 ]+$/ @options [foo: 1, bar: 2, ] def...
20.554945
76
0.580861
334d10dbecc2d67f89e5cba41b59e044c05b9dee
568
exs
Elixir
test/nfbutah_web/views/error_view_test.exs
flash4syth/nfbutah
eae0557af36dc180bc74cae623a6c48a804babd7
[ "MIT" ]
null
null
null
test/nfbutah_web/views/error_view_test.exs
flash4syth/nfbutah
eae0557af36dc180bc74cae623a6c48a804babd7
[ "MIT" ]
null
null
null
test/nfbutah_web/views/error_view_test.exs
flash4syth/nfbutah
eae0557af36dc180bc74cae623a6c48a804babd7
[ "MIT" ]
null
null
null
defmodule NFBUWeb.ErrorViewTest do use NFBUWeb.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(NFBUWeb.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" do ...
25.818182
66
0.676056
334d13a8df68c0f65bfe0d27d0499b0cad4ea98c
2,066
ex
Elixir
lib/maru_swagger/response_formatter.ex
legoscia/maru_swagger
e3dfad2bd01d50566c041dee3fcb4af375918244
[ "BSD-3-Clause" ]
31
2016-11-28T15:23:45.000Z
2020-01-12T19:20:01.000Z
lib/maru_swagger/response_formatter.ex
legoscia/maru_swagger
e3dfad2bd01d50566c041dee3fcb4af375918244
[ "BSD-3-Clause" ]
17
2016-11-25T01:27:02.000Z
2020-06-17T08:07:17.000Z
lib/maru_swagger/response_formatter.ex
legoscia/maru_swagger
e3dfad2bd01d50566c041dee3fcb4af375918244
[ "BSD-3-Clause" ]
15
2016-11-28T03:59:36.000Z
2020-06-17T07:55:10.000Z
defmodule MaruSwagger.ResponseFormatter do alias MaruSwagger.ConfigStruct def format(routes, tags, config = %ConfigStruct{}) do paths = routes |> List.foldr(%{}, fn %{ desc: desc, method: method, path: url_lis...
24.595238
73
0.472894
334d46da106c78e89a1f2930ceb72acf38c9de87
979
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/deserializer.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...
37.653846
77
0.767109
334d6fe8719b4f3d33bad22174880da7ffaeae87
2,471
ex
Elixir
kousa/lib/beef/schemas/scheduled_room.ex
BronzW/dogehouse
6cebfd22af728112a861a9e2ea6202cd848abab6
[ "MIT" ]
2
2021-04-06T09:06:29.000Z
2021-05-26T07:55:34.000Z
kousa/lib/beef/schemas/scheduled_room.ex
BronzW/dogehouse
6cebfd22af728112a861a9e2ea6202cd848abab6
[ "MIT" ]
1
2021-03-18T08:41:30.000Z
2021-03-18T08:41:30.000Z
kousa/lib/beef/schemas/scheduled_room.ex
BronzW/dogehouse
6cebfd22af728112a861a9e2ea6202cd848abab6
[ "MIT" ]
1
2021-03-17T13:44:04.000Z
2021-03-17T13:44:04.000Z
defmodule Beef.Schemas.ScheduledRoom do use Ecto.Schema import Ecto.Changeset alias Beef.Room alias Beef.Schemas.User @timestamps_opts [type: :utc_datetime_usec] @type t :: %__MODULE__{ id: Ecto.UUID.t(), name: String.t(), numAttending: integer(), scheduledFor: DateT...
26.858696
86
0.617968
334d9fd02dfaa8257a03309102e2b5bf6f747b53
749
ex
Elixir
lib/tiptap_web/router.ex
EasterPeanut/tiptap-editor
cce7766925308fbebf8fc486e4f7609397c0d1fb
[ "MIT" ]
3
2021-08-29T03:06:05.000Z
2022-01-13T09:29:38.000Z
lib/tiptap_web/router.ex
EasterPeanut/tiptap-editor
cce7766925308fbebf8fc486e4f7609397c0d1fb
[ "MIT" ]
15
2021-08-23T18:02:30.000Z
2021-08-30T07:32:38.000Z
lib/tiptap_web/router.ex
EasterPeanut/tiptap-editor
cce7766925308fbebf8fc486e4f7609397c0d1fb
[ "MIT" ]
null
null
null
defmodule TiptapWeb.Router do use TiptapWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {TiptapWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :a...
22.029412
56
0.678238
334da7c68e3d2e1bb278ac7c509c04c2acac7ee1
16,977
ex
Elixir
lib/absinthe/relay/connection.ex
archseer/absinthe_relay
c3c85ca88adb8e925e846a515f75d93224b1f17d
[ "MIT" ]
null
null
null
lib/absinthe/relay/connection.ex
archseer/absinthe_relay
c3c85ca88adb8e925e846a515f75d93224b1f17d
[ "MIT" ]
null
null
null
lib/absinthe/relay/connection.ex
archseer/absinthe_relay
c3c85ca88adb8e925e846a515f75d93224b1f17d
[ "MIT" ]
1
2019-11-22T07:19:21.000Z
2019-11-22T07:19:21.000Z
defmodule Absinthe.Relay.Connection.Options do @moduledoc false @typedoc false @type t :: %{ after: nil | integer, before: nil | integer, first: nil | integer, last: nil | integer } defstruct after: nil, before: nil, first: nil, last: nil end defmodule Absinthe...
27.382258
107
0.631914
334def6d33466fd2fe786026788106564ad668cb
30,164
ex
Elixir
lib/fontais/option/option.ex
ianrumford/plymio_fontais
828d6726223d2fa038f2c1374fcd2f4b67371544
[ "MIT" ]
null
null
null
lib/fontais/option/option.ex
ianrumford/plymio_fontais
828d6726223d2fa038f2c1374fcd2f4b67371544
[ "MIT" ]
null
null
null
lib/fontais/option/option.ex
ianrumford/plymio_fontais
828d6726223d2fa038f2c1374fcd2f4b67371544
[ "MIT" ]
null
null
null
defmodule Plymio.Fontais.Option do @moduledoc ~S""" Functions for Managing Keyword Options ("opts") See `Plymio.Fontais` for overview and other documentation terms. ## Documentation Terms ### *key* A *key* is an `Atom`. ### *key list* A *key list* is a list of *key*s. ### *key spec* A *key s...
27.421818
186
0.517239
334e2cc299a555d689f04e38fcb488aa44fc1ec6
50,028
ex
Elixir
lib/elixir/lib/file.ex
jfornoff/elixir
4ed5e8e66973ae7b0e52ead00f65117ab0d600e0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/file.ex
jfornoff/elixir
4ed5e8e66973ae7b0e52ead00f65117ab0d600e0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/file.ex
jfornoff/elixir
4ed5e8e66973ae7b0e52ead00f65117ab0d600e0
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
defmodule File do @moduledoc ~S""" This module contains functions to manipulate files. Some of those functions are low-level, allowing the user to interact with files or IO devices, like `open/2`, `copy/3` and others. This module also provides higher level functions that work with filenames and have their ...
29.637441
101
0.622931
334e32653538f6113455ad766ac092d4adc32d48
86
exs
Elixir
test/railway_ui_web/views/layout_view_test.exs
SophieDeBenedetto/railway-ui
ceb253bccf63f278e93502e4dc6b113b31f6d8b2
[ "MIT" ]
2
2019-11-12T21:04:11.000Z
2020-02-09T18:07:27.000Z
test/railway_ui_web/views/layout_view_test.exs
SophieDeBenedetto/railway-ui
ceb253bccf63f278e93502e4dc6b113b31f6d8b2
[ "MIT" ]
4
2019-12-02T17:31:57.000Z
2021-03-09T22:59:48.000Z
test/railway_ui_web/views/layout_view_test.exs
SophieDeBenedetto/railway-ui
ceb253bccf63f278e93502e4dc6b113b31f6d8b2
[ "MIT" ]
2
2020-02-05T18:23:26.000Z
2020-04-26T13:50:10.000Z
defmodule RailwayUiWeb.LayoutViewTest do use RailwayUiWeb.ConnCase, async: true end
21.5
40
0.837209
334e446fc03fe814824b7185d2b475c5401c5c2a
2,189
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/child_link.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/child_link.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/child_link.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43.78
515
0.755596
334e6f3561215c2f84ab1b3f58717f72c5ee9522
514
ex
Elixir
lib/excommerce/addresses/zone_member.ex
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-04-01T19:14:16.000Z
2019-04-01T19:14:16.000Z
lib/excommerce/addresses/zone_member.ex
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
null
null
null
lib/excommerce/addresses/zone_member.ex
roger120981/planet
a662006551d11427c08cf6cdbacd37d377bcd9c5
[ "MIT" ]
1
2019-03-24T01:50:48.000Z
2019-03-24T01:50:48.000Z
defmodule Excommerce.Addresses.ZoneMember do use Ecto.Schema import Ecto.Changeset alias Excommerce.Addresses.{Zone, ZoneMember} schema "abstract table:zone_members" do field :zoneable_id, :integer belongs_to :zone, Zone timestamps() end @required_fields ~w(zoneable_id zone_id)a @op...
20.56
56
0.714008
334e7a355f546e71d90ee9b48ed2e55c0360666f
2,720
exs
Elixir
farmbot_celery_script/test/farmbot_celery_script_test.exs
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_celery_script/test/farmbot_celery_script_test.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_celery_script/test/farmbot_celery_script_test.exs
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defmodule FarmbotCeleryScriptTest do use ExUnit.Case, async: true alias FarmbotCeleryScript.AST alias Farmbot.TestSupport.CeleryScript.TestSysCalls setup do {:ok, _shim} = TestSysCalls.checkout() :ok end test "uses default values when no parameter is found" do sequence_ast = %{ k...
24.727273
98
0.481618
334e7e79ad1b2a781cc0ebea106ba5499800e2a2
2,620
exs
Elixir
mix.exs
carmaproject/matrix_reloaded
b9d000b6c386a5c8c2659deffc99d889e5a59314
[ "BSD-3-Clause" ]
null
null
null
mix.exs
carmaproject/matrix_reloaded
b9d000b6c386a5c8c2659deffc99d889e5a59314
[ "BSD-3-Clause" ]
null
null
null
mix.exs
carmaproject/matrix_reloaded
b9d000b6c386a5c8c2659deffc99d889e5a59314
[ "BSD-3-Clause" ]
null
null
null
defmodule MatrixReloaded.MixProject do use Mix.Project def project do [ app: :matrix_reloaded, dialyzer: dialyzer_base() |> dialyzer_ptl(System.get_env("SEMAPHORE_CACHE_DIR")), version: "2.2.1", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix....
23.818182
87
0.565649
334e846f7b74ab96028ed028a121b0b0a70404f3
1,317
exs
Elixir
mix.exs
CloudI/cloudi_service_api_requests
4a6beffe54b5ac26a0cb1215f3aaf0f8abb956d0
[ "MIT" ]
null
null
null
mix.exs
CloudI/cloudi_service_api_requests
4a6beffe54b5ac26a0cb1215f3aaf0f8abb956d0
[ "MIT" ]
null
null
null
mix.exs
CloudI/cloudi_service_api_requests
4a6beffe54b5ac26a0cb1215f3aaf0f8abb956d0
[ "MIT" ]
null
null
null
#-*-Mode:elixir;coding:utf-8;tab-width:2;c-basic-offset:2;indent-tabs-mode:()-*- # ex: set ft=elixir fenc=utf-8 sts=2 ts=2 sw=2 et nomod: defmodule CloudIServiceApiRequests do use Mix.Project def project do [app: :cloudi_service_api_requests, version: "2.0.4", language: :erlang, erlc_options: [...
26.34
80
0.609719
334ea4ee8aad8e30a67d53bc4aa30c2b1b230a60
33,994
ex
Elixir
lib/ecto/repo/schema.ex
chefconnie/ecto
6b4b6d3eba18d6d44484bc5b636e36a52bd7eafa
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo/schema.ex
chefconnie/ecto
6b4b6d3eba18d6d44484bc5b636e36a52bd7eafa
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo/schema.ex
chefconnie/ecto
6b4b6d3eba18d6d44484bc5b636e36a52bd7eafa
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo.Schema do # The module invoked by user defined repos # for schema related functionality. @moduledoc false alias Ecto.Changeset alias Ecto.Changeset.Relation require Ecto.Query @doc """ Implementation for `Ecto.Repo.insert_all/3`. """ def insert_all(_repo, name, schema, rows, op...
35.896515
120
0.632523
334ea83a97389da5d1d36e29ed91b40e28e779a2
1,204
ex
Elixir
lib/crit/ecto/timespan.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
6
2019-07-16T19:31:23.000Z
2021-06-05T19:01:05.000Z
lib/crit/ecto/timespan.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
null
null
null
lib/crit/ecto/timespan.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
3
2020-02-24T23:38:27.000Z
2020-08-01T23:50:17.000Z
defmodule Ecto.Timespan do use Ecto.Span, outer_type: :tsrange, inner_type: {:timestamp, NaiveDateTime} alias Pile.TimeHelper defp convert_to_endpoint_type(%NaiveDateTime{} = endpoint), do: endpoint # Postgres uses microsecond precision, and NaiveDateTimes use # millisecond by default. Forc...
31.684211
77
0.697674
334ec347c3a407c29fc584a6797a586b3a5a9923
1,517
exs
Elixir
mix.exs
kianmeng/geocalc
8022321193d8071af43040b4cc58c62af04b8e0d
[ "MIT" ]
null
null
null
mix.exs
kianmeng/geocalc
8022321193d8071af43040b4cc58c62af04b8e0d
[ "MIT" ]
null
null
null
mix.exs
kianmeng/geocalc
8022321193d8071af43040b4cc58c62af04b8e0d
[ "MIT" ]
null
null
null
defmodule Geocalc.Mixfile do use Mix.Project def project do [ app: :geocalc, name: "Geocalc", version: "0.8.2", elixir: "~> 1.0", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, source_url: "https://github.com/yltsrc/geocalc", description...
23.703125
77
0.554384
334ec455324087d3815fd450edef3f4a711d572d
1,769
exs
Elixir
test/deserializer_test.exs
merchant-ly/ex_elasticlunr
b7d12f3e567f1ecad1bfb402a062edd4d58ef9fd
[ "MIT" ]
null
null
null
test/deserializer_test.exs
merchant-ly/ex_elasticlunr
b7d12f3e567f1ecad1bfb402a062edd4d58ef9fd
[ "MIT" ]
null
null
null
test/deserializer_test.exs
merchant-ly/ex_elasticlunr
b7d12f3e567f1ecad1bfb402a062edd4d58ef9fd
[ "MIT" ]
null
null
null
defmodule Elasticlunr.DeserializerTest do use ExUnit.Case alias Elasticlunr.{Deserializer, Field, Index} test "deserialize index" do data = [ "settings#name:index|ref:id|pipeline:", "field#name:id|pipeline:Elixir.Elasticlunr.Index.IdPipeline|store_documents:false|store_positions:false", "d...
37.638298
192
0.613906
334eced09fb7cc09d42ae5cfb95780e50c8f43f9
1,683
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/location.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...
31.166667
128
0.710636
334ed4c32b7e0b7cb5e2b35d4bc2172abceafd31
56,282
ex
Elixir
lib/aws/ssm.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
lib/aws/ssm.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "Apache-2.0" ]
null
null
null
lib/aws/ssm.ex
ahsandar/aws-elixir
25de8b6c3a1401bde737cfc26b0679b14b058f23
[ "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.SSM do @moduledoc """ AWS Systems Manager AWS Systems Manager is a collection of capabilities that helps you automate management tasks such as collecting system inventory, applying operat...
37.849361
117
0.736186
334eebaa40bedde6613f5c3a114b5bd1c429bbf1
1,573
ex
Elixir
lib/line.ex
lpil/jot
d4d0b3852db54a7e5c201c8a68ffa7894b2f0d42
[ "MIT" ]
1
2016-08-20T14:41:55.000Z
2016-08-20T14:41:55.000Z
lib/line.ex
lpil/jot
d4d0b3852db54a7e5c201c8a68ffa7894b2f0d42
[ "MIT" ]
26
2016-05-29T00:29:33.000Z
2018-04-12T13:53:50.000Z
lib/line.ex
lpil/jot
d4d0b3852db54a7e5c201c8a68ffa7894b2f0d42
[ "MIT" ]
null
null
null
defmodule Jot.Line do @moduledoc false use Jot.Record, import: [:line] @doc """ Split a template into lines for parsing. """ def from_template(template) when is_binary(template) do template |> split() |> Enum.reverse() end defp split(template) do parse_indent(template) end defp ...
23.477612
75
0.628735
334f0e822ac3217e2810b96c7f855420fe7d8fa8
13,028
exs
Elixir
test/teiserver/protocols/spring/spring_battle_host_test.exs
beyond-all-reason/teiserver
e394b5efe561eaf5700bca62e4e4263d8f720ac5
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
test/teiserver/protocols/spring/spring_battle_host_test.exs
beyond-all-reason/teiserver
e394b5efe561eaf5700bca62e4e4263d8f720ac5
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
test/teiserver/protocols/spring/spring_battle_host_test.exs
beyond-all-reason/teiserver
e394b5efe561eaf5700bca62e4e4263d8f720ac5
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Teiserver.SpringBattleHostTest do use Central.ServerCase, async: false require Logger # alias Teiserver.BitParse alias Teiserver.Coordinator alias Teiserver.Battle.Lobby alias Teiserver.Protocols.Spring # alias Teiserver.Protocols.{SpringIn, SpringOut, Spring} import Central.Helpers.NumberHelp...
32.733668
128
0.676082
334f200651e03296e45ac392d9b5da1653a2a381
4,194
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/entity_annotation.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/entity_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/entity_annotation.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 ...
47.659091
163
0.696233
334f3932c2e737d5c0ae8ccb18c29f9d83f115b6
97
ex
Elixir
lib/alcsmg/repo.ex
velimir0xff/alcsmg
7f8845b4e4698009a44769fc593a551c5f9387ee
[ "MIT" ]
null
null
null
lib/alcsmg/repo.ex
velimir0xff/alcsmg
7f8845b4e4698009a44769fc593a551c5f9387ee
[ "MIT" ]
null
null
null
lib/alcsmg/repo.ex
velimir0xff/alcsmg
7f8845b4e4698009a44769fc593a551c5f9387ee
[ "MIT" ]
null
null
null
defmodule Repo do use Ecto.Repo, otp_app: :alcsmg, adapter: Ecto.Adapters.Postgres end
16.166667
35
0.71134
334f581e09e6c964ae53f99ab11cf9ea3e7e04fa
2,060
ex
Elixir
web/uploaders/logo.ex
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
null
null
null
web/uploaders/logo.ex
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
null
null
null
web/uploaders/logo.ex
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
null
null
null
# note: THIS IS A HUGE HACK TO ACCOMPLISH WHAT IS BASICALLY INHERITANCE # all I wanted to do was have different file names generated based on the # sponsor `field` name assigned, but that appears to be impossible so I did # this awful thing instead of duplicating all of this code in to 3 modules # somebody please pleas...
24.819277
75
0.629612
334f97a5c6c402424d1bb17e27c858c29b5e01ab
8,330
exs
Elixir
test/newway_repo_test.exs
rbkmoney/pathfinder
fdb3102f524b6f58cba579389047b425fdbd4c92
[ "Apache-2.0" ]
null
null
null
test/newway_repo_test.exs
rbkmoney/pathfinder
fdb3102f524b6f58cba579389047b425fdbd4c92
[ "Apache-2.0" ]
null
null
null
test/newway_repo_test.exs
rbkmoney/pathfinder
fdb3102f524b6f58cba579389047b425fdbd4c92
[ "Apache-2.0" ]
1
2021-12-07T09:25:32.000Z
2021-12-07T09:25:32.000Z
defmodule NewwayRepoTest do use ExUnit.Case test "can read adjustments" do saved_entries = get_all(NewWay.Schema.Adjustment) expected_entries = [ %NewWay.Schema.Adjustment{ id: 1, event_created_at: ~U[2004-10-19 10:23:54Z], domain_revision: 1, adjustment_id: "test_adj...
31.673004
95
0.641297
334f99f5f99c7f16e7517d481845c9240079398e
425
exs
Elixir
priv/repo/migrations/20210626054717_create_communities_join_guides.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/repo/migrations/20210626054717_create_communities_join_guides.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/repo/migrations/20210626054717_create_communities_join_guides.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Repo.Migrations.CreateCommunitiesJoinGuides do use Ecto.Migration def change do create table(:communities_join_guides) do add(:community_id, references(:communities, on_delete: :delete_all), null: false) add(:guide_id, references(:cms_guides, on_delete: :delete_all), null: ...
32.692308
87
0.757647
334fdbe1f101a5f71170152325460ed116a622f4
1,809
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__study_config_parameter_spec__integer_value_spec.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__study_config_parameter_spec__integer_value_spec.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__study_config_parameter_spec__integer_value_spec.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.736842
129
0.73853
334ff38ba4d33f6f0b5b177724387021050f5e76
228
exs
Elixir
priv/repo/migrations/20180417073924_add_info_to_community.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/repo/migrations/20180417073924_add_info_to_community.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/repo/migrations/20180417073924_add_info_to_community.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Repo.Migrations.AddInfoToCommunity do use Ecto.Migration def change do alter table(:communities) do add(:raw, :string) add(:label, :string) add(:logo, :text) end end end
19
62
0.671053
334ff948baad01e1e9091e5648db174b9a99b5d4
2,076
ex
Elixir
clients/content/lib/google_api/content/v2/model/test_order_customer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/test_order_customer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/test_order_customer.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...
35.793103
122
0.741329
33502205f61b8a3f394181613f22a3450972752e
435
ex
Elixir
lib/yatzy/scoring/one_pair.ex
idabmat/yatzy
fb1cc1f13670a19f3541a3b1df15e9897ffcfae3
[ "MIT" ]
3
2020-04-23T14:38:39.000Z
2020-05-03T17:20:32.000Z
lib/yatzy/scoring/one_pair.ex
idabmat/yatzy
fb1cc1f13670a19f3541a3b1df15e9897ffcfae3
[ "MIT" ]
null
null
null
lib/yatzy/scoring/one_pair.ex
idabmat/yatzy
fb1cc1f13670a19f3541a3b1df15e9897ffcfae3
[ "MIT" ]
null
null
null
defmodule Yatzy.Scoring.OnePair do @moduledoc """ One Pair: Two dice showing the same number. Score: Sum of those two dice. """ alias Yatzy.Roll defstruct roll: %Roll{}, name: "One Pair", description: "Two dice showing the same number.", score: "Sum of those two dice." ...
25.588235
75
0.63908
335040f2472e792f558a2fdcc387b5439e9381c8
69
exs
Elixir
test/test_helper.exs
efrenfuentes/realworld-app-elixir-phoenix
e8e5b19695c0d9c8edfc892d585506ca688d6ee8
[ "MIT" ]
null
null
null
test/test_helper.exs
efrenfuentes/realworld-app-elixir-phoenix
e8e5b19695c0d9c8edfc892d585506ca688d6ee8
[ "MIT" ]
null
null
null
test/test_helper.exs
efrenfuentes/realworld-app-elixir-phoenix
e8e5b19695c0d9c8edfc892d585506ca688d6ee8
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Conduit.Repo, :manual)
23
53
0.782609
33505520d092aa4946e7f49d9cf55837642a3c9a
1,633
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/model/worker_assigned_event.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/worker_assigned_event.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/worker_assigned_event.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.019608
81
0.733619
3350803fd06aac7e136248d695fb733c397a0a5f
665
exs
Elixir
test/validation/rules/credit_card/diners_test.exs
elixir-validation/validation
164a62c881e03a307172e4a20413f81260abb2dc
[ "MIT" ]
60
2019-09-13T13:37:01.000Z
2021-01-06T05:20:32.000Z
test/validation/rules/credit_card/diners_test.exs
elixir-validation/validation
164a62c881e03a307172e4a20413f81260abb2dc
[ "MIT" ]
1
2019-12-16T13:57:22.000Z
2019-12-16T13:57:22.000Z
test/validation/rules/credit_card/diners_test.exs
elixir-validation/validation
164a62c881e03a307172e4a20413f81260abb2dc
[ "MIT" ]
5
2019-09-13T19:14:24.000Z
2019-11-26T17:33:08.000Z
defmodule Validation.Rules.CreditCard.DinersTest do use ExUnit.Case alias Validation.Rules.CreditCard.Diners, as: V doctest Validation test "valid credit card - diners" do assert V.validate?("30351042633884") end test "invalid credit card - diners" do refute V.validate?("340-3161-9380-9364") # a...
33.25
57
0.687218
335085e0e55edcd3f0158653e6e2e2a81babbda7
922
ex
Elixir
apps/omg_burner/lib/omg_burner/adjustable_server.ex
omisego/fee-burner
b1d23736f69769c2bd2bb2437de0c103fd6dba61
[ "Apache-2.0" ]
1
2018-10-09T13:49:02.000Z
2018-10-09T13:49:02.000Z
apps/omg_burner/lib/omg_burner/adjustable_server.ex
omisego/fee-burner
b1d23736f69769c2bd2bb2437de0c103fd6dba61
[ "Apache-2.0" ]
null
null
null
apps/omg_burner/lib/omg_burner/adjustable_server.ex
omisego/fee-burner
b1d23736f69769c2bd2bb2437de0c103fd6dba61
[ "Apache-2.0" ]
1
2018-07-16T14:15:09.000Z
2018-07-16T14:15:09.000Z
defmodule AdjustableServer do @defmodule """ A generic module that expands capabilities of a basic GenServer. It enables one to run a GenServer which settings can be adjusted throughout its work. """ defmacro __using__(_opts) do quote do use GenServer def get(setting) do GenSer...
27.117647
90
0.610629
3350a564a340b6bfdb368e4428ef19be2fe0f8e6
129
exs
Elixir
test/abex_test.exs
valiot/abex
436a4e9904475ee9eb6e624448ec2a6d97dedd2b
[ "MIT" ]
4
2019-10-23T07:35:36.000Z
2021-05-03T16:35:49.000Z
test/abex_test.exs
valiot/abex
436a4e9904475ee9eb6e624448ec2a6d97dedd2b
[ "MIT" ]
null
null
null
test/abex_test.exs
valiot/abex
436a4e9904475ee9eb6e624448ec2a6d97dedd2b
[ "MIT" ]
2
2021-05-03T17:41:28.000Z
2021-06-29T22:42:29.000Z
defmodule AbexTest do use ExUnit.Case doctest Abex test "greets the world" do assert Abex.hello() == :world end end
14.333333
33
0.689922
3350ac4b44e5ffd929b32530a927ec6d399a5eaf
1,766
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_record_suppression.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_record_suppression.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_record_suppression.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.574468
240
0.769536
33510851ce8f5d966f61fe10cea26457d43ebdcb
32,790
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/reports.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/reports.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/reports.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...
43.488064
196
0.604026
335163537fbe6ab692c8931b3844eb2dba5db453
1,023
exs
Elixir
mix.exs
danhper/ecto-secure-password
35ea46d7d1c20c8d2b93b669278e9a76c77fcb25
[ "MIT" ]
1
2020-05-08T12:05:22.000Z
2020-05-08T12:05:22.000Z
mix.exs
danhper/ecto-secure-password
35ea46d7d1c20c8d2b93b669278e9a76c77fcb25
[ "MIT" ]
null
null
null
mix.exs
danhper/ecto-secure-password
35ea46d7d1c20c8d2b93b669278e9a76c77fcb25
[ "MIT" ]
null
null
null
defmodule SecurePassword.Mixfile do use Mix.Project @version "0.6.0" def project do [app: :secure_password, version: @version, elixir: "~> 1.1", package: package(), description: description(), source_url: "http://github.com/tuvistavie/ecto-secure-password", homepage_url: "http:...
22.733333
78
0.595308
3351671651f4cd2a1cea4046aed83f56f256b1e3
160
ex
Elixir
lib/igdb/resources/achievement.ex
facto/igdb
9662e9ffd41e0925c22b1d3cd4774ae49b68e89e
[ "MIT" ]
2
2018-04-09T07:34:37.000Z
2020-03-08T06:50:03.000Z
lib/igdb/resources/achievement.ex
tomasz-tomczyk/igdb
98d777798503f427e6c302da0251e819b9583c65
[ "MIT" ]
null
null
null
lib/igdb/resources/achievement.ex
tomasz-tomczyk/igdb
98d777798503f427e6c302da0251e819b9583c65
[ "MIT" ]
null
null
null
defmodule Igdb.Achievement do @moduledoc """ Represents an Achievement resource in the IGDB API. """ use Igdb.Resource def pro_tier(), do: true end
16
53
0.70625
3351962a537d37087977e6746a843cf98ee062c1
1,988
ex
Elixir
lib/rumbl/info_sys/info_sys.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
null
null
null
lib/rumbl/info_sys/info_sys.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
2
2021-03-09T19:04:16.000Z
2021-05-10T16:20:10.000Z
lib/rumbl/info_sys/info_sys.ex
GArmane/rumbl
6dbc0c4515601b7fdfe2bed54ef39abfcd8bcb5e
[ "MIT" ]
1
2020-07-17T14:48:52.000Z
2020-07-17T14:48:52.000Z
defmodule Rumbl.InfoSys do @backends [Rumbl.InfoSys.Wolfram] defmodule Result do defstruct score: 0, text: nil, url: nil, backend: nil end def child_spec(_opts) do %{ id: __MODULE__, start: {__MODULE__, :start_link, []}, } end def start_link(backend, query, query_ref, owner, limit...
23.951807
71
0.622736
3351a328bc2a4c9ecbd467edef8f22cabf16c1f8
298
ex
Elixir
apps/etv_data/test/support/ecto.ex
sheharyarn/etv
65b96e436d5fe6fa11bfb293fa676f0bbf2d5121
[ "MIT" ]
2
2020-01-13T09:34:04.000Z
2021-05-19T07:51:07.000Z
apps/etv_data/test/support/ecto.ex
sheharyarn/etv
65b96e436d5fe6fa11bfb293fa676f0bbf2d5121
[ "MIT" ]
null
null
null
apps/etv_data/test/support/ecto.ex
sheharyarn/etv
65b96e436d5fe6fa11bfb293fa676f0bbf2d5121
[ "MIT" ]
2
2018-09-01T20:58:11.000Z
2021-05-19T07:51:11.000Z
defmodule Tests.Support.Ecto do @moduledoc """ Ecto Support Helpers for Tests """ def setup(tags) do :ok = Ecto.Adapters.SQL.Sandbox.checkout(ETV.Data.Repo) unless tags[:async] do Ecto.Adapters.SQL.Sandbox.mode(ETV.Data.Repo, {:shared, self()}) end :ok end end
16.555556
70
0.651007
3351a7a3478472ca5d599e900e5a66883a0b4cdd
2,498
ex
Elixir
lib/rambla/connections/smtp.ex
am-kantox/rambla
961e7213da43cba7ce9d2f5f5010f3a647ea5adc
[ "MIT" ]
4
2020-05-25T05:46:05.000Z
2020-06-22T15:23:51.000Z
lib/rambla/connections/smtp.ex
am-kantox/rambla
961e7213da43cba7ce9d2f5f5010f3a647ea5adc
[ "MIT" ]
3
2020-10-08T05:41:47.000Z
2021-05-13T05:53:30.000Z
lib/rambla/connections/smtp.ex
am-kantox/rambla
961e7213da43cba7ce9d2f5f5010f3a647ea5adc
[ "MIT" ]
1
2020-05-07T15:05:33.000Z
2020-05-07T15:05:33.000Z
defmodule Rambla.Smtp do @moduledoc """ Default connection implementation for 📧 SMTP. It expects a message to be a map containing the following fields: `:to`, `:subject`, `:body` _and_ the optional `:from` that otherwise would be taken from the global settings (`releases.mix`) from `[]:rambla, :pools, Rambl...
31.620253
95
0.634908
3351b863d63b1104d2a68de3fa3d9486a69776e8
653
ex
Elixir
lib/splinters_bot_elixir/application.ex
daynyxx/splinters_bot
e10cbca0500fbc7de42358650d69def37370c7a4
[ "MIT" ]
null
null
null
lib/splinters_bot_elixir/application.ex
daynyxx/splinters_bot
e10cbca0500fbc7de42358650d69def37370c7a4
[ "MIT" ]
2
2020-08-09T04:08:39.000Z
2020-08-09T04:09:55.000Z
lib/splinters_bot_elixir/application.ex
daynyxx/splinters_bot
e10cbca0500fbc7de42358650d69def37370c7a4
[ "MIT" ]
1
2020-08-01T21:40:05.000Z
2020-08-01T21:40:05.000Z
defmodule SplintersBotElixir.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application import Supervisor.Spec @impl true def start(_type, _args) do children = [ worker(SplintersBotElixir.Robot, []) # Start...
27.208333
77
0.724349
3351ef592ef7f052787f7ff3eabbe7173468ca09
6,385
ex
Elixir
src/app/validation/lib/architecture/log_filter.ex
arjundashrath/mina
629c6d767fbf2fdb7ce1ebd04337960c6f5baf55
[ "Apache-2.0" ]
929
2020-10-02T07:23:16.000Z
2022-03-31T15:02:09.000Z
src/app/validation/lib/architecture/log_filter.ex
arjundashrath/mina
629c6d767fbf2fdb7ce1ebd04337960c6f5baf55
[ "Apache-2.0" ]
3,154
2020-09-29T15:47:44.000Z
2022-03-31T16:22:28.000Z
src/app/validation/lib/architecture/log_filter.ex
arjundashrath/mina
629c6d767fbf2fdb7ce1ebd04337960c6f5baf55
[ "Apache-2.0" ]
216
2020-09-29T19:47:41.000Z
2022-03-27T08:44:29.000Z
defmodule Architecture.LogFilter do @moduledoc "A generalized language for representing log filters." @type selection :: [String.t()] # TODO: remove global_restriction support in favor of local restrictions on messages? @type t :: {:global_restriction, String.t()} | {:equals | :contains, s...
34.327957
118
0.632733
3351f0c8e3b82513cf6b3352be8af93328bf615a
88,455
ex
Elixir
clients/vault/lib/google_api/vault/v1/api/matters.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vault/lib/google_api/vault/v1/api/matters.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vault/lib/google_api/vault/v1/api/matters.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...
44.719414
283
0.601198
335201bfea912310475d2b39e1b21161204b3232
144
ex
Elixir
apps/tracking_web/lib/tracking_web/controllers/page_controller.ex
pcmarks/ddd_elixir_demo_stage1
e496f95cfaca1f9aca0e65a660eb8b999450f2f3
[ "MIT" ]
44
2017-11-12T17:12:55.000Z
2022-03-29T18:21:08.000Z
apps/tracking_web/lib/tracking_web/controllers/page_controller.ex
pcmarks/ddd_elixir_demo_stage1
e496f95cfaca1f9aca0e65a660eb8b999450f2f3
[ "MIT" ]
7
2017-09-11T12:17:36.000Z
2017-09-25T13:15:21.000Z
apps/tracking_web/lib/tracking_web/controllers/page_controller.ex
pcmarks/ddd_elixir_demo_stage1
e496f95cfaca1f9aca0e65a660eb8b999450f2f3
[ "MIT" ]
4
2019-04-15T08:03:30.000Z
2021-12-15T16:00:02.000Z
defmodule TrackingWeb.PageController do use TrackingWeb, :controller def index(conn, _params) do render conn, :index end end
18
40
0.708333
335210c775a03d1a12302d3fff4bddb0d6f3a631
294
exs
Elixir
rumbrella/apps/rumbl/priv/repo/migrations/20180221031922_create_user.exs
benjohns1/phoenix-sandbox
58fa6650828882f684a37de7af48d9fb6bd39f59
[ "MIT" ]
144
2015-04-30T15:12:46.000Z
2022-01-07T03:40:26.000Z
rumbrella/apps/rumbl/priv/repo/migrations/20180221031922_create_user.exs
benjohns1/phoenix-sandbox
58fa6650828882f684a37de7af48d9fb6bd39f59
[ "MIT" ]
57
2015-04-29T11:26:54.000Z
2022-01-05T13:35:10.000Z
rumbrella/apps/rumbl/priv/repo/migrations/20180221031922_create_user.exs
benjohns1/phoenix-sandbox
58fa6650828882f684a37de7af48d9fb6bd39f59
[ "MIT" ]
46
2015-06-12T11:26:15.000Z
2021-12-15T00:38:26.000Z
defmodule Rumbl.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :name, :string add :username, :string, null: false add :password_hash, :string timestamps end create unique_index(:users, [:username]) end end
19.6
45
0.666667
3352126e17bf02fcceba99731781b6ff338b72bc
2,065
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1/model/tier.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1/model/tier.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1/model/tier.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35
176
0.673608
33524a9006694bdf1dd51bb5b8ffbbb4e9bb29b5
548
exs
Elixir
test/views/error_view_test.exs
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
2
2016-11-16T17:24:21.000Z
2019-02-15T05:38:27.000Z
test/views/error_view_test.exs
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
test/views/error_view_test.exs
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
defmodule Tox.ErrorViewTest do use Tox.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(Tox.ErrorView, "404.html", []) == "Page not found" end test "render 500.html" do assert r...
24.909091
66
0.664234
335252a67c358b9a22b36b3c1e9d7dd75ccd71d4
3,226
ex
Elixir
lib/day13.ex
s22su/advent-of-code-2021
1cb0b9f08079641e32890e00b0a9b41c780724b4
[ "MIT" ]
null
null
null
lib/day13.ex
s22su/advent-of-code-2021
1cb0b9f08079641e32890e00b0a9b41c780724b4
[ "MIT" ]
null
null
null
lib/day13.ex
s22su/advent-of-code-2021
1cb0b9f08079641e32890e00b0a9b41c780724b4
[ "MIT" ]
null
null
null
defmodule AdventOfCode.Day13 do @moduledoc false use AdventOfCode @empty_cell " " @filled_cell "█" def part1(input) do {grid, instructions} = preprocess_input(input) grid |> fold(Enum.at(instructions, 0)) |> Enum.count(fn {_, v} -> v == @filled_cell end) end def part2(input) do {gr...
26.442623
86
0.544017
3352577f4d38f45fdd6ce195c00069aa7b597aa6
44
ex
Elixir
example/lib/example.ex
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
17
2021-05-04T09:27:48.000Z
2022-02-02T00:53:28.000Z
example/lib/example.ex
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
18
2021-05-05T21:17:54.000Z
2021-12-08T19:25:21.000Z
example/lib/example.ex
sebaughman/elixir_cqrs_tools
3f226e23af568d0422765e8bb526d966d83d34da
[ "MIT" ]
2
2021-05-04T13:35:00.000Z
2021-07-08T22:28:32.000Z
defmodule Example do @moduledoc false end
11
20
0.795455
335276c58d3ccfa293be5ba2940792c2928e7018
1,462
exs
Elixir
apps/tai/test/tai/trading/orders/cancel_accepted_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/test/tai/trading/orders/cancel_accepted_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
apps/tai/test/tai/trading/orders/cancel_accepted_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2020-05-03T23:32:11.000Z
2020-05-03T23:32:11.000Z
defmodule Tai.Trading.Orders.CancelAcceptedTest do use ExUnit.Case, async: false alias Tai.Trading.{Order, Orders, OrderSubmissions} alias Tai.TestSupport.Mocks setup do on_exit(fn -> Application.stop(:tai) end) start_supervised!(Mocks.Server) {:ok, _} = Application.ensure_all_started(:t...
29.24
85
0.682627
335277b2c40304eb74ecfd8c37fbdda2d97aa61d
5,030
exs
Elixir
benchmarks/benchmark.exs
Cantido/int_set
9418200e5c15326bee04e4a272a0ff0b5caca9b5
[ "MIT" ]
5
2019-11-11T17:43:40.000Z
2021-10-20T05:59:31.000Z
benchmarks/benchmark.exs
Cantido/int_set
9418200e5c15326bee04e4a272a0ff0b5caca9b5
[ "MIT" ]
6
2020-11-07T22:55:39.000Z
2022-02-28T11:05:39.000Z
benchmarks/benchmark.exs
Cantido/int_set
9418200e5c15326bee04e4a272a0ff0b5caca9b5
[ "MIT" ]
null
null
null
# SPDX-FileCopyrightText: 2021 Rosa Richter # # SPDX-License-Identifier: MIT intlist = fn(size) -> Stream.repeatedly(fn -> :rand.uniform(size) end) |> Stream.take(size) |> Enum.to_list() end set_sizes = %{ "Small (1 Thousand)" => 1_000, "Middle (100 Thousand)" => 100_000 # "Big (1 Million)" => 1_0...
37.819549
171
0.626441
33529fcc8c9810aebfec13af91ba2cf1efc1fdfa
23,483
exs
Elixir
test/phoenix/router/helpers_test.exs
coderberry/phoenix
9abaa84ea675d3db97cfba77745e76300acb6fd2
[ "MIT" ]
null
null
null
test/phoenix/router/helpers_test.exs
coderberry/phoenix
9abaa84ea675d3db97cfba77745e76300acb6fd2
[ "MIT" ]
null
null
null
test/phoenix/router/helpers_test.exs
coderberry/phoenix
9abaa84ea675d3db97cfba77745e76300acb6fd2
[ "MIT" ]
null
null
null
defmodule Phoenix.Router.HelpersTest do use ExUnit.Case, async: true use RouterHelper alias Phoenix.Router.Helpers ## Unit tests test "defhelper with :identifiers" do route = build(:match, :get, "/foo/:bar", nil, Hello, :world, "hello_world") assert extract_defhelper(route, 0) == String.trim """ ...
43.246777
157
0.660137
3352d7b67bd695653db4e2c3848da064cfe673a1
406
exs
Elixir
test/crit/setup/animal_api/update_test.exs
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
test/crit/setup/animal_api/update_test.exs
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
test/crit/setup/animal_api/update_test.exs
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
defmodule Crit.Setup.AnimalApi.UpdateTest do use Crit.DataCase, async: true alias Crit.Setup.AnimalApi alias Crit.Setup.AnimalImpl.Write test "only possibility" do given AnimalApi.updatable!, [@id__, @institution], do: @animal__ given Write.update, [@animal__, @params__, @institution], do: :result__ ...
31.230769
75
0.726601
3352e0ee45055a8e8ee393e58681061bea0c3b29
603
exs
Elixir
installer/templates/phx_umbrella/mix.exs
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
1
2019-04-24T09:28:15.000Z
2019-04-24T09:28:15.000Z
installer/templates/phx_umbrella/mix.exs
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
null
null
null
installer/templates/phx_umbrella/mix.exs
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
null
null
null
defmodule <%= root_app_module %>.MixProject do use Mix.Project def project do [ apps_path: "apps", start_permanent: Mix.env() == :prod, deps: deps() ] end # Dependencies can be Hex packages: # # {:mydep, "~> 0.3.0"} # # Or git/path repositories: # # {:mydep, git: "htt...
21.535714
77
0.621891
3352ea81751f1f400f10a0c257908832c5c1cb5d
2,405
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/network_endpoint_groups_list_network_endpoints_warning.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/network_endpoint_groups_list_network_endpoints_warning.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/network_endpoint_groups_list_network_endpoints_warning.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...
35.367647
209
0.714345
335304b8e8033303ddfbdae11f9adbefd4a04c6d
1,835
exs
Elixir
mix.exs
dashbitco/broadway_dashboard
851054994b32368f9499bc708e95c9492f1ba701
[ "Apache-2.0" ]
132
2021-05-27T12:18:09.000Z
2022-02-15T09:30:56.000Z
mix.exs
dashbitco/broadway_dashboard
851054994b32368f9499bc708e95c9492f1ba701
[ "Apache-2.0" ]
9
2021-05-26T23:22:02.000Z
2021-09-08T11:43:08.000Z
mix.exs
dashbitco/broadway_dashboard
851054994b32368f9499bc708e95c9492f1ba701
[ "Apache-2.0" ]
9
2021-06-28T18:20:01.000Z
2022-02-21T14:13:28.000Z
defmodule BroadwayDashboard.MixProject do use Mix.Project @version "0.2.2" @description "A Phoenix LiveDashboard page for inspecting your Broadway pipelines" def project do [ app: :broadway_dashboard, version: @version, elixir: "~> 1.11", start_permanent: Mix.env() == :prod, ...
25.486111
84
0.579292
33532df4ad371ba4f9ab8cafb1da0e806b75113e
2,359
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/location.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/location.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/location.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 ...
36.859375
129
0.691819