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
91f042d48b54e2a4f5da2fc2f95fb17570134e91
6,935
exs
Elixir
.credo.exs
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
15
2020-08-05T11:20:03.000Z
2021-09-22T15:20:41.000Z
.credo.exs
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
9
2020-08-10T14:42:27.000Z
2021-06-14T14:45:05.000Z
.credo.exs
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
2
2020-08-10T13:42:15.000Z
2020-10-03T04:10:06.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
38.527778
97
0.615285
91f04fac77edf6dd59c180df118688484b655367
84,443
ex
Elixir
lib/aws/generated/quick_sight.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
lib/aws/generated/quick_sight.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
lib/aws/generated/quick_sight.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.QuickSight do @moduledoc """ Amazon QuickSight API Reference Amazon QuickSight is a fully managed, serverless business intelligence service for the AWS Cloud that makes it easy to extend ...
22.803943
187
0.605
91f05680a0334884d1510d74f586d01f7ad19aa1
2,462
ex
Elixir
clients/fact_check_tools/lib/google_api/fact_check_tools/v1alpha1/model/google_factchecking_factchecktools_v1alpha1_list_claim_review_markup_pages_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/fact_check_tools/lib/google_api/fact_check_tools/v1alpha1/model/google_factchecking_factchecktools_v1alpha1_list_claim_review_markup_pages_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/fact_check_tools/lib/google_api/fact_check_tools/v1alpha1/model/google_factchecking_factchecktools_v1alpha1_list_claim_review_markup_pages_response.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...
37.30303
222
0.759139
91f0a5d6c5d6336d837bd482cbcf346b6ed6dc5c
963
ex
Elixir
priv/templates/phx.gen.live/live_helpers.ex
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
366
2019-07-12T22:43:35.000Z
2022-03-31T07:26:25.000Z
priv/templates/phx.gen.live/live_helpers.ex
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
114
2019-07-12T19:49:10.000Z
2022-03-23T10:48:48.000Z
priv/templates/phx.gen.live/live_helpers.ex
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
17
2019-07-23T15:16:34.000Z
2021-02-25T02:42:02.000Z
defmodule <%= inspect context.web_module %>.LiveHelpers do import Phoenix.LiveView.Helpers @doc """ Renders a component inside the `<%= inspect context.web_module %>.ModalComponent` component. The rendered modal receives a `:return_to` option to properly update the URL when the modal is closed. ## Exampl...
40.125
148
0.681205
91f0bf4939dc0a3318d7ceed7702fd19057f0ad1
832
ex
Elixir
lib/skeleton/types/default/integer.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
3
2020-12-15T09:04:57.000Z
2021-06-11T02:01:09.000Z
lib/skeleton/types/default/integer.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
null
null
null
lib/skeleton/types/default/integer.ex
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
null
null
null
defmodule MapSchema.DefaultTypes.MSchemaInteger do @moduledoc false @doc """ Integer type """ @behaviour MapSchema.CustomType @spec name :: atom | String.t() def name, do: :integer def nested?, do: false @spec cast(value :: any) :: any | :map_schema_type_error def cast(value) do value end ...
19.348837
58
0.644231
91f0cab46f5a49c60d4390842df9ecfd7e970fe7
980
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/deserializer.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/deserializer.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/deserializer.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.692308
77
0.767347
91f0cd8604f2e11a1f2c4bec8e1f5d15d00ee942
4,262
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/cell_format.ex
dsdshcym/elixir-google-api
2d9eef7207bb422d7ecfc1ec780721c6abd0ac81
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/cell_format.ex
dsdshcym/elixir-google-api
2d9eef7207bb422d7ecfc1ec780721c6abd0ac81
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/cell_format.ex
dsdshcym/elixir-google-api
2d9eef7207bb422d7ecfc1ec780721c6abd0ac81
[ "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.275
288
0.701549
91f0df45cdde013a468f8c2036f2a2435dae5059
82
exs
Elixir
test/padelhub_web/views/page_view_test.exs
nickel/padelhub
ca1a777a90c0b360d0ac51cdd73205e2d41e61a4
[ "MIT" ]
null
null
null
test/padelhub_web/views/page_view_test.exs
nickel/padelhub
ca1a777a90c0b360d0ac51cdd73205e2d41e61a4
[ "MIT" ]
null
null
null
test/padelhub_web/views/page_view_test.exs
nickel/padelhub
ca1a777a90c0b360d0ac51cdd73205e2d41e61a4
[ "MIT" ]
null
null
null
defmodule PadelhubWeb.PageViewTest do use PadelhubWeb.ConnCase, async: true end
20.5
39
0.829268
91f10fe1e0131b8d26df3abdd66a20029dd5e2dd
1,004
exs
Elixir
mix.exs
xeejp/xee_trust_game
78857990a1fdefea4409188f4fee13c3dfbacf45
[ "MIT" ]
null
null
null
mix.exs
xeejp/xee_trust_game
78857990a1fdefea4409188f4fee13c3dfbacf45
[ "MIT" ]
null
null
null
mix.exs
xeejp/xee_trust_game
78857990a1fdefea4409188f4fee13c3dfbacf45
[ "MIT" ]
null
null
null
defmodule TrustGame.Mixfile do use Mix.Project def project do [app: :xee_trust_game, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.3", build_embedded: Mix.env == :prod, ...
23.348837
77
0.582669
91f12b27a425bf12c71bc44160b28c31f67524b6
9,573
ex
Elixir
lib/mix/lib/mix/local/installer.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/mix/lib/mix/local/installer.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/local/installer.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
1
2018-04-18T11:25:33.000Z
2018-04-18T11:25:33.000Z
defmodule Mix.Local.Installer do @moduledoc false # This module implements pieces of functionality shared # by the archive- and escript-related tasks. @typedoc """ Installs types supported by `Mix.Local.Installer`. * `:project` - installs the current Mix project's artifact * `:local` - installs the...
28.406528
96
0.618301
91f1849b2429e147b5f53d437c5f7eaea2dcf07c
860
ex
Elixir
ui/test/support/conn_case.ex
wemakerspace/nerves_thermal_camera
1483a4a41ea89567e96fd1250f718058553fbe09
[ "MIT" ]
25
2018-11-03T19:36:12.000Z
2021-11-17T13:09:06.000Z
ui/test/support/conn_case.ex
wemakerspace/nerves_thermal_camera
1483a4a41ea89567e96fd1250f718058553fbe09
[ "MIT" ]
4
2019-01-16T14:06:47.000Z
2021-09-01T18:59:02.000Z
ui/test/support/conn_case.ex
wemakerspace/nerves_thermal_camera
1483a4a41ea89567e96fd1250f718058553fbe09
[ "MIT" ]
8
2018-12-25T23:00:51.000Z
2020-12-22T15:10:21.000Z
defmodule UiWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test...
24.571429
58
0.724419
91f19581acf4d93b45cb901b493454cba674fe90
1,490
ex
Elixir
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/checksum.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/checksum.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/checksum.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.041667
127
0.731544
91f1a9801dfab6e071bcaff7858495b24db875ec
291
ex
Elixir
lib/lucidboard_web/controllers/page_controller.ex
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
86
2019-01-07T20:49:04.000Z
2021-10-02T21:15:42.000Z
lib/lucidboard_web/controllers/page_controller.ex
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
26
2019-03-27T12:06:52.000Z
2020-09-20T05:21:09.000Z
lib/lucidboard_web/controllers/page_controller.ex
borodark/lucidboard
487a9a54053977ea9704121d4a6a4343012d4421
[ "MIT" ]
19
2015-01-06T19:02:49.000Z
2020-05-25T08:54:00.000Z
defmodule LucidboardWeb.PageController do use LucidboardWeb, :controller alias LucidboardWeb.LayoutView def index(conn, _params) do render(conn, "index.html", layout: {LayoutView, :full_width}) end def changelog(conn, _params) do render(conn, "changelog.html") end end
22.384615
65
0.738832
91f1df645b0060ad2bde1e0fdaaa7ef28acbed74
539
ex
Elixir
lib/color_wars_web/views/error_view.ex
kerlak/color_wars_server
a1f069eb110dcae3c519e4b85d64b5d13b9ffc4e
[ "MIT" ]
1
2020-04-21T10:38:14.000Z
2020-04-21T10:38:14.000Z
lib/color_wars_web/views/error_view.ex
kerlak/color_wars_server
a1f069eb110dcae3c519e4b85d64b5d13b9ffc4e
[ "MIT" ]
null
null
null
lib/color_wars_web/views/error_view.ex
kerlak/color_wars_server
a1f069eb110dcae3c519e4b85d64b5d13b9ffc4e
[ "MIT" ]
null
null
null
defmodule ColorWarsWeb.ErrorView do use ColorWarsWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status message ...
31.705882
83
0.721707
91f2031d8a196aa2e93d70f231d694673ac08100
995
exs
Elixir
mix.exs
onurkucukkece/materialize_sass
97bff05c625a5b1616f12b87170b1fc3ca3e4d86
[ "Apache-2.0" ]
5
2017-12-31T22:13:56.000Z
2020-11-18T15:00:58.000Z
mix.exs
onurkucukkece/materialize_sass
97bff05c625a5b1616f12b87170b1fc3ca3e4d86
[ "Apache-2.0" ]
null
null
null
mix.exs
onurkucukkece/materialize_sass
97bff05c625a5b1616f12b87170b1fc3ca3e4d86
[ "Apache-2.0" ]
null
null
null
defmodule MaterializeSass.Mixfile do use Mix.Project def project do [ app: :materialize_sass, version: "0.1.3", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps(), package: package(), name: "MaterializeSass", docs: [extras: ["README.md"], main: "Ma...
21.170213
79
0.58794
91f209a5a71c3719cc95ceeb7f9416018e34f484
968
ex
Elixir
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/request_builder.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/request_builder.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/request_builder.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.230769
77
0.765496
91f211e07421ca102764084bf5c6e726be8e2919
383
exs
Elixir
priv/repo/migrations/20201229171510_add_participants_table.exs
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20201229171510_add_participants_table.exs
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20201229171510_add_participants_table.exs
jfcloutier/freegiving
2ab3821595996fc295c5b55515d6f60cbce05181
[ "Unlicense" ]
null
null
null
defmodule Freegiving.Repo.Migrations.AddParticipantsTable do use Ecto.Migration def change do create table("participants") do add :user_id, references("users"), null: false add :fundraiser_id, references("fundraisers"), null: false timestamps() end create index("participants", :user_...
25.533333
64
0.710183
91f228217cf722a0bdc759c540cec141d1b68dd8
759
exs
Elixir
test/score_web/controllers/user_controller_test.exs
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
3
2021-08-09T14:17:42.000Z
2022-03-01T17:31:03.000Z
test/score_web/controllers/user_controller_test.exs
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
3
2021-08-09T12:27:01.000Z
2021-08-10T08:54:22.000Z
test/score_web/controllers/user_controller_test.exs
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
null
null
null
defmodule Score.UserControllerTest do use ScoreWeb.ConnCase import Score.Factory setup %{conn: conn} do {:ok, conn: put_req_header(conn, "accept", "application/json")} end describe "UserController" do test "index/2 should render users and timestamp", %{conn: conn} do user_100 = insert!(:user,...
23.71875
70
0.612648
91f256df0e2b9271a584aa34f578d3efa09858ea
299
ex
Elixir
lib/probe/value.ex
sb8244/instruments
89a620d181ba4a04ed0ac01c47057c018d645428
[ "MIT" ]
167
2017-11-09T08:25:21.000Z
2020-03-05T12:26:20.000Z
lib/probe/value.ex
Seanpm2001-Discord/instruments
4e8a34655d5b469567be69ccf3cf2dcdeba798f6
[ "MIT" ]
7
2020-05-13T15:16:08.000Z
2022-03-03T01:39:56.000Z
lib/probe/value.ex
Seanpm2001-Discord/instruments
4e8a34655d5b469567be69ccf3cf2dcdeba798f6
[ "MIT" ]
16
2021-01-18T23:59:48.000Z
2022-03-25T12:48:34.000Z
defmodule Instruments.Probe.Value do @moduledoc false defstruct value: nil, sample_rate: nil, tags: [] def new(value, opts) do tags = Keyword.get(opts, :tags) sample_rate = Keyword.get(opts, :sample_rate) %__MODULE__{value: value, tags: tags, sample_rate: sample_rate} end end
24.916667
67
0.70903
91f2f416d105bb000f3fc74078267b429d6aa135
6,950
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/dataset.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/dataset.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/big_query/lib/google_api/big_query/v2/model/dataset.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...
74.731183
922
0.731079
91f30b7afba62375fd38276356d1c26fa1d8cc7d
1,172
ex
Elixir
lib/faker/team/en.ex
vforvova/faker
9e600d5f3ca0c34e30f7923d415050786d9832cb
[ "MIT" ]
null
null
null
lib/faker/team/en.ex
vforvova/faker
9e600d5f3ca0c34e30f7923d415050786d9832cb
[ "MIT" ]
null
null
null
lib/faker/team/en.ex
vforvova/faker
9e600d5f3ca0c34e30f7923d415050786d9832cb
[ "MIT" ]
null
null
null
defmodule Faker.Team.En do @moduledoc """ Functions for generating team related data in English """ @doc """ Returns a string of the form [state] [creature] """ @spec name() :: String.t def name, do: "#{Faker.Address.state} #{creature}" @data ["ants", "banshees", "bats", "bears", "bees", "birds", "...
53.272727
716
0.62884
91f319862c2fb4aafaeb92ed89c1c6f01a80598e
1,730
ex
Elixir
lib/live_doom_fire_web.ex
allmonty/elixir-live-doom-fire
4a3525eb1f66983e501d6a01dc0af10f5c02d896
[ "MIT" ]
12
2019-03-26T18:34:01.000Z
2021-04-23T05:17:39.000Z
lib/live_doom_fire_web.ex
allmonty/elixir-live-doom-fire
4a3525eb1f66983e501d6a01dc0af10f5c02d896
[ "MIT" ]
5
2020-07-16T21:02:50.000Z
2020-09-19T19:40:24.000Z
lib/live_doom_fire_web.ex
allmonty/elixir-live-doom-fire
4a3525eb1f66983e501d6a01dc0af10f5c02d896
[ "MIT" ]
1
2019-07-23T12:59:02.000Z
2019-07-23T12:59:02.000Z
defmodule LiveDoomFireWeb 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 LiveDoomFireWeb, :controller use LiveDoomFireWeb, :view The definitions below will be executed for every view,...
24.366197
69
0.70289
91f3274de5f436a581303fac16bfde49f4f4aff2
4,806
ex
Elixir
lib/mix/lib/mix/cli.ex
kassio/elixir
78551c11c9c97bb608e4097d2e0c36458b11f535
[ "Apache-2.0" ]
1
2019-10-11T01:36:26.000Z
2019-10-11T01:36:26.000Z
lib/mix/lib/mix/cli.ex
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/cli.ex
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
null
null
null
defmodule Mix.CLI do @moduledoc false @compile {:no_warn_undefined, Logger.App} @doc """ Runs Mix according to the command line arguments. """ def main(args \\ System.argv()) do Mix.Local.append_archives() Mix.Local.append_paths() if env_variable_activated?("MIX_QUIET"), do: Mix.shell(Mix.She...
25.03125
105
0.628173
91f34a95a37dfc64ab95f9274246ac27bfbb4d83
2,324
exs
Elixir
test/as_nested_set/traversable_test.exs
SagarKarwande/as_nested_set
53e7e85470e0d6e991d5c08aa5c28493b26cbef5
[ "MIT" ]
2
2018-06-03T11:49:07.000Z
2020-08-27T15:01:05.000Z
test/as_nested_set/traversable_test.exs
SagarKarwande/as_nested_set
53e7e85470e0d6e991d5c08aa5c28493b26cbef5
[ "MIT" ]
null
null
null
test/as_nested_set/traversable_test.exs
SagarKarwande/as_nested_set
53e7e85470e0d6e991d5c08aa5c28493b26cbef5
[ "MIT" ]
1
2018-05-14T15:17:44.000Z
2018-05-14T15:17:44.000Z
defmodule AsNestedSet.TraversableTest do use AsNestedSet.EctoCase import AsNestedSet.Factory import AsNestedSet.Traversable alias AsNestedSet.TestRepo, as: Repo alias AsNestedSet.Taxon @doc """ Create a nested set tree +--------------------+ | +-----------+ | | +---+| +-------+ | | |0|1 2...
28.691358
100
0.549484
91f35bb9d8a06deae4f089e6cfcf5674e2dbb99a
276
ex
Elixir
lib/core/log.ex
naramore/ivy
171c81a23e0657088c6c5156fb181f58313c03d7
[ "MIT" ]
null
null
null
lib/core/log.ex
naramore/ivy
171c81a23e0657088c6c5156fb181f58313c03d7
[ "MIT" ]
null
null
null
lib/core/log.ex
naramore/ivy
171c81a23e0657088c6c5156fb181f58313c03d7
[ "MIT" ]
null
null
null
defprotocol Ivy.Core.Log do alias Ivy.{Core, Core.Anomaly, Core.Transaction} @spec tx_range(t, Core.time_point | nil, Core.time_point | nil, keyword) :: {:ok, Stream.t(Transaction.t)} | {:error, Anomaly.t} def tx_range(log, start \\ nil, finish \\ nil, opts \\ []) end
39.428571
130
0.677536
91f35f93b5367388516ba4f755d288c9fe370ca1
8,529
ex
Elixir
monitoring_hub/apps/metrics_reporter_ui/lib/metrics_reporter_ui/latency_stats_broadcaster/worker.ex
vishalbelsare/wallaroo
2b985a3e756786139316c72ebcca342346546ba7
[ "Apache-2.0" ]
1,459
2017-09-16T13:13:15.000Z
2020-10-05T06:19:50.000Z
monitoring_hub/apps/metrics_reporter_ui/lib/metrics_reporter_ui/latency_stats_broadcaster/worker.ex
vishalbelsare/wallaroo
2b985a3e756786139316c72ebcca342346546ba7
[ "Apache-2.0" ]
1,413
2017-09-14T18:18:14.000Z
2020-09-28T08:10:30.000Z
monitoring_hub/apps/metrics_reporter_ui/lib/metrics_reporter_ui/latency_stats_broadcaster/worker.ex
vishalbelsare/wallaroo
2b985a3e756786139316c72ebcca342346546ba7
[ "Apache-2.0" ]
80
2017-09-27T23:16:23.000Z
2020-06-02T09:18:53.000Z
defmodule MetricsReporterUI.LatencyStatsBroadcaster.Worker do use GenServer require Logger alias MonitoringHubUtils.MessageLog alias MetricsReporter.LatencyStatsCalculator ## Client API def start_link([log_name: log_name, interval_key: interval_key, pipeline_key: _, aggregate_interval: _, app_name: _...
49.017241
158
0.769023
91f36f49a408fa8d3b79f4bc39afd2c2ad6c179b
6,218
ex
Elixir
lib/mayo/string.ex
tommy351/mayo
59df8af91eb12a9a289ca6e699ef4cd1f130d9ed
[ "MIT" ]
1
2016-09-09T09:00:35.000Z
2016-09-09T09:00:35.000Z
lib/mayo/string.ex
tommy351/mayo
59df8af91eb12a9a289ca6e699ef4cd1f130d9ed
[ "MIT" ]
null
null
null
lib/mayo/string.ex
tommy351/mayo
59df8af91eb12a9a289ca6e699ef4cd1f130d9ed
[ "MIT" ]
null
null
null
defmodule Mayo.String do # http://stackoverflow.com/a/13653180 @uuid_pattern ~r/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/ # https://github.com/hapijs/joi/blob/v8.4.2/lib/string.js#L375 @hex_pattern ~r/^[a-f0-9]+$/i # https://github.com/hapijs/joi/blob/v8.4.2/lib/string.js#L1...
24.289063
449
0.575105
91f3a7df0fd408439247f80231c2ca7ef85ead81
1,193
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/usage_export_location.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/usage_export_location.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/usage_export_location.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...
31.394737
121
0.755239
91f3b32bf9c85d692c4e88fd29f8bbc6dacc4c70
1,246
ex
Elixir
web/models/user.ex
bagilevi/uptom
50894abb8f7bd052e12c37155b5c33450abcc9bd
[ "MIT" ]
6
2017-05-12T04:20:09.000Z
2020-11-07T02:00:56.000Z
web/models/user.ex
bagilevi/uptom
50894abb8f7bd052e12c37155b5c33450abcc9bd
[ "MIT" ]
null
null
null
web/models/user.ex
bagilevi/uptom
50894abb8f7bd052e12c37155b5c33450abcc9bd
[ "MIT" ]
2
2020-05-18T08:06:22.000Z
2020-12-19T14:24:40.000Z
defmodule Uptom.User do use Uptom.Web, :model use Coherence.Schema schema "users" do field :name, :string field :email, :string coherence_schema has_many :sites, Uptom.Site timestamps() end def changeset(model, params \\ %{}) do model |> cast(params, [:name, :email] ++ coherenc...
23.961538
82
0.609952
91f3d3ae1101dfb8d27cc6e8d1b1e15ef562b836
1,317
exs
Elixir
test/cluster_chooser_test.exs
lyokato/roulette
12fa0bada42681fc605d7c8b53f4be53e3213db8
[ "MIT" ]
4
2018-06-04T12:44:04.000Z
2020-09-30T14:05:23.000Z
test/cluster_chooser_test.exs
lyokato/roulette
12fa0bada42681fc605d7c8b53f4be53e3213db8
[ "MIT" ]
7
2018-01-15T02:53:30.000Z
2018-06-25T07:49:10.000Z
test/cluster_chooser_test.exs
lyokato/roulette
12fa0bada42681fc605d7c8b53f4be53e3213db8
[ "MIT" ]
1
2018-08-15T18:30:38.000Z
2018-08-15T18:30:38.000Z
defmodule Roulette.Test.ClusterChooserTest do use ExUnit.Case, async: true alias Roulette.ClusterChooser test "cluster chooser" do ClusterChooser.init(Foobar, [ "192.168.0.2", "192.168.0.3", "192.168.0.4", ]) ClusterChooser.init(Barbuz, [ "192.168.0.5", "192.168.0.6"...
32.121951
67
0.649962
91f3dd4bb0b1d259a3b4319fef3db5c340e2f04a
643
ex
Elixir
lib/nerves/artifact/resolvers/uri.ex
petermm/nerves
173b0a424177f45f77db4206406d9c98f1d73e95
[ "Apache-2.0" ]
1,944
2016-01-25T14:04:50.000Z
2022-03-30T13:25:53.000Z
lib/nerves/artifact/resolvers/uri.ex
petermm/nerves
173b0a424177f45f77db4206406d9c98f1d73e95
[ "Apache-2.0" ]
397
2016-05-19T21:17:51.000Z
2022-03-30T18:02:49.000Z
lib/nerves/artifact/resolvers/uri.ex
petermm/nerves
173b0a424177f45f77db4206406d9c98f1d73e95
[ "Apache-2.0" ]
191
2016-01-30T01:56:25.000Z
2022-03-30T17:58:57.000Z
defmodule Nerves.Artifact.Resolvers.URI do @behaviour Nerves.Artifact.Resolver @moduledoc """ Downloads an artifact from a remote http location. """ @doc """ Download the artifact from an http location """ def get({location, opts}) do Nerves.Utils.Shell.info(" => Trying #{location}") {:ok, p...
22.172414
56
0.659409
91f3e25e2528ed93a6162b60d3ad2b2f0541ddcc
83
exs
Elixir
test/test_helper.exs
kianmeng/ex_aws_sts
6ac699be1a4cccd8cd9ee34290fbc2d8c29fd66e
[ "Unlicense", "MIT" ]
8
2018-12-11T19:31:14.000Z
2022-03-18T02:54:28.000Z
test/test_helper.exs
kianmeng/ex_aws_sts
6ac699be1a4cccd8cd9ee34290fbc2d8c29fd66e
[ "Unlicense", "MIT" ]
26
2017-10-19T01:08:57.000Z
2022-01-26T14:17:28.000Z
test/test_helper.exs
kianmeng/ex_aws_sts
6ac699be1a4cccd8cd9ee34290fbc2d8c29fd66e
[ "Unlicense", "MIT" ]
18
2018-07-11T10:50:37.000Z
2021-11-12T12:17:24.000Z
Mox.defmock(ExAws.Request.HttpMock, for: ExAws.Request.HttpClient) ExUnit.start()
20.75
66
0.795181
91f3f75fda94ea746f1afed984f2d8ed7b5c1336
1,761
exs
Elixir
test/issue_71_test.exs
tank-bohr/sweet_xml
07ddde7664206989adcb87f384fd8f093bd0713b
[ "MIT" ]
171
2017-06-05T20:27:10.000Z
2022-03-20T23:36:41.000Z
test/issue_71_test.exs
tank-bohr/sweet_xml
07ddde7664206989adcb87f384fd8f093bd0713b
[ "MIT" ]
46
2017-05-17T17:36:05.000Z
2022-03-30T16:00:34.000Z
test/issue_71_test.exs
tank-bohr/sweet_xml
07ddde7664206989adcb87f384fd8f093bd0713b
[ "MIT" ]
39
2017-07-09T16:35:05.000Z
2021-10-31T17:31:16.000Z
defmodule Issue71Test do use ExUnit.Case test "raise on reading /etc/passwd with dtd: :none" do sneaky_xml = File.read!("./test/files/xxe.xml") assert {:fatal, {{:error_fetching_DTD, {_, _}}, _file, _line, _col}} = catch_exit(SweetXml.parse(sneaky_xml, dtd: :none, quiet: true)) end test "raise ...
35.938776
113
0.672345
91f4022ae054261d2e260fd5d3d0f3fad3ab71ee
9,969
exs
Elixir
test/oli/editing/objective_editor_test.exs
marc-hughes/oli-torus-1
aa3c9bb2d91b678a365be839761eaf86c60ee35c
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
test/oli/editing/objective_editor_test.exs
marc-hughes/oli-torus-1
aa3c9bb2d91b678a365be839761eaf86c60ee35c
[ "MIT" ]
1
2022-03-25T13:46:08.000Z
2022-03-25T16:06:44.000Z
test/oli/editing/objective_editor_test.exs
marc-hughes/oli-torus-1
aa3c9bb2d91b678a365be839761eaf86c60ee35c
[ "MIT" ]
null
null
null
defmodule Oli.Authoring.Editing.ObjectiveEditorTest do use Oli.DataCase alias Oli.Authoring.Editing.ObjectiveEditor alias Oli.Authoring.Editing.PageEditor alias Oli.Authoring.Editing.ActivityEditor alias Oli.Publishing.AuthoringResolver describe "objective editing" do setup do Seeder.base_projec...
33.23
97
0.629652
91f4074bd7738ac6d60d530d981e41c37bc16700
270
ex
Elixir
lib/hl7/2.4/segments/cm1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/cm1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/cm1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_4.Segments.CM1 do @moduledoc false require Logger alias HL7.V2_4.{DataTypes} use HL7.Segment, fields: [ segment: nil, set_id_cm1: nil, study_phase_identifier: DataTypes.Ce, description_of_study_phase: nil ] end
18
43
0.681481
91f41b0f4f11dd8d6f447238138a8f0caaf76a94
329
ex
Elixir
lib/aoc2019/day5.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
1
2020-03-27T14:57:32.000Z
2020-03-27T14:57:32.000Z
lib/aoc2019/day5.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
1
2019-12-07T14:32:47.000Z
2019-12-08T16:18:07.000Z
lib/aoc2019/day5.ex
pauljxtan/aoc2019
77abd8720a82b6d6080419fe3f34acbb781899d4
[ "WTFPL" ]
null
null
null
defmodule Aoc2019.Day5 do @behaviour DaySolution def solve_part1(), do: get_program() |> Intcode.eval(%IntcodeParams{inputs: [1]}) |> Enum.at(-1) def solve_part2(), do: get_program() |> Intcode.eval(%IntcodeParams{inputs: [5]}) |> Enum.at(-1) defp get_program(), do: Utils.load_delim_ints("inputs/input_day5", ...
36.555556
98
0.693009
91f429bfe77aa2a7b5f006a312abf2780c0a95ce
2,567
ex
Elixir
apps/engine/test/support/poller.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/engine/test/support/poller.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/engine/test/support/poller.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule Poller do @moduledoc """ Geth poller for anything that just takes time... """ alias ExPlasma.Encoding require Logger @sleep_retry_sec 1_000 @retry_count 30 def wait_on_receipt_confirmed(receipt_hash, opts) do wait_on_receipt_status(receipt_hash, "0x1", @retry_count, opts) end defp...
33.337662
112
0.693027
91f439400513bb2bd3a0a877fbaf33d4ea3cb323
842
exs
Elixir
test/xdr/types/void_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
test/xdr/types/void_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
test/xdr/types/void_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.VoidTest do use ExUnit.Case alias StellarBase.XDR.Void describe "Void" do setup do %{ void: Void.new(), binary: "" } end test "new/1" do %Void{value: nil} = Void.new() end test "encode_xdr/1", %{void: void, binary: binary} do ...
21.589744
59
0.583135
91f456a38a8e2b19e75ab4cd9a2ad8c9e149819c
384
ex
Elixir
lib/four_lucha/character.ex
Thomas-Jean/four_lucha
591627059c02edc3315b5cac2c35eacb821108ff
[ "Apache-2.0" ]
1
2021-02-21T19:15:27.000Z
2021-02-21T19:15:27.000Z
lib/four_lucha/character.ex
Thomas-Jean/four_lucha
591627059c02edc3315b5cac2c35eacb821108ff
[ "Apache-2.0" ]
null
null
null
lib/four_lucha/character.ex
Thomas-Jean/four_lucha
591627059c02edc3315b5cac2c35eacb821108ff
[ "Apache-2.0" ]
null
null
null
defmodule FourLucha.Character do @moduledoc false @item "character" @items "characters" use FourLucha.BaseHelpers use FourLucha.BaseSingular use FourLucha.BasePlural alias FourLucha.Resource.Character, as: Character require FourLucha.Client defp get_resource do Character end defp get_known_...
19.2
51
0.752604
91f46a1cbd2f5104ccba2a6647153a0c84c7e052
211
ex
Elixir
lib/membrane/element/callback_context/event.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
515
2018-06-18T11:09:44.000Z
2020-07-31T07:54:35.000Z
lib/membrane/element/callback_context/event.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
120
2018-06-07T08:34:06.000Z
2020-07-30T07:09:50.000Z
lib/membrane/element/callback_context/event.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
13
2018-07-27T11:58:15.000Z
2020-05-06T15:19:55.000Z
defmodule Membrane.Element.CallbackContext.Event do @moduledoc """ Structure representing a context that is passed to the element when handling event. """ use Membrane.Core.Element.CallbackContext end
26.375
64
0.781991
91f476e6dbe72904d9f73afe2704e118399ca70f
2,268
ex
Elixir
lib/cqrs/absinthe/errors.ex
trbngr/elixir_cqrs_tools
a78076144c118474789421c0ae29bd642ad13566
[ "MIT" ]
17
2021-05-04T09:27:48.000Z
2022-02-02T00:53:28.000Z
lib/cqrs/absinthe/errors.ex
trbngr/elixir_cqrs_tools
a78076144c118474789421c0ae29bd642ad13566
[ "MIT" ]
18
2021-05-05T21:17:54.000Z
2021-12-08T19:25:21.000Z
lib/cqrs/absinthe/errors.ex
trbngr/elixir_cqrs_tools
a78076144c118474789421c0ae29bd642ad13566
[ "MIT" ]
2
2021-05-04T13:35:00.000Z
2021-07-08T22:28:32.000Z
if Code.ensure_loaded?(Absinthe) do defmodule Cqrs.Absinthe.InvalidEnumError do defexception [:module, :field] def message(%{module: module, field: field}) do "The field '#{inspect(module)}.#{field}' is not an enum." end end defmodule Cqrs.Absinthe.InvalidSourceError do defexception [:modu...
27
95
0.623898
91f4886da786108ce16f1ea027ebb365fc59716d
457
exs
Elixir
mix.exs
PavelVesnin/phx_scaffold
2cee102cae110f60a7527d8068fc296a5d5e5f69
[ "MIT" ]
null
null
null
mix.exs
PavelVesnin/phx_scaffold
2cee102cae110f60a7527d8068fc296a5d5e5f69
[ "MIT" ]
null
null
null
mix.exs
PavelVesnin/phx_scaffold
2cee102cae110f60a7527d8068fc296a5d5e5f69
[ "MIT" ]
null
null
null
defmodule PhxScaffold.Mixfile do use Mix.Project def project do [app: :phx_scaffold, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end def application do # Specify extra applications you'll use from Erlan...
19.869565
62
0.601751
91f4a78ab4da85595ccae416f583bc6bde0e236e
412
exs
Elixir
test/test_helper.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
2
2018-10-03T07:41:32.000Z
2021-03-21T11:27:27.000Z
test/test_helper.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
1
2018-10-31T04:55:59.000Z
2018-10-31T04:55:59.000Z
test/test_helper.exs
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
5
2018-09-27T11:30:44.000Z
2021-01-16T08:28:58.000Z
{:ok, _} = Application.ensure_all_started(:ex_machina) Faker.start() Bureaucrat.start( env_var: "DOC", writer: Bureaucrat.SwaggerSlateMarkdownWriter, default_path: "doc/source/index.html.md", swagger: "priv/static/swagger.json" |> File.read!() |> Poison.decode!() ) ExUnit.start(formatters: [ExUnit.CLIFormatt...
27.466667
73
0.752427
91f4c26ae38bda532b35b80fc16873e41fcb6055
2,973
ex
Elixir
lib/appsignal/instrumentation/decorators.ex
rolandtritsch/appsignal-elixir
27e001f144e7b13ff9d9fd5ea6cb30dd44055569
[ "MIT" ]
1
2020-08-11T08:13:25.000Z
2020-08-11T08:13:25.000Z
lib/appsignal/instrumentation/decorators.ex
gjaldon/appsignal-elixir
36d872d96d4c53152e365558bcfe96a3ba689fb9
[ "MIT" ]
null
null
null
lib/appsignal/instrumentation/decorators.ex
gjaldon/appsignal-elixir
36d872d96d4c53152e365558bcfe96a3ba689fb9
[ "MIT" ]
null
null
null
defmodule Appsignal.Instrumentation.Decorators do @moduledoc """ Instrumentation decorators This module contains various [function decorators](https://github.com/arjan/decorator) for instrumenting function calls. `@decorate transaction` - when a function decorated like this is called, a transaction is s...
28.314286
93
0.698285
91f4f0c23e2499397e6e63b801ee8713f364d445
5,665
ex
Elixir
lib/glfw.ex
elcritch/scenic_driver_glfw
bbf02a23a1bf05c77b691629f7273a932f5c8b97
[ "Apache-2.0" ]
1
2019-08-13T08:50:29.000Z
2019-08-13T08:50:29.000Z
lib/glfw.ex
gVirtu/scenic_driver_glfw
8f051e14099c24f106babda1ac14886182719668
[ "Apache-2.0" ]
null
null
null
lib/glfw.ex
gVirtu/scenic_driver_glfw
8f051e14099c24f106babda1ac14886182719668
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on 05/31/18. # Copyright © 2018 Kry10 Industries. All rights reserved. # # sends data to a Glfw port app # defmodule Scenic.Driver.Glfw do @moduledoc """ """ use Scenic.ViewPort.Driver alias Scenic.Cache alias Scenic.Driver.Glfw # import IEx require Logger @port '/'...
28.467337
91
0.564872
91f4f9933d0f0a8ad573a7a120cb946a5c556261
15,756
ex
Elixir
data/web/deps/calendar/lib/calendar/date_time/parse.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/calendar/lib/calendar/date_time/parse.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/calendar/lib/calendar/date_time/parse.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
defmodule Calendar.DateTime.Parse do import Calendar.ParseUtil @secs_between_year_0_and_unix_epoch 719528*24*3600 # From erlang calendar docs: there are 719528 days between Jan 1, 0 and Jan 1, 1970. Does not include leap seconds @doc """ Parses an RFC 822 datetime string and shifts it to UTC. Takes an RFC...
45.40634
242
0.643628
91f50898ca18d96fec24f33e271593bea7ff1616
8,026
ex
Elixir
lib/phoenix_component.ex
ibarchenkov/phoenix_live_view
e6004d850cd04c55cc8138b5e41a427de1881e7b
[ "MIT" ]
1
2020-09-09T09:10:01.000Z
2020-09-09T09:10:01.000Z
lib/phoenix_component.ex
ibarchenkov/phoenix_live_view
e6004d850cd04c55cc8138b5e41a427de1881e7b
[ "MIT" ]
null
null
null
lib/phoenix_component.ex
ibarchenkov/phoenix_live_view
e6004d850cd04c55cc8138b5e41a427de1881e7b
[ "MIT" ]
null
null
null
defmodule Phoenix.Component do @moduledoc ~S''' API for function components. A function component is any function that receives an assigns map as argument and returns a rendered struct built with [the `~H` sigil](`Phoenix.LiveView.Helpers.sigil_H/2`). Here is an example: defmodule MyComponent do ...
27.114865
103
0.596063
91f53b34858077a2e3d7f038baac8250a1012154
1,264
exs
Elixir
kousa/test/broth/casts/make_room_public_test.exs
movwf/dogehouse
c97c04164e98853c6221100a97cc4ff1af84de7b
[ "MIT" ]
2
2021-03-30T02:44:54.000Z
2021-11-12T12:05:48.000Z
kousa/test/broth/casts/make_room_public_test.exs
movwf/dogehouse
c97c04164e98853c6221100a97cc4ff1af84de7b
[ "MIT" ]
2
2022-02-15T04:33:25.000Z
2022-02-28T01:39:56.000Z
kousa/test/broth/casts/make_room_public_test.exs
movwf/dogehouse
c97c04164e98853c6221100a97cc4ff1af84de7b
[ "MIT" ]
1
2021-02-21T05:26:41.000Z
2021-02-21T05:26:41.000Z
defmodule KousaTest.Broth.MakeRoomPublicTest do use ExUnit.Case, async: true use Kousa.Support.EctoSandbox alias Beef.Schemas.User alias Beef.Users alias Beef.Rooms alias Broth.WsClient alias Broth.WsClientFactory alias Kousa.Support.Factory require WsClient setup do user = Factory.create(Use...
29.395349
98
0.670095
91f54cdac678e251b1ee31804ee2ffacbe144df6
3,621
ex
Elixir
lib/mix/lib/mix/tasks/deps.clean.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/mix/lib/mix/tasks/deps.clean.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/deps.clean.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
8
2018-02-20T18:30:53.000Z
2019-06-18T14:23:31.000Z
defmodule Mix.Tasks.Deps.Clean do use Mix.Task @shortdoc "Deletes the given dependencies' files" @moduledoc """ Deletes the given dependencies' files, including build artifacts and fetched sources. Since this is a destructive action, cleaning of dependencies only occurs when passing arguments/options: ...
28.968
95
0.63187
91f54fe1398060de14165f0db76121acc5ba2ed4
17,555
ex
Elixir
deps/postgrex/lib/postgrex.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
defmodule Postgrex do @moduledoc """ PostgreSQL driver for Elixir. This module handles the connection to Postgres, providing support for queries, transactions, connection backoff, logging, pooling and more. Note that the notifications API (pub/sub) supported by Postgres is handled by `Postgrex.Notificat...
38.329694
108
0.668812
91f56ea24733e2d8123d4d6bb8675c0cc7f1a0aa
2,396
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_service_account.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_service_account.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/v1_service_account.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# 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...
39.933333
197
0.732888
91f57e5f3fc33ba6ec667b08b57d08bd6a5af1a5
6,900
ex
Elixir
lib/couchdb_connector/admin.ex
leo-pires/couchdb_connector
057ff5de79a88d66db5d99ea2b8ab77753587ae4
[ "Apache-2.0" ]
null
null
null
lib/couchdb_connector/admin.ex
leo-pires/couchdb_connector
057ff5de79a88d66db5d99ea2b8ab77753587ae4
[ "Apache-2.0" ]
null
null
null
lib/couchdb_connector/admin.ex
leo-pires/couchdb_connector
057ff5de79a88d66db5d99ea2b8ab77753587ae4
[ "Apache-2.0" ]
1
2019-06-11T21:20:34.000Z
2019-06-11T21:20:34.000Z
defmodule Couchdb.Connector.Admin do @moduledoc """ The Admin module provides functions to create and update users in the CouchDB server given by the database properties. ## Examples db_props = %{protocol: "http", hostname: "localhost",database: "couchdb_connector_test", port: 5984} %{database: "c...
35.204082
116
0.643913
91f5bbf4a2e9d79d31e7af05e2c8d0e151e98ae5
965
exs
Elixir
day18/test/day18_test.exs
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
10
2021-12-01T08:49:00.000Z
2022-03-24T13:24:50.000Z
day18/test/day18_test.exs
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
null
null
null
day18/test/day18_test.exs
bjorng/advent-of-code-2021
82c22dfa0ba7e9134e39b9dbc95227bb99f62c8d
[ "Apache-2.0" ]
1
2021-12-16T07:09:11.000Z
2021-12-16T07:09:11.000Z
defmodule Day18Test do use ExUnit.Case doctest Day18 test "part 1 with example" do assert Day18.part1(example()) == 4140 end test "part 1 with my input data" do assert Day18.part1(input()) == 4088 end test "part 2 with example" do assert Day18.part2(example()) == 3993 end test "part 2 ...
22.97619
53
0.456995
91f5c3f18748e9c04d0eb8e810f204b01aa75402
1,652
exs
Elixir
utils/test/utils_test.exs
auranykh/beta_curriculum
b41af67343f13b2c411956ab4789b2a952a4e682
[ "MIT" ]
null
null
null
utils/test/utils_test.exs
auranykh/beta_curriculum
b41af67343f13b2c411956ab4789b2a952a4e682
[ "MIT" ]
null
null
null
utils/test/utils_test.exs
auranykh/beta_curriculum
b41af67343f13b2c411956ab4789b2a952a4e682
[ "MIT" ]
null
null
null
defmodule UtilsTest do use ExUnit.Case doctest Utils alias Utils.Solutions alias Utils.Factory import ExUnit.CaptureLog require Logger test "slide/1" do Utils.Slide.__info__(:functions) |> Enum.each(fn {slide_name, _arity} -> assert %Kino.JS.Live{} = Utils.slide(slide_name) end) end ...
25.030303
75
0.649516
91f5c5843615083bd20e9ae10f453be30429fb8a
1,856
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/model/review.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/model/review.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/model/review.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...
35.018868
153
0.71875
91f5ff04af65ac5961ddb7b9ea86ba0de2c7a9b1
2,024
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/mobile_app.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/mobile_app.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/mobile_app.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.305085
164
0.688735
91f616b416cb4b050257669dab506b413b3e88fe
6,260
ex
Elixir
clients/content/lib/google_api/content/v2/api/orderinvoices.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/orderinvoices.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/orderinvoices.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# 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...
39.872611
303
0.682748
91f617a9e236e40e19e3b6ecc6d716c8ce37406f
491
ex
Elixir
apps/voyager/lib/voyager_web/views/error_view.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
3
2020-11-24T07:45:26.000Z
2021-07-29T13:37:02.000Z
apps/voyager/lib/voyager_web/views/error_view.ex
mskcc/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
52
2020-10-21T19:47:59.000Z
2021-09-09T18:42:33.000Z
apps/voyager/lib/voyager_web/views/error_view.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
1
2020-12-15T03:33:31.000Z
2020-12-15T03:33:31.000Z
defmodule VoyagerWeb.ErrorView do use VoyagerWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name...
28.882353
61
0.735234
91f62f0a79e07a5cf93260d8ef90527c626fb15e
139
ex
Elixir
nolive/hiyoko/lib/hiyoko_web/controllers/page_controller.ex
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
null
null
null
nolive/hiyoko/lib/hiyoko_web/controllers/page_controller.ex
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
1
2019-09-11T14:22:29.000Z
2019-09-11T14:22:29.000Z
hiyoko/lib/hiyoko_web/controllers/page_controller.ex
rykawamu/phoenix_liveview_practice_01
e30ab2304473a995a3b36335ceb212a9bbed012f
[ "MIT" ]
null
null
null
defmodule HiyokoWeb.PageController do use HiyokoWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
17.375
37
0.733813
91f70e6714c9e91bcc01d4ba3cbed008ba0fd7a2
1,203
ex
Elixir
lib/crit_biz/view_models/support/date_or_dates.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
6
2019-07-16T19:31:23.000Z
2021-06-05T19:01:05.000Z
lib/crit_biz/view_models/support/date_or_dates.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
null
null
null
lib/crit_biz/view_models/support/date_or_dates.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
3
2020-02-24T23:38:27.000Z
2020-08-01T23:50:17.000Z
defmodule CritBiz.ViewModels.DateOrDates do use Ecto.Schema use Crit.Global.Constants alias Crit.Servers.Institution import Ecto.Changeset @last_day_radio_value "just one day" embedded_schema do field :first_datestring, :string, default: @today field :last_datestring, :string, default: @last_da...
25.0625
70
0.679967
91f714ce792dfd044897a30b4de9ecb851a9d19b
797
ex
Elixir
lib/test/gear_log_helper.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
lib/test/gear_log_helper.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
lib/test/gear_log_helper.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2019 ACCESS CO., LTD. All rights reserved. use Croma defmodule Antikythera.Test.GearLogHelper do @moduledoc """ Helpers to work with gear logs within tests. """ alias Antikythera.{Context, Conn} alias Antikythera.Test.ConnHelper alias AntikytheraCore.GearLog.ContextHelper @doc """ ...
31.88
126
0.70138
91f73507d4fa582eccdc6e6216e125034d6c9756
1,324
ex
Elixir
apps/astarte_housekeeping/test/support/database_test_helper.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_housekeeping/test/support/database_test_helper.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_housekeeping/test/support/database_test_helper.ex
Annopaolo/astarte
f8190e8bf044759a9b84bdeb5786a55b6f793a4f
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 2018 Ispirata Srl # # 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 appl...
25.461538
74
0.688066
91f7413d297696b352d5840d063c22cf13303b87
937
ex
Elixir
web/controllers/project_controller.ex
dmccown/kanban
bf955b2b1f30176c3380b2ee7e1c5ba1174b8d72
[ "MIT" ]
1
2020-06-30T11:42:09.000Z
2020-06-30T11:42:09.000Z
web/controllers/project_controller.ex
dmccown/kanban
bf955b2b1f30176c3380b2ee7e1c5ba1174b8d72
[ "MIT" ]
null
null
null
web/controllers/project_controller.ex
dmccown/kanban
bf955b2b1f30176c3380b2ee7e1c5ba1174b8d72
[ "MIT" ]
null
null
null
defmodule Kanban.ProjectController do use Phoenix.Controller alias Kanban.Project alias Kanban.Repo require Logger plug :action def index(conn, _params) do render conn, :index, projects: Repo.all(Project) end def new(conn, _params) do render conn, :new end def create(conn, %{"project" =...
21.295455
73
0.620064
91f7416a2c99de1a9844df67e662ff4940bb5d5e
2,879
exs
Elixir
apps/astarte_trigger_engine/mix.exs
atsetilam/astarte
7131f7c270c028801f476b7e3c86eb111d852737
[ "Apache-2.0" ]
null
null
null
apps/astarte_trigger_engine/mix.exs
atsetilam/astarte
7131f7c270c028801f476b7e3c86eb111d852737
[ "Apache-2.0" ]
null
null
null
apps/astarte_trigger_engine/mix.exs
atsetilam/astarte
7131f7c270c028801f476b7e3c86eb111d852737
[ "Apache-2.0" ]
null
null
null
# # This file is part of Astarte. # # Copyright 2017 Ispirata Srl # # 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 appl...
29.377551
97
0.633553
91f74eca806d51f4fb42865a6eb7d2ee922fd1bb
3,010
ex
Elixir
lib/elixir/lib/access.ex
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/access.ex
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/access.ex
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
defmodule Access do @moduledoc """ Dictionary-like access to data structures via the `foo[bar]` syntax. This module also empowers `Kernel`s nested update functions `Kernel.get_in/2`, `Kernel.put_in/3`, `Kernel.update_in/3` and `Kernel.get_and_update_in/3`. ## Examples Out of the box, Access works with ...
26.173913
80
0.623588
91f77b6a54e173c288486d514dfacaa0bd1fef44
141
ex
Elixir
phoenix/lib/ironman_web/controllers/page_controller.ex
MilesChou/ironman2020-sample
0d0c22fd744cd9605eb5b95668dc00a7bbec7a57
[ "MIT" ]
null
null
null
phoenix/lib/ironman_web/controllers/page_controller.ex
MilesChou/ironman2020-sample
0d0c22fd744cd9605eb5b95668dc00a7bbec7a57
[ "MIT" ]
null
null
null
phoenix/lib/ironman_web/controllers/page_controller.ex
MilesChou/ironman2020-sample
0d0c22fd744cd9605eb5b95668dc00a7bbec7a57
[ "MIT" ]
null
null
null
defmodule IronmanWeb.PageController do use IronmanWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
17.625
38
0.737589
91f78c0cb560d5ef6fb60efcb36798d65ffc7d08
1,297
ex
Elixir
git_graphed_api/lib/git_graphed_api_web/endpoint.ex
bahodge/git_graphed
773d34a0522028ef3ecc3f246d8ddf18031205d0
[ "MIT" ]
2
2019-04-14T04:19:08.000Z
2019-04-14T05:22:00.000Z
git_graphed_api/lib/git_graphed_api_web/endpoint.ex
bahodge/git_graphed
773d34a0522028ef3ecc3f246d8ddf18031205d0
[ "MIT" ]
null
null
null
git_graphed_api/lib/git_graphed_api_web/endpoint.ex
bahodge/git_graphed
773d34a0522028ef3ecc3f246d8ddf18031205d0
[ "MIT" ]
null
null
null
defmodule GitGraphedApiWeb.Endpoint do use Phoenix.Endpoint, otp_app: :git_graphed_api use Absinthe.Phoenix.Endpoint socket("/socket", GitGraphedApiWeb.UserSocket, websocket: true, longpoll: false ) # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if ...
25.431373
68
0.70239
91f791b559403674fd0b03d03f2c40d715f210f9
2,113
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_list_instructions_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_list_instructions_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_list_instructions_response.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...
34.080645
175
0.746805
91f7de21ad071f56ac334b340c14be194513d998
4,938
ex
Elixir
lib/lager_logger.ex
PSPDFKit-labs/lager_loger
a8c9695a37dfb278524c10a5ae2e99a0cfbd240a
[ "Apache-2.0" ]
33
2015-03-02T17:21:20.000Z
2021-05-28T19:32:13.000Z
lib/lager_logger.ex
PSPDFKit-labs/lager_loger
a8c9695a37dfb278524c10a5ae2e99a0cfbd240a
[ "Apache-2.0" ]
15
2015-03-03T00:00:56.000Z
2021-05-23T05:41:26.000Z
lib/lager_logger.ex
PSPDFKit-labs/lager_loger
a8c9695a37dfb278524c10a5ae2e99a0cfbd240a
[ "Apache-2.0" ]
22
2015-03-02T23:04:50.000Z
2020-03-16T19:22:55.000Z
defmodule LagerLogger do @moduledoc ~S""" A lager backend that forwards all log messages to Elixir's Logger. To forward all lager messages to Logger and otherwise disable lager include the following in a config.exs file: use Mix.Config # Stop lager redirecting :error_logger messages config ...
29.746988
99
0.649656
91f82362132f7d5585b35a706e213fc024d6cdd8
16,492
exs
Elixir
apps/rig_inbound_gateway/test/rig/proxy_test.exs
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
null
null
null
apps/rig_inbound_gateway/test/rig/proxy_test.exs
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
132
2018-11-26T14:00:54.000Z
2022-03-11T04:17:54.000Z
apps/rig_inbound_gateway/test/rig/proxy_test.exs
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
null
null
null
defmodule RigInboundGateway.ProxyTest do @moduledoc false use ExUnit.Case, async: false require Logger alias RigInboundGateway.Proxy use RigInboundGatewayWeb.ConnCase alias RigInboundGateway.ProxyConfig import RigInboundGateway.Proxy, only: [ list_apis: 1, get_api: 2, add_api: 3, ...
31.89942
98
0.585193
91f82903f7a758876b83b9fd62b55e5b4b5e80a5
1,845
exs
Elixir
test/relay/resolver_test.exs
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
5
2018-10-12T13:13:19.000Z
2020-10-03T17:51:37.000Z
test/relay/resolver_test.exs
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
207
2018-02-09T14:24:14.000Z
2020-07-25T11:09:19.000Z
test/relay/resolver_test.exs
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
1
2019-08-08T11:30:59.000Z
2019-08-08T11:30:59.000Z
defmodule Relay.ResolverTest do use ExUnit.Case, async: false alias Relay.Resolver setup do {:ok, resolver} = start_supervised(Resolver) %{resolver: resolver} end defp get_cache(), do: Agent.get(Resolver, & &1) test "ipv4 address" do assert Resolver.getaddr("127.0.0.1") == {:ok, "127.0.0.1"...
27.537313
74
0.630894
91f84eb985c8de2c8e903fbfea81a62c683c83a4
86
exs
Elixir
test/schemas/user_test.exs
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
test/schemas/user_test.exs
isshindev/accent
ae4c13139b0a0dfd64ff536b94c940a4e2862150
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
test/schemas/user_test.exs
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule AccentTest.User do use ExUnit.Case, async: true doctest Accent.User end
17.2
30
0.77907
91f85d0588afeb154cbb12241f7a55bc257e07f5
341
exs
Elixir
priv/repo/seeds.exs
nelsonblaha/yonder
6ab708d742e967dec63146b27b30e570ae21911f
[ "CC0-1.0" ]
null
null
null
priv/repo/seeds.exs
nelsonblaha/yonder
6ab708d742e967dec63146b27b30e570ae21911f
[ "CC0-1.0" ]
null
null
null
priv/repo/seeds.exs
nelsonblaha/yonder
6ab708d742e967dec63146b27b30e570ae21911f
[ "CC0-1.0" ]
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: # # Yonder.Repo.insert!(%SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail if s...
28.416667
61
0.70088
91f87663024da6205f202522f61d5acd962fffa7
3,855
ex
Elixir
lib/koans/15_processes.ex
dimadboss/elixir-koans
a855f65fedee57ffec89faf5a3049dcf04003e20
[ "MIT" ]
null
null
null
lib/koans/15_processes.ex
dimadboss/elixir-koans
a855f65fedee57ffec89faf5a3049dcf04003e20
[ "MIT" ]
null
null
null
lib/koans/15_processes.ex
dimadboss/elixir-koans
a855f65fedee57ffec89faf5a3049dcf04003e20
[ "MIT" ]
null
null
null
defmodule Processes do use Koans @intro "Processes" koan "You are a process" do assert Process.alive?(self()) == true end koan "You can ask a process to introduce itself" do information = Process.info(self()) assert information[:status] == :running end koan "Processes are referenced by th...
21.903409
93
0.622049
91f89833e88a73ae8fff5c255dec328f81742e0d
9,397
ex
Elixir
lib/mix/lib/releases/appups.ex
LaudateCorpus1/distillery
bbf7f1871553465eb21ef8ed5e2ace3308d79683
[ "MIT" ]
2
2020-07-01T20:41:46.000Z
2021-09-09T05:44:30.000Z
lib/mix/lib/releases/appups.ex
LaudateCorpus1/distillery
bbf7f1871553465eb21ef8ed5e2ace3308d79683
[ "MIT" ]
null
null
null
lib/mix/lib/releases/appups.ex
LaudateCorpus1/distillery
bbf7f1871553465eb21ef8ed5e2ace3308d79683
[ "MIT" ]
3
2021-06-03T10:01:32.000Z
2022-03-17T09:57:37.000Z
defmodule Mix.Releases.Appup do @moduledoc """ This module is responsible for generating appups between two releases. """ @type app :: atom @type version_str :: String.t @type path_str :: String.t @type appup_ver :: char_list @type instruction :: {:add_module, module} | {:delet...
40.15812
109
0.644142
91f89c4a243af913f2761e378b8370a5d5326f93
716
ex
Elixir
lib/user_manager/authenticate/authenticate_workflow_supervisor.ex
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
3
2017-04-02T11:17:31.000Z
2017-09-08T09:12:11.000Z
lib/user_manager/authenticate/authenticate_workflow_supervisor.ex
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
15
2017-02-11T01:08:54.000Z
2017-02-22T09:45:41.000Z
lib/user_manager/authenticate/authenticate_workflow_supervisor.ex
Alezrik/user_manager
ef30f87587f652842b335b38dd2222873dbcb56b
[ "MIT" ]
1
2018-06-19T04:10:53.000Z
2018-06-19T04:10:53.000Z
defmodule UserManager.Authenticate.AuthenticateWorkflowSupervisor.Supervisor do @moduledoc false use Supervisor def start_link(arg) do {:ok, pid} = Supervisor.start_link(__MODULE__, arg) Process.register(pid, UserManager.Authenticate.AuthenticateWorkflowSupervisor.Supervisor) {:ok, pid} end def in...
37.684211
93
0.761173
91f8b69b03640656a1ff9a0ae549cd37007ae387
893
ex
Elixir
lib/survey/endpoint.ex
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
48
2015-06-29T21:20:25.000Z
2021-05-09T04:27:41.000Z
lib/survey/endpoint.ex
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
null
null
null
lib/survey/endpoint.ex
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
15
2015-06-29T21:13:57.000Z
2021-07-27T10:02:40.000Z
defmodule Survey.Endpoint do use Phoenix.Endpoint, otp_app: :survey # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. socket "/ws", Survey.UserSocket socket "/ws/websocket", Su...
25.514286
94
0.714446
91f8ddaf19873dc4b0f1446eae4e1c983b1bf9fe
3,587
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/test_case.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/test_case.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/test_case.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
43.743902
186
0.716755
91f8e7e1d5026c29f2741bddb72b4782c359c8de
190
exs
Elixir
priv/repo/migrations/20200224212658_add_last_section_to_challenges.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
priv/repo/migrations/20200224212658_add_last_section_to_challenges.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
priv/repo/migrations/20200224212658_add_last_section_to_challenges.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule ChallengeGov.Repo.Migrations.AddLastSectionToChallenges do use Ecto.Migration def change do alter table(:challenges) do add :last_section, :string end end end
19
68
0.747368
91f8fa85ca042c1de8524b94afadbf0c54356379
1,485
ex
Elixir
apps/customer/lib/customer/es/paginator.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
102
2017-05-21T18:24:04.000Z
2022-03-10T12:53:20.000Z
apps/customer/lib/customer/es/paginator.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
2
2017-05-21T01:53:30.000Z
2017-12-01T00:27:06.000Z
apps/customer/lib/customer/es/paginator.ex
JaiMali/job_search-1
5fe1afcd80aa5d55b92befed2780cd6721837c88
[ "MIT" ]
18
2017-05-22T09:51:36.000Z
2021-09-24T00:57:01.000Z
defmodule Customer.Es.Paginator do alias Customer.Es alias Customer.Repo import Ecto.Query defstruct [ results: [], entries: [], page: 0, page_size: 0, prev_page: 0, next_page: 0, has_prev: false, has_next: false, total: 0, total_pages: 0, ] def paginate(results, ...
21.521739
97
0.620875
91f90eb231c3ab6cac5a63ecd61199d5b9629a1d
1,603
exs
Elixir
config/config.exs
doomspork/admissions
a1fd7946dc980189f47a5b808c12e56655fdedfb
[ "Apache-2.0" ]
18
2018-12-01T22:55:24.000Z
2022-03-11T04:12:43.000Z
config/config.exs
doomspork/admissions
a1fd7946dc980189f47a5b808c12e56655fdedfb
[ "Apache-2.0" ]
14
2018-12-01T01:00:33.000Z
2021-06-24T00:40:39.000Z
config/config.exs
doomspork/admissions
a1fd7946dc980189f47a5b808c12e56655fdedfb
[ "Apache-2.0" ]
1
2019-02-10T16:12:15.000Z
2019-02-10T16:12:15.000Z
# 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 :admissions, Ad...
32.06
109
0.766687
91f91e94a951c4f36ef4c024e952ccdf3bf427a7
2,125
ex
Elixir
lib/tic_tac_toe/server.ex
bschmeck/tic_tac_toe
61eacfc2346b677571eb649f1d795f41cd32e163
[ "MIT" ]
null
null
null
lib/tic_tac_toe/server.ex
bschmeck/tic_tac_toe
61eacfc2346b677571eb649f1d795f41cd32e163
[ "MIT" ]
null
null
null
lib/tic_tac_toe/server.ex
bschmeck/tic_tac_toe
61eacfc2346b677571eb649f1d795f41cd32e163
[ "MIT" ]
null
null
null
defmodule TicTacToe.Server do use GenServer alias TicTacToe.{Game, Server} def init(_) do { :ok, %Game{} } end def handle_call({:claim, location}, {pid, _ref}, %Game{player_x: x_pid, player_o: o_pid, turn: turn} = game) when (pid == x_pid and turn == :x) or (pid == o_pid and turn == :o) do case Gam...
23.611111
181
0.592471
91f93f61a15655606094e094d44c4336cb56c56b
2,113
ex
Elixir
lib/cforum/forums/forum.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
lib/cforum/forums/forum.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
lib/cforum/forums/forum.ex
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule Cforum.Forums.Forum do use CforumWeb, :model use Cforum.Constants @primary_key {:forum_id, :id, autogenerate: true} @derive {Phoenix.Param, key: :slug} schema "forums" do field(:slug, :string) field(:short_name, :string) field(:name, :string) field(:type, :string, default: "forum")...
26.746835
107
0.627071
91f947cb36bc4d16c0662e5a7ed9ef510920ab32
249
ex
Elixir
lib/app_api.ex
turbo-play/phoenix-services
9d3318c6b5d5ce6dead441758fc86ec34892b0f6
[ "Apache-2.0" ]
2
2018-07-05T15:13:12.000Z
2021-12-16T08:58:56.000Z
lib/app_api.ex
turbo-play/phoenix-services
9d3318c6b5d5ce6dead441758fc86ec34892b0f6
[ "Apache-2.0" ]
null
null
null
lib/app_api.ex
turbo-play/phoenix-services
9d3318c6b5d5ce6dead441758fc86ec34892b0f6
[ "Apache-2.0" ]
2
2018-08-13T21:37:00.000Z
2021-11-10T04:08:26.000Z
defmodule AppApi do @moduledoc """ AppApi 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
24.9
66
0.751004
91f981f3ab547792e79671b6017edc4831859342
32
ex
Elixir
testData/org/elixir_lang/reference/module/as/suffix2.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/reference/module/as/suffix2.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/reference/module/as/suffix2.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
defmodule Prefix.Suffix2 do end
10.666667
27
0.84375
91f9957552c432462741ff695068384e18dc2611
91
ex
Elixir
examples/bank/lib/bank/events/money_deposited.ex
OleMchls/incident
220e46598719fc50d10c96e5a848080172bf6f9b
[ "MIT" ]
null
null
null
examples/bank/lib/bank/events/money_deposited.ex
OleMchls/incident
220e46598719fc50d10c96e5a848080172bf6f9b
[ "MIT" ]
null
null
null
examples/bank/lib/bank/events/money_deposited.ex
OleMchls/incident
220e46598719fc50d10c96e5a848080172bf6f9b
[ "MIT" ]
null
null
null
defmodule Bank.Events.MoneyDeposited do defstruct [:aggregate_id, :amount, :version] end
22.75
46
0.791209
91f9ad76f588d7f8d3be1e241dd67dded6f1cdea
3,085
ex
Elixir
lib/wechat/pay/pay.ex
feng19/wechat
431c22818c60cd01fc5c676aa060feb303d0c444
[ "Apache-2.0" ]
7
2021-01-22T04:07:29.000Z
2021-12-14T14:01:30.000Z
lib/wechat/pay/pay.ex
feng19/wechat
431c22818c60cd01fc5c676aa060feb303d0c444
[ "Apache-2.0" ]
1
2021-03-17T15:44:26.000Z
2021-03-17T15:44:26.000Z
lib/wechat/pay/pay.ex
feng19/wechat
431c22818c60cd01fc5c676aa060feb303d0c444
[ "Apache-2.0" ]
2
2021-03-17T14:35:56.000Z
2021-08-10T07:44:10.000Z
defmodule WeChat.Pay do @moduledoc false @typedoc "商户号" @type mch_id :: binary @typedoc "平台证书的序列号" @type serial_no :: binary @typedoc "平台证书列表" @type cacerts :: [binary] @typedoc "商户API证书" @type client_cert :: binary @typedoc "商户API私钥" @type client_key :: binary @type client :: module() @type ...
27.061404
85
0.623663
91f9b51fc5800471d4e3b7a026b7e033f818c5e0
1,463
exs
Elixir
mix.exs
probably-not/remix
4d1d8189c8cb7df78fcd1b89c7cf62fc93b8926a
[ "MIT" ]
3
2018-11-18T19:45:38.000Z
2020-04-23T20:30:04.000Z
mix.exs
coby-spotim/remix
4d1d8189c8cb7df78fcd1b89c7cf62fc93b8926a
[ "MIT" ]
2
2019-05-31T11:56:54.000Z
2020-11-15T10:46:41.000Z
mix.exs
coby-spotim/remix
4d1d8189c8cb7df78fcd1b89c7cf62fc93b8926a
[ "MIT" ]
2
2019-05-31T09:14:31.000Z
2020-11-13T08:50:52.000Z
defmodule Remix.Mixfile do use Mix.Project def project do [ app: :remixed_remix, version: "2.0.2", elixir: "~> 1.6", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, package: package(), name: "RemixedRemix", source_url: "https://github.com...
28.134615
127
0.626111
91f9c05eba2cbaceb92f1b8b4e6372040fe34786
66,988
ex
Elixir
lib/elixir/lib/macro.ex
oo6/elixir
6a94b996bbf7488d174886fb5a4917e09e05e731
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/macro.ex
oo6/elixir
6a94b996bbf7488d174886fb5a4917e09e05e731
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/macro.ex
oo6/elixir
6a94b996bbf7488d174886fb5a4917e09e05e731
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [to_string: 1] defmodule Macro do @moduledoc ~S""" Macros are compile-time constructs that receive Elixir's AST as input and return Elixir's AST as output. Many of the functions in this module exist precisely to work with Elixir AST, to traverse, query, and transform it. Let's see ...
30.602101
103
0.615155
91f9ca62d870fa0ce464ab52a43ebfa1c0baeba4
2,271
exs
Elixir
test/ecto/migrator_repo_test.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
null
null
null
test/ecto/migrator_repo_test.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
null
null
null
test/ecto/migrator_repo_test.exs
hauleth/ecto_sql
1d7f4b73bfa04e02a26bba8b3ea79a457850af0f
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.MigratorRepoTest do use ExUnit.Case import Ecto.Migrator import ExUnit.CaptureLog defmodule Migration do use Ecto.Migration def up do execute "up" end def down do execute "down" end end defmodule ChangeMigration do use Ecto.Migration def change do...
26.103448
124
0.668868
91f9de1cb338daf4430b517f44b9ef173599a0e6
9,583
ex
Elixir
lib/playwright/element_handle.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
30
2021-06-01T16:59:35.000Z
2022-03-25T16:56:19.000Z
lib/playwright/element_handle.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
35
2021-06-10T17:05:31.000Z
2022-02-11T22:30:36.000Z
lib/playwright/element_handle.ex
dbrody/playwright-elixir
48611c08dbdb8e36aa4dd8aa2d97a4014b753815
[ "MIT" ]
4
2021-08-13T20:38:18.000Z
2022-01-31T04:32:35.000Z
defmodule Playwright.ElementHandle do @moduledoc """ `ElementHandle` represents an in-page DOM element. `ElementHandles` can be created with the `Playwright.Page.query_selector/3` function, and similar. > ⚠️ DISCOURAGED > > The use of `Playwright.ElementHandle` is discouraged; use > `Playwright.Locato...
31.731788
108
0.655223
91f9e7da4a59b41da488cf52962bdfe6eaebb7c2
1,780
ex
Elixir
lib/fl_hook/event.ex
tlux/fl_hook_client
0cd74c1d8873eea8aa654710efe7aab97a1eec5c
[ "MIT" ]
1
2022-01-26T21:06:26.000Z
2022-01-26T21:06:26.000Z
lib/fl_hook/event.ex
tlux/fl_hook_client
0cd74c1d8873eea8aa654710efe7aab97a1eec5c
[ "MIT" ]
null
null
null
lib/fl_hook/event.ex
tlux/fl_hook_client
0cd74c1d8873eea8aa654710efe7aab97a1eec5c
[ "MIT" ]
null
null
null
defmodule FLHook.Event do @moduledoc """ An event that is sent by the client in event mode when something happens on the server. """ alias FLHook.ParamError alias FLHook.Params @event_types [ "baseenter", "baseexit", "chat", "connect", "disconnect", "jumpin", "kill", "lau...
25.428571
79
0.625843
91f9ea135c8640f4776f39399976db4998537d04
2,629
ex
Elixir
apps/snitch_core/lib/core/domain/shipping_calculator.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/lib/core/domain/shipping_calculator.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/lib/core/domain/shipping_calculator.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Domain.ShippingCalculator do @moduledoc """ Defines the calculator module for shipping. The core functionality of the module is to handle caluclation of shipping rates. """ alias Snitch.Core.Tools.MultiTenancy.Repo alias Snitch.Data.Model.GeneralConfiguration, as: GCModel alias Snitch...
36.013699
80
0.741347
91fa0ce32bb2337fa7b710bb83fd50a25ef925ff
183
exs
Elixir
test/elixir_structure_manager_test.exs
juanes1a/elixir_structure_manager
23bda502df9c5b9c29c534191cac522ff01d2757
[ "MIT" ]
null
null
null
test/elixir_structure_manager_test.exs
juanes1a/elixir_structure_manager
23bda502df9c5b9c29c534191cac522ff01d2757
[ "MIT" ]
null
null
null
test/elixir_structure_manager_test.exs
juanes1a/elixir_structure_manager
23bda502df9c5b9c29c534191cac522ff01d2757
[ "MIT" ]
null
null
null
defmodule ElixirStructureManagerTest do use ExUnit.Case doctest ElixirStructureManager test "greets the world" do assert ElixirStructureManager.hello() == :world end end
20.333333
51
0.781421
91fa3539fa27b0becb35295ef6a2189ca0a65e9e
2,602
exs
Elixir
test/credo/check/warning/application_config_in_module_attribute_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
test/credo/check/warning/application_config_in_module_attribute_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
test/credo/check/warning/application_config_in_module_attribute_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.Check.Warning.ApplicationConfigInModuleAttributeTest do use Credo.Test.Case @described_check Credo.Check.Warning.ApplicationConfigInModuleAttribute # # cases NOT raising issues # test "it should NOT report an issue if compile_env and compile_env! are used" do """ defmodule CredoSa...
28.593407
114
0.658724
91fa3ece4ad032595846044c02f352265926b6ce
3,579
ex
Elixir
lib/rethinkdb/pseudotypes.ex
hamiltop/rethinkdb-elixir
38adb3065792c954cc431365eb233d7db2c98873
[ "MIT" ]
530
2015-05-12T21:06:49.000Z
2021-07-29T01:06:43.000Z
lib/rethinkdb/pseudotypes.ex
hamiltop/rethinkdb-elixir
38adb3065792c954cc431365eb233d7db2c98873
[ "MIT" ]
122
2015-05-12T03:12:50.000Z
2019-11-11T11:21:10.000Z
lib/rethinkdb/pseudotypes.ex
hamiltop/rethinkdb-elixir
38adb3065792c954cc431365eb233d7db2c98873
[ "MIT" ]
79
2015-05-14T17:14:52.000Z
2022-02-14T07:00:00.000Z
defmodule RethinkDB.Pseudotypes do @moduledoc false defmodule Binary do @moduledoc false defstruct data: nil def parse(%{"$reql_type$" => "BINARY", "data" => data}, opts) do case Dict.get(opts, :binary_format) do :raw -> %__MODULE__{data: data} _ -> :base64.dec...
32.536364
102
0.591227
91fa55068d7051e15ab5aef6843859c23824f1b8
134
ex
Elixir
pkg/debian/tb-pulse.cron.d.ex
jehiah/pulse
169a61ba3920816ac8372bc4e6b9935d0a4bc67c
[ "MIT" ]
2
2018-12-06T15:52:31.000Z
2019-08-28T00:53:45.000Z
pkg/debian/tb-pulse.cron.d.ex
jehiah/pulse
169a61ba3920816ac8372bc4e6b9935d0a4bc67c
[ "MIT" ]
1
2018-01-16T16:44:44.000Z
2018-01-16T16:44:44.000Z
pkg/debian/tb-pulse.cron.d.ex
jehiah/pulse
169a61ba3920816ac8372bc4e6b9935d0a4bc67c
[ "MIT" ]
1
2018-08-07T16:27:16.000Z
2018-08-07T16:27:16.000Z
# # Regular cron jobs for the tb-pulse package # 0 4 * * * root [ -x /usr/bin/tb-pulse_maintenance ] && /usr/bin/tb-pulse_maintenance
26.8
84
0.686567
91fa59680fa6f73585ede3e4f539bf2020c735ba
1,524
exs
Elixir
test/db/collection_test.exs
enter-haken/storm
9730508c119763bcf5efe852387603dcc7eeb648
[ "MIT" ]
null
null
null
test/db/collection_test.exs
enter-haken/storm
9730508c119763bcf5efe852387603dcc7eeb648
[ "MIT" ]
1
2021-03-28T22:57:30.000Z
2021-04-10T23:05:04.000Z
test/db/collection_test.exs
enter-haken/storm
9730508c119763bcf5efe852387603dcc7eeb648
[ "MIT" ]
null
null
null
defmodule Storm.CollectionTest do use Storm.DbInit require Logger test "get empty collection list" do collections = Storm.Db.Crud.get_collection_list() assert [] == collections end test "add collection" do Storm.Db.Crud.add_collection() [ %Storm.Collection{ id: id } ...
20.876712
82
0.66273
91fa82b4a471ba1f0ad08ce042bd24a3eb71b6cd
264
ex
Elixir
web/views/role_skill_view.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
web/views/role_skill_view.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
web/views/role_skill_view.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
defmodule CodeCorps.RoleSkillView do use CodeCorps.PreloadHelpers, default_preloads: [:role, :skill] use CodeCorps.Web, :view use JaSerializer.PhoenixView has_one :role, serializer: CodeCorps.RoleView has_one :skill, serializer: CodeCorps.SkillView end
29.333333
65
0.795455
91fa92f45c8b8cc5999e24b8deb082042e583208
15,562
ex
Elixir
apps/state/lib/state/server.ex
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
null
null
null
apps/state/lib/state/server.ex
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
null
null
null
apps/state/lib/state/server.ex
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
1
2019-09-09T20:40:13.000Z
2019-09-09T20:40:13.000Z
defmodule State.Server do @moduledoc """ Generates an ETS-based database for structs, indexed by fields. ## Example defmodule State.ExampleServer do use Recordable, [:id, :data, :other_key] use State.Server, indices: [:id, :other_key], recordable: State.ExampleServer end Then, cl...
28.925651
112
0.625048