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
5a03fbf5eec0c16cbb5301ec04403dd2d616b712
1,003
exs
Elixir
test/stripe/subscriptions/promotion_code_test.exs
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
555
2016-11-29T05:02:27.000Z
2022-03-30T00:47:59.000Z
test/stripe/subscriptions/promotion_code_test.exs
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
532
2016-11-28T18:22:25.000Z
2022-03-30T17:04:32.000Z
test/stripe/subscriptions/promotion_code_test.exs
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
296
2016-12-05T14:04:09.000Z
2022-03-28T20:39:37.000Z
defmodule Stripe.PromotionCodeTest do use Stripe.StripeCase, async: true test "is listable" do assert {:ok, %Stripe.List{data: promotion_codes}} = Stripe.PromotionCode.list() assert_stripe_requested(:get, "/v1/promotion_codes") assert is_list(promotion_codes) assert %Stripe.PromotionCode{} = hd(pro...
34.586207
95
0.706879
5a04085f403bbadb1729a1c2432432a094c77ebd
75
exs
Elixir
.formatter.exs
begedin/philtre
3fc92c097875942689aad97997a983c8a83b602f
[ "MIT" ]
2
2022-01-28T13:56:13.000Z
2022-03-20T12:17:54.000Z
.formatter.exs
begedin/philtre
3fc92c097875942689aad97997a983c8a83b602f
[ "MIT" ]
null
null
null
.formatter.exs
begedin/philtre
3fc92c097875942689aad97997a983c8a83b602f
[ "MIT" ]
null
null
null
[ inputs: ["*.{ex,exs}", "{config,lib,playground,test}/**/*.{ex,exs}"] ]
18.75
70
0.52
5a041b73bb70b4d77473068764e3b2c06195d937
810
ex
Elixir
lib/html_entities/util.ex
theodowling/html_entities
c7bfb6d8bf6a2c12387369980889478b65b05dbc
[ "MIT" ]
null
null
null
lib/html_entities/util.ex
theodowling/html_entities
c7bfb6d8bf6a2c12387369980889478b65b05dbc
[ "MIT" ]
null
null
null
lib/html_entities/util.ex
theodowling/html_entities
c7bfb6d8bf6a2c12387369980889478b65b05dbc
[ "MIT" ]
null
null
null
defmodule HtmlEntities.Util do @moduledoc """ Utility functions for managing metadata. Putting this code here makes it testable, and allows the code generation part of HtmlEntities to be as small as possible. """ @type entity :: {String.t, String.t, String.t} @doc "Load HTML entities from an external f...
33.75
94
0.717284
5a04287ce024aac79f93d4a38bd842ae4343689c
34
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_three_operation_parsing_test_case/UnaryNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_three_operation_parsing_test_case/UnaryNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_three_operation_parsing_test_case/UnaryNonNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
!one ^^^ not two not one ^^^ !two
11.333333
16
0.529412
5a044f480a11b439bd26bc42eb75881c5bc46ffa
573
ex
Elixir
lib/ex_sieve/builder/order_by.ex
ppraisethesun/ex_sieve
17b9802281e13cc348621f519103f5e42fc0df87
[ "MIT" ]
null
null
null
lib/ex_sieve/builder/order_by.ex
ppraisethesun/ex_sieve
17b9802281e13cc348621f519103f5e42fc0df87
[ "MIT" ]
null
null
null
lib/ex_sieve/builder/order_by.ex
ppraisethesun/ex_sieve
17b9802281e13cc348621f519103f5e42fc0df87
[ "MIT" ]
null
null
null
defmodule ExSieve.Builder.OrderBy do @moduledoc false alias Ecto.Query.Builder.OrderBy alias ExSieve.Node.Sort @spec build(Ecto.Queryable.t, list(Sort.t), Macro.t) :: Ecto.Query.t def build(query, sorts, binding) do query |> Macro.escape |> OrderBy.build(binding, Enum.map(sorts, &expr/1), __ENV__...
28.65
81
0.684119
5a04c4d4df4baea0b6fd95d92a425d7e59ff0958
1,501
ex
Elixir
lib/openlocationcode/codearea.ex
Trifera/openlocationcode
4477697bc8344b2e5f22fe132bd91de75685eb87
[ "MIT" ]
null
null
null
lib/openlocationcode/codearea.ex
Trifera/openlocationcode
4477697bc8344b2e5f22fe132bd91de75685eb87
[ "MIT" ]
null
null
null
lib/openlocationcode/codearea.ex
Trifera/openlocationcode
4477697bc8344b2e5f22fe132bd91de75685eb87
[ "MIT" ]
2
2019-07-17T21:09:04.000Z
2021-02-01T06:49:11.000Z
defmodule OpenLocationCode.CodeArea do @moduledoc """ A code area is a region on a map indicated by a lower-left corner---the southernmost latitude and the westernmost longitude. The size of the region is given by the resolution, which is the height and length of the region in degrees. """ @d...
34.113636
139
0.651566
5a04e42b687a6511f6d189fabcd92ef29394de0f
683
ex
Elixir
lib/titeenipeli/model/guild_zone.ex
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
lib/titeenipeli/model/guild_zone.ex
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
lib/titeenipeli/model/guild_zone.ex
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
defmodule Titeenipeli.Model.GuildZone do use Ecto.Schema import Ecto.Changeset alias Titeenipeli.Model.Guild alias Titeenipeli.Model.Zone schema "guild_zones" do field :cleared, :boolean field :cleared_at, :utc_datetime field :unlocked, :boolean field :unlocked_at, :utc_datetime field :cu...
19.514286
40
0.660322
5a052e07c6e6f47fcee5d4506d03b2927100671f
4,254
ex
Elixir
shritesh+elixir/lib/advent/day_17.ex
NashFP/advent-2020
3ef8736357cb1753ea6b8acf558e344e842ab247
[ "MIT" ]
1
2020-11-25T01:54:02.000Z
2020-11-25T01:54:02.000Z
shritesh+elixir/lib/advent/day_17.ex
NashFP/advent-2020
3ef8736357cb1753ea6b8acf558e344e842ab247
[ "MIT" ]
null
null
null
shritesh+elixir/lib/advent/day_17.ex
NashFP/advent-2020
3ef8736357cb1753ea6b8acf558e344e842ab247
[ "MIT" ]
2
2020-11-25T01:54:42.000Z
2021-02-24T00:12:59.000Z
defmodule Advent.Day17 do defmodule Conway3D do def new(input) do for {line, y} <- Enum.with_index(String.split(input, "\n", trim: true)), {char, x} <- Enum.with_index(String.codepoints(line)), char == "#", into: MapSet.new(), do: {x, y, 0} end defp active?(a...
31.279412
98
0.468735
5a052ee6b99b97536b9b8cc867313b5dbf9755a3
1,063
ex
Elixir
lib/statement.ex
nathanjohnson320/carny
5c75fd18c805723b5f05873d7e1b622c96a61d42
[ "MIT" ]
null
null
null
lib/statement.ex
nathanjohnson320/carny
5c75fd18c805723b5f05873d7e1b622c96a61d42
[ "MIT" ]
null
null
null
lib/statement.ex
nathanjohnson320/carny
5c75fd18c805723b5f05873d7e1b622c96a61d42
[ "MIT" ]
null
null
null
defmodule Carny.Statement do @moduledoc """ Associates a bucket of resources with an "allow" or "deny". On their own not so useful main use is to be composed into Policies. """ alias Carny.Identifier defstruct effect: "allow", resources: [], privileges: [] @doc """ Checks if an identifier passes a st...
24.159091
139
0.62841
5a052fa14d1c34a96e26540a88c8bc40266165d2
4,369
ex
Elixir
clients/storage_transfer/lib/google_api/storage_transfer/v1/api/google_service_accounts.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/lib/google_api/storage_transfer/v1/api/google_service_accounts.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/lib/google_api/storage_transfer/v1/api/google_service_accounts.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 ...
42.417476
196
0.666514
5a0560cde23bf7c9963f354fe125370b2563d58f
670
ex
Elixir
lib/redis.ex
ashleyconnor/redbird
7190d1585a5288737e3643d00947a8f29f071841
[ "MIT" ]
null
null
null
lib/redis.ex
ashleyconnor/redbird
7190d1585a5288737e3643d00947a8f29f071841
[ "MIT" ]
null
null
null
lib/redis.ex
ashleyconnor/redbird
7190d1585a5288737e3643d00947a8f29f071841
[ "MIT" ]
null
null
null
defmodule Redbird.Redis do def start_link(name) do {:ok, client} = Exredis.start_link() true = Process.register(client, name) {:ok, client} end def get(key) do Exredis.Api.get(pid(), key) end def setex(%{key: key, value: value, seconds: seconds}) do Exredis.Api.setex(pid(), key, seconds,...
18.611111
59
0.656716
5a05810208ed63924174ce95c1031d9dfc10547e
417
ex
Elixir
lib/warpath/execution.ex
mmmries/warpath
352e41bedae8a3b4597e5105477483e3fcd5f5b7
[ "MIT" ]
16
2020-04-28T12:39:27.000Z
2021-12-21T16:50:58.000Z
lib/warpath/execution.ex
mmmries/warpath
352e41bedae8a3b4597e5105477483e3fcd5f5b7
[ "MIT" ]
41
2020-02-01T18:10:50.000Z
2022-01-18T08:11:22.000Z
lib/warpath/execution.ex
mmmries/warpath
352e41bedae8a3b4597e5105477483e3fcd5f5b7
[ "MIT" ]
3
2020-04-27T12:53:57.000Z
2020-10-02T18:33:32.000Z
defmodule Warpath.Execution do @moduledoc false alias Warpath.Execution.Env alias Warpath.Expression @spec execution_plan(Expression.t()) :: list(Env.t()) def execution_plan(%Expression{tokens: tokens}) do tokens |> Enum.reduce([], fn token, acc -> previous_operator = List.first(acc) env...
21.947368
55
0.664269
5a05d3ee299eba634f5c219fdfaa7cca3ae94ad7
1,044
exs
Elixir
mix.exs
omh/EasySSL
accef5e6ddf6b4e812c7197339ef35ee5c31d047
[ "MIT" ]
null
null
null
mix.exs
omh/EasySSL
accef5e6ddf6b4e812c7197339ef35ee5c31d047
[ "MIT" ]
null
null
null
mix.exs
omh/EasySSL
accef5e6ddf6b4e812c7197339ef35ee5c31d047
[ "MIT" ]
null
null
null
defmodule EasySSL.MixProject do use Mix.Project def project do [ app: :easy_ssl, name: "EasySSL", version: "1.1.1", elixir: "~> 1.6", description: "SSL/X509 parsing for humans.", deps: deps(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [coveralls: :te...
23.727273
121
0.563218
5a05e84ec2fc25815ad1a5eef705bfeed7bca018
1,280
ex
Elixir
clients/notebooks/lib/google_api/notebooks/v1/model/boot_image.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/notebooks/lib/google_api/notebooks/v1/model/boot_image.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/notebooks/lib/google_api/notebooks/v1/model/boot_image.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...
30.47619
94
0.758594
5a05e870ad05c7a8ba4b89ebf3c7b98f7eb65b96
2,367
ex
Elixir
lib/spatial_competition.ex
xeejp/xee_spatial_competition
a990aecede8b7529117c2f8e5c5218c2397c79b3
[ "MIT" ]
null
null
null
lib/spatial_competition.ex
xeejp/xee_spatial_competition
a990aecede8b7529117c2f8e5c5218c2397c79b3
[ "MIT" ]
1
2016-11-03T03:55:49.000Z
2016-11-03T03:55:49.000Z
lib/spatial_competition.ex
xeejp/xee_spatial_competition
a990aecede8b7529117c2f8e5c5218c2397c79b3
[ "MIT" ]
null
null
null
defmodule SpatialCompetition do use XeeThemeScript require Logger alias SpatialCompetition.Main alias SpatialCompetition.Host alias SpatialCompetition.Participant alias SpatialCompetition.Actions # Callbacks def script_type do :message end def install, do: nil def init do {:ok, %{data: ...
29.962025
107
0.65019
5a05edfbc06824cf6e0400f6aebbf43d97083653
5,004
exs
Elixir
apps/commuter_rail_boarding/test/trip_updates_test.exs
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
null
null
null
apps/commuter_rail_boarding/test/trip_updates_test.exs
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
null
null
null
apps/commuter_rail_boarding/test/trip_updates_test.exs
paulswartz/commuter_rail_boarding
6be34c192d6a1ee980307d9f3d027bf4cdafa53f
[ "MIT" ]
null
null
null
defmodule TripUpdatesTest do @moduledoc false use ExUnit.Case, async: true import TripUpdates describe "to_map/1" do test "returns the version in the header" do map = to_map([]) assert map.header.gtfs_realtime_version == "1.0" end test "returns a current timestamp in the header" do ...
28.271186
79
0.616707
5a05fd5607b16f5880430107de0a8cde7dccde1b
4,182
ex
Elixir
clients/books/lib/google_api/books/v1/model/volume.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volume.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volume.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...
54.311688
303
0.71186
5a060928751deb98ce4622b9925daa13ca249ea0
623
exs
Elixir
test/growth_book/feature_result_test.exs
jeroenvisser101/growthbook-elixir
1f9009c6dda77814623f3a30de8ea6d8ecdd3bc0
[ "MIT" ]
4
2022-01-30T04:25:43.000Z
2022-02-02T03:06:32.000Z
test/growth_book/feature_result_test.exs
jeroenvisser101/growthbook-elixir
1f9009c6dda77814623f3a30de8ea6d8ecdd3bc0
[ "MIT" ]
null
null
null
test/growth_book/feature_result_test.exs
jeroenvisser101/growthbook-elixir
1f9009c6dda77814623f3a30de8ea6d8ecdd3bc0
[ "MIT" ]
null
null
null
defmodule GrowthBook.FeatureResultTest do use ExUnit.Case, async: true alias GrowthBook.FeatureResult doctest GrowthBook.FeatureResult describe "%FeatureResult{}" do test "enforces required keys" do assert_raise(ArgumentError, fn -> struct!(FeatureResult, experiment: nil) end) as...
24.92
47
0.563403
5a061325fdf5edfa99b865319439e20705749d27
214
ex
Elixir
lib/real_world/accounts/encryption.ex
zoosky/elixir-phoenix-realworld-example-app
8620fb2829703051cdbd032f93be6cd941c4810e
[ "MIT" ]
909
2017-11-16T08:41:08.000Z
2022-03-31T21:59:17.000Z
lib/real_world/accounts/encryption.ex
zoosky/elixir-phoenix-realworld-example-app
8620fb2829703051cdbd032f93be6cd941c4810e
[ "MIT" ]
36
2017-11-28T01:31:05.000Z
2021-12-15T05:03:00.000Z
lib/real_world/accounts/encryption.ex
zoosky/elixir-phoenix-realworld-example-app
8620fb2829703051cdbd032f93be6cd941c4810e
[ "MIT" ]
160
2017-11-16T06:00:37.000Z
2022-01-20T13:50:42.000Z
defmodule RealWorld.Accounts.Encryption do alias Comeonin.Bcrypt def password_hashing(password), do: Bcrypt.hashpwsalt(password) def validate_password(password, hash), do: Bcrypt.checkpw(password, hash) end
30.571429
75
0.803738
5a064d7aa7f07b091eaf1cbe4185a86652e6447e
63
exs
Elixir
test/azurex_test.exs
gzzengwei/azurex
3966bf9c057dcac07b9fa7ec575ef9cc67a76eea
[ "MIT" ]
5
2020-11-10T09:49:21.000Z
2022-03-22T16:45:16.000Z
test/azurex_test.exs
gzzengwei/azurex
3966bf9c057dcac07b9fa7ec575ef9cc67a76eea
[ "MIT" ]
7
2020-11-06T09:45:17.000Z
2021-05-24T18:17:39.000Z
test/azurex_test.exs
gzzengwei/azurex
3966bf9c057dcac07b9fa7ec575ef9cc67a76eea
[ "MIT" ]
9
2021-01-25T11:11:16.000Z
2022-03-22T16:45:18.000Z
defmodule AzurexTest do use ExUnit.Case doctest Azurex end
12.6
23
0.793651
5a065a21783473195cded650b9b9fb3c89a5900a
1,541
ex
Elixir
lib/teslamate/convert.ex
MartinNielsen/teslamate
826e80d7ab06f0a3a564e16efa706f7349b82a24
[ "MIT" ]
null
null
null
lib/teslamate/convert.ex
MartinNielsen/teslamate
826e80d7ab06f0a3a564e16efa706f7349b82a24
[ "MIT" ]
null
null
null
lib/teslamate/convert.ex
MartinNielsen/teslamate
826e80d7ab06f0a3a564e16efa706f7349b82a24
[ "MIT" ]
null
null
null
defmodule TeslaMate.Convert do @km_factor 0.62137119223733 @km_factor_d Decimal.from_float(@km_factor) @ft_factor 3.28084 def mph_to_kmh(nil), do: nil def mph_to_kmh(mph), do: round(mph / @km_factor) def miles_to_km(nil, _precision), do: nil def miles_to_km(mi = %Decimal{}, p), do: mi |> Decimal.div(@km...
33.5
95
0.633355
5a065db6e81c63af0442995f86680844ad82bf56
288
ex
Elixir
test/support/test_metadata.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
14
2017-01-08T14:51:25.000Z
2022-03-14T09:23:17.000Z
test/support/test_metadata.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
654
2017-05-23T22:55:21.000Z
2022-03-30T09:02:25.000Z
test/support/test_metadata.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
4
2019-07-10T23:09:25.000Z
2020-02-09T12:14:00.000Z
defmodule Support.TestMetadata do @moduledoc """ A structure to test the support for the `AtomTweaksWeb.PageMetadata.Metadata` protocol. """ defstruct [:foo] defimpl AtomTweaksWeb.PageMetadata.Metadata do def to_metadata(value) do [foo: value.foo] end end end
20.571429
89
0.71875
5a06656e435f17c20884d0acc948d8f6867d01d8
1,364
ex
Elixir
lib/parsers/helper.ex
delameko/elixir-feed-parser
cac1cb26df8c2e904b0e3d10eee29580d1b7a0ed
[ "MIT" ]
null
null
null
lib/parsers/helper.ex
delameko/elixir-feed-parser
cac1cb26df8c2e904b0e3d10eee29580d1b7a0ed
[ "MIT" ]
null
null
null
lib/parsers/helper.ex
delameko/elixir-feed-parser
cac1cb26df8c2e904b0e3d10eee29580d1b7a0ed
[ "MIT" ]
1
2017-10-28T05:33:12.000Z
2017-10-28T05:33:12.000Z
defmodule ElixirFeedParser.Parsers.Helper do alias ElixirFeedParser.XmlNode require Logger def element(node, selector) do node |> XmlNode.find(selector) |> XmlNode.text() end def element(node, selector, attr: attr) do node |> XmlNode.find(selector) |> XmlNode.attr(attr) end def elements(node, ...
26.745098
84
0.659824
5a067c48f34ca95a1938ec732e471038f32dd79e
4,300
exs
Elixir
test/reverse_proxy_plug_stream_test.exs
GermanDZ/reverse_proxy_plug
e80cd704dd0112622a1c543a0515838ca04c5652
[ "MIT" ]
null
null
null
test/reverse_proxy_plug_stream_test.exs
GermanDZ/reverse_proxy_plug
e80cd704dd0112622a1c543a0515838ca04c5652
[ "MIT" ]
null
null
null
test/reverse_proxy_plug_stream_test.exs
GermanDZ/reverse_proxy_plug
e80cd704dd0112622a1c543a0515838ca04c5652
[ "MIT" ]
null
null
null
defmodule ReverseProxyStreamTest do use ExUnit.Case use Plug.Test import Mox @opts ReverseProxyPlug.init( upstream: "example.com", client: ReverseProxyPlug.HTTPClientMock ) @hop_by_hop_headers [ {"connection", "keep-alive"}, {"keep-alive", "timeout=5, max=1000"}, {"u...
28.476821
95
0.647209
5a06b728f57c8b900119e62e5bb48f949573dae9
27,234
ex
Elixir
lib/elixir/lib/gen_event.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2020-01-14T18:44:56.000Z
2020-01-14T18:44:56.000Z
lib/elixir/lib/gen_event.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/elixir/lib/gen_event.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
defmodule GenEvent do # Functions from this module are deprecated in elixir_dispatch. @moduledoc """ A event manager with event handlers behaviour. If you are interested in implementing an event manager, please read the "Alternatives" section below. If you have to implement an event handler to integrate w...
30.126106
104
0.612323
5a06c608c05d67dae1a579ab20252246ba63439d
1,116
exs
Elixir
priv/repo/seeds.exs
cassiofariasmachado/rockelivery
3d88d4d8af1cdc3f2988edc69162d848009babbd
[ "MIT" ]
1
2021-09-27T06:15:08.000Z
2021-09-27T06:15:08.000Z
priv/repo/seeds.exs
cassiofariasmachado/rockelivery
3d88d4d8af1cdc3f2988edc69162d848009babbd
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
cassiofariasmachado/rockelivery
3d88d4d8af1cdc3f2988edc69162d848009babbd
[ "MIT" ]
1
2021-12-21T12:47:59.000Z
2021-12-21T12:47:59.000Z
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Rockelivery.Repo.insert!(%Rockelivery.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as t...
21.056604
61
0.675627
5a06e4ccdab2e5234cb9ef85f948e5bc2df22905
923
ex
Elixir
ttrack-backend/lib/ttrack/application.ex
kacper-marzecki/ttrack
603cbe91800feb680996827f66eafd458b9b8a90
[ "MIT" ]
null
null
null
ttrack-backend/lib/ttrack/application.ex
kacper-marzecki/ttrack
603cbe91800feb680996827f66eafd458b9b8a90
[ "MIT" ]
null
null
null
ttrack-backend/lib/ttrack/application.ex
kacper-marzecki/ttrack
603cbe91800feb680996827f66eafd458b9b8a90
[ "MIT" ]
null
null
null
defmodule Ttrack.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the Ecto repository Ttrack.Repo, ...
28.84375
65
0.711809
5a06e9c171b96348b8eca8f90da5ebdd4dede4a0
480
ex
Elixir
rna-transcription/lib/rna_transcription.ex
wasi0013/exercism
e00800e63cfb4024ce965fa49365acc5dd04a87b
[ "MIT" ]
1
2020-04-06T19:41:50.000Z
2020-04-06T19:41:50.000Z
rna-transcription/lib/rna_transcription.ex
wasi0013/exercism
e00800e63cfb4024ce965fa49365acc5dd04a87b
[ "MIT" ]
null
null
null
rna-transcription/lib/rna_transcription.ex
wasi0013/exercism
e00800e63cfb4024ce965fa49365acc5dd04a87b
[ "MIT" ]
null
null
null
defmodule RnaTranscription do @doc """ Transcribes a character list representing DNA nucleotides to RNA ## Examples iex> RnaTranscription.to_rna('ACTG') 'UGAC' """ @spec to_rna([char]) :: [char] def to_rna('') do '' end def to_rna('A' ++ dna) do 'U' ++ to_rna(dna) end def to_rna('C' ...
15.483871
66
0.570833
5a06ea4432fb545af9e904df5407f1f283e5b931
6,108
ex
Elixir
clients/translate/lib/google_api/translate/v2/api/detections.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v2/api/detections.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/translate/lib/google_api/translate/v2/api/detections.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
40.993289
218
0.674689
5a06eae650b97420530f8a9bc5a18123efde94f4
1,262
exs
Elixir
test/customerio/identity_test.exs
marcelolebre/customerio
33e69aa71bbc98aa8f4bff8bd01e03e45ae0f1e5
[ "MIT" ]
6
2019-02-21T09:15:05.000Z
2020-11-17T18:08:46.000Z
test/customerio/identity_test.exs
marcelolebre/customerio
33e69aa71bbc98aa8f4bff8bd01e03e45ae0f1e5
[ "MIT" ]
2
2019-06-04T06:31:10.000Z
2022-02-09T05:38:07.000Z
test/customerio/identity_test.exs
marcelolebre/customerio
33e69aa71bbc98aa8f4bff8bd01e03e45ae0f1e5
[ "MIT" ]
5
2017-10-02T22:07:19.000Z
2022-02-01T18:37:34.000Z
defmodule Customerio.IdentityTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney describe "Customerio::identify" do test "Got responce if success" do ExVCR.Config.filter_request_options("basic_auth") use_cassette "identify/pass" do assert {:ok, result} = C...
31.55
140
0.641838
5a06f3ec1401c38fed91dfecc1f365df36a85512
1,567
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/empty.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...
31.34
76
0.746011
5a06f9593ba1095b46740c515d21fa0708f943b7
247
exs
Elixir
test/test_helper.exs
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
1
2021-09-18T01:09:08.000Z
2021-09-18T01:09:08.000Z
test/test_helper.exs
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
1
2021-07-07T06:18:36.000Z
2021-07-07T06:18:36.000Z
erl_docs_available? = Code.fetch_docs(:gen_server) != {:error, :chunk_not_found} exclude = [] exclude = if erl_docs_available?, do: exclude, else: Keyword.put(exclude, :erl_docs, true) ExUnit.start(assert_receive_timeout: 300, exclude: exclude)
35.285714
90
0.761134
5a071badcb160e885b7517f521d388903f674777
197
ex
Elixir
lib/phone/ml.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/ml.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/ml.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.ML do @moduledoc false use Helper.Country def regex, do: ~r/^(223)()(.{8})/ def country, do: "Mali" def a2, do: "ML" def a3, do: "MLI" matcher(:regex, ["223"]) end
15.153846
35
0.588832
5a07696615207caa3ed29dec66536171e821adb3
1,965
ex
Elixir
lib/elixir_keeb/communication/phoenix_channel_logger_backend.ex
amalbuquerque/elixir-keeb
39b0cdc6efc82522c459d15e5f8277d26104ceda
[ "MIT" ]
9
2020-07-07T15:57:55.000Z
2021-08-12T04:59:44.000Z
lib/elixir_keeb/communication/phoenix_channel_logger_backend.ex
amalbuquerque/elixir-keeb
39b0cdc6efc82522c459d15e5f8277d26104ceda
[ "MIT" ]
null
null
null
lib/elixir_keeb/communication/phoenix_channel_logger_backend.ex
amalbuquerque/elixir-keeb
39b0cdc6efc82522c459d15e5f8277d26104ceda
[ "MIT" ]
1
2021-07-16T13:49:00.000Z
2021-07-16T13:49:00.000Z
defmodule ElixirKeeb.Communication.PhoenixChannelLoggerBackend do @moduledoc """ Send log messages to front end """ @activate_after_secs 40 def activate(name) do Logger.configure_backend({ ElixirKeeb.Communication.PhoenixChannelLoggerBackend, name }, ready: true) end def init({__MOD...
22.078652
85
0.636132
5a0787a1ff5d496adab9287af8b60e2e737007b1
263
ex
Elixir
lib/crypto_monitor.ex
obahareth/crypto-monitor
bd9e9f1e9627fad582329afe2c66e2de4c95768b
[ "MIT" ]
null
null
null
lib/crypto_monitor.ex
obahareth/crypto-monitor
bd9e9f1e9627fad582329afe2c66e2de4c95768b
[ "MIT" ]
null
null
null
lib/crypto_monitor.ex
obahareth/crypto-monitor
bd9e9f1e9627fad582329afe2c66e2de4c95768b
[ "MIT" ]
null
null
null
defmodule CryptoMonitor do @moduledoc """ CryptoMonitor keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
26.3
66
0.764259
5a079ae9e249fcb0f104b2811c8d6ec5311d19a1
2,728
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/node_type_aggregated_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_type_aggregated_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_type_aggregated_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43.301587
381
0.736804
5a07af15feb8603fbefd84fff1618f6d61649d64
1,478
exs
Elixir
config/config.exs
gjlbro/testdelivery
3d667cca67b3a561d7395673b6b968523ed3270a
[ "MIT" ]
null
null
null
config/config.exs
gjlbro/testdelivery
3d667cca67b3a561d7395673b6b968523ed3270a
[ "MIT" ]
null
null
null
config/config.exs
gjlbro/testdelivery
3d667cca67b3a561d7395673b6b968523ed3270a
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :delivery, ecto_repos: [Delivery.Repo] ...
32.844444
86
0.780785
5a07c2ebcdca2f2f0bb39e24ae7bfadfc05aaa2b
3,134
ex
Elixir
apps/omg_eth/lib/omg_eth/encoding.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg_eth/lib/omg_eth/encoding.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg_eth/lib/omg_eth/encoding.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
37.759036
264
0.723995
5a07ee45c32070dc2e238ed358f1c1c6af0de9d5
1,400
ex
Elixir
clients/discovery/lib/google_api/discovery/v1/model/rest_method_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/discovery/lib/google_api/discovery/v1/model/rest_method_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/discovery/lib/google_api/discovery/v1/model/rest_method_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.787234
88
0.730714
5a0802b0beb259ff7df0b248f0c0a783d0d4d3de
1,283
ex
Elixir
lib/money/currency/ecto_type.ex
bigardone/money
a832ea78f4cd6a9f16c682aec1d0ca0263673894
[ "MIT" ]
1
2020-01-30T22:44:45.000Z
2020-01-30T22:44:45.000Z
lib/money/currency/ecto_type.ex
bigardone/money
a832ea78f4cd6a9f16c682aec1d0ca0263673894
[ "MIT" ]
null
null
null
lib/money/currency/ecto_type.ex
bigardone/money
a832ea78f4cd6a9f16c682aec1d0ca0263673894
[ "MIT" ]
null
null
null
if Code.ensure_compiled?(Ecto.Type) do defmodule Money.Currency.Ecto.Type do @moduledoc """ Provides a type for Ecto to store a currency. The underlying data type is a string. ## Migration Example create table(:my_table) do add :currency, :string end ## Schema Example ...
22.910714
71
0.592362
5a0828454d9c732929cc051b4f5e597f19f61242
483
ex
Elixir
lib/ref_web/views/error_view.ex
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
lib/ref_web/views/error_view.ex
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
lib/ref_web/views/error_view.ex
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
defmodule RefWeb.ErrorView do use RefWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. For ex...
28.411765
61
0.730849
5a0848264a3ad8d666bb6638411a52b88d9e23b1
345
exs
Elixir
test/eps_web/views/error_helpers_test.exs
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
test/eps_web/views/error_helpers_test.exs
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
test/eps_web/views/error_helpers_test.exs
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
defmodule EPSWeb.ErrorHelpersTest do @moduledoc """ Tests for the error helpers. """ use EPSWeb.ConnCase, async: true import EPSWeb.ErrorHelpers test "returns error message" do message = "is invalid" assert translate_error({message, %{}}) == message assert translate_error({message, %{count: 1...
21.5625
61
0.689855
5a086b8ced7635dfe741788b65a3a0ec7971693a
1,273
ex
Elixir
lib/conduit/broker/subscribe_route.ex
peek-travel/conduit
f37b96513769bdf70c89eebd77bb03023d248158
[ "MIT" ]
119
2016-11-21T13:19:22.000Z
2021-11-07T17:29:05.000Z
lib/conduit/broker/subscribe_route.ex
peek-travel/conduit
f37b96513769bdf70c89eebd77bb03023d248158
[ "MIT" ]
104
2018-02-02T20:42:46.000Z
2021-08-03T05:36:09.000Z
lib/conduit/broker/subscribe_route.ex
peek-travel/conduit
f37b96513769bdf70c89eebd77bb03023d248158
[ "MIT" ]
21
2018-08-03T02:38:21.000Z
2022-03-16T18:26:58.000Z
defmodule Conduit.Broker.SubscribeRoute do @moduledoc false @type name :: atom @type subscriber :: module @type opts :: Keyword.t() @type pipelines :: [Conduit.Broker.Pipeline.t() | atom] @type t :: %__MODULE__{ name: String.t(), subscriber: module, opts: Keyword.t(), ...
25.979592
93
0.641005
5a086f4a9ce961f6c9ab898dfbfc3486715b442c
72
exs
Elixir
back/test/api_web/views/page_view_test.exs
HugoLefebvre/Epitech_TM_MP03
0ed161c956f7a10aec245fe2e17eb5a9b55f6075
[ "MIT" ]
17
2018-09-18T23:35:26.000Z
2021-12-05T08:03:23.000Z
back/test/api_web/views/page_view_test.exs
HugoLefebvre/Epitech_TM_MP03
0ed161c956f7a10aec245fe2e17eb5a9b55f6075
[ "MIT" ]
null
null
null
back/test/api_web/views/page_view_test.exs
HugoLefebvre/Epitech_TM_MP03
0ed161c956f7a10aec245fe2e17eb5a9b55f6075
[ "MIT" ]
2
2019-07-08T20:43:13.000Z
2020-03-04T19:11:39.000Z
defmodule ApiWeb.PageViewTest do use ApiWeb.ConnCase, async: true end
18
34
0.805556
5a087b8bff27d4e0127d367c0eadc1cb61da6e12
1,558
exs
Elixir
test/pow/extension/phoenix/router_test.exs
foggy1/pow
c46cf4c4c2d59d10861783faa46f3979d54343a9
[ "MIT" ]
null
null
null
test/pow/extension/phoenix/router_test.exs
foggy1/pow
c46cf4c4c2d59d10861783faa46f3979d54343a9
[ "MIT" ]
null
null
null
test/pow/extension/phoenix/router_test.exs
foggy1/pow
c46cf4c4c2d59d10861783faa46f3979d54343a9
[ "MIT" ]
null
null
null
defmodule Pow.Test.Extension.Phoenix.Router.Phoenix.Router do use Pow.Extension.Phoenix.Router.Base defmacro routes(_config) do quote location: :keep do resources "/test", TestController, only: [:new, :create, :edit, :update] end end end defmodule Pow.Test.Extension.Phoenix.Router do use Phoenix...
26.40678
109
0.717587
5a088764db0427aeba9863de7aa5510fe5906e5a
2,117
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/ios_test_loop.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/ios_test_loop.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/ios_test_loop.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.803571
139
0.722248
5a088e6def5c21c7c352f10221bb2f6320d80b81
593
ex
Elixir
lib/tpl.ex
imahiro-t/smallex
5fbc7080fde7f63b3440d8325f45d61f5d1b5bc3
[ "Apache-2.0" ]
7
2020-01-13T21:17:28.000Z
2021-11-15T12:10:55.000Z
lib/tpl.ex
data-maestro/smallex
5fbc7080fde7f63b3440d8325f45d61f5d1b5bc3
[ "Apache-2.0" ]
26
2021-02-25T09:22:28.000Z
2021-06-11T02:59:11.000Z
lib/tpl.ex
data-maestro/smallex
5fbc7080fde7f63b3440d8325f45d61f5d1b5bc3
[ "Apache-2.0" ]
2
2018-01-02T17:59:40.000Z
2018-01-12T17:16:02.000Z
defmodule Tpl do @moduledoc """ Tuple library. """ @doc """ Extract value on :ok ## Examples iex> { :ok, "success" } |> Tpl.ok "success" """ def ok( { :ok, result } ), do: result @doc """ Extract value on :error ## Examples iex> { :error, "error" } |> Tpl.error "error" """ def error( { :error, ...
16.472222
44
0.551433
5a08a1821f96ac142abc0f376aef4715a6b84254
4,676
ex
Elixir
lib/tabular.ex
sparta-developers/tabular
39c4a97c6378efa274c351dc435afd4bc011c616
[ "BlueOak-1.0.0" ]
null
null
null
lib/tabular.ex
sparta-developers/tabular
39c4a97c6378efa274c351dc435afd4bc011c616
[ "BlueOak-1.0.0" ]
null
null
null
lib/tabular.ex
sparta-developers/tabular
39c4a97c6378efa274c351dc435afd4bc011c616
[ "BlueOak-1.0.0" ]
null
null
null
defmodule Tabular do @moduledoc """ Tabular converts an ascii table string into either a list of lists or a list of maps. """ @row_splitter_re ~r/^\s*[|+]--[-+|]+$/ @doc ~S''' Converts an ascii table to a list of maps. ## Examples iex> ascii_table = """ ...> |---------------+-------------...
25.413043
87
0.479897
5a08c0b97cc6a0d29be86c5d68e2d2c22794cde2
473
ex
Elixir
lib/spender_web/context.ex
LittleKidogo/Budgetinization
eae6dd62208ec7fb43c8c212f40611f8635205d5
[ "MIT" ]
2
2018-02-27T06:29:59.000Z
2018-06-09T16:53:49.000Z
lib/spender_web/context.ex
LittleKidogo/Budgetinization
eae6dd62208ec7fb43c8c212f40611f8635205d5
[ "MIT" ]
94
2018-02-22T06:03:19.000Z
2018-06-28T14:30:31.000Z
lib/spender_web/context.ex
LittleKidogo/Budgetinization
eae6dd62208ec7fb43c8c212f40611f8635205d5
[ "MIT" ]
1
2020-03-04T19:41:06.000Z
2020-03-04T19:41:06.000Z
defmodule SpenderWeb.Context do @behaviour Plug import Plug.Conn def init(opts), do: opts def call(conn, _) do context = build_context(conn) Absinthe.Plug.put_options(conn, context: context) end defp build_context(conn) do with ["Bearer " <> token ] <- get_req_header(conn, "authorization"), ...
20.565217
80
0.657505
5a08fbc844dbaf1b9c7e2914432a1cb3256df435
243
ex
Elixir
lib/exploring_elixir/e006/tenants_repo.ex
arcseldon/exploring-elixir
0115aed80e5905384e7277dfe740d09e3a496b7b
[ "Apache-2.0" ]
30
2017-07-03T23:53:37.000Z
2021-03-14T21:27:14.000Z
lib/exploring_elixir/e006/tenants_repo.ex
arcseldon/exploring-elixir
0115aed80e5905384e7277dfe740d09e3a496b7b
[ "Apache-2.0" ]
1
2018-05-25T20:00:24.000Z
2018-05-30T09:40:09.000Z
lib/exploring_elixir/e006/tenants_repo.ex
aseigo/exploring-elixir
0115aed80e5905384e7277dfe740d09e3a496b7b
[ "Apache-2.0" ]
4
2017-07-27T09:07:17.000Z
2019-05-22T11:14:25.000Z
defmodule ExploringElixir.Repo.Tenants do use Ecto.Repo, otp_app: :exploring_elixir def child_spec(opts) do %{ id: __MODULE__, start: {__MODULE__, :start_link, [opts]}, type: :supervisor } end end
20.25
51
0.621399
5a0903940407402a6be60357a60af5cc95e45122
1,115
exs
Elixir
config/config.exs
CrowdHailer/basalt
be8e617faa0aa5129c457959d1924ab8acf824e5
[ "Apache-2.0" ]
null
null
null
config/config.exs
CrowdHailer/basalt
be8e617faa0aa5129c457959d1924ab8acf824e5
[ "Apache-2.0" ]
1
2017-01-11T00:43:16.000Z
2017-01-11T00:43:16.000Z
config/config.exs
CrowdHailer/basalt
be8e617faa0aa5129c457959d1924ab8acf824e5
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
35.967742
73
0.750673
5a093c8529a696fa09a388a423a680bd8827fa22
1,692
ex
Elixir
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/get_remarketing_tag_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/get_remarketing_tag_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/real_time_bidding/lib/google_api/real_time_bidding/v1/model/get_remarketing_tag_response.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...
36
308
0.751773
5a09548c319435a19e01f4ea93e37c039bfb6666
833
exs
Elixir
config/config.exs
MihailoIsakov/LixLint
5edba3068b929417d49b2084bb15b21057e9ca0b
[ "MIT" ]
null
null
null
config/config.exs
MihailoIsakov/LixLint
5edba3068b929417d49b2084bb15b21057e9ca0b
[ "MIT" ]
null
null
null
config/config.exs
MihailoIsakov/LixLint
5edba3068b929417d49b2084bb15b21057e9ca0b
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :statika, Statika.Endpoint, url: [host: "localhost...
33.32
86
0.761104
5a0979c557076357b8c8a379fa1b06ba1835f911
961
exs
Elixir
config/prod.secret.exs
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
1
2022-03-02T12:18:07.000Z
2022-03-02T12:18:07.000Z
config/prod.secret.exs
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
12
2021-05-31T21:41:09.000Z
2021-07-30T03:18:09.000Z
config/prod.secret.exs
guisehn/elixir-text-based-fps
59a815da337309297f8b42ef3481277dd4d9b371
[ "MIT" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config secret_key_base = System.get_env("SECRET_KEY_BASE") || raise """ ...
32.033333
68
0.736733
5a0993fd5538dd44b454b7b05bd5545202b4e108
1,593
ex
Elixir
lib/crypto/encrypted_string.ex
michaeljguarino/piazza_core
9cb24c59687db068cd16d2de94066dc85f871bc0
[ "MIT" ]
null
null
null
lib/crypto/encrypted_string.ex
michaeljguarino/piazza_core
9cb24c59687db068cd16d2de94066dc85f871bc0
[ "MIT" ]
null
null
null
lib/crypto/encrypted_string.ex
michaeljguarino/piazza_core
9cb24c59687db068cd16d2de94066dc85f871bc0
[ "MIT" ]
null
null
null
defmodule Piazza.Ecto.EncryptedString do @moduledoc """ Implements at rest encryption for ecto fields. The encrypted field will be placed into a b64 encoded protobuf message, for ease of migration as additional features like kms integration or key rotation are introduced. """ use Ecto.Type @header "%ENC%...
30.634615
83
0.637163
5a09faacff583d2abc1447762fef228ff91a4931
2,171
exs
Elixir
test/creek_dict_admin/accounts_test.exs
nativesintech/creek-dictionary-admin
14bfd6c364010a1c905f97cd9388bad0a40589bc
[ "MIT" ]
null
null
null
test/creek_dict_admin/accounts_test.exs
nativesintech/creek-dictionary-admin
14bfd6c364010a1c905f97cd9388bad0a40589bc
[ "MIT" ]
7
2019-09-20T02:00:23.000Z
2019-10-07T04:22:51.000Z
test/creek_dict_admin/accounts_test.exs
nativesintech/creek-dictionary-admin
14bfd6c364010a1c905f97cd9388bad0a40589bc
[ "MIT" ]
null
null
null
defmodule CreekDictAdmin.AccountsTest do use CreekDictAdmin.DataCase alias CreekDictAdmin.Accounts describe "users" do alias CreekDictAdmin.Accounts.User @valid_attrs %{password_hash: "some password_hash", username: "some username"} @update_attrs %{ password_hash: "some updated password_hash"...
31.014286
85
0.666974
5a0a3a69283506913c150a1aed741c8ddc4c548e
2,567
exs
Elixir
test/xdr/hyper_int_test.exs
sasanchezag/elixir_xdr
a367bd6ad4b636c1f8236efbe59e1136e992cec1
[ "MIT" ]
null
null
null
test/xdr/hyper_int_test.exs
sasanchezag/elixir_xdr
a367bd6ad4b636c1f8236efbe59e1136e992cec1
[ "MIT" ]
null
null
null
test/xdr/hyper_int_test.exs
sasanchezag/elixir_xdr
a367bd6ad4b636c1f8236efbe59e1136e992cec1
[ "MIT" ]
null
null
null
defmodule XDR.HyperIntTest do @moduledoc """ Tests for the `XDR.HyperInt` module. """ use ExUnit.Case alias XDR.HyperInt alias XDR.Error.HyperInt, as: HyperIntError describe "Encoding Hyper Integer to binary" do test "when is not an integer value" do {status, reason} = HyperInt.new("h...
25.67
79
0.608103
5a0a8db1c711ef4e215209b2658eddf36b3e89ea
1,251
ex
Elixir
lib/parsers/feedburner_atom.ex
jmn/elixir-feed-parser
88ab8466036d8a9dc76e67444eb43e04bd6546ba
[ "MIT" ]
51
2015-11-06T09:42:37.000Z
2022-01-26T06:32:42.000Z
lib/parsers/feedburner_atom.ex
jmn/elixir-feed-parser
88ab8466036d8a9dc76e67444eb43e04bd6546ba
[ "MIT" ]
12
2015-11-06T16:11:42.000Z
2021-02-19T07:03:09.000Z
lib/parsers/feedburner_atom.ex
jmn/elixir-feed-parser
88ab8466036d8a9dc76e67444eb43e04bd6546ba
[ "MIT" ]
16
2017-03-26T22:58:26.000Z
2022-02-02T02:35:48.000Z
defmodule ElixirFeedParser.Parsers.FeedburnerAtom do import ElixirFeedParser.Parsers.Helper alias ElixirFeedParser.Parsers.Atom alias ElixirFeedParser.XmlNode # TODO: implement me def can_parse?(xml) do Atom.can_parse?(xml) && feedburner_namespace?(xml) end def parse(xml) do feed = XmlNode.find...
24.057692
84
0.651479
5a0a90b1cdea98460f70f16c148eeee347ed730e
902
ex
Elixir
clients/admin/lib/google_api/admin/datatransfer_v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/datatransfer_v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/datatransfer_v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.407407
74
0.763858
5a0aa392560e26af752a52bf5a6fa2e53ecce91c
2,477
ex
Elixir
lib/bip39.ex
Jeonghan-Seok/bip39
05d9582952fc75bceb4ef0e771704875836b0233
[ "MIT" ]
3
2019-10-30T07:32:10.000Z
2021-05-14T02:01:06.000Z
lib/bip39.ex
rudebono/bip39
05d9582952fc75bceb4ef0e771704875836b0233
[ "MIT" ]
null
null
null
lib/bip39.ex
rudebono/bip39
05d9582952fc75bceb4ef0e771704875836b0233
[ "MIT" ]
null
null
null
defmodule Bip39 do @moduledoc """ #Bitcoin #BIP39 #Mnemonic #Elixir """ @doc """ Convert entropy to mnemonic. ##### Parameter bit_size(entropy) in [128, 160, 192, 224, 256] length(words) == 2048 ##### Example iex> Bip39.entropy_to_mnemonic(<<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
33.472973
195
0.61526
5a0abcabed33694f4184b2a79126188daaddac2f
2,183
exs
Elixir
test/integration/compression_test.exs
Nitrino/xandra
533cae4be6c23d7fc8240f934cf952aaf17e9b44
[ "0BSD" ]
1
2018-11-10T19:41:01.000Z
2018-11-10T19:41:01.000Z
test/integration/compression_test.exs
Nitrino/xandra
533cae4be6c23d7fc8240f934cf952aaf17e9b44
[ "0BSD" ]
null
null
null
test/integration/compression_test.exs
Nitrino/xandra
533cae4be6c23d7fc8240f934cf952aaf17e9b44
[ "0BSD" ]
1
2019-02-11T23:33:15.000Z
2019-02-11T23:33:15.000Z
defmodule CompressionTest do use XandraTest.IntegrationCase, async: true defmodule Snappy do @behaviour Xandra.Compressor def algorithm(), do: :snappy def compress(body) do {:ok, compressed_body} = :snappy.compress(body) compressed_body end def decompress(compressed_body) do ...
35.786885
98
0.655062
5a0ac4002e14df2a5aab8e4c4223b473f35731b7
823
ex
Elixir
lib/bot/discord_bot.ex
LeonardSSH/lanyard
407bc5c7dfcfcaf28ee72a70dc8695c39980f87d
[ "MIT" ]
323
2021-03-12T17:42:44.000Z
2022-03-31T21:32:30.000Z
lib/bot/discord_bot.ex
LeonardSSH/lanyard
407bc5c7dfcfcaf28ee72a70dc8695c39980f87d
[ "MIT" ]
56
2021-03-22T12:30:36.000Z
2022-03-25T17:56:01.000Z
lib/bot/discord_bot.ex
LeonardSSH/lanyard
407bc5c7dfcfcaf28ee72a70dc8695c39980f87d
[ "MIT" ]
113
2021-03-13T17:30:36.000Z
2022-03-29T13:19:24.000Z
defmodule Lanyard.DiscordBot do use GenServer require Logger alias Lanyard.Gateway defstruct token: nil, gateway_client_pid: nil def start_link(state) do GenServer.start_link(__MODULE__, state, name: :discord_bot) end def init(state) do {:ok, %__MODULE__{token: state.token, gatewa...
24.205882
92
0.687728
5a0ae95c5adef150ef4e39fe1b7518e2f0e4339f
262
exs
Elixir
test/exp_web/views/layout_view_test.exs
karloescota/exp
77267b80febf6d738b3ac6b6203795feef01e666
[ "MIT" ]
null
null
null
test/exp_web/views/layout_view_test.exs
karloescota/exp
77267b80febf6d738b3ac6b6203795feef01e666
[ "MIT" ]
null
null
null
test/exp_web/views/layout_view_test.exs
karloescota/exp
77267b80febf6d738b3ac6b6203795feef01e666
[ "MIT" ]
null
null
null
defmodule ExpWeb.LayoutViewTest do use ExpWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
29.111111
65
0.759542
5a0afd1bdc5acef6db69dd69183aed61bcc9b596
3,751
exs
Elixir
test/surface/components/form/select_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
1,161
2019-12-12T02:30:52.000Z
2021-03-11T17:55:44.000Z
test/surface/components/form/select_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
248
2021-03-12T07:39:37.000Z
2022-03-31T13:36:44.000Z
test/surface/components/form/select_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
73
2019-12-12T13:57:41.000Z
2021-03-11T21:46:10.000Z
defmodule Surface.Components.Form.SelectTest do use Surface.ConnCase, async: true alias Surface.Components.Form.Select test "empty select" do html = render_surface do ~F""" <Select form="user" field="role" /> """ end assert html =~ """ <select id="user_rol...
24.357143
111
0.518262
5a0afe555609c9b672e276af1865c88511ebdecc
653
ex
Elixir
lib/v2/invites.ex
rodrigues/hipchat_elixir
bcb5cf835db4f99011db736aeccad74a09f12362
[ "MIT" ]
6
2016-12-19T21:11:05.000Z
2018-06-15T03:36:47.000Z
lib/v2/invites.ex
rodrigues/hipchat_elixir
bcb5cf835db4f99011db736aeccad74a09f12362
[ "MIT" ]
2
2018-06-06T14:51:59.000Z
2018-06-12T04:32:34.000Z
lib/v2/invites.ex
rodrigues/hipchat_elixir
bcb5cf835db4f99011db736aeccad74a09f12362
[ "MIT" ]
4
2017-01-19T12:23:54.000Z
2018-06-06T15:00:07.000Z
# Code generated by `$ mix hipchat.generate` defmodule Hipchat.V2.Invites do @moduledoc """ HipChat V2 Invites API module. """ alias Hipchat.{Client, Httpc} @endpoint "https://api.hipchat.com/v2" @doc """ [https://www.hipchat.com/docs/apiv2/method/invite_user_to_group](https://www.hipchat.com/docs/apiv...
28.391304
130
0.635528
5a0b13d1e94439bf6a949ea6f691ef5f0d06c645
1,547
ex
Elixir
lib/chameleon/hsl.ex
nunojesus/chameleon
63d135c1a7f23557821df4841a799622959f9ea6
[ "Apache-2.0" ]
null
null
null
lib/chameleon/hsl.ex
nunojesus/chameleon
63d135c1a7f23557821df4841a799622959f9ea6
[ "Apache-2.0" ]
null
null
null
lib/chameleon/hsl.ex
nunojesus/chameleon
63d135c1a7f23557821df4841a799622959f9ea6
[ "Apache-2.0" ]
null
null
null
defmodule Chameleon.HSL.Chameleon.RGB do defstruct [:from] @moduledoc false defimpl Chameleon.Color do def convert(%{from: hsl}) do Chameleon.HSL.to_rgb(hsl) end end end defmodule Chameleon.HSL do @enforce_keys [:h, :s, :l] defstruct @enforce_keys @type t() :: %__MODULE__{h: integer(), s...
26.672414
95
0.532644
5a0b27bb01774e893e763ee03c4c2e3797e443ac
11,555
ex
Elixir
lib/mix/lib/mix/tasks/profile.eprof.ex
fmterrorf/elixir
eafb7b87756179adac5dc2bc11edcb04c1f187cc
[ "Apache-2.0" ]
1
2022-03-28T12:04:08.000Z
2022-03-28T12:04:08.000Z
lib/mix/lib/mix/tasks/profile.eprof.ex
fmterrorf/elixir
eafb7b87756179adac5dc2bc11edcb04c1f187cc
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/profile.eprof.ex
fmterrorf/elixir
eafb7b87756179adac5dc2bc11edcb04c1f187cc
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Profile.Eprof do use Mix.Task @shortdoc "Profiles the given file or expression with eprof" @moduledoc """ Profiles the given file or expression using Erlang's `eprof` tool. `:eprof` provides time information of each function call and can be useful when you want to discover the bottlen...
34.909366
99
0.642319
5a0b8e142a42c1c098ff602f3b8211304fd5b3f0
1,419
ex
Elixir
test/support/data_case.ex
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
null
null
null
test/support/data_case.ex
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
3
2021-03-09T18:21:20.000Z
2021-09-01T22:58:23.000Z
test/support/data_case.ex
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
null
null
null
defmodule OndeServer.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every t...
26.277778
77
0.682875
5a0bb8a79234cd5f3fa73c2ed693ea081cb4f8cf
276
ex
Elixir
lib/phone/nanp/us/ia.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/nanp/us/ia.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/nanp/us/ia.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.NANP.US.IA do @moduledoc false use Helper.Area def regex, do: ~r/^(1)(319|515|563|641|712)([2-9].{6})$/ def area_name, do: "Iowa" def area_type, do: "state" def area_abbreviation, do: "IA" matcher(["1319", "1515", "1563", "1641", "1712"]) end
21.230769
58
0.623188
5a0bbabaeeeb144ee4fb2a231e8b4f7d72f7b24c
352
exs
Elixir
assistant/test/assistant_web/live/page_live_test.exs
dainst/bibliography-assistant
6495055bf852964d416a02d92729406a6a1a33e9
[ "Apache-2.0" ]
null
null
null
assistant/test/assistant_web/live/page_live_test.exs
dainst/bibliography-assistant
6495055bf852964d416a02d92729406a6a1a33e9
[ "Apache-2.0" ]
null
null
null
assistant/test/assistant_web/live/page_live_test.exs
dainst/bibliography-assistant
6495055bf852964d416a02d92729406a6a1a33e9
[ "Apache-2.0" ]
null
null
null
defmodule AssistantWeb.PageLiveTest do use AssistantWeb.ConnCase import Phoenix.LiveViewTest test "disconnected and connected render", %{conn: conn} do {:ok, page_live, disconnected_html} = live(conn, "/") assert disconnected_html =~ "Bibliographische Referenzen" assert render(page_live) =~ "Bibliog...
29.333333
61
0.752841
5a0bd48f42049a7fb863c656c8b3167fa4709ef6
1,919
ex
Elixir
clients/partners/lib/google_api/partners/v2/model/certification_exam_status.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/partners/lib/google_api/partners/v2/model/certification_exam_status.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/partners/lib/google_api/partners/v2/model/certification_exam_status.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.903846
252
0.758729
5a0bd8335dded0bceec2729ce5856a407e8169d5
1,272
exs
Elixir
test/plug/adapters/cowboy_test.exs
elixir-lang-china/plug
53b1632939e7e8b1638db867facd512f71bce7e7
[ "Apache-2.0" ]
null
null
null
test/plug/adapters/cowboy_test.exs
elixir-lang-china/plug
53b1632939e7e8b1638db867facd512f71bce7e7
[ "Apache-2.0" ]
null
null
null
test/plug/adapters/cowboy_test.exs
elixir-lang-china/plug
53b1632939e7e8b1638db867facd512f71bce7e7
[ "Apache-2.0" ]
1
2020-12-07T08:04:20.000Z
2020-12-07T08:04:20.000Z
defmodule Plug.Adapters.CowboyTest do use ExUnit.Case, async: true import Plug.Adapters.Cowboy def init([]) do [foo: :bar] end @dispatch [{:_, [], [{:_, [], Plug.Adapters.Cowboy.Handler, {Plug.Adapters.CowboyTest, [foo: :bar]}}]}] test "builds args for cowboy dispatch" do assert args(:http, __MO...
28.266667
105
0.556604
5a0bdc5724c01c0bae2f0af85f1715ad3b337eef
1,675
ex
Elixir
clients/games/lib/google_api/games/v1/model/room_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/room_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/room_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.211538
135
0.736119
5a0bfa19d74f9da70a37be3652527cb010fe4e8d
12,193
ex
Elixir
lib/pix_infraction/pix_infraction.ex
starkinfra/sdk-elixir
d434de336ad7d2331b860519f04e9d107bb9c9cd
[ "MIT" ]
1
2022-03-15T18:58:21.000Z
2022-03-15T18:58:21.000Z
lib/pix_infraction/pix_infraction.ex
starkinfra/sdk-elixir
d434de336ad7d2331b860519f04e9d107bb9c9cd
[ "MIT" ]
null
null
null
lib/pix_infraction/pix_infraction.ex
starkinfra/sdk-elixir
d434de336ad7d2331b860519f04e9d107bb9c9cd
[ "MIT" ]
null
null
null
defmodule StarkInfra.PixInfraction do alias __MODULE__, as: PixInfraction alias StarkInfra.Utils.Rest alias StarkInfra.Utils.Check alias StarkInfra.User.Project alias StarkInfra.User.Organization alias StarkInfra.Error @moduledoc """ Groups PixInfraction related functions """ @doc """ PixInfract...
32.601604
196
0.646272
5a0c1359f654ff53d56b3cbdf4bc0fde2aec26f0
564
exs
Elixir
priv/repo/migrations/20181011082425_update_timestamp_fields.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
priv/repo/migrations/20181011082425_update_timestamp_fields.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
priv/repo/migrations/20181011082425_update_timestamp_fields.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule Hexpm.RepoBase.Migrations.UpdateTimestampFields do use Ecto.Migration defp fixup(table, columns) do alter table(table) do for column <- columns do modify(column, :utc_datetime_usec) end end end def change do fixup(:emails, [:verification_expiry]) fixup(:packages,...
21.692308
60
0.691489
5a0c137a429eb5eff6df2c6601f802a81579bf23
821
ex
Elixir
lib/zaryn_web/controllers/user_registration_controller.ex
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
1
2020-01-04T11:24:44.000Z
2020-01-04T11:24:44.000Z
lib/zaryn_web/controllers/user_registration_controller.ex
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
null
null
null
lib/zaryn_web/controllers/user_registration_controller.ex
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
null
null
null
defmodule ZarynWeb.UserRegistrationController do use ZarynWeb, :controller alias Zaryn.Accounts alias Zaryn.Accounts.User alias ZarynWeb.UserAuth def new(conn, _params) do changeset = Accounts.change_user_registration(%User{}) render(conn, "new.html", changeset: changeset) end def create(conn, ...
26.483871
61
0.644336
5a0c23e244b0f4757b9dc15ecc73d40756a1e6a0
876
ex
Elixir
clients/ad_mob/lib/google_api/ad_mob/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_mob/lib/google_api/ad_mob/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_mob/lib/google_api/ad_mob/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.444444
74
0.756849
5a0c85cde583115e870c0dbcba4a229641ba35bb
21,520
ex
Elixir
lib/commanded/event_store/adapters/in_memory.ex
EskiMag/commanded
efff2080beaf81b604c646761161591b25f39192
[ "MIT" ]
null
null
null
lib/commanded/event_store/adapters/in_memory.ex
EskiMag/commanded
efff2080beaf81b604c646761161591b25f39192
[ "MIT" ]
null
null
null
lib/commanded/event_store/adapters/in_memory.ex
EskiMag/commanded
efff2080beaf81b604c646761161591b25f39192
[ "MIT" ]
null
null
null
defmodule Commanded.EventStore.Adapters.InMemory do @moduledoc """ An in-memory event store adapter useful for testing as no persistence provided. """ @behaviour Commanded.EventStore.Adapter use GenServer defmodule State do @moduledoc false defstruct [ :name, :serializer, persi...
29.930459
101
0.681738
5a0c9de022b547e6aec49ef44661ed3c76876f07
612
ex
Elixir
deps/postgrex/lib/postgrex/extensions/int2.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex/extensions/int2.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex/extensions/int2.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
defmodule Postgrex.Extensions.Int2 do @moduledoc false import Postgrex.BinaryUtils, warn: false use Postgrex.BinaryExtension, send: "int2send" @int2_range -32768..32767 def encode(_) do range = Macro.escape(@int2_range) quote location: :keep do int when is_integer(int) and int in unq...
25.5
89
0.630719
5a0caf7b7bb34a117eb2b2ef696fabab58aba923
661
ex
Elixir
lib/espec/assertions/enum/have_min.ex
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
807
2015-03-25T14:00:19.000Z
2022-03-24T08:08:15.000Z
lib/espec/assertions/enum/have_min.ex
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
254
2015-03-27T10:12:25.000Z
2021-07-12T01:40:15.000Z
lib/espec/assertions/enum/have_min.ex
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
85
2015-04-02T10:25:19.000Z
2021-01-30T21:30:43.000Z
defmodule ESpec.Assertions.Enum.HaveMin do @moduledoc """ Defines 'have_min' assertion. it do: expect(collection).to have_min(value) """ use ESpec.Assertions.Interface defp match(enum, val) do result = Enum.min(enum) {result == val, result} end defp success_message(enum, val, _result, positiv...
26.44
101
0.644478
5a0cb62407e10f8c2e08b668e69507bc69437d67
2,269
ex
Elixir
lib/lpass_client_web.ex
Arp-G/lpass_client
43da579914191b1f1f326c28a614ef16acfcb12f
[ "MIT" ]
null
null
null
lib/lpass_client_web.ex
Arp-G/lpass_client
43da579914191b1f1f326c28a614ef16acfcb12f
[ "MIT" ]
null
null
null
lib/lpass_client_web.ex
Arp-G/lpass_client
43da579914191b1f1f326c28a614ef16acfcb12f
[ "MIT" ]
null
null
null
defmodule LpassClientWeb 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 LpassClientWeb, :controller use LpassClientWeb, :view The definitions below will be executed for every view, ...
22.69
81
0.684002
5a0cc84f54ce2af3b4bd1a91e22149562aa99b48
233
ex
Elixir
lib/ex_fix/dictionary.ex
tokenhousefx/ex_fix
3bce1628bef4afc2016b51a54885d474149ea2ad
[ "Apache-2.0" ]
18
2017-08-05T09:03:49.000Z
2022-03-05T02:29:51.000Z
lib/ex_fix/dictionary.ex
tokenhousefx/ex_fix
3bce1628bef4afc2016b51a54885d474149ea2ad
[ "Apache-2.0" ]
2
2017-08-03T11:57:59.000Z
2017-10-29T18:26:55.000Z
lib/ex_fix/dictionary.ex
tokenhousefx/ex_fix
3bce1628bef4afc2016b51a54885d474149ea2ad
[ "Apache-2.0" ]
5
2017-10-29T18:24:19.000Z
2022-03-30T05:48:35.000Z
defmodule ExFix.Dictionary do @moduledoc """ FIX dictionary behaviour """ @type subject_field :: String.t() | {String.t(), String.t()} | nil @doc """ """ @callback subject(msg_type :: String.t()) :: subject_field end
19.416667
68
0.630901
5a0d0ef8560ac6c796a1ea1ba83de8be11813618
670
ex
Elixir
lib/dnsimple/domain.ex
patmaddox/dnsimple-elixir
99e7d178493e7900c3a89dd4d99d81597ed58020
[ "MIT" ]
null
null
null
lib/dnsimple/domain.ex
patmaddox/dnsimple-elixir
99e7d178493e7900c3a89dd4d99d81597ed58020
[ "MIT" ]
null
null
null
lib/dnsimple/domain.ex
patmaddox/dnsimple-elixir
99e7d178493e7900c3a89dd4d99d81597ed58020
[ "MIT" ]
null
null
null
defmodule Dnsimple.Domain do @moduledoc """ Represents a domain. See: - https://developer.dnsimple.com/v2/domains/ - https://developer.dnsimple.com/v2/domains/#domain-attributes """ @type t :: %__MODULE__{ id: integer, account_id: integer, registrant_id: integer, name: String.t, unic...
23.928571
74
0.685075
5a0d2248a8dc85395fba28984f98e523c3cdeb40
92
ex
Elixir
apps/nerves_hub_web_core/lib/nerves_hub_web_core/mailer.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
111
2018-07-25T01:07:51.000Z
2022-01-25T17:03:01.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/mailer.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
361
2018-07-22T12:53:00.000Z
2022-03-31T18:50:34.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/mailer.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
54
2018-08-26T02:58:04.000Z
2022-03-09T10:12:19.000Z
defmodule NervesHubWebCore.Mailer do use Bamboo.Mailer, otp_app: :nerves_hub_web_core end
23
50
0.836957
5a0d2db8b99ae4c4277d37dbb519e04959b6ff59
104
exs
Elixir
implementations/elixir/ockam/ockam_vault_software/.formatter.exs
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
1,912
2019-01-10T14:17:00.000Z
2022-03-30T19:16:44.000Z
implementations/elixir/ockam/ockam_vault_software/.formatter.exs
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
1,473
2019-01-16T15:14:47.000Z
2022-03-31T23:44:50.000Z
implementations/elixir/ockam/ockam_vault_software/.formatter.exs
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
219
2019-01-11T03:35:13.000Z
2022-03-31T10:25:56.000Z
# Used by "mix format" [ inputs: ["{mix,.formatter,.credo}.exs", "{config,lib,test}/**/*.{ex,exs}"] ]
20.8
76
0.567308
5a0d4aa6cc8da52a0b9aea10d55847426542a8c0
1,131
ex
Elixir
backend/lib/edgehog/assets/system_model_picture.ex
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/lib/edgehog/assets/system_model_picture.ex
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/lib/edgehog/assets/system_model_picture.ex
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
# # This file is part of Edgehog. # # Copyright 2021 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...
31.416667
74
0.740053
5a0d6998206e6c9230ee8a5ee9676d06823be82f
1,609
ex
Elixir
clients/container/lib/google_api/container/v1/model/monitoring_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container/lib/google_api/container/v1/model/monitoring_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container/lib/google_api/container/v1/model/monitoring_config.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...
34.234043
148
0.760721
5a0d6d5ea29bef6e30d61f7ce9c56da337bef01b
69
exs
Elixir
test/imaginary_test.exs
olaf-cichocki/Imaginary
6569fda24c97a5425ffc04bbb09c4185950e4b4b
[ "MIT" ]
1
2020-06-08T09:02:57.000Z
2020-06-08T09:02:57.000Z
test/imaginary_test.exs
olaf-cichocki/Imaginary
6569fda24c97a5425ffc04bbb09c4185950e4b4b
[ "MIT" ]
null
null
null
test/imaginary_test.exs
olaf-cichocki/Imaginary
6569fda24c97a5425ffc04bbb09c4185950e4b4b
[ "MIT" ]
null
null
null
defmodule ImaginaryTest do use ExUnit.Case doctest Imaginary end
13.8
26
0.811594
5a0d6e80c2048b0a3c50dc49eca4f17a11b5ad44
990
ex
Elixir
Server/Megauni/Megauni.ex
da99/megauni.alpha
65e402cc139e45f043e67a9384caf77d1fcbe5b7
[ "MIT" ]
null
null
null
Server/Megauni/Megauni.ex
da99/megauni.alpha
65e402cc139e45f043e67a9384caf77d1fcbe5b7
[ "MIT" ]
null
null
null
Server/Megauni/Megauni.ex
da99/megauni.alpha
65e402cc139e45f043e67a9384caf77d1fcbe5b7
[ "MIT" ]
null
null
null
defmodule Megauni do use Application def dev? do System.get_env("IS_DEV") end def start(_type, _args) do import Supervisor.Spec, warn: false Supervisor.start_link( [ supervisor(__MODULE__, [], function: :run_http_adapter), supervisor(Megauni.Repos.Main, []) ], [ ...
19.411765
80
0.59697
5a0d87f091c118b3db0aa8e4b74da9a736aacf28
3,476
ex
Elixir
lib/bitpal/exchange_rate/exchange_rate_worker.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
5
2021-05-04T21:28:00.000Z
2021-12-01T11:19:48.000Z
lib/bitpal/exchange_rate/exchange_rate_worker.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
71
2021-04-21T05:48:49.000Z
2022-03-23T06:30:37.000Z
lib/bitpal/exchange_rate/exchange_rate_worker.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
1
2021-04-25T10:35:41.000Z
2021-04-25T10:35:41.000Z
defmodule BitPal.ExchangeRate.Worker do alias BitPal.Cache alias BitPal.ExchangeRate alias BitPal.ExchangeRateSupervisor.Result alias BitPal.ProcessRegistry @supervisor BitPal.TaskSupervisor @cache BitPal.ExchangeRate.Cache # Client API @spec start_worker(ExchangeRate.pair(), keyword) :: {:ok, pid} |...
26.945736
84
0.607307
5a0d8cf091bad57f73e9c06afbf0522a3fc2d2f0
1,174
exs
Elixir
mix.exs
ColinCampbell/ex_tabler_icons
6adaab8479c74005dc2e7535661f2ac26ddcab1b
[ "MIT" ]
null
null
null
mix.exs
ColinCampbell/ex_tabler_icons
6adaab8479c74005dc2e7535661f2ac26ddcab1b
[ "MIT" ]
null
null
null
mix.exs
ColinCampbell/ex_tabler_icons
6adaab8479c74005dc2e7535661f2ac26ddcab1b
[ "MIT" ]
null
null
null
defmodule TablerIcons.MixProject do use Mix.Project @source_url "https://github.com/ColinCampbell/ex_tabler_icons" @version "0.2.1" def project do [ app: :ex_tabler_icons, name: "ExTablerIcons", version: @version, elixir: "~> 1.13", deps: deps(), description: descriptio...
19.245902
64
0.557922
5a0d9fb0ecb08db6e1d1e587fecbef2c79f87103
1,919
ex
Elixir
clients/content/lib/google_api/content/v2/model/productstatuses_custom_batch_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/productstatuses_custom_batch_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/productstatuses_custom_batch_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.267857
165
0.754039
5a0db45fdcc3a2a92a47ebf34694417086e101b6
1,722
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/name.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/classroom/lib/google_api/classroom/v1/model/name.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/classroom/lib/google_api/classroom/v1/model/name.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...
32.490566
145
0.698606
5a0dc10dfaceb3f986cddee5aa7218a65614b42a
2,695
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/http_query_parameter_match.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/http_query_parameter_match.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/http_query_parameter_match.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...
44.916667
259
0.734323
5a0dc6b531075f118c8c4775dd7b80d35354ccdf
437
ex
Elixir
apps/collabex/lib/collabex/event_store/event_store.ex
mugimaru73/collabex
69bac8058d6ee1a70620488e802d30a34eaebfb4
[ "MIT" ]
null
null
null
apps/collabex/lib/collabex/event_store/event_store.ex
mugimaru73/collabex
69bac8058d6ee1a70620488e802d30a34eaebfb4
[ "MIT" ]
2
2021-03-10T20:18:59.000Z
2021-05-11T16:07:46.000Z
apps/collabex/lib/collabex/event_store/event_store.ex
mugimaru/collabex
69bac8058d6ee1a70620488e802d30a34eaebfb4
[ "MIT" ]
null
null
null
defmodule Collabex.EventStore do @type topic :: term @type t :: module() @callback add_event(topic(), Collabex.Event.t()) :: :ok | {:error, term} @callback replay(topic()) :: {:ok, [Collabex.Event.t()]} | {:error, term} @callback replay(topic(), after_timestamp :: integer()) :: {:ok, [Collabex....
39.727273
83
0.604119
5a0dcbde288cd6930c433b7837cfa9eae1eec2c2
3,414
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/endpoint.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/endpoint.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/endpoint.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
56.9
710
0.73345
5a0dd2b54de3202e447aeb403ac270b4e5802ff7
1,668
ex
Elixir
lib/discovery/bridge/bridge_utils.ex
spawnphile/discovery
0ea32c4915f0b0350d2878c7317f5530ea2474a8
[ "MIT" ]
3
2022-01-07T10:51:48.000Z
2022-03-15T04:39:09.000Z
lib/discovery/bridge/bridge_utils.ex
gamezop/discovery
0ea32c4915f0b0350d2878c7317f5530ea2474a8
[ "MIT" ]
null
null
null
lib/discovery/bridge/bridge_utils.ex
gamezop/discovery
0ea32c4915f0b0350d2878c7317f5530ea2474a8
[ "MIT" ]
null
null
null
defmodule Discovery.Bridge.BridgeUtils do @moduledoc """ Manages the communications of liveview with the backend. """ alias Discovery.Controller.DeploymentController alias Discovery.Deploy.DeployManager alias Discovery.Deploy.DeployUtils @doc """ Fetches the deployment data of an app from metadatadb et...
24.895522
79
0.660671
5a0ddaf68ad585d474a3e6ee431f73a839fd258c
1,666
exs
Elixir
test/spat/geometry/sphere_test.exs
ScrimpyCat/Spat
039b2bb71f39a5b0ba04aca8f8b4641cb7161454
[ "BSD-2-Clause" ]
1
2019-04-25T22:48:51.000Z
2019-04-25T22:48:51.000Z
test/spat/geometry/sphere_test.exs
ScrimpyCat/Spat
039b2bb71f39a5b0ba04aca8f8b4641cb7161454
[ "BSD-2-Clause" ]
null
null
null
test/spat/geometry/sphere_test.exs
ScrimpyCat/Spat
039b2bb71f39a5b0ba04aca8f8b4641cb7161454
[ "BSD-2-Clause" ]
null
null
null
defmodule Spat.Geometry.SphereTest do use ExUnit.Case doctest Spat.Geometry.Sphere test "sphere intersection" do assert true == Spat.Geometry.Sphere.intersect({ 0 }, 1, Spat.Bounds.new({ 1 })) assert true == Spat.Geometry.Sphere.intersect({ 1 }, 1, Spat.Bounds.new({ 1 })) assert tru...
69.416667
124
0.583433
5a0de34cd3b702bd9449ccc43ff6de8142d09342
81
ex
Elixir
coherence_demo_no_confirm/lib/coherence_demo_web/views/coherence/coherence_view.ex
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
coherence_demo_no_confirm/lib/coherence_demo_web/views/coherence/coherence_view.ex
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
coherence_demo_no_confirm/lib/coherence_demo_web/views/coherence/coherence_view.ex
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
defmodule Coherence.CoherenceView do use CoherenceDemoWeb.Coherence, :view end
20.25
39
0.839506
5a0de8744a5783b910d3de51735163e410e2d1a1
125,892
ex
Elixir
clients/game_services/lib/google_api/game_services/v1/api/projects.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1/api/projects.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1/api/projects.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
47.097643
802
0.621787