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
b28b0c91c9dde0c043870b9a880d321bfc3d770f
1,699
exs
Elixir
mix.exs
stirlab/elixir-dynamic-server-manager
1b8dc327373456ab6b1f6b9997eee160d140c5f6
[ "MIT" ]
2
2020-08-07T14:56:42.000Z
2020-08-26T12:17:26.000Z
mix.exs
stirlab/elixir-dynamic-server-manager
1b8dc327373456ab6b1f6b9997eee160d140c5f6
[ "MIT" ]
null
null
null
mix.exs
stirlab/elixir-dynamic-server-manager
1b8dc327373456ab6b1f6b9997eee160d140c5f6
[ "MIT" ]
1
2020-08-07T14:56:49.000Z
2020-08-07T14:56:49.000Z
defmodule DynamicServerManager.Mixfile do use Mix.Project def project do [ app: :dynamic_server_manager, version: "0.0.10", elixir: "~> 1.7", start_permanent: Mix.env == :prod, package: package(), description: description(), deps: deps(), ] end # Run "mix help...
22.355263
79
0.523838
b28b180e39ac5f2903e6292e5b18c525273fdb5e
800
ex
Elixir
lib/accent/transformers/camel_case.ex
dconger/accent
f7a76f94f8fd13d96c63ddb3c6fd45b6d2f2aaf7
[ "MIT" ]
null
null
null
lib/accent/transformers/camel_case.ex
dconger/accent
f7a76f94f8fd13d96c63ddb3c6fd45b6d2f2aaf7
[ "MIT" ]
null
null
null
lib/accent/transformers/camel_case.ex
dconger/accent
f7a76f94f8fd13d96c63ddb3c6fd45b6d2f2aaf7
[ "MIT" ]
null
null
null
defmodule Accent.Transformer.CamelCase do @moduledoc """ Converts the given binary or atom to CamelCase format. """ @behaviour Accent.Transformer def call(atom) when is_atom(atom) do String.to_atom(call(to_string(atom))) end def call(<<?_, t::binary>>), do: call(t) def call(""), do: "" def ca...
21.052632
63
0.6
b28b3dc41d452f7e7d2ae75bd87b92170aebdef1
21,837
exs
Elixir
test/lib/deli/config_test.exs
rodrigues/deli
a5bdb3df6eb2a943069fa2e4658493f90730bd90
[ "MIT" ]
4
2019-01-30T11:51:44.000Z
2019-10-14T02:38:26.000Z
test/lib/deli/config_test.exs
rodrigues/deli
a5bdb3df6eb2a943069fa2e4658493f90730bd90
[ "MIT" ]
null
null
null
test/lib/deli/config_test.exs
rodrigues/deli
a5bdb3df6eb2a943069fa2e4658493f90730bd90
[ "MIT" ]
null
null
null
defmodule Deli.ConfigTest do use DeliCase, async: true import Deli, only: [is_app: 1, is_env: 1, is_host: 1] describe "app/0" do test "uses mix project app when app not configured" do delete_config(:app) assert Config.app() == :deli end property "app configured correctly" do check ...
28.140464
77
0.638229
b28b699cf0c4df8475032afd43adeed3d341fbf0
5,494
ex
Elixir
lib/avrora/storage/registry.ex
LostKobrakai/avrora
fad181c9879af3a3b61fb7a03b4204474ce172b8
[ "MIT" ]
null
null
null
lib/avrora/storage/registry.ex
LostKobrakai/avrora
fad181c9879af3a3b61fb7a03b4204474ce172b8
[ "MIT" ]
null
null
null
lib/avrora/storage/registry.ex
LostKobrakai/avrora
fad181c9879af3a3b61fb7a03b4204474ce172b8
[ "MIT" ]
null
null
null
defmodule Avrora.Storage.Registry do @moduledoc """ `Avora.Storage` behavior implementation which uses [Confluent Schema Registry](https://docs.confluent.io/current/schema-registry/develop/api.html). This only implements the minimum client functionality needed to talk with the registry. Inspired by [Schemex]...
32.702381
160
0.626866
b28b83943b28e56d2c534ef03d09b429e34de2f2
16,325
ex
Elixir
lib/trento/domain/cluster/cluster.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-22T16:59:34.000Z
2022-03-22T16:59:34.000Z
lib/trento/domain/cluster/cluster.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
24
2022-03-22T16:45:25.000Z
2022-03-31T13:00:02.000Z
lib/trento/domain/cluster/cluster.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-30T14:16:16.000Z
2022-03-30T14:16:16.000Z
defmodule Trento.Domain.Cluster do @moduledoc false alias Commanded.Aggregate.Multi alias Trento.Domain.{ CheckResult, Cluster, HanaClusterDetails, HealthService, HostExecution } alias Trento.Domain.Commands.{ CompleteChecksExecution, RegisterClusterHost, RequestChecksExecut...
25.038344
98
0.590873
b28b8df60c3d4113215fe2a7acb2bf7a7e463a44
3,815
ex
Elixir
lib/koans/12_pattern_matching.ex
sortigoza/elixir-koans
1568eaae202a441580724ef20cf89e1c3af3c4c7
[ "MIT" ]
null
null
null
lib/koans/12_pattern_matching.ex
sortigoza/elixir-koans
1568eaae202a441580724ef20cf89e1c3af3c4c7
[ "MIT" ]
null
null
null
lib/koans/12_pattern_matching.ex
sortigoza/elixir-koans
1568eaae202a441580724ef20cf89e1c3af3c4c7
[ "MIT" ]
null
null
null
defmodule PatternMatching do use Koans @intro "PatternMatching" koan "One matches one" do assert match?(1, 1) end koan "Patterns can be used to pull things apart" do [head | tail] = [1, 2, 3, 4] assert head == 1 assert tail == [2, 3, 4] end koan "And then put them back together" do ...
23.549383
101
0.592923
b28bb2c45115518887ca9fc164122fd0a8655978
1,179
exs
Elixir
config/prod.secret.exs
alukasz/todo_live_view
d4233357bd521072c7d200f9efe3bc44a5ef9cad
[ "MIT" ]
null
null
null
config/prod.secret.exs
alukasz/todo_live_view
d4233357bd521072c7d200f9efe3bc44a5ef9cad
[ "MIT" ]
null
null
null
config/prod.secret.exs
alukasz/todo_live_view
d4233357bd521072c7d200f9efe3bc44a5ef9cad
[ "MIT" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
30.230769
76
0.720102
b28bb5157061c1b00ded575109af8b6529620e7f
1,755
exs
Elixir
exercises/saddle-points/saddle_points_test.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/saddle-points/saddle_points_test.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/saddle-points/saddle_points_test.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("saddle_points.exs", __DIR__) end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule SaddlePointsTest do use ExUnit.Case # @tag :pending test "extract rows" do rows = SaddlePoints.rows("1 2\n10 20") assert rows == [[1,...
24.71831
90
0.642165
b28bb905db7e9b89277a04180f4f57ac2aa84bb3
853
ex
Elixir
lib/swagger/client/model/channel_caller_id.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
null
null
null
lib/swagger/client/model/channel_caller_id.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
null
null
null
lib/swagger/client/model/channel_caller_id.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
1
2018-10-27T07:10:02.000Z
2018-10-27T07:10:02.000Z
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Swagger.Client.Model.ChannelCallerId do @moduledoc """ Channel changed Caller ID. """ @derive [Poison.Encoder] defstruct [ :"caller...
25.848485
86
0.709261
b28bc6103aae1c4b1509c9c5b6951b7cd0a5403c
8,525
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/interconnect_locations.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/interconnect_locations.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/interconnect_locations.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
52.623457
434
0.672375
b28bc82e53ee62e5d2c993406e74505e526ad95d
196
exs
Elixir
priv/repo/migrations/20210531062558_update_account_with_weid.exs
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
2
2021-02-12T09:21:56.000Z
2021-02-22T08:52:20.000Z
priv/repo/migrations/20210531062558_update_account_with_weid.exs
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
4
2021-02-22T08:53:43.000Z
2021-06-09T09:24:46.000Z
priv/repo/migrations/20210531062558_update_account_with_weid.exs
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
null
null
null
defmodule SuperIssuer.Repo.Migrations.UpdateAccount do use Ecto.Migration def change do alter table :account do remove :weid_id add :weidentity_id, :integer end end end
17.818182
54
0.714286
b28bdffb9c72824e9b4cb2995feb05a5b63cc32e
1,883
exs
Elixir
config/config.exs
ab-zu/sutur
f314ed29b344fbe0139bd87ac01caf577b1d592e
[ "MIT" ]
1
2021-11-16T02:18:31.000Z
2021-11-16T02:18:31.000Z
config/config.exs
ab-zu/sutur
f314ed29b344fbe0139bd87ac01caf577b1d592e
[ "MIT" ]
null
null
null
config/config.exs
ab-zu/sutur
f314ed29b344fbe0139bd87ac01caf577b1d592e
[ "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 import Config config :sutur, ecto_repos: [Sutur.Repo] # Conf...
32.465517
84
0.770048
b28c2dbba2de592ae05441a3f4b43a3811ea621a
2,171
ex
Elixir
web/controllers/admin/gallery_controller.ex
twined/brando_news
401e27e85fbcbf095bc4937b060e37e1eb2a7a8b
[ "MIT" ]
1
2020-01-13T23:44:10.000Z
2020-01-13T23:44:10.000Z
web/controllers/admin/gallery_controller.ex
twined/brando_news
401e27e85fbcbf095bc4937b060e37e1eb2a7a8b
[ "MIT" ]
5
2016-05-04T08:50:53.000Z
2018-04-23T13:51:23.000Z
web/controllers/admin/gallery_controller.ex
twined/brando_news
401e27e85fbcbf095bc4937b060e37e1eb2a7a8b
[ "MIT" ]
null
null
null
defmodule Brando.Admin.GalleryController do @moduledoc """ Controller for the Brando Gallery module. """ use Brando.Web, :controller import Brando.News.Gettext import Brando.Utils.Model, only: [put_creator: 2] import Brando.Plug.HTML alias Brando.{Gallery, Post, ImageSeries} plug :put_section, "g...
27.481013
93
0.645785
b28c6c875bf49bd791eda8c4b11ea9abe1e41340
1,062
exs
Elixir
clients/sheets/test/test_helper.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sheets/test/test_helper.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sheets/test/test_helper.exs
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.5
83
0.73823
b28c78773e6e633df5b15edaa0fd1ac3a0e48659
85
exs
Elixir
.formatter.exs
adamzaninovich/alice_good_morning
259336019cef2974db906edf5ca8d5920e6be9c1
[ "MIT" ]
null
null
null
.formatter.exs
adamzaninovich/alice_good_morning
259336019cef2974db906edf5ca8d5920e6be9c1
[ "MIT" ]
null
null
null
.formatter.exs
adamzaninovich/alice_good_morning
259336019cef2974db906edf5ca8d5920e6be9c1
[ "MIT" ]
null
null
null
[ inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}", "priv/repo/*.{ex,exs}"] ]
21.25
80
0.505882
b28c7b24b69482d7e940b99301acdfacb39a90b2
341
ex
Elixir
lib/asciinema/png_generator.ex
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
893
2017-09-14T14:18:29.000Z
2022-03-31T21:45:08.000Z
lib/asciinema/png_generator.ex
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
103
2017-09-29T22:15:33.000Z
2022-03-27T21:47:43.000Z
lib/asciinema/png_generator.ex
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
152
2017-09-07T12:43:15.000Z
2022-03-10T18:47:47.000Z
defmodule Asciinema.PngGenerator do alias Asciinema.Asciicasts.Asciicast @doc "Generates PNG image from asciicast and returns path to it" @callback generate(asciicast :: %Asciicast{}) :: {:ok, String.t()} | {:error, term} def generate(asciicast) do Application.get_env(:asciinema, :png_generator).generate(...
31
85
0.741935
b28c7daed2f37120aa79a0e3e393bfe20e8468fa
1,684
exs
Elixir
widget_market_phoenix/mix.exs
thegillis/from_rails_to_phoenix
fb230b787fd441e71e93dc8d82b3769eeaeddbf8
[ "MIT" ]
null
null
null
widget_market_phoenix/mix.exs
thegillis/from_rails_to_phoenix
fb230b787fd441e71e93dc8d82b3769eeaeddbf8
[ "MIT" ]
null
null
null
widget_market_phoenix/mix.exs
thegillis/from_rails_to_phoenix
fb230b787fd441e71e93dc8d82b3769eeaeddbf8
[ "MIT" ]
null
null
null
defmodule WidgetMarketPhoenix.Mixfile do use Mix.Project def project do [app: :widget_market_phoenix, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(),...
29.54386
78
0.602138
b28cabe0f5efc838e311f6c45bba9d7397b39b17
1,139
exs
Elixir
config/config.exs
seniverse/ipdb_decoder
34775f88fdbb4cf584660d040ca21c9efc01e544
[ "Apache-2.0" ]
3
2020-01-02T20:57:34.000Z
2022-03-09T13:35:57.000Z
config/config.exs
seniverse/ipdb_decoder
34775f88fdbb4cf584660d040ca21c9efc01e544
[ "Apache-2.0" ]
null
null
null
config/config.exs
seniverse/ipdb_decoder
34775f88fdbb4cf584660d040ca21c9efc01e544
[ "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...
36.741935
73
0.753292
b28d09c4b29335a314b9c762de96a5bec2206d75
207
ex
Elixir
web/views/project_skill_view.ex
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
web/views/project_skill_view.ex
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
web/views/project_skill_view.ex
roryqueue/code-corps-api
f23007e13fed2d7264fd2e2e97b1497488fb54ba
[ "MIT" ]
null
null
null
defmodule CodeCorps.ProjectSkillView do use CodeCorps.Web, :view use JaSerializer.PhoenixView has_one :project, serializer: CodeCorps.ProjectView has_one :skill, serializer: CodeCorps.SkillView end
25.875
53
0.811594
b28d0f61bf7fc46958c123c4a3083220b0d63888
31,674
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/api/services.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/api/services.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/api/services.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "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...
48.579755
970
0.680211
b28d14e07c1383da112857c833792e9856a0d1ea
388
exs
Elixir
clients/big_query/test/test_helper.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/big_query/test/test_helper.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/big_query/test/test_helper.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
ExUnit.start() defmodule GoogleApi.BigQuery.V2.TestHelper do defmacro __using__(opts) do quote do use ExUnit.Case, unquote(opts) import GoogleApi.BigQuery.V2.TestHelper end end def for_scope(scopes) when is_list(scopes), do: for_scope(Enum.join(scopes, " ")) def for_scope(scope) do {:...
20.421053
83
0.698454
b28d2ae1258d8953847b28d771404e6aec621853
1,062
ex
Elixir
lib/hopper_web/channels/user_socket.ex
SquashConsulting/hopper
d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b
[ "BSD-3-Clause" ]
1
2019-12-22T16:00:11.000Z
2019-12-22T16:00:11.000Z
lib/hopper_web/channels/user_socket.ex
SquashConsulting/hopper
d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b
[ "BSD-3-Clause" ]
2
2021-03-10T02:31:42.000Z
2021-05-10T22:02:29.000Z
lib/hopper_web/channels/user_socket.ex
SquashConsulting/hopper
d68ac8b4749b2411959c2ba7be7cd9402a3e4b2b
[ "BSD-3-Clause" ]
null
null
null
defmodule HopperWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", HopperWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels...
31.235294
83
0.695857
b28d2e81a29ac52e3f7fd2edbcd0c81cdeb7e2d7
3,478
ex
Elixir
lib/ecto/log_entry.ex
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
1
2017-11-27T06:00:32.000Z
2017-11-27T06:00:32.000Z
lib/ecto/log_entry.ex
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
lib/ecto/log_entry.ex
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.LogEntry do @moduledoc """ Struct used for logging entries. It is composed of the following fields: * query - the query as string or a function that when invoked resolves to string; * source - the query data source; * params - the query parameters; * result - the query result as a...
34.435644
95
0.650949
b28d32c2a19c535edc7054bc5eb8ad6e45c3732a
362
ex
Elixir
lib/codes/codes_f72.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f72.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f72.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_F72 do alias IcdCode.ICDCode def _F72 do %ICDCode{full_code: "F72", category_code: "F72", short_code: "", full_name: "Severe intellectual disabilities", short_name: "Severe intellectual disabilities", category_name: "Severe intelle...
22.625
59
0.649171
b28d527f679979b02ec5b96246ae78bc16cf6476
5,054
ex
Elixir
lib/error.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
lib/error.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
lib/error.ex
ChannexIO/ex_open_travel
51a1101f55bc2d12a093237bb9ef64ef8a4d3091
[ "Apache-2.0" ]
null
null
null
defmodule ExOpenTravel.Error do defexception [:reason] @type t :: %__MODULE__{reason: any} @impl true def exception(code), do: %__MODULE__{reason: reason_for(code)} @impl true def message(%__MODULE__{reason: reason}), do: humanize_error(reason) @doc """ Convert API Error code to reason atom """ @...
45.531532
98
0.698852
b28d57c8698ba48fa3960766ad069fe231fa8c07
329
ex
Elixir
lib/smlr/compressor/brotli.ex
data-twister/smlr
6c5bbb5d45feb1426c643fef3d714dcee039ad00
[ "MIT" ]
5
2020-03-03T08:33:50.000Z
2021-02-22T01:19:01.000Z
lib/smlr/compressor/brotli.ex
mogorman/smlr
280b827be8df92969781269e59986d6d66a9f3e1
[ "MIT" ]
null
null
null
lib/smlr/compressor/brotli.ex
mogorman/smlr
280b827be8df92969781269e59986d6d66a9f3e1
[ "MIT" ]
1
2021-02-06T05:01:41.000Z
2021-02-06T05:01:41.000Z
defmodule Smlr.Compressor.Brotli do @moduledoc false @behaviour Smlr.Compressor alias Smlr.Config def name do "br" end def default_level do 4 end def level(opts) do Config.get_compressor_level(__MODULE__, opts) end def compress(data, opts) do :brotli.encode(data, level(opts)) ...
13.708333
49
0.693009
b28d616cf195b11b1106c9ab9f9fc6f9576adc51
1,373
ex
Elixir
clients/home_graph/lib/google_api/home_graph/v1/model/agent_device_id.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/home_graph/lib/google_api/home_graph/v1/model/agent_device_id.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/home_graph/lib/google_api/home_graph/v1/model/agent_device_id.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...
29.212766
74
0.728332
b28d6a54819e0f38a0a3cc55ba774f341e91138f
630
ex
Elixir
lib/elixlsx/compiler/sheet_comp_info.ex
JJCOINCWEBDEV/elixlsx
97b3518841d45ca87e2fd0df25377a2085dc42f8
[ "MIT" ]
null
null
null
lib/elixlsx/compiler/sheet_comp_info.ex
JJCOINCWEBDEV/elixlsx
97b3518841d45ca87e2fd0df25377a2085dc42f8
[ "MIT" ]
null
null
null
lib/elixlsx/compiler/sheet_comp_info.ex
JJCOINCWEBDEV/elixlsx
97b3518841d45ca87e2fd0df25377a2085dc42f8
[ "MIT" ]
1
2020-02-04T14:12:42.000Z
2020-02-04T14:12:42.000Z
defmodule Elixlsx.Compiler.SheetCompInfo do alias Elixlsx.Compiler.SheetCompInfo @moduledoc ~S""" Compilation info for a sheet, to be filled during the actual write process. """ defstruct rId: "", filename: "sheet1.xml", sheetId: 0 @type t :: %SheetCompInfo{ rId: String.t, filename: String.t, ...
30
79
0.638095
b28d7f0527c6bfe6723482bf291dab95d28cf568
10,748
ex
Elixir
lib/stargate/producer.ex
jeffgrunewald/stargate
d80e5376a831c8fae232434e4d305784464f196a
[ "Apache-2.0" ]
33
2019-11-09T09:12:18.000Z
2022-02-24T05:22:20.000Z
lib/stargate/producer.ex
tspannhw/stargate
d80e5376a831c8fae232434e4d305784464f196a
[ "Apache-2.0" ]
7
2019-11-28T06:52:18.000Z
2021-10-07T09:09:16.000Z
lib/stargate/producer.ex
tspannhw/stargate
d80e5376a831c8fae232434e4d305784464f196a
[ "Apache-2.0" ]
7
2020-06-30T10:37:59.000Z
2021-11-26T06:54:23.000Z
defmodule Stargate.Producer do @moduledoc """ Provides a producer websocket process and functions for producing messages to the cluster. Pass a keyword list of configuration options to the `start_link/1` function or simply call `produce/2` passing a valid Pulsar producer URL in place of a producer process....
34.670968
105
0.654168
b28df2b917b5097857b9ef45767529eef60dcb42
925
exs
Elixir
test/tube_stream_web/views/error_view_test.exs
surik/tube_streamer
c353e8512ec6b7521c18e8bdad927d8abad0d346
[ "MIT" ]
1
2018-02-06T17:28:51.000Z
2018-02-06T17:28:51.000Z
test/tube_stream_web/views/error_view_test.exs
surik/tube_streamer
c353e8512ec6b7521c18e8bdad927d8abad0d346
[ "MIT" ]
null
null
null
test/tube_stream_web/views/error_view_test.exs
surik/tube_streamer
c353e8512ec6b7521c18e8bdad927d8abad0d346
[ "MIT" ]
null
null
null
defmodule TubeStreamerWeb.ErrorViewTest do use TubeStreamerWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(TubeStreamerWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Page not found"}}...
28.90625
66
0.648649
b28e03789e850e6280edc302be74e9d529e868a2
1,270
exs
Elixir
mix.exs
hansihe/html5ever_elixir
832d9e785af813bf2216a35ee0d15a4d3e394ddc
[ "Apache-2.0", "MIT" ]
43
2017-01-24T08:36:08.000Z
2019-10-10T01:15:13.000Z
mix.exs
hansihe/ex_html5ever
78574a42f5917e5f189ffd1eed21e0dd33d9b0e6
[ "Apache-2.0", "MIT" ]
15
2017-02-03T07:51:34.000Z
2019-12-03T10:46:29.000Z
mix.exs
hansihe/ex_html5ever
78574a42f5917e5f189ffd1eed21e0dd33d9b0e6
[ "Apache-2.0", "MIT" ]
26
2017-01-24T23:02:24.000Z
2019-10-18T13:20:16.000Z
defmodule Html5ever.Mixfile do use Mix.Project @version "0.14.0-dev" @repo_url "https://github.com/rusterlium/html5ever_elixir" def project do [ app: :html5ever, version: @version, elixir: "~> 1.11", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, ...
20.819672
61
0.53937
b28e0659e1d0a6391307d725bbeb9c46d8bcf545
1,205
ex
Elixir
lib/options_tracker_web/controllers/user_confirmation_controller.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
12
2020-06-25T17:25:15.000Z
2021-09-30T20:13:33.000Z
lib/options_tracker_web/controllers/user_confirmation_controller.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
5
2020-08-05T03:12:31.000Z
2021-07-15T04:59:03.000Z
lib/options_tracker_web/controllers/user_confirmation_controller.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
2
2021-07-03T17:20:15.000Z
2021-09-01T15:38:58.000Z
defmodule OptionsTrackerWeb.UserConfirmationController do use OptionsTrackerWeb, :controller alias OptionsTracker.Users def new(conn, _params) do render(conn, "new.html") end def create(conn, %{"user" => %{"email" => email}}) do if user = Users.get_user_by_email(email) do Users.deliver_user_c...
27.386364
79
0.629046
b28e2a1d7dca155cca1508a20baa603b52295ffb
1,478
exs
Elixir
config/test.exs
HealthTeacher/til-engineering-blog
5a24879bdd8ff85cb865b635e70d09147966717b
[ "MIT" ]
null
null
null
config/test.exs
HealthTeacher/til-engineering-blog
5a24879bdd8ff85cb865b635e70d09147966717b
[ "MIT" ]
null
null
null
config/test.exs
HealthTeacher/til-engineering-blog
5a24879bdd8ff85cb865b635e70d09147966717b
[ "MIT" ]
null
null
null
import Config # We don't run a server during test. If one is required, # you can enable the server option below. config :tilex, TilexWeb.Endpoint, http: [port: 4001], server: true config :tilex, :sql_sandbox, true # Print only warnings and errors during test config :logger, level: :warn # Configure your databas...
29.56
81
0.759811
b28e4bc14942240a3d3335e32452c05d608acbf2
3,227
ex
Elixir
lib/dicon/executor.ex
ybod/dicon
9c83a6ed7562af4582eb55fc0f813f10fe5f3feb
[ "ISC" ]
null
null
null
lib/dicon/executor.ex
ybod/dicon
9c83a6ed7562af4582eb55fc0f813f10fe5f3feb
[ "ISC" ]
null
null
null
lib/dicon/executor.ex
ybod/dicon
9c83a6ed7562af4582eb55fc0f813f10fe5f3feb
[ "ISC" ]
null
null
null
defmodule Dicon.Executor do @moduledoc """ Behaviour for executors. This behaviour specifies the callbacks that executors must implement. Look at the documentation for the `Dicon` module for more information about executors. """ alias Dicon.SecureShell @type conn :: identifier | struct @type t :: %_...
29.605505
111
0.651069
b28e971ff4fb01ecbfe55496cafd370185345fae
2,035
ex
Elixir
clients/security_center/lib/google_api/security_center/v1/model/list_findings_result.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/list_findings_result.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/security_center/lib/google_api/security_center/v1/model/list_findings_result.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...
38.396226
153
0.737101
b28ea30f8b4fda675ff0de4f77b8a4191d29b1be
612
ex
Elixir
lib/changelog/data/episode/episode_host.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog/data/episode/episode_host.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog/data/episode/episode_host.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
defmodule Changelog.EpisodeHost do use Changelog.Data alias Changelog.{Episode, Person} schema "episode_hosts" do field :position, :integer field :delete, :boolean, virtual: true belongs_to :person, Person belongs_to :episode, Episode timestamps() end def changeset(struct, params \\ %...
22.666667
82
0.696078
b28ec5a46bca9a4cf56e51f149bd6486f478de8e
1,869
ex
Elixir
community/betterdev/lib/betterdev/web/endpoint.ex
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
79
2017-07-03T13:04:08.000Z
2022-02-11T13:59:37.000Z
community/betterdev/lib/betterdev/web/endpoint.ex
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
16
2017-07-09T03:16:27.000Z
2022-01-14T14:29:57.000Z
community/betterdev/lib/betterdev/web/endpoint.ex
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
10
2017-07-09T02:58:59.000Z
2021-09-14T08:01:02.000Z
defmodule Betterdev.Web.Endpoint do use Phoenix.Endpoint, otp_app: :betterdev def init(_key, config) do if config[:load_from_system_env] do port = System.get_env("PORT") || raise "expected the PORT environment variable to be set" {:ok, Keyword.put(config, :http, [:inet6, port: port])} else {:ok, config...
29.203125
93
0.71161
b28ece215118c0c4e1dce5faf39139a4668323aa
2,727
ex
Elixir
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/access_level.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/access_level.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/access_context_manager/lib/google_api/access_context_manager/v1/model/access_level.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...
46.220339
321
0.727906
b28ed9483ec047ff5c64e724c6e9a8fe5ab8b71a
485
ex
Elixir
lib/magirator_app_channel_web/router.ex
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
lib/magirator_app_channel_web/router.ex
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
lib/magirator_app_channel_web/router.ex
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
defmodule MagiratorAppChannelWeb.Router do use MagiratorAppChannelWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug CORSPlug, origin: "http://localhost:41...
21.086957
50
0.707216
b28eda86d5b181c5024166912aa17b902d015a7a
1,599
ex
Elixir
clients/double_click_search/lib/google_api/double_click_search/v2/model/update_availability_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/double_click_search/lib/google_api/double_click_search/v2/model/update_availability_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/double_click_search/lib/google_api/double_click_search/v2/model/update_availability_response.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...
33.3125
104
0.772358
b28ee5158a003c1a02f8fdabd569372536f34a15
432
ex
Elixir
lib/version.ex
rentpath/ex_ops
a14f493cce5a06ac5cbfac18eca1e8e377d4469b
[ "MIT" ]
1
2020-01-13T22:08:56.000Z
2020-01-13T22:08:56.000Z
lib/version.ex
rentpath/ex_ops
a14f493cce5a06ac5cbfac18eca1e8e377d4469b
[ "MIT" ]
2
2017-10-16T21:18:18.000Z
2019-11-06T18:21:14.000Z
lib/version.ex
rentpath/ex_ops
a14f493cce5a06ac5cbfac18eca1e8e377d4469b
[ "MIT" ]
null
null
null
defmodule ExOps.Version do @moduledoc """ Provides information about current and previous deployments """ alias ExOps.{BuildDetails, HostInfo} @derive Jason.Encoder defstruct [:deployment, :host] @type t :: %__MODULE__{deployment: map(), host: String.t()} @spec details() :: __MODULE__.t() def deta...
20.571429
61
0.673611
b28f9824974b815b2753a16c232b6442eb5281aa
1,868
ex
Elixir
lib/dashboard_web/telemetry.ex
franknfjr/dashboard
68ff963d4cd51b1b3d92373e84b606fccedb7d89
[ "MIT" ]
1
2021-01-27T17:44:38.000Z
2021-01-27T17:44:38.000Z
lib/dashboard_web/telemetry.ex
franknfjr/dashboard
68ff963d4cd51b1b3d92373e84b606fccedb7d89
[ "MIT" ]
null
null
null
lib/dashboard_web/telemetry.ex
franknfjr/dashboard
68ff963d4cd51b1b3d92373e84b606fccedb7d89
[ "MIT" ]
null
null
null
defmodule DashboardWeb.Telemetry do @moduledoc """ telemetry """ use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measur...
31.661017
86
0.671306
b28f9e6abb28033a3714f5e5b3e5b36b98bbe51e
393
exs
Elixir
programming_elixir/chapter14/monitor1.exs
hectoregm/elixir
c4dc9cd327c6d935de93337e5c52d58b82c4d339
[ "MIT" ]
null
null
null
programming_elixir/chapter14/monitor1.exs
hectoregm/elixir
c4dc9cd327c6d935de93337e5c52d58b82c4d339
[ "MIT" ]
null
null
null
programming_elixir/chapter14/monitor1.exs
hectoregm/elixir
c4dc9cd327c6d935de93337e5c52d58b82c4d339
[ "MIT" ]
null
null
null
defmodule Monitor1 do import :timer, only: [ sleep: 1 ] def sad_method do sleep 500 exit(:boom) end def run do res = spawn_monitor(Monitor1, :sad_method, []) IO.puts inspect res receive do msg -> IO.puts "MESSAGE RECEIVED: #{inspect msg}" after 1000 -> IO.puts "No...
17.863636
59
0.620865
b28ffbfef1ffc641375ca8334d310e422a64bd96
7,750
ex
Elixir
lib/shippex/address.ex
whitepaperclip/shippex
f7983cac65da495bd7b335e2dfffe2d959269d70
[ "MIT" ]
11
2017-01-16T10:53:56.000Z
2021-06-05T14:51:17.000Z
lib/shippex/address.ex
whitepaperclip/shippex
f7983cac65da495bd7b335e2dfffe2d959269d70
[ "MIT" ]
4
2017-06-17T16:03:56.000Z
2020-12-31T18:04:21.000Z
lib/shippex/address.ex
whitepaperclip/shippex
f7983cac65da495bd7b335e2dfffe2d959269d70
[ "MIT" ]
5
2018-01-30T21:57:56.000Z
2021-01-31T02:09:29.000Z
defmodule Shippex.Address do @moduledoc """ Represents an address that can be passed to other `Shippex` functions. Do *not* initialize this struct directly. Instead, use `address/1`. """ @enforce_keys ~w(first_name last_name name phone address address_line_2 city state postal_code country)...
27.978339
92
0.607226
b28fffa8d81861d7c4e0434f0fa7651438794930
530
ex
Elixir
lib/mix/tasks/exstatic.compile.ex
arjan/exstatic
57364511f509f8ba8bee2e3bb7226db1d5f6d8b7
[ "MIT" ]
32
2015-11-09T19:55:01.000Z
2021-09-19T08:12:52.000Z
lib/mix/tasks/exstatic.compile.ex
arjan/exstatic
57364511f509f8ba8bee2e3bb7226db1d5f6d8b7
[ "MIT" ]
null
null
null
lib/mix/tasks/exstatic.compile.ex
arjan/exstatic
57364511f509f8ba8bee2e3bb7226db1d5f6d8b7
[ "MIT" ]
2
2016-05-25T08:31:04.000Z
2019-04-29T03:14:05.000Z
defmodule Mix.Tasks.Exstatic.Compile do use Mix.Task @default_input_path "priv/static" @shortdoc "Compiles static files into Erlang code" @moduledoc """ """ def run(args) do input_path = List.first(args) || @default_input_path case ExStatic.Compiler.compile_all(input_path) do {:ok, coun...
23.043478
84
0.65283
b29002795363ba812a1fd280db1510d3368a31d4
1,155
ex
Elixir
lib/ex_jenga/send_money_queries/account_inquiry_pesalink_banks.ex
beamkenya/ex_jenga
03a936a04d99614043d120d0e3ee787f1b8a5b8d
[ "AML", "MIT" ]
1
2021-09-14T09:50:22.000Z
2021-09-14T09:50:22.000Z
lib/ex_jenga/send_money_queries/account_inquiry_pesalink_banks.ex
beamkenya/ex_jenga
03a936a04d99614043d120d0e3ee787f1b8a5b8d
[ "AML", "MIT" ]
15
2021-04-23T11:28:49.000Z
2021-06-23T04:42:35.000Z
lib/ex_jenga/send_money_queries/account_inquiry_pesalink_banks.ex
beamkenya/ex_jenga
03a936a04d99614043d120d0e3ee787f1b8a5b8d
[ "AML", "MIT" ]
null
null
null
defmodule ExJenga.SendMoneyQueries.AccountInquiryPesalinkBanks do @moduledoc """ This webservice returns the recipients’ Linked Banks linked to the provided phone number on PesaLink """ import ExJenga.JengaBase @doc """ Inquire about the recipients linked banks tied to a given phone number Read more a...
28.875
125
0.649351
b29019e7575e308cb1aa53ece97523a8a61f07e9
1,937
exs
Elixir
clients/licensing/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/licensing/mix.exs
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/licensing/mix.exs
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...
28.910448
191
0.664946
b290241ca154f61d60fd423c7732576630fc3a13
1,041
exs
Elixir
config/config.exs
rai200890/blog
32b62d258736a6329537f155f6be1cef25848a56
[ "MIT" ]
null
null
null
config/config.exs
rai200890/blog
32b62d258736a6329537f155f6be1cef25848a56
[ "MIT" ]
null
null
null
config/config.exs
rai200890/blog
32b62d258736a6329537f155f6be1cef25848a56
[ "MIT" ]
null
null
null
import Config import System, only: [get_env: 1, get_env: 2, fetch_env!: 1] import String, only: [to_integer: 1] config :blog, Blog.Repo, database: System.get_env("DATABASE_NAME", "liveview_database"), username: System.get_env("DATABASE_USERNAME", "postgres"), password: System.get_env("DATABASE_PASSWORD", "postg...
32.53125
86
0.742555
b2902696e80d4cb006972b40d97c15821b46899c
1,643
exs
Elixir
mix.exs
ityonemo/erps
f3cd859313941b9838c91a32e9c32e84194b0bb5
[ "BSD-3-Clause" ]
4
2020-03-06T19:04:35.000Z
2021-01-01T21:23:03.000Z
mix.exs
ityonemo/erps
f3cd859313941b9838c91a32e9c32e84194b0bb5
[ "BSD-3-Clause" ]
27
2020-02-25T01:45:00.000Z
2020-07-02T18:39:22.000Z
mix.exs
ityonemo/erps
f3cd859313941b9838c91a32e9c32e84194b0bb5
[ "BSD-3-Clause" ]
null
null
null
defmodule Erps.MixProject do use Mix.Project def project do [ app: :erps, version: "0.7.0", elixir: "~> 1.10", description: "TLS-based remote protocol (call/cast) server", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), ...
28.824561
121
0.581254
b29041b637e4857507bf1bd85ba410334a161253
5,023
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/group_license.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/group_license.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/group_license.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
49.245098
139
0.725662
b290441dbf22bf48d964bf22fe2b58afd35331bd
1,407
ex
Elixir
lib/geolix/adapter/mmdb2/database.ex
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
lib/geolix/adapter/mmdb2/database.ex
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
lib/geolix/adapter/mmdb2/database.ex
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Adapter.MMDB2.Database do @moduledoc """ Module to interact with mmdb2 databases. This includes proxy methods for reading the database and lookup up entries. """ alias Geolix.Adapter.MMDB2.Result alias Geolix.Adapter.MMDB2.Storage @doc """ Implementation of `Geolix.Adapter.MMDB2.lo...
25.581818
73
0.653163
b2907b674e50b87270a27a472c15129f430f1ff3
2,132
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_menu_type_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_menu_type_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_menu_type_data.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.387097
123
0.684334
b29089913e9d6eeaae7367d2bcc33e633448d066
3,352
exs
Elixir
test/expected/cleaner_test.exs
ejpcmac/expected
c2b03bfa9bcb7efd52cf4003fb46f1309e8aa3c4
[ "MIT" ]
33
2018-01-18T12:16:19.000Z
2021-07-30T00:33:26.000Z
test/expected/cleaner_test.exs
ejpcmac/expected
c2b03bfa9bcb7efd52cf4003fb46f1309e8aa3c4
[ "MIT" ]
5
2018-01-18T12:56:28.000Z
2019-09-30T07:16:00.000Z
test/expected/cleaner_test.exs
ejpcmac/expected
c2b03bfa9bcb7efd52cf4003fb46f1309e8aa3c4
[ "MIT" ]
1
2018-08-08T12:02:44.000Z
2018-08-08T12:02:44.000Z
defmodule Expected.CleanerTest do use Expected.Case alias Expected.Cleaner defp with_logins(_) do setup_stores() :ok = MemoryStore.put(@login, @server) :ok = MemoryStore.put(@old_login, @server) end describe "start_link/1" do test "starts the GenServer" do assert {:ok, _} = Cleaner.s...
27.47541
78
0.633353
b290c00e08764cfeb08351f5e8758d6177748d97
7,309
exs
Elixir
test/cbson_test.exs
wyp169900/elixir-cbson
fb7b0dc855fedcfcc5216298a6e44a6ecc7080fe
[ "MIT" ]
null
null
null
test/cbson_test.exs
wyp169900/elixir-cbson
fb7b0dc855fedcfcc5216298a6e44a6ecc7080fe
[ "MIT" ]
null
null
null
test/cbson_test.exs
wyp169900/elixir-cbson
fb7b0dc855fedcfcc5216298a6e44a6ecc7080fe
[ "MIT" ]
null
null
null
defmodule CBsonTest do use ExUnit.Case doctest CBson setup_all do term = %{ a: -4.230845, b: "hello", c: %{x: -1, y: 2.2001}, d: [23, 45, 200], eeeeeeeee: %Bson.Bin{ subtype: Bson.Bin.subtyx(:binary), bin: <<200, 12, 240, 129, 100, 90, 56, 198, 34, 0, 0>>}, f...
32.057018
115
0.526201
b290d72b9e208d919d0bf9937d530764a488e9a2
59
ex
Elixir
web/views/presidents_view.ex
leolorenzoluis/poll
c1009e0796904414a94ef2e7509f7682d2910abf
[ "Apache-2.0" ]
1
2016-08-05T23:37:29.000Z
2016-08-05T23:37:29.000Z
web/views/presidents_view.ex
leolorenzoluis/poll
c1009e0796904414a94ef2e7509f7682d2910abf
[ "Apache-2.0" ]
null
null
null
web/views/presidents_view.ex
leolorenzoluis/poll
c1009e0796904414a94ef2e7509f7682d2910abf
[ "Apache-2.0" ]
null
null
null
defmodule Poll.PresidentsView do use Poll.Web, :view end
14.75
32
0.779661
b2915a1c9d0cd3b77a36d5b7b6e27bd1ffb4de91
719
ex
Elixir
lib/bitcoin/const.ex
anthdm/bitcoin-elixir
5ca9f8bf4e9b2b38527670e80568a85e0aa612c0
[ "Apache-2.0" ]
81
2017-04-20T17:42:59.000Z
2022-02-08T03:49:22.000Z
lib/bitcoin/const.ex
anthdm/bitcoin-elixir
5ca9f8bf4e9b2b38527670e80568a85e0aa612c0
[ "Apache-2.0" ]
2
2019-04-22T04:24:39.000Z
2019-04-26T07:03:59.000Z
lib/bitcoin/const.ex
anthdm/bitcoin-elixir
5ca9f8bf4e9b2b38527670e80568a85e0aa612c0
[ "Apache-2.0" ]
22
2017-08-16T14:19:44.000Z
2021-12-22T04:36:57.000Z
defmodule Bitcoin.Const do defmacro __using__(_opts) do quote do # Configurable network name e.g. bitcoin, testnet @network Application.get_env(:bitcoin, :network) || :bitcoin # Common chain params # Number of base units in one coin @coin 100_000_000 # Halving frequency (...
21.787879
66
0.662031
b2917bede5fda3def0725df12d4ad199061fa88b
22,609
exs
Elixir
apps/concierge_site/test/web/controllers/trip_controller_test.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/concierge_site/test/web/controllers/trip_controller_test.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/concierge_site/test/web/controllers/trip_controller_test.exs
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule ConciergeSite.TripControllerTest do @moduledoc false use ConciergeSite.ConnCase import AlertProcessor.Factory alias AlertProcessor.Model.Trip setup do user = insert(:user) {:ok, user: user} end describe "GET /trips" do test "explains alerts are disabled", %{conn: conn} do us...
31.099037
112
0.553319
b2917e8cedea3ac5fd4cd892391f8c7cec5f6547
1,033
ex
Elixir
lib/ecto/adapter/storage.ex
cnsa/ecto
a6e0eaaa5da1032fad571308c338eca1b5f77738
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapter/storage.ex
cnsa/ecto
a6e0eaaa5da1032fad571308c338eca1b5f77738
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapter/storage.ex
cnsa/ecto
a6e0eaaa5da1032fad571308c338eca1b5f77738
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapter.Storage do @moduledoc """ Specifies the adapter storage API. """ @doc """ Creates the storage given by options. Returns `:ok` if it was created successfully. Returns `{:error, :already_up}` if the storage has already been created or `{:error, term}` in case anything else goes ...
25.825
96
0.633107
b291be053b5fb88751389d7c861fd58822e56c6b
1,914
ex
Elixir
librepo/debian/librepo.init.ex
kakwa/debian-rpm-build-tools
7107407c31a5f6f4178a7ce7d17d0bfb069e3f02
[ "MIT" ]
2
2019-12-30T17:23:46.000Z
2020-01-02T08:47:39.000Z
librepo/debian/librepo.init.ex
kakwa/debian-rpm-build-tools
7107407c31a5f6f4178a7ce7d17d0bfb069e3f02
[ "MIT" ]
null
null
null
librepo/debian/librepo.init.ex
kakwa/debian-rpm-build-tools
7107407c31a5f6f4178a7ce7d17d0bfb069e3f02
[ "MIT" ]
null
null
null
#! /bin/sh ### BEGIN INIT INFO # Provides: librepo # Required-Start: $remote_fs $network $syslog # Required-Stop: $remote_fs $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: librepo ### END INIT INFO PIDFILE=/var/run/librepo/librepo.pid CONF=/etc/librepo/librep...
19.14
64
0.573145
b291cecb5a8c14b4aea74dd37176dcd6a2235f83
14,583
ex
Elixir
lib/aws/generated/data_sync.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/data_sync.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/data_sync.ex
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.DataSync do @moduledoc """ AWS DataSync AWS DataSync is a managed data transfer service that makes it simpler for you to automate moving data between on-premises storage and Amazon Simple...
37.585052
207
0.720702
b291d94ca72b7e44ac371a38ec5c70c047df8bee
1,207
ex
Elixir
lib/membrane_portaudio_plugin/sync_executor.ex
membraneframework/membrane_portaudio_plugin
a7d2e44000b9e4ebdfa21cb3228b6a2638eca02a
[ "Apache-2.0" ]
2
2018-07-27T14:16:02.000Z
2019-10-30T17:54:41.000Z
lib/membrane_portaudio_plugin/sync_executor.ex
membraneframework/membrane-element-portaudio
b1622040281e790422e0be94092957e1ef8cc4c1
[ "Apache-2.0" ]
3
2018-10-15T07:58:25.000Z
2020-08-07T05:20:30.000Z
lib/membrane_portaudio_plugin/sync_executor.ex
membraneframework/membrane_portaudio_plugin
a7d2e44000b9e4ebdfa21cb3228b6a2638eca02a
[ "Apache-2.0" ]
1
2019-10-30T17:54:51.000Z
2019-10-30T17:54:51.000Z
defmodule Membrane.PortAudio.SyncExecutor do @moduledoc """ A GenServer executing actions received by `GenServer.call/3` or `send/2`. Some PortAudio operations (such as starting and stopping stream) must not be executed concurrently, so they are received and executed here, synchronously. """ use GenServer...
26.822222
91
0.707539
b291ea65ac8ce567158128272f6b36deee08fb82
536
ex
Elixir
risteys_elixir/lib/risteys/fg_endpoint/definition_icd9.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
risteys_elixir/lib/risteys/fg_endpoint/definition_icd9.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
risteys_elixir/lib/risteys/fg_endpoint/definition_icd9.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule Risteys.FGEndpoint.DefinitionICD9 do use Ecto.Schema import Ecto.Changeset schema "fg_endpoint_definitions_icd9s" do field :registry, :string field :fg_endpoint_id, :id field :icd9_id, :id timestamps() end @doc false def changeset(fg_endpoint_icd9, attrs) do fg_endpoint_icd9...
25.52381
80
0.731343
b291f21c9ba105aeb4f56c85ff6200084bbc3c01
7,285
exs
Elixir
config/.credo.exs
ideaMarcos/portishead
0ad09af305e1e663c0d080a9637b8420d0f40fd1
[ "MIT" ]
3
2020-03-09T04:29:49.000Z
2020-07-14T16:09:50.000Z
config/.credo.exs
ideaMarcos/portishead
0ad09af305e1e663c0d080a9637b8420d0f40fd1
[ "MIT" ]
null
null
null
config/.credo.exs
ideaMarcos/portishead
0ad09af305e1e663c0d080a9637b8420d0f40fd1
[ "MIT" ]
null
null
null
# 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 ...
38.544974
97
0.611256
b291f324313fd4995f0b6f4cfdb6c981e9dca50c
1,769
exs
Elixir
mix.exs
dmyers87/lowendinsight
5c5426d521a97d8a754261da5328ebeb52beb1fa
[ "BSD-3-Clause" ]
9
2020-04-07T17:22:15.000Z
2022-01-29T21:56:07.000Z
mix.exs
dmyers87/lowendinsight
5c5426d521a97d8a754261da5328ebeb52beb1fa
[ "BSD-3-Clause" ]
49
2020-03-03T16:18:50.000Z
2021-05-29T13:48:04.000Z
mix.exs
dmyers87/lowendinsight
5c5426d521a97d8a754261da5328ebeb52beb1fa
[ "BSD-3-Clause" ]
3
2020-05-14T16:26:03.000Z
2022-01-24T22:03:40.000Z
# Copyright (C) 2020 by the Georgia Tech Research Institute (GTRI) # This software may be modified and distributed under the terms of # the BSD 3-Clause license. See the LICENSE file for details. defmodule GithubModule.MixProject do use Mix.Project def project do [ app: :lowendinsight, description...
26.80303
224
0.586207
b29215cc886fc814b79d776af55218fa33922a18
1,078
ex
Elixir
lib/schema/http.ex
omnifroodle/astraex
873d5ca985c8387f236c086ffb76780092823e01
[ "Apache-2.0" ]
3
2021-02-16T20:30:52.000Z
2021-08-16T15:02:59.000Z
lib/schema/http.ex
omnifroodle/astraex
873d5ca985c8387f236c086ffb76780092823e01
[ "Apache-2.0" ]
null
null
null
lib/schema/http.ex
omnifroodle/astraex
873d5ca985c8387f236c086ffb76780092823e01
[ "Apache-2.0" ]
null
null
null
defmodule Astra.Schema.Http do @moduledoc """ `Astra.Schema.Http` provides direct access to all HTTP methods implemented in `HTTPoison`. It is used by `Astra.Schema` to add required headers and security to request, but could also be used to directly access unimplemented functionality in the future. """ use HTT...
31.705882
256
0.693878
b2921ff84c3b2f15d541b9bdf700fac791e9ac2f
1,577
ex
Elixir
clients/binary_authorization/lib/google_api/binary_authorization/v1/model/test_iam_permissions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/binary_authorization/lib/google_api/binary_authorization/v1/model/test_iam_permissions_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/binary_authorization/lib/google_api/binary_authorization/v1/model/test_iam_permissions_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...
33.553191
143
0.754597
b2922b32b10d87669d1818a880a9d2d9e990a34b
1,296
ex
Elixir
apps/performance_3/lib/metrics_collector/web/views/error_helpers.ex
WhiteRookPL/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
14
2017-08-09T14:21:47.000Z
2022-03-11T04:10:49.000Z
apps/performance_3/lib/metrics_collector/web/views/error_helpers.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
null
null
null
apps/performance_3/lib/metrics_collector/web/views/error_helpers.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
15
2017-09-05T15:43:53.000Z
2020-04-13T16:20:18.000Z
defmodule MetricsCollector.Web.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) -> ...
31.609756
86
0.675926
b2923a196f9a5602be6fda35f7f344be7e51b727
80
exs
Elixir
test/amrita_web/views/layout_view_test.exs
u3paka/Amrita
de2c566d856fd75925a4dfec58c28c2484c29d5d
[ "Apache-2.0" ]
null
null
null
test/amrita_web/views/layout_view_test.exs
u3paka/Amrita
de2c566d856fd75925a4dfec58c28c2484c29d5d
[ "Apache-2.0" ]
2
2020-07-17T08:34:44.000Z
2021-03-09T08:33:47.000Z
test/amrita_web/views/layout_view_test.exs
u3paka/amrita
de2c566d856fd75925a4dfec58c28c2484c29d5d
[ "Apache-2.0" ]
null
null
null
defmodule AmritaWeb.LayoutViewTest do use AmritaWeb.ConnCase, async: true end
20
37
0.825
b29251eab0abd08eaff7d5b83a6b2f4f441c98ef
2,839
ex
Elixir
lib/epicenter_web/live/contact_investigation_discontinue_live.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
lib/epicenter_web/live/contact_investigation_discontinue_live.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
lib/epicenter_web/live/contact_investigation_discontinue_live.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.ContactInvestigationDiscontinueLive do use EpicenterWeb, :live_view import EpicenterWeb.ConfirmationModal, only: [confirmation_prompt: 1] import EpicenterWeb.IconView, only: [back_icon: 0] import EpicenterWeb.LiveHelpers, only: [assign_defaults: 1, assign_page_title: 2, authenticate...
32.632184
146
0.691088
b2925d48f7db9bf606627e53e2c97be97fed59b9
1,981
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/pub_sub_subscriber.ex
jared-s/ockam
a1d482550aeafbc2a6040a5efb3f5effc9974d51
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/pub_sub_subscriber.ex
jared-s/ockam
a1d482550aeafbc2a6040a5efb3f5effc9974d51
[ "Apache-2.0" ]
119
2021-07-20T15:12:29.000Z
2022-03-01T10:31:53.000Z
implementations/elixir/ockam/ockam/lib/ockam/pub_sub_subscriber.ex
jared-s/ockam
a1d482550aeafbc2a6040a5efb3f5effc9974d51
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.PubSubSubscriber do @moduledoc """ Worker to maintain Ockam.Hub pub_sub_service subscription Refreshes subscription to pub_sup service every interval milliseconds Can be used to maintain resilient subscription to a topic even if the connection or pub_sub service restarts Options: `pub_...
23.86747
71
0.660777
b2929a22f7073d46b5d9e99209ca5c567d7e9899
2,565
ex
Elixir
lib/surface_bootstrap4_demo_web.ex
tschmidleithner/surface_bootstrap4_demo
9034762e3df1b31832a88a7a08931fe6571e1456
[ "MIT" ]
null
null
null
lib/surface_bootstrap4_demo_web.ex
tschmidleithner/surface_bootstrap4_demo
9034762e3df1b31832a88a7a08931fe6571e1456
[ "MIT" ]
null
null
null
lib/surface_bootstrap4_demo_web.ex
tschmidleithner/surface_bootstrap4_demo
9034762e3df1b31832a88a7a08931fe6571e1456
[ "MIT" ]
null
null
null
defmodule SurfaceBootstrap4DemoWeb 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 SurfaceBootstrap4DemoWeb, :controller use SurfaceBootstrap4DemoWeb, :view The definitions below will ...
24.198113
78
0.705263
b292dc415e7dc4f902a890e2bc22fa8ba9d0821c
9,472
exs
Elixir
test/elixir/test/partition_size_test.exs
aogier/couchdb
0c7111c49932e742981145b88389f7bdcfda5ee6
[ "Apache-2.0" ]
1
2019-03-17T03:56:29.000Z
2019-03-17T03:56:29.000Z
test/elixir/test/partition_size_test.exs
aogier/couchdb
0c7111c49932e742981145b88389f7bdcfda5ee6
[ "Apache-2.0" ]
null
null
null
test/elixir/test/partition_size_test.exs
aogier/couchdb
0c7111c49932e742981145b88389f7bdcfda5ee6
[ "Apache-2.0" ]
null
null
null
defmodule PartitionSizeTest do use CouchTestCase @moduledoc """ Test Partition size functionality """ setup do db_name = random_db_name() {:ok, _} = create_db(db_name, query: %{partitioned: true, q: 1}) on_exit(fn -> delete_db(db_name) end) {:ok, [db_name: db_name]} end def get_db_info...
26.165746
79
0.601563
b292fe1487439c07d8964daa2e9a8c8a30096112
1,119
ex
Elixir
web/models/game.ex
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
web/models/game.ex
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
web/models/game.ex
Pianist038801/SprintPoker
ae14f79b8cd4254a1c5f5fef698db1cf2d20cf9c
[ "MIT" ]
null
null
null
defmodule SprintPoker.Game do use SprintPoker.Web, :model alias SprintPoker.Ticket alias SprintPoker.User alias SprintPoker.Repo @primary_key {:id, :binary_id, autogenerate: true} @required_fields ~w(name owner_id deck_id) @optional_fields ~w() schema "games" do field :name, :string belongs_...
22.836735
57
0.654155
b2930bf73cc16be1caabccca3ef9ba371e2092ff
2,154
ex
Elixir
lib/bitpal/authentication/tokens.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
5
2021-05-04T21:28:00.000Z
2021-12-01T11:19:48.000Z
lib/bitpal/authentication/tokens.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
71
2021-04-21T05:48:49.000Z
2022-03-23T06:30:37.000Z
lib/bitpal/authentication/tokens.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
1
2021-04-25T10:35:41.000Z
2021-04-25T10:35:41.000Z
defmodule BitPal.Authentication.Tokens do import Ecto.Changeset import Ecto.Query alias BitPal.Repo alias BitPalSchemas.AccessToken alias BitPalSchemas.Store alias Ecto.Changeset @secret_key_base Application.compile_env!(:bitpal, :secret_key_base) @salt "access tokens" @spec authenticate_token(Strin...
28.72
92
0.653203
b29317d2c7996294086db0c6f44de92940573753
174
ex
Elixir
lib/user_service_web/views/pow_reset_password/mailer_view.ex
sb8244/pow_starter_pack
82e16c3e4139ecc85295078b54024f58f95ab794
[ "MIT" ]
13
2020-03-31T21:45:40.000Z
2021-02-13T12:17:22.000Z
lib/user_service_web/views/pow_reset_password/mailer_view.ex
sb8244/pow_starter_pack
82e16c3e4139ecc85295078b54024f58f95ab794
[ "MIT" ]
1
2021-03-10T12:57:21.000Z
2021-03-10T12:57:21.000Z
lib/user_service_web/views/pow_reset_password/mailer_view.ex
sb8244/pow_starter_pack
82e16c3e4139ecc85295078b54024f58f95ab794
[ "MIT" ]
1
2020-04-28T15:41:56.000Z
2020-04-28T15:41:56.000Z
defmodule UserServiceWeb.PowResetPassword.MailerView do use UserServiceWeb, :mailer_view def subject(:reset_password, _assigns), do: "APP_NAME: Reset password link" end
29
77
0.810345
b2931d3de25ffd776d08c0030cd8e49a20045725
197
ex
Elixir
lib/phone/rs.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/rs.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/rs.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.RS do @moduledoc false use Helper.Country def regex, do: ~r/^(381)()(.+)/ def country, do: "Serbia" def a2, do: "RS" def a3, do: "SRB" matcher(:regex, ["381"]) end
15.153846
33
0.593909
b293261eaf9359d84c212cf26602db9551b42760
1,317
ex
Elixir
lib/veloroute_web/router.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
12
2018-06-15T10:18:43.000Z
2022-01-24T12:50:54.000Z
lib/veloroute_web/router.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
15
2018-06-21T18:04:12.000Z
2021-10-16T12:54:39.000Z
lib/veloroute_web/router.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
2
2020-03-09T19:21:36.000Z
2022-01-16T03:29:51.000Z
defmodule VelorouteWeb.Router do use VelorouteWeb, :router use Plug.ErrorHandler use Sentry.Plug import Phoenix.LiveView.Router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :protect_from_forgery plug :put_secure_browser_headers plug :pu...
28.021277
77
0.694002
b293268b8636fb7cfd5cd391b1c3f82b74458a72
1,555
ex
Elixir
server/lib/domsegserver_web/endpoint.ex
arpieb/domseg
0c7165d69181e59902730c6e7ac41e8e849edd70
[ "Apache-2.0" ]
null
null
null
server/lib/domsegserver_web/endpoint.ex
arpieb/domseg
0c7165d69181e59902730c6e7ac41e8e849edd70
[ "Apache-2.0" ]
9
2021-12-09T18:19:21.000Z
2022-01-09T03:45:33.000Z
server/lib/domsegserver_web/endpoint.ex
arpieb/domseg
0c7165d69181e59902730c6e7ac41e8e849edd70
[ "Apache-2.0" ]
null
null
null
defmodule DOMSegServerWeb.Endpoint do use Phoenix.Endpoint, otp_app: :domsegserver # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "...
30.490196
97
0.726688
b2932e39eb954adeb0f9aedd376198bf63c13d12
1,301
exs
Elixir
test/phoenix/router/route_test.exs
henrik/phoenix
4f784ec808b33638263e8d6b8c4b43d21b62a43b
[ "MIT" ]
null
null
null
test/phoenix/router/route_test.exs
henrik/phoenix
4f784ec808b33638263e8d6b8c4b43d21b62a43b
[ "MIT" ]
null
null
null
test/phoenix/router/route_test.exs
henrik/phoenix
4f784ec808b33638263e8d6b8c4b43d21b62a43b
[ "MIT" ]
null
null
null
defmodule Phoenix.Router.RouteTest do use ExUnit.Case, async: true import Phoenix.Router.Route test "builds a route based on verb, path, controller, action and helper" do route = build("GET", "/foo/:bar", nil, Hello, :world, "hello_world", [:foo, :bar], %{foo: "bar"}, %{bar: "baz"}) assert route.verb ==...
39.424242
120
0.591084
b293946ec22d4604bea97fcbe2c20ab829f092ea
7,765
ex
Elixir
lib/credo/config_file.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
lib/credo/config_file.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
lib/credo/config_file.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
defmodule Credo.ConfigFile do @doc """ `ConfigFile` structs represent all loaded and merged config files in a run. """ @config_filename ".credo.exs" @default_config_name "default" @origin_user :file @default_glob "**/*.{ex,exs}" @default_files_included [@default_glob] @default_files_excluded [] a...
27.341549
90
0.654218
b293a57263f348ef3a1dde92089734e674ab0467
1,138
exs
Elixir
mix.exs
ebostijancic/nerves_custom_rpi2
2f45bd27c8baf430e760ff5dfffc3d622254197a
[ "Apache-2.0" ]
null
null
null
mix.exs
ebostijancic/nerves_custom_rpi2
2f45bd27c8baf430e760ff5dfffc3d622254197a
[ "Apache-2.0" ]
null
null
null
mix.exs
ebostijancic/nerves_custom_rpi2
2f45bd27c8baf430e760ff5dfffc3d622254197a
[ "Apache-2.0" ]
null
null
null
defmodule NervesCustomRpi2.Mixfile do use Mix.Project @version Path.join(__DIR__, "VERSION") |> File.read! |> String.strip def project do [app: :nerves_custom_rpi2, version: @version, elixir: "~> 1.3", compilers: Mix.compilers ++ [:nerves_package], description: description(), ...
27.095238
197
0.62478
b293cdeda10e6dde79fa5f43b97080c95d715182
1,752
ex
Elixir
lib/sptfy/follow.ex
Joe-noh/sptfy
ce94ec2ec61529ab6fe708248a2360f95ec388ea
[ "MIT" ]
5
2020-12-14T15:46:26.000Z
2021-03-20T22:32:58.000Z
lib/sptfy/follow.ex
Joe-noh/sptfy
ce94ec2ec61529ab6fe708248a2360f95ec388ea
[ "MIT" ]
9
2020-12-25T14:36:11.000Z
2021-01-25T14:03:18.000Z
lib/sptfy/follow.ex
Joe-noh/sptfy
ce94ec2ec61529ab6fe708248a2360f95ec388ea
[ "MIT" ]
null
null
null
defmodule Sptfy.Follow do @moduledoc """ https://developer.spotify.com/documentation/web-api/reference-beta/#category-follow """ use Sptfy.Client alias Sptfy.Object.FullArtist put "/v1/playlists/:id/followers", as: :follow_playlist, query: [], body: [:public], mapping: :ok delete "/v1/...
25.391304
85
0.61016
b293e8c2833a5761de5d36e991273e55a18f00f7
753
ex
Elixir
lib/socializer_web/endpoint.ex
adam-h/socializer
22bbb34a6e707af9cf608c5eeb6189d1f067a95b
[ "MIT" ]
311
2019-04-21T22:15:08.000Z
2022-01-23T14:07:03.000Z
lib/socializer_web/endpoint.ex
adam-h/socializer
22bbb34a6e707af9cf608c5eeb6189d1f067a95b
[ "MIT" ]
9
2020-09-07T09:38:58.000Z
2022-02-26T18:07:44.000Z
lib/socializer_web/endpoint.ex
adam-h/socializer
22bbb34a6e707af9cf608c5eeb6189d1f067a95b
[ "MIT" ]
49
2019-04-22T01:29:50.000Z
2022-03-23T04:34:35.000Z
defmodule SocializerWeb.Endpoint do use Phoenix.Endpoint, otp_app: :socializer use Absinthe.Phoenix.Endpoint use NewRelic.Transaction origin = case Mix.env() do :prod -> ["https://socializer-demo.herokuapp.com"] _ -> false end socket "/socket", SocializerWeb.AbsintheSocket, websocket...
22.147059
56
0.705179
b294268d1d3a219e14aa859bfaf3703e6bf4f0db
580
ex
Elixir
apps/grenadier/lib/grenadier/account/login.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/grenadier/lib/grenadier/account/login.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/grenadier/lib/grenadier/account/login.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Grenadier.Account.Login do use Ecto.Schema import Ecto.Changeset schema "logins" do field :attempt_time, :utc_datetime field :ip, :string field :user_agent, :string field :username, :string field :was_successful, :boolean, default: false timestamps() end @doc false def c...
25.217391
81
0.703448
b29467de48e13093f60fdd5c51c1b775c972c9a6
1,510
exs
Elixir
apps/aecore/test/aecore_pow_mock_test.exs
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
131
2018-03-10T01:35:56.000Z
2021-12-27T13:44:41.000Z
apps/aecore/test/aecore_pow_mock_test.exs
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
445
2018-03-12T09:46:17.000Z
2018-12-12T09:52:07.000Z
apps/aecore/test/aecore_pow_mock_test.exs
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
23
2018-03-12T12:01:28.000Z
2022-03-06T09:22:17.000Z
defmodule AecorePowMockTest do @moduledoc """ Unit tests for the mock miner module """ require Logger use ExUnit.Case alias Aecore.Pow.Mock alias Aecore.Chain.Header @tag :mock_miner test "Generate solution and test it validates" do {:ok, valid_header} = Mock.generate(header_candidate()) a...
27.454545
98
0.590728
b29496510cf54e3b5e2cba8ba83f3d061797ee99
2,295
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/page.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/page.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/page.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.622951
135
0.68976
b294ba3493fba957dccfd77e73d70ed616a707a2
6,402
ex
Elixir
lib/avrora/encoder.ex
RafaelCamarda/avrora
0771d18a7082992be035b9aaadfe625808b6de6f
[ "MIT" ]
null
null
null
lib/avrora/encoder.ex
RafaelCamarda/avrora
0771d18a7082992be035b9aaadfe625808b6de6f
[ "MIT" ]
null
null
null
lib/avrora/encoder.ex
RafaelCamarda/avrora
0771d18a7082992be035b9aaadfe625808b6de6f
[ "MIT" ]
null
null
null
defmodule Avrora.Encoder do @moduledoc """ Encodes and decodes avro messages created with or without extra Schema Registry version. """ require Logger alias Avrora.{Mapper, Name, Resolver, Schema} @registry_magic_bytes <<0::size(8)>> @object_container_magic_bytes <<"Obj", 1>> @decoder_options %{ ...
31.229268
105
0.602468
b294bbd8d3e04d5992cc4c40086f0dd842a05dfd
1,934
exs
Elixir
config/dev.exs
woeye/twaddler
e06a22a94520055bc33aaaacfe51989ba8ab665f
[ "Apache-2.0" ]
1
2018-10-08T13:57:08.000Z
2018-10-08T13:57:08.000Z
config/dev.exs
woeye/twaddler
e06a22a94520055bc33aaaacfe51989ba8ab665f
[ "Apache-2.0" ]
null
null
null
config/dev.exs
woeye/twaddler
e06a22a94520055bc33aaaacfe51989ba8ab665f
[ "Apache-2.0" ]
1
2018-10-08T13:55:44.000Z
2018-10-08T13:55:44.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :twaddler, TwaddlerWeb.Endpoint, http: [port: ...
32.779661
170
0.703206
b294c15c3c20915115e628f85f5d0ada470b156f
2,491
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/non_compliance_detail_condition.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/non_compliance_detail_condition.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/non_compliance_detail_condition.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...
48.843137
301
0.782818
b294df069404f127110a2fc11b0dbff26e622d40
509
ex
Elixir
dash/lib/dash_web/router.ex
bhaveshpoddar94/BitcoinRealtime
e9a60ae80596271048c81cbb2c3be7e3428d2a8f
[ "MIT" ]
null
null
null
dash/lib/dash_web/router.ex
bhaveshpoddar94/BitcoinRealtime
e9a60ae80596271048c81cbb2c3be7e3428d2a8f
[ "MIT" ]
null
null
null
dash/lib/dash_web/router.ex
bhaveshpoddar94/BitcoinRealtime
e9a60ae80596271048c81cbb2c3be7e3428d2a8f
[ "MIT" ]
null
null
null
defmodule DashWeb.Router do use DashWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", DashWeb do pipe_through :...
18.851852
57
0.671906
b294e951d35369a31746c164332ca84e024c1d44
2,924
exs
Elixir
test/acceptance/ast/horizontal_rules_test.exs
sionide21/earmark_parser
d9283fd90dad21d4bf4277e284b2e4a8560d14b0
[ "Apache-2.0" ]
null
null
null
test/acceptance/ast/horizontal_rules_test.exs
sionide21/earmark_parser
d9283fd90dad21d4bf4277e284b2e4a8560d14b0
[ "Apache-2.0" ]
null
null
null
test/acceptance/ast/horizontal_rules_test.exs
sionide21/earmark_parser
d9283fd90dad21d4bf4277e284b2e4a8560d14b0
[ "Apache-2.0" ]
null
null
null
defmodule Acceptance.Ast.HorizontalRulesTest do use ExUnit.Case, async: true import Support.Helpers, only: [as_ast: 1, parse_html: 1] import EarmarkAstDsl describe "Horizontal rules" do test "thick, thin & medium" do markdown = "***\n---\n___\n" html = "<hr class=\"thick\"/>\n<hr class=\...
28.666667
132
0.526676
b29542ceec68feeffb57d664f93e0043fa2ca79d
895
ex
Elixir
lib/ex_shla/resource/location.ex
l1h3r/ex_shla
bf3ed190b471cce9745e58702ac32c769f46d04b
[ "MIT" ]
7
2018-03-26T01:04:53.000Z
2021-12-14T23:03:59.000Z
lib/ex_shla/resource/location.ex
l1h3r/ex_shla
bf3ed190b471cce9745e58702ac32c769f46d04b
[ "MIT" ]
1
2018-03-28T18:31:03.000Z
2018-03-29T13:04:26.000Z
lib/ex_shla/resource/location.ex
l1h3r/ex_shla
bf3ed190b471cce9745e58702ac32c769f46d04b
[ "MIT" ]
null
null
null
defmodule ExShla.Resource.Location do @moduledoc """ Rick and Morty location data from an API response ## Attributes `id` The id of the location. `name` The name of the location. `type` The type of the location. `dimension` The dimension in which the location is located. `residents` List...
22.375
74
0.640223
b2954f7a0ca188acc80185f7fa5b4d35b4bad6d1
3,948
ex
Elixir
lib/credo/cli/command/explain/explain_command.ex
egze/credo
59ee836e9ee07c478421df3078a56230a86c3860
[ "MIT" ]
1
2021-12-01T13:37:43.000Z
2021-12-01T13:37:43.000Z
deps/credo/lib/credo/cli/command/explain/explain_command.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/credo/lib/credo/cli/command/explain/explain_command.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
1
2020-06-28T00:36:07.000Z
2020-06-28T00:36:07.000Z
defmodule Credo.CLI.Command.Explain.ExplainCommand do @moduledoc false @shortdoc "Show code object and explain why it is/might be an issue" use Credo.CLI.Command alias Credo.Check alias Credo.Execution alias Credo.CLI.Command.Explain.ExplainOutput, as: Output alias Credo.CLI.Filename alias Credo.CLI....
25.636364
77
0.687437
b29551b54e26c4e4b61d4635b218dbfc5183d3f6
7,877
exs
Elixir
test/channels_test.exs
jeffweiss/exirc
d56e1d93ef83d350606e489021a276f8a49e9480
[ "MIT" ]
147
2015-01-12T15:05:12.000Z
2022-03-17T06:32:41.000Z
test/channels_test.exs
jeffweiss/exirc
d56e1d93ef83d350606e489021a276f8a49e9480
[ "MIT" ]
74
2015-01-24T23:07:53.000Z
2021-04-23T14:27:43.000Z
test/channels_test.exs
jeffweiss/exirc
d56e1d93ef83d350606e489021a276f8a49e9480
[ "MIT" ]
51
2015-02-13T21:00:38.000Z
2022-03-03T15:38:12.000Z
defmodule ExIRC.ChannelsTest do use ExUnit.Case, async: true alias ExIRC.Channels, as: Channels test "Joining a channel adds it to the tree of currently joined channels" do channels = Channels.init() |> Channels.join("#testchannel") |> Channels.channels assert Enum.member?(channels, "#testchannel") en...
50.819355
180
0.690745
b29579d3b13479e0adc39157d8efc357592c66a2
3,180
ex
Elixir
lib/auto_api/states/climate_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/states/climate_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
lib/auto_api/states/climate_state.ex
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
null
null
null
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
41.298701
125
0.708805
b29584519917d528eabe50dc4d989564f6ab273a
48,209
exs
Elixir
lib/mix/test/mix/tasks/compile.elixir_test.exs
s-ormanns/elixir
d17d2f209113143c32c72b8815e7d9fb2dc93527
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.elixir_test.exs
s-ormanns/elixir
d17d2f209113143c32c72b8815e7d9fb2dc93527
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.elixir_test.exs
s-ormanns/elixir
d17d2f209113143c32c72b8815e7d9fb2dc93527
[ "Apache-2.0" ]
null
null
null
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.Compile.ElixirTest do import ExUnit.CaptureIO alias Mix.Task.Compiler.Diagnostic use MixTest.Case def trace(event, env) do send(__MODULE__, {event, env}) :ok end @old_time {{2010, 1, 1}, {0, 0, 0}} @elixir_otp_version {Syst...
33.571727
144
0.602273
b295adfff4bd9f54105faddcab3c6a45942b82d0
6,664
ex
Elixir
lib/cadet/accounts/luminus.ex
geshuming/cadet
783cc84173b8f4b504db3d3b1ca91037d51b5c8e
[ "MIT" ]
null
null
null
lib/cadet/accounts/luminus.ex
geshuming/cadet
783cc84173b8f4b504db3d3b1ca91037d51b5c8e
[ "MIT" ]
null
null
null
lib/cadet/accounts/luminus.ex
geshuming/cadet
783cc84173b8f4b504db3d3b1ca91037d51b5c8e
[ "MIT" ]
null
null
null
defmodule Cadet.Accounts.Luminus do @moduledoc """ This module provides abstractions for various LumiNUS API calls. This module depends on the config variables `:luminus_api_key`, `luminus_client_secret`, `luminus_client_secret`, `luminus_redirect_url`, being set. `:luminus_api_key` can be obtained from h...
28.478632
95
0.645408
b295c4d64ffac862cbf0dab9144ed777326c753f
2,220
exs
Elixir
test/xdr/transactions/operations/manage_data_result_code_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
null
null
null
test/xdr/transactions/operations/manage_data_result_code_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
null
null
null
test/xdr/transactions/operations/manage_data_result_code_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
null
null
null
defmodule StellarBase.XDR.Operations.ManageDataResultCodeTest do use ExUnit.Case alias StellarBase.XDR.Operations.ManageDataResultCode @codes [ :MANAGE_DATA_SUCCESS, :MANAGE_DATA_NOT_SUPPORTED_YET, :MANAGE_DATA_NAME_NOT_FOUND, :MANAGE_DATA_LOW_RESERVE, :MANAGE_DATA_INVALID_NAME ] @binar...
30.833333
97
0.63964
b29625bc4254d23108c7c72d7ce9d3f8a8f40203
839
exs
Elixir
test/ex_poloniex/http_test.exs
fremantle-capital/poloniex_elixir
2283936d9c48522e954392b8a6587cbbd2de8cbd
[ "MIT" ]
null
null
null
test/ex_poloniex/http_test.exs
fremantle-capital/poloniex_elixir
2283936d9c48522e954392b8a6587cbbd2de8cbd
[ "MIT" ]
null
null
null
test/ex_poloniex/http_test.exs
fremantle-capital/poloniex_elixir
2283936d9c48522e954392b8a6587cbbd2de8cbd
[ "MIT" ]
null
null
null
defmodule ExPoloniex.HTTPTest do use ExUnit.Case, async: true use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney doctest ExPoloniex.HTTP @api_key Application.get_env(:poloniex, :api_key) @secret Application.get_env(:poloniex, :secret) setup_all do HTTPoison.start() end test "returns an authentication...
29.964286
87
0.686532
b2964333893cb416eea5702c16faa136bb291aca
3,810
ex
Elixir
lib/cldr/substitution.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
179
2019-06-16T09:16:00.000Z
2022-03-30T04:04:55.000Z
lib/cldr/substitution.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
46
2019-06-09T02:35:58.000Z
2022-03-08T10:39:08.000Z
lib/cldr/substitution.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
14
2020-03-03T16:35:50.000Z
2022-02-27T14:01:40.000Z
defmodule Cldr.Substitution do @moduledoc """ Compiles substituation formats that are of the form "{0} something {1}" into a token list that allows for more efficient parameter substituation at runtime. """ @doc """ Parses a substitution template into a list of tokens to allow efficient parameter subst...
29.083969
95
0.672966