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
2d0f8f02074be4b72096d4dff99687c1c52fb42b
4,513
ex
Elixir
lib/mix/lib/mix/tasks/app.start.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/app.start.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/app.start.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.App.Start do use Mix.Task # Do not mark this task as recursive as it is # responsible for loading consolidated protocols. @shortdoc "Starts all registered apps" @moduledoc """ Starts all registered apps. The application is started by default as temporary. In case `:start_permanent...
28.563291
96
0.646577
2d0fa925681a0c27f3c02febbcb93098f34aa564
1,571
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/test_iam_permissions_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/test_iam_permissions_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/test_iam_permissions_response.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.729167
134
0.749841
2d0fa9ef0ac459aa8806d41e85eda39808ec52d8
1,597
exs
Elixir
test/json_test.exs
ni-kismet/excoveralls-overall
c232b2a928a9e1ea61bc0e9d0fd645237726b54f
[ "MIT" ]
1
2020-05-06T15:16:11.000Z
2020-05-06T15:16:11.000Z
test/json_test.exs
ni-kismet/excoveralls-overall
c232b2a928a9e1ea61bc0e9d0fd645237726b54f
[ "MIT" ]
null
null
null
test/json_test.exs
ni-kismet/excoveralls-overall
c232b2a928a9e1ea61bc0e9d0fd645237726b54f
[ "MIT" ]
null
null
null
defmodule ExCoveralls.JsonTest do use ExUnit.Case import Mock import ExUnit.CaptureIO alias ExCoveralls.Json @file_name "excoveralls.json" @file_size 136 @test_output_dir "cover_test/" @content "defmodule Test do\n def test do\n end\nend\n" @counts [0, 1, nil, nil] @source_info [[name: ...
29.036364
178
0.564809
2d0fae727a71ecde7b236891656540f9aeb96083
2,500
ex
Elixir
lib/shopifex/plug/shopify_webhook.ex
smantzavinos/shopifex
744d732f9237cdea1773056c412f3524e1f5ca4f
[ "Apache-2.0" ]
null
null
null
lib/shopifex/plug/shopify_webhook.ex
smantzavinos/shopifex
744d732f9237cdea1773056c412f3524e1f5ca4f
[ "Apache-2.0" ]
null
null
null
lib/shopifex/plug/shopify_webhook.ex
smantzavinos/shopifex
744d732f9237cdea1773056c412f3524e1f5ca4f
[ "Apache-2.0" ]
null
null
null
defmodule Shopifex.Plug.ShopifyWebhook do import Plug.Conn require Logger def init(options) do # initialize options options end @doc """ Ensures that the connection has a valid Shopify webhook HMAC token and puts the shop in conn.private """ def call(conn, _) do {their_hmac, our_hmac} = ...
25.773196
152
0.472
2d0fc2d83b967b82cd797656ff26f243aab2b3e4
4,869
exs
Elixir
test/earmark_helpers_tests/link_parser_test.exs
RobertDober/earmark
6f20bd06f40e4333294d19eb38031ea480f3d3ba
[ "Apache-2.0" ]
null
null
null
test/earmark_helpers_tests/link_parser_test.exs
RobertDober/earmark
6f20bd06f40e4333294d19eb38031ea480f3d3ba
[ "Apache-2.0" ]
null
null
null
test/earmark_helpers_tests/link_parser_test.exs
RobertDober/earmark
6f20bd06f40e4333294d19eb38031ea480f3d3ba
[ "Apache-2.0" ]
1
2020-09-15T17:47:35.000Z
2020-09-15T17:47:35.000Z
defmodule EarmarkHelpersTests.LinkParserTest do use ExUnit.Case alias Earmark.Global.Messages, as: M setup do M.start_link() :ok end describe "text part" do test "text part: empty" do assert {~s<[]()>, "", "", nil} == parse_link("[]()") end test "text part: incorrect" do ass...
41.974138
127
0.558226
2d0fcd6277fcc136f87c97d0cc6b8cdb6843e3c0
581
ex
Elixir
lib/elixir_boilerplate_web/router.ex
k0d3rR/Elixir-Boilerplate
e69693497f68cb92f9e2d4cd79b7c774564be437
[ "Unlicense" ]
1
2020-09-20T14:06:40.000Z
2020-09-20T14:06:40.000Z
lib/elixir_boilerplate_web/router.ex
yvc74/v9
c0c3913f1efb58113224bfed07dcbabfdd35e51a
[ "BSD-3-Clause" ]
null
null
null
lib/elixir_boilerplate_web/router.ex
yvc74/v9
c0c3913f1efb58113224bfed07dcbabfdd35e51a
[ "BSD-3-Clause" ]
null
null
null
defmodule ElixirBoilerplateWeb.Router do use Phoenix.Router @secure_headers %{"content-security-policy" => "default-src 'self'"} pipeline :api do plug(:accepts, ["json"]) end pipeline :browser do plug(:accepts, ["html", "json"]) plug(:fetch_session) plug(:fetch_flash) plug(:protect_from...
23.24
70
0.688468
2d0fceff2df3c8a09cc868098a91a317c2bfee9e
62
ex
Elixir
web/views/setting_view.ex
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
1
2020-02-09T03:03:04.000Z
2020-02-09T03:03:04.000Z
web/views/setting_view.ex
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
null
null
null
web/views/setting_view.ex
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
null
null
null
defmodule Soroban.SettingView do use Soroban.Web, :view end
15.5
32
0.790323
2d0fd5d5f237711d9da40ef109cddf08c4df5d60
5,954
exs
Elixir
test/mix/tasks/hex.registry_test.exs
IvanIvanoff/hex
90aa44fa8a1e59f2ae65f490edb984e4d6c853d1
[ "Apache-2.0" ]
null
null
null
test/mix/tasks/hex.registry_test.exs
IvanIvanoff/hex
90aa44fa8a1e59f2ae65f490edb984e4d6c853d1
[ "Apache-2.0" ]
null
null
null
test/mix/tasks/hex.registry_test.exs
IvanIvanoff/hex
90aa44fa8a1e59f2ae65f490edb984e4d6c853d1
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Hex.RegistryTest do use HexTest.Case test "build" do in_tmp(fn -> bypass = setup_bypass() 0 = Mix.shell().cmd("openssl genrsa -out private_key.pem") flush() Mix.Task.run( "hex.registry", ~w(build public --name acme --private-key private_key.pem) ...
34.218391
97
0.567182
2d10146f541c2057335e4d0d26eacd050d55bbe7
2,162
exs
Elixir
mix.exs
av-ast/scrawler
4fe7e59dd35aad977fa0d73b400461bcccfe727e
[ "MIT" ]
null
null
null
mix.exs
av-ast/scrawler
4fe7e59dd35aad977fa0d73b400461bcccfe727e
[ "MIT" ]
null
null
null
mix.exs
av-ast/scrawler
4fe7e59dd35aad977fa0d73b400461bcccfe727e
[ "MIT" ]
null
null
null
defmodule Scrawler.Mixfile do use Mix.Project def project do [app: :scrawler, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, alia...
30.450704
90
0.567068
2d1027a36f9c922d306f359ecba578ca2ddaaa05
62
ex
Elixir
lib/moebius/postgrex_types.ex
cpursley/moebius
5a6993dd06bfc05840bd1e1bdb60beeabec5ef81
[ "BSD-3-Clause" ]
609
2015-10-13T23:42:14.000Z
2022-03-29T21:11:25.000Z
lib/moebius/postgrex_types.ex
cpursley/moebius
5a6993dd06bfc05840bd1e1bdb60beeabec5ef81
[ "BSD-3-Clause" ]
82
2015-10-20T02:18:00.000Z
2021-12-14T19:17:57.000Z
lib/moebius/postgrex_types.ex
cpursley/moebius
5a6993dd06bfc05840bd1e1bdb60beeabec5ef81
[ "BSD-3-Clause" ]
62
2015-10-20T01:14:15.000Z
2021-11-26T19:02:00.000Z
Postgrex.Types.define(Moebius.PostgrexTypes, [], json: Jason)
31
61
0.774194
2d1044298f00dd0597d138c3d82045b0049e9287
1,127
exs
Elixir
config/config.exs
wojtekmach/calendar_ifc
2743ed826923b051ad804ae72025c36f9da405fc
[ "MIT", "Unlicense" ]
1
2017-01-14T21:17:30.000Z
2017-01-14T21:17:30.000Z
config/config.exs
wojtekmach/calendar_ifc
2743ed826923b051ad804ae72025c36f9da405fc
[ "MIT", "Unlicense" ]
null
null
null
config/config.exs
wojtekmach/calendar_ifc
2743ed826923b051ad804ae72025c36f9da405fc
[ "MIT", "Unlicense" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.354839
73
0.753327
2d105d92d7765517a30b805bceaea46657fe10ec
1,105
exs
Elixir
config/config.exs
niku/escript_sandbox
0afdff81fa32a227c4bc83cf3c61b13682a7af48
[ "MIT" ]
null
null
null
config/config.exs
niku/escript_sandbox
0afdff81fa32a227c4bc83cf3c61b13682a7af48
[ "MIT" ]
null
null
null
config/config.exs
niku/escript_sandbox
0afdff81fa32a227c4bc83cf3c61b13682a7af48
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.645161
73
0.748416
2d1064fd34b0ca7037bb3108beb57ab55e688bba
23,534
ex
Elixir
lib/elixlsx/xml_templates.ex
Kanew-llc/elixlsx
15886e4a37676712ce19cbe9c5176045b5c1a86e
[ "MIT" ]
null
null
null
lib/elixlsx/xml_templates.ex
Kanew-llc/elixlsx
15886e4a37676712ce19cbe9c5176045b5c1a86e
[ "MIT" ]
null
null
null
lib/elixlsx/xml_templates.ex
Kanew-llc/elixlsx
15886e4a37676712ce19cbe9c5176045b5c1a86e
[ "MIT" ]
1
2020-03-22T12:17:45.000Z
2020-03-22T12:17:45.000Z
defmodule Elixlsx.XMLTemplates do alias Elixlsx.Util, as: U alias Elixlsx.Compiler.CellStyleDB alias Elixlsx.Compiler.StringDB alias Elixlsx.Compiler.FontDB alias Elixlsx.Compiler.FillDB alias Elixlsx.Compiler.SheetCompInfo alias Elixlsx.Compiler.NumFmtDB alias Elixlsx.Compiler.BorderStyleDB alias Eli...
30.32732
290
0.60436
2d107b764fc5a9891be5848b35bb248910bcbca1
547
exs
Elixir
test/trademark_free_strategic_land_warfare_web/views/error_view_test.exs
WizardOfOgz/trademark_free_strategic_land_warfare
a14287eab1f60c13d43f70ac2309391c291a6704
[ "MIT" ]
1
2020-06-30T16:37:50.000Z
2020-06-30T16:37:50.000Z
test/trademark_free_strategic_land_warfare_web/views/error_view_test.exs
WizardOfOgz/trademark_free_strategic_land_warfare
a14287eab1f60c13d43f70ac2309391c291a6704
[ "MIT" ]
null
null
null
test/trademark_free_strategic_land_warfare_web/views/error_view_test.exs
WizardOfOgz/trademark_free_strategic_land_warfare
a14287eab1f60c13d43f70ac2309391c291a6704
[ "MIT" ]
13
2020-06-04T23:10:19.000Z
2020-06-05T01:25:26.000Z
defmodule TrademarkFreeStrategicLandWarfareWeb.ErrorViewTest do use TrademarkFreeStrategicLandWarfareWeb.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(TrademarkFreeStrategicLandWarfareWeb.ErrorV...
32.176471
94
0.749543
2d109554b874383d4631dd5d9caa2396ed75f810
604
exs
Elixir
test/today/entry_test.exs
rockwood/today
4ce3a92d1bee5bb32040e1d2d333df50cd0c24ff
[ "MIT" ]
null
null
null
test/today/entry_test.exs
rockwood/today
4ce3a92d1bee5bb32040e1d2d333df50cd0c24ff
[ "MIT" ]
null
null
null
test/today/entry_test.exs
rockwood/today
4ce3a92d1bee5bb32040e1d2d333df50cd0c24ff
[ "MIT" ]
null
null
null
defmodule Today.EntryTest do use ExUnit.Case alias Today.Entry @test_entry %Entry{ dir: "tmp/test", timestamp: DateTime.from_unix!(546186600) } describe "Entry.path/1" do test "formats the path" do assert Entry.path(@test_entry) == "tmp/test/1987-04-23.md" end end describe "Entry....
21.571429
64
0.668874
2d10a24ce5d398a93b0802deb95919842028b318
6,717
ex
Elixir
lib/phoenixDSK/lms.ex
mark-b-kauffman/phoenixDSK
d68ff8daebc2641efbc2059320c8ab345203aa76
[ "BSD-3-Clause", "MIT" ]
8
2017-07-24T20:54:25.000Z
2021-04-06T19:19:32.000Z
lib/phoenixDSK/lms.ex
mark-b-kauffman/phoenixDSK
d68ff8daebc2641efbc2059320c8ab345203aa76
[ "BSD-3-Clause", "MIT" ]
2
2021-03-08T16:21:37.000Z
2021-05-06T17:53:24.000Z
lib/phoenixDSK/lms.ex
mark-b-kauffman/phoenixDSK
d68ff8daebc2641efbc2059320c8ab345203aa76
[ "BSD-3-Clause", "MIT" ]
2
2019-12-12T17:04:32.000Z
2020-07-22T15:42:32.000Z
defmodule PhoenixDSK.Lms do # Puropse: Abstraction, Repo-like methods for accessing Blackboard Learn # Instead of a database, we have the Blackboard Learn LMS. @doc """ Get all the dataSources as a list of Learn.DSK structs This behavior is analogous to a Repo. 2017.04.18 - Can't generalize here because w...
38.382857
135
0.725919
2d10e5d0aa3f21e173e4442748367464af6e3e0f
3,696
ex
Elixir
lib/mix/lib/mix/tasks/deps.clean.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/lib/mix/tasks/deps.clean.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/lib/mix/tasks/deps.clean.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Mix.Tasks.Deps.Clean do use Mix.Task @shortdoc "Deletes the given dependencies' files" @moduledoc """ Deletes the given dependencies' files, including build artifacts and fetched sources. Since this is a destructive action, cleaning of dependencies only occurs when passing arguments/options: ...
28.430769
95
0.629329
2d1111b9d791790cdc7a8f87bd873be0902aa083
5,408
exs
Elixir
server/test/melody_match/accounts_test.exs
brianjaustin/melody-match
5200fd347f7ae636ec782398896c782d80c17f59
[ "Apache-1.1" ]
null
null
null
server/test/melody_match/accounts_test.exs
brianjaustin/melody-match
5200fd347f7ae636ec782398896c782d80c17f59
[ "Apache-1.1" ]
4
2021-03-28T03:09:37.000Z
2021-04-10T17:45:10.000Z
server/test/melody_match/accounts_test.exs
brianjaustin/melody-match
5200fd347f7ae636ec782398896c782d80c17f59
[ "Apache-1.1" ]
null
null
null
defmodule MelodyMatch.AccountsTest do use MelodyMatch.DataCase alias MelodyMatch.Accounts describe "users" do alias MelodyMatch.Accounts.User @valid_attrs %{email: "some@example.com", name: "some name", password: "super_strong_pass1234"} @update_attrs %{email: "t2@example.com", name: "some updated ...
37.041096
113
0.695451
2d11123edf962dcdc0a9099123b8bedd8d59ccd3
17,971
exs
Elixir
test/mockatron/core_test.exs
rzcastilho/mockatron
237b2bad3e1bf167a6ebac218c7a46b74a9063ee
[ "MIT" ]
1
2018-12-13T16:52:22.000Z
2018-12-13T16:52:22.000Z
test/mockatron/core_test.exs
rzcastilho/mockatron
237b2bad3e1bf167a6ebac218c7a46b74a9063ee
[ "MIT" ]
28
2019-07-04T08:42:33.000Z
2022-03-28T08:24:07.000Z
test/mockatron/core_test.exs
rzcastilho/mockatron
237b2bad3e1bf167a6ebac218c7a46b74a9063ee
[ "MIT" ]
null
null
null
defmodule Mockatron.CoreTest do use Mockatron.DataCase alias Mockatron.Core @user_valid_attrs %{ email: "test@mockatron.io", password: "Welcome1", password_confirmation: "Welcome1", verified: true } @agent_valid_attrs %{ content_type: "application/json", host: "localhost", method...
34.963035
160
0.665851
2d1129a48b3a39281c26a35a0f6260a68b815c37
2,161
exs
Elixir
config/dev.exs
johnf9896/parquex
5251e6ef7166bca2e9f021b8cecc912a7b616d71
[ "MIT" ]
null
null
null
config/dev.exs
johnf9896/parquex
5251e6ef7166bca2e9f021b8cecc912a7b616d71
[ "MIT" ]
null
null
null
config/dev.exs
johnf9896/parquex
5251e6ef7166bca2e9f021b8cecc912a7b616d71
[ "MIT" ]
null
null
null
import Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with esbuild to bundle .js and .css sources. config :parques, ParquesWeb.Endpoint, # Binding to loopback...
32.742424
86
0.708006
2d11899d6b7b11bfa5af69090a82cffff7ed4fae
44,532
exs
Elixir
apps/language_server/test/server_test.exs
MrGrinst/elixir-ls
661c92be7fce5c8b490c1f8a4907c4e5f464798f
[ "Apache-2.0" ]
null
null
null
apps/language_server/test/server_test.exs
MrGrinst/elixir-ls
661c92be7fce5c8b490c1f8a4907c4e5f464798f
[ "Apache-2.0" ]
null
null
null
apps/language_server/test/server_test.exs
MrGrinst/elixir-ls
661c92be7fce5c8b490c1f8a4907c4e5f464798f
[ "Apache-2.0" ]
null
null
null
defmodule ElixirLS.LanguageServer.ServerTest do alias ElixirLS.LanguageServer.{Server, Protocol, SourceFile} alias ElixirLS.Utils.PacketCapture alias ElixirLS.LanguageServer.Test.FixtureHelpers use ElixirLS.Utils.MixTest.Case, async: false use Protocol doctest(Server) defp initialize(server) do Serv...
30.585165
109
0.517156
2d11e0c1efd15c08c41109690afa343abe03d7de
1,841
exs
Elixir
clients/cloud_identity/mix.exs
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/cloud_identity/mix.exs
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
clients/cloud_identity/mix.exs
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "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...
27.477612
105
0.657795
2d11ed8693ade8d591e123105e6932b6e71c5b04
1,567
exs
Elixir
test/milkpotion/request_test.exs
croesnick/milkpotion
a9e776cb612924cef9f98c616aa25d031e772687
[ "MIT" ]
1
2017-01-20T05:29:22.000Z
2017-01-20T05:29:22.000Z
test/milkpotion/request_test.exs
croesnick/milkpotion
a9e776cb612924cef9f98c616aa25d031e772687
[ "MIT" ]
null
null
null
test/milkpotion/request_test.exs
croesnick/milkpotion
a9e776cb612924cef9f98c616aa25d031e772687
[ "MIT" ]
null
null
null
defmodule Milkpotion.RequestTest do use ExUnit.Case alias Milkpotion.Request doctest Milkpotion.Request test "#parse_http_response with 200er response" do response = %HTTPoison.Response{status_code: 200, body: "[]"} assert {:ok, "[]"} == Request.parse_http_response(response) end test "#parse_http...
35.613636
101
0.666241
2d11f1c1b6d7d0198c6f64cb7695b0b4e87941f2
104
ex
Elixir
lib/events/repo.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
lib/events/repo.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
lib/events/repo.ex
jacrdn/web_dev_hw08
1727810bb56a9a30733cb93cd77a8db7f5f747ed
[ "MIT" ]
null
null
null
defmodule Events.Repo do use Ecto.Repo, otp_app: :events, adapter: Ecto.Adapters.Postgres end
17.333333
35
0.721154
2d121a21b9d1b428f216eee359c7ceff669cdbb9
523
ex
Elixir
lib/cli.ex
NikitaNaumenko/brain_games_elixir
25ef3898164846faab5813096804661734d54af8
[ "MIT" ]
null
null
null
lib/cli.ex
NikitaNaumenko/brain_games_elixir
25ef3898164846faab5813096804661734d54af8
[ "MIT" ]
null
null
null
lib/cli.ex
NikitaNaumenko/brain_games_elixir
25ef3898164846faab5813096804661734d54af8
[ "MIT" ]
null
null
null
defmodule BrainGames.CLI do @moduledoc """ Main CLI interface """ alias BrainGames.GameEngine def main(_args) do IO.puts("Welcome to the Brain Games!\n") name = ExPrompt.string("May I have your name?") IO.puts("Hello, #{name}") IO.puts(""" Choose a game: 1) Brain-even 2) Brain...
20.115385
56
0.636711
2d122fa3b7b694fc2f3656afd25011dcab16625f
1,471
ex
Elixir
lib/powit_web/views/error_helpers.ex
tenzil-rpx/powit
0feebbfc11c7bd2a45ef0664632deb9b0537fb5c
[ "MIT" ]
null
null
null
lib/powit_web/views/error_helpers.ex
tenzil-rpx/powit
0feebbfc11c7bd2a45ef0664632deb9b0537fb5c
[ "MIT" ]
null
null
null
lib/powit_web/views/error_helpers.ex
tenzil-rpx/powit
0feebbfc11c7bd2a45ef0664632deb9b0537fb5c
[ "MIT" ]
null
null
null
defmodule PowitWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag(:s...
32.688889
74
0.668933
2d1235d2beea82bee5ae43402b01f88a9926ebc5
8,590
exs
Elixir
test/content/audio/predictions_test.exs
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-01-24T12:39:05.000Z
2022-01-24T12:39:05.000Z
test/content/audio/predictions_test.exs
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
40
2021-05-05T10:14:25.000Z
2022-03-31T18:34:15.000Z
test/content/audio/predictions_test.exs
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-03-20T21:08:12.000Z
2022-03-20T21:08:12.000Z
defmodule Content.Audio.PredictionsTest do use ExUnit.Case, async: true import ExUnit.CaptureLog alias Content.Message alias Content.Audio alias Signs.Utilities.SourceConfig import Content.Audio.Predictions @src %SourceConfig{ stop_id: "70196", direction_id: 0, headway_destination: :heath_st...
29.02027
111
0.567404
2d123777772b32495dbe9ab2dbd2dc110cf56c5f
7,882
ex
Elixir
lib/state_machine.ex
evenlwanvik-student/TTK4145-Sanntid
0006e1088f3fb8321e11eb280b920e68618becaa
[ "MIT" ]
null
null
null
lib/state_machine.ex
evenlwanvik-student/TTK4145-Sanntid
0006e1088f3fb8321e11eb280b920e68618becaa
[ "MIT" ]
null
null
null
lib/state_machine.ex
evenlwanvik-student/TTK4145-Sanntid
0006e1088f3fb8321e11eb280b920e68618becaa
[ "MIT" ]
null
null
null
defmodule ElevatorState do @moduledoc """ This module keeps track of and handles the state of the elevator. The Genserver provides an API for outside functions to provide conditions for updating the state. """ use GenServer @server_name :process_elevator # Max acceptable elevator timeout [sec] @elev_tim...
28.977941
107
0.642984
2d1237787a166e6cab2d8a191b50856392a4c3da
206
exs
Elixir
priv/repo/migrations/20180814031925_add_user_id_to_cycles.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
12
2019-05-10T21:48:06.000Z
2021-11-07T14:04:30.000Z
priv/repo/migrations/20180814031925_add_user_id_to_cycles.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
2
2019-05-14T19:07:10.000Z
2019-05-20T21:06:27.000Z
priv/repo/migrations/20180814031925_add_user_id_to_cycles.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
3
2019-05-19T18:24:20.000Z
2019-10-31T20:29:12.000Z
defmodule OkrApp.Repo.Migrations.AddUserIdToCycles do use Ecto.Migration def change do alter table(:cycles) do add(:user_id, references(:users, type: :string), null: false) end end end
20.6
67
0.708738
2d1259032b086d62415dd2441841717ecc5316b5
896
ex
Elixir
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/lib/google_api/sas_portal/v1alpha1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.185185
74
0.762277
2d12590ebc4a07e9de73ddf6dcaace65159f013d
2,165
ex
Elixir
lib/live_ex.ex
thanos/live_ex
69d58d0757359876c1a95ab5acd5b1ecdbe520b2
[ "MIT" ]
null
null
null
lib/live_ex.ex
thanos/live_ex
69d58d0757359876c1a95ab5acd5b1ecdbe520b2
[ "MIT" ]
null
null
null
lib/live_ex.ex
thanos/live_ex
69d58d0757359876c1a95ab5acd5b1ecdbe520b2
[ "MIT" ]
null
null
null
defmodule LiveEx do @moduledoc """ Documentation for LiveEx. """ @type socket :: Phoenix.LiveView.Socket.t() @callback init(socket) :: socket defmacro __using__(opts) do quote do require Logger import Phoenix.LiveView, only: [assign: 3, assign_new: 3] @doc """ Configures the...
27.0625
79
0.57321
2d129a3e744d1870a911fe3a9c1ae167f46b1978
73
ex
Elixir
lib/eliscore_chat_web/views/layout_view.ex
CandN/eliscore-chat
a626077bf1c46b329c15f63db9a25521b43bd61b
[ "MIT" ]
null
null
null
lib/eliscore_chat_web/views/layout_view.ex
CandN/eliscore-chat
a626077bf1c46b329c15f63db9a25521b43bd61b
[ "MIT" ]
null
null
null
lib/eliscore_chat_web/views/layout_view.ex
CandN/eliscore-chat
a626077bf1c46b329c15f63db9a25521b43bd61b
[ "MIT" ]
null
null
null
defmodule EliscoreChatWeb.LayoutView do use EliscoreChatWeb, :view end
18.25
39
0.835616
2d12d255690b760d4da208250a831764b3227765
8,035
ex
Elixir
lib/endpoint/register_wallet.ex
starbuildr/ex_lemonway
ebd39244d0ff20968666957bcedd36ef46963dd9
[ "MIT" ]
null
null
null
lib/endpoint/register_wallet.ex
starbuildr/ex_lemonway
ebd39244d0ff20968666957bcedd36ef46963dd9
[ "MIT" ]
null
null
null
lib/endpoint/register_wallet.ex
starbuildr/ex_lemonway
ebd39244d0ff20968666957bcedd36ef46963dd9
[ "MIT" ]
null
null
null
defmodule ExLemonway.Endpoint.RegisterWallet do @moduledoc """ Endpoint for RegisterWallet. It's automatically generated by `mix specs.gen.endpoint RegisterWallet` Dont' edit this file manually, to make any changes, please update: `specs/directkit/endpoint/register_wallet/request.json` or `specs/directkit/...
35.711111
89
0.618419
2d12ec4373b2d2315eca7711896910e59c8cc427
1,890
ex
Elixir
lib/mango_web/controllers/admin/supplier_controller.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
121
2017-06-24T10:33:38.000Z
2022-03-17T16:02:16.000Z
lib/mango_web/controllers/admin/supplier_controller.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
6
2017-06-24T22:48:21.000Z
2018-03-17T01:20:32.000Z
lib/mango_web/controllers/admin/supplier_controller.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
29
2017-07-03T04:09:15.000Z
2022-03-02T15:45:49.000Z
defmodule MangoWeb.Admin.SupplierController do use MangoWeb, :controller alias Mango.Warehouse def index(conn, _params) do suppliers = Warehouse.list_suppliers() render(conn, "index.html", suppliers: suppliers) end def new(conn, _params) do changeset = Warehouse.change_supplier(%Mango.Warehouse...
31.5
75
0.665079
2d132bbdfd1260802e86662787a3471473f6996e
12,909
exs
Elixir
test/yum/migration_test.exs
ZURASTA/yum
132cb79ab328d2e4063d581f79fde0ff4243eb02
[ "BSD-2-Clause" ]
null
null
null
test/yum/migration_test.exs
ZURASTA/yum
132cb79ab328d2e4063d581f79fde0ff4243eb02
[ "BSD-2-Clause" ]
4
2017-08-02T08:38:18.000Z
2017-12-23T12:21:02.000Z
test/yum/migration_test.exs
ZURASTA/yum
132cb79ab328d2e4063d581f79fde0ff4243eb02
[ "BSD-2-Clause" ]
3
2017-07-25T10:17:28.000Z
2017-10-04T05:46:01.000Z
defmodule Yum.MigrationTest do use ExUnit.Case test "new/1" do assert %Yum.Migration{ timestamp: 1 } == Yum.Migration.new(%{ "timestamp" => "1" }) assert %Yum.Migration{ timestamp: 1, add: ["a", "b"], update: ["c", "d"], move: [{ "e", "f" }, { "g"...
35.464286
156
0.299713
2d132d834de968e1dd501d2c4c5acd6b38ce1ea1
1,404
ex
Elixir
apps/chatter/test/support/data_case.ex
barboza/chatter
16a56aea83eceb0fd1a709f3bc8d3a24812996cd
[ "MIT" ]
2
2019-08-29T19:35:01.000Z
2019-08-31T04:08:03.000Z
apps/chatter/test/support/data_case.ex
barboza/chatter
16a56aea83eceb0fd1a709f3bc8d3a24812996cd
[ "MIT" ]
1
2021-03-09T16:10:46.000Z
2021-03-09T16:10:46.000Z
apps/chatter/test/support/data_case.ex
barboza/chatter
16a56aea83eceb0fd1a709f3bc8d3a24812996cd
[ "MIT" ]
null
null
null
defmodule Chatter.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every test...
26
77
0.679487
2d137b1474604c7fce60359044d7224d03a37588
6,031
ex
Elixir
lib/axon/recurrent.ex
kamidev/axon
2db36f4142f6b1ee66e8b24f5c83fd2f95b49f5e
[ "Apache-2.0" ]
null
null
null
lib/axon/recurrent.ex
kamidev/axon
2db36f4142f6b1ee66e8b24f5c83fd2f95b49f5e
[ "Apache-2.0" ]
null
null
null
lib/axon/recurrent.ex
kamidev/axon
2db36f4142f6b1ee66e8b24f5c83fd2f95b49f5e
[ "Apache-2.0" ]
null
null
null
defmodule Axon.Recurrent do @moduledoc """ Functional implementations of common recurrent neural network routines. Recurrent Neural Networks are commonly used for working with sequences of data where there is some level of dependence between outputs at different timesteps. This module contains 3 RNN Cel...
29.419512
98
0.613331
2d138736fcb2961a67c959a3bed296faab6cda41
3,788
ex
Elixir
lib/new_relic/error/reporter.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
227
2018-09-05T15:33:23.000Z
2022-02-25T18:12:06.000Z
lib/new_relic/error/reporter.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
211
2018-09-05T21:42:41.000Z
2022-03-25T17:51:56.000Z
lib/new_relic/error/reporter.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
84
2018-09-05T04:26:26.000Z
2022-03-09T14:28:14.000Z
defmodule NewRelic.Error.Reporter do @moduledoc false alias NewRelic.Util alias NewRelic.Harvest.Collector # Don't report exceptions that result in a 400 level response def report_error(_, [ {:initial_call, _}, {:pid, _}, {:registered_name, _}, {:error_info, {:exit, {{{%{plug...
33.522124
101
0.689018
2d138f288b9591de392891466c0dd7d307d2ff60
1,962
ex
Elixir
clients/workflow_executions/lib/google_api/workflow_executions/v1beta/model/error.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/workflow_executions/lib/google_api/workflow_executions/v1beta/model/error.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/workflow_executions/lib/google_api/workflow_executions/v1beta/model/error.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.018868
173
0.730377
2d13b0113cae147527fc0ad5d579809a44bcc750
4,333
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/binding.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/binding.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/binding.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...
81.754717
1,972
0.756289
2d13d5ad954940f0b58fd04fd51499cb6c718db6
642
exs
Elixir
elixir/priv/repo/migrations/202101111553000_create_transactions.exs
gosimitz/web-homework
df72cdd4f341c4ea96beeb8164c4029928dffa50
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/202101111553000_create_transactions.exs
gosimitz/web-homework
df72cdd4f341c4ea96beeb8164c4029928dffa50
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/202101111553000_create_transactions.exs
gosimitz/web-homework
df72cdd4f341c4ea96beeb8164c4029928dffa50
[ "MIT" ]
null
null
null
defmodule Homework.Repo.Migrations.CreateTransactions do use Ecto.Migration def change do create table(:transactions, primary_key: false) do add(:id, :uuid, primary_key: true) add(:amount, :integer) add(:credit, :boolean, default: false, null: false) add(:debit, :boolean, default: false...
35.666667
81
0.674455
2d13e811802bfc3687a94934ea82fe24ba82ddfd
6,970
ex
Elixir
lib/gremlin.ex
Fulnir/dexgraph
b29ef4e21a893b33b143c9c85cec0bb19172911b
[ "MIT" ]
1
2018-03-04T14:33:11.000Z
2018-03-04T14:33:11.000Z
lib/gremlin.ex
Fulnir/dexgraph
b29ef4e21a893b33b143c9c85cec0bb19172911b
[ "MIT" ]
null
null
null
lib/gremlin.ex
Fulnir/dexgraph
b29ef4e21a893b33b143c9c85cec0bb19172911b
[ "MIT" ]
null
null
null
defmodule DexGraph.Gremlin do @moduledoc """ Experimental gremlin helper functions See ![Traversal Steps](http://tinkerpop.apache.org/docs/current/reference/#graph-traversal-steps) ![Gremlin](http://tinkerpop.apache.org/docs/current/images/gremlin-logo.png) # Gremlin graph support In this case, only eli...
27.333333
165
0.660689
2d13ebeb53f8332c041744dc81da787936a6fe6e
588
exs
Elixir
mix.exs
221V/nitro_5.12.4
15145acc4d1bf3f89f393bacadba987893bee986
[ "0BSD" ]
null
null
null
mix.exs
221V/nitro_5.12.4
15145acc4d1bf3f89f393bacadba987893bee986
[ "0BSD" ]
null
null
null
mix.exs
221V/nitro_5.12.4
15145acc4d1bf3f89f393bacadba987893bee986
[ "0BSD" ]
null
null
null
defmodule NITRO.Mixfile do use Mix.Project def project do [ app: :nitro, version: "5.12.4", description: "NITRO Nitrogen Web Framework", package: package(), deps: deps() ] end def application do [mod: {:nitro, []}] end def package do [ files: ~w(doc inc...
18.375
71
0.557823
2d14236b9c7723e95664e0e4cec3224bd1db8c8d
66
exs
Elixir
test/views/layout_view_test.exs
lexa62/hb
c6b2169ad3e5af546da3f7ad0d499f5d5d29d044
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
lexa62/hb
c6b2169ad3e5af546da3f7ad0d499f5d5d29d044
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
lexa62/hb
c6b2169ad3e5af546da3f7ad0d499f5d5d29d044
[ "MIT" ]
null
null
null
defmodule Hb.LayoutViewTest do use Hb.ConnCase, async: true end
16.5
30
0.787879
2d143d80f99eefc746d942c53e42521491418ce8
79
ex
Elixir
lib/http.ex
jomaro/http
cd3cb127679a93e9f12f00edd70a5a7c797b937d
[ "MIT" ]
null
null
null
lib/http.ex
jomaro/http
cd3cb127679a93e9f12f00edd70a5a7c797b937d
[ "MIT" ]
null
null
null
lib/http.ex
jomaro/http
cd3cb127679a93e9f12f00edd70a5a7c797b937d
[ "MIT" ]
null
null
null
defmodule HTTP do use BaseHTTP, adapter: HTTP.Adapters.TeslaFinchAdapter end
19.75
56
0.822785
2d147a64e15670fe4e4a9ef2d857d37a625fb4a9
906
ex
Elixir
apps/rig_metrics/lib/rig_metrics/proxy_metrics.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
null
null
null
apps/rig_metrics/lib/rig_metrics/proxy_metrics.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
132
2018-11-26T14:00:54.000Z
2022-03-11T04:17:54.000Z
apps/rig_metrics/lib/rig_metrics/proxy_metrics.ex
arana3/reactive-interaction-gateway
793648bcc5b8b05fc53df1f5f97818fb40ca84be
[ "Apache-2.0" ]
1
2020-07-17T05:17:32.000Z
2020-07-17T05:17:32.000Z
defmodule RigMetrics.ProxyMetrics do @moduledoc """ Metrics instrumenter for the Rig Proxy """ use Prometheus.Metric # to be called at app startup. def setup do Counter.declare( name: :rig_proxy_requests_total, help: "Total count of requests through RIG proxy", labels: [:method, :path...
28.3125
73
0.707506
2d14a14e4cf84a7500568bd1112fa28380e3fdd3
35,738
ex
Elixir
lib/elixir/lib/stream.ex
Gazler/elixir
e934e3c92edbc9c83da7795ec3a028ff86218c4b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/stream.ex
Gazler/elixir
e934e3c92edbc9c83da7795ec3a028ff86218c4b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/stream.ex
Gazler/elixir
e934e3c92edbc9c83da7795ec3a028ff86218c4b
[ "Apache-2.0" ]
null
null
null
defmodule Stream do @moduledoc """ Module for creating and composing streams. Streams are composable, lazy enumerables. Any enumerable that generates items one by one during enumeration is called a stream. For example, Elixir's `Range` is a stream: iex> range = 1..5 1..5 iex> Enum.map rang...
29.293443
100
0.604343
2d14cc7c83f8e3d20864a315ccd72c005806cc70
1,250
ex
Elixir
lib/phoenix_api_auth_starter_web/views/error_helpers.ex
CMcDonald82/phoenix-api-auth-starter
916db91ceba32399b8d30cc6a6e35804bc0d18b1
[ "MIT" ]
null
null
null
lib/phoenix_api_auth_starter_web/views/error_helpers.ex
CMcDonald82/phoenix-api-auth-starter
916db91ceba32399b8d30cc6a6e35804bc0d18b1
[ "MIT" ]
null
null
null
lib/phoenix_api_auth_starter_web/views/error_helpers.ex
CMcDonald82/phoenix-api-auth-starter
916db91ceba32399b8d30cc6a6e35804bc0d18b1
[ "MIT" ]
null
null
null
defmodule PhoenixApiAuthStarterWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # When using gettext, we typically pass the strings we want # to translate as...
36.764706
90
0.6832
2d14e7b6dd0fa50542a3d6cedd0fa44c2a8331e3
23
ex
Elixir
lib/rrule.ex
kaermorchen/rrule
4a648c94d824a06cf8a450848e4fbe5e3db363d2
[ "MIT" ]
null
null
null
lib/rrule.ex
kaermorchen/rrule
4a648c94d824a06cf8a450848e4fbe5e3db363d2
[ "MIT" ]
null
null
null
lib/rrule.ex
kaermorchen/rrule
4a648c94d824a06cf8a450848e4fbe5e3db363d2
[ "MIT" ]
null
null
null
defmodule RRule do end
7.666667
18
0.826087
2d14f2ccac7450bbf103d24de7e369a8963ddf9e
734
ex
Elixir
lib/simple_pool/v2/cluster_management_framework/structures/entities/health_report_definition.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
12
2018-07-03T10:14:54.000Z
2020-04-07T02:04:39.000Z
lib/simple_pool/v2/cluster_management_framework/structures/entities/health_report_definition.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
1
2018-12-02T06:05:59.000Z
2018-12-02T06:05:59.000Z
lib/simple_pool/v2/cluster_management_framework/structures/entities/health_report_definition.ex
noizu/simple_pool
59251a3391ff82152a31626072955b95f83c18ee
[ "MIT" ]
2
2018-03-05T12:01:51.000Z
2018-07-03T10:15:04.000Z
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2020 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.SimplePool.V2.ClusterManagement.HealthReportDefinitio...
24.466667
81
0.399183
2d1515096dc94b69a4c6a82969c21e7fbccb576c
211
ex
Elixir
lib/hello_finance_web/auth/pipeline.ex
dcdourado/hello_finance
ff7d3b67c0c39c3c60675d018b49f5c7e304610b
[ "MIT" ]
null
null
null
lib/hello_finance_web/auth/pipeline.ex
dcdourado/hello_finance
ff7d3b67c0c39c3c60675d018b49f5c7e304610b
[ "MIT" ]
null
null
null
lib/hello_finance_web/auth/pipeline.ex
dcdourado/hello_finance
ff7d3b67c0c39c3c60675d018b49f5c7e304610b
[ "MIT" ]
null
null
null
defmodule HelloFinanceWeb.Auth.Pipeline do use Guardian.Plug.Pipeline, otp_app: :hello_finance plug Guardian.Plug.VerifyHeader plug Guardian.Plug.EnsureAuthenticated plug Guardian.Plug.LoadResource end
26.375
53
0.829384
2d15296ecb5b71f1e54907b387956f31aa6fc958
56
ex
Elixir
testData/org/elixir_lang/parser_definition/no_parentheses_many_arguments_call_parsing_test_case/PositionalAlias.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/no_parentheses_many_arguments_call_parsing_test_case/PositionalAlias.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/no_parentheses_many_arguments_call_parsing_test_case/PositionalAlias.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
identifier Alias, first_keyword_key: first_keyword_value
56
56
0.910714
2d156ea70cb12c7831f6082047e8b38ae951b519
1,655
ex
Elixir
lib/koans/08_maps.ex
matisnape/elixir-koans
878bf9290dba67bef5de8ce09d6eb3646e026268
[ "MIT" ]
null
null
null
lib/koans/08_maps.ex
matisnape/elixir-koans
878bf9290dba67bef5de8ce09d6eb3646e026268
[ "MIT" ]
null
null
null
lib/koans/08_maps.ex
matisnape/elixir-koans
878bf9290dba67bef5de8ce09d6eb3646e026268
[ "MIT" ]
null
null
null
defmodule Maps do use Koans @intro "Maps" @person %{ first_name: "Jon", last_name: "Snow", age: 27 } koan "Maps represent structured data, like a person" do assert @person == %{first_name: "Jon", last_name: "Snow", age: 27} end koan "Fetching a value returns a tuple with ok when it exi...
28.050847
107
0.645317
2d158b0f711f6464fe7222efdbc30ea46e80d97f
41,993
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/api/folders.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/api/folders.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/api/folders.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
54.89281
1,319
0.646298
2d15b314b587fcf9ce7e2a0cc8a16212e8c4d7f0
12,761
ex
Elixir
lib/tidy/code_typespec.ex
IanLuites/tidy
8427986dd0261139a8e25a6fb6f9a938608500c6
[ "MIT" ]
null
null
null
lib/tidy/code_typespec.ex
IanLuites/tidy
8427986dd0261139a8e25a6fb6f9a938608500c6
[ "MIT" ]
1
2020-09-02T10:03:53.000Z
2020-09-02T10:03:53.000Z
lib/tidy/code_typespec.ex
IanLuites/tidy
8427986dd0261139a8e25a6fb6f9a938608500c6
[ "MIT" ]
1
2020-09-01T16:20:38.000Z
2020-09-01T16:20:38.000Z
defmodule Tidy.Typespec do @moduledoc false # Copied from Elixir, until it is in the release. @doc """ Converts a spec clause back to Elixir quoted expression. """ @spec spec_to_quoted(atom, tuple) :: {atom, keyword, [Macro.t()]} def spec_to_quoted(name, spec) def spec_to_quoted(name, {:type, line, :f...
29.539352
98
0.606222
2d15b681452c27f98d9658215c3c5bdb2311d175
388
ex
Elixir
lib/elixir_adn/endpoints/parameters/stream_endpoint_parameters.ex
shaunc311/ElixirADN
9d46329c47695eb04bed02fb9316b2090735141b
[ "0BSD" ]
6
2015-02-08T01:22:31.000Z
2015-09-24T01:24:18.000Z
lib/elixir_adn/endpoints/parameters/stream_endpoint_parameters.ex
shaunc311/ElixirADN
9d46329c47695eb04bed02fb9316b2090735141b
[ "0BSD" ]
23
2015-02-08T12:26:01.000Z
2015-06-02T00:39:15.000Z
lib/elixir_adn/endpoints/parameters/stream_endpoint_parameters.ex
shaunc311/ElixirADN
9d46329c47695eb04bed02fb9316b2090735141b
[ "0BSD" ]
null
null
null
defmodule ElixirADN.Endpoints.Parameters.StreamEndpointParameters do defstruct include_annotations: nil, include_message_annotations: nil, include_channel_annotations: nil, include_user_annotations: nil, include_post_annotations: nil, include_file_annotations: nil, include_starred_by: nil, include_reposters: nil, inc...
129.333333
315
0.865979
2d16109c5a5a8ebbd25676678fe1a2fba5739ccb
5,858
ex
Elixir
lib/th.ex
andrzejsliwa/tracing_helper
eab4596580204ce6dc9b51f397d24e422e2ed865
[ "MIT" ]
2
2016-05-25T21:08:06.000Z
2016-09-05T14:35:32.000Z
lib/th.ex
andrzejsliwa/tracing_helper
eab4596580204ce6dc9b51f397d24e422e2ed865
[ "MIT" ]
null
null
null
lib/th.ex
andrzejsliwa/tracing_helper
eab4596580204ce6dc9b51f397d24e422e2ed865
[ "MIT" ]
null
null
null
defmodule TH do @moduledoc ~S""" Basic tracing helper """ @tracing_options [{:_, [], [{:return_trace}, {:exception_trace}]}] @doc """ Turn on flat tracing on all functions of given module. It configures tracing modules to trace all functions of given module in flat way (without indenting recursion ca...
26.151786
82
0.598156
2d1613780299fd64f834789f5a4084722dbcdc80
67
exs
Elixir
test/test_helper.exs
TORIFUKUKaiou/nerves_bootstrap
8d4142779fa5f2a3719118490c8cd3401c6eb374
[ "Apache-2.0" ]
33
2017-10-20T04:04:00.000Z
2021-04-27T11:15:08.000Z
test/test_helper.exs
TORIFUKUKaiou/nerves_bootstrap
8d4142779fa5f2a3719118490c8cd3401c6eb374
[ "Apache-2.0" ]
67
2018-01-10T15:41:43.000Z
2022-02-23T22:11:55.000Z
test/test_helper.exs
TORIFUKUKaiou/nerves_bootstrap
8d4142779fa5f2a3719118490c8cd3401c6eb374
[ "Apache-2.0" ]
14
2018-02-04T16:31:28.000Z
2022-01-21T11:12:46.000Z
Mix.shell(Mix.Shell.Process) File.rm_rf("test/tmp") ExUnit.start()
16.75
28
0.746269
2d16256907737307dbbfa6a22cd2c21edabc49e3
1,430
ex
Elixir
lib/clickhouse_ecto.ex
m-col/clickhouse_ecto
03cf18fadaaa5913d53a27f2c1e7da50ebb89154
[ "Apache-2.0" ]
4
2021-04-11T15:48:22.000Z
2021-11-26T16:35:19.000Z
lib/clickhouse_ecto.ex
m-col/clickhouse_ecto
03cf18fadaaa5913d53a27f2c1e7da50ebb89154
[ "Apache-2.0" ]
1
2022-01-04T13:43:19.000Z
2022-01-04T13:43:19.000Z
lib/clickhouse_ecto.ex
m-col/clickhouse_ecto
03cf18fadaaa5913d53a27f2c1e7da50ebb89154
[ "Apache-2.0" ]
5
2021-06-27T02:49:15.000Z
2022-01-24T19:00:59.000Z
defmodule ClickhouseEcto do require IEx @moduledoc false @behaviour Ecto.Adapter.Storage use Ecto.Adapters.SQL, driver: :clickhousex alias ClickhouseEcto.Migration alias ClickhouseEcto.Storage alias ClickhouseEcto.Structure import ClickhouseEcto.Type, only: [encode: 2, decode: 2] def autogenerate...
34.047619
94
0.732867
2d16268714f3a80a66be45f2785399b7d271bb16
1,887
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/model/artifact_result.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/artifact_result.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/artifact_result.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37
201
0.741388
2d166b6a60355258631b602da381505177add251
6,358
ex
Elixir
lib/comeonin/base.ex
echenim/comeonin
1ff00b118dda3094ec2181c1d4c7bd5eabc9360d
[ "BSD-3-Clause" ]
2
2019-02-10T01:22:22.000Z
2019-02-11T20:47:28.000Z
lib/comeonin/base.ex
echenim/comeonin
1ff00b118dda3094ec2181c1d4c7bd5eabc9360d
[ "BSD-3-Clause" ]
null
null
null
lib/comeonin/base.ex
echenim/comeonin
1ff00b118dda3094ec2181c1d4c7bd5eabc9360d
[ "BSD-3-Clause" ]
null
null
null
for {module, alg} <- [{Argon2, "Argon2"}, {Bcrypt, "Bcrypt"}, {Pbkdf2, "Pbkdf2"}] do if Code.ensure_loaded?(module) do mod = Module.concat(Comeonin, module) defmodule mod do @moduledoc """ Password hashing module using the #{alg} algorithm. For more information about the #{alg} algorithm, ...
34.367568
93
0.615445
2d16975e62663cee11d82eb6b1a19db3cc7c9e2a
2,551
ex
Elixir
apps/discordbot/lib/discordbot/gateway.ex
alexweav/discordbot
1ee138f7c42a6901ab769e2ce59a6878bf603290
[ "MIT" ]
4
2018-11-19T06:10:52.000Z
2022-02-03T01:50:23.000Z
apps/discordbot/lib/discordbot/gateway.ex
alexweav/discordbot
1ee138f7c42a6901ab769e2ce59a6878bf603290
[ "MIT" ]
254
2018-11-19T06:08:51.000Z
2021-07-22T13:47:26.000Z
apps/discordbot/lib/discordbot/gateway.ex
alexweav/discordbot
1ee138f7c42a6901ab769e2ce59a6878bf603290
[ "MIT" ]
null
null
null
defmodule DiscordBot.Gateway do @moduledoc false use Supervisor @default_shard_count 1 @default_broker_supervisor_name DiscordBot.Gateway.BrokerSupervisor def start_link(opts) do url = Keyword.fetch!(opts, :url) shard_count = Keyword.get(opts, :shard_count, nil) broker_sup = Keyword.get(opts, :...
31.109756
94
0.689926
2d169e543a9ab7ca968630d3cbc4d00b70758d20
874
exs
Elixir
apps/core/priv/repo/migrations/20191127195105_add_docker.exs
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/priv/repo/migrations/20191127195105_add_docker.exs
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/priv/repo/migrations/20191127195105_add_docker.exs
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Repo.Migrations.AddDocker do use Ecto.Migration def change do create table(:docker_repositories, primary_key: false) do add :id, :uuid, primary_key: true add :repository_id, references(:repositories, type: :uuid, on_delete: :delete_all) add :name, :string timestamps() ...
30.137931
102
0.702517
2d16aad857eb9a8176e004b5f2f3dc291f2522e8
225
ex
Elixir
lib/chargebee/structs/estimate/subscription_estimate.ex
alfredclub/chargebee-elixir
d981f77f38f77410a207e31c8929258024ef2f26
[ "MIT" ]
2
2017-02-20T23:42:59.000Z
2019-09-13T14:31:36.000Z
lib/chargebee/structs/estimate/subscription_estimate.ex
madebymany/chargebee-elixir
d981f77f38f77410a207e31c8929258024ef2f26
[ "MIT" ]
2
2017-02-20T23:42:48.000Z
2017-04-13T18:48:32.000Z
lib/chargebee/structs/estimate/subscription_estimate.ex
madebymany/chargebee-elixir
d981f77f38f77410a207e31c8929258024ef2f26
[ "MIT" ]
2
2017-02-20T23:44:13.000Z
2017-05-11T19:53:21.000Z
defmodule Chargebee.SubscriptionEstimate do @derive [Poison.Encoder] defstruct [ :id, :currency_code, :status, :next_billing_at, :shipping_address ] end
22.5
43
0.546667
2d16f45949e8d6fedc3549eafe3df058a53a2f12
941
exs
Elixir
scripts/matematica.exs
jeanavilarangel/curso_de_elixir_sequencial_marco_2022
e8df17c3e8dc1a2d98b8015c16f8eca64599fcaa
[ "MIT" ]
null
null
null
scripts/matematica.exs
jeanavilarangel/curso_de_elixir_sequencial_marco_2022
e8df17c3e8dc1a2d98b8015c16f8eca64599fcaa
[ "MIT" ]
null
null
null
scripts/matematica.exs
jeanavilarangel/curso_de_elixir_sequencial_marco_2022
e8df17c3e8dc1a2d98b8015c16f8eca64599fcaa
[ "MIT" ]
null
null
null
defmodule Matematica do def divide(um_numero, outro_numero) do case {Float.parse(um_numero), Float.parse(outro_numero)} do {:error, _} -> {:erro, "O primeiro argumento não é um número"} {_, :error} -> {:erro, "O segundo argumento não é um número"} {{num1, _}, {num2, _}} -> ...
26.885714
64
0.616366
2d170098d909dca68af317ff34ef7fffd2ac2ecc
1,425
exs
Elixir
server/config/dev.exs
MikaAK/trello-burndown
b78d97fa03fcdd60c1c9652b65d272936f648c6f
[ "MIT" ]
null
null
null
server/config/dev.exs
MikaAK/trello-burndown
b78d97fa03fcdd60c1c9652b65d272936f648c6f
[ "MIT" ]
3
2016-04-18T18:09:21.000Z
2016-04-25T07:29:59.000Z
server/config/dev.exs
MikaAK/trello-burndown
b78d97fa03fcdd60c1c9652b65d272936f648c6f
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :trello_burndown, TrelloBurndown.Endpoint, htt...
29.6875
79
0.712281
2d17091cf66571cbcbeb4a2ee86ad8ca5b402cf4
17,400
exs
Elixir
lib/mix/test/mix/tasks/compile.elixir_test.exs
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2018-10-02T13:55:29.000Z
2018-10-02T13:55:29.000Z
lib/mix/test/mix/tasks/compile.elixir_test.exs
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.elixir_test.exs
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2021-09-30T01:21:02.000Z
2021-09-30T01:21:02.000Z
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.Compile.ElixirTest do alias Mix.Task.Compiler.Diagnostic use MixTest.Case setup do Mix.Project.push(MixTest.Case.Sample) :ok end @elixir_otp_version {System.version(), :erlang.system_info(:otp_release)} test "compiles a proj...
31.182796
98
0.582816
2d170aaa2fa6040a65f28994e9ea6b27549d24ba
6,256
ex
Elixir
lib/elixlsx/sheet.ex
coverflex-tech/elixlsx
ddc4284bd1ef24103487210709ca5b54cc54c78b
[ "MIT" ]
null
null
null
lib/elixlsx/sheet.ex
coverflex-tech/elixlsx
ddc4284bd1ef24103487210709ca5b54cc54c78b
[ "MIT" ]
null
null
null
lib/elixlsx/sheet.ex
coverflex-tech/elixlsx
ddc4284bd1ef24103487210709ca5b54cc54c78b
[ "MIT" ]
null
null
null
defmodule Elixlsx.Sheet do alias __MODULE__ alias Elixlsx.Sheet alias Elixlsx.Util @moduledoc ~S""" Describes a single sheet with a given name. The name can be up to 31 characters long. The rows property is a list, each corresponding to a row (from the top), of lists, each corresponding to a column ...
28.053812
92
0.604699
2d17286d6c304d8147b40116e5bd2ebfc5e65a1a
821
ex
Elixir
web/router.ex
michelada/dash
dce8e85c07b093c2cb8880290a461a7fc76d2e7d
[ "MIT" ]
10
2015-09-23T05:26:35.000Z
2020-10-09T16:59:11.000Z
web/router.ex
michelada/dash
dce8e85c07b093c2cb8880290a461a7fc76d2e7d
[ "MIT" ]
3
2015-09-23T05:29:42.000Z
2017-12-21T19:38:39.000Z
web/router.ex
michelada/dash
dce8e85c07b093c2cb8880290a461a7fc76d2e7d
[ "MIT" ]
2
2015-10-03T12:25:28.000Z
2015-10-15T04:45:22.000Z
defmodule Dash.Router do use Dash.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end pipeline :xml do plug :accepts, ["xml"...
20.02439
75
0.658952
2d1773370bfa868c46c92363688bf74ef0a5fcae
84,195
ex
Elixir
lib/elixir/lib/enum.ex
michaelkschmidt/elixir
805efd071d220b7431269b9716c5f7ce44ca36e8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
michaelkschmidt/elixir
805efd071d220b7431269b9716c5f7ce44ca36e8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
michaelkschmidt/elixir
805efd071d220b7431269b9716c5f7ce44ca36e8
[ "Apache-2.0" ]
null
null
null
defprotocol Enumerable do @moduledoc """ Enumerable protocol used by `Enum` and `Stream` modules. When you invoke a function in the `Enum` module, the first argument is usually a collection that must implement this protocol. For example, the expression: Enum.map([1, 2, 3], &(&1 * 2)) invokes `Enume...
27.496734
133
0.610036
2d1774f7ad2045da3b2dcb3025be5621f7d1a613
2,619
ex
Elixir
lib/bella/controller.ex
batteries-included/bella
479817bc6b516dc3b5c0a8dcdeca5696b1dd0273
[ "MIT" ]
null
null
null
lib/bella/controller.ex
batteries-included/bella
479817bc6b516dc3b5c0a8dcdeca5696b1dd0273
[ "MIT" ]
1
2021-08-25T04:42:14.000Z
2021-08-25T04:42:14.000Z
lib/bella/controller.ex
batteries-included/bella
479817bc6b516dc3b5c0a8dcdeca5696b1dd0273
[ "MIT" ]
null
null
null
defmodule Bella.Controller do @moduledoc """ `Bella.Controller` defines controller behaviours and generates boilerplate for generating Kubernetes manifests. > A custom controller is a controller that users can deploy and update on a running cluster, independently of the cluster’s own lifecycle. Custom controller...
35.391892
440
0.689194
2d177e0351b038eb82cb7e36f3bf978222db54b5
297
ex
Elixir
lib/iona/supervisor.ex
nikolauska/iona
a68a3de56f9a1ec7f46f17ae440706b2804ddf86
[ "Apache-2.0" ]
1
2019-11-03T09:48:34.000Z
2019-11-03T09:48:34.000Z
lib/iona/supervisor.ex
nikolauska/iona
a68a3de56f9a1ec7f46f17ae440706b2804ddf86
[ "Apache-2.0" ]
null
null
null
lib/iona/supervisor.ex
nikolauska/iona
a68a3de56f9a1ec7f46f17ae440706b2804ddf86
[ "Apache-2.0" ]
null
null
null
defmodule Iona.Supervisor do @moduledoc false def start_link() do Supervisor.start_link(__MODULE__, :ok, name: __MODULE__) end def init(:ok) do import Supervisor.Spec children = [ worker(Iona.Worker, []) ] supervise(children, strategy: :one_for_one) end end
17.470588
60
0.673401
2d1782b0d6333f4ae33a4034f1d9cfe6acb9441f
27,286
ex
Elixir
lib/phoenix_live_view.ex
aforward-oss/phoenix_live_view
90d240f5b33d4da2aef0a6a27f4fea400f73fb98
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
aforward-oss/phoenix_live_view
90d240f5b33d4da2aef0a6a27f4fea400f73fb98
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
aforward-oss/phoenix_live_view
90d240f5b33d4da2aef0a6a27f4fea400f73fb98
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView do @moduledoc """ LiveView provides rich, real-time user experiences with server-rendered HTML. LiveView programming model is declarative: instead of saying "once event X happens, change Y on the page", events in LiveView are regular messages which may cause changes to its stat...
35.808399
96
0.677344
2d1782f16281448da3c68d2a15d37262ab5a320f
11,537
ex
Elixir
lib/docusign/model/account_role_settings.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/account_role_settings.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/account_role_settings.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# 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 DocuSign.Model.AccountRoleSettings do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :allowAccountManagement, :allowAcc...
33.932353
96
0.703909
2d17bc3add04793769cd429cd634b5fb804c00f2
252
exs
Elixir
priv/repo/migrations/20200629210138_add_public_profile_boolean_to_people.exs
gustavoarmoa/changelog.com
e898a9979a237ae66962714821ed8633a4966f37
[ "MIT" ]
2,599
2016-10-25T15:02:53.000Z
2022-03-26T02:34:42.000Z
priv/repo/migrations/20200629210138_add_public_profile_boolean_to_people.exs
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
253
2016-10-25T20:29:24.000Z
2022-03-29T21:52:36.000Z
priv/repo/migrations/20200629210138_add_public_profile_boolean_to_people.exs
sdrees/changelog.com
955cdcf93d74991062f19a03e34c9f083ade1705
[ "MIT" ]
298
2016-10-25T15:18:31.000Z
2022-01-18T21:25:52.000Z
defmodule Changelog.Repo.Migrations.AddPublicProfileBooleanToPeople do use Ecto.Migration def change do alter table(:people) do add :public_profile, :boolean, default: true end create index(:people, [:public_profile]) end end
21
70
0.734127
2d17e4c5352f7721034d58dfd3a392dde88ecc4e
204
ex
Elixir
ch17/sequence/lib/sequence.ex
rafanoronha/prog_elixir_1_6
5ae2137da4ffdb6de1c9b164812ed6e43c0922d3
[ "MIT" ]
null
null
null
ch17/sequence/lib/sequence.ex
rafanoronha/prog_elixir_1_6
5ae2137da4ffdb6de1c9b164812ed6e43c0922d3
[ "MIT" ]
1
2020-02-26T14:55:23.000Z
2020-02-26T14:55:23.000Z
daniel/prog_elix/ch18/sequence/lib/sequence.ex
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
null
null
null
defmodule Sequence do @moduledoc """ Documentation for `Sequence`. """ @doc """ Hello world. ## Examples iex> Sequence.hello() :world """ def hello do :world end end
10.736842
31
0.563725
2d17f6779c3add5b24104e3a1ca9304d78d917db
930
ex
Elixir
lib/chirper/application.ex
ritavaz02/Produtos
b29ed74e428eb9391ccd12460d1dcb005d040400
[ "MIT" ]
2
2019-10-10T11:57:29.000Z
2019-12-17T18:04:10.000Z
lib/chirper/application.ex
ritavaz02/Produtos
b29ed74e428eb9391ccd12460d1dcb005d040400
[ "MIT" ]
86
2019-04-27T16:18:58.000Z
2021-05-28T23:13:36.000Z
lib/chirper/application.ex
ritavaz02/Produtos
b29ed74e428eb9391ccd12460d1dcb005d040400
[ "MIT" ]
1
2020-07-16T04:52:47.000Z
2020-07-16T04:52:47.000Z
defmodule Chirper.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 = [ # Start the Ecto repository Chirper.Repo, ...
29.0625
66
0.713978
2d17f933ca42ad38f9768e1bf8020113ccf49f11
149
ex
Elixir
anagrams-phx/web/models/word.ex
mcdickenson/anagrams
3132a98d5ac8b6175e134109386ce1d6a7270d94
[ "MIT" ]
null
null
null
anagrams-phx/web/models/word.ex
mcdickenson/anagrams
3132a98d5ac8b6175e134109386ce1d6a7270d94
[ "MIT" ]
null
null
null
anagrams-phx/web/models/word.ex
mcdickenson/anagrams
3132a98d5ac8b6175e134109386ce1d6a7270d94
[ "MIT" ]
null
null
null
defmodule Anagrams.Word do use Anagrams.Web, :model schema "words" do field :key, :string field :word, :string timestamps end end
14.9
26
0.671141
2d1812263971e5dc2604fd85071440678b4bec1f
180
exs
Elixir
priv/repo/migrations/20150815045058_add_auth_fields_to_user.exs
mfunaro/handiman-phoenix
5d94114f37561647096f1695e3f0a3a3d1c7ca34
[ "MIT", "Unlicense" ]
1
2015-08-15T02:40:27.000Z
2015-08-15T02:40:27.000Z
priv/repo/migrations/20150815045058_add_auth_fields_to_user.exs
mfunaro/handiman-phoenix
5d94114f37561647096f1695e3f0a3a3d1c7ca34
[ "MIT", "Unlicense" ]
1
2015-09-11T00:02:33.000Z
2015-09-11T03:24:21.000Z
priv/repo/migrations/20150815045058_add_auth_fields_to_user.exs
mfunaro/handiman-phoenix
5d94114f37561647096f1695e3f0a3a3d1c7ca34
[ "MIT", "Unlicense" ]
null
null
null
defmodule Handiman.Repo.Migrations.AddAuthFieldsToUser do use Ecto.Migration def change do alter table(:users) do add :encrypted_password, :string end end end
18
57
0.733333
2d181cbb4bd31b38f871bd9bf910f0f11de01815
1,108
ex
Elixir
lib/caspaxos/kv.ex
rozap/caspaxos
774665e6e131282b2f897829d3767005d189bad6
[ "MIT" ]
2
2018-03-15T06:59:31.000Z
2020-01-13T21:46:35.000Z
lib/caspaxos/kv.ex
rozap/caspaxos
774665e6e131282b2f897829d3767005d189bad6
[ "MIT" ]
null
null
null
lib/caspaxos/kv.ex
rozap/caspaxos
774665e6e131282b2f897829d3767005d189bad6
[ "MIT" ]
null
null
null
defmodule Caspaxos.KV do alias Caspaxos.{Proposer, Acceptor} require Logger defmodule Store do defstruct [:f] end def start(f) do Proposer.group_init() Acceptor.group_init() count = (2 * f) + 1 Proposer.start_link(0) Proposer.start_link(1) Proposer.start_link(2) Enum.eac...
19.103448
46
0.580325
2d181e9df4ba2bc2293bd68ab0f337aebc037c16
2,834
ex
Elixir
test/support/changeset_assertions.ex
ZURASTA/bonbon
231888326535a11aa7e7c4ed93e0a0ba01411d95
[ "BSD-2-Clause" ]
1
2017-06-15T11:20:27.000Z
2017-06-15T11:20:27.000Z
test/support/changeset_assertions.ex
ScrimpyCat/bonbon
231888326535a11aa7e7c4ed93e0a0ba01411d95
[ "BSD-2-Clause" ]
null
null
null
test/support/changeset_assertions.ex
ScrimpyCat/bonbon
231888326535a11aa7e7c4ed93e0a0ba01411d95
[ "BSD-2-Clause" ]
2
2017-07-25T10:16:19.000Z
2017-08-02T06:54:22.000Z
defmodule Bonbon.ChangesetAssertions do import ExUnit.Assertions @moduledoc """ Convenient chainable assertions for Ecto changesets. """ @doc """ Assert a change is valid. """ def assert_change(model, params \\ %{}, changeset_fun \\ :changeset) do changeset = apply(model.__s...
26.990476
77
0.624912
2d1823b3c945473bca2062a01692661e1631ba60
715
exs
Elixir
test/tirexs/index/settings/normalizer_test.exs
DataKrewTech/tirexs
8238da373f4547d27eea57a10826114e947aa66b
[ "Apache-2.0" ]
384
2015-03-09T05:03:42.000Z
2022-02-27T00:45:58.000Z
test/tirexs/index/settings/normalizer_test.exs
DataKrewTech/tirexs
8238da373f4547d27eea57a10826114e947aa66b
[ "Apache-2.0" ]
144
2015-03-06T11:19:49.000Z
2021-06-11T11:26:39.000Z
test/tirexs/index/settings/normalizer_test.exs
DataKrewTech/tirexs
8238da373f4547d27eea57a10826114e947aa66b
[ "Apache-2.0" ]
97
2015-03-21T13:58:38.000Z
2022-01-07T14:40:49.000Z
Code.require_file "../../../../test_helper.exs", __ENV__.file defmodule Tirexs.Index.Settings.NormalizerTest do use ExUnit.Case import Tirexs.Index.Settings test "settings w/ analysis" do index = [name: "bear_test"] settings do analysis do analyzer "msg_search_normalizer", [tokenizer: "...
31.086957
192
0.683916
2d184140ef72e48ae8d77493847137f779db7bfe
770
exs
Elixir
backend/priv/repo/migrations/20211110165401_create_appliance_model_part_numbers.exs
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/priv/repo/migrations/20211110165401_create_appliance_model_part_numbers.exs
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/priv/repo/migrations/20211110165401_create_appliance_model_part_numbers.exs
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
defmodule Edgehog.Repo.Migrations.CreateApplianceModelPartNumbers do use Ecto.Migration def change do create table(:appliance_model_part_numbers) do add :tenant_id, references(:tenants, column: :tenant_id, on_delete: :delete_all), null: false add :part_number, :string, null: false a...
33.478261
94
0.738961
2d1862c7ebd4bcfb0dae4c39b4cd34e743e24e1b
664
exs
Elixir
test/plug/conn/adapter_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
1,218
2017-07-14T15:13:32.000Z
2022-03-30T16:42:42.000Z
test/plug/conn/adapter_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
502
2017-07-19T15:36:44.000Z
2022-03-31T06:47:36.000Z
test/plug/conn/adapter_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
376
2017-07-17T15:47:55.000Z
2022-03-23T19:24:30.000Z
defmodule Plug.Conn.AdapterTest do use ExUnit.Case, async: true test "conn/5" do conn = Plug.Conn.Adapter.conn( {__MODULE__, :meta}, "POST", URI.parse("https://example.com/bar//baz?bat"), {127, 0, 0, 1}, [{"foo", "bar"}] ) assert conn.adapter == {__MODUL...
26.56
54
0.572289
2d187c684f17d81e593e997dc9710c84daacb2ba
1,699
exs
Elixir
test/builder/plugins/description_test.exs
getmorebrasil/maru
5f00679e5286974ed67c00c7696991cca5c8b895
[ "BSD-3-Clause" ]
2
2019-09-23T15:07:09.000Z
2019-11-07T15:07:28.000Z
test/builder/plugins/description_test.exs
getmorebrasil/maru
5f00679e5286974ed67c00c7696991cca5c8b895
[ "BSD-3-Clause" ]
null
null
null
test/builder/plugins/description_test.exs
getmorebrasil/maru
5f00679e5286974ed67c00c7696991cca5c8b895
[ "BSD-3-Clause" ]
null
null
null
defmodule Maru.Builder.DescriptionTest do use ExUnit.Case, async: true test "description" do defmodule DescTest do use Maru.Router desc "desc test" def d, do: @desc end assert %{summary: "desc test"} = DescTest.d() end test "description with block" do defmodule DescTestWit...
21.2375
74
0.480871
2d188ea8fbd9018c3573597380fffae14faff78d
502
exs
Elixir
spawn/working-with-multiple-processes-5.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
1
2019-02-17T11:54:17.000Z
2019-02-17T11:54:17.000Z
spawn/working-with-multiple-processes-5.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
spawn/working-with-multiple-processes-5.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
defmodule MultipleProcesses do import :timer, only: [sleep: 1] def sad_function(pid) do send pid, { :ok, "Hello from child"} # raise("fail") exit(:boom) end def run do # Process.flag(:trap_exit, true) spawn_monitor(MultipleProcesses, :sad_function, [self()]) sleep 500 receive d...
21.826087
61
0.635458
2d1895d01d97e1f53e515f3dddc2004d13af956f
2,212
exs
Elixir
test/absinthe_generator/type_test.exs
MikaAK/absinthe_generator
2025daeac092c5a2fa8030bcddf770fd3104cd0f
[ "MIT" ]
1
2022-02-28T14:58:08.000Z
2022-02-28T14:58:08.000Z
test/absinthe_generator/type_test.exs
MikaAK/absinthe_generator
2025daeac092c5a2fa8030bcddf770fd3104cd0f
[ "MIT" ]
null
null
null
test/absinthe_generator/type_test.exs
MikaAK/absinthe_generator
2025daeac092c5a2fa8030bcddf770fd3104cd0f
[ "MIT" ]
null
null
null
defmodule AbsintheGenerator.TypeTest do use ExUnit.Case, async: true @test_struct %AbsintheGenerator.Type{ app_name: "MyApp", type_name: "book", enums: [ %AbsintheGenerator.Type.EnumValue{ name: "author_region", values: ["NA1", "EUW1", "EUN1, as: :euw"] }, %AbsintheG...
24.853933
99
0.580018
2d18b4e9bd9bf48b8d37ffdab3842d64bdf71a23
180
ex
Elixir
code/math.ex
dangvanthanh/learning-elixir
14df3cf4a44b3ed3ea09ce3181ae93f0cb6827b3
[ "MIT" ]
null
null
null
code/math.ex
dangvanthanh/learning-elixir
14df3cf4a44b3ed3ea09ce3181ae93f0cb6827b3
[ "MIT" ]
null
null
null
code/math.ex
dangvanthanh/learning-elixir
14df3cf4a44b3ed3ea09ce3181ae93f0cb6827b3
[ "MIT" ]
null
null
null
defmodule Math do def sum(a, b) do a + b end def subtract(a, b) do a - b end def multiply(a, b) do a * b end def division(a, b) do a / b end end
10
23
0.516667
2d18b9bbc7b92c71fd560439617b0aa7ea06a1d1
194
exs
Elixir
test/test_helper.exs
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
14
2017-01-08T14:51:25.000Z
2022-03-14T09:23:17.000Z
test/test_helper.exs
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
654
2017-05-23T22:55:21.000Z
2022-03-30T09:02:25.000Z
test/test_helper.exs
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
4
2019-07-10T23:09:25.000Z
2020-02-09T12:14:00.000Z
{:ok, _} = Application.ensure_all_started(:faker_elixir_octopus) {:ok, _} = Application.ensure_all_started(:ex_machina) ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(AtomTweaks.Repo, :manual)
27.714286
64
0.778351
2d18fa2cc624efdb0cebded78ca64f05b2a95c89
2,087
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/disk_utilization.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/app_engine/lib/google_api/app_engine/v1/model/disk_utilization.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/app_engine/lib/google_api/app_engine/v1/model/disk_utilization.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.267857
108
0.725443
2d190a11513fd0ff4f996ed0e81d6d91564bb82b
258
ex
Elixir
lib/recaptcha/response.ex
homespotter/recaptcha
71cd746be987f6834c1a933f5d2f934350e55060
[ "MIT" ]
103
2016-09-26T15:36:58.000Z
2022-02-09T18:49:17.000Z
lib/recaptcha/response.ex
homespotter/recaptcha
71cd746be987f6834c1a933f5d2f934350e55060
[ "MIT" ]
65
2016-08-30T09:53:08.000Z
2022-01-31T16:53:41.000Z
lib/recaptcha/response.ex
homespotter/recaptcha
71cd746be987f6834c1a933f5d2f934350e55060
[ "MIT" ]
47
2016-10-06T22:50:53.000Z
2022-02-24T21:57:01.000Z
defmodule Recaptcha.Response do @moduledoc """ A struct representing the successful recaptcha response from the reCAPTCHA API. """ defstruct challenge_ts: "", hostname: "" @type t :: %__MODULE__{challenge_ts: String.t(), hostname: String.t()} end
28.666667
81
0.72093
2d1931462cfc6c3be47440754a15313dccf2408d
474
ex
Elixir
notebooks/modulo_4/parte_2/ecto_example/lib/ecto_example/movie_reviews/schemas/movie.ex
igorgbr/curso-alquimia-stone
c5e40b0efcb7eef282f0f13a421671580c2762c1
[ "MIT" ]
14
2021-11-19T00:22:09.000Z
2022-01-29T03:58:09.000Z
notebooks/modulo_4/parte_2/ecto_example/lib/ecto_example/movie_reviews/schemas/movie.ex
igorgbr/curso-alquimia-stone
c5e40b0efcb7eef282f0f13a421671580c2762c1
[ "MIT" ]
null
null
null
notebooks/modulo_4/parte_2/ecto_example/lib/ecto_example/movie_reviews/schemas/movie.ex
igorgbr/curso-alquimia-stone
c5e40b0efcb7eef282f0f13a421671580c2762c1
[ "MIT" ]
1
2022-03-01T00:49:50.000Z
2022-03-01T00:49:50.000Z
defmodule EctoExample.MovieReviews.Schemas.Movie do use Ecto.Schema alias EctoExample.MovieReviews.Schemas.Rating import Ecto.Changeset schema "movies" do field(:title, :string) field(:director, :string) field(:year, :integer) has_many(:ratings, Rating) timestamps() end def changes...
19.75
52
0.668776
2d1940fafdb8d86b1911bf7660a7ac42879102eb
2,494
ex
Elixir
lib/rdf/utils/resource_classifier.ex
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
lib/rdf/utils/resource_classifier.ex
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
lib/rdf/utils/resource_classifier.ex
rdf-elixir/rdf-ex
7d4280ec9a912ef6ee9fc96ecdfdf26647016d6a
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.Utils.ResourceClassifier do @moduledoc false alias RDF.Description import RDF.Utils.Bootstrapping @rdf_type rdf_iri("type") @doc """ Determines if the given resource is RDF property by """ def property?(resource, data) do with %Description{} = description <- RDF.Data.description(da...
30.790123
80
0.453488
2d195fa93c91bd77c1dfbd43a65c6b509cde5c30
1,945
exs
Elixir
test/type/literal_integer/order_test.exs
kianmeng/mavis
6ba154efdfadcce1aca92ac735dadb209380c25b
[ "MIT" ]
null
null
null
test/type/literal_integer/order_test.exs
kianmeng/mavis
6ba154efdfadcce1aca92ac735dadb209380c25b
[ "MIT" ]
null
null
null
test/type/literal_integer/order_test.exs
kianmeng/mavis
6ba154efdfadcce1aca92ac735dadb209380c25b
[ "MIT" ]
null
null
null
defmodule TypeTest.LiteralInteger.OrderTest do use ExUnit.Case, async: true @moduletag :compare import Type, only: [builtin: 1] use Type.Operators describe "a negative integer" do test "is bigger than bottom" do assert -47 > builtin(:none) end test "is bigger than smaller numbers, and s...
24.935897
72
0.613368
2d198d883b7ac3261cc16259447fe28e19e60d09
10,106
exs
Elixir
test/sidecar_test.exs
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
227
2018-09-05T15:33:23.000Z
2022-02-25T18:12:06.000Z
test/sidecar_test.exs
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
211
2018-09-05T21:42:41.000Z
2022-03-25T17:51:56.000Z
test/sidecar_test.exs
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
84
2018-09-05T04:26:26.000Z
2022-03-09T14:28:14.000Z
defmodule SidecarTest do use ExUnit.Case alias NewRelic.Transaction.Sidecar alias NewRelic.Harvest.Collector alias NewRelic.Harvest.TelemetrySdk setup do reset_agent_run = TestHelper.update(:nr_agent_run, trusted_account_key: "190") reset_config = TestHelper.update(:nr_config, license...
25.979434
98
0.632298
2d19959274cd97dce667fd476223a46a8bb475d8
288
exs
Elixir
config/test.exs
odarriba/distributed-elixir-example
ef3075d8d14ff3c0f3cd6c06145659129d80f6d1
[ "MIT" ]
11
2017-08-08T08:38:28.000Z
2019-09-16T09:20:06.000Z
config/test.exs
odarriba/distributed-elixir-example
ef3075d8d14ff3c0f3cd6c06145659129d80f6d1
[ "MIT" ]
null
null
null
config/test.exs
odarriba/distributed-elixir-example
ef3075d8d14ff3c0f3cd6c06145659129d80f6d1
[ "MIT" ]
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 :distributed_elixir, DistributedElixir.Web.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn
26.181818
59
0.753472
2d19c1bfed9f1fea03f4f79cbb7e4307be6afa2a
198
exs
Elixir
test/starer_web/controllers/page_controller_test.exs
girorme/starer
4e3840291da6a7d47c0b94aacb456794fbee091b
[ "MIT" ]
null
null
null
test/starer_web/controllers/page_controller_test.exs
girorme/starer
4e3840291da6a7d47c0b94aacb456794fbee091b
[ "MIT" ]
null
null
null
test/starer_web/controllers/page_controller_test.exs
girorme/starer
4e3840291da6a7d47c0b94aacb456794fbee091b
[ "MIT" ]
null
null
null
defmodule StarerWeb.PageControllerTest do use StarerWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22
60
0.676768
2d19c8665547221234a2c33137fc18f473c6fbc2
1,676
ex
Elixir
lib/oli_web/live/users/authors_table_model.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli_web/live/users/authors_table_model.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli_web/live/users/authors_table_model.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2021-10-30T05:58:19.000Z
2021-10-30T05:58:19.000Z
defmodule OliWeb.Users.AuthorsTableModel do use Surface.LiveComponent import OliWeb.Common.Utils alias OliWeb.Common.Table.{ColumnSpec, SortableTableModel} alias Oli.Accounts.SystemRole alias OliWeb.Router.Helpers, as: Routes def render(assigns) do ~F""" <div>nothing</div> """ end def ne...
23.605634
125
0.584129
2d19e9b8ea3c6456e8e081550a86979feb335958
4,563
ex
Elixir
lib/pow/ecto/schema/migration.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
1
2021-05-27T21:33:29.000Z
2021-05-27T21:33:29.000Z
lib/pow/ecto/schema/migration.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
null
null
null
lib/pow/ecto/schema/migration.ex
patrickbiermann/pow
ebc2ac7d6e15961dac4be38091ff75dae0d26554
[ "MIT" ]
1
2020-07-13T01:11:17.000Z
2020-07-13T01:11:17.000Z
defmodule Pow.Ecto.Schema.Migration do @moduledoc """ Generates schema migration content. ## Configuration options * `:repo` - the ecto repo to use. This value defaults to the derrived context base repo from the `context_base` argument in `gen/2`. * `:table` - the ecto table name, defaults to "us...
32.361702
262
0.627657
2d19eca791bcddc544c4e946512c160e3f3c9999
1,777
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/languages_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/languages_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/languages_list_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.54
157
0.737198