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
658b696554a4f9477957bee6f4c14280ce14c468
1,864
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/model/conference_solution.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/calendar/lib/google_api/calendar/v3/model/conference_solution.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/calendar/lib/google_api/calendar/v3/model/conference_solution.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.169811
171
0.719421
658bda363fe9e746f98980e358e27c39c63e818d
896
ex
Elixir
clients/data_fusion/lib/google_api/data_fusion/v1beta1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/data_fusion/lib/google_api/data_fusion/v1beta1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/data_fusion/lib/google_api/data_fusion/v1beta1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.185185
74
0.762277
658be62c5cd66cf9bab0d55709df5150305433da
2,013
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/env_var.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/env_var.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/env_var.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# 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...
39.470588
482
0.743666
658be7d6d9446757ef78694db10c7706b6edb027
706
exs
Elixir
apps/elixir.mastery_persistence/mix.exs
grekko/mastery
f80dfcb660f23187970442ea237e4128ce3ac262
[ "MIT" ]
null
null
null
apps/elixir.mastery_persistence/mix.exs
grekko/mastery
f80dfcb660f23187970442ea237e4128ce3ac262
[ "MIT" ]
null
null
null
apps/elixir.mastery_persistence/mix.exs
grekko/mastery
f80dfcb660f23187970442ea237e4128ce3ac262
[ "MIT" ]
null
null
null
defmodule MasteryPersistence.MixProject do use Mix.Project def project do [ app: :mastery_persistence, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application ...
22.0625
87
0.577904
658be85ecc3dc0770413008ddd8f6eb08730c296
1,745
ex
Elixir
clients/content/lib/google_api/content/v2/model/orderinvoices_create_charge_invoice_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orderinvoices_create_charge_invoice_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orderinvoices_create_charge_invoice_response.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...
34.215686
171
0.753582
658c20a4d7830f8cc8ce578793cbc4c833de546f
556
exs
Elixir
exercises/nucleotide-count/nucleotide_count.exs
Tuxified/elixir
6230e2237851cf35532b6a34e4c67b44a28cde1b
[ "MIT" ]
null
null
null
exercises/nucleotide-count/nucleotide_count.exs
Tuxified/elixir
6230e2237851cf35532b6a34e4c67b44a28cde1b
[ "MIT" ]
null
null
null
exercises/nucleotide-count/nucleotide_count.exs
Tuxified/elixir
6230e2237851cf35532b6a34e4c67b44a28cde1b
[ "MIT" ]
1
2018-07-19T23:43:56.000Z
2018-07-19T23:43:56.000Z
defmodule NucleotideCount do @nucleotides [?A, ?C, ?G, ?T] @doc """ Counts individual nucleotides in a DNA strand. ## Examples iex> NucleotideCount.count('AATAA', ?A) 4 iex> NucleotideCount.count('AATAA', ?T) 1 """ @spec count([char], char) :: non_neg_integer def count(strand, nucleotide) do ...
17.935484
48
0.618705
658c2614b94d80e220a11b936ec59166cc11b462
15,875
ex
Elixir
lib/challenge_gov/submissions.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
null
null
null
lib/challenge_gov/submissions.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
null
null
null
lib/challenge_gov/submissions.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
null
null
null
defmodule ChallengeGov.Submissions do @moduledoc """ Context for Submissions """ @behaviour Stein.Filter import Ecto.Query alias ChallengeGov.Accounts alias ChallengeGov.Emails alias ChallengeGov.GovDelivery alias ChallengeGov.Mailer alias ChallengeGov.Repo alias ChallengeGov.SecurityLogs ali...
27.276632
101
0.637606
658c3a727bfb8989560a9e1fffb2850d73604edb
1,771
exs
Elixir
apps/ldap_wrapper/test/ldap_wrapper/erlang_converter_test.exs
puppetlabs/openrobby
a4b70939ee1b878d44cb09d757b7f72e7109ac5d
[ "Apache-2.0" ]
3
2021-04-16T21:54:55.000Z
2021-04-30T22:15:41.000Z
apps/ldap_wrapper/test/ldap_wrapper/erlang_converter_test.exs
puppetlabs/openrobby
a4b70939ee1b878d44cb09d757b7f72e7109ac5d
[ "Apache-2.0" ]
1
2021-06-29T15:54:19.000Z
2021-06-29T15:54:19.000Z
apps/ldap_wrapper/test/ldap_wrapper/erlang_converter_test.exs
puppetlabs/openrobby
a4b70939ee1b878d44cb09d757b7f72e7109ac5d
[ "Apache-2.0" ]
2
2021-04-16T22:23:16.000Z
2021-05-26T15:52:55.000Z
defmodule LdapWrapper.ErlangConverterTest do use ExUnit.Case alias LdapWrapper.ErlangConverter test "convert_to_erlang of a string gives a char list" do assert ErlangConverter.convert_to_erlang("ldap.example.com") == 'ldap.example.com' assert ErlangConverter.convert_to_erlang("Sören") == [83, 195, 182, 1...
37.680851
102
0.670807
658c7a09e49ce0d90540538f5837d1c6cada89fc
906
exs
Elixir
test/oli/delivery/paywall/providers/stripe_currency_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
test/oli/delivery/paywall/providers/stripe_currency_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
test/oli/delivery/paywall/providers/stripe_currency_test.exs
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Delivery.Paywall.Providers.StripeCurrencyTest do use ExUnit.Case, async: true alias Oli.Delivery.Paywall.Providers.Stripe describe "converts amounts" do test "it handles value portions correctly" do # Test variations of a regular (decimal having) currency assert {10000, _} = Stripe...
37.75
75
0.682119
658c95343861a880cd4b4d025eb208f215b3d094
1,327
ex
Elixir
lib/aql/sort.ex
elbow-jason/durango
a31b5636789ef275f19963343eda03d10ebc3ca0
[ "MIT" ]
7
2018-03-04T14:33:46.000Z
2020-10-26T17:32:23.000Z
lib/aql/sort.ex
elbow-jason/durango
a31b5636789ef275f19963343eda03d10ebc3ca0
[ "MIT" ]
5
2018-08-01T07:29:02.000Z
2018-12-31T12:59:16.000Z
lib/aql/sort.ex
elbow-jason/durango
a31b5636789ef275f19963343eda03d10ebc3ca0
[ "MIT" ]
null
null
null
defmodule Durango.AQL.Sort do alias Durango.{Query, Dsl} defmacro inject_parser() do quote do alias Durango.Query def parse_query(%Query{} = q, [{:sort, {by_items, modifier}} | rest]) do items_token = Durango.AQL.Sort.render_items(by_items) modifier_token = Durango.AQL.Sort.render...
24.574074
78
0.590053
658cb69c462179d0237a10e4427e7d00626ff633
2,219
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/addresses_scoped_list_warning.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/model/addresses_scoped_list_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/addresses_scoped_list_warning.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
41.092593
194
0.727355
658cc2364ac1bdad5b734b634f61039508008a4f
559
ex
Elixir
episode-014/elm_is_fun/web/router.ex
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
84
2016-07-02T05:21:36.000Z
2021-02-12T22:45:45.000Z
episode-014/elm_is_fun/web/router.ex
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
3
2016-07-02T06:03:47.000Z
2017-06-03T14:11:06.000Z
episode-014/elm_is_fun/web/router.ex
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
6
2017-02-16T19:33:49.000Z
2019-04-05T19:27:17.000Z
defmodule ElmIsFun.Router do use ElmIsFun.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 :api do plug :accepts, ["json"] end scope "/", ElmIsFun do pip...
19.964286
57
0.667263
658cd9bf11027cb066dc96da5ab1b61988913d33
277
ex
Elixir
apps/tai/lib/tai/venues/boot/stream.ex
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
null
null
null
apps/tai/lib/tai/venues/boot/stream.ex
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
null
null
null
apps/tai/lib/tai/venues/boot/stream.ex
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
1
2020-05-03T23:32:11.000Z
2020-05-03T23:32:11.000Z
defmodule Tai.Venues.Boot.Stream do @type venue :: Tai.Venue.t() @type product :: Tai.Venues.Product.t() @spec start(venue, [product]) :: DynamicSupervisor.on_start_child() def start(venue, products), do: Tai.Venues.StreamsSupervisor.start_stream(venue, products) end
34.625
92
0.740072
658d151efb0860a414cd50c7f0d8390c553aa8a0
15,146
exs
Elixir
test/phoenix/test/conn_test.exs
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
test/phoenix/test/conn_test.exs
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
test/phoenix/test/conn_test.exs
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
defmodule Phoenix.Test.ConnTest.CatchAll do def init(opts), do: opts def call(conn, :stat), do: conn.params["action"].(conn) def call(conn, _opts), do: Plug.Conn.assign(conn, :catch_all, true) end defmodule Phoenix.Test.ConnTest.RedirRouter do use Phoenix.Router alias Phoenix.Test.ConnTest.CatchAll get "/...
30.910204
145
0.61541
658d161ade64abdeae8cf60f3a12946f5f9ada4b
14,687
ex
Elixir
lib/faker/name/es.ex
theabrad/faker
7bf54d15f127a2fb845335967b5b601e67960ef0
[ "MIT" ]
1
2019-02-11T20:46:52.000Z
2019-02-11T20:46:52.000Z
lib/faker/name/es.ex
echenim/faker
15172b7d9c2b7711173a5faf3e45bfc4e45d6a97
[ "MIT" ]
57
2018-12-24T10:39:32.000Z
2020-12-28T10:13:00.000Z
lib/faker/name/es.ex
echenim/faker
15172b7d9c2b7711173a5faf3e45bfc4e45d6a97
[ "MIT" ]
1
2019-02-03T17:04:21.000Z
2019-02-03T17:04:21.000Z
defmodule Faker.Name.Es do import Faker, only: [sampler: 2] @moduledoc """ Functions for name data in Spanish """ @doc """ Returns a complete name (may include a suffix/prefix or both) ## Examples iex> Faker.Name.Es.name() "Sta. Daniela Agosto MD" iex> Faker.Name.Es.name() "Alf...
15.203934
76
0.465378
658d178c9e85c2a37638472ce60c7b6f768ec8bd
2,024
exs
Elixir
config/prod.exs
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
config/prod.exs
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
config/prod.exs
jespr/ex_blog_example
0a014d4b88b224210a7e15d7c60521aff05059c9
[ "Unlicense" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
32.645161
67
0.718379
658d4965468249808fa7c5bab862c07f3dfc067a
4,898
exs
Elixir
test/process_managers/process_manager_error_handling_test.exs
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1
2020-02-19T01:07:32.000Z
2020-02-19T01:07:32.000Z
test/process_managers/process_manager_error_handling_test.exs
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
null
null
null
test/process_managers/process_manager_error_handling_test.exs
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1
2020-02-18T20:53:39.000Z
2020-02-18T20:53:39.000Z
defmodule Commanded.ProcessManager.ProcessManagerErrorHandlingTest do use Commanded.StorageCase alias Commanded.ProcessManagers.DefaultErrorHandlingProcessManager alias Commanded.ProcessManagers.ErrorApp alias Commanded.ProcessManagers.ErrorHandlingProcessManager alias Commanded.ProcessManagers.ErrorRouter ...
31.805195
84
0.687015
658d6c2eedb1a5f0c035c1d315bc25ecf4656520
119,307
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/api/accounts.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/api/accounts.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/api/accounts.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
44.801727
196
0.620835
658d73dbba8cebce005089f58ac4c6b07f3e1305
1,019
ex
Elixir
ex_github/lib/ex_github/application.ex
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
ex_github/lib/ex_github/application.ex
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
ex_github/lib/ex_github/application.ex
arilsonsouza/rocketseat-ignite-elixir
93e32d52d589336dfd2d81e755d6dd7f05ee40b8
[ "MIT" ]
null
null
null
defmodule ExGithub.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository ExGithub.Repo, # Start the Telemetry supervisor ExGit...
29.114286
66
0.704612
658d7bdbaad7a8413364d2dc62821911fcf84c6a
1,648
ex
Elixir
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_send_verification_code_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_send_verification_code_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/identitytoolkit_relyingparty_send_verification_code_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.692308
103
0.76335
658daca46ebcd0f2b077d1c56243102f4556487b
1,217
ex
Elixir
apps/api/lib/api/plugs/responder.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/api/lib/api/plugs/responder.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/api/lib/api/plugs/responder.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule API.Plugs.Responder do @moduledoc """ Handles sending a response from a conn that has both `:api_version` and `:response` assigns set. """ alias API.ErrorEnhancer alias API.View.Error alias API.View.Success alias Plug.Conn @response_content_type "application/json" def init(options), do: o...
24.34
98
0.67954
658dc85e179097ca657599f6f21fe84b79fd89ff
1,557
exs
Elixir
test/regressions/i078_escaped_escapes_escape_backtix_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/regressions/i078_escaped_escapes_escape_backtix_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/regressions/i078_escaped_escapes_escape_backtix_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
1
2020-03-31T19:53:15.000Z
2020-03-31T19:53:15.000Z
defmodule Regressions.I078EscapedEscapesEscapeBacktixTest do use ExUnit.Case import ExUnit.CaptureIO defp open_file(filename) do case File.open(filename, [:utf8]) do {:ok, device} -> device {:error, reason} -> IO.puts(:stderr, "Unable to open file: #{filename}, #{reason}") end end defp h...
31.14
89
0.635838
658dd517e9f5a7ed628004b2e9b9e3d2960b0dc9
206
exs
Elixir
demos/brella_demo_umbrella/apps/brella_demo_web/test/brella_demo_web/controllers/page_controller_test.exs
axelson/priv_check
ba4228881edbf16ac61b0e006537de517c7f6f06
[ "MIT" ]
8
2020-03-15T19:22:02.000Z
2021-09-28T11:00:18.000Z
demos/brella_demo_umbrella/apps/brella_demo_web/test/brella_demo_web/controllers/page_controller_test.exs
axelson/priv_check
ba4228881edbf16ac61b0e006537de517c7f6f06
[ "MIT" ]
7
2020-03-11T06:21:57.000Z
2020-11-15T19:48:54.000Z
demos/brella_demo_umbrella/apps/brella_demo_web/test/brella_demo_web/controllers/page_controller_test.exs
axelson/priv_check
ba4228881edbf16ac61b0e006537de517c7f6f06
[ "MIT" ]
null
null
null
defmodule BrellaDemoWeb.PageControllerTest do use BrellaDemoWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.888889
60
0.68932
658de1bf41421c3ebd96e77347afc2f435e0a6aa
269
ex
Elixir
fixtures/elixir/post_with_single_quotes_inside_double_quotes.ex
rokoo/curlconverter
62ffa2c3a8d285ad155c98000e1257bfed268108
[ "MIT" ]
null
null
null
fixtures/elixir/post_with_single_quotes_inside_double_quotes.ex
rokoo/curlconverter
62ffa2c3a8d285ad155c98000e1257bfed268108
[ "MIT" ]
null
null
null
fixtures/elixir/post_with_single_quotes_inside_double_quotes.ex
rokoo/curlconverter
62ffa2c3a8d285ad155c98000e1257bfed268108
[ "MIT" ]
null
null
null
request = %HTTPoison.Request{ method: :post, url: "http://example.com/", options: [], headers: [ {~s|Content-Type|, ~s|application/x-www-form-urlencoded|}, ], params: [], body: [ {~s|foo|, ~s|\'bar\'|} ] } response = HTTPoison.request(request)
17.933333
62
0.576208
658de823048942df0ec770c102ff55cf5d79d5bb
19,441
exs
Elixir
test/ex_doc/formatter/html/templates_test.exs
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
test/ex_doc/formatter/html/templates_test.exs
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
test/ex_doc/formatter/html/templates_test.exs
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Formatter.HTML.TemplatesTest do use ExUnit.Case, async: true alias ExDoc.Formatter.HTML alias ExDoc.Formatter.HTML.Templates @empty_nodes_map %{modules: [], exceptions: [], protocols: [], tasks: []} defp source_url do "https://github.com/elixir-lang/elixir" end defp homepage_url do...
38.573413
224
0.577491
658de85db7bfee030a4db803ca0a630849f2e1a8
497
ex
Elixir
lib/live_dendron/tree_editor/name_holder.ex
kuroda/live_dendron
dd21ed5c53456765ea0c50a22bdf915c0c55c92f
[ "MIT" ]
5
2019-07-27T14:57:38.000Z
2020-11-01T00:26:32.000Z
lib/live_dendron/tree_editor/name_holder.ex
kuroda/live_dendron
dd21ed5c53456765ea0c50a22bdf915c0c55c92f
[ "MIT" ]
6
2019-07-29T03:45:23.000Z
2021-05-10T03:49:39.000Z
lib/live_dendron/tree_editor/name_holder.ex
kuroda/live_dendron
dd21ed5c53456765ea0c50a22bdf915c0c55c92f
[ "MIT" ]
2
2019-07-29T02:17:02.000Z
2020-02-17T17:59:05.000Z
defmodule LiveDendron.TreeEditor.NameHolder do use Ecto.Schema import Ecto.Changeset embedded_schema do field(:name, :string) end @required_fields [:name] @doc false def changeset(cs, attrs) do cs |> cast(attrs, @required_fields) |> validate_required(@required_fields) end @doc fals...
18.407407
49
0.668008
658deab65c735915f69f5139ec6bc5ebabe03789
1,792
ex
Elixir
elixir/lib/homework_web/schemas/transactions_schema.ex
Koyamot/Divvy-EngineerExercise
de2f2c0d1ad461b2bbb937fa1483c18d4ececc6a
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schemas/transactions_schema.ex
Koyamot/Divvy-EngineerExercise
de2f2c0d1ad461b2bbb937fa1483c18d4ececc6a
[ "MIT" ]
8
2022-01-17T20:50:29.000Z
2022-01-17T20:54:41.000Z
elixir/lib/homework_web/schemas/transactions_schema.ex
Koyamot/Divvy-EngineerExercise
de2f2c0d1ad461b2bbb937fa1483c18d4ececc6a
[ "MIT" ]
1
2022-01-19T06:55:41.000Z
2022-01-19T06:55:41.000Z
defmodule HomeworkWeb.Schemas.TransactionsSchema do @moduledoc """ Defines the graphql schema for transactions. """ use Absinthe.Schema.Notation alias HomeworkWeb.Resolvers.TransactionsResolver object :transaction do field(:id, non_null(:id)) field(:user_id, :id) field(:amount, :integer) f...
27.569231
57
0.672991
658df63e3618b79ecbbbcaa2e87792786a5b9a31
6,418
exs
Elixir
lib/elixir/test/elixir/config/provider_test.exs
razuf/elixir
a80b6d00738668f5ca2325bfc8c3581af5d531dc
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/config/provider_test.exs
razuf/elixir
a80b6d00738668f5ca2325bfc8c3581af5d531dc
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/config/provider_test.exs
razuf/elixir
a80b6d00738668f5ca2325bfc8c3581af5d531dc
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Config.ProviderTest do use ExUnit.Case doctest Config.Provider alias Config.Provider import PathHelpers import ExUnit.CaptureIO @tmp_path tmp_path("config_provider") @env_var "ELIXIR_CONFIG_PROVIDER_BOOTED" @sys_config Path.join(@tmp_path, "s...
33.778947
129
0.653007
658e1253b875532ea27f6789cdf52dbd85b6f7a6
24,258
ex
Elixir
lib/elixir/lib/map.ex
steven-solomon/elixir
ee83248b8dd78ad67ef1282efc791006e8712d9e
[ "Apache-2.0" ]
1
2019-10-11T01:36:26.000Z
2019-10-11T01:36:26.000Z
lib/elixir/lib/map.ex
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/elixir/lib/map.ex
hiro-riveros/elixir
c6da1cfaa83e420726be25617440fc09f118de52
[ "Apache-2.0" ]
null
null
null
defmodule Map do @moduledoc """ Maps are the "go to" key-value data structure in Elixir. Maps can be created with the `%{}` syntax, and key-value pairs can be expressed as `key => value`: iex> %{} %{} iex> %{"one" => :two, 3 => "four"} %{3 => "four", "one" => :two} Key-value pairs i...
25.588608
98
0.575686
658e1c773a50fc27c191d4f2d7abea99cf3fdf53
1,898
exs
Elixir
apps/snitch_core/test/data/schema/tax_rate_test.exs
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/snitch_core/test/data/schema/tax_rate_test.exs
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/snitch_core/test/data/schema/tax_rate_test.exs
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule Snitch.Data.Schema.TaxRateTest do use ExUnit.Case, async: true use Snitch.DataCase import Snitch.Factory import Mox alias Snitch.Data.Schema.TaxRate alias Snitch.Core.Tools.MultiTenancy.Repo @valid_params %{ name: "North America", value: 0.5, included_in_price: false, calculat...
26
84
0.672287
658e456a028fe68b07d9ff5ff4c7861af84e9b61
87
ex
Elixir
lib/options_tracker_web/views/user_confirmation_view.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
12
2020-06-25T17:25:15.000Z
2021-09-30T20:13:33.000Z
lib/options_tracker_web/views/user_confirmation_view.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
5
2020-08-05T03:12:31.000Z
2021-07-15T04:59:03.000Z
lib/options_tracker_web/views/user_confirmation_view.ex
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
2
2021-07-03T17:20:15.000Z
2021-09-01T15:38:58.000Z
defmodule OptionsTrackerWeb.UserConfirmationView do use OptionsTrackerWeb, :view end
21.75
51
0.862069
658e4d252f9648fd4af5be94e1fef574c2ff7aa9
3,650
exs
Elixir
test/manager_test.exs
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
null
null
null
test/manager_test.exs
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
null
null
null
test/manager_test.exs
aymanosman/crawly
9b5dbcd1328a0d80380bbc8b8c869ce252ac29f5
[ "Apache-2.0" ]
null
null
null
defmodule ManagerTest do use ExUnit.Case, async: false setup do Application.put_env(:crawly, :concurrent_requests_per_domain, 1) Application.put_env(:crawly, :closespider_itemcount, 10) Application.put_env(:crawly, :concurrent_requests_per_domain, 1) :meck.expect(HTTPoison, :get, fn _, _, _ -> ...
27.037037
80
0.688493
658e6bf4c38885e34ca107c17988f1ccea1d73b9
1,369
exs
Elixir
mix.exs
michalmuskala/finch
3d3984fd9cf35e05457cec8eefb4a9759a8a01b8
[ "MIT" ]
1
2020-05-16T04:56:45.000Z
2020-05-16T04:56:45.000Z
mix.exs
GregMefford/finch
6004a898a48ded978490e065b38a3064d44b8eb2
[ "MIT" ]
null
null
null
mix.exs
GregMefford/finch
6004a898a48ded978490e065b38a3064d44b8eb2
[ "MIT" ]
null
null
null
defmodule Finch.MixProject do use Mix.Project @name "Finch" @version "0.2.0" @repo_url "https://github.com/keathley/finch" def project do [ app: :finch, version: @version, elixir: "~> 1.7", description: "An HTTP client focused on performance.", package: package(), doc...
21.390625
60
0.50767
658e769300d9d1c5a398b39e3e4abd19c107423d
976
ex
Elixir
lib/blue_jet_web/controllers/crm/point_transaction_controller.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
44
2018-05-09T01:08:57.000Z
2021-01-19T07:25:26.000Z
lib/blue_jet_web/controllers/crm/point_transaction_controller.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
36
2018-05-08T23:59:54.000Z
2018-09-28T13:50:30.000Z
lib/blue_jet_web/controllers/crm/point_transaction_controller.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
9
2018-05-09T14:09:19.000Z
2021-03-21T21:04:04.000Z
defmodule BlueJetWeb.PointTransactionController do use BlueJetWeb, :controller alias BlueJet.CRM action_fallback BlueJetWeb.FallbackController plug :scrub_params, "data" when action in [:create, :update] def index(%{assigns: assigns} = conn, params) do filter = (assigns[:filter] || %{}) |>...
30.5
93
0.66291
658e7ee9b77a93891a05f4d0542c47b90092c329
9,302
ex
Elixir
lib/mix/phoenix.ex
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
lib/mix/phoenix.ex
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
lib/mix/phoenix.ex
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
defmodule Mix.Phoenix do # Conveniences for Phoenix tasks. @moduledoc false @doc """ Evals EEx files from source dir. Files are evaluated against EEx according to the given binding. """ def eval_from(apps, source_file_path, binding) do sources = Enum.map(apps, &to_app_source(&1, source_file_path))...
26.577143
90
0.622877
658e7f78d21c7f322e0a187432fd584dda2ed7d0
1,542
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/model/publish_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/pub_sub/lib/google_api/pub_sub/v1/model/publish_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/pub_sub/lib/google_api/pub_sub/v1/model/publish_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.808511
215
0.736057
658eacd899d0bc53d33735604d13120d5fd7aec9
2,874
ex
Elixir
lib/grizzly/command_class/wake_up/interval_set.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/command_class/wake_up/interval_set.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/command_class/wake_up/interval_set.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.CommandClass.WakeUp.IntervalSet do @moduledoc """ Command module for working with the Wake Up command class INTERVAL_SET command Ref Docs: SDS13782 Z-Wave Management Command Class Specification.pdf Command Options: * `:seconds` - The number seconds for the device to wake up between 0 and 1...
31.582418
98
0.622129
658eb3ffc696ba4c1025d132770083068f7bdd31
906
ex
Elixir
clients/access_context_manager/lib/google_api/access_context_manager/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/access_context_manager/lib/google_api/access_context_manager/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/access_context_manager/lib/google_api/access_context_manager/v1/metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.555556
74
0.764901
658f0d19487047be91f07f5dd206f2b7696d2ba8
4,189
ex
Elixir
lib/oli_web/live/sections/enrollments_view.ex
Simon-Initiative/oli-torus
7f3eaeaa18ca8837e5afbff3e8899ae13b49de8b
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli_web/live/sections/enrollments_view.ex
Simon-Initiative/oli-torus
7f3eaeaa18ca8837e5afbff3e8899ae13b49de8b
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli_web/live/sections/enrollments_view.ex
Simon-Initiative/oli-torus
7f3eaeaa18ca8837e5afbff3e8899ae13b49de8b
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule OliWeb.Sections.EnrollmentsView do use Surface.LiveView alias Oli.Repo.{Paging, Sorting} alias OliWeb.Common.{TextSearch, PagedTable, Breadcrumb} alias Oli.Delivery.Sections.{EnrollmentBrowseOptions} alias OliWeb.Common.Table.SortableTableModel alias OliWeb.Router.Helpers, as: Routes alias OliW...
25.542683
90
0.625925
658f4fd95c820f4fda9ac2d7290df11eabc53db5
3,355
ex
Elixir
lib/livebook_web/live/explore_live.ex
mgibowski/livebook
bfb9dc371e386597219a398a180d69c0bfa2f384
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/explore_live.ex
mgibowski/livebook
bfb9dc371e386597219a398a180d69c0bfa2f384
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/explore_live.ex
mgibowski/livebook
bfb9dc371e386597219a398a180d69c0bfa2f384
[ "Apache-2.0" ]
1
2021-12-18T03:42:04.000Z
2021-12-18T03:42:04.000Z
defmodule LivebookWeb.ExploreLive do use LivebookWeb, :live_view import LivebookWeb.SessionHelpers import LivebookWeb.UserHelpers alias LivebookWeb.{SidebarHelpers, ExploreHelpers, PageHelpers} alias Livebook.Notebook.Explore @impl true def mount(_params, _session, socket) do [lead_notebook_info | ...
36.075269
108
0.591058
658f5ffde226eabf2eee5dc234b9a72aab04111c
433
ex
Elixir
lib/kvstore/utils.ex
W1ntersnow/kv_storage
85829cd8ba62967cab7a4b8e1dfa889757bbee68
[ "MIT" ]
null
null
null
lib/kvstore/utils.ex
W1ntersnow/kv_storage
85829cd8ba62967cab7a4b8e1dfa889757bbee68
[ "MIT" ]
null
null
null
lib/kvstore/utils.ex
W1ntersnow/kv_storage
85829cd8ba62967cab7a4b8e1dfa889757bbee68
[ "MIT" ]
null
null
null
defmodule KVstore.Utils do @moduledoc false require Logger def get_ttl(conn) do ttl = Map.get(conn.params, "ttl", nil) unless is_nil(ttl) do case Integer.parse(to_string(ttl)) do {ttl, _} -> ttl :error -> nil end end end def get_params(conn) do key = Map.get(conn.p...
19.681818
43
0.600462
658f6040e5721ba46eedc5832f5986685c15784f
1,962
exs
Elixir
mix.exs
ElixirSeattle/IS31FL3733
e6b0c8479f015eb46712a77ee3ada28e604fa443
[ "MIT" ]
1
2020-10-10T01:03:57.000Z
2020-10-10T01:03:57.000Z
mix.exs
ElixirSeattle/IS31FL3733
e6b0c8479f015eb46712a77ee3ada28e604fa443
[ "MIT" ]
1
2020-10-29T13:06:41.000Z
2020-10-29T13:06:41.000Z
mix.exs
ElixirSeattle/IS31FL3733
e6b0c8479f015eb46712a77ee3ada28e604fa443
[ "MIT" ]
null
null
null
defmodule IS31FL3733.MixProject do use Mix.Project @version "0.1.1" @source_url "https://github.com/nerves-keyboard/IS31FL3733" def project do [ app: :is31fl3733, version: @version, elixir: "~> 1.10", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :pro...
22.044944
77
0.549439
658fa5355c7aa06753a63d0132a02fc2c3668c21
2,073
ex
Elixir
lib/ua_inspector/database/devices_hbbtv.ex
kianmeng/ua_inspector
5d272fa54b18cc1c1d12c7244d70c8fd961ed9b3
[ "Apache-2.0" ]
44
2019-03-17T10:44:04.000Z
2022-01-30T10:09:28.000Z
lib/ua_inspector/database/devices_hbbtv.ex
kianmeng/ua_inspector
5d272fa54b18cc1c1d12c7244d70c8fd961ed9b3
[ "Apache-2.0" ]
12
2019-06-06T15:26:26.000Z
2022-03-09T17:21:21.000Z
lib/ua_inspector/database/devices_hbbtv.ex
kianmeng/ua_inspector
5d272fa54b18cc1c1d12c7244d70c8fd961ed9b3
[ "Apache-2.0" ]
8
2020-04-21T07:49:37.000Z
2021-12-07T00:18:33.000Z
defmodule UAInspector.Database.DevicesHbbTV do @moduledoc false use UAInspector.Storage.Server require Logger alias UAInspector.Config alias UAInspector.Util alias UAInspector.Util.YAML @behaviour UAInspector.Database def start_link(init_arg) do GenServer.start_link(__MODULE__, init_arg, name: ...
21.371134
85
0.579354
658fb0e523573101d58ad1b26202f393e3560a6f
574
ex
Elixir
server/web/views/changeset_view.ex
MikaAK/trello-burndown
b78d97fa03fcdd60c1c9652b65d272936f648c6f
[ "MIT" ]
null
null
null
server/web/views/changeset_view.ex
MikaAK/trello-burndown
b78d97fa03fcdd60c1c9652b65d272936f648c6f
[ "MIT" ]
3
2016-04-18T18:09:21.000Z
2016-04-25T07:29:59.000Z
server/web/views/changeset_view.ex
MikaAK/trello-burndown
b78d97fa03fcdd60c1c9652b65d272936f648c6f
[ "MIT" ]
null
null
null
defmodule TrelloBurndown.ChangesetView do use TrelloBurndown.Web, :view @doc """ Traverses and translates changeset errors. See `Ecto.Changeset.traverse_errors/2` and `TrelloBurndown.ErrorHelpers.translate_error/1` for more details. """ def translate_errors(changeset) do Ecto.Changeset.traverse_erro...
28.7
67
0.743902
658fb7f7797626fc4648698e315ad5aca53f3531
1,393
ex
Elixir
lib/elixir/lib/list/chars.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/elixir/lib/list/chars.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/list/chars.ex
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
defprotocol List.Chars do @moduledoc ~S""" The List.Chars protocol is responsible for converting a structure to a list (only if applicable). The only function required to be implemented is `to_char_list` which does the conversion. The `to_char_list` function automatically imported by Kernel invokes this ...
24.017241
66
0.715004
658fbbf4ce012734dc23ae389ddd77debf89a627
578
exs
Elixir
api_sample/test/views/error_view_test.exs
saiidalhalawi/phoenix-ansible
d03843256c20b74fd69bb48f058825785dd7fea2
[ "Apache-2.0" ]
null
null
null
api_sample/test/views/error_view_test.exs
saiidalhalawi/phoenix-ansible
d03843256c20b74fd69bb48f058825785dd7fea2
[ "Apache-2.0" ]
null
null
null
api_sample/test/views/error_view_test.exs
saiidalhalawi/phoenix-ansible
d03843256c20b74fd69bb48f058825785dd7fea2
[ "Apache-2.0" ]
null
null
null
defmodule ApiSample.ErrorViewTest do use ApiSample.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(ApiSample.ErrorView, "404.html", []) == "Page not found" end test "render 500.htm...
26.272727
67
0.681661
658fc6e878e4dd683812de3bd1a7b2b3cb70aa4e
613
exs
Elixir
test/conduit/blog/author_test.exs
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
test/conduit/blog/author_test.exs
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
test/conduit/blog/author_test.exs
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
defmodule Conduit.Blog.AuthorTest do use Conduit.DataCase import Commanded.Assertions.EventAssertions alias Conduit.Accounts alias Conduit.Accounts.Projections.User alias Conduit.Blog.Events.AuthorCreated describe "an author" do @tag :integration test "should be created when user registered" do ...
26.652174
73
0.714519
658fe75ce663412c0376a644c67aee37e5edc845
1,459
ex
Elixir
clients/plus/lib/google_api/plus/v1/model/comment_actor_image.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/comment_actor_image.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/comment_actor_image.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
31.717391
210
0.747772
658fef532a0796b1275e52747a40b53da939390a
2,045
ex
Elixir
D03/solution.ex
EragonpeerGynt/AoC2021
69cfa5c2043db1a14089e5d0f6a56d15ce3b8acf
[ "MIT" ]
null
null
null
D03/solution.ex
EragonpeerGynt/AoC2021
69cfa5c2043db1a14089e5d0f6a56d15ce3b8acf
[ "MIT" ]
null
null
null
D03/solution.ex
EragonpeerGynt/AoC2021
69cfa5c2043db1a14089e5d0f6a56d15ce3b8acf
[ "MIT" ]
null
null
null
defmodule Part1 do def process_input([]) do [] end def process_input([head|input]) do [process_input(head)] ++ process_input(input) end def process_input(input_line) do input_line |> String.split("", trim: true) |> Enum.map(fn n -> get_int(n)*2-1 end) end def get_int(num) do {parsed, _} = Integer....
23.77907
72
0.653301
658ff6610f1c2fe7a8666d0c66953216f282818e
1,628
exs
Elixir
mix.exs
jpiepkow/accesspass
4ef0ffeade8fa3d907374a18715a0950f83fb55f
[ "MIT" ]
43
2018-01-28T07:44:11.000Z
2018-10-07T04:12:08.000Z
mix.exs
jpiepkow/accesspass
4ef0ffeade8fa3d907374a18715a0950f83fb55f
[ "MIT" ]
28
2018-02-11T02:26:38.000Z
2018-10-07T18:47:27.000Z
mix.exs
jpiepkow/accesspass
4ef0ffeade8fa3d907374a18715a0950f83fb55f
[ "MIT" ]
10
2018-02-10T01:04:27.000Z
2018-10-07T03:47:57.000Z
defmodule AccessPass.Mixfile do use Mix.Project def project do [ app: :access_pass, name: "AccessPass", docs: [ main: "introduction", extras: [ "doc_extras/introduction.md", "doc_extras/getting_started.md", "doc_extras/configuration_options.md", ...
27.133333
120
0.564496
65901db08265f1454bf08f550223de709683c5e1
16,746
exs
Elixir
test/phoenix/tracker/shard_replication_test.exs
salemove/phoenix_pubsub
fe878041ef016718e9276692430c64317105f10d
[ "MIT" ]
null
null
null
test/phoenix/tracker/shard_replication_test.exs
salemove/phoenix_pubsub
fe878041ef016718e9276692430c64317105f10d
[ "MIT" ]
2
2020-01-07T18:33:45.000Z
2020-01-24T11:03:10.000Z
test/phoenix/tracker/shard_replication_test.exs
salemove/phoenix_pubsub
fe878041ef016718e9276692430c64317105f10d
[ "MIT" ]
null
null
null
defmodule Phoenix.Tracker.ShardReplicationTest do use Phoenix.PubSub.NodeCase alias Phoenix.Tracker.{Replica, Shard, State} @primary :"primary@127.0.0.1" @node1 :"node1@127.0.0.1" @node2 :"node2@127.0.0.1" setup config do tracker = config.test tracker_opts = config |> Map.get(:tracker_opts, []) |...
38.763889
107
0.638899
65906ecf463bab29e986d1ddd60481c98ff25819
8,864
exs
Elixir
test/oli_web/plugs/maybe_gated_resource_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
test/oli_web/plugs/maybe_gated_resource_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
test/oli_web/plugs/maybe_gated_resource_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Plugs.MaybeGatedResourceTest do use OliWeb.ConnCase alias Oli.Delivery.Sections alias Oli.Delivery.Gating alias Oli.Seeder alias Oli.Delivery.Attempts.Core alias Lti_1p3.Tool.ContextRoles alias OliWeb.Router.Helpers, as: Routes def insert_resource_attempt(resource_access, revision_id, at...
30.14966
108
0.623421
65907be133f684f805c8f930ab4ba54dd1a2ab21
688
ex
Elixir
lib/live_beats_web/controllers/redirect_controller.ex
TwistingTwists/live_beats
18da5ea552c8390cf2d6f6fa100c7fc975634ae8
[ "MIT" ]
1
2022-02-15T08:06:08.000Z
2022-02-15T08:06:08.000Z
lib/live_beats_web/controllers/redirect_controller.ex
TwistingTwists/live_beats
18da5ea552c8390cf2d6f6fa100c7fc975634ae8
[ "MIT" ]
null
null
null
lib/live_beats_web/controllers/redirect_controller.ex
TwistingTwists/live_beats
18da5ea552c8390cf2d6f6fa100c7fc975634ae8
[ "MIT" ]
null
null
null
defmodule LiveBeatsWeb.RedirectController do use LiveBeatsWeb, :controller import LiveBeatsWeb.UserAuth, only: [fetch_current_user: 2] @doc """ ensures that current_user is always present in the conn.assigns Who is current user in liveview app ? (even during redirects) More than just :fetch_current_user p...
29.913043
104
0.755814
6590816c59bb866583bee1cb31992db9b57122cf
89
ex
Elixir
lib/mppm_web/views/users_list_view.ex
QBonaventure/mppm
06047083e3f56e750b60a2c2bd2c430228066e63
[ "MIT" ]
6
2020-11-18T10:10:51.000Z
2021-03-17T14:28:36.000Z
lib/mppm_web/views/users_list_view.ex
QBonaventure/mppm
06047083e3f56e750b60a2c2bd2c430228066e63
[ "MIT" ]
6
2020-11-10T21:50:43.000Z
2021-03-04T09:41:22.000Z
lib/mppm_web/views/users_list_view.ex
QBonaventure/mppm
06047083e3f56e750b60a2c2bd2c430228066e63
[ "MIT" ]
null
null
null
defmodule MppmWeb.UsersListView do use MppmWeb, :view use Phoenix.LiveComponent end
14.833333
34
0.797753
6590828f4ba39ce6962490de8e4cd591bef5e090
2,007
ex
Elixir
apps/reaper/lib/reaper/file_ingest/processor.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
null
null
null
apps/reaper/lib/reaper/file_ingest/processor.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
null
null
null
apps/reaper/lib/reaper/file_ingest/processor.ex
msomji/smartcitiesdata
fc96abc1ef1306f7af6bd42bbcb4ed041a6d922c
[ "Apache-2.0" ]
null
null
null
defmodule Reaper.FileIngest.Processor do @moduledoc """ Downloads files for hosted datasets from their source and stores them in an S3 bucket """ require Logger import SmartCity.Event, only: [file_ingest_end: 0] alias SmartCity.HostedFile alias ExAws.S3 alias Providers.Helpers.Provisioner alias Reape...
26.76
119
0.684106
6590a39373bdaafe0b41c79dde4a64ef00e10c63
3,174
ex
Elixir
lib/game/format/skills.ex
nomicflux/ex_venture
3e87dc8802c24067256d99856198c814d0bae4d6
[ "MIT" ]
1
2019-02-10T10:22:39.000Z
2019-02-10T10:22:39.000Z
lib/game/format/skills.ex
lorecrafting/ex_venture
5de6a2eac19d8c6069868d34318f07ee714f9c98
[ "MIT" ]
null
null
null
lib/game/format/skills.ex
lorecrafting/ex_venture
5de6a2eac19d8c6069868d34318f07ee714f9c98
[ "MIT" ]
null
null
null
defmodule Game.Format.Skills do @moduledoc """ Format functions for skills """ import Game.Format.Context alias Data.Skill alias Game.Format alias Game.Format.Table @doc """ Format a skill name, white iex> Skills.skill_name(%{name: "Slash"}) "{skill}Slash{/skill}" """ @spec skill_name(...
27.362069
146
0.616887
6590abb5e6e81fe86f80d1c6b808817ffe00c159
1,917
ex
Elixir
server/lib/events_app/events.ex
kylesmith-1/blazeneu
83cb68b8112bac8d51c9f92e709720d7e7ba1472
[ "MIT" ]
null
null
null
server/lib/events_app/events.ex
kylesmith-1/blazeneu
83cb68b8112bac8d51c9f92e709720d7e7ba1472
[ "MIT" ]
null
null
null
server/lib/events_app/events.ex
kylesmith-1/blazeneu
83cb68b8112bac8d51c9f92e709720d7e7ba1472
[ "MIT" ]
1
2021-04-10T18:37:30.000Z
2021-04-10T18:37:30.000Z
defmodule CompanyTest.Events do @moduledoc """ The Events context. """ import Ecto.Query, warn: false alias CompanyTest.Repo alias CompanyTest.Events.Event @doc """ Returns the list of events. ## Examples iex> list_events() [%Event{}, ...] """ def list_events do Repo.all(Even...
16.964602
60
0.580073
6590b0b78b66cfbd5a6e874c9d4212223a1d4317
1,183
exs
Elixir
mix.exs
FrancoB411/supermemo
8179c8f7a407c32518f01b8a8c706e21af457d78
[ "MIT" ]
18
2015-10-02T11:23:36.000Z
2021-11-17T10:53:40.000Z
mix.exs
FrancoB411/supermemo
8179c8f7a407c32518f01b8a8c706e21af457d78
[ "MIT" ]
3
2020-02-05T02:29:44.000Z
2021-02-13T06:24:25.000Z
mix.exs
FrancoB411/supermemo
8179c8f7a407c32518f01b8a8c706e21af457d78
[ "MIT" ]
4
2019-01-25T04:02:49.000Z
2021-02-13T06:25:39.000Z
defmodule Supermemo.Mixfile do use Mix.Project def project do [ app: :supermemo, version: "1.0.1", elixir: "~> 1.9.4", package: package(), description: """ An Elixir implementation of the Supermemo 2 Algorithm as described here: http://www.supermemo.com/english/ol/sm2....
22.320755
78
0.56213
659124a9e40d7736443663d02e3e132073af4112
723
ex
Elixir
advent_umbrella_2016/apps/day17/lib/eggnog.ex
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent_umbrella_2016/apps/day17/lib/eggnog.ex
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent_umbrella_2016/apps/day17/lib/eggnog.ex
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
defmodule Eggnog do # Combination code from Stack Overflow 30585697 def combination(0, _), do: [[]] def combination(_, []), do: [] def combination(n, [x|xs]) do (for y <- combination(n - 1, xs), do: [x|y]) ++ combination(n, xs) end defp options(quantity, buckets) do for seq_size <- 1..(Enum.count ...
24.931034
70
0.626556
6591588eb97743954d8e928df4cc6cf093eed5f4
6,052
ex
Elixir
lib/kazan/models.ex
dockup/kazan
eff5ced3615e12a8665790def094719c86a0dfad
[ "MIT" ]
null
null
null
lib/kazan/models.ex
dockup/kazan
eff5ced3615e12a8665790def094719c86a0dfad
[ "MIT" ]
null
null
null
lib/kazan/models.ex
dockup/kazan
eff5ced3615e12a8665790def094719c86a0dfad
[ "MIT" ]
null
null
null
defmodule Kazan.Models do @moduledoc """ Contains structs for all k8s models that don't belong to a specific API group. Each module underneath Kazan.Models represents a single struct as used by the Kubernetes API. Also contains functions for serializing & deserializing these generated structs, though user...
29.236715
99
0.601289
65916904fa148f2b8676d4025c2728227c8bf4fb
1,906
ex
Elixir
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/aggregation_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/aggregation_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/aggregation_info.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.654545
109
0.724029
65916ddce310ab695f33dcc8f1a737647458d924
755
ex
Elixir
lib/nonce_ets.ex
LucidModules/ueberauth_line
686e41ddeef83ecaf55e21ca0bf0337645deb9c1
[ "MIT" ]
null
null
null
lib/nonce_ets.ex
LucidModules/ueberauth_line
686e41ddeef83ecaf55e21ca0bf0337645deb9c1
[ "MIT" ]
null
null
null
lib/nonce_ets.ex
LucidModules/ueberauth_line
686e41ddeef83ecaf55e21ca0bf0337645deb9c1
[ "MIT" ]
null
null
null
defmodule NonceEts do @moduledoc """ ETS implementation for the Nonce """ @behaviour Nonce @doc """ Create new nonce """ @impl true def create() do nonce = %{ id: StringGenerator.generate_string(32), value: StringGenerator.generate_string(8) } NonceServer.insert(nonce) ...
17.159091
62
0.623841
6591832c70a507d79b5bd55f826e84488a2651ff
1,102
exs
Elixir
mix.exs
ryanbillingsley/cushion
8ffa57f15a44c231127b94e4e1b919b55c3e8343
[ "MIT" ]
null
null
null
mix.exs
ryanbillingsley/cushion
8ffa57f15a44c231127b94e4e1b919b55c3e8343
[ "MIT" ]
null
null
null
mix.exs
ryanbillingsley/cushion
8ffa57f15a44c231127b94e4e1b919b55c3e8343
[ "MIT" ]
null
null
null
defmodule Cushion.Mixfile do use Mix.Project def project do [app: :cushion, name: "cushion", source_url: "https://www.github.com/ryanbillingsley/cushion", description: description, version: "0.0.3", elixir: "~> 1.1", build_embedded: Mix.env == :prod, start_permanent: Mix.env ...
21.607843
81
0.591652
65919db7e7cfaed53c557dadaf1686af8b1e107c
1,295
ex
Elixir
lib/daily_mnmlist_web/endpoint.ex
groma84/daily-mnmlist-elixir
81e7184c42c34025b50cf074f29b162c39b19673
[ "Unlicense" ]
null
null
null
lib/daily_mnmlist_web/endpoint.ex
groma84/daily-mnmlist-elixir
81e7184c42c34025b50cf074f29b162c39b19673
[ "Unlicense" ]
null
null
null
lib/daily_mnmlist_web/endpoint.ex
groma84/daily-mnmlist-elixir
81e7184c42c34025b50cf074f29b162c39b19673
[ "Unlicense" ]
null
null
null
defmodule DailyMnmlistWeb.Endpoint do use Phoenix.Endpoint, otp_app: :daily_mnmlist socket "/socket", DailyMnmlistWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when depl...
27.553191
69
0.716602
6591b315b6341311d8a30a97feeffa7a011a4f0e
1,451
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/copy_sheet_to_another_spreadsheet_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/copy_sheet_to_another_spreadsheet_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/copy_sheet_to_another_spreadsheet_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...
31.543478
107
0.767057
6591e26f0c8639d7a589bd24e8f34ed7cc4134e1
1,359
ex
Elixir
test/utils/test_data_generator.ex
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
null
null
null
test/utils/test_data_generator.ex
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
null
null
null
test/utils/test_data_generator.ex
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
null
null
null
defmodule DiscoveryApi.TestDataGenerator do @moduledoc """ Strategic stopgap maneuver to bridge the gap between SmartCity.Registry structs and the new SmartCity data structs. """ def create_dataset(term) do term |> SmartCity.TestDataGenerator.create_dataset() |> to_registry_module() end def cre...
32.357143
117
0.737307
6591fe324fba469f6b6aa45bd7fafa9ef0622d6a
9,654
ex
Elixir
lib/oban/query.ex
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
lib/oban/query.ex
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
lib/oban/query.ex
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Query do @moduledoc false import Ecto.Query import DateTime, only: [utc_now: 0] alias Ecto.{Changeset, Multi} alias Oban.{Config, Job, Repo} @spec fetch_available_jobs(Config.t(), binary(), binary(), pos_integer()) :: {:ok, [Job.t()]} def fetch_available_jobs(%Config{node: node} = conf, ...
29.522936
99
0.604827
65920a1fbe76f9a6aa8d75e23e1aeb197abf83f0
1,429
ex
Elixir
lib/mix/lib/mix/tasks/cmd.ex
E1337Kat/elixir
beed9197d92f481e0f7c4c0aadb8f46312f6ce00
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/cmd.ex
E1337Kat/elixir
beed9197d92f481e0f7c4c0aadb8f46312f6ce00
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/cmd.ex
E1337Kat/elixir
beed9197d92f481e0f7c4c0aadb8f46312f6ce00
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Cmd do use Mix.Task @shortdoc "Executes the given command" @recursive true @moduledoc """ Executes the given command. Useful in umbrella applications to execute a command on each child app: mix cmd echo pwd You can limit which apps the cmd runs in by passing the app names ...
24.637931
67
0.664101
65920ee1b2411db030f3c9ad728c397664bcfcd3
177
ex
Elixir
lib/swoosh.ex
coders51/swoosh
749fd738eed42446fb15ad72cdb3f3ca1a87eb29
[ "MIT" ]
null
null
null
lib/swoosh.ex
coders51/swoosh
749fd738eed42446fb15ad72cdb3f3ca1a87eb29
[ "MIT" ]
null
null
null
lib/swoosh.ex
coders51/swoosh
749fd738eed42446fb15ad72cdb3f3ca1a87eb29
[ "MIT" ]
null
null
null
defmodule Swoosh do @moduledoc File.read!("README.md") |> String.replace("# Swoosh\n\n", "", global: false) @version "0.12.0" @doc false def version, do: @version end
19.666667
89
0.649718
65924085ff8c9b142b652680a8275cde7c4ccbd6
7,456
exs
Elixir
12-sudoku-solver-norvig.exs
lbiru/30-days-of-elixir
8472b6bf4a2f0a12dc6aea930abde2d50867b460
[ "MIT" ]
1
2020-05-27T04:32:37.000Z
2020-05-27T04:32:37.000Z
12-sudoku-solver-norvig.exs
tifazxy/30-days-of-elixir
1d3e5cc1580ecbfdf9bd8eafed6ed68cb681404a
[ "MIT" ]
null
null
null
12-sudoku-solver-norvig.exs
tifazxy/30-days-of-elixir
1d3e5cc1580ecbfdf9bd8eafed6ed68cb681404a
[ "MIT" ]
1
2018-09-30T00:43:04.000Z
2018-09-30T00:43:04.000Z
defmodule SudokuSolver do @moduledoc """ Solves 9x9 Sudoku puzzles, Peter Norvig style. http://norvig.com/sudoku.html """ @size 9 @rows 'ABCDEFGHI' @cols '123456789' import Enum # used to cache all squares, units, and peer relationships defmodule Board do defstruct squares: nil, units: nil, ...
30.432653
111
0.600992
65929e548a6c532dbc4dc901477df2b0638f1e22
818
ex
Elixir
lib/elixir_ravelry/repo/knits.ex
StabbyMcDuck/elixir_ravelry
c503fc019842bb82ad58673a1b6867e3214fc7e1
[ "Apache-2.0" ]
21
2017-08-27T13:59:18.000Z
2020-10-07T03:35:22.000Z
lib/elixir_ravelry/repo/knits.ex
StabbyMcDuck/elixir_ravelry
c503fc019842bb82ad58673a1b6867e3214fc7e1
[ "Apache-2.0" ]
2
2017-09-02T15:49:47.000Z
2017-09-02T17:43:29.000Z
lib/elixir_ravelry/repo/knits.ex
StabbyMcDuck/elixir_ravelry
c503fc019842bb82ad58673a1b6867e3214fc7e1
[ "Apache-2.0" ]
7
2017-09-02T15:11:49.000Z
2019-08-20T19:00:48.000Z
defmodule ElixirRavelry.Repo.Knits do @moduledoc false alias ElixirRavelryWeb.Knits alias ElixirRavelry.Repo # Macros @impl ElixirRavelry.Repo.Relationship defmacro type, do: "KNITS" use ElixirRavelry.Repo.Relationship #Functions @impl ElixirRavelry.Repo.Relationship def create(conn, %Knits{use...
25.5625
110
0.699267
6592ab797ae890972ead85c8dcd7177a6e3b4a8f
227,297
ex
Elixir
lib/cldr/language_tag/rfc5646_parser.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
179
2019-06-16T09:16:00.000Z
2022-03-30T04:04:55.000Z
lib/cldr/language_tag/rfc5646_parser.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
46
2019-06-09T02:35:58.000Z
2022-03-08T10:39:08.000Z
lib/cldr/language_tag/rfc5646_parser.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
14
2020-03-03T16:35:50.000Z
2022-02-27T14:01:40.000Z
# Generated from lib/cldr/language_tag/rfc5646_parser.ex.exs, do not edit. # Generated at 2021-08-20 10:43:22Z. defmodule Cldr.Rfc5646.Parser do @moduledoc """ Implements parsing for [RFC5646](https://datatracker.ietf.org/doc/html/rfc5646) language tags with [BCP47](https://tools.ietf.org/search/bcp47) extension...
29.530596
133
0.579792
6592d9d9e3dab10a7f7157ca2aca257805dc5611
14,541
exs
Elixir
deps/db_connection/integration_test/cases/proxy_transaction_test.exs
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/db_connection/integration_test/cases/proxy_transaction_test.exs
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
deps/db_connection/integration_test/cases/proxy_transaction_test.exs
scouten/crash_esqlite_case
986f0b0721399c7ed520f6b9df133980906e3f51
[ "MIT" ]
null
null
null
defmodule ProxyTransactionTest do use ExUnit.Case, async: true alias TestPool, as: P alias TestAgent, as: A alias TestConnection, as: C alias TestProxy, as: Proxy test "proxy transaction returns result" do stack = [ fn(opts) -> send(opts[:parent], :connected) {:ok, :state} ...
27.179439
75
0.544667
6592dca06d0b7ad20fae50216328a1ffb7616510
5,179
ex
Elixir
lib/oli_web/live/open_and_free/section_form.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli_web/live/open_and_free/section_form.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli_web/live/open_and_free/section_form.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
defmodule OliWeb.OpenAndFree.SectionForm do use Phoenix.LiveView import Phoenix.HTML.Form import Phoenix.HTML.Link import Oli.Utils import OliWeb.ErrorHelpers alias Oli.Predefined alias Oli.Authoring.Course alias OliWeb.Router.Helpers, as: Routes alias Oli.Branding @impl true def mount(_params, s...
36.471831
177
0.581579
6592ec11062e2318f2910de6cab6157fe84b9d78
478
exs
Elixir
backend/test/cpsim_backend_web/views/error_view_test.exs
azhi/cpsim
a10a3e068a8a319e66cc9cf8a6c9c97457d9bf8b
[ "MIT" ]
null
null
null
backend/test/cpsim_backend_web/views/error_view_test.exs
azhi/cpsim
a10a3e068a8a319e66cc9cf8a6c9c97457d9bf8b
[ "MIT" ]
null
null
null
backend/test/cpsim_backend_web/views/error_view_test.exs
azhi/cpsim
a10a3e068a8a319e66cc9cf8a6c9c97457d9bf8b
[ "MIT" ]
null
null
null
defmodule CPSIM.BackendWeb.ErrorViewTest do use CPSIM.BackendWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(CPSIM.BackendWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end tes...
29.875
98
0.690377
6592fc5e1d1293c155c90c215c11faf3a1a200fa
2,268
exs
Elixir
test/parser/do_expressions_test.exs
mhanberg/temple
ec484bcef65e1bffa9134c3b259795237c1845d0
[ "MIT" ]
366
2019-07-12T22:43:35.000Z
2022-03-31T07:26:25.000Z
test/parser/do_expressions_test.exs
mhanberg/temple
ec484bcef65e1bffa9134c3b259795237c1845d0
[ "MIT" ]
114
2019-07-12T19:49:10.000Z
2022-03-23T10:48:48.000Z
test/parser/do_expressions_test.exs
mhanberg/temple
ec484bcef65e1bffa9134c3b259795237c1845d0
[ "MIT" ]
17
2019-07-23T15:16:34.000Z
2021-02-25T02:42:02.000Z
defmodule Temple.Parser.DoExpressionsTest do use ExUnit.Case, async: true alias Temple.Parser.DoExpressions alias Temple.Support.Utils describe "applicable?/1" do test "returns true when the node contains a do expression" do raw_ast = quote do for big <- boys do "bob" ...
20.807339
65
0.417108
65931558ea85d0c3389cd3a7acf4402b336b5dac
34,411
ex
Elixir
deps/plug/lib/plug/conn.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/plug/lib/plug/conn.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/plug/lib/plug/conn.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
1
2019-11-23T12:09:14.000Z
2019-11-23T12:09:14.000Z
alias Plug.Conn.Unfetched defmodule Plug.Conn do @moduledoc """ The Plug connection. This module defines a `Plug.Conn` struct and the main functions for working with Plug connections. Note request headers are normalized to lowercase and response headers are expected to have lower-case keys. ## Request...
34.104063
132
0.650635
65938d2be9f1d649c819e646843db89217028897
3,597
ex
Elixir
lib/sanbase/tech_indicators/tech_indicators.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
lib/sanbase/tech_indicators/tech_indicators.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
lib/sanbase/tech_indicators/tech_indicators.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.TechIndicators do import Sanbase.Utils.ErrorHandling require Logger require Sanbase.Utils.Config, as: Config alias Sanbase.TechIndicators.MetricAnomaly require Mockery.Macro defp http_client, do: Mockery.Macro.mockable(HTTPoison) @recv_timeout 15_000 defdelegate metric_anomaly(met...
27.458015
95
0.620517
6593c9f33383ab02e9a0f3946d29a786ff1f10de
1,048
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/config_file.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/config_file.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/model/config_file.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...
28.324324
79
0.748092
6594232ce0e56f6343f2b1a579223a2646a9abf7
3,524
exs
Elixir
mix.exs
crbelaus/ecto
7ea6f0ec8882f904503156a02d47108b406dc5cf
[ "Apache-2.0" ]
null
null
null
mix.exs
crbelaus/ecto
7ea6f0ec8882f904503156a02d47108b406dc5cf
[ "Apache-2.0" ]
4
2021-03-04T13:00:52.000Z
2021-03-12T12:42:09.000Z
deps/ecto/mix.exs
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
2
2017-07-21T08:28:41.000Z
2018-12-13T02:13:32.000Z
defmodule Ecto.MixProject do use Mix.Project @source_url "https://github.com/elixir-ecto/ecto" @version "3.7.1" def project do [ app: :ecto, version: @version, elixir: "~> 1.8", deps: deps(), consolidate_protocols: Mix.env() != :test, elixirc_paths: elixirc_paths(Mix.en...
26.103704
90
0.575199
659480473c9ba6daf15e3ad819ffd63dec85402f
2,737
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/target.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/firestore/lib/google_api/firestore/v1beta1/model/target.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firestore/lib/google_api/firestore/v1beta1/model/target.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.145161
200
0.709536
659482a32a7b09a4ee3eba201cf45a79b5c643cc
2,948
ex
Elixir
lib/auto_api/states/capabilities_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
lib/auto_api/states/capabilities_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
5
2018-11-29T09:48:29.000Z
2019-11-06T12:11:35.000Z
lib/auto_api/states/capabilities_state.ex
highmobility/hm-auto-api-elixir
026c3f50871c56877a4acd5f39a8887118a87bb5
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.000Z
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
33.123596
150
0.691655
6594853eaa15612444849178ba4440d41fc36c6a
1,137
exs
Elixir
test/cometoid/tracker_test.exs
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
test/cometoid/tracker_test.exs
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
test/cometoid/tracker_test.exs
danielmarreirosdeoliveira/cometoid
7a1c4f7700eb4dbb5f4c44fdc5185d048a429e50
[ "Apache-2.0" ]
null
null
null
defmodule Cometoid.TrackerTest do use Cometoid.RepoCase alias Cometoid.Repo.Tracker test "link and unlink issues" do {:ok, i1} = Tracker.create_issue "full title 1", "short title 1", [] {:ok, i2} = Tracker.create_issue "full title 2", "short title 2", [] {:ok, i1} = Tracker.link_issues i1, [i2.id] ...
31.583333
84
0.626209
659493a92e5ab0da460365a50d7f29e7a1f0e056
551
ex
Elixir
lib/secret_grinch/message_service.ex
clorofila-league/secret_grinch
b06ac85ff5f06d5405d190ccc9966b01f0406b87
[ "Apache-2.0" ]
3
2017-08-03T16:49:18.000Z
2018-10-03T03:30:26.000Z
lib/secret_grinch/message_service.ex
clorofila-league/secret_grinch
b06ac85ff5f06d5405d190ccc9966b01f0406b87
[ "Apache-2.0" ]
18
2017-08-04T12:43:08.000Z
2017-08-05T14:15:41.000Z
lib/secret_grinch/message_service.ex
clorofila-league/secret_grinch
b06ac85ff5f06d5405d190ccc9966b01f0406b87
[ "Apache-2.0" ]
1
2018-10-03T03:30:29.000Z
2018-10-03T03:30:29.000Z
defmodule SecretGrinch.MessageService do @moduledoc false alias Ecto.Multi def insert(message_changeset) do Multi.new |> Multi.insert(:message, message_changeset) |> Multi.run(:send_message, &send_message/1) end defp send_message(%{message: message}) do result1 = message |> Secre...
22.04
48
0.69147
6594a988acb7a65ae4a82b08e8b3d4eb27b7dcd4
2,771
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/backend_bucket_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_bucket_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/backend_bucket_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...
44.693548
393
0.716348
6594c257b65cdf3350aa6f6439a4a3ec3122ecdc
76
exs
Elixir
test/thrash_test.exs
erikmiller/thrash
b4a68c50e1c2fe58e1f4d8916e44ce273d61e266
[ "MIT" ]
12
2016-03-07T14:43:34.000Z
2021-01-27T16:18:26.000Z
test/thrash_test.exs
erikmiller/thrash
b4a68c50e1c2fe58e1f4d8916e44ce273d61e266
[ "MIT" ]
8
2016-03-12T21:07:09.000Z
2017-09-18T15:00:03.000Z
test/thrash_test.exs
erikmiller/thrash
b4a68c50e1c2fe58e1f4d8916e44ce273d61e266
[ "MIT" ]
1
2017-08-25T16:25:36.000Z
2017-08-25T16:25:36.000Z
defmodule ThrashTest do use ExUnit.Case doctest Thrash.MacroHelpers end
15.2
29
0.815789
659521ff7bc7ae349bfb21cde746526ff2b987bd
1,224
ex
Elixir
examples/example_project/lib/receiver.ex
michael-borisov/membrane_ice_plugin
5175473dbbca57f389da3ac1447e5fa82bc0e8a5
[ "Apache-2.0" ]
null
null
null
examples/example_project/lib/receiver.ex
michael-borisov/membrane_ice_plugin
5175473dbbca57f389da3ac1447e5fa82bc0e8a5
[ "Apache-2.0" ]
null
null
null
examples/example_project/lib/receiver.ex
michael-borisov/membrane_ice_plugin
5175473dbbca57f389da3ac1447e5fa82bc0e8a5
[ "Apache-2.0" ]
null
null
null
defmodule Example.Receiver do use Membrane.Pipeline require Membrane.Logger alias Example.Common alias Membrane.File @impl true def handle_init(_) do children = %{ ice: %Membrane.ICE.Bin{ stun_servers: ["64.233.161.127:19302"], controlling_mode: false, handshake_module: ...
23.09434
82
0.638889
65955a4a23eee1b8202f8ded37b3b5d8d58146e4
1,314
ex
Elixir
apps/artemis/lib/artemis/contexts/wiki_revision/list_wiki_revisions.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/lib/artemis/contexts/wiki_revision/list_wiki_revisions.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/lib/artemis/contexts/wiki_revision/list_wiki_revisions.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.ListWikiRevisions do use Artemis.Context import Artemis.Helpers.Filter import Ecto.Query alias Artemis.Repo alias Artemis.WikiRevision @default_order "-updated_at" @default_page_size 25 @default_preload [:user] def call(params \\ %{}, user) do params = default_params(params) ...
27.957447
110
0.692542
65956a54f3980d482e89c97e93eec32f3a77b1d9
10,859
ex
Elixir
teachme/deps/db_connection/lib/db_connection/holder.ex
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
null
null
null
teachme/deps/db_connection/lib/db_connection/holder.ex
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
1
2020-07-17T10:07:44.000Z
2020-07-17T10:07:44.000Z
teachme/deps/db_connection/lib/db_connection/holder.ex
kodeklubben-sandefjord/kodeklubben-sandefjord.github.io
89351bceb132f87b1d2a0bcb325fb278d7ad48a4
[ "MIT" ]
null
null
null
defmodule DBConnection.Holder do @moduledoc false require Record @queue true @timeout 15000 @time_unit 1000 Record.defrecord(:conn, [:connection, :module, :state, :lock, deadline: nil, status: :ok]) Record.defrecord(:pool_ref, [:pool, :reference, :deadline, :holder, :lock]) @type t :: :ets.tid() #...
29.508152
151
0.63201
659580a4048e9a9255d6cf4a62b6304d6dfc2346
20,494
ex
Elixir
clients/dns/lib/google_api/dns/v1/api/managed_zones.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/api/managed_zones.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dns/lib/google_api/dns/v1/api/managed_zones.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "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...
48.795238
208
0.626671
65959d96429da96a389154c5caca19dab2b8dc3f
1,116
ex
Elixir
lib/multi_tenancex_web/controllers/admin/dashboard_controller.ex
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
30
2018-06-27T17:51:53.000Z
2021-04-24T03:17:55.000Z
lib/multi_tenancex_web/controllers/admin/dashboard_controller.ex
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
null
null
null
lib/multi_tenancex_web/controllers/admin/dashboard_controller.ex
dreamingechoes/multi_tenancex
cfe3feb6b7eb25559f9abaa4da89e4aafc9ad2ec
[ "MIT" ]
7
2018-07-24T17:56:14.000Z
2019-12-31T02:10:13.000Z
defmodule MultiTenancexWeb.Admin.DashboardController do use MultiTenancexWeb, :controller alias MultiTenancex.Accounts.Administrator alias MultiTenancex.Companies.Company alias MultiTenancex.Companies.Product alias MultiTenancex.Guardian.Plug alias MultiTenancex.Repo def index(conn, _params) do with...
30.162162
76
0.683692
6595facf55e7c81aafd730779602cc98f11c55c1
2,017
ex
Elixir
lib/plug/exceptions.ex
kamilwaz/plug
123974e43594373ee586a60fcd8961405829817e
[ "Apache-2.0" ]
null
null
null
lib/plug/exceptions.ex
kamilwaz/plug
123974e43594373ee586a60fcd8961405829817e
[ "Apache-2.0" ]
null
null
null
lib/plug/exceptions.ex
kamilwaz/plug
123974e43594373ee586a60fcd8961405829817e
[ "Apache-2.0" ]
null
null
null
# This file defines the Plug.Exception protocol and # the exceptions that implement such protocol. defprotocol Plug.Exception do @moduledoc """ A protocol that extends exceptions to be status-code aware. By default, it looks for an implementation of the protocol, otherwise checks if the exception has the `:pl...
28.408451
96
0.698562
65961acfca6026e4f15d994ecef8317a81b5fd07
1,118
exs
Elixir
config/config.exs
data-twister/blog-phoenix-live-view-google-maps
13c7186219f9920962df161a093adf77f5ded69d
[ "MIT" ]
null
null
null
config/config.exs
data-twister/blog-phoenix-live-view-google-maps
13c7186219f9920962df161a093adf77f5ded69d
[ "MIT" ]
null
null
null
config/config.exs
data-twister/blog-phoenix-live-view-google-maps
13c7186219f9920962df161a093adf77f5ded69d
[ "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. # General application configuration use Mix.Config # Configures the endpoint config :live_view_goog...
38.551724
96
0.782648
659680ef83ee73b325e76832c7ae288daa7962a5
7,581
ex
Elixir
lib/livebook_web/live/session_live/persistence_live.ex
rodrigues/livebook
9822735bcf0b5bffbbc2bd59a7b942e81276ffe3
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/persistence_live.ex
rodrigues/livebook
9822735bcf0b5bffbbc2bd59a7b942e81276ffe3
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/session_live/persistence_live.ex
rodrigues/livebook
9822735bcf0b5bffbbc2bd59a7b942e81276ffe3
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SessionLive.PersistenceLive do # TODO: rewrite this live view as a component, once live_view # has a unified way of sending events programatically from a child # component to parent live view or component. Currently we send an # event to self() from FileSelectComponent and use handle_info ...
29.157692
106
0.609023
65969095ffac61e35f9da85dde9691dbb03eb873
976
exs
Elixir
test/parser_test.exs
eteubert/stomp_client
57bcd4d824a64f068b9f19916c6659a716f7866a
[ "Apache-2.0" ]
2
2018-12-18T11:58:19.000Z
2019-02-13T19:32:25.000Z
test/parser_test.exs
eteubert/stomp_client
57bcd4d824a64f068b9f19916c6659a716f7866a
[ "Apache-2.0" ]
7
2016-11-03T07:37:21.000Z
2017-11-14T06:37:12.000Z
test/parser_test.exs
eteubert/stomp_client
57bcd4d824a64f068b9f19916c6659a716f7866a
[ "Apache-2.0" ]
12
2016-10-27T12:39:06.000Z
2020-12-01T05:45:44.000Z
defmodule StompClient.ParserTest do use ExUnit.Case doctest StompClient.Parser alias StompClient.Parser test "parse partial message1" do message = "MESSAGE\nmessage-id:ID\test\c12408\c1\c1\c2\nbreadcrumbId:ID\test\c8\c8877250\c1\c1\ndestination:/topic/test\ntimestamp:1478021275091\nexpires:0\nsubscr...
33.655172
295
0.717213
6596ac11cf7af7f7ce7612671174081d8b89af14
3,660
ex
Elixir
lib/battle_city/compile.ex
clszzyh/battle_city_core
7a3aca9000b186382f1faf526ebce837a76ef86e
[ "MIT" ]
null
null
null
lib/battle_city/compile.ex
clszzyh/battle_city_core
7a3aca9000b186382f1faf526ebce837a76ef86e
[ "MIT" ]
38
2020-12-17T12:40:44.000Z
2022-03-31T02:05:59.000Z
lib/battle_city/compile.ex
clszzyh/battle_city
7a3aca9000b186382f1faf526ebce837a76ef86e
[ "MIT" ]
null
null
null
defmodule BattleCity.Compile do @moduledoc false alias BattleCity.Environment alias BattleCity.Position alias BattleCity.Tank alias BattleCity.Utils require Logger @stage_path Application.app_dir( :battle_city, if(Mix.env() == :prod, do: "priv/stages/*.json", else: "priv/...
24.563758
102
0.578962
6596af0f8b68167e3d7073e8ff918731bb6d59cb
1,122
ex
Elixir
lib/access_token.ex
mpotra/composable_ecto_queries
c8498b23d8bc05dc410f5bc163c6641049cd07a6
[ "MIT" ]
null
null
null
lib/access_token.ex
mpotra/composable_ecto_queries
c8498b23d8bc05dc410f5bc163c6641049cd07a6
[ "MIT" ]
null
null
null
lib/access_token.ex
mpotra/composable_ecto_queries
c8498b23d8bc05dc410f5bc163c6641049cd07a6
[ "MIT" ]
null
null
null
defmodule AccessToken do @moduledoc """ The AccessToken schema represents database records of access tokens issued by an Issuer and that have a target Audience. For the purpose of this example, Access Tokens are just records that are identified by IDs. One possible application of such records is to refere...
31.166667
69
0.745098
6596b27ddf728eaea976ac2df61d035b9b8c5878
3,030
exs
Elixir
lib/logger/test/logger/backends/console_test.exs
Tica2/elixir
6cf1dcbfe4572fc75619f05e40c10fd0844083ef
[ "Apache-2.0" ]
1
2019-06-11T20:22:20.000Z
2019-06-11T20:22:20.000Z
lib/logger/test/logger/backends/console_test.exs
Tica2/elixir
6cf1dcbfe4572fc75619f05e40c10fd0844083ef
[ "Apache-2.0" ]
null
null
null
lib/logger/test/logger/backends/console_test.exs
Tica2/elixir
6cf1dcbfe4572fc75619f05e40c10fd0844083ef
[ "Apache-2.0" ]
null
null
null
defmodule Logger.Backends.ConsoleTest do use Logger.Case require Logger setup do on_exit fn -> :ok = Logger.configure_backend(:console, [format: nil, level: nil, metadata: [], colors: [enabled: false]]) end end test "does not start when there is no user" do :ok = Logger.remov...
26.814159
89
0.617162
6596c7b15b25808f9c210b9b4b4b0a066fae8e3c
2,313
ex
Elixir
lib/code_frame.ex
marvinhagemeister/elixir-code-frame
16731e873dfa60df9c772d9df5012563e34c191e
[ "MIT" ]
3
2017-11-21T07:33:48.000Z
2018-11-07T11:29:28.000Z
lib/code_frame.ex
marvinhagemeister/elixir-code-frame
16731e873dfa60df9c772d9df5012563e34c191e
[ "MIT" ]
null
null
null
lib/code_frame.ex
marvinhagemeister/elixir-code-frame
16731e873dfa60df9c772d9df5012563e34c191e
[ "MIT" ]
null
null
null
defmodule CodeFrame do alias IO.ANSI @moduledoc """ Generate an excerpt of a string and highlight a specific line """ @doc """ Generate the code frame with the given string. ## Examples Without coloring: ```bash iex> CodeFrame.build(myString, 5, colors: false) 4 | something > 5 | highligh...
30.434211
90
0.618245
6596de29c38ccf0db6956b33108b9458447edd51
932
exs
Elixir
config/test.exs
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
1
2019-11-15T15:39:24.000Z
2019-11-15T15:39:24.000Z
config/test.exs
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "MIT" ]
166
2020-06-30T16:07:48.000Z
2021-11-25T00:02:24.000Z
config/test.exs
elixir-berlin/juntos
64dd05888f357cf0c74da11d1eda69bab7f38e95
[ "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 :juntos, Juntos.Repo, username: System.get_env("PGUSER", "postgres"), password: System.get_env("PGPASSWO...
33.285714
65
0.743562