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
5aed4e79d54ae4d1f55cb00b1122a88e0609a62d
1,226
ex
Elixir
clients/admin/lib/google_api/admin/reports_v1/connection.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/reports_v1/connection.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/reports_v1/connection.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.055556
74
0.733279
5aed531b0e14fe3d5b3dbed01012207b21177b9b
4,397
ex
Elixir
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/user_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/user_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/user_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
40.712963
145
0.647714
5aed5d17cec5c723dd23034d534bd87e08354a1c
13,969
exs
Elixir
lib/elixir/test/elixir/code_formatter/general_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/test/elixir/code_formatter/general_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/test/elixir/code_formatter/general_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule Code.Formatter.GeneralTest do use ExUnit.Case, async: true import CodeFormatterHelpers @short_length [line_length: 10] describe "aliases" do test "with atom-only parts" do assert_same "Elixir" assert_same "Elixir.Foo" assert_sa...
15.964571
86
0.422722
5aed7ee042199ee5d3ad440d031ed3d5a5355b75
258
ex
Elixir
dictionary/lib/dictionary/application.ex
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
dictionary/lib/dictionary/application.ex
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
dictionary/lib/dictionary/application.ex
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
defmodule Dictionary.Application do use Application def start(_type, _args) do children = [ {Dictionary.WordList, []}, ] opts = [strategy: :one_for_one, name: Dictionary.Supervisor] Supervisor.start_link(children, opts) end end
19.846154
64
0.686047
5aeda6fe9450fc4d0d17de9b1399dc48a94f5bc0
435
exs
Elixir
fridge/apps/server/test/server_web/views/error_view_test.exs
rob-brown/ElixirTraining2018
9724cc4961d767a1ba2450240e026b46ad5a0f1b
[ "MIT" ]
2
2018-02-01T22:56:09.000Z
2020-01-20T19:57:48.000Z
fridge/apps/server/test/server_web/views/error_view_test.exs
rob-brown/ElixirTraining2018
9724cc4961d767a1ba2450240e026b46ad5a0f1b
[ "MIT" ]
null
null
null
fridge/apps/server/test/server_web/views/error_view_test.exs
rob-brown/ElixirTraining2018
9724cc4961d767a1ba2450240e026b46ad5a0f1b
[ "MIT" ]
null
null
null
defmodule ServerWeb.ErrorViewTest do use ServerWeb.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(ServerWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" d...
25.588235
67
0.694253
5aeda756a1b1229270ad4fed5fd1490e5ced4390
6,418
ex
Elixir
lib/scalar.ex
bengtson/scalar
805429599dbb9b8367a02def6f496b5879090418
[ "Apache-2.0" ]
null
null
null
lib/scalar.ex
bengtson/scalar
805429599dbb9b8367a02def6f496b5879090418
[ "Apache-2.0" ]
null
null
null
lib/scalar.ex
bengtson/scalar
805429599dbb9b8367a02def6f496b5879090418
[ "Apache-2.0" ]
null
null
null
defmodule Scalar do @moduledoc """ This is a scaler that can be used to determine the scaling for charts and graphs. When provided with a dataset and defined objectives, it will generate the necessary information for creating axis. """ defstruct [ factors: [20, 10, 5, 4, 2, 1], data: nil, data_...
32.744898
160
0.697102
5aedfd274cab6af95570122a88d7e9c88703cb22
135
ex
Elixir
plugins/ucc_admin/lib/ucc_admin_web/views/flex_bar_view.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_admin/lib/ucc_admin_web/views/flex_bar_view.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_admin/lib/ucc_admin_web/views/flex_bar_view.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UccAdminWeb.FlexBarView do use UccAdminWeb, :view # import UccAdminWeb.AdminView, except: [template_not_found: 2] end
16.875
65
0.777778
5aee08be88bc07558ecdd8e9ac9cdde65d5562f3
504
exs
Elixir
test/nerves_usb_automount/device_test.exs
konstantinzolotarev/nerves_usb_automount
f39a39edf96e19dcb92bd1d2af86bdc83bff6a09
[ "Apache-2.0" ]
null
null
null
test/nerves_usb_automount/device_test.exs
konstantinzolotarev/nerves_usb_automount
f39a39edf96e19dcb92bd1d2af86bdc83bff6a09
[ "Apache-2.0" ]
null
null
null
test/nerves_usb_automount/device_test.exs
konstantinzolotarev/nerves_usb_automount
f39a39edf96e19dcb92bd1d2af86bdc83bff6a09
[ "Apache-2.0" ]
null
null
null
defmodule Nerves.UsbAutomount.DeviceTest do use ExUnit.Case alias Nerves.UsbAutomount.Device describe "blkid_parse() :: " do test "parsing success" do {:ok, %Nerves.UsbAutomount.Types.Device{} = device} = "/dev/sdb1: LABEL=\"UNTITLED\" UUID=\"08FB-E2C7\" TYPE=\"vfat\"" |> Device.blkid_...
26.526316
72
0.632937
5aee0fc643471ac0c595abe4043d3d35b6711638
2,304
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/projects_get_xpn_resources.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/projects_get_xpn_resources.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/projects_get_xpn_resources.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...
43.471698
393
0.741753
5aee14cc1eaa592bb9b1f736c8d6065b6029759d
3,297
exs
Elixir
test/rendering/elixir_test.exs
thepeoplesbourgeois/slime
55c4d738632ed6540a0a03e0a4022b02e398c2d9
[ "MIT" ]
312
2015-12-28T05:25:47.000Z
2022-02-16T05:18:16.000Z
test/rendering/elixir_test.exs
thepeoplesbourgeois/slime
55c4d738632ed6540a0a03e0a4022b02e398c2d9
[ "MIT" ]
105
2015-12-27T21:20:58.000Z
2022-02-24T05:23:38.000Z
test/rendering/elixir_test.exs
thepeoplesbourgeois/slime
55c4d738632ed6540a0a03e0a4022b02e398c2d9
[ "MIT" ]
45
2016-01-12T04:02:01.000Z
2021-09-14T16:19:18.000Z
defmodule RenderElixirTest do use ExUnit.Case, async: true import ExUnit.CaptureIO, only: [capture_io: 1] import Slime, only: [render: 1, render: 2] test "parse empty elixir code" do assert render("-\n") == "" end test "- evalutes Elixir but does not insert the result" do slime = """ - IO.put...
21.270968
78
0.535942
5aee4b61ffcdeabd2acdb959ef12b03c2d67a0db
2,064
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/submit_job_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/submit_job_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/submit_job_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
40.470588
519
0.743217
5aee69380b0cc982e7c9f0332649caf12416bfad
3,822
exs
Elixir
apps/artemis/test/artemis/contexts/user_team/update_user_team_test.exs
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/test/artemis/contexts/user_team/update_user_team_test.exs
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/test/artemis/contexts/user_team/update_user_team_test.exs
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.UpdateUserTeamTest do use Artemis.DataCase import Artemis.Factories alias Artemis.UpdateUserTeam @preload [:created_by, :team, :user] describe "call!" do test "raises an exception when id not found" do invalid_id = 50_000_000 params = params_for(:user_team) assert_...
29.4
85
0.66719
5aee82317278a7dac260596bbec5d2e642565fa9
650
exs
Elixir
priv/repo/seeds.exs
Domeee/ar-weekly
1ffa4f129fa4a654673c8ee8b0bef7dd87271f92
[ "MIT" ]
3
2019-03-05T16:45:08.000Z
2019-08-23T12:10:57.000Z
priv/repo/seeds.exs
Domeee/ar-weekly
1ffa4f129fa4a654673c8ee8b0bef7dd87271f92
[ "MIT" ]
2
2021-03-08T23:53:02.000Z
2021-05-08T00:07:08.000Z
priv/repo/seeds.exs
Domeee/ar-weekly
1ffa4f129fa4a654673c8ee8b0bef7dd87271f92
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # ArWeekly.Repo.insert!(%ArWeekly.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they wi...
23.214286
61
0.724615
5aee8b27e9b3892418639c0072002927d89352cc
15,738
ex
Elixir
lib/elixir/lib/task.ex
DavidAlphaFox/elixir
de414fe998efcb07e05210a2c07b2496319716fd
[ "Apache-2.0" ]
1
2019-06-11T20:22:20.000Z
2019-06-11T20:22:20.000Z
lib/elixir/lib/task.ex
DavidAlphaFox/elixir
de414fe998efcb07e05210a2c07b2496319716fd
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/task.ex
DavidAlphaFox/elixir
de414fe998efcb07e05210a2c07b2496319716fd
[ "Apache-2.0" ]
null
null
null
defmodule Task do @moduledoc """ Conveniences for spawning and awaiting for tasks. Tasks are processes meant to execute one particular action throughout their life-cycle, often with little or no communication with other processes. The most common use case for tasks is to compute a value asynchronously: ...
32.651452
89
0.667683
5aee98a2393e8234b0b03e7e1f87d63703cfc7d6
1,139
ex
Elixir
test/support/channel_case.ex
gissandrogama/contracts_api
13bcd292637d0e2bc4d2a6c05f5b3266e8bf28e1
[ "MIT" ]
null
null
null
test/support/channel_case.ex
gissandrogama/contracts_api
13bcd292637d0e2bc4d2a6c05f5b3266e8bf28e1
[ "MIT" ]
2
2021-03-16T06:43:04.000Z
2021-03-16T06:54:55.000Z
test/support/channel_case.ex
gissandrogama/contracts_api
13bcd292637d0e2bc4d2a6c05f5b3266e8bf28e1
[ "MIT" ]
null
null
null
defmodule ContractsApiWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case intera...
27.119048
69
0.733099
5aeea1aed1314f9189d64b0245c09e5dc416a044
1,812
exs
Elixir
test/ecto/log_entry_test.exs
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
test/ecto/log_entry_test.exs
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
test/ecto/log_entry_test.exs
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.LogEntryTest do use ExUnit.Case, async: true alias Ecto.LogEntry import Ecto.LogEntry test "can be resolved" do entry = %LogEntry{query: fn %LogEntry{} -> "done" end} # Resolve once entry = resolve(entry) assert entry.query == "done" # It can also be resolved multiple tim...
32.357143
101
0.608168
5aeeacb9b8b2453bc9ba61588df87bc1be59e4a9
137
exs
Elixir
test/fixtures/default.exs
michaelst/excoveralls
cf806aa18c116ef344a6a39bcec8a8f5e111644a
[ "MIT" ]
null
null
null
test/fixtures/default.exs
michaelst/excoveralls
cf806aa18c116ef344a6a39bcec8a8f5e111644a
[ "MIT" ]
null
null
null
test/fixtures/default.exs
michaelst/excoveralls
cf806aa18c116ef344a6a39bcec8a8f5e111644a
[ "MIT" ]
null
null
null
%{ default_stop_words: [ "a", "b" ], custom_stop_words: [ "d", "e" ], coverage_options: %{ f: true } }
8.5625
23
0.437956
5aeecb26f50fc0881664856a9ed8d1b1cc1e3d88
1,460
exs
Elixir
apps/ae_socket_connector/test/client_runner_helper_test.exs
davidyuk/ae-channel-service
bfde1d3e6ca4fc6bcc4a387381d4838cd3f1ec42
[ "0BSD" ]
9
2019-04-24T17:21:18.000Z
2021-07-19T16:41:33.000Z
apps/ae_socket_connector/test/client_runner_helper_test.exs
davidyuk/ae-channel-service
bfde1d3e6ca4fc6bcc4a387381d4838cd3f1ec42
[ "0BSD" ]
68
2019-08-06T09:25:13.000Z
2021-03-10T11:04:41.000Z
apps/ae_socket_connector/test/client_runner_helper_test.exs
isabella232/ae-channel-service
bfde1d3e6ca4fc6bcc4a387381d4838cd3f1ec42
[ "ISC" ]
6
2019-10-23T18:23:48.000Z
2022-03-06T07:02:45.000Z
defmodule ClientRunnerHelper do use ExUnit.Case require Logger def sequence_finish_job(runner_pid, name) do {:local, fn _client_runner, _pid_session_holder -> spawn(fn -> # let messages such as disconnect propagate before ending allowing test executor to kill env. Process.sleep(...
26.545455
102
0.628767
5aef00a7aa5ecfd7707f5c2558763b7091b83eac
625
ex
Elixir
lib/code_corps/analytics/in_memory_api.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
lib/code_corps/analytics/in_memory_api.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
lib/code_corps/analytics/in_memory_api.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
defmodule CodeCorps.Analytics.InMemoryAPI do @moduledoc """ In-memory interface to simulate calling out to the Segment API. Each function should have the same signature as `CodeCorps.Analytics.SegmentAPI` and simply return `nil`. """ require Logger def identify(user_id, _traits), do: log_identify(user_id...
28.409091
107
0.7472
5aef08d047e261700b757b09fa7558f3b6980671
2,890
ex
Elixir
apps/toniefy/lib/toniex/job_status.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
17
2021-04-12T10:01:14.000Z
2022-02-25T17:30:27.000Z
apps/toniefy/lib/toniex/job_status.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
1
2022-03-09T09:35:00.000Z
2022-03-09T11:46:14.000Z
apps/toniefy/lib/toniex/job_status.ex
benvp/toniefy
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
null
null
null
defmodule Toniex.JobStatus do @moduledoc """ Stores state of recent jobs for tracking the job state at any time. One example usage would be to broadcast the state of the current running spotify recording session to the user. """ import Ecto.Query, warn: false use GenServer require Logger alias Ton...
26.513761
88
0.663668
5aef1970a354d7abafaf66dcd7381c92045046bb
75
ex
Elixir
lib/creek_dict_admin_web/views/page_view.ex
nativesintech/creek-dictionary-admin
14bfd6c364010a1c905f97cd9388bad0a40589bc
[ "MIT" ]
null
null
null
lib/creek_dict_admin_web/views/page_view.ex
nativesintech/creek-dictionary-admin
14bfd6c364010a1c905f97cd9388bad0a40589bc
[ "MIT" ]
7
2019-09-20T02:00:23.000Z
2019-10-07T04:22:51.000Z
lib/creek_dict_admin_web/views/page_view.ex
nativesintech/creek-dictionary-admin
14bfd6c364010a1c905f97cd9388bad0a40589bc
[ "MIT" ]
null
null
null
defmodule CreekDictAdminWeb.PageView do use CreekDictAdminWeb, :view end
18.75
39
0.84
5aef1b59a55aef8c70a76005a7159308540eff11
61
ex
Elixir
apps/tracing_1/lib/rest_api_web/views/page_view.ex
WhiteRookPL/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
14
2017-08-09T14:21:47.000Z
2022-03-11T04:10:49.000Z
apps/tracing_1/lib/rest_api_web/views/page_view.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
null
null
null
apps/tracing_1/lib/rest_api_web/views/page_view.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
15
2017-09-05T15:43:53.000Z
2020-04-13T16:20:18.000Z
defmodule RestApiWeb.PageView do use RestApiWeb, :view end
15.25
32
0.803279
5aef2f99e80efcd73834794e1624798df13754ff
194
exs
Elixir
test/test_helper.exs
the5fire/ex_admin_demo
655540499a68670c7349974b47c5e0bfee29aa99
[ "MIT" ]
22
2016-03-31T02:58:09.000Z
2020-06-16T02:37:16.000Z
test/test_helper.exs
the5fire/ex_admin_demo
655540499a68670c7349974b47c5e0bfee29aa99
[ "MIT" ]
7
2016-03-27T14:22:59.000Z
2021-04-27T14:33:51.000Z
test/test_helper.exs
the5fire/ex_admin_demo
655540499a68670c7349974b47c5e0bfee29aa99
[ "MIT" ]
13
2016-04-21T06:05:32.000Z
2018-08-23T06:38:54.000Z
ExUnit.start Mix.Task.run "ecto.create", ~w(-r ExAdminDemo.Repo --quiet) Mix.Task.run "ecto.migrate", ~w(-r ExAdminDemo.Repo --quiet) Ecto.Adapters.SQL.Sandbox.mode(ExAdminDemo.Repo, :manual)
27.714286
60
0.737113
5aef307b1c5319429df44af21fe6b2823f6a62dc
1,750
ex
Elixir
clients/fitness/lib/google_api/fitness/v1/model/bucket_by_time.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/fitness/lib/google_api/fitness/v1/model/bucket_by_time.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/fitness/lib/google_api/fitness/v1/model/bucket_by_time.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.653846
139
0.732
5aef711466c7fcac6929bf252c15b09ec63f996a
5,419
exs
Elixir
test/hex/api_test.exs
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
824
2015-01-05T09:12:36.000Z
2022-03-28T12:02:29.000Z
test/hex/api_test.exs
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
737
2015-01-01T05:48:46.000Z
2022-03-29T12:56:12.000Z
test/hex/api_test.exs
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
220
2015-03-14T17:55:11.000Z
2022-03-23T22:17:07.000Z
defmodule Hex.APITest do use HexTest.IntegrationCase test "user" do assert {:ok, {201, _, _}} = Hex.API.User.new("test_user", "test_user@mail.com", "hunter42") assert {:ok, {200, %{"username" => "test_user"}, _}} = Hex.API.User.get("test_user") assert {:ok, {404, _, _}} = Hex.API.User.get("unknown_user...
37.372414
98
0.555084
5aef877d97bb9279455b9d16be6c305c8c938f9d
808
exs
Elixir
elixir_spec/test/elixir_spec_web/channels/echo_channel_test.exs
bit4bit/phoenixchannels.cr
ef0956ba233b3a2e6ea0c4ba0f1806dc77959df3
[ "MIT" ]
null
null
null
elixir_spec/test/elixir_spec_web/channels/echo_channel_test.exs
bit4bit/phoenixchannels.cr
ef0956ba233b3a2e6ea0c4ba0f1806dc77959df3
[ "MIT" ]
null
null
null
elixir_spec/test/elixir_spec_web/channels/echo_channel_test.exs
bit4bit/phoenixchannels.cr
ef0956ba233b3a2e6ea0c4ba0f1806dc77959df3
[ "MIT" ]
null
null
null
defmodule ElixirSpecWeb.EchoChannelTest do use ElixirSpecWeb.ChannelCase setup do {:ok, _, socket} = ElixirSpecWeb.UserSocket |> socket("user_id", %{some: :assign}) |> subscribe_and_join(ElixirSpecWeb.EchoChannel, "echo:lobby") %{socket: socket} end test "ping replies with status ok...
28.857143
68
0.631188
5aef8a9d879962e754b377d446c04d35b38fdbe4
199
exs
Elixir
priv/repo/migrations/20190607135753_add_display_to_users.exs
BaltimoreCity/IdeaPortal
dc1c775dfaec2aac974b821cd3700d76770c1e76
[ "MIT" ]
5
2019-08-29T20:22:25.000Z
2020-04-01T17:40:48.000Z
priv/repo/migrations/20190607135753_add_display_to_users.exs
BaltimoreCity/IdeaPortal
dc1c775dfaec2aac974b821cd3700d76770c1e76
[ "MIT" ]
34
2019-03-06T17:53:29.000Z
2021-09-01T01:25:23.000Z
priv/repo/migrations/20190607135753_add_display_to_users.exs
BaltimoreCity/IdeaPortal
dc1c775dfaec2aac974b821cd3700d76770c1e76
[ "MIT" ]
2
2020-01-10T22:12:36.000Z
2021-01-22T04:37:45.000Z
defmodule IdeaPortal.Repo.Migrations.AddDisplayToUsers do use Ecto.Migration def change do alter table(:users) do add(:display, :boolean, default: true, null: false) end end end
19.9
57
0.713568
5aefc4bcb73dcd687096231dfee8a22d94a81a04
16,398
exs
Elixir
test/mix/tasks/phx.gen.live_test.exs
sulphur/phoenix
07c3780401fc9563b9b13e2bf226bd996e6a92e4
[ "MIT" ]
null
null
null
test/mix/tasks/phx.gen.live_test.exs
sulphur/phoenix
07c3780401fc9563b9b13e2bf226bd996e6a92e4
[ "MIT" ]
null
null
null
test/mix/tasks/phx.gen.live_test.exs
sulphur/phoenix
07c3780401fc9563b9b13e2bf226bd996e6a92e4
[ "MIT" ]
null
null
null
Code.require_file "../../../installer/test/mix_helper.exs", __DIR__ defmodule Mix.Tasks.Phx.Gen.LiveTest do use ExUnit.Case import MixHelper alias Mix.Tasks.Phx.Gen setup do Mix.Task.clear() :ok end defp in_tmp_live_project(test, func) do in_tmp_project(test, fn -> File.mkdir_p!("lib") ...
38.85782
106
0.652214
5aefd4494ea5d31c9ebc9607ec819d1d4faff78a
313
ex
Elixir
lib/canvas_api/unfurl/label.ex
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
123
2017-04-04T18:15:48.000Z
2021-04-26T08:04:22.000Z
lib/canvas_api/unfurl/label.ex
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
null
null
null
lib/canvas_api/unfurl/label.ex
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
17
2017-04-04T18:58:29.000Z
2021-05-10T21:39:16.000Z
defmodule CanvasAPI.Unfurl.Label do @moduledoc """ A label applied to an unfurl. """ defstruct icon: nil, value: nil, color: nil, background_color: nil @type t :: %__MODULE__{ background_color: String.t | nil, color: String.t | nil, icon: String.t | nil, value: String.t | nil } end
20.866667
68
0.645367
5aefdbdcc72d62d6248fa6a7f35d216d54af5a8b
1,935
exs
Elixir
apps/ehealth_scheduler/config/config.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/ehealth_scheduler/config/config.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/ehealth_scheduler/config/config.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
use Mix.Config config :swarm, node_blacklist: [~r/^.+$/] config :ehealth_scheduler, EHealthScheduler.Worker, contract_requests_terminator_schedule: {:system, :string, "CONTRACT_REQUESTS_AUTO_TERMINATOR_SCHEDULE", "0 0,12 * * *"}, medication_request_request_autotermination_schedule: {:system, :string, "MED...
58.636364
116
0.775711
5aefe24fb3419af1ca5300f599964a3e5339c711
3,417
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/backend_bucket.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_bucket.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_bucket.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...
46.808219
490
0.698566
5aefeedc373b4cc34c3d4e6250961f5611ac9c2c
2,764
ex
Elixir
lib/new_relic/error/reporter.ex
cultureamp/elixir_agent
6a6b883a9032cd60e1872925dae705e99487de69
[ "Apache-2.0" ]
null
null
null
lib/new_relic/error/reporter.ex
cultureamp/elixir_agent
6a6b883a9032cd60e1872925dae705e99487de69
[ "Apache-2.0" ]
1
2019-02-08T01:08:31.000Z
2019-02-20T00:24:51.000Z
lib/new_relic/error/reporter.ex
cultureamp/elixir_agent
6a6b883a9032cd60e1872925dae705e99487de69
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Error.Reporter do alias NewRelic.Util alias NewRelic.Harvest.Collector def report_transaction_error(report) do {kind, exception, stacktrace} = parse_error_info(report[:error_info]) process_name = parse_process_name(report[:registered_name], stacktrace) NewRelic.Transaction.Reporte...
36.368421
101
0.724313
5aeff5e3a6b06784361fd44601c3aea35819b3c7
582
exs
Elixir
test/plausible_web/controllers/api/stats_controller/browsers_test.exs
lizlam/plausible
886ba62cd814e5ca2d05c51a375bccc753c7c6ff
[ "MIT" ]
null
null
null
test/plausible_web/controllers/api/stats_controller/browsers_test.exs
lizlam/plausible
886ba62cd814e5ca2d05c51a375bccc753c7c6ff
[ "MIT" ]
null
null
null
test/plausible_web/controllers/api/stats_controller/browsers_test.exs
lizlam/plausible
886ba62cd814e5ca2d05c51a375bccc753c7c6ff
[ "MIT" ]
null
null
null
defmodule PlausibleWeb.Api.StatsController.BrowsersTest do use PlausibleWeb.ConnCase import Plausible.TestUtils describe "GET /api/stats/:domain/browsers" do setup [:create_user, :log_in, :create_site] test "returns top browsers by new visitors", %{conn: conn, site: site} do conn = get(conn, "/api...
32.333333
87
0.637457
5aeff8bd770575b733369d636eb539ccbfedda20
4,486
exs
Elixir
test/basic/members_test.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
7
2021-07-14T15:45:55.000Z
2022-01-25T11:13:01.000Z
test/basic/members_test.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
10
2021-08-09T15:54:05.000Z
2022-02-17T04:18:38.000Z
test/basic/members_test.exs
ysaito8015/communitex
d469447a62029d59883d95df4df3c9b09e0022e2
[ "Apache-2.0" ]
5
2021-07-23T05:54:35.000Z
2022-01-28T04:14:51.000Z
defmodule Basic.MembersTest do use Basic.DataCase alias Basic.Members describe "members" do alias Basic.Members.Member @valid_attrs %{birthday: ~N[2010-04-17 14:00:00], organization_id: 42, organization_name: "some organization_name", deleted_at: ~N[2010-04-17 14:00:00], department: "some department", ...
49.296703
519
0.701962
5aefff8e386f4277669872dd1d5c90f5b1cb922c
3,698
ex
Elixir
lib/redis_mutex/lock.ex
antogon/redis_mutex
80a9c1d7f74d218a657704fc8e7fb25c3fd4cfcc
[ "MIT" ]
8
2017-03-31T18:14:29.000Z
2020-07-02T02:00:28.000Z
lib/redis_mutex/lock.ex
antogon/redis_mutex
80a9c1d7f74d218a657704fc8e7fb25c3fd4cfcc
[ "MIT" ]
2
2018-05-29T10:50:16.000Z
2019-06-27T15:30:35.000Z
lib/redis_mutex/lock.ex
antogon/redis_mutex
80a9c1d7f74d218a657704fc8e7fb25c3fd4cfcc
[ "MIT" ]
4
2019-02-03T03:32:53.000Z
2020-06-28T04:07:11.000Z
defmodule RedisMutex.Lock do import Exredis.Script @moduledoc """ This module contains the actual Redis locking business logic. The `with_lock` macro is generally the only function that should be used from this module, as it will handle the logic for setting and removing key/values in Redis. """ defredi...
29.822581
84
0.673067
5af00195b69593804985af14d8efe79c47e78f95
10,033
ex
Elixir
lib/ash/actions/read.ex
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
null
null
null
lib/ash/actions/read.ex
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
null
null
null
lib/ash/actions/read.ex
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
null
null
null
defmodule Ash.Actions.Read do @moduledoc false alias Ash.Actions.SideLoad alias Ash.Engine alias Ash.Engine.Request alias Ash.Filter alias Ash.Query.Aggregate require Logger def run(query, action, opts \\ []) do if Ash.Resource.data_layer_can?(query.resource, :read) do engine_opts = Keyword.t...
31.850794
98
0.573308
5af00bc7a94cea7a305c78bb9e5b0d2f57e591b3
958
ex
Elixir
web/views/report_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
web/views/report_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
web/views/report_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
null
null
null
defmodule Apiv4.ReportView do use Apiv4.Web, :view @relationships ~w( )a use Autox.ResourceView def infer_status_message(appointments) do "not implemented" end def material_description(appointments) do "not implemented" end def appointment_type(appointments) do "not implemented" end d...
18.784314
43
0.697286
5af00d34b49cb265a067add4f6713ff8a65c833e
861
ex
Elixir
test/fixtures/v2/entity.ex
noizu/elixir_scaffolding
607e1b0fd6eeb244c86876e55a0b03c29dd08395
[ "MIT" ]
null
null
null
test/fixtures/v2/entity.ex
noizu/elixir_scaffolding
607e1b0fd6eeb244c86876e55a0b03c29dd08395
[ "MIT" ]
null
null
null
test/fixtures/v2/entity.ex
noizu/elixir_scaffolding
607e1b0fd6eeb244c86876e55a0b03c29dd08395
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2018 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.Scaffolding.Test.Fixture.FooV2Entity do @vsn (1.0) #--...
26.090909
80
0.401858
5af010f862daa12224ad95bec5ea6de577dc2cb8
1,169
exs
Elixir
config/config.exs
danjac/podcatcher
748cf7419aebfff9216e7ff9353a5bdb46d3d7b1
[ "MIT" ]
null
null
null
config/config.exs
danjac/podcatcher
748cf7419aebfff9216e7ff9353a5bdb46d3d7b1
[ "MIT" ]
null
null
null
config/config.exs
danjac/podcatcher
748cf7419aebfff9216e7ff9353a5bdb46d3d7b1
[ "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 # General application configuration config :podcatcher, ecto_repos: [Podcatcher.Rep...
28.512195
86
0.735672
5af05de613fb9d3c9fd3f57e272f6d2cdfd00b32
1,360
ex
Elixir
lib/demo_web/live/example_live/example_live.ex
pthompson/live_component_examples
e2e1be52a7ff1065fd5ef749c375d729d5d08c21
[ "MIT" ]
21
2019-12-15T19:14:56.000Z
2022-02-07T16:04:30.000Z
lib/demo_web/live/example_live/example_live.ex
pthompson/live_component_examples
e2e1be52a7ff1065fd5ef749c375d729d5d08c21
[ "MIT" ]
4
2020-02-06T01:05:28.000Z
2020-09-07T19:08:45.000Z
lib/demo_web/live/example_live/example_live.ex
pthompson/live_component_examples
e2e1be52a7ff1065fd5ef749c375d729d5d08c21
[ "MIT" ]
6
2019-12-15T19:15:02.000Z
2021-09-16T20:35:53.000Z
defmodule DemoWeb.LiveComponentExamples do use DemoWeb, :live_view def render(assigns) do ~L""" <section class="row"> <article class="column"> <h4>Simple LiveComponent Examples</h4> <ul> <li><%= live_patch("Static Title Example", to: Routes.live_path(@socket, DemoWeb.StaticT...
43.870968
150
0.667647
5af06c55992f3510ffd34a9b402b63019ff4f201
4,704
ex
Elixir
clients/gax/lib/google_api/gax/connection.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/gax/lib/google_api/gax/connection.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/gax/lib/google_api/gax/connection.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2018 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 ...
26.576271
88
0.638605
5af0b07756acaa90aeb134697bb7d1a30e382e86
2,325
exs
Elixir
config/prod.exs
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
30
2017-05-05T09:30:06.000Z
2021-03-29T15:08:02.000Z
config/prod.exs
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
4
2017-05-01T18:53:57.000Z
2020-11-22T06:46:55.000Z
config/prod.exs
kimlindholm/phoenix_component_folders
2d07f4966fe473063183e97009955b82a93b181f
[ "MIT" ]
7
2017-11-09T06:34:07.000Z
2021-03-01T20:14:18.000Z
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # PhoenixComponentFoldersWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be do...
35.769231
90
0.739785
5af1162a6787a4d47ed2336284cc47fd0436fc94
785
exs
Elixir
test/cog/chat/hipchat/templates/embedded/relay_update_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/cog/chat/hipchat/templates/embedded/relay_update_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/cog/chat/hipchat/templates/embedded/relay_update_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Chat.HipChat.Templates.Embedded.RelayUpdateTest do use Cog.TemplateCase test "relay-update with one input" do data = %{"results" => [%{"name" => "relay_one"}]} expected = "Updated relay 'relay_one'" assert_rendered_template(:hipchat, :embedded, "relay-update", data, expected) end tes...
30.192308
81
0.606369
5af125a89b00a23872037c90205e082b25a3ecdb
3,265
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_tcp_proxy.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_tcp_proxy.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_tcp_proxy.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...
46.642857
488
0.715467
5af13c0a79770607edd42ba079c90b8f55afca84
880
ex
Elixir
clients/storage/lib/google_api/storage/v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 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...
32.592593
74
0.757955
5af16574713314ff55a8c7c7657ff633c51cc014
2,389
ex
Elixir
lib/basic_crud_web.ex
Thibault-Santonja/Phoenix_tests
429100499849837d1449495db354fc1006ceb86c
[ "MIT" ]
null
null
null
lib/basic_crud_web.ex
Thibault-Santonja/Phoenix_tests
429100499849837d1449495db354fc1006ceb86c
[ "MIT" ]
null
null
null
lib/basic_crud_web.ex
Thibault-Santonja/Phoenix_tests
429100499849837d1449495db354fc1006ceb86c
[ "MIT" ]
null
null
null
defmodule BasicCrudWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use BasicCrudWeb, :controller use BasicCrudWeb, :view The definitions below will be executed for every view, contro...
22.971154
81
0.684387
5af17df0ee436f62ad517eff3d8f7664ac16987e
1,532
ex
Elixir
test/support/data_case.ex
karembadawy/egcovac
a1ddb339656d41b29ea098cd8be6c4934dec6eee
[ "MIT" ]
null
null
null
test/support/data_case.ex
karembadawy/egcovac
a1ddb339656d41b29ea098cd8be6c4934dec6eee
[ "MIT" ]
null
null
null
test/support/data_case.ex
karembadawy/egcovac
a1ddb339656d41b29ea098cd8be6c4934dec6eee
[ "MIT" ]
null
null
null
defmodule Egcovac.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to t...
27.357143
77
0.688642
5af1b0553624a06b5bb1a8c41a75ce0dc56a2066
871
ex
Elixir
lib/resilient_task.ex
elielhaouzi/resilient_task
b5107279a5d10d134d4f43528792f4c9b3152f38
[ "MIT" ]
null
null
null
lib/resilient_task.ex
elielhaouzi/resilient_task
b5107279a5d10d134d4f43528792f4c9b3152f38
[ "MIT" ]
null
null
null
lib/resilient_task.ex
elielhaouzi/resilient_task
b5107279a5d10d134d4f43528792f4c9b3152f38
[ "MIT" ]
null
null
null
defmodule ResilientTask do @moduledoc """ Documentation for `ResilientTask`. """ use DynamicSupervisor def start_link(init_arg) do DynamicSupervisor.start_link(__MODULE__, init_arg, name: __MODULE__) end def init(_init_arg) do DynamicSupervisor.init(strategy: :one_for_one) end def start(fun...
23.540541
72
0.685419
5af1b60a49f76e979a3566928af837e36f47097c
2,134
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/query_schedule.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/query_schedule.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/query_schedule.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.107143
214
0.723055
5af1dfdefbd00c07c61f057d4cb4e9badd865964
202
ex
Elixir
lib/conductor/schema.ex
meltingice/conductor
630440adc1081a0991d3dba17ced775a9dd05055
[ "MIT" ]
null
null
null
lib/conductor/schema.ex
meltingice/conductor
630440adc1081a0991d3dba17ced775a9dd05055
[ "MIT" ]
2
2021-03-10T20:23:26.000Z
2021-05-11T15:56:49.000Z
lib/conductor/schema.ex
meltingice/conductor
630440adc1081a0991d3dba17ced775a9dd05055
[ "MIT" ]
1
2020-06-05T02:34:58.000Z
2020-06-05T02:34:58.000Z
defmodule Conductor.Schema do defmacro __using__(_) do quote do use Ecto.Schema @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id end end end
20.2
56
0.683168
5af1e11734b5f57ed2cf0965b58afa28c6c83699
12,800
ex
Elixir
lib/ecto/adapters/sql.ex
thiagoarrais/ecto
93d7595beb7f407775c4918d19cad370b0bcd498
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql.ex
thiagoarrais/ecto
93d7595beb7f407775c4918d19cad370b0bcd498
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/sql.ex
thiagoarrais/ecto
93d7595beb7f407775c4918d19cad370b0bcd498
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.SQL do @moduledoc """ Behaviour and implementation for SQL adapters. The implementation for SQL adapter provides a pooled based implementation of SQL and also expose a query function to developers. Developers that use `Ecto.Adapters.SQL` should implement the connection module wit...
26.229508
88
0.619531
5af1e18465066809097d29ae19522e7ee644c69a
1,504
ex
Elixir
lib/mix_deploy_example_web/views/error_helpers.ex
yuchunc/mix-deploy-example
19072e7f4aca62d782d2dba82e11cdc1ef7d8fd4
[ "Apache-2.0" ]
39
2019-07-10T08:34:13.000Z
2021-07-06T23:54:56.000Z
lib/mix_deploy_example_web/views/error_helpers.ex
yuchunc/mix-deploy-example
19072e7f4aca62d782d2dba82e11cdc1ef7d8fd4
[ "Apache-2.0" ]
11
2019-07-22T02:35:28.000Z
2021-05-08T15:27:50.000Z
lib/mix_deploy_example_web/views/error_helpers.ex
yuchunc/mix-deploy-example
19072e7f4aca62d782d2dba82e11cdc1ef7d8fd4
[ "Apache-2.0" ]
8
2019-11-20T08:04:04.000Z
2020-11-18T09:48:35.000Z
defmodule MixDeployExampleWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> con...
33.422222
85
0.676197
5af2061d018894236741b8739a8bac768cebd8ba
1,669
ex
Elixir
examples/phoenix_shell/web/web.ex
acj/parley
56b5c7b34f39c74af6ccd4a85a23ceccfc117bdf
[ "MIT" ]
1
2021-07-02T22:50:40.000Z
2021-07-02T22:50:40.000Z
examples/phoenix_shell/web/web.ex
acj/parley
56b5c7b34f39c74af6ccd4a85a23ceccfc117bdf
[ "MIT" ]
null
null
null
examples/phoenix_shell/web/web.ex
acj/parley
56b5c7b34f39c74af6ccd4a85a23ceccfc117bdf
[ "MIT" ]
null
null
null
defmodule PhoenixShell.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use PhoenixShell.Web, :controller use PhoenixShell.Web, :view The definitions below will be executed for every view, controller, etc, s...
20.353659
88
0.677052
5af20a315351b78153ba417f613044545413f416
733
ex
Elixir
packet_analyzer/lib/packet_analyzer_web/gettext.ex
niya1123/PacketAnalyzer
65236372812ef9f593df460d054ee7ee487d1a74
[ "MIT" ]
null
null
null
packet_analyzer/lib/packet_analyzer_web/gettext.ex
niya1123/PacketAnalyzer
65236372812ef9f593df460d054ee7ee487d1a74
[ "MIT" ]
2
2021-03-10T02:15:32.000Z
2021-05-10T21:48:57.000Z
packet_analyzer/lib/packet_analyzer_web/gettext.ex
niya1123/PacketAnalyzer
65236372812ef9f593df460d054ee7ee487d1a74
[ "MIT" ]
null
null
null
defmodule PacketAnalyzerWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import PacketAnalyzerWeb.Gettext # Simple translation gett...
29.32
72
0.687585
5af2157c50cda45ea5ca6c782def0738f9c89c63
1,880
ex
Elixir
lib/myxql/query.ex
chulkilee/myxql
dc6ad092ff8dc6849ee7e2546083df33dfd07758
[ "Apache-2.0" ]
230
2018-08-27T11:07:46.000Z
2022-02-19T17:39:16.000Z
lib/myxql/query.ex
chulkilee/myxql
dc6ad092ff8dc6849ee7e2546083df33dfd07758
[ "Apache-2.0" ]
138
2018-10-08T00:38:33.000Z
2022-03-15T09:02:25.000Z
lib/myxql/query.ex
jackjoe/myxql
4e7f7dc01c51153b19b1aee4247fa1d57660959d
[ "Apache-2.0" ]
54
2018-09-10T21:27:18.000Z
2022-03-15T13:46:36.000Z
defmodule MyXQL.Query do @moduledoc """ Query struct returned from a successfully prepared query. Its public fields are: * `:name` - The name of the prepared statement; * `:num_params` - The number of parameter placeholders; * `:statement` - The prepared statement ## Named and Unnamed Queries ...
25.066667
90
0.626064
5af2247451109595b7511bd20bdd4876c16b7b25
4,083
exs
Elixir
test/do_block/interceptor_wildcarded_mfa_test.exs
filipecabaco/interceptor
e108946d3909d9ceffb2ab9406c5534fa6dcad28
[ "MIT" ]
40
2018-09-30T13:39:20.000Z
2022-01-07T12:47:45.000Z
test/do_block/interceptor_wildcarded_mfa_test.exs
filipecabaco/interceptor
e108946d3909d9ceffb2ab9406c5534fa6dcad28
[ "MIT" ]
6
2019-02-17T22:21:17.000Z
2021-04-26T21:47:59.000Z
test/do_block/interceptor_wildcarded_mfa_test.exs
filipecabaco/interceptor
e108946d3909d9ceffb2ab9406c5534fa6dcad28
[ "MIT" ]
5
2020-05-16T00:31:45.000Z
2021-07-16T13:39:05.000Z
defmodule InterceptorWildcardedMfaTest do use ExUnit.Case @process_name :wildcarded_mfa_test_process describe "intercepted function MFA with arity wildcards" do test "it intercepts the same function with arity 1" do {:ok, _pid} = spawn_agent() result = InterceptedWildcardedMfa1.foo(123) ...
29.80292
93
0.68626
5af229f6615b32a9891c96f62fc75514cb3ef2a8
518
ex
Elixir
algorithms/medium/adding_spaces_to_a_string.ex
stackcats/leetcode
8d50cd92ced2ca991ea9f1e5311f5fda5707d81d
[ "MIT" ]
1
2021-05-30T05:06:06.000Z
2021-05-30T05:06:06.000Z
algorithms/medium/adding_spaces_to_a_string.ex
stackcats/leetcode
8d50cd92ced2ca991ea9f1e5311f5fda5707d81d
[ "MIT" ]
null
null
null
algorithms/medium/adding_spaces_to_a_string.ex
stackcats/leetcode
8d50cd92ced2ca991ea9f1e5311f5fda5707d81d
[ "MIT" ]
null
null
null
defmodule Solution do @spec add_spaces(s :: String.t(), spaces :: [integer]) :: String.t() def add_spaces(s, spaces) do aux(String.graphemes(s), 0, spaces, []) |> Enum.join() end def aux([], _ct, _spaces, ans), do: Enum.reverse(ans) def aux(lst, ct, [], ans) do Enum.concat([Enum.reverse(ans), lst]) ...
24.666667
70
0.559846
5af24abcf149a33321ff1361370614bc7a949c5f
1,782
exs
Elixir
apps/re/test/listings/highlights/scores_test.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/test/listings/highlights/scores_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
apps/re/test/listings/highlights/scores_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.Highlights.ScoresTest do use Re.ModelCase alias Re.Listings.Highlights.Scores describe "calculate_recency_score/2" do test "return the id normalized by max value" do assert 0.5 == Scores.calculate_recency_score(%{id: 100}, 200) end test "division by zero always return zero" do ...
36.367347
96
0.694725
5af25ae691b4dfd69615de90fd4e074673375f3b
894
ex
Elixir
clients/service_control/lib/google_api/service_control/v2/metadata.ex
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/service_control/lib/google_api/service_control/v2/metadata.ex
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v2/metadata.ex
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.111111
74
0.761745
5af276ef2eb47b12ad22c9f51e44c6766fe8d737
483
exs
Elixir
test/changelog/fastly_test.exs
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
1
2019-11-02T08:32:25.000Z
2019-11-02T08:32:25.000Z
test/changelog/fastly_test.exs
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
null
null
null
test/changelog/fastly_test.exs
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
null
null
null
defmodule Changelog.FastlyTest do use ExUnit.Case import Mock describe "purge/1" do test "when given a url string" do with_mock(HTTPoison, request: fn _, _, _, _ -> %{status_code: 200} end) do url = "https://cdn.changelog.com/uploads/podcast/1/the-changelog-1.mp3" Changelog.Fastly.purge(url) ...
30.1875
140
0.689441
5af27e4873bac3fd8180c74235afb45a19a24d64
37,059
ex
Elixir
lib/elixir/lib/supervisor.ex
ulissesalmeida/elixir
628ab6c3fe295b6a2a08cb83b464e255488c263f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/supervisor.ex
ulissesalmeida/elixir
628ab6c3fe295b6a2a08cb83b464e255488c263f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/supervisor.ex
ulissesalmeida/elixir
628ab6c3fe295b6a2a08cb83b464e255488c263f
[ "Apache-2.0" ]
null
null
null
defmodule Supervisor do @moduledoc ~S""" A behaviour module for implementing supervisors. A supervisor is a process which supervises other processes, which we refer to as *child processes*. Supervisors are used to build a hierarchical process structure called a *supervision tree*. Supervision trees provide ...
37.661585
98
0.695971
5af2a257c87ba7e8e07b1834780f439c52e80151
6,664
ex
Elixir
lib/rdf/xsd/facet.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
lib/rdf/xsd/facet.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
lib/rdf/xsd/facet.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.XSD.Facet do @moduledoc """ A behaviour for XSD restriction facets. Here's a list of all the `RDF.XSD.Facet`s RDF.ex implements out-of-the-box: | XSD facet | `RDF.XSD.Facet` | | :-------------- | :------------- | | length | `RDF.XSD.Face...
42.717949
226
0.643758
5af2b2d9b97b997872f589310bce4f9b76073eb2
345
exs
Elixir
priv/repo/seeds.exs
kevinastone/phoenixbin
8b7326b5de1fe9961c1a2d7971a3d4abe7178829
[ "MIT" ]
18
2015-11-18T09:52:34.000Z
2021-04-27T19:38:08.000Z
priv/repo/seeds.exs
kevinastone/phoenixbin
8b7326b5de1fe9961c1a2d7971a3d4abe7178829
[ "MIT" ]
3
2017-01-11T18:55:39.000Z
2021-06-15T05:46:34.000Z
priv/repo/seeds.exs
kevinastone/phoenixbin
8b7326b5de1fe9961c1a2d7971a3d4abe7178829
[ "MIT" ]
7
2016-08-17T10:24:20.000Z
2020-07-10T13:00:36.000Z
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Requestbox.Repo.insert!(%SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail ...
28.75
61
0.704348
5af2b98fbe362dea350e6d3a361e367f38a09812
1,948
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/transaction_options.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/transaction_options.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/transaction_options.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...
38.196078
194
0.758214
5af2c574764b2715be68f8a1b4ff078c611f6b6b
2,918
ex
Elixir
test/support/live_views/params.ex
phaleth/phoenix_live_view
84108603663f546871dcbb9b32c2dfeb2f6afda5
[ "MIT" ]
4,659
2019-03-14T20:22:43.000Z
2022-03-31T20:13:30.000Z
test/support/live_views/params.ex
phaleth/phoenix_live_view
84108603663f546871dcbb9b32c2dfeb2f6afda5
[ "MIT" ]
1,745
2019-03-14T22:04:38.000Z
2022-03-31T17:26:25.000Z
test/support/live_views/params.ex
phaleth/phoenix_live_view
84108603663f546871dcbb9b32c2dfeb2f6afda5
[ "MIT" ]
744
2019-03-14T20:48:05.000Z
2022-03-25T14:35:04.000Z
defmodule Phoenix.LiveViewTest.ParamCounterLive do use Phoenix.LiveView def render(assigns) do ~H""" The value is: <%= @val %> connect: <%= inspect(@connect_params) %> info: <%= inspect(@connect_info) %> mount: <%= inspect(@mount_params) %> params: <%= inspect(@params) %> """ end d...
27.528302
85
0.664496
5af2cefa9ecced7609b6f1fcdcc268c3195ab831
88
ex
Elixir
lib/phoenix_starter_web/views/user_reset_password_view.ex
newaperio/phoenix_starter
02f2f5550a94b940bb4e9c61042b032f54af8b72
[ "MIT" ]
3
2021-03-19T10:39:02.000Z
2021-07-25T19:54:09.000Z
lib/phoenix_starter_web/views/user_reset_password_view.ex
newaperio/phoenix_starter
02f2f5550a94b940bb4e9c61042b032f54af8b72
[ "MIT" ]
204
2020-11-27T06:00:31.000Z
2022-03-25T08:08:16.000Z
lib/phoenix_starter_web/views/user_reset_password_view.ex
newaperio/phoenix_starter
02f2f5550a94b940bb4e9c61042b032f54af8b72
[ "MIT" ]
null
null
null
defmodule PhoenixStarterWeb.UserResetPasswordView do use PhoenixStarterWeb, :view end
22
52
0.863636
5af2da91357c37e4c6622d28dff32f4deba1f67b
899
ex
Elixir
lib/ash/error/query/invalid_filter_value.ex
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
1
2021-12-27T09:43:29.000Z
2021-12-27T09:43:29.000Z
lib/ash/error/query/invalid_filter_value.ex
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
null
null
null
lib/ash/error/query/invalid_filter_value.ex
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
null
null
null
defmodule Ash.Error.Query.InvalidFilterValue do @moduledoc "Used when an invalid value is provided for a filter" use Ash.Error def_ash_error([:message, :value, :context], class: :invalid) defimpl Ash.ErrorKind do def id(_), do: Ecto.UUID.generate() def code(_), do: "invalid_filter_value" def cla...
27.242424
97
0.636263
5af2dae1b59ba16b6c5690a8a1dc2f476888ba62
3,963
exs
Elixir
apps/omg_api/test/crypto_test.exs
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
null
null
null
apps/omg_api/test/crypto_test.exs
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
null
null
null
apps/omg_api/test/crypto_test.exs
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
2
2020-06-07T11:14:54.000Z
2020-08-02T07:36:32.000Z
# 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...
42.159574
138
0.694171
5af2e97eb90e098d2dcace3e421b776f6312e2b9
2,334
exs
Elixir
test/ex_twilio/worker_capability_test.exs
mirego/ex_twilio
0b4b9c530c151fd5748520ac95a3a9d54f15720b
[ "MIT" ]
null
null
null
test/ex_twilio/worker_capability_test.exs
mirego/ex_twilio
0b4b9c530c151fd5748520ac95a3a9d54f15720b
[ "MIT" ]
null
null
null
test/ex_twilio/worker_capability_test.exs
mirego/ex_twilio
0b4b9c530c151fd5748520ac95a3a9d54f15720b
[ "MIT" ]
1
2021-11-09T07:56:11.000Z
2021-11-09T07:56:11.000Z
defmodule ExTwilio.WorkerCapabilityTest do use ExUnit.Case alias ExTwilio.Config test ".new sets the worker capability to one hour" do assert ExTwilio.WorkerCapability.new("worker_sid", "workspace_sid").ttl == 3600 end test ".new sets the start time for the TTL to be the current time" do assert_in_...
31.12
98
0.683376
5af2f1220385312b7f57962863a62d9041425c2b
67
ex
Elixir
phoenix0/lib/phoenix0/repo.ex
JacobOscarson/elexir-0
f4e67bb4a68c6a0cba5b410d80427e721ac7826a
[ "MIT" ]
null
null
null
phoenix0/lib/phoenix0/repo.ex
JacobOscarson/elexir-0
f4e67bb4a68c6a0cba5b410d80427e721ac7826a
[ "MIT" ]
null
null
null
phoenix0/lib/phoenix0/repo.ex
JacobOscarson/elexir-0
f4e67bb4a68c6a0cba5b410d80427e721ac7826a
[ "MIT" ]
null
null
null
defmodule Phoenix0.Repo do use Ecto.Repo, otp_app: :phoenix0 end
16.75
35
0.776119
5af3165c40b31d82cbc83a2e3405dd15713ee88d
1,013
exs
Elixir
exercism/elixir/raindrops/raindrops.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
2
2017-05-19T18:31:38.000Z
2017-05-19T18:31:41.000Z
exercism/elixir/raindrops/raindrops.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
null
null
null
exercism/elixir/raindrops/raindrops.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
null
null
null
defmodule Raindrops do @doc """ Returns a string based on raindrop factors. - If the number contains 3 as a prime factor, output 'Pling'. - If the number contains 5 as a prime factor, output 'Plang'. - If the number contains 7 as a prime factor, output 'Plong'. - If the number does not contain 3, 5, or 7 a...
30.69697
101
0.666338
5af3231f1a1829634d7bcae1b67c09826b20de02
4,279
ex
Elixir
lib/extatus/sandbox/metric.ex
gmtprime/extatus
e9bf16cb1e83d2c4225c66d7c0bfdfb40993de03
[ "MIT" ]
17
2017-03-01T07:19:46.000Z
2021-11-25T21:57:38.000Z
lib/extatus/sandbox/metric.ex
gmtprime/extatus
e9bf16cb1e83d2c4225c66d7c0bfdfb40993de03
[ "MIT" ]
1
2018-04-02T11:09:28.000Z
2018-04-02T14:33:30.000Z
lib/extatus/sandbox/metric.ex
gmtprime/extatus
e9bf16cb1e83d2c4225c66d7c0bfdfb40993de03
[ "MIT" ]
1
2021-12-14T20:49:02.000Z
2021-12-14T20:49:02.000Z
defmodule Extatus.Sandbox.Metric do @moduledoc """ Sandbox server that simulates the `prometheus.ex` library. """ use GenServer defstruct [:subscribers] alias __MODULE__, as: State @doc """ Starts a sandbox metric server with some optional `GenServer` `options`. """ def start_link do GenServer...
22.403141
76
0.643842
5af32d3cb01f7ad59fad6c109bbba56aa525360d
2,970
exs
Elixir
test/h2_worker/request_set_test.exs
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
20
2019-01-15T10:13:16.000Z
2021-12-30T09:39:30.000Z
test/h2_worker/request_set_test.exs
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
45
2018-10-02T10:14:57.000Z
2021-04-30T21:57:28.000Z
test/h2_worker/request_set_test.exs
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
9
2019-05-08T17:25:56.000Z
2022-03-06T10:16:41.000Z
defmodule H2Worker.RequestSetTest do use ExUnit.Case use Quixir alias Sparrow.H2Worker.RequestSet alias Sparrow.H2Worker.RequestState, as: InnerRequest doctest Sparrow.H2Worker.RequestSet @repeats 10 test "collection is correctly initalizing" do requests = RequestSet.new() assert Enum.empty?(re...
34.137931
80
0.660943
5af35b689e8c3503adeee7fe875adeb2f4b70f52
7,700
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/api/manifests.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/api/manifests.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/api/manifests.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...
63.114754
1,327
0.731688
5af37b6c7bcf043d4c08d18b6439fd5ff336b6f7
144
exs
Elixir
test/elixir_bot_test.exs
renanferr/elixir-discord-bot
105c6a53f41e763c2bffc9ee8a68632ecc07555a
[ "MIT" ]
1
2021-06-09T01:39:02.000Z
2021-06-09T01:39:02.000Z
test/elixir_bot_test.exs
renanferr/elixir-discord-bot
105c6a53f41e763c2bffc9ee8a68632ecc07555a
[ "MIT" ]
null
null
null
test/elixir_bot_test.exs
renanferr/elixir-discord-bot
105c6a53f41e763c2bffc9ee8a68632ecc07555a
[ "MIT" ]
null
null
null
defmodule ElixirBotTest do use ExUnit.Case doctest ElixirBot test "greets the world" do assert ElixirBot.hello() == :world end end
16
38
0.722222
5af37cc60d1072b284dfc06a151d11dfad9c7780
1,082
ex
Elixir
lib/i18n_with_phoenix/application.ex
wbotelhos/i18n-with-phoenix
6a7dd5a4454e9ea1d83d9a42938180cb019936bf
[ "MIT" ]
null
null
null
lib/i18n_with_phoenix/application.ex
wbotelhos/i18n-with-phoenix
6a7dd5a4454e9ea1d83d9a42938180cb019936bf
[ "MIT" ]
null
null
null
lib/i18n_with_phoenix/application.ex
wbotelhos/i18n-with-phoenix
6a7dd5a4454e9ea1d83d9a42938180cb019936bf
[ "MIT" ]
null
null
null
defmodule I18nWithPhoenix.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 I18nWithPhoenix.Repo, # Start the Telemetry supervis...
30.914286
73
0.721811
5af388f960d483e49e71f3af4e922d5c6fc80720
8,966
ex
Elixir
lib/mix/lib/mix/compilers/erlang.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
1
2019-05-07T12:01:44.000Z
2019-05-07T12:01:44.000Z
lib/mix/lib/mix/compilers/erlang.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/compilers/erlang.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Compilers.Erlang do @moduledoc false @manifest_vsn 1 @doc """ Compiles the files in `mappings` with given extensions into the destination, automatically invoking the callback for each stale input and output pair (or for all if `force` is `true`) and removing files that no longer have a sou...
30.810997
102
0.635177
5af38d69fa838b0fd110f3c632af9d2575ec76ef
163
ex
Elixir
api/web/router.ex
manna422/loose
1d2dc1d1a88976fa3f883917f47023eae3167c37
[ "MIT" ]
null
null
null
api/web/router.ex
manna422/loose
1d2dc1d1a88976fa3f883917f47023eae3167c37
[ "MIT" ]
null
null
null
api/web/router.ex
manna422/loose
1d2dc1d1a88976fa3f883917f47023eae3167c37
[ "MIT" ]
null
null
null
defmodule Loose.Router do use Loose.Web, :router pipeline :api do plug :accepts, ["json"] end scope "/api", Loose do pipe_through :api end end
13.583333
27
0.650307
5af398525a158ab90224fc5e8c0bd4a61d301e74
67
ex
Elixir
ll-javaBroker/src/test/java/auth.properties.ex
VHAINNOVATIONS/AVS
51f3316586059210d3d8a0a9d1761fed4b9b1826
[ "Apache-2.0" ]
5
2015-06-05T17:15:41.000Z
2021-07-25T01:59:52.000Z
ll-javaBroker/src/test/java/auth.properties.ex
VHAINNOVATIONS/AVS
51f3316586059210d3d8a0a9d1761fed4b9b1826
[ "Apache-2.0" ]
null
null
null
ll-javaBroker/src/test/java/auth.properties.ex
VHAINNOVATIONS/AVS
51f3316586059210d3d8a0a9d1761fed4b9b1826
[ "Apache-2.0" ]
8
2016-03-09T22:08:21.000Z
2019-05-10T13:36:19.000Z
server=192.168.0.0 port=9999 accessCode=access verifyCode=verify
16.75
19
0.80597
5af3be1f3ddab534723ab722e1ae247d48db2bfa
1,131
exs
Elixir
clients/cloud_iot/config/config.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_iot/config/config.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/config/config.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
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.483871
73
0.7542
5af3bea7f7a3f46f9ddd0a7e3ceef687403ccae7
3,134
ex
Elixir
lib/koans/03_numbers.ex
paolobroglio/elixir-koans
bc8f6634ce8e6e5ca8f36f0a84f5392dbd7771e2
[ "MIT" ]
null
null
null
lib/koans/03_numbers.ex
paolobroglio/elixir-koans
bc8f6634ce8e6e5ca8f36f0a84f5392dbd7771e2
[ "MIT" ]
null
null
null
lib/koans/03_numbers.ex
paolobroglio/elixir-koans
bc8f6634ce8e6e5ca8f36f0a84f5392dbd7771e2
[ "MIT" ]
null
null
null
defmodule Numbers do require Integer use Koans @intro "Why is the number six so scared? Because seven eight nine!\nWe should get to know numbers a bit more!" koan "Is an integer equal to its float equivalent?" do assert 1 == 1.0 == true end koan "Is an integer threequal to its float equivalent?" do ...
23.923664
112
0.636567
5af3fff3498b77c6da30c7d1190c7f7cb3b37679
663
ex
Elixir
lib/simple_bayes/storage/dets.ex
fredwu/simple_bayes
806d7e62ab90bdbd8d905faa9536425466f203e2
[ "MIT" ]
412
2016-07-14T15:34:26.000Z
2022-03-26T10:34:39.000Z
lib/simple_bayes/storage/dets.ex
fredwu/simple_bayes
806d7e62ab90bdbd8d905faa9536425466f203e2
[ "MIT" ]
7
2016-07-20T08:40:07.000Z
2018-06-11T12:44:19.000Z
lib/simple_bayes/storage/dets.ex
fredwu/simple_bayes
806d7e62ab90bdbd8d905faa9536425466f203e2
[ "MIT" ]
27
2016-07-17T13:05:19.000Z
2021-04-08T21:46:16.000Z
defmodule SimpleBayes.Storage.Dets do @behaviour SimpleBayes.Storage.Behaviour def init(struct, opts) do opts = Keyword.merge(struct.opts, opts) struct = %{struct | opts: opts} :dets.open_file(opts[:file_path], []) :dets.insert(opts[:file_path], {"data", struct}) {:ok, pid} = Agent.start_li...
21.387097
59
0.627451
5af409ad1fe05f1061f67c69fd8dbdf88d40cbba
1,272
ex
Elixir
apps/ewallet_api/lib/ewallet_api/v1/channels/transaction_request_channel.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_api/lib/ewallet_api/v1/channels/transaction_request_channel.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_api/lib/ewallet_api/v1/channels/transaction_request_channel.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.342857
97
0.731918
5af4189592aef88093e5e8883c62e88ec217795a
8,822
exs
Elixir
test/worker_test.exs
OpenMatchmaking/spotter
d4680b14074991811623147cc4c4bf73c95b3090
[ "BSD-3-Clause" ]
null
null
null
test/worker_test.exs
OpenMatchmaking/spotter
d4680b14074991811623147cc4c4bf73c95b3090
[ "BSD-3-Clause" ]
1
2018-09-03T15:50:45.000Z
2018-11-29T07:37:19.000Z
test/worker_test.exs
OpenMatchmaking/spotter
d4680b14074991811623147cc4c4bf73c95b3090
[ "BSD-3-Clause" ]
null
null
null
defmodule SpotterWorkerTest do use ExUnit.Case use AMQP @generic_exchange "test.direct" @generic_queue_request "worker_test_queue_request" @generic_queue_forward "worker_test_queue_forward" @custom_amqp_opts [ username: "user", password: "password", host: "rabbitmq", port: 5672, virtua...
35.861789
116
0.648039
5af42e8a7ca6c5f10ede77255b292420d469a2bf
3,120
exs
Elixir
apps/ewallet_db/priv/repo/seeds_sample/00_user.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/priv/repo/seeds_sample/00_user.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/priv/repo/seeds_sample/00_user.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 ...
30.891089
82
0.631731
5af45b6bedd41863b3b8201ee0d176a88238474d
1,232
exs
Elixir
clients/you_tube_reporting/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/you_tube_reporting/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/you_tube_reporting/mix.exs
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.YouTubeReporting.V1.Mixfile do use Mix.Project @version "0.5.0" def project do [app: :google_api_you_tube_reporting, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package...
25.666667
139
0.629058
5af45e5f51b01948a589817709b104e71cd083ba
2,242
ex
Elixir
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/time_events.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/time_events.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/time_events.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...
42.301887
201
0.737734
5af46d664282dce1af1410aefa1a86c75381f5b0
3,073
exs
Elixir
test/unit/hologram/template/transformers/element_node_transformer_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/template/transformers/element_node_transformer_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/template/transformers/element_node_transformer_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Template.ElementNodeTransformerTest do use Hologram.Test.UnitCase, async: true alias Hologram.Compiler.Context alias Hologram.Compiler.IR.{AdditionOperator, IntegerType, ModuleAttributeOperator, TupleType} alias Hologram.Template.VDOM.{ElementNode, Expression, TextNode} alias Hologram.Temp...
24.782258
96
0.550927
5af48e78fd70219de8a0e29faff3ce92bb1e742e
2,157
ex
Elixir
clients/page_speed_online/lib/google_api/page_speed_online/v4/model/pagespeed_api_pagespeed_response_v4_formatted_results_urls.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/page_speed_online/lib/google_api/page_speed_online/v4/model/pagespeed_api_pagespeed_response_v4_formatted_results_urls.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/page_speed_online/lib/google_api/page_speed_online/v4/model/pagespeed_api_pagespeed_response_v4_formatted_results_urls.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...
38.517857
163
0.772369
5af4ceaaa27212cabac7be2b60d6da09e5ad3ac0
3,377
ex
Elixir
clients/content/lib/google_api/content/v2/model/accounts_custom_batch_request_entry.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/accounts_custom_batch_request_entry.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v2/model/accounts_custom_batch_request_entry.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
46.902778
201
0.692627
5af4d505105c7cf04d621a9c8b9cf3be922cada2
270
exs
Elixir
.formatter.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
.formatter.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
.formatter.exs
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
[ inputs: [ "lib/*/{lib,unicode,test}/**/*.{ex,exs}", "lib/*/mix.exs" ], locals_without_parens: [ # Formatter tests assert_format: 2, assert_format: 3, assert_same: 1, assert_same: 2, # Errors tests assert_eval_raise: 3 ] ]
15
45
0.566667
5af503bbd451a1c39d2fb0739bc7360f0b6f0771
603
ex
Elixir
web/views/instances_view.ex
matsubara0507/pastry-chef-test
05c0fc3a3864e5469690da980e7bf3d2dbdb3919
[ "MIT" ]
1
2017-09-20T23:46:35.000Z
2017-09-20T23:46:35.000Z
web/views/instances_view.ex
matsubara0507/pastry-chef-test
05c0fc3a3864e5469690da980e7bf3d2dbdb3919
[ "MIT" ]
null
null
null
web/views/instances_view.ex
matsubara0507/pastry-chef-test
05c0fc3a3864e5469690da980e7bf3d2dbdb3919
[ "MIT" ]
null
null
null
defmodule PastryChefTest.InstancesView do use PastryChefTest.Web, :view def render("instances.json", %{instances: instances}), do: instances def render("instances.json", %{message: message}), do: message def render("instance.json", %{instance: instance}), do: instance def render("instance.json", %{message: ...
37.6875
70
0.706468
5af51c0f9460776aa0b4a8b7bb438187b640a429
5,033
exs
Elixir
test/phoenix_live_view/hooks_test.exs
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
null
null
null
test/phoenix_live_view/hooks_test.exs
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
null
null
null
test/phoenix_live_view/hooks_test.exs
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.IntegrationHooksTest do use ExUnit.Case, async: true alias Phoenix.LiveView alias Phoenix.LiveView.Lifecycle defp build_socket(router \\ Phoenix.LiveViewTest.Router) do %LiveView.Socket{ private: %{lifecycle: %Lifecycle{}}, router: router } end describe "att...
34.472603
98
0.602225
5af55460a26d7b91724a9280eb7addad4db91d66
137
ex
Elixir
lib/zaryn_web/controllers/page_controller.ex
zarynxyz/zaryn
5d6cf8b6e43e8cdf2a8d0688fb9c16e4509fc958
[ "Apache-2.0" ]
4
2021-05-29T11:22:36.000Z
2022-02-09T11:26:39.000Z
lib/zaryn_web/controllers/page_controller.ex
zarynxyz/zaryn
5d6cf8b6e43e8cdf2a8d0688fb9c16e4509fc958
[ "Apache-2.0" ]
2
2021-06-17T13:32:39.000Z
2022-02-09T11:26:02.000Z
lib/zaryn_web/controllers/page_controller.ex
zarynxyz/zaryn
5d6cf8b6e43e8cdf2a8d0688fb9c16e4509fc958
[ "Apache-2.0" ]
1
2021-06-04T14:27:20.000Z
2021-06-04T14:27:20.000Z
defmodule ZarynWeb.PageController do use ZarynWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
17.125
36
0.729927
5af55a1d5c66f2797ba843f4216a0ffe3b13a12d
206
exs
Elixir
test/my_personal_web/controllers/page_controller_test.exs
kadmohardy/MyPersonal
5b2b05ef8b2db57c99a8751e5ac381f01e9faba9
[ "MIT" ]
null
null
null
test/my_personal_web/controllers/page_controller_test.exs
kadmohardy/MyPersonal
5b2b05ef8b2db57c99a8751e5ac381f01e9faba9
[ "MIT" ]
null
null
null
test/my_personal_web/controllers/page_controller_test.exs
kadmohardy/MyPersonal
5b2b05ef8b2db57c99a8751e5ac381f01e9faba9
[ "MIT" ]
null
null
null
defmodule MyPersonalWeb.PageControllerTest do use MyPersonalWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.888889
60
0.68932
5af59f538c3101335df1e83b8f5e6e70223fb6cf
11,806
ex
Elixir
lib/aws/generated/ram.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
lib/aws/generated/ram.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
lib/aws/generated/ram.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.RAM do @moduledoc """ Use AWS Resource Access Manager to share AWS resources between AWS accounts. To share a resource, you create a resource share, associate the resource with the resour...
20.785211
124
0.600203
5af5a8a15c0c7301ceeb8e4653c012b3f36f105c
907
ex
Elixir
lib/kv/fav.ex
u3paka/Amrita
de2c566d856fd75925a4dfec58c28c2484c29d5d
[ "Apache-2.0" ]
null
null
null
lib/kv/fav.ex
u3paka/Amrita
de2c566d856fd75925a4dfec58c28c2484c29d5d
[ "Apache-2.0" ]
2
2020-07-17T08:34:44.000Z
2021-03-09T08:33:47.000Z
lib/kv/fav.ex
u3paka/amrita
de2c566d856fd75925a4dfec58c28c2484c29d5d
[ "Apache-2.0" ]
null
null
null
defmodule KV.Fav do use Agent def start_link(initial_map \\ %{}) do Agent.start(fn -> initial_map end, name: __MODULE__) end def add(user, count \\ 1) do Agent.update(__MODULE__, fn state -> state |> Map.update(user, 1, fn x -> x + count end) end) end def get(user) do Agent.get(__MODULE__, fn...
22.121951
160
0.644983
5af5b99a74a6c135e3026fc8b2faa7f3cc89cfb9
880
ex
Elixir
clients/compute/lib/google_api/compute/v1/metadata.ex
rafaltrojanowski/elixir-google-api
779f15166741b9cf57cb832228f1115bfb8edb13
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/metadata.ex
rafaltrojanowski/elixir-google-api
779f15166741b9cf57cb832228f1115bfb8edb13
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/metadata.ex
rafaltrojanowski/elixir-google-api
779f15166741b9cf57cb832228f1115bfb8edb13
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 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...
32.592593
74
0.757955
5af5ca1c4509ac19568d1ead055cf9dbd6772f96
55
ex
Elixir
lib/game_web/views/page_view.ex
drewfravert/2048
cbe6b75635f7d2713277c3c60fb5147e256e73e3
[ "MIT" ]
22
2020-09-06T22:18:35.000Z
2022-01-30T13:58:33.000Z
lib/game_web/views/page_view.ex
toranb/liveview-workshop
bd78cf16e246c0cdb575c824f812335dd752c6d0
[ "MIT" ]
3
2021-09-06T19:26:18.000Z
2021-09-06T19:27:04.000Z
lib/game_web/views/page_view.ex
toranb/liveview-workshop
bd78cf16e246c0cdb575c824f812335dd752c6d0
[ "MIT" ]
2
2020-09-06T23:02:38.000Z
2020-09-09T05:23:03.000Z
defmodule GameWeb.PageView do use GameWeb, :view end
13.75
29
0.781818
5af5fadcb19cc04cfefd7f12b418e15bbede96cb
1,974
exs
Elixir
web_finngen_r7/config/dev.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r7/config/dev.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r7/config/dev.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "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 webpack to recompile .js and .css sources. config :risteys, RisteysWeb.Endpoint, http: [ip: {127, ...
27.416667
68
0.681864