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
dafb6e62169bd0d95fb60f52538212df600399f6
2,721
ex
Elixir
clients/content/lib/google_api/content/v2/model/account_status_data_quality_issue.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/account_status_data_quality_issue.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/account_status_data_quality_issue.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.337662
113
0.653804
dafb9ca495d49a771763e4c328d0733bea3e6ee1
1,041
exs
Elixir
test/mux/video/signing_keys_test.exs
mcrumm/mux-elixir
07b8a655299474560906ae5ef278cfc7ffdd46d6
[ "MIT" ]
53
2018-06-29T22:49:29.000Z
2022-03-23T00:01:44.000Z
test/mux/video/signing_keys_test.exs
mcrumm/mux-elixir
07b8a655299474560906ae5ef278cfc7ffdd46d6
[ "MIT" ]
18
2019-05-12T00:41:57.000Z
2022-01-09T13:46:59.000Z
test/mux/video/signing_keys_test.exs
mcrumm/mux-elixir
07b8a655299474560906ae5ef278cfc7ffdd46d6
[ "MIT" ]
14
2019-01-24T23:44:34.000Z
2022-03-21T15:28:42.000Z
defmodule Mux.SigningKeysTest do use ExUnit.Case import Tesla.Mock doctest Mux.Video.SigningKeys @base_url "https://api.mux.com/video/v1/signing-keys/" setup do client = Mux.Base.new("token_id", "token_secret", base_url: @base_url) mock(fn %{method: :get, url: @base_url} -> %Tesla.Env...
24.209302
84
0.533141
dafbfabc829d2f895be3ec22e757d684f0ba647a
878
exs
Elixir
config/config.voyager.exs
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
3
2020-11-24T07:45:26.000Z
2021-07-29T13:37:02.000Z
config/config.voyager.exs
mskcc/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
52
2020-10-21T19:47:59.000Z
2021-09-09T18:42:33.000Z
config/config.voyager.exs
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
1
2020-12-15T03:33:31.000Z
2020-12-15T03:33:31.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 config :voyager, ecto_repos: [Voyager.Repo] #...
30.275862
85
0.766515
dafc2ea4950a706a9b879adca37fe3a39dde4c74
649
exs
Elixir
src/hello_world_api/test/hello_world_api_web/views/error_view_test.exs
TobiG77/tf-ecs-example-app
6d7be943dd74cc91b9a0ac134f035efc5f2cbb8a
[ "MIT" ]
null
null
null
src/hello_world_api/test/hello_world_api_web/views/error_view_test.exs
TobiG77/tf-ecs-example-app
6d7be943dd74cc91b9a0ac134f035efc5f2cbb8a
[ "MIT" ]
null
null
null
src/hello_world_api/test/hello_world_api_web/views/error_view_test.exs
TobiG77/tf-ecs-example-app
6d7be943dd74cc91b9a0ac134f035efc5f2cbb8a
[ "MIT" ]
null
null
null
defmodule HelloWorldApiWeb.ErrorViewTest do use HelloWorldApiWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(HelloWorldApiWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Page not found...
29.5
66
0.670262
dafc30d502ed931d7bd84e403f23fb0cf97f4fa8
17
ex
Elixir
testData/org/elixir_lang/parser_definition/literal_regex_line_parsing_test_case/Braces.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/literal_regex_line_parsing_test_case/Braces.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/literal_regex_line_parsing_test_case/Braces.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~R{{\}[]<>"/()|'}
17
17
0.058824
dafc4151fab7f11c802a4f5bf0e5248932e3db7e
10,689
ex
Elixir
lib/credo/cli/command/explain/output/default.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/cli/command/explain/output/default.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/cli/command/explain/output/default.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
defmodule Credo.CLI.Command.Explain.Output.Default do alias Credo.CLI.Output alias Credo.CLI.Output.UI alias Credo.Code.Scope alias Credo.Issue alias Credo.SourceFile @indent 8 @params_min_indent 20 @doc "Called before the analysis is run." def print_before_info(source_files, exec) do UI.puts() ...
21.292829
81
0.551221
dafc4300abbee6eb26d0303308d4be975632c926
1,127
exs
Elixir
config/config.exs
edisonywh/receivex
605fe45e8c8e0d9c29cc04f54918839c4c79656d
[ "MIT" ]
18
2018-12-14T16:53:27.000Z
2022-03-16T09:30:36.000Z
config/config.exs
edisonywh/receivex
605fe45e8c8e0d9c29cc04f54918839c4c79656d
[ "MIT" ]
44
2019-04-16T04:32:17.000Z
2022-03-24T04:03:53.000Z
config/config.exs
edisonywh/receivex
605fe45e8c8e0d9c29cc04f54918839c4c79656d
[ "MIT" ]
3
2020-01-17T15:29:33.000Z
2021-12-12T19:50:33.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.354839
73
0.750665
dafc5e1f6f639983e69ec843e5a426c7ffd2ba27
9,008
ex
Elixir
apps/admin_api/lib/admin_api/v1/router.ex
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/router.ex
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/router.ex
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
40.035556
95
0.73135
dafc9d230757e7b196bc13e65e5235b398d8b1af
1,568
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/ingest_message_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/ingest_message_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/ingest_message_request.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...
33.361702
117
0.753189
dafcd0f17ad90eaf1e2daaed9af0e6ea43372fb0
1,552
ex
Elixir
clients/home_graph/lib/google_api/home_graph/v1/model/query_request_input.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/home_graph/lib/google_api/home_graph/v1/model/query_request_input.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/home_graph/lib/google_api/home_graph/v1/model/query_request_input.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...
33.021277
141
0.751289
dafcee168eadfb4c9bef1d3c47a5ae0e698e0828
4,967
exs
Elixir
test/phoenix/router/pipeline_test.exs
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
test/phoenix/router/pipeline_test.exs
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
test/phoenix/router/pipeline_test.exs
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
defmodule Phoenix.Router.PipelineTest.SampleController do use Phoenix.Controller plug :action def index(conn, _params), do: text(conn, "index") def crash(_conn, _params), do: raise "crash!" end alias Phoenix.Router.PipelineTest.SampleController ## Empty router Application.put_env(:phoenix, Phoenix.Router.Pip...
25.471795
95
0.663982
dafcf823af769e1c049c0b816b1773356321a15b
2,952
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/queue_stats.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/queue_stats.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/queue_stats.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...
50.033898
337
0.73916
dafcf97d4b76c144822492ebe593197404fd0ae2
55,125
exs
Elixir
lib/elixir/test/elixir/kernel/warning_test.exs
almirsarajcic/elixir
4334152bbd338e88f7eb4f826ba93e94c3df0ba5
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/warning_test.exs
almirsarajcic/elixir
4334152bbd338e88f7eb4f826ba93e94c3df0ba5
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/warning_test.exs
almirsarajcic/elixir
4334152bbd338e88f7eb4f826ba93e94c3df0ba5
[ "Apache-2.0" ]
1
2021-12-09T11:36:07.000Z
2021-12-09T11:36:07.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.WarningTest do use ExUnit.Case import ExUnit.CaptureIO defp capture_err(fun) do capture_io(:stderr, fun) end test "outdented heredoc" do output = capture_err(fn -> Code.eval_string(""" ''' outdented ...
27.897267
219
0.507011
dafd03e706cae186436804495e40bf2c02d9e46e
520
ex
Elixir
lib/chore_runner/chore_case/test_reporter.ex
pepsico-ecommerce/chore_runner
c84863b7ea5feac20ab4320a5c04ffa534040c3c
[ "Apache-2.0" ]
16
2021-10-31T22:14:29.000Z
2022-03-31T14:52:36.000Z
lib/chore_runner/chore_case/test_reporter.ex
pepsico-ecommerce/chore_runner
c84863b7ea5feac20ab4320a5c04ffa534040c3c
[ "Apache-2.0" ]
1
2022-01-13T04:53:22.000Z
2022-02-08T04:28:19.000Z
lib/chore_runner/chore_case/test_reporter.ex
pepsico-ecommerce/chore_runner
c84863b7ea5feac20ab4320a5c04ffa534040c3c
[ "Apache-2.0" ]
2
2021-12-25T18:01:36.000Z
2022-03-12T20:55:06.000Z
defmodule ChoreRunner.ChoreCase.TestReporter do use GenServer def init(_) do {:ok, []} end def start_link(_) do GenServer.start_link(__MODULE__, []) end def handle_cast(event, state), do: {:noreply, [event | state]} def handle_call({:assert_logged, enum_func}, _, state) do {:reply, Enum.fi...
21.666667
70
0.669231
dafd17fa1859d798007abbf1a82cbef56de29846
1,480
ex
Elixir
elixir/lib/advent_of_code/day_07.ex
dfireBird/aoc_2020
0393d3c85202b5babe73bce71c1e83d0876c53f6
[ "MIT" ]
null
null
null
elixir/lib/advent_of_code/day_07.ex
dfireBird/aoc_2020
0393d3c85202b5babe73bce71c1e83d0876c53f6
[ "MIT" ]
null
null
null
elixir/lib/advent_of_code/day_07.ex
dfireBird/aoc_2020
0393d3c85202b5babe73bce71c1e83d0876c53f6
[ "MIT" ]
null
null
null
defmodule AdventOfCode.Day07 do def search_bag(key, map) do children = Map.get(map, key) |> Enum.map(fn {_, x} -> x end) "shiny gold" in children or Enum.any?(children, &search_bag(&1, map)) end def count_bag({num, bag}, map) do children = Map.get(map, bag) num + num * Enum.reduce(children, 0, fn...
29.6
93
0.550676
dafd2edf964ca24a3ca7ac433986602a4a0057aa
960
ex
Elixir
agma/lib/agma_web/controllers/container_controller.ex
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
37
2021-01-31T17:43:03.000Z
2021-11-17T12:29:00.000Z
agma/lib/agma_web/controllers/container_controller.ex
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
4
2021-05-29T04:54:28.000Z
2021-06-26T20:40:48.000Z
agma/lib/agma_web/controllers/container_controller.ex
queer/mahou
09b63a2f7431a7b3364ce81dac35114ea508942f
[ "BSD-3-Clause" ]
null
null
null
defmodule AgmaWeb.ContainerController do use AgmaWeb, :controller use Mahou.Docs alias Agma.Deployer alias Mahou.Message alias Mahou.Message.{ChangeContainerStatus, CreateContainer} require Logger @doc """ Creates a container """ @input CreateContainer @output nil def create(conn, _) do {:o...
23.414634
87
0.682292
dafd324318de40d51bc9f85fce61f9791b286806
130
exs
Elixir
config/test.exs
elbow-jason/bus_car
cd70b9f6b8dd404eb518f642491e0a4430e2d9f9
[ "MIT" ]
18
2016-09-25T21:36:39.000Z
2021-02-17T15:09:52.000Z
config/test.exs
elbow-jason/bus_car
cd70b9f6b8dd404eb518f642491e0a4430e2d9f9
[ "MIT" ]
7
2016-12-08T05:01:23.000Z
2018-04-05T08:55:11.000Z
config/test.exs
elbow-jason/bus_car
cd70b9f6b8dd404eb518f642491e0a4430e2d9f9
[ "MIT" ]
1
2020-04-24T02:10:15.000Z
2020-04-24T02:10:15.000Z
use Mix.Config config :bus_car, :test_example, host: "localhost", port: 9200 config :slogger, BusCar.Request, level: :info
16.25
32
0.715385
dafd39d27197af9dd214beb5d56aa81f5a52024b
740
exs
Elixir
test/maze/server_test.exs
kabasakalis/elixir_maze
68e2cd589230de66cc658fcf192228802f545e55
[ "MIT" ]
1
2020-08-13T15:01:23.000Z
2020-08-13T15:01:23.000Z
test/maze/server_test.exs
kabasakalis/elixir_maze
68e2cd589230de66cc658fcf192228802f545e55
[ "MIT" ]
null
null
null
test/maze/server_test.exs
kabasakalis/elixir_maze
68e2cd589230de66cc658fcf192228802f545e55
[ "MIT" ]
null
null
null
ExUnit.start defmodule ServerTest do use ExUnit.Case, async: true doctest ElixirMaze setup_all context do IO.puts "Setting up : #{inspect(context[:case])}" :ok end test "Server creates maze." do maze = Maze.Server.create_maze( { :init, 15, 20, ...
21.142857
63
0.563514
dafd516afff0686dd4468d4bba96cf8f0d22e7ab
1,986
ex
Elixir
lib/que/server_supervisor.ex
gmartsenkov/que
e69e73e9c00266b0f447c712780ea010276cec4d
[ "MIT" ]
null
null
null
lib/que/server_supervisor.ex
gmartsenkov/que
e69e73e9c00266b0f447c712780ea010276cec4d
[ "MIT" ]
null
null
null
lib/que/server_supervisor.ex
gmartsenkov/que
e69e73e9c00266b0f447c712780ea010276cec4d
[ "MIT" ]
null
null
null
defmodule Que.ServerSupervisor do use Supervisor @module __MODULE__ @moduledoc """ This Supervisor is responsible for spawning a `Que.Server` for each worker. You shouldn't start this manually unless you absolutely know what you're doing. """ @doc """ Starts the Supervision Tree """ @spec st...
20.6875
85
0.665156
dafd868e8bbff4d38712f1de867e30676e107f16
98
ex
Elixir
lib/membrane_element_portaudio/source_native.ex
thbar/membrane-element-portaudio
cb4a708e2897bed3e08459f52961d6d344a87683
[ "Apache-2.0" ]
null
null
null
lib/membrane_element_portaudio/source_native.ex
thbar/membrane-element-portaudio
cb4a708e2897bed3e08459f52961d6d344a87683
[ "Apache-2.0" ]
null
null
null
lib/membrane_element_portaudio/source_native.ex
thbar/membrane-element-portaudio
cb4a708e2897bed3e08459f52961d6d344a87683
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Element.PortAudio.Source.Native do @moduledoc false use Unifex.Loader end
16.333333
53
0.806122
dafd874452b18a2110f9daccb667c34aa4e47cb9
1,736
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__shot_change_detection_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__shot_change_detection_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__shot_change_detection_config.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
106
0.75
dafda1c6d339f3caf209ef7e11f9900d1fde4e9e
97
exs
Elixir
test/addict_test.exs
aforward-oss/addict
dfb20b7299614becc5c472564a1e6ba6d7994615
[ "MIT" ]
null
null
null
test/addict_test.exs
aforward-oss/addict
dfb20b7299614becc5c472564a1e6ba6d7994615
[ "MIT" ]
null
null
null
test/addict_test.exs
aforward-oss/addict
dfb20b7299614becc5c472564a1e6ba6d7994615
[ "MIT" ]
null
null
null
defmodule AddictTest do use ExUnit.Case test "the truth" do assert 1 + 1 == 2 end end
12.125
23
0.649485
dafdb62be7ddae04b792c5a50cb38b2ab12e78f7
5,804
exs
Elixir
test/glimesh/api/query_subscriptions_test.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
test/glimesh/api/query_subscriptions_test.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
test/glimesh/api/query_subscriptions_test.exs
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule Glimesh.Api.QuerySubscriptionsTest do use GlimeshWeb.SubscriptionCase import Glimesh.AccountsFixtures describe "channel subscriptions" do setup :setup_socket test "updating channel title sends subscription update", %{socket: socket} do streamer = streamer_fixture() ref = ...
24.909871
97
0.460544
dafdbd273237a6079aa2ae39837af539bdcc3907
1,867
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/text_property.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/text_property.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/text_property.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...
36.607843
119
0.752544
dafdfa797b44f8712fa3da24781544c7817258c9
70,597
ex
Elixir
lib/ecto/query.ex
Nitrodist/ecto
bfdca5ae8745af06940c46a55a9220cb83c5d97e
[ "Apache-2.0" ]
null
null
null
lib/ecto/query.ex
Nitrodist/ecto
bfdca5ae8745af06940c46a55a9220cb83c5d97e
[ "Apache-2.0" ]
2
2020-04-23T00:19:07.000Z
2020-04-23T00:24:25.000Z
lib/ecto/query.ex
Nitrodist/ecto
bfdca5ae8745af06940c46a55a9220cb83c5d97e
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.SubQuery do @moduledoc """ A struct representing subqueries. See `Ecto.Query.subquery/2` for more information. """ defstruct [:query, :params, :select, :cache] end defmodule Ecto.Query do @moduledoc ~S""" Provides the Query DSL. Queries are used to retrieve and manipulate data from a r...
34.353771
139
0.676502
dafe082486bf8cf07050730fb0b4eaf438a8ee27
1,670
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/pause_proposal_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/pause_proposal_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/pause_proposal_request.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...
34.791667
196
0.756886
dafe096f23a6b0ec430fca53df267f972b0910c3
2,455
ex
Elixir
lib/con_cache_provider.ex
EnthuZiastic/absinthe_cache
48059fa41f4d04ad819f1564e3ea4a7d3b5c69cf
[ "MIT" ]
null
null
null
lib/con_cache_provider.ex
EnthuZiastic/absinthe_cache
48059fa41f4d04ad819f1564e3ea4a7d3b5c69cf
[ "MIT" ]
null
null
null
lib/con_cache_provider.ex
EnthuZiastic/absinthe_cache
48059fa41f4d04ad819f1564e3ea4a7d3b5c69cf
[ "MIT" ]
null
null
null
defmodule AbsintheCache.ConCacheProvider do # TODO: Check if con_cache is available @behaviour AbsintheCache.Behaviour @compile :inline_list_funcs @compile {:inline, get: 2, store: 3, get_or_store: 4, cache_item: 3} @max_cache_ttl 30 * 60 @impl true def size(cache, :megabytes) do bytes_size = :ets....
25.309278
97
0.543381
dafea27fa47f2634e329d5c6f32b814f26175568
6,821
ex
Elixir
lib/brando_admin/components/form/input/image.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
lib/brando_admin/components/form/input/image.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
lib/brando_admin/components/form/input/image.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule BrandoAdmin.Components.Form.Input.Image do use BrandoAdmin, :live_component import Ecto.Changeset import Brando.Gettext alias BrandoAdmin.Components.Content alias BrandoAdmin.Components.Form alias BrandoAdmin.Components.Form.Input # prop form, :form # prop field, :atom # prop label, :stri...
29.916667
418
0.57367
dafea8475d506a45e660e242d017f33824bfe1d5
510
ex
Elixir
test/support/helpers.ex
Harrisonl/meilisearch-elixir
d2d9b0a0fe52aeabd597b1df2e47e8d3eb35c7d5
[ "MIT" ]
1
2020-09-17T21:51:19.000Z
2020-09-17T21:51:19.000Z
test/support/helpers.ex
Harrisonl/meilisearch-elixir
d2d9b0a0fe52aeabd597b1df2e47e8d3eb35c7d5
[ "MIT" ]
null
null
null
test/support/helpers.ex
Harrisonl/meilisearch-elixir
d2d9b0a0fe52aeabd597b1df2e47e8d3eb35c7d5
[ "MIT" ]
null
null
null
defmodule Support.Helpers do @moduledoc false alias Meilisearch.{Index, Update} def delete_all_indexes do {:ok, indexes} = Index.list() indexes |> Enum.map(fn %{"uid" => uid} -> uid end) |> Enum.map(&Index.delete/1) end def wait_for_update(index_uid, update_id) do case Update.get(index...
20.4
46
0.613725
daff162313c2b6031edddc855d5c994ed03f2c1b
63
ex
Elixir
lib/fun_retro_web/views/page_view.ex
Harmful-Alchemist/FunRetro
6b53c16adb2c233e5338799732a5a5c2fe10acaf
[ "MIT" ]
null
null
null
lib/fun_retro_web/views/page_view.ex
Harmful-Alchemist/FunRetro
6b53c16adb2c233e5338799732a5a5c2fe10acaf
[ "MIT" ]
null
null
null
lib/fun_retro_web/views/page_view.ex
Harmful-Alchemist/FunRetro
6b53c16adb2c233e5338799732a5a5c2fe10acaf
[ "MIT" ]
null
null
null
defmodule FunRetroWeb.PageView do use FunRetroWeb, :view end
15.75
33
0.809524
daff1b809f69b8406e9e6fb695552e3af99635ca
45,462
exs
Elixir
apps/omg_eth/test/omg_eth/root_chain/abi_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_eth/test/omg_eth/root_chain/abi_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_eth/test/omg_eth/root_chain/abi_test.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 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 ...
66.174672
3,346
0.583344
daff398fdf6f200eecd54c03cbdeb214d033c97a
3,609
exs
Elixir
tests/dummy/test/autox/utils/relation_utils_test.exs
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
tests/dummy/test/autox/utils/relation_utils_test.exs
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
20
2016-04-05T06:28:58.000Z
2016-05-12T15:45:37.000Z
tests/dummy/test/autox/utils/relation_utils_test.exs
foxnewsnetwork/autox
66ea3f0f7ba8b3f9e910984a2ed3cdf0ef5ef29a
[ "MIT" ]
null
null
null
defmodule Dummy.RelationUtilsTest do use Dummy.ModelCase alias Dummy.Repo alias Dummy.Shop alias Dummy.Chair alias Dummy.Kitchen alias Autox.RelationUtils, as: Ru alias Dummy.SalsasShopsRelationship import Dummy.SeedSupport setup do shop = build_shop {:ok, shop: shop} end test "caac - exi...
32.809091
113
0.600998
daff5f3ef98f21ce9b4e480bbaaa17dfa2faa002
597
exs
Elixir
exercises/nth-prime/nth_prime_test.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
null
null
null
exercises/nth-prime/nth_prime_test.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
null
null
null
exercises/nth-prime/nth_prime_test.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
1
2018-07-19T23:43:56.000Z
2018-07-19T23:43:56.000Z
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("nth_prime.exs", __DIR__) end ExUnit.start() ExUnit.configure(exclude: :pending, trace: true) defmodule NthPrimeTest do use ExUnit.Case # @tag :pending test "first prime" do assert Prime.nth(1) == 2 end @tag :pending test "second prime...
16.583333
48
0.663317
daff6f4551f545a002953232d13f21cc81975110
732
exs
Elixir
test/interactors/register_test.exs
mainframe2/addict
aa70768f20939bf1f4d36a680240cb32f36e2a79
[ "MIT" ]
null
null
null
test/interactors/register_test.exs
mainframe2/addict
aa70768f20939bf1f4d36a680240cb32f36e2a79
[ "MIT" ]
null
null
null
test/interactors/register_test.exs
mainframe2/addict
aa70768f20939bf1f4d36a680240cb32f36e2a79
[ "MIT" ]
null
null
null
defmodule TestAddictUser do @moduledoc false use Ecto.Schema schema "users" do field(:password, :string) field(:email, :string) end end defmodule RegisterTest do @moduledoc false alias Addict.Interactors.ValidatePassword use ExUnit.Case, async: true test "it passes on happy path" do cha...
26.142857
106
0.680328
daffb758643ab1d5a71fc78e309d65ecd12649da
2,075
exs
Elixir
mix.exs
jjcarstens/exqlite
c163e923082075678a7daa64a0d1cb5866653546
[ "MIT" ]
null
null
null
mix.exs
jjcarstens/exqlite
c163e923082075678a7daa64a0d1cb5866653546
[ "MIT" ]
null
null
null
mix.exs
jjcarstens/exqlite
c163e923082075678a7daa64a0d1cb5866653546
[ "MIT" ]
null
null
null
defmodule Exqlite.MixProject do use Mix.Project @version "0.8.2" def project do [ app: :exqlite, version: @version, elixir: "~> 1.10", compilers: [:elixir_make] ++ Mix.compilers(), make_targets: ["all"], make_clean: ["clean"], start_permanent: Mix.env() == :prod, ...
22.074468
68
0.557108
daffd2a03152f924d95084cdc17b29e884fb4323
412
ex
Elixir
elixir/rna-transcription/lib/rna_transcription.ex
quatauta/exercism
8c8a477a83719cbe57630c6a2884d40cc1808149
[ "MIT" ]
1
2022-01-23T20:34:27.000Z
2022-01-23T20:34:27.000Z
elixir/rna-transcription/lib/rna_transcription.ex
quatauta/exercism
8c8a477a83719cbe57630c6a2884d40cc1808149
[ "MIT" ]
null
null
null
elixir/rna-transcription/lib/rna_transcription.ex
quatauta/exercism
8c8a477a83719cbe57630c6a2884d40cc1808149
[ "MIT" ]
null
null
null
defmodule RnaTranscription do @moduledoc """ Transcribes a character list representing DNA nucleotides to RNA ## Examples iex> RnaTranscription.to_rna('ACTG') 'UGAC' """ @spec to_rna([char]) :: [char] def to_rna([head | tail]), do: to_rna(head) ++ to_rna(tail) def to_rna([]), do: '' def to_rna(?A)...
22.888889
66
0.621359
daffd46255126f98f9471af164e70275d2bbc2f2
1,989
ex
Elixir
lib/pulsar_ex.ex
blueshift-labs/pulsar_ex
8fd5b6b7fa98b172645bce56dd3a46395935e2e0
[ "MIT" ]
3
2021-04-16T01:54:20.000Z
2022-01-09T23:26:56.000Z
lib/pulsar_ex.ex
blueshift-labs/pulsar_ex
8fd5b6b7fa98b172645bce56dd3a46395935e2e0
[ "MIT" ]
null
null
null
lib/pulsar_ex.ex
blueshift-labs/pulsar_ex
8fd5b6b7fa98b172645bce56dd3a46395935e2e0
[ "MIT" ]
null
null
null
defmodule PulsarEx do alias PulsarEx.{ ProducerManager, PartitionManager, PartitionedProducer, Partitioner, Topic, ConsumerManager, ProducerImpl } def produce(topic_name, payload, message_opts \\ [], producer_opts \\ []) def produce(topic_name, payload, message_opts, producer_opts)...
33.711864
101
0.72549
97002af17963891f2b5ef4f305c838cb7b3f0ba2
217
exs
Elixir
test/controllers/page_controller_test.exs
brandnewio/brandnew-mail-tracker
0f991c82bd95be6a8efaee949b459b77a1e7245d
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
brandnewio/brandnew-mail-tracker
0f991c82bd95be6a8efaee949b459b77a1e7245d
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
brandnewio/brandnew-mail-tracker
0f991c82bd95be6a8efaee949b459b77a1e7245d
[ "MIT" ]
null
null
null
defmodule BrandnewMailTracker.PageControllerTest do use BrandnewMailTracker.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
24.111111
60
0.709677
970042b23be0aa2135b86b5d112b87ce0332127e
164
exs
Elixir
priv/repo/migrations/20200808182040_add_tfa_content.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
priv/repo/migrations/20200808182040_add_tfa_content.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
priv/repo/migrations/20200808182040_add_tfa_content.exs
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule Glimesh.Repo.Migrations.AddTfaContent do use Ecto.Migration def change do alter table(:users) do add :tfa_token, :string end end end
16.4
50
0.707317
97005ada0411f453d3869f6328b2751eaebb5fad
10,083
exs
Elixir
lib/elixir/test/elixir/version_test.exs
voltone/elixir
e208e1066e484c46726e4d931c18e54aba036f6e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/version_test.exs
voltone/elixir
e208e1066e484c46726e4d931c18e54aba036f6e
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/version_test.exs
voltone/elixir
e208e1066e484c46726e4d931c18e54aba036f6e
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) defmodule VersionTest do use ExUnit.Case, async: true doctest Version alias Version.Parser test "compare/2 with valid versions" do assert Version.compare("1.0.1", "1.0.0") == :gt assert Version.compare("1.1.0", "1.0.1") == :gt assert Version.compare(...
35.503521
93
0.534166
97006e6332273da6f08c939ae4c0a3f79e7ab84a
745
ex
Elixir
lib/teddy_web/live/live_helpers.ex
abotkit/teddy
72f1c7015a278d4fd1b2c90daeaeb49d0d8ef142
[ "MIT" ]
1
2022-02-03T19:41:52.000Z
2022-02-03T19:41:52.000Z
lib/teddy_web/live/live_helpers.ex
abotkit/teddy
72f1c7015a278d4fd1b2c90daeaeb49d0d8ef142
[ "MIT" ]
null
null
null
lib/teddy_web/live/live_helpers.ex
abotkit/teddy
72f1c7015a278d4fd1b2c90daeaeb49d0d8ef142
[ "MIT" ]
null
null
null
defmodule TeddyWeb.LiveHelpers do import Phoenix.LiveView.Helpers @doc """ Renders a component inside the `TeddyWeb.ModalComponent` component. The rendered modal receives a `:return_to` option to properly update the URL when the modal is closed. ## Examples <%= live_modal @socket, TeddyWeb.Website...
31.041667
80
0.700671
97007c16e51fcd4225d1a957b5d42f9dabaaab32
2,927
ex
Elixir
lib/genex/tools/benchmarks/symbolic_regression.ex
seanmor5/genex
d1be8b030019f24180ddd0b1a9a91bd3039da076
[ "Apache-2.0" ]
114
2019-08-04T04:36:05.000Z
2022-02-11T03:09:15.000Z
lib/genex/tools/benchmarks/symbolic_regression.ex
seanmor5/genex
d1be8b030019f24180ddd0b1a9a91bd3039da076
[ "Apache-2.0" ]
18
2019-08-03T23:59:45.000Z
2019-08-15T18:21:44.000Z
lib/genex/tools/benchmarks/symbolic_regression.ex
seanmor5/genex
d1be8b030019f24180ddd0b1a9a91bd3039da076
[ "Apache-2.0" ]
8
2019-08-12T22:52:54.000Z
2022-02-28T11:33:54.000Z
defmodule Genex.Tools.Benchmarks.SymbolicRegression do @moduledoc """ Provides benchmark functions for Symbolic Regression programs with Genetic Programming. These functions haven't been tested. More documentation/testing is coming later. """ @doc """ Kotanchek benchmark. Returns ```math```. # Param...
16.171271
89
0.473522
970087c28c574610178c6ea29ee0907c259c67a2
12,854
ex
Elixir
lib/mapper/koi8_u.ex
nikneroz/exconv
31a9f424462f88024af3afb32d2cb80160f07ebf
[ "MIT" ]
null
null
null
lib/mapper/koi8_u.ex
nikneroz/exconv
31a9f424462f88024af3afb32d2cb80160f07ebf
[ "MIT" ]
1
2020-07-16T09:38:33.000Z
2020-07-16T09:38:33.000Z
lib/mapper/koi8_u.ex
nikneroz/exconv
31a9f424462f88024af3afb32d2cb80160f07ebf
[ "MIT" ]
null
null
null
defmodule Exconv.Mapper.Koi8_u do def to_unicode(255), do: 1066 # <<208, 170>> | "Ъ" def to_unicode(254), do: 1063 # <<208, 167>> | "Ч" def to_unicode(253), do: 1065 # <<208, 169>> | "Щ" def to_unicode(252), do: 1069 # <<208, 173>> | "Э" def to_unicode(251), do: 1064 # <<208, 168>> | "Ш" def to_unicode(250)...
49.821705
57
0.522639
97008ff3aada8b329aa97fb23fba74adf950d84a
570
ex
Elixir
apps/core/lib/core/application.ex
ivoferro/IronBlock
14f04cb2faaeeb8b772fa3c9dc7bbf40936b9c43
[ "MIT" ]
null
null
null
apps/core/lib/core/application.ex
ivoferro/IronBlock
14f04cb2faaeeb8b772fa3c9dc7bbf40936b9c43
[ "MIT" ]
null
null
null
apps/core/lib/core/application.ex
ivoferro/IronBlock
14f04cb2faaeeb8b772fa3c9dc7bbf40936b9c43
[ "MIT" ]
null
null
null
defmodule Core.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: Core.Worker.start_link(ar...
27.142857
63
0.703509
9700a1317b61a78ac3b1057e938b361d14cea490
7,415
exs
Elixir
test/algorithms/phonetic/double_metaphone_test.exs
vanessaklee/akin
fc97befb871536b6c7ef0b35740fe6efc032c566
[ "Apache-2.0" ]
8
2021-10-31T21:24:37.000Z
2022-02-27T05:30:24.000Z
test/algorithms/phonetic/double_metaphone_test.exs
vanessaklee/akin
fc97befb871536b6c7ef0b35740fe6efc032c566
[ "Apache-2.0" ]
1
2021-10-31T17:57:41.000Z
2021-11-09T22:54:50.000Z
test/algorithms/phonetic/double_metaphone_test.exs
vanessaklee/akin
fc97befb871536b6c7ef0b35740fe6efc032c566
[ "Apache-2.0" ]
null
null
null
defmodule DoubleTest do use ExUnit.Case import Akin.Metaphone.Double test "returns nil with empty argument" do assert parse("") == {"", ""} end test "returns nil with non-phonetic argument" do assert parse("123") == {"", ""} end test "return the expected phonetic responses - z" do assert p...
32.52193
94
0.527579
9700ceea608652651ec534d7b821e524659453e7
2,234
exs
Elixir
test/protobuf/protoc/generator/service_test.exs
arctic-grpc/protobuf
228e1a2912af7b7f7f49ef871e43dd6b886f6675
[ "MIT" ]
419
2017-04-02T13:10:51.000Z
2020-11-15T15:53:17.000Z
test/protobuf/protoc/generator/service_test.exs
arctic-grpc/protobuf
228e1a2912af7b7f7f49ef871e43dd6b886f6675
[ "MIT" ]
100
2017-04-02T14:26:41.000Z
2020-11-10T23:43:30.000Z
test/protobuf/protoc/generator/service_test.exs
arctic-grpc/protobuf
228e1a2912af7b7f7f49ef871e43dd6b886f6675
[ "MIT" ]
83
2017-07-24T21:50:04.000Z
2020-11-15T08:52:34.000Z
defmodule Protobuf.Protoc.Generator.ServiceTest do use ExUnit.Case, async: true alias Protobuf.Protoc.Context alias Protobuf.Protoc.Generator.Service, as: Generator alias Protobuf.Protoc.Generator.Util test "generate/2 generates services" do ctx = %Context{ package: "foo", dep_type_mapping: ...
33.848485
109
0.593107
97012fdca670c61eea49eb47b3ce84225dbc6d72
1,102
exs
Elixir
apps/my_app/mix.exs
robmckinnon/phoenix-umbrella-with-node-js-example
48cce2d9d9fc4564bc5983840c66d09c6594462d
[ "MIT" ]
null
null
null
apps/my_app/mix.exs
robmckinnon/phoenix-umbrella-with-node-js-example
48cce2d9d9fc4564bc5983840c66d09c6594462d
[ "MIT" ]
null
null
null
apps/my_app/mix.exs
robmckinnon/phoenix-umbrella-with-node-js-example
48cce2d9d9fc4564bc5983840c66d09c6594462d
[ "MIT" ]
null
null
null
defmodule MyApp.Mixfile do use Mix.Project def project do [ app: :my_app, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix...
22.958333
67
0.611615
97013ed7146559df0612f714d5e692389767c1b1
1,612
ex
Elixir
lib/ex_oauth2_provider/scopes.ex
aidanranney/ex_oauth2_provider
b6ab9c37d39430cd220b2be9794502111c05585c
[ "MIT" ]
161
2017-02-27T19:29:17.000Z
2021-12-22T12:29:14.000Z
lib/ex_oauth2_provider/scopes.ex
lawalalao/ex_oauth2_provider
093cc3b289a45e6aeac6205d40b632c0a0af8b3c
[ "MIT" ]
54
2017-03-23T21:05:03.000Z
2022-02-22T00:16:59.000Z
lib/ex_oauth2_provider/scopes.ex
lawalalao/ex_oauth2_provider
093cc3b289a45e6aeac6205d40b632c0a0af8b3c
[ "MIT" ]
49
2017-02-26T22:38:34.000Z
2022-03-07T19:17:03.000Z
defmodule ExOauth2Provider.Scopes do @moduledoc """ Functions for dealing with scopes. """ alias ExOauth2Provider.Config @doc """ Check if required scopes exists in the scopes list """ @spec all?([binary()], [binary()]) :: boolean() def all?(scopes, required_scopes) do (required_scopes -- scopes...
26.866667
76
0.672457
970152d5c47c2e661ca078ee61e335f858287859
7,023
ex
Elixir
lib/bamboo/adapters/send_grid_adapter.ex
NCSAAthleticRecruiting/bamboo
ee736cb15412ca37233ac7a584236aa2327dd4a1
[ "MIT" ]
null
null
null
lib/bamboo/adapters/send_grid_adapter.ex
NCSAAthleticRecruiting/bamboo
ee736cb15412ca37233ac7a584236aa2327dd4a1
[ "MIT" ]
null
null
null
lib/bamboo/adapters/send_grid_adapter.ex
NCSAAthleticRecruiting/bamboo
ee736cb15412ca37233ac7a584236aa2327dd4a1
[ "MIT" ]
null
null
null
defmodule Bamboo.SendGridAdapter do @moduledoc """ Sends email using SendGrid's JSON API. Use this adapter to send emails through SendGrid's API. Requires that an API key is set in the config. If you would like to add a replyto header to your email, then simply pass it in using the header property or put_...
27.011538
100
0.661825
9701599933def677bfcf30b538b3feb773c4b11a
2,954
ex
Elixir
clients/gmail/lib/google_api/gmail/v1/model/message_part.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/gmail/lib/google_api/gmail/v1/model/message_part.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/gmail/lib/google_api/gmail/v1/model/message_part.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
47.645161
330
0.712932
9701a7622854a36fe5081ffceb9af93e3c01df7c
1,722
ex
Elixir
lib/still/compiler/template_helpers/link.ex
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
202
2021-01-13T15:45:17.000Z
2022-03-22T01:26:27.000Z
lib/still/compiler/template_helpers/link.ex
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
55
2021-01-26T14:11:34.000Z
2022-03-22T22:34:37.000Z
lib/still/compiler/template_helpers/link.ex
tomasz-tomczyk/still
3f2fdb64c72244b789e14b31d514199f8adeb796
[ "ISC" ]
10
2021-02-04T21:14:41.000Z
2022-03-20T10:12:59.000Z
defmodule Still.Compiler.TemplateHelpers.Link do @moduledoc """ Renders an anchor HTML tag. """ alias Still.Compiler.TemplateHelpers.ContentTag alias Still.Compiler.TemplateHelpers.UrlFor alias Still.SourceFile @doc """ Uses `Still.Compiler.TemplateHelpers.ContentTag` to render an anchor tag. Requi...
27.333333
78
0.657375
9701b64631a8c0f73ce755ae9afb993ba60df3a4
1,329
ex
Elixir
test/e2e/lib/hologram_e2e_web/pages/pattern_matching/map_page.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/e2e/lib/hologram_e2e_web/pages/pattern_matching/map_page.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/e2e/lib/hologram_e2e_web/pages/pattern_matching/map_page.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule HologramE2E.PatternMatching.MapPage do use Hologram.Page route "/e2e/pattern-matching/map" def init(_params, _conn) do %{ case_condition_value: %{a: 3, b: 4}, function_call_value: %{a: 2, b: 3}, match_expression_value: %{a: 1, b: 2}, result: 0 } end def template do...
24.611111
104
0.638826
9701c09110eaf9704d6391940440ae4e29aeb4b1
373
ex
Elixir
elixir/codes-from-books/little-elixir/cap11/concuerror_playground/test/concurrency/spawn_reg_test.ex
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
1
2017-10-16T03:00:50.000Z
2017-10-16T03:00:50.000Z
elixir/codes-from-books/little-elixir/cap11/concuerror_playground/test/concurrency/spawn_reg_test.ex
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
null
null
null
elixir/codes-from-books/little-elixir/cap11/concuerror_playground/test/concurrency/spawn_reg_test.ex
trxeste/wrk
3e05e50ff621866f0361cc8494ce8f6bb4d97fae
[ "BSD-3-Clause" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule SpawnReg.ConcurrencyTest do use ExUnit.Case def test do spawn(fn -> SpawnReg.start end) send(SpawnReg, :stop) # The race condition here happens because # the process might not complete setting name up yet. # Therefore, send/2 might fai...
21.941176
57
0.699732
9701c9d60de13200ed54c3dd78a34d07eff69b34
387
ex
Elixir
test/support/lib/dummy/oauth_applications/oauth_application.ex
valuechainfactory/phoenix_oauth2_provider
5219115e6ca08af427b05771b1e1e6f9e45dc054
[ "MIT" ]
68
2017-04-08T08:31:19.000Z
2022-02-08T11:41:08.000Z
test/support/lib/dummy/oauth_applications/oauth_application.ex
valuechainfactory/phoenix_oauth2_provider
5219115e6ca08af427b05771b1e1e6f9e45dc054
[ "MIT" ]
32
2017-08-24T19:11:57.000Z
2021-12-29T07:18:49.000Z
test/support/lib/dummy/oauth_applications/oauth_application.ex
valuechainfactory/phoenix_oauth2_provider
5219115e6ca08af427b05771b1e1e6f9e45dc054
[ "MIT" ]
29
2017-04-07T22:45:46.000Z
2022-03-08T15:55:42.000Z
defmodule Dummy.OauthApplications.OauthApplication do @moduledoc false use Ecto.Schema use ExOauth2Provider.Applications.Application, otp_app: :phoenix_oauth2_provider if System.get_env("UUID") do @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id end schema "oauth_ap...
22.764706
82
0.762274
9701eb6b9a7dde51daae11acaeb62e19e6832224
384
ex
Elixir
web/views/error_view.ex
rhnonose/url_shortener
511bd659b4a516ee89caa5c17d700461d137cebf
[ "MIT" ]
null
null
null
web/views/error_view.ex
rhnonose/url_shortener
511bd659b4a516ee89caa5c17d700461d137cebf
[ "MIT" ]
null
null
null
web/views/error_view.ex
rhnonose/url_shortener
511bd659b4a516ee89caa5c17d700461d137cebf
[ "MIT" ]
null
null
null
defmodule UrlShortener.ErrorView do use UrlShortener.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(...
21.333333
47
0.705729
9701f083d72d30b744d46d36b6596bbf94d85ee2
699
ex
Elixir
lib/grizzly/command_class/thermostat_mode.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/command_class/thermostat_mode.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/command_class/thermostat_mode.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.CommandClass.ThermostatMode do @moduledoc """ """ @type mode :: :off | :heat | :cool | :auto | byte @spec encode_mode(mode) :: {:ok, byte} | {:error, :invalid_arg, any()} def encode_mode(:off), do: {:ok, 0x00} def encode_mode(:heat), do: {:ok, 0x01} def encode_mode(:cool), do: {:ok, 0x...
31.772727
72
0.649499
9701f1f28298db9a15e348eaeba572e67b283085
529
ex
Elixir
lib/slacketon_chat/resolvers/trivia_resolver.ex
matthewoden/slackerton
0604122884cf08087432f2e32d80eca42a878c37
[ "MIT" ]
1
2022-02-19T17:49:37.000Z
2022-02-19T17:49:37.000Z
lib/slacketon_chat/resolvers/trivia_resolver.ex
matthewoden/slackerton
0604122884cf08087432f2e32d80eca42a878c37
[ "MIT" ]
4
2018-07-14T16:30:17.000Z
2022-02-10T16:23:23.000Z
lib/slacketon_chat/resolvers/trivia_resolver.ex
matthewoden/slackerton
0604122884cf08087432f2e32d80eca42a878c37
[ "MIT" ]
null
null
null
defmodule SlackertonChat.TriviaResolver do alias SlackertonChat.{Robot, Helpers} alias Slackerton.Trivia def start_game(msg, _slots) do room = Helpers.room(msg.room) trivia_loop = Trivia.new(room, fn results -> Robot.send(msg, results) end) Robot.send(msg, trivia_loop) end def answer_question(%{...
25.190476
78
0.693762
970214aab23012198dafe977421a663599ef32b1
1,535
exs
Elixir
test/object_test.exs
christopherlai/solid
c7f0553f4ce3c12b68484baff42084bee1aa640b
[ "MIT" ]
117
2016-09-04T03:56:08.000Z
2022-03-28T18:51:56.000Z
test/object_test.exs
christopherlai/solid
c7f0553f4ce3c12b68484baff42084bee1aa640b
[ "MIT" ]
73
2017-03-21T09:22:45.000Z
2022-03-01T20:48:22.000Z
test/object_test.exs
christopherlai/solid
c7f0553f4ce3c12b68484baff42084bee1aa640b
[ "MIT" ]
25
2017-04-02T02:23:01.000Z
2022-02-27T20:42:13.000Z
defmodule Solid.ObjectTest do use ExUnit.Case, async: true import Solid.Object doctest Solid.Object alias Solid.Context describe "render/2" do test "value no filter" do assert render([argument: [value: 1]], %Context{}, []) == "1" end test "list value no filter" do assert render([argu...
26.929825
98
0.467752
970234b871eeb7cc824734ee78e5c09b5b03fbac
276
exs
Elixir
apps/aehttpserver/config/test.exs
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aehttpserver/config/test.exs
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aehttpserver/config/test.exs
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :aehttpserver, Aehttpserver.Web.Endpoint, http: [port: 4000], server: true # Print only warnings and errors during test config :logger, level: :warn
25.090909
56
0.742754
970238cfb3a94e69f97270776ed984e4810d4740
193
ex
Elixir
lib/tokyo.ex
Onlyhope/tokyo
5579fe134a00f61f14d239a9de72209656391543
[ "MIT" ]
null
null
null
lib/tokyo.ex
Onlyhope/tokyo
5579fe134a00f61f14d239a9de72209656391543
[ "MIT" ]
null
null
null
lib/tokyo.ex
Onlyhope/tokyo
5579fe134a00f61f14d239a9de72209656391543
[ "MIT" ]
null
null
null
defmodule Tokyo do @moduledoc """ Documentation for Tokyo. """ @doc """ Hello world. ## Examples iex> Tokyo.hello() :world """ def hello do :world end end
10.157895
26
0.549223
97024d873542d44f9edee8ce8608ddc01cbafbc2
1,674
exs
Elixir
mix.exs
technicalcapt/furlex
361a8cd76a666e9e9a504ca4d0ab3b3154d63e8d
[ "Apache-2.0" ]
null
null
null
mix.exs
technicalcapt/furlex
361a8cd76a666e9e9a504ca4d0ab3b3154d63e8d
[ "Apache-2.0" ]
null
null
null
mix.exs
technicalcapt/furlex
361a8cd76a666e9e9a504ca4d0ab3b3154d63e8d
[ "Apache-2.0" ]
null
null
null
defmodule Furlex.Mixfile do use Mix.Project def project do [ app: :furlex, version: "0.4.3", elixir: "~> 1.4", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), name: "Furl...
24.617647
86
0.561529
97025469577421594950a26b2a9116d2c9852bea
11,746
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/interconnect_attachment.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/interconnect_attachment.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/interconnect_attachment.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...
76.272727
575
0.722629
97026f1add034cd51c37893f4d49f45f44c5fe89
1,658
ex
Elixir
web/web.ex
mogest/superlific
375d64e3fce594fa1b2322c1652f2f2e648bfe85
[ "MIT" ]
6
2016-10-13T02:29:54.000Z
2017-09-13T18:17:56.000Z
web/web.ex
mogest/superlific
375d64e3fce594fa1b2322c1652f2f2e648bfe85
[ "MIT" ]
null
null
null
web/web.ex
mogest/superlific
375d64e3fce594fa1b2322c1652f2f2e648bfe85
[ "MIT" ]
null
null
null
defmodule Superlific.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use Superlific.Web, :controller use Superlific.Web, :view The definitions below will be executed for every view, controller, etc, so keep...
20.219512
88
0.668275
970294356bf1e18de9e8768dfb1e1365982f606f
12,875
ex
Elixir
Microsoft.Azure.Management.Resources/lib/microsoft/azure/management/resources/api/deployments.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Resources/lib/microsoft/azure/management/resources/api/deployments.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Resources/lib/microsoft/azure/management/resources/api/deployments.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Resources.Api.Deployments do @moduledoc """ API calls for all endpoints tagged `Deployments`. """ alias Micros...
51.294821
732
0.73367
97029ea2c142ffeccead416634046f8b2d67d9b7
3,361
ex
Elixir
clients/content/lib/google_api/content/v21/model/order_cancellation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/order_cancellation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/order_cancellation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.649485
283
0.657542
9702aaba60f0b91d3d2c77e89a2fc4ed9c197c6b
3,574
ex
Elixir
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/api/violating_sites.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/api/violating_sites.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_experience_report/lib/google_api/ad_experience_report/v1/api/violating_sites.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 ...
43.585366
196
0.664522
9702afa8e59793e968637a1ff043c1d88219f35a
16,650
ex
Elixir
lib/graphvix/graph.ex
ssajnani/graphvix
e5fb0fbceb5b9ab72941633b702d414302868acc
[ "MIT" ]
47
2016-10-02T21:44:30.000Z
2022-02-21T18:01:40.000Z
lib/graphvix/graph.ex
ssajnani/graphvix
e5fb0fbceb5b9ab72941633b702d414302868acc
[ "MIT" ]
17
2016-10-27T17:11:27.000Z
2021-12-23T13:19:39.000Z
lib/graphvix/graph.ex
ssajnani/graphvix
e5fb0fbceb5b9ab72941633b702d414302868acc
[ "MIT" ]
10
2017-03-20T18:21:21.000Z
2021-07-25T14:34:28.000Z
defmodule Graphvix.Graph do @moduledoc """ Models a directed graph that can be written to disk and displayed using [Graphviz](http://www.graphviz.org/) notation. Graphs are created by * adding vertices of various formats to a graph * `add_vertex/3` * `add_record/2` * `add_html_record/2` * conn...
29.83871
101
0.636997
9702c54c4c46f278ca1f5a5cb37fffabbb4b71a0
1,849
exs
Elixir
hello_naked/config/prod.exs
playgd/learning-elixir
3909b540ccd7f54b174de9c6c6f258e94865ba6b
[ "MIT" ]
16
2021-11-08T12:15:27.000Z
2022-02-11T01:00:20.000Z
hello_naked/config/prod.exs
playgd/learning-elixir
3909b540ccd7f54b174de9c6c6f258e94865ba6b
[ "MIT" ]
null
null
null
hello_naked/config/prod.exs
playgd/learning-elixir
3909b540ccd7f54b174de9c6c6f258e94865ba6b
[ "MIT" ]
2
2021-11-19T11:32:58.000Z
2022-01-16T00:36:32.000Z
import Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # w...
35.557692
66
0.707409
9702d773edf93ccdec1c2576bc59a816dd52ef5e
841
exs
Elixir
config/config.exs
dtcristo/phoenix-chat
255aa474ccebf731db2a9361d62b45a0dd6063f7
[ "MIT" ]
1
2017-09-05T18:43:38.000Z
2017-09-05T18:43:38.000Z
config/config.exs
reubenwainaina/phoenix-chat
255aa474ccebf731db2a9361d62b45a0dd6063f7
[ "MIT" ]
null
null
null
config/config.exs
reubenwainaina/phoenix-chat
255aa474ccebf731db2a9361d62b45a0dd6063f7
[ "MIT" ]
1
2019-03-31T10:59:53.000Z
2019-03-31T10:59:53.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. use Mix.Config # Configures the endpoint config :chat, ChatWeb.Endpoint, url: [host: "localhost"],...
35.041667
86
0.757432
9702df75a06d294752313b915b46554e4c1e9c47
1,770
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__location.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...
32.181818
162
0.736158
9702e9608e2050bef53bfc63545b80fb830b9f7c
11,088
ex
Elixir
lib/finch.ex
c4710n/finch
f07ef3063b2778776ea847bab45fc7b566d02668
[ "MIT" ]
71
2021-10-16T09:55:02.000Z
2022-03-26T08:42:59.000Z
lib/finch.ex
c4710n/finch
f07ef3063b2778776ea847bab45fc7b566d02668
[ "MIT" ]
21
2021-10-16T07:58:51.000Z
2022-03-28T12:27:40.000Z
lib/finch.ex
c4710n/finch
f07ef3063b2778776ea847bab45fc7b566d02668
[ "MIT" ]
20
2021-10-16T09:55:06.000Z
2022-03-27T13:21:27.000Z
defmodule Finch do @external_resource "README.md" @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) alias Finch.{PoolManager, Request, Response} use Supervisor @default_pool_size 50 @default_pool_count 1 @default_connect_t...
32.902077
117
0.645743
9702ee88a99212bb6d2a5984b047c50f17a31ef4
606
exs
Elixir
apps/firestorm_data/test/firestorm_data/schema/tag_test.exs
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
10
2017-06-28T08:06:52.000Z
2022-03-19T17:49:21.000Z
apps/firestorm_data/test/firestorm_data/schema/tag_test.exs
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
null
null
null
apps/firestorm_data/test/firestorm_data/schema/tag_test.exs
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
2
2017-10-21T12:01:02.000Z
2021-01-29T10:26:22.000Z
defmodule FirestormData.Schema.TagTest do alias FirestormData.{Tag, Repo} use ExUnit.Case @valid_attributes %{ title: "OTP", } setup do :ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo) end test "it requires a title" do changeset = %Tag{} |> Tag.changeset(Map.delete(@valid_attrib...
20.2
82
0.645215
9702fc7dd66dbaab10633d7e0733fdbd5c8d16f3
1,163
exs
Elixir
clients/licensing/config/config.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/licensing/config/config.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/licensing/config/config.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
37.516129
73
0.760963
9703392be7f1619fa10754430eef8ff2d6cad197
2,701
ex
Elixir
lib/elixero/core_api/contact_groups.ex
philals/elixero
fd75fe4a6f0a93b1d2ff94adbb307d20f014d458
[ "MIT" ]
84
2016-11-09T01:15:17.000Z
2022-01-06T02:55:35.000Z
lib/elixero/core_api/contact_groups.ex
philals/elixero
fd75fe4a6f0a93b1d2ff94adbb307d20f014d458
[ "MIT" ]
14
2017-03-10T04:16:07.000Z
2021-11-10T16:39:19.000Z
lib/elixero/core_api/contact_groups.ex
philals/elixero
fd75fe4a6f0a93b1d2ff94adbb307d20f014d458
[ "MIT" ]
18
2017-03-11T21:12:15.000Z
2022-02-22T20:07:10.000Z
defmodule EliXero.CoreApi.ContactGroups do @api_type :core @resource "contactgroups" @model_module EliXero.CoreApi.Models.ContactGroups @contacts_model_module EliXero.CoreApi.Models.Contacts def find(client) do EliXero.CoreApi.Common.find(client, @resource) |> EliXero.CoreApi.Utils.ResponseHandler.ha...
42.203125
97
0.749352
97035ce1cceff357c663dd33e71e797cccf5f36d
6,130
ex
Elixir
lib/elixir_ex_aliyun_ots_table_store_search_exists_query.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
null
null
null
lib/elixir_ex_aliyun_ots_table_store_search_exists_query.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
1
2022-02-08T06:37:02.000Z
2022-02-08T06:37:02.000Z
lib/elixir_ex_aliyun_ots_table_store_search_exists_query.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
2
2022-01-24T06:13:03.000Z
2022-01-24T08:33:41.000Z
# credo:disable-for-this-file defmodule(ExAliyunOts.TableStoreSearch.ExistsQuery) do @moduledoc false ( defstruct(field_name: nil) ( ( @spec encode(struct) :: {:ok, iodata} | {:error, any} def(encode(msg)) do try do {:ok, encode!(msg)} rescue ...
25.756303
94
0.480914
9703609a2dc21c6ed5008fdc14294bd71f7df30e
62
ex
Elixir
web/views/document_view.ex
strofcon/scipse
f7597b73dac2e7ffe9f5aa0a403600d9d8ea8eeb
[ "Apache-2.0" ]
null
null
null
web/views/document_view.ex
strofcon/scipse
f7597b73dac2e7ffe9f5aa0a403600d9d8ea8eeb
[ "Apache-2.0" ]
null
null
null
web/views/document_view.ex
strofcon/scipse
f7597b73dac2e7ffe9f5aa0a403600d9d8ea8eeb
[ "Apache-2.0" ]
null
null
null
defmodule Scipse.DocumentView do use Scipse.Web, :view end
12.4
32
0.774194
9703b1cf3f73f8a7e939f033ee78df339dbb5118
1,839
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/big_query_table_spec.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/big_query_table_spec.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sheets/lib/google_api/sheets/v4/model/big_query_table_spec.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.698113
159
0.71615
9703bc91e88ac51dfd30a6baa00b3b64d61592b6
390
exs
Elixir
goal_light_firmware/config/dev.exs
TheEndIsNear/goal_light
8456189832130a5bbfb641b275146de413ee6fa8
[ "MIT" ]
null
null
null
goal_light_firmware/config/dev.exs
TheEndIsNear/goal_light
8456189832130a5bbfb641b275146de413ee6fa8
[ "MIT" ]
null
null
null
goal_light_firmware/config/dev.exs
TheEndIsNear/goal_light
8456189832130a5bbfb641b275146de413ee6fa8
[ "MIT" ]
null
null
null
use Mix.Config config :git_hooks, hooks: [ pre_commit: [ verbose: true, tasks: [ "mix format --check-formatted --dry-run --check-equivalent" ] ], pre_push: [ verbose: true, tasks: [ "mix clean", "mix compile --warnings-as-errors", "mix credo -...
18.571429
67
0.510256
9703c46fdbd36ef17e1e5cc41f7000a5a993e9ab
1,691
exs
Elixir
test/rally_api/workspaces_test.exs
jcartwright/rally_api
fdcea7d2a40c7d9c0e392d6836693f5a9a9677a9
[ "MIT" ]
null
null
null
test/rally_api/workspaces_test.exs
jcartwright/rally_api
fdcea7d2a40c7d9c0e392d6836693f5a9a9677a9
[ "MIT" ]
11
2016-08-31T03:29:31.000Z
2016-09-02T22:00:05.000Z
test/rally_api/workspaces_test.exs
jcartwright/rally_api
fdcea7d2a40c7d9c0e392d6836693f5a9a9677a9
[ "MIT" ]
null
null
null
defmodule RallyApi.WorkspacesTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney import RallyApi.Workspaces alias RallyApi.{Client, QueryResult} doctest RallyApi.Workspaces @client Client.new(%{zsessionid: Application.get_env(:rally_api, :api_key)}) @_ref "https://ral...
30.745455
100
0.644589
9703e761fb9a41062bf1727ddd8883f5d263dd16
6,930
exs
Elixir
test/phoenix/live_dashboard/chart_test.exs
dbii/phoenix_live_dashboard
08255b63a4a7236d3f99fe9053b997fab1027297
[ "MIT" ]
null
null
null
test/phoenix/live_dashboard/chart_test.exs
dbii/phoenix_live_dashboard
08255b63a4a7236d3f99fe9053b997fab1027297
[ "MIT" ]
null
null
null
test/phoenix/live_dashboard/chart_test.exs
dbii/phoenix_live_dashboard
08255b63a4a7236d3f99fe9053b997fab1027297
[ "MIT" ]
null
null
null
# defmodule Phoenix.LiveDashboard.ChartTest do # use ExUnit.Case, async: true # import ExUnit.CaptureLog # import Telemetry.Metrics # alias Phoenix.LiveDashboard.Chart # describe "to_chart/1" do # test "with Distribution, raises with not yet supported message" do # assert_raise ArgumentError, "Live...
32.535211
100
0.487734
970442969063c1833fd6a0bc0cad776171b5ce88
271
ex
Elixir
lib/membrane_element_portaudio.ex
thbar/membrane-element-portaudio
cb4a708e2897bed3e08459f52961d6d344a87683
[ "Apache-2.0" ]
null
null
null
lib/membrane_element_portaudio.ex
thbar/membrane-element-portaudio
cb4a708e2897bed3e08459f52961d6d344a87683
[ "Apache-2.0" ]
null
null
null
lib/membrane_element_portaudio.ex
thbar/membrane-element-portaudio
cb4a708e2897bed3e08459f52961d6d344a87683
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Element.PortAudio do @moduledoc false use Application def start(_type, _args) do children = [__MODULE__.SyncExecutor] opts = [strategy: :one_for_one, name: Membrane.Element.PortAudio] Supervisor.start_link(children, opts) end end
22.583333
69
0.745387
97046a0d69173deabe213325be8a54e4094cb47e
3,022
exs
Elixir
apps/core/mix.exs
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
null
null
null
apps/core/mix.exs
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
2
2019-12-13T23:55:50.000Z
2019-12-17T05:49:58.000Z
apps/core/mix.exs
michaeljguarino/chartmart
a34c949cc29d6a1ab91c04c5e4f797e6f0daabfc
[ "Apache-2.0" ]
null
null
null
defmodule Core.MixProject do use Mix.Project def project do [ app: :core, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix...
29.627451
103
0.478491
97046f1decccd4e21b74776086dc9da41663da45
2,974
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/insertion_order_budget_segment.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/insertion_order_budget_segment.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/insertion_order_budget_segment.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...
41.887324
176
0.724613
97049b41d2f42c2d5a597b1f99214f8fd6188883
1,823
exs
Elixir
test/xdr/operations/clawback_claimable_balance_result_code_test.exs
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
test/xdr/operations/clawback_claimable_balance_result_code_test.exs
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
test/xdr/operations/clawback_claimable_balance_result_code_test.exs
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Operations.ClawbackClaimableBalanceResultCodeTest do use ExUnit.Case alias StellarBase.XDR.Operations.ClawbackClaimableBalanceResultCode describe "ClawbackClaimableBalanceResultCode" do setup do %{ code: :CLAWBACK_CLAIMABLE_BALANCE_SUCCESS, result: ClawbackCla...
34.396226
95
0.704882
9704db914361594142f2689a1ae9e5701659740f
1,220
exs
Elixir
test/prime/miller_rabin_test.exs
sato11/prime
ce64ea6bf3ff74b335a509f1fe4d756534cafd8f
[ "MIT" ]
null
null
null
test/prime/miller_rabin_test.exs
sato11/prime
ce64ea6bf3ff74b335a509f1fe4d756534cafd8f
[ "MIT" ]
null
null
null
test/prime/miller_rabin_test.exs
sato11/prime
ce64ea6bf3ff74b335a509f1fe4d756534cafd8f
[ "MIT" ]
null
null
null
defmodule Prime.MillerRabinTest do use ExUnit.Case doctest Prime.MillerRabin describe "test/1" do test "asserts primes" do assert Prime.MillerRabin.test(3) assert Prime.MillerRabin.test(19) assert Prime.MillerRabin.test(101) assert Prime.MillerRabin.test(10_007) assert Prime.Mil...
32.972973
76
0.727869
9704dea24737db946953c7a46b236ffdcd0f9921
742
ex
Elixir
lib/archery_competition_web/gettext.ex
barnaba/archery-competition
cd5d302431429218aeb72c71fa96981667d8d95c
[ "MIT" ]
null
null
null
lib/archery_competition_web/gettext.ex
barnaba/archery-competition
cd5d302431429218aeb72c71fa96981667d8d95c
[ "MIT" ]
6
2018-07-11T21:01:51.000Z
2018-07-11T21:06:07.000Z
lib/archery_competition_web/gettext.ex
barnaba/archery-competition
cd5d302431429218aeb72c71fa96981667d8d95c
[ "MIT" ]
null
null
null
defmodule ArcheryCompetitionWeb.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 ArcheryCompetitionWeb.Gettext # Simple translation ...
29.68
72
0.695418
9704fca02181be3c52171261e3ad70f2ec9a4def
1,513
ex
Elixir
lib/takso_web/endpoint.ex
matin360/TaksoWebApp
4dd8fef625ecc2364fe1d6e18e73c96c59d15349
[ "MIT" ]
null
null
null
lib/takso_web/endpoint.ex
matin360/TaksoWebApp
4dd8fef625ecc2364fe1d6e18e73c96c59d15349
[ "MIT" ]
null
null
null
lib/takso_web/endpoint.ex
matin360/TaksoWebApp
4dd8fef625ecc2364fe1d6e18e73c96c59d15349
[ "MIT" ]
null
null
null
defmodule TaksoWeb.Endpoint do use Phoenix.Endpoint, otp_app: :takso # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_takso_key", ...
29.666667
97
0.719101
9704fe0bc07fbad71df80d067f69d0903f08815b
1,883
exs
Elixir
test/pulls_test.exs
sandisk/tentacat
523791d47d8454e87dc75cf77181b1fc78c125cf
[ "MIT" ]
null
null
null
test/pulls_test.exs
sandisk/tentacat
523791d47d8454e87dc75cf77181b1fc78c125cf
[ "MIT" ]
null
null
null
test/pulls_test.exs
sandisk/tentacat
523791d47d8454e87dc75cf77181b1fc78c125cf
[ "MIT" ]
1
2018-11-02T15:59:28.000Z
2018-11-02T15:59:28.000Z
defmodule Tentacat.PullsTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney import Tentacat.Pulls doctest Tentacat.Pulls @client Tentacat.Client.new(%{access_token: "8e663c8614ced27c09b963f806ac46776a29db50"}) setup_all do HTTPoison.start() end test "list/3" do ...
24.776316
98
0.605948
9705085780dacf8f876f7b56abe7cbc9c27c2a44
249
ex
Elixir
test/support/api.ex
zimt28/ash_postgres
5f27e329bc369f12ffb44bbdffbb37d5807067fb
[ "MIT" ]
null
null
null
test/support/api.ex
zimt28/ash_postgres
5f27e329bc369f12ffb44bbdffbb37d5807067fb
[ "MIT" ]
null
null
null
test/support/api.ex
zimt28/ash_postgres
5f27e329bc369f12ffb44bbdffbb37d5807067fb
[ "MIT" ]
null
null
null
defmodule AshPostgres.Test.Api do @moduledoc false use Ash.Api resources do resource(AshPostgres.Test.Post) resource(AshPostgres.Test.Comment) resource(AshPostgres.Test.IntegerPost) resource(AshPostgres.Test.Rating) end end
20.75
42
0.759036
970517cca4520b87d8c9f9a17ccde213e2062c45
892
exs
Elixir
bowman/config/prod.secret.exs
mudphone/bowman
e916d0921f259f2c9dcba9313a64402b0bc43f9e
[ "MIT" ]
null
null
null
bowman/config/prod.secret.exs
mudphone/bowman
e916d0921f259f2c9dcba9313a64402b0bc43f9e
[ "MIT" ]
3
2020-07-17T01:30:50.000Z
2021-05-08T20:23:35.000Z
bowman/config/prod.secret.exs
mudphone/bowman
e916d0921f259f2c9dcba9313a64402b0bc43f9e
[ "MIT" ]
null
null
null
# In this file, we load production configuration and # secrets from environment variables. You can also # hardcode secrets, although such is generally not # recommended and you have to remember to add this # file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ en...
29.733333
76
0.723094
97051adfbf1bcf3166232ebc72776bcb1e7a7300
1,261
ex
Elixir
generated_code_examples/elixir/regression/xgboost.ex
lucasavila00/m2cgen
4f41ce60cf7f5a6f198d0adc43201f9e5a5aedeb
[ "MIT" ]
null
null
null
generated_code_examples/elixir/regression/xgboost.ex
lucasavila00/m2cgen
4f41ce60cf7f5a6f198d0adc43201f9e5a5aedeb
[ "MIT" ]
null
null
null
generated_code_examples/elixir/regression/xgboost.ex
lucasavila00/m2cgen
4f41ce60cf7f5a6f198d0adc43201f9e5a5aedeb
[ "MIT" ]
null
null
null
defmodule Model do @compile {:inline, read: 2} defp read(bin, pos) do <<_::size(pos)-unit(64)-binary, value::float, _::binary>> = bin value end defp list_to_binary(list) do for i <- list, into: <<>>, do: <<i::float>> end def score(input) do input = list_to_binary(...
28.022222
71
0.361618
97053828bbafb86f2cca67188af1049886d84b62
1,616
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/add_dimension_group_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/add_dimension_group_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sheets/lib/google_api/sheets/v4/model/add_dimension_group_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...
34.382979
170
0.751238
97054d62edbfab7b4428010bbf1b483573e6eb51
7,182
ex
Elixir
lib/lapin/channel.ex
expert360/lapin
81f63910178523af6658412a6730632bad08d143
[ "MIT" ]
null
null
null
lib/lapin/channel.ex
expert360/lapin
81f63910178523af6658412a6730632bad08d143
[ "MIT" ]
null
null
null
lib/lapin/channel.ex
expert360/lapin
81f63910178523af6658412a6730632bad08d143
[ "MIT" ]
null
null
null
defmodule Lapin.Channel do @moduledoc """ Lapin Channel handling """ require Logger import Lapin.Utils, only: [check_mandatory_params: 2] @typedoc "Channel role" @type role :: :consumer | :producer | :passive @typedoc "Exchange name" @type exchange :: String.t() @typedoc "Queue name" @type qu...
33.877358
100
0.637705
97057f1c249710f1a22d98a7c5ddddc636d258c7
4,723
ex
Elixir
lib/stat_buffer/worker.ex
nsweeting/stat_buffer
9e708a408fe2c6c4f96e791e9c751e7a55217411
[ "MIT" ]
7
2018-04-28T20:02:32.000Z
2021-02-04T03:46:02.000Z
lib/stat_buffer/worker.ex
nsweeting/stat_buffer
9e708a408fe2c6c4f96e791e9c751e7a55217411
[ "MIT" ]
null
null
null
lib/stat_buffer/worker.ex
nsweeting/stat_buffer
9e708a408fe2c6c4f96e791e9c751e7a55217411
[ "MIT" ]
null
null
null
defmodule StatBuffer.Worker do @moduledoc false use GenServer require Logger alias StatBuffer.{Flusher, FlusherSupervisor} ################################ # Public API ################################ @doc false def child_spec({buffer, opts}) do %{ id: __MODULE__, start: {__MODUL...
23.26601
93
0.605971
9705949ec9c3460129af6745e1993b562af7b87c
684
ex
Elixir
lib/safira_web/authorize.ex
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
40
2018-07-04T19:13:45.000Z
2021-12-16T23:53:43.000Z
lib/safira_web/authorize.ex
cesium/safira
07a02f54f9454db1cfb5a510da68f40c47dcd916
[ "MIT" ]
94
2018-07-25T13:13:39.000Z
2022-02-15T04:09:42.000Z
lib/safira_web/authorize.ex
cesium/safira
07a02f54f9454db1cfb5a510da68f40c47dcd916
[ "MIT" ]
5
2018-11-26T17:19:03.000Z
2021-02-23T08:09:37.000Z
defmodule Safira.Authorize do import Plug.Conn import Phoenix.Controller alias Safira.Repo alias Safira.Accounts.User @user_types [:attendee, :company, :manager] def init(default) do default end def call(conn, param) do if is_authorized(conn, param) do conn else conn ...
19.542857
67
0.625731
9705dec686e3ae6883f649baf8215650b0776545
677
ex
Elixir
lib/pokemon/set.ex
PokemonTCG/pokemon-tcg-sdk-elixir
f8866044f4a5439408e04b7a68e893a8bbc1712c
[ "MIT" ]
7
2016-09-01T14:33:45.000Z
2021-10-01T03:42:06.000Z
lib/pokemon/set.ex
PokemonTCG/pokemon-tcg-sdk-elixir
f8866044f4a5439408e04b7a68e893a8bbc1712c
[ "MIT" ]
1
2016-09-06T02:03:22.000Z
2016-09-08T01:03:11.000Z
lib/pokemon/set.ex
PokemonTCG/pokemon-tcg-sdk-elixir
f8866044f4a5439408e04b7a68e893a8bbc1712c
[ "MIT" ]
3
2017-11-21T16:01:51.000Z
2021-10-01T03:42:07.000Z
defmodule Pokemon.Set do @moduledoc """ Set API Endpoint """ @endpoint "sets" @doc """ Prints the endpoint name """ def resource do @endpoint end @doc """ Finds a set by id and returns a map """ def find(id) do Pokemon.Query.find(@endpoint, id).set end @doc """ Finds sets by ...
16.925
58
0.612999
97060068574e2daa789d14c2eb4799f4c575f4cf
2,294
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/update_video_properties_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/slides/lib/google_api/slides/v1/model/update_video_properties_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/slides/lib/google_api/slides/v1/model/update_video_properties_request.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...
43.283019
482
0.733653
9706072a5b9babf67d5e3124318c12afa9eed498
269
exs
Elixir
apps/ello_feeds/config/test.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_feeds/config/test.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_feeds/config/test.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :ello_feeds, Ello.Feeds.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn
24.454545
56
0.736059
97067b63b1a12ed3aab5f3156b7a1233fcc97618
507
exs
Elixir
config/config.exs
azohra/leeloo
d5b26dda0e54c4cdc2f47208be433e6b79223284
[ "MIT" ]
null
null
null
config/config.exs
azohra/leeloo
d5b26dda0e54c4cdc2f47208be433e6b79223284
[ "MIT" ]
null
null
null
config/config.exs
azohra/leeloo
d5b26dda0e54c4cdc2f47208be433e6b79223284
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config import_config "#{Mix.env}.exs" config :prometheus, Leeloo.PipelineInstrumenter, labels: [:status_class, :method, :host, :scheme, :request_path], duration_buckets: [10, 100, 1_000...
36.214286
66
0.70217
9706f7dd002108e69a211bc08a899437a44358f3
956
ex
Elixir
debian/postinst.ex
robertb-r/fiji
4eb8d690811c5c9d746e673dbd7c3297ec12dfdf
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
debian/postinst.ex
robertb-r/fiji
4eb8d690811c5c9d746e673dbd7c3297ec12dfdf
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
debian/postinst.ex
robertb-r/fiji
4eb8d690811c5c9d746e673dbd7c3297ec12dfdf
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#!/bin/sh # postinst script for fiji # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> # ...
22.761905
71
0.637029