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
f7d18aa00437c0fb032736a1b1c62998e6fc2c35
309
ex
Elixir
test/support/case.ex
marick/flow_assertions
50936d03c7e0d482f13f94c96438627d344592c0
[ "Unlicense" ]
8
2020-09-04T19:38:41.000Z
2021-06-05T18:59:49.000Z
test/support/case.ex
marick/flow_assertions
50936d03c7e0d482f13f94c96438627d344592c0
[ "Unlicense" ]
null
null
null
test/support/case.ex
marick/flow_assertions
50936d03c7e0d482f13f94c96438627d344592c0
[ "Unlicense" ]
null
null
null
defmodule FlowAssertions.Case do defmacro __using__(_) do quote do use ExUnit.Case, async: true alias ExUnit.AssertionError use FlowAssertions import FlowAssertions.AssertionA alias FlowAssertions.Messages import FlowAssertions.Define.Tabular end end end
20.6
42
0.708738
f7d18fced42f90595bd2f3d86140da53d31ad0bc
2,339
ex
Elixir
lib/codes/codes_z51.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_z51.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_z51.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_Z51 do alias IcdCode.ICDCode def _Z510 do %ICDCode{full_code: "Z510", category_code: "Z51", short_code: "0", full_name: "Encounter for antineoplastic radiation therapy", short_name: "Encounter for antineoplastic radiation therapy", ...
33.414286
74
0.637879
f7d1a4ab7626be46ea865439415be3e298e2b313
4,060
exs
Elixir
.workshop/exercises/my_enum/test/check.exs
silesian-beamers/elixir-from-the-ground-up
1ad8c2a4d429175461dc45e218849eb6a212c776
[ "MIT" ]
10
2015-12-13T07:29:08.000Z
2016-09-22T03:47:35.000Z
.workshop/exercises/my_enum/test/check.exs
silesian-beamers/elixir-from-the-ground-up
1ad8c2a4d429175461dc45e218849eb6a212c776
[ "MIT" ]
4
2015-12-02T12:12:14.000Z
2016-01-11T07:33:24.000Z
.workshop/exercises/my_enum/test/check.exs
silesian-beamers/elixir-from-the-ground-up
1ad8c2a4d429175461dc45e218849eb6a212c776
[ "MIT" ]
null
null
null
defmodule Tracer do use GenServer def start(), do: GenServer.start(__MODULE__, []) def trace(who, modules, functions), do: GenServer.call(who, {:trace, modules, functions}) def clear(who), do: GenServer.call(who, :clear) def calls(who), do: GenServer.call(who, :get_calls) def init([]) do :erlang.tr...
28.194444
108
0.601478
f7d1ba4aef389143673a8bf9a08186c28095677a
716
exs
Elixir
mix.exs
reergymerej/Hello-World-Elixir
dcdc1437821042225ebb2987dc015e356b0f87f5
[ "MIT" ]
null
null
null
mix.exs
reergymerej/Hello-World-Elixir
dcdc1437821042225ebb2987dc015e356b0f87f5
[ "MIT" ]
null
null
null
mix.exs
reergymerej/Hello-World-Elixir
dcdc1437821042225ebb2987dc015e356b0f87f5
[ "MIT" ]
null
null
null
defmodule InchTest.Mixfile do use Mix.Project def project do [app: :inch_test, version: "0.0.1", elixir: "~> 1.0-dev", docs: [main: "README", readme: true], deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def applicatio...
21.058824
77
0.586592
f7d23f75730b00e2d87e80f018fec9a542acc27e
9,349
exs
Elixir
test/ex_pix_brcode/dynamic_pix_loader_test.exs
joaogularte/ex-pix-brcode
2cd0d67db06cb5a250fa42cf5b4921ed84559b3e
[ "Apache-2.0" ]
null
null
null
test/ex_pix_brcode/dynamic_pix_loader_test.exs
joaogularte/ex-pix-brcode
2cd0d67db06cb5a250fa42cf5b4921ed84559b3e
[ "Apache-2.0" ]
null
null
null
test/ex_pix_brcode/dynamic_pix_loader_test.exs
joaogularte/ex-pix-brcode
2cd0d67db06cb5a250fa42cf5b4921ed84559b3e
[ "Apache-2.0" ]
null
null
null
defmodule ExPixBRCode.Payments.DynamicPixLoaderTest do use ExUnit.Case, async: true alias ExPixBRCode.Payments.DynamicPixLoader alias ExPixBRCode.Payments.Models.DynamicImmediatePixPayment alias ExPixBRCode.Payments.Models.DynamicImmediatePixPayment.{Calendario, Valor} @client Tesla.client([], Tesla.Mock) ...
30.652459
95
0.508183
f7d24e2710b6be86b403a2ead0a43039ef725a81
66
exs
Elixir
test/earmark_test.exs
raygesualdo/earmark
8c63366140d81205530cf68960f3d91ae85e63b7
[ "Apache-1.1" ]
null
null
null
test/earmark_test.exs
raygesualdo/earmark
8c63366140d81205530cf68960f3d91ae85e63b7
[ "Apache-1.1" ]
null
null
null
test/earmark_test.exs
raygesualdo/earmark
8c63366140d81205530cf68960f3d91ae85e63b7
[ "Apache-1.1" ]
1
2020-03-31T19:53:15.000Z
2020-03-31T19:53:15.000Z
defmodule EarmarkTest do use ExUnit.Case doctest Earmark end
11
24
0.787879
f7d25575b7f14c321c818f22ab2cb3acee668fe9
1,796
exs
Elixir
mix.exs
douglastofoli/inmana
0c2bd661f5a3c83557dc3fd1d094a195dae3a839
[ "MIT" ]
null
null
null
mix.exs
douglastofoli/inmana
0c2bd661f5a3c83557dc3fd1d094a195dae3a839
[ "MIT" ]
null
null
null
mix.exs
douglastofoli/inmana
0c2bd661f5a3c83557dc3fd1d094a195dae3a839
[ "MIT" ]
null
null
null
defmodule Inmana.MixProject do use Mix.Project def project do [ app: :inmana, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
27.212121
84
0.572383
f7d269afacbe26308f6a2ec8ef66571d68545df1
1,060
ex
Elixir
lib/timber/logfmt_encoder.ex
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
lib/timber/logfmt_encoder.ex
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
lib/timber/logfmt_encoder.ex
girishramnani/timber-elixir
7fda5c3cb5e765a34524d2ec21cfbd5b30240bd5
[ "ISC" ]
null
null
null
defmodule Timber.LogfmtEncoder do @moduledoc false # Internal module for encoding maps to the logfmt standard @spec encode!(map) :: IO.chardata def encode!(value) when is_map(value) do Enum.reduce(value, [], &encode_pair/2) end defp encode_pair({k1, value_map}, acc) when is_map(value_map) do Enum....
23.043478
66
0.633019
f7d27c5db200a510f7347a44f63853a8b0271d1c
49
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_relational_operation_parsing_test_case/CaptureNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_relational_operation_parsing_test_case/CaptureNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_relational_operation_parsing_test_case/CaptureNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
&one < &two &one > &two &one <= &two &one >= &two
12.25
12
0.489796
f7d2939ed62e9dcb2122fb6333fda1b8810871fd
1,003
ex
Elixir
examples/basic/lib/basic.ex
gliush/ex_ray
bfbf83d99626cfe4551efccb0b38291797f1e6ba
[ "Apache-2.0" ]
60
2017-10-27T22:24:47.000Z
2021-07-15T23:58:46.000Z
examples/basic/lib/basic.ex
gliush/ex_ray
bfbf83d99626cfe4551efccb0b38291797f1e6ba
[ "Apache-2.0" ]
2
2018-05-29T01:29:20.000Z
2020-04-14T09:05:56.000Z
examples/basic/lib/basic.ex
gliush/ex_ray
bfbf83d99626cfe4551efccb0b38291797f1e6ba
[ "Apache-2.0" ]
9
2017-10-27T18:52:45.000Z
2020-11-13T19:47:27.000Z
defmodule Basic do use ExRay, pre: :before_fun, post: :after_fun require Logger alias ExRay.Span # Generates a request id @req_id :os.system_time(:milli_seconds) |> Integer.to_string @trace kind: :critical @spec fred(integer, integer) :: integer def fred(a, b), do: a+b # Called before the annotat...
29.5
72
0.658026
f7d2acf0a1cd433a3f977e20b1586e57f644d8fd
1,806
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/model/list_build_triggers_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/list_build_triggers_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_build/lib/google_api/cloud_build/v1/model/list_build_triggers_response.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...
36.12
168
0.741417
f7d2d3846488f5045c2683217959a3cc2b12fecd
3,717
exs
Elixir
.credo.exs
sineed/veritaserum
40ce475baaf2f8f95a8e51007242f9e0d23caf22
[ "Apache-2.0" ]
81
2017-05-17T20:29:29.000Z
2022-03-06T21:11:30.000Z
.credo.exs
chingan-tsc/veritaserum
724d4c49e188f284c9acc90ea9743bfaac6a8b55
[ "Apache-2.0" ]
5
2017-09-14T13:05:05.000Z
2022-01-05T11:40:57.000Z
.credo.exs
chingan-tsc/veritaserum
724d4c49e188f284c9acc90ea9743bfaac6a8b55
[ "Apache-2.0" ]
9
2017-07-21T20:05:11.000Z
2021-10-12T15:14:57.000Z
%{ configs: [ %{ name: "default", files: %{ included: ["lib/"], excluded: [~r"/_build/", ~r"/deps/"] }, check_for_updates: true, strict: true, color: true, checks: [ {Credo.Check.Consistency.ExceptionNames}, {Credo.Check.Consistency.LineEnd...
43.729412
80
0.679042
f7d2eef8aa5da831b7251d80680c88521185ab5e
1,065
exs
Elixir
test/radiator_web/graphql/admin/schema/query/podcasts_test.exs
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
92
2019-01-03T11:46:23.000Z
2022-02-19T21:28:44.000Z
test/radiator_web/graphql/admin/schema/query/podcasts_test.exs
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
350
2019-04-11T07:55:51.000Z
2021-08-03T11:19:05.000Z
test/radiator_web/graphql/admin/schema/query/podcasts_test.exs
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
10
2019-04-18T12:47:27.000Z
2022-01-25T20:49:15.000Z
defmodule RadiatorWeb.GraphQL.Admin.Schema.Query.PodcastsTest do use RadiatorWeb.ConnCase, async: true import Radiator.Factory @doc """ Generate user and add auth token to connection. """ def setup_user_and_conn(%{conn: conn}) do user = Radiator.TestEntries.user() [ conn: Radiator.TestEntri...
23.152174
91
0.558685
f7d2f0d24368bac59eee1390df1699a74c31e419
1,039
exs
Elixir
config/config.exs
Aridjar/demo_fixtures
3f427c3bd9aa6debab21b75122e0ba164f7fc217
[ "MIT" ]
null
null
null
config/config.exs
Aridjar/demo_fixtures
3f427c3bd9aa6debab21b75122e0ba164f7fc217
[ "MIT" ]
2
2021-03-09T19:18:16.000Z
2021-05-10T16:10:11.000Z
config/config.exs
Aridjar/demo_fixtures
3f427c3bd9aa6debab21b75122e0ba164f7fc217
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :demo_fixtures, ecto_repos: [DemoFixtur...
33.516129
86
0.776708
f7d3020ba2e0cc38df2c543f2652571c3865b5af
1,683
ex
Elixir
lib/sobelow/config/csrf.ex
tmecklem/sobelow
76b441da408b0156a05fa208a8426c63f3536fe5
[ "Apache-2.0" ]
null
null
null
lib/sobelow/config/csrf.ex
tmecklem/sobelow
76b441da408b0156a05fa208a8426c63f3536fe5
[ "Apache-2.0" ]
null
null
null
lib/sobelow/config/csrf.ex
tmecklem/sobelow
76b441da408b0156a05fa208a8426c63f3536fe5
[ "Apache-2.0" ]
null
null
null
defmodule Sobelow.Config.CSRF do @moduledoc """ # Cross-Site Request Forgery In a Cross-Site Request Forgery (CSRF) attack, an untrusted application can cause a user's browser to submit requests or perform actions on the user's behalf. Read more about CSRF here: https://www.owasp.org/index.php/Cross-Sit...
27.590164
83
0.635769
f7d31dd026c8a3e1a1ac2a3e8a6eb9bc207f7bea
465
ex
Elixir
src/Control/Bind.ex
sriduth/purescript-prelude
018250e052ec11dc6faae61ea41c1a11fdf64e0e
[ "MIT" ]
null
null
null
src/Control/Bind.ex
sriduth/purescript-prelude
018250e052ec11dc6faae61ea41c1a11fdf64e0e
[ "MIT" ]
null
null
null
src/Control/Bind.ex
sriduth/purescript-prelude
018250e052ec11dc6faae61ea41c1a11fdf64e0e
[ "MIT" ]
null
null
null
defmodule Bind.Foreign do def arrayBind do fn(arr) -> fn(f) -> len = length arr result = [] Enum.each(0..len, fn(i) -> result = [result | f.(arr[i])] end) result end end end end # "use strict"; # exports.arrayBind = function (arr) { # return function (f) { # var result = []; # ...
16.607143
54
0.52043
f7d339cc0869f0eb55b5f2706161fc737cee7f89
176
ex
Elixir
lib/requestbox_web/views/session_view.ex
kevinastone/phoenixbin
8b7326b5de1fe9961c1a2d7971a3d4abe7178829
[ "MIT" ]
18
2015-11-18T09:52:34.000Z
2021-04-27T19:38:08.000Z
lib/requestbox_web/views/session_view.ex
kevinastone/phoenixbin
8b7326b5de1fe9961c1a2d7971a3d4abe7178829
[ "MIT" ]
3
2017-01-11T18:55:39.000Z
2021-06-15T05:46:34.000Z
lib/requestbox_web/views/session_view.ex
kevinastone/phoenixbin
8b7326b5de1fe9961c1a2d7971a3d4abe7178829
[ "MIT" ]
7
2016-08-17T10:24:20.000Z
2020-07-10T13:00:36.000Z
defmodule RequestboxWeb.SessionView do use Requestbox.Web, :view use RequestboxWeb.Helpers.HTTP use RequestboxWeb.Helpers.Date use RequestboxWeb.Helpers.Pagination end
25.142857
38
0.823864
f7d341cff3306efa139301d0b9a110aafb85c7e7
1,759
ex
Elixir
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/list_agent_pools_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/list_agent_pools_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/list_agent_pools_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...
35.18
126
0.739056
f7d35cdf8d7ac10e3ab3eb4f11ce6f34ee03b47e
724
ex
Elixir
web/gettext.ex
sotte/python_channels
dcec42d4a787cbb52c8be13a576e5dcadc1fda00
[ "MIT" ]
null
null
null
web/gettext.ex
sotte/python_channels
dcec42d4a787cbb52c8be13a576e5dcadc1fda00
[ "MIT" ]
null
null
null
web/gettext.ex
sotte/python_channels
dcec42d4a787cbb52c8be13a576e5dcadc1fda00
[ "MIT" ]
null
null
null
defmodule PythonChannels.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 PythonChannels.Gettext # Simple translation gettext "H...
28.96
72
0.687845
f7d37128b6b224f64429b12e933b0a575cb99aee
73
exs
Elixir
test/views/layout_view_test.exs
Cobenian/rackit
e886ebbf1a590d4031d5f79f868ce2d725e9910a
[ "Apache-2.0" ]
null
null
null
test/views/layout_view_test.exs
Cobenian/rackit
e886ebbf1a590d4031d5f79f868ce2d725e9910a
[ "Apache-2.0" ]
6
2015-06-10T13:33:57.000Z
2015-06-10T14:10:06.000Z
test/views/layout_view_test.exs
Cobenian/rackit
e886ebbf1a590d4031d5f79f868ce2d725e9910a
[ "Apache-2.0" ]
null
null
null
defmodule Rackit.LayoutViewTest do use Rackit.ConnCase, async: true end
24.333333
34
0.821918
f7d38849d30663d96e8ca941457b20f276a0d40c
1,051
exs
Elixir
mix.exs
membraneframework/membrane_h264_format
5483c497a6f88c250c81ac969bc77a615cdd294d
[ "Apache-2.0" ]
null
null
null
mix.exs
membraneframework/membrane_h264_format
5483c497a6f88c250c81ac969bc77a615cdd294d
[ "Apache-2.0" ]
1
2022-01-10T09:15:49.000Z
2022-01-10T09:15:49.000Z
mix.exs
membraneframework/membrane-caps-video-h264
5483c497a6f88c250c81ac969bc77a615cdd294d
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.H264.Mixfile do use Mix.Project @version "0.3.0" @github_url "https://github.com/membraneframework/membrane_h264_format" def project do [ app: :membrane_h264_format, version: @version, elixir: "~> 1.7", description: "Membrane Multimedia Framework (H264 video form...
21.895833
82
0.567079
f7d3ced18992ae9ad2cc7283434770a1014797e0
476
ex
Elixir
lib/langue/formatter/strings/parser.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/langue/formatter/strings/parser.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/langue/formatter/strings/parser.ex
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Langue.Formatter.Strings.Parser do @behaviour Langue.Formatter.Parser alias Langue.Utils.{LineByLineHelper, Placeholders} @prop_line_regex ~r/^(?<comment>.+)?"(?<key>.+)" ?= ?"(?<value>.*)"$/sm def parse(%{render: render}) do entries = render |> LineByLineHelper.Parser.lines(@prop_l...
28
73
0.686975
f7d40b0ba80b4b32f4773b6ae33fa5238ecc42e1
1,116
exs
Elixir
priv/repo/migrations/20201016124426_migrate_daa_to_metric_signal.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
1
2022-01-30T19:51:39.000Z
2022-01-30T19:51:39.000Z
priv/repo/migrations/20201016124426_migrate_daa_to_metric_signal.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
priv/repo/migrations/20201016124426_migrate_daa_to_metric_signal.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
defmodule Sanbase.Repo.Migrations.MigrateDaaToMetricAlert do use Ecto.Migration alias Sanbase.Alert.Trigger.{ DailyActiveAddressesSettings, MetricTriggerSettings } alias Sanbase.Alert.UserTrigger def up do setup() migrate_daa_signals() end def down do :ok end defp migrate_daa_...
23.744681
64
0.660394
f7d412e7bda6e56255a43068e956a2802fdba3f5
5,400
ex
Elixir
lib/amqp/application/connection.ex
alappe/amqp
1beda620362ba75b3cedea1c48fffd19be026042
[ "MIT" ]
null
null
null
lib/amqp/application/connection.ex
alappe/amqp
1beda620362ba75b3cedea1c48fffd19be026042
[ "MIT" ]
null
null
null
lib/amqp/application/connection.ex
alappe/amqp
1beda620362ba75b3cedea1c48fffd19be026042
[ "MIT" ]
null
null
null
defmodule AMQP.Application.Connection do @moduledoc false # This module will stay as a private module at least during 2.0.x. # There might be non backward compatible changes on this module on 2.1.x. use GenServer require Logger alias AMQP.Connection @default_interval 5_000 @doc """ Starts a GenServ...
28.272251
99
0.657593
f7d41729bc5518761e7a7954a13c1b8a71ac7441
1,252
exs
Elixir
test/level_web/graphql/subscriptions/post_closed_test.exs
denismitr/level
0b01b0e46c252510dd50b3558d987c6f1e0b1da9
[ "Apache-2.0" ]
1
2019-06-11T20:20:32.000Z
2019-06-11T20:20:32.000Z
test/level_web/graphql/subscriptions/post_closed_test.exs
denismitr/level
0b01b0e46c252510dd50b3558d987c6f1e0b1da9
[ "Apache-2.0" ]
null
null
null
test/level_web/graphql/subscriptions/post_closed_test.exs
denismitr/level
0b01b0e46c252510dd50b3558d987c6f1e0b1da9
[ "Apache-2.0" ]
null
null
null
defmodule LevelWeb.GraphQL.PostClosedTest do use LevelWeb.ChannelCase alias Level.Posts @operation """ subscription PostSubscription( $id: ID! ) { postSubscription(postId: $id) { __typename ... on PostClosedPayload { post { id state ...
23.185185
98
0.545527
f7d45a92a555ce1c81afe631895ed05a29a7a908
482
ex
Elixir
lib/cloister/listener.ex
am-kantox/cloister
b5e661fab5dc2eeb27b175bf0069bf963b1afce6
[ "MIT" ]
12
2020-05-07T08:57:06.000Z
2020-08-19T01:32:03.000Z
lib/cloister/listener.ex
am-kantox/cloister
b5e661fab5dc2eeb27b175bf0069bf963b1afce6
[ "MIT" ]
21
2020-07-12T14:17:22.000Z
2021-08-03T04:42:30.000Z
lib/cloister/listener.ex
am-kantox/cloister
b5e661fab5dc2eeb27b175bf0069bf963b1afce6
[ "MIT" ]
null
null
null
defmodule Cloister.Listener do @moduledoc """ The behavior to be implemented by `Cloister.Monitor` listeners. """ @doc """ Passed to the `Cloister.Monitor.start_link/1` and is being called on each subsequent monitored node state change. Listeners are obliged to handle `:up`, `:rehashing` and `:stopping`...
28.352941
77
0.649378
f7d46c2f8feba57459f545071ba589ba0595f3a7
17,074
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/placement_groups.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/placement_groups.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/placement_groups.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 ...
48.231638
546
0.645074
f7d472f3936559a0635dc34ed298c0c55bc60e7b
589
ex
Elixir
lib/exkontist/application.ex
lorenzosinisi/exkontist
723ac521ae32e76ef190c476a4c5116fa40b880a
[ "Apache-2.0" ]
1
2020-01-14T05:03:07.000Z
2020-01-14T05:03:07.000Z
lib/exkontist/application.ex
lorenzosinisi/exkontist
723ac521ae32e76ef190c476a4c5116fa40b880a
[ "Apache-2.0" ]
null
null
null
lib/exkontist/application.ex
lorenzosinisi/exkontist
723ac521ae32e76ef190c476a4c5116fa40b880a
[ "Apache-2.0" ]
null
null
null
defmodule Exkontist.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Starts a worker by calling: Exkontist.Worker.sta...
28.047619
68
0.714771
f7d4890c29da2bf215c0b4740c8c75639fd36f62
537
ex
Elixir
lib/extenant_web/views/error_view.ex
ThinkForge/extenant
70a73aed9a5db42a178919562d60861f9aa09bcb
[ "Apache-2.0" ]
null
null
null
lib/extenant_web/views/error_view.ex
ThinkForge/extenant
70a73aed9a5db42a178919562d60861f9aa09bcb
[ "Apache-2.0" ]
1
2018-11-24T15:09:30.000Z
2018-11-24T15:09:30.000Z
lib/extenant_web/views/error_view.ex
ThinkForge/extenant
70a73aed9a5db42a178919562d60861f9aa09bcb
[ "Apache-2.0" ]
null
null
null
defmodule ExtenantWeb.ErrorView do use ExtenantWeb, :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 fr...
31.588235
83
0.72067
f7d4906472bf0591ce9ce3a17f511d3b3e117b59
441
ex
Elixir
lib/majudge/elections/vote.ex
coltonw/majudge
4f81a66abe6a2e82f42131982e7a9b26951b9124
[ "MIT" ]
null
null
null
lib/majudge/elections/vote.ex
coltonw/majudge
4f81a66abe6a2e82f42131982e7a9b26951b9124
[ "MIT" ]
1
2021-05-10T04:23:56.000Z
2021-05-10T04:23:56.000Z
lib/majudge/elections/vote.ex
coltonw/majudge
4f81a66abe6a2e82f42131982e7a9b26951b9124
[ "MIT" ]
null
null
null
defmodule Majudge.Elections.Vote do use Ecto.Schema import Ecto.Changeset alias Majudge.Elections.Ballot schema "votes" do field :email, :string field :name, :string field :vote, :map belongs_to :ballot, Ballot timestamps() end @doc false def changeset(vote, attrs) do vote |...
20.045455
60
0.662132
f7d4a9cc0bfe3326e404ce415a2ca62891883f7d
5,764
ex
Elixir
lib/coherence/redirects.ex
harmon25/coherence
5c4f26d3c87f6a16638adf623d041e2723ccf2b8
[ "MIT" ]
1
2022-03-06T16:30:21.000Z
2022-03-06T16:30:21.000Z
lib/coherence/redirects.ex
ysbaddaden/coherence
5c4f26d3c87f6a16638adf623d041e2723ccf2b8
[ "MIT" ]
null
null
null
lib/coherence/redirects.ex
ysbaddaden/coherence
5c4f26d3c87f6a16638adf623d041e2723ccf2b8
[ "MIT" ]
2
2017-09-22T16:54:36.000Z
2021-11-09T20:55:58.000Z
defmodule Redirects do @moduledoc """ Define controller action redirection behaviour. Defines the default redirect functions for each of the controller actions that perform redirects. By using this Module you get the following functions: * session_create/2 * session_delete/2 * password_create/2 * pa...
37.921053
91
0.686329
f7d5293b93cb505c70afa1f595514cfd8d7c7189
3,215
ex
Elixir
lib/auto_api/states/lights_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/states/lights_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/states/lights_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
36.123596
96
0.691135
f7d5335c02ddf3d1b358327f1c50ef9cefecf8ae
8,232
ex
Elixir
lib/kaffy/resource_schema.ex
clszzyh/kaffy
411766de3bf1b5b88ca0cb5078b7421154c70db5
[ "MIT" ]
3
2020-08-18T15:04:10.000Z
2021-05-10T11:10:44.000Z
lib/kaffy/resource_schema.ex
clszzyh/kaffy
411766de3bf1b5b88ca0cb5078b7421154c70db5
[ "MIT" ]
2
2020-05-31T18:19:05.000Z
2020-06-15T13:43:12.000Z
lib/kaffy/resource_schema.ex
clszzyh/kaffy
411766de3bf1b5b88ca0cb5078b7421154c70db5
[ "MIT" ]
1
2020-09-18T14:25:00.000Z
2020-09-18T14:25:00.000Z
defmodule Kaffy.ResourceSchema do @moduledoc false def primary_key(schema) do schema.__schema__(:primary_key) end def excluded_fields(schema) do {pk, _, _} = schema.__schema__(:autogenerate_id) autogenerated = schema.__schema__(:autogenerate) case length(autogenerated) do 1 -> [...
26.050633
119
0.642493
f7d57265deab5189306e69e3738e52fc01ae9bb1
505
exs
Elixir
test/unit/hologram/compiler/transformers/unary_positive_operator_transformer_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/compiler/transformers/unary_positive_operator_transformer_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/compiler/transformers/unary_positive_operator_transformer_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Compiler.UnaryPositiveOperatorTransformerTest do use Hologram.Test.UnitCase, async: true alias Hologram.Compiler.{Context, UnaryPositiveOperatorTransformer} alias Hologram.Compiler.IR.{IntegerType, UnaryPositiveOperator} test "transform/3" do code = "+2" ast = ast(code) result ...
25.25
72
0.742574
f7d583bf42463c38a2a8295fd48f31db69b15609
1,889
exs
Elixir
mix.exs
membraneframework/elixir_dtls
b4954fc1dacec6df6df043fcd7c600d931bf6a7c
[ "Apache-2.0" ]
null
null
null
mix.exs
membraneframework/elixir_dtls
b4954fc1dacec6df6df043fcd7c600d931bf6a7c
[ "Apache-2.0" ]
null
null
null
mix.exs
membraneframework/elixir_dtls
b4954fc1dacec6df6df043fcd7c600d931bf6a7c
[ "Apache-2.0" ]
null
null
null
defmodule ExDTLS.Mixfile do use Mix.Project @version "0.11.0" @github_url "https://github.com/membraneframework/ex_dtls" def project do [ app: :ex_dtls, version: @version, elixir: "~> 1.12", compilers: [:unifex, :bundlex] ++ Mix.compilers(), elixirc_paths: elixirc_paths(Mix.e...
22.759036
96
0.562732
f7d59fb25be388f8df9cf23a8bb0ddda206dac6f
17,778
exs
Elixir
lib/elixir/test/elixir/module/types/types_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/module/types/types_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/module/types/types_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("type_helper.exs", __DIR__) defmodule Module.Types.TypesTest do use ExUnit.Case, async: true alias Module.Types alias Module.Types.{Pattern, Expr} defmacro warning(patterns \\ [], guards \\ [], body) do min_line = min_line(patterns ++ guards ++ [body]) patterns = reset_line(patterns,...
25.690751
143
0.4712
f7d5a69c8a0302b5b5f6ac822c2b9ecef23ca166
7,447
ex
Elixir
plugins/ucc_chat/lib/ucc_chat_web/channels/client.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/lib/ucc_chat_web/channels/client.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/lib/ucc_chat_web/channels/client.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UccChatWeb.Client do use UccChatWeb.RoomChannel.Constants import UcxUccWeb.Utils import Rebel.Query, warn: false import Rebel.Core, except: [broadcast_js: 2, async_js: 2] alias Rebel.Element alias UccChatWeb.RebelChannel.Client, as: RebelClient alias UcxUccWeb.Query require Logger # alias...
31.689362
106
0.669397
f7d5d9519f969ca080e7ba284579f231187eb2b9
12,660
exs
Elixir
test/elixir/test/attachments_multipart_test.exs
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
null
null
null
test/elixir/test/attachments_multipart_test.exs
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
null
null
null
test/elixir/test/attachments_multipart_test.exs
mtenrero/couchdb-vetcontrol
b7ede3ededdf0072c73f08d8f1217cb723b03f7a
[ "Apache-2.0" ]
null
null
null
defmodule AttachmentMultipartTest do use CouchTestCase @moduletag :attachments @moduledoc """ Test CouchDB attachment multipart requests This is a port of the attachments_multipart.js suite """ @tag :with_db test "manages attachments multipart requests successfully", context do db_name = context[...
30.878049
91
0.595103
f7d5e0ff87a1c1fdf0b26ed90d3ced6651a4a135
4,857
ex
Elixir
lib/rihanna/migration/upgrade.ex
jonnystoten/rihanna
f0c2709f93d9fb1b68100e1722b31f8674c0a9f5
[ "MIT" ]
null
null
null
lib/rihanna/migration/upgrade.ex
jonnystoten/rihanna
f0c2709f93d9fb1b68100e1722b31f8674c0a9f5
[ "MIT" ]
null
null
null
lib/rihanna/migration/upgrade.ex
jonnystoten/rihanna
f0c2709f93d9fb1b68100e1722b31f8674c0a9f5
[ "MIT" ]
null
null
null
defmodule Rihanna.Migration.Upgrade do @moduledoc """ A set of tools for upgrading an existing Rihanna jobs table. Rihanna stores jobs in a table in your database. The default table name is "rihanna_jobs". The name is configurable by either passing it as an argument to the functions below or setting `:jobs_t...
30.167702
138
0.643195
f7d5eac6b218ee065b96cf1d315f458d932742a2
768
ex
Elixir
clients/elixir/generated/lib/swaggy_jenkins/model/favorite_impl.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
23
2017-08-01T12:25:26.000Z
2022-01-25T03:44:11.000Z
clients/elixir/generated/lib/swaggy_jenkins/model/favorite_impl.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
35
2017-06-14T03:28:15.000Z
2022-02-14T10:25:54.000Z
clients/elixir/generated/lib/swaggy_jenkins/model/favorite_impl.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
11
2017-08-31T19:00:20.000Z
2021-12-19T12:04:12.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule SwaggyJenkins.Model.FavoriteImpl do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"_class", :"_links", :"item" ] ...
23.272727
91
0.6875
f7d5f6ee749858d80aaca4dbb5416779d5b2f3a7
1,078
exs
Elixir
deps/phoenix_html/mix.exs
matin360/TaksoWebApp
4dd8fef625ecc2364fe1d6e18e73c96c59d15349
[ "MIT" ]
1
2021-11-17T10:24:48.000Z
2021-11-17T10:24:48.000Z
deps/phoenix_html/mix.exs
matin360/TaksoWebApp
4dd8fef625ecc2364fe1d6e18e73c96c59d15349
[ "MIT" ]
null
null
null
deps/phoenix_html/mix.exs
matin360/TaksoWebApp
4dd8fef625ecc2364fe1d6e18e73c96c59d15349
[ "MIT" ]
null
null
null
defmodule PhoenixHtml.Mixfile do use Mix.Project # Also change package.json version @version "3.0.4" def project do [ app: :phoenix_html, version: @version, elixir: "~> 1.7", deps: deps(), name: "Phoenix.HTML", description: "Phoenix view functions for working with HTML ...
22.93617
78
0.589981
f7d5f797b40822383174c3732ee22f9036503dcd
749
exs
Elixir
test/state_test.exs
lee-dohm/git-delete-safe
b8d161bbdc64f0b735265db337eb878cb36e552e
[ "MIT" ]
2
2019-07-06T02:41:05.000Z
2020-01-26T17:54:16.000Z
test/state_test.exs
lee-dohm/git-delete-safe
b8d161bbdc64f0b735265db337eb878cb36e552e
[ "MIT" ]
null
null
null
test/state_test.exs
lee-dohm/git-delete-safe
b8d161bbdc64f0b735265db337eb878cb36e552e
[ "MIT" ]
null
null
null
defmodule GitDeleteSafe.StateTest do use ExUnit.Case, async: true alias GitDeleteSafe.State def options(options \\ [], arguments \\ [], invalid \\ []) do {options, arguments, invalid} end test "creates a state struct from an OptionParser tuple" do state = State.new(options()) assert state.argu...
24.966667
74
0.659546
f7d60fe0028aae023d35c9584ee4b589c0d39017
730
ex
Elixir
examples/phoenix_basic_example/lib/dripper_example_web/gettext.ex
Ninigi/ecto_dripper
ca472e90aafd3313b91a268f81e6aa936c59e021
[ "MIT" ]
1
2018-06-28T11:15:14.000Z
2018-06-28T11:15:14.000Z
examples/phoenix_basic_example/lib/dripper_example_web/gettext.ex
Ninigi/ecto_dripper
ca472e90aafd3313b91a268f81e6aa936c59e021
[ "MIT" ]
null
null
null
examples/phoenix_basic_example/lib/dripper_example_web/gettext.ex
Ninigi/ecto_dripper
ca472e90aafd3313b91a268f81e6aa936c59e021
[ "MIT" ]
null
null
null
defmodule DripperExampleWeb.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 DripperExampleWeb.Gettext # Simple translation gett...
29.2
72
0.690411
f7d62f5382aeb04f61c6f66d9bc5f3ac0325541e
705
exs
Elixir
test/test_helper.exs
access-company/testgear
6817b5a9f782fd501c5e8c74f12a33617bec4ba8
[ "Apache-2.0" ]
1
2018-04-26T08:40:13.000Z
2018-04-26T08:40:13.000Z
test/test_helper.exs
access-company/testgear
6817b5a9f782fd501c5e8c74f12a33617bec4ba8
[ "Apache-2.0" ]
14
2018-04-02T09:12:03.000Z
2019-10-08T04:43:39.000Z
test/test_helper.exs
access-company/testgear
6817b5a9f782fd501c5e8c74f12a33617bec4ba8
[ "Apache-2.0" ]
2
2018-04-26T05:50:06.000Z
2021-09-01T18:48:43.000Z
# Copyright(c) 2015-2021 ACCESS CO., LTD. All rights reserved. Antikythera.Test.Config.init() Antikythera.Test.GearConfigHelper.set_config(%{"BASIC_AUTHENTICATION_ID" => "admin", "BASIC_AUTHENTICATION_PW" => "password"}) defmodule Req do use Antikythera.Test.HttpClient end defmodule Socket do use Antikythera.Tes...
25.178571
126
0.723404
f7d632a1c86a12975da7d02e8c5ad6772adc83f2
2,475
ex
Elixir
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/endpoint.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/endpoint.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/endpoint.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...
41.949153
317
0.709899
f7d6533e232b64ee0411868a00cdd1a338163cd0
474
ex
Elixir
lib/central/communication/schemas/chat_response.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/central/communication/schemas/chat_response.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/central/communication/schemas/chat_response.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Central.Communication.ChatResponse do @moduledoc false use CentralWeb, :schema schema "communication_chat_responses" do field :content, :string belongs_to :user, Central.Account.User belongs_to :chat_room, Central.Communication.ChatRoom timestamps() end @doc false def changeset...
22.571429
61
0.719409
f7d662dc1663bd9d163317eb8092968627a04e74
383
exs
Elixir
test/ex_doc/markdown/earmark_test.exs
k1complete/ex_doc
512dcabef778f9af675dbdfc44fa2bef2b8924f0
[ "Apache-2.0" ]
null
null
null
test/ex_doc/markdown/earmark_test.exs
k1complete/ex_doc
512dcabef778f9af675dbdfc44fa2bef2b8924f0
[ "Apache-2.0" ]
null
null
null
test/ex_doc/markdown/earmark_test.exs
k1complete/ex_doc
512dcabef778f9af675dbdfc44fa2bef2b8924f0
[ "Apache-2.0" ]
null
null
null
defmodule MarkdownTest.EarmarkTest do use ExUnit.Case, async: true alias ExDoc.Markdown.Earmark, as: Markdown @moduletag :earmark test "to_html generate the HTML from the markdown" do assert Markdown.to_html("# Test\n\nHello") == ~s(<h1>Test</h1>\n<p>Hello</p>) end test "to_html handles e...
22.529412
55
0.67624
f7d6e6be87dd4e6e21e92a07ce383849617c30a7
1,830
ex
Elixir
clients/games_management/lib/google_api/games_management/v1management/model/player_name.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/model/player_name.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/model/player_name.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
35.882353
132
0.744809
f7d6f29ff85d99e76938fd2202ff7bab4e1ef4e5
1,899
ex
Elixir
apps/eth_blockchain/lib/eth_blockchain/balance.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/eth_blockchain/lib/eth_blockchain/balance.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/eth_blockchain/lib/eth_blockchain/balance.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 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 writi...
27.521739
93
0.682991
f7d710c5d61d0f1031e9d05b0a2bf2fc238633cd
1,264
ex
Elixir
lib/idea_portal/recaptcha/mock.ex
BaltimoreCity/IdeaPortal
dc1c775dfaec2aac974b821cd3700d76770c1e76
[ "MIT" ]
5
2019-08-29T20:22:25.000Z
2020-04-01T17:40:48.000Z
lib/idea_portal/recaptcha/mock.ex
BaltimoreCity/IdeaPortal
dc1c775dfaec2aac974b821cd3700d76770c1e76
[ "MIT" ]
34
2019-03-06T17:53:29.000Z
2021-09-01T01:25:23.000Z
lib/idea_portal/recaptcha/mock.ex
BaltimoreCity/IdeaPortal
dc1c775dfaec2aac974b821cd3700d76770c1e76
[ "MIT" ]
2
2020-01-10T22:12:36.000Z
2021-01-22T04:37:45.000Z
defmodule IdeaPortal.Recaptcha.Mock do @moduledoc """ Mock implementation details for Recaptcha """ @behaviour IdeaPortal.Recaptcha alias __MODULE__.FakeCaptcha @doc false def start_mock() do {:ok, pid} = FakeCaptcha.start_link() Process.put(:recpatcha, pid) end def set_valid_token_respons...
19.446154
60
0.648734
f7d73ed81630f2d2da8250cd7c944ee05d7eb97d
76
exs
Elixir
test/rumbl_web/views/page_view_test.exs
brunorafa/rumbl
910e6ecfaae8da8e54da9e67871a02885c2f383f
[ "MIT" ]
1
2021-05-30T20:57:51.000Z
2021-05-30T20:57:51.000Z
test/rumbl_web/views/page_view_test.exs
brunorafa/rumbl
910e6ecfaae8da8e54da9e67871a02885c2f383f
[ "MIT" ]
2
2021-03-09T19:04:16.000Z
2021-05-10T16:20:10.000Z
test/rumbl_web/views/page_view_test.exs
brunorafa/rumbl
910e6ecfaae8da8e54da9e67871a02885c2f383f
[ "MIT" ]
1
2020-07-17T14:48:52.000Z
2020-07-17T14:48:52.000Z
defmodule RumblWeb.PageViewTest do use RumblWeb.ConnCase, async: true end
19
36
0.815789
f7d74f1d9bcd72e9ead1ce5aec3fa202d27f4bc5
568
ex
Elixir
lib/swedbankpay_checkout/model/shipping_address.ex
hooplab/swedbank-pay-checkout-elixir
91c9034d898907d15c513623519382a0648212c3
[ "MIT" ]
null
null
null
lib/swedbankpay_checkout/model/shipping_address.ex
hooplab/swedbank-pay-checkout-elixir
91c9034d898907d15c513623519382a0648212c3
[ "MIT" ]
null
null
null
lib/swedbankpay_checkout/model/shipping_address.ex
hooplab/swedbank-pay-checkout-elixir
91c9034d898907d15c513623519382a0648212c3
[ "MIT" ]
null
null
null
defmodule SwedbankpayCheckout.Model.ShippingAddress do @moduledoc """ """ @typedoc """ .shipping_address """ @type t :: %__MODULE__{ :addressee => String.t(), :co_address => String.t(), :street_address => String.t(), :zip_code => String.t(), :city => Stri...
19.586207
54
0.549296
f7d75dbf74d4169afce735854c1f1a0349837569
75
exs
Elixir
test/test_helper.exs
hiivemarkets/persona-elixir
58a03859a4a0f64c973b9df0394bc5335d5c7096
[ "MIT" ]
null
null
null
test/test_helper.exs
hiivemarkets/persona-elixir
58a03859a4a0f64c973b9df0394bc5335d5c7096
[ "MIT" ]
null
null
null
test/test_helper.exs
hiivemarkets/persona-elixir
58a03859a4a0f64c973b9df0394bc5335d5c7096
[ "MIT" ]
null
null
null
ExUnit.start() Mox.defmock( Pandadoc.Tesla.Mock, for: Tesla.Adapter )
10.714286
22
0.706667
f7d770f294c79a1392e60d8cfcc70c476e49aed6
821
exs
Elixir
test/remote_checkout_test.exs
sxarp/remote-checkout
8bafe01458d92441ea3dd5e701f151a361fa4f27
[ "MIT" ]
null
null
null
test/remote_checkout_test.exs
sxarp/remote-checkout
8bafe01458d92441ea3dd5e701f151a361fa4f27
[ "MIT" ]
null
null
null
test/remote_checkout_test.exs
sxarp/remote-checkout
8bafe01458d92441ea3dd5e701f151a361fa4f27
[ "MIT" ]
null
null
null
defmodule RemoteCheckoutTest do use ExUnit.Case doctest RemoteCheckout alias RemoteCheckout, as: RC alias TreeStorage, as: TS @expand :expand @root [ %{"name" => "LICENSE", "oid" => "82e", "type" => "blob"}, %{"name" => "README.md", "oid" => "f48", "type" => "blob"}, %{"name" => "lib", "oid" => "3b8", "...
30.407407
74
0.518879
f7d7742895f6785d9ab7b6be6ebbeee5c2b9401f
2,238
exs
Elixir
config/dev.exs
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
config/dev.exs
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
config/dev.exs
Kapeusz/employee_reward_app
738d1514ec733b0e8027423e740abdbdc27716d0
[ "PostgreSQL", "MIT" ]
null
null
null
use Mix.Config # Configure your database config :employee_reward_app, EmployeeRewardApp.Repo, username: "postgres", password: "postgres", database: "employee_reward_app_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and ena...
29.064935
68
0.704647
f7d7a565fc91dd2ea9183b7f0f4ce25415f52a0d
348
ex
Elixir
lib/meeseeks/selector/combinator/parent.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
291
2017-03-27T15:53:36.000Z
2022-03-14T23:01:42.000Z
lib/meeseeks/selector/combinator/parent.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
70
2017-03-30T23:32:34.000Z
2021-06-27T06:26:28.000Z
lib/meeseeks/selector/combinator/parent.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
23
2017-06-18T10:29:04.000Z
2021-11-04T13:08:12.000Z
defmodule Meeseeks.Selector.Combinator.Parent do use Meeseeks.Selector.Combinator @moduledoc false alias Meeseeks.Document defstruct selector: nil @impl true def next(_combinator, node, document) do case Document.parent(document, node.id) do nil -> nil parent -> Document.get_node(document...
20.470588
51
0.724138
f7d7f229b3de544cd6e8e2ec7ed17f4a1e84d37f
2,608
ex
Elixir
lib/konvex/implementation/riak/ability/to_delete_key.ex
KosyanMedia/konvex
03f538a7223bbfa85a82ebdbd77f1fd70dc23c2a
[ "MIT" ]
1
2022-03-08T08:30:24.000Z
2022-03-08T08:30:24.000Z
lib/konvex/implementation/riak/ability/to_delete_key.ex
KosyanMedia/konvex
03f538a7223bbfa85a82ebdbd77f1fd70dc23c2a
[ "MIT" ]
1
2022-01-28T16:45:57.000Z
2022-01-28T16:56:22.000Z
lib/konvex/implementation/riak/ability/to_delete_key.ex
KosyanMedia/konvex
03f538a7223bbfa85a82ebdbd77f1fd70dc23c2a
[ "MIT" ]
null
null
null
defmodule Konvex.Implementation.Riak.Ability.ToDeleteKey do @doc """ Value type specification is compulsory due to Riak library has different delete functions for different data types (it has Riak.delete/3 for regular KV-objects and Riak.delete/4 for CRDTs) https://docs.riak.com/riak/kv/2.2.3/developing/key-v...
35.726027
121
0.604678
f7d7f62bfe72e5e3574f2225bbc17999679a261b
1,524
exs
Elixir
lib/ex_unit/test/ex_unit/case_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/ex_unit/test/ex_unit/case_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/case_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule ExUnit.CaseTest do use ExUnit.Case, async: true ExUnit.Case.register_attribute __MODULE__, :foo ExUnit.Case.register_attribute __MODULE__, :bar, accumulate: true ExUnit.Case.register_attribute __MODULE__, :baz @moduletag :moduletag test "defines ...
26.275862
80
0.69357
f7d8016abb4e1e8d75d92cc4975876f5247f54e2
245
ex
Elixir
lib/crew.ex
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
null
null
null
lib/crew.ex
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
5
2020-07-20T01:49:01.000Z
2021-09-08T00:17:04.000Z
lib/crew.ex
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
null
null
null
defmodule Crew do @moduledoc """ Crew 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.5
66
0.746939
f7d81a0270a9847737aa82cddf4a5b16db576824
1,849
exs
Elixir
test/grizzly/command_class/time/time_get_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
test/grizzly/command_class/time/time_get_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
test/grizzly/command_class/time/time_get_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.CommandClass.Time.TimeGet.Test do use ExUnit.Case, async: true alias Grizzly.Packet alias Grizzly.CommandClass.Time.TimeGet describe "implements Grizzly.Command correctly" do test "initializes to command" do assert {:ok, %TimeGet{}} == TimeGet.init([]) end test "encodes co...
30.816667
95
0.631693
f7d81f72f067189934135dc2e1180c5b47caf6d3
1,497
ex
Elixir
apps/mishka_database/lib/schema/mishka_user/user_role.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_database/lib/schema/mishka_user/user_role.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_database/lib/schema/mishka_user/user_role.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
defmodule MishkaDatabase.Schema.MishkaUser.UserRole do use Ecto.Schema require MishkaTranslator.Gettext import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "users_roles" do belongs_to :users, MishkaDatabase.Schema.MishkaUser.User, foreign_key: :...
51.62069
201
0.758183
f7d8476863fae60e5847e29358626af75a2d39f7
2,851
ex
Elixir
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_android_app_data_stream.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_android_app_data_stream.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/model/google_analytics_admin_v1alpha_android_app_data_stream.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.552239
222
0.722203
f7d8564ed425afdbb73fa31536aec37656a4b386
7,527
ex
Elixir
lib/aws/generated/code_star_connections.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/code_star_connections.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/code_star_connections.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.CodeStarConnections do @moduledoc """ AWS CodeStar Connections The CodeStar Connections feature is in preview release and is subject to change. This AWS CodeStar Connections API Referenc...
33.753363
100
0.710376
f7d864412e56c9ac64e750b80226e28eb3261fc9
4,861
ex
Elixir
plugins/one_chat/lib/one_chat/slash_commands.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_chat/lib/one_chat/slash_commands.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_chat/lib/one_chat/slash_commands.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule OneChat.SlashCommands do @doc """ Handles the definition of commands available to the user by starting a message with the `/` character. """ import Phoenix.HTML.Tag use InfinityOneWeb.Gettext @default_count 10 # @commands [ # "join", "archive", "kick", "lennyface", "leave", "gimme", "cre...
40.508333
121
0.603374
f7d88e799222c0a41139a961727c24b41f1a47bc
4,960
exs
Elixir
test/transaction_test.exs
kianmeng/tds
36f228275c2bfde2baa45fe70d29d1eb1d44379b
[ "Apache-2.0" ]
null
null
null
test/transaction_test.exs
kianmeng/tds
36f228275c2bfde2baa45fe70d29d1eb1d44379b
[ "Apache-2.0" ]
null
null
null
test/transaction_test.exs
kianmeng/tds
36f228275c2bfde2baa45fe70d29d1eb1d44379b
[ "Apache-2.0" ]
1
2021-09-07T15:25:40.000Z
2021-09-07T15:25:40.000Z
defmodule Tds.TransactionTest do use ExUnit.Case, async: true # import ExUnit.CaptureLog import Tds.TestHelper setup context do transactions = case context[:mode] do :transaction -> :strict :savepoint -> :naive end opts = [ transactions: transactions, isolation_...
30.429448
86
0.517137
f7d8a76c098c9d30cf9fc4b2c72243547b00d173
9,218
ex
Elixir
lib/mix/lib/mix/compilers/elixir.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/compilers/elixir.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/compilers/elixir.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Compilers.Elixir do @moduledoc false @manifest_vsn :v3 @doc """ Compiles stale Elixir files. It expects a `manifest` file, the source directories, the source directories to skip, the extensions to read in sources, the destination directory, a flag to know if compilation is being forced or...
29.831715
103
0.619766
f7d8ccd79c98e8af46914826c22e5f2b0af405c8
10,816
ex
Elixir
test/support/live_views.ex
simonprev/phoenix_live_view
55a54726650e53ac68c30fc9b49d2a5895ce2053
[ "MIT" ]
null
null
null
test/support/live_views.ex
simonprev/phoenix_live_view
55a54726650e53ac68c30fc9b49d2a5895ce2053
[ "MIT" ]
null
null
null
test/support/live_views.ex
simonprev/phoenix_live_view
55a54726650e53ac68c30fc9b49d2a5895ce2053
[ "MIT" ]
null
null
null
alias Phoenix.LiveViewTest.{ClockLive, ClockControlsLive} defmodule Phoenix.LiveViewTest.ThermostatLive do use Phoenix.LiveView, container: {:article, class: "thermo"}, namespace: Phoenix.LiveViewTest def render(assigns) do ~L""" The temp is: <%= @val %><%= @greeting %> <button phx-click="dec">-</butt...
26.252427
147
0.617511
f7d8d2829ab948ff5154fc1222148261eaf4ea1f
1,643
ex
Elixir
clients/life_sciences/lib/google_api/life_sciences/v2beta/model/worker_released_event.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/life_sciences/lib/google_api/life_sciences/v2beta/model/worker_released_event.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/life_sciences/lib/google_api/life_sciences/v2beta/model/worker_released_event.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...
32.215686
89
0.727328
f7d8e284f53cfd27381253d09d0607e24788e87a
680
exs
Elixir
farmbot_ext/test/farmbot_ext/amqp/bot_state_channel_test.exs
Arti4ever/farmbot_os
a238c1d5ae78c08d1f5894cac41ed61035fb3266
[ "MIT" ]
1
2021-04-22T10:18:50.000Z
2021-04-22T10:18:50.000Z
farmbot_ext/test/farmbot_ext/amqp/bot_state_channel_test.exs
Arti4ever/farmbot_os
a238c1d5ae78c08d1f5894cac41ed61035fb3266
[ "MIT" ]
null
null
null
farmbot_ext/test/farmbot_ext/amqp/bot_state_channel_test.exs
Arti4ever/farmbot_os
a238c1d5ae78c08d1f5894cac41ed61035fb3266
[ "MIT" ]
null
null
null
defmodule FarmbotExt.AMQP.BotStateChannelTest do use ExUnit.Case, async: false use Mimic # alias FarmbotExt.AMQP.BotStateChannel # alias FarmbotCore.BotState setup :verify_on_exit! setup :set_mimic_global defmodule FakeState do defstruct conn: %{fake: :conn}, chan: "fake_chan_", jwt: "fake_jwt_", c...
26.153846
96
0.702941
f7d9438a157ae6955ab19cd81541b0631b0859a9
420
ex
Elixir
web/views/error_view.ex
Poniverse/LunaTube-API
433473f32ec04a636f6de60642e445fd2e478f98
[ "Apache-2.0" ]
null
null
null
web/views/error_view.ex
Poniverse/LunaTube-API
433473f32ec04a636f6de60642e445fd2e478f98
[ "Apache-2.0" ]
null
null
null
web/views/error_view.ex
Poniverse/LunaTube-API
433473f32ec04a636f6de60642e445fd2e478f98
[ "Apache-2.0" ]
null
null
null
defmodule Lunatube.ErrorView do use Lunatube.Web, :view def render("404.json", _assigns) do %{errors: %{detail: "Page not found"}} end def render("500.json", _assigns) do %{errors: %{detail: "Internal server error"}} end # In case no render clause matches or no # template is found, let's render...
23.333333
49
0.683333
f7d9757eb7140be5a4dc4dc50b149cbc41f60ddc
2,351
ex
Elixir
wadm/lib/wadm/model/validator.ex
janitha09/wadm
b5c9a0f5290bfcdd0eefe0f0bf22583b61c66c0f
[ "Apache-2.0" ]
2
2022-01-02T12:37:57.000Z
2022-03-02T20:13:03.000Z
wadm/lib/wadm/model/validator.ex
janitha09/wadm
b5c9a0f5290bfcdd0eefe0f0bf22583b61c66c0f
[ "Apache-2.0" ]
12
2021-11-28T19:22:20.000Z
2022-01-25T18:41:48.000Z
wadm/lib/wadm/model/validator.ex
janitha09/wadm
b5c9a0f5290bfcdd0eefe0f0bf22583b61c66c0f
[ "Apache-2.0" ]
1
2021-11-25T00:42:06.000Z
2021-11-25T00:42:06.000Z
defmodule Wadm.Model.Validator do alias Wadm.Model.{ AppSpec, ActorComponent, CapabilityComponent, SpreadScaler, LinkDefinition } @doc """ Validates an application specification structure. This validation only tests against conditions that are testable from within a single specification. ...
23.989796
97
0.607401
f7d97ddc1e375724adee901e6de21d0e64a6a39d
717
ex
Elixir
apps/core/lib/core/pubsub/protocols/realtime.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
null
null
null
apps/core/lib/core/pubsub/protocols/realtime.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
2
2019-12-13T23:55:50.000Z
2019-12-17T05:49:58.000Z
apps/core/lib/core/pubsub/protocols/realtime.ex
michaeljguarino/chartmart
a34c949cc29d6a1ab91c04c5e4f797e6f0daabfc
[ "Apache-2.0" ]
null
null
null
defprotocol Core.PubSub.Realtime do @fallback_to_any true def publish?(event) end defimpl Core.PubSub.Realtime, for: Any do def publish?(_), do: false end defimpl Core.PubSub.Realtime, for: [ Core.PubSub.IncidentCreated, Core.PubSub.IncidentUpdated, Core.PubSub.IncidentDeleted, Core.PubSub.IncidentMessa...
24.724138
41
0.783821
f7d9acfad84d72c2e29b46c157984626cfb26fce
2,703
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/user.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/user.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/user.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "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...
40.954545
263
0.711062
f7d9cc5f65df467017cadf22673672a72bc681ca
404
exs
Elixir
apps/robby_web/test/lib/photo_handler_test.exs
jeffweiss/openrobby
9fed2024e6ce87a6fe27ef3af85558f3116aca2a
[ "Apache-2.0" ]
null
null
null
apps/robby_web/test/lib/photo_handler_test.exs
jeffweiss/openrobby
9fed2024e6ce87a6fe27ef3af85558f3116aca2a
[ "Apache-2.0" ]
null
null
null
apps/robby_web/test/lib/photo_handler_test.exs
jeffweiss/openrobby
9fed2024e6ce87a6fe27ef3af85558f3116aca2a
[ "Apache-2.0" ]
null
null
null
defmodule RobbyWeb.PhotoHandlerTest do use ExUnit.Case alias RobbyWeb.PhotoHandler test "can successfully update a photo" do :ok = PhotoHandler.update_photo("matt") end test "can handle a missing photo gracefully" do :ok = PhotoHandler.update_photo("tom") end test "produces an error when there'...
22.444444
57
0.725248
f7d9dbaf51f171e9702bda91094fca1b8f3e1b66
1,219
ex
Elixir
apps/room_book/lib/user/user.ex
adrianomota/room_book_umbrella
701d4ad89b45739418df831156288b94346287df
[ "MIT" ]
null
null
null
apps/room_book/lib/user/user.ex
adrianomota/room_book_umbrella
701d4ad89b45739418df831156288b94346287df
[ "MIT" ]
null
null
null
apps/room_book/lib/user/user.ex
adrianomota/room_book_umbrella
701d4ad89b45739418df831156288b94346287df
[ "MIT" ]
null
null
null
defmodule RoomBook.User do use Ecto.Schema import Ecto.Changeset alias RoomBook.User schema "users" do field(:email, :string, null: false) field(:username, :string, null: false) field(:encrypted_password, :string, null: false) field(:password, :string, virtual: true) field(:password_confir...
25.93617
88
0.658737
f7d9efc5e5af5dbd74f479e7033320d1d7e0a3cf
300
exs
Elixir
src/say_math.exs
ybur-yug/all_about_iex
222d00dee28fa9cbabbf37359768584a9d8d1422
[ "MIT" ]
4
2016-02-07T07:33:06.000Z
2016-02-15T14:32:22.000Z
src/say_math.exs
ybur-yug/all_about_iex
222d00dee28fa9cbabbf37359768584a9d8d1422
[ "MIT" ]
null
null
null
src/say_math.exs
ybur-yug/all_about_iex
222d00dee28fa9cbabbf37359768584a9d8d1422
[ "MIT" ]
null
null
null
defmodule SayMath do @moduledoc """ A simple module to print math operations and their result """ @doc "prints the addition of two numbers and their result" @spec add(number(), number()) :: atom() def add a, b do IO.puts "#{a} + #{b} is #{a + b}" end end require IEx; IEx.pry
23.076923
61
0.626667
f7da0ca80c87e59cc8987d104ef4b004a413f3bb
1,966
ex
Elixir
lib/blog_post_api_web/controllers/user_controller.ex
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
lib/blog_post_api_web/controllers/user_controller.ex
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
lib/blog_post_api_web/controllers/user_controller.ex
dannielb/blog-post-api
214520beb57164375bc6596e85cbc42be67c0fb9
[ "MIT" ]
null
null
null
defmodule BlogPostApiWeb.UserController do use BlogPostApiWeb, :controller alias BlogPostApi.Accounts alias BlogPostApi.Accounts.User alias BlogPostApi.Guardian alias BlogPostApiWeb.Params.LoginParams action_fallback BlogPostApiWeb.FallbackController def index(conn, _params) do users = Accounts.lis...
28.492754
88
0.636826
f7da11847a9bb99a4e91dab37e7daef625b99493
2,150
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/managed_configurations_settings.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/managed_configurations_settings.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/managed_configurations_settings.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...
37.719298
138
0.741395
f7da25ed1f760cdd48ce1751026ad68801068965
1,830
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_nat_address.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_nat_address.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_nat_address.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.528302
130
0.718033
f7da2e5e00f51015d30d5c9cfe194653350080b4
28,907
ex
Elixir
lib/elixir/lib/application.ex
basdirks/elixir
2cb058ba32e410e8ea073970ef52d6476ef7b4d3
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/application.ex
basdirks/elixir
2cb058ba32e410e8ea073970ef52d6476ef7b4d3
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/elixir/lib/application.ex
basdirks/elixir
2cb058ba32e410e8ea073970ef52d6476ef7b4d3
[ "Apache-2.0" ]
1
2018-09-10T23:32:56.000Z
2018-09-10T23:32:56.000Z
defmodule Application do @moduledoc """ A module for working with applications and defining application callbacks. Applications are the idiomatic way to package software in Erlang/OTP. To get the idea, they are similar to the "library" concept common in other programming languages, but with some additional c...
36.269762
94
0.705331
f7da3dfaa4c71f63d99b7929283a389eb0f6b901
1,561
ex
Elixir
lib/request.ex
bzzt/bigtable
215b104a60596dde6cd459efb73baf8bccdb6b50
[ "MIT" ]
17
2019-01-22T12:59:38.000Z
2021-12-13T10:41:52.000Z
lib/request.ex
bzzt/bigtable
215b104a60596dde6cd459efb73baf8bccdb6b50
[ "MIT" ]
17
2019-01-27T18:11:33.000Z
2020-02-24T10:16:08.000Z
lib/request.ex
bzzt/bigtable
215b104a60596dde6cd459efb73baf8bccdb6b50
[ "MIT" ]
3
2019-02-04T17:08:09.000Z
2021-04-07T07:13:53.000Z
defmodule Bigtable.Request do @moduledoc false alias Bigtable.{Auth, Connection} alias Connection.Worker @spec process_request(any(), function(), list()) :: {:ok, any()} | {:error, any()} def process_request(request, request_fn, opts \\ []) do response = :poolboy.transaction( :connection_po...
24.777778
84
0.599616
f7da41f019a3df00adf0d92d38378469eec2bebc
7,794
exs
Elixir
lib/elixir/test/elixir/regex_test.exs
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/regex_test.exs
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/regex_test.exs
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule Regex.BinaryTest do use ExUnit.Case, async: true test :multiline do refute Regex.match?(%r/^b$/, "a\nb\nc") assert Regex.match?(%r/^b$/m, "a\nb\nc") end test :precedence do assert { "aa", :unknown } |> elem(0) =~ %r/(a)\1/ end test :back...
34.034934
101
0.549782
f7da4c6089429dc4a5d632d6e8b1eaa51ec91d03
1,091
ex
Elixir
test/support/conn_case.ex
NinjasCL/huemulixir
0f0ceb69f19e5d361725284f0f8cb1264e7e1742
[ "BSD-2-Clause" ]
2
2022-03-21T00:57:19.000Z
2022-03-25T14:28:15.000Z
test/support/conn_case.ex
NinjasCL/huemulixir
0f0ceb69f19e5d361725284f0f8cb1264e7e1742
[ "BSD-2-Clause" ]
null
null
null
test/support/conn_case.ex
NinjasCL/huemulixir
0f0ceb69f19e5d361725284f0f8cb1264e7e1742
[ "BSD-2-Clause" ]
null
null
null
defmodule HuemulixirWeb.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 data structures and query the data layer. Finally, if...
28.710526
64
0.737855
f7da91d65cbdd9e9a54ae4bbe628671e26578b6e
14,278
ex
Elixir
lib/bex/peer_worker.ex
ckampfe/bex
cfbfdd600e03ebb9ef60c3f2f8cb61b0640455ff
[ "BSD-3-Clause" ]
null
null
null
lib/bex/peer_worker.ex
ckampfe/bex
cfbfdd600e03ebb9ef60c3f2f8cb61b0640455ff
[ "BSD-3-Clause" ]
null
null
null
lib/bex/peer_worker.ex
ckampfe/bex
cfbfdd600e03ebb9ef60c3f2f8cb61b0640455ff
[ "BSD-3-Clause" ]
null
null
null
defmodule Bex.PeerWorker do @moduledoc false use GenServer, restart: :transient alias Bex.{BitArray, Peer, TorrentControllerWorker, Torrent, Metainfo, Chunk, Piece} require Logger ### PUBLIC API def start_link(args) do GenServer.start_link(__MODULE__, args) end def init(args) do {:ok, args,...
29.932914
140
0.596932
f7dad73662886c525d8271721b2f83359ec2a86e
1,002
exs
Elixir
mix.exs
zachary-kuhn/guardian_demo
f973cb5a665db1608543a31d3d2340caa2d11228
[ "MIT" ]
2
2017-09-10T12:44:31.000Z
2017-11-05T14:15:55.000Z
mix.exs
zachary-kuhn/guardian_demo
f973cb5a665db1608543a31d3d2340caa2d11228
[ "MIT" ]
null
null
null
mix.exs
zachary-kuhn/guardian_demo
f973cb5a665db1608543a31d3d2340caa2d11228
[ "MIT" ]
null
null
null
defmodule GuardianDemo.Mixfile do use Mix.Project def project do [ app: :guardian_demo, version: "1.0.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, deps: deps() ] ...
23.302326
56
0.588822
f7daed246339a0afe034b21fbce7b3d93ddff889
2,806
ex
Elixir
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_export_insights_data_metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_export_insights_data_metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/contact_center_insights/lib/google_api/contact_center_insights/v1/model/google_cloud_contactcenterinsights_v1_export_insights_data_metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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...
40.085714
213
0.746614
f7daf4e5cbb9246c8a7beb77a217b8c8ddfb44bb
73
ex
Elixir
lib/price_tracker_web/views/layout_view.ex
kevinbenard/price_tracker
0a7248edd4afca21f00e8b0fc05561f97799c0ca
[ "MIT" ]
null
null
null
lib/price_tracker_web/views/layout_view.ex
kevinbenard/price_tracker
0a7248edd4afca21f00e8b0fc05561f97799c0ca
[ "MIT" ]
null
null
null
lib/price_tracker_web/views/layout_view.ex
kevinbenard/price_tracker
0a7248edd4afca21f00e8b0fc05561f97799c0ca
[ "MIT" ]
null
null
null
defmodule PriceTrackerWeb.LayoutView do use PriceTrackerWeb, :view end
18.25
39
0.835616
f7db41eadd3745522561d295071ab8832d4d530e
1,469
ex
Elixir
lib/graft/state.ex
cdesch/graft
fff22759d48095ffd4693f92fda7a0026d15fdb5
[ "MIT" ]
7
2021-08-29T14:38:54.000Z
2022-02-23T10:56:35.000Z
lib/graft/state.ex
cdesch/graft
fff22759d48095ffd4693f92fda7a0026d15fdb5
[ "MIT" ]
1
2021-11-23T21:39:31.000Z
2021-11-23T21:39:31.000Z
lib/graft/state.ex
cdesch/graft
fff22759d48095ffd4693f92fda7a0026d15fdb5
[ "MIT" ]
1
2021-11-23T21:27:48.000Z
2021-11-23T21:27:48.000Z
defmodule Graft.State do @moduledoc false # name of the server process defstruct me: nil, # latest term server has seen current_term: 0, # candidate_pid that received vote in current term (or nil if none) voted_for: nil, # log entries; each ent...
43.205882
117
0.573179
f7db423a8f25aaa50fa12beeda36c854d2fc8d69
10,636
ex
Elixir
lib/sanbase/clickhouse/metric/metric_adapter.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
1
2022-01-30T19:51:39.000Z
2022-01-30T19:51:39.000Z
lib/sanbase/clickhouse/metric/metric_adapter.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
lib/sanbase/clickhouse/metric/metric_adapter.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
defmodule Sanbase.Clickhouse.MetricAdapter do @moduledoc ~s""" Provide access to the v2 metrics in Clickhouse The metrics are stored in clickhouse tables where each metric is defined by a `metric_id` and every project is defined by an `asset_id`. """ @behaviour Sanbase.Metric.Behaviour import Sanbase.Cl...
35.691275
97
0.724332
f7db48f541b770c5db300342db70268c8c18f556
1,228
ex
Elixir
lib/surgex_web/controllers/patient_controller.ex
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
8
2019-05-11T19:41:06.000Z
2020-01-20T07:01:53.000Z
lib/surgex_web/controllers/patient_controller.ex
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
12
2019-05-10T22:00:40.000Z
2019-07-05T19:20:56.000Z
lib/surgex_web/controllers/patient_controller.ex
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
1
2019-07-18T15:58:41.000Z
2019-07-18T15:58:41.000Z
defmodule SurgexWeb.PatientController do use SurgexWeb, :controller alias Surgex.Surgeries alias Surgex.Surgeries.Patient action_fallback SurgexWeb.FallbackController def index(conn, _params) do patients = Surgeries.list_patients() render(conn, "index.json", patients: patients) end def create(...
27.909091
92
0.669381
f7db4e289cbc403e71fe5971455aa461dc7cef56
1,254
ex
Elixir
test/support/conn_case.ex
LuizFerK/Rocketpay
4388f22231c43fb58e777dfb04a342e82b548df7
[ "MIT" ]
null
null
null
test/support/conn_case.ex
LuizFerK/Rocketpay
4388f22231c43fb58e777dfb04a342e82b548df7
[ "MIT" ]
null
null
null
test/support/conn_case.ex
LuizFerK/Rocketpay
4388f22231c43fb58e777dfb04a342e82b548df7
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.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 data structures and query the data layer. Finally, if ...
27.26087
63
0.725678
f7db5fe51c0db8157176c7e0855f5effa4c807f6
1,448
ex
Elixir
lib/thrift/parser/resolver.ex
simplifi/elixir-thrift
3ce784e198fbdf77d7d2481e6fd0cc9fd9618630
[ "Apache-2.0" ]
209
2015-12-19T09:56:39.000Z
2022-03-22T04:43:16.000Z
lib/thrift/parser/resolver.ex
fakeNetflix/pinterest-repo-elixir-thrift
4e6cc130738b4f04fdbb06bd6f12985b9a9438d3
[ "Apache-2.0" ]
312
2016-01-05T04:04:58.000Z
2021-11-15T17:59:57.000Z
lib/thrift/parser/resolver.ex
thecodeboss/elixir-thrift
621a2039bcbcec62d1cedc85b01421813e0910e8
[ "Apache-2.0" ]
40
2015-12-21T19:46:03.000Z
2022-02-10T08:34:58.000Z
defmodule Thrift.Parser.Resolver do @moduledoc false # A resolver for references. During file parsing, all new generated thrift # concepts flow through this resolver and are added to its global database # of names. At the end, the database is dumped into the FileGroup so it can # resolve references. alias...
29.55102
87
0.618094
f7db85f9589a305ca27dd28891dbd4a8663fe699
157
ex
Elixir
lib/remote_retro_web/views/retro_view.ex
octosteve/remote_retro
3385b0db3c2daab934ce12a2f7642a5f10ac5147
[ "MIT" ]
523
2017-03-15T15:21:11.000Z
2022-03-14T03:04:18.000Z
lib/remote_retro_web/views/retro_view.ex
octosteve/remote_retro
3385b0db3c2daab934ce12a2f7642a5f10ac5147
[ "MIT" ]
524
2017-03-16T18:31:09.000Z
2022-02-26T10:02:06.000Z
lib/remote_retro_web/views/retro_view.ex
octosteve/remote_retro
3385b0db3c2daab934ce12a2f7642a5f10ac5147
[ "MIT" ]
60
2017-05-01T18:02:28.000Z
2022-03-04T21:04:56.000Z
defmodule RemoteRetroWeb.RetroView do use RemoteRetroWeb, :view import RemoteRetroWeb.IdeaView import RemoteRetroWeb.LayoutView, only: [app_js: 1] end
26.166667
53
0.808917
f7db9fb2759229b282c3a07f097283c285d9f516
1,524
exs
Elixir
mix.exs
LaErika/phone
fc63a32dfd156b63b5c95ed59bd160046bae5dd3
[ "Apache-2.0" ]
null
null
null
mix.exs
LaErika/phone
fc63a32dfd156b63b5c95ed59bd160046bae5dd3
[ "Apache-2.0" ]
null
null
null
mix.exs
LaErika/phone
fc63a32dfd156b63b5c95ed59bd160046bae5dd3
[ "Apache-2.0" ]
null
null
null
defmodule Phone.Mixfile do use Mix.Project @source_url "https://github.com/fcevado/phone" @version "0.5.5" def project do [ app: :phone, version: @version, elixir: ">= 1.1.0", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, package: package(), ...
21.771429
76
0.55315
f7dc1ad3ca7b2164d4c68731e9af0bea8ea2daeb
1,776
exs
Elixir
test/exshome/pub_sub_test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
2
2021-12-21T16:32:56.000Z
2022-02-22T17:06:39.000Z
test/exshome/pub_sub_test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
null
null
null
test/exshome/pub_sub_test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
null
null
null
defmodule ExshomeTest.PubSubTest do use ExUnit.Case, async: true alias Exshome.PubSub import ExshomeTest.Fixtures alias ExshomeTest.TestRegistry describe "with registry" do setup do TestRegistry.allow(self(), self()) topic = "topic_#{unique_integer()}" PubSub.subscribe(topic) %{to...
25.371429
83
0.643018
f7dc3ef3b1a6f50c64173d809615ee9f82fddb0d
558
exs
Elixir
config/dev.exs
jhonndabi/speedrun_blogengine
3a4ae736be1a3e21634376cff1c2e2a60750dcba
[ "Apache-2.0" ]
11
2021-04-12T18:32:30.000Z
2021-04-23T04:29:48.000Z
config/dev.exs
jhonndabi/speedrun_blogengine
3a4ae736be1a3e21634376cff1c2e2a60750dcba
[ "Apache-2.0" ]
1
2021-09-18T01:14:50.000Z
2021-09-18T01:14:50.000Z
config/dev.exs
jhonndabi/speedrun_blogengine
3a4ae736be1a3e21634376cff1c2e2a60750dcba
[ "Apache-2.0" ]
11
2021-04-13T15:01:36.000Z
2021-04-19T19:04:47.000Z
import Config config :speedrun_blogengine, SpeedrunBlogengine.Repo, username: "postgres", password: "postgres", database: "speedrun_blogengine_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 config :speedrun_blogengine_web, SpeedrunBlogengineWeb.Endpoint, http: ...
24.26087
64
0.759857
f7dc82937bb457052f15886c76064e9ee4249104
972
ex
Elixir
apps/gitgud_web/test/support/conn_case.ex
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
449
2018-03-06T01:05:55.000Z
2022-03-23T21:03:56.000Z
apps/gitgud_web/test/support/conn_case.ex
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
69
2018-03-06T09:26:41.000Z
2022-03-21T22:43:09.000Z
apps/gitgud_web/test/support/conn_case.ex
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
41
2018-03-06T01:06:07.000Z
2021-11-21T17:55:04.000Z
defmodule GitGud.Web.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the...
24.923077
66
0.710905
f7dc8af4934f9176b2060a341993e1fec5673689
417
exs
Elixir
test/banchan_web/views/error_view_test.exs
tacohole/banchan
04c9f2fd5464e697d9b69e4bc524ace5f6487487
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
test/banchan_web/views/error_view_test.exs
tacohole/banchan
04c9f2fd5464e697d9b69e4bc524ace5f6487487
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
test/banchan_web/views/error_view_test.exs
tacohole/banchan
04c9f2fd5464e697d9b69e4bc524ace5f6487487
[ "BlueOak-1.0.0", "Apache-2.0" ]
null
null
null
defmodule BanchanWeb.ErrorViewTest do use BanchanWeb.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(BanchanWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do as...
27.8
92
0.733813
f7dca3cd2c86b0b4ddd30afd3d3c94a4762339af
1,929
ex
Elixir
lib/elxpro_blog_web.ex
AkioCode/elxpro-blog
236984915851b91058e091414deb70c5e8fed72a
[ "MIT" ]
null
null
null
lib/elxpro_blog_web.ex
AkioCode/elxpro-blog
236984915851b91058e091414deb70c5e8fed72a
[ "MIT" ]
4
2021-08-11T03:19:33.000Z
2021-09-26T01:29:58.000Z
lib/elxpro_blog_web.ex
AkioCode/elxpro-blog
236984915851b91058e091414deb70c5e8fed72a
[ "MIT" ]
null
null
null
defmodule ElxproBlogWeb 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 ElxproBlogWeb, :controller use ElxproBlogWeb, :view The definitions below will be executed for every view, con...
23.52439
76
0.69155
f7dcd3f6f5a4ad1a081a6dd462e2ff4ff6fc1d9a
2,239
ex
Elixir
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/connection.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/connection.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/connection.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...
26.975904
114
0.713265