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
b246e5ccca58e255df598f784b21c9602ebd2004
5,906
exs
Elixir
test/lambdapad/cli_test.exs
altenwald/lambdapad
bf7807825b8c9b049d966e0cb9aece03144d02be
[ "Apache-2.0" ]
11
2021-04-09T09:35:03.000Z
2022-03-03T20:31:52.000Z
test/lambdapad/cli_test.exs
altenwald/lambdapad
bf7807825b8c9b049d966e0cb9aece03144d02be
[ "Apache-2.0" ]
null
null
null
test/lambdapad/cli_test.exs
altenwald/lambdapad
bf7807825b8c9b049d966e0cb9aece03144d02be
[ "Apache-2.0" ]
2
2021-04-09T15:44:44.000Z
2021-04-22T21:11:47.000Z
defmodule Lambdapad.CliTest do use ExUnit.Case alias Lambdapad.Cli describe "blog" do test "blog.erl" do file = Path.join([__DIR__, "../support/blog.erl"]) assert {:ok, mod} = Cli.Erl.compile(file) config = Cli.get_configs(mod, []) assert [%{format: :eterm, from: "blog.config", var_...
26.845455
85
0.442939
b24722705cf6feaaf37d3df38b5b56126bfa4e89
2,849
exs
Elixir
test/chewiepay_web/controllers/accounts_controller_test.exs
jennifertakagi/chewiepay
15b5eca89f56e2933610f3edda7412889dc08137
[ "MIT" ]
4
2021-02-22T18:27:51.000Z
2021-02-28T21:54:12.000Z
test/chewiepay_web/controllers/accounts_controller_test.exs
jennifertakagi/chewiepay
15b5eca89f56e2933610f3edda7412889dc08137
[ "MIT" ]
null
null
null
test/chewiepay_web/controllers/accounts_controller_test.exs
jennifertakagi/chewiepay
15b5eca89f56e2933610f3edda7412889dc08137
[ "MIT" ]
null
null
null
defmodule ChewiepayWeb.AccountsControllerTest do use ChewiepayWeb.ConnCase alias Chewiepay.{Account, User} describe "deposit/2" do setup %{conn: conn} do params = %{ name: "Jennifer", password: "123456", nickname: "jenni", email: "jennifer@email.com", age: 27 ...
28.207921
99
0.583363
b2472be1e8c1dad673d4da535309a410ec66703c
106
exs
Elixir
test/test_helper.exs
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
139
2019-11-29T02:11:40.000Z
2022-03-24T00:17:52.000Z
test/test_helper.exs
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
11
2020-01-23T15:43:58.000Z
2022-02-15T10:16:37.000Z
test/test_helper.exs
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
8
2021-10-09T16:36:35.000Z
2022-01-31T20:39:10.000Z
Path.wildcard(Path.join(__DIR__, "support/*.{ex,exs}")) |> Enum.each(&Code.require_file/1) ExUnit.start()
35.333333
90
0.707547
b2475c025155bd6f965324d7233af0373d9a1476
10,260
exs
Elixir
test/streams/single_stream_test.exs
c-moss-talk/eventstore
f02a0d8cea78608afb9ed1368c1fd26076d652b6
[ "MIT" ]
null
null
null
test/streams/single_stream_test.exs
c-moss-talk/eventstore
f02a0d8cea78608afb9ed1368c1fd26076d652b6
[ "MIT" ]
null
null
null
test/streams/single_stream_test.exs
c-moss-talk/eventstore
f02a0d8cea78608afb9ed1368c1fd26076d652b6
[ "MIT" ]
null
null
null
defmodule EventStore.Streams.SingleStreamTest do use EventStore.StorageCase alias EventStore.EventFactory alias EventStore.Streams.Stream @subscription_name "test_subscription" describe "append events to stream" do setup [:append_events_to_stream] test "should persist events", context do %{c...
31.18541
98
0.674074
b247699ecf51cbec6b24989b796b70cf3ffe6672
1,074
ex
Elixir
lib/eps_web/swagger/info.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
lib/eps_web/swagger/info.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
lib/eps_web/swagger/info.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
defmodule EPSWeb.Swagger.Info do @moduledoc """ The outline of the swagger document. """ require EPS.Enums def swagger_info do app_version = Mix.Project.config()[:version] scheme = if System.get_env("RELEASE"), do: "https", else: "http" %{ schemes: [scheme], info: %{ version...
26.85
103
0.574488
b2479871950f857406ad83467eb3f49a03bb8164
314
ex
Elixir
test/fixtures/warnings.ex
henrik/ex_doc
f09796782121f935e70cc51405d4773130fd70ca
[ "Apache-2.0", "CC-BY-4.0" ]
1,206
2015-01-02T02:05:12.000Z
2022-03-29T17:18:10.000Z
test/fixtures/warnings.ex
henrik/ex_doc
f09796782121f935e70cc51405d4773130fd70ca
[ "Apache-2.0", "CC-BY-4.0" ]
1,266
2015-01-03T03:26:04.000Z
2022-03-31T09:43:53.000Z
test/fixtures/warnings.ex
henrik/ex_doc
f09796782121f935e70cc51405d4773130fd70ca
[ "Apache-2.0", "CC-BY-4.0" ]
300
2015-01-03T04:07:24.000Z
2022-03-29T08:10:56.000Z
defmodule Warnings do @moduledoc """ `Warnings.bar/0` """ @moduledoc deprecated: "Use something without warnings" @typedoc """ `Warnings.bar/0` """ @type t() :: :ok @doc """ `Warnings.bar/0` """ @callback handle_foo() :: :ok @doc """ `Warnings.bar/0` """ def foo(), do: :ok end
13.652174
57
0.557325
b247bada5a26fd407903f8bc2915d0e22acad97b
244
ex
Elixir
testData/org/elixir_lang/formatting/no_parentheses_keywords_keyword_value_container_closing_alignment.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/formatting/no_parentheses_keywords_keyword_value_container_closing_alignment.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/formatting/no_parentheses_keywords_keyword_value_container_closing_alignment.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
# list one two: [ ] one two: [ ], three: [ ], four: five # map one two: %{ } one two: %{ }, three: %{ }, four: five # tuple one two: { } one two: { }, three: { }, four: five
6.971429
14
0.356557
b2481be5bbd62a3faf3486cb1d8660ee0b3cf854
184
ex
Elixir
test/fixtures/task_provider/lib/task_provider.ex
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
423
2017-07-19T18:40:45.000Z
2021-12-03T08:26:15.000Z
test/fixtures/task_provider/lib/task_provider.ex
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
115
2017-07-19T18:30:14.000Z
2020-10-27T20:53:32.000Z
test/fixtures/task_provider/lib/task_provider.ex
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
39
2017-07-20T03:14:18.000Z
2020-11-18T13:39:52.000Z
defmodule Bootleg.Tasks.Example do @moduledoc false use Bootleg.Task do task :example do IO.puts("~~EXAMPLE TASK~~") end before_task(:build, :example) end end
16.727273
34
0.663043
b2483a9c506f01d0a9644ecdca227feaebd883d2
1,633
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/import_product_sets_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vision/lib/google_api/vision/v1/model/import_product_sets_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vision/lib/google_api/vision/v1/model/import_product_sets_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.744681
162
0.757502
b2483d6e6f1a5596caaeaeccf86c98134612096c
2,730
ex
Elixir
lib/webdavex.ex
mugimaru/webdavex
1ab5af87275be1b534bacde694d3a3591ba47f7c
[ "MIT" ]
2
2021-04-13T08:33:22.000Z
2022-01-21T11:10:29.000Z
lib/webdavex.ex
mugimaru73/webdavex
bdf9fe8bce47de50e5b93d80a3484966b5cced4b
[ "MIT" ]
1
2021-12-08T08:37:10.000Z
2021-12-23T12:06:47.000Z
lib/webdavex.ex
mugimaru/webdavex
1ab5af87275be1b534bacde694d3a3591ba47f7c
[ "MIT" ]
1
2018-11-02T05:53:35.000Z
2018-11-02T05:53:35.000Z
defmodule Webdavex do @moduledoc """ WebDAV client for elixir applications. See `Webdavex.Client`. Refer to `Webdavex.Config` for detailed information on available options. ## Examples ### General usage defmodule MyClient use Webdavex, base_url: "https://webdav.com/my_app" end M...
36.4
116
0.611722
b248433c1d9638c5cd6e3deebdca5a271e0dd1c7
1,449
ex
Elixir
lib/surface/components/live_redirect.ex
tmepple/surface
200ce7b19fdbe40ae93340deb9eeee2154812cba
[ "MIT" ]
null
null
null
lib/surface/components/live_redirect.ex
tmepple/surface
200ce7b19fdbe40ae93340deb9eeee2154812cba
[ "MIT" ]
null
null
null
lib/surface/components/live_redirect.ex
tmepple/surface
200ce7b19fdbe40ae93340deb9eeee2154812cba
[ "MIT" ]
null
null
null
defmodule Surface.Components.LiveRedirect do @moduledoc """ Defines a link that will **redirect** to a new LiveView. Provides similar capabilities to Phoenix's built-in `live_redirect/2` function. The current LiveView will be shut down and a new one will be mounted in its place, without reloading the whol...
27.339623
86
0.660455
b248485a3afa8b311b52c5128658d00dea3b0162
578
ex
Elixir
lib/bincode/serializer.ex
LeonardBesson/bincode
0e2950e6d09eaf9e9cea439e33cad5397747e331
[ "MIT" ]
null
null
null
lib/bincode/serializer.ex
LeonardBesson/bincode
0e2950e6d09eaf9e9cea439e33cad5397747e331
[ "MIT" ]
null
null
null
lib/bincode/serializer.ex
LeonardBesson/bincode
0e2950e6d09eaf9e9cea439e33cad5397747e331
[ "MIT" ]
null
null
null
defprotocol Bincode.Serializer do @moduledoc """ Protocol responsible for serializing Elixir terms into binary representation. It is automatically implemented when you declare a struct with `Bincode.Structs.declare_struct` but you can also manually implement it for any Elixir term. """ @doc """ Serialize...
38.533333
97
0.735294
b24851c948fbee87d5e34a6c022134c57ad4c465
2,768
ex
Elixir
lib/customers/customer.ex
htdc/pinxs
809112cf16d007e58902b70272549076675d6c23
[ "MIT" ]
1
2019-06-03T06:46:02.000Z
2019-06-03T06:46:02.000Z
lib/customers/customer.ex
htdc/pinxs
809112cf16d007e58902b70272549076675d6c23
[ "MIT" ]
7
2018-05-23T11:10:10.000Z
2021-12-08T00:49:23.000Z
lib/customers/customer.ex
htdc/pinxs
809112cf16d007e58902b70272549076675d6c23
[ "MIT" ]
1
2018-07-02T03:09:51.000Z
2018-07-02T03:09:51.000Z
defmodule PINXS.Customers.Customer do alias PINXS.HTTP.API alias PINXS.Cards.Card alias __MODULE__ @moduledoc """ Provides functions for working with customers ## Required Fields When creating a Customer, the following fields must be provided - email and one of - card - card_token """ @...
23.066667
82
0.651373
b2485854967283272c34d94f1262d15d6e1bf542
7,390
ex
Elixir
apps/aecore/lib/aecore/channel/tx/channel_create_tx.ex
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
null
null
null
apps/aecore/lib/aecore/channel/tx/channel_create_tx.ex
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
2
2018-10-01T16:46:26.000Z
2018-10-01T19:45:42.000Z
apps/aecore/lib/aecore/channel/tx/channel_create_tx.ex
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
null
null
null
defmodule Aecore.Channel.Tx.ChannelCreateTx do @moduledoc """ Module defining the ChannelCreate transaction """ @behaviour Aecore.Tx.Transaction alias Aecore.Channel.Tx.ChannelCreateTx alias Aecore.Tx.{SignedTx, DataTx} alias Aecore.Account.{Account, AccountStateTree} alias Aecore.Chain.{Chainstate, I...
29.442231
97
0.654533
b24866f78dca53fc9b9fb520c75fa7352c80f829
189
exs
Elixir
Elixir/7lang7weeks/day3/states/test/test_helper.exs
kkirstein/proglang-playground
d00be09ba2bb2351c6f5287cc4d93fcaf21f75fd
[ "MIT" ]
null
null
null
Elixir/7lang7weeks/day3/states/test/test_helper.exs
kkirstein/proglang-playground
d00be09ba2bb2351c6f5287cc4d93fcaf21f75fd
[ "MIT" ]
null
null
null
Elixir/7lang7weeks/day3/states/test/test_helper.exs
kkirstein/proglang-playground
d00be09ba2bb2351c6f5287cc4d93fcaf21f75fd
[ "MIT" ]
null
null
null
# vim: ft=elixir sw=2 ts=2 # defmodule Should do defmacro should(name, options) do quote do test("should #{unquote name}", unquote(options)) end end end ExUnit.start()
13.5
54
0.650794
b2487ba2f97b62ce5e16d528bac9a1e45d18697f
1,789
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/group_or_segment.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/group_or_segment.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/group_or_segment.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...
35.78
99
0.742314
b2488224dbe3a6d21757b5945c35d00918e67798
914
ex
Elixir
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_error_reporting/lib/google_api/cloud_error_reporting/v1beta1/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.851852
74
0.766958
b248d2ca9377741613991e6f92b73c29e8a1d6b8
436
ex
Elixir
lib/future_made_concerts/spotify/schema/user.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
lib/future_made_concerts/spotify/schema/user.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
lib/future_made_concerts/spotify/schema/user.ex
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
defmodule FutureMadeConcerts.Spotify.Schema.User do @moduledoc """ Represents a Spotify user. """ @enforce_keys [:name, :avatar_url, :product] defstruct [:name, :avatar_url, :product] @type t :: %__MODULE__{ name: String.t(), avatar_url: String.t(), product: String.t() ...
24.222222
71
0.616972
b248d39c9ed34189bf061795ecd7e2cb2284db85
212
exs
Elixir
apps/ins/config/dev.exs
ODYLIGHT/ins_umbrella
40534551b18030b4621f882f33b0416ab60ba02a
[ "MIT" ]
null
null
null
apps/ins/config/dev.exs
ODYLIGHT/ins_umbrella
40534551b18030b4621f882f33b0416ab60ba02a
[ "MIT" ]
null
null
null
apps/ins/config/dev.exs
ODYLIGHT/ins_umbrella
40534551b18030b4621f882f33b0416ab60ba02a
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :ins, Ins.Repo, adapter: Ecto.Adapters.Postgres, username: "postgres", password: "postgres", database: "ins_dev", hostname: "localhost", pool_size: 10
19.272727
34
0.712264
b24932437e8a2dd986b6f194ba5220fe95615592
183
exs
Elixir
config/test.exs
nathanfaucett/ex-auth
52569522e7ee43dd2a713042a86971164cd57ccb
[ "MIT" ]
null
null
null
config/test.exs
nathanfaucett/ex-auth
52569522e7ee43dd2a713042a86971164cd57ccb
[ "MIT" ]
null
null
null
config/test.exs
nathanfaucett/ex-auth
52569522e7ee43dd2a713042a86971164cd57ccb
[ "MIT" ]
null
null
null
use Mix.Config config :auth, Auth.Repo, adapter: Ecto.Adapters.Postgres, username: "dev", password: "dev", database: "testdb_auth", hostname: "localhost", pool_size: 10
16.636364
34
0.688525
b24951805f9f686648c4379ab2afb4ccf5045be7
5,241
ex
Elixir
lib/vintage_net/wifi/utils.ex
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/wifi/utils.ex
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/wifi/utils.ex
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
defmodule VintageNet.WiFi.Utils do @moduledoc """ Various utility functions for handling WiFi information """ @type frequency_info() :: %{ band: VintageNet.WiFi.AccessPoint.band(), channel: non_neg_integer(), dbm_to_percent: function() } @doc """ Convert power in dBm ...
34.94
104
0.69605
b2495a24e93a13503f2fa531ac8f3e325e34209f
7,505
exs
Elixir
integration_test/support/schemas.exs
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
integration_test/support/schemas.exs
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
integration_test/support/schemas.exs
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.Schema do defmacro __using__(_) do quote do use Ecto.Schema type = Application.get_env(:ecto, :primary_key_type) || raise ":primary_key_type not set in :ecto application" @primary_key {:id, type, autogenerate: true} @foreign_key_type type end ...
25.35473
125
0.71046
b2496664f50685957bc312ace283f5109c145e53
2,870
exs
Elixir
test/runosaari_web/controllers/index_controller_test.exs
codevictory/runosaari.net
2462409ccf49987fa562b0ae189247c1fe6f1ccc
[ "MIT" ]
1
2021-11-02T07:43:13.000Z
2021-11-02T07:43:13.000Z
test/runosaari_web/controllers/index_controller_test.exs
codevictory/runosaari.net
2462409ccf49987fa562b0ae189247c1fe6f1ccc
[ "MIT" ]
null
null
null
test/runosaari_web/controllers/index_controller_test.exs
codevictory/runosaari.net
2462409ccf49987fa562b0ae189247c1fe6f1ccc
[ "MIT" ]
1
2021-05-19T18:43:09.000Z
2021-05-19T18:43:09.000Z
defmodule RunosaariWeb.IndexControllerTest do use RunosaariWeb.ConnCase alias Runosaari.Pages @create_attrs %{content: "some content", seqnum: 42} @update_attrs %{content: "some updated content", seqnum: 43} @invalid_attrs %{content: nil, seqnum: nil} def fixture(:index) do {:ok, index} = Pages.creat...
31.888889
92
0.671777
b249699bc48af4fd2cac48fc6c76a1cda96fa38e
609
exs
Elixir
ch03/exlivery/test/users/create_or_update_test.exs
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
ch03/exlivery/test/users/create_or_update_test.exs
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
ch03/exlivery/test/users/create_or_update_test.exs
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
defmodule Exlivery.Users.CreateOrUpdateTest do use ExUnit.Case alias Exlivery.Users.CreateOrUpdate setup %{} do Exlivery.start_agents() {:ok, user: %{ name: "Joe", email: "joe@email.com", tax_id: "123456", age: 25, address: "New York" }} end describe "c...
21
84
0.605911
b249c4856ec8cd2e3d5a545caa6532da8356ba49
3,005
exs
Elixir
test/create_update_pipeline_test.exs
fmcgeough/ex_aws_code_pipeline
b15936beb630e56fee26cccb486b7ec3dfa058b4
[ "MIT" ]
1
2020-01-12T03:31:03.000Z
2020-01-12T03:31:03.000Z
test/create_update_pipeline_test.exs
fmcgeough/ex_aws_code_pipeline
b15936beb630e56fee26cccb486b7ec3dfa058b4
[ "MIT" ]
null
null
null
test/create_update_pipeline_test.exs
fmcgeough/ex_aws_code_pipeline
b15936beb630e56fee26cccb486b7ec3dfa058b4
[ "MIT" ]
null
null
null
defmodule CreateUpdatePipelineTest do use ExUnit.Case # Note: artifact_stores requires a Map and not a KeyWord since the # key is a user string and not predefined atom. This is the case for # all pieces of input data that use a user defined string as a key. @pipeline [ artifact_store: [ encryption_...
27.072072
70
0.47787
b249c66e8208c6a074c5067d36c3aff4872ceff1
1,044
ex
Elixir
backend/lib/caffe/support/use_cases/middleware/logging.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
7
2020-03-27T08:26:52.000Z
2021-08-29T09:50:31.000Z
backend/lib/caffe/support/use_cases/middleware/logging.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
backend/lib/caffe/support/use_cases/middleware/logging.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
defmodule Caffe.Mediator.Middleware.Logging do require Logger def build(next) do fn request -> Logger.info(fn -> "Dispatching #{inspect(request)}" end) started_at = DateTime.utc_now() result = next.(request) case result do {:error, reason} -> Logger.info(fn -> ...
24.27907
86
0.613027
b249cf706f91b0a4a0d206bcfeacf58e3853631a
2,688
ex
Elixir
lib/ets.ex
christhekeele/ets
c484a342880d0f0596d2d019c284ac0b63247763
[ "MIT" ]
149
2018-12-06T02:17:40.000Z
2022-03-15T22:22:32.000Z
lib/ets.ex
christhekeele/ets
c484a342880d0f0596d2d019c284ac0b63247763
[ "MIT" ]
21
2019-02-25T15:06:19.000Z
2022-03-25T14:36:16.000Z
lib/ets.ex
christhekeele/ets
c484a342880d0f0596d2d019c284ac0b63247763
[ "MIT" ]
13
2019-02-26T16:37:50.000Z
2022-03-29T22:06:03.000Z
defmodule ETS do use ETS.Utils @moduledoc """ ETS, an Elixir wrapper for Erlang's [`:ets`](http://erlang.org/doc/man/ets.html) module. See `ETS.Set` for information on creating and managing Sets, and `ETS.Bag` for information on creating and managing Bags. See `ETS.KeyValueSet` for an abstraction which pro...
33.6
145
0.636905
b249ee3ae5bc86d8379f2709695bdcdc63496be2
1,093
ex
Elixir
lib/message.ex
Lazarus404/enki
a50f6bdfafa913f493c318c6347a6d5de6ee170d
[ "Apache-2.0" ]
3
2019-10-21T15:44:29.000Z
2021-03-24T20:20:15.000Z
lib/message.ex
Lazarus404/enki
a50f6bdfafa913f493c318c6347a6d5de6ee170d
[ "Apache-2.0" ]
null
null
null
lib/message.ex
Lazarus404/enki
a50f6bdfafa913f493c318c6347a6d5de6ee170d
[ "Apache-2.0" ]
null
null
null
defmodule Enki.Message do @moduledoc """ Message structure returned when dequeuing. """ alias Memento.Table.Definition @doc false defmacro __using__(opts) do opts = opts |> Keyword.put(:type, :ordered_set) |> Keyword.put(:autoincrement, false) Definition.validate_options!(opts) ...
23.76087
77
0.628545
b249f3efe62d8d04645c5c10779bd8cc26d1823e
59,436
exs
Elixir
test/ecto/adapters/myxql_test.exs
kevinlang/ecto_sql
1952ce2604419816f327833df858f0125eba5201
[ "Apache-2.0" ]
null
null
null
test/ecto/adapters/myxql_test.exs
kevinlang/ecto_sql
1952ce2604419816f327833df858f0125eba5201
[ "Apache-2.0" ]
null
null
null
test/ecto/adapters/myxql_test.exs
kevinlang/ecto_sql
1952ce2604419816f327833df858f0125eba5201
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.MyXQLTest do use ExUnit.Case, async: true import Ecto.Query alias Ecto.Queryable alias Ecto.Adapters.MyXQL.Connection, as: SQL alias Ecto.Migration.Reference defmodule Schema do use Ecto.Schema schema "schema" do field :x, :integer field :y, :integer fie...
41.768096
176
0.57053
b249f8a893dd2ddcab2e024216984c2003f1bc6c
2,421
ex
Elixir
deps/credo/lib/credo/check/warning/unused_enum_operation.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
deps/credo/lib/credo/check/warning/unused_enum_operation.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
1
2020-05-26T04:16:57.000Z
2020-05-26T04:16:57.000Z
deps/credo/lib/credo/check/warning/unused_enum_operation.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
3
2020-05-21T04:32:08.000Z
2021-07-28T05:14:01.000Z
defmodule Credo.Check.Warning.UnusedEnumOperation do @moduledoc """ With the exception of `Enum.each/2`, the result of a call to the Enum module's functions has to be used. While this is correct ... def prepend_my_username(my_username, usernames) do valid_usernames = Enum.reject(usernames, &is_n...
31.855263
78
0.712929
b24a1f02642fcb2c1e73d29ed8e3c0f58ab5b65e
1,245
exs
Elixir
server/config/prod.secret.exs
d-exclaimation/echoppe
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
1
2021-05-13T00:53:52.000Z
2021-05-13T00:53:52.000Z
server/config/prod.secret.exs
d-exclaimation/ez-cart
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
1
2021-06-02T19:18:10.000Z
2021-06-07T16:44:36.000Z
server/config/prod.secret.exs
d-exclaimation/ez-cart
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
29.642857
67
0.718876
b24a5e50c9d3ec51175553e4e1f0fc419aea5810
886
ex
Elixir
clients/cloud_trace/lib/google_api/cloud_trace/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/lib/google_api/cloud_trace/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_trace/lib/google_api/cloud_trace/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.814815
74
0.759594
b24a9b6ba7859f11e6f8591755f486de57fe060a
482
exs
Elixir
phoenix_rest_api/test/phoenix_rest_api_web/views/error_view_test.exs
mkdika/phoenix-rest-api
28470fd8cf2a2aa861070049388c6f54ba430e67
[ "MIT" ]
null
null
null
phoenix_rest_api/test/phoenix_rest_api_web/views/error_view_test.exs
mkdika/phoenix-rest-api
28470fd8cf2a2aa861070049388c6f54ba430e67
[ "MIT" ]
null
null
null
phoenix_rest_api/test/phoenix_rest_api_web/views/error_view_test.exs
mkdika/phoenix-rest-api
28470fd8cf2a2aa861070049388c6f54ba430e67
[ "MIT" ]
null
null
null
defmodule PhoenixRestApiWeb.ErrorViewTest do use PhoenixRestApiWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(PhoenixRestApiWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end ...
30.125
99
0.701245
b24acf0fb603900fc7ad14c355e1135c577b2dd8
492
exs
Elixir
day13.exs
hermanstehouwer/adventofcode2021
9000f0d3d96825f9ca1bb047cd7530e336022a16
[ "CC0-1.0" ]
null
null
null
day13.exs
hermanstehouwer/adventofcode2021
9000f0d3d96825f9ca1bb047cd7530e336022a16
[ "CC0-1.0" ]
null
null
null
day13.exs
hermanstehouwer/adventofcode2021
9000f0d3d96825f9ca1bb047cd7530e336022a16
[ "CC0-1.0" ]
null
null
null
[part1, [hd|tl]] = AOC_input.get_day_double(13) paper = Origami.input_to_paper(part1) #Part1 processed = Enum.reduce([hd], paper, &Origami.process_instruction_reducer/2) IO.inspect length(processed) #part2 processed = Enum.reduce([hd|tl], paper, &Origami.process_instruction_reducer/2) [max_x, max_y] = Origami.find_ma...
21.391304
79
0.672764
b24ae5e54af0f1078766f421c235a3c5957b21a6
559
ex
Elixir
apps/decoder_json/lib/decoder/json.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/decoder_json/lib/decoder/json.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/decoder_json/lib/decoder/json.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
defmodule Decoder.Json do use Definition, schema: Decoder.Json.V1 @derive Jason.Encoder defstruct chunk_size: 1000 defimpl Decoder do def lines_or_bytes(_t), do: :line def decode(t, stream) do stream |> Enum.to_list() |> List.flatten() |> Enum.join() |> Jason.decode!() ...
17.46875
41
0.626118
b24af5c2fe0864ac706553404d3ba4cec0c7e37c
855
ex
Elixir
lib/procore/resources/change_order_statuses.ex
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
6
2018-02-01T01:34:16.000Z
2020-08-31T15:15:08.000Z
lib/procore/resources/change_order_statuses.ex
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
6
2018-02-03T03:01:48.000Z
2021-06-08T18:39:40.000Z
lib/procore/resources/change_order_statuses.ex
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
3
2018-08-12T03:51:52.000Z
2020-02-27T14:29:14.000Z
defmodule Procore.Resources.ChangeOrderStatuses do @moduledoc """ Available actions for the Change Event resource. """ alias Procore.ErrorResult alias Procore.Request alias Procore.ResponseResult @doc """ Lists all Change Order Statuses with associated records in a project. """ @spec list(Tesla.Cl...
32.884615
71
0.684211
b24b6d778f1df6c78c0adf9decee45df18119e45
2,217
ex
Elixir
lib/rat_error/formatter.ex
silathdiir/rat_error
eff3b46db28071814b91c623729bbd951bbf6cfa
[ "MIT" ]
3
2017-10-10T10:38:38.000Z
2018-03-15T01:57:34.000Z
lib/rat_error/formatter.ex
silathdiir/rat_error
eff3b46db28071814b91c623729bbd951bbf6cfa
[ "MIT" ]
null
null
null
lib/rat_error/formatter.ex
silathdiir/rat_error
eff3b46db28071814b91c623729bbd951bbf6cfa
[ "MIT" ]
1
2017-10-10T10:39:17.000Z
2017-10-10T10:39:17.000Z
defmodule RatError.Formatter do @moduledoc """ Formats a RAT error. Formatter is used to retrieve the error Map result by formatting the parameters (error code, message, environment variables and so on) with the specified Structure (see 'config/*.exs' for detail). """ alias RatError.Structure @env_ke...
26.392857
76
0.650429
b24bddcdb53671374bc2765f6f06e866f17204ca
774
exs
Elixir
test/integration/unit_test/dry_run_test.exs
elbow-jason/zigler
3de4d6fe4def265b689bd21d3e0abad551bd2d50
[ "MIT" ]
null
null
null
test/integration/unit_test/dry_run_test.exs
elbow-jason/zigler
3de4d6fe4def265b689bd21d3e0abad551bd2d50
[ "MIT" ]
null
null
null
test/integration/unit_test/dry_run_test.exs
elbow-jason/zigler
3de4d6fe4def265b689bd21d3e0abad551bd2d50
[ "MIT" ]
null
null
null
defmodule ZiglerTest.ZigT do # a module with a single zig test use Zigler, dry_run: true ~Z""" /// nif: foo/0 fn foo() i32 { return 47; } test "foo returns 47" { assert(47 == foo()); } """ end defmodule ZiglerTest.Integration.UnitTest.DryRunTest do # checks which make sure our code looks good....
20.918919
69
0.674419
b24c14bdefde8b9fc97f7aee59502939eea211f5
2,098
exs
Elixir
mix.exs
dimitarvp/xqlite
99335427067a22c449a9e25cd698ddf1e8d17b08
[ "MIT" ]
19
2019-07-02T20:21:47.000Z
2021-08-07T06:40:42.000Z
mix.exs
dimitarvp/xqlite
99335427067a22c449a9e25cd698ddf1e8d17b08
[ "MIT" ]
4
2019-07-02T22:54:49.000Z
2020-05-05T18:49:34.000Z
mix.exs
dimitarvp/xqlite
99335427067a22c449a9e25cd698ddf1e8d17b08
[ "MIT" ]
2
2020-01-05T16:15:52.000Z
2020-02-27T18:12:51.000Z
defmodule Xqlite.MixProject do use Mix.Project @name "Xqlite" @version "0.1.1" def project do [ app: :xqlite, version: @version, elixir: "~> 1.7", name: @name, start_permanent: Mix.env() == :prod, docs: docs(), aliases: aliases(), deps: deps(), compile...
20.772277
95
0.536702
b24c32fe76a6bd372e57ff6cfcbe0d3575955ed9
1,679
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_document_output_config_gcs_output_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_document_output_config_gcs_output_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_document_output_config_gcs_output_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.092593
111
0.756403
b24c652423ce0b510e0adf9c07c747f3ffb53fc6
1,265
ex
Elixir
lib/exling/client.ex
joshrotenberg/exling
e79fd7bb721f0f3ea1c7572f24b59b350363e029
[ "Apache-2.0" ]
2
2017-04-13T05:09:20.000Z
2017-11-14T05:03:39.000Z
lib/exling/client.ex
joshrotenberg/exling
e79fd7bb721f0f3ea1c7572f24b59b350363e029
[ "Apache-2.0" ]
null
null
null
lib/exling/client.ex
joshrotenberg/exling
e79fd7bb721f0f3ea1c7572f24b59b350363e029
[ "Apache-2.0" ]
null
null
null
defmodule Exling.Client do @type request :: Exling.Request @type opts :: [term, ...] @callback receive(request, opts) :: any end if Code.ensure_loaded?(HTTPoison) do defmodule Exling.Client.HTTPoison do @behaviour Exling.Client def receive(request, options) do HTTPoison.request(request.method, U...
29.418605
123
0.727273
b24c65e473b59574dec52fbde3036dc4d266b784
1,017
ex
Elixir
lib/commands/eval.ex
deadshot465/sumi
43c9210cf8d94929ad7644932cf7261b647a0a15
[ "MIT" ]
null
null
null
lib/commands/eval.ex
deadshot465/sumi
43c9210cf8d94929ad7644932cf7261b647a0a15
[ "MIT" ]
null
null
null
lib/commands/eval.ex
deadshot465/sumi
43c9210cf8d94929ad7644932cf7261b647a0a15
[ "MIT" ]
null
null
null
defmodule Commands.Eval do @submission_url "https://judge0-ce.p.rapidapi.com/submissions?base64_encoded=true&fields=*" @spec eval(Nostrum.Struct.Message.t(), String.t()) :: {:ok, pid} def eval(msg, content) do command = "s?eval\n" code = String.split_at(content, String.length(command)) |> Tuple.to_li...
33.9
108
0.659784
b24c8e38e1888a798020604ac852ea7132488c76
1,131
exs
Elixir
mix.exs
masonforest/ethereumex
2f79b2ba2a1a29c4f490e93aa2732cb68e860e01
[ "MIT" ]
null
null
null
mix.exs
masonforest/ethereumex
2f79b2ba2a1a29c4f490e93aa2732cb68e860e01
[ "MIT" ]
null
null
null
mix.exs
masonforest/ethereumex
2f79b2ba2a1a29c4f490e93aa2732cb68e860e01
[ "MIT" ]
null
null
null
defmodule Ethereumex.Mixfile do use Mix.Project def project do [ app: :ethereumex, version: "0.4.0", elixir: "~> 1.7", description: "Elixir JSON-RPC client for the Ethereum blockchain", package: [ maintainers: ["Ayrat Badykov", "Izel Nakri", "Geoff Hayes"], license...
25.704545
72
0.538462
b24c9f7ce076e9cb88cacd15b3923832ed9b85ed
2,118
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/path_element.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/datastore/lib/google_api/datastore/v1/model/path_element.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/datastore/lib/google_api/datastore/v1/model/path_element.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.962264
212
0.704438
b24cab9349952d2bc286f21369b0003b009ecf5f
1,169
exs
Elixir
test/test_projects/module_a_uses_struct_from_b/config/config.exs
well-ironed/codegraph
ccba28b42c00e493dbb287e282e24d17e5e9df35
[ "MIT" ]
39
2020-10-07T12:47:00.000Z
2021-12-29T22:03:41.000Z
test/test_projects/module_a_uses_struct_from_b/config/config.exs
well-ironed/codegraph
ccba28b42c00e493dbb287e282e24d17e5e9df35
[ "MIT" ]
2
2020-10-07T13:17:17.000Z
2020-10-11T11:20:12.000Z
test/test_projects/module_a_uses_struct_from_b/config/config.exs
well-ironed/codegraph
ccba28b42c00e493dbb287e282e24d17e5e9df35
[ "MIT" ]
4
2020-10-07T12:47:14.000Z
2021-07-30T22:52:47.000Z
# 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...
37.709677
73
0.759624
b24cc9299db27bd87094401a0c9ca8f5145ad640
11,158
ex
Elixir
lib/aws/batch.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
223
2015-05-29T17:45:35.000Z
2021-06-29T08:37:14.000Z
lib/aws/batch.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
33
2015-11-20T20:56:43.000Z
2021-07-09T20:13:34.000Z
lib/aws/batch.ex
ttyerl/aws-elixir
48f6360fccee5dd587fab7a6efb109a399ff9a46
[ "Apache-2.0" ]
62
2015-06-14T20:53:24.000Z
2021-12-13T07:20:15.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/jkakar/aws-codegen for more details. defmodule AWS.Batch do @moduledoc """ AWS Batch enables you to run batch computing workloads on the AWS Cloud. Batch computing is a common way for developers, scientists, and engineers to access large amo...
38.475862
102
0.701022
b24cd3026de440d2903ad757d71a2e87005185bc
368
ex
Elixir
lib/p9i_web/views/error_view.ex
niku/p9i
c17b16e406374e098848c811ed84794f0c6be53a
[ "MIT" ]
null
null
null
lib/p9i_web/views/error_view.ex
niku/p9i
c17b16e406374e098848c811ed84794f0c6be53a
[ "MIT" ]
null
null
null
lib/p9i_web/views/error_view.ex
niku/p9i
c17b16e406374e098848c811ed84794f0c6be53a
[ "MIT" ]
null
null
null
defmodule P9iWeb.ErrorView do use P9iWeb, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_template, assig...
20.444444
47
0.695652
b24cd3476f1bb1ce295e2dc2e39404c59e454b40
176
exs
Elixir
test/voyage_of_discovery_test.exs
hazen/voyage_of_discovery
cadaaf375976c3546ca66e23d3bd1a0059b10df8
[ "MIT" ]
null
null
null
test/voyage_of_discovery_test.exs
hazen/voyage_of_discovery
cadaaf375976c3546ca66e23d3bd1a0059b10df8
[ "MIT" ]
null
null
null
test/voyage_of_discovery_test.exs
hazen/voyage_of_discovery
cadaaf375976c3546ca66e23d3bd1a0059b10df8
[ "MIT" ]
null
null
null
defmodule VoyageOfDiscoveryTest do use ExUnit.Case # doctest VoyageOfDiscovery # test "greets the world" do # assert VoyageOfDiscovery.hello() == :world # end end
19.555556
48
0.727273
b24cd5966dad78648891bb2451a935c71eef463a
428
ex
Elixir
lib/serializable.ex
xinz/exprotobuf
f9dbdc8c4e08ac00ed64481d0e11b31e70099df5
[ "Apache-2.0" ]
493
2015-01-05T03:33:34.000Z
2022-03-05T01:12:15.000Z
lib/serializable.ex
xinz/exprotobuf
f9dbdc8c4e08ac00ed64481d0e11b31e70099df5
[ "Apache-2.0" ]
99
2015-01-08T14:06:50.000Z
2021-08-20T08:47:41.000Z
lib/serializable.ex
xinz/exprotobuf
f9dbdc8c4e08ac00ed64481d0e11b31e70099df5
[ "Apache-2.0" ]
89
2015-01-07T21:17:24.000Z
2021-07-31T17:48:59.000Z
defprotocol Protobuf.Serializable do @moduledoc """ Defines the contract for serializing protobuf messages. """ @fallback_to_any true @doc """ Serializes the provided object as a protobuf message in binary form. """ def serialize(object) end defimpl Protobuf.Serializable, for: Any do def serialize(%...
25.176471
70
0.728972
b24ce2bb82827cf1e20d16eec4977b1b8b89ebac
2,143
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategy.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategy.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v35/model/placement_strategy.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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.267857
212
0.709286
b24cfb52b997308cf39ae669bcc6c43df4d62188
2,295
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/campaign_creative_associations_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/campaign_creative_associations_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/campaign_creative_associations_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.428571
226
0.748584
b24d1a4a10b9ee03982572c874b0cd9b5d2f9424
1,963
ex
Elixir
exercises/practice/word-search/.meta/example.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
null
null
null
exercises/practice/word-search/.meta/example.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
9
2021-09-12T15:19:06.000Z
2022-03-30T22:24:24.000Z
exercises/practice/word-search/.meta/example.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
null
null
null
defmodule WordSearch do defmodule Location do defstruct [:from, :to] @type t :: %Location{ from: %{row: integer, column: integer}, to: %{row: integer, column: integer} } end @doc """ Find the start and end positions of words in a grid of letters. Row and column posi...
31.66129
96
0.537443
b24d73b755c71e13a01ddf959d6d6b90095f699f
7,068
ex
Elixir
lib/ueberauth/strategy/team_snap.ex
mcrumm/ueberauth_team_snap
c4c237c42638a3f2fb57e7d2591a87cee07b0d25
[ "MIT" ]
2
2018-08-13T15:51:05.000Z
2019-08-24T22:20:53.000Z
lib/ueberauth/strategy/team_snap.ex
mcrumm/ueberauth_team_snap
c4c237c42638a3f2fb57e7d2591a87cee07b0d25
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/team_snap.ex
mcrumm/ueberauth_team_snap
c4c237c42638a3f2fb57e7d2591a87cee07b0d25
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.TeamSnap do @moduledoc """ Provides an Ueberauth strategy for authenticating with TeamSnap. ### Setup Create an application in TeamSnap for you to use. Register a new application at: [TeamSnap Authentication](https://auth.teamsnap.com/oauth/applications) and get the `client_id`...
29.822785
149
0.658602
b24d85ef6ef6b2de3dac40c11ecb0294b6bee666
1,289
ex
Elixir
clients/books/lib/google_api/books/v1/model/dictlayerdata_dict.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/dictlayerdata_dict.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/dictlayerdata_dict.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 "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...
31.439024
99
0.745539
b24dd23a990270a4e94f15483eda6797f729c555
127
exs
Elixir
channels/config/config.exs
DeComX/hypertrons
535e86f02a1ef474d022e0f22b18a4fffd3ff9be
[ "Apache-2.0" ]
null
null
null
channels/config/config.exs
DeComX/hypertrons
535e86f02a1ef474d022e0f22b18a4fffd3ff9be
[ "Apache-2.0" ]
null
null
null
channels/config/config.exs
DeComX/hypertrons
535e86f02a1ef474d022e0f22b18a4fffd3ff9be
[ "Apache-2.0" ]
null
null
null
import Config config :hypertrons_channels, :im_pubsub, Hypertrons.Channels.IMRegistryPubSub import_config "#{Mix.env()}.exs"
21.166667
77
0.80315
b24df3c5f05ce67224917cfa02b93e597e0a6df9
3,947
ex
Elixir
lib/primer/elements.ex
lee-dohm/phoenix-primer
f9fef3f1e4de21f747e47151685f1c94bc428f55
[ "MIT" ]
2
2018-06-26T03:12:20.000Z
2020-01-26T17:55:29.000Z
lib/primer/elements.ex
lee-dohm/phoenix-primer
f9fef3f1e4de21f747e47151685f1c94bc428f55
[ "MIT" ]
2
2018-03-21T09:25:08.000Z
2018-04-13T09:15:13.000Z
lib/primer/elements.ex
lee-dohm/phoenix-primer
f9fef3f1e4de21f747e47151685f1c94bc428f55
[ "MIT" ]
null
null
null
defmodule Primer.Elements do @moduledoc """ Functions for displaying common elements that are present on GitHub-authored sites. """ use Phoenix.HTML defmodule MissingConfigurationError do defexception [:missing_keys] def exception(key) when is_atom(key), do: exception([key]) def exception(keys)...
29.901515
99
0.692425
b24dffd4d628aca3efe47d463887cab91c509a06
2,018
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_identity_accesscontextmanager_v1_vpc_accessible_services.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_identity_accesscontextmanager_v1_vpc_accessible_services.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_identity_accesscontextmanager_v1_vpc_accessible_services.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.793103
141
0.74777
b24e088fa8b09c5e54e1a271f8f15983b0fb6dc3
463
exs
Elixir
test/image_test.exs
xavier/ex_png
58a23a705ace85e2351cbf0787e88df79b8f6494
[ "Apache-2.0" ]
10
2015-03-15T16:12:00.000Z
2021-02-09T09:30:17.000Z
test/image_test.exs
xavier/ex_png
58a23a705ace85e2351cbf0787e88df79b8f6494
[ "Apache-2.0" ]
1
2019-04-20T12:09:24.000Z
2019-04-20T12:09:24.000Z
test/image_test.exs
xavier/ex_png
58a23a705ace85e2351cbf0787e88df79b8f6494
[ "Apache-2.0" ]
5
2019-01-19T19:47:09.000Z
2021-11-11T23:54:25.000Z
defmodule ExPNG.ImageTest do use ExUnit.Case alias ExPNG.Image, as: Image alias ExPNG.Color, as: Color test "new image" do png = Image.new(2, 1, Color.transparent) assert 2 == png.width assert 1 == png.height assert <<0,0,0,0,0,0,0,0>> == png.pixels end test "set_pixel" do png = Image....
23.15
52
0.637149
b24e2051cedc42d472c2b56eeb14f343310a381b
245
ex
Elixir
lesson_07/demo/auth_umbrella/apps/auth/lib/auth.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
1
2021-09-22T09:56:35.000Z
2021-09-22T09:56:35.000Z
lesson_07/demo/auth_umbrella/apps/auth/lib/auth.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
7
2020-03-14T19:30:29.000Z
2022-02-27T01:20:40.000Z
lesson_07/demo/auth_umbrella/apps/auth/lib/auth.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
11
2020-02-13T14:52:45.000Z
2020-08-03T12:18:56.000Z
defmodule Auth do @moduledoc """ Auth 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.5
66
0.746939
b24e7d87b0a839645dd05859f49dc41fe7a34009
100
ex
Elixir
matchmaking/lib/amqp/connection.ex
OpenMatchmaking/microservice-matchmaking
98fc13f18aeeaa459b4abc3279cd7719778f2102
[ "BSD-3-Clause" ]
6
2019-10-08T21:57:39.000Z
2022-03-15T08:56:14.000Z
matchmaking/lib/amqp/connection.ex
OpenMatchmaking/microservice-matchmaking
98fc13f18aeeaa459b4abc3279cd7719778f2102
[ "BSD-3-Clause" ]
5
2018-04-01T09:36:54.000Z
2019-01-24T07:32:45.000Z
matchmaking/lib/amqp/connection.ex
OpenMatchmaking/microservice-matchmaking
98fc13f18aeeaa459b4abc3279cd7719778f2102
[ "BSD-3-Clause" ]
1
2018-09-21T21:20:31.000Z
2018-09-21T21:20:31.000Z
defmodule Matchmaking.AMQP.Connection do use Spotter.AMQP.Connection, otp_app: :matchmaking end
20
40
0.81
b24e892ff59db0358c6dc4bcda49d863e0399604
546
ex
Elixir
lib/satellite_web/controllers/api/request_controller.ex
joshnuss/satellite-prototype
9cf813d8b75efab9a8118f9fecb9ac6f70bd841a
[ "MIT" ]
null
null
null
lib/satellite_web/controllers/api/request_controller.ex
joshnuss/satellite-prototype
9cf813d8b75efab9a8118f9fecb9ac6f70bd841a
[ "MIT" ]
null
null
null
lib/satellite_web/controllers/api/request_controller.ex
joshnuss/satellite-prototype
9cf813d8b75efab9a8118f9fecb9ac6f70bd841a
[ "MIT" ]
null
null
null
defmodule SatelliteWeb.API.RequestController do use SatelliteWeb, :controller alias Satellite.Ingestion def create(conn, params) do case Ingestion.create_request(params) do {:error, changeset} -> conn |> put_status(:unprocessable_entity) |> put_view(SatelliteWeb.ErrorHelpers) ...
24.818182
53
0.642857
b24e9047316cde3b0f555e20168dcadaa4ad53c9
5,588
ex
Elixir
lib/system/cmd_wrappers/hostapd.ex
KRISHITECH/farmbot_os
4220baf8f3ef930ce3b861b178ca6a76e2fd7591
[ "MIT" ]
null
null
null
lib/system/cmd_wrappers/hostapd.ex
KRISHITECH/farmbot_os
4220baf8f3ef930ce3b861b178ca6a76e2fd7591
[ "MIT" ]
null
null
null
lib/system/cmd_wrappers/hostapd.ex
KRISHITECH/farmbot_os
4220baf8f3ef930ce3b861b178ca6a76e2fd7591
[ "MIT" ]
null
null
null
defmodule Farmbot.System.Network.Hostapd do @moduledoc """ Manages an OS process of hostapd and DNSMASQ. """ defmodule State do @moduledoc false defstruct [:hostapd, :dnsmasq, :interface, :ip_addr, :manager] end use GenServer require Logger @hostapd_conf_file "hostapd.conf" @hostapd_pid_f...
30.043011
79
0.628669
b24e9745e31210df3c512c13e9fca65cd7c1b37f
205
exs
Elixir
.formatter.exs
UrbanOS-Examples/scos-system-test
5b24020b308bf54e3365704d0b3ab0e0187c3f6e
[ "Apache-2.0" ]
null
null
null
.formatter.exs
UrbanOS-Examples/scos-system-test
5b24020b308bf54e3365704d0b3ab0e0187c3f6e
[ "Apache-2.0" ]
null
null
null
.formatter.exs
UrbanOS-Examples/scos-system-test
5b24020b308bf54e3365704d0b3ab0e0187c3f6e
[ "Apache-2.0" ]
null
null
null
# Used by "mix format" [ inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], line_length: 120 ] [ inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"], import_deps: [:placebo] ]
20.5
70
0.565854
b24e9dcecb4fe486122403a5bc32a6a7d1fa264a
11,260
ex
Elixir
lib/ex_unit/lib/ex_unit/case.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/case.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/case.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.Case do @moduledoc """ Sets up an ExUnit test case. This module must be used in other modules as a way to configure and prepare them for testing. When used, it accepts the following options: * :async - configure Elixir to run that specific test case in parallel with others. Must ...
30.350404
100
0.665631
b24ef73a493f459cb48fa454918d6eb30e0accdb
9,486
exs
Elixir
test/web/controllers/phase_controller_test.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
null
null
null
test/web/controllers/phase_controller_test.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
null
null
null
test/web/controllers/phase_controller_test.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
null
null
null
defmodule Web.PhaseControllerTest do use Web.ConnCase alias ChallengeGov.TestHelpers.AccountHelpers alias ChallengeGov.TestHelpers.ChallengeHelpers describe "index for a challenge" do test "success: as super admin", %{conn: conn} do user = AccountHelpers.create_user(%{role: "super_admin"}) con...
34
96
0.667932
b24ef9811a7661c7ceeda4d4ff092d5fa7013c0a
5,800
ex
Elixir
lib/carrier/server.ex
barkerja/carrier
1c09c5c4eae2a0d61dc8a8a5e86313becd13bc71
[ "MIT" ]
null
null
null
lib/carrier/server.ex
barkerja/carrier
1c09c5c4eae2a0d61dc8a8a5e86313becd13bc71
[ "MIT" ]
null
null
null
lib/carrier/server.ex
barkerja/carrier
1c09c5c4eae2a0d61dc8a8a5e86313becd13bc71
[ "MIT" ]
null
null
null
defmodule Carrier.Server do @moduledoc """ This is the GenServer for address validation. It uses SmartyStreets as the back-end, but could be rewritten relatively easily to use other back-end services as well. """ @smarty_streets_address "https://us-street.api.smartystreets.com/street-address" use GenSer...
36.477987
95
0.573103
b24f1a949551413425fffe579af4f6b4e7a73784
170
ex
Elixir
ch12/case.ex
rafanoronha/prog_elixir_1_6
5ae2137da4ffdb6de1c9b164812ed6e43c0922d3
[ "MIT" ]
null
null
null
ch12/case.ex
rafanoronha/prog_elixir_1_6
5ae2137da4ffdb6de1c9b164812ed6e43c0922d3
[ "MIT" ]
null
null
null
ch12/case.ex
rafanoronha/prog_elixir_1_6
5ae2137da4ffdb6de1c9b164812ed6e43c0922d3
[ "MIT" ]
null
null
null
case File.open("case.ex") do { :ok, file } -> IO.puts "First line: #{IO.read(file, :line)}" { :error, reason } -> IO.puts "Failed to open file: #{reason}" end
28.333333
49
0.570588
b24f346502cc526f7f6bfb61c3e6fd17fcb9db1a
2,260
ex
Elixir
apps/omg_eth/test/support/dev_parity.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_eth/test/support/dev_parity.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_eth/test/support/dev_parity.ex
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 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...
27.901235
118
0.676991
b24f4d533f503016f3fe26fda501bd7a66efbab4
1,923
ex
Elixir
apps/omg_burner/lib/omg_burner/http_requester.ex
omisego/fee-burner
b1d23736f69769c2bd2bb2437de0c103fd6dba61
[ "Apache-2.0" ]
1
2018-10-09T13:49:02.000Z
2018-10-09T13:49:02.000Z
apps/omg_burner/lib/omg_burner/http_requester.ex
omisego/fee-burner
b1d23736f69769c2bd2bb2437de0c103fd6dba61
[ "Apache-2.0" ]
null
null
null
apps/omg_burner/lib/omg_burner/http_requester.ex
omisego/fee-burner
b1d23736f69769c2bd2bb2437de0c103fd6dba61
[ "Apache-2.0" ]
1
2018-07-16T14:15:09.000Z
2018-07-16T14:15:09.000Z
defmodule OMG.Burner.HttpRequester do @moduledoc """ HttpRequester is a module responsible for retrieving current gas price and tokens' exchange rates. The module uses REST APIs of ethgasstation (gas price) and coinmarketcap (exchange rates) in order to provide its service. """ @gas_station_url "https:...
28.279412
127
0.671347
b24f72c49c64093345d34877734d99833237834c
729
ex
Elixir
lib/hl7/2.4/segments/org.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/org.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/org.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_4.Segments.ORG do @moduledoc false require Logger alias HL7.V2_4.{DataTypes} use HL7.Segment, fields: [ segment: nil, set_id_org: nil, organization_unit_code: DataTypes.Ce, organization_unit_type_code_org: DataTypes.Ce, primary_org_unit_indicator: nil, ...
30.375
69
0.748971
b24f91be29e5c051b2bc36bea119cc4cb3064c28
6,128
ex
Elixir
lib/generated/end_txn.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
24
2019-06-26T22:08:13.000Z
2022-01-27T00:10:41.000Z
lib/generated/end_txn.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
10
2020-04-10T07:48:53.000Z
2021-03-26T10:50:25.000Z
lib/generated/end_txn.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
11
2019-10-30T12:53:09.000Z
2022-03-09T23:16:42.000Z
defmodule(Kayrock.EndTxn) do @api :end_txn @moduledoc "Kayrock-generated module for the Kafka `#{@api}` API\n" _ = " THIS CODE IS GENERATED BY KAYROCK" ( @vmin 0 @vmax 0 ) defmodule(V0.Request) do @vsn 0 @api :end_txn @schema transactional_id: :string, producer_id: :int64, ...
28.90566
130
0.618146
b24f9356c708fe283fa6cc8262bb475bd1b82362
2,049
ex
Elixir
clients/chrome_policy/lib/google_api/chrome_policy/v1/model/google_chrome_policy_v1_resolve_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/chrome_policy/lib/google_api/chrome_policy/v1/model/google_chrome_policy_v1_resolve_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/chrome_policy/lib/google_api/chrome_policy/v1/model/google_chrome_policy_v1_resolve_response.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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.254545
191
0.752074
b24fa4c486968b07258a134e6eaf774b1499658f
2,766
ex
Elixir
lib/mix/lib/mix/deps/lock.ex
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/deps/lock.ex
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/deps/lock.ex
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
# This module keeps a lock file and the manifest for the lock file. # The lockfile keeps the latest dependency information while the # manifest is used whenever a dependency is affected via any of the # deps.* tasks. We also keep the Elixir version in the manifest file. defmodule Mix.Deps.Lock do @moduledoc false @...
26.596154
85
0.650398
b24fabbce8bebaef557835946d7b243c6aa14fdc
1,991
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_color_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_color_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_color_info.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...
37.566038
141
0.724761
b24fc1af9999120e2ea3241c90c409a358840f14
1,196
exs
Elixir
mix.exs
JamieREvans/faker
f5b78004390bfef15a671c136666e8fa09711b17
[ "MIT" ]
null
null
null
mix.exs
JamieREvans/faker
f5b78004390bfef15a671c136666e8fa09711b17
[ "MIT" ]
null
null
null
mix.exs
JamieREvans/faker
f5b78004390bfef15a671c136666e8fa09711b17
[ "MIT" ]
null
null
null
defmodule Faker.Mixfile do use Mix.Project @version "0.11.1" def project do [ app: :faker, version: @version, elixir: "~> 1.3", description: "Faker is a pure Elixir library for generating fake data.", package: package(), name: "Faker", source_url: "https://github.co...
20.271186
78
0.515886
b24fc5ff5dc1e3b0d9b144cd4d3db9ab0321be98
366
ex
Elixir
lib/mongo/app.ex
hauleth/mongodb
d1be214cb38494bfd2cb861628526b853e7b776f
[ "Apache-2.0" ]
null
null
null
lib/mongo/app.ex
hauleth/mongodb
d1be214cb38494bfd2cb861628526b853e7b776f
[ "Apache-2.0" ]
null
null
null
lib/mongo/app.ex
hauleth/mongodb
d1be214cb38494bfd2cb861628526b853e7b776f
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.App do @moduledoc false def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(Mongo.IdServer, []), worker(Mongo.PBKDF2Cache, []), worker(:gen_event, local: Mongo.Events) ] opts = [strategy: :one_for_one, name: Mongo.Supervisor] Su...
21.529412
59
0.661202
b24fd6edc3f459f00b96dd298982ac5aca1d2d3b
2,431
ex
Elixir
lib/discovery_api_web/views/data_view.ex
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
null
null
null
lib/discovery_api_web/views/data_view.ex
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
null
null
null
lib/discovery_api_web/views/data_view.ex
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveryApiWeb.DataView do use DiscoveryApiWeb, :view import DiscoveryApiWeb.Utilities.StreamUtils alias DiscoveryApiWeb.Utilities.{GeojsonUtils, JsonFieldDecoder} def accepted_formats() do ["csv", "json", "geojson"] end # this is because preview from UI doesn't ask for JSON but expects it ...
25.322917
92
0.626903
b24fda2eeb9f6a2e2e30b417f5066d5ab05d748b
2,689
ex
Elixir
clients/jobs/lib/google_api/jobs/v2/model/custom_attribute.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/jobs/lib/google_api/jobs/v2/model/custom_attribute.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/jobs/lib/google_api/jobs/v2/model/custom_attribute.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 ...
37.873239
153
0.713648
b2502aba1ae0a630c2eb0375d6648be56229ac03
2,348
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_rpc_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_rpc_status.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/apigee/lib/google_api/apigee/v1/model/google_rpc_status.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...
44.301887
427
0.721891
b2504113566f14760f4db392f7471fd41a135bd3
211
exs
Elixir
priv/repo/migrations/20180713162611_add_sales_topic.exs
artsy/aprb
9e93200462a76823c831b92f02bddcf1b326a451
[ "MIT" ]
11
2016-08-18T23:18:57.000Z
2019-05-03T17:46:55.000Z
priv/repo/migrations/20180713162611_add_sales_topic.exs
artsy/aprb
9e93200462a76823c831b92f02bddcf1b326a451
[ "MIT" ]
105
2016-08-17T23:36:07.000Z
2019-09-26T18:14:24.000Z
priv/repo/migrations/20180713162611_add_sales_topic.exs
artsy/aprb
9e93200462a76823c831b92f02bddcf1b326a451
[ "MIT" ]
14
2016-08-17T17:23:45.000Z
2019-09-16T16:14:59.000Z
defmodule Aprb.Repo.Migrations.AddSalesTopic do use Ecto.Migration alias Aprb.{Repo,Topic} def change do changeset = Topic.changeset(%Topic{}, %{name: "sales"}) Repo.insert!(changeset) end end
19.181818
59
0.706161
b25060ef27211f2159b1c648f850f3cb28c33c7e
2,158
exs
Elixir
test/events_tools/posts/posts_test.exs
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
2
2017-10-06T01:14:35.000Z
2017-11-18T16:44:44.000Z
test/events_tools/posts/posts_test.exs
community-tools/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
6
2017-10-06T00:04:59.000Z
2017-10-06T00:09:27.000Z
test/events_tools/posts/posts_test.exs
apps-team/community-tools
40b0e6cc9234b44593d2ab60bb2303d7224deb30
[ "Apache-2.0" ]
1
2017-10-06T01:17:35.000Z
2017-10-06T01:17:35.000Z
defmodule CommunityTools.PostsTest do use CommunityTools.DataCase alias CommunityTools.Posts describe "posts" do alias CommunityTools.Posts.Post @valid_attrs %{body: "some body", date: ~D[2010-04-17], title: "some title"} @update_attrs %{body: "some updated body", date: ~D[2011-05-18], title: "some...
30.828571
97
0.642725
b2507669adf50297068643f49c062e237f64b7cc
447
ex
Elixir
lib/ex_aliyun_ots/tunnel/supervisor.ex
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
19
2018-05-10T09:33:25.000Z
2022-01-25T11:57:33.000Z
lib/ex_aliyun_ots/tunnel/supervisor.ex
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
23
2019-11-28T07:51:52.000Z
2022-03-09T08:33:42.000Z
lib/ex_aliyun_ots/tunnel/supervisor.ex
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
9
2019-01-30T03:17:12.000Z
2021-12-14T02:23:32.000Z
defmodule ExAliyunOts.Tunnel.DynamicSupervisor do @moduledoc false use DynamicSupervisor alias ExAliyunOts.Tunnel.Worker def start_link([]) do DynamicSupervisor.start_link(__MODULE__, [], name: __MODULE__) end @impl true def init(_) do DynamicSupervisor.init(strategy: :one_for_one) end de...
20.318182
66
0.749441
b2509852d47f9ee1fe3e04eccba0b0a7265d1d87
717
ex
Elixir
lib/mail_slurp_api/model/inbox_forwarder_dto.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/model/inbox_forwarder_dto.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
null
null
null
lib/mail_slurp_api/model/inbox_forwarder_dto.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule MailSlurpAPI.Model.InboxForwarderDto do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"createdAt", :"field", :"forw...
19.916667
91
0.631799
b250a2e682ddf514bbac86877460bce97fae8974
2,133
exs
Elixir
test/assent/http_adapter/httpc_test.exs
praveenperera/assent
e694062b190826af12689c1f3c8cb6d6e1e4f4ae
[ "MIT" ]
null
null
null
test/assent/http_adapter/httpc_test.exs
praveenperera/assent
e694062b190826af12689c1f3c8cb6d6e1e4f4ae
[ "MIT" ]
null
null
null
test/assent/http_adapter/httpc_test.exs
praveenperera/assent
e694062b190826af12689c1f3c8cb6d6e1e4f4ae
[ "MIT" ]
null
null
null
defmodule Assent.HTTPAdapter.HttpcTest do use ExUnit.Case doctest Assent.HTTPAdapter.Httpc alias Assent.HTTPAdapter.{Httpc, HTTPResponse} @expired_certificate_url "https://expired.badssl.com" @hsts_certificate_url "https://hsts.badssl.com" @unreachable_http_url "http://localhost:8888/" describe "reques...
36.152542
177
0.643694
b250a83d940edbe76eddba00a3b8aa9136ccd2d0
5,602
exs
Elixir
test/lib/bamboo/adapters/mailgun_adapter_test.exs
clairton/bamboo
f2e4ddf177bbcf2c90d010c53c2fa9251fdf1b01
[ "MIT" ]
null
null
null
test/lib/bamboo/adapters/mailgun_adapter_test.exs
clairton/bamboo
f2e4ddf177bbcf2c90d010c53c2fa9251fdf1b01
[ "MIT" ]
null
null
null
test/lib/bamboo/adapters/mailgun_adapter_test.exs
clairton/bamboo
f2e4ddf177bbcf2c90d010c53c2fa9251fdf1b01
[ "MIT" ]
null
null
null
defmodule Bamboo.MailgunAdapterTest do use ExUnit.Case alias Bamboo.Email alias Bamboo.MailgunAdapter @config %{adapter: MailgunAdapter, api_key: "dummyapikey", domain: "test.tt"} defmodule FakeMailgun do use Plug.Router plug( Plug.Parsers, parsers: [:urlencoded, :multipart, :json], ...
31.122222
168
0.649054
b250c74331847fe0843ce71ad7b59a2f04dde24d
457
ex
Elixir
lib/player.ex
mrfishball/TicTacToeElixir
e26c55b53f118a1cddb141db3d1ee6b969b756e0
[ "MIT" ]
null
null
null
lib/player.ex
mrfishball/TicTacToeElixir
e26c55b53f118a1cddb141db3d1ee6b969b756e0
[ "MIT" ]
1
2018-07-19T17:52:53.000Z
2018-07-19T18:11:24.000Z
lib/player.ex
mrfishball/TicTacToeElixir
e26c55b53f118a1cddb141db3d1ee6b969b756e0
[ "MIT" ]
null
null
null
defmodule Player do @enforce_keys [:name, :token, :type] defstruct @enforce_keys defp setup(name, token, type) do %Player{name: name, token: token, type: type} end def human({name, token} = _payload) do setup(name, token, :human) end def naive_computer({name, token} = _payload) do setup(na...
20.772727
50
0.678337
b250e3f63b1ae66658fbcd6ba1e27cab51c5b843
3,266
ex
Elixir
lib/advent20/24_lobby_layout.ex
skovmand/advent_of_code_2020
40c795a2bd4c0378fd7ecffeb32f7fba6dcfcfdc
[ "MIT" ]
null
null
null
lib/advent20/24_lobby_layout.ex
skovmand/advent_of_code_2020
40c795a2bd4c0378fd7ecffeb32f7fba6dcfcfdc
[ "MIT" ]
null
null
null
lib/advent20/24_lobby_layout.ex
skovmand/advent_of_code_2020
40c795a2bd4c0378fd7ecffeb32f7fba6dcfcfdc
[ "MIT" ]
null
null
null
defmodule Advent20.LobbyLayout do @moduledoc """ Day 24: Lobby Layout Reference for hex coordinate systems: https://www.redblobgames.com/grids/hexagons I'm using axial coordinates (q, r) """ @directions %{ e: {1, 0}, se: {0, 1}, sw: {-1, 1}, w: {-1, 0}, nw: {0, -1}, ne: {1, -1} ...
34.744681
119
0.643907
b2511032c94b7388d485834a94a691790e333512
12,608
ex
Elixir
lib/mfl/league.ex
srowley/mfl
d4a47e5b9dd61a90d06d9f5ab72bde0a99882628
[ "MIT" ]
1
2021-03-12T17:46:17.000Z
2021-03-12T17:46:17.000Z
lib/mfl/league.ex
srowley/mfl
d4a47e5b9dd61a90d06d9f5ab72bde0a99882628
[ "MIT" ]
null
null
null
lib/mfl/league.ex
srowley/mfl
d4a47e5b9dd61a90d06d9f5ab72bde0a99882628
[ "MIT" ]
null
null
null
defmodule MFL.League do @moduledoc """ Wrapper for requests which return information for a specific league. This module contains functions that make API requests that require a league `id` as an argument. The structure for every call is `MFL.League.request_type(year, id, options)` where the `id` is a l...
34.637363
128
0.705425
b25131a057dbfe658a90ebdb59dc38c5bc9f6486
934
exs
Elixir
test/mock_server/mock_server_supervisor_test.exs
lincolnf/pact_elixir
21e5f473e3c30173881e577ffda8df1e1419d47d
[ "MIT" ]
27
2018-02-28T22:42:14.000Z
2022-03-20T00:30:08.000Z
test/mock_server/mock_server_supervisor_test.exs
lincolnf/pact_elixir
21e5f473e3c30173881e577ffda8df1e1419d47d
[ "MIT" ]
180
2017-12-04T09:42:53.000Z
2022-03-28T09:33:23.000Z
test/mock_server/mock_server_supervisor_test.exs
lincolnf/pact_elixir
21e5f473e3c30173881e577ffda8df1e1419d47d
[ "MIT" ]
8
2018-08-01T17:14:52.000Z
2022-01-26T12:46:46.000Z
defmodule PactElixir.MockServerSupervisorTest do use ExUnit.Case alias PactElixir.{ServiceProvider, MockServerSupervisor} test "MockServerSupervisor is running after app started" do mock_supervisor_pid = Process.whereis(MockServerSupervisor) assert Process.info(mock_supervisor_pid) end test "start a...
31.133333
80
0.781585
b25136430c33fd57e50bf766f1a5b1dfa6c8f186
1,923
exs
Elixir
apps/site/test/site/trip_plan/merge_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/site/test/site/trip_plan/merge_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/site/test/site/trip_plan/merge_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule Site.TripPlan.MergeTest do @moduledoc false use ExUnit.Case, async: true use Quixir import Site.TripPlan.Merge doctest Site.TripPlan.Merge defp do_merge(accessible, unknown) do accessible = accessible |> Enum.sort() |> Enum.dedup() unknown = unknown |> Enum.sort() |> Enum.dedup() me...
32.05
92
0.618305
b25146463e9a09142ea53aa1f45dd0673d9b75a3
3,162
ex
Elixir
lib/data/envelope.ex
egor-laufer/ex_insights
601facefa91819d5de69d50c73f5f800a3893380
[ "MIT" ]
null
null
null
lib/data/envelope.ex
egor-laufer/ex_insights
601facefa91819d5de69d50c73f5f800a3893380
[ "MIT" ]
null
null
null
lib/data/envelope.ex
egor-laufer/ex_insights
601facefa91819d5de69d50c73f5f800a3893380
[ "MIT" ]
null
null
null
defmodule ExInsights.Data.Envelope do @moduledoc ~S""" Track request envelope Envelope data looks like this ```json { "time": "2017-08-24T08:55:56.968Z", "iKey": "some-guid-value-key", "name": "Microsoft.ApplicationInsights.someguidvaluekey.Event", "tags": { "ai.session.id": "SLzGH", ...
29.009174
143
0.619861
b25151c3b8bae10e32af948615ca9908529785b1
216
exs
Elixir
priv/template/config/dev.exs
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
priv/template/config/dev.exs
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
priv/template/config/dev.exs
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
use Mix.Config config :phoenix, <%= application_module %>.Router, http: [port: System.get_env("PORT") || 4000], debug_errors: true # Enables code reloading for development config :phoenix, :code_reloader, true
24
50
0.731481
b251b57f7b569ae78a304bb0da69c67cdd4156e6
448
ex
Elixir
lib/absinthe/type/built_ins/scalars/utils.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
4,101
2016-03-02T03:49:20.000Z
2022-03-31T05:46:01.000Z
lib/absinthe/type/built_ins/scalars/utils.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
889
2016-03-02T16:06:59.000Z
2022-03-31T20:24:12.000Z
lib/absinthe/type/built_ins/scalars/utils.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
564
2016-03-02T07:49:59.000Z
2022-03-06T14:40:59.000Z
defmodule Absinthe.Type.BuiltIns.Scalars.Utils do @moduledoc false # Parse, supporting pulling values out of AST nodes defmacro parse_with(node_types, coercion) do quote do fn %{value: value} = node -> if Enum.member?(unquote(node_types), node) do unquote(coercion).(value)...
21.333333
55
0.582589
b251be9b5cbec495c848559b70286e57f73cfd52
229
ex
Elixir
lib/mppm_web/live/system_overview_live.ex
QBonaventure/mppm
06047083e3f56e750b60a2c2bd2c430228066e63
[ "MIT" ]
6
2020-11-18T10:10:51.000Z
2021-03-17T14:28:36.000Z
lib/mppm_web/live/system_overview_live.ex
QBonaventure/mppm
06047083e3f56e750b60a2c2bd2c430228066e63
[ "MIT" ]
6
2020-11-10T21:50:43.000Z
2021-03-04T09:41:22.000Z
lib/mppm_web/live/system_overview_live.ex
QBonaventure/mppm
06047083e3f56e750b60a2c2bd2c430228066e63
[ "MIT" ]
null
null
null
defmodule MppmWeb.SystemOverviewLive do use Phoenix.LiveView def render(assigns) do MppmWeb.SystemOverviewView.render("index.html", assigns) end def mount(_params, _session, socket) do {:ok, socket} end end
16.357143
60
0.729258
b251d28a8e0e32ae3b3300a393488f94a6b0d4b8
49,631
ex
Elixir
clients/fusion_tables/lib/google_api/fusion_tables/v2/api/table.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/fusion_tables/lib/google_api/fusion_tables/v2/api/table.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/fusion_tables/lib/google_api/fusion_tables/v2/api/table.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...
47.630518
300
0.631682
b251f607afa4bbd630c37eae97b2d959558a7266
19,478
ex
Elixir
lib/cms/v2/behaviours/cms/index_behaviour.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
2
2019-04-15T22:17:59.000Z
2022-01-03T15:35:36.000Z
lib/cms/v2/behaviours/cms/index_behaviour.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
null
null
null
lib/cms/v2/behaviours/cms/index_behaviour.ex
noizu/KitchenSink
34f51fb93dfa913ba7be411475d02520d537e676
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2020 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- defmodule Noizu.Cms.V2.Cms.IndexBehaviour.Default do @moduledoc """ O...
37.675048
174
0.599189
b25206b3b76e24167ae5830f58abc09291c904a2
2,653
exs
Elixir
test/unit/hologram/compiler/transformers/macro_definition_transformer_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/compiler/transformers/macro_definition_transformer_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/compiler/transformers/macro_definition_transformer_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Compiler.MacroDefinitionTransformerTest do use Hologram.Test.UnitCase, async: true alias Hologram.Compiler.{Context, MacroDefinitionTransformer} alias Hologram.Compiler.IR.{ AtomType, Binding, Block, IntegerType, MacroDefinition, MapAccess, ParamAccess, Variabl...
22.108333
96
0.580852
b2521129e5f7c81eeca833a528ad1a31a35989cc
5,043
exs
Elixir
test/tox/date_test.exs
hrzndhrn/tox
c7439a9eb83b9989b1866a23c8e6feedbb0b56b6
[ "MIT" ]
6
2020-07-18T06:16:10.000Z
2021-11-12T14:12:20.000Z
test/tox/date_test.exs
hrzndhrn/tox
c7439a9eb83b9989b1866a23c8e6feedbb0b56b6
[ "MIT" ]
null
null
null
test/tox/date_test.exs
hrzndhrn/tox
c7439a9eb83b9989b1866a23c8e6feedbb0b56b6
[ "MIT" ]
null
null
null
defmodule Tox.DateTest do use ExUnit.Case use ExUnitProperties doctest Tox.Date describe "shift/2" do test "adds a year" do assert Tox.Date.shift(~D[1999-01-15], year: 1) == ~D[2000-01-15] end test "adds a year and updates day" do assert Tox.Date.shift(~D[2000-02-29], year: 1) == ~D[2...
30.75
93
0.623835
b2522291ab16b7fb4d001a5d28ed89f653c21e20
1,471
ex
Elixir
lib/rdf/blank_node/increment.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
lib/rdf/blank_node/increment.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
lib/rdf/blank_node/increment.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
defmodule RDF.BlankNode.Increment do @moduledoc """ An implementation of a `RDF.BlankNode.Generator.Algorithm` which returns `RDF.BlankNode`s with incremented identifiers. The following options are supported when starting a `RDF.BlankNode.Generator` with this algorithm: - `prefix`: a string prepended to the...
25.362069
121
0.672332
b2522ad74ea7b44d4f21a1c0cb3fc65d5f3cb7d4
19,822
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/error_handler.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/ewallet/lib/ewallet/web/v1/error_handler.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/v1/error_handler.ex
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.Web.V1.ErrorHandler do @moduledoc """ Handles API errors by mapping the error to its response code and description. """ import Ecto.Changeset, only: [traverse_errors: 2] alias Ecto.Changeset alias EWallet.AmountFormatter alias EWallet.Web.V1.ErrorSerializer alias EWalletDB.Token @er...
34.653846
145
0.672687