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
e92929da888b957464553ec6110888a83450a5e8
6,876
ex
Elixir
lib/elixir_ale/gpio.ex
mdinardo/elixir_ale
86be8382d2f990b38d135f4f0200203e2729df58
[ "Apache-2.0" ]
null
null
null
lib/elixir_ale/gpio.ex
mdinardo/elixir_ale
86be8382d2f990b38d135f4f0200203e2729df58
[ "Apache-2.0" ]
null
null
null
lib/elixir_ale/gpio.ex
mdinardo/elixir_ale
86be8382d2f990b38d135f4f0200203e2729df58
[ "Apache-2.0" ]
null
null
null
defmodule ElixirALE.GPIO do use GenServer @moduledoc """ This is an Elixir interface to Linux GPIOs. Each GPIO is an independent GenServer. """ def child_spec(opts) do %{ id: __MODULE__, start: {__MODULE__, :start_link, opts} } end defmodule State do @moduledoc false defst...
31.113122
99
0.671757
e9295e2fdb32c57c0c03e01e880fe9a08b9a1582
617
ex
Elixir
lib/serum/build/file_processor/template.ex
starbelly/Serum
6bb1b8ee1dbc457e278087bf605c964dac9e5d3d
[ "MIT" ]
1
2019-06-21T10:55:33.000Z
2019-06-21T10:55:33.000Z
lib/serum/build/file_processor/template.ex
starbelly/Serum
6bb1b8ee1dbc457e278087bf605c964dac9e5d3d
[ "MIT" ]
null
null
null
lib/serum/build/file_processor/template.ex
starbelly/Serum
6bb1b8ee1dbc457e278087bf605c964dac9e5d3d
[ "MIT" ]
null
null
null
defmodule Serum.Build.FileProcessor.Template do @moduledoc false alias Serum.Result alias Serum.Template.Compiler, as: TC @doc false @spec compile_templates(map()) :: Result.t({map(), map()}) def compile_templates(%{templates: templates, includes: includes}) do IO.puts("Compiling templates...") w...
29.380952
71
0.661264
e9297e47cabeadf2e0b2b6ec558acd300244a404
386
ex
Elixir
solutions/lib/ninety_nine_elixir_problems/solutions/problem05.ex
cgerling/ninety-nine-elixir-problems
45c1702a654d24e53c4010658c246185d1a04aa0
[ "Unlicense" ]
7
2019-12-06T13:36:19.000Z
2022-03-02T19:38:37.000Z
solutions/lib/ninety_nine_elixir_problems/solutions/problem05.ex
cgerling/ninety-nine-elixir-problems
45c1702a654d24e53c4010658c246185d1a04aa0
[ "Unlicense" ]
null
null
null
solutions/lib/ninety_nine_elixir_problems/solutions/problem05.ex
cgerling/ninety-nine-elixir-problems
45c1702a654d24e53c4010658c246185d1a04aa0
[ "Unlicense" ]
1
2021-06-27T16:53:49.000Z
2021-06-27T16:53:49.000Z
defmodule NinetyNineElixirProblems.Solutions.Problem05 do @doc ~S""" Reverse a list ## Examples: iex> Problem05.reverse([]) [] iex> Problem05.reverse([2, 1, 3, 4]) [4, 3, 1, 2] """ def reverse(list), do: list |> reverse_list() |> List.flatten() defp reverse_list([]), do: [] defp r...
20.315789
69
0.603627
e92992e551e1afdde124e7177e78e2af44f24d17
944
exs
Elixir
mix.exs
timdeputter/FitEx
ade1a9324802ebb54fb12c1154adb6f9a60d1e6f
[ "MIT" ]
1
2021-06-03T22:24:30.000Z
2021-06-03T22:24:30.000Z
mix.exs
Puddah/FitEx
ade1a9324802ebb54fb12c1154adb6f9a60d1e6f
[ "MIT" ]
null
null
null
mix.exs
Puddah/FitEx
ade1a9324802ebb54fb12c1154adb6f9a60d1e6f
[ "MIT" ]
1
2019-01-01T22:14:35.000Z
2019-01-01T22:14:35.000Z
defmodule Exit.Mixfile do use Mix.Project def project do [app: :fitex, version: "0.0.1", elixir: "~> 1.0.0", description: "FitEx is a Macro-Module which provides a bit of sugar for function definitions.", package: package, deps: deps] end # Configuration for the OTP application ...
23.6
100
0.606992
e929c62e7bc7f5fd8bcd8552329477f610c23dd1
538
exs
Elixir
config/test.exs
veverkap/coherence_social
45752db88b5c7c8220c96c4828adf58acf0a98d8
[ "MIT" ]
null
null
null
config/test.exs
veverkap/coherence_social
45752db88b5c7c8220c96c4828adf58acf0a98d8
[ "MIT" ]
null
null
null
config/test.exs
veverkap/coherence_social
45752db88b5c7c8220c96c4828adf58acf0a98d8
[ "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 :coherence_social, CoherenceSocial.Web.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :c...
26.9
56
0.754647
e929d44c544d0e7035116f51ab8caab32689e2c7
4,529
exs
Elixir
apps/tai/test/tai/venue_adapters/ftx/product_test.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/test/tai/venue_adapters/ftx/product_test.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
73
2018-10-05T18:45:06.000Z
2021-02-08T05:46:33.000Z
apps/tai/test/tai/venue_adapters/ftx/product_test.exs
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.VenueAdapters.Ftx.ProductTest do use ExUnit.Case, async: false alias Tai.VenueAdapters @venue :venue_a @options struct(VenueAdapters.Ftx.Product.Options) test ".build/2 can parse spot products" do market = build_market(name: "BTC/USD", type: "spot") product = VenueAdapters.Ftx.Product....
38.058824
99
0.7293
e92a035fed7c83bbf6d4fb53d350378ec3aa07b8
2,125
exs
Elixir
mix.exs
BenSchZA/kawapi-phoenix
5ed91b1d30d91bcc85c5f120d18691d236a41e88
[ "MIT" ]
1
2020-12-18T17:23:31.000Z
2020-12-18T17:23:31.000Z
mix.exs
BenSchZA/kawapi-phoenix
5ed91b1d30d91bcc85c5f120d18691d236a41e88
[ "MIT" ]
null
null
null
mix.exs
BenSchZA/kawapi-phoenix
5ed91b1d30d91bcc85c5f120d18691d236a41e88
[ "MIT" ]
null
null
null
defmodule Example.MixProject do use Mix.Project def project do [ app: :example, version: "0.1.0", elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
28.716216
115
0.553412
e92a275efa038578046d2437635a86019973d1ee
271
ex
Elixir
web/queries/payment_method.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
web/queries/payment_method.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
web/queries/payment_method.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.Query.PaymentMethod do use Nectar.Query, model: Nectar.PaymentMethod def enabled_payment_methods do from pay in Nectar.PaymentMethod, where: pay.enabled end def enabled_payment_methods(repo), do: repo.all(enabled_payment_methods()) end
24.636364
76
0.782288
e92a46a535c0ab1bef80f9f42bb955fac380154c
972
ex
Elixir
lib/honu_web/token.ex
elixir-honu/honu
e82cbc4c2457b3d64b929cc013c17cdb4fcc8f6c
[ "MIT" ]
1
2021-08-08T10:33:42.000Z
2021-08-08T10:33:42.000Z
lib/honu_web/token.ex
elixir-honu/honu
e82cbc4c2457b3d64b929cc013c17cdb4fcc8f6c
[ "MIT" ]
null
null
null
lib/honu_web/token.ex
elixir-honu/honu
e82cbc4c2457b3d64b929cc013c17cdb4fcc8f6c
[ "MIT" ]
null
null
null
defmodule HonuWeb.Token do # https://github.com/phoenixframework/phoenix/blob/master/lib/phoenix/token.ex def sign(context, salt, data, opts \\ []) when is_binary(salt) do context |> get_key_base() |> Plug.Crypto.sign(salt, data, opts) end def verify(context, salt, token, opts \\ []) when is_binar...
28.588235
80
0.680041
e92a8719d839618df71fb560f6a53ec29a26c5a7
864
ex
Elixir
elixir/word-count/lib/word_count.ex
eliotjordan/exercism-elixir
c9985cf13a0621630e41ff5b3373d880f20f86b6
[ "Apache-2.0" ]
null
null
null
elixir/word-count/lib/word_count.ex
eliotjordan/exercism-elixir
c9985cf13a0621630e41ff5b3373d880f20f86b6
[ "Apache-2.0" ]
null
null
null
elixir/word-count/lib/word_count.ex
eliotjordan/exercism-elixir
c9985cf13a0621630e41ff5b3373d880f20f86b6
[ "Apache-2.0" ]
null
null
null
defmodule WordCount do @doc """ Count the number of words in the sentence. Words are compared case-insensitively. """ @spec count(String.t()) :: map def count(sentence) do require IEx; IEx.pry String.replace(sentence, ~r/_/, " ") # replace underscores with spaces |> String.downcase |> Strin...
41.142857
126
0.650463
e92aa31464d0f1fb2a5c479fc7efd8ca538850b3
9,119
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/blockchain_balance_controller_test.exs
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/blockchain_balance_controller_test.exs
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/blockchain_balance_controller_test.exs
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34.938697
166
0.626165
e92aa36455b9825df5d1dfd802f905eb0b5ec070
1,395
ex
Elixir
lib/paxos/learner.ex
timgestson/expaxos
e0376ca86734aa3d2de3377b364e7ace31819e0f
[ "Apache-2.0" ]
8
2015-08-10T16:06:40.000Z
2020-10-28T19:34:54.000Z
lib/paxos/learner.ex
timgestson/expaxos
e0376ca86734aa3d2de3377b364e7ace31819e0f
[ "Apache-2.0" ]
null
null
null
lib/paxos/learner.ex
timgestson/expaxos
e0376ca86734aa3d2de3377b364e7ace31819e0f
[ "Apache-2.0" ]
null
null
null
defmodule Paxos.Learner do use GenServer.Behaviour alias Paxos.Messages.LearnReq, as: LearnReq alias Paxos.Messages.CatchupReq, as: CatchupReq alias Paxos.Messages.CatchupResp, as: CatchupResp defrecord State, instance: nil, value: nil def start_link(instance) do :gen_server.start_link(__MODULE_...
24.473684
97
0.691039
e92acf17c3ac35e70bc3f30e438de9bad705cc32
478
ex
Elixir
lib/ohio_elixir/events/speaker.ex
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
7
2021-01-22T00:20:04.000Z
2022-03-30T22:07:32.000Z
lib/ohio_elixir/events/speaker.ex
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
11
2021-10-05T03:59:28.000Z
2022-03-20T21:54:44.000Z
lib/ohio_elixir/events/speaker.ex
davemenninger/ohio_elixir
9472b71fa906e30a2a5fdc013256a5e80caedc2f
[ "MIT" ]
3
2021-06-10T02:48:54.000Z
2021-10-09T03:43:06.000Z
defmodule OhioElixir.Events.Speaker do @moduledoc false use Ecto.Schema import Ecto.Changeset schema "speakers" do field :name, :string field :social_link, :string many_to_many :meetings, OhioElixir.Events.Meeting, join_through: "speakers_meetings", on_delete: :delete_all timestam...
19.916667
54
0.688285
e92adf6e67a131aaca25907779867b8b073bdf26
4,289
ex
Elixir
clients/service_directory/lib/google_api/service_directory/v1/model/binding.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/service_directory/lib/google_api/service_directory/v1/model/binding.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/service_directory/lib/google_api/service_directory/v1/model/binding.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
80.924528
1,970
0.753789
e92afaa84993ad3cb0896fa6685be2706277b0fe
2,296
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/create_shape_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/slides/lib/google_api/slides/v1/model/create_shape_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/create_shape_request.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 ...
37.639344
145
0.717334
e92b16efd5f9e207550e701ce91d8587ce9f13a7
601
ex
Elixir
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/inner_error.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/inner_error.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/inner_error.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.InnerError do @moduledoc """ Inner error details. """ @derive [Poison.Encoder] defstruct [ ...
21.464286
83
0.703827
e92b3085434a4fc50aedb715f8a2cbc9351937fb
113
ex
Elixir
test_templates/with_failing_post_hook/hooks/failing_hook.ex
alopezz/mix_formula
41ecbf8db1bebf49334629e0e8150c2a76076d9a
[ "MIT" ]
null
null
null
test_templates/with_failing_post_hook/hooks/failing_hook.ex
alopezz/mix_formula
41ecbf8db1bebf49334629e0e8150c2a76076d9a
[ "MIT" ]
null
null
null
test_templates/with_failing_post_hook/hooks/failing_hook.ex
alopezz/mix_formula
41ecbf8db1bebf49334629e0e8150c2a76076d9a
[ "MIT" ]
null
null
null
defmodule FailingHook do use MixFormula.Hook post_hook "halt" do {:halt, "for no reason"} end end
11.3
28
0.663717
e92b713508e34ef8b5fadff15c96cee12a8e759c
1,941
ex
Elixir
lib/level/markdown.ex
DavidAlphaFox/level
7800e05dcc0104c44d80dbe4eb71a4074e443902
[ "Apache-2.0" ]
1
2019-06-11T20:20:32.000Z
2019-06-11T20:20:32.000Z
lib/level/markdown.ex
DavidAlphaFox/level
7800e05dcc0104c44d80dbe4eb71a4074e443902
[ "Apache-2.0" ]
null
null
null
lib/level/markdown.ex
DavidAlphaFox/level
7800e05dcc0104c44d80dbe4eb71a4074e443902
[ "Apache-2.0" ]
null
null
null
defmodule Level.Markdown do @moduledoc """ Functions for generating safe HTML from markdown input. """ alias Earmark.Options alias Level.Mentions @url_regex ~r/\bhttps?:\/\/ [a-zA-Z0-9\-\._~:\/\?#\[\]@!$&'\(\)\*\+,;=%]+ [a-zA-Z0-9\-_~:\/\?#\[\]@!$&\*\+;=%]/ix @immutable_tags ["a", "code"] @d...
24.884615
95
0.626481
e92b92ffef9947ef9e159820296df1a69eae6495
34
ex
Elixir
testData/org/elixir_lang/parser_definition/no_parentheses_strict_parsing_test_case/PositionalsAndKeywordsInParentheses.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/no_parentheses_strict_parsing_test_case/PositionalsAndKeywordsInParentheses.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/no_parentheses_strict_parsing_test_case/PositionalsAndKeywordsInParentheses.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
function (positional, key: value)
17
33
0.764706
e92bb99c7c11a7bb58740059462c93e286f16108
2,177
ex
Elixir
clients/content/lib/google_api/content/v2/model/order_customer_marketing_rights_info.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_customer_marketing_rights_info.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_customer_marketing_rights_info.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
40.314815
205
0.76068
e92bd47819c22bccc8f2b7f68f415a66fcc683d4
1,653
ex
Elixir
clients/fonts/lib/google_api/fonts/v1/model/webfont_list.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/fonts/lib/google_api/fonts/v1/model/webfont_list.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/fonts/lib/google_api/fonts/v1/model/webfont_list.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.411765
113
0.728978
e92be1a91d5907a5f881bfdb8c5085e358c2e27b
204
exs
Elixir
test/test_helper.exs
w0rd-driven/scratch_phoenix
465e01af6e7d649bfb308edf91247e9d6c6a5876
[ "MIT" ]
null
null
null
test/test_helper.exs
w0rd-driven/scratch_phoenix
465e01af6e7d649bfb308edf91247e9d6c6a5876
[ "MIT" ]
null
null
null
test/test_helper.exs
w0rd-driven/scratch_phoenix
465e01af6e7d649bfb308edf91247e9d6c6a5876
[ "MIT" ]
null
null
null
ExUnit.start Mix.Task.run "ecto.create", ~w(-r ScratchPhoenix.Repo --quiet) Mix.Task.run "ecto.migrate", ~w(-r ScratchPhoenix.Repo --quiet) Ecto.Adapters.SQL.begin_test_transaction(ScratchPhoenix.Repo)
29.142857
63
0.769608
e92c44ef540a15635670e413d1a42555eb8f90a2
6,285
ex
Elixir
lib/game/command/tell.ex
NatTuck/ex_venture
7a74d33025a580f1e3e93d3755f22258eb3e9127
[ "MIT" ]
null
null
null
lib/game/command/tell.ex
NatTuck/ex_venture
7a74d33025a580f1e3e93d3755f22258eb3e9127
[ "MIT" ]
null
null
null
lib/game/command/tell.ex
NatTuck/ex_venture
7a74d33025a580f1e3e93d3755f22258eb3e9127
[ "MIT" ]
null
null
null
defmodule Game.Command.Tell do @moduledoc """ Tell/reply to players """ use Game.Command alias Game.Channel alias Game.Format.Channels, as: FormatChannels alias Game.Session alias Game.Utility commands(["tell", "reply"], parse: false) @impl Game.Command def help(:topic), do: "Tell" def help(...
29.646226
104
0.627526
e92c73546bde21a62ce4003ddb0caa2b2b989498
4,500
exs
Elixir
config/config.exs
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
null
null
null
config/config.exs
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
null
null
null
config/config.exs
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
null
null
null
import Config config :central, Central, site_title: "BAR", site_description: "", site_icon: "fad fa-robot", enable_blog: false, blog_title: "BAR Blog", # This is used for the coverage tool file_path: "~/programming/elixir/barserver/", credit: "Teifion Jordan" # Default configs config :central, Central...
31.468531
230
0.684889
e92c7a8f9ecb88c8d5c93f45d13e4a5588092812
197
exs
Elixir
apps/sample_web/test/sample_web/controllers/page_controller_test.exs
ODYLIGHT/sample_umbrella
8b4ef00c732e24ccec6d98555d7542dff10a73f9
[ "MIT" ]
1
2020-02-20T11:27:02.000Z
2020-02-20T11:27:02.000Z
apps/sample_web/test/sample_web/controllers/page_controller_test.exs
ODYLIGHT/sample_umbrella
8b4ef00c732e24ccec6d98555d7542dff10a73f9
[ "MIT" ]
1
2020-04-30T00:58:40.000Z
2020-04-30T00:58:40.000Z
apps/sample_web/test/sample_web/controllers/page_controller_test.exs
ODYLIGHT/sample_umbrella
8b4ef00c732e24ccec6d98555d7542dff10a73f9
[ "MIT" ]
null
null
null
defmodule SampleWeb.PageControllerTest do use SampleWeb.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
21.888889
60
0.680203
e92c810f9630dce4d596c4d2cc55482b1f8b7e31
1,030
ex
Elixir
lib/stranger/endpoint.ex
cazrin/stranger
887dfe52c8b934cf6fd0d598d64c3735da96d4e1
[ "MIT" ]
50
2016-01-24T11:45:47.000Z
2016-08-26T20:20:20.000Z
lib/stranger/endpoint.ex
dnlgrv/stranger
887dfe52c8b934cf6fd0d598d64c3735da96d4e1
[ "MIT" ]
1
2016-01-24T20:21:19.000Z
2016-01-28T11:26:10.000Z
lib/stranger/endpoint.ex
dnlgrv/stranger
887dfe52c8b934cf6fd0d598d64c3735da96d4e1
[ "MIT" ]
3
2017-03-17T12:46:09.000Z
2021-01-14T19:41:01.000Z
defmodule Stranger.Endpoint do @moduledoc false use Phoenix.Endpoint, otp_app: :stranger socket "/socket", Stranger.Socket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. ...
24.52381
69
0.709709
e92ca1527cb2e8e64fd6d9cfb9165086e8650afa
676
ex
Elixir
lib/swagger/client/model/channel_hold.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
null
null
null
lib/swagger/client/model/channel_hold.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
null
null
null
lib/swagger/client/model/channel_hold.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
1
2018-10-27T07:10:02.000Z
2018-10-27T07:10:02.000Z
# 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 Swagger.Client.Model.ChannelHold do @moduledoc """ A channel initiated a media hold. """ @derive [Poison.Encoder] defstruct [ :"cha...
22.533333
78
0.696746
e92cc3f2976877bec2d226b7cc9e9bafa44101b2
4,902
ex
Elixir
lib/jsonrpc2/clients/tcp.ex
InoMurko/jsonrpc2-elixir
3edb92061231ddc9edc1a69531f7248d3d00d8f3
[ "Apache-2.0" ]
null
null
null
lib/jsonrpc2/clients/tcp.ex
InoMurko/jsonrpc2-elixir
3edb92061231ddc9edc1a69531f7248d3d00d8f3
[ "Apache-2.0" ]
null
null
null
lib/jsonrpc2/clients/tcp.ex
InoMurko/jsonrpc2-elixir
3edb92061231ddc9edc1a69531f7248d3d00d8f3
[ "Apache-2.0" ]
null
null
null
defmodule JSONRPC2.Clients.TCP do @moduledoc """ A client for JSON-RPC 2.0 using a line-based TCP transport. """ alias JSONRPC2.Clients.TCP.Protocol @default_timeout 5_000 @type host :: binary | :inet.socket_address() | :inet.hostname() @type request_id :: any @type call_option :: {:strin...
35.781022
108
0.680743
e92cd8e0369424630fb443808d67c04eb48d9ba1
1,972
ex
Elixir
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/crawled_url.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/crawled_url.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/crawled_url.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.214286
138
0.715517
e92ce5d46a67e41871575e2bd88add322d51986a
3,462
exs
Elixir
test/ex_rets/http_client/httpc_test.exs
jdav-dev/ex_rets
16eb6a1adc5d1d1eb259f86d6b09080c3c1068bf
[ "Apache-2.0" ]
1
2019-12-20T14:23:19.000Z
2019-12-20T14:23:19.000Z
test/ex_rets/http_client/httpc_test.exs
jdav-dev/ex_rets
16eb6a1adc5d1d1eb259f86d6b09080c3c1068bf
[ "Apache-2.0" ]
null
null
null
test/ex_rets/http_client/httpc_test.exs
jdav-dev/ex_rets
16eb6a1adc5d1d1eb259f86d6b09080c3c1068bf
[ "Apache-2.0" ]
null
null
null
defmodule ExRets.HttpClient.HttpcTest do use ExUnit.Case, async: true alias ExRets.HttpClient.Httpc alias ExRets.HttpRequest alias ExRets.HttpResponse @moduletag timeout: :timer.seconds(10) @test_uri URI.parse("https://www.reso.org") @request %HttpRequest{uri: @test_uri} describe "start_client/2" do...
26.427481
93
0.661756
e92d0a741131e9f1b574f7297ed3232e56bd6508
321
exs
Elixir
priv/repo/migrations/20150803174617_add_resources_to_villa.exs
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
5
2016-10-20T10:00:59.000Z
2017-11-19T08:14:18.000Z
priv/repo/migrations/20150803174617_add_resources_to_villa.exs
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
39
2020-04-22T05:27:32.000Z
2022-03-13T17:22:26.000Z
priv/repo/migrations/20150803174617_add_resources_to_villa.exs
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
null
null
null
defmodule LaFamiglia.Repo.Migrations.AddResourcesToVilla do use Ecto.Migration def change do alter table(:villas) do add :resource_1, :float add :resource_2, :float add :resource_3, :float add :storage_capacity, :integer add :processed_until, :utc_datetime_usec end end end...
20.0625
59
0.694704
e92d21dbddc74653f4864e2e260fbf34f42e3222
295
exs
Elixir
examples/async_job_api/priv/repo/migrations/20171222201644_create_job_queue.exs
thedelchop/ecto_job
0157d857e4436a35ebcc0a9f5cd4b28b33292f62
[ "MIT" ]
268
2017-08-15T12:55:41.000Z
2022-03-20T22:42:18.000Z
examples/async_job_api/priv/repo/migrations/20171222201644_create_job_queue.exs
thedelchop/ecto_job
0157d857e4436a35ebcc0a9f5cd4b28b33292f62
[ "MIT" ]
65
2019-08-20T06:55:57.000Z
2021-08-03T05:25:49.000Z
examples/async_job_api/priv/repo/migrations/20171222201644_create_job_queue.exs
sendle/ecto_job
5cea02620d8aa74a73d930a2d6a5349a38eee82f
[ "MIT" ]
38
2018-01-08T12:26:19.000Z
2021-06-01T12:41:09.000Z
defmodule AsyncJobApi.Repo.Migrations.CreateJobQueue do use Ecto.Migration def up do EctoJob.Migrations.Install.up() EctoJob.Migrations.CreateJobTable.up("jobs") end def down do EctoJob.Migrations.CreateJobTable.down("jobs") EctoJob.Migrations.Install.down() end end
21.071429
55
0.749153
e92d2d157abe9d43b93a9e681dd1e27f16bfefe5
8,353
ex
Elixir
lib/mimemail.ex
kbrw/mailibex
035a0949fb518c6a84fb9a8501362d6d4743c78f
[ "MIT" ]
30
2017-05-25T11:39:13.000Z
2021-12-10T01:40:59.000Z
lib/mimemail.ex
kbrw/mailibex
035a0949fb518c6a84fb9a8501362d6d4743c78f
[ "MIT" ]
16
2017-05-23T13:16:54.000Z
2022-01-14T11:03:33.000Z
lib/mimemail.ex
kbrw/mailibex
035a0949fb518c6a84fb9a8501362d6d4743c78f
[ "MIT" ]
18
2017-06-02T18:56:57.000Z
2022-03-10T08:17:02.000Z
defmodule MimeMail do @type header :: {:raw,binary} | MimeMail.Header.t #ever the raw line or any term implementing MimeMail.Header.to_ascii @type body :: binary | [MimeMail.t] | {:raw,binary} #ever the raw body or list of mail for multipart or binary for decoded content @type t :: %MimeMail{headers: [{key::binar...
40.746341
132
0.613791
e92db2936a302d55038be0a512c4688326c31d84
1,117
exs
Elixir
config/config.exs
vic/ultimate-voltron-ex
7bbe219e71c3c3d6d9361f3afc5da85d45ea4a5f
[ "Apache-2.0" ]
1
2016-05-01T15:29:19.000Z
2016-05-01T15:29:19.000Z
config/config.exs
vic/ultimate-voltron-ex
7bbe219e71c3c3d6d9361f3afc5da85d45ea4a5f
[ "Apache-2.0" ]
1
2016-05-01T23:52:13.000Z
2018-03-18T21:37:37.000Z
config/config.exs
vic/ultimate-voltron-ex
7bbe219e71c3c3d6d9361f3afc5da85d45ea4a5f
[ "Apache-2.0" ]
1
2016-05-01T15:45:29.000Z
2016-05-01T15:45:29.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.032258
73
0.751119
e92dc62a601e93ca7faa8181155c50e63a98db44
653
ex
Elixir
lib/farmbot/regimen/supervisor.ex
defcon201/farmbot_os
acc22702afbb13be461c9d80591604958117ff75
[ "MIT" ]
null
null
null
lib/farmbot/regimen/supervisor.ex
defcon201/farmbot_os
acc22702afbb13be461c9d80591604958117ff75
[ "MIT" ]
null
null
null
lib/farmbot/regimen/supervisor.ex
defcon201/farmbot_os
acc22702afbb13be461c9d80591604958117ff75
[ "MIT" ]
1
2020-12-16T16:39:32.000Z
2020-12-16T16:39:32.000Z
defmodule Farmbot.Regimen.Supervisor do @moduledoc false use Supervisor @doc false def start_link do Supervisor.start_link(__MODULE__, [], [name: __MODULE__]) end def init([]) do children = [] opts = [strategy: :one_for_one] supervise(children, opts) end def add_child(regimen, time) d...
23.321429
61
0.70291
e92ddb0f1e22627cd008bfc5c60cd03705da7f35
1,181
ex
Elixir
test/support/test_brod.ex
davidsantoso/kaffe
101fc08dfb788ba74068ec2892663bcfd1ca8c3f
[ "MIT" ]
null
null
null
test/support/test_brod.ex
davidsantoso/kaffe
101fc08dfb788ba74068ec2892663bcfd1ca8c3f
[ "MIT" ]
null
null
null
test/support/test_brod.ex
davidsantoso/kaffe
101fc08dfb788ba74068ec2892663bcfd1ca8c3f
[ "MIT" ]
null
null
null
defmodule TestBrod do use GenServer @test_partition_count Application.get_env(:kaffe, :test_partition_count) require Logger def start_client(_endpoints, _client_name, _producer_config) do GenServer.start_link(__MODULE__, :ok, name: TestBrod) :ok end def start_link_group_subscriber(_client, _cons...
29.525
126
0.737511
e92de7f60dc8ccc821db526ab75cf0cb8c211e7a
287
exs
Elixir
elixir-in-action/ch-8/supervised_todo_cache/test/todo_cache_test.exs
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
elixir-in-action/ch-8/supervised_todo_cache/test/todo_cache_test.exs
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
elixir-in-action/ch-8/supervised_todo_cache/test/todo_cache_test.exs
danurna/elixir-playground
6acb40e513d8ab324368b3ec5151b0a4fd88f849
[ "MIT" ]
null
null
null
defmodule TodoCacheTest do use ExUnit.Case test "server_process" do {:ok, _} = Todo.Cache.start_link(nil) bob_pid = Todo.Cache.server_process("bob") assert bob_pid != Todo.Cache.server_process("alice") assert bob_pid == Todo.Cache.server_process("bob") end end
23.916667
56
0.700348
e92dee429caad0b260f4f0952c275e4154886ef5
8,927
ex
Elixir
lib/oban/telemetry.ex
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
lib/oban/telemetry.ex
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
lib/oban/telemetry.ex
wjdix/oban
b68bcf02d2942c6ef7a98f8ea6ec80912beea47c
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Telemetry do @moduledoc """ Telemetry integration for event metrics, logging and error reporting. ### Job Events Oban emits the following telemetry events for each job: * `[:oban, :job, :start]` — at the point a job is fetched from the database and will execute * `[:oban, :job, :stop]` — a...
34.600775
155
0.611404
e92e30182302d3b6de868b97b581cc9e129ce190
114
exs
Elixir
test/toybot_test.exs
rdrobinson3/toybot
2bf1824b65ca55f60ffa1a34562d09f074306697
[ "MIT" ]
null
null
null
test/toybot_test.exs
rdrobinson3/toybot
2bf1824b65ca55f60ffa1a34562d09f074306697
[ "MIT" ]
null
null
null
test/toybot_test.exs
rdrobinson3/toybot
2bf1824b65ca55f60ffa1a34562d09f074306697
[ "MIT" ]
null
null
null
defmodule ToybotTest do use ExUnit.Case doctest Toybot test "the truth" do assert 1 + 1 == 2 end end
12.666667
23
0.666667
e92e8753160ee771803366d7719885ba0bbeff59
2,649
ex
Elixir
lib/que/job.ex
sadiqmmm/que
9c820ac3a5efcb1e3bf1f4407dd8c0f7df9cacb4
[ "MIT" ]
1
2019-03-14T05:48:05.000Z
2019-03-14T05:48:05.000Z
lib/que/job.ex
sadiqmmm/que
9c820ac3a5efcb1e3bf1f4407dd8c0f7df9cacb4
[ "MIT" ]
null
null
null
lib/que/job.ex
sadiqmmm/que
9c820ac3a5efcb1e3bf1f4407dd8c0f7df9cacb4
[ "MIT" ]
null
null
null
defmodule Que.Job do defstruct [:id, :arguments, :worker, :status, :ref, :pid, :created_at, :updated_at] ## Note: Update Que.Persistence.Mnesia after changing these values @moduledoc """ Module to manage a Job's state and execute the worker's callbacks. Defines a `Que.Job` struct an keeps track of the Job...
22.641026
86
0.644772
e92e91876ca0900ad7b61ef52db90b4299a83907
10,009
exs
Elixir
test/event_submission_test.exs
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
518
2017-11-09T13:10:49.000Z
2022-03-28T14:29:50.000Z
test/event_submission_test.exs
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
270
2017-11-10T00:11:34.000Z
2022-02-27T13:08:16.000Z
test/event_submission_test.exs
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
67
2017-12-19T20:16:37.000Z
2022-03-31T10:43:04.000Z
defmodule RigInboundGateway.EventSubmissionTest do @moduledoc """ Assures that RIG doesn't change events. """ # Cannot be async because the extractor configuration is modified: use ExUnit.Case, async: false alias HTTPoison alias Jason alias RigInboundGateway.ExtractorConfig alias SseClient alias...
33.474916
103
0.56699
e92eb4233b5c5b23bb2e9595f87bbf8bfe0b4a71
919
exs
Elixir
examples/simple_language.exs
jeregrine/nimble_parsec
13b360170a97da099a3e056615c456f3ca98fe85
[ "Apache-2.0" ]
227
2020-01-20T16:39:39.000Z
2022-03-31T14:37:19.000Z
examples/simple_language.exs
jeregrine/nimble_parsec
13b360170a97da099a3e056615c456f3ca98fe85
[ "Apache-2.0" ]
34
2020-01-31T01:14:06.000Z
2022-02-28T10:50:31.000Z
examples/simple_language.exs
jeregrine/nimble_parsec
13b360170a97da099a3e056615c456f3ca98fe85
[ "Apache-2.0" ]
25
2020-02-23T02:05:20.000Z
2022-01-25T21:32:55.000Z
# Run it from root with `mix run examples/simple_language.exs` # A language with integers and interpolated strings. defmodule SimpleLanguage do import NimbleParsec interpolation = ignore(string(~S(#{))) |> parsec(:language) |> ignore(string(~S(}))) |> unwrap_and_tag(:interpolation) integer = ...
24.837838
82
0.615887
e92ee1386e63187b97c1406201c736e39db9a207
41,063
ex
Elixir
lib/mix/tasks/coh.install.ex
dipth/coherence
64ad450c5d8d020172875c4bf52f2bbdaa6e59de
[ "MIT" ]
null
null
null
lib/mix/tasks/coh.install.ex
dipth/coherence
64ad450c5d8d020172875c4bf52f2bbdaa6e59de
[ "MIT" ]
null
null
null
lib/mix/tasks/coh.install.ex
dipth/coherence
64ad450c5d8d020172875c4bf52f2bbdaa6e59de
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Coh.Install do use Mix.Task import Macro, only: [camelize: 1, underscore: 1] import Mix.Generator import Mix.Ecto # import Coherence.Config, only: [use_binary_id?: 0] import Coherence.Mix.Utils @shortdoc "Configure the Coherence Package" @moduledoc """ Configure the Coherence Us...
32.130673
155
0.644692
e92ef4b565e916b5dd429a9ce11cbed145b851d1
1,249
ex
Elixir
lib/mix/tasks/human_readable_identifier_generator/import_words.ex
jshmrtn/human_readable_identifier_generator
fe9fe5558554092ec91de3f73a31339a3992312f
[ "MIT" ]
null
null
null
lib/mix/tasks/human_readable_identifier_generator/import_words.ex
jshmrtn/human_readable_identifier_generator
fe9fe5558554092ec91de3f73a31339a3992312f
[ "MIT" ]
1
2021-05-18T04:10:34.000Z
2021-05-18T04:10:34.000Z
lib/mix/tasks/human_readable_identifier_generator/import_words.ex
jshmrtn/human_readable_identifier_generator
fe9fe5558554092ec91de3f73a31339a3992312f
[ "MIT" ]
null
null
null
unless Mix.env() == :prod do defmodule Mix.Tasks.HumanReadableIdentifierGenerator.ImportWords do @shortdoc "Import Wordlist" @moduledoc """ Import Word List """ use Mix.Task alias HumanReadableIdentifierGenerator.FileLoader @default_base_path Application.app_dir(:human_readable_identif...
20.816667
98
0.630104
e92f0fff2b7d6b56576ca18686999de4604aee3a
533
exs
Elixir
test/ticker_web/views/error_view_test.exs
koskoci/ticker-be
95e6e7df1b8017d3180c17f881f7a1e36b728562
[ "MIT" ]
null
null
null
test/ticker_web/views/error_view_test.exs
koskoci/ticker-be
95e6e7df1b8017d3180c17f881f7a1e36b728562
[ "MIT" ]
null
null
null
test/ticker_web/views/error_view_test.exs
koskoci/ticker-be
95e6e7df1b8017d3180c17f881f7a1e36b728562
[ "MIT" ]
null
null
null
defmodule TickerWeb.ErrorViewTest do use TickerWeb.ConnCase, async: true import Phoenix.View test "renders 400.json" do assert render(TickerWeb.ErrorView, "400.json", []) == %{errors: %{message: "Bad request"}} end test "renders 404.json" do assert render(TickerWeb.ErrorView, "404.json...
25.380952
57
0.619137
e92f59e3795d52941b064561b62dbe4020d7b596
813
exs
Elixir
test/policy_check_test.exs
kianmeng/absinthe_permission
5085045c04582d9b9e461ec2e36d6511ba5555fa
[ "MIT" ]
16
2020-10-28T16:12:00.000Z
2022-01-31T17:03:47.000Z
test/policy_check_test.exs
kianmeng/absinthe_permission
5085045c04582d9b9e461ec2e36d6511ba5555fa
[ "MIT" ]
null
null
null
test/policy_check_test.exs
kianmeng/absinthe_permission
5085045c04582d9b9e461ec2e36d6511ba5555fa
[ "MIT" ]
1
2020-10-30T11:45:30.000Z
2020-10-30T11:45:30.000Z
defmodule PolicyCheckTest do use ExUnit.Case alias AbsinthePermission.PolicyChecker test "has permission" do assert true == PolicyChecker.has_permission?("", ["perm1", "perm2", "perm3"]) assert true == PolicyChecker.has_permission?(nil, ["perm1", "perm2", "perm3"]) assert false == PolicyChecker.has_...
28.034483
82
0.627306
e92f607d0fdf8a87d5c530d575c5d635f6895e05
1,980
ex
Elixir
lib/fake_http/server/registry.ex
ishikawa/ex_fake_http
de4ab071ca23ff060f7b17883d8fb4af8f12cabd
[ "MIT" ]
null
null
null
lib/fake_http/server/registry.ex
ishikawa/ex_fake_http
de4ab071ca23ff060f7b17883d8fb4af8f12cabd
[ "MIT" ]
4
2019-05-03T05:23:23.000Z
2019-12-29T07:48:15.000Z
lib/fake_http/server/registry.ex
ishikawa/ex_fake_http
de4ab071ca23ff060f7b17883d8fb4af8f12cabd
[ "MIT" ]
1
2019-08-06T13:44:48.000Z
2019-08-06T13:44:48.000Z
defmodule FakeHTTP.Server.Registry do @moduledoc false @doc """ Returns the name of the shared registry. """ @default_name __MODULE__ @spec name :: GenServer.name() def name, do: @default_name @spec agent_name(term, Keyword.t()) :: GenServer.name() def agent_name(unique_key, opts \\ []), do: build_n...
32.459016
97
0.689394
e92f8727f411ad8439fee80ff36432142a1ebc1e
1,794
ex
Elixir
lib/crit_biz/view_models/support/field_validators.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
6
2019-07-16T19:31:23.000Z
2021-06-05T19:01:05.000Z
lib/crit_biz/view_models/support/field_validators.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
null
null
null
lib/crit_biz/view_models/support/field_validators.ex
brownt23/crit19
c45c7b3ae580c193168d83144da0eeb9bc91c8a9
[ "MIT" ]
3
2020-02-24T23:38:27.000Z
2020-08-01T23:50:17.000Z
defmodule CritBiz.ViewModels.FieldValidators do use Crit.Global.Constants use Crit.Errors import Ecto.Changeset alias Ecto.ChangesetX alias Crit.Servers.Institution alias Pile.Namelist use ExContract def date_order(%{valid?: false} = changeset), do: changeset def date_order(changeset) do check fe...
26.382353
80
0.677258
e92f9416d3e17cfdd890e4f3346fa70d8a5d0128
202
exs
Elixir
web_finngen_r8/priv/repo/migrations/20191219080836_alter_phenocode_add_h2.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/priv/repo/migrations/20191219080836_alter_phenocode_add_h2.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/priv/repo/migrations/20191219080836_alter_phenocode_add_h2.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule Risteys.Repo.Migrations.AlterPhenocodeAddH2 do use Ecto.Migration def change do alter table(:phenocodes) do add :h2_liab, :float add :h2_liab_se, :float end end end
18.363636
56
0.70297
e92f9637624f46ad133448adad856e4e9bd270ec
1,937
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/list_alert_policies_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/list_alert_policies_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/list_alert_policies_response.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.980392
238
0.754259
e92faccf04f9f3bae97ae1feb8dad0b0733633fb
159
ex
Elixir
lib/fallback.ex
gabeklein/Socks
f02ecdb839cfde1e0bc02ce1e84543a2f508b39c
[ "MIT" ]
3
2016-09-02T03:18:49.000Z
2016-09-14T23:47:36.000Z
lib/fallback.ex
gabeklein/Socks
f02ecdb839cfde1e0bc02ce1e84543a2f508b39c
[ "MIT" ]
null
null
null
lib/fallback.ex
gabeklein/Socks
f02ecdb839cfde1e0bc02ce1e84543a2f508b39c
[ "MIT" ]
null
null
null
defmodule Socks.Fallback do use Socks.Role get "ping", do: return "pong" fallback message: "SERVER FAULT: More like, developer's fault, amiright??" end
22.714286
76
0.72327
e92fdafe4f94bc3dcf5f809a69e46983cdfe199a
1,618
ex
Elixir
lib/mix/lib/mix/dep/lock.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-04-29T12:35:51.000Z
2019-04-29T12:35:51.000Z
lib/mix/lib/mix/dep/lock.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-04-25T12:52:49.000Z
2019-04-25T13:27:31.000Z
lib/mix/lib/mix/dep/lock.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
# This module keeps a lock file and the manifest for the lock file. # The lockfile keeps the latest dependency information while the # manifest is used whenever a dependency is affected via any of the # deps.* tasks. We also keep the Elixir version in the manifest file. defmodule Mix.Dep.Lock do @moduledoc false @...
27.896552
85
0.621137
e92ff1ca9a04dfca2155789ec23a6714e17ac5e8
2,223
exs
Elixir
config/prod.exs
jchartsell/caesar_cipher
bc23b2d8f55a6e25ecefe6539af7e476f69410fb
[ "MIT" ]
null
null
null
config/prod.exs
jchartsell/caesar_cipher
bc23b2d8f55a6e25ecefe6539af7e476f69410fb
[ "MIT" ]
null
null
null
config/prod.exs
jchartsell/caesar_cipher
bc23b2d8f55a6e25ecefe6539af7e476f69410fb
[ "MIT" ]
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...
33.681818
67
0.719298
e93010ef8292b60aae224728176129fd1acfae11
130
ex
Elixir
hello_world/web/views/event_view.ex
AdilKhn/phoenix-experiments
4c115b4bf94c5265497cbe099b4f650fd3c0298c
[ "MIT" ]
null
null
null
hello_world/web/views/event_view.ex
AdilKhn/phoenix-experiments
4c115b4bf94c5265497cbe099b4f650fd3c0298c
[ "MIT" ]
null
null
null
hello_world/web/views/event_view.ex
AdilKhn/phoenix-experiments
4c115b4bf94c5265497cbe099b4f650fd3c0298c
[ "MIT" ]
null
null
null
defmodule HelloWorld.EventView do use HelloWorld.Web, :view def render("index.json", %{}) do %{hello: "world"} end end
16.25
34
0.661538
e93019f1460d81e06029ddf7f47def2272e57852
3,435
exs
Elixir
test/causal_crdt_test.exs
evadne/delta_crdt_ex
3ec6940edd6fdf5ee047f5e402e4054f4ad678c9
[ "MIT" ]
1
2019-11-11T16:58:03.000Z
2019-11-11T16:58:03.000Z
test/causal_crdt_test.exs
evadne/delta_crdt_ex
3ec6940edd6fdf5ee047f5e402e4054f4ad678c9
[ "MIT" ]
null
null
null
test/causal_crdt_test.exs
evadne/delta_crdt_ex
3ec6940edd6fdf5ee047f5e402e4054f4ad678c9
[ "MIT" ]
null
null
null
defmodule CausalCrdtTest do use ExUnit.Case, async: true doctest DeltaCrdt alias DeltaCrdt.AWLWWMap setup do {:ok, c1} = DeltaCrdt.start_link(AWLWWMap, sync_interval: 5, ship_interval: 5, ship_debounce: 5) {:ok, c2} = DeltaCrdt.start_link(AWLWWMap, sync_interval: 5, ship_interval: 5, ship...
35.78125
90
0.670451
e9305646b4fcc914fcee11ff8a6df60910566838
40,584
ex
Elixir
lib/elixir/lib/gen_event.ex
emilsoman/elixir
4407170349aa12c58664cab2122374167e827f5e
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/elixir/lib/gen_event.ex
alco/elixir
4407170349aa12c58664cab2122374167e827f5e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/gen_event.ex
alco/elixir
4407170349aa12c58664cab2122374167e827f5e
[ "Apache-2.0" ]
null
null
null
defmodule GenEvent do @moduledoc """ A behaviour module for implementing event handling functionality. The event handling model consists of a generic event manager process with an arbitrary number of event handlers which are added and deleted dynamically. An event manager implemented using this module wil...
34.986207
110
0.658831
e93065d00b5d90daf23df4d1cad44a57604daea4
1,882
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/teacher.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/teacher.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/teacher.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...
36.192308
308
0.740701
e93092ff57638b4f8db4ea9ffbf954930b070b17
98
exs
Elixir
test/tradehub/stream_test.exs
anhmv/tradehub-api-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
5
2021-05-04T16:54:25.000Z
2021-12-15T06:53:24.000Z
test/tradehub/stream_test.exs
anhmv/tradehub-api-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
5
2021-05-19T04:49:00.000Z
2021-06-01T13:36:50.000Z
test/tradehub/stream_test.exs
anhmv/tradehub-elixir
6ec87c2b07188d4140506011e2b28db4d372ac6d
[ "MIT" ]
null
null
null
defmodule TradehubTest.StreamTest do use ExUnit.Case, async: true doctest Tradehub.Stream end
19.6
36
0.806122
e930a5bb5af24c2fcb450998c463194973a95afd
22
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_addition_operation_parsing_test_case/AtomKeyword.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/parser_definition/matched_addition_operation_parsing_test_case/AtomKeyword.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/parser_definition/matched_addition_operation_parsing_test_case/AtomKeyword.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
nil + true false - nil
11
11
0.681818
e930ce22efb9e9d878a319304b3e662d148b81ca
636
exs
Elixir
mix.exs
SimplicityMatters/exnem
05b77fc0ffd98321701eaba974ec2fd1def39fe2
[ "Apache-2.0" ]
1
2018-10-01T23:57:04.000Z
2018-10-01T23:57:04.000Z
mix.exs
SimplicityMatters/exnem
05b77fc0ffd98321701eaba974ec2fd1def39fe2
[ "Apache-2.0" ]
null
null
null
mix.exs
SimplicityMatters/exnem
05b77fc0ffd98321701eaba974ec2fd1def39fe2
[ "Apache-2.0" ]
null
null
null
defmodule Exnem.MixProject do use Mix.Project def project do [ app: :exnem, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applica...
18.705882
59
0.498428
e930f8170c8befc6541c98235a23498a5a7e243d
599
exs
Elixir
apps/ld_graph2/test/test_helper.exs
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
1
2021-09-11T15:46:04.000Z
2021-09-11T15:46:04.000Z
apps/ld_graph2/test/test_helper.exs
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
4
2021-01-18T00:49:02.000Z
2022-02-23T05:18:37.000Z
apps/ld_graph2/test/test_helper.exs
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
null
null
null
# Copyright 2020-2021 Roland Metivier # # 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.933333
74
0.764608
e9310a93d4650cbdaad3ce0eeaec9be7fcbd99c3
17,009
exs
Elixir
lib/elixir/test/elixir/task/supervisor_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-04-29T12:35:51.000Z
2019-04-29T12:35:51.000Z
lib/elixir/test/elixir/task/supervisor_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-04-25T12:52:49.000Z
2019-04-25T13:27:31.000Z
lib/elixir/test/elixir/task/supervisor_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Task.SupervisorTest do use ExUnit.Case @moduletag :capture_log setup do {:ok, pid} = Task.Supervisor.start_link() {:ok, supervisor: pid} end def wait_and_send(caller, atom) do send(caller, :ready) receive do: (true -> true) sen...
33.416503
98
0.632959
e93119032170b9a25c8c375869749c6dd7df45bc
421
ex
Elixir
lib/binance/order.ex
dwarvesf/ex_binance
ed55e4b363c1cca54401b3b7d0e76c34e8797877
[ "MIT" ]
52
2018-01-16T23:38:06.000Z
2022-02-14T11:05:47.000Z
lib/binance/order.ex
Cinderella-Man/binance.ex
8735ed9582f8aebb947f766e53d2418060f69197
[ "MIT" ]
56
2018-02-24T15:10:29.000Z
2022-03-28T19:05:41.000Z
lib/binance/order.ex
Cinderella-Man/binance.ex
8735ed9582f8aebb947f766e53d2418060f69197
[ "MIT" ]
37
2018-01-20T14:56:56.000Z
2022-03-03T20:18:30.000Z
defmodule Binance.Order do @moduledoc """ Struct for representing the result returned by /api/v3/openOrders """ defstruct [ :symbol, :order_id, :client_order_id, :price, :orig_qty, :executed_qty, :cummulative_quote_qty, :status, :time_in_force, :type, :side, :sto...
15.592593
67
0.624703
e93124045cb9bc2b26be78f036f72fc583569dec
2,796
ex
Elixir
clients/alert_center/lib/google_api/alert_center/v1beta1/model/gmail_message_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/alert_center/lib/google_api/alert_center/v1beta1/model/gmail_message_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/alert_center/lib/google_api/alert_center/v1beta1/model/gmail_message_info.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...
41.117647
142
0.688126
e931845c4eb508030febcb0235da2f07d91bc54c
497
ex
Elixir
talks-articles/frameworks/phoenix/book--programming-phoenix-ge-1.4/videologue/lib/videologue_web/views/error_view.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
37
2015-02-01T23:16:39.000Z
2021-12-22T16:50:48.000Z
talks-articles/frameworks/phoenix/book--programming-phoenix-ge-1.4/videologue/lib/videologue_web/views/error_view.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
1
2017-03-02T04:55:48.000Z
2018-01-14T10:51:11.000Z
talks-articles/frameworks/phoenix/book--programming-phoenix-ge-1.4/videologue/lib/videologue_web/views/error_view.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
15
2015-03-02T08:09:01.000Z
2021-06-10T03:25:41.000Z
defmodule VideologueWeb.ErrorView do use VideologueWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the templat...
29.235294
61
0.738431
e931a77fb62057d0cffb3119260b2c43f28388d4
94
exs
Elixir
config/dev.exs
mfoley40/nerves_hub
3e0009d067af4ac365b6c4134b600115da29dc1d
[ "Apache-2.0" ]
null
null
null
config/dev.exs
mfoley40/nerves_hub
3e0009d067af4ac365b6c4134b600115da29dc1d
[ "Apache-2.0" ]
null
null
null
config/dev.exs
mfoley40/nerves_hub
3e0009d067af4ac365b6c4134b600115da29dc1d
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :logger, :console, level: :info, metadata: [:module, :file, :line]
15.666667
35
0.659574
e931b1204b170abd5cbd3f2c32323f8eb0744484
560
ex
Elixir
apps/tai/lib/tai/venue_adapters/bitmex/client_id.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/lib/tai/venue_adapters/bitmex/client_id.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/venue_adapters/bitmex/client_id.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.VenueAdapters.Bitmex.ClientId do @type client_id :: Tai.Orders.Order.client_id() @type time_in_force :: Tai.Orders.Order.time_in_force() @spec to_venue(client_id, time_in_force) :: String.t() def to_venue(client_id, time_in_force) do {:ok, bin} = client_id |> Ecto.UUID.dump() base64 = bin...
31.111111
69
0.685714
e9326254488205abb3c1420d9cf5af858c3886e7
2,677
ex
Elixir
apps/ex_wire/lib/ex_wire/config.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
22
2017-06-22T02:50:34.000Z
2022-01-26T20:43:21.000Z
apps/ex_wire/lib/ex_wire/config.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
9
2018-10-08T22:56:56.000Z
2018-10-18T20:41:55.000Z
apps/ex_wire/lib/ex_wire/config.ex
InoMurko/ethereum
282ca2a23a897c5b9684ddf9abae2bf65691b039
[ "MIT" ]
5
2018-10-06T16:30:48.000Z
2022-01-26T20:43:26.000Z
defmodule ExWire.Config do @moduledoc """ General configuration information for ExWire. """ alias ExthCrypto.Key alias Blockchain.Chain alias ExthCrypto.Signature @private_key (case Application.get_env(:ex_wire, :private_key) do key when is_binary(key) -> key ...
30.420455
95
0.655958
e932786b55c3915b9187e8a30304e69bae0f231d
1,037
ex
Elixir
web/models/user.ex
AlexKovalevych/evolution
2271546f045d475d676f5993c25824496026694b
[ "MIT" ]
null
null
null
web/models/user.ex
AlexKovalevych/evolution
2271546f045d475d676f5993c25824496026694b
[ "MIT" ]
null
null
null
web/models/user.ex
AlexKovalevych/evolution
2271546f045d475d676f5993c25824496026694b
[ "MIT" ]
null
null
null
defmodule Evolution.User do @derive {Poison.Encoder, only: [:id, :login]} use Evolution.Web, :model alias Evolution.Authorization import Ecto.Query import Evolution.Gettext schema "users" do field :login, :string field :password, :string, virtual: true has_many :authorizations, Authorization,...
24.116279
67
0.682739
e932847b70b675028b4d55d1052d67f7793eb733
3,326
ex
Elixir
lib/elixir/lib/set.ex
RyanBard/elixir
3e0f3b47cf26aa121470141b9a1aa55a366c066e
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/elixir/lib/set.ex
RyanBard/elixir
3e0f3b47cf26aa121470141b9a1aa55a366c066e
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/elixir/lib/set.ex
RyanBard/elixir
3e0f3b47cf26aa121470141b9a1aa55a366c066e
[ "Apache-2.0" ]
1
2018-09-10T23:32:56.000Z
2018-09-10T23:32:56.000Z
defmodule Set do @moduledoc ~S""" Generic API for sets. This module is deprecated, use the `MapSet` module instead. """ @moduledoc deprecated: "Use MapSet instead" @type value :: any @type values :: [value] @type t :: map # TODO: Remove by 2.0 message = "Use the MapSet module for working with se...
20.530864
81
0.600421
e93294ca453d785d46d30db0c5d643ad5f6aa85f
704
ex
Elixir
lib/list_to_csv/header.ex
marocchino/list_to_csv
a185e3f4f02b79026e98b8c2d3a645b781e8f258
[ "MIT" ]
1
2021-04-20T04:12:40.000Z
2021-04-20T04:12:40.000Z
lib/list_to_csv/header.ex
marocchino/list_to_csv
a185e3f4f02b79026e98b8c2d3a645b781e8f258
[ "MIT" ]
5
2021-04-20T03:04:36.000Z
2022-03-23T20:51:41.000Z
lib/list_to_csv/header.ex
marocchino/list_to_csv
a185e3f4f02b79026e98b8c2d3a645b781e8f258
[ "MIT" ]
null
null
null
defmodule ListToCsv.Header do @moduledoc """ `ListToCsv.Header` contains types and utilities for headers. """ @type t() :: String.t() @doc """ Returns a list of header duplicated `n` times. Replace first # with current 1 base index. ## Examples iex> duplicate(["item#.name", "item#.size"], 2)...
26.074074
72
0.596591
e932d8837c0543e100ad7028907b01d25a36b6e3
3,491
ex
Elixir
lib/spandex_ecto/ecto_logger.ex
octosteve/spandex_ecto
59a38de6e37d5d328be79c2ab2c5a3fae92336e2
[ "MIT" ]
null
null
null
lib/spandex_ecto/ecto_logger.ex
octosteve/spandex_ecto
59a38de6e37d5d328be79c2ab2c5a3fae92336e2
[ "MIT" ]
2
2022-01-19T18:39:23.000Z
2022-01-20T04:02:53.000Z
lib/spandex_ecto/ecto_logger.ex
ufirstgroup/spandex_ecto
6fb338fc6bc43d8d691df80281dca4aad72b27df
[ "MIT" ]
null
null
null
defmodule SpandexEcto.EctoLogger do @moduledoc """ A trace builder that can be given to ecto as a logger. It will try to get the trace_id and span_id from the caller pid in the case that the particular query is being run asynchronously (as in the case of parallel preloads). """ defmodule Error do defex...
26.853846
107
0.640504
e9330fe7c57560cebaa65a7dbaba9918cd6bcb09
2,942
exs
Elixir
mix.exs
MortadaAK/axon
42fb2f0d49d0e842653bc18951c5e4e0414e6462
[ "Apache-2.0" ]
null
null
null
mix.exs
MortadaAK/axon
42fb2f0d49d0e842653bc18951c5e4e0414e6462
[ "Apache-2.0" ]
null
null
null
mix.exs
MortadaAK/axon
42fb2f0d49d0e842653bc18951c5e4e0414e6462
[ "Apache-2.0" ]
null
null
null
defmodule Axon.MixProject do use Mix.Project @source_url "https://github.com/elixir-nx/axon" @version "0.1.0-dev" def project do [ app: :axon, version: @version, name: "Axon", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), docs: docs() ]...
34.209302
205
0.600612
e9333dd7fd3005e84dfa64b76f13f30f955d497f
2,256
exs
Elixir
test/views/commerce/commerce_transaction_slack_view_test.exs
artsy/aprb
9e93200462a76823c831b92f02bddcf1b326a451
[ "MIT" ]
11
2016-08-18T23:18:57.000Z
2019-05-03T17:46:55.000Z
test/views/commerce/commerce_transaction_slack_view_test.exs
artsy/aprb
9e93200462a76823c831b92f02bddcf1b326a451
[ "MIT" ]
105
2016-08-17T23:36:07.000Z
2019-09-26T18:14:24.000Z
test/views/commerce/commerce_transaction_slack_view_test.exs
artsy/aprb
9e93200462a76823c831b92f02bddcf1b326a451
[ "MIT" ]
14
2016-08-17T17:23:45.000Z
2019-09-16T16:14:59.000Z
defmodule Aprb.Views.CommerceTransactionSlackViewTest do use ExUnit.Case, async: true alias Aprb.Views.CommerceTransactionSlackView test "adds shipping details for orders to be shipped" do event = Aprb.Fixtures.commerce_transaction_event(%{ "id" => "order123", "items_total_cents" => 2000000, ...
37.6
93
0.664007
e9336f21a2cb88c2a469648a7fd47aba8ba08849
1,113
ex
Elixir
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_extension_instance_view.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_instance_view.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_instance_view.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.VirtualMachineExtensionInstanceView do @moduledoc """ The instance view of a virtual machine extensio...
30.081081
111
0.719677
e93371677bb958e6383525e03c26427c0800a014
21,253
ex
Elixir
lib/iex/lib/iex/helpers.ex
TurtleAI/elixir
2fb41ebef4d06315dd6c05ee00899572b27ee50a
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/helpers.ex
TurtleAI/elixir
2fb41ebef4d06315dd6c05ee00899572b27ee50a
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/helpers.ex
TurtleAI/elixir
2fb41ebef4d06315dd6c05ee00899572b27ee50a
[ "Apache-2.0" ]
null
null
null
defmodule IEx.Helpers do @moduledoc """ Welcome to Interactive Elixir. You are currently seeing the documentation for the module `IEx.Helpers` which provides many helpers to make Elixir's shell more joyful to work with. This message was triggered by invoking the helper `h()`, usually referred to as `h/0`...
26.733333
95
0.623112
e933d78da8f9ea1b92d13ad8a851d2e4ad3e3cce
2,055
exs
Elixir
test/chess/position_test.exs
7hoenix/Chess
8b57b2d6dd4235e2ee67622f6521f83cd237417b
[ "MIT" ]
8
2018-11-12T13:45:42.000Z
2022-03-15T14:45:26.000Z
test/chess/position_test.exs
7hoenix/Chess
8b57b2d6dd4235e2ee67622f6521f83cd237417b
[ "MIT" ]
1
2021-08-30T08:58:53.000Z
2021-10-13T09:15:36.000Z
test/chess/position_test.exs
7hoenix/Chess
8b57b2d6dd4235e2ee67622f6521f83cd237417b
[ "MIT" ]
3
2020-12-08T22:32:37.000Z
2022-01-27T17:54:55.000Z
defmodule Chess.PositionTest do use ExUnit.Case alias Chess.{Game, Position, Figure, Move} test "create position" do %Position{position: position, active: active, castling: castling, en_passant: en_passant, half_move: half_move, full_move: full_move} = Position.new assert position == "rnbqkbnr/pppppppp...
34.830508
212
0.685645
e933de16485575ebccc950d57aec24d6bde84259
1,032
ex
Elixir
lib/brando/blueprint/villain/blocks/video_block.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando/blueprint/villain/blocks/video_block.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando/blueprint/villain/blocks/video_block.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Blueprint.Villain.Blocks.VideoBlock do defmodule Data do use Brando.Blueprint, application: "Brando", domain: "Villain", schema: "VideoBlockData", singular: "video_block_data", plural: "video_block_datas", gettext_module: Brando.Gettext @primary_key false ...
29.485714
65
0.665698
e93408f06ffbb442c0194f709bb7a00b5ea4d89a
1,628
ex
Elixir
lib/plausible_web/controllers/billing_controller.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
1
2020-04-08T16:39:00.000Z
2020-04-08T16:39:00.000Z
lib/plausible_web/controllers/billing_controller.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
lib/plausible_web/controllers/billing_controller.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
defmodule PlausibleWeb.BillingController do use PlausibleWeb, :controller use Plausible.Repo alias Plausible.Billing require Logger plug PlausibleWeb.RequireAccountPlug def change_plan_form(conn, _params) do subscription = Billing.active_subscription_for(conn.assigns[:current_user].id) if subscrip...
34.638298
145
0.689189
e93429a85c492b3d02e74b189d2838a081c99464
2,117
ex
Elixir
lib/tentacat/users.ex
bmarkons/tentacat
d0cc71a1749dfca21a8ab1d73430d087dbf2efb2
[ "MIT" ]
null
null
null
lib/tentacat/users.ex
bmarkons/tentacat
d0cc71a1749dfca21a8ab1d73430d087dbf2efb2
[ "MIT" ]
null
null
null
lib/tentacat/users.ex
bmarkons/tentacat
d0cc71a1749dfca21a8ab1d73430d087dbf2efb2
[ "MIT" ]
null
null
null
defmodule Tentacat.Users do import Tentacat alias Tentacat.Client @doc """ Get a single `user` ## Example Tentacat.Users.find client, "edgurgel" Tentacat.Users.find client, "iurifq" More info at: http://developer.github.com/v3/users/#get-a-single-user """ @spec find(Client.t(), binary) :...
24.056818
85
0.646197
e934438eeb725c7613d5749c665b8427ba1eb009
1,136
ex
Elixir
lib/dwarlixir/item/egg.ex
Trevoke/dwarlixir
e0a7ae39d3687d8e649fba67ce3dee413f00307e
[ "MIT" ]
54
2017-03-09T20:43:11.000Z
2022-03-29T16:59:20.000Z
lib/dwarlixir/item/egg.ex
Trevoke/dwarlixir
e0a7ae39d3687d8e649fba67ce3dee413f00307e
[ "MIT" ]
17
2017-03-12T18:16:21.000Z
2017-05-30T03:34:57.000Z
lib/dwarlixir/item/egg.ex
Trevoke/dwarlixir
e0a7ae39d3687d8e649fba67ce3dee413f00307e
[ "MIT" ]
2
2017-04-23T23:47:41.000Z
2017-11-19T13:38:25.000Z
defmodule Dwarlixir.Item.Egg do alias Dwarlixir.Item alias Dwarlixir.World use GenServer def via_tuple(id), do: {:via, Registry, {Registry.Items, id}} def start_link(args) do GenServer.start_link(__MODULE__, args, name: via_tuple(args.id)) end def init(state) do state = state |> Ma...
23.666667
79
0.648768
e9345c799353e6c2c5e48cc1c8c0909e3bae9ac3
4,408
ex
Elixir
lib/watcher/announcements.ex
papey/o2m
9b48d6ca49042911ef3118777d60d3ad0b1f8e6a
[ "Unlicense" ]
6
2020-05-30T14:04:35.000Z
2021-05-26T00:40:17.000Z
lib/watcher/announcements.ex
papey/o2m
9b48d6ca49042911ef3118777d60d3ad0b1f8e6a
[ "Unlicense" ]
4
2019-11-05T21:10:09.000Z
2022-01-29T19:03:29.000Z
lib/watcher/announcements.ex
papey/o2m
9b48d6ca49042911ef3118777d60d3ad0b1f8e6a
[ "Unlicense" ]
1
2019-11-05T18:31:48.000Z
2019-11-05T18:31:48.000Z
defmodule Announcements do @moduledoc """ Messages is used to generate messages used by Jobs from custom user defined templates """ @mandatory MapSet.new(["title", "show", "url"]) @default "#[show] - #[title] - #[url]" @charlimit 200 require Logger @doc """ Export char limit using a simple functi...
24.21978
121
0.592332
e9346239adad64a0a0707f0f9fc5b20cc00a85de
5,414
exs
Elixir
examples/example-phx-1_3/test/example_phx_web/integration/full_feature_test.exs
rogaz/thesis-phoenix
8ad24cdc7e24bf312139a527db5a3bf07e05820f
[ "MIT" ]
681
2016-06-21T20:49:21.000Z
2022-02-19T04:08:38.000Z
examples/example-phx-1_3/test/example_phx_web/integration/full_feature_test.exs
rogaz/thesis-phoenix
8ad24cdc7e24bf312139a527db5a3bf07e05820f
[ "MIT" ]
125
2016-06-21T21:14:49.000Z
2020-12-12T20:15:48.000Z
examples/example-phx-1_3/test/example_phx_web/integration/full_feature_test.exs
rogaz/thesis-phoenix
8ad24cdc7e24bf312139a527db5a3bf07e05820f
[ "MIT" ]
76
2016-09-06T03:40:55.000Z
2022-01-20T21:29:22.000Z
defmodule ExamplePhxWeb.FullFeatureTest do use ExamplePhxWeb.IntegrationCase test "updates content and reverts to a previous backup" do go_to_home_page_and_log_in() thesis = find_element(:id, "thesis-editor") assert element_displayed?(thesis) save = find_element(:css, ".thesis-button.save") r...
31.294798
139
0.676395
e934842b130d8c602a0cdaef9c942f3da8531b48
10,832
ex
Elixir
clients/play_custom_app/lib/google_api/play_custom_app/v1/api/accounts.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/play_custom_app/lib/google_api/play_custom_app/v1/api/accounts.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/play_custom_app/lib/google_api/play_custom_app/v1/api/accounts.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.501916
196
0.61466
e934a4c9ff4e97b83f8ea4ca7e518a79fd971d68
9,312
ex
Elixir
lib/generated/alter_configs.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
24
2019-06-26T22:08:13.000Z
2022-01-27T00:10:41.000Z
lib/generated/alter_configs.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
10
2020-04-10T07:48:53.000Z
2021-03-26T10:50:25.000Z
lib/generated/alter_configs.ex
kevint-simplifi/kayrock
9c88e99ec913728107ec99f9af94dc1d25e0e0d8
[ "MIT" ]
11
2019-10-30T12:53:09.000Z
2022-03-09T23:16:42.000Z
defmodule(Kayrock.AlterConfigs) do @api :alter_configs @moduledoc "Kayrock-generated module for the Kafka `#{@api}` API\n" _ = " THIS CODE IS GENERATED BY KAYROCK" ( @vmin 0 @vmax 0 ) defmodule(V0.Request) do @vsn 0 @api :alter_configs @schema resources: {:array, ...
30.631579
130
0.549184
e934b5a968a00eea3d4831bcb363797f770898d3
581
ex
Elixir
memory_backend/lib/memory_backend/model/deck.ex
AdrianPaulCarrieres/lpiot2020-memory-adrianpaulcarrieres
0a2d66c6ecf501188a949807c8ea2d99c26c531b
[ "MIT" ]
null
null
null
memory_backend/lib/memory_backend/model/deck.ex
AdrianPaulCarrieres/lpiot2020-memory-adrianpaulcarrieres
0a2d66c6ecf501188a949807c8ea2d99c26c531b
[ "MIT" ]
15
2020-12-23T16:09:28.000Z
2020-12-26T22:32:47.000Z
memory_backend/lib/memory_backend/model/deck.ex
AdrianPaulCarrieres/lpiot2020-memory-adrianpaulcarrieres
0a2d66c6ecf501188a949807c8ea2d99c26c531b
[ "MIT" ]
null
null
null
defmodule MemoryBackend.Model.Deck do use Ecto.Schema import Ecto.Changeset @derive {Jason.Encoder, only: [:id, :theme, :scores]} schema "decks" do field :card_back, :binary field :theme, :string has_many :cards, MemoryBackend.Model.Card, on_replace: :delete has_many :scores, MemoryBackend.Mo...
22.346154
68
0.674699
e934f90c9c5f335057a67ba0f1a5867847216a30
1,690
ex
Elixir
apps/exsemantica_phx/lib/exsemantica_phx/sanitize.ex
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
1
2021-09-11T15:46:04.000Z
2021-09-11T15:46:04.000Z
apps/exsemantica_phx/lib/exsemantica_phx/sanitize.ex
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
4
2021-01-18T00:49:02.000Z
2022-02-23T05:18:37.000Z
apps/exsemantica_phx/lib/exsemantica_phx/sanitize.ex
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
null
null
null
defmodule ExsemanticaPhx.Sanitize do def valid_interest?(title) do not Regex.match?(~r/[^A-Za-z0-9\_]/, title) end def valid_username?(username) do not Regex.match?(~r/[^A-Za-z0-9\_]/, username) end def valid_email?(email) do # Regular filtering right now. if EmailChecker.valid?(email) do ...
30.727273
80
0.607101
e9350dd64697646b1c0fb3b7b99315eb5bd918bb
2,052
ex
Elixir
clients/iam/lib/google_api/iam/v1/model/sign_jwt_request.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/sign_jwt_request.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/model/sign_jwt_request.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...
43.659574
646
0.742203
e93537beac59833513d464a6af2de0db77484973
145
ex
Elixir
lib/warehouse_web/controllers/page_controller.ex
riebeekn/phx-auth-with-pow
2b555365d6961b9afbff99f25540ca41264eba82
[ "MIT" ]
14
2019-02-27T18:49:28.000Z
2020-12-24T21:39:16.000Z
lib/warehouse_web/controllers/page_controller.ex
ammy-bajwa/phx-auth-with-pow
2b555365d6961b9afbff99f25540ca41264eba82
[ "MIT" ]
null
null
null
lib/warehouse_web/controllers/page_controller.ex
ammy-bajwa/phx-auth-with-pow
2b555365d6961b9afbff99f25540ca41264eba82
[ "MIT" ]
5
2019-07-16T17:50:36.000Z
2020-08-12T22:14:41.000Z
defmodule WarehouseWeb.PageController do use WarehouseWeb, :controller def index(conn, _params) do render(conn, "index.html") end end
18.125
40
0.744828
e9353e63e8bfc845879d9d73c8f536cf89a9b799
448
ex
Elixir
lib/data/config.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/data/config.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/data/config.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Data.Config do @moduledoc """ Config Schema """ use Data.Schema schema "config" do field(:name, :string) field(:value, :string) timestamps() end def changeset(struct, params) do struct |> cast(params, [:name, :value]) |> validate_required([:name, :value]) end def...
16
41
0.589286
e9355397ed6413ba8628603496f75fbcdc823148
697
exs
Elixir
ext/bin/erlang-include-dirs.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
3
2018-10-26T12:55:15.000Z
2019-05-03T22:41:34.000Z
ext/bin/erlang-include-dirs.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
4
2018-08-26T14:43:57.000Z
2020-09-23T21:14:56.000Z
ext/bin/erlang-include-dirs.exs
Xerpa/liblink
7b983431c5b391bb8cf182edd9ca4937601eea35
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env elixir # Copyright 2018 (c) Xerpa # # 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 a...
34.85
74
0.733142
e935658c86ae13d9a731e4a415ec83b3abe7dfca
1,684
exs
Elixir
mix.exs
kwnktks0515/ChatRoom_with_Phoenix
bd0856a555341e484e19d797c94f3974cea398ff
[ "MIT" ]
null
null
null
mix.exs
kwnktks0515/ChatRoom_with_Phoenix
bd0856a555341e484e19d797c94f3974cea398ff
[ "MIT" ]
null
null
null
mix.exs
kwnktks0515/ChatRoom_with_Phoenix
bd0856a555341e484e19d797c94f3974cea398ff
[ "MIT" ]
null
null
null
defmodule ChatroomWithPhoenix.Mixfile do use Mix.Project def project do [app: :chatroom_with_phoenix, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix...
30.618182
89
0.611045
e9356c2bca32112da55f61737f117ffa13290807
2,404
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_annotated_message_part.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_annotated_message_part.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_annotated_message_part.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...
41.448276
314
0.731281
e93590ad8e15dec1cd51e8798813c32c4a6415e6
1,862
ex
Elixir
api/lib/responda_me_web.ex
mendes13/responda.me
42facc3de1c5cc503459457b2bb452f0ad6fac37
[ "MIT" ]
null
null
null
api/lib/responda_me_web.ex
mendes13/responda.me
42facc3de1c5cc503459457b2bb452f0ad6fac37
[ "MIT" ]
null
null
null
api/lib/responda_me_web.ex
mendes13/responda.me
42facc3de1c5cc503459457b2bb452f0ad6fac37
[ "MIT" ]
null
null
null
defmodule Responda.MeWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use Responda.MeWeb, :controller use Responda.MeWeb, :view The definitions below will be executed for every view, ...
23.56962
76
0.690118
e935efdd3ace1517bcb5d246c68244207756aeec
572
exs
Elixir
ch08/todo_links/mix.exs
fboyer/elixir_in_action
d0acdcfc781020f8737f14900d3e2b5263f6f65e
[ "MIT" ]
null
null
null
ch08/todo_links/mix.exs
fboyer/elixir_in_action
d0acdcfc781020f8737f14900d3e2b5263f6f65e
[ "MIT" ]
null
null
null
ch08/todo_links/mix.exs
fboyer/elixir_in_action
d0acdcfc781020f8737f14900d3e2b5263f6f65e
[ "MIT" ]
null
null
null
defmodule TodoLinks.Mixfile do use Mix.Project def project do [ app: :todo_links, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_app...
19.724138
88
0.578671
e935f2e82d109dcad04a8aa184a4ba8441561ede
888
ex
Elixir
lib/code_corps_web/views/error_view.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
lib/code_corps_web/views/error_view.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
lib/code_corps_web/views/error_view.ex
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorpsWeb.ErrorView do @moduledoc false use CodeCorpsWeb, :view use JaSerializer.PhoenixView def render("404.json-api", _assigns) do %{ title: "404 Not Found", detail: "404 Not Found", status: "404" } |> JaSerializer.ErrorSerializer.format end def render("500.jso...
22.769231
57
0.647523
e936011de15f1d7904e739ac754f46e5f0343373
1,108
ex
Elixir
lib/timescaledb/models/link.ex
membraneframework/membrane_timescaledb_reporter
9300a743c41f45bdbc880def2aec55166baf4885
[ "Apache-2.0" ]
2
2020-10-13T18:04:54.000Z
2021-12-15T08:23:28.000Z
lib/timescaledb/models/link.ex
membraneframework/membrane_timescaledb_reporter
9300a743c41f45bdbc880def2aec55166baf4885
[ "Apache-2.0" ]
9
2020-07-30T14:57:46.000Z
2021-12-28T07:37:27.000Z
lib/timescaledb/models/link.ex
membraneframework/membrane_timescaledb_reporter
9300a743c41f45bdbc880def2aec55166baf4885
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Telemetry.TimescaleDB.Model.Link do @moduledoc """ Module representing a single link between membrane bins/elements. Each link is represented by a parent path of the linked elements, from/to elements names and on what pads of the elements the link gets created. """ use Ecto.Schema im...
27.02439
80
0.634477
e936035513a3639fb9e3ccf194ea0ccc07efc20b
840
exs
Elixir
apps/admin_api/test/admin_api/v1/channels/account_channel_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/admin_api/test/admin_api/v1/channels/account_channel_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/channels/account_channel_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
# credo:disable-for-this-file defmodule AdminAPI.V1.AccountChannelTest do use AdminAPI.ChannelCase, async: false alias AdminAPI.V1.AccountChannel describe "join/3 as provider" do test "joins the channel with authenticated account" do account = insert(:account) {res, _, socket} = "test" ...
28
70
0.639286
e9366ae8ebcbbb0ca9243eef93d48c922dd323d8
2,795
exs
Elixir
mix.exs
holandes22/money
a19cf71bc052fee60f8e611a3b13e12fb857b875
[ "Apache-2.0" ]
null
null
null
mix.exs
holandes22/money
a19cf71bc052fee60f8e611a3b13e12fb857b875
[ "Apache-2.0" ]
null
null
null
mix.exs
holandes22/money
a19cf71bc052fee60f8e611a3b13e12fb857b875
[ "Apache-2.0" ]
null
null
null
defmodule Money.Mixfile do use Mix.Project @version "5.5.1" def project do [ app: :ex_money, version: @version, elixir: "~> 1.6", name: "Money", source_url: "https://github.com/kipcole9/money", docs: docs(), build_embedded: Mix.env() == :prod, start_permanent:...
26.619048
89
0.555277
e936769abba5f8a1384430137b16440a234e1da2
13,747
ex
Elixir
lib/binance/coin_futures.ex
ihorkatkov/binance.ex
33b014e3310ce3374b9b9f2ce3cd46314f22f446
[ "MIT" ]
null
null
null
lib/binance/coin_futures.ex
ihorkatkov/binance.ex
33b014e3310ce3374b9b9f2ce3cd46314f22f446
[ "MIT" ]
null
null
null
lib/binance/coin_futures.ex
ihorkatkov/binance.ex
33b014e3310ce3374b9b9f2ce3cd46314f22f446
[ "MIT" ]
null
null
null
defmodule Binance.CoinFutures do alias Binance.Futures.Coin.Rest.HTTPClient @type error :: {:binance_error, %{code: integer(), message: String.t()}} | {:http_error, any()} | {:poison_decode_error, any()} | {:config_missing, String.t()} # Server @doc """ Pings Binance...
29.00211
145
0.571034