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
97d1f37cdc5b7459578384c7ff740d633e237045
1,652
ex
Elixir
clients/health_care/lib/google_api/health_care/v1/model/query_accessible_data_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/health_care/lib/google_api/health_care/v1/model/query_accessible_data_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/health_care/lib/google_api/health_care/v1/model/query_accessible_data_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.148936
176
0.751211
97d210883eee33aaa4c208e0e9c7c9b9e0afbaae
1,659
ex
Elixir
lib/blog_web/controllers/post_controller.ex
jhonisds/blog
e7265060abe978f48b2b9fc4d6115d314c84c813
[ "MIT" ]
null
null
null
lib/blog_web/controllers/post_controller.ex
jhonisds/blog
e7265060abe978f48b2b9fc4d6115d314c84c813
[ "MIT" ]
3
2021-01-01T18:21:41.000Z
2021-01-02T02:18:27.000Z
lib/blog_web/controllers/post_controller.ex
jhonisds/blog
e7265060abe978f48b2b9fc4d6115d314c84c813
[ "MIT" ]
null
null
null
defmodule BlogWeb.PostController do use BlogWeb, :controller alias Blog.{Posts, Posts.Post, Repo} def index(conn, _params) do posts = Posts.list_posts() render(conn, "index.html", posts: posts) end def show(conn, %{"id" => id}) do post = Repo.get!(Post, id) render(conn, "show.html", post: p...
25.136364
70
0.603376
97d24de59308cf868813e405d14de935580c2c09
2,237
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_keystore_set_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_keystore_set_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_keystore_set_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...
37.915254
139
0.712561
97d25e08dad391401a2eef50654c7e09ed2408eb
11,020
ex
Elixir
lib/kaffy/resource_admin.ex
sulphur/kaffy
72f07149f811925e247d119a0e7053d6a3e241a1
[ "MIT" ]
null
null
null
lib/kaffy/resource_admin.ex
sulphur/kaffy
72f07149f811925e247d119a0e7053d6a3e241a1
[ "MIT" ]
null
null
null
lib/kaffy/resource_admin.ex
sulphur/kaffy
72f07149f811925e247d119a0e7053d6a3e241a1
[ "MIT" ]
1
2021-06-23T14:54:26.000Z
2021-06-23T14:54:26.000Z
defmodule Kaffy.ResourceAdmin do alias Kaffy.ResourceSchema alias Kaffy.Utils @moduledoc """ ResourceAdmin modules should be created for every schema you want to customize/configure in Kaffy. If you have a schema like `MyApp.Products.Product`, you should create an admin module with name `MyApp.Products.Pr...
27.688442
126
0.655626
97d26e7bf2789aa6ba0e27da1d9495a2842a203b
104
ex
Elixir
lib/club/repo.ex
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
lib/club/repo.ex
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
34
2019-11-10T11:31:37.000Z
2019-11-27T21:26:48.000Z
lib/club/repo.ex
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
defmodule Club.ReadRepo do use Ecto.Repo, otp_app: :club, adapter: Ecto.Adapters.Postgres end
17.333333
35
0.721154
97d292d4098e186a97d0551cfb9d68341a3ff38e
30,517
ex
Elixir
clients/alert_center/lib/google_api/alert_center/v1beta1/api/alerts.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/alert_center/lib/google_api/alert_center/v1beta1/api/alerts.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/alert_center/lib/google_api/alert_center/v1beta1/api/alerts.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...
48.286392
196
0.632893
97d29f378f099e030a8058cc771b891f54ef8473
18,970
ex
Elixir
lib/commanded/process_managers/process_manager_instance.ex
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
1
2022-02-20T10:42:07.000Z
2022-02-20T10:42:07.000Z
lib/commanded/process_managers/process_manager_instance.ex
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
null
null
null
lib/commanded/process_managers/process_manager_instance.ex
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
null
null
null
defmodule Commanded.ProcessManagers.ProcessManagerInstance do @moduledoc false use GenServer, restart: :temporary require Logger alias Commanded.{Application, EventStore, Telemetry} alias Commanded.EventStore.{RecordedEvent, SnapshotData} alias Commanded.ProcessManagers.{FailureContext, ProcessRouter} ...
30.996732
100
0.656458
97d2a1a21a41d74297e9e40ab1610d576d12064f
739
exs
Elixir
config/test.exs
AdolfodelSel/Derivco
ad3090208dfc9e11415825f5ce1374ef3f8c2985
[ "MIT" ]
null
null
null
config/test.exs
AdolfodelSel/Derivco
ad3090208dfc9e11415825f5ce1374ef3f8c2985
[ "MIT" ]
2
2021-03-09T15:53:17.000Z
2021-05-10T09:50:18.000Z
config/test.exs
AdolfodelSel/Derivco
ad3090208dfc9e11415825f5ce1374ef3f8c2985
[ "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 :derivco, DerivcoWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :derivco, Derivco.Re...
25.482759
56
0.733424
97d2a92aeba630697c0576b52becd36e7c2c18a3
160
ex
Elixir
lib/mix/tasks/benchmark.ex
OnceApp/batch_elixir
eabd12abaef7b703c95a30641be27c1658c2a64f
[ "MIT" ]
3
2019-02-11T11:32:44.000Z
2019-03-01T15:58:46.000Z
lib/mix/tasks/benchmark.ex
OnceApp/batch_elixir
eabd12abaef7b703c95a30641be27c1658c2a64f
[ "MIT" ]
1
2019-02-05T17:20:15.000Z
2019-02-11T11:03:14.000Z
lib/mix/tasks/benchmark.ex
OnceApp/batch_elixir
eabd12abaef7b703c95a30641be27c1658c2a64f
[ "MIT" ]
1
2019-08-08T16:40:26.000Z
2019-08-08T16:40:26.000Z
defmodule Mix.Tasks.Benchmark do use Mix.Task @shortdoc "Simply runs the Hello.say/0 function" def run(param) do StressTest.CLI.main(param) end end
20
50
0.73125
97d2ce53cea93ac984d519c763121b34a7e48a2f
2,997
exs
Elixir
apps/heroes_server/test/game/hero_test.exs
miquecg/heroes-board-game
2e8745c7577060a7fc80ad1e4c38c2c507a8c488
[ "MIT" ]
2
2020-04-09T06:42:15.000Z
2022-03-03T15:52:38.000Z
apps/heroes_server/test/game/hero_test.exs
miquecg/heroes-board-game
2e8745c7577060a7fc80ad1e4c38c2c507a8c488
[ "MIT" ]
5
2020-04-28T16:05:46.000Z
2021-01-03T14:08:19.000Z
apps/heroes_server/test/game/hero_test.exs
miquecg/heroes-board-game
2e8745c7577060a7fc80ad1e4c38c2c507a8c488
[ "MIT" ]
null
null
null
defmodule Game.HeroTest do use ExUnit.Case, async: true alias Game.Hero @board_4x4 GameBoards.Test4x4 @board_4x4_w1 GameBoards.Test4x4w1 @board_4x4_w2 GameBoards.Test4x4w2 setup :create_hero describe "Hero can move" do test "up", %{hero: hero} do assert {1, 2} = control(hero, :up) end ...
23.785714
80
0.583917
97d3081177b51fa757b200a15af2b669220a341b
780
ex
Elixir
Microsoft.Azure.Management.Advisor/lib/microsoft/azure/management/advisor/model/operation_entity.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.Advisor/lib/microsoft/azure/management/advisor/model/operation_entity.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Advisor/lib/microsoft/azure/management/advisor/model/operation_entity.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.Advisor.Model.OperationEntity do @moduledoc """ The operation supported by Advisor. """ @derive [Poison.Encode...
26
111
0.728205
97d313d3189c8dd48cfd0309403cd5af83cbc9ad
2,334
ex
Elixir
lib/exconfig/cache.ex
iboard/exconf
cd43c094658c05f77c747ae6b17cbe1be01cf670
[ "MIT" ]
5
2019-04-28T10:56:36.000Z
2021-02-12T12:30:52.000Z
lib/exconfig/cache.ex
iboard/exconf
cd43c094658c05f77c747ae6b17cbe1be01cf670
[ "MIT" ]
1
2021-08-17T08:50:55.000Z
2021-08-17T08:51:33.000Z
lib/exconfig/cache.ex
iboard/exconfig
cd43c094658c05f77c747ae6b17cbe1be01cf670
[ "MIT" ]
null
null
null
defmodule Exconfig.Cache do @moduledoc """ PRIVATE MODULE -- Do not use this module directely but through `Exconfig` API only. The module implements a `GenServer` handling the state of the cache. """ use GenServer @doc """ Start link function used from `Exconfig.Application` to start a single ins...
23.816327
73
0.635818
97d32802919a42e4cf62d3deed8d5d05f71d8e0a
723
ex
Elixir
lib/ecto/uuid.ex
michaeljguarino/piazza_core
9cb24c59687db068cd16d2de94066dc85f871bc0
[ "MIT" ]
null
null
null
lib/ecto/uuid.ex
michaeljguarino/piazza_core
9cb24c59687db068cd16d2de94066dc85f871bc0
[ "MIT" ]
null
null
null
lib/ecto/uuid.ex
michaeljguarino/piazza_core
9cb24c59687db068cd16d2de94066dc85f871bc0
[ "MIT" ]
null
null
null
defmodule Piazza.Ecto.UUID do def generate_monotonic() do :os.system_time(:millisecond) |> generate_monotonic() end def generate_monotonic(timestamp) do random = :crypto.strong_rand_bytes(10) <<u0::48, _::4, u1::12, _::2, u2::62>> = <<timestamp::48, random::binary>> {:ok, res} = Ecto.UUID.loa...
27.807692
78
0.590595
97d360b177b1a36ac38bf16460b16940e93cef34
420
ex
Elixir
web/views/error_helpers.ex
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
342
2017-01-10T16:13:45.000Z
2022-02-26T13:55:38.000Z
web/views/error_helpers.ex
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
6
2017-01-14T17:59:48.000Z
2018-03-25T21:35:50.000Z
web/views/error_helpers.ex
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
38
2017-01-11T00:18:21.000Z
2021-07-11T11:28:12.000Z
defmodule Microscope.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do if count = opts[:count] do Gettext.dngettext(Microscope.Gettext, "errors", msg, msg, coun...
24.705882
76
0.685714
97d3643145ca17c893d730d6c9e64336fcfe1b96
2,433
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/ssl_certs_insert_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/ssl_certs_insert_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/ssl_certs_insert_response.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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.446429
258
0.73695
97d3cc6f8dbc08b27765c6adf196b6a4e86f0cd7
440
ex
Elixir
lib/mango/administration/user.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
121
2017-06-24T10:33:38.000Z
2022-03-17T16:02:16.000Z
lib/mango/administration/user.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
6
2017-06-24T22:48:21.000Z
2018-03-17T01:20:32.000Z
lib/mango/administration/user.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
29
2017-07-03T04:09:15.000Z
2022-03-02T15:45:49.000Z
defmodule Mango.Administration.User do use Ecto.Schema import Ecto.Changeset alias Mango.Administration.User schema "users" do field :email, :string field :name, :string field :phone, :string timestamps() end @doc false def changeset(%User{} = user, attrs) do user |> cast(attrs...
19.130435
49
0.654545
97d3ceb7788ff97ddecf95849f8488d2f8b421bd
1,510
ex
Elixir
lib/wabanex_web/endpoint.ex
GabrielBeltrame/wabanex
1b75c690880eb8f474637e0db788e5576c6818fc
[ "MIT" ]
null
null
null
lib/wabanex_web/endpoint.ex
GabrielBeltrame/wabanex
1b75c690880eb8f474637e0db788e5576c6818fc
[ "MIT" ]
null
null
null
lib/wabanex_web/endpoint.ex
GabrielBeltrame/wabanex
1b75c690880eb8f474637e0db788e5576c6818fc
[ "MIT" ]
null
null
null
defmodule WabanexWeb.Endpoint do use Phoenix.Endpoint, otp_app: :wabanex # 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: "_wabanex_k...
28.490566
97
0.713907
97d3fcbbcf6258ec4a1cd1925618e165af97ce1d
1,168
ex
Elixir
backend/lib/edgehog/os_management/uploaders/ephemeral_image.ex
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
14
2021-12-02T16:31:16.000Z
2022-03-18T17:40:44.000Z
backend/lib/edgehog/os_management/uploaders/ephemeral_image.ex
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
77
2021-11-03T15:14:41.000Z
2022-03-30T14:13:32.000Z
backend/lib/edgehog/os_management/uploaders/ephemeral_image.ex
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
7
2021-11-03T10:58:37.000Z
2022-02-28T14:00:03.000Z
# # This file is part of Edgehog. # # Copyright 2022 SECO Mind Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
29.2
100
0.748288
97d3fe16180180ef8abcb5c78221ee88cd1d2146
3,797
ex
Elixir
lib/astarte_vmq_plugin/amqp_client.ex
Annopaolo/astarte_vmq_plugin
d34d65a8c0803a4bd1877cd2181133f71b9ca0e1
[ "Apache-2.0" ]
12
2018-02-01T12:40:29.000Z
2019-11-05T07:23:26.000Z
lib/astarte_vmq_plugin/amqp_client.ex
Annopaolo/astarte_vmq_plugin
d34d65a8c0803a4bd1877cd2181133f71b9ca0e1
[ "Apache-2.0" ]
45
2019-11-12T14:31:58.000Z
2022-03-30T10:29:35.000Z
lib/astarte_vmq_plugin/amqp_client.ex
Annopaolo/astarte_vmq_plugin
d34d65a8c0803a4bd1877cd2181133f71b9ca0e1
[ "Apache-2.0" ]
7
2019-04-11T09:19:40.000Z
2021-12-28T00:10:00.000Z
# # This file is part of Astarte. # # Copyright 2017-2018 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
27.715328
90
0.673163
97d433b085a2420c3a2fea7eb39f35c4f4c5f6c2
2,495
exs
Elixir
test/text_based_fps/player_commands/reload_test.exs
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
1
2022-03-02T12:18:07.000Z
2022-03-02T12:18:07.000Z
test/text_based_fps/player_commands/reload_test.exs
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
12
2021-05-31T21:41:09.000Z
2021-07-30T03:18:09.000Z
test/text_based_fps/player_commands/reload_test.exs
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
null
null
null
defmodule TextBasedFPS.PlayerCommands.ReloadTest do use ExUnit.Case, async: true import TextBasedFPS.RoomPlayer, only: [max_loaded_ammo: 0] alias TextBasedFPS.{CommandExecutor, Room, ServerState} setup do state = ServerState.new() |> ServerState.add_player("foo") %{state: state} end test "requir...
33.266667
88
0.635671
97d44049cdb5a6fce836bb4c64a91bf4b67aabd1
1,417
ex
Elixir
lib/example_variable_part.ex
eagle-te/element-parsers
c5fdec8c859f510bc7c416d7150f46c3a9f8bd7e
[ "MIT" ]
null
null
null
lib/example_variable_part.ex
eagle-te/element-parsers
c5fdec8c859f510bc7c416d7150f46c3a9f8bd7e
[ "MIT" ]
null
null
null
lib/example_variable_part.ex
eagle-te/element-parsers
c5fdec8c859f510bc7c416d7150f46c3a9f8bd7e
[ "MIT" ]
null
null
null
defmodule Parser do use Platform.Parsing.Behaviour # Example parser for variable length of payload # # Problem is a variable length of bytes in the middle of the payload that should be skipped. # # Changelog: # 2018-06-07 [jb]: Initial version for demonstrating purposes. # # Match for the first kn...
30.148936
102
0.632322
97d48bfda706de4517fb6be0fa2b2ee71265f43e
635
exs
Elixir
capitulo-11/app/mix.exs
mdcg/elixir_do_zero_a_concorrencia
769bfa810f3d4359a969dadd3dc1bca8619ef940
[ "MIT" ]
null
null
null
capitulo-11/app/mix.exs
mdcg/elixir_do_zero_a_concorrencia
769bfa810f3d4359a969dadd3dc1bca8619ef940
[ "MIT" ]
null
null
null
capitulo-11/app/mix.exs
mdcg/elixir_do_zero_a_concorrencia
769bfa810f3d4359a969dadd3dc1bca8619ef940
[ "MIT" ]
null
null
null
defmodule App.MixProject do use Mix.Project def project do [ app: :app, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applicatio...
20.483871
87
0.551181
97d4aa4a160da5c2c7968c689a1aa5da3e61b89d
8,241
ex
Elixir
lib/elixir/lib/set.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/set.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/set.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
defmodule Set do @moduledoc ~S""" This module specifies the Set API expected to be implemented by different representations. It also provides functions that redirect to the underlying Set, allowing a developer to work with different Set implementations using one API. To create a new set, use the `new` f...
24.454006
106
0.614003
97d4d98a9948e8ec751bb321ab37604ca9ca3f98
540
ex
Elixir
lib/elasticlunr/dsl/query/match_all_query.ex
merchant-ly/ex_elasticlunr
b7d12f3e567f1ecad1bfb402a062edd4d58ef9fd
[ "MIT" ]
129
2021-11-15T23:22:06.000Z
2022-03-20T03:03:27.000Z
lib/elasticlunr/dsl/query/match_all_query.ex
merchant-ly/ex_elasticlunr
b7d12f3e567f1ecad1bfb402a062edd4d58ef9fd
[ "MIT" ]
9
2021-11-06T16:22:30.000Z
2022-03-28T11:58:08.000Z
lib/elasticlunr/dsl/query/match_all_query.ex
merchant-ly/ex_elasticlunr
b7d12f3e567f1ecad1bfb402a062edd4d58ef9fd
[ "MIT" ]
5
2022-01-05T16:44:21.000Z
2022-03-24T11:55:49.000Z
defmodule Elasticlunr.Dsl.MatchAllQuery do use Elasticlunr.Dsl.Query alias Elasticlunr.Index defstruct ~w[boost]a @type t :: %__MODULE__{boost: integer()} def new(boost \\ 1), do: struct!(__MODULE__, boost: boost) @impl true def parse(options, _query_options, _repo) do options |> Map.get("boos...
21.6
69
0.661111
97d4e506c87a3ad259ebbf061eaa0e9da23ace33
1,395
exs
Elixir
test/integration/sessions_integration_test.exs
debonair/mogo-chat
108c611177363a04d278221aabc03dcd2b66597c
[ "MIT" ]
210
2015-01-01T04:17:56.000Z
2022-02-26T23:54:56.000Z
test/integration/sessions_integration_test.exs
debonair/mogo-chat
108c611177363a04d278221aabc03dcd2b66597c
[ "MIT" ]
1
2015-05-08T21:44:36.000Z
2015-05-08T21:44:36.000Z
test/integration/sessions_integration_test.exs
debonair/mogo-chat
108c611177363a04d278221aabc03dcd2b66597c
[ "MIT" ]
40
2015-01-06T08:48:40.000Z
2020-05-26T18:03:07.000Z
defmodule SessionIntegrationTest do use MogoChat.TestCase use Hound.Helpers import TestUtils hound_session truncate_db_after_test test_helpers test "should redirect to login if I visit a page without logging in" do navigate_to app_path() wait_until({:name, "login"}) assert Regex.match?(%r/(l...
24.473684
77
0.68172
97d5168814bb76500b880adacfa60cdcd36ba141
1,663
ex
Elixir
ex/apps/reef/lib/reef.ex
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
ex/apps/reef/lib/reef.ex
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
ex/apps/reef/lib/reef.ex
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
defmodule Reef do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use Reef, :controller use Reef, :view The definitions below will be executed for every view, controller, etc, so keep them ...
21.881579
76
0.675887
97d51fedfbca6e288c9597b439b7786177d665a7
17,124
exs
Elixir
apps/man_api/priv/repo/migrations/20180420145025_set_new_printout_form8.exs
edenlabllc/man.api.public
010016c5ecc209413a56ee1f8e9e6fa31da8de18
[ "MIT" ]
null
null
null
apps/man_api/priv/repo/migrations/20180420145025_set_new_printout_form8.exs
edenlabllc/man.api.public
010016c5ecc209413a56ee1f8e9e6fa31da8de18
[ "MIT" ]
null
null
null
apps/man_api/priv/repo/migrations/20180420145025_set_new_printout_form8.exs
edenlabllc/man.api.public
010016c5ecc209413a56ee1f8e9e6fa31da8de18
[ "MIT" ]
null
null
null
defmodule Man.Repo.Migrations.SetNewPrintoutForm8 do @moduledoc false use Ecto.Migration def change do execute(""" UPDATE templates SET body = '<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <style>*{margin:0;padding:0;box-sizing:border-box}body{width:1074px;ma...
1,427
16,977
0.726232
97d5245c157d3b69b56d31b00ab7b4a4f808c701
1,104
ex
Elixir
lib/my_phoenix_api_template_web/channels/user_socket.ex
HandOfGod94/my_phoenix_api_template
448db20ba47872f37097754aec454aed440246b8
[ "MIT" ]
null
null
null
lib/my_phoenix_api_template_web/channels/user_socket.ex
HandOfGod94/my_phoenix_api_template
448db20ba47872f37097754aec454aed440246b8
[ "MIT" ]
null
null
null
lib/my_phoenix_api_template_web/channels/user_socket.ex
HandOfGod94/my_phoenix_api_template
448db20ba47872f37097754aec454aed440246b8
[ "MIT" ]
null
null
null
defmodule MyPhoenixApiTemplateWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", MyPhoenixApiTemplateWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that ...
32.470588
95
0.707428
97d526f65908cb71c6d14d6d13f9faf67967bd00
912
exs
Elixir
test/parsers/feedburner_rss2_test.exs
kianmeng/elixir-feed-parser
83302ea749d0de9bee3803a639663046e43dc8bd
[ "MIT" ]
null
null
null
test/parsers/feedburner_rss2_test.exs
kianmeng/elixir-feed-parser
83302ea749d0de9bee3803a639663046e43dc8bd
[ "MIT" ]
null
null
null
test/parsers/feedburner_rss2_test.exs
kianmeng/elixir-feed-parser
83302ea749d0de9bee3803a639663046e43dc8bd
[ "MIT" ]
null
null
null
defmodule ElixirFeedParser.Test.FeedburnerRSS2Test do use ExUnit.Case alias ElixirFeedParser.XmlNode alias ElixirFeedParser.Parsers.FeedburnerRSS2 setup do example1_file = File.read!("test/fixtures/rss2/TechCrunch.xml") example1 = with {:ok, xml} <- XmlNode.parse_string(example1_file), do: Feed...
26.057143
91
0.654605
97d546b034241d5375b3a6be5759200dc3c87a71
7,895
ex
Elixir
apps/roll35_bot/lib/roll35_bot/commands/magic_item.ex
Ferroin/Roll35
f9cda65b33105638884acd33d950d54e38c5d9fd
[ "MITNFA" ]
1
2021-08-07T09:43:28.000Z
2021-08-07T09:43:28.000Z
apps/roll35_bot/lib/roll35_bot/commands/magic_item.ex
Ferroin/Roll35
f9cda65b33105638884acd33d950d54e38c5d9fd
[ "MITNFA" ]
24
2020-11-24T19:18:46.000Z
2022-02-28T08:03:36.000Z
apps/roll35_bot/lib/roll35_bot/commands/magic_item.ex
Ferroin/Roll35
f9cda65b33105638884acd33d950d54e38c5d9fd
[ "MITNFA" ]
null
null
null
defmodule Roll35Bot.Commands.MagicItem do @moduledoc """ Command to roll rando magic items. """ use Roll35Bot.Command use Alchemy.Cogs alias Roll35Bot.Renderer alias Roll35Core.Data.Armor alias Roll35Core.Data.Spell alias Roll35Core.Data.Weapon alias Roll35Core.MagicItem alias Roll35Core.Types ...
28.813869
211
0.552502
97d54c0085b4326da93a71c4374e283d919f8165
3,354
ex
Elixir
lib/logstash_json_tcp.ex
ne1ro/logstash-json
32bab1bc37230310f24ec3067c34c16013903e57
[ "MIT" ]
null
null
null
lib/logstash_json_tcp.ex
ne1ro/logstash-json
32bab1bc37230310f24ec3067c34c16013903e57
[ "MIT" ]
null
null
null
lib/logstash_json_tcp.ex
ne1ro/logstash-json
32bab1bc37230310f24ec3067c34c16013903e57
[ "MIT" ]
null
null
null
defmodule LogstashJson.TCP do @moduledoc """ Logger backend which sends logs to logstash via TCP in JSON format. """ @behaviour :gen_event import Supervisor.Spec alias LogstashJson.TCP @doc false def init({__MODULE__, name}) do if user = Process.whereis(:user) do Process.group_leader(self()...
27.719008
91
0.626714
97d55c9bb7bbc616c32582a57d90a61bc59e15bc
7,577
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_entry.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_entry.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_entry.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...
73.563107
666
0.760459
97d5da1f8f2a9a2557449332ae17a43c099c4f17
10,041
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/api/v1.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/api/v1.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/api/v1.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...
45.434389
196
0.640175
97d6222b6dc97c1aabdfad0435dc511fcf0da8ba
349
ex
Elixir
lib/cineplex/distribution/node/distribute.ex
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
lib/cineplex/distribution/node/distribute.ex
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
lib/cineplex/distribution/node/distribute.ex
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
defmodule Cineplex.Distribution.Node.Distribute do alias Cineplex.{ Distribution, Worker } @spec perform(Distribution.Node.t()) :: Task.t() def perform({%Distribution.Node{name: name} = _worker, job_entry}) do {Cineplex.TaskSupervisor, String.to_atom(name)} |> Task.Supervisor.async(Worker, :per...
26.846154
71
0.707736
97d65a57fd3ce84942e76ba45fb6a17bfa80427b
589
ex
Elixir
lib/nervesjp_basis/button_server.ex
trihome/nervesjp_basis
1e8f6567c2f3a5669d761226bf665a0ae4c94744
[ "MIT" ]
4
2020-11-28T18:12:40.000Z
2020-12-26T15:25:28.000Z
lib/nervesjp_basis/button_server.ex
trihome/nervesjp_basis
1e8f6567c2f3a5669d761226bf665a0ae4c94744
[ "MIT" ]
7
2020-11-30T03:49:56.000Z
2021-02-19T09:12:02.000Z
lib/nervesjp_basis/button_server.ex
trihome/nervesjp_basis
1e8f6567c2f3a5669d761226bf665a0ae4c94744
[ "MIT" ]
5
2020-11-29T03:59:19.000Z
2020-12-26T15:24:18.000Z
defmodule NervesjpBasis.ButtonServer do use GenServer require Logger alias Circuits.GPIO @button 5 @led 16 def start_link(_) do GenServer.start_link(__MODULE__, []) end def init(_) do {:ok, button} = GPIO.open(@button, :input, pull_mode: :pullup) GPIO.set_interrupts(button, :both) ...
18.40625
73
0.65365
97d69560b52f191e7c984a05ad5361b368e2a428
3,132
exs
Elixir
test/acceptance/ast/ial_test.exs
ream88/earmark_parser
665b6759bbc0dcf45fb6db362bd4cc7d7194b841
[ "Apache-2.0" ]
null
null
null
test/acceptance/ast/ial_test.exs
ream88/earmark_parser
665b6759bbc0dcf45fb6db362bd4cc7d7194b841
[ "Apache-2.0" ]
null
null
null
test/acceptance/ast/ial_test.exs
ream88/earmark_parser
665b6759bbc0dcf45fb6db362bd4cc7d7194b841
[ "Apache-2.0" ]
null
null
null
defmodule Acceptance.Ast.IalTest do use ExUnit.Case, async: true import Support.Helpers, only: [as_ast: 1, parse_html: 1] import EarmarkAstDsl describe "IAL no errors" do test "link with simple ial" do markdown = "[link](url){: .classy}" html = "<p><a class=\"classy\" href=\"url\">link</a></p>\...
30.115385
115
0.561622
97d6ebb8ad8eb2ae72c737e1cc95f9c5b935b11a
1,655
ex
Elixir
lib/docker_phx_web.ex
beltranaceves/docker_phx
06a9cba602ccd4f054568b7a40ca36bedc9a3e27
[ "MIT" ]
null
null
null
lib/docker_phx_web.ex
beltranaceves/docker_phx
06a9cba602ccd4f054568b7a40ca36bedc9a3e27
[ "MIT" ]
null
null
null
lib/docker_phx_web.ex
beltranaceves/docker_phx
06a9cba602ccd4f054568b7a40ca36bedc9a3e27
[ "MIT" ]
null
null
null
defmodule DockerPhxWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use DockerPhxWeb, :controller use DockerPhxWeb, :view The definitions below will be executed for every view, contro...
23.642857
83
0.693656
97d6f6ca96644f4d5e77e156ec3092d86f42cf08
807
ex
Elixir
apps/rayyan_site/lib/rayyan_site_web/views/error_helpers.ex
boqolo/boqolo
ba9a2ebcf379f5056b3836756179b49163f91d72
[ "BSD-3-Clause" ]
null
null
null
apps/rayyan_site/lib/rayyan_site_web/views/error_helpers.ex
boqolo/boqolo
ba9a2ebcf379f5056b3836756179b49163f91d72
[ "BSD-3-Clause" ]
null
null
null
apps/rayyan_site/lib/rayyan_site_web/views/error_helpers.ex
boqolo/boqolo
ba9a2ebcf379f5056b3836756179b49163f91d72
[ "BSD-3-Clause" ]
null
null
null
defmodule RayyanSiteWeb.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_t...
26.032258
69
0.664188
97d71fccf7d425ac0338911b67267c7b62178664
520
ex
Elixir
lib/calculator/operations/services/list_operations_service.ex
kadmohardy/calculator
671e0d6c6c8d7ef7fba75b7f47a76aaeb29eaf7e
[ "MIT" ]
null
null
null
lib/calculator/operations/services/list_operations_service.ex
kadmohardy/calculator
671e0d6c6c8d7ef7fba75b7f47a76aaeb29eaf7e
[ "MIT" ]
null
null
null
lib/calculator/operations/services/list_operations_service.ex
kadmohardy/calculator
671e0d6c6c8d7ef7fba75b7f47a76aaeb29eaf7e
[ "MIT" ]
null
null
null
defmodule Calculator.Operations.Services.ListOperationsService do @moduledoc false alias Calculator.Operations.Repositories.OperationRepository alias Calculator.Shared.Cache.Ets.Implementations.OperationsCache @key "operations-list" def execute do OperationsCache.get(@key) |> case do {:ok, ope...
24.761905
67
0.711538
97d7396e1cdfd43f1903cbe1325adaed9fab6ba4
2,061
ex
Elixir
lib/teslamate/application.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
2,602
2019-07-24T23:19:12.000Z
2022-03-31T15:03:48.000Z
lib/teslamate/application.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
1,547
2019-07-26T22:02:09.000Z
2022-03-31T15:39:41.000Z
lib/teslamate/application.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
524
2019-07-26T17:31:33.000Z
2022-03-29T15:16:36.000Z
defmodule TeslaMate.Application do use Application require Logger def start(_type, _args) do Logger.info("System Info: #{system_info()}") Logger.info("Version: #{Application.spec(:teslamate, :vsn) || "???"}") # Disable log entries :ok = :telemetry.detach({Phoenix.Logger, [:phoenix, :socket_conn...
26.766234
89
0.62688
97d741c4ea85916e6f6d642715e487c00ecdbd80
2,248
exs
Elixir
config/prod.exs
sorentwo/changelog.com
58e02a9fc0a84a1e49c99e775c231cc266f34309
[ "MIT" ]
null
null
null
config/prod.exs
sorentwo/changelog.com
58e02a9fc0a84a1e49c99e775c231cc266f34309
[ "MIT" ]
null
null
null
config/prod.exs
sorentwo/changelog.com
58e02a9fc0a84a1e49c99e775c231cc266f34309
[ "MIT" ]
null
null
null
use Mix.Config config :changelog, ChangelogWeb.Endpoint, http: [port: System.get_env("HTTP_PORT", "4000")], url: [ scheme: System.get_env("URL_SCHEME", "https"), host: System.get_env("URL_HOST", "changelog.com"), port: System.get_env("URL_PORT", "443") ], static_url: [ scheme: System.get_env("S...
30.794521
77
0.697509
97d79b95e27b1bc787de7c00b5925e8fdb8cbeea
114
exs
Elixir
config/config.exs
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
178
2018-04-08T17:11:56.000Z
2022-03-25T15:36:41.000Z
config/config.exs
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
21
2018-04-30T21:33:59.000Z
2019-09-03T17:25:26.000Z
config/config.exs
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
25
2018-04-21T19:41:03.000Z
2021-07-24T22:40:40.000Z
import Config # config :tesla, Coxir.API, adapter: Tesla.Mock config :porcelain, driver: Porcelain.Driver.Basic
19
49
0.77193
97d79d78b25d24f5fbafb846cf0af40e56256ad9
57
ex
Elixir
lib/flix_web/views/layout_view.ex
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
3
2021-03-21T23:52:16.000Z
2021-06-02T03:47:00.000Z
lib/flix_web/views/layout_view.ex
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
44
2021-04-09T04:04:13.000Z
2022-03-29T06:29:37.000Z
lib/flix_web/views/layout_view.ex
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
null
null
null
defmodule FlixWeb.LayoutView do use FlixWeb, :view end
14.25
31
0.789474
97d79fcd4c4d1b68456fa26d95b459dfffc7fd08
2,011
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/environment_assigned_targeting_option_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/environment_assigned_targeting_option_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/environment_assigned_targeting_option_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.516667
105
0.7454
97d7d2e150ae2f3afc86b4b5c6a699942aa194cf
2,958
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta2_document_translation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta2_document_translation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta2_document_translation.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...
40.520548
381
0.74307
97d7f318e67fc68190d3ea6b02b536845382fbd6
17,195
ex
Elixir
lib/oauth2/client.ex
flexibility-org/oauth2
0e05de4441706631017ee05e93fe01ec75e0dea2
[ "MIT" ]
null
null
null
lib/oauth2/client.ex
flexibility-org/oauth2
0e05de4441706631017ee05e93fe01ec75e0dea2
[ "MIT" ]
null
null
null
lib/oauth2/client.ex
flexibility-org/oauth2
0e05de4441706631017ee05e93fe01ec75e0dea2
[ "MIT" ]
null
null
null
defmodule OAuth2.Client do @moduledoc ~S""" This module defines the `OAuth2.Client` struct and is responsible for building and establishing a request for an access token. ### Notes * If a full url is given (e.g. "http://www.example.com/api/resource") then it will use that otherwise you can specify an endp...
34.807692
97
0.625763
97d80fb8a6f541ce9da5469995ec780a08ba3e77
1,998
ex
Elixir
clients/logging/lib/google_api/logging/v2/model/linear.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/logging/lib/google_api/logging/v2/model/linear.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/model/linear.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 ...
37.698113
384
0.702202
97d815ffd627fece1290fda44a079dbc4f1ecbcc
695
ex
Elixir
gallows/lib/gallows_web/views/helpers/game_state_helper.ex
CraigTreptow/elixir-for-programmers
b2a96f12b1dd8621d337e7d15c504f12b079cd3e
[ "MIT" ]
1
2018-10-17T15:13:34.000Z
2018-10-17T15:13:34.000Z
gallows/lib/gallows_web/views/helpers/game_state_helper.ex
CraigTreptow/elixir-for-programmers
b2a96f12b1dd8621d337e7d15c504f12b079cd3e
[ "MIT" ]
null
null
null
gallows/lib/gallows_web/views/helpers/game_state_helper.ex
CraigTreptow/elixir-for-programmers
b2a96f12b1dd8621d337e7d15c504f12b079cd3e
[ "MIT" ]
null
null
null
defmodule GallowsWeb.Helpers.Views.GameStateHelper do import Phoenix.HTML, only: [ raw: 1 ] @responses %{ :won => { :success, "You won!" }, :lost => { :danger, "You lost." }, :good_guess => { :success, "Good guess!" }, :bad...
24.821429
65
0.47482
97d859a7effc606109bdbabdaeeaf15fca54f04d
2,968
exs
Elixir
test/models/bot_test.exs
elitau/page_change_notifier
55c02ef0a464040d98cf416c131e39e7a09df975
[ "MIT" ]
null
null
null
test/models/bot_test.exs
elitau/page_change_notifier
55c02ef0a464040d98cf416c131e39e7a09df975
[ "MIT" ]
null
null
null
test/models/bot_test.exs
elitau/page_change_notifier
55c02ef0a464040d98cf416c131e39e7a09df975
[ "MIT" ]
null
null
null
defmodule PageChangeNotifier.BotTest do use PageChangeNotifier.DataCase alias PageChangeNotifier.{Bot, User, SearchAgent} @immoscout_url "https://www.immobilienscout24.de/Suche/S-T/Wohnung-Miete/Nordrhein-Westfalen/Koeln/Ehrenfeld/-/-/EURO--500,00" @message %{"chat" => %{"id" => 23}, "text" => "/add " <> @immo...
31.242105
128
0.653976
97d85b94934c89f8ef7406d0f7d83c817c1c4c5d
98
exs
Elixir
test/test_helper.exs
aai/kerosene
cd960cb7ce4cf4c4a9212f570083639ff4cd2b40
[ "MIT" ]
238
2016-03-10T05:22:45.000Z
2022-02-05T11:55:00.000Z
test/test_helper.exs
aai/kerosene
cd960cb7ce4cf4c4a9212f570083639ff4cd2b40
[ "MIT" ]
53
2016-06-26T16:20:47.000Z
2021-12-23T12:41:30.000Z
test/test_helper.exs
aai/kerosene
cd960cb7ce4cf4c4a9212f570083639ff4cd2b40
[ "MIT" ]
47
2016-03-23T09:13:25.000Z
2021-12-10T05:55:26.000Z
Kerosene.Repo.start_link() ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Kerosene.Repo, :manual)
19.6
54
0.785714
97d860e32914a10a33e2baa788b09db0bc126919
1,031
ex
Elixir
test/support/conn_case.ex
bredikhin/phoenix-postgresql-notify-listen-example
1b6be1963a9da90e166f7b345850fbfd95d17498
[ "MIT" ]
18
2017-07-27T10:13:46.000Z
2021-09-03T22:28:28.000Z
test/support/conn_case.ex
bredikhin/phoenix-postgresql-notify-listen-example
1b6be1963a9da90e166f7b345850fbfd95d17498
[ "MIT" ]
1
2021-04-27T10:15:22.000Z
2021-04-27T10:15:22.000Z
test/support/conn_case.ex
bredikhin/phoenix-postgresql-notify-listen-example
1b6be1963a9da90e166f7b345850fbfd95d17498
[ "MIT" ]
3
2020-08-30T09:05:35.000Z
2022-01-24T09:06:15.000Z
defmodule Pgsub.Web.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the ...
26.435897
67
0.71484
97d874d64d44eb56715a6ea000478d21dc03732d
135
ex
Elixir
lib/star_web/controllers/page_controller.ex
ModinfinityLLC/star
6d56cea1c08f88b73984f7ad1197e4337139995f
[ "MIT" ]
2
2019-05-27T22:56:48.000Z
2019-06-17T14:42:53.000Z
lib/star_web/controllers/page_controller.ex
ModinfinityLLC/star
6d56cea1c08f88b73984f7ad1197e4337139995f
[ "MIT" ]
3
2020-07-17T03:13:04.000Z
2021-05-08T22:56:26.000Z
lib/star_web/controllers/page_controller.ex
ModinfinityLLC/star
6d56cea1c08f88b73984f7ad1197e4337139995f
[ "MIT" ]
null
null
null
defmodule StarWeb.PageController do use StarWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
16.875
35
0.725926
97d885145d0f894df2b0e10bf42c6c8f15765f84
195
ex
Elixir
lib/helpdesk_assistant/responses/utter_out_of_scope.ex
r26D/elixir-rasa-action-server
df41d36189f4ed737752343457dfe06d37a8e758
[ "MIT" ]
1
2021-04-19T18:05:10.000Z
2021-04-19T18:05:10.000Z
lib/helpdesk_assistant/responses/utter_out_of_scope.ex
r26D/elixir-rasa-action-server
df41d36189f4ed737752343457dfe06d37a8e758
[ "MIT" ]
null
null
null
lib/helpdesk_assistant/responses/utter_out_of_scope.ex
r26D/elixir-rasa-action-server
df41d36189f4ed737752343457dfe06d37a8e758
[ "MIT" ]
null
null
null
defmodule HelpdeskAssistant.Responses.UtterOutOfScope do use RasaSDK.Responses.Response def simple_text(), do: "Sorry, I'm not sure how to respond to that. Type \"help\" for assistance." end
48.75
100
0.774359
97d89181f9187d9bd0aa9270956da09073a37b08
1,432
ex
Elixir
lib/examples/marbles.ex
BenSchZA/cadex
4cb5e98aeeb6df96fa665a23b5cc881f5783cbb9
[ "MIT" ]
4
2020-08-19T18:43:45.000Z
2021-05-19T07:49:48.000Z
lib/examples/marbles.ex
BenSchZA/cadex
4cb5e98aeeb6df96fa665a23b5cc881f5783cbb9
[ "MIT" ]
null
null
null
lib/examples/marbles.ex
BenSchZA/cadex
4cb5e98aeeb6df96fa665a23b5cc881f5783cbb9
[ "MIT" ]
null
null
null
defmodule Marbles do @behaviour Cadex.Behaviour @initial_conditions %{ box_A: 11, box_B: 0 } @partial_state_update_blocks [ %Cadex.Types.PartialStateUpdateBlock{ policies: [ :robot_1, :robot_2 ], variables: [ :box_A, :box_B ] } ] @si...
21.058824
89
0.587989
97d8b69bce2de2ebb8f504c20e4fff8859580f9f
602
exs
Elixir
test/tirexs/index/settings/translog_test.exs
williamtran29/tirex_aws
8affc13d32978db47e083bec7ae11c5546f89395
[ "Apache-2.0" ]
null
null
null
test/tirexs/index/settings/translog_test.exs
williamtran29/tirex_aws
8affc13d32978db47e083bec7ae11c5546f89395
[ "Apache-2.0" ]
null
null
null
test/tirexs/index/settings/translog_test.exs
williamtran29/tirex_aws
8affc13d32978db47e083bec7ae11c5546f89395
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../../../test_helper.exs", __ENV__.file defmodule Tirexs.Index.Settings.TranslogTest do use ExUnit.Case import Tirexs.Index.Settings test "settings w/ translog" do index = [name: "bear_test"] settings do translog flush_threshold_ops: "", flush_threshold_size...
26.173913
137
0.669435
97d8ed763081de477e06a41bac39c3f18d2d7572
1,171
exs
Elixir
test/integration/dead_queue_test.exs
arfl/ex-tackle
b1ed825af900d983f2f945c4b16e7019d1c184e3
[ "MIT" ]
null
null
null
test/integration/dead_queue_test.exs
arfl/ex-tackle
b1ed825af900d983f2f945c4b16e7019d1c184e3
[ "MIT" ]
15
2019-08-12T14:21:51.000Z
2021-12-31T02:12:04.000Z
test/integration/dead_queue_test.exs
arfl/ex-tackle
b1ed825af900d983f2f945c4b16e7019d1c184e3
[ "MIT" ]
2
2021-06-28T06:48:10.000Z
2021-07-05T09:26:50.000Z
defmodule Tackle.DeadQueueTest do use ExSpec defmodule DeadConsumer do use Tackle.Consumer, rabbitmq_url: "amqp://localhost", remote_exchange: "ex-tackle.test-exchange", routing_key: "test-messages", service: "ex-tackle.dead-service", retry_delay: 1, retry_limit: 3 def ...
22.519231
65
0.671221
97d90334f9dfa1719f598d5394d20e45f97da3bb
888
ex
Elixir
lib/wabanex_web/schema/types/root.ex
douglastofoli/wabanex
db3e854e48d15ae721f9530c5e6ba1f8e8717ed1
[ "MIT" ]
null
null
null
lib/wabanex_web/schema/types/root.ex
douglastofoli/wabanex
db3e854e48d15ae721f9530c5e6ba1f8e8717ed1
[ "MIT" ]
null
null
null
lib/wabanex_web/schema/types/root.ex
douglastofoli/wabanex
db3e854e48d15ae721f9530c5e6ba1f8e8717ed1
[ "MIT" ]
null
null
null
defmodule WabanexWeb.Schema.Types.Root do use Absinthe.Schema.Notation alias Crudry.Middlewares.TranslateErrors alias WabanexWeb.Resolvers alias Resolvers.User, as: UserResolver alias Resolvers.Training, as: TrainingResolver alias WabanexWeb.Schema.Types import_types Types.Custom.UUID4 import_types ...
22.2
50
0.733108
97d96f75d3f638653df13cc4ef20abd400005af6
191
ex
Elixir
lib/railway_ui/published_message.ex
SophieDeBenedetto/railway-ui
ceb253bccf63f278e93502e4dc6b113b31f6d8b2
[ "MIT" ]
2
2019-11-12T21:04:11.000Z
2020-02-09T18:07:27.000Z
lib/railway_ui/published_message.ex
SophieDeBenedetto/railway-ui
ceb253bccf63f278e93502e4dc6b113b31f6d8b2
[ "MIT" ]
4
2019-12-02T17:31:57.000Z
2021-03-09T22:59:48.000Z
lib/railway_ui/published_message.ex
SophieDeBenedetto/railway-ui
ceb253bccf63f278e93502e4dc6b113b31f6d8b2
[ "MIT" ]
2
2020-02-05T18:23:26.000Z
2020-04-26T13:50:10.000Z
defmodule RailwayUi.PublishedMessage do @persistence Application.get_env(:railway_ui, :persistence, RailwayUi.Persistence) def all do @persistence.get_published_messages() end end
23.875
84
0.801047
97d98e50256d52ec4601383f997ea64470623ad2
528
ex
Elixir
lib/bombadil/ecto/dynamic_migration.ex
andrewstuarttaxfix/bombadil
c05e93a02d5bd691bb222024ab1930b19fc46560
[ "Apache-2.0" ]
27
2019-09-07T18:30:52.000Z
2021-02-11T10:05:59.000Z
lib/bombadil/ecto/dynamic_migration.ex
andrewstuarttaxfix/bombadil
c05e93a02d5bd691bb222024ab1930b19fc46560
[ "Apache-2.0" ]
3
2019-09-07T18:32:55.000Z
2020-09-28T12:29:59.000Z
lib/bombadil/ecto/dynamic_migration.ex
andrewstuarttaxfix/bombadil
c05e93a02d5bd691bb222024ab1930b19fc46560
[ "Apache-2.0" ]
1
2020-05-27T12:23:47.000Z
2020-05-27T12:23:47.000Z
defmodule Bombadil.Ecto.DynamicMigration do @moduledoc false @jsonb_field [{:payload, :jsonb}] @fields Application.get_env(:bombadil, :additional_fields, []) @table_name Application.get_env(:bombadil, :table_name, "search_index") defmacro run() do quote do create table(unquote(@table_name)) do ...
24
73
0.606061
97d9b522dd72a579625ff8ce15e4675b0eee0cc4
241
exs
Elixir
test_projects/basic_project/test/basic_project_test.exs
jrusso1020/mix_caramel_test
f1566f1fb164b7d3141d1a93b68fedb67ff01bd8
[ "Apache-2.0" ]
2
2021-03-12T22:14:44.000Z
2021-03-13T16:50:00.000Z
test_projects/basic_project/test/basic_project_test.exs
jrusso1020/mix_caramel_test
f1566f1fb164b7d3141d1a93b68fedb67ff01bd8
[ "Apache-2.0" ]
null
null
null
test_projects/basic_project/test/basic_project_test.exs
jrusso1020/mix_caramel_test
f1566f1fb164b7d3141d1a93b68fedb67ff01bd8
[ "Apache-2.0" ]
null
null
null
defmodule BasicProjectTest do use ExUnit.Case doctest BasicProject test "can call Elixir code" do assert BasicProject.hello() == :world end test "can call Caramel code" do assert :hello_world.hello() == "world" end end
18.538462
42
0.705394
97d9c78cff8103cf3b8fb22146e3c04d4b79c703
2,567
exs
Elixir
test/github_test.exs
chgeuer/mike-works-elixir-fundamentals
579aec8491a8c30517f8ddbbc4b745936e0e552d
[ "BSD-3-Clause" ]
null
null
null
test/github_test.exs
chgeuer/mike-works-elixir-fundamentals
579aec8491a8c30517f8ddbbc4b745936e0e552d
[ "BSD-3-Clause" ]
null
null
null
test/github_test.exs
chgeuer/mike-works-elixir-fundamentals
579aec8491a8c30517f8ddbbc4b745936e0e552d
[ "BSD-3-Clause" ]
null
null
null
defmodule GithubTest do use ExUnit.Case @moduletag :exercise3 @api_base Application.get_env(:elixir_fundamentals, :github_api) || "https://api.github.com" test "org URL building is done properly for string org names" do assert Github.org_url("jquery") === "#{@api_base}/orgs/jquery" end test "org URL ...
33.776316
112
0.700039
97d9d6824c479428459f9342c73c73ad8e3eee6b
568
ex
Elixir
test/support/fake_slack/router.ex
aMikeChen/Elixir-Slack
8b425ecb2630712deb4049ac14399047eeb5edb1
[ "MIT" ]
null
null
null
test/support/fake_slack/router.ex
aMikeChen/Elixir-Slack
8b425ecb2630712deb4049ac14399047eeb5edb1
[ "MIT" ]
null
null
null
test/support/fake_slack/router.ex
aMikeChen/Elixir-Slack
8b425ecb2630712deb4049ac14399047eeb5edb1
[ "MIT" ]
null
null
null
defmodule Slack.FakeSlack.Router do use Plug.Router import Plug.Conn plug(:match) plug(:dispatch) get "/api/rtm.connect" do conn = fetch_query_params(conn) pid = Application.get_env(:slack, :test_pid) send(pid, {:token, conn.query_params["token"]}) response = ~S( { "ok": true...
21.846154
89
0.575704
97d9df9c41ca80184af91e368617dd49c2e50a52
2,862
ex
Elixir
lib/ueberauth/strategy/github/oauth.ex
RudManusachi/ueberauth_github
f33ecf91f6467a707d4a7eea5f470757e3884d00
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/github/oauth.ex
RudManusachi/ueberauth_github
f33ecf91f6467a707d4a7eea5f470757e3884d00
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/github/oauth.ex
RudManusachi/ueberauth_github
f33ecf91f6467a707d4a7eea5f470757e3884d00
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Github.OAuth do @moduledoc """ An implementation of OAuth2 for github. To add your `client_id` and `client_secret` include these values in your configuration. config :ueberauth, Ueberauth.Strategy.Github.OAuth, client_id: System.get_env("GITHUB_CLIENT_ID"), cli...
31.108696
104
0.691824
97d9ea447539319228e49975824f294690a1d0b0
890
exs
Elixir
mix.exs
medhiwidjaja/bamboo_mailjet
8e204b01d0a518357563c302001157508c9742a8
[ "MIT" ]
null
null
null
mix.exs
medhiwidjaja/bamboo_mailjet
8e204b01d0a518357563c302001157508c9742a8
[ "MIT" ]
null
null
null
mix.exs
medhiwidjaja/bamboo_mailjet
8e204b01d0a518357563c302001157508c9742a8
[ "MIT" ]
null
null
null
defmodule BambooMailjet.Mixfile do use Mix.Project def project do [ app: :bamboo_mailjet, version: "0.1.2", elixir: "~> 1.17", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: "A Mailjet adapter for Bamboo", package: package(), ...
21.190476
70
0.510112
97da164dc560779cadd08f6e5bcd26d56f922c1f
164
ex
Elixir
web/controllers/catch_all_controller.ex
zmstone/kastlex
3478bc230f08bde99e768067787b0ef3f8e1c026
[ "Apache-2.0" ]
38
2016-10-21T08:26:15.000Z
2021-03-19T23:10:40.000Z
web/controllers/catch_all_controller.ex
zmstone/kastlex
3478bc230f08bde99e768067787b0ef3f8e1c026
[ "Apache-2.0" ]
32
2017-02-19T08:57:35.000Z
2020-02-05T13:15:11.000Z
web/controllers/catch_all_controller.ex
zmstone/kastlex
3478bc230f08bde99e768067787b0ef3f8e1c026
[ "Apache-2.0" ]
6
2017-11-24T16:02:20.000Z
2022-02-22T07:44:36.000Z
defmodule Kastlex.CatchAllController do use Kastlex.Web, :controller def favicon(conn, _params) do send_json(conn, 404, %{error: "Not found"}) end end
16.4
47
0.713415
97da18964ab59e0b376ae9c40a93c36068f4cb67
440
exs
Elixir
config/test.exs
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
config/test.exs
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
config/test.exs
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "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 :sprint_poker, SprintPoker.Endpoint, http: [port: 4001], server: true # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :sprint_poker, ...
25.882353
56
0.756818
97da250f9175b8bb7b002ea2d3148841286dd026
2,145
exs
Elixir
config/dev.exs
Tass-Jomo/Art-for-deriq
df88debc0accab36976516a2c1cc49a98cd1dca4
[ "MIT" ]
null
null
null
config/dev.exs
Tass-Jomo/Art-for-deriq
df88debc0accab36976516a2c1cc49a98cd1dca4
[ "MIT" ]
null
null
null
config/dev.exs
Tass-Jomo/Art-for-deriq
df88debc0accab36976516a2c1cc49a98cd1dca4
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :deriqArt, DeriqArt.Repo, username: "postgres", password: "postgres", database: "deriqart_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reload...
27.857143
68
0.691841
97da258fdb21561f5f95799497740b52adf1325c
1,578
ex
Elixir
clients/chat/lib/google_api/chat/v1/model/action_response.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/chat/lib/google_api/chat/v1/model/action_response.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/chat/lib/google_api/chat/v1/model/action_response.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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...
31.56
127
0.71166
97da3352c4c03e79d2bd88d9ba19456b26b65766
1,462
exs
Elixir
test/vintage_net/wifi/wpa2_test.exs
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
test/vintage_net/wifi/wpa2_test.exs
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
test/vintage_net/wifi/wpa2_test.exs
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
defmodule VintageNet.WiFi.WPA2Test do use ExUnit.Case alias VintageNet.WiFi.WPA2 doctest WPA2 test "returns error on bad passwords" do assert WPA2.to_psk( "SSID", "12345678901234567890123456789012345678901234567890123456789012345" ) == {:error, :password_too_long} ...
31.782609
97
0.654583
97da396127c74b39b15df6bcd3477be00ae9c7f4
1,418
ex
Elixir
lib/sync_primitives/count_down_latch/server.ex
paranoco/sync_primitives
d94db822d402b6858aa4fec5cfcbbdddc7b51ae3
[ "Apache-2.0" ]
13
2020-12-26T17:34:54.000Z
2021-04-17T14:23:00.000Z
lib/sync_primitives/count_down_latch/server.ex
paranoco/sync_primitives
d94db822d402b6858aa4fec5cfcbbdddc7b51ae3
[ "Apache-2.0" ]
1
2019-10-30T05:29:06.000Z
2019-10-30T05:29:06.000Z
lib/sync_primitives/count_down_latch/server.ex
paranoco/sync_primitives
d94db822d402b6858aa4fec5cfcbbdddc7b51ae3
[ "Apache-2.0" ]
null
null
null
defmodule SyncPrimitives.CountDownLatch.Server do @moduledoc false use GenServer require Record Record.defrecordp(:state, step: :waiting, count: nil, action: nil, q: :queue.new() ) @impl true def init(count: count, action: action) do {:ok, state(step: :waiting, count: count, action:...
17.506173
69
0.538787
97da5d358f4d96ee6c824081c53cad91dbf96a85
1,210
exs
Elixir
config/config.exs
ScrimpyCat/SimpleMarkdownExtensionSvgBob
72b8b27a0fc56d2dff327e7a03170e4a793949ef
[ "BSD-2-Clause" ]
null
null
null
config/config.exs
ScrimpyCat/SimpleMarkdownExtensionSvgBob
72b8b27a0fc56d2dff327e7a03170e4a793949ef
[ "BSD-2-Clause" ]
null
null
null
config/config.exs
ScrimpyCat/SimpleMarkdownExtensionSvgBob
72b8b27a0fc56d2dff327e7a03170e4a793949ef
[ "BSD-2-Clause" ]
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.666667
73
0.765289
97da9fbfad46bb3f98d4cf54f373f9b2983262a6
5,646
exs
Elixir
test/wechat_mp_auth/component_access_token_test.exs
he9qi/wechat_mp_auth
307e5ffb2214f9aca3fb230c302852b1216ce0c3
[ "MIT" ]
21
2016-05-12T17:06:29.000Z
2018-01-14T14:44:21.000Z
test/wechat_mp_auth/component_access_token_test.exs
he9qi/wechat_mp_auth
307e5ffb2214f9aca3fb230c302852b1216ce0c3
[ "MIT" ]
3
2016-05-12T06:11:30.000Z
2016-10-12T04:59:09.000Z
test/wechat_mp_auth/component_access_token_test.exs
he9qi/wechat_mp_auth
307e5ffb2214f9aca3fb230c302852b1216ce0c3
[ "MIT" ]
1
2017-11-30T01:55:17.000Z
2017-11-30T01:55:17.000Z
defmodule WechatMPAuth.ComponentAccessTokenTest do use ExUnit.Case, async: true use Plug.Test import WechatMPAuth.TestHelpers import WechatMPAuth.ComponentAccessToken setup do server = Bypass.open client = build_client(site: bypass_server(server)) access_token = new("access-token-1234", client) ...
32.448276
154
0.637797
97daa13070b9121ab552bcbbbd8853a028e6d355
1,727
exs
Elixir
mix.exs
paulanthonywilson/binary-websockets-example
8aa013a8e2050ee2aaaf96de5c41c15cf1a06521
[ "MIT" ]
4
2021-02-22T04:05:29.000Z
2022-01-25T18:03:04.000Z
mix.exs
paulanthonywilson/binary-websockets-example
8aa013a8e2050ee2aaaf96de5c41c15cf1a06521
[ "MIT" ]
null
null
null
mix.exs
paulanthonywilson/binary-websockets-example
8aa013a8e2050ee2aaaf96de5c41c15cf1a06521
[ "MIT" ]
1
2021-12-16T15:45:43.000Z
2021-12-16T15:45:43.000Z
defmodule Starjumps.MixProject do use Mix.Project def project do [ app: :starjumps, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(),...
26.569231
84
0.57209
97daa1e4e3bbba9848c4e8fc3a11005c37620e58
1,852
exs
Elixir
rel/config.exs
camirmas/go-stop-server
ecf3e919b9ee1d2e8b45e628bc10b4706cc4e698
[ "MIT" ]
8
2017-06-04T04:05:47.000Z
2019-11-04T18:00:45.000Z
rel/config.exs
camirmas/go-stop-server
ecf3e919b9ee1d2e8b45e628bc10b4706cc4e698
[ "MIT" ]
19
2018-04-19T07:24:57.000Z
2019-08-07T16:37:05.000Z
rel/config.exs
camirmas/go-stop-server
ecf3e919b9ee1d2e8b45e628bc10b4706cc4e698
[ "MIT" ]
1
2018-07-18T07:51:47.000Z
2018-07-18T07:51:47.000Z
# Import all plugins from `rel/plugins` # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. Path.join(["rel", "plugins", "*.exs"]) |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Mix.Releases.Config, # T...
32.491228
81
0.729482
97dab24304b007ed9781a85677f0e3b20598bf2d
2,103
ex
Elixir
test/support/mock_server.ex
libitx/terminus
f394aea4ced49aec216203b19c33f53578eac7ec
[ "Apache-2.0" ]
16
2020-04-15T14:45:15.000Z
2022-02-28T03:28:22.000Z
test/support/mock_server.ex
libitx/terminus
f394aea4ced49aec216203b19c33f53578eac7ec
[ "Apache-2.0" ]
1
2020-07-28T21:39:41.000Z
2020-07-29T13:05:45.000Z
test/support/mock_server.ex
libitx/terminus
f394aea4ced49aec216203b19c33f53578eac7ec
[ "Apache-2.0" ]
3
2021-01-10T22:39:43.000Z
2022-03-15T07:39:22.000Z
defmodule MockServer do use Plug.Router plug Plug.Parsers, [ parsers: [:json], pass: ["text/*"], json_decoder: Jason ] plug :match plug :dispatch # Bitbus /status mock post "/block" do {status, body} = case get_req_header(conn, "token") do ["test"] -> {200, File.read!("test/mocks/b...
27.311688
123
0.640514
97daca5fb1cece108a5a49c474d6fa4c9b173166
628
exs
Elixir
mix.exs
pastleo/elixir-meetup-example210511
6c0896d961b7c193c74102fa11452eda6ac90a8c
[ "MIT" ]
null
null
null
mix.exs
pastleo/elixir-meetup-example210511
6c0896d961b7c193c74102fa11452eda6ac90a8c
[ "MIT" ]
null
null
null
mix.exs
pastleo/elixir-meetup-example210511
6c0896d961b7c193c74102fa11452eda6ac90a8c
[ "MIT" ]
null
null
null
defmodule Example210511.MixProject do use Mix.Project def project do [ app: :example210511, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
20.933333
87
0.58758
97dae8bf73345929a221aa85d36705d1e546c28e
432
ex
Elixir
web/views/error_view.ex
wkozyra95/phoenix-boilerplate
8fd4607639f327928b0f8319a697f8efa951556e
[ "MIT" ]
null
null
null
web/views/error_view.ex
wkozyra95/phoenix-boilerplate
8fd4607639f327928b0f8319a697f8efa951556e
[ "MIT" ]
null
null
null
web/views/error_view.ex
wkozyra95/phoenix-boilerplate
8fd4607639f327928b0f8319a697f8efa951556e
[ "MIT" ]
null
null
null
defmodule StarterProject.ErrorView do use StarterProject.Web, :view def render("404.json", _assigns) do %{errors: %{detail: "Page not found"}} end def render("500.json", _assigns) do %{errors: %{detail: "Internal server error"}} end # In case no render clause matches or no # template is found, ...
24
49
0.69213
97dafe3693de85902df605f8c597aed785424c91
562
ex
Elixir
lib/rocketseat_nlw_heat_impulse_elixir/message.ex
jobsonita/rocketseat_nlw_heat_impulse_elixir
13b5dc0fe2137c1acbc42afee1d40c43e7f9883f
[ "MIT" ]
null
null
null
lib/rocketseat_nlw_heat_impulse_elixir/message.ex
jobsonita/rocketseat_nlw_heat_impulse_elixir
13b5dc0fe2137c1acbc42afee1d40c43e7f9883f
[ "MIT" ]
null
null
null
lib/rocketseat_nlw_heat_impulse_elixir/message.ex
jobsonita/rocketseat_nlw_heat_impulse_elixir
13b5dc0fe2137c1acbc42afee1d40c43e7f9883f
[ "MIT" ]
null
null
null
defmodule RocketseatNlwHeatImpulseElixir.Message do use Ecto.Schema import Ecto.Changeset @required_params [:message, :username, :email] @derive {Jason.Encoder, only: [:id] ++ @required_params} schema "messages" do field :message, :string field :username, :string field :email, :string tim...
21.615385
58
0.679715
97db24b5671a1f0baf24c13310cdbc393fa4eb5d
125
exs
Elixir
test/name_doctest1_test.exs
ianrumford/plymio_name
434294b6f6fa489918a5ee007bec03b22a21212b
[ "MIT" ]
null
null
null
test/name_doctest1_test.exs
ianrumford/plymio_name
434294b6f6fa489918a5ee007bec03b22a21212b
[ "MIT" ]
null
null
null
test/name_doctest1_test.exs
ianrumford/plymio_name
434294b6f6fa489918a5ee007bec03b22a21212b
[ "MIT" ]
null
null
null
defmodule NamesDoctest1Test do use ExUnit.Case, async: true import Plymio.Name.Utils doctest Plymio.Name.Utils end
12.5
30
0.768
97db3bf2023f7eff8aa3587cb4f14f64167595ac
5,877
ex
Elixir
apps/omg_watcher/lib/web/controllers/utxo.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/lib/web/controllers/utxo.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/lib/web/controllers/utxo.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
40.253425
1,041
0.733197
97db51968ccac9ec90df5cdb1dfe80cde6ebd116
470
exs
Elixir
test/utility_test.exs
artellectual/blazay
0c5f58514cc2417931786b5cd482978fa5bfd9c0
[ "MIT" ]
5
2018-02-16T15:32:41.000Z
2020-03-31T10:55:24.000Z
test/utility_test.exs
artellectual/blazay
0c5f58514cc2417931786b5cd482978fa5bfd9c0
[ "MIT" ]
8
2017-07-12T04:27:31.000Z
2017-12-26T06:30:47.000Z
test/utility_test.exs
upmaru/blazay
0c5f58514cc2417931786b5cd482978fa5bfd9c0
[ "MIT" ]
2
2018-02-16T15:32:45.000Z
2018-03-04T12:11:57.000Z
defmodule Upstream.UtilityTest do @moduledoc """ false """ use ExUnit.Case alias Upstream.{ B2, Store, Utility } test "delete_all_versions" do path = "test/fixtures/cute_baby.jpg" key = "test/utility_test/delete_all_versions/cute_baby_0.jpg" auth = B2.Account.authorization() ...
17.407407
65
0.674468
97dbbe52f776b60f2905a2a1e0c2918519ac254c
2,390
ex
Elixir
lib/auto_api/states/firmware_version_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
lib/auto_api/states/firmware_version_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
5
2018-11-29T09:48:29.000Z
2019-11-06T12:11:35.000Z
lib/auto_api/states/firmware_version_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.000Z
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
34.637681
101
0.707531
97dbd13113e8d6a62db7e2f6c44800b6745d493f
12,985
exs
Elixir
test/api_test.exs
capitalist/surface
f1c75f92513b607c98ba578030a647e0f5d6d11c
[ "MIT" ]
null
null
null
test/api_test.exs
capitalist/surface
f1c75f92513b607c98ba578030a647e0f5d6d11c
[ "MIT" ]
null
null
null
test/api_test.exs
capitalist/surface
f1c75f92513b607c98ba578030a647e0f5d6d11c
[ "MIT" ]
null
null
null
defmodule Surface.APITest do use ExUnit.Case, async: true test "raise error at the right line" do code = "prop label, :unknown_type" message = ~r/code:4/ assert_raise(CompileError, message, fn -> eval(code) end) end test "validate type" do code = "prop label, {:a, :b}" message = ~r/invali...
26.232323
98
0.572969
97dbf17e17e8c2d1d3afda25906147eb6ac7aa80
1,948
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_document_text_anchor_text_segment.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_document_text_anchor_text_segment.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1_document_text_anchor_text_segment.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.418182
191
0.744867
97dc017d6d8753bc21eba8ad8a4d27000e4642e3
2,655
exs
Elixir
test/paginator/config_test.exs
0nkery/paginator
a7369bc2ab47d46c0b9431fe1aa887a532f92c56
[ "MIT" ]
1
2021-09-17T14:58:46.000Z
2021-09-17T14:58:46.000Z
test/paginator/config_test.exs
0nkery/paginator
a7369bc2ab47d46c0b9431fe1aa887a532f92c56
[ "MIT" ]
null
null
null
test/paginator/config_test.exs
0nkery/paginator
a7369bc2ab47d46c0b9431fe1aa887a532f92c56
[ "MIT" ]
1
2019-05-28T23:48:25.000Z
2019-05-28T23:48:25.000Z
defmodule Paginator.ConfigTest do use ExUnit.Case, async: true alias Paginator.{Config, Cursor} describe "Config.new/2" do test "creates a new config" do config = Config.new(cursor_fields: [:id], limit: 10) assert config.after_values == nil assert config.before_values == nil assert ...
30.872093
97
0.656121
97dc2250449f7e07c03952c7ae5c8467034dc031
969
ex
Elixir
exercises/concept/dna-encoding/.meta/exemplar.ex
gerald-annan/elixir
4c1b77bab02881b5d5c62042fccbf7aa00f1b0a9
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/concept/dna-encoding/.meta/exemplar.ex
gerald-annan/elixir
4c1b77bab02881b5d5c62042fccbf7aa00f1b0a9
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/concept/dna-encoding/.meta/exemplar.ex
gerald-annan/elixir
4c1b77bab02881b5d5c62042fccbf7aa00f1b0a9
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule DNA do def encode_nucleotide(?\s), do: 0b0000 def encode_nucleotide(?A), do: 0b0001 def encode_nucleotide(?C), do: 0b0010 def encode_nucleotide(?G), do: 0b0100 def encode_nucleotide(?T), do: 0b1000 def decode_nucleotide(0b0000), do: ?\s def decode_nucleotide(0b0001), do: ?A def decode_nucleot...
26.189189
64
0.654283
97dc4209704906af941b9810be1ed50a7edd3d13
1,813
ex
Elixir
lib/dogma/rule/variable_name.ex
lpil/dogma
e0f55c27ec3053be0313ac93f3d036437ee590a1
[ "MIT" ]
558
2015-06-21T18:20:59.000Z
2021-12-30T16:25:47.000Z
lib/dogma/rule/variable_name.ex
lpil/dogma
e0f55c27ec3053be0313ac93f3d036437ee590a1
[ "MIT" ]
252
2015-06-19T13:00:47.000Z
2021-04-21T08:04:16.000Z
lib/dogma/rule/variable_name.ex
lpil/dogma
e0f55c27ec3053be0313ac93f3d036437ee590a1
[ "MIT" ]
79
2015-06-21T14:18:30.000Z
2021-12-30T16:26:09.000Z
use Dogma.RuleBuilder defrule Dogma.Rule.VariableName do @moduledoc """ A rule that disallows variable names not in `snake_case`. `snake_case` is when only lowercase letters are used, and words are separated with underscores, rather than spaces. Good: my_mood = :happy [number_of_cats] = [3] ...
22.109756
79
0.599007
97dc672185cac0c390fdca20914b127c37a56408
1,266
ex
Elixir
lib/absinthe_test_app_web/channels/user_socket.ex
gen1321/absinthe_test_app
1ce974a9ee14e4c46a40f0aa1e087f0d85a81c3c
[ "Unlicense" ]
null
null
null
lib/absinthe_test_app_web/channels/user_socket.ex
gen1321/absinthe_test_app
1ce974a9ee14e4c46a40f0aa1e087f0d85a81c3c
[ "Unlicense" ]
null
null
null
lib/absinthe_test_app_web/channels/user_socket.ex
gen1321/absinthe_test_app
1ce974a9ee14e4c46a40f0aa1e087f0d85a81c3c
[ "Unlicense" ]
null
null
null
defmodule AbsintheTestAppWeb.UserSocket do use Phoenix.Socket use Absinthe.Phoenix.Socket, schema: AbsintheTestAppWeb.Schema ## Channels # channel "room:*", AbsintheTestAppWeb.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongP...
31.65
90
0.71327
97dc687bd3ddefb44fddb41f52ede1783a77b619
72
exs
Elixir
examples/apps/w3c_trace_context_validation/config/config.exs
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
227
2018-09-05T15:33:23.000Z
2022-02-25T18:12:06.000Z
examples/apps/w3c_trace_context_validation/config/config.exs
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
211
2018-09-05T21:42:41.000Z
2022-03-25T17:51:56.000Z
examples/apps/w3c_trace_context_validation/config/config.exs
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
84
2018-09-05T04:26:26.000Z
2022-03-09T14:28:14.000Z
use Mix.Config config :w3c_trace_context_validation, http_port: 4002
14.4
37
0.819444
97dc88d60f04617c707c19f4156f2e21cf8dccbf
117
exs
Elixir
.formatter.exs
mbta/logger_splunk_backend
6ea3bc3df13be66159a5357622a03cced3f74123
[ "MIT" ]
1
2018-01-23T15:50:24.000Z
2018-01-23T15:50:24.000Z
.formatter.exs
mbta/logger_splunk_backend
6ea3bc3df13be66159a5357622a03cced3f74123
[ "MIT" ]
3
2018-03-23T18:30:50.000Z
2021-05-25T19:46:54.000Z
.formatter.exs
mbta/logger_splunk_backend
6ea3bc3df13be66159a5357622a03cced3f74123
[ "MIT" ]
2
2018-01-24T18:59:55.000Z
2019-08-17T15:43:19.000Z
# Used by "mix format" [ inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"], rename_deprecated_at: "1.7.0" ]
19.5
57
0.581197
97dcbfaf49937b23b115b2ffb24d0e86db0f699c
1,337
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/archive_user_data_mapping_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/archive_user_data_mapping_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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/archive_user_data_mapping_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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...
31.833333
97
0.775617
97dd0977485c7b0028d33208e26444a651a4bce2
1,244
ex
Elixir
lib/mix/tasks/ex_oauth2_provider.gen.schemas.ex
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
lib/mix/tasks/ex_oauth2_provider.gen.schemas.ex
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
lib/mix/tasks/ex_oauth2_provider.gen.schemas.ex
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.ExOauth2Provider.Gen.Schemas do @shortdoc "Generates ExOauth2Provider schema files" @moduledoc """ Generates schema files. mix ex_oauth2_provider.gen.schemas mix ex_oauth2_provider.gen.schemas --binary-id --namespace oauth2 ## Arguments * `--binary-id` - use binary id fo...
28.930233
85
0.722669
97dd19f13d6893e581e2c932ba8a32d579f57d7f
618
ex
Elixir
apps/protocol_destination/lib/destination/context.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/protocol_destination/lib/destination/context.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/protocol_destination/lib/destination/context.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
defmodule Destination.Context do use Definition, schema: Destination.Context.V1 @type t :: %__MODULE__{ dictionary: Dictionary.t(), app_name: String.t() | atom, dataset_id: String.t(), subset_id: String.t() } defstruct [:dictionary, :app_name, :dataset_id, :subset...
23.769231
61
0.652104
97dd30ea46b0dc18ac23a92b0009aa36fdd0c6e4
65
ex
Elixir
imdb_data/lib/imdb_data_web/views/person_view.ex
defndaines/eiga
89adc25dd6c7a5be86d6dc6be9dffc62ad05bdd8
[ "Apache-2.0" ]
null
null
null
imdb_data/lib/imdb_data_web/views/person_view.ex
defndaines/eiga
89adc25dd6c7a5be86d6dc6be9dffc62ad05bdd8
[ "Apache-2.0" ]
2
2016-03-10T03:04:11.000Z
2017-02-11T17:43:44.000Z
imdb_data/lib/imdb_data_web/views/person_view.ex
defndaines/eiga
89adc25dd6c7a5be86d6dc6be9dffc62ad05bdd8
[ "Apache-2.0" ]
null
null
null
defmodule IMDbDataWeb.PersonView do use IMDbDataWeb, :view end
16.25
35
0.815385
97dd6afe595aea6c824003307986d4ab0034fe04
1,169
ex
Elixir
lib/bejo/code.ex
fossabot/bejo
7d25d68ef97bd77b7d53fc9a9546261fdc99bfba
[ "Apache-2.0" ]
null
null
null
lib/bejo/code.ex
fossabot/bejo
7d25d68ef97bd77b7d53fc9a9546261fdc99bfba
[ "Apache-2.0" ]
null
null
null
lib/bejo/code.ex
fossabot/bejo
7d25d68ef97bd77b7d53fc9a9546261fdc99bfba
[ "Apache-2.0" ]
null
null
null
defmodule Bejo.Code do alias Bejo.{ Parser, TypeChecker, ErlTranslate, Env } require Logger def load_file(file) do case File.read(file) do {:ok, str} -> load_string(str, file) {:error, error} -> IO.puts("Cannot read file: #{inspect(error)}") end end de...
24.354167
82
0.634731
97ddaec88dc58f87d1614e417c7c9375e0a6206d
1,144
exs
Elixir
test/cmd/runlet_limit_test.exs
msantos/runlet
d9cb44b113295387c296ab4576a09ca4a7ce0f7b
[ "ISC" ]
4
2020-01-12T19:04:46.000Z
2021-09-20T14:37:22.000Z
test/cmd/runlet_limit_test.exs
msantos/runlet
d9cb44b113295387c296ab4576a09ca4a7ce0f7b
[ "ISC" ]
null
null
null
test/cmd/runlet_limit_test.exs
msantos/runlet
d9cb44b113295387c296ab4576a09ca4a7ce0f7b
[ "ISC" ]
1
2021-09-20T14:37:25.000Z
2021-09-20T14:37:25.000Z
defmodule RunletLimitTest do use ExUnit.Case test "limit" do e = %Runlet.Event.Stdout{ service: "service", host: "host", description: "test" } x = 100 |> Stream.interval() |> Stream.map(fn _ -> %Runlet.Event{event: e} end) |> Runlet.Cmd.Limit.exec(1, 60) ...
23.833333
85
0.412587
97ddc0906388344f91163735504cfa819db83ad5
1,871
ex
Elixir
lib/oli/delivery/attempts/core/activity_attempt.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli/delivery/attempts/core/activity_attempt.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli/delivery/attempts/core/activity_attempt.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.Attempts.Core.ActivityAttempt do use Ecto.Schema import Ecto.Changeset schema "activity_attempts" do field(:attempt_guid, :string) field(:attempt_number, :integer) field(:lifecycle_state, Ecto.Enum, values: [:active, :submitted, :evaluated], default: :active) field(:date_...
28.784615
99
0.684126
97ddc549fa20ff787f0ef5023dba43ce5d8a462a
508
ex
Elixir
gitlab_bot/lib/gitlab_bot_web/controllers/gitlab_controller.ex
ray1888/elixir-gitlab-bot
70fcc5adde9e6bf1189988e2a4d0517f60e26950
[ "MIT" ]
null
null
null
gitlab_bot/lib/gitlab_bot_web/controllers/gitlab_controller.ex
ray1888/elixir-gitlab-bot
70fcc5adde9e6bf1189988e2a4d0517f60e26950
[ "MIT" ]
null
null
null
gitlab_bot/lib/gitlab_bot_web/controllers/gitlab_controller.ex
ray1888/elixir-gitlab-bot
70fcc5adde9e6bf1189988e2a4d0517f60e26950
[ "MIT" ]
null
null
null
defmodule GitlabBotWeb.GitlabController do use GitlabBotWeb, :controller alias Plug.Conn alias GitlabBot def convey(conn, params) do conn |> get_req_header("x-gitlab-event") |> GitlabBot.inform(params) |> send_response(conn) end def send_response(res, conn) do case res do ...
22.086957
56
0.625984
97ddfb275c300726363a5bc78a2e0c76f4443dcd
376
ex
Elixir
todoapi/lib/todoapi_web/views/error_view.ex
BruceBC/BakeOffElixirPhoenix
b674b0d2ddc9ba04ff00f21e0eb1586543002467
[ "MIT" ]
null
null
null
todoapi/lib/todoapi_web/views/error_view.ex
BruceBC/BakeOffElixirPhoenix
b674b0d2ddc9ba04ff00f21e0eb1586543002467
[ "MIT" ]
null
null
null
todoapi/lib/todoapi_web/views/error_view.ex
BruceBC/BakeOffElixirPhoenix
b674b0d2ddc9ba04ff00f21e0eb1586543002467
[ "MIT" ]
null
null
null
defmodule TodoapiWeb.ErrorView do use TodoapiWeb, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_templat...
20.888889
47
0.702128
97de130e223dc66ae817c664d5cc6bdcff067622
72
exs
Elixir
test/views/layout_view_test.exs
wlodarczykj/yacht
31a4199555a1e5e14b3cbed8a0d960477f4a5bd0
[ "Apache-2.0" ]
null
null
null
test/views/layout_view_test.exs
wlodarczykj/yacht
31a4199555a1e5e14b3cbed8a0d960477f4a5bd0
[ "Apache-2.0" ]
null
null
null
test/views/layout_view_test.exs
wlodarczykj/yacht
31a4199555a1e5e14b3cbed8a0d960477f4a5bd0
[ "Apache-2.0" ]
null
null
null
defmodule Yacht.LayoutViewTest do use Yacht.ConnCase, async: true end
18
33
0.805556