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
da51631a80d2f587e54947e25d508326f7f89c3b
1,943
ex
Elixir
lib/plug_wechat_parser.ex
chenxsan/plug_wechat
458c3152269d47011ed3db3b3980acfc2b096fc6
[ "MIT" ]
null
null
null
lib/plug_wechat_parser.ex
chenxsan/plug_wechat
458c3152269d47011ed3db3b3980acfc2b096fc6
[ "MIT" ]
null
null
null
lib/plug_wechat_parser.ex
chenxsan/plug_wechat
458c3152269d47011ed3db3b3980acfc2b096fc6
[ "MIT" ]
null
null
null
defmodule PlugWechat.Parsers.WECHAT do @moduledoc """ Parses xml request body for wechat message """ @behaviour Plug.Parsers alias Plug.Conn import SweetXml def init(opts) do opts end def parse(conn, "text", "xml", _params, opts) do case Conn.read_body(conn, opts) do {:ok, body, conn}...
29.439394
63
0.510036
da5177ce860b95d26490408e17e22e4161deb998
821
exs
Elixir
config/config.exs
shanelep/aws_service
a8bed4d1185218cd92fe529de5e57fa3bb566f6a
[ "MIT" ]
null
null
null
config/config.exs
shanelep/aws_service
a8bed4d1185218cd92fe529de5e57fa3bb566f6a
[ "MIT" ]
null
null
null
config/config.exs
shanelep/aws_service
a8bed4d1185218cd92fe529de5e57fa3bb566f6a
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
31.576923
70
0.752741
da517ffbce3c76c65bb9c725d849261b7585e8b2
2,804
ex
Elixir
clients/container/lib/google_api/container/v1/model/master_auth.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/master_auth.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/master_auth.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...
48.344828
284
0.768188
da5182d5ab0ead1265e7d421c81f352874ac3133
1,168
exs
Elixir
ch10-02.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
9
2016-01-22T17:28:27.000Z
2020-06-07T01:38:44.000Z
ch10-02.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
null
null
null
ch10-02.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
1
2019-04-18T10:08:38.000Z
2019-04-18T10:08:38.000Z
# Write a flatten(list) function that takes a list that may contain any number # of sublists, which themselves may contain sublists, to any depth. It returns # the elements of these lists as a flat list. # iex> MyList.flatten([ 1, [ 2, 3, [4] ], 5, [[[6]]]]) # [1,2,3,4,5,6] defmodule Programming.Elixir do defmodul...
29.948718
82
0.594178
da518ac734970b586744ce948d20c7db6ca24ba6
1,360
ex
Elixir
Chapter03/recovering_from_errors_with_supervisors_and_supervision_trees/simple_elixir_drip/lib/simple_elixir_drip/cache_supervisor.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
28
2018-08-09T05:05:29.000Z
2022-03-14T06:59:07.000Z
Chapter03/recovering_from_errors_with_supervisors_and_supervision_trees/simple_elixir_drip/lib/simple_elixir_drip/cache_supervisor.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
1
2019-02-11T09:11:33.000Z
2019-05-06T06:40:19.000Z
Chapter03/recovering_from_errors_with_supervisors_and_supervision_trees/simple_elixir_drip/lib/simple_elixir_drip/cache_supervisor.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
8
2018-08-09T14:53:02.000Z
2020-12-14T19:31:21.000Z
defmodule SimpleElixirDrip.Storage.Supervisors.CacheSupervisor do use DynamicSupervisor require Logger alias SimpleElixirDrip.Storage.Workers.CacheWorker def start_link(_) do DynamicSupervisor.start_link(__MODULE__, [], name: __MODULE__) end def init(_) do Logger.debug("#{inspect(self())} Starti...
26.666667
81
0.697059
da51b590fe5ee2f46c41dcdf5d02d7c55665ef45
3,123
ex
Elixir
clients/secret_manager/lib/google_api/secret_manager/v1/model/secret.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/secret_manager/lib/google_api/secret_manager/v1/model/secret.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/secret_manager/lib/google_api/secret_manager/v1/model/secret.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "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...
50.370968
518
0.709574
da51baecbdc7668dd852820a223094210c304f3f
1,644
ex
Elixir
web/controllers/team_controller.ex
digitalronin/ticket-poker
e39ee9975ca0c1a9f06d5ef1ba2b3d22108bd573
[ "MIT" ]
4
2017-01-03T16:34:07.000Z
2017-07-12T09:24:03.000Z
web/controllers/team_controller.ex
digitalronin/ticket-poker
e39ee9975ca0c1a9f06d5ef1ba2b3d22108bd573
[ "MIT" ]
null
null
null
web/controllers/team_controller.ex
digitalronin/ticket-poker
e39ee9975ca0c1a9f06d5ef1ba2b3d22108bd573
[ "MIT" ]
null
null
null
defmodule TicketPoker.TeamController do use TicketPoker.Web, :controller alias TicketPoker.{ Team, TeamUpdater } @default_points [1, 2, 3, 5, 8, 13] def new(conn, _params) do changeset = Team.changeset(%Team{ points: @default_points }) render(conn, "new.html", changeset: changeset, team: %Team{}) e...
26.095238
81
0.569951
da51e34dabebf56d800e20e1bd037bb3768a2e9c
310
exs
Elixir
.formatter.exs
hiagomeels/dossier
53986122e029ada040f99ab6cd815daebb045423
[ "MIT" ]
4
2018-06-14T12:58:14.000Z
2018-09-04T04:16:32.000Z
.formatter.exs
hiagomeels/dossier
53986122e029ada040f99ab6cd815daebb045423
[ "MIT" ]
null
null
null
.formatter.exs
hiagomeels/dossier
53986122e029ada040f99ab6cd815daebb045423
[ "MIT" ]
null
null
null
# Used by "mix format" and to export configuration. locals_without_parens = [ field: 1, field: 2, field: 3 ] [ inputs: ["{mix,.formatter,.credo}.exs", "{config,lib,test}/**/*.{ex,exs}"], locals_without_parens: locals_without_parens, export: [ locals_without_parens: locals_without_parens ] ]
22.142857
77
0.683871
da5202c1baa443a4a792a2bec4c63505f412f124
1,619
exs
Elixir
config/dev.exs
FelixDux/impact-oscillator
4b93975a8f87129777f4e4fe5c2da77fbea41ecf
[ "MIT" ]
null
null
null
config/dev.exs
FelixDux/impact-oscillator
4b93975a8f87129777f4e4fe5c2da77fbea41ecf
[ "MIT" ]
null
null
null
config/dev.exs
FelixDux/impact-oscillator
4b93975a8f87129777f4e4fe5c2da77fbea41ecf
[ "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 :imposc_ui, ImposcUi.Endpoint, http: [port: Syst...
26.540984
58
0.660902
da5221891040d238730a9a3ce7550e10dde7f937
32,961
exs
Elixir
test/decimal_test.exs
elixir-packages/decimal
5825f2ae074b34791133937bcf4d76c3a071cb3a
[ "Apache-2.0" ]
null
null
null
test/decimal_test.exs
elixir-packages/decimal
5825f2ae074b34791133937bcf4d76c3a071cb3a
[ "Apache-2.0" ]
null
null
null
test/decimal_test.exs
elixir-packages/decimal
5825f2ae074b34791133937bcf4d76c3a071cb3a
[ "Apache-2.0" ]
null
null
null
defmodule DecimalTest do use ExUnit.Case, async: true import TestMacros alias Decimal.Context alias Decimal.Error require Decimal doctest Decimal test "parse/1" do assert Decimal.parse("123") == {d(1, 123, 0), ""} assert Decimal.parse("+123") == {d(1, 123, 0), ""} assert Decimal.parse("-12...
37.370748
101
0.553563
da523b0af87d8e861d2c9f0a90f61311c3e9ae2f
1,654
ex
Elixir
lib/discovery_web.ex
mikehelmick/dicovery-prototype
f79c160221c1a74ea1c89b6223d1815ec4c0df7d
[ "Apache-2.0" ]
null
null
null
lib/discovery_web.ex
mikehelmick/dicovery-prototype
f79c160221c1a74ea1c89b6223d1815ec4c0df7d
[ "Apache-2.0" ]
1
2021-03-10T11:53:06.000Z
2021-03-10T11:53:06.000Z
lib/discovery_web.ex
mikehelmick/dicovery-prototype
f79c160221c1a74ea1c89b6223d1815ec4c0df7d
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveryWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use DiscoveryWeb, :controller use DiscoveryWeb, :view The definitions below will be executed for every view, contro...
23.628571
83
0.69347
da528aa778b5174c17a212f2f336fbe3fe50b637
1,557
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/delete_tenant_project_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/delete_tenant_project_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/delete_tenant_project_request.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...
31.77551
107
0.753372
da52911003d43c090ded5efff29b6a0e40fa1bb0
829
exs
Elixir
test/tortoise/connection/backoff_test.exs
jsmestad/tortoise311
146b4e5bcf967d0c07b43d0d029790f9f0a7d6a9
[ "Apache-2.0" ]
null
null
null
test/tortoise/connection/backoff_test.exs
jsmestad/tortoise311
146b4e5bcf967d0c07b43d0d029790f9f0a7d6a9
[ "Apache-2.0" ]
null
null
null
test/tortoise/connection/backoff_test.exs
jsmestad/tortoise311
146b4e5bcf967d0c07b43d0d029790f9f0a7d6a9
[ "Apache-2.0" ]
null
null
null
defmodule Tortoise311.Connection.BackoffTest do use ExUnit.Case, async: true doctest Tortoise311.Connection.Backoff alias Tortoise311.Connection.Backoff test "should not exceed maximum interval time" do min = 100 max = 300 backoff = Backoff.new(min_interval: 100, max_interval: 300) assert {^mi...
31.884615
63
0.698432
da5299b752b280fd563aeb9bd5465073908b2dfc
1,428
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/model/user_undelete.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/model/user_undelete.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/model/user_undelete.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.382979
79
0.740196
da529cf78475c6bcf67a3474c7f10c6be173ef0a
2,638
ex
Elixir
backend/lib/spades_web/api_auth_plug.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
9
2019-10-28T08:48:50.000Z
2021-03-05T09:44:46.000Z
backend/lib/spades_web/api_auth_plug.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
227
2019-10-28T08:52:58.000Z
2022-02-27T04:31:42.000Z
backend/lib/spades_web/api_auth_plug.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
4
2020-04-18T19:38:37.000Z
2021-08-02T19:43:03.000Z
defmodule SpadesWeb.APIAuthPlug do @moduledoc false use Pow.Plug.Base alias Plug.Conn alias Pow.{Config, Store.CredentialsCache} alias PowPersistentSession.Store.PersistentSessionCache @impl true @spec fetch(Conn.t(), Config.t()) :: {Conn.t(), map() | nil} def fetch(conn, config) do token = fetch_...
25.12381
100
0.657316
da52c3aa4d485c4afeb2df9fbf357cfb7f840f57
2,395
exs
Elixir
config/prod.exs
ibnHatab/terpsichore
6ac9b405df8c64a98ea13a1a026269313d0e2fa1
[ "BSD-2-Clause" ]
null
null
null
config/prod.exs
ibnHatab/terpsichore
6ac9b405df8c64a98ea13a1a026269313d0e2fa1
[ "BSD-2-Clause" ]
null
null
null
config/prod.exs
ibnHatab/terpsichore
6ac9b405df8c64a98ea13a1a026269313d0e2fa1
[ "BSD-2-Clause" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
32.808219
67
0.720251
da52db1473f864679d5a3efc17300332f4820d7f
7,109
ex
Elixir
lib/mix/tasks/hex.outdated.ex
davydog187/hex
c12ebc3b751ecb900d1dc85aad7f5a12f309152a
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/hex.outdated.ex
davydog187/hex
c12ebc3b751ecb900d1dc85aad7f5a12f309152a
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/hex.outdated.ex
davydog187/hex
c12ebc3b751ecb900d1dc85aad7f5a12f309152a
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Hex.Outdated do use Mix.Task alias Hex.Registry.Server, as: Registry @shortdoc "Shows outdated Hex deps for the current project" @moduledoc """ Shows all Hex dependencies that have newer versions in the registry. By default, it only shows top-level packages explicitly listed in the ...
28.322709
97
0.619496
da52e6d9eb495c3f710cc8436ea958bcb88590be
2,043
ex
Elixir
lib/ex_scems/line_item.ex
chulkilee/ex_scems
cd2ea54f386ba25ae294ef451aac6a8f6c333cb7
[ "MIT" ]
null
null
null
lib/ex_scems/line_item.ex
chulkilee/ex_scems
cd2ea54f386ba25ae294ef451aac6a8f6c333cb7
[ "MIT" ]
null
null
null
lib/ex_scems/line_item.ex
chulkilee/ex_scems
cd2ea54f386ba25ae294ef451aac6a8f6c333cb7
[ "MIT" ]
null
null
null
defmodule ExSCEMS.LineItem do @moduledoc """ Entitlement """ import SweetXml import ExSCEMS.XMLUtil alias ExSCEMS.{Entitlement, Product} defstruct [ :creation_time, :enforcement, :id, :modification_time, :number_of_users, :status, # assoc :entitlement, :feature_lice...
26.192308
79
0.627998
da52ec49e517d0c0653fc8660c8341adad225295
1,367
ex
Elixir
lib/level/groups/group_user.ex
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
lib/level/groups/group_user.ex
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
lib/level/groups/group_user.ex
pradyumna2905/level
186878a128521074923edd7171eda2f1b181b4f4
[ "Apache-2.0" ]
null
null
null
defmodule Level.Groups.GroupUser do @moduledoc """ The GroupUser schema. """ use Ecto.Schema import Ecto.Changeset import Level.Gettext alias Level.Groups.Group alias Level.Spaces.Space alias Level.Spaces.SpaceUser @type t :: %__MODULE__{} @primary_key {:id, :binary_id, autogenerate: true} @f...
27.34
77
0.691295
da531cfc9d859f283c84686a6c95bfbbe4bab372
507
exs
Elixir
priv/repo/seeds.exs
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-22T16:59:34.000Z
2022-03-22T16:59:34.000Z
priv/repo/seeds.exs
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
24
2022-03-22T16:45:25.000Z
2022-03-31T13:00:02.000Z
priv/repo/seeds.exs
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-30T14:16:16.000Z
2022-03-30T14:16:16.000Z
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Trento.Repo.insert!(%Trento.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will f...
25.35
61
0.698225
da531da017a588823fec01d87a5fe404a903f453
786
ex
Elixir
lib/mix/tasks/expected.mnesia.drop.ex
ejpcmac/expected
c2b03bfa9bcb7efd52cf4003fb46f1309e8aa3c4
[ "MIT" ]
33
2018-01-18T12:16:19.000Z
2021-07-30T00:33:26.000Z
lib/mix/tasks/expected.mnesia.drop.ex
ejpcmac/expected
c2b03bfa9bcb7efd52cf4003fb46f1309e8aa3c4
[ "MIT" ]
5
2018-01-18T12:56:28.000Z
2019-09-30T07:16:00.000Z
lib/mix/tasks/expected.mnesia.drop.ex
ejpcmac/expected
c2b03bfa9bcb7efd52cf4003fb46f1309e8aa3c4
[ "MIT" ]
1
2018-08-08T12:02:44.000Z
2018-08-08T12:02:44.000Z
defmodule Mix.Tasks.Expected.Mnesia.Drop do use Mix.Task @shortdoc "Drops the Expected Mnesia table" @moduledoc """ Drops the Expected Mnesia table. To drop the Expected Mnesia table, run this mix task: $ mix expected.mnesia.drop If you use to start your IEx development sessions with a node name,...
26.2
80
0.725191
da531ea0e214405e495f2ec5f10150e8b2165c00
13,300
ex
Elixir
apps/extended_api/lib/extended_api/worker/find_transactions/addresses/addresses.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
19
2019-09-17T18:14:36.000Z
2021-12-06T07:29:27.000Z
apps/extended_api/lib/extended_api/worker/find_transactions/addresses/addresses.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
5
2019-09-30T04:57:14.000Z
2020-11-10T15:41:03.000Z
apps/extended_api/lib/extended_api/worker/find_transactions/addresses/addresses.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
2
2019-09-17T19:03:16.000Z
2021-03-01T01:04:31.000Z
defmodule ExtendedApi.Worker.FindTransactions.Addresses do use GenServer use OverDB.Worker, executor: Core.Executor alias ExtendedApi.Worker.FindTransactions.Addresses.Helper import ExtendedApi.Worker.Helper @edge_cql "SELECT lb,el,ts,v2,ix FROM tangle.edge WHERE v1 = ? AND lb IN ?" @bundle_cql "SELE...
38
131
0.646466
da534d1ca8ae85b527fb93362a6624a693eea6f3
257
ex
Elixir
lib/zaryn/p2p/message/balance.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
1
2021-07-06T19:47:14.000Z
2021-07-06T19:47:14.000Z
lib/zaryn/p2p/message/balance.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
lib/zaryn/p2p/message/balance.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
defmodule Zaryn.P2P.Message.Balance do @moduledoc """ Represents a message with the balance of a transaction """ defstruct zaryn: 0.0, nft: %{} @type t :: %__MODULE__{ zaryn: float(), nft: %{binary() => float()} } end
21.416667
56
0.579767
da537ae9e38e48bf0c632228eb05fefbe2174ef3
1,710
ex
Elixir
clients/content/lib/google_api/content/v21/model/orders_update_merchant_order_id_response.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_update_merchant_order_id_response.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orders_update_merchant_order_id_response.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "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.2
206
0.745029
da539623d1aa82ecf93d620a43f9bac4a1228450
2,349
ex
Elixir
lib/aws/generated/personalize_runtime.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/personalize_runtime.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/personalize_runtime.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.PersonalizeRuntime do alias AWS.Client alias AWS.Request def metadata do %AWS.ServiceMetadata{ abbreviation: nil, api_version: "2018-05-22", content_type: "application...
26.693182
85
0.673904
da53a14f73d86cba7966ee3c3658de16df273bd8
872
exs
Elixir
config/config.exs
deerob4/unit-converter
288ad35d0e97f0453e893ced717faccbe9710a7b
[ "MIT" ]
null
null
null
config/config.exs
deerob4/unit-converter
288ad35d0e97f0453e893ced717faccbe9710a7b
[ "MIT" ]
null
null
null
config/config.exs
deerob4/unit-converter
288ad35d0e97f0453e893ced717faccbe9710a7b
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :unit_converter, UnitConverter.Endpoint, url: [hos...
36.333333
86
0.766055
da5405ba2ec7f430665fed48adbb39835ee1695b
899
ex
Elixir
lib/oxygen.ex
Nebo15/oxygen
d0782899adb730e644c071d12906a97d407fc46a
[ "MIT" ]
1
2016-09-03T10:03:13.000Z
2016-09-03T10:03:13.000Z
lib/oxygen.ex
Nebo15/oxygen
d0782899adb730e644c071d12906a97d407fc46a
[ "MIT" ]
null
null
null
lib/oxygen.ex
Nebo15/oxygen
d0782899adb730e644c071d12906a97d407fc46a
[ "MIT" ]
null
null
null
defmodule Oxygen do @moduledoc """ Named GenServer """ @doc """ Cast name to tuple for GenServer """ def via_tuple(name) do {:via, :gproc, {:n, :l, {:queue, name}}} end @doc """ Find GenServer process by name via gproc """ def get_server(name) do server = via_tuple(name) case G...
22.475
68
0.614016
da540e31c293d8d1326be347b9e059e227ea44f9
2,908
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_uiv1beta3_batch_move_documents_metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_uiv1beta3_batch_move_documents_metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_uiv1beta3_batch_move_documents_metadata.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...
38.773333
239
0.749656
da543ceae5880fe7f76d9480ef54314b2c3401d0
667
ex
Elixir
lib/codes/codes_r71.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r71.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r71.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_R71 do alias IcdCode.ICDCode def _R710 do %ICDCode{full_code: "R710", category_code: "R71", short_code: "0", full_name: "Precipitous drop in hematocrit", short_name: "Precipitous drop in hematocrit", category_name: "Precipitous dro...
26.68
63
0.62069
da54401d721239c2b177bb424b8a1ad75f73ee4d
1,931
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__list_versions_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__list_versions_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__list_versions_response.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...
36.433962
150
0.760228
da5454e6b54a92f7ee89f54740685f350be6f0bc
2,084
ex
Elixir
lib/kayrock/convenience.ex
joshuawscott/kayrock
614b930d568f7d0655a00e8d0d760e3b33314366
[ "MIT" ]
24
2019-06-26T22:08:13.000Z
2022-01-27T00:10:41.000Z
lib/kayrock/convenience.ex
joshuawscott/kayrock
614b930d568f7d0655a00e8d0d760e3b33314366
[ "MIT" ]
10
2020-04-10T07:48:53.000Z
2021-03-26T10:50:25.000Z
lib/kayrock/convenience.ex
joshuawscott/kayrock
614b930d568f7d0655a00e8d0d760e3b33314366
[ "MIT" ]
11
2019-10-30T12:53:09.000Z
2022-03-09T23:16:42.000Z
defmodule Kayrock.Convenience do @moduledoc """ Convenience functions for working with Kayrock / Kafka API data """ alias Kayrock.ErrorCode def topic_exists?(pid, topic) when is_pid(pid) do {:ok, [topic]} = Kayrock.topics_metadata(pid, [topic]) topic[:error_code] != ErrorCode.unknown_topic() end ...
29.771429
96
0.690979
da5473040e21ea2dd9032a7f8e32b44b7072d17a
563
ex
Elixir
apps/ecto_gen_error_reproduce_web/lib/ecto_gen_error_reproduce_web/views/error_view.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_view.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_view.ex
TheMaikXX/ecto_gen_error_reproduce_umbrella
14af47d24b17a9478c4a67715995fa45fc9cc02a
[ "MIT" ]
null
null
null
defmodule EctoGenErrorReproduceWeb.ErrorView do use EctoGenErrorReproduceWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix ret...
33.117647
83
0.73357
da54aed58a2ffe2dfd55b182f39d789572f36e2e
1,444
ex
Elixir
apps/astarte_housekeeping_api/lib/astarte_housekeeping_api/application.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
null
null
null
apps/astarte_housekeeping_api/lib/astarte_housekeeping_api/application.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
5
2019-11-18T17:06:34.000Z
2019-12-19T10:03:59.000Z
apps/astarte_housekeeping_api/lib/astarte_housekeeping_api/application.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
2
2018-02-05T19:23:18.000Z
2019-11-19T11:44:40.000Z
# # This file is part of Astarte. # # Copyright 2017 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
35.219512
102
0.74169
da54f591f441c304a1daeeed2cbc7f7eb3f77cf7
4,659
exs
Elixir
test/oli_web/controllers/api/section_state_controller_test.exs
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
test/oli_web/controllers/api/section_state_controller_test.exs
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
test/oli_web/controllers/api/section_state_controller_test.exs
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
defmodule OliWeb.ExtrinsicStateControllerTest do use OliWeb.ConnCase alias Oli.Delivery.Sections alias Oli.Seeder alias Lti_1p3.Tool.ContextRoles defp again(conn, user) do recycle(conn) |> Pow.Plug.assign_current_user( user, OliWeb.Pow.PowHelpers.get_pow_config(:user) ) end desc...
25.183784
96
0.59047
da54fe9e82968f903958d354fbbe43d76d7545b8
2,767
ex
Elixir
lib/sanbase/accounts/linked_user/linked_user_candidate.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
1
2022-01-30T19:51:39.000Z
2022-01-30T19:51:39.000Z
lib/sanbase/accounts/linked_user/linked_user_candidate.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
lib/sanbase/accounts/linked_user/linked_user_candidate.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
null
null
null
defmodule Sanbase.Accounts.LinkedUserCandidate do @moduledoc ~s""" Module for handling the candidates for linked users. Before linking two users both ends - primary and secondary - must approve of this linking. The primary user agrees to the linking by creating a token and sharing it with the secondary user....
28.822917
91
0.675461
da5541c6e7ea45cab32d195efae1288b0f41752f
3,232
ex
Elixir
clients/blogger/lib/google_api/blogger/v3/model/page.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/blogger/lib/google_api/blogger/v3/model/page.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/blogger/lib/google_api/blogger/v3/model/page.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
40.4
136
0.652847
da5563010e6ac8ed65be68e01d9d0e8142f08d8e
3,870
ex
Elixir
clients/composer/lib/google_api/composer/v1/model/environment_config.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1/model/environment_config.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/composer/lib/google_api/composer/v1/model/environment_config.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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...
53.75
364
0.739535
da55997033ebabc447ddd65b86c1e838e9fe407f
1,038
ex
Elixir
test/support/conn_case.ex
swarut/jap-haji
04211ff56add0cbe6e7e09e4b41baa3771125f82
[ "Apache-2.0" ]
1
2017-11-27T07:11:27.000Z
2017-11-27T07:11:27.000Z
test/support/conn_case.ex
swarut/jap-haji
04211ff56add0cbe6e7e09e4b41baa3771125f82
[ "Apache-2.0" ]
null
null
null
test/support/conn_case.ex
swarut/jap-haji
04211ff56add0cbe6e7e09e4b41baa3771125f82
[ "Apache-2.0" ]
null
null
null
defmodule JapHajiWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the...
26.615385
69
0.719653
da55a03ab6ce99838c4683355663b21a54f95bf4
877
ex
Elixir
lib/ash/query/call.ex
MrFlorius/ash
247abbb8333d252da5440a58ddf4f1b7f184342f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
lib/ash/query/call.ex
MrFlorius/ash
247abbb8333d252da5440a58ddf4f1b7f184342f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
lib/ash/query/call.ex
MrFlorius/ash
247abbb8333d252da5440a58ddf4f1b7f184342f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.Query.Call do @moduledoc "Represents a function call/AST node in an Ash query expression" defstruct [:name, :args, relationship_path: [], operator?: false] defimpl Inspect do import Inspect.Algebra def inspect(call, inspect_opts) do if call.operator? do concat([ to...
25.057143
86
0.541619
da55a7f779c2984b679e5efd175f77966addb4a5
158
exs
Elixir
elixir/elixir-sips/samples/boltun_playground/config/config.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-sips/samples/boltun_playground/config/config.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-sips/samples/boltun_playground/config/config.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
use Mix.Config config :boltun_playground, TestListener, database: "boltun_playground", username: "boltun", password: "boltun", hostname: "localhost"
19.75
40
0.740506
da55b81dce9db395583616918c3e23ab0dae78a9
2,796
ex
Elixir
lib/elixir/lib/record/extractor.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/elixir/lib/record/extractor.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/record/extractor.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
defmodule Record.Extractor do @moduledoc false # Retrieve a record definition from an Erlang file using # the same lookup as the *include* attribute from Erlang modules. def extract(name, from: file) when is_binary(file) do file = String.to_char_list!(file) realfile = case :code.where_is_file(fi...
30.064516
100
0.642704
da55de79d812cc0b2af8287ce2e65b39973a2f6d
1,339
exs
Elixir
mix.exs
olafura/json_diff_ex
20df90d5278eed7e92db47e19c0a50c3c059ebf4
[ "Apache-2.0" ]
35
2015-10-27T07:38:29.000Z
2021-12-19T20:30:16.000Z
mix.exs
olafura/json_diff_ex
20df90d5278eed7e92db47e19c0a50c3c059ebf4
[ "Apache-2.0" ]
19
2016-09-12T13:14:12.000Z
2019-04-22T13:51:54.000Z
mix.exs
olafura/json_diff_ex
20df90d5278eed7e92db47e19c0a50c3c059ebf4
[ "Apache-2.0" ]
11
2016-08-24T23:12:54.000Z
2020-11-02T22:47:58.000Z
defmodule JsonDiffEx.Mixfile do use Mix.Project @version "0.6.6" def project do [ app: :json_diff_ex, version: @version, description: "Diff and patch for JSON in Elixir", package: package(), docs: [source_ref: "v#{@version}", main: "JsonDiffEx"], test_coverage: [tool: Cov...
23.910714
69
0.526512
da55f965f07f719df819565d32c67a4f19a2b7a6
797
exs
Elixir
config/config.exs
amalbuquerque/andrex
20c298a7203c96655a992570ece6f3998739ae21
[ "MIT" ]
null
null
null
config/config.exs
amalbuquerque/andrex
20c298a7203c96655a992570ece6f3998739ae21
[ "MIT" ]
null
null
null
config/config.exs
amalbuquerque/andrex
20c298a7203c96655a992570ece6f3998739ae21
[ "MIT" ]
null
null
null
import Config # Configures the endpoint config :andrex, AndrexWeb.Endpoint, url: [host: "localhost"], secret_key_base: "434VF2FLtHfVGM//TyhS2NFW9l/k7V8ZAgCRXN7lZQKA9ld7fvsKgNe1yFetrbFX", render_errors: [view: AndrexWeb.ErrorView, accepts: ~w(html json), layout: false], pubsub_server: Andrex.PubSub, live_view...
31.88
86
0.759097
da55f9f858fcad34c78c935bd053b35ea57fd05d
494
ex
Elixir
backend/my_deps/incremental_slug/test/support/post.ex
janis-rullis/elixir
e007592d06daf4de708473be08fb102a7c93f3d2
[ "MIT" ]
null
null
null
backend/my_deps/incremental_slug/test/support/post.ex
janis-rullis/elixir
e007592d06daf4de708473be08fb102a7c93f3d2
[ "MIT" ]
3
2020-11-08T11:19:47.000Z
2021-05-07T17:20:05.000Z
backend/my_deps/incremental_slug/test/support/post.ex
janis-rullis/elixir
e007592d06daf4de708473be08fb102a7c93f3d2
[ "MIT" ]
null
null
null
defmodule IncrementalSlug.TestPost do use Ecto.Schema import Ecto.Changeset import Ecto.Query, warn: false schema "test_posts" do field(:title, :string) field(:slug, :string) end @doc false def changeset(post, attrs) do post |> cast(attrs, [:title, :slug]) |> IncrementalSlug.put(__MO...
23.52381
97
0.684211
da56255451b48ff7d85757a6a003b05866d223b1
551
ex
Elixir
core/ets/ets.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
core/ets/ets.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
core/ets/ets.ex
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2019 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.Ets do defun init_all() :: :ok do AntikytheraCore.Ets.SystemCache.init() AntikytheraCore.Ets.ConfigCache.init() AntikytheraCore.Ets.GearActionRunnerPools.init() AntikytheraCore.Ets.TenantToGearsMapping...
29
88
0.735027
da5639d9458a30c4a73ada1f2a6a2bd4057e1ad9
71,325
exs
Elixir
priv/endpoints.exs
appunite/ex_aws
cfc56d89e51b691bc20cac0c9347d84fd3e06663
[ "MIT" ]
1
2018-09-14T11:10:14.000Z
2018-09-14T11:10:14.000Z
priv/endpoints.exs
appunite/ex_aws
cfc56d89e51b691bc20cac0c9347d84fd3e06663
[ "MIT" ]
null
null
null
priv/endpoints.exs
appunite/ex_aws
cfc56d89e51b691bc20cac0c9347d84fd3e06663
[ "MIT" ]
2
2019-03-19T18:30:22.000Z
2021-02-10T01:06:49.000Z
%{ "partitions" => [ %{ "defaults" => %{ "hostname" => "{service}.{region}.{dnsSuffix}", "protocols" => ["https"], "signatureVersions" => ["v4"] }, "dnsSuffix" => "amazonaws.com", "partition" => "aws", "partitionName" => "AWS Standard", "regionRegex" => ...
33.93197
99
0.312022
da564d4570a423be75b9d0f4216afb4cd7806a06
1,500
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/stack_trace.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/stack_trace.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/stack_trace.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...
30
80
0.744
da56630519e89f4d7b47ae53b3a207c3e9c00f86
781
ex
Elixir
test/support/channel_case.ex
ramortegui/pdf_calendar
38f367aa505c7f7374cedc34c51e6640f6f983ee
[ "MIT" ]
null
null
null
test/support/channel_case.ex
ramortegui/pdf_calendar
38f367aa505c7f7374cedc34c51e6640f6f983ee
[ "MIT" ]
2
2021-03-08T23:54:52.000Z
2021-05-08T00:14:57.000Z
test/support/channel_case.ex
ramortegui/pdf_calendar
38f367aa505c7f7374cedc34c51e6640f6f983ee
[ "MIT" ]
null
null
null
defmodule PdfCalendarWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interac...
24.40625
59
0.729834
da566655c49da5a1c806bce8ecb5de06f214984b
2,894
ex
Elixir
apps/blunt/lib/blunt/message/documentation.ex
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
1
2022-03-07T11:54:47.000Z
2022-03-07T11:54:47.000Z
apps/blunt/lib/blunt/message/documentation.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
apps/blunt/lib/blunt/message/documentation.ex
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
defmodule Blunt.Message.Documentation do @moduledoc false alias Blunt.Config alias Blunt.Message.Documentation alias Blunt.Message.Documentation.{FieldAndOptionDocs, MetadataDocs} defstruct [:message_module, :moduledoc, :shortdoc, :fielddoc, :optiondoc, :metadatadoc] def make(module) do case Module.ge...
29.232323
114
0.665169
da5680eb6c0dce7b383e84dccf6fc94a385f9081
1,873
ex
Elixir
clients/games_management/lib/google_api/games_management/v1management/model/quests_reset_multiple_for_all_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/model/quests_reset_multiple_for_all_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/model/quests_reset_multiple_for_all_request.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...
33.446429
171
0.749066
da5684c6cdbdeaf1ac587de8240b444ee023c1d0
1,707
exs
Elixir
test/instream/connection/json_test.exs
coder-from-hell/instream
f062e924b74a403e0f41b5374d9ed0e00ae59507
[ "Apache-2.0" ]
204
2015-06-04T06:38:57.000Z
2022-01-30T08:56:33.000Z
test/instream/connection/json_test.exs
coder-from-hell/instream
f062e924b74a403e0f41b5374d9ed0e00ae59507
[ "Apache-2.0" ]
71
2015-05-24T02:08:28.000Z
2022-01-10T17:13:27.000Z
test/instream/connection/json_test.exs
coder-from-hell/instream
f062e924b74a403e0f41b5374d9ed0e00ae59507
[ "Apache-2.0" ]
41
2015-09-05T21:24:04.000Z
2021-11-10T02:52:48.000Z
defmodule Instream.Connection.JSONTest do use ExUnit.Case, async: true alias Instream.Connection.JSON defmodule JSONConnectionModule do alias Instream.Connection.JSONTest.JSONLibrary use Instream.Connection, config: [ json_decoder: JSONLibrary, json_encoder: JSONLibrary ] ...
30.482143
82
0.688342
da568a206867f78d77ebdd2d6e2ba9ed0793bc59
14,011
ex
Elixir
lib/ecto/multi.ex
alanpeabody/ecto
a8f655225b0f35e7f4d223b2d12be613121bb4f8
[ "Apache-2.0" ]
null
null
null
lib/ecto/multi.ex
alanpeabody/ecto
a8f655225b0f35e7f4d223b2d12be613121bb4f8
[ "Apache-2.0" ]
null
null
null
lib/ecto/multi.ex
alanpeabody/ecto
a8f655225b0f35e7f4d223b2d12be613121bb4f8
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Multi do @moduledoc """ Ecto.Multi is a data structure that allows grouping multiple Repo operations together. Ecto.Multi makes it possible to pack operations that should be performed together (in a single database transaction) and gives a way to introspect the queued operations without actu...
35.292191
90
0.670473
da56dd0831dcd25f634d88e5646097e9713a8db5
415
exs
Elixir
config/config.exs
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
38
2015-06-21T17:44:44.000Z
2021-10-03T08:46:08.000Z
config/config.exs
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
2
2019-08-27T17:27:37.000Z
2021-02-05T14:27:28.000Z
config/config.exs
workpathco/ex_hl7
20f2fadb158e903cf1752f69cd0ecdeae377c2c3
[ "Apache-2.0" ]
14
2016-02-04T15:11:55.000Z
2021-11-13T20:28:19.000Z
use Mix.Config config :ex_hl7, # Default HL7 message field separator (MSH.1) field_sep: "|", # Default HL7 encoding characters (i.e. separators for components, repetitions, subcomponents # and escaping) (MSH.2) encoding_chars: "^~\\&", # Default HL7 processing ID (MSH.11) processing_id: "P", # Default ...
27.666667
95
0.684337
da571c58aa5fbc87e2e733c34bec302aaa476f74
209
exs
Elixir
test/unit/hologram/runtime/layout_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
test/unit/hologram/runtime/layout_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
test/unit/hologram/runtime/layout_test.exs
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
defmodule Hologram.Runtime.LayoutTest do use Hologram.Test.UnitCase, async: true test "is_layout?/0" do module = Hologram.Test.Fixtures.Runtime.Layout.Module1 assert module.is_layout?() end end
23.222222
58
0.751196
da571fa7e9459c78aa221963dcdbffc2007230b2
9,174
exs
Elixir
apps/ewallet_api/test/ewallet_api/v1/controllers/reset_password_controller_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/test/ewallet_api/v1/controllers/reset_password_controller_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/test/ewallet_api/v1/controllers/reset_password_controller_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
31.743945
97
0.621212
da573af3019e205b2819b79ee19c5977d3c5288c
1,927
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta1_document_page_table_table_row.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/v1beta2/model/google_cloud_documentai_v1beta1_document_page_table_table_row.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/v1beta2/model/google_cloud_documentai_v1beta1_document_page_table_table_row.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.661017
172
0.749351
da577797df928d3d43c037dd0e317e74308e4229
1,933
exs
Elixir
community/betterdev/config/dev.exs
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
79
2017-07-03T13:04:08.000Z
2022-02-11T13:59:37.000Z
community/betterdev/config/dev.exs
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
16
2017-07-09T03:16:27.000Z
2022-01-14T14:29:57.000Z
community/betterdev/config/dev.exs
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
10
2017-07-09T02:58:59.000Z
2021-09-14T08:01:02.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :betterdev, Betterdev.Web.Endpoint, http: [por...
32.762712
170
0.7015
da57b42f71ff23275636ae70b3263acb6cc73152
9,976
ex
Elixir
lib/shortuuid.ex
gpedic/shortuuid
1766fe3f39064b48e974ccbd0859a9cd312b8437
[ "MIT" ]
1
2017-08-24T16:26:46.000Z
2017-08-24T16:26:46.000Z
lib/shortuuid.ex
gpedic/shortuuid
1766fe3f39064b48e974ccbd0859a9cd312b8437
[ "MIT" ]
null
null
null
lib/shortuuid.ex
gpedic/shortuuid
1766fe3f39064b48e974ccbd0859a9cd312b8437
[ "MIT" ]
null
null
null
defmodule ShortUUID do @moduledoc """ ShortUUID - generate concise, unambiguous, URL-safe UUIDs. ## Installation Add ShortUUID to your list of dependencies in `mix.exs`: def deps do [ {:shortuuid, "~> #{ShortUUID.Mixfile.project()[:version] |> String.slice(0, 3)}"} ] end...
25.911688
128
0.556235
da57c6d83e59999a78f4037f52b2893904d0e3d9
800
exs
Elixir
apps/fz_http/priv/repo/migrations/20211116173236_create_settings.exs
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
1
2022-02-02T07:56:41.000Z
2022-02-02T07:56:41.000Z
apps/fz_http/priv/repo/migrations/20211116173236_create_settings.exs
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
1
2022-03-30T03:57:41.000Z
2022-03-30T03:57:41.000Z
apps/fz_http/priv/repo/migrations/20211116173236_create_settings.exs
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
defmodule FzHttp.Repo.Migrations.CreateSettings do use Ecto.Migration def change do create table(:settings) do add :key, :string add :value, :string timestamps(type: :utc_datetime_usec) end create unique_index(:settings, :key) flush() now = DateTime.utc_now() execute(...
22.857143
73
0.58375
da57d86dcc56af60e1dafe56bb5c19adf0433a5c
2,023
ex
Elixir
lib/dangers_detector.ex
axelson/excellent_migrations
e44c79ba20dd2695ea48252fa2ebe776b377a39a
[ "MIT" ]
null
null
null
lib/dangers_detector.ex
axelson/excellent_migrations
e44c79ba20dd2695ea48252fa2ebe776b377a39a
[ "MIT" ]
null
null
null
lib/dangers_detector.ex
axelson/excellent_migrations
e44c79ba20dd2695ea48252fa2ebe776b377a39a
[ "MIT" ]
null
null
null
defmodule ExcellentMigrations.DangersDetector do @moduledoc """ This module finds potentially dangerous or destructive database operations in a given migration AST. """ alias ExcellentMigrations.{ DangersFilter, Parser } @type ast :: list | tuple | atom | String.t() @type danger_type :: ...
28.492958
91
0.565497
da57ed40b9513e2890d415b20a0b7bb93053de15
1,061
ex
Elixir
lib/dgraph_ex/expr/near.ex
WolfDan/dgraph_ex
4dad42983f2387f10febf9996ac8f2db20aea710
[ "MIT" ]
21
2017-08-20T06:19:37.000Z
2021-02-04T23:22:10.000Z
lib/dgraph_ex/expr/near.ex
WolfDan/dgraph_ex
4dad42983f2387f10febf9996ac8f2db20aea710
[ "MIT" ]
43
2017-08-06T21:03:28.000Z
2018-09-08T13:00:35.000Z
lib/dgraph_ex/expr/near.ex
WolfDan/dgraph_ex
4dad42983f2387f10febf9996ac8f2db20aea710
[ "MIT" ]
1
2017-10-12T02:20:13.000Z
2017-10-12T02:20:13.000Z
defmodule DgraphEx.Expr.Near do alias DgraphEx.Expr.Near defstruct [ label: nil, geo_json: nil, distance: nil, ] defmacro __using__(_) do quote do alias DgraphEx.Expr.Near def near(label, [x, y] = geo_json, distance) when is_atom(label) and is_float(x) and is_float(y) and is_integ...
25.878049
162
0.643732
da582745135d15aa5606094c96b0588bb3cd81d5
1,343
ex
Elixir
lib/matchers/book.ex
adriankumpf/infer
a8a59683d6d8abe4be1addaa1067046509e23655
[ "MIT" ]
4
2022-01-12T10:53:47.000Z
2022-03-15T13:55:38.000Z
lib/matchers/book.ex
adriankumpf/infer
a8a59683d6d8abe4be1addaa1067046509e23655
[ "MIT" ]
4
2022-01-09T13:30:27.000Z
2022-03-11T15:22:16.000Z
lib/matchers/book.ex
adriankumpf/infer
a8a59683d6d8abe4be1addaa1067046509e23655
[ "MIT" ]
3
2022-01-09T13:16:12.000Z
2022-03-10T11:43:10.000Z
defmodule Infer.Book do @moduledoc """ Book type matchers based on the [magic number](https://en.wikipedia.org/wiki/Magic_number_(programming)) """ @doc """ Takes the binary file contents as arguments. Returns `true` if it's a epub. ## Examples iex> binary = File.read!("test/books/sample.epub") ...
28.574468
139
0.61653
da583584dc39114d077bcaf9888af209285a95cb
710
exs
Elixir
config/staging.exs
tonnenpinguin/nerves_hub_link
a0cea7453da792243f970140a0560b5af99434a0
[ "Apache-2.0" ]
null
null
null
config/staging.exs
tonnenpinguin/nerves_hub_link
a0cea7453da792243f970140a0560b5af99434a0
[ "Apache-2.0" ]
null
null
null
config/staging.exs
tonnenpinguin/nerves_hub_link
a0cea7453da792243f970140a0560b5af99434a0
[ "Apache-2.0" ]
null
null
null
import Config config :nerves_hub_cli, home_dir: Path.expand("../nerves-hub", __DIR__) # API HTTP connection. config :nerves_hub_user_api, host: "api.staging.nerves-hub.org", port: 443 # Device HTTP connection. config :nerves_hub_link, device_api_host: "device.staging.nerves-hub.org", device_api_port: 443 ...
23.666667
65
0.71831
da583760c025ab7969ac5d7b90449b1e25f57638
135
ex
Elixir
lib/mtpo_web/controllers/page_controller.ex
teaearlgraycold/HippoGuesser
f47fb0636c841ce9b579c07e423c980b17cb9965
[ "MIT" ]
null
null
null
lib/mtpo_web/controllers/page_controller.ex
teaearlgraycold/HippoGuesser
f47fb0636c841ce9b579c07e423c980b17cb9965
[ "MIT" ]
null
null
null
lib/mtpo_web/controllers/page_controller.ex
teaearlgraycold/HippoGuesser
f47fb0636c841ce9b579c07e423c980b17cb9965
[ "MIT" ]
null
null
null
defmodule MtpoWeb.PageController do use MtpoWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
16.875
35
0.725926
da5848fc0b1515b44f869b2a42b52c36ead3080b
91
exs
Elixir
config/test.exs
0urobor0s/cldr_html
d0dad6e59e4560cad10e19206677622dcf3fecbe
[ "Apache-2.0" ]
1
2021-05-23T19:28:22.000Z
2021-05-23T19:28:22.000Z
config/test.exs
0urobor0s/cldr_html
d0dad6e59e4560cad10e19206677622dcf3fecbe
[ "Apache-2.0" ]
8
2021-06-10T21:40:40.000Z
2022-03-28T23:15:23.000Z
config/test.exs
0urobor0s/cldr_html
d0dad6e59e4560cad10e19206677622dcf3fecbe
[ "Apache-2.0" ]
3
2021-06-22T11:45:19.000Z
2022-03-25T00:44:43.000Z
use Mix.Config config :ex_cldr, default_locale: "en-001", default_backend: MyApp.Cldr
15.166667
29
0.747253
da584905a6f151e7886c65ab83be378338ad859c
7,468
ex
Elixir
test/support/mocks/paymill_mock.ex
szTheory/gringotts
706774d31a94ce173679f3b91b0feaad0739d006
[ "MIT" ]
454
2017-12-19T07:03:51.000Z
2022-03-29T00:52:31.000Z
test/support/mocks/paymill_mock.ex
szTheory/gringotts
706774d31a94ce173679f3b91b0feaad0739d006
[ "MIT" ]
140
2017-12-19T07:23:36.000Z
2021-02-13T18:08:58.000Z
test/support/mocks/paymill_mock.ex
szTheory/gringotts
706774d31a94ce173679f3b91b0feaad0739d006
[ "MIT" ]
57
2017-12-21T18:21:32.000Z
2021-08-15T13:50:38.000Z
defmodule Gringotts.Gateways.PaymillMock do @moduledoc false def auth_success do ~s/{ "data":{ "id":"preauth_7f0a5b2787d0acb96db5", "amount":"4200", "currency":"EUR", "description":"description example", "status":"closed", "livemode":false, "created_at":1523890381, "updated_at":1523890383, "app_id"...
54.510949
113
0.697777
da584cdae7cfc9834d130885983f8b58aef9f6be
101
exs
Elixir
priv/v02/ch09/enum_map.exs
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
4
2019-04-21T05:46:19.000Z
2021-09-13T01:56:33.000Z
priv/v02/ch09/enum_map.exs
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
1
2020-09-24T00:13:40.000Z
2020-09-24T00:13:40.000Z
priv/v02/ch09/enum_map.exs
oiax/nano_planner
9a0081582ea82519b8166f49ac8c5bcbcadaefbd
[ "MIT" ]
3
2019-10-26T01:41:53.000Z
2020-09-21T01:13:02.000Z
list = [1, 2, 3] list = list |> Enum.map(&(&1 * 2)) |> Enum.map(&(&1 * &1)) IO.inspect(list)
11.222222
25
0.455446
da585ec57c4eb5f90d1d2f6b6ab90d29ea56c148
663
exs
Elixir
test/query/highlight_fastvector_test.exs
bluedevelz/hui
e5f24a30ade504db3adbffab1aeec90d490ac6a0
[ "Apache-2.0" ]
13
2018-09-06T12:42:18.000Z
2021-06-15T15:13:13.000Z
test/query/highlight_fastvector_test.exs
bluedevelz/hui
e5f24a30ade504db3adbffab1aeec90d490ac6a0
[ "Apache-2.0" ]
27
2019-08-22T07:02:27.000Z
2022-02-05T05:27:30.000Z
test/query/highlight_fastvector_test.exs
bluedevelz/hui
e5f24a30ade504db3adbffab1aeec90d490ac6a0
[ "Apache-2.0" ]
7
2019-08-22T06:29:05.000Z
2021-10-16T15:39:21.000Z
defmodule Hui.Query.HighlighterFastVectorTest do use ExUnit.Case, async: true alias Hui.Query test "new()" do x = Query.HighlighterFastVector.new() assert x.__struct__ == Query.HighlighterFastVector {alt_field, len, highlight} = {"description", 500, false} x = Query.HighlighterFastVector.new(al...
30.136364
66
0.740573
da5895bcf14feff12410f4e71fa1ab17e741adee
323
exs
Elixir
priv/repo/migrations/20190616210333_create_projection_versions.exs
KazW/commanded-shredder-middleware
ab4494db84983acfe7cd2d47a9b81dbec7c36a9d
[ "MIT" ]
1
2020-07-30T18:40:11.000Z
2020-07-30T18:40:11.000Z
priv/repo/migrations/20190616210333_create_projection_versions.exs
KazW/commanded-shredder-middleware
ab4494db84983acfe7cd2d47a9b81dbec7c36a9d
[ "MIT" ]
null
null
null
priv/repo/migrations/20190616210333_create_projection_versions.exs
KazW/commanded-shredder-middleware
ab4494db84983acfe7cd2d47a9b81dbec7c36a9d
[ "MIT" ]
null
null
null
defmodule Commanded.Shredder.Repo.Migrations.CreateProjectionVersions do use Ecto.Migration def change do create_if_not_exists table(:projection_versions, primary_key: false) do add(:projection_name, :text, primary_key: true) add(:last_seen_event_number, :bigint) timestamps() end end e...
24.846154
75
0.749226
da589631d296f01c484d2085e54a472632c03dcc
6,176
exs
Elixir
lib/elixir/test/elixir/string_io_test.exs
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/string_io_test.exs
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/string_io_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 StringIOTest do use ExUnit.Case, async: true test "start and stop" do {:ok, pid} = StringIO.open("") assert StringIO.close(pid) == {:ok, {"", ""}} end test "start_link and stop" do {:ok, pid} = StringIO.open("") assert StringIO.close(pid)...
26.393162
73
0.547927
da58b79b6968d94daec3b393054f0f5ac421dc33
6,562
ex
Elixir
lib/chat_api/messages.ex
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
null
null
null
lib/chat_api/messages.ex
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
null
null
null
lib/chat_api/messages.ex
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
null
null
null
defmodule ChatApi.Messages do @moduledoc """ The Chat context. """ import Ecto.Query, warn: false alias ChatApi.{EventSubscriptions, Repo} alias ChatApi.Messages.Message require Logger @spec list_messages(binary()) :: [Message.t()] @doc """ Returns the list of messages. ## Examples iex...
26.566802
95
0.654526
da59354f8e4d4d7b584a7d5eb5ae60ba452461d5
1,846
ex
Elixir
lib/ex_hl7/composite/default/xad.ex
CaptChrisD/ex_hl7
dc35edebba0c5b657aac31e4d18be7b0451f8ccd
[ "Apache-2.0" ]
38
2015-06-21T17:44:44.000Z
2021-10-03T08:46:08.000Z
lib/ex_hl7/composite/default/xad.ex
CaptChrisD/ex_hl7
dc35edebba0c5b657aac31e4d18be7b0451f8ccd
[ "Apache-2.0" ]
2
2019-08-27T17:27:37.000Z
2021-02-05T14:27:28.000Z
lib/ex_hl7/composite/default/xad.ex
CaptChrisD/ex_hl7
dc35edebba0c5b657aac31e4d18be7b0451f8ccd
[ "Apache-2.0" ]
14
2016-02-04T15:11:55.000Z
2021-11-13T20:28:19.000Z
defmodule HL7.Composite.Default.XAD do @moduledoc """ 2.9.51 XAD - extended address Components: - `street_address` (SAD) - `other_designation` (ST) - `city` (ST) - `state` (ST) - `postal_code` (ST) - `country` (ID) - `address_type` (ID) - `other_geo_designation` (ST) - `count...
25.638889
77
0.619177
da594f2b0c11e5f364d66f512efa2721c5f3cf13
882
ex
Elixir
clients/os_config/lib/google_api/os_config/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/os_config/lib/google_api/os_config/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/os_config/lib/google_api/os_config/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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...
32.666667
74
0.758503
da596c82fee642f042aa089cab11d4ba91afbfcf
500
exs
Elixir
test/magical_make/cli_test.exs
vKxni/poke_make
43b2eac08a6e2eb06ce749b7184ab43950a25922
[ "Apache-2.0" ]
6
2022-01-20T14:10:08.000Z
2022-03-10T17:09:52.000Z
test/magical_make/cli_test.exs
vKxni/poke_make
43b2eac08a6e2eb06ce749b7184ab43950a25922
[ "Apache-2.0" ]
2
2022-01-20T08:45:05.000Z
2022-03-11T00:56:23.000Z
test/magical_make/cli_test.exs
vKxni/poke_make
43b2eac08a6e2eb06ce749b7184ab43950a25922
[ "Apache-2.0" ]
1
2022-03-10T16:02:14.000Z
2022-03-10T16:02:14.000Z
defmodule MagicalMake.CLITest do use ExUnit.Case doctest MagicalMake.SystemCommand test "main" do cmd = "hello" assert MagicalMake.CLI.main([cmd]) == :ok assert MagicalMake.CLI.main(["help"]) == :help assert MagicalMake.CLI.main(["-h"]) == :help assert MagicalMake.CLI.main(["--help"]) == :hel...
31.25
58
0.654
da59aa75e6f97f7a9a2f459d586360c014029c86
3,792
ex
Elixir
clients/content/lib/google_api/content/v2/model/headers.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/headers.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v2/model/headers.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
64.271186
490
0.69462
da59d8ec104bdb5b952b76398a002cf33176c04a
142
exs
Elixir
test/jabbed_into_submission_test.exs
findaplayer/jabbed_into_submission
a9c59623cf7343b1bf535283cb3c6500d1ad180e
[ "MIT" ]
1
2021-01-12T01:11:19.000Z
2021-01-12T01:11:19.000Z
test/jabbed_into_submission_test.exs
findaplayer/jabbed_into_submission
a9c59623cf7343b1bf535283cb3c6500d1ad180e
[ "MIT" ]
null
null
null
test/jabbed_into_submission_test.exs
findaplayer/jabbed_into_submission
a9c59623cf7343b1bf535283cb3c6500d1ad180e
[ "MIT" ]
null
null
null
defmodule JabbedIntoSubmissionTest do use ExUnit.Case doctest JabbedIntoSubmission test "the truth" do assert 1 + 1 == 2 end end
15.777778
37
0.732394
da59f1074b4c30da6af43dcacc286be7c76343c5
980
ex
Elixir
lib/repg2/ets.ex
paulobezerr/repg2
824734df292dadf1705cf1709550e01e13170b5a
[ "Apache-2.0" ]
25
2018-02-17T16:15:36.000Z
2021-05-28T01:36:39.000Z
lib/repg2/ets.ex
paulobezerr/repg2
824734df292dadf1705cf1709550e01e13170b5a
[ "Apache-2.0" ]
null
null
null
lib/repg2/ets.ex
paulobezerr/repg2
824734df292dadf1705cf1709550e01e13170b5a
[ "Apache-2.0" ]
4
2018-09-27T08:54:07.000Z
2020-11-09T08:54:25.000Z
defmodule RePG2.ETS do @moduledoc false @ets_table __MODULE__ def new() do @ets_table = :ets.new(@ets_table, [:ordered_set, :protected, :named_table]) :ok end def member(key), do: :ets.member(@ets_table, key) def insert(object), do: :ets.insert(@ets_table, object) def delete(key), do: :ets.d...
25.128205
79
0.684694
da59f7ac6c1c1bb2494b61fc74b7a3f8376f2cbd
307
ex
Elixir
lib/remedy/schema/callback_type.ex
bdanklin/nostrum
554ebd6cff1d0f68c874aa92f475dabf1aed5512
[ "MIT" ]
3
2021-09-05T09:44:02.000Z
2022-01-26T15:31:50.000Z
lib/remedy/schema/callback_type.ex
bdanklin/remedy
554ebd6cff1d0f68c874aa92f475dabf1aed5512
[ "MIT" ]
null
null
null
lib/remedy/schema/callback_type.ex
bdanklin/remedy
554ebd6cff1d0f68c874aa92f475dabf1aed5512
[ "MIT" ]
null
null
null
defmodule Remedy.Schema.CallbackType do use Remedy.Type defstruct PONG: 1, CHANNEL_MESSAGE_WITH_SOURCE: 4, DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE: 5, DEFERRED_UPDATE_MESSAGE: 6, UPDATE_MESSAGE: 7, APPLICATION_COMMAND_AUTOCOMPLETE_RESULT: 8 end
27.909091
54
0.680782
da5a178f741fe602be418925491b7ba684c26b50
1,880
exs
Elixir
test/ex_twilio/jwt/access_token/voice_grant_test.exs
kianmeng/ex_twilio
d8621cab60bd03a46375a05b377623875754dda6
[ "MIT" ]
null
null
null
test/ex_twilio/jwt/access_token/voice_grant_test.exs
kianmeng/ex_twilio
d8621cab60bd03a46375a05b377623875754dda6
[ "MIT" ]
1
2021-02-19T04:34:52.000Z
2021-03-29T19:14:14.000Z
test/ex_twilio/jwt/access_token/voice_grant_test.exs
kianmeng/ex_twilio
d8621cab60bd03a46375a05b377623875754dda6
[ "MIT" ]
2
2022-03-08T22:05:17.000Z
2022-03-09T05:29:46.000Z
defmodule ExTwilio.JWT.AccessToken.VoiceGrantTest do use ExUnit.Case alias ExTwilio.JWT.AccessToken.VoiceGrant alias ExTwilio.JWT.Grant describe ".new/1" do test "accepts all attributes" do assert VoiceGrant.new( outgoing_application_sid: "outgoing_application_sid", out...
32.982456
98
0.581383
da5a2dd2f4d4bcb0e2053a9f89d1aaa95982c7cf
800
exs
Elixir
mix.exs
gausby/level
d15c2bec9fc12e064c84a750ec8d0debfd605fa4
[ "MIT", "Unlicense" ]
5
2015-05-09T17:29:58.000Z
2021-03-15T22:19:34.000Z
mix.exs
gausby/level
d15c2bec9fc12e064c84a750ec8d0debfd605fa4
[ "MIT", "Unlicense" ]
2
2015-05-11T10:22:17.000Z
2015-05-11T10:22:53.000Z
mix.exs
gausby/level
d15c2bec9fc12e064c84a750ec8d0debfd605fa4
[ "MIT", "Unlicense" ]
null
null
null
defmodule Level.Mixfile do use Mix.Project def project do [app: :level, version: "1.0.0", description: description, package: package, elixir: "~> 1.0", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end def application do [applications: ...
21.052632
103
0.6225
da5a4a98c4ae7f79972d15b09a5b0f18ea1b9606
6,111
ex
Elixir
lib/advent_of_code/day_15.ex
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
1
2021-12-19T04:13:00.000Z
2021-12-19T04:13:00.000Z
lib/advent_of_code/day_15.ex
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
null
null
null
lib/advent_of_code/day_15.ex
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
1
2021-12-15T19:15:20.000Z
2021-12-15T19:15:20.000Z
defmodule AdventOfCode.Day15 do # This day's code is a bit longer than usual. # The original implementation took half an hour, through multiple # revisions, that time has been pushed down to 600ms!F # At the heart of this improvement is the priority queue implementation. import AdventOfCode.Utils @typep m...
37.722222
94
0.677794
da5a5d5e5c733aa1321baea97bfbd771af5a0b04
5,129
ex
Elixir
lib/ada/metrics/reporter.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
7
2019-05-11T12:14:48.000Z
2021-04-02T18:42:51.000Z
lib/ada/metrics/reporter.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
3
2019-05-11T08:01:47.000Z
2019-05-14T12:06:50.000Z
lib/ada/metrics/reporter.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
1
2021-01-06T14:57:32.000Z
2021-01-06T14:57:32.000Z
defmodule Ada.Metrics.Reporter do @moduledoc false use GenServer require Logger def start_link(opts) do GenServer.start_link(__MODULE__, opts, name: __MODULE__) end @impl true def init(opts) do state = Enum.into(opts, default_state()) case state.engine.connect() do :ok -> att...
25.645
98
0.58257
da5a70ba66301309504b3d6db5f51ad0b4bb419d
1,808
ex
Elixir
test/support/pages/potential_duplicates.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/support/pages/potential_duplicates.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/support/pages/potential_duplicates.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.Test.Pages.PotentialDuplicates do import Euclid.Test.Extra.Assertions import ExUnit.Assertions import Phoenix.LiveViewTest alias Epicenter.Cases.Person alias Epicenter.Test alias EpicenterWeb.Test.LiveViewAssertions alias EpicenterWeb.Test.Pages alias Phoenix.LiveViewTest.View ...
34.113208
134
0.722898
da5ab89464f2ae3ceb46dd721b6447bead21e960
2,542
exs
Elixir
config/prod.exs
djdduty/sunshines_battleacademy
bcc085a3a6a519fc1591d00a39783523644f87a0
[ "Apache-2.0" ]
null
null
null
config/prod.exs
djdduty/sunshines_battleacademy
bcc085a3a6a519fc1591d00a39783523644f87a0
[ "Apache-2.0" ]
null
null
null
config/prod.exs
djdduty/sunshines_battleacademy
bcc085a3a6a519fc1591d00a39783523644f87a0
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # SunshinesBattleacademy.Web.Endpoint.load_from_system_env/1 dynamically. # Any dynamic configuration should be moved to...
36.314286
88
0.744296
da5af51b1f26929c100f4c946b61043f029f34d2
2,824
ex
Elixir
lib/phoenix/controller/flash.ex
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
lib/phoenix/controller/flash.ex
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
lib/phoenix/controller/flash.ex
wojtekmach/phoenix
a6b3bf301c7088b8824a39a165582dc85dfdd2a4
[ "MIT" ]
null
null
null
defmodule Phoenix.Controller.Flash do import Plug.Conn alias Plug.Conn @http_redir_range 300..308 @moduledoc """ Handles One-time messages, often referred to as "Flash" messages. Messages can be stored in the session and persisted across redirects for notices and alerts about request state. ## Exampl...
21.393939
78
0.585694
da5af7adc85f1b84ec57a56ad40f6bbe5610b6cd
2,185
ex
Elixir
apps/ewallet_api/lib/ewallet_api/v1/end_user_authenticator.ex
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/lib/ewallet_api/v1/end_user_authenticator.ex
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/lib/ewallet_api/v1/end_user_authenticator.ex
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-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 ...
31.666667
77
0.712586
da5b0509d42606f489802f83fef2ec7dcf225c01
472
exs
Elixir
apps/gitgud/config/test.exs
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
1
2019-09-08T07:48:10.000Z
2019-09-08T07:48:10.000Z
apps/gitgud/config/test.exs
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
null
null
null
apps/gitgud/config/test.exs
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :gitgud, GitGud.DB, username: "postgres", password: "postgres", database: "gitgud_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox # Configure your SSH server config :gitgud, ssh_port: 9899, ssh_keys: Path.absname("priv/ssh-keys", Path.dirname...
24.842105
65
0.733051
da5b2912a344696ce1a4cd820d2b2913295d49d0
2,278
ex
Elixir
clients/content/lib/google_api/content/v2/model/accounttax_custom_batch_response_entry.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v2/model/accounttax_custom_batch_response_entry.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v2/model/accounttax_custom_batch_response_entry.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...
40.678571
166
0.72432
da5b3047665eee5b5e2343061c85c1ae449889de
484
ex
Elixir
lib/elixirdo/instance/monad_trans/maybe/monad_cont.ex
slepher/elixirdo
9417f275f1c908f9144e93325e6c52717896058f
[ "Xnet", "X11" ]
null
null
null
lib/elixirdo/instance/monad_trans/maybe/monad_cont.ex
slepher/elixirdo
9417f275f1c908f9144e93325e6c52717896058f
[ "Xnet", "X11" ]
5
2018-07-20T12:36:25.000Z
2018-08-01T04:55:46.000Z
lib/elixirdo/instance/monad_trans/maybe/monad_cont.ex
slepher/elixirdo
9417f275f1c908f9144e93325e6c52717896058f
[ "Xnet", "X11" ]
null
null
null
defmodule Elixirdo.Instance.MonadTrans.Maybe.MonadCont do use Elixirdo.Base use Elixirdo.Typeclass.Monad.Cont, import_monad_cont: true use Elixirdo.Instance.MonadTrans.Maybe import_type MaybeT.maybe_t() definstance monad_cont(maybe_t(m), m: monad_cont) do def callCC(f) do MaybeT.new( Monad...
23.047619
68
0.628099
da5b39b7400a53ac6457635f67eed0f7d92e06f4
1,749
ex
Elixir
lib/query.ex
m0rt3nlund/query_builder
68bfdf7b642ded1a9056a85776c3fc5296b2b7b7
[ "Apache-2.0" ]
47
2019-12-20T08:35:20.000Z
2022-03-23T15:11:45.000Z
lib/query.ex
m0rt3nlund/query_builder
68bfdf7b642ded1a9056a85776c3fc5296b2b7b7
[ "Apache-2.0" ]
7
2020-05-14T09:25:53.000Z
2021-10-01T04:58:22.000Z
lib/query.ex
m0rt3nlund/query_builder
68bfdf7b642ded1a9056a85776c3fc5296b2b7b7
[ "Apache-2.0" ]
4
2020-04-21T13:54:46.000Z
2021-08-12T22:15:22.000Z
defmodule QueryBuilder.Query do @moduledoc false defstruct( ecto_query: nil, operations: [] ) end defimpl Inspect, for: QueryBuilder.Query do def inspect(query, opts) do query |> Ecto.Queryable.to_query() |> Inspect.inspect(opts) end end defimpl Ecto.Queryable, for: QueryBuilder.Query do...
25.347826
101
0.624929
da5b3abb947caf554728e9f001d58a80c99d0893
81
ex
Elixir
lib/personal_training_web/views/layout_view.ex
brandaoplaster/personal_training
6b30501d1e96f500eace4ba241af8bbd40e7287a
[ "MIT" ]
null
null
null
lib/personal_training_web/views/layout_view.ex
brandaoplaster/personal_training
6b30501d1e96f500eace4ba241af8bbd40e7287a
[ "MIT" ]
3
2022-03-06T17:39:09.000Z
2022-03-06T19:24:53.000Z
lib/personal_training_web/views/layout_view.ex
brandaoplaster/personal_training
6b30501d1e96f500eace4ba241af8bbd40e7287a
[ "MIT" ]
null
null
null
defmodule PersonalTrainingWeb.LayoutView do use PersonalTrainingWeb, :view end
20.25
43
0.851852
da5b792ef0e576970677d0d6a40388ebdf8a02ee
2,988
exs
Elixir
apps/omg_watcher_info/test/omg_watcher_info/release_tasks/set_tracer_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher_info/test/omg_watcher_info/release_tasks/set_tracer_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher_info/test/omg_watcher_info/release_tasks/set_tracer_test.exs
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network 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...
39.315789
110
0.66834
da5bbc3782077f8485e6ccc1f5001b66241ca85e
1,264
ex
Elixir
deps/tzdata/lib/tzdata/basic_data_map.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
deps/tzdata/lib/tzdata/basic_data_map.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
deps/tzdata/lib/tzdata/basic_data_map.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
1
2019-11-23T12:09:14.000Z
2019-11-23T12:09:14.000Z
defmodule Tzdata.BasicDataMap do @moduledoc false alias Tzdata.Parser alias Tzdata.ParserOrganizer, as: Organizer @file_names ~w(africa antarctica asia australasia backward etcetera europe northamerica pacificnew southamerica)s def from_files_in_dir(dir_name) do Enum.map(@file_names, fn file_name -> {Str...
35.111111
115
0.731804
da5be89bac419e40c1ff3575e6eea1f24d181452
1,313
exs
Elixir
test/vintage_net_mobile/modem/automatic_test.exs
nerves-networking/vintage_net_lte
9a3be8828e4ecdbc993706782ed2039abf5fbbcb
[ "Apache-2.0" ]
2
2020-02-11T15:15:25.000Z
2020-02-11T15:15:27.000Z
test/vintage_net_mobile/modem/automatic_test.exs
nerves-networking/vintage_net_lte
9a3be8828e4ecdbc993706782ed2039abf5fbbcb
[ "Apache-2.0" ]
8
2020-01-28T21:02:56.000Z
2020-02-24T16:13:38.000Z
test/vintage_net_mobile/modem/automatic_test.exs
nerves-networking/vintage_net_lte
9a3be8828e4ecdbc993706782ed2039abf5fbbcb
[ "Apache-2.0" ]
1
2020-02-08T20:46:27.000Z
2020-02-08T20:46:27.000Z
defmodule VintageNetMobile.Modem.AutomaticTest do use ExUnit.Case, async: true alias VintageNetMobile.Modem.Automatic alias VintageNetMobile.Modem.Automatic.Discovery alias VintageNet.Interface.RawConfig test "create LTE configuration" do input = %{ type: VintageNetMobile, vintage_net_mobile...
26.795918
93
0.616908
da5c140d0cd2e0af1deebed01080b098c62c5d78
927
ex
Elixir
test/support/channel_case.ex
maxdec/cellar
056202b1d90748378e16edc9fdcade8c0491f2b1
[ "MIT" ]
null
null
null
test/support/channel_case.ex
maxdec/cellar
056202b1d90748378e16edc9fdcade8c0491f2b1
[ "MIT" ]
null
null
null
test/support/channel_case.ex
maxdec/cellar
056202b1d90748378e16edc9fdcade8c0491f2b1
[ "MIT" ]
null
null
null
defmodule Cellar.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also imports other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it cannot be a...
22.609756
65
0.702265
da5c1b715e1bdc97954342b2ebddcf8820d13feb
76
exs
Elixir
test/crit_web/views/layout_view_test.exs
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
6
2019-07-16T19:31:23.000Z
2021-06-05T19:01:05.000Z
test/crit_web/views/layout_view_test.exs
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
test/crit_web/views/layout_view_test.exs
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
3
2020-02-24T23:38:27.000Z
2020-08-01T23:50:17.000Z
defmodule CritWeb.LayoutViewTest do use CritWeb.ConnCase, async: true end
19
35
0.815789
da5c4d88cf7b33eecfc2273dec4735ad50ec0266
809
exs
Elixir
test/icon/schema/types/any_test.exs
alexdesousa/icon
2b363582b129bc0485a39e9845d2a18eabd2f6d6
[ "MIT" ]
4
2022-01-27T09:10:05.000Z
2022-03-09T04:38:13.000Z
test/icon/schema/types/any_test.exs
alexdesousa/icon
2b363582b129bc0485a39e9845d2a18eabd2f6d6
[ "MIT" ]
null
null
null
test/icon/schema/types/any_test.exs
alexdesousa/icon
2b363582b129bc0485a39e9845d2a18eabd2f6d6
[ "MIT" ]
null
null
null
defmodule Icon.Schema.Types.AnyTest do use ExUnit.Case, async: true alias Icon.Schema.Types.Any describe "load/1" do test "does nothing to the value" do assert {:ok, 42} = Any.load(42) assert {:ok, ""} = Any.load("") assert {:ok, "0x2a"} = Any.load("0x2a") assert {:ok, []} = Any.load...
28.892857
61
0.52534
da5c51ce41aa58e1337201a7e5377f0a1badf550
324
ex
Elixir
elixir/armstrong-numbers/lib/armstrong_number.ex
jiegillet/exercism
bf901cd477aede9d06f322dae0763c968688806d
[ "MIT" ]
null
null
null
elixir/armstrong-numbers/lib/armstrong_number.ex
jiegillet/exercism
bf901cd477aede9d06f322dae0763c968688806d
[ "MIT" ]
null
null
null
elixir/armstrong-numbers/lib/armstrong_number.ex
jiegillet/exercism
bf901cd477aede9d06f322dae0763c968688806d
[ "MIT" ]
null
null
null
defmodule ArmstrongNumber do @moduledoc """ Provides a way to validate whether or not a number is an Armstrong number """ @spec valid?(integer) :: boolean def valid?(number) do str = Integer.to_charlist(number) Enum.reduce(str, 0, fn n, s -> s + Integer.pow(n - ?0, length(str)) end) == number end ...
24.923077
86
0.666667
da5cf4db9f9ed99a41ccdea3d5e1740b7cad8b8c
451
exs
Elixir
config/config.exs
aman-io/exq_ui
28a02575481a5ddf77a0ea302d711c55c7420bab
[ "Apache-2.0" ]
null
null
null
config/config.exs
aman-io/exq_ui
28a02575481a5ddf77a0ea302d711c55c7420bab
[ "Apache-2.0" ]
null
null
null
config/config.exs
aman-io/exq_ui
28a02575481a5ddf77a0ea302d711c55c7420bab
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :logger, :console, format: "\n$date $time [$level]: $message \n" config :exq, host: "127.0.0.1", port: 6379, namespace: "exq", queues: ["default"], scheduler_enable: true, concurrency: 100, scheduler_poll_timeout: 200, poll_timeout: 100, redis_timeout: 5000, genserver_timeout...
18.791667
71
0.676275
da5d0db067f5bc6bd9958f07e4cf19ed030dff90
4,073
ex
Elixir
lib/changelog/schema/episode/episode_stat.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2020-05-20T16:58:17.000Z
2020-05-20T16:58:17.000Z
lib/changelog/schema/episode/episode_stat.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
lib/changelog/schema/episode/episode_stat.ex
type1fool/changelog.com
fbec3528cc3f5adfdc75b008bb92b17efc4f248f
[ "MIT" ]
null
null
null
defmodule Changelog.EpisodeStat do use Changelog.Schema, default_sort: :date alias Changelog.{AgentKit, Episode, Podcast} schema "episode_stats" do field :date, :date field :episode_bytes, :integer field :total_bytes, :integer field :downloads, :float field :uniques, :integer field :demo...
32.070866
135
0.652099