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
18f7ef292b025355c7636ad8b2a4719c51925486
1,182
exs
Elixir
mix.exs
RichMorin/doctor
fc3520990452d9621a2991e01aec3d421f36169b
[ "MIT" ]
null
null
null
mix.exs
RichMorin/doctor
fc3520990452d9621a2991e01aec3d421f36169b
[ "MIT" ]
null
null
null
mix.exs
RichMorin/doctor
fc3520990452d9621a2991e01aec3d421f36169b
[ "MIT" ]
null
null
null
defmodule Doctor.MixProject do use Mix.Project def project do [ app: :doctor, version: "0.7.0", elixir: "~> 1.7", name: "Doctor", source_url: "https://github.com/akoutmos/doctor", homepage_url: "https://hex.pm/packages/doctor", description: "Simple utility to create do...
23.176471
77
0.576142
18f7f96e2c273cf2acf0722e94730a37ea676845
4,759
ex
Elixir
lib/envio/utils.ex
am-kantox/envio
ebcd4647b10265054267839fad8e31e25b3ec0e4
[ "MIT" ]
12
2018-07-25T08:38:05.000Z
2020-05-16T07:29:11.000Z
lib/envio/utils.ex
am-kantox/envio
ebcd4647b10265054267839fad8e31e25b3ec0e4
[ "MIT" ]
6
2018-07-26T17:09:44.000Z
2021-10-19T06:39:44.000Z
lib/envio/utils.ex
am-kantox/envio
ebcd4647b10265054267839fad8e31e25b3ec0e4
[ "MIT" ]
null
null
null
defmodule Envio.Utils do @moduledoc """ Multipurpose utils, required for the _Envío_ proper functioning, like: * `fq_name` to construct fully-qualified names for channels to prevent clashes """ @fq_joiner "." @doc """ Produces a fully-qualified name out of namespace in a form of a module name atom...
33.992857
92
0.608321
18f7fc57d0748648e2d42b776df49d8a24573a12
1,139
exs
Elixir
config/config.exs
linjunpop/receipt_decoder
cf71c6898dfeba38135f05983a4b5fc074e90ab6
[ "MIT" ]
14
2017-08-10T07:11:53.000Z
2022-02-11T12:26:50.000Z
config/config.exs
linjunpop/receipt_decoder
cf71c6898dfeba38135f05983a4b5fc074e90ab6
[ "MIT" ]
4
2019-02-20T13:40:43.000Z
2021-06-14T07:44:11.000Z
config/config.exs
linjunpop/receipt_decoder
cf71c6898dfeba38135f05983a4b5fc074e90ab6
[ "MIT" ]
3
2019-10-09T08:27:03.000Z
2021-05-12T09:11:14.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.741935
73
0.755048
18f85e4e5c2f18d2286fe904a9bf9081df7d75f3
1,393
ex
Elixir
clients/cloud_trace/lib/google_api/cloud_trace/v1/model/empty.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/lib/google_api/cloud_trace/v1/model/empty.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/lib/google_api/cloud_trace/v1/model/empty.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...
37.648649
381
0.740847
18f86e1dd33727d315e47df64499ceb9204e42c3
9,195
exs
Elixir
apps/ello_v2/test/controllers/following_post_controller_test.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_v2/test/controllers/following_post_controller_test.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_v2/test/controllers/following_post_controller_test.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.V2.FollowingPostControllerTest do use Ello.V2.ConnCase, async: false alias Ello.Core.Repo alias Ello.Stream alias Ello.Stream.Item alias Ello.Core.Redis alias Ello.Search.Post.Index setup %{conn: conn} do Ecto.Adapters.SQL.Sandbox.mode(Repo, {:shared, self()}) Stream.Client.Test.st...
40.866667
153
0.664165
18f88530ad0464e4e58d37043c6dcb4fcbc7594a
1,788
ex
Elixir
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v1/model/result_table_column_headers.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v1/model/result_table_column_headers.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v1/model/result_table_column_headers.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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.111111
112
0.730425
18f88c744f3a3d360cb606527ee10a20275bfa85
993
ex
Elixir
backend/test/support/channel_case.ex
hploscar/palike
71618593ee6e6687e0d1cdc9e923ed8f9c2cc2cb
[ "MIT" ]
null
null
null
backend/test/support/channel_case.ex
hploscar/palike
71618593ee6e6687e0d1cdc9e923ed8f9c2cc2cb
[ "MIT" ]
null
null
null
backend/test/support/channel_case.ex
hploscar/palike
71618593ee6e6687e0d1cdc9e923ed8f9c2cc2cb
[ "MIT" ]
null
null
null
defmodule Palike.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it cannot be as...
22.568182
68
0.698892
18f89e8a45fda306ac52ed8e9932e17909d68d73
94
exs
Elixir
test/groundstation_web/views/layout_view_test.exs
joshprice/groundstation
ef08065f32c6389d87c84cd36f14052fafe0e3ee
[ "Apache-2.0" ]
23
2019-10-03T05:40:57.000Z
2021-09-29T17:03:59.000Z
test/groundstation_web/views/layout_view_test.exs
joshprice/groundstation
ef08065f32c6389d87c84cd36f14052fafe0e3ee
[ "Apache-2.0" ]
6
2019-10-12T02:17:34.000Z
2021-05-10T07:01:55.000Z
test/groundstation_web/views/layout_view_test.exs
joshprice/groundstation
ef08065f32c6389d87c84cd36f14052fafe0e3ee
[ "Apache-2.0" ]
3
2019-10-17T04:13:38.000Z
2020-07-11T02:18:03.000Z
defmodule GroundStationWeb.LayoutViewTest do use GroundStationWeb.ConnCase, async: true end
23.5
44
0.851064
18f8b727531728773c0337e599059de6a09f6207
603
ex
Elixir
lib/code_corps/stripe_testing/external_account.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
lib/code_corps/stripe_testing/external_account.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
lib/code_corps/stripe_testing/external_account.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
defmodule CodeCorps.StripeTesting.ExternalAccount do def retrieve(id, _) do {:ok, bank_account(id)} end defp bank_account(id) do %Stripe.ExternalAccount{ id: id, object: "bank_account", account: "acct_1032D82eZvKYlo2C", account_holder_name: "Jane Austen", account_holder_type...
24.12
52
0.633499
18f904367f9f5d6ddb49f20c3ebb52d7ab84c446
5,410
ex
Elixir
lib/accounting/views/xero_view.ex
verypossible/accounting
25be530e191c7c23c725770deb90d390b9296496
[ "MIT" ]
3
2017-12-17T22:00:22.000Z
2020-01-12T17:29:36.000Z
lib/accounting/views/xero_view.ex
verypossible/accounting
25be530e191c7c23c725770deb90d390b9296496
[ "MIT" ]
2
2017-12-11T23:31:04.000Z
2017-12-15T16:44:31.000Z
lib/accounting/views/xero_view.ex
verypossible/accounting
25be530e191c7c23c725770deb90d390b9296496
[ "MIT" ]
3
2017-07-26T07:34:30.000Z
2022-01-11T15:53:07.000Z
defmodule Accounting.XeroView do @moduledoc false alias Accounting.{Entry, LineItem} @spec render(String.t) :: String.t def render("start_link.xml") do """ <TrackingCategories> <TrackingCategory> <Name>Category</Name> </TrackingCategory> </TrackingCategories> """ end @...
26.650246
77
0.62976
18f91fc4ddcdf908dfb58f1fe688c013520081bc
13,330
ex
Elixir
lib/hierbautberlin/geo_data/analyze_text.ex
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
13
2021-03-06T12:16:34.000Z
2022-03-31T09:46:35.000Z
lib/hierbautberlin/geo_data/analyze_text.ex
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
148
2021-03-05T12:44:55.000Z
2022-03-11T12:09:06.000Z
lib/hierbautberlin/geo_data/analyze_text.ex
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
2
2021-06-02T14:31:21.000Z
2022-02-14T08:36:51.000Z
defmodule Hierbautberlin.GeoData.AnalyzeText do require Logger use GenServer import Ecto.Query, warn: false alias Hierbautberlin.GeoData alias Hierbautberlin.GeoData.{GeoPlace, GeoStreet, GeoStreetNumber} alias Hierbautberlin.Repo alias Hierbautberlin.Services.UnicodeHelper @place_sorting ["Park", "Sc...
26.820926
98
0.609077
18f956cefa9a7d005d4f8ae695c3fb5c23ac7dce
160
ex
Elixir
apps/backoffice/lib/backoffice.ex
devnacho/acme_bank
cee19a490d2b3c04465273b7a6212d7e6a81f736
[ "MIT" ]
776
2016-07-16T14:24:37.000Z
2022-03-07T17:05:11.000Z
apps/backoffice/lib/backoffice.ex
fercho1224/devops
81a352d857e190963d9f045d73c91f3c36a12064
[ "MIT" ]
19
2016-09-03T15:06:57.000Z
2021-12-10T10:04:05.000Z
apps/backoffice/lib/backoffice.ex
fercho1224/devops
81a352d857e190963d9f045d73c91f3c36a12064
[ "MIT" ]
130
2016-09-03T19:44:27.000Z
2022-01-16T12:27:54.000Z
defmodule Backoffice do @moduledoc """ Backoffice provides administrative capabilities to the operators of the platform. Built with `ExAdmin`. """ end
20
83
0.75
18f9669178063c41dd472e054bcc247cfd3d4605
1,003
exs
Elixir
mix.exs
segaz2002/coney
7b98a1b4f0da4d316fd2118ba6394779212563ed
[ "MIT" ]
null
null
null
mix.exs
segaz2002/coney
7b98a1b4f0da4d316fd2118ba6394779212563ed
[ "MIT" ]
null
null
null
mix.exs
segaz2002/coney
7b98a1b4f0da4d316fd2118ba6394779212563ed
[ "MIT" ]
null
null
null
defmodule Coney.Mixfile do use Mix.Project def project do [ app: :coney, version: "2.0.2", elixir: ">= 1.5.0", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), elixirc_paths: elixirc_paths(Mi...
19.288462
60
0.540379
18f997ff46cc77e4dc91e8af18cad31eda8643ac
696
ex
Elixir
back/lib/zx_web/gettext.ex
giovanecosta/zebra-xantis
92e5937d51c44e75544bb539f5d95f6b0cc61b94
[ "MIT" ]
null
null
null
back/lib/zx_web/gettext.ex
giovanecosta/zebra-xantis
92e5937d51c44e75544bb539f5d95f6b0cc61b94
[ "MIT" ]
null
null
null
back/lib/zx_web/gettext.ex
giovanecosta/zebra-xantis
92e5937d51c44e75544bb539f5d95f6b0cc61b94
[ "MIT" ]
1
2019-08-29T17:37:51.000Z
2019-08-29T17:37:51.000Z
defmodule ZxWeb.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 ZxWeb.Gettext # Simple translation gettext("Here is the string ...
27.84
72
0.670977
18f9c310120c52a2a11dc9edb80667ec229c5ee9
1,117
ex
Elixir
lib/poker/card.ex
josemrb/poker_ex
57aaa4fbde83b084e5e87cece1ee42c7b084ff9f
[ "MIT" ]
null
null
null
lib/poker/card.ex
josemrb/poker_ex
57aaa4fbde83b084e5e87cece1ee42c7b084ff9f
[ "MIT" ]
null
null
null
lib/poker/card.ex
josemrb/poker_ex
57aaa4fbde83b084e5e87cece1ee42c7b084ff9f
[ "MIT" ]
null
null
null
defmodule Poker.Card do @moduledoc""" Card related functions. """ @suits ["C", "D", "H", "S"] @values ["2", "3", "4", "5", "6", "7", "8", "9", "T", "J", "Q", "K", "A"] @doc """ Parse valid input string into a :card tuple. ## Examples iex> Poker.Card.parse("2C") {:card, "2", "C", 2} iex> Poker...
22.34
105
0.568487
18f9f8e23d933a9a074eb8c8eab6448cb808ca17
1,988
ex
Elixir
lib/google_api/big_query/v2/model/model_definition.ex
albert-io/elixir-google-big-query
26537253b83e7bad513ea4b5143b156c914b1475
[ "Apache-2.0" ]
null
null
null
lib/google_api/big_query/v2/model/model_definition.ex
albert-io/elixir-google-big-query
26537253b83e7bad513ea4b5143b156c914b1475
[ "Apache-2.0" ]
null
null
null
lib/google_api/big_query/v2/model/model_definition.ex
albert-io/elixir-google-big-query
26537253b83e7bad513ea4b5143b156c914b1475
[ "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...
36.814815
300
0.76006
18fa1acf97802e4bb0f7b1717dc4bfda729fcffc
415
ex
Elixir
lib/phat/chats/chat.ex
tajchumber/live-view-chat
d98d445b145a197eadc4381e264f3d1918f0b90f
[ "Apache-2.0" ]
50
2019-05-23T11:59:30.000Z
2022-03-11T04:12:36.000Z
lib/phat/chats/chat.ex
tajchumber/live-view-chat
d98d445b145a197eadc4381e264f3d1918f0b90f
[ "Apache-2.0" ]
6
2019-05-18T09:53:46.000Z
2021-01-27T11:26:15.000Z
lib/phat/chats/chat.ex
tajchumber/live-view-chat
d98d445b145a197eadc4381e264f3d1918f0b90f
[ "Apache-2.0" ]
18
2019-05-18T08:13:51.000Z
2021-11-23T13:57:33.000Z
defmodule Phat.Chats.Chat do use Ecto.Schema import Ecto.Changeset alias Phat.Chats.Message schema "chats" do has_many :messages, Message field :room_name, :string timestamps() end @doc """ Builds a changeset based on the `struct` and `params`. """ def changeset(struct, params \\ %{}) do...
19.761905
56
0.657831
18fa1e7ec142a0b4359deac5889dfb8cafa5c57f
75
ex
Elixir
lib/doctor_schedule_web/views/page_view.ex
adrianomota/doctor_schedule
626eef47df8f1ff082c7a7d76342cb9c361c75a2
[ "MIT" ]
2
2022-03-11T12:15:01.000Z
2022-03-11T13:53:21.000Z
lib/doctor_schedule_web/views/page_view.ex
adrianomota/doctor_schedule
626eef47df8f1ff082c7a7d76342cb9c361c75a2
[ "MIT" ]
3
2020-12-12T22:10:17.000Z
2021-04-05T12:53:12.000Z
lib/doctor_schedule_web/views/page_view.ex
adrianomota/doctor_schedule
626eef47df8f1ff082c7a7d76342cb9c361c75a2
[ "MIT" ]
1
2021-02-26T04:24:34.000Z
2021-02-26T04:24:34.000Z
defmodule DoctorScheduleWeb.PageView do use DoctorScheduleWeb, :view end
18.75
39
0.84
18fa21a700f8fbd248b8de52983aaa0077f31980
67
exs
Elixir
test/apds9960_test.exs
mnishiguchi/apds9960
e37108f84f40fc21487879d419dbf55866d5babf
[ "MIT" ]
null
null
null
test/apds9960_test.exs
mnishiguchi/apds9960
e37108f84f40fc21487879d419dbf55866d5babf
[ "MIT" ]
null
null
null
test/apds9960_test.exs
mnishiguchi/apds9960
e37108f84f40fc21487879d419dbf55866d5babf
[ "MIT" ]
null
null
null
defmodule APDS9960Test do use ExUnit.Case doctest APDS9960 end
13.4
25
0.80597
18fa556303bb48b2e4479930a06f0bf638164f05
2,671
ex
Elixir
lib/wobserver/util/helper.ex
szlend/wobserver
6c3ea1ef772ddb4a0b35956d155f33fc46f71a8c
[ "MIT" ]
984
2017-02-06T17:13:48.000Z
2022-03-18T22:46:55.000Z
lib/wobserver/util/helper.ex
szlend/wobserver
6c3ea1ef772ddb4a0b35956d155f33fc46f71a8c
[ "MIT" ]
52
2017-02-13T16:12:10.000Z
2021-04-08T22:31:28.000Z
lib/wobserver/util/helper.ex
szlend/wobserver
6c3ea1ef772ddb4a0b35956d155f33fc46f71a8c
[ "MIT" ]
74
2017-02-13T15:23:49.000Z
2021-07-30T07:43:27.000Z
defmodule Wobserver.Util.Helper do @moduledoc ~S""" Helper functions and JSON encoders. """ alias Poison.Encoder alias Encoder.BitString defimpl Encoder, for: PID do @doc ~S""" JSON encodes a `PID`. Uses `inspect/1` to turn the `pid` into a String and passes the `options` to `BitString.encode...
24.731481
108
0.622988
18fa8c7f7a23651c728026de9fde8c67813ec324
672
ex
Elixir
lib/bookings/create.ex
cassiofariasmachado/flightex
c8729bfcffc78f71ef832c718b8953237533ec7b
[ "MIT" ]
null
null
null
lib/bookings/create.ex
cassiofariasmachado/flightex
c8729bfcffc78f71ef832c718b8953237533ec7b
[ "MIT" ]
null
null
null
lib/bookings/create.ex
cassiofariasmachado/flightex
c8729bfcffc78f71ef832c718b8953237533ec7b
[ "MIT" ]
null
null
null
defmodule Flightex.Bookings.Create do alias Flightex.Bookings.Agent, as: BookingAgent alias Flightex.Bookings.Booking alias Flightex.Users.Agent, as: UserAgent def call(user_id, %{ data_completa: data_completa, cidade_origem: cidade_origem, cidade_destino: cidade_destino }) do ...
28
82
0.669643
18faa5e485b6eb626f1c9219fbd7ce27af00c140
1,032
exs
Elixir
config/config.exs
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
48
2015-06-29T21:20:25.000Z
2021-05-09T04:27:41.000Z
config/config.exs
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
null
null
null
config/config.exs
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
15
2015-06-29T21:13:57.000Z
2021-07-27T10:02:40.000Z
# 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 :survey, Survey.Endpoint, url: [host: "localhost"]...
27.157895
86
0.735465
18fab33f18b2656d9befc4491a3ef26c0ffb70df
1,661
ex
Elixir
test/fixtures/v3/database.ex
noizu-labs/advanced_elixir_scaffolding
9e7a1199a4b25fcc16fc5a795104b926d2f238df
[ "MIT" ]
null
null
null
test/fixtures/v3/database.ex
noizu-labs/advanced_elixir_scaffolding
9e7a1199a4b25fcc16fc5a795104b926d2f238df
[ "MIT" ]
null
null
null
test/fixtures/v3/database.ex
noizu-labs/advanced_elixir_scaffolding
9e7a1199a4b25fcc16fc5a795104b926d2f238df
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # Author: Keith Brings # Copyright (C) 2021 Noizu Labs, Inc. All rights reserved. #------------------------------------------------------------------------------- use Amnesia defdatabase NoizuSchema.Database do def database(), do: Noi...
29.140351
111
0.600241
18fab5d316ef7b2c137caa18e70fe89420ca1a55
3,243
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_custom_batch_request_entry_cancel_line_item.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_custom_batch_request_entry_cancel_line_item.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_custom_batch_request_entry_cancel_line_item.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...
46.328571
300
0.712303
18fad6c57c9ad7fdb8331ff08f613a7e85b6cb39
1,194
ex
Elixir
lib/ex_binance/spot/public/klines.ex
rupurt/ex_binance
fa3fe75878758eef73508c72533e881fbf6ea0d7
[ "MIT" ]
7
2019-04-12T12:46:53.000Z
2021-06-29T19:43:41.000Z
lib/ex_binance/spot/public/klines.ex
rupurt/ex_binance
fa3fe75878758eef73508c72533e881fbf6ea0d7
[ "MIT" ]
18
2020-05-25T09:03:58.000Z
2021-06-24T19:44:29.000Z
lib/ex_binance/spot/public/klines.ex
rupurt/ex_binance
fa3fe75878758eef73508c72533e881fbf6ea0d7
[ "MIT" ]
12
2019-08-08T09:20:59.000Z
2021-04-12T19:19:43.000Z
defmodule ExBinance.Spot.Public.Klines do import ExBinance.Rest.SpotClient, only: [get: 2] def klines(symbol, interval, limit \\ nil, start_time \\ nil, end_time \\ nil) do params = %{symbol: symbol, interval: interval} |> maybe_put(:limit, limit) |> maybe_put(:startTime, start_time) |>...
34.114286
83
0.634003
18fadaa4b334143365c79dedc29316cd34cabfb9
2,449
exs
Elixir
test/membrane/integration/demands_test.exs
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
test/membrane/integration/demands_test.exs
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
test/membrane/integration/demands_test.exs
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Integration.DemandsTest do use Bunch use ExUnit.Case, async: false import ExUnit.Assertions import Membrane.Testing.Assertions alias Membrane.Buffer alias Membrane.Support.DemandsTest.Filter alias Membrane.Testing.{Pipeline, Sink, Source} defp assert_buffers_received(range, pid) do...
26.053191
77
0.579829
18faf68e4a7d8a0062b1c54b4e6ef5fd18afa8f6
474
ex
Elixir
monitoring_hub/apps/metrics_reporter_ui/web/channels/applications_channel.ex
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
null
null
null
monitoring_hub/apps/metrics_reporter_ui/web/channels/applications_channel.ex
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
null
null
null
monitoring_hub/apps/metrics_reporter_ui/web/channels/applications_channel.ex
awesome-archive/wallaroo
852c19ffad0ed75a767a658a9a72c355e3c4c1c8
[ "Apache-2.0" ]
null
null
null
defmodule MetricsReporterUI.ApplicationsChannel do use Phoenix.Channel alias MonitoringHubUtils.Stores.AppConfigStore def join("applications", _message, socket) do send(self, :after_join) {:ok, socket} end def handle_info(:after_join, socket) do push_app_names(socket) {:noreply, socket} end...
24.947368
57
0.727848
18fb00c7cdd51219c219b217db0fa788e8f089f3
694
ex
Elixir
lib/only_codes/choice.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
281
2021-01-15T14:59:38.000Z
2022-01-06T23:13:33.000Z
lib/only_codes/choice.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
12
2021-01-15T15:24:54.000Z
2021-07-31T17:36:39.000Z
lib/only_codes/choice.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
11
2021-01-15T17:46:59.000Z
2021-09-22T13:24:19.000Z
defmodule OnlyCodes.Choice do use Ecto.Schema import Ecto.Changeset schema "choices" do field :pointsEarned, :integer, null: false belongs_to :user, OnlyCodes.User, foreign_key: :userId belongs_to :githubRepo, OnlyCodes.GitHubRepo, foreign_key: :guessedGitHubRepoId belongs_to :question, OnlyCode...
30.173913
85
0.742075
18fb26d765c035a1f7feef995fe3e873d1164681
1,502
exs
Elixir
apps/tai/test/tai/orders/cancel_accepted_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/test/tai/orders/cancel_accepted_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/test/tai/orders/cancel_accepted_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.Orders.CancelAcceptedTest do use Tai.TestSupport.DataCase, async: false alias Tai.Orders.{Order, Submissions} @venue_order_id "df8e6bd0-a40a-42fb-8fea-b33ef4e34f14" @venue :venue_a @credential :main @credentials Map.put(%{}, @credential, %{}) @submission_attrs %{venue_id: @venue, credential...
28.339623
101
0.677763
18fb2a3222b277258e07629ce2fe34a95d8d9715
4,151
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/video_snippet.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_snippet.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_snippet.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...
51.8875
301
0.703204
18fb378dfd49299a12ed5ea070b692a97c272246
1,781
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v2/model/track.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/model/track.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/model/track.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.603774
242
0.711398
18fb3cf0c2b1018c261198ff27dd5ad497fe6151
1,805
exs
Elixir
apps/admin_api/test/admin_api/global/views/error_view_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/test/admin_api/global/views/error_view_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/test/admin_api/global/views/error_view_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# 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 ...
29.112903
80
0.652078
18fb56f12786066a7c96683f2abd0d1bf8842dae
1,556
ex
Elixir
lib/community_web/endpoint.ex
mdsebald/GraphQL_Demo
a326e784a81a824990381289146419b62bb19b7b
[ "Apache-2.0" ]
null
null
null
lib/community_web/endpoint.ex
mdsebald/GraphQL_Demo
a326e784a81a824990381289146419b62bb19b7b
[ "Apache-2.0" ]
null
null
null
lib/community_web/endpoint.ex
mdsebald/GraphQL_Demo
a326e784a81a824990381289146419b62bb19b7b
[ "Apache-2.0" ]
null
null
null
defmodule CommunityWeb.Endpoint do use Phoenix.Endpoint, otp_app: :community socket "/socket", CommunityWeb.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Pl...
28.290909
95
0.70437
18fbde8e524aec4ed35c3fce0daf1fbf15ce298f
1,720
exs
Elixir
test/kaffe/config/consumer_test.exs
marinakr/kaffe
7abc5a85f28e770fd077854c975afef9894a8768
[ "MIT" ]
null
null
null
test/kaffe/config/consumer_test.exs
marinakr/kaffe
7abc5a85f28e770fd077854c975afef9894a8768
[ "MIT" ]
null
null
null
test/kaffe/config/consumer_test.exs
marinakr/kaffe
7abc5a85f28e770fd077854c975afef9894a8768
[ "MIT" ]
null
null
null
defmodule Kaffe.Config.ConsumerTest do use ExUnit.Case describe "configuration/0" do setup do consumer_config = Application.get_env(:kaffe, :consumer) |> Keyword.delete(:offset_reset_policy) |> Keyword.put(:start_with_earliest_message, true) Application.put_env(:kaffe, :con...
30.175439
94
0.663372
18fbf47d72183dd219e21214185cc39f2670bd38
242
ex
Elixir
lib/makeup_js/helper.ex
maartenvanvliet/makeup_js
ca88a5f9bd681cf2da209d24fb987c1a889124e4
[ "MIT" ]
1
2022-01-28T20:14:28.000Z
2022-01-28T20:14:28.000Z
lib/makeup_js/helper.ex
maartenvanvliet/makeup_js
ca88a5f9bd681cf2da209d24fb987c1a889124e4
[ "MIT" ]
null
null
null
lib/makeup_js/helper.ex
maartenvanvliet/makeup_js
ca88a5f9bd681cf2da209d24fb987c1a889124e4
[ "MIT" ]
null
null
null
defmodule Makeup.Lexers.JsLexer.Helper do @moduledoc false import NimbleParsec def with_optional_separator(combinator, separator) when is_binary(separator) do combinator |> repeat(string(separator) |> concat(combinator)) end end
26.888889
81
0.785124
18fc1b8525fb27a1bab1d4ce676ea1e4726320af
2,141
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/audit_log_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/audit_log_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/game_services/lib/google_api/game_services/v1beta/model/audit_log_config.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...
40.396226
316
0.724895
18fc1f6c97875195b1d6f6f1e7eac6a115bf631f
5,465
ex
Elixir
lib/ex_dhcp/options/basic.ex
ityonemo/ExDhcp
9a7f47da61a93b4fb9efaa62bbdb362e3b467b2b
[ "MIT" ]
null
null
null
lib/ex_dhcp/options/basic.ex
ityonemo/ExDhcp
9a7f47da61a93b4fb9efaa62bbdb362e3b467b2b
[ "MIT" ]
16
2019-12-16T04:56:50.000Z
2020-03-11T20:18:56.000Z
lib/ex_dhcp/options/basic.ex
ityonemo/ex_dhcp
9a7f47da61a93b4fb9efaa62bbdb362e3b467b2b
[ "MIT" ]
1
2019-12-13T19:04:50.000Z
2019-12-13T19:04:50.000Z
defmodule ExDhcp.Options.Basic do @moduledoc false import ExDhcp.Options.Macro @behaviour ExDhcp.Options.Api # Message types @dhcp_discover 1 @dhcp_offer 2 @dhcp_request 3 @dhcp_decline 4 @dhcp_ack 5 @dhcp_nak 6 @dhcp_release 7 @dhcp_inform 8 # DHCP options @subnet_mas...
35.487013
80
0.600183
18fc58802f6f7886aef5e77097602c7a09106a24
354
ex
Elixir
lib/cog/command/gen_command/validation_error.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
lib/cog/command/gen_command/validation_error.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
lib/cog/command/gen_command/validation_error.ex
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Command.GenCommand.ValidationError do defexception [:message] defmacro new(message) do file_name = __CALLER__.file line = __CALLER__.line quote bind_quoted: [file_name: file_name, line: line, message: message] do %Cog.Command.GenCommand.ValidationError{message: "#{message} (#{file_n...
29.5
91
0.720339
18fc645b67a95ba1ef11443db16272e27e5e36ae
78
ex
Elixir
lib/hello/cacheable_repo.ex
fire/database_cache_benchmark
549647234c695d16a9d9b4d92d45981ed55b0fed
[ "Apache-2.0" ]
null
null
null
lib/hello/cacheable_repo.ex
fire/database_cache_benchmark
549647234c695d16a9d9b4d92d45981ed55b0fed
[ "Apache-2.0" ]
null
null
null
lib/hello/cacheable_repo.ex
fire/database_cache_benchmark
549647234c695d16a9d9b4d92d45981ed55b0fed
[ "Apache-2.0" ]
null
null
null
defmodule Hello.CacheableRepo do use Nebulex.Ecto.Repo, otp_app: :hello end
19.5
40
0.794872
18fc749d826b2c6c6e7e076bac9771e57892c6f0
285
exs
Elixir
test/quatern/quatern_yaw_test.exs
crertel/graphmath
798e51d21d509e397a86d9ca855ef18a92243583
[ "Unlicense" ]
70
2015-01-07T10:13:38.000Z
2021-09-29T05:06:14.000Z
test/quatern/quatern_yaw_test.exs
crertel/graphmath
798e51d21d509e397a86d9ca855ef18a92243583
[ "Unlicense" ]
28
2015-01-22T22:38:24.000Z
2021-06-24T06:15:38.000Z
test/quatern/quatern_yaw_test.exs
crertel/graphmath
798e51d21d509e397a86d9ca855ef18a92243583
[ "Unlicense" ]
17
2015-01-22T18:35:41.000Z
2020-12-24T22:42:40.000Z
defmodule GraphmathTest.Quatern.YawQuatern do use ExUnit.Case @tag :quatern @tag :get_yaw # values obtained through another calculator test "get_yaw({5,6,7,8}) returns 2.3651494746933115" do assert 2.3651494746933115 == Graphmath.Quatern.get_yaw({5, 6, 7, 8}) end end
25.909091
72
0.733333
18fc8313a3a41c7cce552d7727a6ee2d0877c0ab
4,772
ex
Elixir
lib/stripe/converter.ex
esse/stripity_stripe-1
4434ed7911e818f483cd0eb91ca8f867165fa9f1
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/converter.ex
esse/stripity_stripe-1
4434ed7911e818f483cd0eb91ca8f867165fa9f1
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/converter.ex
esse/stripity_stripe-1
4434ed7911e818f483cd0eb91ca8f867165fa9f1
[ "BSD-3-Clause" ]
1
2021-09-06T14:46:19.000Z
2021-09-06T14:46:19.000Z
defmodule Stripe.Converter do @doc """ Takes a result map or list of maps from a Stripe response and returns a struct (e.g. `%Stripe.Card{}`) or list of structs. If the result is not a supported Stripe object, it just returns a plain map with atomized keys. """ @spec convert_result(%{String.t() => any})...
23.507389
88
0.652976
18fc8973158eba25e082a670480b50121fdd032b
834
ex
Elixir
exercises/concept/need-for-speed/lib/need_for_speed.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/concept/need-for-speed/lib/need_for_speed.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/concept/need-for-speed/lib/need_for_speed.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule NeedForSpeed do # Add missing aliases and imports here. # Do not edit the code below. def print_race(%Race{} = race) do puts(""" 🏁 #{race.title} 🏁 Status: #{Race.display_status(race)} Distance: #{Race.display_distance(race)} Contestants: """) race.cars |> Enum.sort_...
21.384615
66
0.582734
18fc8b5c075d06c91f4c6d4bd5c71159fbc9225a
1,569
exs
Elixir
test/nerves_hub/http_client_test.exs
jjcarstens/nerves_hub
402c1141044ea60e7e2095405518ff55857d5098
[ "Apache-2.0" ]
null
null
null
test/nerves_hub/http_client_test.exs
jjcarstens/nerves_hub
402c1141044ea60e7e2095405518ff55857d5098
[ "Apache-2.0" ]
null
null
null
test/nerves_hub/http_client_test.exs
jjcarstens/nerves_hub
402c1141044ea60e7e2095405518ff55857d5098
[ "Apache-2.0" ]
null
null
null
defmodule NervesHub.HTTPClientTest do use ExUnit.Case, async: true alias NervesHub.HTTPClient doctest HTTPClient setup context, do: Mox.verify_on_exit!(context) test "me/0" do url = HTTPClient.url("/device/me") Mox.expect(HTTPClient.Mock, :request, fn :get, ^url, _, _, _ -> :response end...
23.073529
73
0.592734
18fc913baeabab13632d2d27b32dc402d6cc56e7
344
ex
Elixir
lib/wong_bejo_web/controllers/tag_controller.ex
fossabot/web.bejoistic
edd672a8f125180397b89e1f5ee469b1f2344e7f
[ "MIT" ]
null
null
null
lib/wong_bejo_web/controllers/tag_controller.ex
fossabot/web.bejoistic
edd672a8f125180397b89e1f5ee469b1f2344e7f
[ "MIT" ]
null
null
null
lib/wong_bejo_web/controllers/tag_controller.ex
fossabot/web.bejoistic
edd672a8f125180397b89e1f5ee469b1f2344e7f
[ "MIT" ]
null
null
null
defmodule WongBejoWeb.TagController do use WongBejoWeb, :controller alias WongBejo.Blog @spec show(Plug.Conn.t(), map) :: Plug.Conn.t() def show(conn, %{"id" => tag}) do posts = Blog.posts_tagged_with(tag) page_title = "Posts for #{tag}" render(conn, "show.html", tag: tag, posts: posts, page_title...
26.461538
77
0.677326
18fc99f92b0038fe3e873034ace34589eaa2f5f9
3,644
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/resource.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/resource.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/resource.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...
40.043956
142
0.694292
18fca21e08bd03b06620c284ee0abcf940c260c8
1,058
ex
Elixir
lib/tap_racer_web/live/game_live/index.ex
dtcristo/tap-racer
f66a3f4c728d547c85335aea7770e9b9ad857016
[ "MIT" ]
7
2016-06-04T09:24:24.000Z
2017-09-03T16:26:21.000Z
lib/tap_racer_web/live/game_live/index.ex
dtcristo/tap-racer
f66a3f4c728d547c85335aea7770e9b9ad857016
[ "MIT" ]
10
2020-07-25T02:04:03.000Z
2021-07-28T12:01:20.000Z
lib/tap_racer_web/live/game_live/index.ex
dtcristo/tap-racer
f66a3f4c728d547c85335aea7770e9b9ad857016
[ "MIT" ]
1
2019-05-17T03:37:43.000Z
2019-05-17T03:37:43.000Z
defmodule TapRacerWeb.GameLive.Index do use TapRacerWeb, :live_view alias TapRacer.Records alias TapRacer.Records.Game @impl true def mount(_params, _session, socket) do {:ok, assign(socket, :games, list_games())} end @impl true def handle_params(params, _url, socket) do {:noreply, apply_acti...
22.510638
72
0.655955
18fcdce5eb77dc249abd74554341fac371740fd5
229
exs
Elixir
Problem032/Elixir/solution_1.exs
AndersonTorres/ProjectEuler
dac6ba44b9a8ef472373cba2a68a24b56c0a64bd
[ "MIT" ]
2
2021-11-04T19:50:58.000Z
2021-12-29T03:07:12.000Z
Problem032/Elixir/solution_1.exs
AndersonTorres/ProjectEuler
dac6ba44b9a8ef472373cba2a68a24b56c0a64bd
[ "MIT" ]
null
null
null
Problem032/Elixir/solution_1.exs
AndersonTorres/ProjectEuler
dac6ba44b9a8ef472373cba2a68a24b56c0a64bd
[ "MIT" ]
1
2021-11-04T19:51:15.000Z
2021-11-04T19:51:15.000Z
# Author: G4BB3R for x <- 1..9999, y <- 1..99, xy = x * y, '123456789' == Enum.sort(to_char_list(Integer.to_string(x) <> Integer.to_string(y) <> Integer.to_string(xy))) do xy end |> Enum.uniq |> Enum.sum |> IO.puts
19.083333
111
0.60262
18fceb25162f1ca200d2138f2c0fce784239a2da
828
exs
Elixir
inmana/test/inmana/restaurant_test.exs
cesaraugustomt/Inmana_API
c288f98d7dc1f3cbe8693914e38769c8dcc3a8d6
[ "MIT" ]
1
2021-05-18T00:04:36.000Z
2021-05-18T00:04:36.000Z
inmana/test/inmana/restaurant_test.exs
cesaraugustomt/Inmana_API
c288f98d7dc1f3cbe8693914e38769c8dcc3a8d6
[ "MIT" ]
null
null
null
inmana/test/inmana/restaurant_test.exs
cesaraugustomt/Inmana_API
c288f98d7dc1f3cbe8693914e38769c8dcc3a8d6
[ "MIT" ]
null
null
null
defmodule Inmana.RestaurantTest do use Inmana.DataCase alias Ecto.Changeset alias Inmana.Restaurant describe "changeset/1" do test "when all params are valid, returns a valid changeset" do params = %{name: "Siri cascudo", email: "siri@cascudo.com"} response = Restaurant.changeset(params) ...
31.846154
100
0.665459
18fcfe3531a206d490dad0d57bf953ff7d276c93
1,387
exs
Elixir
test/type/type_function_var/order_test.exs
kianmeng/mavis
6ba154efdfadcce1aca92ac735dadb209380c25b
[ "MIT" ]
null
null
null
test/type/type_function_var/order_test.exs
kianmeng/mavis
6ba154efdfadcce1aca92ac735dadb209380c25b
[ "MIT" ]
null
null
null
test/type/type_function_var/order_test.exs
kianmeng/mavis
6ba154efdfadcce1aca92ac735dadb209380c25b
[ "MIT" ]
null
null
null
defmodule TypeTest.TypeFunctionVar.OrderTest do use ExUnit.Case, async: true @moduletag :compare import Type, only: [builtin: 1] use Type.Operators alias Type.Function.Var @any builtin(:any) @any_var %Var{name: :foo} @bar_var %Var{name: :bar} describe "the any variable" do test "is smaller t...
22.737705
70
0.650324
18fd65c196c17a52ce70c7e1c78fa7a6a6902c6b
2,109
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/interconnect_attachment_aggregated_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/interconnect_attachment_aggregated_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/interconnect_attachment_aggregated_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.345455
527
0.741584
18fd8d2f02a71d7d06c4e7eb636bc084c336988a
182
ex
Elixir
backend/lib/backend_web/schemas/game_id.ex
Szetty/seven_wonders
77f6f4ff015a8fc481c7edfc87e3cd77b61bc79b
[ "MIT" ]
1
2020-05-28T15:51:47.000Z
2020-05-28T15:51:47.000Z
backend/lib/backend_web/schemas/game_id.ex
Szetty/seven_wonders
77f6f4ff015a8fc481c7edfc87e3cd77b61bc79b
[ "MIT" ]
35
2020-05-23T17:33:56.000Z
2022-02-14T00:53:06.000Z
backend/lib/backend_web/schemas/game_id.ex
Szetty/seven_wonders
77f6f4ff015a8fc481c7edfc87e3cd77b61bc79b
[ "MIT" ]
null
null
null
defmodule BackendWeb.Schemas.GameID do require OpenApiSpex OpenApiSpex.schema(%{ type: :string, description: "Game ID associated to a user", format: "uuid" }) end
18.2
48
0.692308
18fd9ec050dfe27c7c54821cce9f02e1da38bbaf
98
exs
Elixir
.formatter.exs
FreedomBen/iptools
2559460302edbd38dba05ae3c1ea579e1844697e
[ "MIT" ]
null
null
null
.formatter.exs
FreedomBen/iptools
2559460302edbd38dba05ae3c1ea579e1844697e
[ "MIT" ]
null
null
null
.formatter.exs
FreedomBen/iptools
2559460302edbd38dba05ae3c1ea579e1844697e
[ "MIT" ]
null
null
null
# Used by "mix format" [ inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] ]
16.333333
69
0.55102
18fda24d4da909693cc4ebaf9e3d493b23fdc03c
1,825
exs
Elixir
config/prod.exs
nullpilot/pawmon
00623bf1cd2ca126af385bf0c81e5fe3afca11a3
[ "MIT" ]
null
null
null
config/prod.exs
nullpilot/pawmon
00623bf1cd2ca126af385bf0c81e5fe3afca11a3
[ "MIT" ]
null
null
null
config/prod.exs
nullpilot/pawmon
00623bf1cd2ca126af385bf0c81e5fe3afca11a3
[ "MIT" ]
null
null
null
import Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # w...
35.096154
66
0.703562
18fdbf6bde6f6a709f1efbdb46fb43a08f6bcd50
4,048
ex
Elixir
lib/ex_oauth2_provider/applications/application.ex
heroinbob/ex_oauth2_provider
80c21a53bba0955ab3b66f1bd32cc81db0f04f49
[ "MIT" ]
null
null
null
lib/ex_oauth2_provider/applications/application.ex
heroinbob/ex_oauth2_provider
80c21a53bba0955ab3b66f1bd32cc81db0f04f49
[ "MIT" ]
null
null
null
lib/ex_oauth2_provider/applications/application.ex
heroinbob/ex_oauth2_provider
80c21a53bba0955ab3b66f1bd32cc81db0f04f49
[ "MIT" ]
null
null
null
defmodule ExOauth2Provider.Applications.Application do @moduledoc """ Handles the Ecto schema for application. ## Usage Configure `lib/my_project/oauth_applications/oauth_application.ex` the following way: defmodule MyApp.OauthApplications.OauthApplication do use Ecto.Schema use ExOauth...
27.167785
87
0.665267
18fdcdd854c4b0ad51403cde3341550b6345ef59
2,202
ex
Elixir
lib/embed_chat_web/channels/user_socket.ex
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
27
2016-10-15T12:13:22.000Z
2021-02-07T20:31:41.000Z
lib/embed_chat_web/channels/user_socket.ex
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
null
null
null
lib/embed_chat_web/channels/user_socket.ex
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
4
2016-08-21T15:03:29.000Z
2019-11-22T13:15:29.000Z
defmodule EmbedChatWeb.UserSocket do use Phoenix.Socket import Guardian.Phoenix.Socket ## Channels channel "rooms:*", EmbedChatWeb.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket, check_origin: false transport :longpoll, Phoenix.Transports.LongPoll, check_origin: false # ...
33.363636
85
0.655767
18fded723e54a334eed18934972e5623a4df638c
946
exs
Elixir
mix.exs
gilacost/alternate
0876bb19ac4ddb8b92b7a984d4bebfb6424bf5cc
[ "Apache-2.0" ]
null
null
null
mix.exs
gilacost/alternate
0876bb19ac4ddb8b92b7a984d4bebfb6424bf5cc
[ "Apache-2.0" ]
null
null
null
mix.exs
gilacost/alternate
0876bb19ac4ddb8b92b7a984d4bebfb6424bf5cc
[ "Apache-2.0" ]
null
null
null
defmodule Alternate.Mixfile do use Mix.Project def project do [ app: :alternate, version: "0.1.6", elixir: "~> 1.3", compilers: [:phoenix, :gettext] ++ Mix.compilers(), name: "Alternate", docs: [extras: ["README.md"], main: "Alternate"], build_embedded: Mix.env() == :p...
22
66
0.54334
18fdf34d7d9e01ed55139b5b0931c4277c28a1af
1,185
exs
Elixir
config/config.exs
ikeikeikeike/redisank
ed710ddc543994936f7283ed0fc67c1f2667d093
[ "MIT" ]
2
2016-12-25T16:25:32.000Z
2017-02-01T13:17:26.000Z
config/config.exs
ikeikeikeike/redisank
ed710ddc543994936f7283ed0fc67c1f2667d093
[ "MIT" ]
null
null
null
config/config.exs
ikeikeikeike/redisank
ed710ddc543994936f7283ed0fc67c1f2667d093
[ "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...
34.852941
73
0.745992
18fe0f2da15616678c4a73c7a32d47dfbb6fa3fa
6,664
ex
Elixir
lib/logger/lib/logger/formatter.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
lib/logger/lib/logger/formatter.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/formatter.ex
wstrinz/elixir
1048b34d6c816f8e5dbd4fdbaaf9baa41b4f0d95
[ "Apache-2.0" ]
1
2018-04-18T11:25:33.000Z
2018-04-18T11:25:33.000Z
import Kernel, except: [inspect: 2] defmodule Logger.Formatter do @moduledoc ~S""" Conveniences for formatting data for logs. This module allows developers to specify a string that serves as template for log messages, for example: $time $metadata[$level] $message\n Will print error messages as: ...
33.32
101
0.645708
18fe5a3cc13764389d965a771493a814148de730
46
exs
Elixir
lib/ex_united/config.exs
angeldeejay/ex_united
2a8bf58cc3dbcee5c51b661d82dd3298def3d7ab
[ "MIT", "Unlicense" ]
42
2020-04-09T08:46:51.000Z
2021-12-24T00:05:02.000Z
lib/ex_united/config.exs
angeldeejay/ex_united
2a8bf58cc3dbcee5c51b661d82dd3298def3d7ab
[ "MIT", "Unlicense" ]
null
null
null
lib/ex_united/config.exs
angeldeejay/ex_united
2a8bf58cc3dbcee5c51b661d82dd3298def3d7ab
[ "MIT", "Unlicense" ]
4
2020-07-01T09:57:20.000Z
2021-11-17T16:22:20.000Z
use Mix.Config # Nothing to see here (sorry)
11.5
29
0.717391
18fe89c488d2ec02e6a79985877589d80ae3af75
594
ex
Elixir
apps/concierge_site/lib/controllers/admin/queries_controller.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/concierge_site/lib/controllers/admin/queries_controller.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/concierge_site/lib/controllers/admin/queries_controller.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule ConciergeSite.Admin.QueriesController do use ConciergeSite.Web, :controller alias AlertProcessor.Model.Query def index(conn, _params) do render(conn, "index.html", queries: Query.all()) end def show(conn, %{"id" => id} = params) do query = Query.get(id) case Map.get(params, "action")...
23.76
78
0.627946
18feabdb4b85677fcbcc6d3dd5837e692ccc02f4
291
ex
Elixir
test/support/helpers/fixture_helpers.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
test/support/helpers/fixture_helpers.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
25
2021-03-23T07:27:21.000Z
2021-10-31T15:09:52.000Z
test/support/helpers/fixture_helpers.ex
longnd/elixir-gscraper
894570afd89e54b80ca591a56a182da55ac6ee61
[ "MIT" ]
null
null
null
defmodule GscraperWeb.FixtureHelpers do @fixture_path "test/support/fixtures" def upload_file_fixture(path) do path = Path.join([@fixture_path, path]) %Plug.Upload{ content_type: MIME.from_path(path), filename: Path.basename(path), path: path } end end
20.785714
43
0.687285
18fec010a303b1514bbddd0769fc8cb7cd3cad5c
2,024
exs
Elixir
combo/phxexibee/config/prod.exs
exineris/shp_challenge2021
2a5447af681259d0ea699b670cf079bd31315cd8
[ "Apache-2.0" ]
null
null
null
combo/phxexibee/config/prod.exs
exineris/shp_challenge2021
2a5447af681259d0ea699b670cf079bd31315cd8
[ "Apache-2.0" ]
null
null
null
combo/phxexibee/config/prod.exs
exineris/shp_challenge2021
2a5447af681259d0ea699b670cf079bd31315cd8
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
36.142857
66
0.716403
18fed8e54eaf459168f0aced946fddb21e19f628
22,941
ex
Elixir
deps/combine/lib/combine/parsers/base.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
1
2020-01-31T10:23:37.000Z
2020-01-31T10:23:37.000Z
deps/combine/lib/combine/parsers/base.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
deps/combine/lib/combine/parsers/base.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
null
null
null
defmodule Combine.Parsers.Base do @moduledoc """ This module defines common abstract parsers, i.e. ignore, repeat, many, etc. To use them, just add `import Combine.Parsers.Base` to your module, or reference them directly. """ alias Combine.ParserState use Combine.Helpers @type predicate :: (term -> bo...
35.293846
135
0.596399
18fedf87e9ccdf464e57daa809577458ee5066db
2,606
ex
Elixir
clients/jobs/lib/google_api/jobs/v2/model/histogram_result.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/jobs/lib/google_api/jobs/v2/model/histogram_result.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/jobs/lib/google_api/jobs/v2/model/histogram_result.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...
50.115385
613
0.766309
18fee67b3399d1929e73de24707f5ce9e956bee2
322
ex
Elixir
lib/rabbit/application.ex
suitepad-gmbh/rabbit
c6ba3cbca6b49362c3a9dd32d3af001a1de750ad
[ "MIT" ]
null
null
null
lib/rabbit/application.ex
suitepad-gmbh/rabbit
c6ba3cbca6b49362c3a9dd32d3af001a1de750ad
[ "MIT" ]
null
null
null
lib/rabbit/application.ex
suitepad-gmbh/rabbit
c6ba3cbca6b49362c3a9dd32d3af001a1de750ad
[ "MIT" ]
1
2021-01-14T10:22:35.000Z
2021-01-14T10:22:35.000Z
defmodule Rabbit.Application do @moduledoc false use Application @doc false @impl Application def start(_type, _args) do children = [ Rabbit.Config, Rabbit.Worker.Supervisor ] opts = [strategy: :one_for_one, name: Rabbit.Supervisor] Supervisor.start_link(children, opts) end en...
17.888889
60
0.689441
18ff12fe333d6d0a330613f1d8505aa3e0f8f480
419
exs
Elixir
benchmark/R10_000.KN.U2.F0.exs
kianmeng/csv_schema
c1e45e5139faeb033f8b3106dacfe288aec24b5c
[ "MIT" ]
12
2019-01-15T13:07:09.000Z
2022-01-22T08:15:46.000Z
benchmark/R10_000.KN.U2.F0.exs
kianmeng/csv_schema
c1e45e5139faeb033f8b3106dacfe288aec24b5c
[ "MIT" ]
5
2019-01-17T11:46:00.000Z
2021-12-21T09:42:14.000Z
benchmark/R10_000.KN.U2.F0.exs
kianmeng/csv_schema
c1e45e5139faeb033f8b3106dacfe288aec24b5c
[ "MIT" ]
1
2019-09-25T09:58:07.000Z
2019-09-25T09:58:07.000Z
defmodule R10_000.KN.U2.F0 do @moduledoc false use Csv.Schema schema path: "data/dataset_10_000.csv" do field :id, "id" field :first_name, "first_name" field :last_name, "last_name" field :email, "email", unique: true field :gender, "gender" field :ip_address, "ip_address", unique: true ...
24.647059
49
0.675418
18ff68198ecb21eeee3e08852a0ec7f7dc23e0bb
864
ex
Elixir
lib/notifiers/twiliosms.ex
sophilabs/slack-asap
3613e065e6597d4582961c2ba7d9652f8cc8b45b
[ "MIT" ]
21
2017-08-31T17:49:27.000Z
2020-02-04T01:48:06.000Z
lib/notifiers/twiliosms.ex
sophilabs/slack-asap
3613e065e6597d4582961c2ba7d9652f8cc8b45b
[ "MIT" ]
null
null
null
lib/notifiers/twiliosms.ex
sophilabs/slack-asap
3613e065e6597d4582961c2ba7d9652f8cc8b45b
[ "MIT" ]
null
null
null
defmodule SlackAsap.TwilioSMS do import SlackAsap.Message import ExPhoneNumber import SlackAsap.Utils @adapter get_config(SlackAsap.TwilioSMS, :adapter) @default_country get_config(SlackAsap.TwilioSMS, :default_country) @from_phone_number get_config(SlackAsap.TwilioSMS, :phone_number) def get_sms_body(m...
28.8
72
0.707176
18ff6ea41af354d1d11504e62b25dcb23a6e2935
944
exs
Elixir
mix.exs
rjdellecese/connect-four
b3ab59cffde8bed83382881a2cae567b0e383cc8
[ "MIT" ]
3
2020-05-03T04:35:05.000Z
2020-09-06T19:19:47.000Z
mix.exs
rjdellecese/connect-four
b3ab59cffde8bed83382881a2cae567b0e383cc8
[ "MIT" ]
6
2019-09-02T13:36:55.000Z
2021-11-19T10:13:38.000Z
mix.exs
rjdellecese/connect_four_umbrella
b3ab59cffde8bed83382881a2cae567b0e383cc8
[ "MIT" ]
null
null
null
defmodule ConnectFour.MixProject do use Mix.Project def project do [ apps_path: "apps", start_permanent: Mix.env() == :prod, deps: deps(), # Test test_coverage: [tool: ExCoveralls], preferred_CLI_env: [ coveralls: :test, "coveralls.detail": :test, "c...
24.205128
65
0.598517
18ff90d40526bc4881a220af5ee1b06fdb627fc6
2,414
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_training_phrase_part.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_training_phrase_part.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2beta1_intent_training_phrase_part.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2021-03-04T13:43:47.000Z
2021-03-04T13:43:47.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.57377
288
0.727423
18ffa4dd812c5abff4b033c7e9392d787466080a
2,245
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/transport/portal/outlet_worker.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/transport/portal/outlet_worker.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/transport/portal/outlet_worker.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Transport.Portal.OutletWorker do @moduledoc """ Portal protocol, Outlet worker """ use Ockam.Worker alias Ockam.Message alias Ockam.Transport.Portal.TunnelProtocol require Logger @impl true def setup(options, state) do msg = options[:init_message] target_host = options[:targ...
32.536232
100
0.669933
18ffbb7f373e927de500241daaed0b5aa7a0f7c0
5,181
ex
Elixir
lib/commanded/commands/dispatcher.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-28T20:48:23.000Z
2018-12-28T20:48:23.000Z
lib/commanded/commands/dispatcher.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-05T18:17:08.000Z
2018-12-05T18:17:08.000Z
lib/commanded/commands/dispatcher.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-05T18:15:03.000Z
2018-12-05T18:15:03.000Z
defmodule Commanded.Commands.Dispatcher do @moduledoc false require Logger alias Commanded.Aggregates alias Commanded.Aggregates.ExecutionContext alias Commanded.Commands.ExecutionResult alias Commanded.Middleware.Pipeline defmodule Payload do @moduledoc false defstruct [ :command, ...
27.412698
94
0.64833
18ffceedce9c76b61c750574c6fdff983205e5d3
3,677
exs
Elixir
apps/andi/test/integration/andi_web/controllers/edit_controller_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/andi/test/integration/andi_web/controllers/edit_controller_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/andi/test/integration/andi_web/controllers/edit_controller_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule AndiWeb.EditControllerTest do use ExUnit.Case use Andi.DataCase use AndiWeb.Test.AuthConnCase.IntegrationCase @moduletag shared_data_connection: true alias Andi.InputSchemas.Datasets alias SmartCity.TestDataGenerator, as: TDG @url_path "/datasets" describe "EditController" do test "giv...
34.364486
138
0.701931
18fffff0ed66409d2e0aea2f30d05bbc126aa7dd
1,127
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/create_service_account_key_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/create_service_account_key_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/create_service_account_key_request.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...
29.657895
85
0.75244
7a0018f89325bb3c47f60fd223150db0e9a66503
5,361
ex
Elixir
clients/games/lib/google_api/games/v1/api/snapshots.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/api/snapshots.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/api/snapshots.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
41.55814
225
0.688118
7a00219249ecc2d9d1687183e4e4e84042075601
899
ex
Elixir
lib/task_bunny.ex
jnylen/task_bunny
72f014960b71b3e4b2685f9296c28819cd85929f
[ "MIT" ]
null
null
null
lib/task_bunny.ex
jnylen/task_bunny
72f014960b71b3e4b2685f9296c28819cd85929f
[ "MIT" ]
55
2020-05-12T05:18:41.000Z
2022-03-24T04:04:17.000Z
lib/task_bunny.ex
jnylen/task_bunny
72f014960b71b3e4b2685f9296c28819cd85929f
[ "MIT" ]
null
null
null
defmodule TaskBunny do # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application alias TaskBunny.Status @spec start(atom, term) :: {:ok, pid} | {:ok, pid, any} | {:error, term} def start(_type, _args) do import Super...
26.441176
75
0.686318
7a0022885be86068e43e62c18562097f0b170552
26,457
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/url_maps.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/api/url_maps.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/url_maps.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 ...
53.2334
414
0.658049
7a002a9361a3bc6870578fd9423e378b14325812
23,193
exs
Elixir
lib/elixir/test/elixir/kernel/typespec_test.exs
eproxus/elixir
1c3a3bde539bc96c80d917fbcf3c9dc9e123860b
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/typespec_test.exs
eproxus/elixir
1c3a3bde539bc96c80d917fbcf3c9dc9e123860b
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/typespec_test.exs
eproxus/elixir
1c3a3bde539bc96c80d917fbcf3c9dc9e123860b
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.TypespecTest do use ExUnit.Case, async: true alias Kernel.TypespecTest.TestTypespec defstruct [:hello] # This macro allows us to focus on the result of the # definition and not on the hassles of handling test # module defmacrop test_modu...
31.215343
240
0.538568
7a002cbdf28d423919c19fd86ccb8f101654c693
808
exs
Elixir
test/phoenix_live_view/controller_test.exs
gjacobrobertson/phoenix_live_view
459fd4939126edeaad673277791d460028bdb102
[ "MIT" ]
1
2020-12-23T18:28:30.000Z
2020-12-23T18:28:30.000Z
test/phoenix_live_view/controller_test.exs
gjacobrobertson/phoenix_live_view
459fd4939126edeaad673277791d460028bdb102
[ "MIT" ]
null
null
null
test/phoenix_live_view/controller_test.exs
gjacobrobertson/phoenix_live_view
459fd4939126edeaad673277791d460028bdb102
[ "MIT" ]
1
2021-01-14T12:58:22.000Z
2021-01-14T12:58:22.000Z
defmodule Phoenix.LiveView.ControllerTest do use ExUnit.Case, async: true import Phoenix.ConnTest alias Phoenix.LiveViewTest.Endpoint @endpoint Endpoint setup do {:ok, conn: Phoenix.ConnTest.build_conn()} end test "live renders from controller without session", %{conn: conn} do conn = get(conn...
28.857143
75
0.690594
7a003d35cce3c55f3a480d4cb4f33a9d75ab223d
725
exs
Elixir
config/test.exs
gratraw/home_appliances_store
36b5274294ef3e0124740c2f992695860884976d
[ "MIT" ]
null
null
null
config/test.exs
gratraw/home_appliances_store
36b5274294ef3e0124740c2f992695860884976d
[ "MIT" ]
null
null
null
config/test.exs
gratraw/home_appliances_store
36b5274294ef3e0124740c2f992695860884976d
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :home_appliances_store, HomeAppliancesStore.Repo, username: "postgres", password: "qwerty", database: ...
31.521739
80
0.771034
7a009546c706224cbb6bf9a3ee31b086b1ec0008
2,130
ex
Elixir
lib/ex_dbus/dom/xml.ex
diodechain/ex_dbus
14d0da9a1b9eb756b0435bec63ad470877d96abf
[ "Apache-2.0" ]
2
2021-08-05T09:08:49.000Z
2021-08-14T22:38:18.000Z
lib/ex_dbus/dom/xml.ex
diodechain/ex_dbus
14d0da9a1b9eb756b0435bec63ad470877d96abf
[ "Apache-2.0" ]
null
null
null
lib/ex_dbus/dom/xml.ex
diodechain/ex_dbus
14d0da9a1b9eb756b0435bec63ad470877d96abf
[ "Apache-2.0" ]
1
2021-12-05T03:03:05.000Z
2021-12-05T03:03:05.000Z
defmodule ExDBus.XML.Saxy do use ExDBus.Spec, prefix: false import Saxy.XML @spec to_xml(definition(), keyword()) :: Saxy.XML.element() def to_xml(_, opts \\ []) def to_xml({:service, _, [root]}, opts) do to_xml(root, opts) end def to_xml({:annotation, name, value}, _opts) do element("annotatio...
26.625
98
0.653991
7a009d330ff5848953595f0a2945c3f78167cd65
349
exs
Elixir
apps/seeker/priv/repo/seeds.exs
sarat1669/seeker
743c6ad5a69a6e62c95cfd988b0e2f32129ab2aa
[ "Apache-2.0" ]
1
2019-07-10T10:00:56.000Z
2019-07-10T10:00:56.000Z
apps/seeker/priv/repo/seeds.exs
spawnfest/factor18
743c6ad5a69a6e62c95cfd988b0e2f32129ab2aa
[ "Apache-2.0" ]
null
null
null
apps/seeker/priv/repo/seeds.exs
spawnfest/factor18
743c6ad5a69a6e62c95cfd988b0e2f32129ab2aa
[ "Apache-2.0" ]
null
null
null
# 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: # # Seeker.Repo.insert!(%Seeker.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will f...
29.083333
61
0.704871
7a00bfcb0f894b58aaa9c92463ef04bb9eeeab88
1,057
ex
Elixir
lib/gatehouse_web/api/api_result_handler.ex
trutvo/gatehouse
027d4dd35703d84e15b9b2297347350b9a8f5a6b
[ "Apache-2.0" ]
1
2019-07-21T03:48:31.000Z
2019-07-21T03:48:31.000Z
lib/gatehouse_web/api/api_result_handler.ex
trutvo/gatehouse
027d4dd35703d84e15b9b2297347350b9a8f5a6b
[ "Apache-2.0" ]
1
2021-03-07T17:54:41.000Z
2021-03-07T17:54:41.000Z
lib/gatehouse_web/api/api_result_handler.ex
trutvo/gatehouse
027d4dd35703d84e15b9b2297347350b9a8f5a6b
[ "Apache-2.0" ]
2
2019-06-14T06:25:25.000Z
2019-07-21T03:48:33.000Z
defmodule GatehouseWeb.ApiResultHandler do import Phoenix.Controller import Plug.Conn import GatehouseWeb.Gettext def handle_result(conn, result) do case result do {:ok, data} -> json conn, data {:error, errors} -> handle_error(conn, errors) _ -> json conn, r...
34.096774
106
0.624409
7a00d6bca0857a39e1c365c3927c34d21e1c968b
1,983
ex
Elixir
lib/core/counter.ex
jamcito/telemetry_metrics_prometheus_core
8892adde76bf424573baee5ef5873910f4765aaa
[ "Apache-2.0" ]
29
2019-09-20T05:33:26.000Z
2021-11-12T12:09:12.000Z
lib/core/counter.ex
jamcito/telemetry_metrics_prometheus_core
8892adde76bf424573baee5ef5873910f4765aaa
[ "Apache-2.0" ]
33
2019-09-15T04:27:04.000Z
2022-01-30T15:58:59.000Z
lib/core/counter.ex
jamcito/telemetry_metrics_prometheus_core
8892adde76bf424573baee5ef5873910f4765aaa
[ "Apache-2.0" ]
16
2019-10-22T12:53:10.000Z
2022-02-24T11:31:24.000Z
defmodule TelemetryMetricsPrometheus.Core.Counter do @moduledoc false alias Telemetry.Metrics alias TelemetryMetricsPrometheus.Core.EventHandler @type config :: %{ keep: Metrics.keep(), measurement: atom(), metric_name: String.t(), name: Metrics.normalized_metric_name()...
29.597015
87
0.576904
7a00e302d1523e63308c2f92de95fecd4f6e2df8
925
exs
Elixir
test/advent2021_day3_test.exs
takakoshimizu/advent-of-code-2021
67ab4180cebb95d371dd085c45bd669581c286e5
[ "MIT" ]
null
null
null
test/advent2021_day3_test.exs
takakoshimizu/advent-of-code-2021
67ab4180cebb95d371dd085c45bd669581c286e5
[ "MIT" ]
null
null
null
test/advent2021_day3_test.exs
takakoshimizu/advent-of-code-2021
67ab4180cebb95d371dd085c45bd669581c286e5
[ "MIT" ]
null
null
null
defmodule Advent2021Day3Test do use ExUnit.Case alias Advent2021.Day3 doctest Advent2021.Day3 @moduletag :day3 @input \ ~S[00100 11110 10110 10111 10101 01111 00111 11100 10000 11001 00010 01010] |> String.split("\n", trim: true) |> Enum.map(&String.tri...
20.108696
85
0.591351
7a011b0312439fdb2be2a50f05894b4b9a4586ac
1,326
exs
Elixir
mix.exs
pzingg/phoenix_markdown
ef7b5f76f339babec688021080a70708d9ddf1c1
[ "MIT" ]
71
2016-07-05T16:29:01.000Z
2022-03-09T22:21:09.000Z
mix.exs
pzingg/phoenix_markdown
ef7b5f76f339babec688021080a70708d9ddf1c1
[ "MIT" ]
9
2016-10-03T21:59:25.000Z
2020-01-28T16:41:17.000Z
mix.exs
pzingg/phoenix_markdown
ef7b5f76f339babec688021080a70708d9ddf1c1
[ "MIT" ]
14
2016-07-06T17:55:12.000Z
2022-02-22T17:39:16.000Z
defmodule PhoenixMarkdown.Mixfile do use Mix.Project @version "1.0.3" @github "https://github.com/boydm/phoenix_markdown" @blog_post "https://medium.com/@boydm/markdown-templates-in-phoenix-25721a3bc682" def project do [ app: :phoenix_markdown, version: @version, elixir: "~> 1.1", ...
22.1
83
0.53092
7a0129a90dfbddb5524163dcd7924341f4ab23e3
177
exs
Elixir
priv/repo/migrations/20190312083141_add_last_fm_username_to_users.exs
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
7
2019-05-11T12:14:48.000Z
2021-04-02T18:42:51.000Z
priv/repo/migrations/20190312083141_add_last_fm_username_to_users.exs
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
3
2019-05-11T08:01:47.000Z
2019-05-14T12:06:50.000Z
priv/repo/migrations/20190312083141_add_last_fm_username_to_users.exs
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
1
2021-01-06T14:57:32.000Z
2021-01-06T14:57:32.000Z
defmodule Ada.Repo.Migrations.AddLastFmUsernameToUsers do use Ecto.Migration def change do alter table(:users) do add(:last_fm_username, :text) end end end
17.7
57
0.723164
7a013ce116127ded48071e1d3b123d75cec00f0d
1,882
exs
Elixir
mix.exs
av-ast/redshift_ecto
af160738f05e225c53cfdeaac16e9b4be8a87c85
[ "Apache-2.0" ]
1
2020-01-06T16:35:05.000Z
2020-01-06T16:35:05.000Z
mix.exs
av-ast/redshift_ecto
af160738f05e225c53cfdeaac16e9b4be8a87c85
[ "Apache-2.0" ]
null
null
null
mix.exs
av-ast/redshift_ecto
af160738f05e225c53cfdeaac16e9b4be8a87c85
[ "Apache-2.0" ]
null
null
null
defmodule RedshiftEcto.MixProject do use Mix.Project @version "0.2.0" def project do [ app: :redshift_ecto, version: @version, elixir: "~> 1.6", deps: deps(), build_per_environment: false, build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, ...
21.883721
99
0.557917
7a015d469cbe9916c4da8d8da12bec444a0fc3d9
629
exs
Elixir
test/fixtures/toolchain_platform/mix.exs
petermm/nerves
173b0a424177f45f77db4206406d9c98f1d73e95
[ "Apache-2.0" ]
null
null
null
test/fixtures/toolchain_platform/mix.exs
petermm/nerves
173b0a424177f45f77db4206406d9c98f1d73e95
[ "Apache-2.0" ]
null
null
null
test/fixtures/toolchain_platform/mix.exs
petermm/nerves
173b0a424177f45f77db4206406d9c98f1d73e95
[ "Apache-2.0" ]
null
null
null
defmodule ToolchainPlatform.Mixfile do use Mix.Project @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: :toolchain_platform, version: @version, nerves_package: nerves_package(), deps: deps() ] end defp nerves...
16.128205
69
0.54213
7a01626690c1ad88b2c6d5b8a20bab9489e843a4
706
exs
Elixir
samples/query-client/mix.exs
dbuos/tellurium
20de4468130f99f5a9003231e2c4752c227c9302
[ "Apache-2.0" ]
null
null
null
samples/query-client/mix.exs
dbuos/tellurium
20de4468130f99f5a9003231e2c4752c227c9302
[ "Apache-2.0" ]
null
null
null
samples/query-client/mix.exs
dbuos/tellurium
20de4468130f99f5a9003231e2c4752c227c9302
[ "Apache-2.0" ]
null
null
null
defmodule QueryServer.MixProject do use Mix.Project def project do [ app: :query_client, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
22.0625
87
0.569405
7a016b7cb19fc926e5a68f875f8b4e3336d7a195
1,793
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_dominant_colors_annotation.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/google_cloud_vision_v1p4beta1_dominant_colors_annotation.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/google_cloud_vision_v1p4beta1_dominant_colors_annotation.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.480769
170
0.762409
7a019a0cf63a870678e91bd9690bbbdd68a09fcb
8,954
ex
Elixir
clients/speech/lib/google_api/speech/v1/model/recognition_config.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/speech/lib/google_api/speech/v1/model/recognition_config.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/model/recognition_config.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
51.757225
157
0.686062
7a019cd688c89b2b665906a5ae320b1f5839da51
16,601
ex
Elixir
apps/core/lib/core/services/payments.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/lib/core/services/payments.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/lib/core/services/payments.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Services.Payments do use Core.Services.Base import Core.Policies.Payments alias Core.PubSub alias Core.Services.{Repositories} alias Core.Schema.{ Publisher, Account, User, Repository, Plan, Subscription, Installation } @type plan_resp :: {:ok, Plan.t} | {:erro...
35.624464
139
0.641046
7a01ba32aae4d042227cfb6f8f0121e694654e0d
2,030
exs
Elixir
test/functional/parser/html_parser_test.exs
raygesualdo/earmark
8c63366140d81205530cf68960f3d91ae85e63b7
[ "Apache-1.1" ]
null
null
null
test/functional/parser/html_parser_test.exs
raygesualdo/earmark
8c63366140d81205530cf68960f3d91ae85e63b7
[ "Apache-1.1" ]
null
null
null
test/functional/parser/html_parser_test.exs
raygesualdo/earmark
8c63366140d81205530cf68960f3d91ae85e63b7
[ "Apache-1.1" ]
1
2020-03-31T19:53:15.000Z
2020-03-31T19:53:15.000Z
defmodule Functional.Parser.HtmlParserTest do use ExUnit.Case, async: true import Earmark.Helpers.HtmlParser describe "not a tag" do test "empty" do input = "" assert parse_html(input) == input end test "not a tag" do input = "<hello" assert parse_html(input) == input end...
23.882353
82
0.542857
7a01c08a2111dc9582b9e4285572505868db4821
1,550
ex
Elixir
lib/tai_shang_web/views/error_helpers.ex
leeduckgo/Tai-Shang
33831f54b0ef8eb7772b0b559d8fe8897a06b57c
[ "MIT" ]
17
2021-06-10T07:39:18.000Z
2021-12-16T03:26:53.000Z
lib/tai_shang_web/views/error_helpers.ex
leeduckgo/Tai-Shang
33831f54b0ef8eb7772b0b559d8fe8897a06b57c
[ "MIT" ]
4
2021-05-19T02:09:53.000Z
2021-07-03T09:34:09.000Z
lib/tai_shang_web/views/error_helpers.ex
leeduckgo/Tai-Shang
33831f54b0ef8eb7772b0b559d8fe8897a06b57c
[ "MIT" ]
4
2021-07-06T02:50:29.000Z
2021-12-21T09:33:20.000Z
defmodule TaiShangWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_tag...
32.291667
77
0.665806
7a01c8c452edf0d899193d5d59e73ccc043d89bb
1,128
exs
Elixir
config/config.exs
hexpm/diff
1a453d3578116af8ede4b7f37d3cc2e3e01dc731
[ "Apache-2.0" ]
59
2020-01-20T20:32:31.000Z
2022-02-11T07:25:45.000Z
config/config.exs
hexpm/diff
1a453d3578116af8ede4b7f37d3cc2e3e01dc731
[ "Apache-2.0" ]
33
2020-01-20T19:38:09.000Z
2021-11-19T10:08:25.000Z
config/config.exs
hexpm/diff
1a453d3578116af8ede4b7f37d3cc2e3e01dc731
[ "Apache-2.0" ]
12
2020-01-20T21:11:14.000Z
2021-05-10T19:56:47.000Z
# 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. # General application configuration use Mix.Config config :diff, cache_version: 2, package_stor...
28.923077
86
0.757092
7a01e4ed8b6f56a7cac6b3ec76095a57721fa769
993
ex
Elixir
lib/dlex/query.ex
summerchat/dlex
58f8624d047b93b3ce026b65c7cf8a1d85d13f85
[ "Apache-2.0" ]
79
2018-12-22T23:15:55.000Z
2021-11-14T05:56:31.000Z
lib/dlex/query.ex
m0dnar/dlex
1a3d0216d0aabb8c1ab5c92c5e6847c140769201
[ "Apache-2.0" ]
120
2019-02-26T17:44:39.000Z
2021-11-12T23:07:51.000Z
lib/dlex/query.ex
m0dnar/dlex
1a3d0216d0aabb8c1ab5c92c5e6847c140769201
[ "Apache-2.0" ]
25
2018-12-22T23:15:57.000Z
2021-12-28T18:43:24.000Z
defmodule Dlex.Query do @moduledoc false @type mutation :: %{ optional(:cond) => String.t(), optional(:set) => map | iodata, optional(:delete) => map | iodata } @type t :: %__MODULE__{ type: Dlex.Type.Alter | Dlex.Type.Mutation | Dlex.Type.Query, query: ...
29.205882
83
0.608258
7a0215b7344994351d882f7bfaafbe9fc8a79398
28,534
ex
Elixir
lib/elixir/lib/calendar/naive_datetime.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/elixir/lib/calendar/naive_datetime.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/calendar/naive_datetime.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
defmodule NaiveDateTime do @moduledoc """ A NaiveDateTime struct (without a time zone) and functions. The NaiveDateTime struct contains the fields year, month, day, hour, minute, second, microsecond and calendar. New naive datetimes can be built with the `new/2` and `new/7` functions or using the `~N` sigil:...
32.797701
110
0.635417
7a0231a0de9de723a1ff1481c35416916e35a16b
1,638
ex
Elixir
lib/mix/tasks/firmware.image.ex
konstantinzolotarev/nerves
35de56656f44ca9e4ab27e87fd00f303caa85265
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/firmware.image.ex
konstantinzolotarev/nerves
35de56656f44ca9e4ab27e87fd00f303caa85265
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/firmware.image.ex
konstantinzolotarev/nerves
35de56656f44ca9e4ab27e87fd00f303caa85265
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Firmware.Image do use Mix.Task import Mix.Nerves.Utils @shortdoc "Create a firmware image file" @moduledoc """ Create a firmware image file that can be copied byte-for-byte to an SDCard or other memory device. ## Usage mix firmware.image [my_image.img] If not supplied, the...
21
95
0.626374
7a0231bbb0a3a6f20e60c56e25638ac8cd800259
3,432
ex
Elixir
lib/livebook/live_markdown.ex
doyobi/livebook
136d5039c42b406dd0b31aea188deb4fce3b1328
[ "Apache-2.0" ]
1
2022-02-16T09:13:27.000Z
2022-02-16T09:13:27.000Z
lib/livebook/live_markdown.ex
doyobi/livebook
136d5039c42b406dd0b31aea188deb4fce3b1328
[ "Apache-2.0" ]
null
null
null
lib/livebook/live_markdown.ex
doyobi/livebook
136d5039c42b406dd0b31aea188deb4fce3b1328
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.LiveMarkdown do @moduledoc false # Notebook file format used by Livebook. # # The format is based off of Markdown and preserves compatibility, # in the sense that every LiveMarkdown file is a valid Markdown file. # LiveMarkdown uses HTML comments for storing metadata, so a Markdown # s...
33
88
0.660839
7a0242ce0f3eedb257d985d087fbb35414a1d569
2,790
exs
Elixir
mix.exs
theguuholi/find_my_personal
9a0c030b8f852812305ba7a44f0ab4794b9cb2c7
[ "MIT" ]
null
null
null
mix.exs
theguuholi/find_my_personal
9a0c030b8f852812305ba7a44f0ab4794b9cb2c7
[ "MIT" ]
9
2020-08-11T11:36:59.000Z
2020-09-04T13:05:21.000Z
mix.exs
theguuholi/find_my_personal
9a0c030b8f852812305ba7a44f0ab4794b9cb2c7
[ "MIT" ]
null
null
null
defmodule FindMyPersonal.MixProject do use Mix.Project @github_url "https://github.com/theguuholi/find_my_personal" def project do [ app: :find_my_personal, version: "0.1.0", elixir: "~> 1.10", description: "Projeto que conecta pessoas e Profissionais de Educacao Fisica", sourc...
29.368421
84
0.567025