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
e8ba8bea64214f373f221a410f0db01369b371db
3,176
exs
Elixir
config/dev.exs
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
config/dev.exs
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
config/dev.exs
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
import Config # Configure your database if url = System.get_env("DATABASE_URL") do config :fz_http, FzHttp.Repo, url: url, show_sensitive_data_on_connection_error: true, pool_size: 10 else config :fz_http, FzHttp.Repo, username: "postgres", password: "postgres", database: "firezone_dev", ...
28.357143
86
0.69238
e8baa3a84668644a08e2d2118e403c32c6616135
1,952
exs
Elixir
test/drumbot_test.exs
bfcarpio/exNoops-mirror
e9a08e8cfdc47da9ab3fef1cdd3bb1fd021b1cc5
[ "MIT" ]
null
null
null
test/drumbot_test.exs
bfcarpio/exNoops-mirror
e9a08e8cfdc47da9ab3fef1cdd3bb1fd021b1cc5
[ "MIT" ]
null
null
null
test/drumbot_test.exs
bfcarpio/exNoops-mirror
e9a08e8cfdc47da9ab3fef1cdd3bb1fd021b1cc5
[ "MIT" ]
null
null
null
defmodule Exnoops.DrumbotTest do use ExUnit.Case doctest Exnoops.Drumbot test "ootza pattern" do assert Exnoops.Drumbot.get_pattern("oontza") == {:ok, %{ "beatsPerMinute" => 110, "name" => "oontza", "stepCount" => 16, ...
32
79
0.307377
e8baab9b0af07c30479182adc77ce37bd14dec11
2,428
exs
Elixir
test/kaffe/consumer_group/worker/worker_test.exs
jgaviria/kaffe
f7d54086bb7062c62cb012a1f73359843a0a625b
[ "MIT" ]
130
2017-03-31T14:44:34.000Z
2022-02-14T21:16:40.000Z
test/kaffe/consumer_group/worker/worker_test.exs
jgaviria/kaffe
f7d54086bb7062c62cb012a1f73359843a0a625b
[ "MIT" ]
87
2017-04-04T19:47:05.000Z
2022-03-21T05:27:09.000Z
test/kaffe/consumer_group/worker/worker_test.exs
jgaviria/kaffe
f7d54086bb7062c62cb012a1f73359843a0a625b
[ "MIT" ]
56
2017-06-24T13:24:27.000Z
2022-03-14T12:10:01.000Z
defmodule Kaffe.WorkerTest do use ExUnit.Case alias Kaffe.Worker defmodule TestSubscriber do def commit_offsets(_subscriber_pid, topic, partition, generation_id, offset) do send(:test_case, {:commit_offsets, {topic, partition, generation_id, offset}}) end def request_more_messages(_subscriber...
35.188406
118
0.668451
e8baae2d2bf3f257a9575a98812e4f7312557d12
1,815
exs
Elixir
mix.exs
kianmeng/ecto_vista
f0d0cb8303719e1437f1c0b9ba68690c092c3dcc
[ "Apache-2.0" ]
null
null
null
mix.exs
kianmeng/ecto_vista
f0d0cb8303719e1437f1c0b9ba68690c092c3dcc
[ "Apache-2.0" ]
null
null
null
mix.exs
kianmeng/ecto_vista
f0d0cb8303719e1437f1c0b9ba68690c092c3dcc
[ "Apache-2.0" ]
null
null
null
defmodule EctoVista.MixProject do use Mix.Project @version "0.2.0" def project do [ app: :ecto_vista, version: @version, elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), dialyzer: [ plt_add_deps: :apps_direct, ...
21.86747
70
0.544904
e8bab11e740b9c9afb2383cf41767f02c83c9cc4
1,809
exs
Elixir
clients/comment_analyzer/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/comment_analyzer/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/comment_analyzer/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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...
27
107
0.656164
e8bad060c67dc48c68e1995ff010e3168e9b0c9e
852
ex
Elixir
lib/white_bread/event_manager.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
209
2015-03-03T14:14:28.000Z
2020-10-26T03:23:48.000Z
lib/white_bread/event_manager.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
83
2015-03-23T11:46:51.000Z
2020-11-04T09:47:06.000Z
lib/white_bread/event_manager.ex
ejscunha/white-bread
1c2eed1c98545beeb70b590426ce9026a8455e97
[ "MIT" ]
46
2015-06-12T17:37:21.000Z
2020-10-30T09:52:45.000Z
defmodule WhiteBread.EventManager do @moduledoc false ## An Event Manager inspired by that in ExUnit but adapted for ## WhiteBread. def start_link() do import Supervisor.Spec child = worker(GenServer, [], restart: :temporary) Supervisor.start_link([child], strategy: :simple_one_for_one, name: __MO...
24.342857
83
0.699531
e8bad1743d6593545dedfed5a32be387734db105
1,163
exs
Elixir
mix.exs
radu/nerves_rpi0_plus
79ffd6f570fe0a94b2623aed24f1151b5090f33b
[ "Apache-2.0" ]
null
null
null
mix.exs
radu/nerves_rpi0_plus
79ffd6f570fe0a94b2623aed24f1151b5090f33b
[ "Apache-2.0" ]
null
null
null
mix.exs
radu/nerves_rpi0_plus
79ffd6f570fe0a94b2623aed24f1151b5090f33b
[ "Apache-2.0" ]
null
null
null
defmodule NervesSystemRpi0.Mixfile do use Mix.Project @version Path.join(__DIR__, "VERSION") |> File.read! |> String.strip def project do [app: :nerves_system_rpi0, version: @version, elixir: "~> 1.3", compilers: Mix.compilers ++ [:nerves_package], description: description(), ...
27.690476
197
0.626827
e8bad4ae115ec6932566196eaf12705a1c8cc1d3
890
ex
Elixir
lib/radiator/application.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
92
2019-01-03T11:46:23.000Z
2022-02-19T21:28:44.000Z
lib/radiator/application.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
350
2019-04-11T07:55:51.000Z
2021-08-03T11:19:05.000Z
lib/radiator/application.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
10
2019-04-18T12:47:27.000Z
2022-01-25T20:49:15.000Z
defmodule Radiator.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ Radiator.Repo, RadiatorWeb.Endpoint, {O...
27.8125
62
0.716854
e8bae568ec6bc57802fe516865ffc3992fa15f84
1,858
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/google_cloud_healthcare_v1beta1_fhir_gcs_destination.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/google_cloud_healthcare_v1beta1_fhir_gcs_destination.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/google_cloud_healthcare_v1beta1_fhir_gcs_destination.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.730769
361
0.756189
e8bafbc163aa705e9fec615f5620dba9e20c25ff
130
exs
Elixir
test/xeethemescript_test.exs
xeejp/xee-theme-script
7a658c34bbd49104bacea925dd7506ef761f549f
[ "MIT" ]
null
null
null
test/xeethemescript_test.exs
xeejp/xee-theme-script
7a658c34bbd49104bacea925dd7506ef761f549f
[ "MIT" ]
null
null
null
test/xeethemescript_test.exs
xeejp/xee-theme-script
7a658c34bbd49104bacea925dd7506ef761f549f
[ "MIT" ]
null
null
null
defmodule XeeThemeScriptTest do use ExUnit.Case doctest XeeThemeScript test "the truth" do assert 1 + 1 == 2 end end
14.444444
31
0.707692
e8bb0de5b887dbe11626a1ecfd81046e191b9c31
1,482
exs
Elixir
test/stripe/subscriptions/invoiceitem_test.exs
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
555
2016-11-29T05:02:27.000Z
2022-03-30T00:47:59.000Z
test/stripe/subscriptions/invoiceitem_test.exs
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
532
2016-11-28T18:22:25.000Z
2022-03-30T17:04:32.000Z
test/stripe/subscriptions/invoiceitem_test.exs
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
296
2016-12-05T14:04:09.000Z
2022-03-28T20:39:37.000Z
defmodule Stripe.InvoiceitemTest do use Stripe.StripeCase, async: true describe "create/2" do test "creates an invoice" do assert {:ok, %Stripe.Invoiceitem{}} = Stripe.Invoiceitem.create(%{customer: "cus_123", currency: "usd"}) assert_stripe_requested(:post, "/v1/invoiceitems") ...
31.531915
88
0.670715
e8bb14c324263934c3f6cacce53868b7582685a3
1,801
exs
Elixir
config/prod.exs
tlietz/bounce-out
cefbb7ebcdb4e39b6afa8e1b3791d222674e0681
[ "WTFPL" ]
1
2022-01-16T16:07:37.000Z
2022-01-16T16:07:37.000Z
config/prod.exs
tlietz/slideball
cefbb7ebcdb4e39b6afa8e1b3791d222674e0681
[ "WTFPL" ]
null
null
null
config/prod.exs
tlietz/slideball
cefbb7ebcdb4e39b6afa8e1b3791d222674e0681
[ "WTFPL" ]
null
null
null
import 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, # w...
36.02
99
0.710161
e8bb1d1779605d3a43340b627555c5e8b0a33946
22,522
ex
Elixir
lib/codes/codes_z85.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_z85.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_z85.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_Z85 do alias IcdCode.ICDCode def _Z8500 do %ICDCode{full_code: "Z8500", category_code: "Z85", short_code: "00", full_name: "Personal history of malignant neoplasm of unspecified digestive organ", short_name: "Personal history of malignant ne...
41.862454
119
0.656425
e8bb211cc4885c7be7ae85510a1a353e7bf8e36f
425
exs
Elixir
test/elixir_sense/all_modules_test.exs
BartOtten/elixir_sense
4a857f2c262b9f8ac2d72e31f4806cecc740192a
[ "MIT", "Unlicense" ]
216
2019-01-05T02:08:51.000Z
2022-03-23T23:59:56.000Z
test/elixir_sense/all_modules_test.exs
BartOtten/elixir_sense
4a857f2c262b9f8ac2d72e31f4806cecc740192a
[ "MIT", "Unlicense" ]
102
2019-01-18T04:59:06.000Z
2022-01-10T14:21:24.000Z
test/elixir_sense/all_modules_test.exs
BartOtten/elixir_sense
4a857f2c262b9f8ac2d72e31f4806cecc740192a
[ "MIT", "Unlicense" ]
31
2019-01-16T08:19:34.000Z
2022-03-07T08:06:22.000Z
defmodule ElixirSense.Providers.ModulesTest do use ExUnit.Case, async: true alias ElixirSense.Providers.Definition doctest Definition test "test all modules available modules are listed" do modules = ElixirSense.all_modules() assert "ElixirSense" in modules assert "ElixirSense.Providers" not in mo...
28.333333
57
0.767059
e8bb30fd155d250da8368b2827c757e70c635cc8
74
exs
Elixir
api/test/test_helper.exs
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/test/test_helper.exs
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/test/test_helper.exs
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(Microblogger.Repo, :manual)
14.8
58
0.797297
e8bb3b1609f16241187d06b772bc6380ceefde07
6,261
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/user_role_permission_groups.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/user_role_permission_groups.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/user_role_permission_groups.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...
38.888199
187
0.639195
e8bb5c009a9000b041804d7294b0bc320e5ea0a3
257
ex
Elixir
robotica_hello/lib/robotica_hello_web/controllers/instance_controller.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-04-23T09:16:44.000Z
2019-04-23T09:16:44.000Z
robotica_hello/lib/robotica_hello_web/controllers/instance_controller.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
107
2019-05-26T08:03:26.000Z
2022-02-03T19:13:56.000Z
robotica_hello/lib/robotica_hello_web/controllers/instance_controller.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-08-10T20:44:24.000Z
2019-08-10T20:44:24.000Z
defmodule RoboticaHelloWeb.InstanceController do use RoboticaHelloWeb, :controller def index(conn, _params) do config = RoboticaHello.Config.configuration() render(conn, "index.html", instances: config.instances, active: "instances") end end
28.555556
80
0.766537
e8bbbd91a0b847c66d5ff54a49a601ddfd503220
1,112
exs
Elixir
test/pow/store/backend/ets_cache_test.exs
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
test/pow/store/backend/ets_cache_test.exs
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
test/pow/store/backend/ets_cache_test.exs
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
defmodule Pow.Store.Backend.EtsCacheTest do use ExUnit.Case doctest Pow.Store.Backend.EtsCache alias Pow.{Config, Store.Backend.EtsCache} @default_config [namespace: "pow:test", ttl: :timer.hours(1)] test "can put, get and delete records" do assert EtsCache.get(@default_config, "key") == :not_found ...
28.512821
90
0.672662
e8bbbeaee24f17558bece417647420dea1027156
429
exs
Elixir
test/models/jobtype_test.exs
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
1
2020-02-09T03:03:04.000Z
2020-02-09T03:03:04.000Z
test/models/jobtype_test.exs
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
null
null
null
test/models/jobtype_test.exs
mindsigns/soroban
c56962e1164a51cb5e383bbbfda880f098f181f1
[ "MIT" ]
null
null
null
defmodule Soroban.JobtypeTest do use Soroban.ModelCase alias Soroban.Jobtype @valid_attrs %{type: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Jobtype.changeset(%Jobtype{}, @valid_attrs) assert changeset.valid? end test "changeset with invalid attrib...
22.578947
61
0.729604
e8bbe0279c5cd775f6ef723aa2bde1c4139d69a7
585
ex
Elixir
lib/absinthe/phase/document/context.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
4,101
2016-03-02T03:49:20.000Z
2022-03-31T05:46:01.000Z
lib/absinthe/phase/document/context.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
889
2016-03-02T16:06:59.000Z
2022-03-31T20:24:12.000Z
lib/absinthe/phase/document/context.ex
TheRealReal/absinthe
6eae5bc36283e58f42d032b8afd90de3ad64f97b
[ "MIT" ]
564
2016-03-02T07:49:59.000Z
2022-03-06T14:40:59.000Z
defmodule Absinthe.Phase.Document.Context do @moduledoc "Pass on context and root value to document." use Absinthe.Phase alias Absinthe.Blueprint @spec run(Blueprint.t(), Keyword.t()) :: {:ok, Blueprint.t()} def run(blueprint, options \\ []) do context = Map.merge(blueprint.execution.context, options[:c...
32.5
87
0.711111
e8bbee84213603c8f3fc07730b9acc8ad9a133a1
307
ex
Elixir
lib/api/task_update.ex
sndnv/track
3d3727f752877f51a69700c0efff13d3eed978fa
[ "Apache-2.0" ]
null
null
null
lib/api/task_update.ex
sndnv/track
3d3727f752877f51a69700c0efff13d3eed978fa
[ "Apache-2.0" ]
null
null
null
lib/api/task_update.ex
sndnv/track
3d3727f752877f51a69700c0efff13d3eed978fa
[ "Apache-2.0" ]
null
null
null
defmodule Api.TaskUpdate do @moduledoc """ Structure defining all fields of a task that can be updated. - `task` - task name - `start` - `NaiveDateTime` timestamp (UTC); task start date/time - `duration` - task duration, in minutes since `start` """ defstruct [:task, :start, :duration] end
25.583333
67
0.680782
e8bbfa5e6da2d3853eb698db1bc7daac81bafafb
61
ex
Elixir
web/views/idea_view.ex
cdegroot/clueless
c7f575159a42f55eb843df0e37802e778826c845
[ "MIT" ]
null
null
null
web/views/idea_view.ex
cdegroot/clueless
c7f575159a42f55eb843df0e37802e778826c845
[ "MIT" ]
4
2015-12-18T20:35:49.000Z
2015-12-18T20:36:43.000Z
web/views/idea_view.ex
cdegroot/clueless
c7f575159a42f55eb843df0e37802e778826c845
[ "MIT" ]
null
null
null
defmodule Clueless.IdeaView do use Clueless.Web, :view end
15.25
30
0.786885
e8bbfc53285494c907154fbde712315a2aa8b5e1
177
ex
Elixir
apps/app_2/lib/application.ex
zemuldo-tutorials/sample_umbrella_releases
7a8a72077aff550308f1b991b52b77cf865e203d
[ "MIT" ]
null
null
null
apps/app_2/lib/application.ex
zemuldo-tutorials/sample_umbrella_releases
7a8a72077aff550308f1b991b52b77cf865e203d
[ "MIT" ]
null
null
null
apps/app_2/lib/application.ex
zemuldo-tutorials/sample_umbrella_releases
7a8a72077aff550308f1b991b52b77cf865e203d
[ "MIT" ]
null
null
null
defmodule App2.Application do use Application def start(_type, _args) do children = [ {App2, []}] Supervisor.start_link(children, strategy: :one_for_one) end end
19.666667
59
0.706215
e8bc0e709faf28f24331059ff92aab6c6cb498ca
1,559
ex
Elixir
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/empty.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/empty.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...
31.18
76
0.744708
e8bc2444769ba2ea7771f0073526a95a49648f50
2,599
ex
Elixir
lib/nimble_options/docs.ex
dashbitco/nimble_options
8757703a24837135085e40181e3d14a50fe5c721
[ "Apache-2.0" ]
293
2020-04-03T15:58:27.000Z
2022-03-29T10:29:32.000Z
lib/nimble_options/docs.ex
dashbitco/nimble_options
8757703a24837135085e40181e3d14a50fe5c721
[ "Apache-2.0" ]
60
2020-04-04T15:46:00.000Z
2022-02-09T14:09:59.000Z
lib/nimble_options/docs.ex
dashbitco/nimble_options
8757703a24837135085e40181e3d14a50fe5c721
[ "Apache-2.0" ]
23
2020-04-04T15:43:10.000Z
2022-02-09T13:03:38.000Z
defmodule NimbleOptions.Docs do @moduledoc false def generate(schema, options) when is_list(schema) and is_list(options) do nest_level = Keyword.get(options, :nest_level, 0) {docs, sections, _level} = build_docs(schema, {[], [], nest_level}) to_string([Enum.reverse(docs), Enum.reverse(sections)]) end...
28.25
95
0.62524
e8bc4dd2543fa0c79334d9a44a773936d2ab33b2
3,564
exs
Elixir
config.dist.exs
eniehack/pleroma-docker
e11fc22ed4dd7f2e04d7182195ee73abb45db7b5
[ "BSD-2-Clause" ]
null
null
null
config.dist.exs
eniehack/pleroma-docker
e11fc22ed4dd7f2e04d7182195ee73abb45db7b5
[ "BSD-2-Clause" ]
null
null
null
config.dist.exs
eniehack/pleroma-docker
e11fc22ed4dd7f2e04d7182195ee73abb45db7b5
[ "BSD-2-Clause" ]
null
null
null
use Mix.Config # You should not change the following three ip/port mappings. # Listening to 0.0.0.0 is required in a container since the IP is not known in advance. # Instead, change the mapping to your host ports in "docker-compose.yml". config :pleroma, Pleroma.Web.Endpoint, http: [ ip: {0, 0, 0, 0}, port...
30.461538
134
0.715769
e8bc8ca477473042a520c80bef672532d769d9a5
836
exs
Elixir
apps/day15/mix.exs
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
2
2019-12-21T21:21:04.000Z
2019-12-27T07:00:19.000Z
apps/day15/mix.exs
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
null
null
null
apps/day15/mix.exs
jwarwick/aoc_2019
04229b86829b72323498b57a6649fcc6f7c96406
[ "MIT" ]
null
null
null
defmodule Day15.MixProject do use Mix.Project def project do [ app: :day15, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9-dev", start_permanent: Mix.env()...
23.222222
88
0.558612
e8bc99848297b540bd9f65a202c418cd60a0945a
1,676
exs
Elixir
test/cog/chat/hipchat/templates/embedded/relay_group_list_verbose_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/cog/chat/hipchat/templates/embedded/relay_group_list_verbose_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/cog/chat/hipchat/templates/embedded/relay_group_list_verbose_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Chat.HipChat.Templates.Embedded.RelayGroupListVerbseTest do use Cog.TemplateCase test "relay-group-list verbose template" do data = %{"results" => [%{"name" => "foo", "relays" => [%{"name" => "relay1"}, %{"name" => "relay2"}],...
41.9
93
0.405131
e8bcbef805b100d7a1cf249b968092c93cd152c9
6,335
exs
Elixir
test/sanbase_web/graphql/signals/triggers_historical_activity_api_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
test/sanbase_web/graphql/signals/triggers_historical_activity_api_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
test/sanbase_web/graphql/signals/triggers_historical_activity_api_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule SanbaseWeb.Graphql.TriggersHistoricalActivityApiTest do use SanbaseWeb.ConnCase, async: false import Sanbase.Factory import SanbaseWeb.Graphql.TestHelpers setup do user = insert(:user) conn = setup_jwt_auth(build_conn(), user) {:ok, conn: conn, user: user} end test "signals histori...
27.785088
94
0.596369
e8bcc35d1b629a2a32d8d3077b1e6bc130ab4017
3,130
exs
Elixir
day4/main.exs
CerealBoy/aoc-2020
928c64dbf40a9f2785246cc64764fbd1d0cf22ae
[ "Apache-2.0" ]
null
null
null
day4/main.exs
CerealBoy/aoc-2020
928c64dbf40a9f2785246cc64764fbd1d0cf22ae
[ "Apache-2.0" ]
null
null
null
day4/main.exs
CerealBoy/aoc-2020
928c64dbf40a9f2785246cc64764fbd1d0cf22ae
[ "Apache-2.0" ]
null
null
null
defmodule AoC do def read_file do {:ok, d} = File.read("in") d |> String.replace(~r/\n\n/, ":::") |> String.replace(~r/\n/, " ") |> String.split(":::", trim: true) end def basic_count([head | tail], all) do with 7 <- head |> String.split(" ") |> total_valid_attributes do basic_count...
26.302521
106
0.595527
e8bcc8b7a70eb68ddf0ffd39f039c2be93bd3cd0
2,070
ex
Elixir
lib/ecto_phone_number/ecto_phone_number.ex
bnbfinder/ecto-phone-number
e97520338cd30254f93080f22bf81727864deabe
[ "MIT" ]
null
null
null
lib/ecto_phone_number/ecto_phone_number.ex
bnbfinder/ecto-phone-number
e97520338cd30254f93080f22bf81727864deabe
[ "MIT" ]
13
2021-02-08T12:15:59.000Z
2021-08-02T11:19:25.000Z
lib/ecto_phone_number/ecto_phone_number.ex
bnbfinder/ecto-phone-number
e97520338cd30254f93080f22bf81727864deabe
[ "MIT" ]
null
null
null
defmodule EctoPhoneNumber do @moduledoc """ Phone number type with validation and formatting for Ecto. """ use Ecto.Type defstruct [:e164] defimpl Inspect do def inspect(%{e164: e164}, _opts) do ~s(#EctoPhoneNumber<#{e164}>) end end defimpl String.Chars do def to_string(phone_numbe...
27.236842
102
0.636232
e8bce1d3ad7eb705e817161b8be550932a78f77f
280,334
ex
Elixir
clients/gmail/lib/google_api/gmail/v1/api/users.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/gmail/lib/google_api/gmail/v1/api/users.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/gmail/lib/google_api/gmail/v1/api/users.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...
46.412914
798
0.606562
e8bce8f470ac7501099dcac7a3a75ba28cbc3194
503
ex
Elixir
web/views/room_view.ex
functional-miners/interactive-tetris
440bc821745cc7fd7ff8b59a4fc6c643eb2bf183
[ "MIT" ]
1
2020-01-19T03:29:22.000Z
2020-01-19T03:29:22.000Z
web/views/room_view.ex
functional-miners/interactive-tetris
440bc821745cc7fd7ff8b59a4fc6c643eb2bf183
[ "MIT" ]
null
null
null
web/views/room_view.ex
functional-miners/interactive-tetris
440bc821745cc7fd7ff8b59a4fc6c643eb2bf183
[ "MIT" ]
null
null
null
defmodule InteractiveTetris.RoomView do use InteractiveTetris.Web, :view alias InteractiveTetris.Room alias InteractiveTetris.User def active_room(%Room{ :active => true, :finished => false }), do: "active-row" def active_room(%Room{ :active => false, :finished => false }), do: "ready-row" def active_room...
33.533333
92
0.707753
e8bcf3204322ca3be308a66e3023b211014c2429
408
exs
Elixir
test/farmbot_ext/api_fetcher_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/farmbot_ext/api_fetcher_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/farmbot_ext/api_fetcher_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.APIFetcherTest do require Helpers use ExUnit.Case use Mimic setup :verify_on_exit! alias FarmbotOS.APIFetcher test "client" do Helpers.use_fake_jwt() %module{} = APIFetcher.client() assert module == Tesla.Client end test "get_body" do Helpers.use_fake_jwt() {...
17.73913
54
0.693627
e8bcfea2d11ce0722575ec7dd54e75dea1cba6a2
7,124
ex
Elixir
lib/ecto/embedded.ex
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
lib/ecto/embedded.ex
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
lib/ecto/embedded.ex
mschae/ecto
00f85444c4f61080617179232c0d528381de5ec3
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Embedded do @moduledoc false alias __MODULE__ alias Ecto.Changeset @type t :: %Embedded{cardinality: :one | :many, strategy: :replace | atom, on_replace: Changeset.Relation.on_replace, on_delete: :fetch_and_delete, ...
35.267327
104
0.656654
e8bd32937d3d72dcd76ae68e0ca78794959c86ae
106
ex
Elixir
backend/lib/edgehog/repo.ex
bettio/edgehog
2f65bb8711bc0ab6cf9fdbff97ce42e608bd5826
[ "Apache-2.0" ]
null
null
null
backend/lib/edgehog/repo.ex
bettio/edgehog
2f65bb8711bc0ab6cf9fdbff97ce42e608bd5826
[ "Apache-2.0" ]
null
null
null
backend/lib/edgehog/repo.ex
bettio/edgehog
2f65bb8711bc0ab6cf9fdbff97ce42e608bd5826
[ "Apache-2.0" ]
null
null
null
defmodule Edgehog.Repo do use Ecto.Repo, otp_app: :edgehog, adapter: Ecto.Adapters.Postgres end
17.666667
35
0.726415
e8bd3f56b3ab541de9e966978b920949239d0d71
4,669
ex
Elixir
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/api/report_types.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/api/report_types.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/api/report_types.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...
46.227723
196
0.659028
e8bd66ad9d420902c3fb3281dfdc52f4a7f14069
1,977
exs
Elixir
clients/billing_budgets/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/billing_budgets/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/billing_budgets/mix.exs
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...
29.507463
194
0.668184
e8bdadfc9c7d5ec0a7d472794daf034b2bebe917
8,365
exs
Elixir
test/hexpm_web/controllers/api/package_controller_test.exs
axelson/hexpm
3608a9aa16d321f8f7d0890528676c0821d85686
[ "Apache-2.0" ]
null
null
null
test/hexpm_web/controllers/api/package_controller_test.exs
axelson/hexpm
3608a9aa16d321f8f7d0890528676c0821d85686
[ "Apache-2.0" ]
null
null
null
test/hexpm_web/controllers/api/package_controller_test.exs
axelson/hexpm
3608a9aa16d321f8f7d0890528676c0821d85686
[ "Apache-2.0" ]
null
null
null
defmodule HexpmWeb.API.PackageControllerTest do use HexpmWeb.ConnCase, async: true setup do user = insert(:user) unauthorized_user = insert(:user) repository = insert(:repository) package1 = insert( :package, name: "HexpmWeb.API.PackageControllerTest", inserted_at: ~N...
32.803922
106
0.625702
e8bde0dd191d03795f9d653ddaa01568e0c563eb
1,833
ex
Elixir
lib/commanded/scheduler/jobs/job.ex
betoxd40/commanded-scheduler
a72b701faa2901ddc5ff7fce0cf2046d4acce4b4
[ "MIT" ]
null
null
null
lib/commanded/scheduler/jobs/job.ex
betoxd40/commanded-scheduler
a72b701faa2901ddc5ff7fce0cf2046d4acce4b4
[ "MIT" ]
1
2020-05-29T18:50:28.000Z
2020-07-14T11:15:49.000Z
lib/commanded/scheduler/jobs/job.ex
blockfi/commanded-scheduler
46582ecccad254d997d13b6b80bc829d8a24ca21
[ "MIT" ]
null
null
null
defmodule Commanded.Scheduler.Job do @moduledoc false use GenServer require Logger alias Commanded.Scheduler.Job @callback execute(name :: any, args :: any) :: :ok defstruct [ :name, :module, :args, retries: 0 ] def start_link(name, module, args) do GenServer.start_link(__MODUL...
24.77027
97
0.616476
e8be0e65091df147e3fd843c4d921513615f8cac
9,435
ex
Elixir
test/support/w3c_wire_protocol_client/error_scenarios.ex
kianmeng/web_driver_client
19b637e3cd639aa6d8959e235227ef78f6e32e62
[ "MIT" ]
8
2019-11-24T18:33:12.000Z
2020-12-09T10:20:09.000Z
test/support/w3c_wire_protocol_client/error_scenarios.ex
kianmeng/web_driver_client
19b637e3cd639aa6d8959e235227ef78f6e32e62
[ "MIT" ]
67
2019-12-20T16:33:30.000Z
2021-09-14T03:50:10.000Z
test/support/w3c_wire_protocol_client/error_scenarios.ex
elixir-wallaby/web_driver_client
8dc46a325f90a120cfa3c65c19da68faef553299
[ "MIT" ]
10
2020-06-19T16:15:03.000Z
2021-09-13T17:56:25.000Z
defmodule WebDriverClient.W3CWireProtocolClient.ErrorScenarios do @moduledoc false use ExUnitProperties import ExUnit.Assertions alias ExUnit.AssertionError alias WebDriverClient.Config alias WebDriverClient.ConnectionError alias WebDriverClient.JSONWireProtocolClient.TestResponses, as: JWPTestResponses...
33.457447
98
0.689454
e8be19da84c759f4d56ff94ea414f88207e20ce4
762
ex
Elixir
lib/elixir_films_web/controllers/fallback_controller.ex
abmBispo/elixir-films
a8464c0cf180be4e8c5835da2702b73aeb5b0cd2
[ "MIT" ]
null
null
null
lib/elixir_films_web/controllers/fallback_controller.ex
abmBispo/elixir-films
a8464c0cf180be4e8c5835da2702b73aeb5b0cd2
[ "MIT" ]
null
null
null
lib/elixir_films_web/controllers/fallback_controller.ex
abmBispo/elixir-films
a8464c0cf180be4e8c5835da2702b73aeb5b0cd2
[ "MIT" ]
null
null
null
defmodule ElixirFilmsWeb.FallbackController do @moduledoc """ Translates controller action results into valid `Plug.Conn` responses. See `Phoenix.Controller.action_fallback/1` for more details. """ use ElixirFilmsWeb, :controller # This clause handles errors returned by Ecto's insert/update/delete. def ...
30.48
78
0.715223
e8be374a12270e9070b12424b3def8f25240ce69
2,380
ex
Elixir
test/registration/support/registration_test_case.ex
beorc/commanded
1330585f2c7397e1d4dd5d4789fea85a43ab031b
[ "MIT" ]
null
null
null
test/registration/support/registration_test_case.ex
beorc/commanded
1330585f2c7397e1d4dd5d4789fea85a43ab031b
[ "MIT" ]
null
null
null
test/registration/support/registration_test_case.ex
beorc/commanded
1330585f2c7397e1d4dd5d4789fea85a43ab031b
[ "MIT" ]
null
null
null
defmodule Commanded.RegistrationTestCase do import Commanded.SharedTestCase define_tests do alias Commanded.Registration alias Commanded.Registration.{RegisteredServer, RegisteredSupervisor} setup %{registry: registry} do Application.put_env(:commanded, :registry, registry) {:ok, supervis...
31.733333
96
0.64958
e8be71a7dd88fa13d6723b818b2b51c4b88faab4
896
ex
Elixir
example/lib/code_under_test.ex
marick/mockery_extras
6b2c689354b0e238669dbc30e09add47a15027e4
[ "Unlicense" ]
1
2021-03-15T07:09:50.000Z
2021-03-15T07:09:50.000Z
example/lib/code_under_test.ex
marick/mockery_extras
6b2c689354b0e238669dbc30e09add47a15027e4
[ "Unlicense" ]
null
null
null
example/lib/code_under_test.ex
marick/mockery_extras
6b2c689354b0e238669dbc30e09add47a15027e4
[ "Unlicense" ]
null
null
null
defmodule Example.Steps do use Example.From import FlowAssertions.Define.BodyParts # The package this is extracted from supports testing. So "product code" # uses some assertion-building code I've also written. See `flow_assertions` # in Hex. (The majority of that package is useful assertions built with # `...
33.185185
78
0.680804
e8be93f7242bed2ff106d1ba9b9fe6402af018dd
920
ex
Elixir
priv/templates/keeper.install/controllers/resource_controller.ex
joaomdmoura/keeper
3541dc4dcf06afa176bcd5827408accdd3d05f9d
[ "Apache-2.0" ]
29
2016-11-06T05:43:17.000Z
2020-01-05T00:35:57.000Z
priv/templates/keeper.install/controllers/resource_controller.ex
joaomdmoura/escort
3541dc4dcf06afa176bcd5827408accdd3d05f9d
[ "Apache-2.0" ]
9
2016-11-28T05:54:56.000Z
2018-06-01T13:36:51.000Z
priv/templates/keeper.install/controllers/resource_controller.ex
joaomdmoura/escort
3541dc4dcf06afa176bcd5827408accdd3d05f9d
[ "Apache-2.0" ]
4
2016-11-28T20:31:02.000Z
2019-07-12T20:26:57.000Z
defmodule <%= app_module %>.<%= resource_name %>Controller do use <%= app_module %>.Web, :controller alias <%= app_module %>.<%= resource_name %> plug :scrub_params, "<%= String.downcase(resource_name) %>" when action in [:create] def create(conn, %{"<%= String.downcase(resource_name) %>" => <%= String.downc...
41.818182
130
0.632609
e8be9ac0d20a0392bd17a173231644e9f76e4d6c
1,153
ex
Elixir
solutions/01_greetings/lib/greetings.ex
zeroasterisk/elixir-101-codelab
76a3dda71a1fab88680fb7d4959ef265924945c4
[ "MIT" ]
4
2018-07-26T19:47:26.000Z
2018-08-18T20:27:09.000Z
solutions/01_greetings/lib/greetings.ex
zeroasterisk/elixir-101-codelab
76a3dda71a1fab88680fb7d4959ef265924945c4
[ "MIT" ]
null
null
null
solutions/01_greetings/lib/greetings.ex
zeroasterisk/elixir-101-codelab
76a3dda71a1fab88680fb7d4959ef265924945c4
[ "MIT" ]
1
2018-08-29T12:38:36.000Z
2018-08-29T12:38:36.000Z
defmodule Greetings do @moduledoc """ This is a Greeting library For this contrived example we have - hello() which just returns :world - hello(atom) which just returns atom - hello(string) which just returns "Hello {string}" """ @doc """ Super simple greeting to the world With no arguments, it r...
25.622222
92
0.66869
e8bea88888e7a29035ac7d05a9a5c08a4bfaddf6
263
ex
Elixir
lib/legato/query/date_range.ex
data-twister/legato-ex
3cd919d44e0d0ac02e1eb25ea7ad2b865e05ea2d
[ "MIT" ]
null
null
null
lib/legato/query/date_range.ex
data-twister/legato-ex
3cd919d44e0d0ac02e1eb25ea7ad2b865e05ea2d
[ "MIT" ]
null
null
null
lib/legato/query/date_range.ex
data-twister/legato-ex
3cd919d44e0d0ac02e1eb25ea7ad2b865e05ea2d
[ "MIT" ]
null
null
null
defmodule Legato.Query.DateRange do @derive [Jason.Encoder] defstruct start_date: nil, end_date: nil # strings, YYYY-MM-DD def add(date_ranges, start_date, end_date) do date_ranges ++ [%__MODULE__{start_date: start_date, end_date: end_date}] end end
29.222222
76
0.749049
e8bec270e54bda037d29ea46d70be5155eaaffdc
650
exs
Elixir
test/features/user_presence_realtime_update_test.exs
octosteve/remote_retro
3385b0db3c2daab934ce12a2f7642a5f10ac5147
[ "MIT" ]
523
2017-03-15T15:21:11.000Z
2022-03-14T03:04:18.000Z
test/features/user_presence_realtime_update_test.exs
octosteve/remote_retro
3385b0db3c2daab934ce12a2f7642a5f10ac5147
[ "MIT" ]
524
2017-03-16T18:31:09.000Z
2022-02-26T10:02:06.000Z
test/features/user_presence_realtime_update_test.exs
octosteve/remote_retro
3385b0db3c2daab934ce12a2f7642a5f10ac5147
[ "MIT" ]
60
2017-05-01T18:02:28.000Z
2022-03-04T21:04:56.000Z
defmodule UserPresenceRealtimeUpdateTest do use RemoteRetro.IntegrationCase, async: false import ShorterMaps test "the realtime updates of other users entering/leaving a retro", ~M{retro, session: session_one, non_facilitator} do session_one = visit_retro(session_one, retro) assert_has(session_o...
29.545455
70
0.749231
e8bec3da630fb66240277f16fe45a1b77c5b965d
5,308
exs
Elixir
mix.exs
Shasthojoy/phoenix
b4f6cbf81d103248a0e8f25a2ba61e1f4bf65cee
[ "MIT" ]
null
null
null
mix.exs
Shasthojoy/phoenix
b4f6cbf81d103248a0e8f25a2ba61e1f4bf65cee
[ "MIT" ]
null
null
null
mix.exs
Shasthojoy/phoenix
b4f6cbf81d103248a0e8f25a2ba61e1f4bf65cee
[ "MIT" ]
null
null
null
defmodule Phoenix.Mixfile do use Mix.Project @version "1.4.0-dev" def project do [ app: :phoenix, version: @version, elixir: "~> 1.4", deps: deps(), package: package(), lockfile: lockfile(), preferred_cli_env: [docs: :docs], # Because we define protocols on t...
26.54
96
0.58685
e8bee688490e8ee6759c85da7beaed1e3404bb95
892
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/metadata.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.037037
74
0.761211
e8bef05f05b5c76ed7639ba7c91e3ab147093390
1,630
ex
Elixir
discuss/lib/discuss_web.ex
hiroshisiq/elixir-sandbox
3f014d2f15ae1eeda1c22db30ef111cbc22e9afc
[ "MIT" ]
2
2019-03-08T04:21:53.000Z
2020-07-05T00:53:26.000Z
discuss/lib/discuss_web.ex
hiroshisiq/elixir-sandbox
3f014d2f15ae1eeda1c22db30ef111cbc22e9afc
[ "MIT" ]
null
null
null
discuss/lib/discuss_web.ex
hiroshisiq/elixir-sandbox
3f014d2f15ae1eeda1c22db30ef111cbc22e9afc
[ "MIT" ]
1
2020-07-05T00:53:29.000Z
2020-07-05T00:53:29.000Z
defmodule DiscussWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use DiscussWeb, :controller use DiscussWeb, :view The definitions below will be executed for every view, controller, ...
23.285714
83
0.688957
e8bf04950bad40ad2b858941f9d7f9381eb621cf
584
exs
Elixir
config/test.exs
elixir-screenshot/screenshot
11dd37e77e5be32fa66be05111c7fb2e3212a11f
[ "MIT" ]
null
null
null
config/test.exs
elixir-screenshot/screenshot
11dd37e77e5be32fa66be05111c7fb2e3212a11f
[ "MIT" ]
null
null
null
config/test.exs
elixir-screenshot/screenshot
11dd37e77e5be32fa66be05111c7fb2e3212a11f
[ "MIT" ]
null
null
null
import Config # We don't run a server during test. If one is required, # you can enable the server option below. config :screenshot, ScreenshotWeb.Endpoint, http: [ip: {127, 0, 0, 1}, port: 4002], secret_key_base: "L2Py5rGFRZg8AzXC3YG5YTkTBqqson9wyZyfDPJTUCjUjm1GW56AzqG+hAco2RhO", server: false # In test we don...
30.736842
86
0.768836
e8bf188b3cf4f1da2acc11245a5a2c0549ce48b0
1,176
ex
Elixir
lib/freshcom_web/channels/user_socket.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
9
2018-12-16T14:02:59.000Z
2021-01-19T07:25:40.000Z
lib/freshcom_web/channels/user_socket.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
null
null
null
lib/freshcom_web/channels/user_socket.ex
freshcom/freshcom_web
fab44c9468e86b1770eef9971a97ad2b11545e9c
[ "BSD-3-Clause" ]
4
2018-12-16T17:50:01.000Z
2021-01-19T07:25:51.000Z
defmodule FreshcomWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", FreshcomWeb.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...
30.947368
83
0.704082
e8bf6e4eeb6e578ec169a4780932d55788986619
2,010
exs
Elixir
wasmcloud_host/mix.exs
emattiza/wasmcloud-otp
e1e3dcc8fcf14b93acbdde28743d1f48c23948ef
[ "Apache-2.0" ]
null
null
null
wasmcloud_host/mix.exs
emattiza/wasmcloud-otp
e1e3dcc8fcf14b93acbdde28743d1f48c23948ef
[ "Apache-2.0" ]
null
null
null
wasmcloud_host/mix.exs
emattiza/wasmcloud-otp
e1e3dcc8fcf14b93acbdde28743d1f48c23948ef
[ "Apache-2.0" ]
null
null
null
defmodule WasmcloudHost.MixProject do use Mix.Project @app_vsn "0.54.1" def project do [ app: :wasmcloud_host, version: @app_vsn, elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, ...
28.309859
84
0.573632
e8bf7ef75796b4d6e49ceb63fb3772ebcf45c008
1,295
ex
Elixir
broadway_test/lib/imageresizer.ex
kujua/blog-kujuahub-articles-code
1a65b1a481cbf5269a3f8846a5ac353937d45a2d
[ "Apache-2.0" ]
2
2019-05-25T13:25:33.000Z
2019-05-29T15:36:17.000Z
broadway_test/lib/imageresizer.ex
kujua/blog-kujuahub-articles-code
1a65b1a481cbf5269a3f8846a5ac353937d45a2d
[ "Apache-2.0" ]
null
null
null
broadway_test/lib/imageresizer.ex
kujua/blog-kujuahub-articles-code
1a65b1a481cbf5269a3f8846a5ac353937d45a2d
[ "Apache-2.0" ]
null
null
null
defmodule Imageresizer do @moduledoc false use GenStage alias ImageProcessingModel def process(data) do IO.inspect(data, label: "Imageresizer - process data") success = GenStage.call(__MODULE__, {:process, data}, 3000) IO.inspect(success, label: "return genstage call - success") case success d...
24.433962
65
0.646332
e8bfb3443a738d0207fa0b7a684d63deff253152
1,239
exs
Elixir
config/config.exs
thebigredgeek/issuehub
953f8fe36bebf7a2d58d2c387d682446681f06c8
[ "MIT" ]
null
null
null
config/config.exs
thebigredgeek/issuehub
953f8fe36bebf7a2d58d2c387d682446681f06c8
[ "MIT" ]
null
null
null
config/config.exs
thebigredgeek/issuehub
953f8fe36bebf7a2d58d2c387d682446681f06c8
[ "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 config :issuehub, github_url: "https://api.github.com" config :logger, compile_time_purge_level: :info # This configuration is loaded before any dependency and is re...
36.441176
73
0.744149
e8bfbee5738e346fb862ea83e9e12db0ccacdab4
6,175
ex
Elixir
lib/heap/heap.ex
stackcats/collections
df48066bd52e0373900e85d1cd4ee158c82c35f7
[ "MIT" ]
null
null
null
lib/heap/heap.ex
stackcats/collections
df48066bd52e0373900e85d1cd4ee158c82c35f7
[ "MIT" ]
null
null
null
lib/heap/heap.ex
stackcats/collections
df48066bd52e0373900e85d1cd4ee158c82c35f7
[ "MIT" ]
null
null
null
defmodule Collections.Heap do defstruct data: nil, size: 0, comparator: nil @moduledoc """ Leftist heap implemention in Elixir See also: [Leftist Tree](https://en.wikipedia.org/wiki/Leftist_tree) Time complexity * `&peek/2` : O(1) * `&push/2` : O(logn) * `&pop/2` : O(logn) * `&size/1` ...
25.622407
113
0.555628
e8bfdc0b96512ecc4a790bdfb97484f41e271629
71
exs
Elixir
test/checkdigit_test.exs
tacomeet/checkdigit
450452140d212891bd29f8fa9b534b4edaf45ecd
[ "MIT" ]
null
null
null
test/checkdigit_test.exs
tacomeet/checkdigit
450452140d212891bd29f8fa9b534b4edaf45ecd
[ "MIT" ]
null
null
null
test/checkdigit_test.exs
tacomeet/checkdigit
450452140d212891bd29f8fa9b534b4edaf45ecd
[ "MIT" ]
null
null
null
defmodule CheckdigitTest do use ExUnit.Case doctest Checkdigit end
14.2
27
0.816901
e8bfeae0fb2fbbb0ed5a8148652010cfb908d2a7
540
exs
Elixir
test/docdog_web/controllers/page_controller_test.exs
sobolevn/docdog-engine
5f7ad60465063fac3d56574f2bf27a4a52d0a91e
[ "MIT" ]
null
null
null
test/docdog_web/controllers/page_controller_test.exs
sobolevn/docdog-engine
5f7ad60465063fac3d56574f2bf27a4a52d0a91e
[ "MIT" ]
null
null
null
test/docdog_web/controllers/page_controller_test.exs
sobolevn/docdog-engine
5f7ad60465063fac3d56574f2bf27a4a52d0a91e
[ "MIT" ]
null
null
null
defmodule DocdogWeb.PageControllerTest do use DocdogWeb.ConnCase describe "when guest" do test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Docdog App" end end describe "when logged in user" do setup do conn = build_conn() |>...
20.769231
57
0.588889
e8bff094afb5552a1726283db0c5027ac8f30f88
7,064
exs
Elixir
apps/tai/test/tai/venues/adapters/cancel_order_error_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/test/tai/venues/adapters/cancel_order_error_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/test/tai/venues/adapters/cancel_order_error_test.exs
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.Venues.Adapters.CancelOrderErrorTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney import Mock setup_all do on_exit(fn -> :ok = Application.stop(:tai_events) :ok = Application.stop(:tai) end) {:ok, _} = Application.ensure_all_started(:tai...
30.713043
99
0.675255
e8c01c391588a310233c19ebd529b51cb5c14a4a
3,419
exs
Elixir
mix.exs
MAkcanca/kiosk_system_rpi0
3265df4ae7b88f0de97dd57d64fb859f7fb03f6e
[ "Apache-2.0" ]
null
null
null
mix.exs
MAkcanca/kiosk_system_rpi0
3265df4ae7b88f0de97dd57d64fb859f7fb03f6e
[ "Apache-2.0" ]
null
null
null
mix.exs
MAkcanca/kiosk_system_rpi0
3265df4ae7b88f0de97dd57d64fb859f7fb03f6e
[ "Apache-2.0" ]
null
null
null
defmodule KioskSystemRpi0.MixProject do use Mix.Project @github_organization "MAkcanca" @app :kiosk_system_rpi0 @source_url "https://github.com/#{@github_organization}/#{@app}" @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: @ap...
24.248227
83
0.584381
e8c024d97a9a2d5f9bc83ad2d304ecf6fe0f029c
3,049
ex
Elixir
lib/wonderland/data/maybe.ex
tkachuk-labs/wonderland
575cb23fa14b9adba5520b5e608e6029296d7b11
[ "MIT" ]
14
2020-03-09T22:43:01.000Z
2021-01-20T01:50:00.000Z
lib/wonderland/data/maybe.ex
21it/wonderland
575cb23fa14b9adba5520b5e608e6029296d7b11
[ "MIT" ]
1
2020-04-04T15:06:42.000Z
2020-04-10T18:13:25.000Z
lib/wonderland/data/maybe.ex
21it/wonderland
575cb23fa14b9adba5520b5e608e6029296d7b11
[ "MIT" ]
null
null
null
defmodule Wonderland.Data.Maybe do use Calculus use Wonderland.TypeClass @moduledoc """ Classic sum type which represents optional value - Functor - Monad - Applicative """ @typep a :: term @type t(a) :: __MODULE__.t(a) defmacrop justp(x) do quote location: :keep do {:justp, unquote(...
20.326667
63
0.588718
e8c057219c3926727e72273bb0c3dcd11e673457
2,002
ex
Elixir
clients/accelerated_mobile_page_url/lib/google_api/accelerated_mobile_page_url/v1/model/batch_get_amp_urls_response.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/accelerated_mobile_page_url/lib/google_api/accelerated_mobile_page_url/v1/model/batch_get_amp_urls_response.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/accelerated_mobile_page_url/lib/google_api/accelerated_mobile_page_url/v1/model/batch_get_amp_urls_response.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "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...
36.4
256
0.761738
e8c08c13549e1385801ec9761848c0cf0be687a9
4,048
ex
Elixir
lib/quantum/executor.ex
barthez/quantum-elixir
264e8fad134ed3622360555def32d89d75c7e20e
[ "Apache-2.0" ]
991
2015-04-27T12:26:50.000Z
2019-07-22T06:24:02.000Z
lib/quantum/executor.ex
barthez/quantum-elixir
264e8fad134ed3622360555def32d89d75c7e20e
[ "Apache-2.0" ]
278
2015-05-27T18:15:53.000Z
2018-03-22T14:48:33.000Z
lib/quantum/executor.ex
barthez/quantum-elixir
264e8fad134ed3622360555def32d89d75c7e20e
[ "Apache-2.0" ]
96
2015-05-02T06:41:34.000Z
2020-11-30T19:44:00.000Z
defmodule Quantum.Executor do @moduledoc """ Task to actually execute a Task """ use Task require Logger alias Quantum.{Job, TaskRegistry} alias Quantum.RunStrategy.NodeList @doc """ Start the Task ### Arguments * `task_supervisor` - The supervisor that runs the task * `task_registry`...
28.111111
122
0.623271
e8c08fca776a2a6c9e2b74d2dc69d1daada2ecf8
200
exs
Elixir
phoenix/test/ironman_web/controllers/page_controller_test.exs
MilesChou/ironman2020-sample
0d0c22fd744cd9605eb5b95668dc00a7bbec7a57
[ "MIT" ]
null
null
null
phoenix/test/ironman_web/controllers/page_controller_test.exs
MilesChou/ironman2020-sample
0d0c22fd744cd9605eb5b95668dc00a7bbec7a57
[ "MIT" ]
null
null
null
phoenix/test/ironman_web/controllers/page_controller_test.exs
MilesChou/ironman2020-sample
0d0c22fd744cd9605eb5b95668dc00a7bbec7a57
[ "MIT" ]
null
null
null
defmodule IronmanWeb.PageControllerTest do use IronmanWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.222222
60
0.68
e8c0ddb9c576c92a4cd8522fd10d95f03eb3a172
957
exs
Elixir
test/auth_n_helpers_test.exs
mathieuprog/auth_n
7fd7719dfd0dee8ae0a0a3b20c11debd9f596790
[ "Apache-2.0" ]
null
null
null
test/auth_n_helpers_test.exs
mathieuprog/auth_n
7fd7719dfd0dee8ae0a0a3b20c11debd9f596790
[ "Apache-2.0" ]
null
null
null
test/auth_n_helpers_test.exs
mathieuprog/auth_n
7fd7719dfd0dee8ae0a0a3b20c11debd9f596790
[ "Apache-2.0" ]
null
null
null
defmodule AuthN.HTML.AuthNHelpersTest do use ExUnit.Case, async: true use Plug.Test alias AuthN.SessionStorage alias AuthN.SessionStorage.AssignsMap alias AuthN.Plugs.SetSessionStorage alias AuthN.Plugs.AssignCurrentUser alias AuthN.HTML.AuthNHelpers test "test view helpers" do conn = conn(...
28.147059
101
0.725183
e8c0ee3a22e4924faf8e83c6cbbac1b42463ca14
1,155
exs
Elixir
02_counting_number_characters/config/config.exs
mkchandler/elixir-school
cc08bd723db00cc35cd2d6b07abe519e5d102ca0
[ "MIT" ]
1
2015-12-15T04:46:41.000Z
2015-12-15T04:46:41.000Z
02_counting_number_characters/config/config.exs
mkchandler/elixir-school
cc08bd723db00cc35cd2d6b07abe519e5d102ca0
[ "MIT" ]
null
null
null
02_counting_number_characters/config/config.exs
mkchandler/elixir-school
cc08bd723db00cc35cd2d6b07abe519e5d102ca0
[ "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...
37.258065
73
0.759307
e8c0efdfe1ed94ed2c19f184b1bfdcddb2e0401c
904
exs
Elixir
mix.exs
matthewlehner/ueberauth_pinterest
03b45a27fa79fcc2453bf5909d1846bbbe197e01
[ "MIT" ]
null
null
null
mix.exs
matthewlehner/ueberauth_pinterest
03b45a27fa79fcc2453bf5909d1846bbbe197e01
[ "MIT" ]
null
null
null
mix.exs
matthewlehner/ueberauth_pinterest
03b45a27fa79fcc2453bf5909d1846bbbe197e01
[ "MIT" ]
null
null
null
defmodule UeberauthPinterest.Mixfile do use Mix.Project @version "0.0.1" @url "https://github.com/matthewlehner/ueberauth_pinterest" def project do [app: :ueberauth_pinterest, version: @version, name: "Ueberauth Pinterest Strategy", elixir: "~> 1.3", build_embedded: Mix.env == :prod, ...
20.545455
61
0.625
e8c11a5383a6dec97b87866cd8c38b878e0ad805
729
ex
Elixir
lib/skeleton/permission.ex
skeleton-elixir/skeleton_permission
9d86d338cfcd5b0b9925cde139d03c225dc9e4ee
[ "MIT" ]
null
null
null
lib/skeleton/permission.ex
skeleton-elixir/skeleton_permission
9d86d338cfcd5b0b9925cde139d03c225dc9e4ee
[ "MIT" ]
1
2020-07-02T13:17:17.000Z
2020-07-02T13:17:17.000Z
lib/skeleton/permission.ex
skeleton-elixir/skeleton_permission
9d86d338cfcd5b0b9925cde139d03c225dc9e4ee
[ "MIT" ]
null
null
null
defmodule Skeleton.Permission do @callback context(Any.t()) :: Map.t() defmacro __using__(_opts) do quote do import Skeleton.Permission def context(_, _), do: %{} def preload_data(context, _), do: context def preload_data(_, _, items), do: items def check(_, _), do: false ...
21.441176
86
0.635117
e8c124bad722517bae261accd85d203d7993221f
499
exs
Elixir
apps/neoscan/priv/repo/migrations/20180607000004_vins.exs
decentralisedkev/neo-scan
c8a35a0952e8c46d40365e0ac76bce361ac5e558
[ "MIT" ]
null
null
null
apps/neoscan/priv/repo/migrations/20180607000004_vins.exs
decentralisedkev/neo-scan
c8a35a0952e8c46d40365e0ac76bce361ac5e558
[ "MIT" ]
null
null
null
apps/neoscan/priv/repo/migrations/20180607000004_vins.exs
decentralisedkev/neo-scan
c8a35a0952e8c46d40365e0ac76bce361ac5e558
[ "MIT" ]
null
null
null
defmodule Neoscan.Repo.Migrations.Vins do use Ecto.Migration def change do create table(:vins, primary_key: false) do add(:transaction_hash, :binary, null: false) add(:vout_transaction_hash, :binary, null: false, primary_key: true) add(:vout_n, :integer, null: false, primary_key: true) ...
27.722222
74
0.681363
e8c13964c0d542f4956b0b91765b03b3ab38741f
1,570
ex
Elixir
web/web.ex
praveenperera/phoenix-dokku-example
fc4bfe98e016dfe6eb1f74449b3a8d292dbce137
[ "MIT" ]
1
2015-10-05T20:58:46.000Z
2015-10-05T20:58:46.000Z
web/web.ex
praveenperera/phoenix-dokku-example
fc4bfe98e016dfe6eb1f74449b3a8d292dbce137
[ "MIT" ]
null
null
null
web/web.ex
praveenperera/phoenix-dokku-example
fc4bfe98e016dfe6eb1f74449b3a8d292dbce137
[ "MIT" ]
null
null
null
defmodule PhoenixDokkuExample.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use PhoenixDokkuExample.Web, :controller use PhoenixDokkuExample.Web, :view The definitions below will be executed for every view,...
20.933333
88
0.679618
e8c14406a6f21980c05c7fc9230bc583ad848adc
6,634
exs
Elixir
test/uniq_test.exs
edwardzhou/uniq
e148e43ce4c59c115791b046ade46ab75901649a
[ "Apache-2.0" ]
17
2021-06-05T09:14:08.000Z
2022-03-13T09:41:22.000Z
test/uniq_test.exs
edwardzhou/uniq
e148e43ce4c59c115791b046ade46ab75901649a
[ "Apache-2.0" ]
1
2021-06-09T15:46:46.000Z
2021-06-09T15:46:46.000Z
test/uniq_test.exs
edwardzhou/uniq
e148e43ce4c59c115791b046ade46ab75901649a
[ "Apache-2.0" ]
2
2021-06-09T09:01:15.000Z
2022-02-07T01:07:23.000Z
defmodule Uniq.Test do use ExUnit.Case, async: true import ExUnitProperties import Uniq.Test.Generators doctest Uniq.UUID alias Uniq.UUID setup do default = %{ nil => "00000000-0000-0000-0000-000000000000", 1 => "92fef5d6-c639-11eb-b8bc-0242ac130003", # generated in the :dns namespa...
30.0181
96
0.610341
e8c162a0a6e1c6a55deb42a97d7f39f28f9928f4
291
exs
Elixir
elixir/two-fer/two_fer.exs
jjdonov/Exercism
3585420c5b0e74ea51a6fbd60e8263620061a1d9
[ "MIT" ]
null
null
null
elixir/two-fer/two_fer.exs
jjdonov/Exercism
3585420c5b0e74ea51a6fbd60e8263620061a1d9
[ "MIT" ]
null
null
null
elixir/two-fer/two_fer.exs
jjdonov/Exercism
3585420c5b0e74ea51a6fbd60e8263620061a1d9
[ "MIT" ]
null
null
null
defmodule TwoFer do @doc """ Two-fer or 2-fer is short for two for one. One for you and one for me. """ @spec two_fer(String.t()) :: String.t() def two_fer(name) when is_bitstring(name) do "One for #{name}, one for me" end def two_fer do "One for you, one for me" end end
24.25
72
0.646048
e8c17525d07074d0ac5d2761eac0aad0fb4c7beb
962
ex
Elixir
lib/ex_component_schema/validator/maximum.ex
lenra-io/ex_component_schema
a051ba94057cdd3218c4625e24f56a834a586aa6
[ "MIT" ]
2
2022-03-18T08:52:29.000Z
2022-03-18T08:52:33.000Z
lib/ex_component_schema/validator/maximum.ex
lenra-io/ex_component_schema
a051ba94057cdd3218c4625e24f56a834a586aa6
[ "MIT" ]
8
2021-09-15T11:52:45.000Z
2022-01-10T13:13:53.000Z
lib/ex_component_schema/validator/maximum.ex
lenra-io/ex_component_schema
a051ba94057cdd3218c4625e24f56a834a586aa6
[ "MIT" ]
null
null
null
defmodule ExComponentSchema.Validator.Maximum do @moduledoc """ `ExComponentSchema.Validator` implementation for `"maximum"` attributes. See: """ alias ExComponentSchema.Schema.Root alias ExComponentSchema.Validator.Error @behaviour ExComponentSchema.Validator @impl ExComponentSchema.Validator de...
22.904762
79
0.683992
e8c199b7964dd9d36d73c173d0bf81a0e7cf121e
1,117
exs
Elixir
config/config.exs
jbrisbin/exslackbot
dcf51ca63685b93afe93f8e317f2808e32e95569
[ "Apache-2.0" ]
4
2016-10-17T20:30:32.000Z
2016-10-21T16:24:28.000Z
config/config.exs
jbrisbin/exslackbot
dcf51ca63685b93afe93f8e317f2808e32e95569
[ "Apache-2.0" ]
null
null
null
config/config.exs
jbrisbin/exslackbot
dcf51ca63685b93afe93f8e317f2808e32e95569
[ "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.032258
73
0.756491
e8c19e3dcb8233fa979df14ef069e8bbb0dee16c
1,953
exs
Elixir
mix.exs
wevtimoteo/afk
a78457e59655c6999905ddb8d59a54e7d781c170
[ "MIT" ]
null
null
null
mix.exs
wevtimoteo/afk
a78457e59655c6999905ddb8d59a54e7d781c170
[ "MIT" ]
null
null
null
mix.exs
wevtimoteo/afk
a78457e59655c6999905ddb8d59a54e7d781c170
[ "MIT" ]
1
2020-01-06T13:52:14.000Z
2020-01-06T13:52:14.000Z
defmodule AFK.MixProject do @moduledoc false use Mix.Project @version "0.1.0" @source_url "https://github.com/doughsay/afk" def project do [ app: :afk, version: @version, elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, ...
21.7
77
0.557092
e8c1c3771f38ccba42a17648e3da377e846c31ce
848
exs
Elixir
wadm/mix.exs
wasmCloud/lattice-controller
f965ee6ed367904d5efe3bd7475a4e24ea578254
[ "Apache-2.0" ]
2
2021-08-31T12:55:58.000Z
2021-09-04T13:20:22.000Z
wadm/mix.exs
wasmCloud/lattice-controller
f965ee6ed367904d5efe3bd7475a4e24ea578254
[ "Apache-2.0" ]
5
2021-08-30T13:49:49.000Z
2021-09-27T18:45:00.000Z
wadm/mix.exs
wasmCloud/lattice-controller
f965ee6ed367904d5efe3bd7475a4e24ea578254
[ "Apache-2.0" ]
1
2021-08-31T13:10:34.000Z
2021-08-31T13:10:34.000Z
defmodule Wadm.MixProject do use Mix.Project def project do [ app: :wadm, version: "0.1.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, elixirc_paths: compiler_paths(Mix.env()), deps: deps() ] end def application do [ extra_applications: [:logg...
21.74359
80
0.524764
e8c1ce2a40f7e8dfe37144c1496ae1ce61d57c15
228
exs
Elixir
functions/one_function_multiple_bodies/omb1.exs
leogtzr/elixir_code_snippets
5c8c921dc165de8fc29bb14046386efa81ce7542
[ "MIT" ]
null
null
null
functions/one_function_multiple_bodies/omb1.exs
leogtzr/elixir_code_snippets
5c8c921dc165de8fc29bb14046386efa81ce7542
[ "MIT" ]
null
null
null
functions/one_function_multiple_bodies/omb1.exs
leogtzr/elixir_code_snippets
5c8c921dc165de8fc29bb14046386efa81ce7542
[ "MIT" ]
null
null
null
handle_open = fn {:ok, file} -> "Read data: #{IO.read(file, :line)}" {_, error} -> "Error: #{:file.format_error(error)}" end IO.puts handle_open.(File.open("/etc/passwd")) IO.puts handle_open.(File.open("/etc/not-found"))
25.333333
53
0.640351
e8c1dd6c60a3c7dba1eecbba2d61d0fa9274b6b3
30,419
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/public_delegated_prefixes.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/api/public_delegated_prefixes.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/api/public_delegated_prefixes.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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...
56.540892
1,450
0.646964
e8c1f3850c35218448a1416167cc052c5a615b6c
2,918
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/attribute_definition.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/attribute_definition.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/health_care/lib/google_api/health_care/v1beta1/model/attribute_definition.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...
47.064516
263
0.723441
e8c227ab2b2b6c2cb4cdbd9ab1fa3162698c6c43
570
ex
Elixir
ears/lib/sensor/pubsub.ex
mashbytes/sentry
d4b13419694d0e30199af6ff0f8a2b68ef54fefa
[ "MIT" ]
null
null
null
ears/lib/sensor/pubsub.ex
mashbytes/sentry
d4b13419694d0e30199af6ff0f8a2b68ef54fefa
[ "MIT" ]
2
2021-03-09T20:59:23.000Z
2021-05-10T18:01:00.000Z
ears/lib/sensor/pubsub.ex
mashbytes/sentry
d4b13419694d0e30199af6ff0f8a2b68ef54fefa
[ "MIT" ]
null
null
null
defmodule Ears.Sensor.PubSub do require Logger alias Ears.Events @name Ears.PubSub @topic "state" def subscribe() do Phoenix.PubSub.subscribe(@name, @topic) end def broadcast(:offline, since) do broadcast(Events.Offline.new(since)) end def broadcast(:noisy, since) do broadcast(Events...
17.8125
52
0.698246
e8c24d44f13fafa7402c681be4cf26d6190837b1
1,803
exs
Elixir
config/config.exs
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
config/config.exs
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
config/config.exs
Future-Made/concerts-for-impact
5532cd1be5252fa0ccb0b956f0961be8701e0e04
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config # Configures the endpoint config :FutureMadeConc...
29.557377
96
0.7665
e8c25244cdb6b2414b18fc35b14778336aafdd9e
1,226
ex
Elixir
test/support/helpers.ex
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
test/support/helpers.ex
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
test/support/helpers.ex
maartenvanvliet/earmark
6e0e4ae202728fa7b1f0e3e10ef982a167120450
[ "Apache-1.1" ]
null
null
null
defmodule Support.Helpers do alias Earmark.Block.IdDef alias Earmark.Context ############### # Helpers.... # ############### def context do %Earmark.Context{} end def as_ast(markdown, options \\ []) do Earmark.as_ast(markdown, struct(Earmark.Options, options)) end def as_html(markdown, ...
20.779661
64
0.617455
e8c275004722828d8ffa112c2a198456e16f7604
2,690
exs
Elixir
exercism/elixir/sublist/sublist_test.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
2
2017-05-19T18:31:38.000Z
2017-05-19T18:31:41.000Z
exercism/elixir/sublist/sublist_test.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
null
null
null
exercism/elixir/sublist/sublist_test.exs
GimliLongBow/exercises
e06517eacccd37a889c5d68a702de7ffb7f4bf37
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("sublist.exs") end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule SublistTest do use ExUnit.Case test "empty equals empty" do assert Sublist.compare([], []) == :equal end #@tag :pending test "empty is a sublist of...
23.80531
77
0.631599
e8c2b17b835764e827ad0ee148879eec212a9bb0
8,474
ex
Elixir
lib/managed_ring.ex
kianmeng/librin
d9a06d68bd09dd5abbcbb3d20a5de14ee3c6ea5a
[ "MIT" ]
null
null
null
lib/managed_ring.ex
kianmeng/librin
d9a06d68bd09dd5abbcbb3d20a5de14ee3c6ea5a
[ "MIT" ]
null
null
null
lib/managed_ring.ex
kianmeng/librin
d9a06d68bd09dd5abbcbb3d20a5de14ee3c6ea5a
[ "MIT" ]
null
null
null
defmodule HashRing.Managed do @moduledoc """ This module defines the API for working with hash rings where the ring state is managed in a GenServer process. There is a performance penalty with working with the ring this way, but it is the best approach if you need to share the ring across multiple processes,...
37.004367
117
0.649516
e8c2da6bce43f7b46b96949cddd24da44050f547
1,027
ex
Elixir
lib/httparrot/set_cookies_handler.ex
idabmat/httparrot
1bc15bf4c7330341b36f7dc7d933285cda7bbf67
[ "MIT" ]
null
null
null
lib/httparrot/set_cookies_handler.ex
idabmat/httparrot
1bc15bf4c7330341b36f7dc7d933285cda7bbf67
[ "MIT" ]
null
null
null
lib/httparrot/set_cookies_handler.ex
idabmat/httparrot
1bc15bf4c7330341b36f7dc7d933285cda7bbf67
[ "MIT" ]
null
null
null
defmodule HTTParrot.SetCookiesHandler do @moduledoc """ Sets one or more simple cookies. """ use HTTParrot.Cowboy, methods: ~w(GET HEAD OPTIONS) def malformed_request(req, state) do {qs_vals, req} = :cowboy_req.qs_vals(req) {name, req} = :cowboy_req.binding(:name, req, nil) if name do {valu...
30.205882
90
0.632911
e8c2fd8f2c401b18a40bb7188b06413e856f8b74
336
ex
Elixir
lib/emojibot.ex
Jinra/emojibot
fcf0b527480df37f6398f93051d6e97ce13f87cd
[ "MIT" ]
14
2020-04-23T21:40:06.000Z
2022-03-14T13:45:44.000Z
lib/emojibot.ex
Jinra/emojibot
fcf0b527480df37f6398f93051d6e97ce13f87cd
[ "MIT" ]
null
null
null
lib/emojibot.ex
Jinra/emojibot
fcf0b527480df37f6398f93051d6e97ce13f87cd
[ "MIT" ]
3
2020-10-09T01:01:05.000Z
2021-06-08T00:25:47.000Z
defmodule Emojibot do use Application def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(Slack.Bot, [Emojibot.Bot, [], Application.get_env(:slack, :api_token)]) ] opts = [strategy: :one_for_one, name: Emojibot.Supervisor] Supervisor.start_link(children, ...
21
84
0.684524
e8c30d95747cdbb86e8ac35e17f34a75d2447066
1,021
exs
Elixir
mix.exs
rafalgolarz/claritas
d834160d183ab31457bf56a792c9dacd2cc1bb63
[ "MIT" ]
1
2020-03-29T16:31:51.000Z
2020-03-29T16:31:51.000Z
mix.exs
rafalgolarz/claritas
d834160d183ab31457bf56a792c9dacd2cc1bb63
[ "MIT" ]
null
null
null
mix.exs
rafalgolarz/claritas
d834160d183ab31457bf56a792c9dacd2cc1bb63
[ "MIT" ]
null
null
null
defmodule Claritas.MixProject do use Mix.Project def project do [ app: :claritas, version: "0.1.1", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps() ] end # Run "mix help compile.app" to learn ...
21.723404
87
0.574927
e8c32e5b40620d1995ae927894d8e3839ea3c090
1,702
exs
Elixir
test/singyeong_web/controllers/generic_controller_test.exs
queer/singyeong
3d2f5c1052100ed70bb3a4dddd8e22e3ef0df15a
[ "BSD-3-Clause" ]
70
2018-10-25T06:06:37.000Z
2022-03-14T19:51:56.000Z
test/singyeong_web/controllers/generic_controller_test.exs
queer/singyeong
3d2f5c1052100ed70bb3a4dddd8e22e3ef0df15a
[ "BSD-3-Clause" ]
140
2019-02-19T06:52:59.000Z
2022-03-01T11:13:41.000Z
test/singyeong_web/controllers/generic_controller_test.exs
queer/singyeong
3d2f5c1052100ed70bb3a4dddd8e22e3ef0df15a
[ "BSD-3-Clause" ]
9
2019-03-20T12:17:28.000Z
2021-03-11T18:51:00.000Z
defmodule SingyeongWeb.GenericControllerTest do use SingyeongWeb.ConnCase use SingyeongWeb.ChannelCase alias Singyeong.Gateway alias Singyeong.Gateway.Handler.Identify alias Singyeong.Gateway.Payload alias Singyeong.PluginManager alias Singyeong.Store alias Singyeong.Utils alias SingyeongWeb.Router.He...
23.315068
72
0.589307
e8c3517944ad9017fcc85d67936658fba310b557
634
exs
Elixir
mix.exs
danpker/elixir-otp-guidebook
9c04f498207d6f397ecaa02d1dfba0861e425728
[ "MIT" ]
null
null
null
mix.exs
danpker/elixir-otp-guidebook
9c04f498207d6f397ecaa02d1dfba0861e425728
[ "MIT" ]
null
null
null
mix.exs
danpker/elixir-otp-guidebook
9c04f498207d6f397ecaa02d1dfba0861e425728
[ "MIT" ]
null
null
null
defmodule ElixirOtpGuidebook.MixProject do use Mix.Project def project do [ app: :elixir_otp_guidebook, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application ...
21.133333
87
0.580442
e8c377629b4c589effebb7bf595770a88f6c0cec
170
ex
Elixir
lib/conduit/blog/events/article_unfavorited.ex
fpauser/conduit
8721f72c75ae702992283e05ac9b992495274458
[ "MIT" ]
298
2017-06-05T14:28:23.000Z
2022-03-30T16:53:44.000Z
lib/conduit/blog/events/article_unfavorited.ex
fpauser/conduit
8721f72c75ae702992283e05ac9b992495274458
[ "MIT" ]
28
2017-07-21T01:06:47.000Z
2021-03-07T12:32:56.000Z
lib/conduit/blog/events/article_unfavorited.ex
fpauser/conduit
8721f72c75ae702992283e05ac9b992495274458
[ "MIT" ]
77
2017-08-14T20:12:03.000Z
2021-12-08T22:24:59.000Z
defmodule Conduit.Blog.Events.ArticleUnfavorited do @derive Jason.Encoder defstruct [ :article_uuid, :unfavorited_by_author_uuid, :favorite_count ] end
18.888889
51
0.752941
e8c3804b2bb5415d77c7ea25d8b1114d1ee3b623
1,323
ex
Elixir
lib/adyen_checkout_ex/model/card_details.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
1
2021-05-30T20:45:10.000Z
2021-05-30T20:45:10.000Z
lib/adyen_checkout_ex/model/card_details.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
lib/adyen_checkout_ex/model/card_details.ex
rsystem-se/adyen_checkout_ex
4210f1c7150152e81f350dc6ca55aeb19665b85b
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule AdyenCheckoutEx.Model.CardDetails do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"cupsecureplus.smscode", :"cvc", ...
25.442308
91
0.636432
e8c3951e2b4bba8a36457359a0366f2673dbe7f4
272
exs
Elixir
sphinx_ex/test/sphinx_ex_web/views/layout_view_test.exs
maxneuvians/sphinx_ex
27109d56ebe51c83cde70d44467dabed70b10103
[ "MIT" ]
null
null
null
sphinx_ex/test/sphinx_ex_web/views/layout_view_test.exs
maxneuvians/sphinx_ex
27109d56ebe51c83cde70d44467dabed70b10103
[ "MIT" ]
null
null
null
sphinx_ex/test/sphinx_ex_web/views/layout_view_test.exs
maxneuvians/sphinx_ex
27109d56ebe51c83cde70d44467dabed70b10103
[ "MIT" ]
null
null
null
defmodule SphinxExWeb.LayoutViewTest do use SphinxExWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30.222222
65
0.768382
e8c39acdfc6dcb0311fed6327da590f835e3f945
30,585
ex
Elixir
lib/elixir/lib/calendar/date.ex
LaudateCorpus1/elixir
b131f874640775fdf08707d5b2fbbc1e91722cd0
[ "Apache-2.0" ]
2
2021-11-10T01:18:14.000Z
2021-11-10T01:35:54.000Z
lib/elixir/lib/calendar/date.ex
LaudateCorpus1/elixir
b131f874640775fdf08707d5b2fbbc1e91722cd0
[ "Apache-2.0" ]
1
2021-10-21T08:22:30.000Z
2021-10-21T08:22:30.000Z
lib/elixir/lib/calendar/date.ex
LaudateCorpus1/elixir
b131f874640775fdf08707d5b2fbbc1e91722cd0
[ "Apache-2.0" ]
1
2021-11-08T10:21:27.000Z
2021-11-08T10:21:27.000Z
defmodule Date do @moduledoc """ A Date struct and functions. The Date struct contains the fields year, month, day and calendar. New dates can be built with the `new/3` function or using the `~D` (see `Kernel.sigil_D/2`) sigil: iex> ~D[2000-01-01] ~D[2000-01-01] Both `new/3` and sigil return ...
29.522201
175
0.634984
e8c3a7b1c82588f243fc1fc0b9a05b36f998e15d
3,441
ex
Elixir
lib/auth0_ex/management/user.ex
Harrisonl/auth0_ex
d29cb6a2814cd1c4f20f281478d1143b3415323f
[ "Apache-2.0" ]
null
null
null
lib/auth0_ex/management/user.ex
Harrisonl/auth0_ex
d29cb6a2814cd1c4f20f281478d1143b3415323f
[ "Apache-2.0" ]
null
null
null
lib/auth0_ex/management/user.ex
Harrisonl/auth0_ex
d29cb6a2814cd1c4f20f281478d1143b3415323f
[ "Apache-2.0" ]
null
null
null
defmodule Auth0Ex.Management.User do @moduledoc """ A module representing users on Auth0 """ use Auth0Ex.Api, for: :mgmt @path "users" @doc """ Gets all the users iex> Auth0Ex.Management.User.all() iex> Auth0Ex.Management.User.all(fields: "name", q: "app_metadata.admin:'true'") """ def ...
28.438017
121
0.662307
e8c3a8e9fafa66dbecaf29f5c6dc3f4c0f27dfbe
1,033
ex
Elixir
apps/rig_api/lib/rig_api/router.ex
maxglassie/reactive-interaction-gateway
36b68fc75c71b9b4c3b6bd70fb11900c67172137
[ "Apache-2.0" ]
null
null
null
apps/rig_api/lib/rig_api/router.ex
maxglassie/reactive-interaction-gateway
36b68fc75c71b9b4c3b6bd70fb11900c67172137
[ "Apache-2.0" ]
null
null
null
apps/rig_api/lib/rig_api/router.ex
maxglassie/reactive-interaction-gateway
36b68fc75c71b9b4c3b6bd70fb11900c67172137
[ "Apache-2.0" ]
null
null
null
defmodule RigApi.Router do use RigApi, :router pipeline :api do plug(:put_format, :json) end scope "/v1", RigApi do pipe_through(:api) resources("/messages", MessageController, only: [:create]) scope "/users" do get("/", ChannelsController, :list_channels) get("/:user/sessions", ...
25.195122
72
0.657309
e8c3b69ceeee83abdba4f862ff7a082deb1d95ca
4,249
ex
Elixir
lib/groupher_server/cms/delegates/document.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
2
2018-03-26T08:56:21.000Z
2018-07-02T22:34:51.000Z
lib/groupher_server/cms/delegates/document.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2018-03-21T03:40:50.000Z
2018-07-10T06:33:10.000Z
lib/groupher_server/cms/delegates/document.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
null
null
null
defmodule GroupherServer.CMS.Delegate.Document do @moduledoc """ CURD operation on post/job ... """ import Ecto.Query, warn: false import Helper.Utils, only: [thread_of: 2] import Helper.ErrorCode alias Helper.{ORM, Converter} alias GroupherServer.{CMS, Repo} alias CMS.Model.ArticleDocument alias...
30.568345
85
0.638503
e8c3d47b16684aae844ff7cb520bcd3f13c1922d
1,454
ex
Elixir
clients/content/lib/google_api/content/v2/model/datafeeds_fetch_now_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/datafeeds_fetch_now_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/v2/model/datafeeds_fetch_now_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...
30.93617
156
0.742779
e8c3ec4718e8810e948f040c47e879d0cee5682d
20,347
ex
Elixir
plugins/ucc_chat/lib/ucc_chat_web/channels/room_channel/message.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/lib/ucc_chat_web/channels/room_channel/message.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
plugins/ucc_chat/lib/ucc_chat_web/channels/room_channel/message.ex
josephkabraham/ucx_ucc
0dbd9e3eb5940336b4870cff033482ceba5f6ee7
[ "MIT" ]
null
null
null
defmodule UccChatWeb.RoomChannel.Message do @moduledoc """ Handle message related functionality for Web access. """ use UccLogger use UccChatWeb.Channel.Utils import UcxUccWeb.Gettext import UcxUccWeb.Utils import UcxUcc.Permissions, only: [has_permission?: 3] alias UcxUcc.{Accounts, Repo} alias ...
31.303077
104
0.639357
e8c3f30e07020e447ccde90618936fd593c3ca98
2,935
ex
Elixir
builder/lib/quenya_builder/util.ex
tyrchen/quenya
b9e8ef9e71e0e52b010b930eee66942e30c62ddd
[ "MIT" ]
143
2020-12-01T06:53:36.000Z
2022-03-24T02:33:01.000Z
builder/lib/quenya_builder/util.ex
tyrchen/quenya
b9e8ef9e71e0e52b010b930eee66942e30c62ddd
[ "MIT" ]
2
2020-11-30T05:30:42.000Z
2020-12-17T06:33:17.000Z
builder/lib/quenya_builder/util.ex
tyrchen/quenya
b9e8ef9e71e0e52b010b930eee66942e30c62ddd
[ "MIT" ]
12
2020-12-07T01:22:17.000Z
2020-12-27T12:49:39.000Z
defmodule QuenyaBuilder.Util do @moduledoc """ General utility functions for code generator """ def gen_module_name(app, prefix, name, postfix \\ "") do app_name = gen_app_name(app) name = name |> Recase.to_pascal() case postfix do "" -> "#{app_name}.#{prefix}.#{name}" _ -> "#{app_name...
24.872881
94
0.586031