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
85dc424f3e11103e769468b5e5e2131086ac2806
197
ex
Elixir
lib/cforum_web/views/users/session_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web/views/users/session_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web/views/users/session_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
defmodule CforumWeb.Users.SessionView do use CforumWeb, :view def page_title(_, _), do: gettext("Login") def body_id(_, _), do: "session-new" def body_classes(_, _), do: "session new" end
24.625
44
0.695431
85dc7b06bd74acaa7ddfbc50461c6d3ce2d4690d
532
ex
Elixir
lib/fuentes/config.ex
elixir-twister/fuentes
11b152d639ecfe42aa53bbf686cb0a4216d08459
[ "Apache-2.0" ]
1
2021-07-02T12:38:20.000Z
2021-07-02T12:38:20.000Z
lib/fuentes/config.ex
data-twister/fuentes
11b152d639ecfe42aa53bbf686cb0a4216d08459
[ "Apache-2.0" ]
1
2018-04-16T17:36:40.000Z
2018-04-16T17:36:40.000Z
lib/fuentes/config.ex
elixir-twister/fuentes
11b152d639ecfe42aa53bbf686cb0a4216d08459
[ "Apache-2.0" ]
1
2018-04-16T17:36:14.000Z
2018-04-16T17:36:14.000Z
defmodule Fuentes.Config do @moduledoc """ Stores configuration variables used to communicate with Fuentes Returns the Fuentes Tenancy Setting. Set it in `mix.exs`: config :fuentes, tenancy: :true """ @doc """ Selects the first repo from the list of configured `:ecto_repos` and establishes it...
29.555556
84
0.719925
85dcb2720907db2ff4836aa507f35b108f1e054c
1,929
exs
Elixir
host_core/test/e2e/controlinterface_test.exs
janitha09/wasmcloud-otp
858d7cbba00233eabf91d96cbcb0d6db80202444
[ "Apache-2.0" ]
84
2021-06-09T16:30:27.000Z
2022-03-27T23:41:25.000Z
host_core/test/e2e/controlinterface_test.exs
janitha09/wasmcloud-otp
858d7cbba00233eabf91d96cbcb0d6db80202444
[ "Apache-2.0" ]
239
2021-06-07T14:00:09.000Z
2022-03-30T17:06:05.000Z
host_core/test/e2e/controlinterface_test.exs
janitha09/wasmcloud-otp
858d7cbba00233eabf91d96cbcb0d6db80202444
[ "Apache-2.0" ]
20
2021-06-10T01:10:35.000Z
2022-03-17T15:59:57.000Z
defmodule HostCore.E2E.ControlInterfaceTest do use ExUnit.Case, async: false @echo_key HostCoreTest.Constants.echo_key() @echo_path HostCoreTest.Constants.echo_path() @kvcounter_key HostCoreTest.Constants.kvcounter_key() @redis_key HostCoreTest.Constants.redis_key() @redis_link HostCoreTest.Constants.defau...
32.15
89
0.663556
85dcfc7cc47020d965237f0276d16fab8b8700b2
6,563
ex
Elixir
clients/redis/lib/google_api/redis/v1beta1/model/instance.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/redis/lib/google_api/redis/v1beta1/model/instance.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/redis/lib/google_api/redis/v1beta1/model/instance.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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...
64.980198
549
0.728325
85dd03dc1c7f057dfaa19f4076581c9744c44c0e
372
ex
Elixir
lib/ex_firebase/config.ex
alfietham/ex_firebase
f8f6666db003940138b8fe79e1c5be4a6e580de1
[ "MIT" ]
6
2019-03-23T10:18:13.000Z
2021-12-30T15:15:15.000Z
lib/ex_firebase/config.ex
alfietham/ex_firebase
f8f6666db003940138b8fe79e1c5be4a6e580de1
[ "MIT" ]
null
null
null
lib/ex_firebase/config.ex
alfietham/ex_firebase
f8f6666db003940138b8fe79e1c5be4a6e580de1
[ "MIT" ]
3
2019-05-16T01:32:20.000Z
2021-12-30T16:02:30.000Z
defmodule ExFirebase.Config do def project_id do Application.get_env(:ex_firebase, :project_id) end def service_account_path do Application.get_env(:ex_firebase, :service_account_path) end def private_key do Application.get_env(:ex_firebase, :private_key) end def client_email do Applica...
20.666667
60
0.763441
85dd13680501f0116b0acd771a41268bcb4264f7
6,722
exs
Elixir
test/absinthe/type/custom_test.exs
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
1
2019-10-10T02:57:52.000Z
2019-10-10T02:57:52.000Z
test/absinthe/type/custom_test.exs
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
2
2018-08-02T13:35:38.000Z
2018-08-02T13:36:42.000Z
test/absinthe/type/custom_test.exs
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
1
2018-11-16T02:34:40.000Z
2018-11-16T02:34:40.000Z
defmodule Absinthe.Type.CustomTest do use Absinthe.Case, async: true alias Absinthe.Type alias Absinthe.Blueprint.Input defmodule TestSchema do use Absinthe.Schema import_types Type.Custom query do end end @datetime %DateTime{ year: 2017, month: 1, day: 27, hour: 20, ...
35.946524
95
0.643856
85dd1e65e13157b19b2ae822ad1ee9c415145547
1,491
ex
Elixir
lib/liquex/context.ex
univers-agency/liquex
1a12e56be21da064d092b76fa3cce9bcb192103c
[ "MIT" ]
null
null
null
lib/liquex/context.ex
univers-agency/liquex
1a12e56be21da064d092b76fa3cce9bcb192103c
[ "MIT" ]
null
null
null
lib/liquex/context.ex
univers-agency/liquex
1a12e56be21da064d092b76fa3cce9bcb192103c
[ "MIT" ]
null
null
null
defmodule Liquex.Context do @moduledoc """ Stores contextual information for the parser """ defstruct variables: %{}, cycles: %{}, private: %{}, filter_module: Liquex.Filter, render_module: nil, errors: [] @type t :: %__MODULE__{ variable...
26.625
74
0.608317
85dd3ccaf88365a090f919fa36c74ff192881e9d
1,082
ex
Elixir
lib/beam/module/modules.ex
itsemilano/beam
afa79d7f31d2e2d4ded381656735d08cabd4f9ea
[ "Apache-2.0" ]
null
null
null
lib/beam/module/modules.ex
itsemilano/beam
afa79d7f31d2e2d4ded381656735d08cabd4f9ea
[ "Apache-2.0" ]
null
null
null
lib/beam/module/modules.ex
itsemilano/beam
afa79d7f31d2e2d4ded381656735d08cabd4f9ea
[ "Apache-2.0" ]
null
null
null
defmodule Example do def version, do: 1 Module.definitions_in(__MODULE__, :def) #=> [{:version, 0}] Module.definitions_in(__MODULE__, :defp) #=> [] end defmodule MyModule1 do Module.put_attribute(__MODULE__, :custom_threshold_for_lib, 10) Module.delete_attribute(__MODULE__, :custom_threshold_for_lib) end de...
27.05
84
0.746765
85dd4aa138291c554479a203e23a61f3ae641c53
79
exs
Elixir
test/message/spam_test.exs
rockerBOO/elirc_twitch
6399f717c012df10df7914c216f5d3f9c425844c
[ "MIT" ]
20
2015-06-18T03:30:58.000Z
2021-01-11T19:55:00.000Z
test/message/spam_test.exs
rockerBOO/elirc_twitch
6399f717c012df10df7914c216f5d3f9c425844c
[ "MIT" ]
1
2015-06-24T01:03:31.000Z
2015-06-24T12:41:21.000Z
test/message/spam_test.exs
rockerBOO/elirc_twitch
6399f717c012df10df7914c216f5d3f9c425844c
[ "MIT" ]
7
2015-06-22T14:25:12.000Z
2016-01-21T03:39:02.000Z
defmodule Elirc.Message.SpamTest do use ExUnit.Case doctest Elirc.Spam end
15.8
35
0.797468
85dd4b4f45d277cdc66e34909c1c1c6678e3d3e0
966
ex
Elixir
server/lib/echoppe/user.ex
d-exclaimation/echoppe
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
1
2021-05-13T00:53:52.000Z
2021-05-13T00:53:52.000Z
server/lib/echoppe/user.ex
d-exclaimation/ez-cart
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
1
2021-06-02T19:18:10.000Z
2021-06-07T16:44:36.000Z
server/lib/echoppe/user.ex
d-exclaimation/ez-cart
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
null
null
null
defmodule Echoppe.User do use Ecto.Schema import Ecto.Changeset @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id schema "users" do field :email, :string field :name, :string field :password, :binary field :password_hash, :binary field :username, :string ...
25.421053
98
0.68323
85dd503278a30cb8206d767fcc6064f7058de6cf
90
exs
Elixir
phoenix_commerce/test/views/page_view_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
phoenix_commerce/test/views/page_view_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
phoenix_commerce/test/views/page_view_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule PhoenixCommerce.PageViewTest do use PhoenixCommerce.ConnCase, async: true end
22.5
43
0.844444
85dd51da3c95918270f589209407a316a1de7cbb
12,187
ex
Elixir
lib/elixir/lib/list.ex
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/list.ex
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/list.ex
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
defmodule List do @moduledoc """ Implements functions that only make sense for lists and cannot be part of the Enum protocol. In general, favor using the Enum API instead of List. Some functions in this module expect an index. Index access for list is linear. Negative indexes are also supported but they ...
22.239051
90
0.57988
85dd73e4152195747edd24027601191ff7ad108b
516
exs
Elixir
priv/repo/migrations/20170408214055_create_category.exs
lexa62/hb
c6b2169ad3e5af546da3f7ad0d499f5d5d29d044
[ "MIT" ]
null
null
null
priv/repo/migrations/20170408214055_create_category.exs
lexa62/hb
c6b2169ad3e5af546da3f7ad0d499f5d5d29d044
[ "MIT" ]
null
null
null
priv/repo/migrations/20170408214055_create_category.exs
lexa62/hb
c6b2169ad3e5af546da3f7ad0d499f5d5d29d044
[ "MIT" ]
null
null
null
defmodule Hb.Repo.Migrations.CreateCategory do use Ecto.Migration def change do create table(:categories) do add :parent_id, references(:categories, on_delete: :nothing) add :accounting_id, references(:accounting, on_delete: :nothing), null: false add :name, :string, null: false add :ty...
27.157895
83
0.684109
85dd817082e6532e2271a1a7de8dfd2e87d96539
28,484
ex
Elixir
lib/iex/lib/iex.ex
moogle19/elixir
91fa0e3adad1654a4fe2c8bd218e9e6d42b92b47
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex.ex
moogle19/elixir
91fa0e3adad1654a4fe2c8bd218e9e6d42b92b47
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex.ex
moogle19/elixir
91fa0e3adad1654a4fe2c8bd218e9e6d42b92b47
[ "Apache-2.0" ]
null
null
null
defmodule IEx do @moduledoc ~S""" Elixir's interactive shell. Some of the functionalities described here will not be available depending on your terminal. In particular, if you get a message saying that the smart terminal could not be run, some of the features described here won't work. ## Helpers IE...
32.331442
175
0.68477
85dd8810a9ae688c2db4a7e2c6106cd5ff41cdf1
1,878
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_sentiment.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_sentiment.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_sentiment.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 ...
35.433962
134
0.732694
85dd90ba15cb8eab9605f326a1564a82c6be7376
603
ex
Elixir
lib/faktory_worker/worker_supervisor.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
17
2019-04-14T21:35:33.000Z
2019-10-26T10:36:35.000Z
lib/faktory_worker/worker_supervisor.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
75
2019-03-12T12:09:34.000Z
2020-01-04T14:19:11.000Z
lib/faktory_worker/worker_supervisor.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
4
2020-10-26T17:21:59.000Z
2021-04-17T18:05:10.000Z
defmodule FaktoryWorker.WorkerSupervisor do @moduledoc false use Supervisor alias FaktoryWorker.Random @spec start_link(opts :: keyword()) :: Supervisor.on_start() def start_link(opts) do name = Keyword.get(opts, :name) Supervisor.start_link(__MODULE__, opts, name: :"#{name}_worker_supervisor") e...
23.192308
79
0.704809
85dd987dc332aa09eb2530264c02953fea4195b8
1,985
ex
Elixir
lib/vault/auth/adapter.ex
philss/libvault
154d8321b414b83914ce108a7e8d97dc706ab01a
[ "MIT" ]
null
null
null
lib/vault/auth/adapter.ex
philss/libvault
154d8321b414b83914ce108a7e8d97dc706ab01a
[ "MIT" ]
null
null
null
lib/vault/auth/adapter.ex
philss/libvault
154d8321b414b83914ce108a7e8d97dc706ab01a
[ "MIT" ]
null
null
null
defmodule Vault.Auth.Adapter do @moduledoc """ Adapter interface for authenticating with vault. ## Writing your own adapter Auth adapters are pretty simple. You build a url, map the parameters, and grab the response. Feel free to use the provided `Vault.HTTP` module to make http requests against your vau...
28.768116
82
0.623174
85dd9b17fcf3105b49488145f2053609692d7670
15,419
ex
Elixir
lib/lobaro_gps-tracker.ex
SeppPenner/element-parsers
8a2594e0f15ca7177f6782d0441f25e3e55b8416
[ "MIT" ]
1
2021-02-01T13:19:36.000Z
2021-02-01T13:19:36.000Z
lib/lobaro_gps-tracker.ex
SeppPenner/element-parsers
8a2594e0f15ca7177f6782d0441f25e3e55b8416
[ "MIT" ]
null
null
null
lib/lobaro_gps-tracker.ex
SeppPenner/element-parsers
8a2594e0f15ca7177f6782d0441f25e3e55b8416
[ "MIT" ]
null
null
null
defmodule Parser do use Platform.Parsing.Behaviour require Logger # ELEMENT IoT Parser for Lobaro LoRaWAN GPS Tracker # # According to documentation provided by Lobaro # Link: https://www.lobaro.com/portfolio/lorawan-gps-tracker/ # Documentation: https://www.lobaro.com/download/7315/ # Documentation: h...
26.493127
130
0.50548
85ddb746b6c704b78c09955a8a4c1c96d0bdc1f6
541
ex
Elixir
lib/rocketpay_web/controllers/welcome_controller.ex
felipe-jm/rocketpay
0180375ca15f21d4a952390f28af7d0ff6996c2a
[ "MIT" ]
null
null
null
lib/rocketpay_web/controllers/welcome_controller.ex
felipe-jm/rocketpay
0180375ca15f21d4a952390f28af7d0ff6996c2a
[ "MIT" ]
null
null
null
lib/rocketpay_web/controllers/welcome_controller.ex
felipe-jm/rocketpay
0180375ca15f21d4a952390f28af7d0ff6996c2a
[ "MIT" ]
null
null
null
defmodule RocketpayWeb.WelcomeController do use RocketpayWeb, :controller alias Rocketpay.Numbers def index(conn, %{"filename" => filename}) do filename |> Numbers.sum_from_file() |> handle_response(conn) end defp handle_response({:ok, %{result: result}}, conn) do conn |> put_status(:ok...
22.541667
82
0.67098
85ddc95c64fe586a587f3701ce182f869ff60629
1,667
ex
Elixir
lib/client.ex
hrefhref/telegram
21c81460a633b656d2de8aa33beff49c3bb87670
[ "MIT" ]
null
null
null
lib/client.ex
hrefhref/telegram
21c81460a633b656d2de8aa33beff49c3bb87670
[ "MIT" ]
null
null
null
lib/client.ex
hrefhref/telegram
21c81460a633b656d2de8aa33beff49c3bb87670
[ "MIT" ]
null
null
null
defmodule Telegram.Client do @moduledoc false @type file_path :: String.t() @type body :: map() | Tesla.Multipart.t() @api_base_url Application.compile_env(:telegram, :api_base_url, "https://api.telegram.org") use Tesla, only: [:get, :post], docs: false if Mix.env() == :test do adapter Tesla.Mock ...
24.514706
143
0.616077
85dde72fa5b71e9a621738b79af131051dabb703
1,964
exs
Elixir
config/prod.exs
EhsanZ/artsy
de1cd2eb7f53ff33569223cb7d2561e39ea7a372
[ "MIT" ]
1
2019-10-26T07:17:24.000Z
2019-10-26T07:17:24.000Z
config/prod.exs
EhsanZ/artsy
de1cd2eb7f53ff33569223cb7d2561e39ea7a372
[ "MIT" ]
2
2021-03-09T21:15:44.000Z
2021-05-10T17:59:48.000Z
config/prod.exs
EhsanZ/artsy
de1cd2eb7f53ff33569223cb7d2561e39ea7a372
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
35.071429
66
0.711813
85ddee591a4f480f10fdcb9940aa10b812d76b61
7,165
ex
Elixir
lib/elixir/lib/gen_fsm/behaviour.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
1
2017-09-09T20:59:04.000Z
2017-09-09T20:59:04.000Z
lib/elixir/lib/gen_fsm/behaviour.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/gen_fsm/behaviour.ex
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
defmodule GenFSM.Behaviour do @moduledoc """ This module is a convenience for defining GenFSM callbacks in Elixir. A finite state machine (FSM) is responsible for reacting to events received; GenFSM is an OTP behaviour that encapsulates common FSM functionalities. ## Example Below is an example of a Ge...
33.79717
84
0.661549
85ddf8fa373e545aac3c9d40977f8c4db3ec9c81
6,121
ex
Elixir
lib/animu/media/anime/bag/compile.ex
elarkham/animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
1
2018-01-02T06:59:08.000Z
2018-01-02T06:59:08.000Z
lib/animu/media/anime/bag/compile.ex
elarkham/Animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
null
null
null
lib/animu/media/anime/bag/compile.ex
elarkham/Animu
0f0c7b0b34168e69255943bdede60e03df057a44
[ "MIT" ]
null
null
null
defmodule Animu.Media.Anime.Bag.Compile do alias Animu.Util.ImageMagick alias Animu.Media.Anime alias Anime.Bag @poster_dir "images/poster" @cover_dir "images/cover" ## Compile Bag -> Series def compile(%Bag{valid?: false} = bag), do: {:error, bag.errors} def compile(%Bag{} = bag) do with epi...
28.337963
82
0.591733
85de0063ab20dc5c40081515e2827afbe093eedf
1,062
ex
Elixir
source/backend/api_app/lib/api_app_web/channels/user_socket.ex
edwinvautier/aio-group3-proj01
2ca3d834f358a38692e8ae4d6266bbea130a6cb5
[ "MIT" ]
3
2020-04-05T15:26:55.000Z
2020-06-17T15:01:33.000Z
source/backend/api_app/lib/api_app_web/channels/user_socket.ex
edwinvautier/aio-group3-proj01
2ca3d834f358a38692e8ae4d6266bbea130a6cb5
[ "MIT" ]
48
2020-04-01T16:00:47.000Z
2020-04-28T16:22:12.000Z
source/backend/api_app/lib/api_app_web/channels/user_socket.ex
edwinvautier/aio-group3-proj01
2ca3d834f358a38692e8ae4d6266bbea130a6cb5
[ "MIT" ]
4
2020-03-30T15:36:55.000Z
2020-06-17T15:01:36.000Z
defmodule ApiAppWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", ApiAppWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels...
31.235294
83
0.695857
85de12abac4c36a5899dd3bfcac3bf1821150007
4,142
exs
Elixir
test/wallaby/browser_test.exs
braynm/wallaby
bdc7716285ad657dca0847144213ed98fff3a63c
[ "MIT" ]
926
2016-03-28T17:01:54.000Z
2019-11-05T11:59:58.000Z
test/wallaby/browser_test.exs
braynm/wallaby
bdc7716285ad657dca0847144213ed98fff3a63c
[ "MIT" ]
377
2016-03-17T00:35:56.000Z
2019-11-03T07:15:24.000Z
test/wallaby/browser_test.exs
braynm/wallaby
bdc7716285ad657dca0847144213ed98fff3a63c
[ "MIT" ]
144
2016-03-29T15:28:28.000Z
2019-10-31T00:48:42.000Z
defmodule Wallaby.BrowserTest do use ExUnit.Case import Wallaby.SettingsTestHelpers alias Wallaby.Browser alias Wallaby.NoBaseUrlError alias Wallaby.Session defmodule TestDriver do use Agent def start_link(_opts) do Agent.start_link(fn -> [] end, name: __MODULE__) end def visit(%S...
27.613333
85
0.650652
85de252dd9f00ab904238f5684b5932abb2332ad
1,318
exs
Elixir
mix.exs
sianlasaga/chroxy
a84afe9c80d93f89d2f332f9fd13ca519db021bb
[ "MIT" ]
null
null
null
mix.exs
sianlasaga/chroxy
a84afe9c80d93f89d2f332f9fd13ca519db021bb
[ "MIT" ]
null
null
null
mix.exs
sianlasaga/chroxy
a84afe9c80d93f89d2f332f9fd13ca519db021bb
[ "MIT" ]
null
null
null
defmodule Chroxy.MixProject do use Mix.Project def project do [ app: :chroxy, version: "0.7.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), docs: [main: "Chroxy", logo: "logo.png", extras: [...
24.867925
116
0.553869
85de2eebe59252cb0586ed8d05f0d2bd5a3c7f23
2,215
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/output_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/output_config.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/output_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 "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...
43.431373
584
0.749436
85de3d8713ce76d3b2c3f0d7010671f0dcbfab64
910
ex
Elixir
backendElixir/lib/backendElixir_web/controllers/messageController.ex
deibsoncogo/NLW7Impulse
d530204a01085668d29e7bc303ba6263783283a1
[ "MIT" ]
null
null
null
backendElixir/lib/backendElixir_web/controllers/messageController.ex
deibsoncogo/NLW7Impulse
d530204a01085668d29e7bc303ba6263783283a1
[ "MIT" ]
null
null
null
backendElixir/lib/backendElixir_web/controllers/messageController.ex
deibsoncogo/NLW7Impulse
d530204a01085668d29e7bc303ba6263783283a1
[ "MIT" ]
null
null
null
# módulo que servirá para controlar a rota de criação de mensagem defmodule BackendElixirWeb.MessageController do # define que é um controlador use BackendElixirWeb, :controller # cria um atalho para o comando abaixo alias BackendElixir.Message alias BackendElixir.Messages.Create # função princiapl que va...
28.4375
73
0.710989
85de52d016e144bdc4bf76ded1df10f3579c9903
869
ex
Elixir
lib/bottler/helpers/gce.ex
rubencaro/bottler
f88caf6d0d7d12e88b34e8e0c9a6f372fc6c8edb
[ "MIT" ]
37
2015-05-12T13:26:33.000Z
2020-02-20T02:43:40.000Z
lib/bottler/helpers/gce.ex
rubencaro/bottler
f88caf6d0d7d12e88b34e8e0c9a6f372fc6c8edb
[ "MIT" ]
4
2017-10-20T10:00:00.000Z
2018-05-13T06:32:35.000Z
lib/bottler/helpers/gce.ex
rubencaro/bottler
f88caf6d0d7d12e88b34e8e0c9a6f372fc6c8edb
[ "MIT" ]
8
2015-05-28T10:45:31.000Z
2018-01-16T07:57:13.000Z
require Bottler.Helpers, as: H defmodule Bottler.Helpers.GCE do @moduledoc """ Interface helpers with GCE `gcloud` executable """ def instances(config) do "gcloud compute instances list --format=json" |> exec(config) |> Poison.decode! |> match(config[:servers][:match]) end def instance...
22.868421
111
0.63061
85de75d24d3dee232ac13bb27709494ab877bebf
1,916
ex
Elixir
lib/ex_aliyun/config.ex
feng19/ex_aliyun_mns
09551d693bb3ce39b01a99c0698e245511d40218
[ "MIT" ]
3
2020-02-25T03:45:46.000Z
2020-11-19T01:27:38.000Z
lib/ex_aliyun/config.ex
feng19/ex_aliyun_mns
09551d693bb3ce39b01a99c0698e245511d40218
[ "MIT" ]
1
2021-04-23T00:04:32.000Z
2021-04-23T00:14:43.000Z
lib/ex_aliyun/config.ex
feng19/ex_aliyun_mns
09551d693bb3ce39b01a99c0698e245511d40218
[ "MIT" ]
3
2020-02-25T03:47:45.000Z
2021-06-04T02:33:39.000Z
defmodule ExAliyun.MNS.Config do @moduledoc false @common_config [ :access_key_id, :access_key_secret, :host ] def new(opts \\ []) do opts |> Map.new() |> build_base() |> retrieve_runtime_config() |> validate() end defp build_base(overrides) do config = Application.get...
26.246575
130
0.663361
85de8a00a951d56e33d78184e9076c19a6b8abeb
20,094
ex
Elixir
testData/org/elixir_lang/parser_definition/unmatched_expression_parsing_test_case/UnqualifiedNoArgumentsStabCatchStabBlock.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/unmatched_expression_parsing_test_case/UnqualifiedNoArgumentsStabCatchStabBlock.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/unmatched_expression_parsing_test_case/UnqualifiedNoArgumentsStabCatchStabBlock.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
# # identifier do expression catch * end # identifier do one catch two end identifier do one; catch; two; end identifier do one catch two end identifier do one catch two end identifier do one catch -> end identifier do one catch -> ; end identifier do one catch -> end identifier do one catch -> end i...
16.551895
74
0.600328
85de90520f4ba8d338214e78774d3ab52e634d23
1,017
exs
Elixir
tasks/website_builder.exs
elixir-makeup/makeup_demo
dcb524d8b6b44885ac51486daffa62db3f7b413f
[ "Apache-2.0" ]
null
null
null
tasks/website_builder.exs
elixir-makeup/makeup_demo
dcb524d8b6b44885ac51486daffa62db3f7b413f
[ "Apache-2.0" ]
null
null
null
tasks/website_builder.exs
elixir-makeup/makeup_demo
dcb524d8b6b44885ac51486daffa62db3f7b413f
[ "Apache-2.0" ]
null
null
null
defmodule MakeupDemo.WebsiteBuilder do def run() do output_dir = "website" # Create the output dir if it doesn't exist already File.mkdir_p!(output_dir) # Copy the static files (not the code stylesheets, # those are dynamically generated) File.cp_r!("assets/static", output_dir <> "/static") ...
28.25
84
0.668633
85de9e0f5c60e84a2718807cfba40f4125f8ecf1
1,806
ex
Elixir
kousa/lib/beef/rooms.ex
movwf/dogehouse
c97c04164e98853c6221100a97cc4ff1af84de7b
[ "MIT" ]
2
2021-04-06T09:06:29.000Z
2021-05-26T07:55:34.000Z
kousa/lib/beef/rooms.ex
movwf/dogehouse
c97c04164e98853c6221100a97cc4ff1af84de7b
[ "MIT" ]
2
2022-02-15T04:33:25.000Z
2022-02-28T01:39:56.000Z
kousa/lib/beef/rooms.ex
movwf/dogehouse
c97c04164e98853c6221100a97cc4ff1af84de7b
[ "MIT" ]
1
2021-02-21T05:26:41.000Z
2021-02-21T05:26:41.000Z
defmodule Beef.Rooms do @moduledoc """ Empty context module for Rooms """ # ACCESS functions defdelegate get_room_status(user_id), to: Beef.Access.Rooms defdelegate can_join_room(room_id, user_id), to: Beef.Access.Rooms defdelegate get_top_public_rooms(user_id, offset \\ 0), to: Beef.Access.Rooms defde...
51.6
97
0.801772
85deca6cea8698eae526c922bb341155341e1285
707
ex
Elixir
lib/mail_slurp_api/model/domain_name_record.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/model/domain_name_record.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
null
null
null
lib/mail_slurp_api/model/domain_name_record.ex
mailslurp/mailslurp-client-elixir
5b98b91bb327de5216e873cd45b4fbb3c1b55c90
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.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 MailSlurpAPI.Model.DomainNameRecord do @moduledoc """ DNS Record required for verification of a domain. Record vary depending on domain type. ""...
22.09375
91
0.669024
85dedaa1e9cfe2afbcccb48ad71e8d506d7073f6
405
exs
Elixir
learning/adopting_elixir/chapter_9/demo/perf/post_index.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
2
2020-01-20T20:15:20.000Z
2020-02-27T11:08:42.000Z
learning/adopting_elixir/chapter_9/demo/perf/post_index.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
learning/adopting_elixir/chapter_9/demo/perf/post_index.exs
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
defmodule PostIndex do @moduledoc """ Module used for profiling of the `POST` action for the index page. Refer to the README.md for more on the subject. """ use Phoenix.ConnTest @endpoint DemoWeb.Endpoint import DemoWeb.Router.Helpers import ExUnit.Assertions def run do conn = build_conn() con...
23.823529
116
0.716049
85dee57a2b54da5c9d30ef83c64f6d2bf8dfa9df
209
ex
Elixir
lib/heat_tags_web/views/messages_view.ex
filipebteixeira98/heatmicroservice
1521a4e33b7ff82f406e4430d4dfa223f3c54474
[ "MIT" ]
null
null
null
lib/heat_tags_web/views/messages_view.ex
filipebteixeira98/heatmicroservice
1521a4e33b7ff82f406e4430d4dfa223f3c54474
[ "MIT" ]
null
null
null
lib/heat_tags_web/views/messages_view.ex
filipebteixeira98/heatmicroservice
1521a4e33b7ff82f406e4430d4dfa223f3c54474
[ "MIT" ]
null
null
null
defmodule HeatTagsWeb.MessagesView do use HeatTagsWeb, :view def render("create.json", %{message: message}) do %{ result: "Message created successfully!", message: message } end end
19
51
0.665072
85dee894e4cdd0c0ff74f8cec5c2f68d1661a5e1
727
ex
Elixir
Microsoft.Azure.Management.Storage/lib/microsoft/azure/management/storage/model/storage_sku_list_result.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.Storage/lib/microsoft/azure/management/storage/model/storage_sku_list_result.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Storage/lib/microsoft/azure/management/storage/model/storage_sku_list_result.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.Storage.Model.StorageSkuListResult do @moduledoc """ The response from the List Storage SKUs operation. """ @d...
25.964286
93
0.73315
85def939a782d907fa2117aab6c0726f57afee56
120
exs
Elixir
apps/astarte_pairing_api/.formatter.exs
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
1
2020-02-04T13:15:22.000Z
2020-02-04T13:15:22.000Z
apps/astarte_pairing_api/.formatter.exs
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
7
2019-11-08T19:02:03.000Z
2019-12-12T16:32:12.000Z
apps/astarte_pairing_api/.formatter.exs
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
2
2018-02-20T18:09:00.000Z
2019-11-19T14:20:18.000Z
[ inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], import_deps: [ :ecto, :phoenix ] ]
15
70
0.508333
85df1472f29a01791ba766a9c25ec7a526777af5
1,738
ex
Elixir
lib/surface/components/form/text_input.ex
paultannenbaum/surface
fde129bb6ff84268cbd266471d39ea4501f09432
[ "MIT" ]
null
null
null
lib/surface/components/form/text_input.ex
paultannenbaum/surface
fde129bb6ff84268cbd266471d39ea4501f09432
[ "MIT" ]
null
null
null
lib/surface/components/form/text_input.ex
paultannenbaum/surface
fde129bb6ff84268cbd266471d39ea4501f09432
[ "MIT" ]
null
null
null
defmodule Surface.Components.Form.TextInput do @moduledoc """ Generates a text input. Provides a wrapper for Phoenix.HTML.Form's `text_input/3` function. All options passed via `opts` will be sent to `text_input/3`, `value` and `class` can be set directly and will override anything in `opts`. ## Example...
23.808219
75
0.685846
85df251b78fee5b65047c212c57019cb79ed3beb
1,869
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/test_details.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/test_details.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/testing/lib/google_api/testing/v1/model/test_details.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...
37.38
290
0.734617
85df4f9f428bfc210ea8abb9b8c1e950f3473aa3
1,099
ex
Elixir
lib/mix/tasks/teamster/models/movie.ex
allen-garvey/movielist-phoenix
8105db8c6eb6a35e0dcfa1939b3a659be43cda1e
[ "MIT" ]
null
null
null
lib/mix/tasks/teamster/models/movie.ex
allen-garvey/movielist-phoenix
8105db8c6eb6a35e0dcfa1939b3a659be43cda1e
[ "MIT" ]
2
2021-05-08T02:24:44.000Z
2022-02-10T15:35:55.000Z
lib/mix/tasks/teamster/models/movie.ex
allen-garvey/movielist-phoenix
8105db8c6eb6a35e0dcfa1939b3a659be43cda1e
[ "MIT" ]
null
null
null
defmodule Teamster.Models.LegacyMovie do use Ecto.Schema alias Movielist.Admin.Movie schema "movies" do field :title, :string field :theater_release, :date field :dvd_release, :date field :date_watched, :date field :pre_rating, :integer field :post_rating, :integer field :genre_id, ...
28.921053
80
0.658781
85df7212fbd68af6210f9e35e7549a0dfce87852
204
exs
Elixir
priv/repo/migrations/20210516055842_rename_articles_pined_comments.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
priv/repo/migrations/20210516055842_rename_articles_pined_comments.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
priv/repo/migrations/20210516055842_rename_articles_pined_comments.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Repo.Migrations.RenameArticlesPinedComments do use Ecto.Migration def change do rename(table("articles_pined_comments"), to: table("articles_pinned_comments")) end end
25.5
83
0.803922
85df9af36d32c1ed409f628ee2559f33e0f28591
647
ex
Elixir
lib/shopix/schema/global_config.ex
gsarwate/shopix
21d0e85294ee92cb7573d1b5a5746af6824b9355
[ "MIT" ]
196
2019-05-05T15:59:32.000Z
2022-03-15T02:37:19.000Z
lib/shopix/schema/global_config.ex
gsarwate/shopix
21d0e85294ee92cb7573d1b5a5746af6824b9355
[ "MIT" ]
105
2019-05-04T19:04:40.000Z
2021-07-28T11:21:45.000Z
lib/shopix/schema/global_config.ex
gsarwate/shopix
21d0e85294ee92cb7573d1b5a5746af6824b9355
[ "MIT" ]
26
2019-05-05T19:40:52.000Z
2021-11-16T00:32:46.000Z
defmodule Shopix.Schema.GlobalConfig do use Ecto.Schema schema "global_config" do field :name, :string, default: "My shop" field :vat_percentage, :decimal, default: Decimal.new(20) field :shop_opened, :boolean, default: true field :default_locale, :string, default: "en" field :available_locales...
38.058824
64
0.714065
85dfcc1824a593f51f788c9b14ffa192fa8a5de8
6,022
exs
Elixir
.credo.exs
QuiqUpLTD/ueberauth_token
4536bc4a401477334c8fd869aa84501efe4ed97c
[ "MIT" ]
2
2018-05-15T19:38:27.000Z
2020-09-10T11:15:54.000Z
.credo.exs
quiqupltd/ueberauth_token
4536bc4a401477334c8fd869aa84501efe4ed97c
[ "MIT" ]
13
2018-05-15T10:09:52.000Z
2018-09-24T10:59:49.000Z
.credo.exs
quiqupltd/ueberauth_token
4536bc4a401477334c8fd869aa84501efe4ed97c
[ "MIT" ]
1
2018-05-13T23:34:19.000Z
2018-05-13T23:34:19.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
37.874214
92
0.633178
85dfda54f0ccab9d019a6602627afd1b33217477
1,083
exs
Elixir
test/golixir_web/controllers/link_controller_test.exs
robotpistol/golixir
6a9db6177ccfdcd7960588cfbae2b3fcfff3fee0
[ "MIT" ]
null
null
null
test/golixir_web/controllers/link_controller_test.exs
robotpistol/golixir
6a9db6177ccfdcd7960588cfbae2b3fcfff3fee0
[ "MIT" ]
null
null
null
test/golixir_web/controllers/link_controller_test.exs
robotpistol/golixir
6a9db6177ccfdcd7960588cfbae2b3fcfff3fee0
[ "MIT" ]
null
null
null
defmodule GolixirWeb.LinkControllerTest do alias Golixir.Data.Link use GolixirWeb.ConnCase @name "google" @uri "https://www.google.com" @description "hi" test "GET /links", %{conn: conn} do conn = get(conn, "/links") assert json_response(conn, 200) == %{"links" => []} end test "POST /links", ...
23.042553
55
0.462604
85dfdb3af2c2dabe65bc1b230f84020b3101a41f
10,469
ex
Elixir
lib/phoenix_live_view/utils.ex
snewcomer/phoenix_live_view
477e9e23e9eec9163599649dab0b3ea48d54300e
[ "MIT" ]
1
2019-12-07T19:28:57.000Z
2019-12-07T19:28:57.000Z
lib/phoenix_live_view/utils.ex
snewcomer/phoenix_live_view
477e9e23e9eec9163599649dab0b3ea48d54300e
[ "MIT" ]
1
2019-03-17T23:44:09.000Z
2019-03-19T21:52:06.000Z
lib/phoenix_live_view/utils.ex
snewcomer/phoenix_live_view
477e9e23e9eec9163599649dab0b3ea48d54300e
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Utils do # Shared helpers used mostly by Channel and Diff, # but also Static, and LiveViewTest. @moduledoc false alias Phoenix.LiveView.Rendered alias Phoenix.LiveView.Socket # All available mount options @mount_opts [:temporary_assigns, :layout] @max_flash_age :timer.secon...
28.603825
106
0.64457
85dfdb9b9fd522a977e13b9742f7ef9f319f0e69
237
exs
Elixir
test/resources/user_test.exs
Codaisseur/intercomx
5d4b6d54c65d8babc3fca3252ae22305fa064917
[ "MIT" ]
1
2019-11-25T08:58:22.000Z
2019-11-25T08:58:22.000Z
test/resources/user_test.exs
antonioparisi/intercomx
65e25bbeb366b200c10c098765ecc08983f1521a
[ "MIT" ]
1
2020-02-07T12:22:59.000Z
2020-02-07T12:22:59.000Z
test/resources/user_test.exs
antonioparisi/intercomx
65e25bbeb366b200c10c098765ecc08983f1521a
[ "MIT" ]
1
2019-11-22T14:21:39.000Z
2019-11-22T14:21:39.000Z
defmodule IntercomX.UserTest do use IntercomX.ResponseCase alias IntercomX.User # doctest User describe "list" do test "returns all users" do assert User.list() === {:ok, fixture("all_users", User)} end end end
18.230769
62
0.679325
85dfe65c80196aa14b90262f5d662e68acd6d961
2,018
exs
Elixir
config/prod.exs
nickel/padelhub
ca1a777a90c0b360d0ac51cdd73205e2d41e61a4
[ "MIT" ]
null
null
null
config/prod.exs
nickel/padelhub
ca1a777a90c0b360d0ac51cdd73205e2d41e61a4
[ "MIT" ]
null
null
null
config/prod.exs
nickel/padelhub
ca1a777a90c0b360d0ac51cdd73205e2d41e61a4
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
36.035714
66
0.71556
85e0126819a4c28c4822382c1929626080ee18a5
455
exs
Elixir
test/unidekode_test.exs
Schultzer/unidecode
1bfa3315a777c298cda3c6a406f063bd2ecf5323
[ "Unlicense", "MIT" ]
3
2019-04-25T12:19:54.000Z
2021-02-24T09:37:51.000Z
test/unidekode_test.exs
Schultzer/unidecode
1bfa3315a777c298cda3c6a406f063bd2ecf5323
[ "Unlicense", "MIT" ]
1
2019-04-25T12:19:42.000Z
2019-04-26T05:27:20.000Z
test/unidekode_test.exs
Schultzer/unidekode
1bfa3315a777c298cda3c6a406f063bd2ecf5323
[ "Unlicense", "MIT" ]
null
null
null
defmodule UnidekodeTest do use ExUnit.Case doctest Unidekode test "to_ascii/1" do assert Unidekode.to_ascii("código") == "codigo" assert Unidekode.to_ascii('código') == 'codigo' assert Unidekode.to_ascii('código!"#%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz...
41.363636
251
0.683516
85e07d85a805cbbe7b2a2b9dedbfdee3e39f9860
606
ex
Elixir
lib/changelog/data/episode/episode_topic.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog/data/episode/episode_topic.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
lib/changelog/data/episode/episode_topic.ex
boneskull/changelog.com
2fa2e356bb0e8fcf038c46a4a947fef98822e37d
[ "MIT" ]
null
null
null
defmodule Changelog.EpisodeTopic do use Changelog.Data alias Changelog.{Topic, Episode} schema "episode_topics" do field :position, :integer field :delete, :boolean, virtual: true belongs_to :topic, Topic belongs_to :episode, Episode timestamps() end def changeset(struct, params \\ %{...
22.444444
79
0.693069
85e08df892c10f725fd528b14753f120c5f13a5f
828
exs
Elixir
apps/kitsune_aws_core/mix.exs
shirayukikitsune/ex_aws
c56063fa986b173f160155dfb5185d1881989d0a
[ "BSD-2-Clause" ]
1
2021-07-07T12:45:55.000Z
2021-07-07T12:45:55.000Z
apps/kitsune_aws_core/mix.exs
shirayukikitsune/ex_aws
c56063fa986b173f160155dfb5185d1881989d0a
[ "BSD-2-Clause" ]
null
null
null
apps/kitsune_aws_core/mix.exs
shirayukikitsune/ex_aws
c56063fa986b173f160155dfb5185d1881989d0a
[ "BSD-2-Clause" ]
null
null
null
defmodule Kitsune.Aws.Core.MixProject do use Mix.Project def project do [ app: :kitsune_aws_core, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9", start_pe...
20.195122
59
0.536232
85e0b11eb9e140f1b0f8e6788e4edb80d048a49e
2,051
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/quick_preview_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/quick_preview_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/quick_preview_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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.981481
141
0.754266
85e0b8ac8633a8d43a4d7534382b5b1373848733
2,126
ex
Elixir
clients/mirror/lib/google_api/mirror/v1/model/menu_value.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/mirror/lib/google_api/mirror/v1/model/menu_value.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/mirror/lib/google_api/mirror/v1/model/menu_value.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.964286
224
0.710254
85e0c10e178aa5de997138c375ee7c2c85664f33
1,812
ex
Elixir
platform/target/network/utils.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
platform/target/network/utils.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
platform/target/network/utils.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Platform.Target.Network.Utils do @moduledoc "common network related utilities" import FarmbotOS.Config, only: [get_config_value: 3] def build_hostap_ssid do {:ok, hostname} = :inet.gethostname() if String.starts_with?(to_string(hostname), "farmbot-") do to_string('farmbot-' ++ ...
25.885714
75
0.646799
85e0dfd3c75f7d72678aeec3ffd78794c3634ea3
73
ex
Elixir
lib/conductor_web/views/admin/shared_view.ex
meltingice/conductor
630440adc1081a0991d3dba17ced775a9dd05055
[ "MIT" ]
null
null
null
lib/conductor_web/views/admin/shared_view.ex
meltingice/conductor
630440adc1081a0991d3dba17ced775a9dd05055
[ "MIT" ]
2
2021-03-10T20:23:26.000Z
2021-05-11T15:56:49.000Z
lib/conductor_web/views/admin/shared_view.ex
meltingice/conductor
630440adc1081a0991d3dba17ced775a9dd05055
[ "MIT" ]
1
2020-06-05T02:34:58.000Z
2020-06-05T02:34:58.000Z
defmodule ConductorWeb.Admin.SharedView do use ConductorWeb, :view end
18.25
42
0.821918
85e0fd614862c954dbec2f6d9166529dadc646b2
1,465
exs
Elixir
test/glimesh_web/live/homepage_live_test.exs
MemoryLeakDeath/glimesh.tv
1462c4b939da899f5e3f67c3f28850025d59a10f
[ "MIT" ]
null
null
null
test/glimesh_web/live/homepage_live_test.exs
MemoryLeakDeath/glimesh.tv
1462c4b939da899f5e3f67c3f28850025d59a10f
[ "MIT" ]
null
null
null
test/glimesh_web/live/homepage_live_test.exs
MemoryLeakDeath/glimesh.tv
1462c4b939da899f5e3f67c3f28850025d59a10f
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.HomepageLiveTest do use GlimeshWeb.ConnCase import Glimesh.AccountsFixtures import Glimesh.HomepageFixtures import Phoenix.LiveViewTest describe "Homepage" do setup do Supervisor.terminate_child(Glimesh.Supervisor, ConCache) Supervisor.restart_child(Glimesh.Supervisor, C...
28.173077
74
0.646416
85e11f87db3a4083cff8ea6655ac4350f84be275
5,260
exs
Elixir
test/plug_rest/router_test.exs
christopheradams/plug_rest
8cd5b8a7a5622bab6b72a146c09a1343fdeb4fad
[ "Apache-2.0" ]
54
2016-07-20T16:40:00.000Z
2022-03-16T06:59:54.000Z
test/plug_rest/router_test.exs
dragonwasrobot/plug_rest
8cd5b8a7a5622bab6b72a146c09a1343fdeb4fad
[ "Apache-2.0" ]
4
2016-09-28T11:31:17.000Z
2020-01-27T05:45:00.000Z
test/plug_rest/router_test.exs
dragonwasrobot/plug_rest
8cd5b8a7a5622bab6b72a146c09a1343fdeb4fad
[ "Apache-2.0" ]
6
2017-03-17T17:35:33.000Z
2020-01-23T11:26:59.000Z
defmodule PlugRest.RouterTest do use ExUnit.Case use Plug.Test defmodule IndexResource do use PlugRest.Resource def to_html(conn, state) do {"Plug REST", conn, state} end end defmodule UserCommentResource do use PlugRest.Resource def to_html(%{params: params} = conn, state) do ...
20.30888
86
0.624525
85e177086a9d89da8ccca6aa03256be587212469
2,575
ex
Elixir
lib/ecto_mnesia/storage.ex
szTheory/ecto_mnesia
9d1fd3b2845ac3c2c12c669d68198dff9e82a322
[ "MIT" ]
245
2016-10-22T14:43:36.000Z
2022-02-28T03:46:27.000Z
lib/ecto_mnesia/storage.ex
KushanChamindu/ecto_mnesia
bc0fb46d210eb1be63bcc8f0383212f0633b8c52
[ "MIT" ]
80
2016-10-22T16:09:19.000Z
2021-03-03T10:45:01.000Z
lib/ecto_mnesia/storage.ex
KushanChamindu/ecto_mnesia
bc0fb46d210eb1be63bcc8f0383212f0633b8c52
[ "MIT" ]
53
2016-12-03T14:23:05.000Z
2021-07-01T01:55:22.000Z
defmodule EctoMnesia.Storage do @moduledoc """ This module provides interface to manage Mnesia state and records data structure. """ require Logger alias :mnesia, as: Mnesia @behaviour Ecto.Adapter.Storage @defaults [ host: {:system, :atom, "MNESIA_HOST", Kernel.node()}, storage_type: {:system, ...
24.292453
112
0.64233
85e1c48296afb4f3c19a12814c414689f18692b2
2,582
ex
Elixir
lib/brando_admin/components/modal.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando_admin/components/modal.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando_admin/components/modal.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule BrandoAdmin.Components.Modal do use Surface.LiveComponent prop title, :string, required: true prop ok, :event prop close, :event, default: "close_modal" prop center_header, :boolean, default: false prop narrow, :boolean, default: false prop medium, :boolean, default: false prop wide, :boolean...
26.080808
129
0.52866
85e1eacb3dc4c3e849a87dda20e30d43cc443a29
15,917
ex
Elixir
installer/lib/phoenix_new.ex
doron2402/phoenix
444a7a40c6595eb9afc976b5dad512664805fcb9
[ "MIT" ]
null
null
null
installer/lib/phoenix_new.ex
doron2402/phoenix
444a7a40c6595eb9afc976b5dad512664805fcb9
[ "MIT" ]
null
null
null
installer/lib/phoenix_new.ex
doron2402/phoenix
444a7a40c6595eb9afc976b5dad512664805fcb9
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Phoenix.New do use Mix.Task import Mix.Generator @phoenix Path.expand("../..", __DIR__) @version Mix.Project.config[:version] @shortdoc "Create a new Phoenix v#{@version} application" # File mappings @new [ {:eex, "new/config/config.exs", "config/config....
34.982418
106
0.610291
85e1ed757fe83bbe9f0d74598e54aa503bdab09f
1,414
ex
Elixir
test/event_store/support/subscriber.ex
rsataev/Commanded-CQRS-ES
0fd3758e5945f2bd8736619c48f212cc2bf552ad
[ "MIT" ]
null
null
null
test/event_store/support/subscriber.ex
rsataev/Commanded-CQRS-ES
0fd3758e5945f2bd8736619c48f212cc2bf552ad
[ "MIT" ]
null
null
null
test/event_store/support/subscriber.ex
rsataev/Commanded-CQRS-ES
0fd3758e5945f2bd8736619c48f212cc2bf552ad
[ "MIT" ]
null
null
null
defmodule Commanded.EventStore.Subscriber do use GenServer alias Commanded.EventStore alias Commanded.EventStore.Subscriber defmodule State do defstruct received_events: [], subscribed?: false, subscription: nil end alias Subscriber.State def start_link, do: GenServer.s...
28.857143
95
0.71075
85e22808f025b5137161fabd9b3b5b6fa2b4fc0e
88
exs
Elixir
test/views/page_view_test.exs
JohnB/phoenix_test_app
445a19a136865a074a8c59cf97ffeee902383c90
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
JohnB/phoenix_test_app
445a19a136865a074a8c59cf97ffeee902383c90
[ "MIT" ]
null
null
null
test/views/page_view_test.exs
JohnB/phoenix_test_app
445a19a136865a074a8c59cf97ffeee902383c90
[ "MIT" ]
null
null
null
defmodule PhoenixTestApp.PageViewTest do use PhoenixTestApp.ConnCase, async: true end
22
42
0.840909
85e2582d34fc5da8337c2ce343f1b730ff9af3a2
6,017
ex
Elixir
lib/mechanize/http_adapter/httpoison.ex
paultannenbaum/mechanize
97fd54c0421689026c01b9bf38206fa74e8f7e1a
[ "MIT" ]
25
2020-06-26T02:21:35.000Z
2022-03-05T18:51:46.000Z
lib/mechanize/http_adapter/httpoison.ex
paultannenbaum/mechanize
97fd54c0421689026c01b9bf38206fa74e8f7e1a
[ "MIT" ]
29
2019-07-02T21:50:06.000Z
2020-05-28T18:34:01.000Z
lib/mechanize/http_adapter/httpoison.ex
paultannenbaum/mechanize
97fd54c0421689026c01b9bf38206fa74e8f7e1a
[ "MIT" ]
4
2020-06-24T02:11:47.000Z
2022-03-06T00:50:59.000Z
defmodule Mechanize.HTTPAdapter.Httpoison do @moduledoc false @behaviour Mechanize.HTTPAdapter alias Mechanize.{Request, Response} alias Mechanize.HTTPAdapter.NetworkError @posix_errors [ e2big: "Too long argument list", eacces: "Permission denied", eaddrinuse: "Address already in use", eadd...
37.60625
115
0.680073
85e25e799cebd34039b05b647f4cecb79ec19513
2,771
exs
Elixir
test/mat44/mat44_selection_test.exs
crertel/graphmath
798e51d21d509e397a86d9ca855ef18a92243583
[ "Unlicense" ]
70
2015-01-07T10:13:38.000Z
2021-09-29T05:06:14.000Z
test/mat44/mat44_selection_test.exs
crertel/graphmath
798e51d21d509e397a86d9ca855ef18a92243583
[ "Unlicense" ]
28
2015-01-22T22:38:24.000Z
2021-06-24T06:15:38.000Z
test/mat44/mat44_selection_test.exs
crertel/graphmath
798e51d21d509e397a86d9ca855ef18a92243583
[ "Unlicense" ]
17
2015-01-22T18:35:41.000Z
2020-12-24T22:42:40.000Z
defmodule GraphmathTest.Mat44.SelectionMat44 do use ExUnit.Case @tag :mat44 @tag :row test "row0( 1:1:16 ) returns {1,2,3,4}" do assert {1, 2, 3, 4} == Graphmath.Mat44.row0({1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}) end @tag :mat44 @tag :row test "row1( 1:1:16 ) returns ...
29.795699
93
0.526886
85e27a23726b6f98c37e82a2da0e3c6570c4a30c
1,669
ex
Elixir
lib/docker_phx/accounts.ex
beltranaceves/docker_phx
06a9cba602ccd4f054568b7a40ca36bedc9a3e27
[ "MIT" ]
null
null
null
lib/docker_phx/accounts.ex
beltranaceves/docker_phx
06a9cba602ccd4f054568b7a40ca36bedc9a3e27
[ "MIT" ]
null
null
null
lib/docker_phx/accounts.ex
beltranaceves/docker_phx
06a9cba602ccd4f054568b7a40ca36bedc9a3e27
[ "MIT" ]
null
null
null
defmodule DockerPhx.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias DockerPhx.Repo alias DockerPhx.Accounts.User @doc """ Returns the list of users. ## Examples iex> list_users() [%User{}, ...] """ def list_users do Repo.all(User) e...
15.895238
59
0.567406
85e2b575c55d2cce6106c9a964900661347b7151
149
ex
Elixir
test/support/ecto_case.ex
Obighbyd/as_nested_set
dc8e47cedc416a423d3b45062a56650aed1d6eed
[ "MIT" ]
35
2016-06-13T13:39:13.000Z
2021-12-21T14:39:46.000Z
test/support/ecto_case.ex
Obighbyd/as_nested_set
dc8e47cedc416a423d3b45062a56650aed1d6eed
[ "MIT" ]
14
2016-11-30T14:58:00.000Z
2022-03-31T09:19:46.000Z
test/support/ecto_case.ex
Obighbyd/as_nested_set
dc8e47cedc416a423d3b45062a56650aed1d6eed
[ "MIT" ]
11
2017-01-09T05:41:07.000Z
2021-12-21T14:39:51.000Z
defmodule AsNestedSet.EctoCase do use ExUnit.CaseTemplate setup do :ok = Ecto.Adapters.SQL.Sandbox.checkout(AsNestedSet.TestRepo) end end
18.625
66
0.771812
85e2c018fb4795e789a378bbbbca8fb2ab993030
973
ex
Elixir
clients/cloud_iot/lib/google_api/cloud_iot/v1/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/lib/google_api/cloud_iot/v1/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/lib/google_api/cloud_iot/v1/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "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...
37.423077
77
0.765673
85e2c2672c606eda9dda41ab85bbf828d6fef942
1,145
exs
Elixir
mix.exs
flowerett/gelf_logger
9fe36fcc3b68bbbb7d40dd31ccf79a66e343dcab
[ "MIT" ]
null
null
null
mix.exs
flowerett/gelf_logger
9fe36fcc3b68bbbb7d40dd31ccf79a66e343dcab
[ "MIT" ]
null
null
null
mix.exs
flowerett/gelf_logger
9fe36fcc3b68bbbb7d40dd31ccf79a66e343dcab
[ "MIT" ]
null
null
null
defmodule GelfLogger.Mixfile do use Mix.Project def project do [app: :gelf_logger, version: "0.7.5", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), description: description(), package: package(), # Docs name: "G...
21.203704
82
0.584279
85e304116f60db81ffcb39ff2f60a4182364f333
1,953
ex
Elixir
lib/maybe.ex
infinitered/maybe
98654817b01e393d2992530048abe95ad32bc6b7
[ "MIT" ]
23
2018-02-05T16:58:20.000Z
2022-01-29T03:23:10.000Z
lib/maybe.ex
infinitered/maybe
98654817b01e393d2992530048abe95ad32bc6b7
[ "MIT" ]
null
null
null
lib/maybe.ex
infinitered/maybe
98654817b01e393d2992530048abe95ad32bc6b7
[ "MIT" ]
1
2018-10-21T17:59:26.000Z
2018-10-21T17:59:26.000Z
defmodule Maybe do @moduledoc """ Access nested maps and structs, protected from `nil`. See `maybe/1` or `maybe/2` for more details. ## Example import Maybe map = %{city: %{name: "Portland"}} maybe(map, [:city, :name]) # => "Portland" maybe(map.city.name) # => "Portland" maybe...
21.228261
60
0.569892
85e327f09c2a794379a6c7cb2fe17ee9ff3dee0b
1,775
ex
Elixir
lib/firmware_http.ex
handnot2/nerves_firmware_http
7eddd2f6a12d03111fd2d60b982fd140dc465a4c
[ "Apache-2.0" ]
null
null
null
lib/firmware_http.ex
handnot2/nerves_firmware_http
7eddd2f6a12d03111fd2d60b982fd140dc465a4c
[ "Apache-2.0" ]
null
null
null
lib/firmware_http.ex
handnot2/nerves_firmware_http
7eddd2f6a12d03111fd2d60b982fd140dc465a4c
[ "Apache-2.0" ]
1
2022-03-17T18:35:12.000Z
2022-03-17T18:35:12.000Z
defmodule Nerves.Firmware.HTTP do @moduledoc """ HTTP/JSON microservice to query and update firmware on a Nerves device. Defines an _acceptor_ that receives and installs firmware updates. Simply use use __HTTP PUT__ to send a firmware to the URI for the device, specifying Content-Type `application/x-firmwar...
45.512821
111
0.592113
85e339de109e2284cca7d311b4999500d5ffeb1d
793
exs
Elixir
test/exfile_imagemagick_test.exs
sreecodeslayer/exfile-imagemagick
0103f8585901e295cc992a121c248a2d5e5eae7c
[ "MIT" ]
5
2015-12-25T18:17:10.000Z
2018-07-17T10:19:10.000Z
test/exfile_imagemagick_test.exs
sreecodeslayer/exfile-imagemagick
0103f8585901e295cc992a121c248a2d5e5eae7c
[ "MIT" ]
7
2016-08-14T02:28:03.000Z
2017-11-04T23:07:15.000Z
test/exfile_imagemagick_test.exs
sreecodeslayer/exfile-imagemagick
0103f8585901e295cc992a121c248a2d5e5eae7c
[ "MIT" ]
9
2016-08-22T11:06:04.000Z
2021-09-30T09:05:03.000Z
defmodule ExfileImagemagickTest do use ExUnit.Case alias Exfile.ProcessorRegistry, as: Registry test "ExfileImagemagick.Convert is loaded as `convert`" do assert \ {:ok, ExfileImagemagick.Convert} == Registry.get_processor_module("convert") end test "ExfileImagemagick.Fill is loaded a...
23.323529
62
0.678436
85e341d4d28243327dd03cdb4ae23eb1c7be1d13
2,620
exs
Elixir
test/ninescraft_web/controllers/world_controller_test.exs
drobertduke/ninescraft
00a08e4f3433b1ffd8f0a8dc77927d043b4e3ce8
[ "Apache-2.0" ]
null
null
null
test/ninescraft_web/controllers/world_controller_test.exs
drobertduke/ninescraft
00a08e4f3433b1ffd8f0a8dc77927d043b4e3ce8
[ "Apache-2.0" ]
null
null
null
test/ninescraft_web/controllers/world_controller_test.exs
drobertduke/ninescraft
00a08e4f3433b1ffd8f0a8dc77927d043b4e3ce8
[ "Apache-2.0" ]
null
null
null
defmodule NinescraftWeb.WorldControllerTest do use NinescraftWeb.ConnCase alias Ninescraft.Accounts alias Ninescraft.Accounts.World @create_attrs %{history: "some history", name: "some name", state: "some state"} @update_attrs %{history: "some updated history", name: "some updated name", state: "some update...
31.190476
106
0.623282
85e353de95d1d08dda95efd1d2d0d35b1985155c
1,052
exs
Elixir
test/mojito_sync_test.exs
appcues/xclient
423984cbc9bb592d799d9d9e456a1d4eca45245b
[ "MIT" ]
367
2019-02-25T23:50:14.000Z
2022-02-11T23:05:16.000Z
test/mojito_sync_test.exs
appcues/xclient
423984cbc9bb592d799d9d9e456a1d4eca45245b
[ "MIT" ]
72
2019-02-26T00:30:49.000Z
2022-02-03T22:24:04.000Z
test/mojito_sync_test.exs
appcues/xclient
423984cbc9bb592d799d9d9e456a1d4eca45245b
[ "MIT" ]
36
2019-03-18T15:34:18.000Z
2021-08-31T21:25:18.000Z
defmodule MojitoSyncTest do use ExSpec, async: false doctest Mojito context "local server tests" do @http_port Application.get_env(:mojito, :test_server_http_port) defp get(path, opts) do Mojito.get( "http://localhost:#{@http_port}#{path}", [], opts ) end it ...
23.909091
67
0.61692
85e35e242e239020d852f6be425c7cb8a61f3173
1,490
ex
Elixir
lib/adoptoposs_web/endpoint.ex
adoptoposs/adoptoposs
a18fb4b8062aa057e0578dc6e7b7bceef2b8a02e
[ "MIT" ]
120
2020-03-30T13:58:40.000Z
2022-03-30T10:17:50.000Z
lib/adoptoposs_web/endpoint.ex
tsrandrei/adoptoposs
a18fb4b8062aa057e0578dc6e7b7bceef2b8a02e
[ "MIT" ]
34
2020-04-01T23:11:59.000Z
2022-03-13T08:14:37.000Z
lib/adoptoposs_web/endpoint.ex
tsrandrei/adoptoposs
a18fb4b8062aa057e0578dc6e7b7bceef2b8a02e
[ "MIT" ]
16
2020-04-24T17:14:23.000Z
2022-03-27T22:32:48.000Z
defmodule AdoptopossWeb.Endpoint do use Phoenix.Endpoint, otp_app: :adoptoposs # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_ado...
27.592593
69
0.708725
85e37acaecbe999e341702d2a452ea13164dbbee
2,099
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/create_short_dynamic_link_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/create_short_dynamic_link_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/create_short_dynamic_link_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &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 ...
38.163636
169
0.739876
85e39e1b23d7673c2e3ffa7c68dc0080f4275db7
2,502
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/built_in_variable.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/tag_manager/lib/google_api/tag_manager/v2/model/built_in_variable.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/tag_manager/lib/google_api/tag_manager/v2/model/built_in_variable.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...
40.354839
237
0.700639
85e3e93ec1beb76efcbb933fc743c9faa23c6217
88
exs
Elixir
plugins/ucc_ui_flex_tab/config/config.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_ui_flex_tab/config/config.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_ui_flex_tab/config/config.exs
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
use Mix.Config config :unbrella, :plugins, ucc_ui_flex_tab: [ module: UccUiFlexTab ]
14.666667
46
0.75
85e40ba4064347786fb9643c6f74ce7a737445a5
849
exs
Elixir
mix.exs
mlilley/cert_cache
677e48293e9a5523c01e42734e0c82230ca07f26
[ "MIT" ]
null
null
null
mix.exs
mlilley/cert_cache
677e48293e9a5523c01e42734e0c82230ca07f26
[ "MIT" ]
null
null
null
mix.exs
mlilley/cert_cache
677e48293e9a5523c01e42734e0c82230ca07f26
[ "MIT" ]
1
2018-09-22T01:07:10.000Z
2018-09-22T01:07:10.000Z
defmodule CertCache.Mixfile do use Mix.Project def project do [ app: :cert_cache, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), description: "A certificate cache for Elixir / Phoenix", packa...
21.225
67
0.54417
85e4300b4e9747dd5e7e246018d865336938b3dd
327
ex
Elixir
lib/class5.ex
baseballlover723/cover_protocol
49610df3c1433df35ae390215b2026468d49ac7c
[ "MIT" ]
null
null
null
lib/class5.ex
baseballlover723/cover_protocol
49610df3c1433df35ae390215b2026468d49ac7c
[ "MIT" ]
null
null
null
lib/class5.ex
baseballlover723/cover_protocol
49610df3c1433df35ae390215b2026468d49ac7c
[ "MIT" ]
null
null
null
defmodule Class5 do use TypedStruct typedstruct do @typedoc "Class 1" field(:name, String.t(), enforce: true) field(:age, non_neg_integer()) field(:happy?, boolean(), default: true) field(:phone, String.t()) end defimpl FastProtocol, for: Class5 do def validate(%Class5{}), do: :ok e...
19.235294
44
0.648318
85e43bc69b827faa949cdefc5f05ccd53137964e
200
exs
Elixir
priv/repo/migrations/20180218004806_create_infinite_dateranges.exs
makkrnic/ecto-infinite-times
8570b5cffb3f3c6dff449c8a7a90787f47a62a4a
[ "MIT" ]
1
2021-12-03T06:52:35.000Z
2021-12-03T06:52:35.000Z
priv/repo/migrations/20180218004806_create_infinite_dateranges.exs
makkrnic/ecto-infinite-times
8570b5cffb3f3c6dff449c8a7a90787f47a62a4a
[ "MIT" ]
null
null
null
priv/repo/migrations/20180218004806_create_infinite_dateranges.exs
makkrnic/ecto-infinite-times
8570b5cffb3f3c6dff449c8a7a90787f47a62a4a
[ "MIT" ]
null
null
null
defmodule InfiniteTimes.Repo.Migrations.CreateInfiniteDateranges do use Ecto.Migration def change do create table(:infinite_date_ranges) do add :the_range, :daterange end end end
20
67
0.76
85e44db4d499ba34dea70ddb172dfd53aee8f24b
525
ex
Elixir
lib/ash/resource/calculation/concat.ex
WolfDan/ash
7cc60f41a003e2d06b5e19107e22424efafed1be
[ "MIT" ]
null
null
null
lib/ash/resource/calculation/concat.ex
WolfDan/ash
7cc60f41a003e2d06b5e19107e22424efafed1be
[ "MIT" ]
null
null
null
lib/ash/resource/calculation/concat.ex
WolfDan/ash
7cc60f41a003e2d06b5e19107e22424efafed1be
[ "MIT" ]
null
null
null
defmodule Ash.Resource.Calculation.Concat do @moduledoc false use Ash.Calculation, type: :string def init(opts) do if opts[:keys] && is_list(opts[:keys]) && Enum.all?(opts[:keys], &is_atom/1) do {:ok, opts} else {:error, "Expected a `keys` option for which keys to concat"} end end de...
25
83
0.619048
85e4a0501fca55d993b6bc55aca06038cb72dbd2
1,705
ex
Elixir
clients/content/lib/google_api/content/v21/model/orderreturns_acknowledge_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/orderreturns_acknowledge_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/orderreturns_acknowledge_response.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...
34.1
162
0.733724
85e4a37bc7c7238559460a5c2b175eda355ed1ba
3,456
ex
Elixir
web_finngen_r5/lib/risteys/phenocode.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r5/lib/risteys/phenocode.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r5/lib/risteys/phenocode.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule Risteys.Phenocode do use Ecto.Schema import Ecto.Changeset schema "phenocodes" do field :name, :string field :longname, :string field :tags, :string field :category, :string field :level, :string field :omit, :boolean field :sex, :integer field :include, :string fiel...
24.338028
77
0.604745
85e4cd3bb1411f744ae016d79c061457e2be28e4
2,125
exs
Elixir
config/dev.exs
arkadyan/document_viewer
d45594632b83559520820744e4afd37d3bfdb03d
[ "MIT" ]
1
2021-03-17T19:04:28.000Z
2021-03-17T19:04:28.000Z
config/dev.exs
mbta/document_viewer
f3af972f4996759bc18811186f753b87bbe43b53
[ "MIT" ]
121
2021-03-18T21:03:02.000Z
2022-03-28T09:24:49.000Z
config/dev.exs
arkadyan/document_viewer
d45594632b83559520820744e4afd37d3bfdb03d
[ "MIT" ]
1
2021-05-19T21:21:56.000Z
2021-05-19T21:21:56.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :document_viewer, DocumentViewerWeb.Endpoint, ht...
29.929577
86
0.704
85e4cf045e0500baa80cbb2c0bd5d70c6d4a364e
287
ex
Elixir
lib/aoc2019.ex
YoLung-Lu/aoc2019
07163ace3b05527c0fc639e3f293d88b6becd122
[ "MIT" ]
null
null
null
lib/aoc2019.ex
YoLung-Lu/aoc2019
07163ace3b05527c0fc639e3f293d88b6becd122
[ "MIT" ]
null
null
null
lib/aoc2019.ex
YoLung-Lu/aoc2019
07163ace3b05527c0fc639e3f293d88b6becd122
[ "MIT" ]
null
null
null
# import Util # import FuelCounter defmodule AOC2019 do # alias Util # alias FuelCounter # alias App @moduledoc """ Documentation for AOC2019. """ @doc """ Hello world. ## Examples iex> AOC2019.hello() :world """ def hello do :world end end
11.038462
28
0.599303
85e4d6ca9a7714a1b60324230c36432228a5d887
1,780
ex
Elixir
lib/codes/codes_e79.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_e79.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_e79.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_E79 do alias IcdCode.ICDCode def _E790 do %ICDCode{full_code: "E790", category_code: "E79", short_code: "0", full_name: "Hyperuricemia without signs of inflammatory arthritis and tophaceous disease", short_name: "Hyperuricemia without signs ...
34.230769
103
0.647191
85e4d82cdbb035d4aa120dfe7e16bd8088c977e8
27,269
ex
Elixir
lib/ex_unit/lib/ex_unit/assertions.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/assertions.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-09-14T16:23:33.000Z
2021-03-25T17:38:59.000Z
lib/ex_unit/lib/ex_unit/assertions.ex
spencerdcarlson/elixir
23d75ecdf58df80969e12f4420282238e19219a1
[ "Apache-2.0" ]
1
2020-11-25T02:22:55.000Z
2020-11-25T02:22:55.000Z
defmodule ExUnit.AssertionError do @moduledoc """ Raised to signal an assertion error. """ @no_value :ex_unit_no_meaningful_value defexception left: @no_value, right: @no_value, message: @no_value, expr: @no_value, args: @no_value, d...
26.655914
100
0.622392
85e4f4770de058f7f66fed8e235d3db7d3f81f50
5,415
exs
Elixir
apps/gitgud/test/gitgud/smart_http_backend_test.exs
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
null
null
null
apps/gitgud/test/gitgud/smart_http_backend_test.exs
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
null
null
null
apps/gitgud/test/gitgud/smart_http_backend_test.exs
rogervezaro/gitgud
6656f8c2df16817a6c5325fb4c18b03f9d3f7140
[ "MIT" ]
null
null
null
defmodule GitGud.SmartHTTPBackendTest do use GitGud.DataCase use GitGud.DataFactory use Plug.Test alias GitRekt.Git alias GitRekt.GitAgent alias GitGud.User alias GitGud.Repo alias GitGud.RepoStorage alias GitGud.SmartHTTPBackend alias GitGud.SmartHTTPBackendRouter setup [:create_user, :create...
42.304688
213
0.651524
85e50be248c9958fe275e74948d6f086f0a590a3
319
ex
Elixir
lib/weather_data/view_helpers.ex
jeroenbourgois/weather_data
23866d3999634f8db2be75d673152f1027edfb97
[ "MIT" ]
null
null
null
lib/weather_data/view_helpers.ex
jeroenbourgois/weather_data
23866d3999634f8db2be75d673152f1027edfb97
[ "MIT" ]
null
null
null
lib/weather_data/view_helpers.ex
jeroenbourgois/weather_data
23866d3999634f8db2be75d673152f1027edfb97
[ "MIT" ]
null
null
null
defmodule WeatherData.ViewHelpers do alias Decimal, as: D def fahrenheit_to_celcius(nil), do: Decimal.new(0) def fahrenheit_to_celcius(f), do: f |> D.sub(32) |> D.div(D.new("1.8")) |> D.round(2) def mph_to_kph(nil), do: Decimal.new(0) def mph_to_kph(m), do: m |> D.mult(D.new("1.609344")) |> D.round(2) end
31.9
87
0.661442
85e5172dffa1a70089e258d5bcb589a9a511d184
2,700
ex
Elixir
lib/public_suffix/rules_parser.ex
andersju/publicsuffix-elixir
89372422ab8b433de508519ef474e39699fd11ca
[ "MIT" ]
1
2021-10-17T16:31:03.000Z
2021-10-17T16:31:03.000Z
lib/public_suffix/rules_parser.ex
andersju/publicsuffix-elixir
89372422ab8b433de508519ef474e39699fd11ca
[ "MIT" ]
null
null
null
lib/public_suffix/rules_parser.ex
andersju/publicsuffix-elixir
89372422ab8b433de508519ef474e39699fd11ca
[ "MIT" ]
5
2021-01-09T17:35:25.000Z
2022-02-27T18:24:22.000Z
defmodule PublicSuffix.RulesParser do @moduledoc false @type rule :: [String.t, ...] @type rule_type :: :icann | :private @type rule_map :: %{rule => rule_type} @spec parse_rules(String.t) :: %{ exception_rules: rule_map, exact_match_rules: rule_map, wild_card_rules: rule_map, } def parse_ru...
35.064935
104
0.667407
85e521a5827612f52840da391b42ed82afbbf2c2
49,578
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/api/events.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/api/events.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/api/events.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
61.740971
457
0.666344
85e534a0c7bc3106d63c0cf4759dac2651a03700
366
exs
Elixir
test/rondo/path_test.exs
exstruct/rondo
8ec1a8754d594086065020bc45a801620fdda79d
[ "MIT" ]
1
2016-08-09T21:45:21.000Z
2016-08-09T21:45:21.000Z
test/rondo/path_test.exs
exstruct/rondo
8ec1a8754d594086065020bc45a801620fdda79d
[ "MIT" ]
null
null
null
test/rondo/path_test.exs
exstruct/rondo
8ec1a8754d594086065020bc45a801620fdda79d
[ "MIT" ]
null
null
null
defmodule Test.Rondo.Path do use Test.Rondo.Case import Rondo.Path property :round_trip do for_all paths in such_that(l in list(list(pos_integer)) when length(l) > 0) do path = from_list(paths) # check that we can inspect while we're here inspect(path) (paths == to_list(path)) || {...
22.875
83
0.661202
85e5595f791b5498bd1a899ba3554353de52ed16
1,811
ex
Elixir
clients/language/lib/google_api/language/v1/model/classification_category.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/model/classification_category.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/model/classification_category.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.826923
134
0.733297
85e5b62de38788c730269e1011662f86d48c2f58
782
ex
Elixir
freelancer-rates/lib/freelancer_rates.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
1
2022-01-23T20:34:09.000Z
2022-01-23T20:34:09.000Z
freelancer-rates/lib/freelancer_rates.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
null
null
null
freelancer-rates/lib/freelancer_rates.ex
quatauta/exercism-elixir
3635610f25111f2afd3bb748e86f9b478ec239b0
[ "MIT" ]
null
null
null
defmodule FreelancerRates do @moduledoc false @spec daily_rate(number) :: float def daily_rate(hourly_rate) do 8.0 * hourly_rate end @spec apply_discount(number, number) :: float def apply_discount(before_discount, discount) do before_discount * (1 - discount / 100) end @spec monthly_rate(num...
26.066667
81
0.705882
85e5bb6078c67e72752b34450d0986cb8e35517b
2,053
exs
Elixir
examples/mapping_with_settings.exs
DataKrewTech/tirexs
8238da373f4547d27eea57a10826114e947aa66b
[ "Apache-2.0" ]
384
2015-03-09T05:03:42.000Z
2022-02-27T00:45:58.000Z
examples/mapping_with_settings.exs
DataKrewTech/tirexs
8238da373f4547d27eea57a10826114e947aa66b
[ "Apache-2.0" ]
144
2015-03-06T11:19:49.000Z
2021-06-11T11:26:39.000Z
examples/mapping_with_settings.exs
DataKrewTech/tirexs
8238da373f4547d27eea57a10826114e947aa66b
[ "Apache-2.0" ]
97
2015-03-21T13:58:38.000Z
2022-01-07T14:40:49.000Z
# # Run this example from console manually: # # $ mix run -r examples/mapping.exs # # => curl -X PUT -d '{ "settings": { "analysis": { "filter": { "edge_ngram": { "type": "edgeNGram", "min_gram": 1, "max_gram": 15 } }, "analyzer": { "autocomplete_analyzer": { "filter": [ "lowercase", "asciifolding", "edge_ngram" ],...
45.622222
744
0.628349
85e5c1fe29a921c1d9c8082b8648b2d0d7689e47
7,128
ex
Elixir
lib/absinthe/schema/notation/writer.ex
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
null
null
null
lib/absinthe/schema/notation/writer.ex
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
2
2018-08-02T13:35:38.000Z
2018-08-02T13:36:42.000Z
lib/absinthe/schema/notation/writer.ex
jlgeering/absinthe
a3dbc29640d613928398626ad75a8f03203a1720
[ "MIT" ]
null
null
null
defmodule Absinthe.Schema.Notation.Writer do @moduledoc false defstruct [ :env, type_map: %{}, directive_map: %{}, errors: [], type_functions: [], directive_functions: [], exports: [], implementors: %{} ] defmacro __before_compile__(env) do info = build_info(env) error...
27.102662
98
0.665544
85e5cbca68034ded71fd0729c46e45f5ebdf6b90
404
ex
Elixir
elixir/rocketpay/lib/rocketpay/accounts/withdraw.ex
andredezzy/rocketseat-nextlevel-04
5d54631a58ae57f6c43d8ea11c9aa32054c1acfd
[ "MIT" ]
3
2021-02-22T20:12:57.000Z
2021-11-08T08:56:17.000Z
lib/rocketpay/accounts/withdraw.ex
librity/nlw_elixir
09476067f0695014705af0480dd60894f9e0a6d8
[ "MIT" ]
null
null
null
lib/rocketpay/accounts/withdraw.ex
librity/nlw_elixir
09476067f0695014705af0480dd60894f9e0a6d8
[ "MIT" ]
3
2021-02-22T19:26:18.000Z
2021-03-22T13:10:53.000Z
defmodule Rocketpay.Accounts.Withdraw do alias Rocketpay.Repo alias Rocketpay.Accounts.Operation def call(params) do params |> Operation.call(:withdraw) |> run_transaction() end defp run_transaction(multi) do case Repo.transaction(multi) do {:error, _operation, reason, _changes} -> {:e...
22.444444
64
0.673267
85e6044be37544b950233d50f18964071f4e441d
1,197
ex
Elixir
lib/aoc2021/day4.ex
jarimatti/aoc-2021
02ea9a8137617d0a43f46a5cfe589d69572b653e
[ "MIT" ]
null
null
null
lib/aoc2021/day4.ex
jarimatti/aoc-2021
02ea9a8137617d0a43f46a5cfe589d69572b653e
[ "MIT" ]
null
null
null
lib/aoc2021/day4.ex
jarimatti/aoc-2021
02ea9a8137617d0a43f46a5cfe589d69572b653e
[ "MIT" ]
null
null
null
defmodule Aoc2021.Day4 do @moduledoc """ See https://adventofcode.com/2021/day/4 """ alias Aoc2021.Day4.BingoBoard alias Aoc2021.Day4.Parser def solve_part1(path \\ "priv/day4/input.txt") do {numbers, boards} = path |> File.stream!() |> Parser.parse() {winner, number} = Enum.red...
23.470588
66
0.616541
85e6067fdf27871168d194324dbd7334eebb550c
58
ex
Elixir
web/views/chat_view.ex
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
48
2015-06-29T21:20:25.000Z
2021-05-09T04:27:41.000Z
web/views/chat_view.ex
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
null
null
null
web/views/chat_view.ex
houshuang/survey
948acaf20840af82af1d9af3147acca94cb4fcf8
[ "Apache-2.0" ]
15
2015-06-29T21:13:57.000Z
2021-07-27T10:02:40.000Z
defmodule Survey.ChatView do use Survey.Web, :view end
11.6
28
0.758621
85e60fccb6962f0ff0ef617b81cb80e53ff28c64
6,427
ex
Elixir
lib/sentry/plug.ex
mbta/sentry-elixir
ce417a69efec0eeb968a3c8fdcd61d3115c69875
[ "MIT" ]
null
null
null
lib/sentry/plug.ex
mbta/sentry-elixir
ce417a69efec0eeb968a3c8fdcd61d3115c69875
[ "MIT" ]
null
null
null
lib/sentry/plug.ex
mbta/sentry-elixir
ce417a69efec0eeb968a3c8fdcd61d3115c69875
[ "MIT" ]
null
null
null
if(Code.ensure_loaded?(Plug), do: defmodule Sentry.Plug do @default_scrubbed_param_keys ["password", "passwd", "secret"] @default_scrubbed_header_keys ["authorization", "authentication"] @credit_card_regex ~r/^(?:\d[ -]*?){13,16}$/ @scrubbed_value "*********" @moduledoc """ Provides basic funcitonality to...
34.18617
103
0.68539