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
2de909c8e9253e370d5c080f2bae05a243dc4dae
1,204
ex
Elixir
lib/app/application.ex
vsyrovat/trending-repos
b406d205fb5fd79a9207d14a5b849924e6306e07
[ "MIT" ]
null
null
null
lib/app/application.ex
vsyrovat/trending-repos
b406d205fb5fd79a9207d14a5b849924e6306e07
[ "MIT" ]
null
null
null
lib/app/application.ex
vsyrovat/trending-repos
b406d205fb5fd79a9207d14a5b849924e6306e07
[ "MIT" ]
null
null
null
defmodule App.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository App.Repo, # Start the Telemetry supervisor A...
26.755556
63
0.66113
2de9353fa997fe9f87e3ea40ea811469a8c77cdf
1,781
ex
Elixir
lib/dialyxir/warnings/callback_spec_argument_type_mismatch.ex
legoscia/dialyxir
39579cb3abf6570da56a2a7185204452c49f9b5c
[ "Apache-2.0" ]
null
null
null
lib/dialyxir/warnings/callback_spec_argument_type_mismatch.ex
legoscia/dialyxir
39579cb3abf6570da56a2a7185204452c49f9b5c
[ "Apache-2.0" ]
null
null
null
lib/dialyxir/warnings/callback_spec_argument_type_mismatch.ex
legoscia/dialyxir
39579cb3abf6570da56a2a7185204452c49f9b5c
[ "Apache-2.0" ]
null
null
null
defmodule Dialyxir.Warnings.CallbackSpecArgumentTypeMismatch do @behaviour Dialyxir.Warning @impl Dialyxir.Warning @spec warning() :: :callback_spec_arg_type_mismatch def warning(), do: :callback_spec_arg_type_mismatch @impl Dialyxir.Warning @spec format_short([String.t()]) :: String.t() def format_shor...
28.725806
92
0.707468
2de936a0aaffd62daaa6ff9d078ac4b6cdb10f6d
148
ex
Elixir
lib/squarestore_web/controllers/page_controller.ex
NinjaAnge/forksquare
ee9ea91e45e50b9f1ba4a8261ebdd99b7fe3333d
[ "MIT" ]
null
null
null
lib/squarestore_web/controllers/page_controller.ex
NinjaAnge/forksquare
ee9ea91e45e50b9f1ba4a8261ebdd99b7fe3333d
[ "MIT" ]
null
null
null
lib/squarestore_web/controllers/page_controller.ex
NinjaAnge/forksquare
ee9ea91e45e50b9f1ba4a8261ebdd99b7fe3333d
[ "MIT" ]
null
null
null
defmodule SquarestoreWeb.PageController do use SquarestoreWeb, :controller def index(conn, _params) do render conn, "index.html" end end
18.5
42
0.756757
2de95364592ea580d9ed1149a0438b200309d98e
2,014
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/digital_content_label_assigned_targeting_option_details.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/digital_content_label_assigned_targeting_option_details.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/display_video/lib/google_api/display_video/v1/model/digital_content_label_assigned_targeting_option_details.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...
36.618182
193
0.759186
2de95612ca5065c923aacde715942f72c6cd2c8a
330
exs
Elixir
test/tortoise/package/pingresp_test.exs
lucaong/tortoise
fd2f83527937ba39b47f58eb8d392a1aa927e28f
[ "Apache-2.0" ]
272
2018-04-22T22:47:35.000Z
2022-03-01T05:22:02.000Z
test/tortoise/package/pingresp_test.exs
lucaong/tortoise
fd2f83527937ba39b47f58eb8d392a1aa927e28f
[ "Apache-2.0" ]
120
2018-04-22T20:42:04.000Z
2022-01-20T23:12:13.000Z
test/tortoise/package/pingresp_test.exs
lucaong/tortoise
fd2f83527937ba39b47f58eb8d392a1aa927e28f
[ "Apache-2.0" ]
58
2018-04-24T06:28:36.000Z
2022-02-09T06:55:42.000Z
defmodule Tortoise.Package.PingrespTest do use ExUnit.Case doctest Tortoise.Package.Pingresp alias Tortoise.Package test "encoding and decoding ping responses" do pingresp = %Package.Pingresp{} assert ^pingresp = pingresp |> Package.encode() |> Package.decode() ...
20.625
48
0.654545
2de979df39631073e402a6759f38b4242bc7cbae
34
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_call_operation/no_parentheses_many_arguments_strict_parsing_test_case/Atom.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_call_operation/no_parentheses_many_arguments_strict_parsing_test_case/Atom.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_call_operation/no_parentheses_many_arguments_strict_parsing_test_case/Atom.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
:atom positional, key: value
17
17
0.647059
2de984af0672ff68623685155611ec0434970bed
1,093
exs
Elixir
mix.exs
madeinussr/exop_data
71904bdd778d51b2054938f23ccdf6ee27c83a60
[ "MIT" ]
9
2019-01-30T17:48:54.000Z
2021-01-25T14:48:21.000Z
mix.exs
madeinussr/exop_data
71904bdd778d51b2054938f23ccdf6ee27c83a60
[ "MIT" ]
4
2018-11-07T09:15:29.000Z
2018-11-14T14:58:36.000Z
mix.exs
madeinussr/exop_data
71904bdd778d51b2054938f23ccdf6ee27c83a60
[ "MIT" ]
1
2021-01-11T13:19:57.000Z
2021-01-11T13:19:57.000Z
defmodule ExopData.Mixfile do use Mix.Project @description """ The library provide the convenient way to generate data based on provided contract which describes data structure you're interesting in. """ def project do [ app: :exop_data, version: "0.1.7", elixir: ">= 1.6.0", na...
22.770833
100
0.57548
2de9c33b422018999d62820efb48f100e035c11f
171
ex
Elixir
lib/helpdesk_assistant/responses/utter_default.ex
r26D/elixir-rasa-action-server
df41d36189f4ed737752343457dfe06d37a8e758
[ "MIT" ]
1
2021-04-19T18:05:10.000Z
2021-04-19T18:05:10.000Z
lib/helpdesk_assistant/responses/utter_default.ex
r26D/elixir-rasa-action-server
df41d36189f4ed737752343457dfe06d37a8e758
[ "MIT" ]
null
null
null
lib/helpdesk_assistant/responses/utter_default.ex
r26D/elixir-rasa-action-server
df41d36189f4ed737752343457dfe06d37a8e758
[ "MIT" ]
null
null
null
defmodule HelpdeskAssistant.Responses.UtterDefault do use RasaSDK.Responses.Response def simple_text(), do: "I didn't quite understand that. Could you rephrase?" end
42.75
79
0.795322
2de9d0bfcce42c1ec5d1c7e9c393ec36f59855c2
1,411
exs
Elixir
test/wp_pass_test.exs
kay1759/wp_pass
28a532e8527a52eb37b009ea0867783dfc623c79
[ "MIT" ]
null
null
null
test/wp_pass_test.exs
kay1759/wp_pass
28a532e8527a52eb37b009ea0867783dfc623c79
[ "MIT" ]
null
null
null
test/wp_pass_test.exs
kay1759/wp_pass
28a532e8527a52eb37b009ea0867783dfc623c79
[ "MIT" ]
null
null
null
defmodule WPPassTest do use ExUnit.Case doctest WPPass test "right password return true" do assert WPPass.check_password("pass1234", "$P$B1k/CclpMTBLGiWTbdf9eQnLIyQZBr/") === true end test "wrong password return false" do assert WPPass.check_password("pass1234", "$P$B1234567890AaBbCcDdEeFfGgHhIiJj...
34.414634
127
0.704465
2de9d8e25fe44461af9ec34a06608fbd9be16d4c
482
ex
Elixir
lib/flix_web/controllers/fan_controller.ex
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
3
2021-03-21T23:52:16.000Z
2021-06-02T03:47:00.000Z
lib/flix_web/controllers/fan_controller.ex
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
44
2021-04-09T04:04:13.000Z
2022-03-29T06:29:37.000Z
lib/flix_web/controllers/fan_controller.ex
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
null
null
null
defmodule FlixWeb.FanController do use FlixWeb, :controller alias Flix.Accounts def index(conn, _params) do users = Accounts.list_users() render(conn, "index.html", users: users) end def show(conn, %{"id" => id}) do user = Accounts.get_user!(id) reviews = user.reviews favorite_movies = ...
19.28
44
0.645228
2de9e0bc56ca8f2c84493ddb609d4ea8c8599f87
15,343
ex
Elixir
clients/games/lib/google_api/games/v1/api/achievements.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/api/achievements.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/api/achievements.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 "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...
49.176282
238
0.697712
2de9ec4b15bd18aa66245a8612f587c28f15b02e
27,426
exs
Elixir
test/scenic/script_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
test/scenic/script_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
test/scenic/script_test.exs
bruceme/scenic
bd8a1e63c122c44cc263e1fb5dfab2547ce8ef43
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on 2021-02-04. # Copyright © 2021 Kry10 Limited. All rights reserved. # defmodule Scenic.ScriptTest do use ExUnit.Case, async: true doctest Scenic.Script alias Scenic.Script alias Scenic.Color # -------------------------------------------------------- test "start returns a...
32.114754
97
0.601619
2de9f7be88b57a3caf47c0e5fd122c2550ea8ee4
2,535
exs
Elixir
test/mogoose_push_metrics_test.exs
kwoodwardizi/MongoosePush
9d8408367ccaea56742c3963157a9e861dff1551
[ "Apache-2.0" ]
null
null
null
test/mogoose_push_metrics_test.exs
kwoodwardizi/MongoosePush
9d8408367ccaea56742c3963157a9e861dff1551
[ "Apache-2.0" ]
null
null
null
test/mogoose_push_metrics_test.exs
kwoodwardizi/MongoosePush
9d8408367ccaea56742c3963157a9e861dff1551
[ "Apache-2.0" ]
null
null
null
defmodule MongoosePushMetricsTest do use ExUnit.Case, async: false use Quixir import MongoosePush import Mock import TimeHelper doctest MongoosePush.Metrics alias MongoosePush.Service.APNS alias MongoosePush.Service.FCM setup do TestHelper.reload_app() end describe "sprial metric" do te...
29.823529
94
0.585799
2dea404ca0ccb90f123470dae0fb29917b014578
460
ex
Elixir
lib/perspective/projection/response.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
2
2020-04-24T19:43:06.000Z
2020-04-24T19:52:27.000Z
lib/perspective/projection/response.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
lib/perspective/projection/response.ex
backmath/perspective
a0a577d0ffb06805b64e4dcb171a093e051884b0
[ "MIT" ]
null
null
null
defmodule Perspective.ProjectionResponse do import Perspective.StripElixir def channel_success(data, socket) do {:reply, {:ok, data}, socket} end def channel_error(error, socket) do {:reply, {:error, serialize_error(error)}, socket} end defp serialize_error(%type{} = error) do Map.from_struct...
24.210526
54
0.691304
2dea468ce9eb303692451ea4283b2908688903ae
21,217
ex
Elixir
lib/livebook/session.ex
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
null
null
null
lib/livebook/session.ex
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
null
null
null
lib/livebook/session.ex
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Session do @moduledoc false # Server corresponding to a single notebook session. # # The process keeps the current notebook state and serves # as a source of truth that multiple clients talk to. # Receives update requests from the clients and notifies # them of any changes applied to t...
29.224518
96
0.681812
2dea83463163a576f89b8f89cba8d4616a5582bc
1,121
exs
Elixir
config/config.exs
aza32nav/elixirsync
30c27567d1ccba137ab0c15cf8ce65fc3cc71d9a
[ "MIT" ]
null
null
null
config/config.exs
aza32nav/elixirsync
30c27567d1ccba137ab0c15cf8ce65fc3cc71d9a
[ "MIT" ]
null
null
null
config/config.exs
aza32nav/elixirsync
30c27567d1ccba137ab0c15cf8ce65fc3cc71d9a
[ "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...
36.16129
73
0.752007
2dead2d6707dc6668056892767feafee1ce8a073
5,665
exs
Elixir
mix.exs
theharq/phoenix
2e5711c102a260a8d9457229c3dfd33f91c7cf99
[ "MIT" ]
null
null
null
mix.exs
theharq/phoenix
2e5711c102a260a8d9457229c3dfd33f91c7cf99
[ "MIT" ]
null
null
null
mix.exs
theharq/phoenix
2e5711c102a260a8d9457229c3dfd33f91c7cf99
[ "MIT" ]
null
null
null
defmodule Phoenix.MixProject do use Mix.Project @version "1.5.0-dev" # If the elixir requirement is updated, we need to make the installer # use at least the minimum requirement used here. Although often the # installer is ahead of Phoenix itself. @elixir_requirement "~> 1.7" def project do [ ...
25.75
105
0.584113
2dead8d002e288f2328e19ca91e930498b8c5ae7
257
ex
Elixir
lib/ninescraft.ex
drobertduke/ninescraft
00a08e4f3433b1ffd8f0a8dc77927d043b4e3ce8
[ "Apache-2.0" ]
null
null
null
lib/ninescraft.ex
drobertduke/ninescraft
00a08e4f3433b1ffd8f0a8dc77927d043b4e3ce8
[ "Apache-2.0" ]
null
null
null
lib/ninescraft.ex
drobertduke/ninescraft
00a08e4f3433b1ffd8f0a8dc77927d043b4e3ce8
[ "Apache-2.0" ]
null
null
null
defmodule Ninescraft do @moduledoc """ Ninescraft 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.7
66
0.758755
2deb0e48e5fe1c6d1ae12c902842c88834af000a
267
ex
Elixir
lib/exsconfig_reader.ex
fdfzcq/config_comparator
f98d8e4caf5dfdef0fec02736206ffeec3dfaf50
[ "Apache-2.0" ]
null
null
null
lib/exsconfig_reader.ex
fdfzcq/config_comparator
f98d8e4caf5dfdef0fec02736206ffeec3dfaf50
[ "Apache-2.0" ]
null
null
null
lib/exsconfig_reader.ex
fdfzcq/config_comparator
f98d8e4caf5dfdef0fec02736206ffeec3dfaf50
[ "Apache-2.0" ]
null
null
null
defmodule ConfigComparator.ExsconfigReader do def read(path) do read(path, File.exists?(path)) end defp read(_path, false) do {:error, "File not found"} end defp read(path, true) do Mix.env(:prod) elem(Mix.Config.eval!(path), 0) end end
17.8
45
0.659176
2deb11a94768146b7f732e0c3b6f9e374b03358b
2,226
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/report_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/report_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/report_list.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...
39.75
299
0.711141
2deb15592ea5753517632f5fc8eb2697837a12e6
3,891
ex
Elixir
lib/tesla/middleware/telemetry.ex
moosecodebv/tesla
eb919a534aa115e7d1555d0c833fa2ebecbe5b9e
[ "MIT" ]
null
null
null
lib/tesla/middleware/telemetry.ex
moosecodebv/tesla
eb919a534aa115e7d1555d0c833fa2ebecbe5b9e
[ "MIT" ]
null
null
null
lib/tesla/middleware/telemetry.ex
moosecodebv/tesla
eb919a534aa115e7d1555d0c833fa2ebecbe5b9e
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(:telemetry) do defmodule Tesla.Middleware.Telemetry do @moduledoc """ Emits events using the `:telemetry` library to expose instrumentation. ## Example usage ``` defmodule MyClient do use Tesla plug Tesla.Middleware.Telemetry end :telemetry.attach("my...
29.477273
242
0.611668
2deb17cab3c18203eaa4cda036dc80e7e896d847
728
ex
Elixir
lib/groupher_server/cms/models/comment_reply.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
lib/groupher_server/cms/models/comment_reply.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
lib/groupher_server/cms/models/comment_reply.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.CMS.Model.CommentReply do @moduledoc false alias __MODULE__ use Ecto.Schema import Ecto.Changeset alias GroupherServer.CMS alias CMS.Model.Comment @required_fields ~w(comment_id reply_to_id)a @type t :: %CommentReply{} schema "comments_replies" do belongs_to(:comment, ...
24.266667
61
0.741758
2deb1c9c23d4d56a38a9ee6fec9fe5093dc55e82
6,022
ex
Elixir
lib/edeliver/relup/instructions/finish_running_requests.ex
Fastcomm/edeliver
b75c691cb2e29ae586584fa2aa99113d521456e3
[ "MIT", "Unlicense" ]
807
2017-06-30T04:50:01.000Z
2022-03-24T09:57:48.000Z
lib/edeliver/relup/instructions/finish_running_requests.ex
Fastcomm/edeliver
b75c691cb2e29ae586584fa2aa99113d521456e3
[ "MIT", "Unlicense" ]
165
2017-06-26T12:57:43.000Z
2022-03-29T14:36:49.000Z
lib/edeliver/relup/instructions/finish_running_requests.ex
Fastcomm/edeliver
b75c691cb2e29ae586584fa2aa99113d521456e3
[ "MIT", "Unlicense" ]
96
2017-07-01T17:30:22.000Z
2022-03-21T09:34:34.000Z
defmodule Edeliver.Relup.Instructions.FinishRunningRequests do @moduledoc """ Notify request processes that a release upgrade starts. This upgrade instruction waits a short time until current requests finished and notifies the remaining, that a code upgrade will appear. If a `phoenix` version is used ...
41.246575
178
0.733643
2deb3c6c340cbc6ad9014fd2f81e811d63409424
1,318
exs
Elixir
test/xema/cast/nil_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
49
2018-06-05T09:42:19.000Z
2022-02-15T12:50:51.000Z
test/xema/cast/nil_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
152
2017-06-11T13:43:06.000Z
2022-01-09T17:13:45.000Z
test/xema/cast/nil_test.exs
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
6
2019-05-31T05:41:47.000Z
2021-12-14T08:09:36.000Z
defmodule Xema.Cast.NilTest do use ExUnit.Case, async: true alias Xema.CastError import AssertBlame import Xema, only: [cast: 2, cast!: 2] describe "nil schema" do setup do %{ schema: Xema.new(nil), set: [:atom, "str", 1.1, 1, [], %{}, {:tuple}] } end test "cast/2",...
24.407407
80
0.568285
2deb554e3fcb42ee0a48bc378f1fca7ea6705330
2,648
exs
Elixir
test/config_test.exs
mobileoverlord/distillery
e0fb269e970095b3bac2e68e40a8f9c5d1b8f494
[ "MIT" ]
null
null
null
test/config_test.exs
mobileoverlord/distillery
e0fb269e970095b3bac2e68e40a8f9c5d1b8f494
[ "MIT" ]
null
null
null
test/config_test.exs
mobileoverlord/distillery
e0fb269e970095b3bac2e68e40a8f9c5d1b8f494
[ "MIT" ]
null
null
null
defmodule Distillery.Test.ConfigTest do use ExUnit.Case alias Mix.Releases.{Config, Environment, Release, Profile} @standard_app Path.join([__DIR__, "fixtures", "standard_app"]) describe "standard app" do test "read!" do config = Mix.Project.in_project(:standard_app, @standard_app, fn _mixf...
30.790698
98
0.507175
2deb9923f1a4c5dc16239720c2d98317eb843122
3,127
exs
Elixir
.credo.exs
esl/elixometer
6678c97f64ac8a4cf7ecbf32a4d342576d466b69
[ "Apache-2.0" ]
1
2021-03-11T23:38:37.000Z
2021-03-11T23:38:37.000Z
.credo.exs
esl/elixometer
6678c97f64ac8a4cf7ecbf32a4d342576d466b69
[ "Apache-2.0" ]
null
null
null
.credo.exs
esl/elixometer
6678c97f64ac8a4cf7ecbf32a4d342576d466b69
[ "Apache-2.0" ]
2
2021-03-11T23:58:01.000Z
2022-03-06T10:48:34.000Z
%{configs: [ %{name: "default", files: %{ included: ["lib/", "config/", "test/"], excluded: [~r"/_build/", ~r"/deps/"] }, requires: [], check_for_updates: false, color: true, strict: true, # You can customize the parameters of any check by adding a second element # to the ...
39.0875
78
0.700672
2debb31a0fe5ddea74ed8eeed7455749facd9e3c
12,046
ex
Elixir
lib/generated/delete_acls.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
24
2019-06-26T22:08:13.000Z
2022-01-27T00:10:41.000Z
lib/generated/delete_acls.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
10
2020-04-10T07:48:53.000Z
2021-03-26T10:50:25.000Z
lib/generated/delete_acls.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
11
2019-10-30T12:53:09.000Z
2022-03-09T23:16:42.000Z
defmodule(Kayrock.DeleteAcls) do @api :delete_acls @moduledoc "Kayrock-generated module for the Kafka `#{@api}` API\n" _ = " THIS CODE IS GENERATED BY KAYROCK" ( @vmin 0 @vmax 0 ) defmodule(V0.Request) do @vsn 0 @api :delete_acls @schema filters: {:array, [...
31.534031
130
0.554043
2debfdd163704b5e34abd7054b7eec8d7f8d66cc
960
exs
Elixir
preview/config/config.exs
podlove/podlove-preview
7a12cedf338929762e8ef4dea69771e29a89f132
[ "MIT" ]
2
2019-02-23T12:19:46.000Z
2020-02-18T11:53:09.000Z
preview/config/config.exs
podlove/podlove-preview
7a12cedf338929762e8ef4dea69771e29a89f132
[ "MIT" ]
5
2019-01-09T16:18:04.000Z
2019-01-19T10:10:30.000Z
preview/config/config.exs
podlove/podlove-preview
7a12cedf338929762e8ef4dea69771e29a89f132
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config # Configures the endpoint config :preview, Previ...
34.285714
86
0.770833
2debfeb43293860ca8f5f8d8e38f51e83256ee4e
13,810
ex
Elixir
lib/binary.ex
comboy/elixir-binary
fd2e0df233272fc974584939da4ca3b16289e09c
[ "MIT" ]
17
2017-04-19T20:37:50.000Z
2021-12-12T09:13:09.000Z
lib/binary.ex
comboy/elixir-binary
fd2e0df233272fc974584939da4ca3b16289e09c
[ "MIT" ]
2
2018-04-27T08:30:08.000Z
2018-06-20T20:31:23.000Z
lib/binary.ex
comboy/elixir-binary
fd2e0df233272fc974584939da4ca3b16289e09c
[ "MIT" ]
1
2018-04-25T17:16:52.000Z
2018-04-25T17:16:52.000Z
defmodule Binary do @moduledoc """ Functions to operate on binaries. Wrappers of erlang's `:binary`, functions that try to mimic `String` behaviour but on bytes, and some very simple functions that are here just to make piping operations on binaries easier. """ @doc """ Convert list of bytes into bina...
31.967593
154
0.659522
2dec409f055e84f17f70bae1c2128c4813636bdd
1,583
ex
Elixir
clients/data_fusion/lib/google_api/data_fusion/v1/model/accelerator.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_fusion/lib/google_api/data_fusion/v1/model/accelerator.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_fusion/lib/google_api/data_fusion/v1/model/accelerator.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...
31.66
109
0.721415
2dec51e8d98f249d5b375e66e7e51ecbb27ac4a7
982
ex
Elixir
test/support/channel_case.ex
aliksend/armed_hipster
afe4f769b43f91988d1e1555355a99094dd1447d
[ "MIT" ]
null
null
null
test/support/channel_case.ex
aliksend/armed_hipster
afe4f769b43f91988d1e1555355a99094dd1447d
[ "MIT" ]
null
null
null
test/support/channel_case.ex
aliksend/armed_hipster
afe4f769b43f91988d1e1555355a99094dd1447d
[ "MIT" ]
null
null
null
defmodule ArmedHipster.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it canno...
23.380952
71
0.706721
2dec5afc0009176e48a66f4fa7d994ee012432c2
17,489
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/zone_operations.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/compute/lib/google_api/compute/v1/api/zone_operations.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/zone_operations.ex
richiboi1977/elixir-google-api
c495bb3548090eb7a63d12f6fb145ec48aecdc0b
[ "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...
50.840116
1,174
0.630225
2dec717cd4d29fd1a8bf6e14cbd4da49712bee33
24,766
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/region_health_check_services.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_health_check_services.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_health_check_services.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...
54.792035
2,276
0.644513
2decb839e6f8a698d98c069ad05fba9c3866f032
755
ex
Elixir
lib/nbt/util.ex
Jwashton/nbt
9552d3048ed2026036e23e0fe8baf6173140107c
[ "MIT" ]
1
2018-02-15T14:00:18.000Z
2018-02-15T14:00:18.000Z
lib/nbt/util.ex
Jwashton/nbt
9552d3048ed2026036e23e0fe8baf6173140107c
[ "MIT" ]
null
null
null
lib/nbt/util.ex
Jwashton/nbt
9552d3048ed2026036e23e0fe8baf6173140107c
[ "MIT" ]
null
null
null
defmodule NBT.Util do @moduledoc """ Utility functions for NBT parsing """ @doc """ Unfold a value into a list. Returns a tuple containing the list and the remaining tail after an early return. A wrapup function is accepted to clean up the accumulator to make early returns easier. Ends the partial_unf...
29.038462
75
0.663576
2decc77ec958add22092c5a7c6795e45cea4c87f
2,228
ex
Elixir
clients/people/lib/google_api/people/v1/model/relationship_status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/people/lib/google_api/people/v1/model/relationship_status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/people/lib/google_api/people/v1/model/relationship_status.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 ...
34.276923
138
0.705566
2deccb05bb56ade13a42fd2e8c1fa600e1ed5b64
3,291
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/worker_message_code.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/worker_message_code.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/worker_message_code.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...
38.267442
128
0.723488
2decff9ad562ca6a68935e3a090f12c0e0534612
1,703
ex
Elixir
lib/benchmark/parsers.ex
santosh79/remixdb
4f5ab898241b61ef00acf508c63363520c7b87d0
[ "MIT" ]
48
2016-06-01T11:40:34.000Z
2021-05-26T13:20:42.000Z
lib/benchmark/parsers.ex
santosh79/remixdb
4f5ab898241b61ef00acf508c63363520c7b87d0
[ "MIT" ]
2
2016-06-06T10:20:03.000Z
2016-06-11T05:06:10.000Z
lib/benchmark/parsers.ex
santosh79/remixdb
4f5ab898241b61ef00acf508c63363520c7b87d0
[ "MIT" ]
3
2016-07-02T20:54:58.000Z
2018-04-10T02:36:26.000Z
defmodule Remixdb.Benchmark.Parsers do def redis_parser_bm(num_items \\ 1_000, num_workers \\ 50) do :timer.sleep 1_000 client = Exredis.start_using_connection_string("redis://127.0.0.1:6379") :timer.sleep 1_000 keys_and_vals = 1..num_items |> Enum.map(&( {"key: #{&1}", "val: #{&1...
25.41791
160
0.543746
2ded72dc2de85a28c54647ef123a2e7a2f8b42df
1,239
ex
Elixir
apps/admin_api/lib/admin_api/v1/views/transaction_consumption_view.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/views/transaction_consumption_view.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/views/transaction_consumption_view.ex
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...
31.769231
74
0.75222
2ded8446014fc449b22c3a3248ed958a7cbda417
2,654
ex
Elixir
deps/nimble_parsec/lib/mix/tasks/nimble_parsec.compile.ex
mwindholtz/limbo
84da57c72ddb2f1dd78bf2992410268c5ad1b2d4
[ "Apache-2.0" ]
4
2018-12-29T18:55:20.000Z
2020-04-27T02:38:21.000Z
deps/nimble_parsec/lib/mix/tasks/nimble_parsec.compile.ex
mwindholtz/limbo
84da57c72ddb2f1dd78bf2992410268c5ad1b2d4
[ "Apache-2.0" ]
null
null
null
deps/nimble_parsec/lib/mix/tasks/nimble_parsec.compile.ex
mwindholtz/limbo
84da57c72ddb2f1dd78bf2992410268c5ad1b2d4
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.NimbleParsec.Compile do @shortdoc "Compiles a parser and injects its content into the parser file" @moduledoc ~S""" Compiles a parser from a template. mix nimble_parsec.compile template.ex.exs This task is useful to generate parsers that have no runtime dependency on NimbleParsec....
22.491525
95
0.597589
2ded8bd04babde53eaa6fec92df53a27fbe97387
2,849
exs
Elixir
test/mail/proplist_test.exs
priojk/elixir-mail
b048da4a986a9533b6a67a889a2d5b57cdccd001
[ "MIT" ]
387
2016-02-09T23:17:51.000Z
2022-03-31T13:57:05.000Z
test/mail/proplist_test.exs
priojk/elixir-mail
b048da4a986a9533b6a67a889a2d5b57cdccd001
[ "MIT" ]
84
2016-02-09T21:20:11.000Z
2022-03-10T09:58:43.000Z
test/mail/proplist_test.exs
priojk/elixir-mail
b048da4a986a9533b6a67a889a2d5b57cdccd001
[ "MIT" ]
70
2016-02-10T15:21:44.000Z
2021-12-08T18:20:25.000Z
defmodule Mail.ProplistTest do use ExUnit.Case, async: true doctest Mail.Proplist alias Mail.Proplist describe "keys" do test "retrieves all keys in the specified proplist" do assert ["a", "b", :c] == Proplist.keys([{"a", 2}, {"b", "3"}, {:c, 4}, :d]) # no items should result in an empty keys l...
30.308511
87
0.520183
2ded9525557238096025f35c9aa14067971c4313
586
ex
Elixir
lib/todo_app/handlers/registrations/registrations_handler.ex
Angarsk8/todoapp_cowboy_elixir
38a4b4420e3c8cbd5f77178aa1cd4b292bd1c4fd
[ "MIT" ]
134
2017-03-28T14:47:37.000Z
2021-11-25T10:40:15.000Z
lib/todo_app/handlers/registrations/registrations_handler.ex
Angarsk8/todoapp_cowboy_elixir
38a4b4420e3c8cbd5f77178aa1cd4b292bd1c4fd
[ "MIT" ]
5
2017-03-30T05:56:55.000Z
2018-01-17T09:22:51.000Z
lib/todo_app/handlers/registrations/registrations_handler.ex
Angarsk8/todoapp_cowboy_elixir
38a4b4420e3c8cbd5f77178aa1cd4b292bd1c4fd
[ "MIT" ]
14
2017-03-28T17:04:31.000Z
2021-08-07T07:09:21.000Z
defmodule TodoApp.RegistrationsHandler do alias TodoApp.{User, Entities, Authorization} use Entities.BaseHandler import TodoApp.RegistrationView, only: [render: 2] import Authorization.Helpers, only: [encode_and_sign: 1] # REST Handlers Overrides (TodoApp.Entities.BaseHandler) def allowed_methods(req, s...
22.538462
58
0.696246
2deda3bcd137abdec9f974474311861bb247e215
1,141
exs
Elixir
config/config.exs
jeffjewiss/ueberauth_goodreads
945fff3eb9dd67bfe2296486ec6aa87f97e6b3c5
[ "MIT" ]
2
2020-02-12T10:11:05.000Z
2021-02-03T20:54:56.000Z
config/config.exs
tielur/ueberauth_goodreads
62491e108df70625e87122a19891690ab008277c
[ "MIT" ]
null
null
null
config/config.exs
tielur/ueberauth_goodreads
62491e108df70625e87122a19891690ab008277c
[ "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...
36.806452
73
0.756354
2dedcb73d597964cab4def3694fff84126012e5d
102
ex
Elixir
lib/hexpm_web/views/dashboard/password_view.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
lib/hexpm_web/views/dashboard/password_view.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
lib/hexpm_web/views/dashboard/password_view.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule HexpmWeb.Dashboard.PasswordView do use HexpmWeb, :view alias HexpmWeb.DashboardView end
20.4
44
0.823529
2dee01a5eb240aa14f3cb983bc00878f9018ff5b
87
ex
Elixir
web/views/layout_view.ex
mciastek/emotions-wheel-backend
072a88b3ad15b2c6d2aad414e6b7cfc8fb4a70bf
[ "MIT" ]
null
null
null
web/views/layout_view.ex
mciastek/emotions-wheel-backend
072a88b3ad15b2c6d2aad414e6b7cfc8fb4a70bf
[ "MIT" ]
null
null
null
web/views/layout_view.ex
mciastek/emotions-wheel-backend
072a88b3ad15b2c6d2aad414e6b7cfc8fb4a70bf
[ "MIT" ]
null
null
null
defmodule EmotionsWheelBackend.LayoutView do use EmotionsWheelBackend.Web, :view end
21.75
44
0.850575
2dee057631460ef0fe5161168ebc305e28c79123
813
exs
Elixir
test/visual/home_test.exs
hidnasio/talar
bb898a4e2654f2fec6f3cc367ab1576d10d3d435
[ "MIT" ]
null
null
null
test/visual/home_test.exs
hidnasio/talar
bb898a4e2654f2fec6f3cc367ab1576d10d3d435
[ "MIT" ]
null
null
null
test/visual/home_test.exs
hidnasio/talar
bb898a4e2654f2fec6f3cc367ab1576d10d3d435
[ "MIT" ]
null
null
null
defmodule Visual.HomeTest do use ExUnit.Case use Hound.Helpers hound_session( driver: %{ chromeOptions: %{ "args" => [ # "--headless", "--disable-gpu", "--lang=en-US,en", "--verbose", "--log-level=0" ] } } ) test "the trut...
21.394737
81
0.571956
2dee0d2e50892a0dfbce62cf0a480a29b59144b4
704
exs
Elixir
test/codegen/naming_test.exs
ahovgaard/kazan
a93ea241ae9d94f327f741875ff43f509f72b2c6
[ "MIT" ]
139
2017-01-02T08:11:23.000Z
2022-02-10T19:23:29.000Z
test/codegen/naming_test.exs
ahovgaard/kazan
a93ea241ae9d94f327f741875ff43f509f72b2c6
[ "MIT" ]
64
2017-01-05T13:27:04.000Z
2022-02-21T15:42:23.000Z
test/codegen/naming_test.exs
ahovgaard/kazan
a93ea241ae9d94f327f741875ff43f509f72b2c6
[ "MIT" ]
30
2017-01-02T08:11:27.000Z
2021-06-24T14:24:58.000Z
defmodule KazanCodegenNamingTest do use ExUnit.Case alias Kazan.Codegen.Naming describe "model_name_to_module" do test "returns nil when unknown name in safe mode" do assert Naming.model_name_to_module("io.k8s.api.core.v1.nope") == nil end test "returns a module name when in unsafe mode" do ...
26.074074
74
0.678977
2dee1c2afdc6f81e057299183d2e2923d66b9add
557
ex
Elixir
test/support/faktory_test_helpers.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
13
2020-02-12T20:29:33.000Z
2021-04-17T10:18:00.000Z
test/support/faktory_test_helpers.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
51
2020-02-01T05:22:15.000Z
2021-11-03T15:46:02.000Z
test/support/faktory_test_helpers.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
4
2020-10-26T17:21:59.000Z
2021-04-17T18:05:10.000Z
defmodule FaktoryWorker.FaktoryTestHelpers do @moduledoc false import ExUnit.Assertions def flush_faktory!(_context) do {:ok, conn} = FaktoryWorker.Connection.open() {:ok, "OK"} = FaktoryWorker.Connection.send_command(conn, :flush) :ok end def assert_queue_size(queue_name, expected_size) do ...
27.85
75
0.719928
2dee313dce0d26a60c42a74546913c08bb711058
73
ex
Elixir
lib/hello_release_web/views/layout_view.ex
mattiaslundberg/phoenix-deploy-example
4c1c3855ecbce145cb951d14287bcd3a9044e593
[ "MIT" ]
null
null
null
lib/hello_release_web/views/layout_view.ex
mattiaslundberg/phoenix-deploy-example
4c1c3855ecbce145cb951d14287bcd3a9044e593
[ "MIT" ]
null
null
null
lib/hello_release_web/views/layout_view.ex
mattiaslundberg/phoenix-deploy-example
4c1c3855ecbce145cb951d14287bcd3a9044e593
[ "MIT" ]
null
null
null
defmodule HelloReleaseWeb.LayoutView do use HelloReleaseWeb, :view end
18.25
39
0.835616
2dee316f63f238dd3b30d505400bf151d6669a4c
586
ex
Elixir
lib/wabanex/training.ex
mateusfg7/Wabanex
edb8bf0862220975714ed3cf83b3f736be57c1fc
[ "MIT" ]
null
null
null
lib/wabanex/training.ex
mateusfg7/Wabanex
edb8bf0862220975714ed3cf83b3f736be57c1fc
[ "MIT" ]
1
2021-06-21T18:42:41.000Z
2021-06-21T18:42:41.000Z
lib/wabanex/training.ex
mateusfg7/Wabanex
edb8bf0862220975714ed3cf83b3f736be57c1fc
[ "MIT" ]
null
null
null
defmodule Wabanex.Training do use Ecto.Schema import Ecto.Changeset alias Wabanex.{User, Exercise} @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id @fields [:end_date, :start_date, :user_id] schema "trainings" do field :end_date, :date field :start_date, :date ...
19.533333
52
0.6843
2dee381aaafe7df945dd66ad94385c264a279fc5
2,350
ex
Elixir
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/linked_router_appliance_instances.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/linked_router_appliance_instances.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/linked_router_appliance_instances.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...
42.727273
318
0.763404
2dee3a7085e2de549570309ee756a4dc84b5ce31
293
ex
Elixir
apps/tools_1/lib/supervisor.ex
WhiteRookPL/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
14
2017-08-09T14:21:47.000Z
2022-03-11T04:10:49.000Z
apps/tools_1/lib/supervisor.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
null
null
null
apps/tools_1/lib/supervisor.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
15
2017-09-05T15:43:53.000Z
2020-04-13T16:20:18.000Z
defmodule RandomServer.Supervisor do use Supervisor def start_link do Supervisor.start_link(__MODULE__, :ok) end def init(:ok) do children = [ worker(RandomServer.Randomizer, [ RandomServer.Randomizer ]), ] supervise(children, strategy: :one_for_one) end end
19.533333
67
0.706485
2dee535ed7d3f0c172c3d4f4c2a0f94e08ed5bcf
202
ex
Elixir
lib/style/no_border.ex
cowile/scribe
75334daf0f1fd24ba92bceef67b4cb6e1e2c4f37
[ "MIT" ]
253
2016-08-13T21:47:42.000Z
2022-01-18T06:53:28.000Z
lib/style/no_border.ex
cowile/scribe
75334daf0f1fd24ba92bceef67b4cb6e1e2c4f37
[ "MIT" ]
15
2017-02-18T18:00:15.000Z
2022-01-30T15:48:08.000Z
lib/style/no_border.ex
cowile/scribe
75334daf0f1fd24ba92bceef67b4cb6e1e2c4f37
[ "MIT" ]
11
2016-12-23T08:21:36.000Z
2021-12-31T21:03:26.000Z
defmodule Scribe.Style.NoBorder do @moduledoc false alias Scribe.Border @behaviour Scribe.Style def border_at(_row, _col, _max_rows, _max_cols), do: %Border{} use Scribe.DefaultColors end
16.833333
64
0.752475
2dee698c27ad0173286ab09bc401a610ec32d3d0
2,152
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/oidc_token.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/oidc_token.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/oidc_token.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...
35.866667
144
0.733736
2dee71587aa9250add8207ec53ff2414a4a94b3b
132
exs
Elixir
config/test.exs
relax2code/gotrue-elixir
51987b031b80ec36dad8f3236c154574ce731d09
[ "MIT" ]
8
2021-01-11T14:12:18.000Z
2021-08-19T12:16:27.000Z
config/test.exs
relax2code/gotrue-elixir
51987b031b80ec36dad8f3236c154574ce731d09
[ "MIT" ]
4
2021-05-05T16:11:05.000Z
2021-06-11T16:18:37.000Z
config/test.exs
relax2code/gotrue-elixir
51987b031b80ec36dad8f3236c154574ce731d09
[ "MIT" ]
2
2021-05-05T10:24:08.000Z
2021-06-09T11:27:12.000Z
import Config config :tesla, adapter: Tesla.Mock config :gotrue, base_url: "http://auth.example.com", api_key: "super-secret"
16.5
38
0.719697
2dee7b94a41cef1a455e397f97061ab00f430913
128
exs
Elixir
test/redix_sharding_test.exs
xxuejie/redix_sharding
2f8021d667bf5068b768ae7a211aa8f1299082f5
[ "MIT" ]
1
2017-05-21T12:29:48.000Z
2017-05-21T12:29:48.000Z
test/redix_sharding_test.exs
xxuejie/redix_sharding
2f8021d667bf5068b768ae7a211aa8f1299082f5
[ "MIT" ]
null
null
null
test/redix_sharding_test.exs
xxuejie/redix_sharding
2f8021d667bf5068b768ae7a211aa8f1299082f5
[ "MIT" ]
null
null
null
defmodule RedixShardingTest do use ExUnit.Case doctest RedixSharding test "the truth" do assert 1 + 1 == 2 end end
14.222222
30
0.703125
2deebcf633f157ea48f916c5367fd1fb45c7c885
1,339
exs
Elixir
test/event/event_handler_macro_test.exs
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1
2020-02-19T01:07:32.000Z
2020-02-19T01:07:32.000Z
test/event/event_handler_macro_test.exs
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
null
null
null
test/event/event_handler_macro_test.exs
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1
2020-02-18T20:53:39.000Z
2020-02-18T20:53:39.000Z
defmodule Commanded.Event.EventHandlerMacroTest do use Commanded.StorageCase alias Commanded.Event.IgnoredEvent alias Commanded.ExampleDomain.BankApp alias Commanded.ExampleDomain.BankAccount.Events.{BankAccountOpened, MoneyDeposited} alias Commanded.ExampleDomain.BankAccount.AccountBalanceHandler alias Co...
29.108696
86
0.70127
2deeded90199441b0b05f59fe69905386212e38e
2,901
ex
Elixir
lib/glimesh_web/endpoint.ex
Cykotiq/glimesh.tv
6b998fa0b170b04916378df7246b6c64dd9f401e
[ "MIT" ]
null
null
null
lib/glimesh_web/endpoint.ex
Cykotiq/glimesh.tv
6b998fa0b170b04916378df7246b6c64dd9f401e
[ "MIT" ]
null
null
null
lib/glimesh_web/endpoint.ex
Cykotiq/glimesh.tv
6b998fa0b170b04916378df7246b6c64dd9f401e
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.Endpoint do use Phoenix.Endpoint, otp_app: :glimesh use Absinthe.Phoenix.Endpoint # The session will be stored in the cookie: signed & encrypted. # The value used for encryption is our `secret_key_base` @session_options [ store: :cookie, key: "_glimesh_key", signing_salt: ...
31.532609
130
0.715271
2deee85a7ca08d2d9cfc8f13f224061cdd2a234c
1,096
ex
Elixir
test/support/conn_case.ex
elarkham/animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
1
2018-01-02T06:59:08.000Z
2018-01-02T06:59:08.000Z
test/support/conn_case.ex
elarkham/Animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
null
null
null
test/support/conn_case.ex
elarkham/Animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
null
null
null
defmodule Animu.Web.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build and query models. Finally, if the test case interacts with the d...
24.355556
67
0.701642
2deeed22ed9e7ff39cb70bc90b3dd2beeb0c7c2c
85
ex
Elixir
lib/phoenix_api_sample/repo.ex
TobiG77/phoenix_api_sample
5d2e69537562ce921b8aa6c2b0d8cd3710490907
[ "MIT" ]
null
null
null
lib/phoenix_api_sample/repo.ex
TobiG77/phoenix_api_sample
5d2e69537562ce921b8aa6c2b0d8cd3710490907
[ "MIT" ]
null
null
null
lib/phoenix_api_sample/repo.ex
TobiG77/phoenix_api_sample
5d2e69537562ce921b8aa6c2b0d8cd3710490907
[ "MIT" ]
null
null
null
defmodule PhoenixApiSample.Repo do use Ecto.Repo, otp_app: :phoenix_api_sample end
21.25
45
0.823529
2deefc977aa68025a169233786d610e5fa1ec641
1,928
ex
Elixir
clients/content/lib/google_api/content/v21/model/order_promotion_item.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/order_promotion_item.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/order_promotion_item.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...
34.428571
141
0.706432
2def2daa7d2e2beb7b816bf3dd9e05d7076c8a95
356
exs
Elixir
apps/definition_presto/config/test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
12
2020-01-27T19:43:02.000Z
2021-07-28T19:46:29.000Z
apps/definition_presto/config/test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
81
2020-01-28T18:07:23.000Z
2021-11-22T02:12:13.000Z
apps/definition_presto/config/test.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
10
2020-02-13T21:24:09.000Z
2020-05-21T18:39:35.000Z
use Mix.Config config :ex_aws, debug_requests: true, access_key_id: "testing_access_key", secret_access_key: "testing_secret_key", region: "local" config :ex_aws, :s3, scheme: "http://", host: %{ "local" => "localhost" }, port: 9000 config :definition_presto, divo: "docker-compose.yml", divo_...
18.736842
42
0.679775
2def63712a38e3e76dd06f900167fa1005ddb76f
473
exs
Elixir
dave-course/fibcache_proj/fib/mix.exs
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
dave-course/fibcache_proj/fib/mix.exs
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
dave-course/fibcache_proj/fib/mix.exs
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
defmodule Fib.MixProject do use Mix.Project def project do [ app: :fib, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_application...
16.892857
59
0.566596
2def773fc59f085c3a4b4921d35f6d6fe875e66a
8,999
ex
Elixir
farmbot_os/lib/farmbot_os/sys_calls/pin_control.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_os/lib/farmbot_os/sys_calls/pin_control.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_os/lib/farmbot_os/sys_calls/pin_control.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotOS.SysCalls.PinControl do @moduledoc false alias FarmbotCore.{Asset, Leds} alias FarmbotCore.Asset.{ BoxLed, Peripheral, Sensor } require FarmbotCore.Logger def read_cached_pin(%_{pin: number}) do read_cached_pin(number) end def read_cached_pin(pin_number) do Fa...
26.008671
79
0.596622
2def7e72d5cc4a15cd02e557f6d4cc4589b0c837
810
ex
Elixir
debian/emacsen-startup.ex
CoderAldrich/toluapp
b416a21f45b60509904e24f197235a2cc98dbd79
[ "MIT" ]
201
2015-01-13T12:34:38.000Z
2022-03-05T14:26:35.000Z
debian/emacsen-startup.ex
CoderAldrich/toluapp
b416a21f45b60509904e24f197235a2cc98dbd79
[ "MIT" ]
null
null
null
debian/emacsen-startup.ex
CoderAldrich/toluapp
b416a21f45b60509904e24f197235a2cc98dbd79
[ "MIT" ]
73
2015-04-05T22:19:30.000Z
2022-03-05T14:26:37.000Z
;; -*-emacs-lisp-*- ;; ;; Emacs startup file for the Debian tolua++ package ;; ;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at> ;; Modified by Dirk Eddelbuettel <edd@debian.org> ;; Adapted for dh-make by Jim Van Zandt <jrv@vanzandt.mv.com> ;; The tolua++ package follows the Debian/GNU Linux 'emacsen...
40.5
72
0.662963
2def8ddc8f9ec06378baaf1c61733b7c36f9db40
1,399
ex
Elixir
lib/step_flow/metrics/workflow_collector.ex
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
lib/step_flow/metrics/workflow_collector.ex
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
lib/step_flow/metrics/workflow_collector.ex
nipierre/ex_step_flow
4345ee57bd4e5eb79138df68d10579ba1b9ec6a1
[ "MIT" ]
null
null
null
defmodule StepFlow.Metrics.WorkflowCollector do @moduledoc """ Prometheus metrics collector for workflow duration """ use Prometheus.Collector alias StepFlow.Workflows def collect_mf(_registry, callback) do scale = Application.get_env(StepFlow.Metrics, :scale, "day") delta = Application.get_env(Ste...
26.903846
78
0.679056
2def963ec8d2efb21a1151332471cc6d67dc260d
4,818
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/filter.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/analytics/lib/google_api/analytics/v3/model/filter.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/analytics/lib/google_api/analytics/v3/model/filter.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...
53.533333
179
0.700498
2def9fa16cf58e92c6718e25091e8b7ef3ab2edf
4,763
ex
Elixir
lib/fast_global/cluster.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
2
2019-04-15T22:17:59.000Z
2022-01-03T15:35:36.000Z
lib/fast_global/cluster.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
null
null
null
lib/fast_global/cluster.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2018 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.FastGlobal.Cluster do @vsn 1.0 alias Noizu.FastGlobal.R...
32.848276
158
0.524459
2defb0498caf8effff89d25a1925928ddfd31cb9
839
ex
Elixir
lib/ex_twilio/resources/programmable_chat/channel.ex
paulanthonywilson/ex_twilio
4f58cb13ae8e4ba61237369bc29669724f9491ff
[ "MIT" ]
1
2017-03-23T08:03:58.000Z
2017-03-23T08:03:58.000Z
lib/ex_twilio/resources/programmable_chat/channel.ex
paulanthonywilson/ex_twilio
4f58cb13ae8e4ba61237369bc29669724f9491ff
[ "MIT" ]
1
2019-09-02T15:15:39.000Z
2019-09-03T04:28:09.000Z
lib/ex_twilio/resources/programmable_chat/channel.ex
paulanthonywilson/ex_twilio
4f58cb13ae8e4ba61237369bc29669724f9491ff
[ "MIT" ]
2
2022-03-08T22:05:17.000Z
2022-03-09T05:29:46.000Z
defmodule ExTwilio.ProgrammableChat.Channel do @moduledoc """ Represents a Channel resource in the Twilio Programmable Chat API. - [Twilio docs](https://www.twilio.com/docs/api/chat/rest/channels) """ defstruct sid: nil, account_sid: nil, service_sid: nil, unique_name: nil...
24.676471
95
0.563766
2defd8037244ca71092bc44baf5bf51f1c6c114a
1,725
ex
Elixir
apps/kv/lib/kv/bucket.ex
WhiteRookPL/production-debugging-workshop.ex
26e81d14ba39c33764ddaee5d6d65a6061f4e823
[ "MIT" ]
5
2017-05-03T08:05:54.000Z
2022-03-11T04:11:00.000Z
apps/kv/lib/kv/bucket.ex
WhiteRookPL/production-debugging-workshop.ex
26e81d14ba39c33764ddaee5d6d65a6061f4e823
[ "MIT" ]
null
null
null
apps/kv/lib/kv/bucket.ex
WhiteRookPL/production-debugging-workshop.ex
26e81d14ba39c33764ddaee5d6d65a6061f4e823
[ "MIT" ]
null
null
null
defmodule KV.Bucket do @doc """ Starts a new bucket. """ def start_link do Agent.start_link(fn -> %{} end) end @doc """ Gets a value from the `bucket` by `key`. """ def get(bucket, key) do Agent.get(bucket, &Map.get(&1, key)) end @doc """ Puts the `value` for the given `key` in the `bu...
20.783133
94
0.613333
2defe9af3feb1419e6b9ed033c94c305080f4ca1
3,001
exs
Elixir
mix.exs
C-Sinclair/platform_rpi3
2473a97d36f29e4ffbc34f8cf975c0c2317046de
[ "Apache-2.0" ]
null
null
null
mix.exs
C-Sinclair/platform_rpi3
2473a97d36f29e4ffbc34f8cf975c0c2317046de
[ "Apache-2.0" ]
null
null
null
mix.exs
C-Sinclair/platform_rpi3
2473a97d36f29e4ffbc34f8cf975c0c2317046de
[ "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 [ ...
22.734848
82
0.578141
2df027f0b9a55dd7c5d74f3938bf09768df0e016
805
exs
Elixir
installer/test/mix_helper.exs
scrogson/phoenix
e5745b9360fa1163246eb507490f1ce760cc0219
[ "MIT" ]
null
null
null
installer/test/mix_helper.exs
scrogson/phoenix
e5745b9360fa1163246eb507490f1ce760cc0219
[ "MIT" ]
null
null
null
installer/test/mix_helper.exs
scrogson/phoenix
e5745b9360fa1163246eb507490f1ce760cc0219
[ "MIT" ]
null
null
null
# Get Mix output sent to the current # process to avoid polluting tests. Mix.shell(Mix.Shell.Process) defmodule MixHelper do import ExUnit.Assertions def tmp_path do Path.expand("../../tmp", __DIR__) end def in_tmp(which, function) do path = Path.join(tmp_path, which) File.rm_rf! path File.mk...
23
74
0.637267
2df04f9d28a13c3d8fb9f812c558719369c2a6b6
1,221
exs
Elixir
mix.exs
ni/tdms-parser
5051d821f744ead02c66dd34a4dca4ab1f22acb9
[ "MIT" ]
3
2019-07-12T12:22:42.000Z
2020-12-25T16:18:17.000Z
mix.exs
ni/tdms-parser
5051d821f744ead02c66dd34a4dca4ab1f22acb9
[ "MIT" ]
7
2019-07-10T07:11:30.000Z
2020-02-20T09:56:35.000Z
mix.exs
ni/tdms-parser
5051d821f744ead02c66dd34a4dca4ab1f22acb9
[ "MIT" ]
2
2020-02-25T16:42:17.000Z
2020-02-26T11:06:17.000Z
defmodule TDMS.Parser.MixProject do use Mix.Project def project do [ app: :tdms_parser, version: "0.2.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(),...
23.037736
96
0.573301
2df05e58227ec21d885d4f37553258333d50e91f
245
ex
Elixir
lib/mix/tasks/slack.ex
gustavoarmoa/changelog.com
e898a9979a237ae66962714821ed8633a4966f37
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
lib/mix/tasks/slack.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
lib/mix/tasks/slack.ex
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule Mix.Tasks.Changelog.Slack do use Mix.Task @shortdoc "Retrieves list of Slack users and updates local Slack IDs" def run(_) do Mix.Task.run("app.start") Changelog.ObanWorkers.SlackImporter.perform(%Oban.Job{}) end end
22.272727
71
0.730612
2df076ecbad0497d83a8c42f1919334c74a24836
886
ex
Elixir
service_runtime_binary/service_runtime/service_runtime_debian/prerm.ex
intel/cloud-client-ai-service-framework
01676b08878f7a58201854aedb181134eafef7a2
[ "Apache-2.0" ]
3
2022-03-25T17:28:53.000Z
2022-03-29T03:30:25.000Z
service_runtime_binary/service_runtime/service_runtime_debian/prerm.ex
intel/cloud-client-ai-service-framework
01676b08878f7a58201854aedb181134eafef7a2
[ "Apache-2.0" ]
null
null
null
service_runtime_binary/service_runtime/service_runtime_debian/prerm.ex
intel/cloud-client-ai-service-framework
01676b08878f7a58201854aedb181134eafef7a2
[ "Apache-2.0" ]
1
2022-03-27T12:44:19.000Z
2022-03-27T12:44:19.000Z
#!/bin/sh # prerm script for service-runtime # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <prerm> `remove' # * <old-prerm> `upgrade' <new-version> # * <new-prerm> `failed-upgrade' <old-version> # * <conflictor's-prerm> `remove' `in-favour' <package> <new...
22.717949
76
0.628668
2df09c32db618b1b430c6cc5d71cc218c0764bc5
621
ex
Elixir
lib/cash_flow_ecto_schemas/account.ex
diogobaracho/cashflowex
7b66ff98239407f2ea2e11bf1693783dd94a725b
[ "Apache-2.0" ]
null
null
null
lib/cash_flow_ecto_schemas/account.ex
diogobaracho/cashflowex
7b66ff98239407f2ea2e11bf1693783dd94a725b
[ "Apache-2.0" ]
null
null
null
lib/cash_flow_ecto_schemas/account.ex
diogobaracho/cashflowex
7b66ff98239407f2ea2e11bf1693783dd94a725b
[ "Apache-2.0" ]
null
null
null
defmodule CashFlowEx.BillAccount do use Ecto.Schema import Ecto.Changeset import Ecto.Query, warn: false alias CashFlowEx.{BillAccount, User} schema "bill_accounts" do field(:title, :string) field(:summary, :string) field(:is_active, :boolean) field(:initial_value, :float) belongs_to(:u...
19.40625
63
0.669887
2df10cbcd5143adfa2cc0e873ff6fbf1e27f41f8
1,741
exs
Elixir
test/mix/tasks/hex.search_test.exs
davydog187/hex
c12ebc3b751ecb900d1dc85aad7f5a12f309152a
[ "Apache-2.0" ]
null
null
null
test/mix/tasks/hex.search_test.exs
davydog187/hex
c12ebc3b751ecb900d1dc85aad7f5a12f309152a
[ "Apache-2.0" ]
null
null
null
test/mix/tasks/hex.search_test.exs
davydog187/hex
c12ebc3b751ecb900d1dc85aad7f5a12f309152a
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Hex.SearchTest do use HexTest.Case @moduletag :integration test "search" do Mix.Tasks.Hex.Search.run(["doc"]) assert_received {:mix_shell, :info, ["ex_doc" <> ex_doc]} assert_received {:mix_shell, :info, ["only_doc" <> only_doc]} assert ex_doc =~ ~r"\w*0\.1\.0.*http://localhos...
36.270833
93
0.645032
2df1236329d9428bae29b381cd9419740dd9c8b4
125
ex
Elixir
lib/elixatmo/model/app_data.ex
sokkalf/ElixAtmo
16008ec8d1d9e89d1c7917ce777a3955c2db1f6c
[ "Apache-2.0" ]
1
2018-06-23T10:18:16.000Z
2018-06-23T10:18:16.000Z
lib/elixatmo/model/app_data.ex
sokkalf/ElixAtmo
16008ec8d1d9e89d1c7917ce777a3955c2db1f6c
[ "Apache-2.0" ]
null
null
null
lib/elixatmo/model/app_data.ex
sokkalf/ElixAtmo
16008ec8d1d9e89d1c7917ce777a3955c2db1f6c
[ "Apache-2.0" ]
1
2019-11-27T17:52:05.000Z
2019-11-27T17:52:05.000Z
defmodule ElixAtmo.Model.AppData do @fields %{ app_id: :binary, client_secret: :binary } use SafeExStruct end
13.888889
35
0.688
2df14bf794298fcba96a943c274327648c44270c
273
ex
Elixir
lib/places_alloverse_com.ex
alloverse/places_alloverse_com
5c15ea08a88429378ce8f41047418e166cbde7e9
[ "BSD-2-Clause" ]
null
null
null
lib/places_alloverse_com.ex
alloverse/places_alloverse_com
5c15ea08a88429378ce8f41047418e166cbde7e9
[ "BSD-2-Clause" ]
1
2021-03-10T11:40:47.000Z
2021-03-10T11:40:47.000Z
lib/places_alloverse_com.ex
alloverse/places_alloverse_com
5c15ea08a88429378ce8f41047418e166cbde7e9
[ "BSD-2-Clause" ]
null
null
null
defmodule PlacesAlloverseCom do @moduledoc """ PlacesAlloverseCom 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
27.3
66
0.772894
2df14f8da0a0e3fa8542eee6758d845a38bc666b
1,303
exs
Elixir
config/dev.exs
renuo/dev-quotes
dcb187c82697c756f19c40bbe84b0555eda6ae86
[ "MIT" ]
null
null
null
config/dev.exs
renuo/dev-quotes
dcb187c82697c756f19c40bbe84b0555eda6ae86
[ "MIT" ]
null
null
null
config/dev.exs
renuo/dev-quotes
dcb187c82697c756f19c40bbe84b0555eda6ae86
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :dev_quotes, DevQuotes.Endpoint, http: [port: ...
29.613636
73
0.701458
2df156fe49e8a4cb9a4246617d2a1cef1a2ff355
14
exs
Elixir
graphql/test/test_helper.exs
leighshepperson/got-stats
820e7aab68a0de39f55ed55fd18ca9e658a084ff
[ "MIT" ]
1,459
2017-09-16T13:13:15.000Z
2020-10-05T06:19:50.000Z
test/test_helper.exs
marvelperseus/phoenix-vue-2-example
78498514927ed507ef911877f9fea8ef88541193
[ "MIT" ]
1,413
2017-09-14T18:18:14.000Z
2020-09-28T08:10:30.000Z
test/test_helper.exs
marvelperseus/phoenix-vue-2-example
78498514927ed507ef911877f9fea8ef88541193
[ "MIT" ]
130
2016-09-03T19:44:27.000Z
2022-01-16T12:27:54.000Z
ExUnit.start
4.666667
12
0.785714
2df183578aa110dd8d064884f9027e3f6b781a58
876
ex
Elixir
kousa/lib/broth.ex
alexnix/dogehouse
515e012fee184dcb059abc5c4a56fb8c26d9f9c8
[ "MIT" ]
null
null
null
kousa/lib/broth.ex
alexnix/dogehouse
515e012fee184dcb059abc5c4a56fb8c26d9f9c8
[ "MIT" ]
null
null
null
kousa/lib/broth.ex
alexnix/dogehouse
515e012fee184dcb059abc5c4a56fb8c26d9f9c8
[ "MIT" ]
null
null
null
defmodule Broth do import Plug.Conn @type json :: String.t() | number | boolean | nil | [json] | %{String.t() => json} alias Broth.Routes.DevOnly alias Broth.Routes.GitHubAuth alias Broth.Routes.TwitterAuth alias Broth.Routes.ScheduledRoom alias Broth.Routes.Room alias Broth.Routes.Stats use Plug.R...
21.9
84
0.678082
2df18e3d78e1af50785722f651361ece0cbbdb67
7,598
exs
Elixir
lib/mix/test/mix/task_test.exs
gordalina/elixir
9c99bc28a39ec289dc5602d6022586cdd844c736
[ "Apache-2.0" ]
2
2020-06-02T18:00:28.000Z
2021-12-10T03:21:42.000Z
lib/mix/test/mix/task_test.exs
gordalina/elixir
9c99bc28a39ec289dc5602d6022586cdd844c736
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/task_test.exs
gordalina/elixir
9c99bc28a39ec289dc5602d6022586cdd844c736
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Mix.TaskTest do use MixTest.Case defmodule SampleProject do def project do [app: :sample, version: "0.0.1"] end end test "run/2" do assert Mix.Task.run("hello") == "Hello, World!" assert Mix.Task.run("hello") == :noop asser...
28.0369
122
0.626217
2df195566f9e7e47e85e426487df987cee426d9e
1,107
exs
Elixir
CodeEval/templates/elixir/config/config.exs
cjschneider2/practice_code
5d9b793eccca39262fb452fa1f3f53e6b54bc7aa
[ "Unlicense" ]
null
null
null
CodeEval/templates/elixir/config/config.exs
cjschneider2/practice_code
5d9b793eccca39262fb452fa1f3f53e6b54bc7aa
[ "Unlicense" ]
null
null
null
CodeEval/templates/elixir/config/config.exs
cjschneider2/practice_code
5d9b793eccca39262fb452fa1f3f53e6b54bc7aa
[ "Unlicense" ]
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
2df1a4f8be4fd2311884aa5653da6a631a68548d
1,570
ex
Elixir
clients/content/lib/google_api/content/v2/model/product_destination.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/product_destination.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/product_destination.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "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.4
128
0.726752
2df1fab0dee24e8b0c571c39e97dbb1716b436f7
2,341
exs
Elixir
test/plexy/request_id_test.exs
heroku/plexy
bfdd4a539c2c0d8f80101cca8061a945a2cd6159
[ "MIT" ]
153
2016-11-07T15:11:52.000Z
2021-11-16T23:20:52.000Z
test/plexy/request_id_test.exs
heroku/plexy
bfdd4a539c2c0d8f80101cca8061a945a2cd6159
[ "MIT" ]
21
2016-11-07T14:55:09.000Z
2022-03-30T18:31:31.000Z
test/plexy/request_id_test.exs
heroku/plexy
bfdd4a539c2c0d8f80101cca8061a945a2cd6159
[ "MIT" ]
5
2018-07-09T05:02:53.000Z
2019-11-01T01:08:09.000Z
defmodule Plexy.RequestIdTest do use ExUnit.Case, async: true alias Plexy.RequestId test "init has default config" do config = RequestId.init([]) assert Keyword.get(config, :req_headers) == ["request-id", "x-request-id"] assert Keyword.get(config, :res_header) == "request-id" end test "init al...
27.22093
78
0.5912
2df226ede2f1041e70e2be98e0266cf22a071239
12,288
ex
Elixir
lib/ash_phoenix/form_data/helpers.ex
axelson/ash_phoenix
a0d196f02721eab6013f6bc602fe8c9a03e945bb
[ "MIT" ]
null
null
null
lib/ash_phoenix/form_data/helpers.ex
axelson/ash_phoenix
a0d196f02721eab6013f6bc602fe8c9a03e945bb
[ "MIT" ]
null
null
null
lib/ash_phoenix/form_data/helpers.ex
axelson/ash_phoenix
a0d196f02721eab6013f6bc602fe8c9a03e945bb
[ "MIT" ]
null
null
null
defmodule AshPhoenix.FormData.Helpers do @moduledoc false def get_argument(nil, _), do: nil def get_argument(action, field) when is_atom(field) do Enum.find(action.arguments, &(&1.name == field)) end def get_argument(action, field) when is_binary(field) do Enum.find(action.arguments, &(to_string(&1....
24.824242
100
0.582113
2df23275d23125f48a13f22c8b28cee120f672bc
454
exs
Elixir
test/banking_web/views/error_view_test.exs
murilosrg/banking-api
731a150d06d605958b53bfd27c4a1f6033527847
[ "MIT" ]
null
null
null
test/banking_web/views/error_view_test.exs
murilosrg/banking-api
731a150d06d605958b53bfd27c4a1f6033527847
[ "MIT" ]
null
null
null
test/banking_web/views/error_view_test.exs
murilosrg/banking-api
731a150d06d605958b53bfd27c4a1f6033527847
[ "MIT" ]
null
null
null
defmodule BankingWeb.ErrorViewTest do use BankingWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(BankingWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "renders 500.jso...
28.375
92
0.682819
2df26b4b725b405ddcfb52bb7d6d8616d9c8da69
1,735
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/confusion_matrix.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/confusion_matrix.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/confusion_matrix.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...
34.019608
127
0.729683
2df271b92f654f44f1d61b3f78587f4f756a38c3
454
ex
Elixir
apps/nerves_hub_device/lib/nerves_hub_device_web/router.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
111
2018-07-25T01:07:51.000Z
2022-01-25T17:03:01.000Z
apps/nerves_hub_device/lib/nerves_hub_device_web/router.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
361
2018-07-22T12:53:00.000Z
2022-03-31T18:50:34.000Z
apps/nerves_hub_device/lib/nerves_hub_device_web/router.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
54
2018-08-26T02:58:04.000Z
2022-03-09T10:12:19.000Z
defmodule NervesHubDeviceWeb.Router do use NervesHubDeviceWeb, :router pipeline :device do plug(NervesHubDeviceWeb.Plugs.Device) end pipeline :api do plug(:accepts, ["json"]) end # Other scopes may use custom stacks. scope "/", NervesHubDeviceWeb do pipe_through(:api) pipe_through(:devi...
19.73913
47
0.678414
2df288db630d16987becf4674da7ef7434ab4f38
3,860
exs
Elixir
test/grizzly/command_class/association_group_info/group_command_list_get_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
test/grizzly/command_class/association_group_info/group_command_list_get_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
test/grizzly/command_class/association_group_info/group_command_list_get_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.CommandClass.AssociationGroupInfo.GroupCommandListGetTest do use ExUnit.Case, async: true alias Grizzly.Packet alias Grizzly.CommandClass.AssociationGroupInfo.GroupCommandListGet alias Grizzly.Command.EncodeError describe "implements Grizzly.Command behaviour" do test "initializes to t...
34.464286
96
0.634715
2df28b812277db4e3ce532dc6f621489f416c96d
400
ex
Elixir
lib/attribute_repository/supervised_start.ex
tanguilp/attribute_repository
dfbe52bba681dc6ae4a2c228a522d00bc9fc0e7e
[ "Apache-2.0" ]
null
null
null
lib/attribute_repository/supervised_start.ex
tanguilp/attribute_repository
dfbe52bba681dc6ae4a2c228a522d00bc9fc0e7e
[ "Apache-2.0" ]
null
null
null
lib/attribute_repository/supervised_start.ex
tanguilp/attribute_repository
dfbe52bba681dc6ae4a2c228a522d00bc9fc0e7e
[ "Apache-2.0" ]
null
null
null
defmodule AttributeRepository.SupervisedStart do @moduledoc """ Callback for supervised start """ @doc """ Launches a supervised attribute repository Returns `{:ok, pid}` or an error like the `Supervisor.start_link/2` function. This callback is to be used when the process can be supervised. """ @ca...
26.666667
84
0.74
2df298c608c2930c1c55bb177fa361b684415d4d
15,449
ex
Elixir
lib/pigeon/legacy_fcm/notification.ex
VoiSmart/pigeon
54735f869dd5500991dfa0b13dc71ca2191cd0ff
[ "MIT" ]
545
2015-09-06T15:50:32.000Z
2022-03-21T08:21:11.000Z
lib/pigeon/legacy_fcm/notification.ex
VoiSmart/pigeon
54735f869dd5500991dfa0b13dc71ca2191cd0ff
[ "MIT" ]
178
2016-01-14T22:21:20.000Z
2022-02-18T22:34:30.000Z
lib/pigeon/legacy_fcm/notification.ex
VoiSmart/pigeon
54735f869dd5500991dfa0b13dc71ca2191cd0ff
[ "MIT" ]
124
2016-01-17T11:30:16.000Z
2022-02-28T16:59:41.000Z
defmodule Pigeon.LegacyFCM.Notification do @moduledoc """ Defines `Pigeon.LegacyFCM.Notification` struct and convenience constructor functions. """ defstruct __meta__: %Pigeon.Metadata{}, collapse_key: nil, condition: nil, content_available: false, dry_run: false...
33.439394
116
0.662956
2df2a8dce84daba0cbf64af26a20c08ef37f9aaf
2,068
ex
Elixir
clients/domains/lib/google_api/domains/v1alpha2/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/domains/lib/google_api/domains/v1alpha2/model/set_iam_policy_request.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/domains/lib/google_api/domains/v1alpha2/model/set_iam_policy_request.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...
41.36
311
0.740812
2df2f5c5a1b44a136c240fabb1351bfb4128ccbc
1,434
exs
Elixir
test/config_test.exs
elixir-twister/mailman
2649f8a0d8021664ac78989425492e5d7200af4e
[ "MIT" ]
1
2020-01-18T10:31:50.000Z
2020-01-18T10:31:50.000Z
test/config_test.exs
elixir-twister/mailman
2649f8a0d8021664ac78989425492e5d7200af4e
[ "MIT" ]
null
null
null
test/config_test.exs
elixir-twister/mailman
2649f8a0d8021664ac78989425492e5d7200af4e
[ "MIT" ]
null
null
null
defmodule Mailman.ConfigTest do use ExUnit.Case, async: true test "defaults to test config" do context = %Mailman.Context{} config = Mailman.Context.get_config(context) assert config == %Mailman.TestConfig{} end test "returns SMTP config if relay is given" do Application.put_env(:mailman, :rel...
27.576923
67
0.714784
2df31039828752fcb97c07fc84633b582821ef67
890
exs
Elixir
apps/users/mix.exs
wajsel/shout_it_out_loud
f2b8a77a5cd2d158ed9ca65404ee2a18a7ab0cf3
[ "MIT" ]
null
null
null
apps/users/mix.exs
wajsel/shout_it_out_loud
f2b8a77a5cd2d158ed9ca65404ee2a18a7ab0cf3
[ "MIT" ]
null
null
null
apps/users/mix.exs
wajsel/shout_it_out_loud
f2b8a77a5cd2d158ed9ca65404ee2a18a7ab0cf3
[ "MIT" ]
null
null
null
defmodule Users.Mixfile do use Mix.Project def project do [app: :users, version: "0.0.1", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the O...
21.190476
77
0.58427
2df35d8b6fd560701ab3c35a095db605aff807a7
659
ex
Elixir
auto_counter/lib/auto_counter.ex
kuroda/gen_server_nyumon
4f4fa2cc1a82814f64a5dab6242cbca0c6d6735d
[ "MIT" ]
1
2019-01-19T05:35:24.000Z
2019-01-19T05:35:24.000Z
auto_counter/lib/auto_counter.ex
kuroda/gen_server_nyumon
4f4fa2cc1a82814f64a5dab6242cbca0c6d6735d
[ "MIT" ]
null
null
null
auto_counter/lib/auto_counter.ex
kuroda/gen_server_nyumon
4f4fa2cc1a82814f64a5dab6242cbca0c6d6735d
[ "MIT" ]
null
null
null
defmodule AutoCounter do use GenServer def start_link(_) do name = {:via, Registry, {TestApp.ProcessRegistry, "ac"}} GenServer.start_link(AutoCounter, [], name: name) end def get_pid() do [{pid, _}] = Registry.lookup(TestApp.ProcessRegistry, "ac") pid end def init(_) do Process.send_a...
20.59375
63
0.654021
2df3b2f0c1fd6f68322d55aed809d13b0eb78753
447
ex
Elixir
backend/lib/caffe/menu/use_cases/update_item.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
7
2020-03-27T08:26:52.000Z
2021-08-29T09:50:31.000Z
backend/lib/caffe/menu/use_cases/update_item.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
backend/lib/caffe/menu/use_cases/update_item.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
defmodule Caffe.Menu.UseCases.UpdateItem do use Caffe.Mediator.UseCase alias Caffe.Menu.Item defstruct [:user, :params] @impl true def execute(%UpdateItem{params: params}) do case Repo.fetch(Item, params[:id]) do {:ok, item} -> item |> Item.changeset(params) |> Repo.update(...
19.434783
62
0.612975
2df3bb35823c504a93777eca30fa41b78d0c8539
15,950
ex
Elixir
lib/xgit/repository/test/ref_test.ex
scouten/xgit
0e2f849c83cdf39a9249b319d63ff3682c482c2f
[ "Apache-2.0" ]
94
2019-05-28T05:29:54.000Z
2022-02-18T20:03:20.000Z
lib/xgit/repository/test/ref_test.ex
scouten/xgit
0e2f849c83cdf39a9249b319d63ff3682c482c2f
[ "Apache-2.0" ]
156
2019-05-26T03:27:24.000Z
2020-10-08T05:44:26.000Z
lib/xgit/repository/test/ref_test.ex
scouten/redo
0e2f849c83cdf39a9249b319d63ff3682c482c2f
[ "Apache-2.0" ]
5
2019-05-28T16:35:55.000Z
2021-06-16T14:25:17.000Z
defmodule Xgit.Repository.Test.RefTest do @moduledoc false # Not normally part of the public API, but available for implementors of # `Xgit.Repository.Storage` behaviour modules. Tests the callbacks related to # `Xgit.Ref` to ensure correct implementation of the core contracts. # Other tests may be necessary...
31.27451
96
0.555674
2df3c13ad5e0f2b6ed1453a52fc22b13e9420e36
35,420
ex
Elixir
lib/iex/lib/iex/helpers.ex
favetelinguis/elixir
e395b5d7491184acc9cfc9f14cd9673e423f5382
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/helpers.ex
favetelinguis/elixir
e395b5d7491184acc9cfc9f14cd9673e423f5382
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/helpers.ex
favetelinguis/elixir
e395b5d7491184acc9cfc9f14cd9673e423f5382
[ "Apache-2.0" ]
null
null
null
defmodule IEx.Helpers do @moduledoc """ Welcome to Interactive Elixir. You are currently seeing the documentation for the module `IEx.Helpers` which provides many helpers to make Elixir's shell more joyful to work with. This message was triggered by invoking the helper `h()`, usually referred to as `h/0`...
27.955801
98
0.645285
2df3dc46686516609725241a35da1f72801c521a
8,448
exs
Elixir
apps/site/test/site_web/trip_info_test.exs
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
apps/site/test/site_web/trip_info_test.exs
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
65
2021-05-06T18:38:33.000Z
2022-03-28T20:50:04.000Z
apps/site/test/site_web/trip_info_test.exs
paulswartz/dotcom
73e43e7c61afd96b1928608ce8316a7ed0eb1440
[ "MIT" ]
null
null
null
defmodule TripInfoTest do use ExUnit.Case, async: true import TripInfo alias Routes.Route alias Predictions.Prediction alias Schedules.{Schedule, Trip} alias Stops.Stop alias Vehicles.Vehicle @route %Route{id: "1", name: "1", type: 3} @trip %Trip{id: "trip_id"} @time_list [ %PredictedSchedule{...
31.879245
123
0.630445