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
b268a62375b0bdf619764101b731895a74f26b57
1,236
ex
Elixir
lib/bamboo/adapter.ex
poplarhq/bamboo
091c3f4b7d325bf58844a3c8956a9cef4b5f0a66
[ "MIT" ]
null
null
null
lib/bamboo/adapter.ex
poplarhq/bamboo
091c3f4b7d325bf58844a3c8956a9cef4b5f0a66
[ "MIT" ]
null
null
null
lib/bamboo/adapter.ex
poplarhq/bamboo
091c3f4b7d325bf58844a3c8956a9cef4b5f0a66
[ "MIT" ]
null
null
null
defmodule Bamboo.Adapter do @moduledoc ~S""" Behaviour for creating Bamboo adapters All recipients in the Bamboo.Email struct will be normalized to a 2 item tuple of {name, address} when deliver through your mailer. For example, `email.from |> elem(0)` would return the name and `email.from |> elem(1)` woul...
29.428571
93
0.65534
b268ac1329c568f6c6870701ebf8b8c7e92b8701
1,849
ex
Elixir
lib/andy/profiles/rover/gm_defs/collision_course_with_other.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
7
2019-05-29T22:55:25.000Z
2021-08-22T18:38:29.000Z
lib/andy/profiles/rover/gm_defs/collision_course_with_other.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
null
null
null
lib/andy/profiles/rover/gm_defs/collision_course_with_other.ex
jfcloutier/andy
74b93f734d6f6353356041a603a96ad5aed4b5dc
[ "MIT" ]
1
2020-01-25T20:46:43.000Z
2020-01-25T20:46:43.000Z
defmodule Andy.Profiles.Rover.GMDefs.CollisionCourseWithOther do @moduledoc "The GM definition for :collision_course_with_other" alias Andy.GM.{GenerativeModelDef, Conjecture} import Andy.GM.Utils import Andy.Utils, only: [now: 0] def gm_def() do %GenerativeModelDef{ name: :collision_course_with_o...
25.328767
77
0.594916
b268ad11cc3f05570943491e7afec192452cfade
2,299
ex
Elixir
installer/lib/phx_new/umbrella.ex
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
1
2020-07-23T18:03:42.000Z
2020-07-23T18:03:42.000Z
installer/lib/phx_new/umbrella.ex
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
1
2020-05-26T19:38:18.000Z
2020-05-26T19:38:18.000Z
installer/lib/phx_new/umbrella.ex
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
1
2020-08-31T15:29:31.000Z
2020-08-31T15:29:31.000Z
defmodule Phx.New.Umbrella do @moduledoc false use Phx.New.Generator alias Phx.New.{Ecto, Web, Project} template :new, [ {:eex, "phx_umbrella/gitignore", :project, ".gitignore"}, {:eex, "phx_umbrella/config/config.exs", :project, "config/config.exs"}, {:config, "phx_umbrel...
36.492063
90
0.602871
b268b4aa4c8ca22cdea340c3e7bf0400f67df501
1,474
ex
Elixir
lib/oli/authoring/broadcasting/messages.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/authoring/broadcasting/messages.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/authoring/broadcasting/messages.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
defmodule Oli.Authoring.Broadcaster.Messages do ### Message creation API def message_new_revision(resource_id) do resource(resource_id) end def message_new_revisions_in_project(resource_id, project_slug) do [resource(resource_id), project(project_slug)] |> join end def message_new_resource(projec...
30.708333
84
0.751696
b268cb74e14933a0903609c886a44b09b3bfd3e2
450
ex
Elixir
lib/blog_web/router.ex
devonestes/absinthe_tutorial
29bcc60f0a930c35c35515d11e5025b2d9593c52
[ "MIT" ]
null
null
null
lib/blog_web/router.ex
devonestes/absinthe_tutorial
29bcc60f0a930c35c35515d11e5025b2d9593c52
[ "MIT" ]
null
null
null
lib/blog_web/router.ex
devonestes/absinthe_tutorial
29bcc60f0a930c35c35515d11e5025b2d9593c52
[ "MIT" ]
null
null
null
defmodule BlogWeb.Router do use BlogWeb, :router pipeline :api do plug :accepts, ["json"] plug BlogWeb.Context plug CORSPlug, origin: "*" end scope "/api" do pipe_through :api forward "/graphiql", Absinthe.Plug.GraphiQL, schema: BlogWeb.Schema, socket: BlogWeb.UserSocket, ...
18.75
48
0.651111
b268f6221eab7302019e1ed7139543de9bbd58e0
5,676
ex
Elixir
lib/credo/code/sigils.ex
ayrat555/credo
517699f82fc6ebe266152d997b64878b334e7bd8
[ "MIT" ]
null
null
null
lib/credo/code/sigils.ex
ayrat555/credo
517699f82fc6ebe266152d997b64878b334e7bd8
[ "MIT" ]
null
null
null
lib/credo/code/sigils.ex
ayrat555/credo
517699f82fc6ebe266152d997b64878b334e7bd8
[ "MIT" ]
null
null
null
defmodule Credo.Code.Sigils do @moduledoc """ This module lets you strip sigils from source code. """ alias Credo.Code.InterpolationHelper @alphabet ~w(a b c d e f g h i j k l m n o p q r s t u v w x y z) @sigil_delimiters [ {"(", ")"}, {"[", "]"}, {"{", "}"}, {"<", ">"}, {"|", "|"}, ...
26.900474
83
0.580867
b268fdf4a49942577f7e465c9746391fa919148e
283
ex
Elixir
apps/game_services_web/test/support/create_user.ex
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
4
2018-11-09T16:57:06.000Z
2021-03-02T22:57:17.000Z
apps/game_services_web/test/support/create_user.ex
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
29
2018-10-26T08:29:37.000Z
2018-12-09T21:02:05.000Z
apps/game_services_web/test/support/create_user.ex
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
null
null
null
defmodule GameServicesWeb.CreateUser do @moduledoc false ## helper to create user in test with checking out repo def get_user() do Ecto.Adapters.SQL.Sandbox.mode(GameServices.Repo, {:shared, self()}) {:ok, user} = GameServices.Account.create_user() user end end
25.727273
72
0.720848
b2691bb6f2b62437f50527c299f44ef655b64a9d
694
exs
Elixir
test/ex_jenga/signature_test.exs
beamkenya/ex_jenga
03a936a04d99614043d120d0e3ee787f1b8a5b8d
[ "AML", "MIT" ]
1
2021-09-14T09:50:22.000Z
2021-09-14T09:50:22.000Z
test/ex_jenga/signature_test.exs
beamkenya/ex_jenga
03a936a04d99614043d120d0e3ee787f1b8a5b8d
[ "AML", "MIT" ]
15
2021-04-23T11:28:49.000Z
2021-06-23T04:42:35.000Z
test/ex_jenga/signature_test.exs
beamkenya/ex_jenga
03a936a04d99614043d120d0e3ee787f1b8a5b8d
[ "AML", "MIT" ]
null
null
null
defmodule ExJenga.SignatureTest do @moduledoc false use ExUnit.Case, async: true alias ExJenga.Signature describe "verify signature" do raw_key = Application.get_env(:ex_jenga, :jenga)[:public_key] key = raw_key |> String.trim() |> String.split(~r{\n *}, trim: true) |> Enum.join("\n") [pem_entr...
24.785714
92
0.682997
b26977526b1dec2a2194b65dcef3cff7a845bd58
1,679
exs
Elixir
09/part2.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
3
2016-01-18T01:14:45.000Z
2017-05-11T09:14:49.000Z
09/part2.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
09/part2.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
defmodule Finder do def location_pair(loc1, loc2), do: [loc1, loc2] |> Enum.sort def parse_data(data) do {dist_map, locations} = data |> Enum.reduce({%{}, MapSet.new}, fn str, {dist_map, locations} -> [loc1, "to", loc2, "=", dist] = String.split(str, " ", trim: true) {Map.put(dist_map, loc...
26.234375
122
0.658725
b26986f42820c9071fc3f01cc61ca4e91bce3dcf
1,802
ex
Elixir
test/support/exemplars/date.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
6
2019-07-16T19:31:23.000Z
2021-06-05T19:01:05.000Z
test/support/exemplars/date.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
null
null
null
test/support/exemplars/date.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
3
2020-02-24T23:38:27.000Z
2020-08-01T23:50:17.000Z
defmodule Crit.Exemplars.Date do use Crit.TestConstants def today_or_earlier(), do: Faker.Date.backward(1000) def later_than_today(), do: Faker.Date.forward(1000) def iso_today_or_earlier() do iso = Date.to_iso8601(today_or_earlier()) Enum.random([iso, @today]) end def iso_later_than_today() do ...
26.895522
67
0.622087
b2699108a932a8eee20023f14391ba3c3caa0b1f
2,136
ex
Elixir
lib/events_tools/organizations/organizations.ex
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
lib/events_tools/organizations/organizations.ex
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
6
2017-10-05T20:16:34.000Z
2017-10-05T20:36:11.000Z
lib/events_tools/organizations/organizations.ex
apps-team/events-tools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
defmodule EventsTools.Organizations do @moduledoc """ The boundary for the Organizations system. """ import Ecto.Query, warn: false alias EventsTools.Repo alias EventsTools.Organizations.Organization @doc """ Returns the list of organizations. ## Examples iex> list_organizations() [%O...
20.342857
67
0.655431
b269990774a4ce7f7eaad16346347e3f39f2473d
811
ex
Elixir
Microsoft.Azure.Management.Storage/lib/microsoft/azure/management/storage/model/service_specification.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.Storage/lib/microsoft/azure/management/storage/model/service_specification.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Storage/lib/microsoft/azure/management/storage/model/service_specification.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.Storage.Model.ServiceSpecification do @moduledoc """ One property of operation, include metric specifications. ""...
28.964286
121
0.760789
b2699c5d706a1de20b368852d4cf14302dd5ebae
717
ex
Elixir
lib/tilex/liking.ex
onekilo79/tilex
c1b2dbea911a22d21420f52533e96bd63ce8f4ff
[ "MIT" ]
null
null
null
lib/tilex/liking.ex
onekilo79/tilex
c1b2dbea911a22d21420f52533e96bd63ce8f4ff
[ "MIT" ]
null
null
null
lib/tilex/liking.ex
onekilo79/tilex
c1b2dbea911a22d21420f52533e96bd63ce8f4ff
[ "MIT" ]
null
null
null
defmodule Tilex.Liking do def like(slug) do post = Tilex.Repo.get_by!(Tilex.Post, slug: slug) likes = post.likes + 1 max_likes = Enum.max([likes, post.max_likes]) max_likes_changed = max_likes != post.max_likes like_changes = %{likes: likes, max_likes: max_likes} changeset = Tilex.Post.changes...
28.68
64
0.694561
b26a0f7df376bc2b38f62598ee24ef523d7dcf9c
3,853
ex
Elixir
lib/compilers/math.ex
rishenko/dice_roller
1cdea207a2a6007963e52dca817129245ffb470e
[ "Apache-2.0" ]
8
2018-09-24T22:37:07.000Z
2021-06-17T00:47:20.000Z
lib/compilers/math.ex
rishenko/dice_roller
1cdea207a2a6007963e52dca817129245ffb470e
[ "Apache-2.0" ]
14
2018-10-05T11:17:45.000Z
2018-11-12T13:47:10.000Z
lib/compilers/math.ex
rishenko/dice_roller
1cdea207a2a6007963e52dca817129245ffb470e
[ "Apache-2.0" ]
null
null
null
defmodule ExDiceRoller.Compilers.Math do @moduledoc """ Handles compiling expressions using common mathematical operators. iex> {:ok, tokens} = ExDiceRoller.Tokenizer.tokenize("1+x") {:ok, [{:int, 1, '1'}, {:basic_operator, 1, '+'}, {:var, 1, 'x'}]} iex> {:ok, parse_tree} = ExDiceRoller.Parser.pa...
35.675926
91
0.644952
b26a332405a91e109cd3de752710bdd271da2118
6,984
ex
Elixir
lib/cometoid_web/issue_live/issues_machine.ex
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
lib/cometoid_web/issue_live/issues_machine.ex
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
lib/cometoid_web/issue_live/issues_machine.ex
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
defmodule CometoidWeb.IssueLive.IssuesMachine do use CometoidWeb.IssueLive.Machine alias Cometoid.Repo.Tracker def set_issue_properties(state, selected_issue \\ nil) def set_issue_properties( %{ selected_context: selected_context } = state, selected_issue) when not is_nil(selected_context) do ...
27.604743
132
0.690006
b26a681bbe3c28640482863e9b45a1d178138f69
4,373
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/auth.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_control/lib/google_api/service_control/v1/model/auth.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_control/lib/google_api/service_control/v1/model/auth.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
43.29703
135
0.695404
b26a887532547e98984fa56d2b6149a07e801588
4,027
ex
Elixir
lib/tesla/middleware/digest_auth.ex
brenomaia/tesla
c1e0f2d031eb87a207db33333b8d4afc58384e87
[ "MIT" ]
1
2021-08-18T06:48:51.000Z
2021-08-18T06:48:51.000Z
lib/tesla/middleware/digest_auth.ex
brenomaia/tesla
c1e0f2d031eb87a207db33333b8d4afc58384e87
[ "MIT" ]
null
null
null
lib/tesla/middleware/digest_auth.ex
brenomaia/tesla
c1e0f2d031eb87a207db33333b8d4afc58384e87
[ "MIT" ]
1
2021-09-26T18:49:44.000Z
2021-09-26T18:49:44.000Z
defmodule Tesla.Middleware.DigestAuth do @moduledoc """ Digest access authentication middleware. [Wiki on the topic](https://en.wikipedia.org/wiki/Digest_access_authentication) **NOTE**: Currently the implementation is incomplete and works only for MD5 algorithm and auth "quality of protection" (qop). ##...
29.82963
112
0.607648
b26a98041bba4385bd359e9a7f5b41d31723e316
16,143
exs
Elixir
test/openapi_compiler/typespec/schema_test.exs
jshmrtn/openapi-compiler
72ce58321bcaf7310b1286fa90dd2feaa2a7b565
[ "MIT" ]
3
2021-09-07T13:13:44.000Z
2022-01-16T22:25:11.000Z
test/openapi_compiler/typespec/schema_test.exs
jshmrtn/openapi-compiler
72ce58321bcaf7310b1286fa90dd2feaa2a7b565
[ "MIT" ]
26
2020-03-31T17:26:58.000Z
2020-04-01T17:32:21.000Z
test/openapi_compiler/typespec/schema_test.exs
jshmrtn/openapi-compiler
72ce58321bcaf7310b1286fa90dd2feaa2a7b565
[ "MIT" ]
1
2020-10-27T13:32:07.000Z
2020-10-27T13:32:07.000Z
defmodule OpenAPICompiler.Typespec.SchemaTest do @moduledoc false use ExUnit.Case use OpenAPICompiler.IExCase, async: true import OpenAPICompiler.Typespec.Schema import AssertValue doctest OpenAPICompiler.Typespec.Schema @context %OpenAPICompiler.Context{ schema: nil, base_module: Api, com...
34.420043
110
0.413306
b26aa3299d607ca88e1d50091ada92e61f960ccf
3,712
exs
Elixir
test/crew_web/live/user_live_test.exs
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
null
null
null
test/crew_web/live/user_live_test.exs
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
5
2020-07-20T01:49:01.000Z
2021-09-08T00:17:04.000Z
test/crew_web/live/user_live_test.exs
anamba/crew
c25f6a1d6ddbe0b58da9d556ff53a641c4d2a7b1
[ "BSL-1.0" ]
null
null
null
# defmodule CrewWeb.UserLiveTest do # use CrewWeb.ConnCase # import Phoenix.LiveViewTest # alias Crew.Accounts # @create_attrs %{email: "some email", name: "some name"} # @update_attrs %{email: "some updated email", name: "some updated name"} # @invalid_attrs %{email: nil, name: nil} # defp fixture(:u...
31.726496
87
0.578125
b26aaa151a18c4200bcb2a9a64042f3d120da612
5,053
ex
Elixir
lib/fun_land/reducible.ex
Qqwy/elixir_fun_land
337a322ea4102e2170557dbee0a77903dba79927
[ "MIT" ]
47
2016-07-10T15:40:21.000Z
2019-04-22T09:41:01.000Z
lib/fun_land/reducible.ex
Qqwy/elixir-fun_land
337a322ea4102e2170557dbee0a77903dba79927
[ "MIT" ]
34
2019-08-30T05:27:17.000Z
2022-03-23T18:22:32.000Z
lib/fun_land/reducible.ex
Qqwy/elixir_fun_land
337a322ea4102e2170557dbee0a77903dba79927
[ "MIT" ]
3
2016-07-23T16:23:31.000Z
2019-02-03T17:18:47.000Z
defmodule FunLand.Reducible do @moduledoc """ Anything that implements the Reducible behaviour, can be reduced to a single value, when given a combinable (or combining-function + base value). This is enough information to convert any reducible to a List. It even is enough information to implement most enumerab...
32.391026
147
0.67643
b26ab301e6d7ea561d6e6ef110be40c77f80e802
1,066
exs
Elixir
test/phoenix_live_view/socket_test.exs
chrismccord/phoenix_live_view
abaaeeff7080ce70727d162477f7cd513abff845
[ "MIT" ]
null
null
null
test/phoenix_live_view/socket_test.exs
chrismccord/phoenix_live_view
abaaeeff7080ce70727d162477f7cd513abff845
[ "MIT" ]
null
null
null
test/phoenix_live_view/socket_test.exs
chrismccord/phoenix_live_view
abaaeeff7080ce70727d162477f7cd513abff845
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.SocketTest do use ExUnit.Case, async: true test "use with no override" do defmodule MySocket do use Phoenix.LiveView.Socket end info = %{peer_data: %{}} assert {:ok, %Phoenix.Socket{} = socket} = MySocket.connect(%{}, %Phoenix.Socket{}, info) assert socket.priv...
28.052632
96
0.631332
b26ab712dbef948695b453b752ed38eb08ede4c5
2,469
ex
Elixir
lib/cloak/ciphers/deprecated/aes_gcm.ex
predrag-rakic/cloak
dd91e941936cf93cbc7ca83941944a3501adde62
[ "MIT" ]
475
2015-09-19T14:09:11.000Z
2022-03-28T14:53:27.000Z
lib/cloak/ciphers/deprecated/aes_gcm.ex
predrag-rakic/cloak
dd91e941936cf93cbc7ca83941944a3501adde62
[ "MIT" ]
98
2015-12-16T03:53:48.000Z
2022-03-24T22:34:56.000Z
lib/cloak/ciphers/deprecated/aes_gcm.ex
predrag-rakic/cloak
dd91e941936cf93cbc7ca83941944a3501adde62
[ "MIT" ]
67
2015-10-21T11:56:38.000Z
2022-03-18T13:51:16.000Z
defmodule Cloak.Ciphers.Deprecated.AES.GCM do @moduledoc """ DEPRECATED version of the `Cloak.Ciphers.AES.GCM` cipher, for use in migrating existing data to the new format used by `Cloak.Ciphers.AES.GCM`. ## Rationale The old `Cloak.AES.GCM` cipher used the following format for ciphertext: +---------...
30.109756
99
0.571081
b26ae5908974f9f0bf9a8f8250653542e8435d58
1,516
ex
Elixir
lib/chat_api_web.ex
vbrazo/chat_elixir_api
f2595d123934014b3a7c1b3b63b987fa3df5b3ad
[ "MIT" ]
2
2021-04-30T08:30:26.000Z
2021-04-30T16:20:39.000Z
lib/chat_api_web.ex
vbrazo/chat_elixir_api
f2595d123934014b3a7c1b3b63b987fa3df5b3ad
[ "MIT" ]
null
null
null
lib/chat_api_web.ex
vbrazo/chat_elixir_api
f2595d123934014b3a7c1b3b63b987fa3df5b3ad
[ "MIT" ]
null
null
null
defmodule ChatApiWeb 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 ChatApiWeb, :controller use ChatApiWeb, :view The definitions below will be executed for every view, controller, ...
22.969697
69
0.693272
b26af446dff817cf4f6591aa0667848daa433b0f
480
ex
Elixir
test/support/fixtures.ex
lesserhatch/ngram
18ff289dc9d087aed209e8c43b2c521f879aab45
[ "Apache-2.0" ]
null
null
null
test/support/fixtures.ex
lesserhatch/ngram
18ff289dc9d087aed209e8c43b2c521f879aab45
[ "Apache-2.0" ]
null
null
null
test/support/fixtures.ex
lesserhatch/ngram
18ff289dc9d087aed209e8c43b2c521f879aab45
[ "Apache-2.0" ]
null
null
null
defmodule Ngram.Fixtures do @moduledoc """ This module defines test helpers for creating entities. """ alias Ngram.Player @spec fixture(type :: atom(), attrs :: map()) :: struct() def fixture(type, attrs \\ %{}) def fixture(:player, attrs) do %Player{ id: Ecto.UUID.generate(), name: Map....
26.666667
96
0.608333
b26afda18d984adb67775bf4741fc0c7ea7e7e33
1,169
exs
Elixir
test/metadata_test.exs
JamesFerguson/exq
4457ea50ad4c8a6a7e127da5acafc130960822bb
[ "Apache-2.0" ]
1,406
2015-01-16T03:00:32.000Z
2022-03-28T11:38:22.000Z
test/metadata_test.exs
JamesFerguson/exq
4457ea50ad4c8a6a7e127da5acafc130960822bb
[ "Apache-2.0" ]
372
2015-01-08T05:15:11.000Z
2022-03-18T18:05:34.000Z
test/metadata_test.exs
JamesFerguson/exq
4457ea50ad4c8a6a7e127da5acafc130960822bb
[ "Apache-2.0" ]
217
2015-02-01T20:21:36.000Z
2022-01-28T16:19:55.000Z
defmodule MetadataTest do use ExUnit.Case alias Exq.Worker.Metadata @job %{args: [1, 2, 3]} setup do {:ok, _} = Metadata.start_link(%{}) {:ok, metadata: Metadata.server_name(nil)} end test "associate job to worker pid", %{metadata: metadata} do pid = spawn_link(fn -> receive do ...
22.921569
78
0.591104
b26b03e43c07a50e3d0d0e94ffb5777305bcfc04
3,489
ex
Elixir
lib/mix/lib/mix/shell.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/shell.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Shell do @moduledoc """ Defines `Mix.Shell` contract. """ @doc """ Prints the given message to the shell. """ @callback info(message :: IO.ANSI.ansidata) :: any @doc """ Prints the given error to the shell. """ @callback error(message :: IO.ANSI.ansidata) :: any @doc """ Promp...
25.282609
106
0.605618
b26b1e1ce5065607108b096134e6f45b49d4b292
1,242
ex
Elixir
test/support/conn_case.ex
full-stackory/full_stackory_slack
a58f73248a91248554548187ab184e7e0b3f3b23
[ "Apache-2.0" ]
null
null
null
test/support/conn_case.ex
full-stackory/full_stackory_slack
a58f73248a91248554548187ab184e7e0b3f3b23
[ "Apache-2.0" ]
2
2021-03-10T06:19:38.000Z
2021-05-11T02:11:14.000Z
test/support/conn_case.ex
full-stackory/full_stackory_slack
a58f73248a91248554548187ab184e7e0b3f3b23
[ "Apache-2.0" ]
null
null
null
defmodule FullStackorySlackWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Fina...
30.292683
79
0.739936
b26b2a23adb2062426e2a14ca74d536d3612773f
1,344
exs
Elixir
config/config.exs
yasuhiro-okada-aktsk/sample_rakuten_genre
560454d694ea6e2727a2f51ca43bfd0f87ec4dda
[ "MIT" ]
null
null
null
config/config.exs
yasuhiro-okada-aktsk/sample_rakuten_genre
560454d694ea6e2727a2f51ca43bfd0f87ec4dda
[ "MIT" ]
null
null
null
config/config.exs
yasuhiro-okada-aktsk/sample_rakuten_genre
560454d694ea6e2727a2f51ca43bfd0f87ec4dda
[ "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...
34.461538
73
0.75372
b26b34f3e848bb4390b5531945a487563d35c881
1,233
ex
Elixir
lib/elixir_snake/elixir_snake_router.ex
yokelpole/snake-elixir
7e90ac7f9cd90dd64e37ff4ff7e4e503c5196810
[ "MIT" ]
null
null
null
lib/elixir_snake/elixir_snake_router.ex
yokelpole/snake-elixir
7e90ac7f9cd90dd64e37ff4ff7e4e503c5196810
[ "MIT" ]
null
null
null
lib/elixir_snake/elixir_snake_router.ex
yokelpole/snake-elixir
7e90ac7f9cd90dd64e37ff4ff7e4e503c5196810
[ "MIT" ]
null
null
null
defmodule ElixirSnake.Router do use Plug.Router use Plug.Debugger require Logger plug(Plug.Logger, log: :debug) plug(:match) plug(:dispatch) # Routes! get "/" do conn |> put_resp_content_type("text/html") |> send_resp(200, """ <div> This is the home of a battlesnake ...
21.631579
145
0.634225
b26b6824ca0ca224d61324cdcde6240be51a76fa
421
exs
Elixir
test/grimoire_web/views/error_view_test.exs
ohr486/Grimoire
4ad1ff8bb2a31da5b848ca680b33b730d6ae5ce8
[ "MIT" ]
null
null
null
test/grimoire_web/views/error_view_test.exs
ohr486/Grimoire
4ad1ff8bb2a31da5b848ca680b33b730d6ae5ce8
[ "MIT" ]
null
null
null
test/grimoire_web/views/error_view_test.exs
ohr486/Grimoire
4ad1ff8bb2a31da5b848ca680b33b730d6ae5ce8
[ "MIT" ]
null
null
null
defmodule GrimoireWeb.ErrorViewTest do use GrimoireWeb.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(GrimoireWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do ...
28.066667
93
0.736342
b26b6b55d5048f63b54a27082d981ba538e27308
4,925
ex
Elixir
lib/data/user.ex
the3hm/seraph_mud
c098a22184a0a6bcbd56cacf7b0f176dd173260d
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/data/user.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/data/user.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Data.User do @moduledoc """ User schema """ use Data.Schema alias Data.Character alias Data.User.Session schema "users" do field(:name, :string) field(:email, :string) field(:password, :string, virtual: true) field(:password_confirmation, :string, virtual: true) field(:pas...
25.25641
87
0.634721
b26b75182d7c5ed0c53118a980687ab00a96f6d8
2,485
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/method.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_user/lib/google_api/service_user/v1/model/method.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/method.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 ...
38.230769
130
0.686922
b26b84f7b62f4297f90077ee0606059f64ca3425
7,770
ex
Elixir
lib/format_parser/image.ex
antoniskalou/format_parser.ex
bce7f1cdae5ec4be198c49b6f5ef303d43135e33
[ "Apache-2.0" ]
null
null
null
lib/format_parser/image.ex
antoniskalou/format_parser.ex
bce7f1cdae5ec4be198c49b6f5ef303d43135e33
[ "Apache-2.0" ]
null
null
null
lib/format_parser/image.ex
antoniskalou/format_parser.ex
bce7f1cdae5ec4be198c49b6f5ef303d43135e33
[ "Apache-2.0" ]
null
null
null
defmodule FormatParser.Image do alias __MODULE__ @moduledoc """ An Image struct and functions. The Image struct contains the fields format, width_px, height_px, intrinsics and nature. """ defstruct [:format, :width_px, :height_px, nature: :image, intrinsics: %{}] @doc """ Parses a file and extracts ...
33.491379
213
0.607465
b26b863210e76971f60c9cbe5729b034d47170c6
1,799
exs
Elixir
test/event_parser_test.exs
czogori/sherdog_parser
0e260df5e6c1cbd22b4850f43f313eee2c565a22
[ "MIT" ]
null
null
null
test/event_parser_test.exs
czogori/sherdog_parser
0e260df5e6c1cbd22b4850f43f313eee2c565a22
[ "MIT" ]
null
null
null
test/event_parser_test.exs
czogori/sherdog_parser
0e260df5e6c1cbd22b4850f43f313eee2c565a22
[ "MIT" ]
null
null
null
defmodule EventParserTest do use ExUnit.Case alias SherdogParser.Fight doctest SherdogParser setup_all do {:ok, html} = File.read("./test/fixtures/event-ksw-44.html") {:ok, event: SherdogParser.event(html)} end test "event ksw 44", state do event = state.event assert "KSW 44" == event.ti...
27.257576
82
0.594219
b26b9169f71c632cdf0f41a3fa6528f24b547f80
1,956
ex
Elixir
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/photo_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/photo_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/photo_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...
34.315789
166
0.740798
b26b9d8f95932bdafaa270490fd06097352e36e5
3,042
ex
Elixir
apps/neoscan_web/lib/neoscan_web/router.ex
naetkss/neo-scan
ecfdffc3e8fca21adad2d292c056f3ba557c42be
[ "MIT" ]
1
2021-02-23T02:55:26.000Z
2021-02-23T02:55:26.000Z
apps/neoscan_web/lib/neoscan_web/router.ex
solohin/neo-scan
2aa6dfdb0346b108a20463efe1dcd8bbb00cbc0e
[ "MIT" ]
null
null
null
apps/neoscan_web/lib/neoscan_web/router.ex
solohin/neo-scan
2aa6dfdb0346b108a20463efe1dcd8bbb00cbc0e
[ "MIT" ]
1
2019-10-16T21:37:31.000Z
2019-10-16T21:37:31.000Z
defmodule NeoscanWeb.Router do use NeoscanWeb, :router alias NeoscanWeb.Plugs.Locale alias NeoscanWeb.Plugs.Tooltip pipeline :browser do plug(:accepts, ["html"]) plug(:fetch_session) plug(Locale) plug(Tooltip) plug(:fetch_flash) plug(:protect_from_forgery) plug(:put_secure_browser_h...
39
89
0.708744
b26ba7b94ccc83e1363609fb1a5940653db1d0f5
89
ex
Elixir
lib/mix/tasks/create.ex
ream88/sjj-impaired
1377611a88e27173a09f90f435d0bda4ebaad630
[ "MIT" ]
1
2020-07-22T12:04:23.000Z
2020-07-22T12:04:23.000Z
lib/mix/tasks/create.ex
ream88/sjj-impaired
1377611a88e27173a09f90f435d0bda4ebaad630
[ "MIT" ]
null
null
null
lib/mix/tasks/create.ex
ream88/sjj-impaired
1377611a88e27173a09f90f435d0bda4ebaad630
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Create do use Mix.Task def run(_) do Create.run() end end
11.125
29
0.662921
b26bdf5444ac310f7b40ec714292561e91274fb5
21
ex
Elixir
testData/org/elixir_lang/parser_definition/no_parentheses_no_arguments_call_parsing_test_case/DecimalWholeNumberDotIdentifier.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_no_arguments_call_parsing_test_case/DecimalWholeNumberDotIdentifier.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_no_arguments_call_parsing_test_case/DecimalWholeNumberDotIdentifier.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
9876543210.identifier
21
21
0.952381
b26bdf5572e150a4a87a892f853879aa66c96c9c
2,050
ex
Elixir
lib/telluride_sensor/messaging/sensor_reading_queue.ex
brsg/telluride_sensor
65936295777c2d3edca767ac018af68495e8a775
[ "Apache-2.0" ]
1
2021-02-21T15:18:25.000Z
2021-02-21T15:18:25.000Z
lib/telluride_sensor/messaging/sensor_reading_queue.ex
brsg/telluride_sensor
65936295777c2d3edca767ac018af68495e8a775
[ "Apache-2.0" ]
null
null
null
lib/telluride_sensor/messaging/sensor_reading_queue.ex
brsg/telluride_sensor
65936295777c2d3edca767ac018af68495e8a775
[ "Apache-2.0" ]
1
2021-02-21T15:18:51.000Z
2021-02-21T15:18:51.000Z
defmodule TellurideSensor.Messaging.SensorReadingQueue do @moduledoc """ SensorReadingQueue models the `sensor_reading_queue` in RabbitMQ and provides consistent logic and configuration for creating producers and consumers on that queue. """ @exchange "sensor_events" @msg_queue "sensor_re...
27.702703
88
0.57122
b26c0d93d6352ea73b4f1f4d1f2f77059736fbde
4,433
ex
Elixir
lib/worker/batcher/message.ex
andrewlobos-argo/bors-ng
1f15a9318b8111cb5cb440e9f0bcd1ab7647817a
[ "Apache-2.0" ]
null
null
null
lib/worker/batcher/message.ex
andrewlobos-argo/bors-ng
1f15a9318b8111cb5cb440e9f0bcd1ab7647817a
[ "Apache-2.0" ]
null
null
null
lib/worker/batcher/message.ex
andrewlobos-argo/bors-ng
1f15a9318b8111cb5cb440e9f0bcd1ab7647817a
[ "Apache-2.0" ]
null
null
null
defmodule BorsNG.Worker.Batcher.Message do @moduledoc """ User-readable strings that go in commit messages and comments. """ def generate_status(:waiting) do {"Waiting in queue", :running} end def generate_status(:canceled) do {"Canceled", :error} end def generate_status(:running) do {"Runn...
27.70625
95
0.658019
b26c3fe1fdaab048115c594d23493e008a15ca16
3,550
exs
Elixir
test/ex_doc/doc_ast_test.exs
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
1,206
2015-01-02T02:05:12.000Z
2022-03-29T17:18:10.000Z
test/ex_doc/doc_ast_test.exs
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
1,266
2015-01-03T03:26:04.000Z
2022-03-31T09:43:53.000Z
test/ex_doc/doc_ast_test.exs
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
300
2015-01-03T04:07:24.000Z
2022-03-29T08:10:56.000Z
defmodule ExDoc.DocASTTest do use ExUnit.Case, async: true alias ExDoc.DocAST describe "parse!/3" do test "markdown" do markdown = """ **foo** """ assert DocAST.parse!(markdown, "text/markdown") == [{:p, [], [{:strong, [], ["foo"], %{}}], %{}}] end test "markd...
28.174603
96
0.541408
b26c55dd3b9ab0393d5aae156a39af33cf136c05
2,717
ex
Elixir
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/source_context.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/source_context.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/source_context.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...
47.666667
179
0.747884
b26c658ae0d1070b8363d685776e30c7b11eb656
424
exs
Elixir
test/notation/subtype/direct_fun_test.exs
bamorim/exchema
4e11136fae6092e0e64870b455fd6a68cf36603c
[ "Apache-2.0" ]
21
2018-01-06T22:33:20.000Z
2020-02-07T18:49:22.000Z
test/notation/subtype/direct_fun_test.exs
bamorim/exchema
4e11136fae6092e0e64870b455fd6a68cf36603c
[ "Apache-2.0" ]
5
2018-02-15T16:39:14.000Z
2018-11-30T21:06:08.000Z
test/notation/subtype/direct_fun_test.exs
bamorim/exchema
4e11136fae6092e0e64870b455fd6a68cf36603c
[ "Apache-2.0" ]
4
2018-05-21T21:26:27.000Z
2019-04-17T16:45:14.000Z
defmodule Notation.Subtype.DirectFunTest do use ExUnit.Case import Exchema.Notation alias Exchema.Types, as: T subtype Type, T.Integer, &(&1 < 5) test "it generates an exchema type" do assert :erlang.function_exported(Type, :__type__, 1) end test "it executes the function to check the type" do ...
23.555556
56
0.700472
b26c83b081a76b84f0ba7ae87079a5dbae45089c
1,543
ex
Elixir
lib/gforce_web/views/error_helpers.ex
JordanCheney/gforce
44b2862e3a4aacb13316922431f22f0889c5fa99
[ "MIT" ]
null
null
null
lib/gforce_web/views/error_helpers.ex
JordanCheney/gforce
44b2862e3a4aacb13316922431f22f0889c5fa99
[ "MIT" ]
2
2021-05-11T10:59:37.000Z
2021-06-17T00:54:44.000Z
lib/gforce_web/views/error_helpers.ex
JordanCheney/gforce
44b2862e3a4aacb13316922431f22f0889c5fa99
[ "MIT" ]
null
null
null
defmodule GforceWeb.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(:...
32.145833
75
0.661698
b26c95423d6bbfea8073d67445856dc28ce2bffe
1,322
ex
Elixir
lib/money_bin/migrations.ex
KazW/money_bin_sql
32c3513e734b4b1f0a9688e9f60bdd50a54b4a4f
[ "MIT" ]
null
null
null
lib/money_bin/migrations.ex
KazW/money_bin_sql
32c3513e734b4b1f0a9688e9f60bdd50a54b4a4f
[ "MIT" ]
1
2019-01-01T06:50:32.000Z
2019-01-01T06:50:32.000Z
lib/money_bin/migrations.ex
KazW/money_bin_sql
32c3513e734b4b1f0a9688e9f60bdd50a54b4a4f
[ "MIT" ]
null
null
null
defmodule MoneyBin.Migrations do use MoneyBin, :config_variables use Ecto.Migration @moduledoc false def change do create table(@tables[:account]) do timestamps() end create table(@tables[:transaction]) do add(:reversal_for_transaction_id, references(@tables[:transaction])) add(:...
28.12766
81
0.675492
b26ca59b0f4caa544439d677948fac929d1ee957
5,911
exs
Elixir
.credo.exs
gridgentoo/cuda
e758c05674605e4601c568160904bcd5e2e7be94
[ "MIT" ]
4
2019-09-18T14:25:02.000Z
2021-12-16T12:09:10.000Z
.credo.exs
gridgentoo/cuda
e758c05674605e4601c568160904bcd5e2e7be94
[ "MIT" ]
null
null
null
.credo.exs
gridgentoo/cuda
e758c05674605e4601c568160904bcd5e2e7be94
[ "MIT" ]
1
2021-11-08T11:50:08.000Z
2021-11-08T11:50:08.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
42.221429
80
0.662324
b26ce204b194a3dbfa2e4edab8e0b9ac5fda2133
3,064
exs
Elixir
test/controllers/pipeline_jobs_controller_test.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
2
2019-03-05T16:29:10.000Z
2020-01-17T14:11:48.000Z
test/controllers/pipeline_jobs_controller_test.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
3
2019-03-18T20:26:48.000Z
2020-06-25T14:31:13.000Z
test/controllers/pipeline_jobs_controller_test.exs
crosscloudci/ci_status_repository
335e8b89bbf59e6cf63e49541ce3ea6b60167e52
[ "Apache-2.0" ]
1
2018-06-16T15:32:25.000Z
2018-06-16T15:32:25.000Z
require IEx; defmodule CncfDashboardApi.PipelineJobsControllerTest do use CncfDashboardApi.ConnCase alias CncfDashboardApi.PipelineJobs # "jobs":[ # { # "pipeline_id":1, # "project_id":1, # "job_id":23, # ...
39.282051
139
0.656332
b26d1a9d16c8ceaca8976da08fca8aa26f693de4
6,728
ex
Elixir
lib/credo/check/refactor/pipe_chain_start.ex
jonnystoten/credo
03879f4ec6987e03401d8553572804cfa5c19130
[ "MIT" ]
null
null
null
lib/credo/check/refactor/pipe_chain_start.ex
jonnystoten/credo
03879f4ec6987e03401d8553572804cfa5c19130
[ "MIT" ]
null
null
null
lib/credo/check/refactor/pipe_chain_start.ex
jonnystoten/credo
03879f4ec6987e03401d8553572804cfa5c19130
[ "MIT" ]
null
null
null
defmodule Credo.Check.Refactor.PipeChainStart do use Credo.Check, tags: [:controversial], param_defaults: [ excluded_argument_types: [], excluded_functions: [] ], explanations: [ check: """ Pipes (`|>`) can become more readable by starting with a "raw" value. So while th...
24.644689
88
0.580707
b26d1de35827980affde454755f32d5ba1485a71
527
ex
Elixir
apps/toniefy/lib/toniex/library/track.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
17
2021-04-12T10:01:14.000Z
2022-02-25T17:30:27.000Z
apps/toniefy/lib/toniex/library/track.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
1
2022-03-09T09:35:00.000Z
2022-03-09T11:46:14.000Z
apps/toniefy/lib/toniex/library/track.ex
benvp/toniefy
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
null
null
null
defmodule Toniex.Library.Track do use Ecto.Schema import Ecto.Changeset alias Toniex.Library schema "tracks" do field :artist, :string field :duration, :integer field :title, :string field :uri, :string belongs_to :playlist, Library.Playlist timestamps(type: :utc_datetime) end @...
21.08
74
0.677419
b26d3e7cfb1f933b0f5d8cb456800474d6d4e1c4
2,797
ex
Elixir
lib/new_relic_addons/ecto.ex
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
null
null
null
lib/new_relic_addons/ecto.ex
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
2
2019-09-09T08:26:44.000Z
2019-11-05T04:31:37.000Z
lib/new_relic_addons/ecto.ex
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
1
2019-09-06T09:27:27.000Z
2019-09-06T09:27:27.000Z
defmodule NewRelicAddons.Ecto do @moduledoc """ Provides Ecto instrumentation based on telemetry. ## Features - reports database operations with repo, table and operation name - reports database operations with SQL statements visible within transaction traces - reports queue & decode events visible next t...
32.905882
98
0.708974
b26db6a807fe07d37024a877c53666902e07503b
3,018
exs
Elixir
test/opentelemetry_ecto_test.exs
dwebster17/opentelemetry_ecto
809b7603e6416549bacf85307c6a40da18e7c8b3
[ "Apache-2.0" ]
null
null
null
test/opentelemetry_ecto_test.exs
dwebster17/opentelemetry_ecto
809b7603e6416549bacf85307c6a40da18e7c8b3
[ "Apache-2.0" ]
null
null
null
test/opentelemetry_ecto_test.exs
dwebster17/opentelemetry_ecto
809b7603e6416549bacf85307c6a40da18e7c8b3
[ "Apache-2.0" ]
3
2020-12-14T14:12:43.000Z
2020-12-22T00:25:45.000Z
defmodule OpentelemetryEctoTest do alias OpentelemetryEcto.TestRepo, as: Repo alias OpentelemetryEcto.TestModels.{User, Post} require OpenTelemetry.Tracer use ExUnit.Case @event_name [:opentelemetry_ecto, :test_repo] require Record for {name, spec} <- Record.extract_all(from_lib: "opentelemetry/include...
27.944444
98
0.602386
b26e217f339d4454ff2d7e8758cc8d29e62749c4
3,440
ex
Elixir
lib/bson/decimal128.ex
hauleth/mongodb
d1be214cb38494bfd2cb861628526b853e7b776f
[ "Apache-2.0" ]
null
null
null
lib/bson/decimal128.ex
hauleth/mongodb
d1be214cb38494bfd2cb861628526b853e7b776f
[ "Apache-2.0" ]
null
null
null
lib/bson/decimal128.ex
hauleth/mongodb
d1be214cb38494bfd2cb861628526b853e7b776f
[ "Apache-2.0" ]
null
null
null
defmodule BSON.Decimal128 do use Bitwise @signed_bit_mask 1 <<< 63 @combination_mask 0x1F @combintation_infinity 30 @combintation_nan 31 @exponent_mask 0x3FFF @exponent_bias 6176 @nan_mask 0x7c00000000000000 @inf_mask 0x7800000000000000 def decode(<<_::little-64, high::little-64>> = bits) do ...
25.109489
79
0.662209
b26e42823cecfeddf3dba69376296a63ab408296
144
exs
Elixir
frameworks/Elixir/cowboy/config/config.exs
greg-hellings/FrameworkBenchmarks
6594d32db618c6ca65e0106c5adf2671f7b63654
[ "BSD-3-Clause" ]
1
2021-04-25T06:44:06.000Z
2021-04-25T06:44:06.000Z
frameworks/Elixir/cowboy/config/config.exs
greg-hellings/FrameworkBenchmarks
6594d32db618c6ca65e0106c5adf2671f7b63654
[ "BSD-3-Clause" ]
null
null
null
frameworks/Elixir/cowboy/config/config.exs
greg-hellings/FrameworkBenchmarks
6594d32db618c6ca65e0106c5adf2671f7b63654
[ "BSD-3-Clause" ]
2
2015-01-15T08:52:28.000Z
2019-05-18T05:11:58.000Z
use Mix.Config config :mysql, username: "benchmarkdbuser", password: "benchmarkdbpass", database: "hello_world", hostname: "localhost"
18
30
0.729167
b26e7ac08bfa319397052799cf303376cf654cde
3,953
ex
Elixir
lib/vintage_net_wizard/web/endpoint.ex
jfcloutier/vintage_net_wizard
be8806a6de9d528c6560a1d3e49dad1380f1499d
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_wizard/web/endpoint.ex
jfcloutier/vintage_net_wizard
be8806a6de9d528c6560a1d3e49dad1380f1499d
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_wizard/web/endpoint.ex
jfcloutier/vintage_net_wizard
be8806a6de9d528c6560a1d3e49dad1380f1499d
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetWizard.Web.Endpoint do @moduledoc """ Supervisor for the Web part of the VintageNet Wizard. """ alias VintageNetWizard.{BackendServer, Callbacks, Web.Router, Web.RedirectRouter} use DynamicSupervisor @type opt :: {:ssl, :ssl.tls_server_option()} | {:on_exit, {module(), atom(), list()}} ...
29.281481
98
0.636479
b26ebfd6d278b765db0f5b31d57e9e701f171f15
5,859
ex
Elixir
lib/astarte_rpc/config.ex
Annopaolo/astarte_rpc
cd720004d225631f41d6f4d7f964aecb92b52849
[ "Apache-2.0" ]
3
2018-02-02T14:07:03.000Z
2020-02-10T07:12:39.000Z
lib/astarte_rpc/config.ex
Annopaolo/astarte_rpc
cd720004d225631f41d6f4d7f964aecb92b52849
[ "Apache-2.0" ]
49
2018-02-02T10:00:30.000Z
2022-03-22T10:39:10.000Z
lib/astarte_rpc/config.ex
Annopaolo/astarte_rpc
cd720004d225631f41d6f4d7f964aecb92b52849
[ "Apache-2.0" ]
5
2018-02-02T09:58:07.000Z
2021-04-07T08:53:44.000Z
# # This file is part of Astarte. # # Copyright 2017 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
33.867052
249
0.701997
b26ec5037f445f537509b9553adf8d6a005b3081
3,883
ex
Elixir
lib/membrane_ffmpeg_swscale/scaler.ex
membraneframework/membrane_ffmpeg_swscale_plugin
75238174fca9009138eb555c1b0318c33da86fe7
[ "Apache-2.0" ]
null
null
null
lib/membrane_ffmpeg_swscale/scaler.ex
membraneframework/membrane_ffmpeg_swscale_plugin
75238174fca9009138eb555c1b0318c33da86fe7
[ "Apache-2.0" ]
2
2021-07-15T09:24:52.000Z
2022-02-24T12:42:59.000Z
lib/membrane_ffmpeg_swscale/scaler.ex
membraneframework/membrane_ffmpeg_swscale_plugin
75238174fca9009138eb555c1b0318c33da86fe7
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.FFmpeg.SWScale.Scaler do @moduledoc """ This element performs video scaling, using SWScale module of FFmpeg library. There are two options that have to be specified when creating Scaler: - `output_width` - desired scaled video width. - `output_height` - desired scaled video height. Both...
35.623853
293
0.660314
b26ecb8ae76a38bc67a4283d1ca337412e77517b
69
exs
Elixir
episode06/test/test/views/layout_view_test.exs
paulfioravanti/learn_phoenix
3767f28b09bb5e740231dd261a0bfa8b3eea98d3
[ "MIT" ]
null
null
null
episode06/test/test/views/layout_view_test.exs
paulfioravanti/learn_phoenix
3767f28b09bb5e740231dd261a0bfa8b3eea98d3
[ "MIT" ]
null
null
null
episode06/test/test/views/layout_view_test.exs
paulfioravanti/learn_phoenix
3767f28b09bb5e740231dd261a0bfa8b3eea98d3
[ "MIT" ]
null
null
null
defmodule Test.LayoutViewTest do use Test.ConnCase, async: true end
23
32
0.811594
b26f0db540c4f2f762a5072e1f4dd52b04ab0abc
343
exs
Elixir
test/discovery/manual_ip_test.exs
connorlay/hue_sdk
f69e038c7f6527277f2ef13c92eb10c5d98b6ba8
[ "MIT" ]
4
2021-03-22T16:50:55.000Z
2021-07-09T11:42:08.000Z
test/discovery/manual_ip_test.exs
connorlay/hue_sdk
f69e038c7f6527277f2ef13c92eb10c5d98b6ba8
[ "MIT" ]
null
null
null
test/discovery/manual_ip_test.exs
connorlay/hue_sdk
f69e038c7f6527277f2ef13c92eb10c5d98b6ba8
[ "MIT" ]
null
null
null
defmodule HueSDK.Discovery.ManualIPTest do use ExUnit.Case, async: true alias HueSDK.Bridge alias HueSDK.Discovery.ManualIP @ip_address "127.0.0.1" test "do_discovery/1 returns a basic bridge struct" do assert {:manual_ip, [%Bridge{host: @ip_address}]} == ManualIP.do_discovery(ip_address: ...
24.5
59
0.717201
b26f19321991164d85a95f397091d5593e989df6
1,570
exs
Elixir
apps/local_ledger_db/priv/repo/migrations/20180419111338_rename_relation_id_to_relation_uuid.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/local_ledger_db/priv/repo/migrations/20180419111338_rename_relation_id_to_relation_uuid.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/local_ledger_db/priv/repo/migrations/20180419111338_rename_relation_id_to_relation_uuid.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule LocalLedgerDB.Repo.Migrations.RenameRelationIdToRelationUuid do use Ecto.Migration @tables [ minted_token: [ friendly_id: :id ], transaction: [ minted_token_friendly_id: :minted_token_id, entry_id: :entry_uuid ] ] def up do Enum.each(@tables, fn({table, maps}) -...
23.787879
73
0.659236
b26f2e734a5184b9523e3a01f268af0a5f4c7f26
1,460
exs
Elixir
test/courtbot_web/controllers/sms_test.exs
blakedietz/courtbot
b18d7eb84fd1405b359c8da980e1175bb1738841
[ "ISC" ]
6
2018-07-25T18:35:57.000Z
2018-11-03T17:01:02.000Z
test/courtbot_web/controllers/sms_test.exs
blakedietz/courtbot
b18d7eb84fd1405b359c8da980e1175bb1738841
[ "ISC" ]
19
2018-11-12T05:29:44.000Z
2020-04-12T01:04:41.000Z
test/courtbot_web/controllers/sms_test.exs
blakedietz/courtbot
b18d7eb84fd1405b359c8da980e1175bb1738841
[ "ISC" ]
1
2020-04-12T00:36:50.000Z
2020-04-12T00:36:50.000Z
defmodule CourtbotWeb.Controller.SmsTest do use CourtbotTest.Helper.Case use ExUnitProperties use Plug.Test alias Courtbot.{Case, Repo} setup do Repo.insert(CourtbotTest.Helper.Configuration.idaho()) Repo.insert!(CourtbotTest.Helper.Case.debug_case()) cases = %{ valid: %Case{} ...
27.54717
129
0.59726
b26f38db6ff0a032db44e4f4a632188904fbef3e
4,560
ex
Elixir
apps/data/lib/grapevine_data/blogs.ex
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
apps/data/lib/grapevine_data/blogs.ex
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
apps/data/lib/grapevine_data/blogs.ex
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule GrapevineData.Blogs do @moduledoc """ Context for blogs """ import Ecto.Query alias GrapevineData.Blogs.BlogPost alias GrapevineData.Notifications alias GrapevineData.Repo alias Stein.Pagination @doc """ Changeset for a new blog post """ def new_post(), do: Ecto.Changeset.change(%Bl...
25.054945
109
0.628509
b26f697684e79309861e0190a3f04a0c5e82e7f3
111
ex
Elixir
apps/wall_web/lib/wall_web/views/layout_view.ex
rizafahmi/community_wall
3cc99942ce9f73d1f520f53075da44a1c5a3356b
[ "MIT" ]
6
2019-12-24T11:18:32.000Z
2020-02-15T10:24:14.000Z
apps/wall_web/lib/wall_web/views/layout_view.ex
rizafahmi/community_wall
3cc99942ce9f73d1f520f53075da44a1c5a3356b
[ "MIT" ]
null
null
null
apps/wall_web/lib/wall_web/views/layout_view.ex
rizafahmi/community_wall
3cc99942ce9f73d1f520f53075da44a1c5a3356b
[ "MIT" ]
2
2020-02-28T16:21:17.000Z
2020-08-17T19:55:09.000Z
defmodule WallWeb.LayoutView do use WallWeb, :view def get_title(hashtag) do "#" <> hashtag end end
13.875
31
0.684685
b26f7e767d03b9317099354d6dd17eb875f26414
5,689
ex
Elixir
gherkin/elixir/lib/gherkin.ex
alvivi/cucumber
647e4c9a46d441fb6d86b22138ad44580d500f75
[ "MIT" ]
1
2021-01-22T09:13:21.000Z
2021-01-22T09:13:21.000Z
gherkin/elixir/lib/gherkin.ex
alvivi/cucumber
647e4c9a46d441fb6d86b22138ad44580d500f75
[ "MIT" ]
null
null
null
gherkin/elixir/lib/gherkin.ex
alvivi/cucumber
647e4c9a46d441fb6d86b22138ad44580d500f75
[ "MIT" ]
null
null
null
defmodule CucumberGherkin do alias CucumberMessages.{Envelope, Source} alias CucumberGherkin.{Parser, ParserContext, TokenWriter} @moduledoc """ `CucumberGherkin` allows you to parse Gherkin files to pickles (or tokens). These pickles can be used in a cucumber implementation. The CucumberMessages library is...
32.695402
137
0.642116
b27015c6fbe305d6037fbafa1cbad04b55abff1b
494
ex
Elixir
elixir/nth-prime/lib/prime.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
6
2019-06-19T15:43:20.000Z
2020-07-17T19:46:09.000Z
elixir/nth-prime/lib/prime.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
10
2021-05-10T21:02:55.000Z
2021-05-11T20:29:41.000Z
elixir/nth-prime/lib/prime.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
1
2019-06-25T10:42:14.000Z
2019-06-25T10:42:14.000Z
defmodule Prime do @doc """ Generates the nth prime. """ @spec nth(non_neg_integer) :: non_neg_integer def nth(count) when count > 0 do primes() |> Enum.at(count - 1) end defp primes do Stream.iterate(2, &(&1 + 1)) |> Stream.reject(&composite?/1) end defp composite?(2), do: false ...
19.76
70
0.617409
b27030e1ef686a4b328d34a9f8a8a2778e49fdcd
13,524
ex
Elixir
clients/drive/lib/google_api/drive/v3/model/file.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/file.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/file.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
66.294118
422
0.718796
b27065b3acb8bdcc6ddbaae8490eac6619b40252
6,851
ex
Elixir
lib/e_q.ex
bakkdoor/e_q
c38315716bd43dfd22166c7764c1d1512b062fa8
[ "MIT" ]
1
2021-07-27T05:38:46.000Z
2021-07-27T05:38:46.000Z
lib/e_q.ex
bakkdoor/e_q
c38315716bd43dfd22166c7764c1d1512b062fa8
[ "MIT" ]
null
null
null
lib/e_q.ex
bakkdoor/e_q
c38315716bd43dfd22166c7764c1d1512b062fa8
[ "MIT" ]
null
null
null
defmodule EQ do @moduledoc """ A simple wrapper around the Erlang Queue library that follows the idiomatic pattern of expecting the module target first to take advantage of the pipeline operator. Queues are double ended. The mental picture of a queue is a line of people (items) waiting for their turn. The ...
24.643885
84
0.572325
b270946072ca7225a3d39f4303715869f8b481e0
1,661
exs
Elixir
mix.exs
bmordas11/fun_in_the_sun
eb6f4f604a8ebf0f12b7a51c3b4e37ac777fe84b
[ "MIT" ]
null
null
null
mix.exs
bmordas11/fun_in_the_sun
eb6f4f604a8ebf0f12b7a51c3b4e37ac777fe84b
[ "MIT" ]
null
null
null
mix.exs
bmordas11/fun_in_the_sun
eb6f4f604a8ebf0f12b7a51c3b4e37ac777fe84b
[ "MIT" ]
null
null
null
defmodule FunInTheSun.Mixfile do use Mix.Project def project do [app: :fun_in_the_sun, 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, ...
30.2
89
0.605659
b270a5d44bd7d8450b746e49e5c7c197b40ffdbb
3,306
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/probing_details.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/probing_details.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/probing_details.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
48.617647
274
0.72928
b270e7f68ae69a38db35814e1195a547d3e91dce
1,228
exs
Elixir
apps/tai/test/tai/transforms/product_symbols_by_venue_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/test/tai/transforms/product_symbols_by_venue_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
null
null
null
apps/tai/test/tai/transforms/product_symbols_by_venue_test.exs
ihorkatkov/tai
09f9f15d2c385efe762ae138a8570f1e3fd41f26
[ "MIT" ]
1
2020-05-03T23:32:11.000Z
2020-05-03T23:32:11.000Z
defmodule Tai.Transforms.ProductSymbolsByVenueTest do use ExUnit.Case, async: false doctest Tai.Transforms.ProductSymbolsByVenue import Tai.TestSupport.Mock setup do on_exit(fn -> Application.stop(:tai) end) {:ok, _} = Application.ensure_all_started(:tai) :ok end test ".all returns...
23.615385
73
0.660423
b270f635a4ea9a3b33c27fa571213cd6a1c434e4
1,183
ex
Elixir
jpcarver+elixir/day04/lib/Day04/last_winner.ex
NashFP/avent-2021
d2f4648e904c9105514fd68db2dfe3b0e682093d
[ "MIT" ]
2
2021-11-24T12:54:15.000Z
2022-01-20T11:02:11.000Z
jpcarver+elixir/day04/lib/Day04/last_winner.ex
NashFP/advent-2021
d2f4648e904c9105514fd68db2dfe3b0e682093d
[ "MIT" ]
null
null
null
jpcarver+elixir/day04/lib/Day04/last_winner.ex
NashFP/advent-2021
d2f4648e904c9105514fd68db2dfe3b0e682093d
[ "MIT" ]
null
null
null
defmodule Day04.LastWinner do alias Day04.{BingoChecker, Game} def play(%Game{numbers: []}) do :no_winner end def play(%Game{numbers: [number | rest], boards: boards}) do {number, checked, winners} = check_boards(boards, number) case checked do [] -> {number, hd(winners)} _ -> play(%G...
28.166667
76
0.648352
b27111949d7b281ec2ebd2e5c8794e55c91cab41
996
ex
Elixir
lib/ex_rfc3986/result.ex
marcelog/ex_rfc3986
1586b1f187bcd65d53d7f6e369c400068875fe37
[ "Apache-2.0" ]
12
2015-04-12T00:35:07.000Z
2021-08-24T22:33:48.000Z
lib/ex_rfc3986/result.ex
marcelog/ex_rfc3986
1586b1f187bcd65d53d7f6e369c400068875fe37
[ "Apache-2.0" ]
1
2015-07-03T19:28:14.000Z
2015-07-03T19:28:14.000Z
lib/ex_rfc3986/result.ex
marcelog/ex_rfc3986
1586b1f187bcd65d53d7f6e369c400068875fe37
[ "Apache-2.0" ]
3
2015-07-03T12:36:48.000Z
2020-03-03T16:32:25.000Z
defmodule RFC3986.Result do @moduledoc """ Capture result. All the URI info is stored here. Copyright 2015 Marcelo Gornstein <marcelog@gmail.com> 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 ...
29.294118
78
0.678715
b271199c114f1123978484b18a5d8171f1262be5
1,089
ex
Elixir
lib/mathmatical_web/channels/questions_channel.ex
shawnonthenet/mathmatical
d0f8d9e77dc71edfdc88776daca973fcd9cd106b
[ "Apache-2.0" ]
null
null
null
lib/mathmatical_web/channels/questions_channel.ex
shawnonthenet/mathmatical
d0f8d9e77dc71edfdc88776daca973fcd9cd106b
[ "Apache-2.0" ]
null
null
null
lib/mathmatical_web/channels/questions_channel.ex
shawnonthenet/mathmatical
d0f8d9e77dc71edfdc88776daca973fcd9cd106b
[ "Apache-2.0" ]
null
null
null
defmodule MathmaticalWeb.QuestionsChannel do use MathmaticalWeb, :channel def join("questions", _payload, socket) do {:ok, socket} end # Channels can be used in a request/response fashion # by sending replies to requests from the client def handle_in("get_next_question", %{"id" => id}, socket) when is...
37.551724
159
0.693297
b2713103c537a1a238ed42baee3edc69f3f1a781
2,354
exs
Elixir
test/models/rememberable_test.exs
remigijusj/coherence
36fe35b0bfe7ac63b44b4046f3ba62f2fe69603a
[ "MIT" ]
null
null
null
test/models/rememberable_test.exs
remigijusj/coherence
36fe35b0bfe7ac63b44b4046f3ba62f2fe69603a
[ "MIT" ]
null
null
null
test/models/rememberable_test.exs
remigijusj/coherence
36fe35b0bfe7ac63b44b4046f3ba62f2fe69603a
[ "MIT" ]
null
null
null
defmodule Coherence.RememberableTest do use TestCoherence.ModelCase use Timex alias Coherence.{Rememberable, Config} setup do user = %TestCoherence.User{id: 1} user_schema = Config.user_schema Application.put_env :coherence, :user_schema, TestCoherence.User on_exit fn -> Application.put_...
33.628571
101
0.704333
b27140c94dc2d3ea51b51152244ef75b1647e606
1,492
ex
Elixir
lib/igdb.ex
alexanderttalvarez/igdb
b5b3fa661ff48a31b97e10b1c78b3c3f38d0c342
[ "Apache-2.0" ]
null
null
null
lib/igdb.ex
alexanderttalvarez/igdb
b5b3fa661ff48a31b97e10b1c78b3c3f38d0c342
[ "Apache-2.0" ]
null
null
null
lib/igdb.ex
alexanderttalvarez/igdb
b5b3fa661ff48a31b97e10b1c78b3c3f38d0c342
[ "Apache-2.0" ]
null
null
null
defmodule Igdb do @moduledoc """ Basic methods for retrieving data from the IGDB API V3. https://www.igdb.com/ """ import Igdb.Query @url_root "https://api-v3.igdb.com/" # Prepares the headers that will be sent to the API. It adds the api-key required by IGDB, getting it from the environment variables. ...
26.642857
135
0.603217
b27142fe16e37f5c66eef4cb48861ff9e36dfc82
1,143
exs
Elixir
elixir/basic/programming_elixir/ch5/ex_functions_1/config/config.exs
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
null
null
null
elixir/basic/programming_elixir/ch5/ex_functions_1/config/config.exs
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
16
2020-05-30T12:38:13.000Z
2022-02-19T09:23:31.000Z
elixir/basic/programming_elixir/ch5/ex_functions_1/config/config.exs
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "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...
36.870968
73
0.754156
b2715d2b2859a632b16075c1782b67b4e1d05980
3,740
ex
Elixir
lib/ymlr.ex
ufirstgroup/ymlr
2352a99072c070585effae5f5ae205974a450003
[ "MIT" ]
10
2020-09-01T13:35:05.000Z
2022-02-22T10:03:05.000Z
lib/ymlr.ex
ufirstgroup/ymlr
2352a99072c070585effae5f5ae205974a450003
[ "MIT" ]
68
2020-09-22T07:10:48.000Z
2022-03-28T11:07:00.000Z
lib/ymlr.ex
ufirstgroup/ymlr
2352a99072c070585effae5f5ae205974a450003
[ "MIT" ]
1
2021-03-30T15:42:03.000Z
2021-03-30T15:42:03.000Z
defmodule Ymlr do @moduledoc """ Encodes data into YAML documents using the `Ymlr.Encoder`. Every document starts with a separator ("---") and can be enhanced with comments. """ alias Ymlr.Encoder @type document :: Encoder.data | {binary(), Encoder.data} | {[binary()], Encoder.data} @doc """ Encodes ...
32.241379
152
0.572727
b27168cb74ca8f95542d98d5ad782fbf88a6686a
799
ex
Elixir
lib/rockelivery_web/auth/guardian.ex
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
1
2022-03-16T20:41:29.000Z
2022-03-16T20:41:29.000Z
lib/rockelivery_web/auth/guardian.ex
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
null
null
null
lib/rockelivery_web/auth/guardian.ex
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
null
null
null
defmodule RockeliveryWeb.Auth.Guardian do use Guardian, otp_app: :rockelivery alias Rockelivery.{Error, User} alias Rockelivery.Users.Get, as: UserGet def subject_for_token(%User{id: id}, _claims), do: {:ok, id} def resource_from_claims(%{"sub" => id}) do UserGet.by_id(id) end def authenticate(%{"...
30.730769
91
0.659574
b27189e182fd7fee7871a3a97ea7cee59fea2b41
1,675
ex
Elixir
lib/playground/scenario/sorted_set/integer_binary.ex
evadne/ets-playground
de7f2e4d512be4de6510c8978c1f0b25d7720df2
[ "MIT" ]
27
2019-04-10T15:25:21.000Z
2021-11-22T14:28:56.000Z
lib/playground/scenario/sorted_set/integer_binary.ex
evadne/ets-playground
de7f2e4d512be4de6510c8978c1f0b25d7720df2
[ "MIT" ]
null
null
null
lib/playground/scenario/sorted_set/integer_binary.ex
evadne/ets-playground
de7f2e4d512be4de6510c8978c1f0b25d7720df2
[ "MIT" ]
2
2019-05-07T21:45:14.000Z
2020-07-15T11:55:17.000Z
defmodule Playground.Scenario.SortedSet.IntegerBinary do use Playground.Scenario def scenario_type do {:iterations, Stream.map(10..20, &round(:math.pow(2, &1)))} end def scenario_banner do """ Scenario: insert into ETS Ordered Set and Discord.SortedSet. Data: {integer | binary (8 to 16 bytes) ...
25
69
0.632836
b271aa4aa72b51f1ddb526aa0373a6f2ffa0fec3
2,901
ex
Elixir
test/helpers/setup_helper.ex
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
20
2019-01-15T10:13:16.000Z
2021-12-30T09:39:30.000Z
test/helpers/setup_helper.ex
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
45
2018-10-02T10:14:57.000Z
2021-04-30T21:57:28.000Z
test/helpers/setup_helper.ex
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
9
2019-05-08T17:25:56.000Z
2022-03-06T10:16:41.000Z
defmodule Helpers.SetupHelper do @moduledoc false import Mox alias Sparrow.H2ClientAdapter.Chatterbox, as: H2Adapter alias Sparrow.H2Worker.Config @path_to_cert "priv/ssl/client_cert.pem" @path_to_key "priv/ssl/client_key.pem" def passthrough_h2(state) do Sparrow.H2ClientAdapter.Mock |> stub_w...
22.145038
75
0.610824
b271cf20d6e45004cce7f4784db18af3040f99d0
1,189
exs
Elixir
mix.exs
super-seguros/eextoheex
85f53649c262de51d578ae93d80b134ed6312286
[ "MIT" ]
24
2021-09-25T23:31:09.000Z
2022-03-24T11:19:36.000Z
mix.exs
super-seguros/eextoheex
85f53649c262de51d578ae93d80b134ed6312286
[ "MIT" ]
5
2021-09-20T14:35:34.000Z
2022-03-31T10:24:43.000Z
mix.exs
super-seguros/eextoheex
85f53649c262de51d578ae93d80b134ed6312286
[ "MIT" ]
4
2021-09-10T07:47:11.000Z
2022-03-15T06:14:48.000Z
defmodule EexToHeex.MixProject do use Mix.Project def project do [ app: :eextoheex, version: "0.1.5", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), escript: escript(), description: "Automatic conversion of eex templates to heex", package: ...
23.78
92
0.576955
b271ddc0edefc1b0df7dd25f14f2b8e0a8dd6d4d
167
exs
Elixir
test/funcio/index/doctest1_test.exs
ianrumford/plymio_funcio
87fddc0a21e70ba8916961ea3bc22ee3cda0cd2b
[ "MIT" ]
null
null
null
test/funcio/index/doctest1_test.exs
ianrumford/plymio_funcio
87fddc0a21e70ba8916961ea3bc22ee3cda0cd2b
[ "MIT" ]
null
null
null
test/funcio/index/doctest1_test.exs
ianrumford/plymio_funcio
87fddc0a21e70ba8916961ea3bc22ee3cda0cd2b
[ "MIT" ]
null
null
null
defmodule PlymioFuncioIndexDoctest1Test do use ExUnit.Case, async: true use PlymioFuncioHelperTest import Plymio.Funcio.Index doctest Plymio.Funcio.Index end
20.875
42
0.820359
b271e394b539fac015a66bbde84921c058fd6880
581
ex
Elixir
assistant/lib/assistant_web/live/grobid_result_component.ex
dainst/bibliography-assistant
6495055bf852964d416a02d92729406a6a1a33e9
[ "Apache-2.0" ]
null
null
null
assistant/lib/assistant_web/live/grobid_result_component.ex
dainst/bibliography-assistant
6495055bf852964d416a02d92729406a6a1a33e9
[ "Apache-2.0" ]
null
null
null
assistant/lib/assistant_web/live/grobid_result_component.ex
dainst/bibliography-assistant
6495055bf852964d416a02d92729406a6a1a33e9
[ "Apache-2.0" ]
null
null
null
defmodule AssistantWeb.GrobidResultComponent do use AssistantWeb, :live_component alias Assistant.Sort alias Assistant.Grobid.Helper alias Assistant.Translator def sort item do Sort.sort_map item, Application.fetch_env!(:assistant, :orderable_keys) end def convert_key key, lang do result = Tran...
21.518519
77
0.716007
b271f9297a6cfa4e3864beb109c17554df9f1576
479
exs
Elixir
config/test.exs
frpaulas/welp
377c244bd5dd219bfdf3724c5706a3a328817dc4
[ "MIT" ]
null
null
null
config/test.exs
frpaulas/welp
377c244bd5dd219bfdf3724c5706a3a328817dc4
[ "MIT" ]
null
null
null
config/test.exs
frpaulas/welp
377c244bd5dd219bfdf3724c5706a3a328817dc4
[ "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 :welp, WelpWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :welp, Welp.Repo, adapte...
23.95
56
0.726514
b2722cb4342269b2e26518c8faeb9e4d45f730c8
4,560
ex
Elixir
lib/graphvix/record.ex
ssajnani/graphvix
e5fb0fbceb5b9ab72941633b702d414302868acc
[ "MIT" ]
47
2016-10-02T21:44:30.000Z
2022-02-21T18:01:40.000Z
lib/graphvix/record.ex
ssajnani/graphvix
e5fb0fbceb5b9ab72941633b702d414302868acc
[ "MIT" ]
17
2016-10-27T17:11:27.000Z
2021-12-23T13:19:39.000Z
lib/graphvix/record.ex
ssajnani/graphvix
e5fb0fbceb5b9ab72941633b702d414302868acc
[ "MIT" ]
10
2017-03-20T18:21:21.000Z
2021-07-25T14:34:28.000Z
defmodule Graphvix.Record do @moduledoc """ Models a graph vertex that has a shape of `record`. A record's label can be a single string, a single row or column, or a nested alternation of rows and columns. Once a record is created by `Graphvix.Record.new/2` it can be added to a graph using `Graphvix.Graph...
30
95
0.610526
b2726820ba81ddf808d8003c4d10fcbef065788a
1,276
ex
Elixir
lib/exsemantica_web/channels/exsem_feed_channel.ex
ExSemantica/exsemantica
c2d72513195f44b6b5f73c8cc07394de0a1fd273
[ "Apache-2.0" ]
null
null
null
lib/exsemantica_web/channels/exsem_feed_channel.ex
ExSemantica/exsemantica
c2d72513195f44b6b5f73c8cc07394de0a1fd273
[ "Apache-2.0" ]
2
2020-07-21T20:53:13.000Z
2020-07-21T20:54:15.000Z
lib/exsemantica_web/channels/exsem_feed_channel.ex
Chlorophytus/eactivitypub
469346b4d5cd7ad2b575c245ac50fd71b00c4864
[ "Apache-2.0" ]
null
null
null
defmodule ExsemanticaWeb.ExsemFeedChannel do use ExsemanticaWeb, :channel @impl true def join("exsem_feed:home", payload, socket) do if authorized?(payload) do {:ok, socket} else {:ok, socket} end end # Channels can be used in a request/response fashion # by sending replies to requ...
24.538462
85
0.638715
b27287e686dff0c146ad8daabb44a3e032aa0891
41,781
ex
Elixir
lib/phoenix/endpoint.ex
rmoorman/phoenix
1d5029f904dda6fbfa931441faa0e29e0ff1bf59
[ "MIT" ]
null
null
null
lib/phoenix/endpoint.ex
rmoorman/phoenix
1d5029f904dda6fbfa931441faa0e29e0ff1bf59
[ "MIT" ]
null
null
null
lib/phoenix/endpoint.ex
rmoorman/phoenix
1d5029f904dda6fbfa931441faa0e29e0ff1bf59
[ "MIT" ]
null
null
null
defmodule Phoenix.Endpoint do @moduledoc ~S""" Defines a Phoenix endpoint. The endpoint is the boundary where all requests to your web application start. It is also the interface your application provides to the underlying web servers. Overall, an endpoint has three responsibilities: * to provide a w...
45.071197
10,138
0.734616
b272b9fdd02c8f50aa384a2a67301d05c3f80049
5,370
ex
Elixir
clients/content/lib/google_api/content/v21/model/account.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/content/lib/google_api/content/v21/model/account.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/account.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...
57.741935
440
0.700372
b272ee2726cba99614d964804e3a3ffdf83674bc
1,568
exs
Elixir
apps/ehealth/test/web/controllers/auth/user_role_controller_test.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/ehealth/test/web/controllers/auth/user_role_controller_test.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/ehealth/test/web/controllers/auth/user_role_controller_test.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule EHealth.Web.UserRoleControllerTest do @moduledoc false use EHealth.Web.ConnCase import Mox alias Ecto.UUID defmodule MicroserviceBaseTest do use Core.API.Helpers.MicroserviceBase end test "get current user roles", %{conn: conn} do user_id = UUID.generate() client_id = UUID.generat...
24.5
99
0.574617
b2730edd93c61b6c8cdc4dee44e1cd81f8511a95
524
exs
Elixir
isogram/isogram.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
isogram/isogram.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
isogram/isogram.exs
nlhuykhang/elixir-exercism
0462661cc411cb28b4bf800639b16684480a06a7
[ "MIT" ]
null
null
null
defmodule Isogram do @doc """ Determines if a word or sentence is an isogram """ @spec isogram?(String.t) :: boolean def isogram?(sentence) do norm_sentence = normalize(sentence) String.length(norm_sentence) == uniq_length(norm_sentence) end defp normalize(sentence) do Regex.replace(~r/([^\w...
19.407407
62
0.656489
b2732a0cc7f20bb8dbda2aac8496563591eca01b
928
ex
Elixir
ultimate_tic_tac_toe_bot/lib/game_state.ex
AaronTheApe/ultimate-tic-tac-toe-starter-bot-elixir
2ea7f080e67e9f7a41907346fa4b09cbd13bd55c
[ "MIT" ]
4
2016-02-03T22:03:45.000Z
2016-04-13T17:24:27.000Z
ultimate_tic_tac_toe_bot/lib/game_state.ex
AaronTheApe/ultimate-tic-tac-toe-starter-bot-elixir
2ea7f080e67e9f7a41907346fa4b09cbd13bd55c
[ "MIT" ]
2
2016-02-03T00:01:28.000Z
2016-04-13T17:22:58.000Z
ultimate_tic_tac_toe_bot/lib/game_state.ex
AaronTheApe/ultimate-tic-tac-toe-starter-bot-elixir
2ea7f080e67e9f7a41907346fa4b09cbd13bd55c
[ "MIT" ]
1
2016-02-05T11:30:42.000Z
2016-02-05T11:30:42.000Z
defmodule GameStateMacro do defmacro create_updater(setting) do quote do def unquote(:"set_#{setting}")(state, val) do %{state | String.to_atom(unquote(setting)) => val} end end end end defmodule GameState do require GameStateMacro def initial() do %{:timebank => 0, :time_...
25.777778
58
0.686422
b2734080ae0aab39c34a5e0b8ff4f621d91f277a
1,131
exs
Elixir
config/config.exs
sl33t/LearningElixer
878d03f649c2f19403912296452fe7c14c1441a8
[ "MIT" ]
null
null
null
config/config.exs
sl33t/LearningElixer
878d03f649c2f19403912296452fe7c14c1441a8
[ "MIT" ]
null
null
null
config/config.exs
sl33t/LearningElixer
878d03f649c2f19403912296452fe7c14c1441a8
[ "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...
36.483871
73
0.7542
b27342e4f09204c9d425631a03397e28c913d554
6,335
ex
Elixir
lib/pow/store/credentials_cache.ex
crooke/pow
34ef1282260f2765b0b3df14485771b5e9c2094b
[ "MIT" ]
1
2021-06-25T10:36:01.000Z
2021-06-25T10:36:01.000Z
lib/pow/store/credentials_cache.ex
crooke/pow
34ef1282260f2765b0b3df14485771b5e9c2094b
[ "MIT" ]
null
null
null
lib/pow/store/credentials_cache.ex
crooke/pow
34ef1282260f2765b0b3df14485771b5e9c2094b
[ "MIT" ]
null
null
null
defmodule Pow.Store.CredentialsCache do @moduledoc """ Default module for credentials session storage. A key (session id), is used to store, fetch or delete credentials. When credentials are stored or deleted, a credentials key will be generated. The value of that key will be all current keys (session ids), ...
31.675
108
0.670718
b2738b194683105b09e4d2202090de9362301ef7
2,347
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p2alpha1_import_data_operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p2alpha1_import_data_operation_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p2alpha1_import_data_operation_metadata.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...
39.116667
262
0.745633
b2738d377d18ec3b9d2bb75fb5c2948440d2affc
2,500
exs
Elixir
test/unit/reaper/data_feed/schema_stage_test.exs
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
test/unit/reaper/data_feed/schema_stage_test.exs
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
test/unit/reaper/data_feed/schema_stage_test.exs
bbalser/reaper
7a2e8808c877b33ffa63a745179118f938460989
[ "Apache-2.0" ]
null
null
null
defmodule Reaper.DataFeed.SchemaStageTest do use ExUnit.Case use Placebo alias Reaper.DataFeed.SchemaStage describe "handle_events/3" do setup do nested_maps_schema = [ %{name: "id", type: "string"}, %{ name: "grandParent", type: "map", subSchema: [ ...
26.041667
109
0.4476
b2738e06cc33e1e0ef61500a226f04f531f223ab
642
ex
Elixir
apps/tai/lib/tai/commander/start_advisors.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/lib/tai/commander/start_advisors.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/commander/start_advisors.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.Commander.StartAdvisors do @type instance :: Tai.Advisors.Instance.t() @type store_id_opt :: {:store_id, atom} @type where_opt :: {:where, list} @type opt :: store_id_opt | where_opt @default_filters [] @default_store_id Tai.Advisors.SpecStore.default_store_id() @spec execute([opt]) :: {st...
32.1
90
0.719626
b27392ce8912c48d0c71ee15bab5cf37b8742115
736
ex
Elixir
lib/slack/user_group/user.ex
jclem/slack_ex
e2376cea87c35d14cc31dc545ff8e99106dee28c
[ "MIT" ]
21
2016-06-28T04:03:55.000Z
2020-01-19T01:51:11.000Z
lib/slack/user_group/user.ex
jclem/slack_ex
e2376cea87c35d14cc31dc545ff8e99106dee28c
[ "MIT" ]
5
2016-06-28T04:34:14.000Z
2019-12-09T20:09:12.000Z
lib/slack/user_group/user.ex
jclem/slack_ex
e2376cea87c35d14cc31dc545ff8e99106dee28c
[ "MIT" ]
6
2016-06-28T04:27:08.000Z
2020-04-22T11:07:03.000Z
defmodule Slack.UserGroup.User do @moduledoc """ Functions for working with users in user groups """ @base "usergroups.users" use Slack.Request @doc """ List users in a usergroup. https://api.slack.com/methods/usergroups.users.list ## Examples Slack.UserGroup.list(client, usergroup: "S06...
21.028571
68
0.683424
b273f17167c48a9fa937c68501d4694493ce435e
162
ex
Elixir
lib/upstream/constants.ex
artellectual/blazay
0c5f58514cc2417931786b5cd482978fa5bfd9c0
[ "MIT" ]
5
2018-02-16T15:32:41.000Z
2020-03-31T10:55:24.000Z
lib/upstream/constants.ex
artellectual/blazay
0c5f58514cc2417931786b5cd482978fa5bfd9c0
[ "MIT" ]
8
2017-07-12T04:27:31.000Z
2017-12-26T06:30:47.000Z
lib/upstream/constants.ex
upmaru/blazay
0c5f58514cc2417931786b5cd482978fa5bfd9c0
[ "MIT" ]
2
2018-02-16T15:32:45.000Z
2018-03-04T12:11:57.000Z
defmodule Upstream.Constants do defmacro __using__(_) do quote do @uploading "upstream:uploading" @errored "upstream:errored" end end end
18
37
0.691358
b27405918976f4dd6c3e4d55a8f10ac982ef6d0b
1,000
ex
Elixir
lib/materia_commerce/products/tax.ex
karabiner-inc/materia_commerce
e1abc1ac223ffd379360995d24a10021db036da1
[ "Apache-2.0" ]
1
2019-11-19T07:38:38.000Z
2019-11-19T07:38:38.000Z
lib/materia_commerce/products/tax.ex
karabiner-inc/materia_commerce
e1abc1ac223ffd379360995d24a10021db036da1
[ "Apache-2.0" ]
31
2018-12-26T02:05:55.000Z
2021-05-14T03:33:07.000Z
lib/materia_commerce/products/tax.ex
karabiner-inc/materia_commerce
e1abc1ac223ffd379360995d24a10021db036da1
[ "Apache-2.0" ]
null
null
null
defmodule MateriaCommerce.Products.Tax do use Ecto.Schema import Ecto.Changeset schema "taxes" do field(:end_datetime, :utc_datetime) field(:lock_version, :integer, default: 0) field(:name, :string) field(:start_datetime, :utc_datetime) field(:tax_category, :string) field(:tax_rate, :deci...
31.25
120
0.708
b27406c76e3f55d0b9499d0c86d90a4f9b429270
2,454
ex
Elixir
lib/vintage_net_mobile/to_elixir/server.ex
dognotdog/vintage_net_mobile
a709d8f8ce3af71c444d11ff07483b4be180c4c5
[ "Apache-2.0" ]
18
2020-03-08T21:06:10.000Z
2022-02-05T00:44:55.000Z
lib/vintage_net_mobile/to_elixir/server.ex
dognotdog/vintage_net_mobile
a709d8f8ce3af71c444d11ff07483b4be180c4c5
[ "Apache-2.0" ]
27
2020-02-28T16:07:07.000Z
2022-01-19T03:51:02.000Z
lib/vintage_net_mobile/to_elixir/server.ex
dognotdog/vintage_net_mobile
a709d8f8ce3af71c444d11ff07483b4be180c4c5
[ "Apache-2.0" ]
7
2020-03-25T20:08:22.000Z
2021-10-22T03:20:17.000Z
defmodule VintageNetMobile.ToElixir.Server do use GenServer require Logger alias VintageNetMobile.ToElixir.PPPDHandler @moduledoc false # This GenServer routes messages from C and shell scripts to the appropriate # places in VintageNetMobile. @doc """ Start the GenServer. """ @spec start_link(Pa...
25.831579
95
0.660147
b2741faa63f429bed2c13f0effc0f84f6affb530
3,291
exs
Elixir
test/h2_integration/h2_adapter_instability_test.exs
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
20
2019-01-15T10:13:16.000Z
2021-12-30T09:39:30.000Z
test/h2_integration/h2_adapter_instability_test.exs
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
45
2018-10-02T10:14:57.000Z
2021-04-30T21:57:28.000Z
test/h2_integration/h2_adapter_instability_test.exs
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
9
2019-05-08T17:25:56.000Z
2022-03-06T10:16:41.000Z
defmodule H2Integration.H2AdapterInstabilityTest do use ExUnit.Case use AssertEventually import Mock import Mox setup :set_mox_global setup :verify_on_exit! alias Helpers.SetupHelper, as: Setup alias Sparrow.H2ClientAdapter.Chatterbox, as: H2Adapter alias Sparrow.H2Worker.Request, as: OuterRequest ...
29.383929
83
0.684898