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
5a7c90caecfe1f7fdecc248c433643a147c02a0b
2,216
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_pools_scoped_list_warning.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_pools_scoped_list_warning.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_pools_scoped_list_warning.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.037037
194
0.726534
5a7ce2bd3997e7b548b4ebcdc6be4231ff9971c6
1,121
ex
Elixir
lib/middleware/base64.ex
matthewoden/CFEnv
eceeab72129b69f04edb8bbf30a5832384f902b3
[ "MIT" ]
null
null
null
lib/middleware/base64.ex
matthewoden/CFEnv
eceeab72129b69f04edb8bbf30a5832384f902b3
[ "MIT" ]
3
2018-01-05T17:37:47.000Z
2018-12-12T03:49:20.000Z
lib/middleware/base64.ex
matthewoden/CFEnv
eceeab72129b69f04edb8bbf30a5832384f902b3
[ "MIT" ]
null
null
null
defmodule CFEnv.Middleware.Base64 do @moduledoc """ Base64 Decodes a service credential, when given a list of services. Assumes all values on the service are encoded. ``` defmodule MyApp.Env do use CFEnv, otp_app: my_app plug CFEnv.Middleware.Base64, services: ["db", "AWS"] end ``` """ @b...
22.877551
84
0.642284
5a7d0a3d2f72b2e2b3569d57db139f618951965b
2,278
ex
Elixir
live_view_studio/lib/live_view_studio/desks.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
live_view_studio/lib/live_view_studio/desks.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
live_view_studio/lib/live_view_studio/desks.ex
herminiotorres/pragmaticstudio
273647694519fd4149716abf190eb8d97102f488
[ "MIT" ]
null
null
null
defmodule LiveViewStudio.Desks do @moduledoc """ The Desks context. """ import Ecto.Query, warn: false alias LiveViewStudio.Repo alias LiveViewStudio.Desks.Desk @doc """ Returns the list of desks. ## Examples iex> list_desks() [%Desk{}, ...] """ def list_desks do Repo.all(fro...
17.523077
65
0.583845
5a7d0e75e457f5b224bb205509f2316377ad7481
9,365
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent.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 "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 ...
49.289474
224
0.702509
5a7d210a52c2b9d4e0015993b5faed1b8bad40e9
5,204
ex
Elixir
lib/utils.ex
ZanjeerPlatform/CSMT
1cd1f39a893f3e5f4cc3d5833c4d21c8924500dd
[ "Apache-2.0" ]
34
2018-10-11T13:19:19.000Z
2021-04-17T06:17:20.000Z
lib/utils.ex
ZanjeerPlatform/CSMT
1cd1f39a893f3e5f4cc3d5833c4d21c8924500dd
[ "Apache-2.0" ]
null
null
null
lib/utils.ex
ZanjeerPlatform/CSMT
1cd1f39a893f3e5f4cc3d5833c4d21c8924500dd
[ "Apache-2.0" ]
3
2018-10-11T15:33:23.000Z
2018-11-03T08:56:28.000Z
# Copyright 2018 Faraz Haider. All Rights Reserved. # # 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...
26.282828
106
0.653536
5a7d31a91beec86af797bdf2a47a1f44b44f9c2d
541
ex
Elixir
services/ui/lib/ui/billing_info_view.ex
marcuzy/semaphore-demo-monorepo
6263b9daa7502e39ba6ce333ed5d866e5115d60a
[ "MIT" ]
2
2021-04-20T19:46:49.000Z
2021-07-25T17:06:32.000Z
services/ui/lib/ui/billing_info_view.ex
marcuzy/semaphore-demo-monorepo
6263b9daa7502e39ba6ce333ed5d866e5115d60a
[ "MIT" ]
null
null
null
services/ui/lib/ui/billing_info_view.ex
marcuzy/semaphore-demo-monorepo
6263b9daa7502e39ba6ce333ed5d866e5115d60a
[ "MIT" ]
54
2021-03-18T20:53:34.000Z
2022-03-22T01:56:18.000Z
defmodule Ui.BillingInfoView do @moduledoc """ HTML view for the billing information. """ def render(user, billing_info) do """ <html> <body> <h1>Billing Info for #{user.name}</h1> <table> <tr> <td>Last Charge</td> <td>#{billing_info.last_charge}...
18.033333
48
0.460259
5a7d3b9ceebed8985355cf30919396197173e97e
10,881
ex
Elixir
lib/elixir/lib/dict.ex
razuf/elixir
a80b6d00738668f5ca2325bfc8c3581af5d531dc
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/dict.ex
razuf/elixir
a80b6d00738668f5ca2325bfc8c3581af5d531dc
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/dict.ex
razuf/elixir
a80b6d00738668f5ca2325bfc8c3581af5d531dc
[ "Apache-2.0" ]
null
null
null
defmodule Dict do @moduledoc ~S""" Generic API for dictionaries. If you need a general dictionary, use the `Map` module. If you need to manipulate keyword lists, use `Keyword`. To convert maps into keywords and vice-versa, use the `new` function in the respective modules. """ @moduledoc deprecated: "...
24.506757
99
0.535337
5a7d91c53ffb8d0483b86fac2339aa867dbeab89
1,977
ex
Elixir
deps/ex_doc/lib/ex_doc/markdown/earmark.ex
lgandersen/jocker_dist
b5e676f8d9e60bbc8bc7a82ccd1e05389f2cd5b5
[ "BSD-2-Clause" ]
null
null
null
deps/ex_doc/lib/ex_doc/markdown/earmark.ex
lgandersen/jocker_dist
b5e676f8d9e60bbc8bc7a82ccd1e05389f2cd5b5
[ "BSD-2-Clause" ]
null
null
null
deps/ex_doc/lib/ex_doc/markdown/earmark.ex
lgandersen/jocker_dist
b5e676f8d9e60bbc8bc7a82ccd1e05389f2cd5b5
[ "BSD-2-Clause" ]
null
null
null
defmodule ExDoc.Markdown.Earmark do @moduledoc """ ExDoc extension for the Earmark MarkDown parser. """ @behaviour ExDoc.Markdown @doc """ Check if the Earmark Markdown parser module is available. """ def available? do match?({:ok, _}, Application.ensure_all_started(:earmark)) and Code.ensure_loade...
29.954545
97
0.649469
5a7da2a283aed8a77f3dce5348e424bca4783f95
608
exs
Elixir
test/maintenance_enabled/html_test.exs
wnuqui/on_maintenance
90bd211d0da77e0708d8f27adba0dd32399a8ca2
[ "MIT" ]
13
2017-04-13T05:36:56.000Z
2020-07-19T02:40:09.000Z
test/maintenance_enabled/html_test.exs
wnuqui/on_maintenance
90bd211d0da77e0708d8f27adba0dd32399a8ca2
[ "MIT" ]
null
null
null
test/maintenance_enabled/html_test.exs
wnuqui/on_maintenance
90bd211d0da77e0708d8f27adba0dd32399a8ca2
[ "MIT" ]
1
2021-09-03T19:31:05.000Z
2021-09-03T19:31:05.000Z
defmodule HtmlTest do use Plug.OnMaintenance.EnabledTestCase setup do with_mocks [ {Plug.OnMaintenance.Util, [:passthrough], [on_maintenance?: fn() -> true end, retry_after_header: fn() -> "300" end]} ] do conn = build_conn("/test", "text/html") {:ok, conn: conn} end end ...
24.32
84
0.625
5a7db5747401b9cf80592c034c4145f0bacb3d78
11,995
ex
Elixir
lib/application.ex
datafoo/commanded
b497d8cfde386c272902809511f8373d03652684
[ "MIT" ]
null
null
null
lib/application.ex
datafoo/commanded
b497d8cfde386c272902809511f8373d03652684
[ "MIT" ]
null
null
null
lib/application.ex
datafoo/commanded
b497d8cfde386c272902809511f8373d03652684
[ "MIT" ]
null
null
null
defmodule Commanded.Application do use TelemetryRegistry alias Commanded.Aggregates.Aggregate alias Commanded.Application.Config telemetry_event(%{ event: [:commanded, :application, :dispatch, :start], description: "Emitted when an application starts dispatching a command", measurements: "%{system...
30.59949
94
0.653356
5a7de6d5f3cb9e34b145564ddc1a3765a874d196
2,156
ex
Elixir
lib/ttr_core/players/session.ex
alakra/ticket-to-ride-core
7886e1937d4f41b472e0bb3e2cc20ea4ef350085
[ "MIT" ]
6
2018-09-23T21:04:50.000Z
2021-03-13T02:56:23.000Z
lib/ttr_core/players/session.ex
alakra/ticket-to-ride-core
7886e1937d4f41b472e0bb3e2cc20ea4ef350085
[ "MIT" ]
23
2018-08-24T17:09:18.000Z
2021-08-02T12:15:23.000Z
lib/ttr_core/players/session.ex
alakra/ticket-to-ride-core
7886e1937d4f41b472e0bb3e2cc20ea4ef350085
[ "MIT" ]
1
2018-08-24T16:59:45.000Z
2018-08-24T16:59:45.000Z
defmodule TtrCore.Players.Session do @moduledoc false # TBD: Change this to use con_cache with expiration support alias TtrCore.Players.DB defstruct [:user_id, :name, :token, :expiration] @type t :: %__MODULE__{ user_id: id(), name: String.t, token: id(), expiration: DateTime.t } @typ...
22.93617
100
0.628015
5a7df89c69e3dd0fc5281672661511f22ac17440
1,718
ex
Elixir
lib/bus_car_dsl/tree.ex
elbow-jason/bus_car_dsl
a83a16b9c5c1c954b7b2284dd6a5636dbb7f4157
[ "MIT" ]
null
null
null
lib/bus_car_dsl/tree.ex
elbow-jason/bus_car_dsl
a83a16b9c5c1c954b7b2284dd6a5636dbb7f4157
[ "MIT" ]
2
2017-04-13T22:02:38.000Z
2017-04-13T22:17:26.000Z
lib/bus_car_dsl/tree.ex
elbow-jason/bus_car_dsl
a83a16b9c5c1c954b7b2284dd6a5636dbb7f4157
[ "MIT" ]
null
null
null
defmodule BusCarDsl.Tree do alias BusCarDsl, as: Dsl @module_list [ {Dsl.Term, :term}, {Dsl.Bool, :bool}, {Dsl.Must, :must}, {Dsl.Match, :match}, {Dsl.Query, :query}, {Dsl.Fuzzy, :fuzzy}, {Dsl.Range, :range}, {Dsl.Nested, :nested}, {Dsl.Filter, :filter}, {...
26.84375
82
0.596624
5a7e193ab98659cb33374f9d610ac56633e9dd7a
18,414
ex
Elixir
clients/books/lib/google_api/books/v1/api/volumes.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/api/volumes.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/api/volumes.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...
42.823256
170
0.671826
5a7e1f09f54694297df7636f3afbec7b51b91748
1,430
ex
Elixir
lib/weatherflow_tempest/pub_sub.ex
joshproehl/weatherflow_tempest
02b7841ffbab6e06b8740cbbc3514eb5d6022e37
[ "MIT" ]
null
null
null
lib/weatherflow_tempest/pub_sub.ex
joshproehl/weatherflow_tempest
02b7841ffbab6e06b8740cbbc3514eb5d6022e37
[ "MIT" ]
null
null
null
lib/weatherflow_tempest/pub_sub.ex
joshproehl/weatherflow_tempest
02b7841ffbab6e06b8740cbbc3514eb5d6022e37
[ "MIT" ]
1
2022-02-05T16:23:06.000Z
2022-02-05T16:23:06.000Z
defmodule WeatherflowTempest.PubSub do @moduledoc """ Convenience for interacting with Phoenix.Pubsub Interacts with the PubSub named in config: ```elixir config :weatherflow_tempest, :pubsub_name, MyApp.PubSub ``` or via one named :weatherflow_tempest if that is not defined. Events are published as...
33.255814
169
0.737063
5a7e33225c07a58742a145d34437f95a2d5ef9b9
1,610
exs
Elixir
apps/grenadier/mix.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/grenadier/mix.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/grenadier/mix.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Grenadier.MixProject do use Mix.Project def project do [ app: :grenadier, version: "0.1.0", elixir: "~> 1.6", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixirc_paths: elixirc...
27.758621
79
0.616149
5a7e54da04941595a6fd9e4c31b31ec8592d933f
112
exs
Elixir
priv/v03/ch13/time.exs
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
4
2019-04-21T05:46:19.000Z
2021-09-13T01:56:33.000Z
priv/v03/ch13/time.exs
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
1
2020-09-24T00:13:40.000Z
2020-09-24T00:13:40.000Z
priv/v03/ch13/time.exs
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
3
2019-10-26T01:41:53.000Z
2020-09-21T01:13:02.000Z
# time = Time.new!(10, 30, 0, {12345, 6}) time = ~T[10.30.00] IO.inspect(time) IO.inspect(time, structs: false)
22.4
41
0.633929
5a7e9ca3466a057fd47b9ccb0e223cdc7826cc48
1,883
ex
Elixir
clients/content/lib/google_api/content/v21/model/list_collection_statuses_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/list_collection_statuses_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/list_collection_statuses_response.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...
37.66
189
0.746681
5a7ea884f3fc50c5ad889389b70905522184c19d
2,487
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_annotate_file_response.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_annotate_file_response.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p3beta1_annotate_file_response.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
37.681818
185
0.749899
5a7eb477b9bc4aa488121195ba18c2c51d62212b
3,182
ex
Elixir
lib/workers/send_email_report.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
lib/workers/send_email_report.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
lib/workers/send_email_report.ex
plausible-insights/plausible
88173342b9e969894879bfb2e8d203426f6a1b1c
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule Plausible.Workers.SendEmailReport do use Plausible.Repo use Oban.Worker, queue: :send_email_reports, max_attempts: 1 alias Plausible.Stats.Query alias Plausible.Stats @impl Oban.Worker def perform(%Oban.Job{args: %{"interval" => "weekly", "site_id" => site_id}}) do site = Repo.get(Plausible.S...
37.435294
96
0.676618
5a7ec52f26e662b2a3208404dd742121108bad8b
2,564
ex
Elixir
clients/billing_budgets/lib/google_api/billing_budgets/v1beta1/model/google_cloud_billing_budgets_v1beta1_budget_amount.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/lib/google_api/billing_budgets/v1beta1/model/google_cloud_billing_budgets_v1beta1_budget_amount.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/lib/google_api/billing_budgets/v1beta1/model/google_cloud_billing_budgets_v1beta1_budget_amount.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...
43.457627
406
0.775351
5a7ece8782bb8d4f180e7a75e863e4f176223785
4,598
ex
Elixir
lib/repo/schema.ex
NeoPag/ex_audit
bd2bb4934330f62faa2ce3fd8b48f37f41e16890
[ "MIT" ]
null
null
null
lib/repo/schema.ex
NeoPag/ex_audit
bd2bb4934330f62faa2ce3fd8b48f37f41e16890
[ "MIT" ]
null
null
null
lib/repo/schema.ex
NeoPag/ex_audit
bd2bb4934330f62faa2ce3fd8b48f37f41e16890
[ "MIT" ]
null
null
null
defmodule ExAudit.Schema do def insert_all(module, schema_or_source, entries, opts) do # TODO! opts = augment_opts(opts) Ecto.Repo.Schema.insert_all(module, schema_or_source, entries, opts) end def insert(module, struct, opts) do opts = augment_opts(opts) augment_transaction(module, fn -> ...
25.977401
107
0.619835
5a7ef1c56698d4c9d77602c83af77fe95a3e4e21
1,071
exs
Elixir
clients/games/mix.exs
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/games/mix.exs
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/games/mix.exs
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.Games.V1.Mixfile do use Mix.Project @version "0.3.0" def project do [app: :google_api_games, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps: ...
22.3125
105
0.588235
5a7f034703b92ba24afde5073c26629941dd90f9
2,137
ex
Elixir
lib/gscraper_web/router.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
lib/gscraper_web/router.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
25
2021-03-23T07:27:21.000Z
2021-10-31T15:09:52.000Z
lib/gscraper_web/router.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
defmodule GscraperWeb.Router do use GscraperWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end # coveralls-ignore-start pipeline :api do plug :accepts, ["json"] end # The...
27.050633
76
0.712681
5a7f38abd7067e4362f2671b72bda2f7c7171ad7
1,828
exs
Elixir
config/prod.exs
jbhardman/nr-phoenix-demo-app
1369ced0e87e6ab36443c50158bd340e05242afc
[ "Apache-2.0" ]
1
2022-01-25T08:26:38.000Z
2022-01-25T08:26:38.000Z
config/prod.exs
jbhardman/nr-phoenix-demo-app
1369ced0e87e6ab36443c50158bd340e05242afc
[ "Apache-2.0" ]
4
2022-01-21T13:23:49.000Z
2022-01-25T08:21:44.000Z
config/prod.exs
jbhardman/nr-phoenix-demo-app
1369ced0e87e6ab36443c50158bd340e05242afc
[ "Apache-2.0" ]
1
2022-02-23T22:33:42.000Z
2022-02-23T22:33:42.000Z
import 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, # w...
36.56
108
0.714442
5a7f47e1090a5aa9d350b871123e045c9cc6f0da
1,205
exs
Elixir
exercises/02-higher-order-functions/02-goodbye-loops/07-reduce-usage-2/tests.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
1
2021-09-22T09:52:11.000Z
2021-09-22T09:52:11.000Z
exercises/02-higher-order-functions/02-goodbye-loops/07-reduce-usage-2/tests.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
22
2019-06-19T18:58:13.000Z
2020-03-16T14:43:06.000Z
exercises/02-higher-order-functions/02-goodbye-loops/07-reduce-usage-2/tests.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
32
2019-09-19T03:25:11.000Z
2020-10-06T15:01:47.000Z
defmodule Setup do @script "shared.exs" def setup(directory \\ ".") do path = Path.join(directory, @script) if File.exists?(path) do Code.require_file(path) Shared.setup(__DIR__) else setup(Path.join(directory, "..")) end end end Setup.setup defmodule Tests do use ExUnit.C...
31.710526
76
0.651452
5a7f5591b12e915b676abb46a96262e1fb59c19a
21,901
ex
Elixir
lib/horde/dynamic_supervisor_impl.ex
TP-IASC/horde
7c2fe187e3c9c2c08c24d71787ffebcb7870f751
[ "MIT" ]
null
null
null
lib/horde/dynamic_supervisor_impl.ex
TP-IASC/horde
7c2fe187e3c9c2c08c24d71787ffebcb7870f751
[ "MIT" ]
null
null
null
lib/horde/dynamic_supervisor_impl.ex
TP-IASC/horde
7c2fe187e3c9c2c08c24d71787ffebcb7870f751
[ "MIT" ]
null
null
null
defmodule Horde.DynamicSupervisor.Member do @moduledoc false @type t :: %Horde.DynamicSupervisor.Member{} @type status :: :uninitialized | :alive | :shutting_down | :dead defstruct [:status, :name] end defmodule Horde.DynamicSupervisorImpl do @moduledoc false require Logger use GenServer import Horde...
28.66623
98
0.647368
5a7fb11e07354a4ab1e092f621429002d00320e6
406
ex
Elixir
lib/hello_phoenix_web/controllers/hello_launchdarkly_controller.ex
launchdarkly/hello-phoenix
3e812ad959789e89e1de8a216d1c30db659e4be2
[ "Apache-2.0" ]
null
null
null
lib/hello_phoenix_web/controllers/hello_launchdarkly_controller.ex
launchdarkly/hello-phoenix
3e812ad959789e89e1de8a216d1c30db659e4be2
[ "Apache-2.0" ]
2
2022-03-29T22:26:54.000Z
2022-03-30T22:33:49.000Z
lib/hello_phoenix_web/controllers/hello_launchdarkly_controller.ex
launchdarkly/hello-phoenix
3e812ad959789e89e1de8a216d1c30db659e4be2
[ "Apache-2.0" ]
1
2021-05-23T17:43:09.000Z
2021-05-23T17:43:09.000Z
defmodule HelloPhoenixWeb.HelloLaunchdarklyController do use HelloPhoenixWeb, :controller def hellouser(conn, %{"user" => user}) do alternate_page = :ldclient.variation("alternate.page", %{:key => user}, false) render(conn, hello_template(alternate_page), user: user) end def hello_template(:true) do ...
22.555556
82
0.711823
5a7fcebe41e75ef578378c9298a3388aaec438cb
19,229
ex
Elixir
lib/aws/generated/health.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/health.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/health.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "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.Health do @moduledoc """ Health The Health API provides programmatic access to the Health information that appears in the [Personal Health Dashboard](https://phd.aws.amazon.com/phd/home#/...
46.785888
205
0.766759
5a7ffd8ca79e84ef81cadb5962dbf269084def7b
2,251
exs
Elixir
mv_opentelemetry_harness/config/dev.exs
mindvalley/mv-opentelemetry
90d654c023e6912f74c2cce518530878b46dd20b
[ "MIT" ]
9
2021-10-05T08:01:18.000Z
2022-03-30T07:19:38.000Z
mv_opentelemetry_harness/config/dev.exs
mindvalley/mv-opentelemetry
90d654c023e6912f74c2cce518530878b46dd20b
[ "MIT" ]
29
2021-10-04T05:46:47.000Z
2022-03-31T18:47:10.000Z
mv_opentelemetry_harness/config/dev.exs
mindvalley/mv-opentelemetry
90d654c023e6912f74c2cce518530878b46dd20b
[ "MIT" ]
2
2021-10-04T05:50:38.000Z
2021-10-05T05:01:34.000Z
use Mix.Config # Configure your database config :mv_opentelemetry_harness, MvOpentelemetryHarness.Repo, username: "postgres", password: "postgres", database: "mv_opentelemetry_harness_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable an...
29.618421
69
0.714349
5a7ffffbf737cfe9bd23a79930a0e1d158264734
1,553
ex
Elixir
lib/absinthe_websocket/supervisor.ex
karlosmid/absinthe_websocket
b08e0cf07c1dcdbb98e14c3905d8ee7b777aee66
[ "MIT" ]
8
2018-07-13T20:54:53.000Z
2020-03-07T08:27:11.000Z
lib/absinthe_websocket/supervisor.ex
karlosmid/absinthe_websocket
b08e0cf07c1dcdbb98e14c3905d8ee7b777aee66
[ "MIT" ]
10
2018-07-13T15:29:19.000Z
2019-12-04T18:58:15.000Z
lib/absinthe_websocket/supervisor.ex
karlosmid/absinthe_websocket
b08e0cf07c1dcdbb98e14c3905d8ee7b777aee66
[ "MIT" ]
3
2018-11-28T19:53:45.000Z
2021-12-17T15:47:10.000Z
defmodule AbsintheWebSocket.Supervisor do use Supervisor def start_link(args) do base_name = Keyword.get(args, :base_name) supervisor_name = Module.concat(base_name, Supervisor) Supervisor.start_link(__MODULE__, args, name: supervisor_name) end # name: OrgmanicQLApi.Websocket.Supervisor # name:...
37.878049
134
0.741146
5a802b46882fec609ef8a71d96de0b41c8f8c12c
3,712
ex
Elixir
lib/generator.ex
nelsonmestevao/eflatbuffers
b0c06b3ca633f266589302b5a94686df75b1cb88
[ "MIT" ]
43
2017-10-11T16:18:24.000Z
2022-01-11T21:43:00.000Z
lib/generator.ex
odo/eflatbuffers
b0c06b3ca633f266589302b5a94686df75b1cb88
[ "MIT" ]
3
2017-10-23T14:34:26.000Z
2020-08-26T04:06:52.000Z
lib/generator.ex
odo/eflatbuffers
b0c06b3ca633f266589302b5a94686df75b1cb88
[ "MIT" ]
10
2018-02-04T09:49:49.000Z
2022-03-26T17:29:34.000Z
defmodule Eflatbuffers.Generator do @defaults %{ max_string_len: 100, max_vector_len: 15, skip_key_probability: 0.1, default_probability: 0.1 } def map_from_schema(schema_str, opts \\ %{}) when is_binary(schema_str) do {:ok, {schema, %{root_type: root_type}}} = schema_str |> Efla...
29.696
100
0.65167
5a802e7fd219354e4dd621c657e2f3f50c455b1a
2,387
ex
Elixir
lib/tune/link.ex
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
206
2020-08-23T17:50:03.000Z
2022-03-28T04:39:01.000Z
lib/tune/link.ex
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
112
2020-08-21T08:26:38.000Z
2022-03-31T06:11:06.000Z
lib/tune/link.ex
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
15
2020-08-25T02:30:23.000Z
2021-12-16T14:19:35.000Z
defmodule Tune.Link do @moduledoc """ Provides functions to generate integration links from tracks, artists and albums. Implementations are extremely naive and rely on building URLs from metadata, but there are times when they simply don't work, particularly with titles that have suffixes like "2017 remaster...
26.522222
83
0.6062
5a803101d942fd4134e86eda160f6b34dbf57071
880
ex
Elixir
lib/providers/system_env.ex
davanB/ptolemy
8af911ff9e6bfa7a3e467dff0e7aaaf4cf9456f3
[ "MIT" ]
15
2018-12-20T15:02:21.000Z
2020-10-09T00:38:47.000Z
lib/providers/system_env.ex
davanB/ptolemy
8af911ff9e6bfa7a3e467dff0e7aaaf4cf9456f3
[ "MIT" ]
7
2019-03-01T19:05:09.000Z
2019-04-12T19:38:45.000Z
lib/providers/system_env.ex
davanB/ptolemy
8af911ff9e6bfa7a3e467dff0e7aaaf4cf9456f3
[ "MIT" ]
2
2019-02-26T16:02:12.000Z
2020-04-24T15:44:34.000Z
defmodule Ptolemy.Providers.SystemEnv do @moduledoc """ `Ptolemy.Providers.SystemEnv` provides from system environment variables. # Example Add to your configuration: ```elixir alias Ptolemy.Providers.SystemEnv config :ptolemy, loader: [ env: [ {{:app_name, :config_key}, {SystemEnv, "VAR_NAME"}...
27.5
93
0.721591
5a8038ca644a84d5a1b5942372a8bf39015caf47
958
ex
Elixir
lib/podcastsupervisor.ex
chattes/podder
612c5a98c8aacfd5922fa499d513519db2af38ed
[ "MIT" ]
null
null
null
lib/podcastsupervisor.ex
chattes/podder
612c5a98c8aacfd5922fa499d513519db2af38ed
[ "MIT" ]
null
null
null
lib/podcastsupervisor.ex
chattes/podder
612c5a98c8aacfd5922fa499d513519db2af38ed
[ "MIT" ]
null
null
null
defmodule Podder.DynamicSupervisor do use DynamicSupervisor def start_link() do DynamicSupervisor.start_link(__MODULE__, :ok, name: __MODULE__) end @doc """ Server Side """ def init(_arg) do DynamicSupervisor.init(strategy: :one_for_one) end def start_work(name), do: {:ok, pid} = start_podc...
25.210526
86
0.673278
5a8040a8da362283d4a4623e56e79c77e38f634f
1,604
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/video_monetization_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_monetization_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_monetization_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.416667
156
0.746883
5a804f51b916cd9cc2faa36f98be247c32ee4736
2,313
exs
Elixir
lib/elixir/test/elixir/deprecated_record/private_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/elixir/test/elixir/deprecated_record/private_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/deprecated_record/private_test.exs
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Record.PrivateTest do use ExUnit.Case, async: true require Record defmodule Macros do defrecordp :_user, __MODULE__, name: "José", age: 25 defrecordp :_my_user, :my_user, name: "José", age: 25 name = :_file_info defrecordp name, Record....
19.769231
84
0.620839
5a805c8adcb8e8918c1213d92855addb65103e6c
109
ex
Elixir
core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/snap-exp/cascades-dev/Makefile.ex
qiuhere/Bench
80f15facb81120b754547586cf3a7e5f46ca1551
[ "Apache-2.0" ]
1,805
2015-01-06T20:01:35.000Z
2022-03-29T16:12:51.000Z
snap-exp/cascades-dev/Makefile.ex
lizhaoqing/snap
907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5
[ "BSD-3-Clause" ]
168
2015-01-07T22:57:29.000Z
2022-03-15T01:20:24.000Z
snap-exp/cascades-dev/Makefile.ex
lizhaoqing/snap
907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5
[ "BSD-3-Clause" ]
768
2015-01-09T02:28:45.000Z
2022-03-30T00:53:46.000Z
# # configuration variables for the example ## Main application file MAIN = devSort_v1.4 DEPH = DEPCPP =
12.111111
41
0.724771
5a807a35ba68da3d80770081ce9d1711cc327945
1,546
ex
Elixir
lib/cloak/tags/decoder.ex
jdewar/cloak
d19bfbd06c53ce7b4f90e14ada3d134c5cb2f6b5
[ "MIT" ]
null
null
null
lib/cloak/tags/decoder.ex
jdewar/cloak
d19bfbd06c53ce7b4f90e14ada3d134c5cb2f6b5
[ "MIT" ]
null
null
null
lib/cloak/tags/decoder.ex
jdewar/cloak
d19bfbd06c53ce7b4f90e14ada3d134c5cb2f6b5
[ "MIT" ]
null
null
null
defmodule Cloak.Tags.Decoder do # A decoder that will let us read tags specified in the Format specified by # the `Cloak.Tags.Encoder` # # This scheme follows a Type, Length, Value triplet and is based on DER # encoding for certificates https://en.wikipedia.org/wiki/X.690#DER_encoding # # It returns a map...
28.109091
88
0.683053
5a80a4d1ed968b04cee53fa6d6a02bb97936dc56
2,269
ex
Elixir
apps/neoscan/lib/neoscan/vouts/vout.ex
cc1776/neo-scan
49fc9256f5c7ed4e0a7cd43513b27ba5d9d4f287
[ "MIT" ]
1
2021-02-23T02:55:26.000Z
2021-02-23T02:55:26.000Z
apps/neoscan/lib/neoscan/vouts/vout.ex
cc1776/neo-scan
49fc9256f5c7ed4e0a7cd43513b27ba5d9d4f287
[ "MIT" ]
null
null
null
apps/neoscan/lib/neoscan/vouts/vout.ex
cc1776/neo-scan
49fc9256f5c7ed4e0a7cd43513b27ba5d9d4f287
[ "MIT" ]
1
2019-10-16T21:37:31.000Z
2019-10-16T21:37:31.000Z
defmodule Neoscan.Vouts.Vout do @moduledoc false use Ecto.Schema import Ecto.Changeset alias Neoscan.Vouts.Vout alias Neoscan.ChainAssets schema "vouts" do field(:asset, :string) field(:address_hash, :string) field(:n, :integer) field(:value, :float) field(:txid, :string) field(:tim...
22.245098
92
0.550903
5a80f004b2860490d198c793b2c951d1e3be44a2
615
ex
Elixir
apps/resource_manager/lib/permissions/scopes.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
9
2020-10-13T14:11:37.000Z
2021-08-12T18:40:08.000Z
apps/resource_manager/lib/permissions/scopes.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
28
2020-10-04T14:43:48.000Z
2021-12-07T16:54:22.000Z
apps/resource_manager/lib/permissions/scopes.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
3
2020-11-25T20:59:47.000Z
2021-08-30T10:36:58.000Z
defmodule ResourceManager.Permissions.Scopes do @moduledoc false use ResourceManager.Domain, schema_model: ResourceManager.Permissions.Schemas.Scope @doc "Converts an binary scope input into a list" @spec convert_to_list(scope :: String.t()) :: list(String.t()) def convert_to_list(scope) when is_binary(scop...
34.166667
92
0.720325
5a80f23128af9505555a5b359ac1f4a1a586d615
165
exs
Elixir
Chapter03/recovering_from_errors_with_supervisors_and_supervision_trees/simple_elixir_drip/test/simple_elixir_drip_test.exs
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
28
2018-08-09T05:05:29.000Z
2022-03-14T06:59:07.000Z
Chapter03/recovering_from_errors_with_supervisors_and_supervision_trees/simple_elixir_drip/test/simple_elixir_drip_test.exs
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
1
2019-02-11T09:11:33.000Z
2019-05-06T06:40:19.000Z
Chapter03/recovering_from_errors_with_supervisors_and_supervision_trees/simple_elixir_drip/test/simple_elixir_drip_test.exs
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
8
2018-08-09T14:53:02.000Z
2020-12-14T19:31:21.000Z
defmodule SimpleElixirDripTest do use ExUnit.Case doctest SimpleElixirDrip test "greets the world" do assert SimpleElixirDrip.hello() == :world end end
18.333333
45
0.757576
5a8100aaf33f792dad24e1ea9414692459d8a910
321
ex
Elixir
backend/lib/spades_game/trick_card.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
9
2019-10-28T08:48:50.000Z
2021-03-05T09:44:46.000Z
backend/lib/spades_game/trick_card.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
227
2019-10-28T08:52:58.000Z
2022-02-27T04:31:42.000Z
backend/lib/spades_game/trick_card.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
4
2020-04-18T19:38:37.000Z
2021-08-02T19:43:03.000Z
defmodule SpadesGame.TrickCard do @moduledoc """ Represents a single card laid down on the table. A trick is made of several TrickCards. """ @derive Jason.Encoder defstruct [:card, :seat] alias SpadesGame.{Card, TrickCard} @type t :: %TrickCard{card: Card.t(), seat: :north | :east | :west | :south} end...
26.75
78
0.685358
5a8108579f93b3b38e3a3640179cbc67621b8c90
356
ex
Elixir
lib/web/controllers/play_controller.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/web/controllers/play_controller.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/web/controllers/play_controller.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Web.PlayController do use Web, :controller plug(Web.Plug.PublicEnsureUser) plug(Web.Plug.PublicEnsureCharacter) plug(:put_layout, "play.html") def show(conn, _params) do render(conn, "show.html") end def show_react(conn, _params) do conn = put_layout conn, "play_react.html" render...
20.941176
45
0.713483
5a811223f4c53d6830c54ef938e1612cdfff1295
1,653
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/accounts_list.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/accounts_list.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/accounts_list.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "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...
33.734694
141
0.755596
5a813a1b26cbc399cd16d050b3036035a09aa579
969
exs
Elixir
config/config.exs
chris-nelson-mn/hello-phoenix
af72e48ece5b7f3f5bba3f0b5527e3173e13e5b2
[ "MIT" ]
null
null
null
config/config.exs
chris-nelson-mn/hello-phoenix
af72e48ece5b7f3f5bba3f0b5527e3173e13e5b2
[ "MIT" ]
null
null
null
config/config.exs
chris-nelson-mn/hello-phoenix
af72e48ece5b7f3f5bba3f0b5527e3173e13e5b2
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :hello_phoenix, HelloPhoenix.Endpoint, url: [host:...
32.3
86
0.76161
5a815d4676b365a4b605c0fa80225e79ce1500b2
7,584
exs
Elixir
test/struct_web/live/inserted_wooden_siding_wall_live_test.exs
h-ikeda/structex-web
16768fe901d7adef3f3d81c26c3f5b5197b06088
[ "MIT" ]
null
null
null
test/struct_web/live/inserted_wooden_siding_wall_live_test.exs
h-ikeda/structex-web
16768fe901d7adef3f3d81c26c3f5b5197b06088
[ "MIT" ]
null
null
null
test/struct_web/live/inserted_wooden_siding_wall_live_test.exs
h-ikeda/structex-web
16768fe901d7adef3f3d81c26c3f5b5197b06088
[ "MIT" ]
null
null
null
defmodule StructWeb.InsertedWoodenSidingWallLiveTest do use StructWeb.ConnCase import Phoenix.LiveViewTest alias Struct.Elements @create_attrs %{beam_height: 120.5, beam_width: 120.5, column_depth: 120.5, column_width: 120.5, fiber_direction_compressive_strength_of_sidings: 120.5, fiber_direction_elasticity_...
64.820513
859
0.774525
5a81857ee8e76cf0c31647e7cfd3f0c36105e0c0
1,955
exs
Elixir
apps/teller/test/support/graph_query.exs
fschuindt/amethyst
0e8d60f83693b3bdb2c05d461cc3a74fa8b88b30
[ "MIT" ]
2
2018-06-23T11:43:34.000Z
2019-01-07T10:52:42.000Z
apps/teller/test/support/graph_query.exs
fschuindt/amethyst
0e8d60f83693b3bdb2c05d461cc3a74fa8b88b30
[ "MIT" ]
1
2018-06-21T01:20:04.000Z
2018-06-21T01:20:04.000Z
apps/teller/test/support/graph_query.exs
fschuindt/amethyst
0e8d60f83693b3bdb2c05d461cc3a74fa8b88b30
[ "MIT" ]
1
2018-06-30T21:40:51.000Z
2018-06-30T21:40:51.000Z
defmodule Teller.Test.Support.GraphQuery do @moduledoc """ A support module for testing the GraphQL API. Acts pretty much as a client. """ use Plug.Test @typedoc """ A common response to GraphQL queries. """ @type response_t :: {:ok | :error, Plug.Conn.t(), map() | binary()} @doc """ Queries t...
21.966292
69
0.62046
5a81a81c6b1dd0536be781aa6282ef621fa7d74a
1,575
ex
Elixir
clients/network_management/lib/google_api/network_management/v1/model/test_iam_permissions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_management/lib/google_api/network_management/v1/model/test_iam_permissions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_management/lib/google_api/network_management/v1/model/test_iam_permissions_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...
33.510638
143
0.752381
5a81b33142cf7f0b4a80efb302fc12de6cbf7c2d
1,274
ex
Elixir
lib/discovery_web/endpoint.ex
mikehelmick/dicovery-prototype
f79c160221c1a74ea1c89b6223d1815ec4c0df7d
[ "Apache-2.0" ]
null
null
null
lib/discovery_web/endpoint.ex
mikehelmick/dicovery-prototype
f79c160221c1a74ea1c89b6223d1815ec4c0df7d
[ "Apache-2.0" ]
1
2021-03-10T11:53:06.000Z
2021-03-10T11:53:06.000Z
lib/discovery_web/endpoint.ex
mikehelmick/dicovery-prototype
f79c160221c1a74ea1c89b6223d1815ec4c0df7d
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveryWeb.Endpoint do use Phoenix.Endpoint, otp_app: :discovery socket "/socket", DiscoveryWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your...
27.106383
69
0.711931
5a81c620a0ecdd4a47f83f8663cc20f374f9a0cf
1,724
ex
Elixir
clients/container/lib/google_api/container/v1/model/horizontal_pod_autoscaling.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/horizontal_pod_autoscaling.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/container/lib/google_api/container/v1/model/horizontal_pod_autoscaling.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.680851
213
0.759861
5a81cedfb8ece5266310fc415578bbd236fdaa78
1,866
exs
Elixir
mix.exs
ashatgit/ex_aws
b5640fa993cfa1afdf1f01a32cb8e8756a966311
[ "MIT" ]
null
null
null
mix.exs
ashatgit/ex_aws
b5640fa993cfa1afdf1f01a32cb8e8756a966311
[ "MIT" ]
11
2021-08-02T11:24:23.000Z
2022-03-23T12:03:07.000Z
mix.exs
ashatgit/ex_aws
b5640fa993cfa1afdf1f01a32cb8e8756a966311
[ "MIT" ]
1
2021-06-23T14:28:08.000Z
2021-06-23T14:28:08.000Z
defmodule ExAws.Mixfile do use Mix.Project @source_url "https://github.com/ex-aws/ex_aws" @version "2.2.3" def project do [ app: :ex_aws, version: @version, elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), description: "Generic AWS client", name: "ExAws", ...
24.552632
73
0.541801
5a81e4b84b6003ba66e359eb2e3a6c139ac300f6
21
ex
Elixir
lib/mix/test/fixtures/no_mixfile/lib/a.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
4
2016-04-05T05:51:36.000Z
2019-10-31T06:46:35.000Z
lib/mix/test/fixtures/no_mixfile/lib/a.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/test/fixtures/no_mixfile/lib/a.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
5
2015-02-01T06:01:19.000Z
2019-08-29T09:02:35.000Z
defmodule A do end
7
14
0.714286
5a81eeac533d73f21a5a7f82ff796baa83b5d06b
57
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_relational_operation_parsing_test_case/StringLine.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_relational_operation_parsing_test_case/StringLine.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_relational_operation_parsing_test_case/StringLine.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
'One' < 'Two' 'One' > 'Two' 'One' <= 'Two' 'One' >= 'Two'
14.25
14
0.421053
5a8220c9ecd38de8708e5787f922adb72f5f4059
3,156
exs
Elixir
test/bmfont_test.exs
ScrimpyCat/BMFontEx
b79d99ffee9f6c9ce35987a124a1893b266180ce
[ "BSD-2-Clause" ]
null
null
null
test/bmfont_test.exs
ScrimpyCat/BMFontEx
b79d99ffee9f6c9ce35987a124a1893b266180ce
[ "BSD-2-Clause" ]
null
null
null
test/bmfont_test.exs
ScrimpyCat/BMFontEx
b79d99ffee9f6c9ce35987a124a1893b266180ce
[ "BSD-2-Clause" ]
null
null
null
defmodule BMFontTest do use ExUnit.Case doctest BMFont setup do font = %BMFont{ chars: [ %BMFont.Char{ channel: 15, height: 1, id: 32, page: 0, width: 3, x: 155, xadvance: 8, xoffset: -1, y: 75, yoffset: 31 }, %BMFont.Char{ channel: 15, height: 20, id: 33...
58.444444
270
0.53929
5a822d52d5c0373ef37ea62907c0f4b0343a787f
3,398
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/hardware_info.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/hardware_info.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/hardware_info.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...
47.194444
163
0.754267
5a825836ca62a704d337e31b66d8aa063e088040
2,434
ex
Elixir
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/date.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/date.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/model/date.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...
36.878788
128
0.706656
5a8266d287cf1303d49dc9850606bfe56801e1c2
2,486
exs
Elixir
apps/authenticator/test/authenticator/sign_in/user_attempts_test.exs
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
null
null
null
apps/authenticator/test/authenticator/sign_in/user_attempts_test.exs
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
null
null
null
apps/authenticator/test/authenticator/sign_in/user_attempts_test.exs
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
null
null
null
defmodule Authenticator.SignIn.UserAttemptsTest do use Authenticator.DataCase, async: true alias Authenticator.SignIn.Schemas.UserAttempt alias Authenticator.SignIn.UserAttempts setup do {:ok, user_attempt: insert!(:user_sign_in_attempt)} end describe "#{UserAttempts}.create/1" do test "succeed i...
30.691358
96
0.654465
5a82692a5a0fa1b32cd5f7b3e964159d3c7ac8e2
1,067
exs
Elixir
mix.exs
libra-ventures/unicode_emoji_flag
745307b4f13412bb5f36a762363fa54e0030aaeb
[ "0BSD" ]
1
2022-03-13T12:55:15.000Z
2022-03-13T12:55:15.000Z
mix.exs
libra-ventures/unicode_emoji_flag
745307b4f13412bb5f36a762363fa54e0030aaeb
[ "0BSD" ]
null
null
null
mix.exs
libra-ventures/unicode_emoji_flag
745307b4f13412bb5f36a762363fa54e0030aaeb
[ "0BSD" ]
null
null
null
defmodule UnicodeEmojiFlag.MixProject do use Mix.Project def project do [ app: :unicode_emoji_flag, version: "1.1.0", elixir: ">= 1.0.0", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), name: "UnicodeEmojiFlag", ...
23.195652
146
0.603561
5a8294b1dbdeddd480c39316ea95d13de948f8ab
2,987
exs
Elixir
test/hsl_test.exs
joydrive/chameleon
e314f57129a9d5db7c7526dcfeb15d82493e16a0
[ "Apache-2.0" ]
null
null
null
test/hsl_test.exs
joydrive/chameleon
e314f57129a9d5db7c7526dcfeb15d82493e16a0
[ "Apache-2.0" ]
null
null
null
test/hsl_test.exs
joydrive/chameleon
e314f57129a9d5db7c7526dcfeb15d82493e16a0
[ "Apache-2.0" ]
null
null
null
defmodule HSLTest do use ExUnit.Case use ChameleonTest.Case alias Chameleon.{Color, CMYK, Hex, HSL, HSV, Keyword, Pantone, RGB} doctest Chameleon.HSL describe "RGB and HSL conversions" do test "converts from RGB to HSL" do for %{rgb: [r, g, b], hsl: [h, s, l]} <- color_table() do assert H...
32.11828
89
0.588216
5a82d6520524d35139d49fd1fa4e31515922e346
413
ex
Elixir
lib/handlers.ex
anthony-freitas/ex-homerico
66d94f9a46643a57050db9781931424a4858cd87
[ "MIT" ]
null
null
null
lib/handlers.ex
anthony-freitas/ex-homerico
66d94f9a46643a57050db9781931424a4858cd87
[ "MIT" ]
null
null
null
lib/handlers.ex
anthony-freitas/ex-homerico
66d94f9a46643a57050db9781931424a4858cd87
[ "MIT" ]
null
null
null
########################################################################################################################## defmodule Unsafe.Handler do def bang!({:ok, return}), do: return def bang!({:error, reason}), do: throw reason def bang!(_), do: throw "invalid return" end ##############################...
31.769231
122
0.263923
5a8320f99a1027125bc151e084265f411d2fb7cb
68
ex
Elixir
web/views/registration_view.ex
rockerBOO/rockerboo.net
13716f3c0ac6bac370919c3d6f2394a9dbdd4b3b
[ "MIT" ]
null
null
null
web/views/registration_view.ex
rockerBOO/rockerboo.net
13716f3c0ac6bac370919c3d6f2394a9dbdd4b3b
[ "MIT" ]
null
null
null
web/views/registration_view.ex
rockerBOO/rockerboo.net
13716f3c0ac6bac370919c3d6f2394a9dbdd4b3b
[ "MIT" ]
null
null
null
defmodule Personal.RegistrationView do use Personal.Web, :view end
22.666667
38
0.823529
5a83390f188a62a3fbb035211ecb9556955c8986
733
ex
Elixir
lib/tweetyodel_live_web/gettext.ex
kpanic/tweetyodel_live
fd294ae2e171c215f8048f48e919d2de0757059a
[ "Apache-2.0" ]
1
2020-01-12T21:52:15.000Z
2020-01-12T21:52:15.000Z
lib/tweetyodel_live_web/gettext.ex
kpanic/tweetyodel_live
fd294ae2e171c215f8048f48e919d2de0757059a
[ "Apache-2.0" ]
null
null
null
lib/tweetyodel_live_web/gettext.ex
kpanic/tweetyodel_live
fd294ae2e171c215f8048f48e919d2de0757059a
[ "Apache-2.0" ]
null
null
null
defmodule TweetyodelLiveWeb.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 TweetyodelLiveWeb.Gettext # Simple translation gett...
29.32
72
0.687585
5a8373e9e3381fe5fb2f6f01b28b4d77a1be3595
95
exs
Elixir
006.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
006.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
006.exs
jotakami/ex-euler
0b7f1b2343c5339ccbaaaba9b8f8d0088b112df2
[ "MIT" ]
null
null
null
Enum.map_reduce(1..100, 0, fn n, sum -> {2*sum*n, sum+n} end) |> elem(0) |> Enum.sum |> IO.puts
23.75
61
0.578947
5a838a855999b401fdac327fb46af80277cbb8c4
292
ex
Elixir
lib/types/all_queued_transfer_struct.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
3
2017-11-29T05:07:35.000Z
2019-12-18T17:16:41.000Z
lib/types/all_queued_transfer_struct.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
1
2021-12-02T19:35:28.000Z
2022-03-29T09:40:52.000Z
lib/types/all_queued_transfer_struct.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
2
2017-11-29T05:07:30.000Z
2020-11-10T07:10:42.000Z
defmodule CWMP.Protocol.Messages.AllQueuedTransferStruct do @derive [Poison.Encoder] defstruct commandkey: nil, state: 0, is_download: false, filetype: nil, filesize: 0, target_filename: nil end
29.2
59
0.541096
5a839ce5382946a1ccce2bac57fb7fb72694e3b2
1,538
ex
Elixir
DL-RHC/DL-RHC.ELEMENT-IoT.ex
Realscrat/decentlab-decoders
3ca5006cd85e3772a15a1b3fff3922c50979eeb6
[ "MIT" ]
13
2020-01-18T22:08:44.000Z
2022-02-06T14:19:57.000Z
DL-RHC/DL-RHC.ELEMENT-IoT.ex
Realscrat/decentlab-decoders
3ca5006cd85e3772a15a1b3fff3922c50979eeb6
[ "MIT" ]
4
2019-05-10T07:17:41.000Z
2021-10-20T16:24:04.000Z
DL-RHC/DL-RHC.ELEMENT-IoT.ex
Realscrat/decentlab-decoders
3ca5006cd85e3772a15a1b3fff3922c50979eeb6
[ "MIT" ]
15
2019-06-04T06:13:32.000Z
2022-02-15T07:28:52.000Z
# https://www.decentlab.com/products/high-precision-air-temperature-and-humidity-sensor-with-radiation-shield-for-lorawan defmodule Parser do use Platform.Parsing.Behaviour ## test payloads # 0202e00003a9fd01341ca285f30c60 def fields do [ %{field: "sensor_id", display: "Sensor ID", unit: ""}, ...
30.156863
121
0.556567
5a83a690f7f39fa2f29e5cae95d2cebc234ad430
1,546
ex
Elixir
clients/vault/lib/google_api/vault/v1/model/cloud_storage_sink.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vault/lib/google_api/vault/v1/model/cloud_storage_sink.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vault/lib/google_api/vault/v1/model/cloud_storage_sink.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.893617
145
0.739974
5a83a9306686d5d4cf9ba92f755ae3bf7e24557c
501
ex
Elixir
lib/oauth2/util.ex
trustatom-oss/oauth2c
342372624529c9e92897915c85b12418fb1f41b8
[ "MIT" ]
null
null
null
lib/oauth2/util.ex
trustatom-oss/oauth2c
342372624529c9e92897915c85b12418fb1f41b8
[ "MIT" ]
null
null
null
lib/oauth2/util.ex
trustatom-oss/oauth2c
342372624529c9e92897915c85b12418fb1f41b8
[ "MIT" ]
null
null
null
defmodule OAuth2.Util do def unix_now do {mega, sec, _micro} = :erlang.now (mega * 1_000_000) + sec end def content_type(headers) do case List.keyfind(headers, "Content-Type", 0) do {"Content-Type", content_type} -> case Plug.Conn.Utils.content_type(content_type) do {:ok, typ...
22.772727
58
0.56487
5a83b4508adc20d36552288527f1baafe4a3484e
856
ex
Elixir
test/support/channel_case.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
189
2018-09-25T09:02:41.000Z
2022-03-09T13:52:06.000Z
test/support/channel_case.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
29
2018-09-26T05:51:18.000Z
2021-11-05T08:55:03.000Z
test/support/channel_case.ex
ramkrishna70/opencov
7a3415f8eebb797ad1f7b6c832daa4f04d70af8d
[ "MIT" ]
32
2018-10-21T12:28:11.000Z
2022-03-28T02:20:19.000Z
defmodule Opencov.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 ...
23.777778
58
0.714953
5a83b4572e0e6d0c97128e601b262a44189ec8df
752
ex
Elixir
lib/code_corps/services/project_service.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
lib/code_corps/services/project_service.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
lib/code_corps/services/project_service.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.Services.ProjectService do @moduledoc """ Handles special CRUD operations for `CodeCorps.Project`. """ import Ecto.Query alias CodeCorps.{Project, Repo, StripeConnectPlan, StripeConnectSubscription} def update_project_totals(%Project{stripe_connect_plan: %StripeConnectPlan{id: plan_id...
30.08
104
0.734043
5a83c187b0866404e77cc64bd88f2611b0fa0e46
8,678
ex
Elixir
lib/webmentions.ex
sfusato/webmentions-elixir
b31374be9c65bda5b767fcf99015597e77d2ada2
[ "MIT" ]
14
2016-02-27T10:27:51.000Z
2022-02-25T13:03:48.000Z
lib/webmentions.ex
sfusato/webmentions-elixir
b31374be9c65bda5b767fcf99015597e77d2ada2
[ "MIT" ]
8
2021-02-23T18:23:47.000Z
2022-02-27T06:16:53.000Z
lib/webmentions.ex
sfusato/webmentions-elixir
b31374be9c65bda5b767fcf99015597e77d2ada2
[ "MIT" ]
5
2018-11-20T22:00:11.000Z
2022-02-25T16:56:09.000Z
defmodule Webmentions do use Tesla alias Webmentions.Utils alias Webmentions.Response plug(Tesla.Middleware.FollowRedirects, max_redirects: 3) plug(Tesla.Middleware.FormUrlencoded) @spec send_webmentions(String.t(), String.t()) :: {:ok, [Response.t()]} | {:error, integer()} | {:error, String.t()} def s...
31.904412
118
0.594146
5a83f7e5438f5e678c0762c7f109075fd4e0199e
2,810
exs
Elixir
mix.exs
narrowtux/swoosh
d552484ece04a1e76d0c6f21aff077400634484a
[ "MIT" ]
null
null
null
mix.exs
narrowtux/swoosh
d552484ece04a1e76d0c6f21aff077400634484a
[ "MIT" ]
null
null
null
mix.exs
narrowtux/swoosh
d552484ece04a1e76d0c6f21aff077400634484a
[ "MIT" ]
null
null
null
defmodule Swoosh.Mixfile do use Mix.Project @version "0.25.5" def project do [ app: :swoosh, version: @version, elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), al...
24.434783
131
0.53274
5a83fc7fb8f9587a0e79445a71f92bd184bd80d7
508
exs
Elixir
apps/ewallet_api/test/ewallet_api/global/controllers/status_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/test/ewallet_api/global/controllers/status_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/test/ewallet_api/global/controllers/status_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWalletAPI.StatusControllerTest do use EWalletAPI.ConnCase, async: true describe "GET request to root url" do test "returns status ok" do response = build_conn() |> get(@base_dir <> "/") |> json_response(:ok) assert response == %{ "success" => true,...
23.090909
44
0.472441
5a83fef45e8370b17cd9d676865d120197bddc93
586
exs
Elixir
test/controllers/user_controller_test.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
27
2016-10-15T12:13:22.000Z
2021-02-07T20:31:41.000Z
test/controllers/user_controller_test.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
null
null
null
test/controllers/user_controller_test.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
4
2016-08-21T15:03:29.000Z
2019-11-22T13:15:29.000Z
defmodule EmbedChatWeb.UserControllerTest do use EmbedChatWeb.ConnCase alias EmbedChat.User @valid_attrs %{password: "some content", email: "some@content.com", name: "name"} defp room_count(query), do: Repo.one(from v in query, select: count(v.id)) test "creates user and user's room when data is valid", %{...
36.625
83
0.706485
5a841cc500bea647a7c2a88f67c08eb81bf0a892
1,467
exs
Elixir
config/test.exs
StickyFloors/quizquadaminos
03e3b5f150d3a911efa2174bc4631a0ee6b54888
[ "MIT" ]
null
null
null
config/test.exs
StickyFloors/quizquadaminos
03e3b5f150d3a911efa2174bc4631a0ee6b54888
[ "MIT" ]
null
null
null
config/test.exs
StickyFloors/quizquadaminos
03e3b5f150d3a911efa2174bc4631a0ee6b54888
[ "MIT" ]
null
null
null
import Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :quadquizaminos, Quadquizaminos.Repo, username: "postgres", password: "postgres", database: "quadquizam...
31.891304
98
0.771643
5a843a9655f8dda69faacb97cfb5a1a956875d51
11,325
ex
Elixir
lib/iex/lib/iex/server.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
2
2021-11-10T01:18:14.000Z
2021-11-10T01:35:54.000Z
lib/iex/lib/iex/server.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
1
2021-10-21T08:22:30.000Z
2021-10-21T08:22:30.000Z
lib/iex/lib/iex/server.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
1
2020-12-18T19:20:35.000Z
2020-12-18T19:20:35.000Z
defmodule IEx.State do @moduledoc false # This state is exchanged between IEx.Server and # IEx.Evaluator which is why it is a struct. defstruct buffer: "", counter: 1, prefix: "iex", on_eof: :stop_evaluator, evaluator_options: [], previous_state: nil ...
28.743655
101
0.642384
5a8460166649bdc0471f3ee4e7ecc12a63348c8d
98
exs
Elixir
test/jsonapi_issue_134_web/views/layout_view_test.exs
MarkESDR/jsonapi_issue_134
6a0d41b1521a8bd9a21442ab6352b12139fb8c1a
[ "MIT" ]
null
null
null
test/jsonapi_issue_134_web/views/layout_view_test.exs
MarkESDR/jsonapi_issue_134
6a0d41b1521a8bd9a21442ab6352b12139fb8c1a
[ "MIT" ]
null
null
null
test/jsonapi_issue_134_web/views/layout_view_test.exs
MarkESDR/jsonapi_issue_134
6a0d41b1521a8bd9a21442ab6352b12139fb8c1a
[ "MIT" ]
null
null
null
defmodule JsonapiIssue134Web.LayoutViewTest do use JsonapiIssue134Web.ConnCase, async: true end
24.5
46
0.857143
5a8463b6285bb9d2d78818c1dbc2c28fa248a33d
46
exs
Elixir
test/shippo_test.exs
christopherlai/shippo
33d62242a5c3ad1d935888150d5cd630404d91f3
[ "Unlicense", "MIT" ]
null
null
null
test/shippo_test.exs
christopherlai/shippo
33d62242a5c3ad1d935888150d5cd630404d91f3
[ "Unlicense", "MIT" ]
null
null
null
test/shippo_test.exs
christopherlai/shippo
33d62242a5c3ad1d935888150d5cd630404d91f3
[ "Unlicense", "MIT" ]
null
null
null
defmodule ShippoTest do use ExUnit.Case end
11.5
23
0.804348
5a8463f665ccd2dff0bcf0b7d8765ef5e9037400
2,494
ex
Elixir
lib/livebook/runtime/embedded.ex
chriskdon/livebook
b1b573b5f4b49b2e90585e8f511e7b261dcae550
[ "Apache-2.0" ]
1,846
2021-04-13T14:46:36.000Z
2021-07-14T20:37:40.000Z
lib/livebook/runtime/embedded.ex
chriskdon/livebook
b1b573b5f4b49b2e90585e8f511e7b261dcae550
[ "Apache-2.0" ]
411
2021-07-15T07:41:54.000Z
2022-03-31T21:34:22.000Z
lib/livebook/runtime/embedded.ex
chriskdon/livebook
b1b573b5f4b49b2e90585e8f511e7b261dcae550
[ "Apache-2.0" ]
130
2021-04-13T15:43:55.000Z
2021-07-12T16:57:46.000Z
defmodule Livebook.Runtime.Embedded do @moduledoc false # A runtime backed by the same node Livebook is running in. # # This runtime is reserved for specific use cases, # where there is no option of starting a separate # Elixir runtime. defstruct [:node, :server_pid] @type t :: %__MODULE__{ ...
31.175
97
0.729751
5a8464f9ff852633c381a9e7d89cfc6332f3447c
9,163
ex
Elixir
lib/mix/phoenix.ex
sheharyarn/phoenix
60fce56798cf074a784988ebedb97d17247e5d68
[ "MIT" ]
1
2019-04-24T09:28:15.000Z
2019-04-24T09:28:15.000Z
lib/mix/phoenix.ex
sheharyarn/phoenix
60fce56798cf074a784988ebedb97d17247e5d68
[ "MIT" ]
null
null
null
lib/mix/phoenix.ex
sheharyarn/phoenix
60fce56798cf074a784988ebedb97d17247e5d68
[ "MIT" ]
null
null
null
defmodule Mix.Phoenix do # Conveniences for Phoenix tasks. @moduledoc false @doc """ Evals EEx files from source dir. Files are evaluated against EEx according to the given binding. """ def eval_from(apps, source_file_path, binding) do sources = Enum.map(apps, &to_app_source(&1, source_file_path))...
26.105413
90
0.616829
5a8465209d0d1794f026f3b4f2afbc21fabbb184
1,850
ex
Elixir
lib/buy_the_food_web/telemetry.ex
Fomich686/buy_the_food
ca4638a4efbb5f86347948ad07bcf7827f6523f9
[ "Apache-2.0" ]
null
null
null
lib/buy_the_food_web/telemetry.ex
Fomich686/buy_the_food
ca4638a4efbb5f86347948ad07bcf7827f6523f9
[ "Apache-2.0" ]
null
null
null
lib/buy_the_food_web/telemetry.ex
Fomich686/buy_the_food
ca4638a4efbb5f86347948ad07bcf7827f6523f9
[ "Apache-2.0" ]
null
null
null
defmodule BuyTheFoodWeb.Telemetry do 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 measurements # every 10_000ms. Lea...
33.035714
86
0.677297
5a84895f103f14c3d78aa9bb91239e14967e7921
348
ex
Elixir
lib/breaking_bad/circuit_breaker_supervisor.ex
tv4-infrastruktur/breaking_bad
b23f11130320339c50677870f4f06e9ad64f3d00
[ "MIT" ]
null
null
null
lib/breaking_bad/circuit_breaker_supervisor.ex
tv4-infrastruktur/breaking_bad
b23f11130320339c50677870f4f06e9ad64f3d00
[ "MIT" ]
null
null
null
lib/breaking_bad/circuit_breaker_supervisor.ex
tv4-infrastruktur/breaking_bad
b23f11130320339c50677870f4f06e9ad64f3d00
[ "MIT" ]
null
null
null
defmodule BreakingBad.CircuitBreaker.Supervisor do use Supervisor def start_link(config \\ []) do Supervisor.start_link(__MODULE__, config) end def init(configs) do Enum.map(configs, fn config -> worker(BreakingBad.CircuitBreaker, [config], id: config.name) end) |> Supervisor.init(strate...
23.2
67
0.712644
5a849e289a817fb2afa0e6b81c8de3e7c22c67f1
349
ex
Elixir
lib/mix/lib/mix/tasks/escript.uninstall.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/mix/lib/mix/tasks/escript.uninstall.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/escript.uninstall.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
8
2018-02-20T18:30:53.000Z
2019-06-18T14:23:31.000Z
defmodule Mix.Tasks.Escript.Uninstall do use Mix.Task @shortdoc "Uninstalls escripts" @moduledoc """ Uninstalls local escripts: mix escript.uninstall escript_name """ def run(argv) do if path = Mix.Local.Installer.uninstall(Mix.Local.path_for(:escript), "escript", argv) do File.rm(path ...
18.368421
93
0.676218
5a84a775fd256c028a50d61a74e185902cebcfe8
6,774
ex
Elixir
lib/bamboo/mailer.ex
clairton/bamboo
f2e4ddf177bbcf2c90d010c53c2fa9251fdf1b01
[ "MIT" ]
null
null
null
lib/bamboo/mailer.ex
clairton/bamboo
f2e4ddf177bbcf2c90d010c53c2fa9251fdf1b01
[ "MIT" ]
null
null
null
lib/bamboo/mailer.ex
clairton/bamboo
f2e4ddf177bbcf2c90d010c53c2fa9251fdf1b01
[ "MIT" ]
1
2020-04-21T12:36:34.000Z
2020-04-21T12:36:34.000Z
defmodule Bamboo.Mailer do @moduledoc """ Sets up mailers that make it easy to configure and swap adapters. Adds `deliver_now/1` and `deliver_later/1` functions to the mailer module it is used by. ## Bamboo ships with the following adapters * `Bamboo.MandrillAdapter` * `Bamboo.LocalAdapter` * `Bamboo.T...
26.774704
97
0.663714
5a8519e1e4231e7d0dd10e790f273cfa736cb72e
36,444
ex
Elixir
lib/oli/utils/db_seeder.ex
dtiwarATS/oli-torus
d14e2f42f3a94c57ad1cd6e9c9930b54f122215c
[ "MIT" ]
null
null
null
lib/oli/utils/db_seeder.ex
dtiwarATS/oli-torus
d14e2f42f3a94c57ad1cd6e9c9930b54f122215c
[ "MIT" ]
null
null
null
lib/oli/utils/db_seeder.ex
dtiwarATS/oli-torus
d14e2f42f3a94c57ad1cd6e9c9930b54f122215c
[ "MIT" ]
null
null
null
defmodule Oli.Seeder do import Ecto.Query, warn: false import Oli.Delivery.Attempts.Core alias Oli.Publishing alias Oli.Repo alias Oli.Accounts.{SystemRole, ProjectRole, Author} alias Oli.Institutions.Institution alias Oli.Delivery.Attempts.Core.{ResourceAccess} alias Oli.Activities alias Oli.Activit...
30.344713
102
0.623889
5a851c9f8e9a3434e6d3527224f04ec4291c159b
364
exs
Elixir
test/unit/spell/transport/raw_socket_test.exs
andykingking/spell
fc7f3c5235bc45017e7a8a51b6fb3159b2d750e2
[ "Apache-2.0" ]
76
2015-05-14T20:44:55.000Z
2022-03-25T02:24:27.000Z
test/unit/spell/transport/raw_socket_test.exs
andykingking/spell
fc7f3c5235bc45017e7a8a51b6fb3159b2d750e2
[ "Apache-2.0" ]
46
2015-05-09T19:46:49.000Z
2019-08-02T04:01:46.000Z
test/unit/spell/transport/raw_socket_test.exs
andykingking/spell
fc7f3c5235bc45017e7a8a51b6fb3159b2d750e2
[ "Apache-2.0" ]
27
2015-06-23T11:32:34.000Z
2020-09-21T15:36:42.000Z
defmodule Spell.Transport.RawSocketTest do use ExUnit.Case alias Spell.Transport.RawSocket @serializer Spell.Config.serializer test "new/1 -- bad host" do assert {:error, :nxdomain} = RawSocket.connect(@serializer, host: "bad_host") assert {:error, :nxdomain} = RawSocket.connect(@serializ...
24.266667
66
0.700549
5a852a649b46fe45e30919520361452531f5a857
386
ex
Elixir
lib/supervision_tree/moneypenny.ex
silbermm/memelex
1ab62069ceb4deb773b479b6ed21ac34ae0bfab5
[ "Apache-2.0" ]
5
2021-11-03T03:45:59.000Z
2021-12-14T04:39:06.000Z
lib/supervision_tree/moneypenny.ex
silbermm/memelex
1ab62069ceb4deb773b479b6ed21ac34ae0bfab5
[ "Apache-2.0" ]
1
2021-12-14T18:26:14.000Z
2021-12-14T18:26:14.000Z
lib/supervision_tree/moneypenny.ex
silbermm/memelex
1ab62069ceb4deb773b479b6ed21ac34ae0bfab5
[ "Apache-2.0" ]
3
2021-12-07T01:51:55.000Z
2021-12-08T22:21:46.000Z
defmodule Memex.MoneyPenny do use Supervisor def start_link(params) do Supervisor.start_link(__MODULE__, params, name: __MODULE__) end @impl true def init(_params) do children = [ {DynamicSupervisor, strategy: :one_for_one, name: Agent.DynamicSupervisor}, Memex.Agents.BackupManager ...
21.444444
81
0.720207
5a854e56a8fd4053c35f25b9708f79b228f81398
283
exs
Elixir
elixir/priv/repo/migrations/20210921234614_create_companies.exs
hogiyogi597/web-homework
d394458b7e0761301451ed51f69fd6a9629fba76
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/20210921234614_create_companies.exs
hogiyogi597/web-homework
d394458b7e0761301451ed51f69fd6a9629fba76
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/20210921234614_create_companies.exs
hogiyogi597/web-homework
d394458b7e0761301451ed51f69fd6a9629fba76
[ "MIT" ]
null
null
null
defmodule Homework.Repo.Migrations.CreateCompanies do use Ecto.Migration def change do create table(:companies, primary_key: false) do add(:id, :uuid, primary_key: true) add(:name, :string) add(:credit_line, :integer) timestamps() end end end
20.214286
53
0.671378
5a8566e55b99d951d77b349cbb9b947f99b29951
4,475
ex
Elixir
lib/changelog_web/controllers/admin/news/news_item_controller.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
1
2018-01-22T20:07:10.000Z
2018-01-22T20:07:10.000Z
lib/changelog_web/controllers/admin/news/news_item_controller.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
lib/changelog_web/controllers/admin/news/news_item_controller.ex
joebew42/changelog.com
da4ec68d15f3a2b4b6c29033443d7e7afe814d18
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Admin.NewsItemController do use ChangelogWeb, :controller alias Changelog.{HtmlKit, NewsItem, NewsSource, NewsQueue, Topic, UrlKit} plug :scrub_params, "news_item" when action in [:create, :update] plug :detect_quick_form when action in [:new, :create] def index(conn = %{assigns: %{c...
29.248366
113
0.642235
5a85680c5fc0b8d6f17d63f1060d39cab3ad73f9
401
ex
Elixir
app/lib/noodl_web/controllers/guide_controller.ex
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
1
2021-01-20T20:00:50.000Z
2021-01-20T20:00:50.000Z
app/lib/noodl_web/controllers/guide_controller.ex
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
null
null
null
app/lib/noodl_web/controllers/guide_controller.ex
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
null
null
null
defmodule NoodlWeb.GuideController do use NoodlWeb, :controller alias Phoenix.LiveView.Controller alias NoodlWeb.Live.Guide def index(conn, _params) do conn |> Controller.live_render(Guide.Index, session: %{"user" => conn.assigns[:user]}) end def stream(conn, _params) do conn |> Controlle...
23.588235
86
0.703242
5a85686ab72a8dffcf71941564f8b9161acfb0f4
2,067
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/region_instance_groups_list_instances_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/region_instance_groups_list_instances_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/region_instance_groups_list_instances_warning_data.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...
39.75
527
0.747944
5a85aa29bfd6e214be6b19f0a5c184f405b3388e
10,012
exs
Elixir
lib/elixir/test/elixir/kernel/lexical_tracker_test.exs
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
1
2019-06-27T08:47:13.000Z
2019-06-27T08:47:13.000Z
lib/elixir/test/elixir/kernel/lexical_tracker_test.exs
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/lexical_tracker_test.exs
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.LexicalTrackerTest do use ExUnit.Case, async: true alias Kernel.LexicalTracker, as: D setup do {:ok, pid} = D.start_link() {:ok, [pid: pid]} end test "can add remote dispatch", config do D.remote_dispatch(config[:pid], String, :...
33.373333
93
0.634539
5a85e7b7d2398e5574731a166ddd47b9026ed7c3
1,019
ex
Elixir
lib/cloudflare_stream/tus/client/utils.ex
reetou/cloudflare_stream_ex
eb8715d788a77e0def5d47a9ee336fd1374fe209
[ "MIT" ]
null
null
null
lib/cloudflare_stream/tus/client/utils.ex
reetou/cloudflare_stream_ex
eb8715d788a77e0def5d47a9ee336fd1374fe209
[ "MIT" ]
null
null
null
lib/cloudflare_stream/tus/client/utils.ex
reetou/cloudflare_stream_ex
eb8715d788a77e0def5d47a9ee336fd1374fe209
[ "MIT" ]
null
null
null
defmodule CloudflareStream.TusClient.Utils do @moduledoc false @doc false def get_header(headers, header_name) do headers |> Enum.map(fn {header, value} -> {String.downcase(header), value} end) |> get_header_impl(String.downcase(header_name)) end @doc false def add_version_hdr(header...
21.680851
70
0.63788
5a85fe4c67f2db614363f43da60299e28e0d46e9
362
exs
Elixir
priv/repo/migrations/0600_create_chapters.exs
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
92
2019-01-03T11:46:23.000Z
2022-02-19T21:28:44.000Z
priv/repo/migrations/0600_create_chapters.exs
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
350
2019-04-11T07:55:51.000Z
2021-08-03T11:19:05.000Z
priv/repo/migrations/0600_create_chapters.exs
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
10
2019-04-18T12:47:27.000Z
2022-01-25T20:49:15.000Z
defmodule Radiator.Repo.Migrations.CreateChapters do use Ecto.Migration def change do create table(:chapters, primary_key: false) do add :audio_id, references(:audios, on_delete: :delete_all), primary_key: true add :start, :integer, primary_key: true add :title, :text add :link, :text ...
24.133333
83
0.679558
5a8605bbf2bf428453492ccb12f4ec2efe7ebf09
1,116
ex
Elixir
lib/pummpcomm/history/result_daily_total.ex
infinity-aps/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
15
2017-08-31T00:58:47.000Z
2020-01-12T03:53:13.000Z
lib/pummpcomm/history/result_daily_total.ex
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
1
2017-09-15T02:09:31.000Z
2017-09-15T02:09:31.000Z
lib/pummpcomm/history/result_daily_total.ex
vladhj38/pummpcomm
7380585ecd110ab1c19d2aea3880e51e3f433050
[ "MIT" ]
3
2017-09-10T17:24:59.000Z
2019-09-10T19:41:49.000Z
defmodule Pummpcomm.History.ResultDailyTotal do @moduledoc """ The number of strokes and units given in a day """ alias Pummpcomm.{DateDecoder, Insulin} @behaviour Pummpcomm.History.Decoder # Types @typedoc """ The number of logic strokes of the stepper motor. NOT the actual number of steps of the ...
26.571429
119
0.678315
5a860c0bc1cd602e1a808fb92a9b836d9dae623e
2,235
ex
Elixir
apps/thundermoon_web/lib/thundermoon_web/live/chat_live/index.ex
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
null
null
null
apps/thundermoon_web/lib/thundermoon_web/live/chat_live/index.ex
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
null
null
null
apps/thundermoon_web/lib/thundermoon_web/live/chat_live/index.ex
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
null
null
null
defmodule ThundermoonWeb.ChatLive.Index do use ThundermoonWeb, :live_view import Canada.Can alias Phoenix.PubSub alias Thundermoon.Accounts alias Thundermoon.ChatMessages alias ThundermoonWeb.Presence alias ThundermoonWeb.ChatLive.Message @impl true def mount(_params, session, socket) do use...
26.927711
91
0.662192
5a8665734267094ced3ed8c092eaa51f59079e2e
122
exs
Elixir
language-practice/Elixir/elixir-concurrency-basics/liveportal/test/liveportal_test.exs
cjschneider2/practice_code
5d9b793eccca39262fb452fa1f3f53e6b54bc7aa
[ "Unlicense" ]
null
null
null
language-practice/Elixir/elixir-concurrency-basics/liveportal/test/liveportal_test.exs
cjschneider2/practice_code
5d9b793eccca39262fb452fa1f3f53e6b54bc7aa
[ "Unlicense" ]
null
null
null
language-practice/Elixir/elixir-concurrency-basics/liveportal/test/liveportal_test.exs
cjschneider2/practice_code
5d9b793eccca39262fb452fa1f3f53e6b54bc7aa
[ "Unlicense" ]
null
null
null
defmodule LiveportalTest do use ExUnit.Case doctest Liveportal test "the truth" do assert 1 + 1 == 2 end end
13.555556
27
0.688525
5a86896726fb67102ade83e241b7b21e16263a7f
431
exs
Elixir
apps/publishing/priv/repo/migrations/20210421123442_create_article_table.exs
pinpox/branchpage
e478ed9085c06cc3c5680b0ca4dc20eff2e74653
[ "MIT" ]
49
2021-06-06T05:40:30.000Z
2021-08-23T04:50:46.000Z
apps/publishing/priv/repo/migrations/20210421123442_create_article_table.exs
felipelincoln/mvp
6f3ca7dfafe884af40883f84f3eb825bb061c974
[ "MIT" ]
40
2021-01-09T16:50:50.000Z
2021-10-01T16:27:35.000Z
apps/publishing/priv/repo/migrations/20210421123442_create_article_table.exs
felipelincoln/mvp
6f3ca7dfafe884af40883f84f3eb825bb061c974
[ "MIT" ]
5
2021-02-20T12:58:39.000Z
2022-02-01T02:23:23.000Z
defmodule Publishing.Repo.Migrations.CreateArticleTable do use Ecto.Migration def change do create table(:article, primary_key: false) do add :id, :uuid, primary_key: true, default: fragment("gen_random_uuid()") add :title, :string add :preview, :text add :url, :text add :blog_id,...
23.944444
79
0.665893
5a86c3d2817a381f80399c086c625ca0dc866e42
1,698
ex
Elixir
clients/pub_sub_lite/lib/google_api/pub_sub_lite/v1/model/capacity.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/pub_sub_lite/lib/google_api/pub_sub_lite/v1/model/capacity.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/pub_sub_lite/lib/google_api/pub_sub_lite/v1/model/capacity.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...
33.96
146
0.724382
5a86c7d8c50535c33cdf2823d57dad1b03e7279c
112
exs
Elixir
test/picam_test.exs
JacquiManzi/picam
d03d7a1b20da4a53578c6d218635b832e1543af9
[ "BSD-3-Clause" ]
56
2019-03-31T07:03:16.000Z
2022-03-17T16:46:22.000Z
test/picam_test.exs
JacquiManzi/picam
d03d7a1b20da4a53578c6d218635b832e1543af9
[ "BSD-3-Clause" ]
12
2019-04-09T10:11:25.000Z
2022-03-06T13:30:27.000Z
test/picam_test.exs
JacquiManzi/picam
d03d7a1b20da4a53578c6d218635b832e1543af9
[ "BSD-3-Clause" ]
16
2019-04-08T05:36:14.000Z
2022-03-05T07:58:41.000Z
defmodule PicamTest do use ExUnit.Case doctest Picam test "the truth" do assert 1 + 1 == 2 end end
12.444444
22
0.660714
5a86e04e57abb1461313237221c7aa1303e5c854
6,058
ex
Elixir
apps/artemis_web/lib/artemis_web/views/incident_view.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis_web/lib/artemis_web/views/incident_view.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_web/lib/artemis_web/views/incident_view.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule ArtemisWeb.IncidentView do use ArtemisWeb, :view # Bulk Actions def available_bulk_actions() do [] end def allowed_bulk_actions(user) do Enum.reduce(available_bulk_actions(), [], fn entry, acc -> case entry.authorize.(user) do true -> [entry | acc] false -> acc ...
27.165919
100
0.554969