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
795b2e5bc20bcf76eb1095d8edbd56e86d34fe0d
906
ex
Elixir
lib/ecto/adapter/transaction.ex
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
1
2017-11-27T06:00:32.000Z
2017-11-27T06:00:32.000Z
lib/ecto/adapter/transaction.ex
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapter/transaction.ex
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapter.Transaction do @moduledoc """ Specifies the adapter transactions API. """ @doc """ Runs the given function inside a transaction. Returns `{:ok, value}` if the transaction was successful where `value` is the value return by the function or `{:error, value}` if the transaction wa...
29.225806
113
0.677704
795b30af8833435a7d44da86e146feb72ce83e33
790
exs
Elixir
code/spawn/link3.exs
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
null
null
null
code/spawn/link3.exs
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
programming-elixir-book/code/spawn/link3.exs
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
#--- # Excerpted from "Programming Elixir ≥ 1.6", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any purpose. # Visit http...
26.333333
85
0.683544
795b4d5b2a3a23850e6cbaf282825bb79f905216
1,768
ex
Elixir
deps/makeup/lib/makeup/styles/html/pygments/friendly.ex
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
null
null
null
deps/makeup/lib/makeup/styles/html/pygments/friendly.ex
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
null
null
null
deps/makeup/lib/makeup/styles/html/pygments/friendly.ex
arduino-man/fona_modern
61845bbbbc46a61a50e59a97c68709f2722078a6
[ "MIT" ]
null
null
null
defmodule Makeup.Styles.HTML.FriendlyStyle do @moduledoc false @styles %{ :error => "border:#FF0000", :keyword => "bold #007020", :keyword_pseudo => "nobold", :keyword_type => "nobold #902000", :name_attribute => "#4070a0", :name_builtin => "#007020", :name_class => "bold #0...
29.466667
47
0.582014
795b65a3c6712136c542d3fbd3c8b4314af3a7d0
374
ex
Elixir
lib/myapp/posts/post.ex
joshddunn/graphql-phoenix
40a8ee9fa5ad74cbd85a64721309934d3091833b
[ "MIT" ]
null
null
null
lib/myapp/posts/post.ex
joshddunn/graphql-phoenix
40a8ee9fa5ad74cbd85a64721309934d3091833b
[ "MIT" ]
null
null
null
lib/myapp/posts/post.ex
joshddunn/graphql-phoenix
40a8ee9fa5ad74cbd85a64721309934d3091833b
[ "MIT" ]
null
null
null
defmodule MyApp.Posts.Post do use Ecto.Schema import Ecto.Changeset schema "posts" do field :body, :string field :title, :string belongs_to :user, MyApp.Accounts.User timestamps() end @doc false def changeset(post, attrs) do post |> cast(attrs, [:title, :body, :user_id]) |> v...
17.809524
51
0.652406
795b8dfa725831a324ee176fb2051b3dd94f7773
7,827
ex
Elixir
lib/gim/query.ex
jan-sti/gim
1b8be6c2163577f375825170cc9b01674e59b646
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
lib/gim/query.ex
jan-sti/gim
1b8be6c2163577f375825170cc9b01674e59b646
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
lib/gim/query.ex
jan-sti/gim
1b8be6c2163577f375825170cc9b01674e59b646
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
defmodule Gim.Query do @moduledoc """ Defines queries on schemas. """ defstruct type: nil, filter: {:and, []}, expand: [] import Gim.Queryable alias Gim.Index def query(%__MODULE__{} = query) do query end def query(node) when is_map(node) do query([node]) end ...
24.613208
95
0.619905
795b92eb41d0e3d2f674a04d3df14283888cd03c
8,359
ex
Elixir
apps/astarte_realm_management_api/lib/astarte_realm_management_api/rpc/realm_management.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-02-04T13:15:22.000Z
2020-02-04T13:15:22.000Z
apps/astarte_realm_management_api/lib/astarte_realm_management_api/rpc/realm_management.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-01-20T09:52:48.000Z
2020-01-20T09:52:48.000Z
apps/astarte_realm_management_api/lib/astarte_realm_management_api/rpc/realm_management.ex
Spidey20202022/astarte
3950855c592b34363af0cf7f8a921762ce64e512
[ "Apache-2.0" ]
1
2020-02-04T13:15:50.000Z
2020-02-04T13:15:50.000Z
# # This file is part of Astarte. # # Copyright 2017-2018 Ispirata Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
26.452532
100
0.695777
795bae92ed8b51b218182b2ae795eb03ee0a629b
15,667
ex
Elixir
lib/elixir/lib/io.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-08-13T23:22:33.000Z
2019-08-13T23:22:33.000Z
lib/elixir/lib/io.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/io.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
defmodule IO do @moduledoc """ Functions handling input/output (IO). Many functions in this module expect an IO device as an argument. An IO device must be a PID or an atom representing a process. For convenience, Elixir provides `:stdio` and `:stderr` as shortcuts to Erlang's `:standard_io` and `:standard...
28.178058
95
0.662411
795bbfdd9b65c7a3324f5c2fc9c9c22fced2c395
135
exs
Elixir
test/ums_pay_test.exs
leozhang37/ums_pay
f36345452388d228bc7f5f1f0106ec5dee63c382
[ "MIT" ]
null
null
null
test/ums_pay_test.exs
leozhang37/ums_pay
f36345452388d228bc7f5f1f0106ec5dee63c382
[ "MIT" ]
null
null
null
test/ums_pay_test.exs
leozhang37/ums_pay
f36345452388d228bc7f5f1f0106ec5dee63c382
[ "MIT" ]
null
null
null
defmodule UmsPayTest do use ExUnit.Case doctest UmsPay test "greets the world" do assert UmsPay.hello() == :world end end
15
35
0.703704
795bf92c3c069d4c27d60c5bb8dd7c2388bfff21
27,461
ex
Elixir
lib/ecto/adapters/postgres/connection.ex
DavidAlphaFox/ecto
a3eae38d1d05c440893f724c2f04a8332e32d7ac
[ "Apache-2.0" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
lib/ecto/adapters/postgres/connection.ex
DavidAlphaFox/ecto
a3eae38d1d05c440893f724c2f04a8332e32d7ac
[ "Apache-2.0" ]
null
null
null
lib/ecto/adapters/postgres/connection.ex
DavidAlphaFox/ecto
a3eae38d1d05c440893f724c2f04a8332e32d7ac
[ "Apache-2.0" ]
null
null
null
if Code.ensure_loaded?(Postgrex.Connection) do defmodule Ecto.Adapters.Postgres.Connection do @moduledoc false @default_port 5432 @behaviour Ecto.Adapters.Connection @behaviour Ecto.Adapters.SQL.Query ## Connection def connect(opts) do json = Application.get_env(:ecto, :json_library)...
34.198007
135
0.590874
795c0df4c7f1d6c1f08d8970a168cf1f7ab6f16e
385
ex
Elixir
lib/waveschainex/consensus.ex
cyberpunk-ventures/waveschainex
a75190fc4b61f6351abc08f894310bcc05630251
[ "MIT" ]
2
2018-07-27T13:13:01.000Z
2018-07-29T00:07:08.000Z
lib/waveschainex/consensus.ex
cyberpunk-ventures/waveschainex
a75190fc4b61f6351abc08f894310bcc05630251
[ "MIT" ]
null
null
null
lib/waveschainex/consensus.ex
cyberpunk-ventures/waveschainex
a75190fc4b61f6351abc08f894310bcc05630251
[ "MIT" ]
null
null
null
defmodule Waveschainex.Consensus do use Tesla, docs: false, only: ~w(get)a @doc """ Shows which consensus algo being using ## Parameters - client : Tesla client - opts: Optional parameters """ @spec algo(Tesla.Env.client(), keyword()) :: {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()} def algo(clie...
21.388889
93
0.636364
795c972f7ceeb262e79fe7668812a5ee9bb843b3
4,503
ex
Elixir
lib/game/command/give.ex
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/game/command/give.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/game/command/give.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.Command.Give do @moduledoc """ The "give" command """ use Game.Command use Game.Currency use Game.Zone import Game.Room.Helpers, only: [find_character: 2] alias Game.Character alias Game.Events.CurrencyReceived alias Game.Events.ItemReceived alias Game.Format alias Game.Item ...
26.964072
100
0.636465
795cafb3c14808ae87bb4ac92ac636cd541f9e79
219
exs
Elixir
samples/phoenix_wobserver/test/web/controllers/page_controller_test.exs
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
11
2017-05-05T12:28:35.000Z
2020-02-26T09:16:10.000Z
samples/phoenix_wobserver/test/web/controllers/page_controller_test.exs
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
null
null
null
samples/phoenix_wobserver/test/web/controllers/page_controller_test.exs
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
null
null
null
defmodule PhoenixWobserver.Web.PageControllerTest do use PhoenixWobserver.Web.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
24.333333
60
0.703196
795cd31c125b5c22b69c2a0cde5f9adcc89ed49f
87
exs
Elixir
config/dev.exs
Around25/bitcoin_rpc
22fcf139b300dbf08b5a16d327a09ea99ba4ca29
[ "MIT" ]
1
2020-11-23T16:22:44.000Z
2020-11-23T16:22:44.000Z
config/dev.exs
Around25/bitcoin_rpc
22fcf139b300dbf08b5a16d327a09ea99ba4ca29
[ "MIT" ]
1
2018-05-10T07:55:56.000Z
2018-05-10T07:55:56.000Z
config/dev.exs
Around25/bitcoin_rpc
22fcf139b300dbf08b5a16d327a09ea99ba4ca29
[ "MIT" ]
null
null
null
use Mix.Config config :logger, :console, format: "[$level] $message\n", level: :debug
21.75
70
0.689655
795cd6c7e282e2a9653944179b5d56bb2381e766
4,408
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/api/sponsors.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/sponsors.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/sponsors.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...
47.913043
254
0.659936
795cf96ae759468e81b7ba869a421d0805a2cd87
2,254
ex
Elixir
lib/codes/codes_f20.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f20.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_f20.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_F20 do alias IcdCode.ICDCode def _F200 do %ICDCode{full_code: "F200", category_code: "F20", short_code: "0", full_name: "Paranoid schizophrenia", short_name: "Paranoid schizophrenia", category_name: "Paranoid schizophrenia" ...
28.531646
57
0.598935
795cfb827e72c3355057f552402ef09ca65ad128
134
exs
Elixir
docs.exs
vkatsuba/hex_core
455054d0952d63baaafd7b97e38af2d40e81881e
[ "Apache-2.0" ]
null
null
null
docs.exs
vkatsuba/hex_core
455054d0952d63baaafd7b97e38af2d40e81881e
[ "Apache-2.0" ]
null
null
null
docs.exs
vkatsuba/hex_core
455054d0952d63baaafd7b97e38af2d40e81881e
[ "Apache-2.0" ]
null
null
null
[ source_url: "https://github.com/hexpm/hex_core", extras: ["README.md", "CHANGELOG.md"], main: "readme", proglang: :erlang ]
19.142857
50
0.641791
795cfdefd59241a57abde99d57a9ca64e51df667
2,322
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/developer_metadata_location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/developer_metadata_location.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/developer_metadata_location.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...
40.034483
159
0.726529
795d18a5395f9425413d72dc9bf8aacbe376bf14
20,043
exs
Elixir
lib/mix/test/mix/dep_test.exs
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/dep_test.exs
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/dep_test.exs
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Mix.DepTest do use MixTest.Case defmodule DepsApp do def project do [deps: [ {:ok, "0.1.0", path: "deps/ok"}, {:invalidvsn, "0.2.0", path: "deps/invalidvsn"}, {:invalidapp, "0.1.0", path: "deps/invalidapp"}, ...
33.856419
102
0.591279
795d2fd54c8da3589f9b02010ba1ca0107d6b415
963
ex
Elixir
clients/cloud_shell/lib/google_api/cloud_shell/v1/request_builder.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_shell/lib/google_api/cloud_shell/v1/request_builder.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_shell/lib/google_api/cloud_shell/v1/request_builder.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2018 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.038462
77
0.764278
795d4519f55f018d44790dc472c7c37b19d838cb
17,295
ex
Elixir
lib/rihanna/job.ex
zven21/rihanna
5c78ef3aaecf1624bbef1ba7cf87f224ff98e416
[ "MIT" ]
null
null
null
lib/rihanna/job.ex
zven21/rihanna
5c78ef3aaecf1624bbef1ba7cf87f224ff98e416
[ "MIT" ]
null
null
null
lib/rihanna/job.ex
zven21/rihanna
5c78ef3aaecf1624bbef1ba7cf87f224ff98e416
[ "MIT" ]
null
null
null
defmodule Rihanna.Job do require Logger @type result :: any @type reason :: any @type arg :: any @type t :: %__MODULE__{} @callback perform(arg :: any) :: :ok | {:ok, result} | :error | {:error, reason} @callback after_error({:error, reason} | :error | Exception.t(), arg) :: any() @callback retry_at(...
26.085973
113
0.576178
795d58499bd0c031e192ad34e70beab55ccaf7a1
4,221
ex
Elixir
fixtures/elixir_output/post_data_binary_with_equals.ex
martinsirbe/curlconverter
c5324e85d2ca24ef4743fb2bb36139d23367e293
[ "MIT" ]
4,955
2015-01-02T09:04:20.000Z
2021-10-06T03:54:43.000Z
fixtures/elixir_output/post_data_binary_with_equals.ex
martinsirbe/curlconverter
c5324e85d2ca24ef4743fb2bb36139d23367e293
[ "MIT" ]
242
2015-03-27T05:59:11.000Z
2021-10-03T08:36:05.000Z
fixtures/elixir_output/post_data_binary_with_equals.ex
martinsirbe/curlconverter
c5324e85d2ca24ef4743fb2bb36139d23367e293
[ "MIT" ]
504
2015-01-02T16:04:36.000Z
2021-10-01T03:43:55.000Z
request = %HTTPoison.Request{ method: :post, url: "https://localhost/api/service.svc", options: [hackney: [cookies: [~s|X-BackEndCookie=S-1-5-21-1234556-56678-12345-2345=alphanumericstring12345/anotheralphanumericstring12345/scsiAdf/P; ClientId=LoremIupsum; PrivateComputer=true; PBack=0; cadata=bx88rrCBehITlBWSoz...
117.25
1,547
0.762142
795d6b6e79c7e19af561f4bc2ba09b1a5dda4a0b
15
exs
Elixir
.iex.exs
ballpointcarrot/advent-of-code-2021
a1adde8a13069efedfc7c190d6c71b06c2d15173
[ "MIT" ]
null
null
null
.iex.exs
ballpointcarrot/advent-of-code-2021
a1adde8a13069efedfc7c190d6c71b06c2d15173
[ "MIT" ]
null
null
null
.iex.exs
ballpointcarrot/advent-of-code-2021
a1adde8a13069efedfc7c190d6c71b06c2d15173
[ "MIT" ]
null
null
null
import AOC.IEx
7.5
14
0.8
795db734c94958227b4c973aaff0c7b48151ad95
1,622
ex
Elixir
lib/credo/check/warning/expensive_empty_enum_check.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/check/warning/expensive_empty_enum_check.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/check/warning/expensive_empty_enum_check.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
defmodule Credo.Check.Warning.ExpensiveEmptyEnumCheck do @moduledoc """ Checking if the size of the enum is `0` can be very expensive, since you are determining the exact count of elements. Checking if an enum is empty should be done by using Enum.empty?(enum) or list == [] """ @explanation ...
24.208955
78
0.590012
795de77da42b09a2320032fe6ff8ed18b5a2b3cc
492
exs
Elixir
blue_sky/config/test.exs
Rumel/bluesky
9c68cad09e90d98411117ea7334f41c88c82ab19
[ "MIT" ]
2
2016-03-11T00:50:04.000Z
2016-04-05T02:17:20.000Z
blue_sky/config/test.exs
Rumel/bluesky
9c68cad09e90d98411117ea7334f41c88c82ab19
[ "MIT" ]
null
null
null
blue_sky/config/test.exs
Rumel/bluesky
9c68cad09e90d98411117ea7334f41c88c82ab19
[ "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 :blue_sky, BlueSky.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :blue_sky, BlueSky.Rep...
24.6
56
0.73374
795e02365a3e925233882ce23b3be07512059f52
78
exs
Elixir
elixir-generate-dockerfile/src/test/test_helper.exs
kayodeosagbemi/elixir-runtime
1746adf362444e3e0cc2daa5e461be24f1cb624a
[ "Apache-2.0" ]
170
2017-08-25T06:40:14.000Z
2022-01-10T22:18:51.000Z
elixir-generate-dockerfile/src/test/test_helper.exs
kayodeosagbemi/elixir-runtime
1746adf362444e3e0cc2daa5e461be24f1cb624a
[ "Apache-2.0" ]
27
2017-09-07T05:57:37.000Z
2022-03-22T13:40:47.000Z
elixir-generate-dockerfile/src/test/test_helper.exs
kayodeosagbemi/elixir-runtime
1746adf362444e3e0cc2daa5e461be24f1cb624a
[ "Apache-2.0" ]
16
2017-11-14T01:45:00.000Z
2021-10-09T03:26:39.000Z
System.put_env("DISABLE_GCP_METADATA_FOR_UNIT_TESTS", "true") ExUnit.start()
19.5
61
0.807692
795e41a2e85183671dac98ff1a65fa9cf25c27a1
3,240
ex
Elixir
clients/sts/lib/google_api/sts/v1/model/google_type_expr.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sts/lib/google_api/sts/v1/model/google_type_expr.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sts/lib/google_api/sts/v1/model/google_type_expr.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...
57.857143
1,092
0.734259
795e4872c86a7e16525032420ab3add658e5b5f0
4,348
ex
Elixir
lib/Helpers.ex
chriscaragianis/poly_bisector
00c0feef268db1c8bace619dd3e0cc4db4ae1e5f
[ "MIT" ]
null
null
null
lib/Helpers.ex
chriscaragianis/poly_bisector
00c0feef268db1c8bace619dd3e0cc4db4ae1e5f
[ "MIT" ]
null
null
null
lib/Helpers.ex
chriscaragianis/poly_bisector
00c0feef268db1c8bace619dd3e0cc4db4ae1e5f
[ "MIT" ]
null
null
null
defmodule PolyPartition.Helpers do alias PolyPartition.Geometry @moduledoc """ Helper functions for PolyPartition """ @doc """ Calculates the determinant of two points provided as a segment ## Examples iex> PolyPartition.Helpers.det_seg([ [2, 3], [1, -1] ]) -5 """ def det_seg(seg) do ...
26.192771
120
0.555428
795e5be55072264d29f835a61e688a1e98ef6cb0
1,077
ex
Elixir
lib/elixtagram/api/media.ex
Zensavona/elixtagram
248682e23ac416c59d37e964e0a29afda625ece3
[ "MIT" ]
84
2015-10-02T08:17:54.000Z
2021-01-25T10:44:00.000Z
lib/elixtagram/api/media.ex
Zensavona/elixtagram
248682e23ac416c59d37e964e0a29afda625ece3
[ "MIT" ]
24
2015-10-29T14:53:25.000Z
2019-06-06T19:12:50.000Z
lib/elixtagram/api/media.ex
Zensavona/elixtagram
248682e23ac416c59d37e964e0a29afda625ece3
[ "MIT" ]
22
2015-11-15T04:06:52.000Z
2020-11-15T18:41:26.000Z
defmodule Elixtagram.API.Media do @moduledoc """ Provides access to the `/media/` area of the Instagram API (for internal use). """ import Elixtagram.API.Base import Elixtagram.Parser @doc """ Fetches a media item from the Instagram API by id. """ def media(media_id, token \\ :global) do get("/me...
28.342105
85
0.663881
795e68d57f4bd15b63889412b8babd18aa91ac79
624
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_dot_call_operation_parsing_test_case/AtNonNumericOperation.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/parser_definition/matched_dot_call_operation_parsing_test_case/AtNonNumericOperation.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/parser_definition/matched_dot_call_operation_parsing_test_case/AtNonNumericOperation.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
@one.() @one.(function positional, key: value) @one.(key_one: value_one, key_two: value_two) @one.( &one, one <- two, one when two, one | two, one = two, one or two, one || two, one and two, one && two, one != two, one < two, one |> two, one in two, one ++ two, one..two, one + two, one...
10.758621
45
0.496795
795e9648aec3505d69956bf43f77b9438a63dc50
1,187
ex
Elixir
lib/blue_jet_web/controllers/identity/user_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/identity/user_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/identity/user_controller.ex
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
9
2018-05-09T14:09:19.000Z
2021-03-21T21:04:04.000Z
defmodule BlueJetWeb.UserController do use BlueJetWeb, :controller alias BlueJet.Identity action_fallback BlueJetWeb.FallbackController plug :scrub_params, "data" when action in [:create, :update] def create(conn, %{"data" => %{"type" => "User"}}) do request = build_context_request(conn, :create, norm...
28.95122
119
0.618366
795eb2bde090c2c5bef168ddcc24baed125c620c
31,189
exs
Elixir
test/date_time_parser_test.exs
dbernheisel/date_time_parser
53378ccfb5938c304a18fd62b1f288ab94dd5446
[ "MIT" ]
null
null
null
test/date_time_parser_test.exs
dbernheisel/date_time_parser
53378ccfb5938c304a18fd62b1f288ab94dd5446
[ "MIT" ]
null
null
null
test/date_time_parser_test.exs
dbernheisel/date_time_parser
53378ccfb5938c304a18fd62b1f288ab94dd5446
[ "MIT" ]
null
null
null
defmodule DateTimeParserTest do use ExUnit.Case, async: true import DateTimeParserTestMacros import ExUnit.CaptureLog alias DateTimeParser alias DateTimeParser.Parser if Version.match?(System.version(), ">= 1.5.0") do doctest DateTimeParser end describe "config" do test "parse/2, can turn off ...
45.136035
99
0.649075
795ebd11372741e6eecca40f2d6493b2eff23607
1,590
ex
Elixir
clients/private_ca/lib/google_api/private_ca/v1beta1/model/fetch_certificate_authority_csr_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/private_ca/lib/google_api/private_ca/v1beta1/model/fetch_certificate_authority_csr_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/private_ca/lib/google_api/private_ca/v1beta1/model/fetch_certificate_authority_csr_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.44898
126
0.758491
795ec0f4bd044d8b5922fcbcdbfbbf39bf8dfa28
926
ex
Elixir
test/types_test.ex
gmassman/everex
ce0f3037e69041127776181afafe6b2d14f0e343
[ "Apache-2.0" ]
11
2015-02-22T17:42:03.000Z
2018-09-23T07:48:57.000Z
test/types_test.ex
gmassman/everex
ce0f3037e69041127776181afafe6b2d14f0e343
[ "Apache-2.0" ]
38
2015-03-11T16:13:27.000Z
2021-08-02T07:14:50.000Z
test/types_test.ex
gmassman/everex
ce0f3037e69041127776181afafe6b2d14f0e343
[ "Apache-2.0" ]
4
2015-05-20T01:33:33.000Z
2020-06-09T04:44:46.000Z
# # Copyright 2015 Johan Wärlander # # 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 wr...
34.296296
74
0.7473
795eea5e4d91b8bba20972ee1a6f649629964765
3,852
ex
Elixir
lib/militerm/systems/simple_response.ex
jgsmith/militerm
c4252d0a93f5620b90750ac2b61baf282e9ef7eb
[ "Apache-2.0" ]
6
2017-06-16T10:26:35.000Z
2021-04-07T15:01:00.000Z
lib/militerm/systems/simple_response.ex
jgsmith/militerm
c4252d0a93f5620b90750ac2b61baf282e9ef7eb
[ "Apache-2.0" ]
2
2020-04-14T02:17:46.000Z
2021-03-10T11:09:05.000Z
lib/militerm/systems/simple_response.ex
jgsmith/militerm
c4252d0a93f5620b90750ac2b61baf282e9ef7eb
[ "Apache-2.0" ]
null
null
null
defmodule Militerm.Systems.SimpleResponse do @moduledoc ~S""" The response system allows NPCs to map text string patterns to events. This is a fairly generic system, so the scripting needs to supply the string being matched as well as the set of matches. The returned event is then triggered by the scr...
26.937063
87
0.676532
795f002836afeb527bfb3bf0e938933af0030677
6,132
ex
Elixir
deps/phoenix_html/lib/phoenix_html.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/phoenix_html/lib/phoenix_html.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
deps/phoenix_html/lib/phoenix_html.ex
rpillar/Top5_Elixir
9c450d2e9b291108ff1465dc066dfe442dbca822
[ "MIT" ]
null
null
null
defmodule Phoenix.HTML do @moduledoc """ Helpers for working with HTML strings and templates. When used, it imports the given modules: * `Phoenix.HTML` - functions to handle HTML safety; * `Phoenix.HTML.Tag` - functions for generating HTML tags; * `Phoenix.HTML.Form` - functions for work...
29.623188
96
0.604207
795f91831e2a0f76aad83da47a7a83dc98e73b47
247
exs
Elixir
config/config.exs
axelson/ueberauth_google
ee6f9ddff059a0b8eb2cddaf64d3eefcc2202450
[ "MIT" ]
134
2015-11-25T16:45:41.000Z
2022-03-17T01:15:41.000Z
config/config.exs
axelson/ueberauth_google
ee6f9ddff059a0b8eb2cddaf64d3eefcc2202450
[ "MIT" ]
79
2015-11-19T01:47:53.000Z
2022-02-06T01:52:00.000Z
config/config.exs
axelson/ueberauth_google
ee6f9ddff059a0b8eb2cddaf64d3eefcc2202450
[ "MIT" ]
89
2016-01-12T05:21:43.000Z
2022-03-13T22:06:48.000Z
use Mix.Config config :ueberauth, Ueberauth, providers: [ google: {Ueberauth.Strategy.Google, []} ] config :ueberauth, Ueberauth.Strategy.Google.OAuth, client_id: "client_id", client_secret: "client_secret", token_url: "token_url"
20.583333
51
0.724696
795f95717b826ef3fa0942224ca2baee4bcebfc1
220
ex
Elixir
lib/mix/tasks/server.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
27
2018-01-20T05:56:24.000Z
2021-05-24T03:21:55.000Z
lib/mix/tasks/server.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
731
2018-04-16T13:25:49.000Z
2021-06-22T07:16:12.000Z
lib/mix/tasks/server.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
43
2018-01-20T06:35:46.000Z
2021-05-05T03:22:35.000Z
defmodule Mix.Tasks.Cadet.Server do @moduledoc """ Run the Cadet server. Currently it is equivalent with `phx.server` """ use Mix.Task def run(args) do :ok = Mix.Tasks.Phx.Server.run(args) end end
18.333333
48
0.663636
795fa221bbb633999220bf730aadfb4e5644ed22
1,553
ex
Elixir
back/lib/api_web.ex
HugoLefebvre/Epitech_TM_MP03
0ed161c956f7a10aec245fe2e17eb5a9b55f6075
[ "MIT" ]
null
null
null
back/lib/api_web.ex
HugoLefebvre/Epitech_TM_MP03
0ed161c956f7a10aec245fe2e17eb5a9b55f6075
[ "MIT" ]
null
null
null
back/lib/api_web.ex
HugoLefebvre/Epitech_TM_MP03
0ed161c956f7a10aec245fe2e17eb5a9b55f6075
[ "MIT" ]
null
null
null
defmodule ApiWeb 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 ApiWeb, :controller use ApiWeb, :view The definitions below will be executed for every view, controller, etc, so keep...
22.838235
69
0.676755
795fc69de3dcf85daea387639297b001c97cffb3
1,834
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_video_thumbnail.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_video_thumbnail.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_video_thumbnail.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.345455
189
0.742094
795fd967c1238e5acbf5202c6641e1cf6f846b18
1,683
ex
Elixir
lib/earmark_hashed_link.ex
niku/earmark_hashed_link
bb72e21b133038ea4b58e1f971f423b00128661d
[ "MIT" ]
5
2019-11-25T06:46:28.000Z
2019-12-23T00:55:53.000Z
lib/earmark_hashed_link.ex
niku/earmark_hashed_link
bb72e21b133038ea4b58e1f971f423b00128661d
[ "MIT" ]
null
null
null
lib/earmark_hashed_link.ex
niku/earmark_hashed_link
bb72e21b133038ea4b58e1f971f423b00128661d
[ "MIT" ]
null
null
null
defmodule EarmarkHashedLink do @moduledoc """ Documentation for EarmarkHashedLink. """ @doc """ Splits hashed link from given text ## Examples iex> EarmarkHashedLink.split_hashed_link("abc #def ghi") ["abc ", "#def", " ghi"] """ @spec split_hashed_link(binary) :: [binary] def split_has...
27.145161
90
0.616162
796000f4188cf29eae9c00488b93d9180215d4c0
1,036
exs
Elixir
test/layers/builder_queries/aggregate/aggregate_group_min_test.exs
haskric/mongo_agile
393e1e96f706e3580f6bac9ff7bcc081b0a2e4eb
[ "MIT" ]
1
2020-12-30T18:30:32.000Z
2020-12-30T18:30:32.000Z
test/layers/builder_queries/aggregate/aggregate_group_min_test.exs
haskric/mongo_agile
393e1e96f706e3580f6bac9ff7bcc081b0a2e4eb
[ "MIT" ]
null
null
null
test/layers/builder_queries/aggregate/aggregate_group_min_test.exs
haskric/mongo_agile
393e1e96f706e3580f6bac9ff7bcc081b0a2e4eb
[ "MIT" ]
null
null
null
defmodule MongoAgile.BuilderQueries.Aggregate.GroupMin.Test do @moduledoc false use ExUnit.Case defmodule DataSetExample do @moduledoc false import MongoAgile.Queries.AgilQuery use MongoAgile.BuilderQueries, collection: "test_aggregate", pid_mongo: :mongo find "get_all", where: %{} ...
20.72
64
0.548263
796097f685ec973b356b4926ea522d4c456ac531
1,722
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_acknowledge_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_acknowledge_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_acknowledge_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.888889
186
0.723577
79609f2655e4b043e710ccfeabcca18e1aaf292f
2,279
ex
Elixir
lib/worker/attemptor/registry.ex
UnofficialJuliaMirror/bors-ng-bors-ng
fcec51b5f6e5a691d3e310bd35ba7b74e55b667f
[ "Apache-2.0" ]
null
null
null
lib/worker/attemptor/registry.ex
UnofficialJuliaMirror/bors-ng-bors-ng
fcec51b5f6e5a691d3e310bd35ba7b74e55b667f
[ "Apache-2.0" ]
1
2020-03-07T08:28:14.000Z
2020-03-07T08:28:14.000Z
lib/worker/attemptor/registry.ex
UnofficialJuliaMirror/bors-ng-bors-ng
fcec51b5f6e5a691d3e310bd35ba7b74e55b667f
[ "Apache-2.0" ]
3
2020-11-15T16:17:58.000Z
2021-06-04T11:26:42.000Z
defmodule BorsNG.Worker.Attemptor.Registry do @moduledoc """ The "Attemptor" manages the project's try branch. This is the registry of each individual attemptor. It starts the attemptor if it doesn't exist, restarts it if it crashes, and logs the crashes because that's needed sometimes. Note that the att...
25.897727
74
0.656867
7960c9c543d8afc1f09b1c9a8ba4c0bfc96d61db
52,173
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/api/projects.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/api/projects.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/api/projects.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 &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
50.653398
2,153
0.677094
7960f0ae6e3579b4dcd332c229baba2ac5942366
1,770
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/color_stop.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/color_stop.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/color_stop.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...
34.038462
175
0.737853
7961353924fbfd4996b05d33a81fec32160b3d73
1,983
exs
Elixir
test/sources/correios/result_formatter_test.exs
douglascamata/cep
042aa6d2bcb64b459ac6ac281add2f2f753a6877
[ "MIT" ]
11
2016-03-23T20:34:19.000Z
2019-07-16T13:21:48.000Z
test/sources/correios/result_formatter_test.exs
douglascamata/cep
042aa6d2bcb64b459ac6ac281add2f2f753a6877
[ "MIT" ]
5
2016-03-22T05:35:46.000Z
2019-04-02T16:44:00.000Z
test/sources/correios/result_formatter_test.exs
douglascamata/cep
042aa6d2bcb64b459ac6ac281add2f2f753a6877
[ "MIT" ]
3
2019-03-26T18:54:59.000Z
2020-07-06T22:41:51.000Z
defmodule CepSourcesCorreiosResultFormatterTest do use ExUnit.Case, async: true alias Cep.Sources.Correios.ResultFormatter setup_all do {:ok, formatted_result: ResultFormatter.format(correios_response())} end describe "format/1" do test "should translate 'bairro' into 'neighborhood'", state do ...
31.47619
90
0.641452
79613c2175a0e93e8dd02ce58fc0bebc51426464
1,952
ex
Elixir
lib/subscription_web.ex
manojsamanta/stripe-subscription
d544a9dbde4c1c05998561ba4d77c966f00b18a5
[ "MIT" ]
null
null
null
lib/subscription_web.ex
manojsamanta/stripe-subscription
d544a9dbde4c1c05998561ba4d77c966f00b18a5
[ "MIT" ]
null
null
null
lib/subscription_web.ex
manojsamanta/stripe-subscription
d544a9dbde4c1c05998561ba4d77c966f00b18a5
[ "MIT" ]
null
null
null
defmodule SubscriptionWeb 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 SubscriptionWeb, :controller use SubscriptionWeb, :view The definitions below will be executed for every view,...
23.804878
76
0.695184
79613fc9c84d5d7700a37dc5a89aebc88f4f1e8a
3,129
ex
Elixir
lib/postgrex/query.ex
activeprospect/postgrex
d267e419de5db61ac8705210dec8527e4bf94a84
[ "Apache-2.0" ]
null
null
null
lib/postgrex/query.ex
activeprospect/postgrex
d267e419de5db61ac8705210dec8527e4bf94a84
[ "Apache-2.0" ]
1
2020-07-17T10:07:44.000Z
2020-07-17T10:07:44.000Z
lib/postgrex/query.ex
activeprospect/postgrex
d267e419de5db61ac8705210dec8527e4bf94a84
[ "Apache-2.0" ]
null
null
null
defmodule Postgrex.Query do @moduledoc """ Query struct returned from a successfully prepared query. Its public fields are: * `name` - The name of the prepared statement; * `statement` - The prepared statement; * `columns` - The column names; * `ref` - A reference used to identify prepared queri...
30.378641
89
0.660914
79616c237883b924b58ab4e12271f02f0add91c0
3,298
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/static_files_handler.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/static_files_handler.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/static_files_handler.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
49.969697
358
0.739842
796182ecf564113662dd71c5be556e79be1fac8e
85
ex
Elixir
apps/institute_web/lib/institute_web/views/auth_view.ex
hui-ad/institute
28242d9d324d710a0e70678ec2d79099f1d3a98d
[ "MIT" ]
4
2019-06-12T19:05:34.000Z
2019-08-18T15:02:56.000Z
apps/institute_web/lib/institute_web/views/auth_view.ex
hui-ad/institute
28242d9d324d710a0e70678ec2d79099f1d3a98d
[ "MIT" ]
33
2019-06-12T18:59:21.000Z
2021-03-31T15:45:22.000Z
apps/institute_web/lib/institute_web/views/auth_view.ex
hui-ad/institute
28242d9d324d710a0e70678ec2d79099f1d3a98d
[ "MIT" ]
1
2019-06-16T09:38:08.000Z
2019-06-16T09:38:08.000Z
defmodule InstituteWeb.AuthView do @moduledoc false use InstituteWeb, :view end
14.166667
34
0.788235
79619b12d750501a818ee50b6028e842eb04f1b1
2,115
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/streaming_computation_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/streaming_computation_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/streaming_computation_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.105263
106
0.744208
7961a97e162ccbd333ac1592ff4c85b7156e5b9e
915
ex
Elixir
lib/teslamate_web/channels/liveview_socket.ex
siomiz/teslamate
3a17ad6ed8a1c62cd34dcbc828b7e4cd53b3d2bb
[ "MIT" ]
null
null
null
lib/teslamate_web/channels/liveview_socket.ex
siomiz/teslamate
3a17ad6ed8a1c62cd34dcbc828b7e4cd53b3d2bb
[ "MIT" ]
null
null
null
lib/teslamate_web/channels/liveview_socket.ex
siomiz/teslamate
3a17ad6ed8a1c62cd34dcbc828b7e4cd53b3d2bb
[ "MIT" ]
null
null
null
defmodule TeslaMateWeb.LiveViewSocket do @moduledoc """ The LiveView socket for Phoenix Endpoints. Switch to Phoenix.LiveView.Socket if log opts are accepted. https://github.com/phoenixframework/phoenix_live_view/blob/master/lib/phoenix_live_view/socket.ex """ use Phoenix.Socket, log: :debug defstruct ...
24.72973
99
0.630601
7961baed3ecc73e078a28a2acb720bf4cf1232ae
1,697
ex
Elixir
lib/ex_binance/spot/private/query_order.ex
rupurt/ex_binance
fa3fe75878758eef73508c72533e881fbf6ea0d7
[ "MIT" ]
7
2019-04-12T12:46:53.000Z
2021-06-29T19:43:41.000Z
lib/ex_binance/spot/private/query_order.ex
rupurt/ex_binance
fa3fe75878758eef73508c72533e881fbf6ea0d7
[ "MIT" ]
18
2020-05-25T09:03:58.000Z
2021-06-24T19:44:29.000Z
lib/ex_binance/spot/private/query_order.ex
rupurt/ex_binance
fa3fe75878758eef73508c72533e881fbf6ea0d7
[ "MIT" ]
12
2019-08-08T09:20:59.000Z
2021-04-12T19:19:43.000Z
defmodule ExBinance.Spot.Private.QueryOrder do import ExBinance.Rest.SpotClient, only: [get: 3] alias ExBinance.Rest.SpotClient alias ExBinance.Spot.Private.Responses alias ExBinance.{Timestamp, Credentials} @type symbol :: String.t() @type order_id :: String.t() @type client_order_id :: String.t() @ty...
28.283333
86
0.680024
7961c4c7911225e3cb0359ca4cced033d2e95dde
1,215
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/projects_disable_xpn_resource_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/projects_disable_xpn_resource_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/projects_disable_xpn_resource_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.153846
94
0.757202
7961ddb5f3c9ef7c877ee50d82843f8c934f8a7c
30,501
ex
Elixir
lib/adb/stage.ex
javobalazs/adb
2965704fea9025976842ebd25f93b9cec642cb19
[ "Beerware" ]
null
null
null
lib/adb/stage.ex
javobalazs/adb
2965704fea9025976842ebd25f93b9cec642cb19
[ "Beerware" ]
2
2019-06-15T08:03:31.000Z
2019-06-15T08:09:11.000Z
lib/adb/stage.ex
javobalazs/adb
2965704fea9025976842ebd25f93b9cec642cb19
[ "Beerware" ]
null
null
null
alias ADB.Mlmap alias ADB.Stage alias ADB.Rule defmodule Stage do @vsn "0.1.0" require Mlmap require Logger require Util Util.arrow_assignment() @moduledoc """ ```elixir merge(orig, diff) = start merge(start, stage) = internal ``` `@vsn "#{@vsn}"` """ ###### ######## ## ## ##...
44.986726
187
0.418839
7961e358270dc0bf435ecd851ba411249eab06a7
1,202
ex
Elixir
apps/kitsune_aws_core/lib/kitsune/aws/config_provider/application_config.ex
shirayukikitsune/ex_aws
c56063fa986b173f160155dfb5185d1881989d0a
[ "BSD-2-Clause" ]
1
2021-07-07T12:45:55.000Z
2021-07-07T12:45:55.000Z
apps/kitsune_aws_core/lib/kitsune/aws/config_provider/application_config.ex
shirayukikitsune/ex_aws
c56063fa986b173f160155dfb5185d1881989d0a
[ "BSD-2-Clause" ]
null
null
null
apps/kitsune_aws_core/lib/kitsune/aws/config_provider/application_config.ex
shirayukikitsune/ex_aws
c56063fa986b173f160155dfb5185d1881989d0a
[ "BSD-2-Clause" ]
null
null
null
defmodule Kitsune.Aws.ConfigProvider.ApplicationConfig do @moduledoc """ This implements the configuration loader from application configuration (i.e. `Config`) All configuration should be done in the :kitsune_aws key. ## Examples: import Config config :kitsune_aws, secret_key: "MY AWS S...
27.953488
89
0.678037
7961e3bf10b30ae740f2b0912225954e2be6aec0
511
ex
Elixir
lib/ex_led_web/channels/controller_socket.ex
zastrixarundell/ex_led
e826c71abed8b0f28d523590fb72796968898b36
[ "WTFPL" ]
null
null
null
lib/ex_led_web/channels/controller_socket.ex
zastrixarundell/ex_led
e826c71abed8b0f28d523590fb72796968898b36
[ "WTFPL" ]
null
null
null
lib/ex_led_web/channels/controller_socket.ex
zastrixarundell/ex_led
e826c71abed8b0f28d523590fb72796968898b36
[ "WTFPL" ]
null
null
null
defmodule ExLedWeb.ControllerSocket do use Phoenix.Socket @secret_auth_key Application.get_env(:ex_led, __MODULE__, %{})[:secret_auth_key] channel "controller:*", ExLedWeb.ControllerChannel def connect(params, socket, _connect_info) do require Logger if params["secret_key"] == @secret_auth_key do ...
24.333333
104
0.702544
7961f7827979e1d6bb3ca8455146ac5daa77e20c
3,075
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/subscription.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/subscription.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/subscription.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...
49.596774
282
0.736911
796204069d8bccf640d741e31007ccf8211bb56b
382
ex
Elixir
lib/domain/schema/song.ex
ideaMarcos/portishead
0ad09af305e1e663c0d080a9637b8420d0f40fd1
[ "MIT" ]
3
2020-03-09T04:29:49.000Z
2020-07-14T16:09:50.000Z
lib/domain/schema/song.ex
ideaMarcos/portishead
0ad09af305e1e663c0d080a9637b8420d0f40fd1
[ "MIT" ]
null
null
null
lib/domain/schema/song.ex
ideaMarcos/portishead
0ad09af305e1e663c0d080a9637b8420d0f40fd1
[ "MIT" ]
null
null
null
defmodule Portishead.Schema.Song do use Portishead.Schema.Common schema "song" do field :title, :string field :band_uuid, Ecto.UUID field :external_id, Ecto.UUID, autogenerate: true end def changeset(%__MODULE__{} = band, params \\ %{}) do band |> cast(params, [:title, :band_uuid, :externa...
23.875
66
0.672775
79620ee50354bf02898207e143a3b77b4515d1e8
519
ex
Elixir
lib/absinthe_subscriptions_web/views/error_view.ex
egjimenezg/absinthe_subscriptions
49d05d9ce141c9de5d1cfabe21452d2bde8c49d9
[ "Apache-2.0" ]
null
null
null
lib/absinthe_subscriptions_web/views/error_view.ex
egjimenezg/absinthe_subscriptions
49d05d9ce141c9de5d1cfabe21452d2bde8c49d9
[ "Apache-2.0" ]
null
null
null
lib/absinthe_subscriptions_web/views/error_view.ex
egjimenezg/absinthe_subscriptions
49d05d9ce141c9de5d1cfabe21452d2bde8c49d9
[ "Apache-2.0" ]
null
null
null
defmodule AbsintheSubscriptionsWeb.ErrorView do use AbsintheSubscriptionsWeb, :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 messag...
30.529412
61
0.749518
7962359a79ce994e7378864ff47e1b6a37108269
2,786
exs
Elixir
test/ex_pesa/Mpesa/stk_test.exs
MidigoF/ex_pesa
d2a62e72c67084385609c895e52a6ac52e8a9a8a
[ "AML", "MIT" ]
20
2020-08-07T18:45:03.000Z
2021-12-02T12:47:07.000Z
test/ex_pesa/Mpesa/stk_test.exs
MidigoF/ex_pesa
d2a62e72c67084385609c895e52a6ac52e8a9a8a
[ "AML", "MIT" ]
65
2020-08-17T05:52:33.000Z
2021-05-20T16:06:34.000Z
test/ex_pesa/Mpesa/stk_test.exs
MidigoF/ex_pesa
d2a62e72c67084385609c895e52a6ac52e8a9a8a
[ "AML", "MIT" ]
11
2020-08-17T07:53:02.000Z
2021-04-02T20:57:16.000Z
defmodule ExPesa.Mpesa.StkTest do @moduledoc false use ExUnit.Case, async: true import Tesla.Mock doctest ExPesa.Mpesa.Stk alias ExPesa.Mpesa.Stk setup do mock(fn %{ url: "https://sandbox.safaricom.co.ke/oauth/v1/generate?grant_type=client_credentials", method: :get } -> ...
30.955556
97
0.599067
7963023f81200ac20040bddc75fe725e06d9ddda
910
ex
Elixir
create_fun_umbrella/apps/create_fun_endpoint/lib/create_fun_endpoint/application.ex
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
null
null
null
create_fun_umbrella/apps/create_fun_endpoint/lib/create_fun_endpoint/application.ex
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
9
2018-06-17T09:54:03.000Z
2018-06-17T09:55:20.000Z
create_fun_umbrella/apps/create_fun_endpoint/lib/create_fun_endpoint/application.ex
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
1
2018-06-05T18:38:01.000Z
2018-06-05T18:38:01.000Z
defmodule CreateFunEndpoint.Application do use Application def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the endpoint when the application starts supervisor(CreateFunEndpoint.Endpoint, []) # Start your o...
32.5
95
0.734066
796329285f6bdef0d2396ed93e8ab963b5e697f5
259
ex
Elixir
lib/kids_chain/pipeline_instrumenter.ex
arpnetwork/kids_chain
f320a6468c78ae7e1727d72ad3ede1befbdf931c
[ "Apache-2.0" ]
null
null
null
lib/kids_chain/pipeline_instrumenter.ex
arpnetwork/kids_chain
f320a6468c78ae7e1727d72ad3ede1befbdf931c
[ "Apache-2.0" ]
null
null
null
lib/kids_chain/pipeline_instrumenter.ex
arpnetwork/kids_chain
f320a6468c78ae7e1727d72ad3ede1befbdf931c
[ "Apache-2.0" ]
null
null
null
defmodule KidsChain.PipelineInstrumenter do use Prometheus.PlugPipelineInstrumenter def label_value(:request_path, conn) do if String.starts_with?(conn.request_path, "/users/") do "/users/UID" else conn.request_path end end end
21.583333
59
0.725869
79632fa05cc5cabc0bf86c756c7d1def1f966e2d
802
ex
Elixir
test/support/mint/http1/test_server.ex
ryochin/mint
1ea7731d921840ad75a47fa9415525c3d94b9980
[ "Apache-2.0" ]
477
2019-10-28T14:53:23.000Z
2022-03-30T08:13:21.000Z
test/support/mint/http1/test_server.ex
ryochin/mint
1ea7731d921840ad75a47fa9415525c3d94b9980
[ "Apache-2.0" ]
108
2019-11-05T04:21:04.000Z
2022-02-24T18:36:15.000Z
test/support/mint/http1/test_server.ex
ryochin/mint
1ea7731d921840ad75a47fa9415525c3d94b9980
[ "Apache-2.0" ]
56
2019-11-10T01:19:56.000Z
2022-03-25T18:08:06.000Z
defmodule Mint.HTTP1.TestServer do def start do {:ok, listen_socket} = :gen_tcp.listen(0, mode: :binary, packet: :raw) server_ref = make_ref() parent = self() spawn_link(fn -> loop(listen_socket, parent, server_ref) end) with {:ok, port} <- :inet.port(listen_socket) do {:ok, port, server_r...
25.0625
74
0.608479
79637700f71c3468c8f200090033314e5bb9e548
2,301
ex
Elixir
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/attributes.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/attributes.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/attributes.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...
45.117647
474
0.725337
79638ae50ebcbd38c8fa291ca6fbd3dd4eb376fe
1,796
exs
Elixir
apps/firestorm_data/test/firestorm_data/commands/create_reaction_test.exs
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
10
2017-06-28T08:06:52.000Z
2022-03-19T17:49:21.000Z
apps/firestorm_data/test/firestorm_data/commands/create_reaction_test.exs
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
null
null
null
apps/firestorm_data/test/firestorm_data/commands/create_reaction_test.exs
CircleCI-Public/firestorm
9ca2c46a2b2377370347ad94d6003eeb77be38d6
[ "MIT" ]
2
2017-10-21T12:01:02.000Z
2021-01-29T10:26:22.000Z
defmodule FirestormData.Commands.CreateReactionTest do @moduledoc false use FirestormData.UnitCase alias FirestormData.Commands.{CreateCategory, CreateThread, CreateReaction} alias FirestormData.{Thread, User, Repo, Post, Reaction} setup do :ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo) end describ...
26.028986
89
0.648664
7963a9daf8ce1d5c0a785cd25affed2b58224e2e
1,043
ex
Elixir
lib/hl7/2.4/segments/gol.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/gol.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/gol.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_4.Segments.GOL do @moduledoc false require Logger alias HL7.V2_4.{DataTypes} use HL7.Segment, fields: [ segment: nil, action_code: nil, action_date_time: DataTypes.Ts, goal_id: DataTypes.Ce, goal_instance_id: DataTypes.Ei, episode_of_care_id: DataTypes....
31.606061
53
0.728667
7963ac2b4057d968fe92b3599ffa45f7076f8d0d
2,377
exs
Elixir
mix.exs
bgentry/ecto_as_state_machine
068ad13ec60147564f02ab4d0493763dcd758bbd
[ "MIT" ]
null
null
null
mix.exs
bgentry/ecto_as_state_machine
068ad13ec60147564f02ab4d0493763dcd758bbd
[ "MIT" ]
null
null
null
mix.exs
bgentry/ecto_as_state_machine
068ad13ec60147564f02ab4d0493763dcd758bbd
[ "MIT" ]
null
null
null
defmodule EctoAsStateMachine.Mixfile do use Mix.Project @project_url "https://github.com/cnsa/ecto_as_state_machine" @version "1.0.6" def project do [ app: :ecto_as_state_machine, version: @version, elixir: "~> 1.3", elixirc_paths: elixirc_paths(Mix.env), build_embedded: Mix....
28.638554
123
0.583088
7963ba9bb744dcfa62f29c086377e3d1179c0f29
2,279
ex
Elixir
lib/guardian/db/token.ex
BenMorganIO/guardian_db
e16a4d76e6286c77e7b0097c6234be085eb23160
[ "MIT" ]
null
null
null
lib/guardian/db/token.ex
BenMorganIO/guardian_db
e16a4d76e6286c77e7b0097c6234be085eb23160
[ "MIT" ]
null
null
null
lib/guardian/db/token.ex
BenMorganIO/guardian_db
e16a4d76e6286c77e7b0097c6234be085eb23160
[ "MIT" ]
null
null
null
defmodule Guardian.DB.Token do @moduledoc """ A very simple model for storing tokens generated by `Guardian`. """ use Ecto.Schema import Ecto.Changeset import Ecto.Query, only: [where: 3] alias Guardian.DB.Token @primary_key {:jti, :string, autogenerate: false} @allowed_fields ~w(jti typ aud iss su...
22.79
77
0.630101
7963be3eb74971aff301bc304cf897983a9b98e9
1,504
ex
Elixir
lib/liveview_bindings_web/views/error_helpers.ex
rafalgolarz/liveview_bindings
c64fbf9661d5ff78c839daa7561549bbf6cbc731
[ "MIT" ]
null
null
null
lib/liveview_bindings_web/views/error_helpers.ex
rafalgolarz/liveview_bindings
c64fbf9661d5ff78c839daa7561549bbf6cbc731
[ "MIT" ]
1
2021-03-10T09:32:06.000Z
2021-03-10T09:32:06.000Z
lib/liveview_bindings_web/views/error_helpers.ex
rafalgolarz/liveview_bindings
c64fbf9661d5ff78c839daa7561549bbf6cbc731
[ "MIT" ]
null
null
null
defmodule LiveviewBindingsWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> con...
33.422222
85
0.676197
7963d406789348139c76166fb3366818612c183e
16,105
exs
Elixir
test/filter/filter_test.exs
ChristianTovar/ash
66435322786c5d0b90a34051da969b68dcc8a045
[ "MIT" ]
null
null
null
test/filter/filter_test.exs
ChristianTovar/ash
66435322786c5d0b90a34051da969b68dcc8a045
[ "MIT" ]
null
null
null
test/filter/filter_test.exs
ChristianTovar/ash
66435322786c5d0b90a34051da969b68dcc8a045
[ "MIT" ]
null
null
null
defmodule Ash.Test.Filter.FilterTest do @moduledoc false use ExUnit.Case, async: true import Ash.Changeset alias Ash.Filter require Ash.Query defmodule Profile do @moduledoc false use Ash.Resource, data_layer: Ash.DataLayer.Ets ets do private?(true) end actions do read ...
25.892283
100
0.571748
7963eb2e34121fb76ce24723913c841ad29ff227
3,345
exs
Elixir
lib/elixir/test/elixir/gen_server_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/gen_server_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/gen_server_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule GenServerTest do use ExUnit.Case, async: true defmodule Stack do use GenServer def handle_call(:pop, _from, [h|t]) do {:reply, h, t} end def handle_call(request, from, state) do super(request, from, state) end def handle...
29.086957
81
0.618535
796430ebff2139b81114a9e8d15eaab1ce98b31b
1,875
ex
Elixir
lib/ash/notifier/pub_sub/publication.ex
MrFlorius/ash
247abbb8333d252da5440a58ddf4f1b7f184342f
[ "MIT" ]
null
null
null
lib/ash/notifier/pub_sub/publication.ex
MrFlorius/ash
247abbb8333d252da5440a58ddf4f1b7f184342f
[ "MIT" ]
null
null
null
lib/ash/notifier/pub_sub/publication.ex
MrFlorius/ash
247abbb8333d252da5440a58ddf4f1b7f184342f
[ "MIT" ]
null
null
null
defmodule Ash.Notifier.PubSub.Publication do @moduledoc "Represents an individual publication setup" defstruct [ :action, :topic, :event, :type ] @schema [ action: [ type: :atom, doc: "The name of the action that should be published", required: true ], topic: [ ...
25.337838
128
0.5984
79643470b02ed821c3a1b6879db551996ead425c
2,021
ex
Elixir
lib/codes/codes_l66.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_l66.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_l66.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_L66 do alias IcdCode.ICDCode def _L660 do %ICDCode{full_code: "L660", category_code: "L66", short_code: "0", full_name: "Pseudopelade", short_name: "Pseudopelade", category_name: "Pseudopelade" } end def _L661 do %IC...
28.871429
65
0.603167
7964352737cceaadb50edbb2bc2c2178618c10d9
185
exs
Elixir
priv/repo/migrations/20170603012354_muted_default_true.exs
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
15
2015-09-23T16:03:28.000Z
2018-12-04T21:48:04.000Z
priv/repo/migrations/20170603012354_muted_default_true.exs
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
27
2016-01-12T16:44:31.000Z
2017-10-13T16:09:36.000Z
priv/repo/migrations/20170603012354_muted_default_true.exs
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
4
2016-09-01T12:08:24.000Z
2017-09-21T15:07:57.000Z
defmodule SlackCoder.Repo.Migrations.MutedDefaultTrue do use Ecto.Migration def change do alter table(:users) do modify :muted, :boolean, default: true end end end
18.5
56
0.718919
796436824a26d386c6670c87b499f630e2aab683
60
exs
Elixir
mix.exs
Nathaniel-N/erlbus
0033b44a7be15088ea7b09b3eadb7b2355bf7795
[ "MIT" ]
null
null
null
mix.exs
Nathaniel-N/erlbus
0033b44a7be15088ea7b09b3eadb7b2355bf7795
[ "MIT" ]
null
null
null
mix.exs
Nathaniel-N/erlbus
0033b44a7be15088ea7b09b3eadb7b2355bf7795
[ "MIT" ]
null
null
null
def deps do [ {:ebus, "~> 0.2", hex: :erlbus} ] end
10
35
0.45
796459fbe2f693c949e9c1205657ce3b5654e525
687
exs
Elixir
lib/elixir/test/elixir/kernel/charlist_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/test/elixir/kernel/charlist_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/test/elixir/kernel/charlist_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule CharlistTest do use ExUnit.Case, async: true test "heredoc" do assert __ENV__.line == 7 assert 'foo\nbar\n' == ''' foo bar ''' assert __ENV__.line == 14 assert 'foo\nbar \'\'\'\n' == ''' foo ...
18.567568
48
0.477438
79645f88a98df3366f5b1653050b9e7f8db3a861
723
ex
Elixir
lib/survey_api/accounts.ex
AkioCode/elixir-survey
420f4e5f60b84d381707f162b473dd91eb0fe9f2
[ "MIT" ]
null
null
null
lib/survey_api/accounts.ex
AkioCode/elixir-survey
420f4e5f60b84d381707f162b473dd91eb0fe9f2
[ "MIT" ]
null
null
null
lib/survey_api/accounts.ex
AkioCode/elixir-survey
420f4e5f60b84d381707f162b473dd91eb0fe9f2
[ "MIT" ]
null
null
null
defmodule SurveyApi.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias SurveyApi.Repo alias SurveyApi.Accounts.User def list_users do Repo.all(User) end def get_user(id) do Repo.get(User, id) |> case do nil -> {:error, "Usuário não e...
16.813953
63
0.605809
7964ac4b82002abab5e96d93ea7f05f56d3f54ee
3,508
exs
Elixir
test/integration/typespec_test.exs
jeremyowensboggs/zigler
d1ec07ae66db5c007ff7cfc8a820fb21c661bcea
[ "MIT" ]
349
2019-10-02T07:21:17.000Z
2022-03-21T17:50:06.000Z
test/integration/typespec_test.exs
jeremyowensboggs/zigler
d1ec07ae66db5c007ff7cfc8a820fb21c661bcea
[ "MIT" ]
223
2019-10-05T05:36:08.000Z
2022-03-31T23:12:02.000Z
test/integration/typespec_test.exs
jeremyowensboggs/zigler
d1ec07ae66db5c007ff7cfc8a820fb21c661bcea
[ "MIT" ]
20
2019-10-08T16:29:39.000Z
2022-03-31T15:07:20.000Z
defmodule ZiglerTest.Integration.TypespecTest do use ExUnit.Case, async: true # # note that this module doesn't make sense unless you have the context of the # support module `ZiglerTest.Types`. This support module can be found in the # following location: # # test/support/types.ex # @moduletag :ty...
31.890909
101
0.651368
7964b258c77690a7c1eba2e9f778023e3f869ddb
705
ex
Elixir
samples/client/petstore/elixir/lib/openapi_petstore/model/type_holder_default.ex
MalcolmScoffable/openapi-generator
73605a0c0e0c825286c95123c63678ba75b44d5c
[ "Apache-2.0" ]
11,868
2018-05-12T02:58:07.000Z
2022-03-31T21:19:39.000Z
samples/client/petstore/elixir/lib/openapi_petstore/model/type_holder_default.ex
MalcolmScoffable/openapi-generator
73605a0c0e0c825286c95123c63678ba75b44d5c
[ "Apache-2.0" ]
9,672
2018-05-12T14:25:43.000Z
2022-03-31T23:59:30.000Z
samples/client/petstore/elixir/lib/openapi_petstore/model/type_holder_default.ex
MalcolmScoffable/openapi-generator
73605a0c0e0c825286c95123c63678ba75b44d5c
[ "Apache-2.0" ]
4,776
2018-05-12T12:06:08.000Z
2022-03-31T19:52:51.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule OpenapiPetstore.Model.TypeHolderDefault do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"string_item", :"number_item",...
20.735294
91
0.652482
7964c5c1d9042eb7b69b77236281d1231a655193
249
ex
Elixir
nolive/hiyoko/lib/hiyoko.ex
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
null
null
null
nolive/hiyoko/lib/hiyoko.ex
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
1
2019-09-11T14:22:29.000Z
2019-09-11T14:22:29.000Z
hiyoko/lib/hiyoko.ex
rykawamu/phoenix_liveview_practice_01
e30ab2304473a995a3b36335ceb212a9bbed012f
[ "MIT" ]
null
null
null
defmodule Hiyoko do @moduledoc """ Hiyoko keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
24.9
66
0.751004
7964d1074c0708630625266ced833cf6afaae8c6
6,476
ex
Elixir
lib/eex/lib/eex.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/eex/lib/eex.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/eex/lib/eex.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
defmodule EEx.SyntaxError do defexception [:message] end defmodule EEx do @moduledoc ~S""" EEx stands for Embedded Elixir. It allows you to embed Elixir code inside a string in a robust way: iex> EEx.eval_string "foo <%= bar %>", [bar: "baz"] "foo baz" ## API This module provides 3 main APIs...
29.981481
83
0.651328
7964e4f8815d9587767839c83f33872af2838c26
1,085
ex
Elixir
lib/absinthe/schema/rule/object_interfaces_must_be_valid.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
3
2017-06-22T16:33:58.000Z
2021-07-07T15:21:09.000Z
lib/absinthe/schema/rule/object_interfaces_must_be_valid.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
lib/absinthe/schema/rule/object_interfaces_must_be_valid.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
defmodule Absinthe.Schema.Rule.ObjectInterfacesMustBeValid do use Absinthe.Schema.Rule alias Absinthe.Schema alias Absinthe.Type @moduledoc false @description """ Only interfaces may be present in an Object's interface list. Reference: https://github.com/facebook/graphql/blob/master/spec/Section%203%20...
24.659091
112
0.654378
79651151826dfdb1c62fceb3a7fefb29571ddae5
642
ex
Elixir
parkapp_server/lib/parkapp/reservations/reservation_status.ex
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
2
2018-11-06T12:21:16.000Z
2018-11-21T10:20:17.000Z
parkapp_server/lib/parkapp/reservations/reservation_status.ex
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
null
null
null
parkapp_server/lib/parkapp/reservations/reservation_status.ex
bitmaker-software/parkapp
39d9fd3cb8ab6bd1d54b776a5467eccf3b65f310
[ "MIT" ]
null
null
null
defmodule Parkapp.Reservations.ReservationStatus do use Ecto.Schema import Ecto.Changeset schema "reservation_status" do field :description, :string field :name, :string timestamps() end @doc false def changeset(reservation_status, attrs) do reservation_status |> cast(attrs, [:name, ...
20.0625
56
0.688474
79651f626d698d94d275fb96841fcfda84e3edda
6,988
ex
Elixir
lib/prolly/count_min_sketch.ex
ckampfe/prolly
a43f92d64caa016ebe74b62c68cbc748e4b4a4c4
[ "MIT" ]
2
2017-06-19T23:17:30.000Z
2021-01-08T04:01:59.000Z
lib/prolly/count_min_sketch.ex
ckampfe/prolly
a43f92d64caa016ebe74b62c68cbc748e4b4a4c4
[ "MIT" ]
4
2017-06-18T06:51:30.000Z
2017-06-24T05:20:11.000Z
lib/prolly/count_min_sketch.ex
ckampfe/prolly
a43f92d64caa016ebe74b62c68cbc748e4b4a4c4
[ "MIT" ]
null
null
null
defmodule Prolly.CountMinSketch do require Vector @moduledoc """ Use CountMinSketch when you want to count and query the approximate number of occurences of values in a stream using sublinear memory For example, "how many times has the string `foo` been in the stream so far?" is a reasonable question for ...
36.395833
116
0.586005
79657db71155a0125545524950810b0a991f604c
14,170
ex
Elixir
lib/bamboo/adapters/smtp_adapter.ex
dbii/bamboo_smtp
8846a2631302732e6e09aacc26e286faad25e418
[ "MIT" ]
null
null
null
lib/bamboo/adapters/smtp_adapter.ex
dbii/bamboo_smtp
8846a2631302732e6e09aacc26e286faad25e418
[ "MIT" ]
null
null
null
lib/bamboo/adapters/smtp_adapter.ex
dbii/bamboo_smtp
8846a2631302732e6e09aacc26e286faad25e418
[ "MIT" ]
null
null
null
defmodule Bamboo.SMTPAdapter do @moduledoc """ Sends email using SMTP. Use this adapter to send emails through SMTP. This adapter requires that some settings are set in the config. See the example section below. *Sensitive credentials should not be committed to source control and are best kept in environmen...
32.058824
110
0.698518
7965aec6be74a53432acb68e24719d2717592981
3,676
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/data_source_parameter.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/data_source_parameter.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/data_source_parameter.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...
47.74026
338
0.746464
7965d03c712c10ca4f75ed28d93e2cd8310abe30
2,177
exs
Elixir
test/parser/nonvoid_elements_aliases_test.exs
mhanberg/dsl
21e3c7e3a24fabecd436fb09271d90c3e9fb8c30
[ "MIT" ]
null
null
null
test/parser/nonvoid_elements_aliases_test.exs
mhanberg/dsl
21e3c7e3a24fabecd436fb09271d90c3e9fb8c30
[ "MIT" ]
null
null
null
test/parser/nonvoid_elements_aliases_test.exs
mhanberg/dsl
21e3c7e3a24fabecd436fb09271d90c3e9fb8c30
[ "MIT" ]
null
null
null
defmodule Temple.Parser.NonvoidElementsAliasesTest do use ExUnit.Case, async: true alias Temple.Parser.NonvoidElementsAliases alias Temple.Parser.ElementList describe "applicable?/1" do test "returns true when the node is a nonvoid element or alias" do raw_asts = [ quote do div do ...
24.188889
91
0.430409
7965eff98e1600eb07cb6c020011ca42927b8b2d
5,283
ex
Elixir
lib/ucx_ucc_web/coherence_messages.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
lib/ucx_ucc_web/coherence_messages.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
lib/ucx_ucc_web/coherence_messages.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UcxUccWeb.Coherence.Messages do @moduledoc """ Application facing messages generated by the Coherence application. This module was created by the coh.install mix task. It contains all the messages used in the coherence application except those in other generated files like the view and templates. ...
66.0375
137
0.767556
7965f2bf05ea3eb146f5fc7e2853106477775ee8
384
ex
Elixir
lib/core/bot_state/supervisor.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
lib/core/bot_state/supervisor.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
lib/core/bot_state/supervisor.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.BotState.Supervisor do use Supervisor def start_link(args) do Supervisor.start_link(__MODULE__, args, name: __MODULE__) end def init([]) do Supervisor.init(children(), strategy: :one_for_all) end def children, do: [ FarmbotOS.BotState, FarmbotOS.BotState.FileSy...
20.210526
61
0.710938
796604c27506530689895dcd2d3e0872610ec5e6
1,228
exs
Elixir
mix.exs
regularfellow/downstream
436de5d57eabc58e60e1bf43c3dab78170dbe8e3
[ "MIT" ]
null
null
null
mix.exs
regularfellow/downstream
436de5d57eabc58e60e1bf43c3dab78170dbe8e3
[ "MIT" ]
null
null
null
mix.exs
regularfellow/downstream
436de5d57eabc58e60e1bf43c3dab78170dbe8e3
[ "MIT" ]
null
null
null
defmodule Downstream.MixProject do use Mix.Project def project do [ app: :downstream, deps: deps(), docs: docs(), description: "An Elixir Client for Streaming Downloads", elixir: "~> 1.11", name: "Downstream", package: package(), preferred_cli_env: ["coveralls.ht...
22.327273
65
0.534202
79660a473714fc4fa40abbeeefe56c01915cb9ee
16,066
ex
Elixir
lib/aws/generated/sfn.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/sfn.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/sfn.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.SFN do @moduledoc """ AWS Step Functions AWS Step Functions is a service that lets you coordinate the components of distributed applications and microservices using visual workflows. Y...
40.165
189
0.733661
79661ef83bf25f7583a2a4469bc251de70c40ca1
1,475
ex
Elixir
deps/plug/lib/plug/session/store.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
deps/plug/lib/plug/session/store.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
deps/plug/lib/plug/session/store.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
defmodule Plug.Session.Store do @moduledoc """ Specification for session stores. """ @typedoc """ The internal reference to the session in the store. """ @type sid :: term | nil @typedoc """ The cookie value that will be sent in cookie headers. This value should be base64 encoded to avoid security...
26.818182
78
0.686102
7966303254f3d1f6f6453846cb51bf13c6fd5e72
699
ex
Elixir
lib/rockelivery/orders/validate_and_mutiply_items.ex
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
1
2022-03-16T20:41:29.000Z
2022-03-16T20:41:29.000Z
lib/rockelivery/orders/validate_and_mutiply_items.ex
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
null
null
null
lib/rockelivery/orders/validate_and_mutiply_items.ex
riosvictor/rockelivery
d34c8ccd76f95bb5bc8131f8ef1fb9111f554ebb
[ "MIT" ]
null
null
null
defmodule Rockelivery.Orders.ValidateAndMutiplyItems do def call(items, items_ids, items_params) do items_map = Map.new(items, fn item -> {item.id, item} end) items_ids |> Enum.map(fn id -> {id, Map.get(items_map, id)} end) |> Enum.any?(fn {_id, value} -> is_nil(value) end) |> multiply_items(item...
30.391304
84
0.642346
79666d11c23707f8c377ccdd9160d80a443a59ca
76
exs
Elixir
test/views/page_view_test.exs
retrixer/retrixer
5efeb9cd51fdf728cb06a4be5678ca824dc50568
[ "MIT" ]
3
2015-11-11T11:49:02.000Z
2015-11-12T18:20:43.000Z
test/views/page_view_test.exs
retrixer/retrixer
5efeb9cd51fdf728cb06a4be5678ca824dc50568
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
retrixer/retrixer
5efeb9cd51fdf728cb06a4be5678ca824dc50568
[ "MIT" ]
null
null
null
defmodule Retrixer.PageViewTest do use Retrixer.ConnCase, async: true end
19
36
0.815789
7966868f396c0d0fc9aba8511ba4d1ec2eb9850a
271
exs
Elixir
examples/phx_server/config/test.exs
hrzndhrn/json_rpc
c9a1d70b92abbf59260be6394bb5ecc41229a599
[ "MIT" ]
null
null
null
examples/phx_server/config/test.exs
hrzndhrn/json_rpc
c9a1d70b92abbf59260be6394bb5ecc41229a599
[ "MIT" ]
null
null
null
examples/phx_server/config/test.exs
hrzndhrn/json_rpc
c9a1d70b92abbf59260be6394bb5ecc41229a599
[ "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 :phx_server, PhxServerWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn
24.636364
56
0.741697
7966a6226487a62b27fdf8275ed2ae5c9aeb5584
1,425
ex
Elixir
lib/flawless/types/datetime.ex
colinsmetz/flawless
87fd76f88758f16b42813b1e0f0f0ee8163d9185
[ "MIT" ]
null
null
null
lib/flawless/types/datetime.ex
colinsmetz/flawless
87fd76f88758f16b42813b1e0f0f0ee8163d9185
[ "MIT" ]
null
null
null
lib/flawless/types/datetime.ex
colinsmetz/flawless
87fd76f88758f16b42813b1e0f0f0ee8163d9185
[ "MIT" ]
null
null
null
defmodule Flawless.Types.DateTime do alias Flawless.Helpers alias Flawless.Rule def datetime(opts \\ []) do Helpers.opaque_struct_type( DateTime, opts, converter: &cast_from/2, shortcut_rules: [ after: &after_datetime/1, before: &before_datetime/1, between: &be...
22.983871
79
0.607719
7966c61c407d768bc1d1167531f615ce2adb2c86
274
ex
Elixir
sample_application/lib/release_tasks.ex
Yamilquery/kaufmann_ex
5158ae8f524f8780647766ff35db88ebd761da29
[ "MIT" ]
84
2018-03-20T08:19:10.000Z
2022-01-30T07:40:56.000Z
sample_application/lib/release_tasks.ex
Yamilquery/kaufmann_ex
5158ae8f524f8780647766ff35db88ebd761da29
[ "MIT" ]
23
2018-03-29T15:15:56.000Z
2019-12-04T14:53:57.000Z
sample_application/lib/release_tasks.ex
Yamilquery/kaufmann_ex
5158ae8f524f8780647766ff35db88ebd761da29
[ "MIT" ]
8
2018-07-03T18:18:27.000Z
2022-03-08T14:04:09.000Z
defmodule Sample.ReleaseTasks do def migrate_schemas do Application.load(:kaufmann_ex) KaufmannEx.ReleaseTasks.migrate_schemas(:sample) end def reinit_service do Application.load(:kaufmann_ex) KaufmannEx.ReleaseTasks.reinit_service(:sample) end end
22.833333
52
0.781022
7966d9b89eee606767c8d2f7d6b34270774a0711
5,075
ex
Elixir
lib/thrift/generator/binary/framed/server.ex
pguillory/elixir-thrift
adff91ece6c303db3fd5cfc641fd43249d7c1dc9
[ "Apache-2.0" ]
null
null
null
lib/thrift/generator/binary/framed/server.ex
pguillory/elixir-thrift
adff91ece6c303db3fd5cfc641fd43249d7c1dc9
[ "Apache-2.0" ]
null
null
null
lib/thrift/generator/binary/framed/server.ex
pguillory/elixir-thrift
adff91ece6c303db3fd5cfc641fd43249d7c1dc9
[ "Apache-2.0" ]
null
null
null
defmodule Thrift.Generator.Binary.Framed.Server do @moduledoc false alias Thrift.AST.Function alias Thrift.Generator.{ Service, Utils } alias Thrift.Parser.FileGroup def generate(service_module, service, file_group) do functions = service.functions |> Map.values() |> Enum.ma...
33.609272
97
0.677438
7966fc2f293a66f859383167e083ca2f889b66e5
1,089
ex
Elixir
lib/bitcoin/block/compact_bits.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
2
2019-08-12T04:53:57.000Z
2019-09-03T03:47:33.000Z
lib/bitcoin/block/compact_bits.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
lib/bitcoin/block/compact_bits.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
defmodule Bitcoin.Block.CompactBits do @moduledoc """ 256-bit target threshold in the block header is encoded in a 32-bit space (compact bits a.k.a nBits). This module provides functions to encode and decode compact bits. Simple and understandable explanation: http://bitcoin.stackexchange.com/questio...
25.928571
105
0.672176