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
ff6a48b96df5be7b287872e4245ac827324229ae
3,765
ex
Elixir
lib/arc/file.ex
hollar/arc
e2871e02c8aab0aaba885c8d141ed3a51a1ec8a8
[ "Apache-2.0" ]
1,213
2015-06-18T04:01:20.000Z
2022-01-19T18:47:23.000Z
lib/arc/file.ex
hollar/arc
e2871e02c8aab0aaba885c8d141ed3a51a1ec8a8
[ "Apache-2.0" ]
260
2015-06-18T22:34:58.000Z
2022-01-06T17:43:29.000Z
lib/arc/file.ex
hollar/arc
e2871e02c8aab0aaba885c8d141ed3a51a1ec8a8
[ "Apache-2.0" ]
270
2015-07-07T17:10:31.000Z
2021-11-13T09:16:03.000Z
defmodule Arc.File do defstruct [:path, :file_name, :binary] def generate_temporary_path(file \\ nil) do extension = Path.extname((file && file.path) || "") file_name = :crypto.strong_rand_bytes(20) |> Base.encode32() |> Kernel.<>(extension) Path.join(System.tmp_dir, file_name) en...
30.609756
90
0.656042
ff6a70b6630af5c62fbd7e01f657ce71947fcd30
601
ex
Elixir
lib/mix/lib/mix/tasks/compile.all.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.all.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.all.ex
gabrielelana/elixir
7e78113f925d438568b7efa8eaded5ae43dce4b1
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Compile.All do use Mix.Task @moduledoc false @recursive true # This is an internal task used by mix compile which # is meant to be recursive and be invoked for each child # project. def run(args) do Mix.Project.get! # Build the project structure so we can write down compile...
23.115385
70
0.675541
ff6ae2e5a18eb6681b0c78bf671bdd79d1e631c7
6,965
ex
Elixir
apps/omg_eth/lib/omg_eth/root_chain/abi_function_selector.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_eth/lib/omg_eth/root_chain/abi_function_selector.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_eth/lib/omg_eth/root_chain/abi_function_selector.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
27.86
114
0.564537
ff6af392fe42fc068f9aba6fa370cf1475c4cb0b
3,930
ex
Elixir
lib/collections/user.ex
paperwork/service-users
717463aa112fbb2d12ea23f672e18f4d39deb968
[ "MIT" ]
4
2019-03-17T15:27:31.000Z
2020-05-19T17:35:21.000Z
lib/collections/user.ex
paperwork/service-users
717463aa112fbb2d12ea23f672e18f4d39deb968
[ "MIT" ]
null
null
null
lib/collections/user.ex
paperwork/service-users
717463aa112fbb2d12ea23f672e18f4d39deb968
[ "MIT" ]
3
2019-02-15T21:48:51.000Z
2019-04-08T06:43:38.000Z
defmodule Paperwork.Collections.User do require Logger @collection "users" @privates [:password] @enforce_keys [] @type t :: %__MODULE__{ id: BSON.ObjectId.t() | nil, email: String.t(), password: String.t() | nil, name: %{ first_name: String.t(), ...
29.772727
146
0.551145
ff6b25059f362849b5bf9d840e8b00ca0a40f221
767
ex
Elixir
test/support/channel_case.ex
HoJSim/etog
dc2393e27915caf73eea0d8839ba198635c45ca6
[ "MIT" ]
null
null
null
test/support/channel_case.ex
HoJSim/etog
dc2393e27915caf73eea0d8839ba198635c45ca6
[ "MIT" ]
null
null
null
test/support/channel_case.ex
HoJSim/etog
dc2393e27915caf73eea0d8839ba198635c45ca6
[ "MIT" ]
null
null
null
defmodule EtogWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts with...
23.96875
59
0.724902
ff6b43cc3488180086b65e78ef9ec03a5984a092
297
ex
Elixir
lib/step_flow/controllers/job_controller.ex
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
4
2019-12-07T05:18:26.000Z
2020-11-06T23:28:43.000Z
lib/step_flow/controllers/job_controller.ex
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
53
2020-01-06T11:23:09.000Z
2021-06-25T15:30:07.000Z
lib/step_flow/controllers/job_controller.ex
mathiaHT/ex_step_flow
6496e9511239de64f00119428476338dfcde9dea
[ "MIT" ]
3
2020-01-30T15:37:40.000Z
2020-10-27T14:10:02.000Z
defmodule StepFlow.JobController do use StepFlow, :controller alias StepFlow.Jobs action_fallback(ExBackendWeb.FallbackController) def index(conn, params) do jobs = Jobs.list_jobs(params) conn |> put_view(StepFlow.JobView) |> render("index.json", jobs: jobs) end end
18.5625
50
0.720539
ff6b6312364413503dac9e79c44b0bfb261b1b32
1,863
ex
Elixir
lib/states_language/ast/await.ex
entone/states_language
19d663e6fb5e264b8c13e124ceb5ae1e9d8559e9
[ "MIT" ]
4
2020-05-13T04:38:37.000Z
2020-05-13T20:24:21.000Z
lib/states_language/ast/await.ex
entone/states_language
19d663e6fb5e264b8c13e124ceb5ae1e9d8559e9
[ "MIT" ]
null
null
null
lib/states_language/ast/await.ex
entone/states_language
19d663e6fb5e264b8c13e124ceb5ae1e9d8559e9
[ "MIT" ]
null
null
null
defmodule StatesLanguage.AST.Await do @moduledoc false @behaviour StatesLanguage.AST alias StatesLanguage.AST.Resource alias StatesLanguage.Node @impl true def create(%Resource{ name: state_name, node: %Node{ resource_path: resource_path, output_path: output_path, ...
26.614286
84
0.515835
ff6b65ed72795a6d71e9a62ea2667d86f9826c92
1,134
ex
Elixir
lib/zygalski/crypto.ex
lucidstack/zygalski
6c39f8f6cd47852f15e8d2ea800b407059235874
[ "MIT" ]
null
null
null
lib/zygalski/crypto.ex
lucidstack/zygalski
6c39f8f6cd47852f15e8d2ea800b407059235874
[ "MIT" ]
null
null
null
lib/zygalski/crypto.ex
lucidstack/zygalski
6c39f8f6cd47852f15e8d2ea800b407059235874
[ "MIT" ]
null
null
null
defmodule Zygalski.Crypto do alias Zygalski.SslUtils def encrypt(message, key_name) do {:ok, public_key} = key(key_name, :public) encrypted_message = message |> :public_key.encrypt_public(public_key) |> Base.encode64 {:ok, encrypted_message} end def decrypt(cipher_text, password, key_name) do ...
28.35
90
0.715168
ff6bb577638612013f0db8436c0605d6aa24775c
1,692
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/thumbnail.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/thumbnail.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/thumbnail.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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.333333
86
0.714539
ff6bd67f11b0ee431f2f2e13200954ea61f5f8a9
6,941
ex
Elixir
lib/logger/lib/logger/backends/console.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/logger/lib/logger/backends/console.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/backends/console.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
8
2018-02-20T18:30:53.000Z
2019-06-18T14:23:31.000Z
defmodule Logger.Backends.Console do @moduledoc false @behaviour :gen_event defstruct buffer: [], buffer_size: 0, colors: nil, device: nil, format: nil, level: nil, max_buffer: nil, metadata: nil, output: nil, ...
26.903101
91
0.621524
ff6c18471408a5a74ec0a7d94aafc11872987ded
61
ex
Elixir
examples/demo/lib/jobs.ex
mbuhot/farq
d9ec81c518f38f9194dd6162a8ffed562481635f
[ "MIT" ]
null
null
null
examples/demo/lib/jobs.ex
mbuhot/farq
d9ec81c518f38f9194dd6162a8ffed562481635f
[ "MIT" ]
null
null
null
examples/demo/lib/jobs.ex
mbuhot/farq
d9ec81c518f38f9194dd6162a8ffed562481635f
[ "MIT" ]
null
null
null
defmodule Demo.Jobs do use Farq.Queue, otp_app: :demo end
12.2
32
0.737705
ff6c49bf0da85fc42592c4ad7a3fe91b084f090a
3,015
ex
Elixir
farmbot_core/lib/farmbot_core/asset_workers/fbos_config_worker.ex
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
1
2021-08-23T13:36:14.000Z
2021-08-23T13:36:14.000Z
farmbot_core/lib/farmbot_core/asset_workers/fbos_config_worker.ex
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
null
null
null
farmbot_core/lib/farmbot_core/asset_workers/fbos_config_worker.ex
gdwb/farmbot_os
0ef2697c580c9fbf37a22daa063a64addfcb778d
[ "MIT" ]
null
null
null
defimpl FarmbotCore.AssetWorker, for: FarmbotCore.Asset.FbosConfig do @moduledoc """ This asset worker does not get restarted. It inistead responds to GenServer calls. """ use GenServer require Logger require FarmbotCore.Logger alias FarmbotCore.{Asset.FbosConfig, BotState} @impl FarmbotCore.AssetWo...
35.470588
107
0.730348
ff6c50b1153fb201012779b49a3f609e83c51f3c
2,468
exs
Elixir
config/prod.exs
mikehelmick/meme-bot
52a84cfb3f5ddcdddadf59b0ba3976f9e3f23800
[ "Apache-2.0" ]
7
2019-04-05T06:12:56.000Z
2021-04-03T11:39:40.000Z
config/prod.exs
mikehelmick/meme-bot
52a84cfb3f5ddcdddadf59b0ba3976f9e3f23800
[ "Apache-2.0" ]
null
null
null
config/prod.exs
mikehelmick/meme-bot
52a84cfb3f5ddcdddadf59b0ba3976f9e3f23800
[ "Apache-2.0" ]
3
2019-04-20T13:05:48.000Z
2019-06-05T16:52:46.000Z
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, # ...
32.906667
69
0.713533
ff6c5581e094136cc54198e46d81935bb0640554
12,774
ex
Elixir
clients/iam/lib/google_api/iam/v1/api/roles.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/api/roles.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/api/roles.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...
48.022556
196
0.635353
ff6c568da4e56434b2891977890968431b4921c5
858
exs
Elixir
mix.exs
infinitered/ueberauth_dwolla
10d7a9d2657ac7774d8946c673daad2fa21bb3e6
[ "MIT" ]
2
2016-10-04T04:23:57.000Z
2018-01-24T06:30:32.000Z
mix.exs
infinitered/ueberauth_dwolla
10d7a9d2657ac7774d8946c673daad2fa21bb3e6
[ "MIT" ]
4
2016-10-04T04:25:34.000Z
2016-11-01T04:24:59.000Z
mix.exs
infinitered/ueberauth_dwolla
10d7a9d2657ac7774d8946c673daad2fa21bb3e6
[ "MIT" ]
5
2016-10-04T04:32:11.000Z
2017-02-11T12:27:55.000Z
defmodule UeberauthDwolla.Mixfile do use Mix.Project def project do [app: :ueberauth_dwolla, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help co...
23.189189
77
0.583916
ff6c856df895a636541214d2b8712a9346ea47bc
9,375
exs
Elixir
test/litelist_web/controllers/business_controller_test.exs
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T15:46:49.000Z
2021-01-13T15:46:49.000Z
test/litelist_web/controllers/business_controller_test.exs
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
1
2021-01-13T16:42:24.000Z
2021-01-13T16:42:24.000Z
test/litelist_web/controllers/business_controller_test.exs
saycel/Litelist
2a1f67385523e5388c431c307b4052a6f8778818
[ "MIT" ]
null
null
null
defmodule LitelistWeb.BusinessControllerTest do use LitelistWeb.ConnCase, async: true import Phoenix.Controller alias Litelist.Factory alias Litelist.Auth.Guardian alias LitelistWeb.Router.Helpers, as: Routes @create_attrs %{company_name: "some company_name", contact_info: "some contact_info", descriptio...
32.77972
260
0.64992
ff6ce01112d68735e740475095b601915aa2c875
3,270
ex
Elixir
lib/wechat_pay/payment_methods/jsapi.ex
ZhengQingchen/wechat_pay
18bf7166182bf4cf3a39ed70e88f891564fa2194
[ "MIT" ]
null
null
null
lib/wechat_pay/payment_methods/jsapi.ex
ZhengQingchen/wechat_pay
18bf7166182bf4cf3a39ed70e88f891564fa2194
[ "MIT" ]
null
null
null
lib/wechat_pay/payment_methods/jsapi.ex
ZhengQingchen/wechat_pay
18bf7166182bf4cf3a39ed70e88f891564fa2194
[ "MIT" ]
null
null
null
defmodule WechatPay.JSAPI do @moduledoc """ The **JSAPI** payment method. [Official document](https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_1) """ alias WechatPay.Utils.NonceStr alias WechatPay.Utils.Signature alias WechatPay.Config alias WechatPay.API import WechatPay.Shared defmac...
28.938053
91
0.653517
ff6d014bb3815bc8c8128fc30834d573e0f694bf
35,045
exs
Elixir
lib/iex/test/iex/helpers_test.exs
stevedomin/elixir
df1a7d36472a92aedc97c0afe9f782678b7aa7e5
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
stevedomin/elixir
df1a7d36472a92aedc97c0afe9f782678b7aa7e5
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
stevedomin/elixir
df1a7d36472a92aedc97c0afe9f782678b7aa7e5
[ "Apache-2.0" ]
8
2018-02-20T18:30:53.000Z
2019-06-18T14:23:31.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule IEx.HelpersTest do use IEx.Case import IEx.Helpers describe "whereami" do test "is disabled by default" do assert capture_iex("whereami()") =~ "Pry session is not currently enabled" end test "shows current location for custom envs" d...
32.329336
124
0.569953
ff6d151a9dcdde079642399c1dc3debc8742f184
216
ex
Elixir
lib/amqpx/codec/json/poison.ex
ulfurinn/amqpx
55d280cac013b58eb2e1b832a23119aae1978861
[ "MIT" ]
2
2020-01-13T19:55:24.000Z
2020-03-13T14:12:08.000Z
lib/amqpx/codec/json/poison.ex
ulfurinn/amqpx
55d280cac013b58eb2e1b832a23119aae1978861
[ "MIT" ]
null
null
null
lib/amqpx/codec/json/poison.ex
ulfurinn/amqpx
55d280cac013b58eb2e1b832a23119aae1978861
[ "MIT" ]
3
2018-12-03T10:44:22.000Z
2021-08-06T13:06:31.000Z
defmodule AMQPX.Codec.JSON.Poison do def decode(payload), do: Poison.Parser.parse(payload) def decode(payload, args), do: Poison.Parser.parse(payload, args) def encode(payload), do: Poison.encode(payload) end
30.857143
67
0.75463
ff6d1b50166d4906aef4856b2d33c66e2c8729d0
80
ex
Elixir
web/queries/country.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
356
2016-03-16T12:37:28.000Z
2021-12-18T03:22:39.000Z
web/queries/country.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
30
2016-03-16T09:19:10.000Z
2021-01-12T08:10:52.000Z
web/queries/country.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
72
2016-03-16T13:32:14.000Z
2021-03-23T11:27:43.000Z
defmodule Nectar.Query.Country do use Nectar.Query, model: Nectar.Country end
20
41
0.8
ff6d21005f83dfd9b7f5baa82887d36a37306693
874
exs
Elixir
bench/witchcraft/semigroup/float_bench.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
bench/witchcraft/semigroup/float_bench.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
bench/witchcraft/semigroup/float_bench.exs
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
defmodule Witchcraft.Semigroup.FloatBench do @moduledoc false use Benchfella use Witchcraft.Semigroup ######### # Setup # ######### # ---------- # # Data Types # # ---------- # @float_a 10.232132171 @float_b -45.372189 ########## # Kernel # ########## bench("Kernel.+/2", do: @float_a...
18.208333
63
0.509153
ff6d660a0a9844f6f2c98846518cdeb17daa05b5
2,844
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/pubsub_location.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/pubsub_location.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/pubsub_location.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...
43.753846
201
0.707806
ff6d855e4170830c591a903df2b8845a8329b982
3,080
ex
Elixir
test/registration/support/registration_test_case.ex
octowombat/commanded
79a1965e276d3369dcf70ae65ef904d7e59f4a6a
[ "MIT" ]
1,220
2017-10-31T10:56:40.000Z
2022-03-31T17:40:19.000Z
test/registration/support/registration_test_case.ex
octowombat/commanded
79a1965e276d3369dcf70ae65ef904d7e59f4a6a
[ "MIT" ]
294
2017-11-03T10:33:41.000Z
2022-03-24T08:36:42.000Z
test/registration/support/registration_test_case.ex
octowombat/commanded
79a1965e276d3369dcf70ae65ef904d7e59f4a6a
[ "MIT" ]
208
2017-11-03T10:56:47.000Z
2022-03-14T05:49:38.000Z
defmodule Commanded.RegistrationTestCase do import Commanded.SharedTestCase define_tests do alias Commanded.Registration.{RegisteredServer, RegisteredSupervisor} setup do supervisor = start_supervised!(RegisteredSupervisor) [supervisor: supervisor] end describe "`start_child/3`" do ...
34.222222
101
0.649026
ff6d9a741fa750f887255ce886a428a24d6171f4
139
ex
Elixir
lib/html/bit_string.ex
lpil/jot
d4d0b3852db54a7e5c201c8a68ffa7894b2f0d42
[ "MIT" ]
1
2016-08-20T14:41:55.000Z
2016-08-20T14:41:55.000Z
lib/html/bit_string.ex
lpil/jot
d4d0b3852db54a7e5c201c8a68ffa7894b2f0d42
[ "MIT" ]
26
2016-05-29T00:29:33.000Z
2018-04-12T13:53:50.000Z
lib/html/bit_string.ex
lpil/jot
d4d0b3852db54a7e5c201c8a68ffa7894b2f0d42
[ "MIT" ]
null
null
null
defimpl Jot.HTML.Chars, for: BitString do def open_fragments(string) do [string] end def close_fragments(_) do [] end end
13.9
41
0.676259
ff6d9b974367f97b821985bb06fa470f038e4854
1,042
ex
Elixir
web/channels/user_socket.ex
dev800/verk_web
2118e4a42a621b6004a9d51750d389cf5061ac30
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
dev800/verk_web
2118e4a42a621b6004a9d51750d389cf5061ac30
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
dev800/verk_web
2118e4a42a621b6004a9d51750d389cf5061ac30
[ "MIT" ]
1
2018-06-24T04:11:11.000Z
2018-06-24T04:11:11.000Z
defmodule VerkWeb.UserSocket do use Phoenix.Socket ## Channels channel "rooms:*", VerkWeb.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, ie ...
30.647059
83
0.693858
ff6dd389685bffb72184725d507deaa5ef66ccff
1,605
ex
Elixir
lib/exnoops/api.ex
bfcarpio/exNoops-mirror
e9a08e8cfdc47da9ab3fef1cdd3bb1fd021b1cc5
[ "MIT" ]
null
null
null
lib/exnoops/api.ex
bfcarpio/exNoops-mirror
e9a08e8cfdc47da9ab3fef1cdd3bb1fd021b1cc5
[ "MIT" ]
null
null
null
lib/exnoops/api.ex
bfcarpio/exNoops-mirror
e9a08e8cfdc47da9ab3fef1cdd3bb1fd021b1cc5
[ "MIT" ]
null
null
null
defmodule Exnoops.API do @moduledoc false require Logger @base_url Application.fetch_env!(:exnoops, :base_url) @http_impl Application.fetch_env!(:exnoops, :http) defmodule Behaviour do @moduledoc false @callback http_get(String.t()) :: {:ok, map()} @callback http_post(String.t(), String.t()) ::...
27.20339
87
0.611215
ff6dd41f0bf219649e6db263f3f2b370df363f4a
230
exs
Elixir
year_2020/test/day_17_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2020/test/day_17_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2020/test/day_17_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
defmodule Day17Test do use ExUnit.Case test "it counts active cells" do assert Day17.part_one(InputTestFile) == 112 end test "it counts active hypercells" do assert Day17.part_two(InputTestFile) == 848 end end
19.166667
47
0.726087
ff6ddb87a62dab279413314f0837e2a9dc3ee090
361
exs
Elixir
test/regressions/i070_autolink_with_parentheses_test.exs
brianbroderick/monocle
eeabecea658468479c04a02352271f6304447736
[ "Apache-2.0" ]
2
2018-02-11T01:18:24.000Z
2020-01-12T17:19:22.000Z
test/regressions/i070_autolink_with_parentheses_test.exs
brianbroderick/monocle
eeabecea658468479c04a02352271f6304447736
[ "Apache-2.0" ]
null
null
null
test/regressions/i070_autolink_with_parentheses_test.exs
brianbroderick/monocle
eeabecea658468479c04a02352271f6304447736
[ "Apache-2.0" ]
null
null
null
defmodule Regressions.I070AutolinkWithParentheses do use ExUnit.Case test "Issue https://github.com/pragdave/earmark/issues/70" do assert Monocle.as_html!(~s{[Wikipedia article on PATH](https://en.wikipedia.org/wiki/PATH_(variable))}) == ~s{<p><a href="https://en.wikipedia.org/wiki/PATH_(variable)">Wikiped...
36.1
110
0.728532
ff6e1c3745fc4257befb8c4db32f688ca419a577
2,040
exs
Elixir
mix.exs
trejkaz/scenic_new
cdf815fc0b6fcadf6eecae12b6d71958e470f45d
[ "Apache-2.0" ]
null
null
null
mix.exs
trejkaz/scenic_new
cdf815fc0b6fcadf6eecae12b6d71958e470f45d
[ "Apache-2.0" ]
null
null
null
mix.exs
trejkaz/scenic_new
cdf815fc0b6fcadf6eecae12b6d71958e470f45d
[ "Apache-2.0" ]
null
null
null
defmodule ScenicNew.MixProject do use Mix.Project @version "0.10.4" @github "https://github.com/boydm/scenic_new" def project do [ app: :scenic_new, version: @version, elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), docs: [...
23.448276
84
0.52549
ff6e3350caeed2ee316d416d973ae5ad649ee07b
7,587
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/product.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/product.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/product.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...
62.188525
493
0.696454
ff6e61293a662a0474c996cd238e1a0e868fc3cb
834
exs
Elixir
priv/repo/migrations/20210212102706_create_notes_and_tags.exs
lawik/noted
a51b5d79cf44abfc2463560f83f1a8d65e6af85e
[ "BSD-3-Clause" ]
28
2021-02-20T22:22:49.000Z
2022-03-24T21:07:39.000Z
priv/repo/migrations/20210212102706_create_notes_and_tags.exs
gerhard/noted
c83bfd2e8e2950187268a2e3ba0904ae8a9773e5
[ "BSD-3-Clause" ]
5
2021-05-06T11:37:11.000Z
2021-08-31T11:38:14.000Z
priv/repo/migrations/20210212102706_create_notes_and_tags.exs
gerhard/noted
c83bfd2e8e2950187268a2e3ba0904ae8a9773e5
[ "BSD-3-Clause" ]
7
2021-02-24T19:18:28.000Z
2021-09-13T16:07:08.000Z
defmodule Noted.Repo.Migrations.CreateNotesAndTags do use Ecto.Migration def change do create table(:tags) do add :name, :string add :user_id, references(:users) timestamps() end create unique_index(:tags, [:name, :user_id], name: :tag_unique_by_user) create table(:notes) do ...
24.529412
81
0.661871
ff6e879dbcc13d198cbf21b981141b61b0770211
1,285
exs
Elixir
test/apps/phoenix-app/config/dev.exs
karolsluszniak/cloudless-box
ed7189e50f7c4b4c36b682e09b117fb1ba907b0f
[ "MIT" ]
15
2015-10-15T20:58:00.000Z
2021-08-28T19:50:42.000Z
test/apps/phoenix-app/config/dev.exs
karolsluszniak/cloudless-box
ed7189e50f7c4b4c36b682e09b117fb1ba907b0f
[ "MIT" ]
1
2016-08-21T15:50:34.000Z
2016-08-21T18:24:07.000Z
test/apps/phoenix-app/config/dev.exs
karolsluszniak/cloudless-box
ed7189e50f7c4b4c36b682e09b117fb1ba907b0f
[ "MIT" ]
null
null
null
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 brunch.io to recompile .js and .css sources. config :phoenix_app, PhoenixApp.Endpoint, http: [port...
29.883721
74
0.714397
ff6e981a782db8e18d38661cdfa01c3a85b440b0
577
ex
Elixir
lib/dragonhacks/shared_map.ex
rkalz/dragonhacks-backend
377ed0383f403c720af30bc8ef4f3fdaf89b3e38
[ "MIT" ]
1
2019-04-03T01:48:59.000Z
2019-04-03T01:48:59.000Z
lib/dragonhacks/shared_map.ex
rkalz/dragonhacks-backend
377ed0383f403c720af30bc8ef4f3fdaf89b3e38
[ "MIT" ]
null
null
null
lib/dragonhacks/shared_map.ex
rkalz/dragonhacks-backend
377ed0383f403c720af30bc8ef4f3fdaf89b3e38
[ "MIT" ]
1
2019-03-31T21:21:47.000Z
2019-03-31T21:21:47.000Z
defmodule Dragonhacks.SharedMap do use GenServer # Client def start_link(name) do GenServer.start_link(__MODULE__, nil, name: name) end def get(name, key, default) do GenServer.call(name, {:get, key, default}) end def put(name, key, val) do GenServer.cast(name, {:put, key, val}) end # ...
19.233333
53
0.639515
ff6ea6767af00f8a55bc08967907aff0b2272689
1,636
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/analytics_dataimport_delete_upload_data_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/analytics_dataimport_delete_upload_data_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/analytics_dataimport_delete_upload_data_request.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 &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...
32.72
98
0.762225
ff6ea9649e2e710680f8675d74ba920e9c1940eb
6,341
ex
Elixir
lib/Discord/events.ex
DerbyWars/alchemy
7952a0edfd39958cb9e949aff4602263c38ab494
[ "MIT" ]
163
2017-03-01T09:02:35.000Z
2022-03-09T23:31:48.000Z
lib/Discord/events.ex
DerbyWars/alchemy
7952a0edfd39958cb9e949aff4602263c38ab494
[ "MIT" ]
91
2017-02-23T23:23:35.000Z
2021-12-29T23:47:44.000Z
lib/Discord/events.ex
DerbyWars/alchemy
7952a0edfd39958cb9e949aff4602263c38ab494
[ "MIT" ]
38
2017-03-23T13:16:44.000Z
2022-02-26T15:53:32.000Z
defmodule Alchemy.Discord.Events do # This module contains the protocols @moduledoc false # for updating the cache based on the events received from discord. # This module is then used by EventStage.Cache alias Alchemy.{Channel, Channel.DMChannel, Guild.Emoji, Guild, Message, User, VoiceState} alias Alchemy...
30.052133
98
0.664406
ff6eb5ad0702dde4c45bf4a941090754ca410f6b
18,642
ex
Elixir
lib/console_web/controllers/label_controller.ex
Oliv4945/console
fd7b85c8ff3b0702c8a524eb888104612946934c
[ "Apache-2.0" ]
null
null
null
lib/console_web/controllers/label_controller.ex
Oliv4945/console
fd7b85c8ff3b0702c8a524eb888104612946934c
[ "Apache-2.0" ]
null
null
null
lib/console_web/controllers/label_controller.ex
Oliv4945/console
fd7b85c8ff3b0702c8a524eb888104612946934c
[ "Apache-2.0" ]
null
null
null
defmodule ConsoleWeb.LabelController do use ConsoleWeb, :controller alias Console.Repo alias Console.Labels alias Console.Devices alias Console.Labels.Label alias Console.Alerts alias Console.AuditActions plug ConsoleWeb.Plug.AuthorizeAction action_fallback(ConsoleWeb.FallbackController) def cre...
54.19186
181
0.72975
ff6eb727ec75d0c075783060abe051d5c719d095
329
exs
Elixir
priv/repo/migrations/20191119152028_tag_ingredient_link.exs
shaddysignal/drunkard
8365c75cd98414dfe38481956e90dda26a177bdd
[ "Unlicense" ]
2
2020-07-05T21:27:33.000Z
2021-12-12T22:56:00.000Z
priv/repo/migrations/20191119152028_tag_ingredient_link.exs
shaddysignal/drunkard
8365c75cd98414dfe38481956e90dda26a177bdd
[ "Unlicense" ]
1
2021-05-11T08:14:48.000Z
2021-05-11T08:14:48.000Z
priv/repo/migrations/20191119152028_tag_ingredient_link.exs
shaddysignal/drunkard
8365c75cd98414dfe38481956e90dda26a177bdd
[ "Unlicense" ]
1
2020-07-05T21:27:46.000Z
2020-07-05T21:27:46.000Z
defmodule Drunkard.Repo.Migrations.Tag2Ingredient do use Ecto.Migration def change do create table(:tag_ingredient_link, primary_key: false) do add :tag_uuid, references(:tags, column: :uuid, type: :binary_id) add :ingredient_uuid, references(:ingredients, column: :uuid, type: :binary_id) end ...
29.909091
85
0.732523
ff6ed5fff6047c48b6155893e263dc1649776269
6,288
ex
Elixir
lib/exrabbit/channel.ex
velimir0xff/exrabbit
95a4332741bb42a355a0e6963e5a48794414be43
[ "MIT" ]
null
null
null
lib/exrabbit/channel.ex
velimir0xff/exrabbit
95a4332741bb42a355a0e6963e5a48794414be43
[ "MIT" ]
null
null
null
lib/exrabbit/channel.ex
velimir0xff/exrabbit
95a4332741bb42a355a0e6963e5a48794414be43
[ "MIT" ]
null
null
null
defmodule Exrabbit.Channel do @moduledoc """ This module exposes some channel-level AMQP methods. Mostly the functions that don't belong in neither `Exrabbit.Producer` nor `Exrabbit.Consumer` are kept here. """ use Exrabbit.Records @type conn :: pid @type chan :: pid @type await_confirms_result :: ...
26.309623
112
0.65633
ff6eeb5a3261ab35868e10d23bf869cb79a81535
3,366
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_tag_template.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_tag_template.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_tag_template.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...
39.6
226
0.728758
ff6efc6cab4e9419d39f39cfdcda1a61defafcc4
87
ex
Elixir
lib/hierbautberlin_web/views/user_registration_view.ex
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
13
2021-03-06T12:16:34.000Z
2022-03-31T09:46:35.000Z
lib/hierbautberlin_web/views/user_registration_view.ex
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
148
2021-03-05T12:44:55.000Z
2022-03-11T12:09:06.000Z
lib/hierbautberlin_web/views/user_registration_view.ex
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
2
2021-06-02T14:31:21.000Z
2022-02-14T08:36:51.000Z
defmodule HierbautberlinWeb.UserRegistrationView do use HierbautberlinWeb, :view end
21.75
51
0.862069
ff6f43cd40bd8091039ee99a826875e954f99566
702
exs
Elixir
test/remote/show_gateway_test.exs
fanhero/spreedly-elixir
ee65326a2c7ffccd4683b1be754e4a7db5857ab3
[ "MIT" ]
8
2018-03-09T18:12:26.000Z
2020-08-25T02:29:12.000Z
test/remote/show_gateway_test.exs
fanhero/spreedly-elixir
ee65326a2c7ffccd4683b1be754e4a7db5857ab3
[ "MIT" ]
17
2017-01-05T17:14:51.000Z
2020-02-04T14:48:02.000Z
test/remote/show_gateway_test.exs
fanhero/spreedly-elixir
ee65326a2c7ffccd4683b1be754e4a7db5857ab3
[ "MIT" ]
5
2017-05-01T18:23:54.000Z
2021-03-19T01:34:26.000Z
defmodule Remote.ShowGatewayTest do use Remote.Environment.Case test "invalid credentials" do bogus_env = Environment.new("invalid", "credentials") {:error, reason} = Spreedly.show_gateway(bogus_env, "SomeToken") assert reason =~ "Unable to authenticate" end test "non existent gateway" do {:er...
30.521739
71
0.705128
ff6f681c8d2c8e6f089fa061a0cf8e039ecfafa3
14,750
ex
Elixir
lib/mongo/bulk_write.ex
reetou/elixir-mongodb-driver
b17b8fa337a3fdea783bbb991984f93a4848b652
[ "Apache-2.0" ]
null
null
null
lib/mongo/bulk_write.ex
reetou/elixir-mongodb-driver
b17b8fa337a3fdea783bbb991984f93a4848b652
[ "Apache-2.0" ]
null
null
null
lib/mongo/bulk_write.ex
reetou/elixir-mongodb-driver
b17b8fa337a3fdea783bbb991984f93a4848b652
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.BulkWrite do @moduledoc """ The driver supports the so-called bulk writes ([Specification](https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#basic)): The motivation for bulk writes lies in the possibility of optimizing to group the same operations. The driver supports ...
34.869976
177
0.636542
ff6f8158d2cbcef36267de148e4eb8cfc14c31ac
1,476
exs
Elixir
mix.exs
mhanberg/req
b397a0aad1e8314350b222aa04a81cc4e1e2f24b
[ "Apache-2.0" ]
null
null
null
mix.exs
mhanberg/req
b397a0aad1e8314350b222aa04a81cc4e1e2f24b
[ "Apache-2.0" ]
null
null
null
mix.exs
mhanberg/req
b397a0aad1e8314350b222aa04a81cc4e1e2f24b
[ "Apache-2.0" ]
null
null
null
defmodule Req.MixProject do use Mix.Project @version "0.1.1" @source_url "https://github.com/wojtekmach/req" def project do [ app: :req, version: @version, elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), docs: docs(), ...
20.788732
102
0.484417
ff6f99e97eaa2e5dc68ca26f61743d4f976e6cb2
65
exs
Elixir
config/config.exs
pfcs/mailchimp
3c7c2ea201259378aafb28c66e37d93adef70d17
[ "MIT" ]
1
2020-07-17T02:52:34.000Z
2020-07-17T02:52:34.000Z
config/config.exs
pfcs/mailchimp
3c7c2ea201259378aafb28c66e37d93adef70d17
[ "MIT" ]
1
2020-01-09T18:59:39.000Z
2020-01-09T18:59:39.000Z
config/config.exs
ScriptDrop/mailchimp
efe6b240c81034d5a2e8cb328fa91f049782def5
[ "MIT" ]
1
2019-09-10T10:19:10.000Z
2019-09-10T10:19:10.000Z
use Mix.Config config :mailchimp, api_key: "your apikey-us12"
13
29
0.738462
ff6fa4fb4350ed056df9916afc135da8d1150736
393
exs
Elixir
apps/bytepack/priv/repo/migrations/20200409054958_create_orgs_memberships.exs
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
313
2020-12-03T17:26:24.000Z
2022-03-18T09:05:14.000Z
apps/bytepack/priv/repo/migrations/20200409054958_create_orgs_memberships.exs
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
null
null
null
apps/bytepack/priv/repo/migrations/20200409054958_create_orgs_memberships.exs
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
57
2020-12-03T17:41:53.000Z
2022-03-17T17:28:16.000Z
defmodule Bytepack.Repo.Migrations.CreateOrgsMemberships do use Ecto.Migration def change do create table(:orgs_memberships) do add :org_id, references(:orgs, on_delete: :delete_all), null: false add :member_id, references(:users, on_delete: :delete_all), null: false timestamps() end ...
28.071429
77
0.722646
ff6fb9919473bf0848d12db606d5385986f3dd81
2,851
ex
Elixir
lib/chat_api_web/views/conversation_view.ex
Blazt0/papercups
5996b268f1d52e4463d546dcc458f9ecd0a7ffcd
[ "MIT" ]
1
2021-08-02T07:59:41.000Z
2021-08-02T07:59:41.000Z
lib/chat_api_web/views/conversation_view.ex
Blazt0/papercups
5996b268f1d52e4463d546dcc458f9ecd0a7ffcd
[ "MIT" ]
null
null
null
lib/chat_api_web/views/conversation_view.ex
Blazt0/papercups
5996b268f1d52e4463d546dcc458f9ecd0a7ffcd
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.ConversationView do use ChatApiWeb, :view alias ChatApiWeb.{ ConversationView, MentionView, MessageView, CustomerView, TagView } def render("index.json", %{conversations: conversations, pagination: pagination}) do %{ data: render_many(conversations, Conversat...
30.98913
86
0.703262
ff6fba386afa8583bf93e92b893accee09b33c6c
1,131
exs
Elixir
elixir/cached_fibonacci/calculator/config/config.exs
pylebecq/learning
5ef7309c340a281badb48d3e9bd2bd261e168b75
[ "MIT" ]
null
null
null
elixir/cached_fibonacci/calculator/config/config.exs
pylebecq/learning
5ef7309c340a281badb48d3e9bd2bd261e168b75
[ "MIT" ]
null
null
null
elixir/cached_fibonacci/calculator/config/config.exs
pylebecq/learning
5ef7309c340a281badb48d3e9bd2bd261e168b75
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.483871
73
0.751547
ff6fba4617c6fb4f120ebd51e2846cabfd751274
631
exs
Elixir
day03/mix.exs
bfollek/advent2018ex
d186976be414b8091677f2b9d9cab1adbf6eafe7
[ "MIT" ]
null
null
null
day03/mix.exs
bfollek/advent2018ex
d186976be414b8091677f2b9d9cab1adbf6eafe7
[ "MIT" ]
null
null
null
day03/mix.exs
bfollek/advent2018ex
d186976be414b8091677f2b9d9cab1adbf6eafe7
[ "MIT" ]
null
null
null
defmodule Day03.MixProject do use Mix.Project def project do [ app: :day03, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applica...
21.033333
87
0.580032
ff6fd2cc3b5dbc4dfc12a67fb204244860249612
1,167
ex
Elixir
lib/hello_web/channels/user_socket.ex
mentos1386/ElixirHelloWorld
84fe10c6ef394eb1a78b69ce33d5a82a6e7c1ac2
[ "MIT" ]
1
2018-01-12T20:21:56.000Z
2018-01-12T20:21:56.000Z
hello/lib/hello_web/channels/user_socket.ex
nash-elixir/intro-to-phoenix
46e78713a0e8dcd895ad4f22d75b40c55ae41435
[ "MIT" ]
null
null
null
hello/lib/hello_web/channels/user_socket.ex
nash-elixir/intro-to-phoenix
46e78713a0e8dcd895ad4f22d75b40c55ae41435
[ "MIT" ]
null
null
null
defmodule HelloWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", HelloWeb.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authe...
30.710526
83
0.701799
ff6ff634a6e3abfbe0440687429a1324ef61303a
357
exs
Elixir
priv/repo/seeds.exs
ustrajunior/lv_template
633c85d8c5810a130bbf24077845dda49e82ca3f
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
ustrajunior/lv_template
633c85d8c5810a130bbf24077845dda49e82ca3f
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
ustrajunior/lv_template
633c85d8c5810a130bbf24077845dda49e82ca3f
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # LvTemplate.Repo.insert!(%LvTemplate.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as the...
29.75
61
0.711485
ff702736fce8a25428f75a4aad13c0ef1f58dad2
2,503
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/google_cloud_healthcare_v1beta1_fhir_rest_import_resources_error_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/google_cloud_healthcare_v1beta1_fhir_rest_import_resources_error_details.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/google_cloud_healthcare_v1beta1_fhir_rest_import_resources_error_details.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...
35.757143
133
0.729125
ff7065c144e79756767a4eca9fc8b1b5971edc88
955
exs
Elixir
test/ecto/integration/streaming_test.exs
mpope9/ecto_duckdb
9cde0c76ac35cab65bf569bbfe90c1dd4999b94c
[ "MIT" ]
2
2021-12-04T08:38:19.000Z
2021-12-04T23:52:21.000Z
test/ecto/integration/streaming_test.exs
mpope9/ecto_duckdb
9cde0c76ac35cab65bf569bbfe90c1dd4999b94c
[ "MIT" ]
null
null
null
test/ecto/integration/streaming_test.exs
mpope9/ecto_duckdb
9cde0c76ac35cab65bf569bbfe90c1dd4999b94c
[ "MIT" ]
null
null
null
defmodule Ecto.Integration.StreamingTest do use Ecto.Integration.Case alias Ecto.Integration.TestRepo alias EctoDuckDB.Integration.User import Ecto.Query test "handles streams properly" do # TODO: We really need to get proper sandboxing in place before_count = User |> select([u], u) |> TestRepo.all...
30.806452
75
0.608377
ff70c446ea668e1f9f05fb93a434c0f5a0bb234a
4,237
exs
Elixir
test/commcare_api/patient_case_test.exs
RatioPBC/commcare_api
94e6056521565a8d86269920a566a06cdf376645
[ "Apache-2.0" ]
null
null
null
test/commcare_api/patient_case_test.exs
RatioPBC/commcare_api
94e6056521565a8d86269920a566a06cdf376645
[ "Apache-2.0" ]
null
null
null
test/commcare_api/patient_case_test.exs
RatioPBC/commcare_api
94e6056521565a8d86269920a566a06cdf376645
[ "Apache-2.0" ]
null
null
null
defmodule CommcareAPI.PatientCaseTest do use ExUnit.Case, async: true alias CommcareAPI.PatientCase describe "new/1" do test "it returns what questionnaire needs" do patient_case_json = File.read!("test/fixtures/commcare/case-with-test-results-and-contacts.json") |> Jason.decode!() {:ok, patient_...
46.054348
127
0.695067
ff70d401a0a49491bcf03ca29947e126df6197be
396
exs
Elixir
test/module_example_test.exs
koladilip/elixir-examples
49553fe39bbff6e35d1cb2c26fcb6d87fe4e28d3
[ "MIT" ]
null
null
null
test/module_example_test.exs
koladilip/elixir-examples
49553fe39bbff6e35d1cb2c26fcb6d87fe4e28d3
[ "MIT" ]
null
null
null
test/module_example_test.exs
koladilip/elixir-examples
49553fe39bbff6e35d1cb2c26fcb6d87fe4e28d3
[ "MIT" ]
null
null
null
defmodule ModuleExampleTest do use ExUnit.Case doctest ModuleExample test "name of the module" do assert ModuleExample.name() == ModuleExample end test "name of the child module1" do assert ModuleExample.child_module1() == ModuleExample.ChildModule1 end test "name of the child module2" do a...
23.294118
70
0.752525
ff70e0b9821ecee4ada7e536fa6be3557c218d0d
2,609
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/billing.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/billing.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/billing.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34.786667
200
0.728632
ff711bc2250b6d9271de7cf8ad96bf393b9729b9
1,316
ex
Elixir
lib/dialyxir/warnings/contract_supertype.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
1,455
2015-01-03T02:53:19.000Z
2022-03-12T00:31:25.000Z
lib/dialyxir/warnings/contract_supertype.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
330
2015-05-14T13:53:13.000Z
2022-03-29T17:12:23.000Z
lib/dialyxir/warnings/contract_supertype.ex
staring-frog/dialyxir
b78735f75b325238b7db20d9eed22f018cca5f26
[ "Apache-2.0" ]
146
2015-02-03T18:19:43.000Z
2022-03-07T10:05:20.000Z
defmodule Dialyxir.Warnings.ContractSupertype do @moduledoc """ The @spec, while not incorrect, is more general than the type returned by the function. ## Example defmodule Example do @spec ok() :: any def ok() do :ok end end """ @behaviour Dialyxir.Warning ...
23.927273
78
0.672492
ff715797a48af2e8a57d1cffa58156192afd653e
2,861
exs
Elixir
test/choicest/core/core_test.exs
Cadiac/choicest
e3799e3b80024754c6babb561c1b14f916f92373
[ "MIT" ]
1
2018-07-01T08:18:20.000Z
2018-07-01T08:18:20.000Z
test/choicest/core/core_test.exs
Cadiac/choicest
e3799e3b80024754c6babb561c1b14f916f92373
[ "MIT" ]
null
null
null
test/choicest/core/core_test.exs
Cadiac/choicest
e3799e3b80024754c6babb561c1b14f916f92373
[ "MIT" ]
null
null
null
defmodule Choicest.CoreTest do use Choicest.DataCase alias Choicest.Core describe "Core" do alias Choicest.Model.Collection @valid_attrs %{"description" => "some description", "name" => "some name", "voting_active" => true} @update_attrs %{"description" => "some updated description", "name" => "som...
38.146667
121
0.701153
ff717adda5319801329e263d42a141d35601eb9d
1,195
exs
Elixir
config/config.exs
davidsulc/scraping_hub_ex
78fbf8f4c18f8f3650148b9c8861f22856dbb8b1
[ "Apache-2.0" ]
2
2021-03-30T07:59:54.000Z
2021-04-06T12:32:40.000Z
config/config.exs
davidsulc/scrapy_cloud_ex
78fbf8f4c18f8f3650148b9c8861f22856dbb8b1
[ "Apache-2.0" ]
null
null
null
config/config.exs
davidsulc/scrapy_cloud_ex
78fbf8f4c18f8f3650148b9c8861f22856dbb8b1
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.212121
73
0.748954
ff7183d13aec5093ebd98887fb3623b381d79848
98
ex
Elixir
lib/mao/repo.ex
levijcl/mao
aae70589605ada84ca571a51f5ee4377091e0eb3
[ "MIT" ]
null
null
null
lib/mao/repo.ex
levijcl/mao
aae70589605ada84ca571a51f5ee4377091e0eb3
[ "MIT" ]
null
null
null
lib/mao/repo.ex
levijcl/mao
aae70589605ada84ca571a51f5ee4377091e0eb3
[ "MIT" ]
null
null
null
defmodule MAO.Repo do use Ecto.Repo, otp_app: :mao, adapter: Ecto.Adapters.Postgres end
16.333333
35
0.704082
ff71e57d22f60093e8a949bca161b4bcb4347c12
1,238
ex
Elixir
lib/es_client/driver.ex
tlux/es_client
6336dfab012d2d7ed5339c84d2f6c5f298d79f28
[ "MIT" ]
null
null
null
lib/es_client/driver.ex
tlux/es_client
6336dfab012d2d7ed5339c84d2f6c5f298d79f28
[ "MIT" ]
null
null
null
lib/es_client/driver.ex
tlux/es_client
6336dfab012d2d7ed5339c84d2f6c5f298d79f28
[ "MIT" ]
null
null
null
defmodule ESClient.Driver do @moduledoc """ A behavior that must be implemented by custom Elasticsearch drivers. A driver sends a request to the Elasticsearch endpoint and retrieves the particular response. """ @typedoc """ A type representing request headers. """ @type req_headers :: Keywo...
25.791667
79
0.572698
ff71ee9b4e11bb0ec22f9a6bbd6246b0e9d2da04
13,846
exs
Elixir
test/aws/request_test.exs
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
test/aws/request_test.exs
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
test/aws/request_test.exs
justinludwig/aws-elixir
c66dfebecec62587dada50602c31c76d307d812c
[ "Apache-2.0" ]
null
null
null
defmodule AWS.RequestTest do use ExUnit.Case, async: true alias AWS.Client alias AWS.Request test "sign_v4 extracts credentials, service and region information from a Client map, generates an AWS signature version 4 for a request, and returns a new set of HTTP headers with Authorization and X-Aws-Date headers...
33.203837
381
0.57374
ff71fb043f2480a734c8d81dbd67e69c42fc5627
3,327
exs
Elixir
lib/elixir/test/elixir/kernel/sigils_test.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/elixir/test/elixir/kernel/sigils_test.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/sigils_test.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.SigilsTest do use ExUnit.Case, async: true test "sigil s" do assert ~s(foo) == "foo" assert ~s(f#{:o}o) == "foo" assert ~s(f\no) == "f\no" end test "sigil s with heredoc" do assert " foo\n\n" == ~s""" f#{:o}o\n """ ...
25.204545
73
0.497746
ff72172bd0fba6aeb0af638d86f99c8c0102cd42
311
exs
Elixir
test/recursive_list_length_test.exs
vinolivae/recursive_list_length
fe1a7d47df090d32a63ec1e96322300f90d90dd6
[ "MIT" ]
null
null
null
test/recursive_list_length_test.exs
vinolivae/recursive_list_length
fe1a7d47df090d32a63ec1e96322300f90d90dd6
[ "MIT" ]
null
null
null
test/recursive_list_length_test.exs
vinolivae/recursive_list_length
fe1a7d47df090d32a63ec1e96322300f90d90dd6
[ "MIT" ]
null
null
null
defmodule RecursiveListLengthTest do use ExUnit.Case doctest RecursiveListLength describe "call/1" do test "return the length of list" do list = [1, 2, 3] expected_response = 3 response = RecursiveListLength.call(list) assert expected_response == response end end end
19.4375
47
0.691318
ff7222b70c59955f3a6caedef544463b8d7044c3
977
exs
Elixir
mix.exs
elbow-jason/elixir-geohash
0db29a76a2403fddb85cacd44374aebdcd2f2e61
[ "Apache-2.0" ]
null
null
null
mix.exs
elbow-jason/elixir-geohash
0db29a76a2403fddb85cacd44374aebdcd2f2e61
[ "Apache-2.0" ]
null
null
null
mix.exs
elbow-jason/elixir-geohash
0db29a76a2403fddb85cacd44374aebdcd2f2e61
[ "Apache-2.0" ]
null
null
null
defmodule Geohash.Mixfile do use Mix.Project def project do [app: :geohash, version: "0.1.1", elixir: "~> 1.1", description: description, package: package, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end defp description do """ Ge...
20.787234
77
0.615148
ff72279d5876319ea0c4071ea476f815858ba13c
85
ex
Elixir
lib/helloworld.ex
lupinthe14th/codewars
5c71a1be6dd5c42a6217d70e5cfcd43c6c016ac7
[ "MIT" ]
null
null
null
lib/helloworld.ex
lupinthe14th/codewars
5c71a1be6dd5c42a6217d70e5cfcd43c6c016ac7
[ "MIT" ]
70
2020-01-07T01:21:38.000Z
2021-06-18T02:57:39.000Z
lib/helloworld.ex
lupinthe14th/codewars
5c71a1be6dd5c42a6217d70e5cfcd43c6c016ac7
[ "MIT" ]
null
null
null
defmodule HelloWorld do def greet do String.downcase("hello world!") end end
14.166667
35
0.717647
ff72951e28ae1029e91c24abe91e472771dfec2c
2,226
ex
Elixir
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/google_devtools_artifactregistry_v1alpha1_package.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/google_devtools_artifactregistry_v1alpha1_package.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/google_devtools_artifactregistry_v1alpha1_package.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...
36.491803
161
0.724169
ff72d9670e1f7055ac88d5c55df38301009454e9
2,416
ex
Elixir
clients/memcache/lib/google_api/memcache/v1/model/node.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/memcache/lib/google_api/memcache/v1/model/node.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/memcache/lib/google_api/memcache/v1/model/node.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...
38.967742
185
0.692881
ff72dc19dd7da62739410b301e8daf81689bc089
77
exs
Elixir
test/worker_tracker_test.exs
optoro/worker_tracker
0a9381cbb596edd5948bbad82dcde409d5f6ab5b
[ "MIT" ]
1
2020-02-06T17:15:44.000Z
2020-02-06T17:15:44.000Z
test/worker_tracker_test.exs
optoro/worker_tracker
0a9381cbb596edd5948bbad82dcde409d5f6ab5b
[ "MIT" ]
null
null
null
test/worker_tracker_test.exs
optoro/worker_tracker
0a9381cbb596edd5948bbad82dcde409d5f6ab5b
[ "MIT" ]
1
2021-04-01T13:29:18.000Z
2021-04-01T13:29:18.000Z
defmodule WorkerTrackerTest do use ExUnit.Case doctest WorkerTracker end
15.4
30
0.831169
ff72ecfe8ec164e8449f916d4928b17997dca973
3,345
exs
Elixir
apps/faqcheck_web/test/faqcheck_web/controllers/user_confirmation_controller_test.exs
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
apps/faqcheck_web/test/faqcheck_web/controllers/user_confirmation_controller_test.exs
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
20
2021-09-08T04:07:31.000Z
2022-03-10T21:52:24.000Z
apps/faqcheck_web/test/faqcheck_web/controllers/user_confirmation_controller_test.exs
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
defmodule FaqcheckWeb.UserConfirmationControllerTest do use FaqcheckWeb.ConnCase, async: true alias Faqcheck.Accounts alias Faqcheck.Repo import Faqcheck.AccountsFixtures setup do %{user: user_fixture()} end describe "GET /users/confirm" do test "renders the confirmation page", %{conn: conn} do...
35.210526
94
0.642152
ff72f6f9d990bbe7c0310178576ff03cb2626564
530
exs
Elixir
apps/ewallet_api/test/ewallet_api/v1/controllers/fallback_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/test/ewallet_api/v1/controllers/fallback_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_api/test/ewallet_api/v1/controllers/fallback_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWalletAPI.V1.FallbackControllerTest do use EWalletAPI.ConnCase, async: true describe "/not_found" do test "returns correct error response format and error message" do expected = %{ "version" => "1", "success" => false, "data" => %{ "object" => "error", ...
25.238095
69
0.571698
ff7308ad9194cfcac81f868f6db8e61a80bd694f
4,480
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/binding.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/binding.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/binding.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...
41.481481
136
0.699554
ff732037fbd9b9b457efa4f97dbb2b52c31464a0
2,670
exs
Elixir
test/acknowledger_test.exs
DivvyPayHQ/broadway_kafka
7f14cf5f29dd999f2a17cefe5d0ecccca28473d6
[ "Apache-2.0" ]
null
null
null
test/acknowledger_test.exs
DivvyPayHQ/broadway_kafka
7f14cf5f29dd999f2a17cefe5d0ecccca28473d6
[ "Apache-2.0" ]
null
null
null
test/acknowledger_test.exs
DivvyPayHQ/broadway_kafka
7f14cf5f29dd999f2a17cefe5d0ecccca28473d6
[ "Apache-2.0" ]
null
null
null
defmodule BroadwayKafka.AcknowledgerTest do use ExUnit.Case, async: true alias BroadwayKafka.Acknowledger, as: Ack @foo {1, "foo", 1} @bar {1, "bar", 2} @ack Ack.add(Ack.new(), [{1, "foo", 1, 10}, {1, "bar", 2, 0}]) test "new" do assert Ack.new() == %{} end test "add" do assert @ack == %{ ...
31.785714
97
0.607116
ff7327fc0bd7fbe379039f4684901fb9f34b4080
1,619
ex
Elixir
clients/vault/lib/google_api/vault/v1/model/mail_export_options.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/vault/lib/google_api/vault/v1/model/mail_export_options.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/vault/lib/google_api/vault/v1/model/mail_export_options.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.38
126
0.729463
ff733ca5af89822814efcc522b1ac63dba3b2df5
9,642
exs
Elixir
test/integration/pdf_generation_test.exs
williamthome/chromic_pdf
e53a32e576e71279ffd8a4f0643ae7960e9d5479
[ "Apache-2.0" ]
null
null
null
test/integration/pdf_generation_test.exs
williamthome/chromic_pdf
e53a32e576e71279ffd8a4f0643ae7960e9d5479
[ "Apache-2.0" ]
null
null
null
test/integration/pdf_generation_test.exs
williamthome/chromic_pdf
e53a32e576e71279ffd8a4f0643ae7960e9d5479
[ "Apache-2.0" ]
null
null
null
defmodule ChromicPDF.PDFGenerationTest do use ExUnit.Case, async: false import ExUnit.CaptureLog import ChromicPDF.Utils, only: [system_cmd!: 2] alias ChromicPDF.TestServer @test_html Path.expand("../fixtures/test.html", __ENV__.file) @test_dynamic_html Path.expand("../fixtures/test_dynamic.html", __ENV__....
28.27566
94
0.607032
ff733f4d6b5950a291d15a6477f61e870aabaa1d
1,509
ex
Elixir
lib/scentenced_web/router.ex
cNille/scentenced
ca6cc97bec1122047be928bb62b5ab0021cb88e8
[ "MIT" ]
null
null
null
lib/scentenced_web/router.ex
cNille/scentenced
ca6cc97bec1122047be928bb62b5ab0021cb88e8
[ "MIT" ]
1
2020-07-17T08:20:59.000Z
2020-07-17T08:20:59.000Z
lib/scentenced_web/router.ex
cNille/scentenced
ca6cc97bec1122047be928bb62b5ab0021cb88e8
[ "MIT" ]
null
null
null
defmodule ScentencedWeb.Router do use ScentencedWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end # If users maybe are logged ...
25.576271
68
0.691186
ff734637d4a07e78f4b753130ce8543ad8120abd
3,001
ex
Elixir
mix/support/normalize/normalize_territory_info.ex
szTheory/cldr
30e67d2e5ff13a61c29586a7cfad79995b070e1a
[ "Apache-2.0" ]
null
null
null
mix/support/normalize/normalize_territory_info.ex
szTheory/cldr
30e67d2e5ff13a61c29586a7cfad79995b070e1a
[ "Apache-2.0" ]
null
null
null
mix/support/normalize/normalize_territory_info.ex
szTheory/cldr
30e67d2e5ff13a61c29586a7cfad79995b070e1a
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Normalize.Territories do @moduledoc false alias Cldr.Locale def normalize(content) do content |> normalize_territory_info end def normalize_territory_info(content) do content |> Cldr.Map.remove_leading_underscores() |> Cldr.Map.underscore_keys() |> Cldr.Map.integerize...
28.580952
95
0.622459
ff734a7abc45f31edf0cf80cdcb17aa07175721f
195
exs
Elixir
test/test_helper.exs
mapmeld/superfund-me
8bd1aeb78504e6ae068cf57dbefca05bebbb2b07
[ "MIT" ]
null
null
null
test/test_helper.exs
mapmeld/superfund-me
8bd1aeb78504e6ae068cf57dbefca05bebbb2b07
[ "MIT" ]
3
2016-09-09T21:09:17.000Z
2017-09-13T17:55:20.000Z
test/test_helper.exs
Georeactor/superfund-me
8bd1aeb78504e6ae068cf57dbefca05bebbb2b07
[ "MIT" ]
null
null
null
ExUnit.start Mix.Task.run "ecto.create", ~w(-r Superfundme.Repo --quiet) Mix.Task.run "ecto.migrate", ~w(-r Superfundme.Repo --quiet) Ecto.Adapters.SQL.begin_test_transaction(Superfundme.Repo)
27.857143
60
0.758974
ff739796e96d26ecb82a13c9d8161faa143c60d3
1,955
ex
Elixir
lib/event_store/adapters/postgres.ex
YodelTalk/event_store
d8f07939d5112754072aeeea8a14cd694b978adf
[ "MIT" ]
null
null
null
lib/event_store/adapters/postgres.ex
YodelTalk/event_store
d8f07939d5112754072aeeea8a14cd694b978adf
[ "MIT" ]
null
null
null
lib/event_store/adapters/postgres.ex
YodelTalk/event_store
d8f07939d5112754072aeeea8a14cd694b978adf
[ "MIT" ]
null
null
null
defmodule EventStore.Adapters.Postgres do @behaviour EventStore.Adapter import Ecto.Query alias EventStore.Event defmodule Repo do use Ecto.Repo, otp_app: :event_store, adapter: Ecto.Adapters.Postgres end @impl true def insert(changeset) do changeset |> Ecto.Changeset.apply_changes() |>...
25.064103
80
0.63376
ff73cbbd2cb3c7f972f41bd2dcc56d5cd5d2c87f
820
ex
Elixir
fade/lib/snapshot/broker_connectivity_lens.ex
ahives/Fade
7094b6703933e41a1400b1053764335e32928b0a
[ "Apache-2.0" ]
null
null
null
fade/lib/snapshot/broker_connectivity_lens.ex
ahives/Fade
7094b6703933e41a1400b1053764335e32928b0a
[ "Apache-2.0" ]
null
null
null
fade/lib/snapshot/broker_connectivity_lens.ex
ahives/Fade
7094b6703933e41a1400b1053764335e32928b0a
[ "Apache-2.0" ]
null
null
null
defmodule Fade.Snapshot.BrokerConnectivityLens do alias Fade.Broker.{Channel, Connection, SystemOverview} alias Fade.Snapshot.Lens alias Fade.Snapshot.Mapper.BrokerConnectivityMapper, as: DataMapper alias Fade.Snapshot.SnapshotResult alias UUID @behaviour Lens @impl Lens def take_snapshot(config) do ...
27.333333
97
0.714634
ff74023b4f6c66aa6977d2f852499a8fc489fa93
2,610
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/storage/lib/google_api/storage/v1/model/policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/storage/lib/google_api/storage/v1/model/policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.237288
464
0.706513
ff743ba282097038d073cd68fe0422f371fce651
472
exs
Elixir
config/prod.secret.exs
c18t/elixir-phx-websocket-chat
4dc921599b263a856a23d04200631bfee83e3fc3
[ "WTFPL" ]
null
null
null
config/prod.secret.exs
c18t/elixir-phx-websocket-chat
4dc921599b263a856a23d04200631bfee83e3fc3
[ "WTFPL" ]
null
null
null
config/prod.secret.exs
c18t/elixir-phx-websocket-chat
4dc921599b263a856a23d04200631bfee83e3fc3
[ "WTFPL" ]
1
2020-11-17T08:23:18.000Z
2020-11-17T08:23:18.000Z
use Mix.Config # In this file, we keep production configuration that # you'll likely want to automate and keep away from # your version control system. # # You should document the content of this # file or create a script for recreating it, since it's # kept out of version control and might be hard to recover # or rec...
36.307692
58
0.783898
ff7492421a88bc5f5bd8f90dd2c8b6e590ada390
2,933
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_webhook_request_intent_info.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_webhook_request_intent_info.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_webhook_request_intent_info.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...
42.507246
446
0.74088
ff74a113058426c9315a0f76d95743434167369c
17,697
ex
Elixir
lib/livebook_web/live/file_select_component.ex
Fudoshiki/livebook
0b30fd02d9a50b84873725f3e05974d62fee398f
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/file_select_component.ex
Fudoshiki/livebook
0b30fd02d9a50b84873725f3e05974d62fee398f
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/file_select_component.ex
Fudoshiki/livebook
0b30fd02d9a50b84873725f3e05974d62fee398f
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.FileSelectComponent do use LivebookWeb, :live_component # The component expects: # # * `file` - the currently entered file # # * `running_files` - the list of notebook files that are already # linked to running sessions # # * `extnames` - a list of file extensions that...
32.47156
149
0.572131
ff750db1427ad924363deb36a96927555585eeb1
1,330
ex
Elixir
lib/nectar/endpoint.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
null
null
null
lib/nectar/endpoint.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
null
null
null
lib/nectar/endpoint.ex
harry-gao/ex-cart
573e7f977bb3b710d11618dd215d4ddd8f819fb3
[ "Apache-2.0" ]
null
null
null
defmodule Nectar.Endpoint do use Phoenix.Endpoint, otp_app: :nectar socket "/socket", Nectar.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. plug Plug.Static.In...
26.078431
75
0.696241
ff753975efb21c44654c4f4bbc10fdbb282d5837
3,527
exs
Elixir
test/lesson_test.exs
stevegrossi/lessonly-elixir
abd767bc1171c6ac6f2de6086a5e42361e2421bb
[ "MIT" ]
1
2016-09-06T20:04:38.000Z
2016-09-06T20:04:38.000Z
test/lesson_test.exs
stevegrossi/lessonly-elixir
abd767bc1171c6ac6f2de6086a5e42361e2421bb
[ "MIT" ]
3
2016-04-03T21:03:19.000Z
2016-04-03T21:38:02.000Z
test/lesson_test.exs
stevegrossi/lessonly-elixir
abd767bc1171c6ac6f2de6086a5e42361e2421bb
[ "MIT" ]
null
null
null
defmodule LessonTest do use Lessonly.ApiTest test "all" do use_cassette "lesson.all" do response = Lessonly.Lesson.all(client) assert response == [ %{"id" => 29414, "title" => "Test Lesson 1"}, %{"id" => 29415, "title" => "Test Lesson 2"} ] end end test "find" do ...
27.341085
90
0.474057
ff758f3bf53b52ace1e8df51dc18b4f824c95e45
2,200
exs
Elixir
config/prod.exs
ajanes/booster-ui
63a1cd32f873d11ff2448666692c2f637dfc466b
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
config/prod.exs
ajanes/booster-ui
63a1cd32f873d11ff2448666692c2f637dfc466b
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
config/prod.exs
ajanes/booster-ui
63a1cd32f873d11ff2448666692c2f637dfc466b
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # VisualizerWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # #...
33.846154
67
0.725
ff75bf294cac90b9f7e380a0c0a84edc95fac2c1
3,875
ex
Elixir
lib/twirp/client/http.ex
rahmatullah5/twirp-elixir
9177cda4beb2fc89efb0a0c9239ff4d28a6a6ce6
[ "Apache-2.0" ]
null
null
null
lib/twirp/client/http.ex
rahmatullah5/twirp-elixir
9177cda4beb2fc89efb0a0c9239ff4d28a6a6ce6
[ "Apache-2.0" ]
null
null
null
lib/twirp/client/http.ex
rahmatullah5/twirp-elixir
9177cda4beb2fc89efb0a0c9239ff4d28a6a6ce6
[ "Apache-2.0" ]
null
null
null
defmodule Twirp.Client.HTTP do @moduledoc false # This module handles the internals of making RPC calls. We delegate to this # from the actual client module cuz otherwise the client module is a pita # to understand due to the macros and functions its creating. alias Twirp.Encoder alias Twirp.Error def st...
32.838983
124
0.617806
ff75cde50c09d39cdb3f3383fbcb1313c5714f83
363
ex
Elixir
web/controllers/cluster_controller.ex
holandes22/rotterdam
d8b56079638c15a8492c08a6859ed14413163e62
[ "MIT" ]
null
null
null
web/controllers/cluster_controller.ex
holandes22/rotterdam
d8b56079638c15a8492c08a6859ed14413163e62
[ "MIT" ]
null
null
null
web/controllers/cluster_controller.ex
holandes22/rotterdam
d8b56079638c15a8492c08a6859ed14413163e62
[ "MIT" ]
null
null
null
defmodule Rotterdam.ClusterController do use Rotterdam.Web, :controller alias Rotterdam.ClusterManager def index(conn, _params) do cluster = ClusterManager.cluster() render conn, "index.json", cluster: cluster end def connect(conn, _params) do cluster = ClusterManager.connect() render conn,...
21.352941
47
0.730028
ff75ee95bb4303f451426f4a5e68ed13ecc19382
195
ex
Elixir
lib/ast/stmt.ex
guilhermeleobas/elox
39873aaff02c2e8ca54dd82572b4c774dd1ac8c7
[ "MIT" ]
5
2018-12-28T21:55:02.000Z
2022-02-13T17:55:29.000Z
lib/ast/stmt.ex
guilhermeleobas/elox
39873aaff02c2e8ca54dd82572b4c774dd1ac8c7
[ "MIT" ]
2
2019-01-16T16:13:13.000Z
2019-02-06T01:45:51.000Z
lib/ast/stmt.ex
guilhermeleobas/elox
39873aaff02c2e8ca54dd82572b4c774dd1ac8c7
[ "MIT" ]
null
null
null
defmodule Lox.Ast.Stmt do @enforce_keys [:expr] defstruct [:expr] defimpl String.Chars, for: Lox.Ast.Stmt do def to_string(stmt) do Kernel.to_string(stmt.expr) end end end
17.727273
44
0.682051
ff75fda788d7baf791ada099c2b2fafe0b04d3f5
230
ex
Elixir
lib/slack_coder/repo.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
15
2015-09-23T16:03:28.000Z
2018-12-04T21:48:04.000Z
lib/slack_coder/repo.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
27
2016-01-12T16:44:31.000Z
2017-10-13T16:09:36.000Z
lib/slack_coder/repo.ex
mgwidmann/slack_coder
3ff4375777c1bdbc94ba1491fdf4e1c0fa465edf
[ "MIT" ]
4
2016-09-01T12:08:24.000Z
2017-09-21T15:07:57.000Z
defmodule SlackCoder.Repo do use Ecto.Repo, otp_app: :slack_coder use Scrivener, max_page_size: 100 # Fun addition def count(queryable) do import Ecto.Query one(from q in queryable, select: count(q.id)) end end
20.909091
49
0.721739
ff762c3d5d98da0d98ec7b3c0a9953bd97380da1
405
ex
Elixir
lib/oli/authoring/authors/project_role.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/authoring/authors/project_role.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/authoring/authors/project_role.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Authoring.Authors.ProjectRole do use Ecto.Schema import Ecto.Changeset def role_id, do: %{ owner: 1, contributor: 2 } schema "project_roles" do field :type, :string timestamps(type: :utc_datetime) end @doc false def changeset(project_role, attrs \\ %{}) do ...
17.608696
46
0.639506
ff76332b097bf679f1ea7d2238dab4b69a46a115
1,805
ex
Elixir
lib/zaryn_web/telemetry.ex
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
1
2020-01-04T11:24:44.000Z
2020-01-04T11:24:44.000Z
lib/zaryn_web/telemetry.ex
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
null
null
null
lib/zaryn_web/telemetry.ex
Arvandazr/zaryn
748805297b399358d28fbcb7ced7588e40f90f03
[ "Apache-2.0" ]
null
null
null
defmodule ZarynWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Learn mo...
32.232143
86
0.669252
ff767d8d78256cc16dcea6a5ca183afcb682c53a
1,796
ex
Elixir
test/support/structs.ex
facundokantox/vela
5c7163af4188611ffa4703a3d6346156a914e438
[ "MIT" ]
9
2020-05-16T07:29:28.000Z
2021-02-14T23:12:31.000Z
test/support/structs.ex
facundokantox/vela
5c7163af4188611ffa4703a3d6346156a914e438
[ "MIT" ]
2
2020-07-12T09:40:04.000Z
2021-01-29T06:28:33.000Z
test/support/structs.ex
facundokantox/vela
5c7163af4188611ffa4703a3d6346156a914e438
[ "MIT" ]
1
2020-11-27T09:21:45.000Z
2020-11-27T09:21:45.000Z
defmodule Test.Vela.Struct do @moduledoc false use Boundary, deps: [Vela] alias Test.Vela.Struct, as: Me alias Vela.Validator use Vela, series1: [limit: 3, validator: Me, errors: 1], series2: [limit: 2, validator: &Me.valid_2?/2], series3: [limit: 2, sorter: &Me.sort/2] @behaviour Validator ...
21.902439
92
0.635857
ff76842ee364a5644682fceac495737003953988
1,101
exs
Elixir
bench/line_encoder.exs
manulitic/instream
5ad521dcf6a456325ba30b4c0dbb40f1f5107f32
[ "Apache-2.0" ]
null
null
null
bench/line_encoder.exs
manulitic/instream
5ad521dcf6a456325ba30b4c0dbb40f1f5107f32
[ "Apache-2.0" ]
null
null
null
bench/line_encoder.exs
manulitic/instream
5ad521dcf6a456325ba30b4c0dbb40f1f5107f32
[ "Apache-2.0" ]
null
null
null
defmodule Instream.Benchmark.LineEncoder do alias Instream.Encoder.Line @point_complete %{ measurement: "disk_free", fields: %{ value: 442_221_834_240 }, tags: %{ hostname: "server01" }, timestamp: 1_435_362_189_575_692_182 } @point_escaping %{ measurement: ~S|"measurem...
20.773585
72
0.574932
ff76b0d3d2442e3949d08002ed1732bbe29f9c28
5,508
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/products.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/products.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/api/products.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...
42.697674
187
0.649964
ff76d45fd7cfd9b517f1095d6f17fefec1963722
626
ex
Elixir
lib/xtb_client/messages/margin_trade.ex
dsienkiewicz/xtb_client_ex
550f1144eace28ce9bdb2fa3bcc27e891231487b
[ "MIT" ]
null
null
null
lib/xtb_client/messages/margin_trade.ex
dsienkiewicz/xtb_client_ex
550f1144eace28ce9bdb2fa3bcc27e891231487b
[ "MIT" ]
null
null
null
lib/xtb_client/messages/margin_trade.ex
dsienkiewicz/xtb_client_ex
550f1144eace28ce9bdb2fa3bcc27e891231487b
[ "MIT" ]
null
null
null
defmodule XtbClient.Messages.MarginTrade do @moduledoc """ Info about calculated margin in account currency. ## Properties - `margin` value of margin. ## Handled Api methods - `getMarginTrade` """ @type t :: %__MODULE__{ margin: float() } @enforce_keys [:margin] @derive Ja...
17.885714
62
0.634185
ff76d5f15c8a74a422ef59dfddec3535b22b583e
11,619
ex
Elixir
lib/changelog_web/router.ex
rizalgowandy/changelog.com
3f8a474afc254ecf74a48c5f75083d84eec1d972
[ "MIT" ]
1
2020-09-04T03:25:40.000Z
2020-09-04T03:25:40.000Z
lib/changelog_web/router.ex
rizalgowandy/changelog.com
3f8a474afc254ecf74a48c5f75083d84eec1d972
[ "MIT" ]
null
null
null
lib/changelog_web/router.ex
rizalgowandy/changelog.com
3f8a474afc254ecf74a48c5f75083d84eec1d972
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Router do use ChangelogWeb, :router use Plug.ErrorHandler alias ChangelogWeb.Plug if Mix.env() == :dev do forward "/sent_emails", Bamboo.SentEmailViewerPlug end # should be used before :browser pipeline to avoid auth and cache headers pipeline :public do plug Plug.LoadPod...
39.253378
98
0.688269
ff770fe1d24ad535525cff5437cfa6a20de3de0c
885
ex
Elixir
apps/omg_watcher/lib/omg_watcher/api/status.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/lib/omg_watcher/api/status.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/lib/omg_watcher/api/status.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
29.5
74
0.726554
ff7728b287b3c18a8051fd6fba29bcccb0dfdfad
1,718
exs
Elixir
test/web/controllers/admin/zone_controller_test.exs
christhekeele/ex_venture
4f4b329f50a133e219969f9823144a4cb9bf738d
[ "MIT" ]
1
2021-12-28T20:57:32.000Z
2021-12-28T20:57:32.000Z
test/web/controllers/admin/zone_controller_test.exs
christhekeele/ex_venture
4f4b329f50a133e219969f9823144a4cb9bf738d
[ "MIT" ]
null
null
null
test/web/controllers/admin/zone_controller_test.exs
christhekeele/ex_venture
4f4b329f50a133e219969f9823144a4cb9bf738d
[ "MIT" ]
null
null
null
defmodule Web.Admin.ZoneControllerTest do use Web.ConnCase describe "creating a zone" do test "successful", %{conn: conn} do {:ok, user} = TestHelpers.create_admin() conn = conn |> assign(:current_user, user) |> post(Routes.admin_zone_path(conn, :create), zone: %{...
22.906667
80
0.530268
ff772944fa678a981d55231c77ce830a2b667a27
1,305
ex
Elixir
lib/floki/flat_text.ex
midas-framework/floki
d85b038a1e4c0522ac0f0f9ea9bbedaef07baca2
[ "MIT" ]
1,778
2015-01-07T14:12:31.000Z
2022-03-29T22:42:48.000Z
lib/floki/flat_text.ex
midas-framework/floki
d85b038a1e4c0522ac0f0f9ea9bbedaef07baca2
[ "MIT" ]
279
2015-01-01T15:54:50.000Z
2022-03-28T18:06:03.000Z
deps/floki/lib/floki/flat_text.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
166
2015-04-24T20:48:02.000Z
2022-03-28T17:29:05.000Z
defmodule Floki.FlatText do @moduledoc false # FlatText is a strategy to get text nodes from a HTML tree without search deep # in the tree. It only gets the text nodes from the first level of nodes. # Example # iex> Floki.FlatText.get([{"a", [], ["The meaning of life is...", {"strong", [], ["something el...
31.071429
110
0.668966