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
216877088e3f760ce1706f49732fb7c2d38a5f5b
12,036
exs
Elixir
test/ecto/changeset/many_to_many_test.exs
cnsa/ecto
a6e0eaaa5da1032fad571308c338eca1b5f77738
[ "Apache-2.0" ]
null
null
null
test/ecto/changeset/many_to_many_test.exs
cnsa/ecto
a6e0eaaa5da1032fad571308c338eca1b5f77738
[ "Apache-2.0" ]
null
null
null
test/ecto/changeset/many_to_many_test.exs
cnsa/ecto
a6e0eaaa5da1032fad571308c338eca1b5f77738
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Changeset.ManyToManyTest do use ExUnit.Case, async: true alias Ecto.Changeset alias Ecto.Changeset.Relation alias __MODULE__.Author alias __MODULE__.Post defmodule Post do use Ecto.Schema schema "posts" do field :title, :string end def changeset(schema, params) do ...
35.821429
119
0.640412
2168853bcfabf9356ec73ba9f21ecd3eb62b3628
702
exs
Elixir
apps/ehealth/config/config.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/ehealth/config/config.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/ehealth/config/config.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
use Mix.Config # General application configuration config :ehealth, env: Mix.env(), namespace: EHealth, run_declaration_request_terminator: true, sensitive_data_in_response: {:system, :boolean, "SENSITIVE_DATA_IN_RESPONSE_ENABLED", false} # Config Jason as default Json encoder for Phoenix config :phoenix, :fo...
27
94
0.760684
2168a4005eca6361279028d57da61b442ebfd5d0
1,424
ex
Elixir
lib/task_bunny/failure_backend.ex
salemove/task_bunny
f1a69291b47f59cab1c010d48fda7551132ae51c
[ "MIT" ]
null
null
null
lib/task_bunny/failure_backend.ex
salemove/task_bunny
f1a69291b47f59cab1c010d48fda7551132ae51c
[ "MIT" ]
3
2019-08-13T13:05:26.000Z
2021-11-10T08:12:51.000Z
lib/task_bunny/failure_backend.ex
salemove/task_bunny
f1a69291b47f59cab1c010d48fda7551132ae51c
[ "MIT" ]
1
2021-02-24T19:50:27.000Z
2021-02-24T19:50:27.000Z
defmodule TaskBunny.FailureBackend do @moduledoc """ A behaviour module to implement the your own failure backend. Note the backend is called only for the errors caught during job processing. Any other errors won't be reported to the backend. ## Configuration By default, TaskBunny reports the job failure...
26.37037
78
0.72191
2168d8003b5b6d7866bc5ae6569184380830ab34
2,255
exs
Elixir
mix.exs
bytepak/stripity_stripe
6d51205f260a92839b209fe0277c50dc9afa4ad6
[ "BSD-3-Clause" ]
null
null
null
mix.exs
bytepak/stripity_stripe
6d51205f260a92839b209fe0277c50dc9afa4ad6
[ "BSD-3-Clause" ]
null
null
null
mix.exs
bytepak/stripity_stripe
6d51205f260a92839b209fe0277c50dc9afa4ad6
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.Mixfile do use Mix.Project def project do [ app: :stripity_stripe, deps: deps(), description: description(), dialyzer: [ plt_add_apps: [:mix], plt_file: {:no_warn, "priv/plts/stripity_stripe.plt"} ], elixir: "~> 1.5", package: package()...
25.055556
85
0.537472
2168da0c44a215723ac23abd119c5297837a5e76
1,975
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/account_permission_groups_list_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/account_permission_groups_list_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/account_permission_groups_list_response.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...
35.909091
171
0.752405
2168e7fdc397b7f7dc1cf0682aacd6b36ade12b5
1,123
exs
Elixir
config/config.exs
piersadrian/cryptex
b654602f4515eef70ed70eb6f23f1303f8ab33a2
[ "MIT" ]
null
null
null
config/config.exs
piersadrian/cryptex
b654602f4515eef70ed70eb6f23f1303f8ab33a2
[ "MIT" ]
null
null
null
config/config.exs
piersadrian/cryptex
b654602f4515eef70ed70eb6f23f1303f8ab33a2
[ "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...
36.225806
73
0.751558
2168ffa912065ca49d11ca93d6ad6339d58efd34
7,398
ex
Elixir
lib/bike_brigade_web/live/campaign_live/duplicate_campaign_component.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
28
2021-10-11T01:53:53.000Z
2022-03-24T17:45:55.000Z
lib/bike_brigade_web/live/campaign_live/duplicate_campaign_component.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
20
2021-10-21T08:12:31.000Z
2022-03-31T13:35:53.000Z
lib/bike_brigade_web/live/campaign_live/duplicate_campaign_component.ex
bikebrigade/dispatch
eb622fe4f6dab7c917d678d3d7a322a01f97da44
[ "Apache-2.0" ]
null
null
null
defmodule BikeBrigadeWeb.CampaignLive.DuplicateCampaignComponent do use BikeBrigadeWeb, :live_component alias BikeBrigade.LocalizedDateTime alias BikeBrigade.{Delivery, Repo} @impl Phoenix.LiveComponent def render(assigns) do ~H""" <div> <C.flash_component flash={@flash} /> <.form ...
35.73913
232
0.59462
21692718e8321795b4992553a20f8eb431d51b78
835
ex
Elixir
apps/tai/lib/tai/venue_adapters/bitmex.ex
CalebOts/tai
1603bfefa390eac89085ba18fd259b2e9fcac6c0
[ "MIT" ]
1
2019-12-19T05:16:26.000Z
2019-12-19T05:16:26.000Z
apps/tai/lib/tai/venue_adapters/bitmex.ex
CalebOts/tai
1603bfefa390eac89085ba18fd259b2e9fcac6c0
[ "MIT" ]
null
null
null
apps/tai/lib/tai/venue_adapters/bitmex.ex
CalebOts/tai
1603bfefa390eac89085ba18fd259b2e9fcac6c0
[ "MIT" ]
null
null
null
defmodule Tai.VenueAdapters.Bitmex do alias Tai.VenueAdapters.Bitmex.{ StreamSupervisor, Products, AssetBalances, Positions, CreateOrder, AmendOrder, AmendBulkOrders, CancelOrder } @behaviour Tai.Venues.Adapter def stream_supervisor, do: StreamSupervisor defdelegate products(...
33.4
84
0.773653
21692b84a988e5b2c500a2c26f72b60c195c8529
4,160
exs
Elixir
test/tunnel/registry_test.exs
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
19
2018-05-10T09:33:25.000Z
2022-01-25T11:57:33.000Z
test/tunnel/registry_test.exs
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
23
2019-11-28T07:51:52.000Z
2022-03-09T08:33:42.000Z
test/tunnel/registry_test.exs
Yarnus/ex_aliyun_ots
1d2ed426cb18fca68811e7a6297da9583cbd0a77
[ "MIT" ]
9
2019-01-30T03:17:12.000Z
2021-12-14T02:23:32.000Z
defmodule ExAliyunOtsTest.Tunnel.Registry do use ExUnit.Case alias ExAliyunOts.Tunnel.{Registry, Registry} alias ExAliyunOts.Tunnel.{EntryWorker, EntryChannel} import EntryWorker import EntryChannel test "registry worker operation" do client_pid = self() new_result1 = Registry.new_worker(entry_wo...
28.689655
97
0.669231
21695ebf268ac42dd22c73bcc17bc1279c1e0c92
1,888
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/instruction_input.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/instruction_input.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/instruction_input.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 ...
34.962963
140
0.733051
2169616cc583cb417db9b80b3ee0ab232b2abc5e
31,494
ex
Elixir
clients/recommender/lib/google_api/recommender/v1/api/billing_accounts.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/recommender/lib/google_api/recommender/v1/api/billing_accounts.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/recommender/lib/google_api/recommender/v1/api/billing_accounts.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...
49.990476
738
0.645837
216965e0d9ad7cff33af50ea102b2190738799ae
8,204
ex
Elixir
lib/recurring_events.ex
pbogut/recurring_events
c341f345410092117f25eb99696aff52dde88a69
[ "MIT" ]
21
2017-01-11T00:02:46.000Z
2020-12-28T15:59:04.000Z
lib/recurring_events.ex
pbogut/recurring_events
c341f345410092117f25eb99696aff52dde88a69
[ "MIT" ]
20
2017-04-11T20:39:55.000Z
2021-09-18T09:20:44.000Z
lib/recurring_events.ex
pbogut/recurring_events
c341f345410092117f25eb99696aff52dde88a69
[ "MIT" ]
9
2017-04-11T19:31:20.000Z
2020-10-14T18:36:27.000Z
defmodule RecurringEvents do @moduledoc """ *RecurringEvents* is an Elixir library providing recurring events support (duh!). It loosely follows [iCal Recurrence rule specification](http://www.kanzaki.com/docs/ical/rrule.html) [RFC 2445](https://tools.ietf.org/html/rfc2445). iex> RecurringEvents.tak...
30.161765
92
0.644198
21699105ebdf70e66c95eb66b59b0bae95607ab1
1,294
exs
Elixir
config/config.exs
asonix/secure-server-elixir
7e9bae4f9e86f78a6572e57dedd785550f1af358
[ "MIT" ]
2
2016-08-17T11:54:22.000Z
2017-02-20T07:50:23.000Z
config/config.exs
asonix/secure-server-elixir
7e9bae4f9e86f78a6572e57dedd785550f1af358
[ "MIT" ]
null
null
null
config/config.exs
asonix/secure-server-elixir
7e9bae4f9e86f78a6572e57dedd785550f1af358
[ "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 config :cloak, Cloak.AES.CTR, tag: "One", default: true, keys: [ %{tag: <<1>>, key: :base64.decode(System.get_env("TEST_SECURE_KEY")), default: true} ] # This configurat...
34.052632
88
0.735703
21699447c0ce5dc24826d31c1cafba7632dad6f4
94
exs
Elixir
test/retrospectivex_web/views/page_view_test.exs
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
5
2018-06-27T17:51:51.000Z
2020-10-05T09:59:04.000Z
test/retrospectivex_web/views/page_view_test.exs
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
1
2018-10-08T11:33:12.000Z
2018-10-08T11:33:12.000Z
test/retrospectivex_web/views/page_view_test.exs
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
2
2018-10-08T11:31:55.000Z
2020-10-05T09:59:05.000Z
defmodule RetrospectivexWeb.PageViewTest do use RetrospectivexWeb.ConnCase, async: true end
23.5
45
0.851064
21699fbb189b0bed0a31a15debfbc994777d9d97
1,237
ex
Elixir
lib/glasnost_web/views/error_helpers.ex
cyberpunk-ventures/glasnost
d6853a191ac2094dbe160953094a6d0c7e6c0778
[ "MIT" ]
26
2017-03-04T20:07:09.000Z
2018-08-15T10:16:06.000Z
lib/glasnost_web/views/error_helpers.ex
cyberpunk-ventures/glasnost
d6853a191ac2094dbe160953094a6d0c7e6c0778
[ "MIT" ]
18
2017-03-18T13:59:31.000Z
2018-09-06T10:08:33.000Z
lib/glasnost_web/views/error_helpers.ex
metachaos-systems/glasnost
d6853a191ac2094dbe160953094a6d0c7e6c0778
[ "MIT" ]
9
2017-03-16T19:02:04.000Z
2018-06-02T23:44:52.000Z
defmodule GlasnostWebErrorHelpers 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 if error = form.errors[field] do content_tag :span, translate_error(error...
30.170732
77
0.670978
2169b38744621741cfafd62da6ab913ea1a42de2
2,036
exs
Elixir
config/prod.exs
Fomich686/buy_the_food
ca4638a4efbb5f86347948ad07bcf7827f6523f9
[ "Apache-2.0" ]
null
null
null
config/prod.exs
Fomich686/buy_the_food
ca4638a4efbb5f86347948ad07bcf7827f6523f9
[ "Apache-2.0" ]
null
null
null
config/prod.exs
Fomich686/buy_the_food
ca4638a4efbb5f86347948ad07bcf7827f6523f9
[ "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.357143
66
0.718075
2169bbb991db4a32272254cafa94c6f01d66d6d6
514
exs
Elixir
activitypub/config/test.exs
torchhound/activitypub
362de364764b81ec06ade6d0c48c303218e74522
[ "MIT" ]
null
null
null
activitypub/config/test.exs
torchhound/activitypub
362de364764b81ec06ade6d0c48c303218e74522
[ "MIT" ]
null
null
null
activitypub/config/test.exs
torchhound/activitypub
362de364764b81ec06ade6d0c48c303218e74522
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :activitypub, ActivitypubWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :activitypub...
25.7
56
0.745136
2169bfafeefbdce4f6253df5170f2b7ac6742eff
1,111
exs
Elixir
config/config.exs
otherchris/topo
228c2c371c5e89cd1297662da7701c52c5d8b167
[ "MIT" ]
110
2016-05-05T21:09:19.000Z
2022-03-08T05:22:16.000Z
config/config.exs
otherchris/topo
228c2c371c5e89cd1297662da7701c52c5d8b167
[ "MIT" ]
15
2016-12-01T00:32:11.000Z
2022-01-18T13:56:37.000Z
config/config.exs
otherchris/topo
228c2c371c5e89cd1297662da7701c52c5d8b167
[ "MIT" ]
24
2016-09-19T20:06:50.000Z
2021-06-16T06:41:10.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...
35.83871
73
0.749775
2169d60d04f2c5bf74124c893a2dd7bcbe6a9e96
840
ex
Elixir
elixir/lib/com/spoonacular/client/model/inline_response_200_38_items.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
21
2019-08-09T18:53:26.000Z
2022-03-14T22:10:10.000Z
elixir/lib/com/spoonacular/client/model/inline_response_200_38_items.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
null
null
null
elixir/lib/com/spoonacular/client/model/inline_response_200_38_items.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
55
2019-08-13T17:52:47.000Z
2022-03-27T04:29:34.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule com.spoonacular.client.Model.InlineResponse20038Items do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"id", :"slot", ...
23.333333
101
0.667857
2169f6f00acd9a012af3451d6b3ee1077cd30a12
485
exs
Elixir
test/regressions/i037_inline_code_and_bar_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/regressions/i037_inline_code_and_bar_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/regressions/i037_inline_code_and_bar_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
1
2020-03-31T19:53:15.000Z
2020-03-31T19:53:15.000Z
defmodule Regressions.I037InlineCodeAndBarTest do use ExUnit.Case, async: true @implicit_list_with_bar """ - alpha beta | gamma """ test "Issue https://github.com/pragdave/earmark/issues/37" do result = Earmark.as_html! @implicit_list_with_bar assert result == """ <ul> ...
24.25
63
0.54433
2169fe3a91acf76c80b1334de5b4c5121378c95f
379
ex
Elixir
lib/hal_web/views/stats_view.ex
piersadrian/hal
190e3fb1cd0d187ac3ef485d1bf9e2623296ae16
[ "MIT" ]
null
null
null
lib/hal_web/views/stats_view.ex
piersadrian/hal
190e3fb1cd0d187ac3ef485d1bf9e2623296ae16
[ "MIT" ]
null
null
null
lib/hal_web/views/stats_view.ex
piersadrian/hal
190e3fb1cd0d187ac3ef485d1bf9e2623296ae16
[ "MIT" ]
null
null
null
defmodule HALWeb.StatsView do use HALWeb, :view alias HALWeb.StatsView def render("index.json", _) do count = (1.0 - :rand.uniform) * 100 data = Enum.map(0..trunc(count), fn (_) -> %{ sampled_at: DateTime.from_unix!(1464096368 + trunc(:rand.uniform * 1.0e8)), count: trunc(:rand.unif...
22.294118
83
0.591029
216a23c367f50434254cda535fe71cace937d39a
3,608
exs
Elixir
test/adaptable_costs_evaluator/policies/organizations/role_policy_test.exs
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
null
null
null
test/adaptable_costs_evaluator/policies/organizations/role_policy_test.exs
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
4
2021-12-07T12:26:50.000Z
2021-12-30T14:17:25.000Z
test/adaptable_costs_evaluator/policies/organizations/role_policy_test.exs
patrotom/adaptable-costs-evaluator
c97e65af1e021d7c6acf6564f4671c60321346e3
[ "MIT" ]
null
null
null
defmodule AdaptableCostsEvaluator.Policies.Organizations.RolePolicyTest do use AdaptableCostsEvaluator.DataCase use AdaptableCostsEvaluator.Fixtures.{OrganizationFixture, UserFixture} alias AdaptableCostsEvaluator.Organizations import AdaptableCostsEvaluator.Policies.Organizations.RolePolicy setup do us...
34.037736
88
0.618348
216a7086a65d165a813470047a4d4dee37bd8010
1,154
exs
Elixir
mix.exs
elvanja/escript_testbed
eb92772b6223309d727716d8a6dc1c9d316bbbb4
[ "MIT" ]
null
null
null
mix.exs
elvanja/escript_testbed
eb92772b6223309d727716d8a6dc1c9d316bbbb4
[ "MIT" ]
2
2020-07-27T00:13:11.000Z
2020-07-27T05:22:17.000Z
mix.exs
elvanja/escript_testbed
eb92772b6223309d727716d8a6dc1c9d316bbbb4
[ "MIT" ]
2
2020-07-26T12:32:39.000Z
2020-07-26T23:54:13.000Z
defmodule EscriptTestbed.MixProject do use Mix.Project def project do [ app: :escript_testbed, version: "0.0.1", elixir: "~> 1.10", elixirc_paths: elixirc_paths(Mix.env()), escript: [main_module: EscriptTestbed.CLI], build_embedded: Mix.env() == :prod, start_permanent:...
24.041667
63
0.531196
216a7a2911c8dc147d2b60298f562fcd0204aafb
2,305
ex
Elixir
clients/speech/lib/google_api/speech/v1/model/long_running_recognize_metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/model/long_running_recognize_metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/speech/lib/google_api/speech/v1/model/long_running_recognize_metadata.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...
41.160714
215
0.724512
216a8a12c5d0652abefa88ddf54d6fea6ed1afe2
5,054
exs
Elixir
test/money_parse_test.exs
montebrown/money
4a4dcccb37e00f8cfbf5094b8e089a1c13e923d7
[ "Apache-2.0" ]
426
2016-10-10T08:53:20.000Z
2022-03-17T04:28:00.000Z
test/money_parse_test.exs
montebrown/money
4a4dcccb37e00f8cfbf5094b8e089a1c13e923d7
[ "Apache-2.0" ]
131
2016-12-03T22:43:52.000Z
2022-02-13T22:35:57.000Z
test/money_parse_test.exs
montebrown/money
4a4dcccb37e00f8cfbf5094b8e089a1c13e923d7
[ "Apache-2.0" ]
47
2017-02-18T08:11:26.000Z
2022-01-26T19:31:34.000Z
defmodule MoneyTest.Parse do use ExUnit.Case describe "Money.parse/2 " do test "parses with currency code in front" do assert Money.parse("USD 100") == Money.new(:USD, 100) assert Money.parse("USD100") == Money.new(:USD, 100) assert Money.parse("USD 100 ") == Money.new(:USD, 100) assert...
41.768595
106
0.606648
216a9fbbcfa1ce8f3bfe16355f466a9217bbcd5f
19,275
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/api/playlists.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/playlists.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/you_tube/lib/google_api/you_tube/v3/api/playlists.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...
68.351064
1,139
0.688145
216acc58194488bc2c2fbbc5f60be64cac05dfa9
907
ex
Elixir
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_extension_image_properties.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_extension_image_properties.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_extension_image_properties.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Compute.Model.VirtualMachineExtensionImageProperties do @moduledoc """ Describes the properties of a Virtual Machin...
26.676471
111
0.718853
216ad6e3d088c9fc931481a3ee79591b440809ec
717
exs
Elixir
test/yelp_full_reviews_test.exs
goodhamgupta/scidata
0336e188213b2d8629060930143013a43507ce2f
[ "Apache-2.0" ]
107
2021-04-16T16:07:38.000Z
2022-03-06T19:43:12.000Z
test/yelp_full_reviews_test.exs
goodhamgupta/scidata
0336e188213b2d8629060930143013a43507ce2f
[ "Apache-2.0" ]
19
2021-04-16T17:32:14.000Z
2022-01-19T15:05:53.000Z
test/yelp_full_reviews_test.exs
goodhamgupta/scidata
0336e188213b2d8629060930143013a43507ce2f
[ "Apache-2.0" ]
9
2021-04-17T20:49:55.000Z
2022-01-19T04:00:34.000Z
defmodule YelpFullReviewsTest do use ExUnit.Case @moduletag timeout: 120_000 describe "download" do test "retrieves training set" do %{review: train_inputs, rating: train_targets} = Scidata.YelpFullReviews.download() assert length(train_inputs) == 650_000 assert length(train_targets) == 6...
29.875
92
0.669456
216b3c09b8d16a05d8285a1909e54000fa357053
7,698
exs
Elixir
priv/repo/migrations/20210521195839_migrate_label_centric_connections_to_flows.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
priv/repo/migrations/20210521195839_migrate_label_centric_connections_to_flows.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
priv/repo/migrations/20210521195839_migrate_label_centric_connections_to_flows.exs
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule Console.Repo.Migrations.MigrateLabelCentricConnectionsToFlows do use Ecto.Migration import Ecto.Query, warn: false alias Console.Repo alias Console.Organizations alias Console.Labels alias Console.Labels.Label alias Console.Flows.Flow alias Console.MultiBuys.MultiBuy def up do Ecto.Mul...
35.638889
175
0.505716
216b43448852dcdbbbe1b934acf9a1f02cbc0a59
11,068
ex
Elixir
lib/wallaby/phantom/driver.ex
schnittchen/wallaby
30be89cc78087e53e5b47a86043c2bbe8566bbf4
[ "MIT" ]
null
null
null
lib/wallaby/phantom/driver.ex
schnittchen/wallaby
30be89cc78087e53e5b47a86043c2bbe8566bbf4
[ "MIT" ]
null
null
null
lib/wallaby/phantom/driver.ex
schnittchen/wallaby
30be89cc78087e53e5b47a86043c2bbe8566bbf4
[ "MIT" ]
null
null
null
defmodule Wallaby.Phantom.Driver do @moduledoc ~S""" Implements the webdriver protocol for Phantomjs """ alias Wallaby.Session alias Wallaby.Element alias Wallaby.Phantom.Logger alias Wallaby.Phantom.LogStore @type method :: :post | :get | :delete @type url :: String.t @type query :: String.t @t...
26.864078
130
0.590983
216b772f1e209b9e93168b40a8805a3c30b8b952
3,567
exs
Elixir
lib/mix/test/mix/tasks/profile.eprof_test.exs
fmterrorf/elixir
eafb7b87756179adac5dc2bc11edcb04c1f187cc
[ "Apache-2.0" ]
1
2022-03-28T12:04:08.000Z
2022-03-28T12:04:08.000Z
lib/mix/test/mix/tasks/profile.eprof_test.exs
fmterrorf/elixir
eafb7b87756179adac5dc2bc11edcb04c1f187cc
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/profile.eprof_test.exs
fmterrorf/elixir
eafb7b87756179adac5dc2bc11edcb04c1f187cc
[ "Apache-2.0" ]
null
null
null
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.Profile.EprofTest do use MixTest.Case import ExUnit.CaptureIO alias Mix.Tasks.Profile.Eprof @expr "Enum.each(1..5, &String.Chars.Integer.to_string/1)" test "profiles evaluated expression", context do in_tmp(context.test, fn -> ...
28.766129
80
0.570227
216b8c4e250a77ec33761677fe62d9d1b2b07e17
2,087
exs
Elixir
test/signed_overpunch_test.exs
ScriptDrop/elixir_signed_overpunch
30045130913032c1fdbb5b38eef85f47ede9387a
[ "MIT" ]
1
2018-01-05T22:01:01.000Z
2018-01-05T22:01:01.000Z
test/signed_overpunch_test.exs
ScriptDrop/elixir_signed_overpunch
30045130913032c1fdbb5b38eef85f47ede9387a
[ "MIT" ]
5
2018-01-03T17:00:09.000Z
2018-12-24T10:21:07.000Z
test/signed_overpunch_test.exs
ScriptDrop/elixir_signed_overpunch
30045130913032c1fdbb5b38eef85f47ede9387a
[ "MIT" ]
null
null
null
defmodule SignedOverpunchTest do use ExUnit.Case doctest SignedOverpunch @conversions %{ "123A" => 1231, "123B" => 1232, "123C" => 1233, "123D" => 1234, "123E" => 1235, "123F" => 1236, "123G" => 1237, "123H" => 1238, "123I" => 1239, "123J" => -1231, "123K" => -1232, ...
22.202128
85
0.514135
216bba3759e5a6c8fef214b95aa7aca80007a9ca
251
ex
Elixir
lib/hl7/2.3.1/datatypes/osp.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3.1/datatypes/osp.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3.1/datatypes/osp.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3_1.DataTypes.Osp do @moduledoc false alias HL7.V2_3_1.{DataTypes} use HL7.DataType, fields: [ occurrence_span_code: DataTypes.Ce, occurrence_span_start_date: nil, occurrence_span_stop_date: nil ] end
20.916667
41
0.717131
216bbc498bbcb43dbd06c62227c2d5baf6012498
5,049
exs
Elixir
test/password_validator_test.exs
axelson/password-validator
bb4237a01e37162f7e2f2b4434b697a0a5cfae6a
[ "Apache-2.0" ]
17
2017-08-02T08:38:04.000Z
2022-03-28T18:29:55.000Z
test/password_validator_test.exs
axelson/password-validator
bb4237a01e37162f7e2f2b4434b697a0a5cfae6a
[ "Apache-2.0" ]
7
2018-02-28T22:39:02.000Z
2021-02-20T19:58:47.000Z
test/password_validator_test.exs
axelson/password-validator
bb4237a01e37162f7e2f2b4434b697a0a5cfae6a
[ "Apache-2.0" ]
6
2018-02-28T02:18:16.000Z
2021-02-02T19:19:06.000Z
defmodule PasswordValidatorTest do use ExUnit.Case, async: true doctest PasswordValidator @strong_password "shine coin desert" defmodule CustomValidator do @behaviour PasswordValidator.Validator def validate(_string, _opts) do {:error, ["Invalid password"]} end end describe "validate/3...
29.184971
98
0.6225
216bd4defcae1fcab5856f89d6b991773e1ccbdc
23,463
exs
Elixir
lib/mix/test/mix/tasks/deps_test.exs
arjan/elixir
7f3f33d1004ee518b9ef3a23501d23af156410be
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/deps_test.exs
arjan/elixir
7f3f33d1004ee518b9ef3a23501d23af156410be
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/deps_test.exs
arjan/elixir
7f3f33d1004ee518b9ef3a23501d23af156410be
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.DepsTest do use MixTest.Case defmodule DepsApp do def project do [app: :deps, version: "0.1.0", deps: [ {:ok, "0.1.0", github: "elixir-lang/ok"}, {:invalidvsn, "0.2.0", path: "deps/invalidvsn"}, ...
31.325768
171
0.617014
216bf668281499523ae81df30b8b7323da9a0a8f
809
ex
Elixir
lib/type_check/builtin/any.ex
kkentzo/elixir-type_check
bec089445286e4a420d653276e7ba96dd1016876
[ "MIT" ]
291
2020-07-07T18:14:46.000Z
2022-03-29T22:36:48.000Z
lib/type_check/builtin/any.ex
kkentzo/elixir-type_check
bec089445286e4a420d653276e7ba96dd1016876
[ "MIT" ]
71
2020-07-07T11:50:37.000Z
2022-03-23T21:20:54.000Z
lib/type_check/builtin/any.ex
kkentzo/elixir-type_check
bec089445286e4a420d653276e7ba96dd1016876
[ "MIT" ]
12
2020-10-07T16:28:22.000Z
2022-02-17T16:31:05.000Z
defmodule TypeCheck.Builtin.Any do defstruct [] use TypeCheck @opaque! t :: %TypeCheck.Builtin.Any{} @type! problem_tuple :: none() defimpl TypeCheck.Protocols.ToCheck do def to_check(_, param) do quote generated: :true, location: :keep do {:ok, [], unquote(param)} end end end ...
25.28125
171
0.648949
216bf70f5fa13ad98419398dfa7bc64a57bb943e
427
ex
Elixir
lib/invault_web/router.ex
invault-team/backend
1a79652be21f8ae0389378239a48881f78e61c58
[ "Apache-2.0" ]
2
2018-10-22T20:56:40.000Z
2018-11-05T09:48:37.000Z
lib/invault_web/router.ex
invault-team/backend
1a79652be21f8ae0389378239a48881f78e61c58
[ "Apache-2.0" ]
8
2018-11-05T20:35:55.000Z
2019-01-01T06:15:32.000Z
lib/invault_web/router.ex
invault-team/backend
1a79652be21f8ae0389378239a48881f78e61c58
[ "Apache-2.0" ]
null
null
null
defmodule InvaultWeb.Router do use InvaultWeb, :router pipeline :api do plug :accepts, ["json"] end scope "/" do pipe_through :api forward "/graphql", Absinthe.Plug, schema: InvaultWeb.GraphQL.Schema, json_codec: Jason forward "/graphiql", Absinthe.Plug.GraphiQL, sche...
21.35
91
0.639344
216bf99a63604c1ca988fab7b4eb7288ad82e836
1,213
ex
Elixir
lib/app/c.ex
andrzej-mag/meshx_consul
8287b0db3124e366b1359da24b4f2e804be375ee
[ "Apache-2.0" ]
1
2021-05-20T07:09:29.000Z
2021-05-20T07:09:29.000Z
lib/app/c.ex
andrzej-mag/meshx_consul
8287b0db3124e366b1359da24b4f2e804be375ee
[ "Apache-2.0" ]
null
null
null
lib/app/c.ex
andrzej-mag/meshx_consul
8287b0db3124e366b1359da24b4f2e804be375ee
[ "Apache-2.0" ]
null
null
null
defmodule MeshxConsul.App.C do @moduledoc false @lib Mix.Project.config() |> Keyword.fetch!(:app) def lib, do: @lib def cli_env, do: Application.get_env(@lib, :cli_env, []) def uri, do: Application.get_env(@lib, :uri, %URI{scheme: "http", host: ""}) def httpc_opts, do: Application.fetch_env!(@lib, :httpc...
48.52
108
0.751031
216c087832cf90b3c6dfc2961b68cebe6184b99d
1,125
ex
Elixir
lib/chit_chat/accounts/credential.ex
GalPin-Ark/chit_chat
8cb492b7c6daca82fdbd536f6dbc185c02991730
[ "MIT" ]
null
null
null
lib/chit_chat/accounts/credential.ex
GalPin-Ark/chit_chat
8cb492b7c6daca82fdbd536f6dbc185c02991730
[ "MIT" ]
2
2021-03-10T11:14:42.000Z
2021-05-11T06:51:36.000Z
lib/chit_chat/accounts/credential.ex
GalPin-Ark/chit_chat
8cb492b7c6daca82fdbd536f6dbc185c02991730
[ "MIT" ]
null
null
null
defmodule ChitChat.Accounts.Credential do use Ecto.Schema import Ecto.Changeset alias Comeonin.Argon2 schema "credentials" do field :email, :string field :password_hash, :string field :password, :string, virtual: true field :password_confirmation, :string, virtual: true belongs_to :user, Ch...
27.439024
79
0.690667
216c1b2d3f2202fd9b78fab62c006740e58f8afc
1,185
ex
Elixir
lib/surface_bootstrap4_demo_web/live/components/progress_live.ex
tschmidleithner/surface_bootstrap4_demo
9034762e3df1b31832a88a7a08931fe6571e1456
[ "MIT" ]
null
null
null
lib/surface_bootstrap4_demo_web/live/components/progress_live.ex
tschmidleithner/surface_bootstrap4_demo
9034762e3df1b31832a88a7a08931fe6571e1456
[ "MIT" ]
null
null
null
lib/surface_bootstrap4_demo_web/live/components/progress_live.ex
tschmidleithner/surface_bootstrap4_demo
9034762e3df1b31832a88a7a08931fe6571e1456
[ "MIT" ]
null
null
null
defmodule SurfaceBootstrap4DemoWeb.Components.ProgressLive do use Surface.LiveComponent alias SurfaceBootstrap4.Progress alias SurfaceBootstrap4.Button data value, :integer, default: 50 def render(assigns) do ~H""" <div> <div class="mb-5"> <p> Interactive example so increment...
32.027027
110
0.618565
216c607444d77d38851259d620890266e33755d9
1,089
ex
Elixir
lib/ash/resource/transformers/has_many_destination_field.ex
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
lib/ash/resource/transformers/has_many_destination_field.ex
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
lib/ash/resource/transformers/has_many_destination_field.ex
zimt28/ash
ea4c0e78b58762dfb947af2fa9649b25bfdc78cf
[ "MIT" ]
null
null
null
defmodule Ash.Resource.Transformers.HasManyDestinationField do @moduledoc "Guesses the `destination_field` for has many relationships unless provided" use Ash.Dsl.Transformer alias Ash.Dsl.Transformer def transform(resource, dsl_state) do new_dsl_state = dsl_state |> Transformer.get_entities([...
26.560976
93
0.634527
216c66c9e5f2a4896af07a6690eb647a7cb0842a
1,911
ex
Elixir
web/controllers/user_controller.ex
dogweather/ketobit
cd757648e5fee357b82716a2fb2d4542131312e7
[ "MIT" ]
6
2016-07-05T22:57:05.000Z
2019-04-05T01:47:28.000Z
web/controllers/user_controller.ex
dogweather/ketobit
cd757648e5fee357b82716a2fb2d4542131312e7
[ "MIT" ]
null
null
null
web/controllers/user_controller.ex
dogweather/ketobit
cd757648e5fee357b82716a2fb2d4542131312e7
[ "MIT" ]
null
null
null
defmodule Ketobit.UserController do use Ketobit.Web, :controller alias Ketobit.User plug :scrub_params, "user" when action in [:create, :update] def index(conn, _params) do # users = Repo.all(User) # render(conn, "index.html", users: users) end def new(conn, _params) do # changeset = User.ch...
28.102941
69
0.583464
216c68e2a64be2b64de1ee70030207b31381f83b
1,239
ex
Elixir
test/fixtures/v2/erp.ex
noizu/elixir_scaffolding
607e1b0fd6eeb244c86876e55a0b03c29dd08395
[ "MIT" ]
null
null
null
test/fixtures/v2/erp.ex
noizu/elixir_scaffolding
607e1b0fd6eeb244c86876e55a0b03c29dd08395
[ "MIT" ]
null
null
null
test/fixtures/v2/erp.ex
noizu/elixir_scaffolding
607e1b0fd6eeb244c86876e55a0b03c29dd08395
[ "MIT" ]
null
null
null
# To avoid interlocking code a master defimpl should be defined for all tables and entities as follows. alias Noizu.Scaffolding.Test.Fixture.FooV2Entity alias Noizu.Database.Scaffolding.Test.Fixture.FooV2Table defimpl Noizu.ERP, for: [FooV2Entity, FooV2Table] do def id(o), do: Noizu.Scaffolding.V2.ERPResolver.id...
30.975
104
0.648103
216c8497bee0d0c78401f5249f1d7aa8588fe84c
1,009
ex
Elixir
worker/lib/worker/application.ex
pylebecq/todo-elixir
695935b8239e776177cd454f973ae5a06541155f
[ "MIT" ]
null
null
null
worker/lib/worker/application.ex
pylebecq/todo-elixir
695935b8239e776177cd454f973ae5a06541155f
[ "MIT" ]
9
2018-06-30T09:51:19.000Z
2018-07-03T13:14:47.000Z
worker/lib/worker/application.ex
pylebecq/todo-elixir
695935b8239e776177cd454f973ae5a06541155f
[ "MIT" ]
null
null
null
defmodule Worker.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the endpoint when the app...
32.548387
84
0.719524
216cb267c0121284479c1b23afe89a7bb58cef8c
19,173
ex
Elixir
lib/aws/generated/fsx.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/fsx.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/fsx.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
1
2020-10-28T08:56:54.000Z
2020-10-28T08:56:54.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.FSx do @moduledoc """ Amazon FSx is a fully managed service that makes it easy for storage and application administrators to launch and use shared file storage. """ alias AWS.Client a...
44.381944
165
0.755229
216cb74b038a5f49f1e7bfa90d86db6a1d4a716e
1,282
exs
Elixir
mix.exs
peffis/eredis
617e7d798d129c2f03156a7834c74e4420c4cace
[ "MIT" ]
18
2020-05-12T12:45:07.000Z
2021-11-11T15:51:23.000Z
mix.exs
peffis/eredis
617e7d798d129c2f03156a7834c74e4420c4cace
[ "MIT" ]
18
2020-12-11T09:51:32.000Z
2021-09-18T16:57:32.000Z
mix.exs
peffis/eredis
617e7d798d129c2f03156a7834c74e4420c4cace
[ "MIT" ]
11
2020-05-12T15:50:56.000Z
2021-12-10T23:14:45.000Z
defmodule Eredis.Mixfile do use Mix.Project @source_url "https://github.com/Nordix/eredis/" @version "1.4.1" def project do [ app: :eredis, deps: deps(), description: "Non-blocking Redis client with focus on performance and robustness.", elixir: ">= 1.5.1", package: package()...
26.708333
110
0.593604
216cfab35bb98e449e453032196b80d58a69ca39
1,523
ex
Elixir
lib/mempool.ex
nicolafiorillo/angler_blockchain
4fac893068f79f55908285e149ee897024fbb0f4
[ "MIT" ]
null
null
null
lib/mempool.ex
nicolafiorillo/angler_blockchain
4fac893068f79f55908285e149ee897024fbb0f4
[ "MIT" ]
null
null
null
lib/mempool.ex
nicolafiorillo/angler_blockchain
4fac893068f79f55908285e149ee897024fbb0f4
[ "MIT" ]
null
null
null
defmodule AnglerBlockchain.Mempool do @moduledoc """ The local mempool: a repository for unconfirmed transactions. """ use GenServer alias AnglerBlockchain.Transaction defstruct transactions: [] # Initialization @spec start_link(list()) :: {:error, any()} | {:ok, pid()} def start_link(opts \\ []) d...
27.196429
141
0.672357
216d47643b83ae21f43cc23122c159238aa36ca7
2,492
ex
Elixir
lib/system/cmd_wrappers/ssh.ex
KRISHITECH/farmbot_os
4220baf8f3ef930ce3b861b178ca6a76e2fd7591
[ "MIT" ]
null
null
null
lib/system/cmd_wrappers/ssh.ex
KRISHITECH/farmbot_os
4220baf8f3ef930ce3b861b178ca6a76e2fd7591
[ "MIT" ]
null
null
null
lib/system/cmd_wrappers/ssh.ex
KRISHITECH/farmbot_os
4220baf8f3ef930ce3b861b178ca6a76e2fd7591
[ "MIT" ]
null
null
null
defmodule Farmbot.System.Network.SSH do @moduledoc """ Module to manage SSH via an Erlang port. """ use GenServer require Logger alias Farmbot.System.FS @banner "/tmp/banner" @cmd "dropbear -R -F -a -B -E -b #{@banner}" @var_run_dir "/var/run/dropbear" def init(_) do Logger.info ">> Is start...
25.958333
76
0.624799
216d54a2008122cd90dd6309590a728f4348a111
1,458
ex
Elixir
apps/graphql/lib/graphql/resolvers/test.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
null
null
null
apps/graphql/lib/graphql/resolvers/test.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
2
2019-12-13T23:55:50.000Z
2019-12-17T05:49:58.000Z
apps/graphql/lib/graphql/resolvers/test.ex
michaeljguarino/chartmart
a34c949cc29d6a1ab91c04c5e4f797e6f0daabfc
[ "Apache-2.0" ]
null
null
null
defmodule GraphQl.Resolvers.Test do use GraphQl.Resolvers.Base, model: Core.Schema.Test alias Core.Schema.TestStep alias Core.Services.{Tests} def query(TestStep, _), do: TestStep def query(_, _), do: Test def list_tests(%{version_id: vsn_id} = args, _) do Test.for_version(vsn_id) |> Test.ordered(...
32.4
84
0.646091
216d85d1eeba4ca9f286550a3f8f09739c34f6ee
1,294
exs
Elixir
mix.exs
davecaos/-minogue
885aa2f94714664945e03e018c9da206fc0eab1a
[ "MIT" ]
13
2016-12-01T01:53:49.000Z
2021-02-04T23:22:29.000Z
mix.exs
davecaos/-minogue
885aa2f94714664945e03e018c9da206fc0eab1a
[ "MIT" ]
null
null
null
mix.exs
davecaos/-minogue
885aa2f94714664945e03e018c9da206fc0eab1a
[ "MIT" ]
null
null
null
defmodule Kylie.Mixfile do use Mix.Project def project do [ app: :kylie, version: "1.0.1", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps, aliases: aliases ] end def application do [ registered: [:k...
19.606061
81
0.55255
216d88d8fd2516caa24cd1c5ee691458bf7868b4
109
exs
Elixir
ListsAndRecursion/4.exs
RckMrkr/Programming-Elixir
0aa6d8e3233d4631db54e4103a206bff126cb953
[ "MIT" ]
null
null
null
ListsAndRecursion/4.exs
RckMrkr/Programming-Elixir
0aa6d8e3233d4631db54e4103a206bff126cb953
[ "MIT" ]
null
null
null
ListsAndRecursion/4.exs
RckMrkr/Programming-Elixir
0aa6d8e3233d4631db54e4103a206bff126cb953
[ "MIT" ]
null
null
null
defmodule MyList do def span(from, from), do: [from] def span(from, to), do: [from|span(from + 1, to)] end
21.8
50
0.651376
216db04dedd107c2a6e4e9c77ca61e250731e536
4,632
ex
Elixir
lib/jsonapi_ecto.ex
wojtekmach/jsonapi_ecto
923e551c968fae2b7e06bd6113fe0fbbeafea534
[ "Unlicense", "MIT" ]
5
2016-05-15T08:00:49.000Z
2017-11-15T11:55:47.000Z
lib/jsonapi_ecto.ex
wojtekmach/jsonapi_ecto
923e551c968fae2b7e06bd6113fe0fbbeafea534
[ "Unlicense", "MIT" ]
null
null
null
lib/jsonapi_ecto.ex
wojtekmach/jsonapi_ecto
923e551c968fae2b7e06bd6113fe0fbbeafea534
[ "Unlicense", "MIT" ]
null
null
null
defmodule JSONAPI.Ecto do alias JSONAPI.Ecto.Get @client Application.get_env(:jsonapi_ecto, :client) ## Boilerplate @behaviour Ecto.Adapter defmacro __before_compile__(_opts), do: :ok def application do :jsonapi_ecto end def child_spec(_repo, _opts) do Supervisor.Spec.worker(JSONAPI.Ecto.C...
29.883871
119
0.6019
216db722bba160650262493b5ab734eea1ea47a3
305
exs
Elixir
priv/repo/migrations/20160805004808_add_feed_update_frequency.exs
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
3
2015-12-26T02:36:50.000Z
2016-05-19T16:29:57.000Z
priv/repo/migrations/20160805004808_add_feed_update_frequency.exs
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
null
null
null
priv/repo/migrations/20160805004808_add_feed_update_frequency.exs
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
null
null
null
defmodule Exagg.Repo.Migrations.AddFeedUpdateFrequency do use Ecto.Migration def change do alter table(:feeds) do add :update_frequency, :integer, default: 0 add :auto_frequency, :boolean, default: true modify :last_sync, :datetime, default: fragment("now()") end end end
25.416667
62
0.704918
216dbb361a76e2915516a3bd89892bcb0cc8b65a
60,753
ex
Elixir
clients/iam/lib/google_api/iam/v1/api/projects.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/api/projects.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/api/projects.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...
45.885952
553
0.66158
216dbd53ba99b7b82f84fedf36b81501073e6a0b
34
ex
Elixir
elixir/elixir-sips/samples/boltun_playground/lib/boltun_playground.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-sips/samples/boltun_playground/lib/boltun_playground.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-sips/samples/boltun_playground/lib/boltun_playground.ex
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule BoltunPlayground do end
11.333333
29
0.882353
216dbee0d53c45b185e68157e1f92702a780c422
646
exs
Elixir
config/test.exs
lulabad/ager
aec17e74819367e634746c8e22fc3584d78286d8
[ "MIT" ]
1
2021-04-04T07:15:07.000Z
2021-04-04T07:15:07.000Z
config/test.exs
lulabad/ager
aec17e74819367e634746c8e22fc3584d78286d8
[ "MIT" ]
null
null
null
config/test.exs
lulabad/ager
aec17e74819367e634746c8e22fc3584d78286d8
[ "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 :ager, Ager.Repo, username: "postgres", password: "postgres", database: "ager_test#{System.get_env("MI...
28.086957
63
0.743034
216dd47654e41e33725b0ca1c45687f5d1d1cd2a
187
exs
Elixir
test/apoc/hash_text.exs
CDThomas/apoc
bcd4dde06d418769a5bf9daf6fc92fd2a0902aec
[ "Apache-2.0" ]
null
null
null
test/apoc/hash_text.exs
CDThomas/apoc
bcd4dde06d418769a5bf9daf6fc92fd2a0902aec
[ "Apache-2.0" ]
null
null
null
test/apoc/hash_text.exs
CDThomas/apoc
bcd4dde06d418769a5bf9daf6fc92fd2a0902aec
[ "Apache-2.0" ]
null
null
null
defmodule ApocTest.Hash do use ExUnit.Case doctest Apoc.Hash # Test the default implementation # as SHA256 (32 bytes) setup_all do %{size: 32, target: Apoc.Hash} end end
17
35
0.700535
216e12b925173a2a9bb1a1c54e45f033f7d4e09e
1,878
ex
Elixir
lib/file_size/parser.ex
sitch/file_size
1bd6d884d6cd124f7f8ccfa7f2485cd32f290ac0
[ "MIT" ]
null
null
null
lib/file_size/parser.ex
sitch/file_size
1bd6d884d6cd124f7f8ccfa7f2485cd32f290ac0
[ "MIT" ]
null
null
null
lib/file_size/parser.ex
sitch/file_size
1bd6d884d6cd124f7f8ccfa7f2485cd32f290ac0
[ "MIT" ]
null
null
null
defmodule FileSize.Parser do @moduledoc false alias FileSize.Bit alias FileSize.Byte alias FileSize.ParseError alias FileSize.Units @spec parse(any) :: {:ok, FileSize.t()} | {:error, ParseError.t()} def parse(value) def parse(%struct{} = size) when struct in [Bit, Byte], do: {:ok, size} def parse(...
25.04
82
0.568158
216e2fc9011ea4d64e6b86cf69480302913a4843
10,660
ex
Elixir
lib/trunk/processor.ex
jnylen/trunk
f644f2c6556dfd6152d726e6f29b955ac1aa0ce5
[ "MIT" ]
null
null
null
lib/trunk/processor.ex
jnylen/trunk
f644f2c6556dfd6152d726e6f29b955ac1aa0ce5
[ "MIT" ]
null
null
null
lib/trunk/processor.ex
jnylen/trunk
f644f2c6556dfd6152d726e6f29b955ac1aa0ce5
[ "MIT" ]
null
null
null
defmodule Trunk.Processor do @moduledoc false alias Trunk.State def store(%{versions: versions, async: true} = state), do: store_async(versions, state) def store(%{versions: versions, async: false} = state), do: store_sync(versions, state) defp store_async(versions, state) do process_async(versions, st...
37.013889
101
0.654597
216e7c18f4f996d0fdd4220c525d97eaa2c835f5
2,462
ex
Elixir
lib/asteroid/object_store/refresh_token.ex
tanguilp/asteroid
8e03221d365da7f03f82df192c535d3ba2101f4d
[ "Apache-2.0" ]
36
2019-07-23T20:01:05.000Z
2021-08-05T00:52:34.000Z
lib/asteroid/object_store/refresh_token.ex
tanguilp/asteroid
8e03221d365da7f03f82df192c535d3ba2101f4d
[ "Apache-2.0" ]
19
2019-08-23T19:04:50.000Z
2021-05-07T22:12:25.000Z
lib/asteroid/object_store/refresh_token.ex
tanguilp/asteroid
8e03221d365da7f03f82df192c535d3ba2101f4d
[ "Apache-2.0" ]
3
2019-09-06T10:47:20.000Z
2020-09-09T03:43:31.000Z
defmodule Asteroid.ObjectStore.RefreshToken do @moduledoc """ Behaviour for refresh token store """ @type opts :: Keyword.t() @doc """ Installs the refresh token store """ @callback install(opts()) :: :ok | {:error, any()} @doc """ Starts the refresh token store (non supervised) """ @callba...
27.662921
97
0.61576
216e8b48cefa1fe48f0162934e1244d8d654583b
1,888
ex
Elixir
web/controllers/user_controller.ex
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
web/controllers/user_controller.ex
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
web/controllers/user_controller.ex
travisboettcher/futurecyborg-blog
927c26ee9e94f0739847aa649050b5263ece9239
[ "MIT" ]
null
null
null
defmodule FutureCyborg.UserController do use FutureCyborg.Web, :controller alias FutureCyborg.User plug :scrub_params, "user" when action in [:create, :update] def index(conn, _params) do users = Repo.all(User) render(conn, "index.html", users: users) end def new(conn, _params) do changeset ...
27.362319
67
0.619174
216ec559471e078a538c755e4fce80af13bdcb85
1,674
ex
Elixir
lib/transport.ex
lorantkurthy/elixir-janus
3c468b91445f8bcddc58fe7c5356ddc6da625c9e
[ "Apache-2.0" ]
8
2020-10-06T01:01:19.000Z
2022-01-22T06:06:51.000Z
lib/transport.ex
lorantkurthy/elixir-janus
3c468b91445f8bcddc58fe7c5356ddc6da625c9e
[ "Apache-2.0" ]
12
2020-08-24T14:47:34.000Z
2020-10-05T08:03:56.000Z
lib/transport.ex
lorantkurthy/elixir-janus
3c468b91445f8bcddc58fe7c5356ddc6da625c9e
[ "Apache-2.0" ]
3
2020-11-06T18:44:16.000Z
2022-03-17T08:14:59.000Z
defmodule Janus.Transport do @type reason :: any @type state :: any @type payload :: map @doc """ Creates transport specific connection and preserves it in state. Returns either `{:ok, state}` indicating valid transport state or `{:error, reason}` indicating connection failure. """ @callback connect...
32.192308
118
0.688172
216ef511c12ad67b7920f2910e8ac196b2a84589
1,578
exs
Elixir
test/dasher_test.exs
treble37/digger
374e72ed1af02b9dff55b4b1a1b2c553950e9270
[ "MIT" ]
5
2017-09-18T05:44:29.000Z
2021-10-05T03:24:34.000Z
test/dasher_test.exs
treble37/digger
374e72ed1af02b9dff55b4b1a1b2c553950e9270
[ "MIT" ]
111
2017-09-14T06:01:48.000Z
2022-02-28T13:26:14.000Z
test/dasher_test.exs
treble37/digger
374e72ed1af02b9dff55b4b1a1b2c553950e9270
[ "MIT" ]
1
2021-08-10T17:01:07.000Z
2021-08-10T17:01:07.000Z
defmodule Digger.DasherTest do use ExUnit.Case test "will not dasherize nested map atom keys" do stringified_map = %{ :foo_bar => 2, :snake_case => 3, %{:aBBa => 4, :area51 => 5} => 6, :cBBDA => 2 } assert Digger.dasherize(stringified_map) == %{:foo_bar => 2, :snak...
27.684211
102
0.470849
216efdff2efe0220eceb09c8f0917b686dec3f08
1,947
exs
Elixir
wasmcloud_host/config/dev.exs
janitha09/wasmcloud-otp
858d7cbba00233eabf91d96cbcb0d6db80202444
[ "Apache-2.0" ]
84
2021-06-09T16:30:27.000Z
2022-03-27T23:41:25.000Z
wasmcloud_host/config/dev.exs
janitha09/wasmcloud-otp
858d7cbba00233eabf91d96cbcb0d6db80202444
[ "Apache-2.0" ]
239
2021-06-07T14:00:09.000Z
2022-03-30T17:06:05.000Z
wasmcloud_host/config/dev.exs
janitha09/wasmcloud-otp
858d7cbba00233eabf91d96cbcb0d6db80202444
[ "Apache-2.0" ]
20
2021-06-10T01:10:35.000Z
2022-03-17T15:59:57.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 webpack to recompile .js and .css sources. config :wasmcloud_host, WasmcloudHostWeb.Endpoint, http...
29.059701
68
0.693888
216f5892a3b1117a1167b79b5196dd066500bf84
645
exs
Elixir
test/ex_orient/db/graph_test.exs
syncrypt/ex_orient
966823f5c1823c5c5ed3b9ed5e0a61280ca44e40
[ "MIT" ]
null
null
null
test/ex_orient/db/graph_test.exs
syncrypt/ex_orient
966823f5c1823c5c5ed3b9ed5e0a61280ca44e40
[ "MIT" ]
null
null
null
test/ex_orient/db/graph_test.exs
syncrypt/ex_orient
966823f5c1823c5c5ed3b9ed5e0a61280ca44e40
[ "MIT" ]
1
2021-07-21T07:45:22.000Z
2021-07-21T07:45:22.000Z
defmodule ExOrient.DB.GraphTest do use ExUnit.Case alias ExOrient.DB test "create a vertex" do {query, _} = DB.create(vertex: "V", content: %{message: "hello"}) assert query == "CREATE VERTEX V CONTENT {\"message\":\"hello\"}" end test "create an edge" do {query, _} = DB.create(edge: "E", from: ...
25.8
69
0.603101
216f71875f7c74200d918d7aeb0999e48cade847
10,598
ex
Elixir
lib/elixir/lib/range.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/lib/range.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/lib/range.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Range do @moduledoc """ Ranges represent a sequence of zero, one or many, ascending or descending integers with a common difference called step. Ranges are always inclusive and they may have custom steps. The most common form of creating and matching on ranges is via the [`first..last`](`../2`) a...
28.956284
130
0.600774
216f882ed9a181a07f4b0d7715bd511075da141d
1,171
ex
Elixir
lib/horde/table_utils.ex
cdesch/horde
6a47e90df5755cca51d6a80705b7d49be6bd4ea2
[ "MIT" ]
1,026
2018-05-15T13:46:58.000Z
2022-03-24T02:59:54.000Z
lib/horde/table_utils.ex
cdesch/horde
6a47e90df5755cca51d6a80705b7d49be6bd4ea2
[ "MIT" ]
191
2018-06-04T09:39:37.000Z
2022-03-30T07:04:31.000Z
lib/horde/table_utils.ex
cdesch/horde
6a47e90df5755cca51d6a80705b7d49be6bd4ea2
[ "MIT" ]
109
2018-06-07T07:18:26.000Z
2022-03-21T21:37:21.000Z
defmodule Horde.TableUtils do @moduledoc false def new_table(name) do :ets.new(name, [:set, :protected]) end def size_of(table) do :ets.info(table, :size) end def get_item(table, id) do case :ets.lookup(table, id) do [{_, item}] -> item [] -> nil end end def delete_item(t...
18.587302
55
0.604611
216ff575204a6ef1fa1dee6dd51c1fe79d9ee0e6
9,890
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/firewall.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/firewall.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/firewall.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
91.574074
822
0.73094
216ffff9e0a1db32954dcbb20fb64de5711db497
2,108
ex
Elixir
test/support/conn_case.ex
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
test/support/conn_case.ex
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
test/support/conn_case.ex
paulswartz/arrow
c1ba1ce52107c0ed94ce9bca2fef2bfeb606b8f9
[ "MIT" ]
null
null
null
defmodule ArrowWeb.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 data structures and query the data layer. Finally, if the ...
29.277778
99
0.660342
217023de496d54470f49fa1208c3626b194315b9
900
ex
Elixir
web/controllers/registration_controller.ex
mfunaro/handiman-phoenix
5d94114f37561647096f1695e3f0a3a3d1c7ca34
[ "MIT", "Unlicense" ]
1
2015-08-15T02:40:27.000Z
2015-08-15T02:40:27.000Z
web/controllers/registration_controller.ex
mfunaro/handiman-phoenix
5d94114f37561647096f1695e3f0a3a3d1c7ca34
[ "MIT", "Unlicense" ]
1
2015-09-11T00:02:33.000Z
2015-09-11T03:24:21.000Z
web/controllers/registration_controller.ex
mfunaro/handiman-phoenix
5d94114f37561647096f1695e3f0a3a3d1c7ca34
[ "MIT", "Unlicense" ]
null
null
null
defmodule Handiman.RegistrationController do use Handiman.Web, :controller alias Handiman.User plug :check_access_allowed def new(conn, _params) do changeset = User.changeset(%User{}) render conn, changeset: changeset end def create(conn, %{"user" => user_params}) do changeset = User.changese...
21.95122
72
0.632222
2170251a31f7522ac668c9aba5904aefae213ec3
1,571
exs
Elixir
config/config.exs
cr0t/lexin
bff2997db52a00bf770614630b8684821ab72abc
[ "MIT" ]
null
null
null
config/config.exs
cr0t/lexin
bff2997db52a00bf770614630b8684821ab72abc
[ "MIT" ]
6
2022-01-05T12:51:37.000Z
2022-01-13T09:52:36.000Z
config/config.exs
cr0t/lexin
bff2997db52a00bf770614630b8684821ab72abc
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config # Configure i18n and supported locales config :lexin,...
32.061224
94
0.732654
21704c37490a3c4a82f795d382bc214f475e885e
2,922
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/exchanged_peering_routes_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/exchanged_peering_routes_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/exchanged_peering_routes_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
47.129032
393
0.729295
217055cf5e5ddbda04f25a1cb21313234f42412a
4,117
ex
Elixir
farmbot_firmware/lib/farmbot_firmware/gcode.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_firmware/lib/farmbot_firmware/gcode.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_firmware/lib/farmbot_firmware/gcode.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotFirmware.GCODE do @moduledoc """ Handles encoding and decoding of GCODEs. """ alias FarmbotFirmware.GCODE.{Decoder, Encoder} import Decoder, only: [do_decode: 2] import Encoder, only: [do_encode: 2] @typedoc "Tag is a binary integer. example: `\"123\"`" @type tag() :: nil | binary() ...
28.19863
86
0.586835
21707ccce7b6e67cd5ee779438ecc4043e30e20d
45,519
ex
Elixir
lib/phoenix_live_view.ex
vivkr/phoenix_live_view
11060451c3da4ae7bf8ee20b32478907de870e24
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
vivkr/phoenix_live_view
11060451c3da4ae7bf8ee20b32478907de870e24
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
vivkr/phoenix_live_view
11060451c3da4ae7bf8ee20b32478907de870e24
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView do @moduledoc ~S''' LiveView provides rich, real-time user experiences with server-rendered HTML. The LiveView programming model is declarative: instead of saying "once event X happens, change Y on the page", events in LiveView are regular messages which may cause changes to it...
36.797898
148
0.682484
21709586053c9e4b388bae0db27a29de6c2c6993
791
ex
Elixir
lib/day_02.ex
robindaumann/aoc-2021
6dc64f205e1a9b2eb590089558c931e79b6f07d3
[ "MIT" ]
null
null
null
lib/day_02.ex
robindaumann/aoc-2021
6dc64f205e1a9b2eb590089558c931e79b6f07d3
[ "MIT" ]
null
null
null
lib/day_02.ex
robindaumann/aoc-2021
6dc64f205e1a9b2eb590089558c931e79b6f07d3
[ "MIT" ]
null
null
null
defmodule Day02 do def part1(path) do solve(path, {0, 0}, &step/2) |> Tuple.product() end def part2(path) do solve(path, {0, 0, 0}, &step2/2) |> Tuple.delete_at(2) |> Tuple.product() end defp solve(path, start, step) do Aoc.lines(path) |> Enum.map(&parse/1) |> Enum.reduce(start, step) ...
27.275862
77
0.534766
2170ba7248892390e8d55f5e0556fce77cc37379
1,203
exs
Elixir
test/models/tp_charger_test.exs
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
test/models/tp_charger_test.exs
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
test/models/tp_charger_test.exs
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
defmodule CgratesWebJsonapi.TpChargerTest do use CgratesWebJsonapi.ModelCase alias CgratesWebJsonapi.TpCharger alias CgratesWebJsonapi.Repo import CgratesWebJsonapi.Factory @valid_attrs %{tenant: "some content", custom_id: "true", filter_ids: "some content", activation_interval: "some conte...
30.075
81
0.669992
2170bd7ac47e8c8c58741706dc946cb597dd430c
918
exs
Elixir
rumbl/config/config.exs
uzumakitensho/phoenix-projects
630904c7201b6ca0f6605b6626c8b5bec9deef70
[ "MIT" ]
null
null
null
rumbl/config/config.exs
uzumakitensho/phoenix-projects
630904c7201b6ca0f6605b6626c8b5bec9deef70
[ "MIT" ]
null
null
null
rumbl/config/config.exs
uzumakitensho/phoenix-projects
630904c7201b6ca0f6605b6626c8b5bec9deef70
[ "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 # General application configuration config :rumbl, ecto_repos: [Rumbl.Repo] # Conf...
32.785714
86
0.75817
2170bf66e420f4effa745f5d4bea22abc80a6f85
1,725
ex
Elixir
web/router.ex
olsv/phoenix_app_template
f55b1faddd32b09ce7c11e667bbc9e73e2c80fbf
[ "MIT" ]
null
null
null
web/router.ex
olsv/phoenix_app_template
f55b1faddd32b09ce7c11e667bbc9e73e2c80fbf
[ "MIT" ]
null
null
null
web/router.ex
olsv/phoenix_app_template
f55b1faddd32b09ce7c11e667bbc9e73e2c80fbf
[ "MIT" ]
null
null
null
defmodule PhoenixAppTemplate.Router do use PhoenixAppTemplate.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :browser_session do plug Guardian.Plug.VerifySession ...
30.263158
92
0.718841
2170c8c4894289ab746c56dc25d8b8305d64ee7a
2,907
ex
Elixir
apps/core/lib/core_web/plugs/test_end_to_end.ex
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
apps/core/lib/core_web/plugs/test_end_to_end.ex
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
apps/core/lib/core_web/plugs/test_end_to_end.ex
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
defmodule Legendary.CoreWeb.Plug.TestEndToEnd do @moduledoc """ Provides an API used by Cypress to remote control the database state for integration tests. """ use Plug.Router plug :match plug :dispatch, builder_opts() post "/db/setup" do # If the agent is registered and alive, a db connection is ...
33.413793
89
0.641555
2170d2feb3ec06277e3266d2d894847810aa7e5c
26,583
ex
Elixir
lib/morphix.ex
vqcheslav-kara/morphix
aa0f13c7c28151e612f9861f430a90e0e4fb3a8a
[ "MIT" ]
null
null
null
lib/morphix.ex
vqcheslav-kara/morphix
aa0f13c7c28151e612f9861f430a90e0e4fb3a8a
[ "MIT" ]
null
null
null
lib/morphix.ex
vqcheslav-kara/morphix
aa0f13c7c28151e612f9861f430a90e0e4fb3a8a
[ "MIT" ]
null
null
null
defmodule Morphix do @moduledoc """ Morphix provides convenience methods for dealing with Maps, Lists, and Tuples. `morphiflat/1` and `morphiflat!/1` flatten maps, discarding top level keys. ### Examples: ``` iex> Morphix.morphiflat %{flatten: %{this: "map"}, if: "you please"} {:ok, %{this: "map", if: ...
30.696305
307
0.592446
2170fc8a32405cc6c5710e2f019f88d69f020666
5,692
exs
Elixir
test/mastani_server_web/query/accounts/stared_contents_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
test/mastani_server_web/query/accounts/stared_contents_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
test/mastani_server_web/query/accounts/stared_contents_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Test.Query.Accounts.StaredContents do use MastaniServer.TestTools alias MastaniServer.CMS @total_count 20 setup do {:ok, user} = db_insert(:user) {:ok, posts} = db_insert_multi(:post, @total_count) {:ok, jobs} = db_insert_multi(:job, @total_count) {:ok, videos} = db_in...
28.893401
87
0.567814
21711f7eb50046114778ee8e3658d488b3276901
5,843
ex
Elixir
lib/flex.ex
dangdennis/flow-elixir-sdk
03ddc52c5951486bd80488f6fe2328f8ebfaa5bc
[ "MIT" ]
1
2021-04-09T06:28:53.000Z
2021-04-09T06:28:53.000Z
lib/flex.ex
dangdennis/flow-elixir-sdk
03ddc52c5951486bd80488f6fe2328f8ebfaa5bc
[ "MIT" ]
null
null
null
lib/flex.ex
dangdennis/flow-elixir-sdk
03ddc52c5951486bd80488f6fe2328f8ebfaa5bc
[ "MIT" ]
null
null
null
defmodule Flex do use GRPC.Server, service: Flow.Access.AccessAPI.Service @moduledoc """ Documentation for `Flex`. """ @spec new(%{url: binary}) :: GRPC.Channel.t() @doc """ Create a network connection. """ def new(%{:url => url}) when is_binary(url) do {:ok, channel} = GRPC.Stub.connect(url, in...
30.274611
110
0.592846
217126123a5d4c3a4be113a6566d0c7114b4d8fa
560
exs
Elixir
src/math.exs
moritzploss/learnElixir
2a46f4368223162b3a716298bb66bf35734dde33
[ "MIT" ]
null
null
null
src/math.exs
moritzploss/learnElixir
2a46f4368223162b3a716298bb66bf35734dde33
[ "MIT" ]
null
null
null
src/math.exs
moritzploss/learnElixir
2a46f4368223162b3a716298bb66bf35734dde33
[ "MIT" ]
null
null
null
defmodule Math do def double(n), do: n * 2 def triple(n), do: n * 3 def quadruple(n), do: double(double(n)) def factorial(0), do: 1 def factorial(n) when is_integer(n) and n > 0 do n * factorial(n - 1) end def sum(0), do: 0 def sum(n), do: n + sum(n - 1) def greatestCommonDivisor(x, 0), do: x ...
22.4
74
0.6625
21714519a85194729c57b5a09bcaa5f579d50f0a
3,735
exs
Elixir
test/grizzly/command_class/powerlevel/test_node_set_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
test/grizzly/command_class/powerlevel/test_node_set_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
test/grizzly/command_class/powerlevel/test_node_set_test.exs
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.CommandClass.Powerlevel.TestNodeSet.TestNodeSetTest do use ExUnit.Case, async: true alias Grizzly.Packet alias Grizzly.CommandClass.Powerlevel.TestNodeSet alias Grizzly.CommandClass.Powerlevel alias Grizzly.Command.EncodeError describe "implements the Grizzly command behaviour" do te...
28.730769
95
0.617671
2171467c660a59e62d4288e9c8a465bbdebe8b9e
285
exs
Elixir
priv/repo/migrations/20160720221809_drop_registries.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
priv/repo/migrations/20160720221809_drop_registries.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
priv/repo/migrations/20160720221809_drop_registries.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule Hexpm.Repo.Migrations.DropRegistries do use Ecto.Migration def up() do drop(table(:registries)) end def down() do create table(:registries) do add(:state, :string) add(:inserted_at, :datetime) add(:started_at, :datetime) end end end
17.8125
49
0.65614
2171722e936db2ca31e23db17275815df5b9773b
761
ex
Elixir
lib/conduit_nsq/consumer_group.ex
DigixGlobal/nascent
37f99ce5a6881fbe56786d7eaf5419e0d86fc3eb
[ "MIT" ]
null
null
null
lib/conduit_nsq/consumer_group.ex
DigixGlobal/nascent
37f99ce5a6881fbe56786d7eaf5419e0d86fc3eb
[ "MIT" ]
null
null
null
lib/conduit_nsq/consumer_group.ex
DigixGlobal/nascent
37f99ce5a6881fbe56786d7eaf5419e0d86fc3eb
[ "MIT" ]
null
null
null
defmodule ConduitNSQ.ConsumerGroup do @moduledoc """ Manages consumers """ use Supervisor def start_link(broker, subscribers, opts) do Supervisor.start_link( __MODULE__, [broker, subscribers, opts], name: name(broker) ) end def child_spec([broker, _, _] = args) do %{ ...
19.512821
61
0.629435
21717b8d8c7a94ef8f0217e2989f25ffe2178c8e
1,802
exs
Elixir
architect/test/architect_web/queries/known_hosts_queries_test.exs
VJftw/velocity
8335c39c510dbde1446e6cde03eebb450339d212
[ "Apache-2.0" ]
3
2017-12-09T21:05:54.000Z
2019-08-06T08:13:34.000Z
architect/test/architect_web/queries/known_hosts_queries_test.exs
VJftw/velocity
8335c39c510dbde1446e6cde03eebb450339d212
[ "Apache-2.0" ]
63
2017-09-09T15:44:24.000Z
2022-03-03T22:16:24.000Z
architect/test/architect_web/queries/known_hosts_queries_test.exs
VJftw/velocity
8335c39c510dbde1446e6cde03eebb450339d212
[ "Apache-2.0" ]
5
2017-09-14T00:17:22.000Z
2019-11-27T14:43:45.000Z
defmodule ArchitectWeb.Queries.KnownHostsTest do alias Architect.KnownHosts.KnownHost use ArchitectWeb.ConnCase import Kronky.TestHelper alias Architect.Repo @known_hosts [ %KnownHost{ entry: "github.com ssh-rsa ...", host: "github.com", fingerprint_sha256: "SHA256:nThbg6kXUpJWGl7E1IGOC...
23.710526
79
0.585461
21717cc769e89bb36ffd2f48cc68f2cb6fcd0779
2,253
ex
Elixir
lib/phoenix_starter/users/user_notifier.ex
newaperio/phoenix_starter
02f2f5550a94b940bb4e9c61042b032f54af8b72
[ "MIT" ]
3
2021-03-19T10:39:02.000Z
2021-07-25T19:54:09.000Z
lib/phoenix_starter/users/user_notifier.ex
newaperio/phoenix_starter
02f2f5550a94b940bb4e9c61042b032f54af8b72
[ "MIT" ]
204
2020-11-27T06:00:31.000Z
2022-03-25T08:08:16.000Z
lib/phoenix_starter/users/user_notifier.ex
newaperio/phoenix_starter
02f2f5550a94b940bb4e9c61042b032f54af8b72
[ "MIT" ]
null
null
null
defmodule PhoenixStarter.Users.UserNotifier do @moduledoc """ Delivers notifications to `PhoenixStarter.Users.User`s. """ alias PhoenixStarter.Users.User alias PhoenixStarter.Users.UserEmail alias PhoenixStarter.Mailer alias PhoenixStarter.Workers.UserEmailWorker @type notifier_result :: {:ok...
30.863014
93
0.702175
217186a769dd9ba7e156fa8a453c7dcfc76ad650
954
exs
Elixir
packages/api/config/test.exs
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
1
2022-02-10T20:08:10.000Z
2022-02-10T20:08:10.000Z
packages/api/config/test.exs
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
null
null
null
packages/api/config/test.exs
ErikSkare/Meower
ddc5c75004111aa64587994f27085bba1c5bd377
[ "MIT" ]
null
null
null
import Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :api, Api.Repo, username: "postgres", password: "postgres", database: "api_test#{System.get_env("MIX_TE...
30.774194
86
0.752621
2171b49a1b1edff7af844cdcbd4286996f73e849
1,067
exs
Elixir
mix.exs
chazsconi/k8s_deploy
fb8746f766e3de18908ab55c82f9f26494f0a112
[ "MIT" ]
null
null
null
mix.exs
chazsconi/k8s_deploy
fb8746f766e3de18908ab55c82f9f26494f0a112
[ "MIT" ]
null
null
null
mix.exs
chazsconi/k8s_deploy
fb8746f766e3de18908ab55c82f9f26494f0a112
[ "MIT" ]
null
null
null
defmodule DockerBuild.MixProject do use Mix.Project def project do [ app: :docker_build, version: "0.6.0", elixir: ">= 1.9.0", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), name: "DockerBuild", source_url...
19.4
78
0.584817
2171dc8ee68bc6e9585b8a86b0d611f838a32bf6
445
exs
Elixir
learningElixir/test/learningElixir_web/views/error_view_test.exs
Maxweston/learning-elixir
7b80372d25410377404ddb55632f35e964b42c1a
[ "MIT" ]
null
null
null
learningElixir/test/learningElixir_web/views/error_view_test.exs
Maxweston/learning-elixir
7b80372d25410377404ddb55632f35e964b42c1a
[ "MIT" ]
null
null
null
learningElixir/test/learningElixir_web/views/error_view_test.exs
Maxweston/learning-elixir
7b80372d25410377404ddb55632f35e964b42c1a
[ "MIT" ]
null
null
null
defmodule LearningElixirWeb.ErrorViewTest do use LearningElixirWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(LearningElixirWeb.ErrorView, "404.html", []) == "Not Found" end test "render...
29.666667
99
0.750562
2171fd982d68e5222087f821fdf89c3895e6e878
1,125
exs
Elixir
config/config.exs
fuelen/pico_sm
5f03bd04f206d6939b1cc28b05580dfcd65a910f
[ "Apache-2.0" ]
4
2019-08-15T07:32:20.000Z
2022-03-21T09:08:12.000Z
config/config.exs
fuelen/pico_sm
5f03bd04f206d6939b1cc28b05580dfcd65a910f
[ "Apache-2.0" ]
null
null
null
config/config.exs
fuelen/pico_sm
5f03bd04f206d6939b1cc28b05580dfcd65a910f
[ "Apache-2.0" ]
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...
36.290323
73
0.750222
2171ff003378c745eee4ec5daabbd2fddc95960b
1,057
ex
Elixir
lib/hex.ex
AnilRedshift/wand-cli
c364cf5397353fd61ba0e5fc33225575eb72ccda
[ "BSD-3-Clause" ]
3
2018-07-01T05:31:02.000Z
2019-08-03T04:11:32.000Z
lib/hex.ex
AnilRedshift/wand-cli
c364cf5397353fd61ba0e5fc33225575eb72ccda
[ "BSD-3-Clause" ]
8
2018-06-28T07:30:04.000Z
2018-07-13T07:36:56.000Z
lib/hex.ex
AnilRedshift/wand-cli
c364cf5397353fd61ba0e5fc33225575eb72ccda
[ "BSD-3-Clause" ]
null
null
null
defmodule Wand.Hex do @moduledoc false alias HTTPoison.{Error, Response} @http Wand.Interfaces.Http.impl() @base "https://hex.pm/" @headers [{"Accept", "application/json"}] def releases(package) do URI.parse(@base) |> URI.merge("/api/packages/#{URI.encode(package)}") |> @http.get(@headers) ...
26.425
72
0.628193
217211d5c772613a41b5302404ff7316ea9c0067
6,743
ex
Elixir
web/channels/game_channel.ex
deerob4/words-with-enemies
f9de13d599bdecc71007db57d3c21651b9be7463
[ "MIT" ]
1
2015-02-15T23:50:29.000Z
2015-02-15T23:50:29.000Z
web/channels/game_channel.ex
deerob4/words-with-enemies
f9de13d599bdecc71007db57d3c21651b9be7463
[ "MIT" ]
null
null
null
web/channels/game_channel.ex
deerob4/words-with-enemies
f9de13d599bdecc71007db57d3c21651b9be7463
[ "MIT" ]
null
null
null
defmodule WordsWithEnemies.GameChannel do @moduledoc """ Contains callbacks that control the actual gameplay. """ use WordsWithEnemies.Web, :channel import WordsWithEnemies.WordFinder, only: [word_list: 0, using: 2] alias WordsWithEnemies.{Game, Letters, WordFinder, Hints, Player} alias WordsWithEnemie...
29.704846
106
0.663355
2172230b657515a9ff93b1b35f206471b5a0e1db
14,631
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/zone_operations.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/zone_operations.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/zone_operations.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...
47.349515
434
0.640968
21725382bf0c7c24ad7e3182ec32cb833525026f
9
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_pipe_operation_parsing_test_case/UnknownBaseWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_pipe_operation_parsing_test_case/UnknownBaseWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_pipe_operation_parsing_test_case/UnknownBaseWholeNumber.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
0z0 | 0z1
9
9
0.666667
21726303daf4ecdb73ef109f510beb43ef42bb73
175
exs
Elixir
elixir/priv/repo/migrations/20160702173805_create_user.exs
afronski/playground-graphql
903f3dc25e64fe6f45903a130cdb8d4b64990cf5
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/20160702173805_create_user.exs
afronski/playground-graphql
903f3dc25e64fe6f45903a130cdb8d4b64990cf5
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/20160702173805_create_user.exs
afronski/playground-graphql
903f3dc25e64fe6f45903a130cdb8d4b64990cf5
[ "MIT" ]
null
null
null
defmodule Blog.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :name, :string timestamps() end end end
13.461538
44
0.662857
21727c74819c5c795853327a97a63be38c6c5b6a
137
ex
Elixir
apps/ecto_gen_error_reproduce/lib/ecto_gen_error_reproduce/repo.ex
TheMaikXX/ecto_gen_error_reproduce_umbrella
14af47d24b17a9478c4a67715995fa45fc9cc02a
[ "MIT" ]
null
null
null
apps/ecto_gen_error_reproduce/lib/ecto_gen_error_reproduce/repo.ex
TheMaikXX/ecto_gen_error_reproduce_umbrella
14af47d24b17a9478c4a67715995fa45fc9cc02a
[ "MIT" ]
null
null
null
apps/ecto_gen_error_reproduce/lib/ecto_gen_error_reproduce/repo.ex
TheMaikXX/ecto_gen_error_reproduce_umbrella
14af47d24b17a9478c4a67715995fa45fc9cc02a
[ "MIT" ]
null
null
null
defmodule EctoGenErrorReproduce.Repo do use Ecto.Repo, otp_app: :ecto_gen_error_reproduce, adapter: Ecto.Adapters.Postgres end
22.833333
39
0.788321
21727f33993f9d6f1048422b535299e4481c45fb
3,983
ex
Elixir
farmbot_firmware/lib/farmbot_firmware/command.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
farmbot_firmware/lib/farmbot_firmware/command.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
farmbot_firmware/lib/farmbot_firmware/command.ex
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
defmodule FarmbotFirmware.Command do @moduledoc false # sister module to FarmbotFirmware.Request # see docs for FarmbotFirmware.command/1 alias FarmbotFirmware alias FarmbotFirmware.GCODE require Logger @spec command(GenServer.server(), GCODE.t() | {GCODE.kind(), GCODE.args()}) :: :ok ...
33.470588
87
0.602059
2172915781a43830c2da95e248e684e27d19a14a
88
exs
Elixir
apps/temporario_web/test/temporario_web/views/layout_view_test.exs
achedeuzot/temporar.io
acbec140732614070996924633f254b56e56131f
[ "MIT" ]
2
2019-04-16T18:46:36.000Z
2020-09-18T12:58:57.000Z
apps/temporario_web/test/temporario_web/views/layout_view_test.exs
achedeuzot/temporar.io
acbec140732614070996924633f254b56e56131f
[ "MIT" ]
6
2019-01-06T11:13:39.000Z
2022-02-10T15:15:24.000Z
apps/temporario_web/test/temporario_web/views/layout_view_test.exs
achedeuzot/temporar.io
acbec140732614070996924633f254b56e56131f
[ "MIT" ]
null
null
null
defmodule TemporarioWeb.LayoutViewTest do use TemporarioWeb.ConnCase, async: true end
22
41
0.840909