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
74ebbcc59e9e7d3ef8911be1fca0f478155b3ffa
1,948
ex
Elixir
lib/jeopardy_web/controllers/page_controller.ex
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
null
null
null
lib/jeopardy_web/controllers/page_controller.ex
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
32
2020-06-08T14:50:46.000Z
2021-01-01T05:40:44.000Z
lib/jeopardy_web/controllers/page_controller.ex
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
null
null
null
defmodule JeopardyWeb.PageController do use JeopardyWeb, :controller alias Jeopardy.Games alias Jeopardy.Games.Game alias Jeopardy.Games.Login require Logger def index(conn, _params) do :telemetry.execute([:metrics_demo, :render], %{ c: 1, controller: "PageController", action: "index"...
28.647059
84
0.545175
74ebcf211f8965aa0b60be610068ffe54beb532a
1,523
ex
Elixir
clients/file/lib/google_api/file/v1/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/file/lib/google_api/file/v1/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/file/lib/google_api/file/v1/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...
30.46
76
0.738674
74ebd005d83560ffa4a39fd9692f9dc29d344000
1,825
ex
Elixir
test/support/conn_case.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
1
2021-11-19T07:44:18.000Z
2021-11-19T07:44:18.000Z
test/support/conn_case.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
null
null
null
test/support/conn_case.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
null
null
null
defmodule LiveBeatsWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if ...
26.449275
78
0.712877
74ebde8c8690c516fef05835e00897a9d306b326
778
exs
Elixir
test/live_props/docs_test.exs
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
11
2020-07-02T17:02:18.000Z
2021-10-31T11:27:53.000Z
test/live_props/docs_test.exs
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
null
null
null
test/live_props/docs_test.exs
patricklafleur/phoenix-live-props
a93e364cf1d83fba276fa000da0bd11d145c6a32
[ "MIT" ]
1
2021-01-04T20:29:07.000Z
2021-01-04T20:29:07.000Z
defmodule LiveProps.DocsTest do use ExUnit.Case defmodule InjectDocs do defmacro __before_compile__(_env) do quote do def docs do @moduledoc end end end end defmodule Component do use Phoenix.LiveComponent use LiveProps.LiveComponent @before_compile I...
19.948718
69
0.625964
74ebfe0c411a8e3492da9fc9d921c68397e2d236
20,247
ex
Elixir
lib/encoding.ex
alfert/amqp_one
2aed738edf8dc9054269cf3c8ddd9d14766c10d7
[ "Apache-2.0" ]
2
2016-12-20T19:23:00.000Z
2020-01-03T12:29:13.000Z
lib/encoding.ex
alfert/amqp_one
2aed738edf8dc9054269cf3c8ddd9d14766c10d7
[ "Apache-2.0" ]
null
null
null
lib/encoding.ex
alfert/amqp_one
2aed738edf8dc9054269cf3c8ddd9d14766c10d7
[ "Apache-2.0" ]
null
null
null
defmodule AmqpOne.Encoding do @moduledoc """ This module contains the logic for encoding and decoding typed AMQP streams. """ require Logger alias AmqpOne.TypeManager alias AmqpOne.TypeManager.{Type, Encoding, Field, Descriptor, Choice} def parse(<<0x4 :: size(4), type :: size(4), _rest :: binary>>) do...
41.746392
126
0.622018
74ec2b6a7014acdcefea1b7b670d75391cee5130
507
ex
Elixir
lib/team_budget_graphql/types/user.ex
allefgomes/team_budget
cdd02c10fefe6c844a477aae361e6f7a41d4f734
[ "MIT" ]
null
null
null
lib/team_budget_graphql/types/user.ex
allefgomes/team_budget
cdd02c10fefe6c844a477aae361e6f7a41d4f734
[ "MIT" ]
2
2021-07-30T15:19:20.000Z
2021-07-31T15:06:24.000Z
lib/team_budget_graphql/types/user.ex
allefgomes/team_budget
cdd02c10fefe6c844a477aae361e6f7a41d4f734
[ "MIT" ]
null
null
null
defmodule TeamBudgetGraphql.Types.User do use Absinthe.Schema.Notation object :user do field :id, :string field :first_name, :string field :last_name, :string field :email, :string field :role, :string end input_object :user_input do field :first_name, non_null(:string) field :last...
24.142857
51
0.700197
74ec4dc4560df5ff1cbf2fba61331dd0a334acd8
937
ex
Elixir
lib/trade_stream.ex
hlappa/BB
0a57a326621ff0d7f73d71be85b14d13bfa3b168
[ "MIT" ]
null
null
null
lib/trade_stream.ex
hlappa/BB
0a57a326621ff0d7f73d71be85b14d13bfa3b168
[ "MIT" ]
null
null
null
lib/trade_stream.ex
hlappa/BB
0a57a326621ff0d7f73d71be85b14d13bfa3b168
[ "MIT" ]
null
null
null
defmodule TradeStream do use WebSockex require Logger alias Phoenix.PubSub @url "wss://stream.binance.com:9443/ws/" def start_link(symbol) do WebSockex.start_link("#{@url}#{symbol}@trade", __MODULE__, []) end def handle_frame({_type, msg}, state) do case Jason.decode(msg) do {:ok, event...
21.295455
70
0.590181
74ec5ac00995e7bb417c18c46fc4d39a68ec4f94
461
ex
Elixir
lib/open_telemetry/honeycomb.ex
lirossarvet/opentelemetry_honeycomb
24d7ad9e318a758f8154c6294aab6c67084280ac
[ "Apache-2.0" ]
null
null
null
lib/open_telemetry/honeycomb.ex
lirossarvet/opentelemetry_honeycomb
24d7ad9e318a758f8154c6294aab6c67084280ac
[ "Apache-2.0" ]
11
2020-04-25T06:15:09.000Z
2022-02-22T23:11:17.000Z
lib/open_telemetry/honeycomb.ex
lirossarvet/opentelemetry_honeycomb
24d7ad9e318a758f8154c6294aab6c67084280ac
[ "Apache-2.0" ]
5
2020-09-28T10:51:18.000Z
2021-03-16T01:29:19.000Z
defmodule OpenTelemetry.Honeycomb do @external_resource "README.md" @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) @doc "Get the version string for the OpenTelemetry Honeycomb exporter." def version do case :application.get_...
28.8125
73
0.618221
74ec71ce25c9edda05eb426099547132a9476220
68
exs
Elixir
test/ex_winlog_test.exs
ekstrom/ex_winlog
bd2e55d5d1f1920063c79b3272667c0778274936
[ "MIT" ]
6
2019-11-18T21:38:20.000Z
2019-12-17T01:43:29.000Z
test/ex_winlog_test.exs
ekstrom/ex_winlog
bd2e55d5d1f1920063c79b3272667c0778274936
[ "MIT" ]
3
2019-12-10T16:48:04.000Z
2019-12-12T15:25:07.000Z
test/ex_winlog_test.exs
ekstrom/ex_winlog
bd2e55d5d1f1920063c79b3272667c0778274936
[ "MIT" ]
3
2019-12-10T15:55:35.000Z
2019-12-11T13:53:36.000Z
defmodule ExWinlogTest do use ExUnit.Case doctest ExWinlog end
11.333333
25
0.794118
74ec774edae27860ac05a9c1737bbe477c87faf1
3,459
exs
Elixir
test/lib/optioncalc_test.exs
davidgrupp/Option-Calc
0b0e4607d827412e207d5fc5102aee001e93a821
[ "Apache-2.0" ]
null
null
null
test/lib/optioncalc_test.exs
davidgrupp/Option-Calc
0b0e4607d827412e207d5fc5102aee001e93a821
[ "Apache-2.0" ]
null
null
null
test/lib/optioncalc_test.exs
davidgrupp/Option-Calc
0b0e4607d827412e207d5fc5102aee001e93a821
[ "Apache-2.0" ]
null
null
null
defmodule OptioncalcTest do use ExUnit.Case #doctest OptionCalc.Calc test "Calc strategy_profit" do options = [%OptionCalc.Position{strike: 100, price: 12.8216, type: :call, quantity: 1}, %OptionCalc.Position{strike: 120, price: 5.9976, type: :call, quantity: -1}] assert OptionCalc.Calc...
42.182927
87
0.671292
74ec88afa8103a556a1e94b082b83fe1f60d8814
1,374
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/model/user_undelete.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/admin/lib/google_api/admin/directory_v1/model/user_undelete.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/admin/lib/google_api/admin/directory_v1/model/user_undelete.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.234043
79
0.736536
74ec922a19d8e1a0f84bd3cf14f7c78fffe8a91b
1,681
ex
Elixir
lib/koans/10_structs.ex
dario-castano/elixir-koans
7cc9eea42bc5832c64c5351c1a3bd1396f77cc76
[ "MIT" ]
null
null
null
lib/koans/10_structs.ex
dario-castano/elixir-koans
7cc9eea42bc5832c64c5351c1a3bd1396f77cc76
[ "MIT" ]
null
null
null
lib/koans/10_structs.ex
dario-castano/elixir-koans
7cc9eea42bc5832c64c5351c1a3bd1396f77cc76
[ "MIT" ]
null
null
null
defmodule Structs do use Koans @intro "Structs" defmodule Person do defstruct [:name, :age] end koan "Structs are defined and named after a module" do person = %Person{} assert person == %Person{} end koan "Unless previously defined, fields begin as nil" do nobody = %Person{} asser...
28.016667
144
0.653183
74ecdbdbeba87954b4a5d1437ba69d5d14aa9ace
270
exs
Elixir
test/live_sup_web/views/layout_view_test.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
test/live_sup_web/views/layout_view_test.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
test/live_sup_web/views/layout_view_test.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSupWeb.LayoutViewTest do use LiveSupWeb.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
30
65
0.766667
74ed60806f1dc50adc51a099c75a2e82ce1821e9
3,259
ex
Elixir
lib/oli_web/plugs/registration_captcha.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli_web/plugs/registration_captcha.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli_web/plugs/registration_captcha.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Plugs.RegistrationCaptcha do import Plug.Conn alias OliWeb.Router.Helpers, as: Routes def init(opts), do: opts def call(conn, _opts) do # plug is only applicable to registration POSTs register_path = Routes.pow_registration_path(conn, :create) author_register_path = Routes.authoring...
29.899083
91
0.678122
74edaa66f491b79c5d000b5586891bb66aec1418
1,355
ex
Elixir
lib/ueberauth/strategy/spark/oauth.ex
joesankey/ueberauth_spark
c35f4fe5b0550cb725f955abea706ef26b5bb929
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/spark/oauth.ex
joesankey/ueberauth_spark
c35f4fe5b0550cb725f955abea706ef26b5bb929
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/spark/oauth.ex
joesankey/ueberauth_spark
c35f4fe5b0550cb725f955abea706ef26b5bb929
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Spark.OAuth do @moduledoc false use OAuth2.Strategy @defaults [ strategy: __MODULE__, site: "https://api.ciscospark.com/v1", authorize_url: "https://api.ciscospark.com/v1/authorize", token_url: "https://api.ciscospark.com/v1/access_token" ] def client(opts \\ [])...
28.829787
132
0.669373
74eddb733ee7b7859d5f961b328358ff2dc08621
1,267
exs
Elixir
mix.exs
jerodsanto/ueberauth_twitter
4ed9135fd5fd09ee40d079ebc194ff79e6bc6dab
[ "MIT" ]
null
null
null
mix.exs
jerodsanto/ueberauth_twitter
4ed9135fd5fd09ee40d079ebc194ff79e6bc6dab
[ "MIT" ]
null
null
null
mix.exs
jerodsanto/ueberauth_twitter
4ed9135fd5fd09ee40d079ebc194ff79e6bc6dab
[ "MIT" ]
null
null
null
defmodule UeberauthTwitter.Mixfile do use Mix.Project @version "0.2.4" @url "https://github.com/ueberauth/ueberauth_twitter" def project do [app: :ueberauth_twitter, version: @version, name: "Ueberauth Twitter Strategy", package: package(), elixir: "~> 1.1", build_embedded: Mix.en...
21.474576
63
0.573796
74ee03d776a2be82e28dcbdc4b126619a8f89e12
287
ex
Elixir
lib/archery_competition/repo.ex
barnaba/archery-competition
cd5d302431429218aeb72c71fa96981667d8d95c
[ "MIT" ]
null
null
null
lib/archery_competition/repo.ex
barnaba/archery-competition
cd5d302431429218aeb72c71fa96981667d8d95c
[ "MIT" ]
6
2018-07-11T21:01:51.000Z
2018-07-11T21:06:07.000Z
lib/archery_competition/repo.ex
barnaba/archery-competition
cd5d302431429218aeb72c71fa96981667d8d95c
[ "MIT" ]
null
null
null
defmodule ArcheryCompetition.Repo do use Ecto.Repo, otp_app: :archery_competition @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
23.916667
66
0.721254
74ee16a332c04e939bee3041c905c14f9ff99008
1,806
ex
Elixir
lib/vintage_net_wifi/access_point.ex
dognotdog/vintage_net_wifi
3e2904a46d04ae7982f53f1e471d1cd599dc5142
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_wifi/access_point.ex
dognotdog/vintage_net_wifi
3e2904a46d04ae7982f53f1e471d1cd599dc5142
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_wifi/access_point.ex
dognotdog/vintage_net_wifi
3e2904a46d04ae7982f53f1e471d1cd599dc5142
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetWiFi.AccessPoint do alias VintageNetWiFi.Utils @moduledoc """ Information about a WiFi access point * `:bssid` - a unique address for the access point * `:flags` - a list of flags describing properties on the access point * `:frequency` - the access point's frequency in MHz * `:signa...
26.558824
94
0.578627
74ee26c1159654b66485408d92d58039f6a35a04
203
ex
Elixir
test/support/factory.ex
levijcl/mao
aae70589605ada84ca571a51f5ee4377091e0eb3
[ "MIT" ]
null
null
null
test/support/factory.ex
levijcl/mao
aae70589605ada84ca571a51f5ee4377091e0eb3
[ "MIT" ]
null
null
null
test/support/factory.ex
levijcl/mao
aae70589605ada84ca571a51f5ee4377091e0eb3
[ "MIT" ]
null
null
null
defmodule MAO.Factory do @moduledoc false use ExMachina.Ecto, repo: MAO.Repo def post_factory do %MAO.Wall.Post{ content: "I am the first line.\n I am the second line." } end end
16.916667
61
0.665025
74ee28ab2fc003ba84d4aa34b31e607f6f6cf40f
446
exs
Elixir
mix.exs
avitex/typed-struct-cast
1b82a8371b36cc770e7a4efb9f54947583dbdd97
[ "MIT" ]
1
2021-02-16T10:24:29.000Z
2021-02-16T10:24:29.000Z
mix.exs
avitex/typed-struct-cast
1b82a8371b36cc770e7a4efb9f54947583dbdd97
[ "MIT" ]
13
2020-04-30T19:27:55.000Z
2021-06-25T15:36:30.000Z
mix.exs
avitex/typed-struct-cast
1b82a8371b36cc770e7a4efb9f54947583dbdd97
[ "MIT" ]
null
null
null
defmodule TypedStruct.Cast.MixProject do use Mix.Project @description """ Casting plugin for TypedStruct """ def project do [ app: :typed_struct_cast, version: "0.1.0", elixir: "~> 1.8", deps: deps(), description: @description ] end def application do [] end ...
15.37931
54
0.553812
74ee8d61a78005bf75374303780f2c7fe75c61f2
75
exs
Elixir
rootfs_overlay/etc/iex.exs
sourceboat/hackathon-14-elixir-nerves-hot-button
ea62cab982d51796dfcf19d8aadb781ae28be1b7
[ "MIT" ]
76
2021-04-23T15:51:52.000Z
2021-09-20T19:35:26.000Z
rootfs_overlay/etc/iex.exs
sourceboat/hackathon-14-elixir-nerves-hot-button
ea62cab982d51796dfcf19d8aadb781ae28be1b7
[ "MIT" ]
79
2021-11-03T08:33:32.000Z
2022-03-22T08:29:37.000Z
rootfs_overlay/etc/iex.exs
sourceboat/hackathon-14-elixir-nerves-hot-button
ea62cab982d51796dfcf19d8aadb781ae28be1b7
[ "MIT" ]
14
2018-02-04T16:31:28.000Z
2022-01-21T11:12:46.000Z
NervesMOTD.print() # Add Toolshed helpers to the IEx session use Toolshed
15
41
0.786667
74ee99a8e78b7cebbed150869098cb2cf812943d
1,385
ex
Elixir
examples/sample-app/lib/sample/mqtt_agent.ex
benjaminplee/whoppex
63cbe7f9f07079925c43a1e0e1896f043993e9e7
[ "Apache-2.0" ]
3
2017-08-14T13:53:34.000Z
2021-07-03T12:46:41.000Z
examples/sample-app/lib/sample/mqtt_agent.ex
benjaminplee/whoppex
63cbe7f9f07079925c43a1e0e1896f043993e9e7
[ "Apache-2.0" ]
null
null
null
examples/sample-app/lib/sample/mqtt_agent.ex
benjaminplee/whoppex
63cbe7f9f07079925c43a1e0e1896f043993e9e7
[ "Apache-2.0" ]
null
null
null
defmodule Sample.MqttAgent do use Whoppex.Agent def init(host) do id = Sample.Utils.rnd_id() {:ok, client_pid} = Sample.MqttAgent.MqttClient.start_link(%{}) {id, [client_id: id, host: host, port: 1883, keep_alive: 600], client_pid} end def create_plan(_state) do [:connect, repeat([:publish, pa...
24.732143
114
0.670036
74eeb3f2b10c71e37c85bbfe2c752a02058a9686
4,211
exs
Elixir
test/ecto/repo/supervisor_test.exs
van-mronov/ecto
d0511f539353f556c7ae74d98924eb89a67aa3c5
[ "Apache-2.0" ]
1
2019-05-03T08:51:16.000Z
2019-05-03T08:51:16.000Z
test/ecto/repo/supervisor_test.exs
van-mronov/ecto
d0511f539353f556c7ae74d98924eb89a67aa3c5
[ "Apache-2.0" ]
null
null
null
test/ecto/repo/supervisor_test.exs
van-mronov/ecto
d0511f539353f556c7ae74d98924eb89a67aa3c5
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo.SupervisorTest do use ExUnit.Case, async: true import Ecto.Repo.Supervisor defp put_env(env) do Application.put_env(:ecto, __MODULE__, env) end defp normalize(config) do config |> Keyword.drop([:timeout, :pool_size, :telemetry_prefix]) |> Enum.sort() end test "invokes the i...
34.235772
121
0.655189
74eee2bfe52701e93042862d333377f0ee13cb51
1,360
exs
Elixir
apps/alchemist/test/unit/alchemist/ingestion_supervisor_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/alchemist/test/unit/alchemist/ingestion_supervisor_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/alchemist/test/unit/alchemist/ingestion_supervisor_test.exs
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Alchemist.IngestionSupervisorTest do use ExUnit.Case use Placebo alias Alchemist.IngestionSupervisor alias SmartCity.TestDataGenerator, as: TDG describe "ensure_started/1" do setup %{} do ingestion = TDG.create_ingestion(%{}) allow(DynamicSupervisor.start_child(any(), any()), ...
29.565217
116
0.695588
74eee5d09d585e9f6e29342ad551ac565ebbd035
3,411
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_dlp_job.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_dlp_job.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_dlp_job.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...
44.298701
169
0.69569
74eee7e5994d3d07ebde1fc658a58162a5a98394
1,206
exs
Elixir
priv/repo/seeds.exs
alexandrubagu/phoenie_absinthe_dataloader_kv
b75ceabe6e384a56b40144e35624bcbd823af273
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
alexandrubagu/phoenie_absinthe_dataloader_kv
b75ceabe6e384a56b40144e35624bcbd823af273
[ "MIT" ]
3
2020-05-08T21:01:07.000Z
2020-05-08T21:01:07.000Z
priv/repo/seeds.exs
alexandrubagu/phoenie_absinthe_dataloader_kv
b75ceabe6e384a56b40144e35624bcbd823af273
[ "MIT" ]
2
2019-02-14T13:43:45.000Z
2020-02-28T22:04:33.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: # # DataloadKv.Repo.insert!(%DataloadKv.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as the...
20.1
61
0.597844
74ef109a1a94a41d02206b31eb121eb18ebfa176
141
exs
Elixir
priv/repo/migrations/20180224225547_rename_bills_table.exs
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
1
2017-08-08T13:22:23.000Z
2017-08-08T13:22:23.000Z
priv/repo/migrations/20180224225547_rename_bills_table.exs
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
priv/repo/migrations/20180224225547_rename_bills_table.exs
ryancharris/who
187a207576240d07e338a1707e5a8eba2e2852d5
[ "MIT" ]
null
null
null
defmodule Who.Repo.Migrations.RenameBillsTable do use Ecto.Migration def change do rename table(:bills), to: table(:bill) end end
17.625
49
0.737589
74ef7a5b26cd875b80a10bdf1e87cc148c38c278
112
exs
Elixir
test/posexional/field/empty_test.exs
kianmeng/posexional
dfe1242d5f676416582f174f72bb8a73e9e06a99
[ "MIT" ]
10
2017-02-21T20:59:18.000Z
2021-01-28T13:44:41.000Z
test/posexional/field/empty_test.exs
kianmeng/posexional
dfe1242d5f676416582f174f72bb8a73e9e06a99
[ "MIT" ]
13
2016-10-16T15:45:51.000Z
2021-02-12T09:38:28.000Z
test/posexional/field/empty_test.exs
kianmeng/posexional
dfe1242d5f676416582f174f72bb8a73e9e06a99
[ "MIT" ]
8
2016-10-16T12:43:03.000Z
2021-01-28T20:47:51.000Z
defmodule Posexional.Field.EmptyTest do use Posexional.Case, async: true doctest Posexional.Field.Empty end
22.4
39
0.8125
74eface47336d0c2303b053e1919eb7e1084295b
1,994
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_crypto_hash_config.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_crypto_hash_config.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_crypto_hash_config.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...
41.541667
390
0.774824
74efbe41f01a4a387fa21f8b3c448cd83e5dbc66
3,807
exs
Elixir
test/reports_generator_test.exs
tarcisiodelmondes/reports_generator
c44393631607be28c4d0436d82d7ec6c11faf416
[ "MIT" ]
null
null
null
test/reports_generator_test.exs
tarcisiodelmondes/reports_generator
c44393631607be28c4d0436d82d7ec6c11faf416
[ "MIT" ]
null
null
null
test/reports_generator_test.exs
tarcisiodelmondes/reports_generator
c44393631607be28c4d0436d82d7ec6c11faf416
[ "MIT" ]
null
null
null
defmodule ReportsGeneratorTest do use ExUnit.Case doctest ReportsGenerator describe "build/1" do test "build the reports" do file_name = "report_test.csv" response = ReportsGenerator.build(file_name) expected_response = %{ "foods" => %{ "açaí" => 1, "churrasco"...
23.943396
77
0.406882
74f04e8bb3a738ebb908248e041adcfbcc30e7a3
1,061
ex
Elixir
test/support/conn_case.ex
jobsonita/rocketseat-yt-cd-108-elixir
1f98172932f763d5cfb61ad0752e12db9ca6651c
[ "MIT" ]
null
null
null
test/support/conn_case.ex
jobsonita/rocketseat-yt-cd-108-elixir
1f98172932f763d5cfb61ad0752e12db9ca6651c
[ "MIT" ]
null
null
null
test/support/conn_case.ex
jobsonita/rocketseat-yt-cd-108-elixir
1f98172932f763d5cfb61ad0752e12db9ca6651c
[ "MIT" ]
null
null
null
defmodule MuseWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the t...
27.921053
60
0.730443
74f057cb0f1e53e96372a227136fc52e1ab16b45
1,659
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/seller.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/seller.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/seller.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...
32.529412
173
0.736588
74f096ddcaa3991ceae230d386275cb686164355
631
ex
Elixir
lib/platform_web/channels/lesson_channel.ex
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
17
2017-11-14T14:03:18.000Z
2021-12-10T04:18:48.000Z
lib/platform_web/channels/lesson_channel.ex
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
21
2017-11-19T13:38:07.000Z
2022-02-10T00:11:14.000Z
lib/platform_web/channels/lesson_channel.ex
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
2
2019-09-03T03:32:13.000Z
2021-02-23T21:52:57.000Z
defmodule PlatformWeb.LessonChannel do @moduledoc """ The lesson channel for socket communication in the context of a room """ use PlatformWeb, :channel def join("lesson:" <> lesson_id, _payload, socket) do socket_with_lesson_id = socket |> assign(:lesson_id, lesson_id) {:ok, socket_with...
31.55
128
0.730586
74f0a2a297598cafed55046227bf51a8cf495ee6
2,640
ex
Elixir
clients/digital_asset_links/lib/google_api/digital_asset_links/v1/model/list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/digital_asset_links/lib/google_api/digital_asset_links/v1/model/list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/digital_asset_links/lib/google_api/digital_asset_links/v1/model/list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
47.142857
529
0.735227
74f0a913e58c877eb8103fe9b88dc242405661e9
49
ex
Elixir
apps/ui/web/views/page_view.ex
joshuawscott/led_control
e7851442b70dfb9940d5bd81463cc05e619b4faa
[ "MIT" ]
4
2016-09-21T11:22:27.000Z
2017-12-09T02:06:52.000Z
apps/ui/web/views/page_view.ex
royveshovda/buildstuff2016
edb7c283a84a939383f6869eb623030d7316a91b
[ "MIT" ]
null
null
null
apps/ui/web/views/page_view.ex
royveshovda/buildstuff2016
edb7c283a84a939383f6869eb623030d7316a91b
[ "MIT" ]
2
2017-12-09T02:07:22.000Z
2021-01-06T15:30:03.000Z
defmodule Ui.PageView do use Ui.Web, :view end
12.25
24
0.734694
74f0acb09f9e3a42dd4c4c39134fda9bcd290504
9,916
ex
Elixir
dio/exibee/lib/exibee/elib.ex
exineris/shp_challenge2021
2a5447af681259d0ea699b670cf079bd31315cd8
[ "Apache-2.0" ]
null
null
null
dio/exibee/lib/exibee/elib.ex
exineris/shp_challenge2021
2a5447af681259d0ea699b670cf079bd31315cd8
[ "Apache-2.0" ]
null
null
null
dio/exibee/lib/exibee/elib.ex
exineris/shp_challenge2021
2a5447af681259d0ea699b670cf079bd31315cd8
[ "Apache-2.0" ]
null
null
null
defmodule Exibee.Elib do require Logger alias Exibee.Elib, as: E @common Application.get_env(:exibee, :common) # @din_exidio Application.get_env(:exibee, :din_exidio) @dout_exicombo Application.get_env(:exibee, :dout_exicombo) @dout_exidio Application.get_env(:exibee, :dout_exidio) @exicombo @common[:ex...
23.331765
93
0.565954
74f0acf45ff8ebcfcca353e292cd352201b3ab87
550
ex
Elixir
lib/bittrex/interactor/market/sell_limit.ex
kwrooijen/bittrex
05974c96d6d406e716e726aa636ccc20434d2463
[ "MIT" ]
null
null
null
lib/bittrex/interactor/market/sell_limit.ex
kwrooijen/bittrex
05974c96d6d406e716e726aa636ccc20434d2463
[ "MIT" ]
null
null
null
lib/bittrex/interactor/market/sell_limit.ex
kwrooijen/bittrex
05974c96d6d406e716e726aa636ccc20434d2463
[ "MIT" ]
null
null
null
defmodule Bittrex.Interactor.Market.SellLimit do @moduledoc false use Bittrex.Interactor alias Bittrex.Order def call(market_name, quantity, rate) do params = [ market: market_name, quantity: quantity, rate: rate ] :get |> HttpRequest.new("/market/selllimit", params) |> ...
20.37037
64
0.656364
74f0b3a82d87630260ab2b77e18348b78d9a5207
935
ex
Elixir
test/support/channel_case.ex
applede/media-bot
e6d2ffe59f2aaea022f1bf05eed42a4559ce3859
[ "MIT" ]
null
null
null
test/support/channel_case.ex
applede/media-bot
e6d2ffe59f2aaea022f1bf05eed42a4559ce3859
[ "MIT" ]
null
null
null
test/support/channel_case.ex
applede/media-bot
e6d2ffe59f2aaea022f1bf05eed42a4559ce3859
[ "MIT" ]
null
null
null
defmodule MediaBot.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it cannot be...
22.804878
67
0.704813
74f0ded833d21816dca0df4b14e3b1ce57b72772
2,579
exs
Elixir
mix.exs
RobertDober/tag_cloud
e3f1fca47b32691c54870d6f8b66a7f66bbd53d6
[ "Apache-2.0" ]
null
null
null
mix.exs
RobertDober/tag_cloud
e3f1fca47b32691c54870d6f8b66a7f66bbd53d6
[ "Apache-2.0" ]
3
2021-10-03T16:48:49.000Z
2022-02-06T10:26:36.000Z
mix.exs
RobertDober/tag_cloud
e3f1fca47b32691c54870d6f8b66a7f66bbd53d6
[ "Apache-2.0" ]
null
null
null
defmodule TagCloud.MixProject do use Mix.Project @version "0.1.1" @url "https://github.com/robertdober/tag_cloud" @description """ Eilxir Tools to create Tag clouds - Gamma correction for scaled colors - CSS files """ def project do [ app: :tag_cloud, version: @version, elixir: "...
26.050505
109
0.593253
74f0eb82b6937c37a82166345fefcdb513a66714
709
ex
Elixir
apps/jobex_web/lib/jobex_web/gettext.ex
andyl/jobex
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
10
2019-10-24T01:23:07.000Z
2020-02-23T00:27:32.000Z
apps/jobex_web/lib/jobex_web/gettext.ex
andyl/crow
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
6
2021-03-09T18:41:09.000Z
2021-05-27T13:02:42.000Z
apps/jobex_web/lib/jobex_web/gettext.ex
andyl/crow
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
1
2019-10-24T01:23:08.000Z
2019-10-24T01:23:08.000Z
defmodule JobexWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import JobexWeb.Gettext # Simple translation gettext("Here is the s...
28.36
72
0.67701
74f10c9a8eca03611dadcb8a0dcbe5cbe57aa0b3
2,045
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p2alpha1_label_video_object_tracking_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p2alpha1_label_video_object_tracking_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p2alpha1_label_video_object_tracking_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.258621
201
0.782885
74f113c0fc3c73338088883f0a4704bf68c76b78
641
ex
Elixir
lib/blog/accounts/user.ex
kadmohardy/Blog
755bfc4325c899166b7c865a60060fc4355e7d15
[ "MIT" ]
null
null
null
lib/blog/accounts/user.ex
kadmohardy/Blog
755bfc4325c899166b7c865a60060fc4355e7d15
[ "MIT" ]
null
null
null
lib/blog/accounts/user.ex
kadmohardy/Blog
755bfc4325c899166b7c865a60060fc4355e7d15
[ "MIT" ]
null
null
null
defmodule Blog.Accounts.User do @moduledoc false use Ecto.Schema import Ecto.Changeset @derive {Jason.Encoder, only: [:email, :image]} schema "users" do field :email, :string field :first_name, :string field :image, :string field :last_name, :string field :provider, :string field :to...
22.103448
80
0.666147
74f123f0403427d314f4e71b0caa4bf841d3142a
989
ex
Elixir
lib/plug/exceptions.ex
gjaldon/plug
bfe88530b429c7b9b29b69b737772ef7c6aa2f6b
[ "Apache-2.0" ]
null
null
null
lib/plug/exceptions.ex
gjaldon/plug
bfe88530b429c7b9b29b69b737772ef7c6aa2f6b
[ "Apache-2.0" ]
null
null
null
lib/plug/exceptions.ex
gjaldon/plug
bfe88530b429c7b9b29b69b737772ef7c6aa2f6b
[ "Apache-2.0" ]
null
null
null
# This file defines the Plug.Exception protocol and # the exceptions that implement such protocol. defprotocol Plug.Exception do @moduledoc """ A protocol that extends exceptions to be status-code aware. By default, it looks for an implementation of the protocol, otherwise checks if the exception has the `:pl...
23.547619
72
0.733064
74f1304d3317454b80c9b3f0cf8be7952db1c490
489
ex
Elixir
test/support/io_relay.ex
arikai/distillery
65ddbcc143f2849a6ed5574e8c397a68ca92eb81
[ "MIT" ]
3,097
2016-07-18T13:59:00.000Z
2022-03-29T00:27:23.000Z
test/support/io_relay.ex
arikai/distillery
65ddbcc143f2849a6ed5574e8c397a68ca92eb81
[ "MIT" ]
672
2016-07-18T18:25:29.000Z
2022-02-24T17:39:30.000Z
test/support/io_relay.ex
arikai/distillery
65ddbcc143f2849a6ed5574e8c397a68ca92eb81
[ "MIT" ]
483
2016-07-22T14:08:49.000Z
2022-03-21T09:35:23.000Z
defmodule IORelay do @moduledoc false defstruct [:output, :device] def new(device) do %__MODULE__{output: "", device: device} end defimpl Collectable do def into(relay) do collector = fn %{output: output, device: d} = relay, {:cont, content} -> IO.write(d, content) ...
19.56
66
0.539877
74f1a40ff5fa225d48abb78e795e39a4ed52da91
132
ex
Elixir
web/controllers/page_controller.ex
korczis/maze
128ca3958c9e62c4fdc53efa72799283d66b056d
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
korczis/maze
128ca3958c9e62c4fdc53efa72799283d66b056d
[ "MIT" ]
3
2016-11-22T20:23:00.000Z
2016-11-22T20:23:20.000Z
web/controllers/page_controller.ex
korczis/maze
128ca3958c9e62c4fdc53efa72799283d66b056d
[ "MIT" ]
null
null
null
defmodule Maze.PageController do use Maze.Web, :controller def index(conn, _params) do render conn, "index.html" end end
16.5
32
0.719697
74f1c6348a360645129225b0b40bc6479199f38d
2,868
ex
Elixir
lib/cotoami_web/views/cotonoma_view.ex
pamf/cotoami
4b69b0e2668e80e12ea98e248ad461cb32ec6651
[ "Apache-2.0" ]
337
2016-11-28T15:46:58.000Z
2022-03-01T06:21:25.000Z
lib/cotoami_web/views/cotonoma_view.ex
kroschu/cotoami
ae02a9e9982060977a565ed8137334258ff4faf0
[ "Apache-2.0" ]
79
2017-02-27T05:44:36.000Z
2021-12-09T00:28:11.000Z
lib/cotoami_web/views/cotonoma_view.ex
kroschu/cotoami
ae02a9e9982060977a565ed8137334258ff4faf0
[ "Apache-2.0" ]
47
2018-02-03T01:32:13.000Z
2021-11-08T07:54:43.000Z
defmodule CotoamiWeb.CotonomaView do use CotoamiWeb, :view alias CotoamiWeb.{CotonomaView, CotoView, AmishiView} def render("index.json", %{global: global_cotonomas, recent: recent_cotonomas}) do %{ global: render_many(global_cotonomas, __MODULE__, "cotonoma_holder.json"), recent: render_many(rec...
32.965517
84
0.691074
74f1c66c49cbea769610095d5e67547a7a1f0a4c
1,692
ex
Elixir
clients/billing_budgets/lib/google_api/billing_budgets/v1beta1/model/google_cloud_billing_budgets_v1beta1_last_period_amount.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/lib/google_api/billing_budgets/v1beta1/model/google_cloud_billing_budgets_v1beta1_last_period_amount.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/lib/google_api/billing_budgets/v1beta1/model/google_cloud_billing_budgets_v1beta1_last_period_amount.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...
33.176471
100
0.775414
74f1f157484f9f8d225d8a08db640a600204782e
1,913
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/list_perf_samples_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/list_perf_samples_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/list_perf_samples_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.26
278
0.746994
74f22becadcd851ce2b9449ac5e57ee41f3205c0
486
ex
Elixir
recallr/lib/recallr_web/live/passage_live/show.ex
myfoundea/liveview_march_2021
8aef6225271bbc8e9985746505d74dc850f295fb
[ "MIT" ]
null
null
null
recallr/lib/recallr_web/live/passage_live/show.ex
myfoundea/liveview_march_2021
8aef6225271bbc8e9985746505d74dc850f295fb
[ "MIT" ]
1
2021-03-24T14:49:29.000Z
2021-03-24T14:49:29.000Z
recallr/lib/recallr_web/live/passage_live/show.ex
myfoundea/liveview_march_2021
8aef6225271bbc8e9985746505d74dc850f295fb
[ "MIT" ]
5
2021-03-21T19:45:38.000Z
2021-03-24T14:53:07.000Z
defmodule RecallrWeb.PassageLive.Show do use RecallrWeb, :live_view alias Recallr.Library @impl true def mount(_params, _session, socket) do {:ok, socket} end @impl true def handle_params(%{"id" => id}, _, socket) do {:noreply, socket |> assign(:page_title, page_title(socket.assigns.l...
22.090909
67
0.674897
74f23602ee3840b6dc647ed76d1572fcb2459092
11,528
ex
Elixir
apps/mishka_html/lib/mishka_html_web/live/admin_blog_tag_live.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
null
null
null
apps/mishka_html/lib/mishka_html_web/live/admin_blog_tag_live.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
null
null
null
apps/mishka_html/lib/mishka_html_web/live/admin_blog_tag_live.ex
mojtaba-naseri/mishka-cms
1fb35b49177b9b27f5e68c1b0bf9d72dc0ff9935
[ "Apache-2.0" ]
null
null
null
defmodule MishkaHtmlWeb.AdminBlogTagLive do use MishkaHtmlWeb, :live_view alias MishkaContent.Cache.ContentDraftManagement alias MishkaContent.Blog.Tag @error_atom :blog_tag use MishkaHtml.Helpers.LiveCRUD, module: MishkaContent.Blog.Tag, redirect: __MODULE__, router: Routes @impl true ...
34.106509
194
0.627169
74f25f3bdd63f293848070ee7598565796d00ed1
4,445
ex
Elixir
lib/cassette/support.ex
maureenwonderland/elixir-cassette
2a1f7a0325c51b9abd572dc1d11529dfdd552dc9
[ "MIT" ]
15
2016-03-03T11:22:00.000Z
2021-03-16T15:03:56.000Z
lib/cassette/support.ex
maureenwonderland/elixir-cassette
2a1f7a0325c51b9abd572dc1d11529dfdd552dc9
[ "MIT" ]
13
2016-06-16T11:43:02.000Z
2021-09-27T18:40:19.000Z
lib/cassette/support.ex
maureenwonderland/elixir-cassette
2a1f7a0325c51b9abd572dc1d11529dfdd552dc9
[ "MIT" ]
6
2016-06-16T19:26:37.000Z
2021-04-15T19:32:04.000Z
defmodule Cassette.Support do @moduledoc """ This macro module allows you to create your own Cassette service with custom configurations You can customize the (otp) application name with the `:process_name` key and provide your configuration in the `:config` key. ```elixir defmodule MyCas do use Cas...
24.97191
91
0.569404
74f282a0f233066c2752fe24e8ea93b8b355a5f4
1,304
exs
Elixir
mix.exs
hez/ex_minimatch
f2a1505734faff6ebe414e31046dae109b5bb015
[ "MIT" ]
null
null
null
mix.exs
hez/ex_minimatch
f2a1505734faff6ebe414e31046dae109b5bb015
[ "MIT" ]
null
null
null
mix.exs
hez/ex_minimatch
f2a1505734faff6ebe414e31046dae109b5bb015
[ "MIT" ]
null
null
null
defmodule ExMinimatch.Mixfile do use Mix.Project @version "0.0.3" def project do [ app: :ex_minimatch, version: @version, elixir: "~> 1.10", description: description(), package: package(), deps: deps() ] end # Configuration for the OTP application # # Type `m...
22.877193
82
0.604294
74f298b2965e9f84994768af8822957a59e270ef
2,417
ex
Elixir
lib/live_view_demo/pentomino_game.ex
JohnB/live_view_demo
e623e6355b5242acf563d39e04c92bfbd0f3d25c
[ "Apache-2.0" ]
null
null
null
lib/live_view_demo/pentomino_game.ex
JohnB/live_view_demo
e623e6355b5242acf563d39e04c92bfbd0f3d25c
[ "Apache-2.0" ]
null
null
null
lib/live_view_demo/pentomino_game.ex
JohnB/live_view_demo
e623e6355b5242acf563d39e04c92bfbd0f3d25c
[ "Apache-2.0" ]
null
null
null
defmodule PentominoGame do @moduledoc """ Manage one pentomino game. """ defstruct [:id, :players, :board, :holding] def new(player_id) do %__MODULE__{ id: "#{:rand.uniform(999999)}", # TODO: a better ID, such as one from Ecto players: [player_id], board: Board.new(), holding: [] ...
29.47561
119
0.685561
74f29cb6fab82c2efd50fb957222c7f90d580826
460
ex
Elixir
lib/centraltipsbot/last_processed.ex
mcintyre94/CentralTipsBot
626145478d3516493e72d271b045d1f19275fef5
[ "MIT" ]
null
null
null
lib/centraltipsbot/last_processed.ex
mcintyre94/CentralTipsBot
626145478d3516493e72d271b045d1f19275fef5
[ "MIT" ]
null
null
null
lib/centraltipsbot/last_processed.ex
mcintyre94/CentralTipsBot
626145478d3516493e72d271b045d1f19275fef5
[ "MIT" ]
null
null
null
defmodule Centraltipsbot.LastProcessed do use Ecto.Schema import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "last_processed" do field :last_processed, :map field :name, :string timestamps() end @doc false def changeset(last_proces...
21.904762
52
0.713043
74f2a9f9799202ed7e187a65df26f72784f42415
900
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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.333333
74
0.763333
74f2bbcc8c6170b28a07735d076e3bc87dfb989d
57
exs
Elixir
apps/thumbnail_server/test/thumbnail_receptor_test.exs
salmanebah/gen_thumbnail
58e8e0ce8661b18725704c04cf2f33d7edd6e51e
[ "MIT" ]
1
2019-06-06T12:03:37.000Z
2019-06-06T12:03:37.000Z
apps/thumbnail_server/test/thumbnail_receptor_test.exs
salmanebah/gen_thumbnail
58e8e0ce8661b18725704c04cf2f33d7edd6e51e
[ "MIT" ]
null
null
null
apps/thumbnail_server/test/thumbnail_receptor_test.exs
salmanebah/gen_thumbnail
58e8e0ce8661b18725704c04cf2f33d7edd6e51e
[ "MIT" ]
null
null
null
defmodule ThumbnailReceptorTest do use ExUnit.Case end
14.25
34
0.842105
74f303089ba8322259942d3a5a4a54689ea66746
2,500
exs
Elixir
mix.exs
tsrandrei/plug
905daae475f6b527b37abd1d934b2f7e52bdf538
[ "Apache-2.0" ]
null
null
null
mix.exs
tsrandrei/plug
905daae475f6b527b37abd1d934b2f7e52bdf538
[ "Apache-2.0" ]
null
null
null
mix.exs
tsrandrei/plug
905daae475f6b527b37abd1d934b2f7e52bdf538
[ "Apache-2.0" ]
null
null
null
defmodule Plug.MixProject do use Mix.Project @version "1.10.0" @description "A specification and conveniences for composable modules between web applications" @xref_exclude [Plug.Cowboy, :telemetry] def project do [ app: :plug, version: @version, elixir: "~> 1.7", deps: deps(), ...
21.929825
97
0.544
74f303c8f15fc833799e370a3cb46d70ab099051
881
ex
Elixir
lib/ex_twilio/resources/task_router/workspace.ex
paulanthonywilson/ex_twilio
4f58cb13ae8e4ba61237369bc29669724f9491ff
[ "MIT" ]
1
2017-03-23T08:03:58.000Z
2017-03-23T08:03:58.000Z
lib/ex_twilio/resources/task_router/workspace.ex
paulanthonywilson/ex_twilio
4f58cb13ae8e4ba61237369bc29669724f9491ff
[ "MIT" ]
1
2019-09-02T15:15:39.000Z
2019-09-03T04:28:09.000Z
lib/ex_twilio/resources/task_router/workspace.ex
paulanthonywilson/ex_twilio
4f58cb13ae8e4ba61237369bc29669724f9491ff
[ "MIT" ]
1
2021-11-09T07:56:11.000Z
2021-11-09T07:56:11.000Z
defmodule ExTwilio.TaskRouter.Workspace do @moduledoc """ A Workspace is a container for your Tasks, Workers, TaskQueues, Workflows and Activities. Each of these items exists within a single Workspace and will not be shared across Workspaces. - [Twilio docs](https://www.twilio.com/docs/api/taskrouter/workspace...
31.464286
96
0.645857
74f322d0008751f766329104539ca09aa1a50aef
808
exs
Elixir
priv/bench/block_ordering.exs
Ovyerus/brewing-stand
a631d5e90485b959525e3a79b941f7aaa86b3fdd
[ "MIT" ]
14
2021-03-28T10:27:50.000Z
2021-04-27T10:14:07.000Z
priv/bench/block_ordering.exs
Ovyerus/brewing-stand
a631d5e90485b959525e3a79b941f7aaa86b3fdd
[ "MIT" ]
null
null
null
priv/bench/block_ordering.exs
Ovyerus/brewing-stand
a631d5e90485b959525e3a79b941f7aaa86b3fdd
[ "MIT" ]
null
null
null
width = 256 height = 64 length = 256 blocks = for x <- 0..width, z <- 0..height, y <- 0..31, into: [] do [{{x, y, z}, if(y == 31, do: 1, else: 0)}] end Benchee.run( %{ "Enum.sort_by" => fn -> blocks |> Enum.sort_by(fn [{{x, y, z}, _}] -> x + width * (z + y * length) end) ...
23.085714
83
0.434406
74f360fcf1358d2e476b12f81a6519ce9a41916c
2,336
ex
Elixir
perf/electric_demand.ex
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
1
2019-12-10T22:25:31.000Z
2019-12-10T22:25:31.000Z
perf/electric_demand.ex
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
3
2020-10-25T04:40:05.000Z
2020-10-25T04:48:10.000Z
perf/electric_demand.ex
techgaun/dumpster
c2a5394afe759fb99041aea677e9b0bc4bf91aec
[ "Unlicense" ]
null
null
null
defmodule TimeSeries do defstruct times: 5, num_points: 100_000 def start(args \\ System.argv()) do time_start = :os.system_time(:milli_seconds) case args do ["true"] -> async(5, 100_000, true) [x] -> IO.puts "running with #{x} concurrent" async(String.to_integer(x)) [x, y] -> ...
30.337662
103
0.644264
74f36324ad8cc589348e4da8c8f2db7c6bde52a7
10,130
ex
Elixir
lib/updates/query_analyzer/match_types.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
lib/updates/query_analyzer/match_types.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
lib/updates/query_analyzer/match_types.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
alias Updates.QueryAnalyzer.Iri, as: Iri alias Updates.QueryAnalyzer.String, as: Str alias Updates.QueryAnalyzer.Boolean, as: Bool alias Updates.QueryAnalyzer.NumericLiteral, as: Number alias Updates.QueryAnalyzer.Variable, as: Var defprotocol Updates.QueryAnalyzer.P do def to_solution_sym( element ) def to_sparq...
30.059347
109
0.59309
74f3680cda052265be3d7bed45321418d2d1bc48
6,143
exs
Elixir
test/nebulex/adapters/partitioned_test.exs
rzcastilho/nebulex
64c3ece2168b65b31012b2ad3abf40af05eb886c
[ "MIT" ]
845
2017-02-14T14:16:11.000Z
2022-03-30T04:13:08.000Z
test/nebulex/adapters/partitioned_test.exs
rzcastilho/nebulex
64c3ece2168b65b31012b2ad3abf40af05eb886c
[ "MIT" ]
146
2017-04-29T16:11:14.000Z
2022-03-29T08:49:05.000Z
test/nebulex/adapters/partitioned_test.exs
rzcastilho/nebulex
64c3ece2168b65b31012b2ad3abf40af05eb886c
[ "MIT" ]
50
2017-08-17T13:44:06.000Z
2022-03-30T11:29:59.000Z
defmodule Nebulex.Adapters.PartitionedTest do use Nebulex.NodeCase use Nebulex.CacheTest import Nebulex.CacheCase alias Nebulex.Adapter alias Nebulex.TestCache.{Partitioned, PartitionedMock} @primary :"primary@127.0.0.1" @cache_name :partitioned_cache # Set config :ok = Application.put_env(:nebule...
28.976415
91
0.621683
74f38ba4fd3e7f68783cc465fa010a0818bc2fc9
263
ex
Elixir
lib/phxwhttpoison.ex
mark-b-kauffman/phxwhttpoison
6d9acb505c302f19e5aba5ffc22166a8877a39d9
[ "BSD-3-Clause", "MIT" ]
null
null
null
lib/phxwhttpoison.ex
mark-b-kauffman/phxwhttpoison
6d9acb505c302f19e5aba5ffc22166a8877a39d9
[ "BSD-3-Clause", "MIT" ]
null
null
null
lib/phxwhttpoison.ex
mark-b-kauffman/phxwhttpoison
6d9acb505c302f19e5aba5ffc22166a8877a39d9
[ "BSD-3-Clause", "MIT" ]
null
null
null
defmodule Phxwhttpoison do @moduledoc """ Phxwhttpoison 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
74f3b753c6a8ed82869c4dda8db5267d8149f119
1,911
ex
Elixir
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/get_oob_confirmation_code_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/get_oob_confirmation_code_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/get_oob_confirmation_code_response.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 ...
36.056604
163
0.729461
74f3c58a379b97cce2adbd87868f54f079231bab
3,031
ex
Elixir
clients/page_speed_online/lib/google_api/page_speed_online/v2/model/pagespeed_api_format_string_v2_args.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/page_speed_online/lib/google_api/page_speed_online/v2/model/pagespeed_api_format_string_v2_args.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/page_speed_online/lib/google_api/page_speed_online/v2/model/pagespeed_api_format_string_v2_args.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 ...
40.959459
364
0.727153
74f3e0cdda279f1f40283d66f99d964f4b74a321
8,559
ex
Elixir
clients/file/lib/google_api/file/v1/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/file/lib/google_api/file/v1/model/google_cloud_saasaccelerator_management_providers_v1_instance.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/file/lib/google_api/file/v1/model/google_cloud_saasaccelerator_management_providers_v1_instance.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...
59.853147
449
0.728006
74f3f22098c02ef02d4e9d63a04f9b68e98ef7aa
3,648
ex
Elixir
lib/sparql_client/sparql_response.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
1
2019-09-05T23:00:48.000Z
2019-09-05T23:00:48.000Z
lib/sparql_client/sparql_response.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
7
2020-10-27T20:42:06.000Z
2021-11-15T07:41:15.000Z
lib/sparql_client/sparql_response.ex
langens-jonathan/mu-authorization
3b411460b81b87581af7c7f302b1d3bec4610608
[ "MIT" ]
6
2016-04-06T09:28:43.000Z
2021-08-09T12:29:16.000Z
defmodule SparqlClient.QueryResponse do @moduledoc "Parsing of query responses for more structured processing with type checking" alias Updates.QueryAnalyzer.Iri, as: Iri alias Updates.QueryAnalyzer.String, as: Str alias Updates.QueryAnalyzer.Boolean, as: Bool alias Updates.QueryAnalyzer.NumericLiteral, as: ...
32.864865
102
0.660636
74f3f6dad789d2ab33893fca9f227b7dd1350a92
4,143
ex
Elixir
lib/wechat/client.ex
ZXYCir/wechat
817cfb84243413d02e7169e1b9fa3c1a4be70ab4
[ "MIT" ]
36
2016-09-08T06:12:34.000Z
2018-08-14T03:45:16.000Z
lib/wechat/client.ex
ZXYCir/wechat
817cfb84243413d02e7169e1b9fa3c1a4be70ab4
[ "MIT" ]
15
2016-09-06T04:25:19.000Z
2017-12-14T12:08:14.000Z
lib/wechat/client.ex
ZXYCir/wechat
817cfb84243413d02e7169e1b9fa3c1a4be70ab4
[ "MIT" ]
10
2016-09-06T03:58:10.000Z
2017-12-14T06:36:51.000Z
defmodule Wechat.Client do @moduledoc """ `Client` represents an API client. """ alias Wechat.{AccessToken, Config, Error} alias Wechat.Utils.{MessageEncryptor, SignatureVerifier} @endpoint "https://api.weixin.qq.com/" @enforce_keys [:appid, :secret] defstruct appid: nil, secret: nil, ...
24.957831
98
0.588945
74f40cb2a8341874205c54206d1af5370a2f21f9
591
ex
Elixir
lib/surgex_web/controllers/fallback_controller.ex
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
8
2019-05-11T19:41:06.000Z
2020-01-20T07:01:53.000Z
lib/surgex_web/controllers/fallback_controller.ex
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
12
2019-05-10T22:00:40.000Z
2019-07-05T19:20:56.000Z
lib/surgex_web/controllers/fallback_controller.ex
fiqus/surgex
af3ec37459abd3f17c7e9a826ca1abef1dd5fb44
[ "MIT" ]
1
2019-07-18T15:58:41.000Z
2019-07-18T15:58:41.000Z
defmodule SurgexWeb.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use SurgexWeb, :controller def call(conn, {:error, %Ecto.Changeset{} = changeset}) do conn |> put_status(...
25.695652
72
0.692047
74f44cf4174ea34bea262c003348f281cdb939fd
1,650
exs
Elixir
test/strava/api/clubs_test.exs
rkorzeniec/strava
aa99040355f72ff2766c080d5a919c66a53ac44b
[ "MIT" ]
39
2016-04-09T21:50:34.000Z
2022-03-04T09:16:25.000Z
test/strava/api/clubs_test.exs
rkorzeniec/strava
aa99040355f72ff2766c080d5a919c66a53ac44b
[ "MIT" ]
24
2016-05-29T15:49:07.000Z
2022-01-17T11:57:05.000Z
test/strava/api/clubs_test.exs
rkorzeniec/strava
aa99040355f72ff2766c080d5a919c66a53ac44b
[ "MIT" ]
21
2016-02-02T01:19:23.000Z
2022-02-06T23:29:32.000Z
defmodule Strava.ClubsTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney describe "clubs" do test "#get_club_by_id" do use_cassette "clubs/get_club_by_id", match_requests_on: [:query] do client = Strava.Client.new() {:ok, %Strava.DetailedClub{...
27.5
93
0.622424
74f4730af6e2ba545cfff0705b304dac83510739
2,361
ex
Elixir
clients/cloud_build/lib/google_api/cloud_build/v1/model/status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_build/lib/google_api/cloud_build/v1/model/status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_build/lib/google_api/cloud_build/v1/model/status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
38.080645
134
0.712834
74f475dc9be1780fdfbe5fb5db36bd97d12f22a3
2,497
ex
Elixir
lib/goldilocks/host.ex
xeejp/xee_goldilocks
ed41a5546028a16de81132fa3de7b3f1e0569318
[ "MIT" ]
null
null
null
lib/goldilocks/host.ex
xeejp/xee_goldilocks
ed41a5546028a16de81132fa3de7b3f1e0569318
[ "MIT" ]
null
null
null
lib/goldilocks/host.ex
xeejp/xee_goldilocks
ed41a5546028a16de81132fa3de7b3f1e0569318
[ "MIT" ]
null
null
null
defmodule Goldilocks.Host do alias Goldilocks.Main alias Goldilocks.Actions require Logger # Actions def fetch_contents(data) do data |> Actions.update_host_contents() end def change_page(data, page) do if page in Main.pages do %{data | page: page} |> Actions.change_page(page) ...
32.428571
181
0.548658
74f4b38863943e661a00339f0411109053cfebd2
27,960
exs
Elixir
test/phoenix_live_view/diff_test.exs
joshprice/phoenix_live_view
26a9d5729709b3bcc88937cefbd006a9f28e9d93
[ "MIT" ]
null
null
null
test/phoenix_live_view/diff_test.exs
joshprice/phoenix_live_view
26a9d5729709b3bcc88937cefbd006a9f28e9d93
[ "MIT" ]
null
null
null
test/phoenix_live_view/diff_test.exs
joshprice/phoenix_live_view
26a9d5729709b3bcc88937cefbd006a9f28e9d93
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.DiffTest do use ExUnit.Case, async: true import Phoenix.LiveView, only: [sigil_L: 2, live_component: 2, live_component: 3, live_component: 4] alias Phoenix.LiveView.{Socket, Diff, Rendered, Component} def basic_template(assigns) do ~L""" <div> <h2>It's <%= @time %...
32.137931
97
0.483476
74f4bdde12dfcf3cad08f274bc629b2e32a4803c
1,839
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_export_agent_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_export_agent_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_export_agent_response.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...
32.839286
130
0.740076
74f4c15eed2cd02c7a90a491e363d8dd7ec8c85e
435
ex
Elixir
lib/ash/error/query/no_such_attribute.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
lib/ash/error/query/no_such_attribute.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
lib/ash/error/query/no_such_attribute.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.Error.Query.NoSuchAttribute do @moduledoc "Used when an attribute that doesn't exist is used in a query" use Ash.Error.Exception def_ash_error([:resource, :name], class: :invalid) defimpl Ash.ErrorKind do def id(_), do: Ash.UUID.generate() def code(_), do: "no_such_attribute" def m...
25.588235
79
0.701149
74f4d0d64e8336671854641d8f2a877db2caee42
1,135
exs
Elixir
config/config.exs
soundtrackyourbrand/exlogger
0db877b11ab60b76dc2a510536a8bb96bdc1fd33
[ "MIT" ]
3
2019-09-05T12:02:44.000Z
2020-11-05T01:07:21.000Z
config/config.exs
soundtrackyourbrand/exlogger
0db877b11ab60b76dc2a510536a8bb96bdc1fd33
[ "MIT" ]
null
null
null
config/config.exs
soundtrackyourbrand/exlogger
0db877b11ab60b76dc2a510536a8bb96bdc1fd33
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.612903
73
0.754185
74f4faac5735fc71df901df25c983028671a3a4e
196
ex
Elixir
lib/rihanna/logger.ex
lpil/rihanna
83db1fab1550244a9e3cb347ccda607f5ff4e4b5
[ "MIT" ]
1
2019-02-11T14:07:57.000Z
2019-02-11T14:07:57.000Z
lib/rihanna/logger.ex
lpil/rihanna
83db1fab1550244a9e3cb347ccda607f5ff4e4b5
[ "MIT" ]
null
null
null
lib/rihanna/logger.ex
lpil/rihanna
83db1fab1550244a9e3cb347ccda607f5ff4e4b5
[ "MIT" ]
1
2019-10-10T23:24:10.000Z
2019-10-10T23:24:10.000Z
defmodule Rihanna.Logger do require Logger @moduledoc false def log(level, chardata_or_fun) do if Rihanna.Config.debug?() do Logger.log(level, chardata_or_fun) end end end
16.333333
40
0.709184
74f5832320686ca31106c98a6a664fddf554dc87
2,773
ex
Elixir
apps/omg_api/test/support/integration/deposit_helper.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_api/test/support/integration/deposit_helper.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
apps/omg_api/test/support/integration/deposit_helper.ex
SingularityMatrix/elixir-omg
7db3fcc3adfa303e30ff7703148cc5110b587d20
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
35.101266
118
0.759106
74f5870c087e4ef1975ce8f31499b319e79b8d8c
854
ex
Elixir
lib/gig/recipe/metrics.ex
cloud8421/gig
a2bc5d004ae8b11a92e971c043de3e544fcfbfcf
[ "MIT" ]
null
null
null
lib/gig/recipe/metrics.ex
cloud8421/gig
a2bc5d004ae8b11a92e971c043de3e544fcfbfcf
[ "MIT" ]
null
null
null
lib/gig/recipe/metrics.ex
cloud8421/gig
a2bc5d004ae8b11a92e971c043de3e544fcfbfcf
[ "MIT" ]
null
null
null
defmodule Gig.Recipe.Metrics do use Recipe.Telemetry @error_steps [:check_rate_limit, :fetch_data] def on_start(_state), do: :ok def on_finish(_state), do: :ok def on_success(:fetch_data, state, duration) do metric_name = recipe_module_to_metric_name(state.recipe_module) Metrics.counter("fetch_data...
26.6875
75
0.690867
74f5baa7067f88ed2a6ee7274b7f271496cb047c
1,385
exs
Elixir
test/plausible_web/controllers/admin_auth_controller_test.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
2
2020-05-16T13:48:44.000Z
2020-05-22T09:52:36.000Z
test/plausible_web/controllers/admin_auth_controller_test.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
null
null
null
test/plausible_web/controllers/admin_auth_controller_test.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
null
null
null
defmodule PlausibleWeb.AdminAuthControllerTest do use PlausibleWeb.ConnCase describe "GET /" do test "no landing page", %{conn: conn} do set_config(disable_authentication: false) conn = get(conn, "/") assert redirected_to(conn) == "/login" end test "logs admin user in automatically w...
27.156863
93
0.636823
74f5c7ebd7bc137cd6458ce535adedbb02f7b4b5
2,950
ex
Elixir
lib/workflows/execution.ex
fracek/workflows
6ef7ad3e280127f544f00fd098901bb6526a80cb
[ "Apache-2.0" ]
94
2021-04-02T15:20:15.000Z
2022-03-21T10:46:09.000Z
lib/workflows/execution.ex
fracek/workflows
6ef7ad3e280127f544f00fd098901bb6526a80cb
[ "Apache-2.0" ]
null
null
null
lib/workflows/execution.ex
fracek/workflows
6ef7ad3e280127f544f00fd098901bb6526a80cb
[ "Apache-2.0" ]
6
2021-04-02T23:29:46.000Z
2021-12-24T10:55:44.000Z
defmodule Workflows.Execution do @moduledoc false alias Workflows.{Activity, Command, Event, State, Workflow} @type t :: %__MODULE__{ workflow: Workflow.t(), state: State.t(), ctx: Activity.ctx() } @type scope :: {:branch, pos_integer()} | {:item, pos...
29.79798
94
0.63661
74f5d6bc8c2eb463661874bce9ea4493a4d2e843
737
ex
Elixir
server/test/support/channel_case.ex
CircleAcademy/circle-website
b519e1e7c1d90566b7dfdaeda20ddd71abf6c832
[ "MIT" ]
null
null
null
server/test/support/channel_case.ex
CircleAcademy/circle-website
b519e1e7c1d90566b7dfdaeda20ddd71abf6c832
[ "MIT" ]
null
null
null
server/test/support/channel_case.ex
CircleAcademy/circle-website
b519e1e7c1d90566b7dfdaeda20ddd71abf6c832
[ "MIT" ]
null
null
null
defmodule Website.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it cannot be a...
21.676471
56
0.717775
74f5e0fcd160657c05ed46bf7d3d098f0345a44f
555
exs
Elixir
config/prod.exs
zan-kusterle/Liquio
341556529633f9a99ad95b502f182d6644b9b1ed
[ "MIT" ]
5
2016-09-12T08:31:14.000Z
2018-03-12T23:40:08.000Z
config/prod.exs
zan-kusterle/Liquio
341556529633f9a99ad95b502f182d6644b9b1ed
[ "MIT" ]
null
null
null
config/prod.exs
zan-kusterle/Liquio
341556529633f9a99ad95b502f182d6644b9b1ed
[ "MIT" ]
null
null
null
use Mix.Config config :liquio, LiquioWeb.Endpoint, http: [port: 4000], url: [host: "liqu.io", port: 443], cache_static_manifest: "priv/static/cache_manifest.json", server: true config :logger, level: :info config :liquio, results_cache_seconds: nil config :liquio, messages_url: "https://sign.liqu.io/messages" #...
23.125
61
0.738739
74f60cfa6857778bed19e799e27afba0642ac248
247
ex
Elixir
lib/onsor.ex
ashkan18/onsor
73b75b24f638f1a425de8ebf4454df971040e9f2
[ "MIT" ]
null
null
null
lib/onsor.ex
ashkan18/onsor
73b75b24f638f1a425de8ebf4454df971040e9f2
[ "MIT" ]
4
2021-03-09T00:47:04.000Z
2022-02-10T15:15:28.000Z
lib/onsor.ex
ashkan18/onsor
73b75b24f638f1a425de8ebf4454df971040e9f2
[ "MIT" ]
null
null
null
defmodule Onsor do @moduledoc """ Onsor 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
24.7
66
0.748988
74f642daca506599e4fcc55421d92839baebb6d1
10,109
exs
Elixir
test/phoenix/socket/transport_test.exs
samkenxstream/phoenix
18433f95a90fc948e1d6d0f5606dfa339fdc6d61
[ "MIT" ]
null
null
null
test/phoenix/socket/transport_test.exs
samkenxstream/phoenix
18433f95a90fc948e1d6d0f5606dfa339fdc6d61
[ "MIT" ]
null
null
null
test/phoenix/socket/transport_test.exs
samkenxstream/phoenix
18433f95a90fc948e1d6d0f5606dfa339fdc6d61
[ "MIT" ]
1
2018-10-01T19:42:35.000Z
2018-10-01T19:42:35.000Z
defmodule Phoenix.Socket.TransportTest do use ExUnit.Case, async: true use RouterHelper import ExUnit.CaptureLog alias Phoenix.Socket.Transport @secret_key_base String.duplicate("abcdefgh", 8) Application.put_env :phoenix, __MODULE__.Endpoint, force_ssl: [], url: [host: "host.com"], check_or...
33.696667
103
0.65318
74f6845ca2273bad993c9d7e67eb8fe5d9675ed4
1,129
exs
Elixir
config/config.exs
isaacpinheiro/cpf_validator
c346aa6861872d645b72cb74c700744224592e7e
[ "Apache-2.0" ]
null
null
null
config/config.exs
isaacpinheiro/cpf_validator
c346aa6861872d645b72cb74c700744224592e7e
[ "Apache-2.0" ]
null
null
null
config/config.exs
isaacpinheiro/cpf_validator
c346aa6861872d645b72cb74c700744224592e7e
[ "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.419355
73
0.753764
74f6be00a71c2bc40111616f188e80af2515e1d8
3,654
ex
Elixir
lib/astarte_vmq_plugin/rpc/handler.ex
rbino/astarte_vmq_plugin
e5cfcb717d8ac2b2bcfc3430a48b4c4c7b767140
[ "Apache-2.0" ]
null
null
null
lib/astarte_vmq_plugin/rpc/handler.ex
rbino/astarte_vmq_plugin
e5cfcb717d8ac2b2bcfc3430a48b4c4c7b767140
[ "Apache-2.0" ]
null
null
null
lib/astarte_vmq_plugin/rpc/handler.ex
rbino/astarte_vmq_plugin
e5cfcb717d8ac2b2bcfc3430a48b4c4c7b767140
[ "Apache-2.0" ]
null
null
null
# # This file is part of Astarte. # # Copyright 2018 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
27.473684
98
0.692118
74f6c0d522839a2311dba6f2ff12ae2a9834d1c1
1,980
exs
Elixir
config/dev.exs
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
20
2021-08-06T01:09:48.000Z
2022-03-28T18:44:56.000Z
config/dev.exs
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
13
2021-08-21T21:17:02.000Z
2022-03-27T06:33:51.000Z
config/dev.exs
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
2
2021-09-23T11:31:59.000Z
2022-01-09T16:19:35.000Z
use Mix.Config # Set a higher stacktrace during development. Avoid configuring such # in production as building large stacktraces may be expensive. config :phoenix, :stacktrace_depth, 20 # Initialize plugs at runtime for faster development compilation config :phoenix, :plug_init_mode, :runtime # Configure your datab...
27.5
80
0.704545
74f6c14648872cc594915c9416be5fe189950ce9
3,189
exs
Elixir
test/adapters/exq_test.exs
nsweeting/gen_queue_exq
c5ed8bdac09888d58a85524c7a9a80daae889c46
[ "MIT" ]
null
null
null
test/adapters/exq_test.exs
nsweeting/gen_queue_exq
c5ed8bdac09888d58a85524c7a9a80daae889c46
[ "MIT" ]
null
null
null
test/adapters/exq_test.exs
nsweeting/gen_queue_exq
c5ed8bdac09888d58a85524c7a9a80daae889c46
[ "MIT" ]
null
null
null
defmodule GenQueue.Adapters.ExqTest do use ExUnit.Case import GenQueue.Test import GenQueue.ExqTestHelpers defmodule Enqueuer do Application.put_env(:gen_queue_exq, __MODULE__, adapter: GenQueue.Adapters.Exq) use GenQueue, otp_app: :gen_queue_exq end defmodule Job do def perform do sen...
32.212121
93
0.62841
74f6ffbc7623d595f0624b1f4f14793d79d4f14f
3,720
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/waterfall_chart_series.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sheets/lib/google_api/sheets/v4/model/waterfall_chart_series.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sheets/lib/google_api/sheets/v4/model/waterfall_chart_series.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...
56.363636
283
0.74328
74f70f4222b8753e74cba140e3c54aa31a5685b8
194
exs
Elixir
others/elixir/tuple.exs
mkanenobu/trashbox
c691dbf9a07991fd42304020c8aac58e1e4b9644
[ "WTFPL" ]
2
2020-05-11T13:43:27.000Z
2020-07-31T11:57:19.000Z
others/elixir/tuple.exs
mkanenobu/trashbox
c691dbf9a07991fd42304020c8aac58e1e4b9644
[ "WTFPL" ]
2
2020-09-27T02:35:38.000Z
2021-03-08T08:33:02.000Z
others/elixir/tuple.exs
mkanenobu/trashbox
c691dbf9a07991fd42304020c8aac58e1e4b9644
[ "WTFPL" ]
1
2020-05-11T13:44:04.000Z
2020-05-11T13:44:04.000Z
# tupleはランダムアクセスを行う用 # tuple is immutable t1 = {:ok, "hello"} # target, index IO.puts elem(t1, 1) IO.puts tuple_size(t1) # target, index, element t1 = put_elem(t1, 1, 123) IO.puts elem(t1, 1)
16.166667
25
0.680412
74f717ee28b970e24313443f3adeda6483c8eea8
899
ex
Elixir
lib/firebasecerts.ex
exit9/jwt-google-tokens
8e2d97fde486dc43687d92e91b6951515fef133b
[ "Apache-2.0" ]
null
null
null
lib/firebasecerts.ex
exit9/jwt-google-tokens
8e2d97fde486dc43687d92e91b6951515fef133b
[ "Apache-2.0" ]
null
null
null
lib/firebasecerts.ex
exit9/jwt-google-tokens
8e2d97fde486dc43687d92e91b6951515fef133b
[ "Apache-2.0" ]
1
2019-11-23T12:09:14.000Z
2019-11-23T12:09:14.000Z
defmodule Jwt.FirebaseCerts.PublicKey do @httpclient Jwt.HttpCacheClient @certs_url "https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com" def getfor(id), do: fetch id defp fetch(id) do @httpclient.get!(@certs_url) |> get_response_body |> extract_public...
32.107143
105
0.71079
74f743ccdc79acdeb23623e6fe0c763ca0e67069
7,397
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/inventory_items.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/inventory_items.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/inventory_items.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 ...
41.094444
187
0.624307
74f76214706a57cedc2b081741c9548636fa7138
516
exs
Elixir
test/meta_test.exs
mrdotb/password-validator
602eb7bebe3a04617f3f35248b8ed3619fa7e53e
[ "Apache-2.0" ]
17
2017-08-02T08:38:04.000Z
2022-03-28T18:29:55.000Z
test/meta_test.exs
mrdotb/password-validator
602eb7bebe3a04617f3f35248b8ed3619fa7e53e
[ "Apache-2.0" ]
7
2018-02-28T22:39:02.000Z
2021-02-20T19:58:47.000Z
test/meta_test.exs
mrdotb/password-validator
602eb7bebe3a04617f3f35248b8ed3619fa7e53e
[ "Apache-2.0" ]
6
2018-02-28T02:18:16.000Z
2021-02-02T19:19:06.000Z
defmodule PasswordValidatorMetaTest do use ExUnit.Case, async: true test "README.md version is up to date" do app = Mix.Project.get().project[:app] app_version = Application.spec(app, :vsn) |> to_string() |> Version.parse!() readme = File.read!("README.md") [_, readme_version] =...
28.666667
88
0.655039
74f7769143e47cc62d821ef2e8874cbae4159cd3
2,446
exs
Elixir
config/prod.exs
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
null
null
null
config/prod.exs
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
1
2019-11-02T13:46:12.000Z
2019-11-02T13:46:12.000Z
config/prod.exs
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
33.972222
69
0.713001
74f77756d476afc67d7d5b62ecedcca95491a3c7
5,682
ex
Elixir
lib/apds9960/als.ex
mnishiguchi/apds9960
e37108f84f40fc21487879d419dbf55866d5babf
[ "MIT" ]
null
null
null
lib/apds9960/als.ex
mnishiguchi/apds9960
e37108f84f40fc21487879d419dbf55866d5babf
[ "MIT" ]
null
null
null
lib/apds9960/als.ex
mnishiguchi/apds9960
e37108f84f40fc21487879d419dbf55866d5babf
[ "MIT" ]
null
null
null
defmodule APDS9960.ALS do @moduledoc "The ambient light and RGB color sensing." alias APDS9960.{Comm, Sensor} @doc """ Returns all the current Color / ALS settings. """ @spec settings(Sensor.t()) :: %{ adc_integration_time: byte, enabled: boolean, gain: 0..3, interr...
27.990148
79
0.652235
74f7844d2179ff8b7fde8b496a2f68e4ad592e3c
1,466
exs
Elixir
test/custom_type_test.exs
elixir-maru/maru_params
4bc1d05008e881136aff87667791ed4da1c12bd4
[ "WTFPL" ]
4
2021-12-29T06:45:02.000Z
2022-02-10T12:48:57.000Z
test/custom_type_test.exs
elixir-maru/maru_params
4bc1d05008e881136aff87667791ed4da1c12bd4
[ "WTFPL" ]
null
null
null
test/custom_type_test.exs
elixir-maru/maru_params
4bc1d05008e881136aff87667791ed4da1c12bd4
[ "WTFPL" ]
1
2021-12-29T06:45:03.000Z
2021-12-29T06:45:03.000Z
defmodule Maru.Params.CustomTypeTest do use ExUnit.Case, async: true alias Maru.Params.TypeError defmodule T do use Maru.Params.TestHelper params :custom_type do optional :a, Test.CustomTypeA optional :b, CustomTypeB optional :c, CustomTypeC end end test "custom type" do ...
24.847458
95
0.428377
74f799d012e3c918ef841da0a73857c6b2727a64
1,133
exs
Elixir
config/config.exs
ohr486/hello_pubsub
34b3c6690b8cc3463f4021245e71575dcab36f7d
[ "MIT" ]
null
null
null
config/config.exs
ohr486/hello_pubsub
34b3c6690b8cc3463f4021245e71575dcab36f7d
[ "MIT" ]
null
null
null
config/config.exs
ohr486/hello_pubsub
34b3c6690b8cc3463f4021245e71575dcab36f7d
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.548387
73
0.753751
74f79a816a62556e56dc8518fd5f6d77a2ac5fdd
773
exs
Elixir
config/dev.exs
batmany13/github-ci
e67df76aaeee5e829b923ad09140dc6628ef979b
[ "Apache-2.0" ]
null
null
null
config/dev.exs
batmany13/github-ci
e67df76aaeee5e829b923ad09140dc6628ef979b
[ "Apache-2.0" ]
null
null
null
config/dev.exs
batmany13/github-ci
e67df76aaeee5e829b923ad09140dc6628ef979b
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :github_ci, GithubCi.Endpoint, http: [port: 40...
33.608696
74
0.754204
74f79dc19d54588f316b9d9051e5fccecf661aaf
483
exs
Elixir
test/lib/dashboard_test.exs
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
170
2017-05-25T15:09:53.000Z
2021-07-09T04:04:14.000Z
test/lib/dashboard_test.exs
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
78
2017-05-25T09:41:55.000Z
2019-01-04T20:53:35.000Z
test/lib/dashboard_test.exs
talonframework/ex_admin
d164c065ac74c156c3abeca8437e184456db903c
[ "MIT" ]
8
2017-06-24T12:28:06.000Z
2018-09-17T16:11:56.000Z
defmodule TalonTest.DashboardTest do use TestTalon.ConnCase require Logger test "GET /admin", %{conn: conn} do conn = get conn, "/admin" assert html_response(conn, 200) =~ "Test Layout" assert html_response(conn, 200) =~ "Test Dashboard" end test "GET /admin/pages/dashboard", %{conn: conn} do ...
28.411765
55
0.681159