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
d576ddc90b13aafe03983c7516f4c3ac24603d8e
3,882
ex
Elixir
clients/content/lib/google_api/content/v2/model/datafeed.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/datafeed.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/datafeed.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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 "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...
47.925926
217
0.717414
d5771c687ed2dfcdd7b1627e137fd2a9224641b0
1,476
ex
Elixir
lib/surgex/parser/parsers/geolocation_parser.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
10
2017-09-15T08:55:48.000Z
2021-07-08T09:26:24.000Z
lib/surgex/parser/parsers/geolocation_parser.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
17
2017-07-24T11:27:22.000Z
2022-01-24T22:28:18.000Z
lib/surgex/parser/parsers/geolocation_parser.ex
surgeventures/surgex
b3acdd6a9a010c26f0081b9cb23aeb072459be30
[ "MIT" ]
2
2018-04-12T15:01:00.000Z
2018-05-27T12:14:34.000Z
defmodule Surgex.Parser.GeolocationParser do @moduledoc false alias Surgex.Parser.{FloatParser, Geolocation} @type errors :: :invalid_geolocation_tuple | :invalid_geolocation | FloatParser.errors() @spec call(term()) :: {:ok, Geolocation.t() | nil} | {:error, errors()} def call(nil), do: {:ok, nil} def c...
32.8
92
0.675474
d57736d5cd776d49e9a28f271a5a5b81957081fd
2,235
ex
Elixir
clients/os_config/lib/google_api/os_config/v1/model/repository_resource_zypper_repository.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/os_config/lib/google_api/os_config/v1/model/repository_resource_zypper_repository.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/os_config/lib/google_api/os_config/v1/model/repository_resource_zypper_repository.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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.910714
294
0.718568
d577410c71a9721a6e7197c5032df493261fbb11
91
exs
Elixir
exercism_formatter/test/test_helper.exs
ynfle/elixir-test-runner
587555b37553e5512f8fd154ac6a495dc34e68b2
[ "MIT" ]
null
null
null
exercism_formatter/test/test_helper.exs
ynfle/elixir-test-runner
587555b37553e5512f8fd154ac6a495dc34e68b2
[ "MIT" ]
null
null
null
exercism_formatter/test/test_helper.exs
ynfle/elixir-test-runner
587555b37553e5512f8fd154ac6a495dc34e68b2
[ "MIT" ]
null
null
null
ExUnit.configure(formatters: [JSONFormatter, ExUnit.CLIFormatter], seed: 0) ExUnit.start()
30.333333
75
0.791209
d577abbf7665ffa51aea32807326527a413b6287
18,097
ex
Elixir
lib/actions.ex
jrbart/ecto_shorts
bfcd5674d109bcea68e35ea6977c306b3fae8566
[ "MIT" ]
1
2022-03-25T16:51:20.000Z
2022-03-25T16:51:20.000Z
lib/actions.ex
jrbart/ecto_shorts
bfcd5674d109bcea68e35ea6977c306b3fae8566
[ "MIT" ]
null
null
null
lib/actions.ex
jrbart/ecto_shorts
bfcd5674d109bcea68e35ea6977c306b3fae8566
[ "MIT" ]
null
null
null
defmodule EctoShorts.Actions do @moduledoc """ Actions for CRUD in ecto, these can be used by all schemas/queries """ @type query :: Ecto.Query | Ecto.Schema @type filter_params :: Keyword.t | map @type aggregate_options :: :avg | :count | :max | :min | :sum @type schema_list :: list(Ecto.Schema.t) | [] ...
33.205505
210
0.63889
d577b1a934c063262d65c575cc92af6d8f553638
2,010
ex
Elixir
phoenix/pfu/lib/pfu_web/live/post_live/index.ex
cenezaraujo/unifor_prog_funcional
08b5d75c535b10b7dca8ac26efc1dba14fe2a4f1
[ "Apache-2.0" ]
null
null
null
phoenix/pfu/lib/pfu_web/live/post_live/index.ex
cenezaraujo/unifor_prog_funcional
08b5d75c535b10b7dca8ac26efc1dba14fe2a4f1
[ "Apache-2.0" ]
null
null
null
phoenix/pfu/lib/pfu_web/live/post_live/index.ex
cenezaraujo/unifor_prog_funcional
08b5d75c535b10b7dca8ac26efc1dba14fe2a4f1
[ "Apache-2.0" ]
null
null
null
defmodule PfuWeb.PostLive.Index do use PfuWeb, :live_view alias Pfu.Timeline alias Pfu.Timeline.Post alias Pfu.Repo alias Pfu.User @impl true def mount(_params, %{"user_id" => user_id}, socket) do if connected?(socket), do: Timeline.subscribe() socket = assign_new(socket, :current_user, fn -> Re...
27.162162
103
0.656219
d577d9404a2b37d1bca26a93208eeb5d56adf54f
2,156
exs
Elixir
test/flawless/helpers_test.exs
colinsmetz/flawless
87fd76f88758f16b42813b1e0f0f0ee8163d9185
[ "MIT" ]
null
null
null
test/flawless/helpers_test.exs
colinsmetz/flawless
87fd76f88758f16b42813b1e0f0f0ee8163d9185
[ "MIT" ]
null
null
null
test/flawless/helpers_test.exs
colinsmetz/flawless
87fd76f88758f16b42813b1e0f0f0ee8163d9185
[ "MIT" ]
null
null
null
defmodule Flawless.HelpersTest do defmodule User do defstruct [:name, :age] end use ExUnit.Case, async: true alias __MODULE__.User import Flawless.Helpers doctest Flawless.Helpers describe "modifiers" do test "can modify a Spec" do schema = atom() expected_schema = atom(nil: true, on...
33.6875
94
0.638683
d577e922b8534d344771e8e62f8125223a4cdb15
1,370
ex
Elixir
server/cardinal/lib/cardinal_web/router.ex
llucasreis/cardinal
714d89d37ef0fa305d78622ff7228864bf382035
[ "MIT" ]
null
null
null
server/cardinal/lib/cardinal_web/router.ex
llucasreis/cardinal
714d89d37ef0fa305d78622ff7228864bf382035
[ "MIT" ]
null
null
null
server/cardinal/lib/cardinal_web/router.ex
llucasreis/cardinal
714d89d37ef0fa305d78622ff7228864bf382035
[ "MIT" ]
null
null
null
defmodule CardinalWeb.Router do use CardinalWeb, :router pipeline :api do plug :accepts, ["json"] end pipeline :auth do plug CardinalWeb.Auth.Pipeline end scope "/api", CardinalWeb do pipe_through :api post "/users", UsersController, :create post "/users/signin", UsersController, :si...
29.148936
70
0.708759
d577fed3c80b6f5151b666f6274ac4602846d308
1,347
ex
Elixir
programming/elixir/conduit/lib/conduit_web/controllers/article_controller.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/conduit/lib/conduit_web/controllers/article_controller.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/conduit/lib/conduit_web/controllers/article_controller.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
defmodule ConduitWeb.ArticleController do use ConduitWeb, :controller use Guardian.Phoenix.Controller alias Conduit.Blog alias Conduit.Blog.Projections.Article plug Guardian.Plug.EnsureAuthenticated, %{handler: ConduitWeb.ErrorHandler} when action in [:create, :feed] plug Guardian.Plug.EnsureResource, %{h...
33.675
109
0.717149
d578288efaadee709397d6a3fc0430a27daaf812
535
ex
Elixir
lib/flowr_web/controllers/api/connector_account_controller.ex
flowr-app/flowr
1e88bc917da32df2878e13c9bb1998dbbe61cd62
[ "0BSD" ]
2
2021-08-01T04:38:08.000Z
2021-08-01T06:52:29.000Z
lib/flowr_web/controllers/api/connector_account_controller.ex
flowr-app/flowr
1e88bc917da32df2878e13c9bb1998dbbe61cd62
[ "0BSD" ]
3
2021-08-01T08:20:13.000Z
2021-08-01T08:22:07.000Z
lib/flowr_web/controllers/api/connector_account_controller.ex
flowr-app/flowr
1e88bc917da32df2878e13c9bb1998dbbe61cd62
[ "0BSD" ]
null
null
null
defmodule FlowrWeb.API.ConnectorAccountController do use FlowrWeb, :controller alias Flowr.Exterior alias Flowr.Exterior.HTTPClient def callback(conn, %{"state" => connector_account_id, "code" => code}) do account = Exterior.get_account!(connector_account_id) with {:ok, json} <- HTTPClient.OAuth2.get...
31.470588
85
0.715888
d5787e418b5e1a8192de975955d697059622db84
1,293
exs
Elixir
apps/cake_api/mix.exs
ScrimpyCat/cake
e1c0dd720a2cb583bebb985fb7821f98234dc9d8
[ "BSD-2-Clause" ]
2
2017-05-23T04:53:26.000Z
2017-05-28T11:53:18.000Z
apps/cake_api/mix.exs
ScrimpyCat/cake
e1c0dd720a2cb583bebb985fb7821f98234dc9d8
[ "BSD-2-Clause" ]
null
null
null
apps/cake_api/mix.exs
ScrimpyCat/cake
e1c0dd720a2cb583bebb985fb7821f98234dc9d8
[ "BSD-2-Clause" ]
1
2019-10-24T11:56:09.000Z
2019-10-24T11:56:09.000Z
defmodule Cake.API.Mixfile do use Mix.Project def project do [ app: :cake_api, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", e...
26.9375
81
0.518948
d5787f6dde1014fb870a17e7d458f58f92eecfb1
3,010
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/audit_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_management/lib/google_api/service_management/v1/model/audit_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_management/lib/google_api/service_management/v1/model/audit_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...
60.2
1,106
0.749834
d57880a5f002e12c38ea5784f586ffd34bf75699
775
ex
Elixir
2021/08/8a.ex
cybrox/adventofcode
974b1265f84e7769385adcc4883ea4bec3dd0482
[ "MIT" ]
null
null
null
2021/08/8a.ex
cybrox/adventofcode
974b1265f84e7769385adcc4883ea4bec3dd0482
[ "MIT" ]
null
null
null
2021/08/8a.ex
cybrox/adventofcode
974b1265f84e7769385adcc4883ea4bec3dd0482
[ "MIT" ]
null
null
null
input = "./8.input.txt" |> File.read!() |> String.trim() |> String.split("\n", trim: true) |> Enum.map(fn line -> line |> String.split(" | ") |> Enum.map(&String.split(&1, " ")) end) defmodule Solution do @lenmap %{1 => 2, 2 => 5, 3 => 5, 4 => 4, 5 => 5, 6 => 6, 7 => 3, 8 => 7, 9 => 6} def findnum...
35.227273
98
0.575484
d578b406c6e4513173be43a61db2b67ec212232a
1,383
ex
Elixir
server/lib/adapters/changes.ex
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
null
null
null
server/lib/adapters/changes.ex
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
null
null
null
server/lib/adapters/changes.ex
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
null
null
null
# This file draws heavily from https://github.com/cainophile/cainophile # License: https://github.com/cainophile/cainophile/blob/master/LICENSE require Protocol defmodule Realtime.Adapters.Changes do defmodule(Transaction, do: defstruct([:changes, :commit_timestamp])) defmodule NewRecord do @derive {Jason.En...
23.844828
91
0.673174
d5790b1cd8dfd6f7eacdf784d455ec0f515588be
2,166
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__annotate_video_progress.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__annotate_video_progress.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__annotate_video_progress.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...
36.1
228
0.759464
d5791445e5bf975d763e16ea2b2a41698ef75034
924
exs
Elixir
test/blockchain_api/query/stats_test.exs
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
17
2019-11-03T03:02:41.000Z
2022-01-13T17:03:32.000Z
test/blockchain_api/query/stats_test.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
5
2019-11-07T23:26:53.000Z
2020-11-24T21:45:35.000Z
test/blockchain_api/query/stats_test.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
11
2019-12-04T07:03:16.000Z
2022-01-13T17:03:50.000Z
defmodule BlockchainAPI.Query.StatsTest do use BlockchainAPI.DataCase alias BlockchainAPI.Query.Stats alias BlockchainAPI.Util import BlockchainAPI.TestHelpers describe "supply" do test "get_supply/0 returns the total token supply" do account1 = account_fixture(%{balance: 2, address: "address1"}) ...
34.222222
78
0.703463
d57922d06e736934c3dc42d688394074f297035a
1,927
ex
Elixir
lib/maru/builder/exception.ex
davidenko87/maru
62b6ca0e42dd550683af8743f50e67048c4027d0
[ "BSD-3-Clause" ]
819
2016-11-25T07:12:04.000Z
2022-03-16T06:59:36.000Z
lib/maru/builder/exception.ex
davidenko87/maru
62b6ca0e42dd550683af8743f50e67048c4027d0
[ "BSD-3-Clause" ]
71
2016-11-24T20:19:09.000Z
2021-06-09T10:12:23.000Z
lib/maru/builder/exception.ex
davidenko87/maru
62b6ca0e42dd550683af8743f50e67048c4027d0
[ "BSD-3-Clause" ]
56
2015-01-10T23:34:12.000Z
2016-11-17T00:13:56.000Z
alias Maru.Builder.Exception alias Maru.Builder.RETURN defmodule Exception do defstruct errors: nil, error_var: nil, function: nil, block: nil defmacro __using__(_) do quote do Module.register_attribute(__MODULE__, :exceptions, accumulate: true) import Exception...
25.693333
77
0.6274
d5794ceae01c992b4298449227ef58014f217cc2
3,348
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/entitlement.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/entitlement.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/entitlement.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
62
1,375
0.758662
d57950f679304e4a3eae028aaf5cf34e36d95738
662
exs
Elixir
mix.exs
lenfree/dd_monitor
1bd32dcfd30db7b3265e52e74f0445a5840c52f9
[ "MIT" ]
null
null
null
mix.exs
lenfree/dd_monitor
1bd32dcfd30db7b3265e52e74f0445a5840c52f9
[ "MIT" ]
null
null
null
mix.exs
lenfree/dd_monitor
1bd32dcfd30db7b3265e52e74f0445a5840c52f9
[ "MIT" ]
1
2019-06-21T05:30:16.000Z
2019-06-21T05:30:16.000Z
defmodule DdMonitor.MixFile do use Mix.Project def project do [ app: :dd_monitor, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), escript: escript() ] end defp escript do [ main_module: DdMonitor.CLI, path: "./r...
17.421053
59
0.543807
d5796787bdb480c9492bee03ac57ca320c0001ce
299
ex
Elixir
lib/epi_locator/tr/tr_client_behaviour.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
null
null
null
lib/epi_locator/tr/tr_client_behaviour.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
6
2021-10-19T01:55:57.000Z
2022-02-15T01:04:19.000Z
lib/epi_locator/tr/tr_client_behaviour.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
2
2022-01-21T08:38:50.000Z
2022-01-21T08:42:04.000Z
defmodule EpiLocator.TRClientBehaviour do @moduledoc """ Provides a mockable interface for querying Thomson Reuters """ @callback person_search(Keyword.t()) :: {:ok, String.t()} | {:error, String.t()} @callback person_search_results(String.t()) :: {:ok, any()} | {:error, String.t()} end
33.222222
84
0.682274
d57971f178dfc9f49f5936ace73303d34bd979a0
92
exs
Elixir
test/price_register_web/views/page_view_test.exs
civictech-ie/price-register
9112c183722b76c09e98063ec2829dc2d0b55113
[ "Apache-2.0" ]
4
2021-03-09T19:35:37.000Z
2022-03-20T23:31:19.000Z
test/price_register_web/views/page_view_test.exs
civictech-ie/price-register
9112c183722b76c09e98063ec2829dc2d0b55113
[ "Apache-2.0" ]
null
null
null
test/price_register_web/views/page_view_test.exs
civictech-ie/price-register
9112c183722b76c09e98063ec2829dc2d0b55113
[ "Apache-2.0" ]
null
null
null
defmodule PriceRegisterWeb.PageViewTest do use PriceRegisterWeb.ConnCase, async: true end
23
44
0.847826
d57991c71f34c047d76c337986513b8fc8073490
2,841
ex
Elixir
lib/phoenix/transports/websocket.ex
bitgamma/phoenix
c06fc0fa03a95f2c863c49711da58fedfa56c374
[ "MIT" ]
null
null
null
lib/phoenix/transports/websocket.ex
bitgamma/phoenix
c06fc0fa03a95f2c863c49711da58fedfa56c374
[ "MIT" ]
null
null
null
lib/phoenix/transports/websocket.ex
bitgamma/phoenix
c06fc0fa03a95f2c863c49711da58fedfa56c374
[ "MIT" ]
null
null
null
defmodule Phoenix.Transports.WebSocket do use Phoenix.Controller @moduledoc """ Handles WebSocket clients for the Channel Transport layer ## Configuration By default, JSON encoding is used to broker messages to and from clients, but the serializer is configurable via the Endpoint's transport configuratio...
30.880435
94
0.69025
d579d318c323c11767d3ad76f873a1033b443c25
1,507
ex
Elixir
lib/httpcacheclient.ex
Sonato/jwt-google-tokens
8c9ebea70b758d6e49e11597fb7e1147867f11bd
[ "Apache-2.0" ]
25
2017-03-15T15:54:39.000Z
2021-04-26T08:23:01.000Z
lib/httpcacheclient.ex
Sonato/jwt-google-tokens
8c9ebea70b758d6e49e11597fb7e1147867f11bd
[ "Apache-2.0" ]
12
2016-09-10T04:08:46.000Z
2020-06-15T08:15:03.000Z
lib/httpcacheclient.ex
Sonato/jwt-google-tokens
8c9ebea70b758d6e49e11597fb7e1147867f11bd
[ "Apache-2.0" ]
26
2017-06-02T00:14:32.000Z
2022-03-17T14:48:14.000Z
defmodule Jwt.HttpCacheClient do require Logger @expires_header "Expires" def get!(uri, cache \\ Jwt.Cache.Ets, httpclient \\ HTTPoison) do {_result, value} = get(uri, cache, httpclient) value end def get(uri, cache \\ Jwt.Cache.Ets, httpclient \\ HTTPoison) do cache.get(uri) |> case do ...
28.433962
96
0.646981
d579da04d1b53e9100e7b07090e9fe9800ebdc9a
1,252
ex
Elixir
apps/ecto_gen_error_reproduce_web/lib/ecto_gen_error_reproduce_web/views/error_helpers.ex
TheMaikXX/ecto_gen_error_reproduce_umbrella
14af47d24b17a9478c4a67715995fa45fc9cc02a
[ "MIT" ]
null
null
null
apps/ecto_gen_error_reproduce_web/lib/ecto_gen_error_reproduce_web/views/error_helpers.ex
TheMaikXX/ecto_gen_error_reproduce_umbrella
14af47d24b17a9478c4a67715995fa45fc9cc02a
[ "MIT" ]
null
null
null
apps/ecto_gen_error_reproduce_web/lib/ecto_gen_error_reproduce_web/views/error_helpers.ex
TheMaikXX/ecto_gen_error_reproduce_umbrella
14af47d24b17a9478c4a67715995fa45fc9cc02a
[ "MIT" ]
null
null
null
defmodule EctoGenErrorReproduceWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # When using gettext, we typically pass the strings we want # to translate as...
36.823529
90
0.682109
d579f14050fd52abff4b3e7d06367ffef9cab7dd
2,731
exs
Elixir
test/plasm/later_than_test.exs
facto/plasm
cd8a713e8409738f776f77cecbc65e2f0f42c146
[ "Apache-2.0" ]
56
2016-07-31T19:35:49.000Z
2021-10-21T20:32:42.000Z
test/plasm/later_than_test.exs
atomic-fads/plasm
cd8a713e8409738f776f77cecbc65e2f0f42c146
[ "Apache-2.0" ]
2
2016-01-27T17:38:55.000Z
2016-05-21T18:33:14.000Z
test/plasm/later_than_test.exs
atomic-fads/plasm
cd8a713e8409738f776f77cecbc65e2f0f42c146
[ "Apache-2.0" ]
3
2016-01-27T14:00:55.000Z
2016-05-21T18:06:56.000Z
defmodule Plasm.LaterThanTest do use Plasm.Case alias Plasm.Repo alias Plasm.User import Plasm.Factory test ".later_than with an atom field name and DateTime" do # Arrange castable_string = "2016-07-27T00:00:00Z" {:ok, date_time, _} = DateTime.from_iso8601(castable_string) earlier_user = in...
36.413333
106
0.694617
d57a07e2c6204e375da8f2a322e087569245d5a7
3,652
ex
Elixir
lib/eex/lib/eex/engine.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
lib/eex/lib/eex/engine.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
lib/eex/lib/eex/engine.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
defmodule EEx.Engine do @moduledoc ~S""" Basic EEx engine that ships with Elixir. An engine needs to implement three functions: * `handle_body(quoted)` - receives the final built quoted expression, should do final post-processing and return a quoted expression. * `handle_text(buffer, text)`...
28.092308
90
0.64184
d57a101b3a68289cab86bcc48407993f91751ce0
703
ex
Elixir
lib/is/validators/number.ex
bydooweedoo/is
2d6acf61b397f7297d42a83b09c1181e22cb5230
[ "MIT" ]
17
2018-06-23T11:16:17.000Z
2021-11-17T18:28:37.000Z
lib/is/validators/number.ex
bydooweedoo/is
2d6acf61b397f7297d42a83b09c1181e22cb5230
[ "MIT" ]
null
null
null
lib/is/validators/number.ex
bydooweedoo/is
2d6acf61b397f7297d42a83b09c1181e22cb5230
[ "MIT" ]
2
2018-10-24T20:12:54.000Z
2019-12-25T17:45:41.000Z
defmodule Is.Validators.Number do @moduledoc """ Validation for number. ## Examples iex> Is.validate(10, :number) [] iex> Is.validate(10.10, :number) [] iex> Is.validate("str", :number) [{:error, [], "must be an number"}] iex> Is.validate(10, number: false) [{:...
22.677419
66
0.553343
d57a243573fb26fbb4147234e8f39d028e0e7616
1,104
ex
Elixir
lib/omise/account.ex
zentetsukenz/omise-elixir
5ba59f53d3a66702b44f1d16c74e712d4f5d2815
[ "MIT" ]
null
null
null
lib/omise/account.ex
zentetsukenz/omise-elixir
5ba59f53d3a66702b44f1d16c74e712d4f5d2815
[ "MIT" ]
null
null
null
lib/omise/account.ex
zentetsukenz/omise-elixir
5ba59f53d3a66702b44f1d16c74e712d4f5d2815
[ "MIT" ]
null
null
null
defmodule Omise.Account do @moduledoc ~S""" Provides Account API interfaces. <https://www.omise.co/account-api> """ use Omise.HTTPClient, endpoint: "account" defstruct object: "account", id: nil, livemode: nil, location: nil, email: nil, currenc...
23
85
0.558877
d57aa7c31d3c5e35bada45682011d99d901449e9
4,501
exs
Elixir
lib/mix/test/test_helper.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/mix/test/test_helper.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
lib/mix/test/test_helper.exs
Nicd/elixir
e62ef92a4be1b562033d35b2d822cc9d6c661077
[ "Apache-2.0" ]
null
null
null
Mix.start() Mix.shell(Mix.Shell.Process) ExUnit.start [] System.put_env("EXUNIT_CONFIG", "none") defmodule MixTest.Case do use ExUnit.CaseTemplate using do quote do import MixTest.Case end end teardown do Mix.env(:dev) Mix.Task.clear Mix.Shell.Process.flush Mix.Deps.Converger.c...
20.646789
87
0.630527
d57b1ee729630e2f8a6887286fa6c1efe38a8f8d
823
exs
Elixir
apps/importer/test/importer/color_functions_test.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
8
2018-07-06T14:44:10.000Z
2021-08-19T17:24:25.000Z
apps/importer/test/importer/color_functions_test.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
12
2018-07-15T18:43:04.000Z
2022-02-10T16:07:47.000Z
apps/importer/test/importer/color_functions_test.exs
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
1
2018-07-13T17:30:20.000Z
2018-07-13T17:30:20.000Z
defmodule Importer.ColorFunctionsTest do use ExUnit.Case alias Importer.ColorFunctions describe "text_color_for_bg_color/1" do test "it uses white on top of black" do assert "FFFFFF" == ColorFunctions.text_color_for_bg_color("000000", nil) end test "it uses white on top of green" do ass...
29.392857
83
0.707169
d57b220bb5b46905ffd1ced5905b7d9972a720b0
1,821
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_detection_rule.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_detection_rule.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_detection_rule.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.42
136
0.764415
d57b4516299f452e744463108e3b0a5205231ff6
777
exs
Elixir
test/maru_test.exs
nicooga/maru
e61cf79f11c4d016766efb6778f6ae735445b1b3
[ "BSD-3-Clause" ]
null
null
null
test/maru_test.exs
nicooga/maru
e61cf79f11c4d016766efb6778f6ae735445b1b3
[ "BSD-3-Clause" ]
null
null
null
test/maru_test.exs
nicooga/maru
e61cf79f11c4d016766efb6778f6ae735445b1b3
[ "BSD-3-Clause" ]
null
null
null
defmodule MaruTest do use ExUnit.Case, async: true describe "maru application test" do Application.put_env(:maru, MaruTest.MaruRouter, []) Application.put_env(:maru, MaruTest.NoThisModule, []) Application.put_env(:maru, MaruTest.NotMaruRouter, []) defmodule MaruRouter do use Maru.Router, mak...
26.793103
84
0.662806
d57b5e6761bb3c8f029f68ecd2bfe1be978052d6
277
ex
Elixir
lib/authoritex/fast/geographic.ex
nulib/authoritex
a9b277e20873a886e2578f14f58acb277a501f01
[ "MIT" ]
2
2020-06-11T10:37:21.000Z
2020-10-13T18:12:42.000Z
lib/authoritex/fast/geographic.ex
nulib/authoritex
a9b277e20873a886e2578f14f58acb277a501f01
[ "MIT" ]
21
2020-05-12T21:06:32.000Z
2022-01-14T14:43:45.000Z
lib/authoritex/fast/geographic.ex
nulib/authoritex
a9b277e20873a886e2578f14f58acb277a501f01
[ "MIT" ]
null
null
null
defmodule Authoritex.FAST.Geographic do @desc "Faceted Application of Subject Terminology -- Geographic" @moduledoc "Authoritex implementation for #{@desc}" use Authoritex.FAST.Base, subauthority: "suggest51", code: "fast-geographic", description: @desc end
27.7
66
0.740072
d57b6b1e3ac2d04d2398b694fb399ec4b4882573
1,554
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/link.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/link.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/link.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...
31.08
130
0.73166
d57b72537aedd0283826b052835fb59cadb2f33c
2,272
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/money.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/money.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/money.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
42.074074
498
0.716109
d57c0be7def0b5b9224bf702bf11f0dc04494f3f
1,385
ex
Elixir
lib/admin/matchmaking.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
1
2021-12-21T14:22:12.000Z
2021-12-21T14:22:12.000Z
lib/admin/matchmaking.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
null
null
null
lib/admin/matchmaking.ex
skylerparr/playfab_ex
b6a049511bc3466cea5959797425bffc099239de
[ "MIT" ]
null
null
null
defmodule PlayfabEx.Admin.Matchmaking do use Interface @doc """ Retrieves the details for a specific completed session, including links to standard out and standard error logs [online docs](https://api.playfab.com/documentation/admin/method/GetMatchmakerGameInfo) """ @spec get_matchmaker_game_info(map()) ...
46.166667
159
0.763177
d57c1d9902d2100bb0036ef1e431f25738744995
856
ex
Elixir
lib/conduit_mqtt/sub_pool.ex
conduitframework/conduit_mq
ec16345433f45b79ad61447a19d66cc20ce8afd1
[ "MIT" ]
null
null
null
lib/conduit_mqtt/sub_pool.ex
conduitframework/conduit_mq
ec16345433f45b79ad61447a19d66cc20ce8afd1
[ "MIT" ]
68
2018-10-06T02:44:32.000Z
2021-08-03T05:20:23.000Z
lib/conduit_mqtt/sub_pool.ex
conduitframework/conduit_mq
ec16345433f45b79ad61447a19d66cc20ce8afd1
[ "MIT" ]
1
2019-07-19T06:40:56.000Z
2019-07-19T06:40:56.000Z
defmodule ConduitMQTT.SubPool do @moduledoc """ Supervises all the subscriptions to queues """ use Supervisor def child_spec([broker, _, _] = args) do %{ id: name(broker), start: {__MODULE__, :start_link, args}, type: :supervisor } end def start_link(broker, subscribers, opts) ...
25.939394
106
0.663551
d57c513f7c05a55e43882e5cbf4d4894bec72038
521
exs
Elixir
test/naira/nairaex_test.exs
HPJM/crypto_apis
fe8b191a7b95ec3d066bf1881277c3f920df1457
[ "MIT" ]
null
null
null
test/naira/nairaex_test.exs
HPJM/crypto_apis
fe8b191a7b95ec3d066bf1881277c3f920df1457
[ "MIT" ]
null
null
null
test/naira/nairaex_test.exs
HPJM/crypto_apis
fe8b191a7b95ec3d066bf1881277c3f920df1457
[ "MIT" ]
null
null
null
defmodule CryptoApis.NairaexTest do use ExUnit.Case import Mock alias CryptoApis.Nairaex import CryptoApis.Fixtures describe "rates" do test "rates/0 responds ok" do with_mock HTTPoison, get: fn url, _headers, options -> {:ok, successful_response(url: url, options: options)} ...
26.05
70
0.654511
d57c5e80c43ce95fcd28d6c3106e68f09442c55c
2,354
ex
Elixir
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/status.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...
44.415094
427
0.726423
d57c71bc62db88a68018d3d7da4d2da0f0f2d1af
737
exs
Elixir
test/authex/token_auth_test.exs
Waasi/authex
8e1c55ccbbbcef72bd958080e42c1e1b53359029
[ "MIT" ]
3
2016-12-17T13:36:16.000Z
2017-01-28T11:17:23.000Z
test/authex/token_auth_test.exs
Waasi/authex
8e1c55ccbbbcef72bd958080e42c1e1b53359029
[ "MIT" ]
null
null
null
test/authex/token_auth_test.exs
Waasi/authex
8e1c55ccbbbcef72bd958080e42c1e1b53359029
[ "MIT" ]
null
null
null
defmodule Authex.TokenAuthTest do use ExUnit.Case, async: true use Plug.Test alias Authex.TokenAuth setup do Application.put_env(:authex, :auth_id, TestHelpers.audience) Application.put_env(:authex, :auth_secret, Base.url_encode64(TestHelpers.secret)) valid_conn = conn(:get, "/test") |> put_req_h...
26.321429
90
0.68521
d57c83e1f4f952f706754ee35cc03230ed2f7ac9
562
exs
Elixir
test/test_helper.exs
learn-co/railway_ipc
aeec16fb5b315fb3d8472b38c6eeea20d20e731a
[ "MIT" ]
2
2021-03-22T19:37:33.000Z
2022-01-04T08:48:20.000Z
test/test_helper.exs
learn-co/railway_ipc
aeec16fb5b315fb3d8472b38c6eeea20d20e731a
[ "MIT" ]
10
2019-11-29T20:24:24.000Z
2021-02-26T22:06:13.000Z
test/test_helper.exs
learn-co/railway_ipc
aeec16fb5b315fb3d8472b38c6eeea20d20e731a
[ "MIT" ]
1
2020-01-09T17:13:29.000Z
2020-01-09T17:13:29.000Z
Application.load(:railway_ipc) for app <- Application.spec(:railway_ipc, :applications) do Application.ensure_all_started(app) end # End to end integration tests are slow and require a running RabbitMQ # instance so don't run them by default. You can run them using # # `MIX_ENV=e2e mix test --only e2e`. # # Notice ...
31.222222
70
0.754448
d57c87ec0610da75d77273221c0136bb2f641d90
4,599
exs
Elixir
test/sanbase/signals/trending_words/trigger_trending_words_send_at_predefiend_time_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
test/sanbase/signals/trending_words/trigger_trending_words_send_at_predefiend_time_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
test/sanbase/signals/trending_words/trigger_trending_words_send_at_predefiend_time_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.Signal.TriggerTrendingWordsSendAtPredefiendTimeTest do use Sanbase.DataCase, async: false import Mock import Sanbase.Factory import ExUnit.CaptureLog alias Sanbase.Signal.{UserTrigger, HistoricalActivity} alias Sanbase.Signal.Evaluator alias Sanbase.Signal.Trigger.TrendingWordsTrigger...
31.285714
125
0.66384
d57ca87296de0afc0f714781b22d2e8b41808199
4,806
ex
Elixir
lib/hash_ring/driver.ex
nerandell/hash-ring-ex
0bdafabf1eeec41e3248fbb12b914005540cf973
[ "Apache-2.0" ]
23
2015-02-19T22:27:52.000Z
2021-04-20T11:47:49.000Z
lib/hash_ring/driver.ex
nerandell/hash-ring-ex
0bdafabf1eeec41e3248fbb12b914005540cf973
[ "Apache-2.0" ]
4
2015-05-27T17:30:29.000Z
2016-11-10T19:26:37.000Z
lib/hash_ring/driver.ex
nerandell/hash-ring-ex
0bdafabf1eeec41e3248fbb12b914005540cf973
[ "Apache-2.0" ]
23
2015-04-23T20:37:25.000Z
2018-06-08T07:19:58.000Z
defmodule HashRing.Driver do @moduledoc """ A helper library for loading, starting, stopping, and communicating to an Erlang port to the C hash-ring library. All functions are synchronous unless explicitly specified. """ @driver "hash_ring_drv" @port_timeout 5000 @hash_function_sha1 1 @hash_functio...
26.849162
94
0.580732
d57cbfe641d0ef1e337fa84393ab488a8757ef4d
1,358
ex
Elixir
lib/slackex/instant_message.ex
SirFitz/slack
2843fe07c006f75a20fd652f0ec31e76db923d9d
[ "MIT" ]
null
null
null
lib/slackex/instant_message.ex
SirFitz/slack
2843fe07c006f75a20fd652f0ec31e76db923d9d
[ "MIT" ]
null
null
null
lib/slackex/instant_message.ex
SirFitz/slack
2843fe07c006f75a20fd652f0ec31e76db923d9d
[ "MIT" ]
null
null
null
defmodule Slack.IM do @moduledoc """ Get info on your direct messages. """ @doc """ This method closes a direct message channel. """ def close(channel, options \\ %{}) do params = options |> Map.merge(%{channel: channel}) Slack.request("im.close", params) end @doc """ This method returns a...
26.115385
69
0.657585
d57cc856766e9a7dd819d43e25a5eeb1d87e9ce8
263
ex
Elixir
lib/single_product.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
lib/single_product.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
lib/single_product.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
defmodule SingleProduct do @moduledoc """ SingleProduct keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
26.3
66
0.764259
d57ce03f3b5af59e184f2e5840f5343d9107ca67
272
exs
Elixir
apps/frontend/test/frontend_web/views/layout_view_test.exs
ricardoebbers/exquisitle
69367f56aae110e4efbd1960bc49b8d049a7de89
[ "MIT" ]
null
null
null
apps/frontend/test/frontend_web/views/layout_view_test.exs
ricardoebbers/exquisitle
69367f56aae110e4efbd1960bc49b8d049a7de89
[ "MIT" ]
null
null
null
apps/frontend/test/frontend_web/views/layout_view_test.exs
ricardoebbers/exquisitle
69367f56aae110e4efbd1960bc49b8d049a7de89
[ "MIT" ]
null
null
null
defmodule FrontendWeb.LayoutViewTest do use FrontendWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30.222222
65
0.768382
d57d3e6cf016de536811b52bf20380cbba31c6aa
1,753
ex
Elixir
clients/language/lib/google_api/language/v1/model/sentiment.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/model/sentiment.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/model/sentiment.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.372549
188
0.7336
d57d4df4b2fc531155d5749898324100583505b0
3,229
exs
Elixir
apps/parse/test/parse/stop_times_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
62
2019-01-17T12:34:39.000Z
2022-03-20T21:49:47.000Z
apps/parse/test/parse/stop_times_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
375
2019-02-13T15:30:50.000Z
2022-03-30T18:50:41.000Z
apps/parse/test/parse/stop_times_test.exs
fjlanasa/api
c39bc393aea572bfb81754b2ea1adf9dda9ce24a
[ "MIT" ]
14
2019-01-16T19:35:57.000Z
2022-02-26T18:55:54.000Z
defmodule Parse.StopTimesTest do use ExUnit.Case import Parse.StopTimes alias Model.{Schedule, Trip} setup do blob = """ "trip_id","arrival_time","departure_time","stop_id","stop_sequence","stop_headsign","pickup_type","drop_off_type","timepoint" "29063613","14:36:00","14:36:01","2300","6","","0","...
32.616162
129
0.488696
d57d58b8baa4563b9f226a51de21dc96929eb332
393
exs
Elixir
spawn1.exs
karlosmid/book_programming_elixir_12
53769b35728a82eddde3a21d4cbd45c1c21596a4
[ "MIT" ]
null
null
null
spawn1.exs
karlosmid/book_programming_elixir_12
53769b35728a82eddde3a21d4cbd45c1c21596a4
[ "MIT" ]
null
null
null
spawn1.exs
karlosmid/book_programming_elixir_12
53769b35728a82eddde3a21d4cbd45c1c21596a4
[ "MIT" ]
null
null
null
defmodule Spawn1 do def greet do receive do {sender,msg} -> send sender, {:ok, "Hello #{msg}"} greet end end end pid = spawn(Spawn1, :greet, []) send pid, {self, "Karlo"} receive do {sender, msg} -> IO.puts msg end send pid, {self, "Takujin"} receive do {sender, msg} -> ...
14.555556
42
0.577608
d57d816da2dc3c4dc659115b432de66ab5784cb6
855
exs
Elixir
test_app/test/absinthe_test_app_web/graphql/subscription_test.exs
valiot/simple_graphql_client
455be8c7f1fdbf2f7ffc71a0402f8604ec8243b6
[ "MIT" ]
15
2018-10-14T23:30:56.000Z
2021-02-20T21:49:42.000Z
test_app/test/absinthe_test_app_web/graphql/subscription_test.exs
valiot/simple_graphql_client
455be8c7f1fdbf2f7ffc71a0402f8604ec8243b6
[ "MIT" ]
1
2019-04-29T06:29:30.000Z
2019-08-05T20:26:52.000Z
test_app/test/absinthe_test_app_web/graphql/subscription_test.exs
valiot/simple_graphql_client
455be8c7f1fdbf2f7ffc71a0402f8604ec8243b6
[ "MIT" ]
4
2019-03-14T23:07:49.000Z
2019-08-05T18:34:37.000Z
defmodule AbsintheTestApp.SubscriptionTest do use ExUnit.Case @sub_query """ subscription testsub { userAdded{ email } } """ @mutation_query """ mutation testmut { createUser(email: "testuser@example.com", name: "testname"){ email } } """ @opts [url: "http://localhost...
24.428571
75
0.654971
d57d83ce5ceab14ecba8efca312072e54ae3213f
472
ex
Elixir
web/models/support_message.ex
anndream/phoenix-commerce
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
229
2016-09-21T09:24:46.000Z
2020-05-16T22:41:31.000Z
web/models/support_message.ex
sadiqmmm/ex-shop
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
3
2016-09-21T10:26:50.000Z
2016-10-19T07:25:12.000Z
web/models/support_message.ex
sadiqmmm/ex-shop
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
32
2016-09-22T05:19:05.000Z
2019-11-01T04:07:13.000Z
defmodule Ap.SupportMessage do use Ap.Web, :model schema "support_messages" do field :name, :string field :email, :string field :subject, :string field :content, :string timestamps() end @doc """ Builds a changeset based on the `struct` and `params`. """ def changeset(struct, params...
21.454545
61
0.633475
d57dd59afd533a3054546c802d1b751f7cd1e8af
5,176
ex
Elixir
lib/ueberauth/strategy/wechat/oauth.ex
dev800/ueberauth_wechat
bd96e3d434ebd894238802217512f8aa37b36ea5
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/wechat/oauth.ex
dev800/ueberauth_wechat
bd96e3d434ebd894238802217512f8aa37b36ea5
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/wechat/oauth.ex
dev800/ueberauth_wechat
bd96e3d434ebd894238802217512f8aa37b36ea5
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Wechat.OAuth do @moduledoc """ An implementation of OAuth2 for wechat. To add your `client_id` and `client_secret` include these values in your configuration. config :ueberauth, Ueberauth.Strategy.Wechat.OAuth, client_id: System.get_env("WECHAT_APPID"), client_...
31.369697
104
0.642002
d57de473b5ea40cb8ee98826cd58dc682cc3dcc5
289
ex
Elixir
lib/ex_yapay/resources/product.ex
denvera/ex-yapay
18ac9a20108f21554a4c61b9c822694fa5189eb8
[ "MIT" ]
3
2020-08-11T19:05:55.000Z
2020-08-19T21:57:39.000Z
lib/ex_yapay/resources/product.ex
denvera/ex-yapay
18ac9a20108f21554a4c61b9c822694fa5189eb8
[ "MIT" ]
2
2020-08-20T16:32:02.000Z
2021-09-27T18:46:40.000Z
lib/ex_yapay/resources/product.ex
denvera/ex-yapay
18ac9a20108f21554a4c61b9c822694fa5189eb8
[ "MIT" ]
3
2020-08-11T19:20:22.000Z
2021-10-17T17:29:59.000Z
defmodule ExYapay.Resources.Product do @moduledoc false @enforce_keys [:code, :description, :extra, :price_unit, :quantity, :sku, :url_img] defstruct @enforce_keys @spec required_attributes() :: [atom()] def required_attributes, do: [:description, :price_unit, :quantity] end
26.272727
85
0.733564
d57df14ef409f68e7bb208d1affd5dd8826893fa
1,732
ex
Elixir
lib/sanbase/utils/datetime/blockchain_address_utils.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/utils/datetime/blockchain_address_utils.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/utils/datetime/blockchain_address_utils.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Utils.BlockchainAddressUtils do @doc ~s""" Get a list where every element has a key-value pair where the key is `address`, `from_address` or `to_address` and the value is a string and transform that string to a map with `address` as a key and the string value as its value. Additionally, the ...
45.578947
132
0.671478
d57e02c37b7611afe20710ca89823848e19b383c
304
ex
Elixir
lib/ex_tectonicdb/config.ex
yurikoval/ex_tectonicdb
920444fdf085dc2b7a5cba4ad9fb58654312b4b3
[ "MIT" ]
13
2020-05-16T15:24:24.000Z
2022-03-09T20:51:35.000Z
lib/ex_tectonicdb/config.ex
yurikoval/ex_tectonicdb
920444fdf085dc2b7a5cba4ad9fb58654312b4b3
[ "MIT" ]
8
2021-02-19T06:11:10.000Z
2022-01-13T05:19:58.000Z
lib/ex_tectonicdb/config.ex
yurikoval/ex_tectonicdb
920444fdf085dc2b7a5cba4ad9fb58654312b4b3
[ "MIT" ]
1
2020-05-17T05:05:19.000Z
2020-05-17T05:05:19.000Z
defmodule ExTectonicdb.Config do @moduledoc """ Connection config """ alias __MODULE__ @type t :: %Config{ host: String.t(), port: non_neg_integer, tcp_opts: [any] } defstruct host: {127, 0, 0, 1}, port: 9001, tcp_opts: [] end
16.888889
33
0.523026
d57e05021c074f038abe6c685850e182922ffbc3
305
ex
Elixir
lib/graphql/resolvers/authentication_provider.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/graphql/resolvers/authentication_provider.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/graphql/resolvers/authentication_provider.ex
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Accent.GraphQL.Resolvers.AuthenticationProvider do @spec list(any(), any(), GraphQLContext.t()) :: {:ok, list(%{id: atom()})} def list(_, _, _) do {:ok, Enum.map(config()[:providers], &%{id: elem(&1, 0)})} end defp config do Application.get_env(:ueberauth, Ueberauth) end end
27.727273
76
0.645902
d57e1ab1ad71d32a32a09a7295ed5c1bfa7593c0
1,598
ex
Elixir
lib/wabanex_web/schema/types/custom/date_range.ex
joaodubas/nlw-06
7d6a0dedf99ae81e37b3830268ca28ff671ba922
[ "MIT" ]
null
null
null
lib/wabanex_web/schema/types/custom/date_range.ex
joaodubas/nlw-06
7d6a0dedf99ae81e37b3830268ca28ff671ba922
[ "MIT" ]
null
null
null
lib/wabanex_web/schema/types/custom/date_range.ex
joaodubas/nlw-06
7d6a0dedf99ae81e37b3830268ca28ff671ba922
[ "MIT" ]
null
null
null
defmodule WabanexWeb.Schema.Types.Custom.DateRange do use Absinthe.Schema.Notation alias Absinthe.Blueprint.Input scalar :date_range, name: "DateRange" do description(""" The `DateRange` scalar represents a range/period of date. The `DateRange` appears as a string of two ISO8601 formatted dates ...
34
84
0.662078
d57e36a295f8943f4d1cc37ea442f514391a27a1
2,087
exs
Elixir
config/dev.exs
lucasmelin/Chatter
023595dab54bc86d94062a61628c344fa5d7f56d
[ "MIT" ]
null
null
null
config/dev.exs
lucasmelin/Chatter
023595dab54bc86d94062a61628c344fa5d7f56d
[ "MIT" ]
1
2020-07-16T23:18:36.000Z
2020-07-16T23:18:36.000Z
config/dev.exs
lucasmelin/Chatter
023595dab54bc86d94062a61628c344fa5d7f56d
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :chatter, ChatterWeb.Endpoint, http: [port: 4000...
27.460526
68
0.686152
d57e418b2106b737b035da6a8082e0ef69497e31
488
ex
Elixir
test/support/test_setup/payment_method.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
test/support/test_setup/payment_method.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
test/support/test_setup/payment_method.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.TestSetup.PaymentMethod do alias Nectar.Repo @names ["cheque", "call with a card"] def create_payment_methods(names \\ @names, enabled \\ true) def create_payment_methods(names, enabled) when is_list(names) do Enum.map(names, fn (name) -> create_payment_methods(name, enabled) end) end ...
28.705882
108
0.735656
d57e48cee0ab118f35cd6a6269f4ee6357873ef5
67
ex
Elixir
lib/mango_web/views/admin/supplier_view.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
121
2017-06-24T10:33:38.000Z
2022-03-17T16:02:16.000Z
lib/mango_web/views/admin/supplier_view.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
6
2017-06-24T22:48:21.000Z
2018-03-17T01:20:32.000Z
lib/mango_web/views/admin/supplier_view.ex
nittin-shankar/mango
3d988a494f57b26bddaad9a25e63eb4e7f6f9c12
[ "MIT" ]
29
2017-07-03T04:09:15.000Z
2022-03-02T15:45:49.000Z
defmodule MangoWeb.Admin.SupplierView do use MangoWeb, :view end
16.75
40
0.80597
d57e6c2da5f641ec673fe76939bf39f68446b040
2,245
ex
Elixir
bricks/lib/util.ex
jjl/bricks.ex
318db55c0b316fe88c701a962d8a3fd24019130e
[ "Apache-2.0" ]
null
null
null
bricks/lib/util.ex
jjl/bricks.ex
318db55c0b316fe88c701a962d8a3fd24019130e
[ "Apache-2.0" ]
null
null
null
bricks/lib/util.ex
jjl/bricks.ex
318db55c0b316fe88c701a962d8a3fd24019130e
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2018 James Laver # # 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 wr...
33.014706
100
0.663252
d57e6e76a230a0ec9acc286fae9112a6bfa3f416
146
exs
Elixir
priv/repo/migrations/20210420054009_add_slug_index_to_movies.exs
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
3
2021-03-21T23:52:16.000Z
2021-06-02T03:47:00.000Z
priv/repo/migrations/20210420054009_add_slug_index_to_movies.exs
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
44
2021-04-09T04:04:13.000Z
2022-03-29T06:29:37.000Z
priv/repo/migrations/20210420054009_add_slug_index_to_movies.exs
conradwt/flix-elixir
e4d6bf6fd79be12fbed6fb6250f78e929247c1a4
[ "MIT" ]
null
null
null
defmodule Flix.Repo.Migrations.AddSlugIndexToMovies do use Ecto.Migration def change do create(unique_index(:movies, [:slug])) end end
18.25
54
0.753425
d57e824826f3784148ebc3a9276bde5b3bc283a1
81
ex
Elixir
lib/elixir_ecommerce_web/views/products_view.ex
abmBispo/elixir-ecommerce
0507f7621d68ba8f0f65409a1a503683b7c0d37b
[ "MIT" ]
4
2020-05-29T03:33:02.000Z
2021-08-21T23:01:48.000Z
lib/elixir_ecommerce_web/views/products_view.ex
abmBispo/elixir-ecommerce
0507f7621d68ba8f0f65409a1a503683b7c0d37b
[ "MIT" ]
2
2020-07-29T01:50:46.000Z
2021-08-31T20:10:47.000Z
lib/elixir_ecommerce_web/views/products_view.ex
abmBispo/elixir-ecommerce
0507f7621d68ba8f0f65409a1a503683b7c0d37b
[ "MIT" ]
1
2022-03-21T18:13:21.000Z
2022-03-21T18:13:21.000Z
defmodule ElixirEcommerceWeb.ProductsView do use ElixirEcommerceWeb, :view end
20.25
44
0.851852
d57ea2f1fe02b7ebb3d5a0fd4fef846f6be8e567
2,108
exs
Elixir
test/myApi/accounts/accounts_test.exs
njwest/Phoenix_API
61002c0e5566d0ab68d4a2fd0e93e3b9c20f1beb
[ "MIT" ]
40
2018-05-20T21:30:30.000Z
2021-09-10T07:25:44.000Z
Elixir-Phoenix-API/test/myApi/accounts/accounts_test.exs
eibay/React-Native-Elixir-Phoenix-JWT
1d3c622c7cf19d5a7dbf3c618a291188e33166c4
[ "MIT" ]
3
2020-09-07T10:53:53.000Z
2022-02-12T21:45:34.000Z
Elixir-Phoenix-API/test/myApi/accounts/accounts_test.exs
trinhdinhphuong/React-Native-Elixir-Phoenix-JWT
4af4900787ea272b0c1dd3ee7ef039b579e162ba
[ "MIT" ]
15
2018-06-07T08:16:20.000Z
2020-04-12T07:38:05.000Z
defmodule MyApi.AccountsTest do use MyApi.DataCase alias MyApi.Accounts describe "users" do alias MyApi.Accounts.User @valid_attrs %{email: "some email", password_hash: "some password_hash"} @update_attrs %{email: "some updated email", password_hash: "some updated password_hash"} @invalid_attrs...
31
93
0.661765
d57ebef19054fb34e2a5ff0c86cd87b3829380a2
1,632
exs
Elixir
test/models/user_test.exs
ne1ro/argo
87f6c0de8311cb3e1e4eb05fa63bb0b71068a743
[ "MIT" ]
null
null
null
test/models/user_test.exs
ne1ro/argo
87f6c0de8311cb3e1e4eb05fa63bb0b71068a743
[ "MIT" ]
null
null
null
test/models/user_test.exs
ne1ro/argo
87f6c0de8311cb3e1e4eb05fa63bb0b71068a743
[ "MIT" ]
null
null
null
defmodule Argo.UserTest do use Argo.ModelCase alias Argo.User @valid_attrs %{ email: Faker.Internet.email, name: Faker.Name.name, password: "qwerty123", password_confirmation: "qwerty123" } @invalid_attrs %{} test "changeset with valid attributes" do ...
27.2
70
0.653186
d57ee1bf7865c3b2c79bdd882da20aceafd59e2e
309
exs
Elixir
problems/other/mostrepeating/test/mostrepeating_test.exs
crunchbang/ctci
aa2686811399334c609770d4d5a6d883ec4f5b0c
[ "MIT" ]
4
2019-05-03T03:31:09.000Z
2020-05-03T07:55:05.000Z
misc/mostrepeating/test/mostrepeating_test.exs
sarathsp06/dsalgogym
3aca7f4f57a4c8f49b0118c6dd09f4a2f048f45a
[ "MIT" ]
25
2019-04-25T15:45:41.000Z
2020-05-08T06:05:17.000Z
misc/mostrepeating/test/mostrepeating_test.exs
sarathsp06/dsalgogym
3aca7f4f57a4c8f49b0118c6dd09f4a2f048f45a
[ "MIT" ]
7
2019-05-03T06:33:02.000Z
2020-05-05T16:08:14.000Z
defmodule ExampleTest do use ExUnit.Case doctest Script test "[1,2,3,1,1,1,1,1,3,4,1,1,2]" do input = [1,2,3,1,1,1,1,1,3,4,1,1,2] |> Enum.map(fn(x)->Integer.to_string(x)end) assert Script.mostrepeating(input) == 1 end test "[]" do assert Script.mostrepeating([]) == :ok end end
23.769231
46
0.608414
d57ee295e8287c4bd4a20dcb1ab06213ae8162e5
706
ex
Elixir
lib/my_blog_web/gettext.ex
bechanh5/final-nabo
bfa5d57b1a8a4f647151f10442ffa1069cd76fdb
[ "MIT" ]
1
2018-09-08T16:04:47.000Z
2018-09-08T16:04:47.000Z
lib/my_blog_web/gettext.ex
bechanh5/final-nabo
bfa5d57b1a8a4f647151f10442ffa1069cd76fdb
[ "MIT" ]
1
2018-09-08T20:04:46.000Z
2018-09-08T20:04:46.000Z
lib/my_blog_web/gettext.ex
bechanh5/final-nabo
bfa5d57b1a8a4f647151f10442ffa1069cd76fdb
[ "MIT" ]
2
2017-11-13T21:15:57.000Z
2018-09-08T16:10:22.000Z
defmodule MyBlogWeb.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 MyBlogWeb.Gettext # Simple translation gettext "Here is the...
28.24
72
0.679887
d57ee83a46a604c28ac0be35ac82b159c9581cf0
2,000
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/video_file_details_audio_stream.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_file_details_audio_stream.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_file_details_audio_stream.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
35.087719
143
0.7275
d57eea1e6557bcbed7d6a5be9869f0e8e945361d
8,139
ex
Elixir
lib/elixir/lib/code/identifier.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/elixir/lib/code/identifier.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/code/identifier.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
1
2018-04-18T11:25:33.000Z
2018-04-18T11:25:33.000Z
defmodule Code.Identifier do @moduledoc false @doc """ Checks if the given identifier is an unary op. ## Examples iex> Code.Identifier.unary_op(:+) {:non_associative, 300} """ @spec unary_op(atom) :: {:non_associative, precedence :: pos_integer} | :error def unary_op(op) do cond do ...
28.861702
99
0.559282
d57f0cead6a6158ec39bb24c7af49968e6368fa2
885
ex
Elixir
lib/alchemetrics/event_sourcing/event.ex
panoramix360/alchemetrics
7aa973bf951d5b892311831d46285a45cda0cee4
[ "MIT" ]
32
2017-07-06T13:40:00.000Z
2021-10-17T23:56:17.000Z
lib/alchemetrics/event_sourcing/event.ex
panoramix360/alchemetrics
7aa973bf951d5b892311831d46285a45cda0cee4
[ "MIT" ]
20
2017-07-06T14:05:33.000Z
2021-12-02T01:04:31.000Z
lib/alchemetrics/event_sourcing/event.ex
panoramix360/alchemetrics
7aa973bf951d5b892311831d46285a45cda0cee4
[ "MIT" ]
6
2017-07-06T14:45:38.000Z
2021-10-08T12:27:49.000Z
defmodule Alchemetrics.Event do @moduledoc false defstruct [:datapoints, :value, metadata: []] def create(opts \\ %{}) do validate_metrics(opts[:datapoints]) validate_metadata(opts[:metadata]) validate_value(opts[:value]) struct(__MODULE__, opts) end defp validate_metrics(datapoints) when ...
38.478261
142
0.746893
d57f2b1aae707ff2cd081ee56a3e3a606a45450f
48,959
ex
Elixir
lib/redis.ex
behe/redis-ex
191487c36f0f0928ef461a3bbe5330556e55e5cb
[ "MIT" ]
null
null
null
lib/redis.ex
behe/redis-ex
191487c36f0f0928ef461a3bbe5330556e55e5cb
[ "MIT" ]
null
null
null
lib/redis.ex
behe/redis-ex
191487c36f0f0928ef461a3bbe5330556e55e5cb
[ "MIT" ]
null
null
null
defmodule Redis do def start do start_link("127.0.0.1", 6379, 1, "", :no_reconnect) |> elem 1 end def start_link(host \\ "127.0.0.1", port \\ 6379, database \\ 0, password \\ "", reconnect_sleep \\ :no_reconnect) when is_binary(host) do :eredis.start_link(String.to_char_list(host), p...
26.782823
114
0.543332
d57f57fb41fa298348467287b4ebff393b9162b9
492
ex
Elixir
lib/countriex/geo.ex
esse/countriex
799994960dcf5c3bb6e0dcfbe95ef70a68202210
[ "MIT" ]
2
2021-01-15T14:04:58.000Z
2021-01-17T20:39:28.000Z
lib/countriex/geo.ex
esse/countriex
799994960dcf5c3bb6e0dcfbe95ef70a68202210
[ "MIT" ]
1
2021-07-14T09:19:56.000Z
2021-07-14T09:19:56.000Z
lib/countriex/geo.ex
venndr/countriex
4b4f6aea836b5c6a8573522e483548437c920b5f
[ "MIT" ]
1
2020-11-06T16:34:58.000Z
2020-11-06T16:34:58.000Z
defmodule Countriex.Geo do @type t :: %__MODULE__{ latitude: float(), latitude_dec: float(), longitude: float(), longitude_dec: float(), max_latitude: float(), max_longitude: float(), min_latitude: float(), min_longitude: float() ...
20.5
33
0.556911
d57fbb2609f741bdcc4245048cf807b1c7567c0d
15,739
ex
Elixir
clients/street_view_publish/lib/google_api/street_view_publish/v1/api/photos.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/api/photos.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/api/photos.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...
42.769022
196
0.645213
d57fdd25a72ee6871d1af95b1efb910de02e1316
150
exs
Elixir
test/elixir_intro_test.exs
wasnotrice/elixir_intro
9f4085478400d43cc5c432f6b0684af6f6f47861
[ "Apache-2.0" ]
null
null
null
test/elixir_intro_test.exs
wasnotrice/elixir_intro
9f4085478400d43cc5c432f6b0684af6f6f47861
[ "Apache-2.0" ]
null
null
null
test/elixir_intro_test.exs
wasnotrice/elixir_intro
9f4085478400d43cc5c432f6b0684af6f6f47861
[ "Apache-2.0" ]
null
null
null
defmodule ElixirIntroTest do use ExUnit.Case doctest ElixirIntro test "greets the world" do assert ElixirIntro.hello() == :world end end
16.666667
40
0.733333
d57ffe5c53e079c25b533a8a0c0b1cca3d6ab18e
1,705
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/manual_scaling.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/app_engine/lib/google_api/app_engine/v1/model/manual_scaling.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/manual_scaling.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.276596
273
0.74956
d5800336c86b4ef8d3316cc857431fecc67ad935
1,702
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/event_filter.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/event_filter.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v11/model/event_filter.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.458333
145
0.758519
d58017961d51555862e9b80c82f3c6f7bd0b63b7
3,359
ex
Elixir
lib/ash/page/keyset.ex
regularfellow/ash
179495fecb141e0eb8eaf35bbb4d04000eab694b
[ "MIT" ]
null
null
null
lib/ash/page/keyset.ex
regularfellow/ash
179495fecb141e0eb8eaf35bbb4d04000eab694b
[ "MIT" ]
null
null
null
lib/ash/page/keyset.ex
regularfellow/ash
179495fecb141e0eb8eaf35bbb4d04000eab694b
[ "MIT" ]
null
null
null
defmodule Ash.Page.Keyset do @moduledoc """ A page of results from `keyset` based pagination. The results are generated with a `keyset` metadata, which can be used to fetch the next/previous pages. """ defstruct [:results, :count, :before, :after, :limit, :rerun, :more?] @type t :: %__MODULE__{} def ...
27.308943
88
0.623698
d5808545c7bac6627177d46540d4048b5f0d4fd5
284
ex
Elixir
apps/drivers/lib/dummy/uart.ex
elicopter/core
7731dc7558dea39bd1c473ab9e512c9db9e1b2c9
[ "MIT" ]
39
2016-11-01T07:21:51.000Z
2021-02-05T20:19:02.000Z
apps/drivers/lib/dummy/uart.ex
elicopter/core
7731dc7558dea39bd1c473ab9e512c9db9e1b2c9
[ "MIT" ]
null
null
null
apps/drivers/lib/dummy/uart.ex
elicopter/core
7731dc7558dea39bd1c473ab9e512c9db9e1b2c9
[ "MIT" ]
null
null
null
defmodule Drivers.Dummy.UART do use GenServer require Logger def start_link(opts \\ []) do Logger.debug "Starting DUMMY #{__MODULE__}..." GenServer.start_link(__MODULE__, [], opts) end def open(_, _, _) do :ok end def configure(_, _) do :ok end end
15.777778
50
0.640845
d5808b1a727521b11ec75f174ce300946da3d437
6,355
ex
Elixir
lib/oban/queue/producer.ex
blisscs/oban
d4413c6e6dfe5290621c674e96487f6b1727c791
[ "Apache-2.0" ]
null
null
null
lib/oban/queue/producer.ex
blisscs/oban
d4413c6e6dfe5290621c674e96487f6b1727c791
[ "Apache-2.0" ]
26
2021-07-24T21:32:21.000Z
2022-03-23T11:55:24.000Z
lib/oban/queue/producer.ex
blisscs/oban
d4413c6e6dfe5290621c674e96487f6b1727c791
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Queue.Producer do @moduledoc false use GenServer alias Oban.{Breaker, Notifier} alias Oban.Queue.{Engine, Executor} defmodule State do @moduledoc false defstruct [ :conf, :foreman, :meta, :name, :dispatch_timer, :refresh_timer, dispatch_cool...
25.833333
96
0.619827
d580bd4a36ef65e883c4947d9ca6b16fdddca96f
1,654
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/property.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/property.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/property.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.207547
89
0.695284
d580cd5c4429e78baf681884682727b8505fc216
1,944
exs
Elixir
test/level_web/graphql/subscriptions/group_created_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
test/level_web/graphql/subscriptions/group_created_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
test/level_web/graphql/subscriptions/group_created_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule LevelWeb.GraphQL.GroupCreatedTest do use LevelWeb.ChannelCase @operation """ subscription SpaceUserSubscription( $id: ID! ) { spaceUserSubscription(spaceUserId: $id) { __typename ... on GroupCreatedPayload { group { id } } ...
24.607595
90
0.566358
d580ef46045f424d53331a5a19fdacad1a306a40
1,345
ex
Elixir
examples/ecto_poll_queue/cockroachdb/lib/ecto_poll_queue_example/application.ex
rodrigues/honeydew
05777189f30b3b13428027ce75bdecf6d7b760db
[ "MIT" ]
null
null
null
examples/ecto_poll_queue/cockroachdb/lib/ecto_poll_queue_example/application.ex
rodrigues/honeydew
05777189f30b3b13428027ce75bdecf6d7b760db
[ "MIT" ]
null
null
null
examples/ecto_poll_queue/cockroachdb/lib/ecto_poll_queue_example/application.ex
rodrigues/honeydew
05777189f30b3b13428027ce75bdecf6d7b760db
[ "MIT" ]
null
null
null
defmodule EctoPollQueueExample.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application alias Honeydew.EctoPollQueue alias Honeydew.Workers alias Honeydew.FailureMode.Retry alias EctoPollQueueExample.Repo alias EctoPo...
32.02381
120
0.684015
d580f9569a666d791b99b2903060d4a5cfaf9a22
638
exs
Elixir
apps/eventbus/test/eventbus/utils_test.exs
gotitinc/eventbus
5658cdb966d7c450ba9249ee5f66894054e3c86e
[ "Apache-2.0" ]
4
2020-12-30T02:53:21.000Z
2021-06-25T03:04:47.000Z
apps/eventbus/test/eventbus/utils_test.exs
gotitinc/eventbus
5658cdb966d7c450ba9249ee5f66894054e3c86e
[ "Apache-2.0" ]
null
null
null
apps/eventbus/test/eventbus/utils_test.exs
gotitinc/eventbus
5658cdb966d7c450ba9249ee5f66894054e3c86e
[ "Apache-2.0" ]
null
null
null
defmodule Eventbus.UtilsTest do use ExUnit.Case alias Eventbus.Utils test "now returns the current time in milli_seconds" do prior_ts = :os.system_time(:milli_seconds) now = Utils.now() posterior_ts = :os.system_time(:milli_seconds) assert now > 0 assert prior_ts <= now assert now <= post...
24.538462
57
0.663009
d581332e9ce9457e7243202b390ca4f75a81af7a
1,293
ex
Elixir
lib/app_web/controllers/user_controller.ex
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
lib/app_web/controllers/user_controller.ex
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
lib/app_web/controllers/user_controller.ex
ThanhUong/Chronos
5e1b0823c585b784f5c51212513d518cab53a571
[ "MIT" ]
null
null
null
defmodule AppWeb.UserController do use AppWeb, :controller alias App.Accounts alias App.Accounts.User import App.Guardian action_fallback AppWeb.FallbackController def create(conn, %{"user" => user_params}) do with {:ok, %User{} = user} <- Accounts.create_user(user_params) do {:ok, token, _} =...
26.9375
78
0.638051
d58136204b9a241f57d6121f10710c49cd714cc5
9,831
exs
Elixir
test/toxiproxy_ex_test.exs
Jcambass/toxiproxy_ex
4cd5f6a01fee631bcf93217844ab101800c281ab
[ "MIT" ]
38
2020-10-21T10:53:23.000Z
2021-12-01T06:38:10.000Z
test/toxiproxy_ex_test.exs
Jcambass/toxiproxy_ex
4cd5f6a01fee631bcf93217844ab101800c281ab
[ "MIT" ]
3
2020-10-19T14:41:07.000Z
2020-10-20T13:44:48.000Z
test/toxiproxy_ex_test.exs
Jcambass/toxiproxy_ex
4cd5f6a01fee631bcf93217844ab101800c281ab
[ "MIT" ]
1
2020-10-19T14:35:03.000Z
2020-10-19T14:35:03.000Z
defmodule ToxiproxyExTest do use ExUnit.Case doctest ToxiproxyEx, except: [version!: 0] import ToxiproxyEx.TestHelpers import ToxiproxyEx.ProxyAssertions alias ToxiproxyEx.{Proxy, Toxic, ToxicCollection} setup do on_exit(fn -> Enum.map(ToxiproxyEx.all!().proxies, fn proxy -> :ok = Toxip...
29.434132
166
0.626793
d58150b6ba70ec75ac7acac8424009a91965eb5d
1,001
ex
Elixir
lib/telemetry_metrics/distribution.ex
artemk/telemetry_metrics
48adb2bdda283a8e06023c1ade78fa634be437f3
[ "Apache-2.0" ]
null
null
null
lib/telemetry_metrics/distribution.ex
artemk/telemetry_metrics
48adb2bdda283a8e06023c1ade78fa634be437f3
[ "Apache-2.0" ]
null
null
null
lib/telemetry_metrics/distribution.ex
artemk/telemetry_metrics
48adb2bdda283a8e06023c1ade78fa634be437f3
[ "Apache-2.0" ]
null
null
null
defmodule Telemetry.Metrics.Distribution do @moduledoc """ Defines a specification of distribution metric. """ alias Telemetry.Metrics defstruct [:name, :event_name, :measurement, :tags, :tag_values, :buckets, :description, :unit] @typedoc """ Distribution metric bucket boundaries. Bucket boundaries...
27.805556
97
0.612388
d5818e9f6383c21390c4f068f4c0bb7c4a73644d
702
ex
Elixir
lib/mipha_web/gettext.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
156
2018-06-01T19:52:32.000Z
2022-02-03T10:58:10.000Z
lib/mipha_web/gettext.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
139
2018-07-10T01:57:23.000Z
2021-08-02T21:29:24.000Z
lib/mipha_web/gettext.ex
ZPVIP/mipha
a7df054f72eec7de88b60d94c501488375bdff6a
[ "MIT" ]
29
2018-07-17T08:43:45.000Z
2021-12-14T13:45:30.000Z
defmodule MiphaWeb.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 MiphaWeb.Gettext # Simple translation gettext "Here is the s...
28.08
72
0.678063
d581a1b3f1d162ebcbfe3bdf0625cb2f5530f93b
2,015
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/load_balancer_properties_format.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/load_balancer_properties_format.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/model/load_balancer_properties_format.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Network.Model.LoadBalancerPropertiesFormat do @moduledoc """ Properties of the load balancer. """ @derive [Poi...
40.3
129
0.736476
d581ac3ca334142b46bcb8741063d8dbfb0f517d
2,606
ex
Elixir
lib/utility/aes.ex
mbramson/ecto_crypto
b27c0c6786932a3b3cf884c14642ac93c9fd42a0
[ "MIT" ]
1
2020-11-01T16:48:36.000Z
2020-11-01T16:48:36.000Z
lib/utility/aes.ex
mbramson/ecto_crypto
b27c0c6786932a3b3cf884c14642ac93c9fd42a0
[ "MIT" ]
null
null
null
lib/utility/aes.ex
mbramson/ecto_crypto
b27c0c6786932a3b3cf884c14642ac93c9fd42a0
[ "MIT" ]
1
2021-08-25T09:25:58.000Z
2021-08-25T09:25:58.000Z
defmodule EctoCrypto.Utility.Aes do @moduledoc """ Utility module for encrypting and decrypting with AES-256 GCM. """ @aad "AES256GCM" @doc """ Encrypts plaintext to ciphertext using AES-256 GCM. Uses the key stored in application configuration. """ def encrypt(plaintext) do initialization_vect...
32.575
107
0.701458
d581ec50ad0a64edba856f535127cedca4d5c512
3,451
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_tcp_proxy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/target_tcp_proxy.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/target_tcp_proxy.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...
49.3
490
0.705593
d58218c3d6e013c850f18f5a1039341723b136cc
2,997
ex
Elixir
lib/ash_admin/components/resource/nav.ex
totaltrash/ash_admin
0b577d7e02a65dbf763a204a44ae3c2531f66da0
[ "MIT" ]
null
null
null
lib/ash_admin/components/resource/nav.ex
totaltrash/ash_admin
0b577d7e02a65dbf763a204a44ae3c2531f66da0
[ "MIT" ]
null
null
null
lib/ash_admin/components/resource/nav.ex
totaltrash/ash_admin
0b577d7e02a65dbf763a204a44ae3c2531f66da0
[ "MIT" ]
null
null
null
defmodule AshAdmin.Components.Resource.Nav do @moduledoc false use Surface.Component alias Surface.Components.LiveRedirect alias AshAdmin.Components.TopNav.Dropdown import AshAdmin.Helpers prop(resource, :any, required: true) prop(api, :any, required: true) prop(tab, :string, required: true) prop(act...
32.576087
276
0.531198
d582482d20cc5b9e1b725d12dabe867c15215c08
2,466
ex
Elixir
clients/games/lib/google_api/games/v1/model/event_update_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/event_update_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/event_update_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...
44.035714
182
0.736415
d58268b09035905c71ec497da4004ffee2a4f127
2,715
exs
Elixir
lib/eex/test/eex/tokenizer_test.exs
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/eex/test/eex/tokenizer_test.exs
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/eex/test/eex/tokenizer_test.exs
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule EEx.TokenizerTest do use ExUnit.Case, async: true require EEx.Tokenizer, as: T test "simple chars lists" do assert T.tokenize('foo', 1) == [ {:text, 'foo'} ] end test "simple strings" do assert T.tokenize("foo", 1) == [ {:text, 'foo'} ] en...
25.613208
93
0.497238
d582aaa7fff3718d8059ae5a3bdc16c9550f1f59
22
ex
Elixir
lib/golf.ex
srecnig/golf
bd200914fbfee2af8d39b2947156966aac862e43
[ "MIT" ]
null
null
null
lib/golf.ex
srecnig/golf
bd200914fbfee2af8d39b2947156966aac862e43
[ "MIT" ]
null
null
null
lib/golf.ex
srecnig/golf
bd200914fbfee2af8d39b2947156966aac862e43
[ "MIT" ]
null
null
null
defmodule Golf do end
7.333333
17
0.818182
d582b2c20c2594a798bef05a9ee7270243ca9ddb
4,282
ex
Elixir
clients/network_services/lib/google_api/network_services/v1/model/binding.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/network_services/lib/google_api/network_services/v1/model/binding.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/network_services/lib/google_api/network_services/v1/model/binding.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
80.792453
1,970
0.753386
d582b63dceaa9f7ab3ed00c173327500a2c81100
1,717
ex
Elixir
lib/mix/tasks/session.setup.ex
ejpcmac/plug_session_mnesia
ed2ff49099890250108249d9b44eb7c0e8e2cc18
[ "MIT" ]
23
2017-10-18T00:28:16.000Z
2021-07-30T00:11:00.000Z
lib/mix/tasks/session.setup.ex
ejpcmac/plug_session_mnesia
ed2ff49099890250108249d9b44eb7c0e8e2cc18
[ "MIT" ]
3
2018-01-20T15:02:27.000Z
2019-08-04T14:07:41.000Z
lib/mix/tasks/session.setup.ex
ejpcmac/plug_session_mnesia
ed2ff49099890250108249d9b44eb7c0e8e2cc18
[ "MIT" ]
5
2018-12-18T20:38:07.000Z
2021-02-20T20:46:42.000Z
defmodule Mix.Tasks.Session.Setup do use Mix.Task @shortdoc "Creates the Mnesia table for :plug_session_mnesia" @moduledoc """ Creates the Mnesia table for `:plug_session_mnesia`. To set up the Mnesia table for session storage, configure it in your `config.exs`: config :plug_session_mnesia, ...
30.122807
86
0.70763
d582fb5e8ac9c69de84576f905fbedf6aa9da522
9,123
exs
Elixir
test/transaction_trace_test.exs
alejandrodnm/elixir_agent
b2264d8f54244d136950cadd02f2533967a8e7cb
[ "Apache-2.0" ]
null
null
null
test/transaction_trace_test.exs
alejandrodnm/elixir_agent
b2264d8f54244d136950cadd02f2533967a8e7cb
[ "Apache-2.0" ]
null
null
null
test/transaction_trace_test.exs
alejandrodnm/elixir_agent
b2264d8f54244d136950cadd02f2533967a8e7cb
[ "Apache-2.0" ]
null
null
null
defmodule TransactionTraceTest do use ExUnit.Case use Plug.Test alias NewRelic.Harvest.Collector alias NewRelic.Transaction.Trace setup do TestHelper.restart_harvest_cycle(Collector.Metric.HarvestCycle) TestHelper.restart_harvest_cycle(Collector.TransactionTrace.HarvestCycle) TestHelper.restart_...
29.05414
98
0.663378
d582fe57906c3bb444bd9cdf7989e5c6e81fda11
10,051
exs
Elixir
test/monis_app/finance_test.exs
monisapp/api
4096d50da23e0b562a309b9d0ccf6b211f431d25
[ "MIT" ]
1
2020-04-24T19:40:46.000Z
2020-04-24T19:40:46.000Z
test/monis_app/finance_test.exs
monisapp/api
4096d50da23e0b562a309b9d0ccf6b211f431d25
[ "MIT" ]
null
null
null
test/monis_app/finance_test.exs
monisapp/api
4096d50da23e0b562a309b9d0ccf6b211f431d25
[ "MIT" ]
null
null
null
defmodule MonisApp.FinanceTest do use MonisApp.DataCase alias MonisApp.Finance describe "accounts" do alias MonisApp.Finance.Account @valid_attrs %{amount: 42, currency: "some currency", icon: "some icon", is_active: true, name: "some name", type: "some type"} @user_atts %{email: "test@test.test", ...
41.879167
157
0.680131
d58303cc34fe68604bc35472c857afc98ef6cb48
1,136
exs
Elixir
mix.exs
zarynxyz/website
6c833c78f83f7765286cdbf7b0aa2976ddcfac3f
[ "Apache-2.0" ]
null
null
null
mix.exs
zarynxyz/website
6c833c78f83f7765286cdbf7b0aa2976ddcfac3f
[ "Apache-2.0" ]
null
null
null
mix.exs
zarynxyz/website
6c833c78f83f7765286cdbf7b0aa2976ddcfac3f
[ "Apache-2.0" ]
null
null
null
defmodule Website.Umbrella.MixProject do use Mix.Project def project do [ apps_path: "apps", version: "0.1.0", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases() ] end # Dependencies can be Hex packages: # # {:mydep, "~> 0.3.0"} # # Or git/pat...
24.695652
84
0.641725
d583250db01df6bf7fd2e6cf32b57eadc997294a
7,248
ex
Elixir
lib/cldr/config/rbnf_config.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
179
2019-06-16T09:16:00.000Z
2022-03-30T04:04:55.000Z
lib/cldr/config/rbnf_config.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
46
2019-06-09T02:35:58.000Z
2022-03-08T10:39:08.000Z
lib/cldr/config/rbnf_config.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
14
2020-03-03T16:35:50.000Z
2022-02-27T14:01:40.000Z
defmodule Cldr.Rbnf.Config do @moduledoc false alias Cldr.Locale @default_radix 10 @doc """ Returns the directory where the production RBNF data is stored. ## Example iex> Cldr.Rbnf.Config.rbnf_dir =~ "/cldr-rbnf/rbnf" true """ @spec rbnf_dir :: String.t() def rbnf_dir do data_...
27.876923
107
0.599752