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
18092e4c9822628651c93fa0ebb4fd8f02c0704a
203
exs
Elixir
config/test.exs
regno-node/ex_monero
bb14065d4b664297aa919a068aa00eb0735eca40
[ "Unlicense", "MIT" ]
7
2017-09-08T18:17:55.000Z
2021-07-11T01:03:40.000Z
config/test.exs
regno-node/ex_monero
bb14065d4b664297aa919a068aa00eb0735eca40
[ "Unlicense", "MIT" ]
11
2017-09-08T10:23:34.000Z
2018-08-24T16:10:09.000Z
config/test.exs
libra-ventures/ex_monero
9ef72502b8334bb9d9d9f27bd30601adfe3fb301
[ "Unlicense", "MIT" ]
2
2018-11-12T06:42:31.000Z
2021-07-11T01:33:34.000Z
use Mix.Config config :logger, level: :warn config :monero, json_codec: Test.JSONCodec config :monero, :wallet, url: "http://127.0.0.1:18081" config :monero, :daemon, url: "http://127.0.0.1:28081"
18.454545
54
0.689655
1809377411d105d46539e359bf107bd0e48fc6f9
578
ex
Elixir
lib/exquickbooks/oauth/credentials.ex
evanob/ExQuickBooks
8c0f64dd658b1a6edfaa338e0cb62b95b9a853e2
[ "0BSD" ]
null
null
null
lib/exquickbooks/oauth/credentials.ex
evanob/ExQuickBooks
8c0f64dd658b1a6edfaa338e0cb62b95b9a853e2
[ "0BSD" ]
null
null
null
lib/exquickbooks/oauth/credentials.ex
evanob/ExQuickBooks
8c0f64dd658b1a6edfaa338e0cb62b95b9a853e2
[ "0BSD" ]
null
null
null
defmodule ExQuickBooks.OAuth.Credentials do @moduledoc """ Pairing of realm_id and access_token ## Structure - `:token` - The bearer access token. - `:realm_id` - ID of the Realm this token is associated with. ## Storing the token You can store the token as is if your storage supports maps (in...
19.266667
76
0.641869
18094bd6ec6a8ffc7beb05b02fb3dd045e45456b
26,239
exs
Elixir
test/assent/strategies/oauth_test.exs
team-alembic/assent
ac8c092860bad2a5bebb35b44115d0d107178bb0
[ "MIT" ]
1
2021-11-10T04:48:07.000Z
2021-11-10T04:48:07.000Z
test/assent/strategies/oauth_test.exs
team-alembic/assent
ac8c092860bad2a5bebb35b44115d0d107178bb0
[ "MIT" ]
null
null
null
test/assent/strategies/oauth_test.exs
team-alembic/assent
ac8c092860bad2a5bebb35b44115d0d107178bb0
[ "MIT" ]
null
null
null
defmodule Assent.Strategy.OAuthTest do use Assent.Test.OAuthTestCase alias Assent.{Config.MissingKeyError, MissingParamError, RequestError, Strategy.OAuth} @private_key """ -----BEGIN RSA PRIVATE KEY----- MIIEogIBAAKCAQEAnzyis1ZjfNB0bBgKFMSvvkTtwlvBsaJq7S5wA+kzeVOVpVWw kWdVha4s38XM/pa/yr47av7+z3VTmv...
50.55684
194
0.698502
1809663df1ec4d796824e302b9cb3c5b19e9a1a5
5,755
ex
Elixir
apps/lims_client/lib/lims_client.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
3
2020-11-24T07:45:26.000Z
2021-07-29T13:37:02.000Z
apps/lims_client/lib/lims_client.ex
mskcc/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
52
2020-10-21T19:47:59.000Z
2021-09-09T18:42:33.000Z
apps/lims_client/lib/lims_client.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
1
2020-12-15T03:33:31.000Z
2020-12-15T03:33:31.000Z
defmodule LimsClient do use Tesla @type manifest_map :: %{ base_set: String.t(), cmo_patient_id: String.t(), cf_dna_2d_barcode: String.t(), cmo_sample_class: String.t(), cmo_sample_name: String.t(), collection_year: String.t(), igo_id: String.t(...
36.656051
1,536
0.616855
1809696cda52e319fa00a241d33932c66e94600b
588
exs
Elixir
test/quiz_site_web/views/error_view_test.exs
rbgraham/quiz_site
57ded7991e355e2cf9f5edecc823b67833ee0ceb
[ "MIT" ]
2
2017-10-30T00:42:01.000Z
2017-10-30T21:29:15.000Z
test/quiz_site_web/views/error_view_test.exs
rbgraham/quiz_site
57ded7991e355e2cf9f5edecc823b67833ee0ceb
[ "MIT" ]
null
null
null
test/quiz_site_web/views/error_view_test.exs
rbgraham/quiz_site
57ded7991e355e2cf9f5edecc823b67833ee0ceb
[ "MIT" ]
null
null
null
defmodule QuizSiteWeb.ErrorViewTest do use QuizSiteWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(QuizSiteWeb.ErrorView, "404.html", []) == "Page not found" end test "render 5...
26.727273
69
0.687075
18097a4cacf8d3d917a5ebe39ebcfef981a7acad
450
exs
Elixir
test/acmex/resource/directory_test.exs
Wynteres/acmex
3ec899673320d14fc127a80531adc8a54a7a3450
[ "MIT" ]
null
null
null
test/acmex/resource/directory_test.exs
Wynteres/acmex
3ec899673320d14fc127a80531adc8a54a7a3450
[ "MIT" ]
null
null
null
test/acmex/resource/directory_test.exs
Wynteres/acmex
3ec899673320d14fc127a80531adc8a54a7a3450
[ "MIT" ]
null
null
null
defmodule Acmex.Resource.DirectoryTest do use ExUnit.Case, async: true alias Acmex.Config alias Acmex.Resource.Directory describe "new/1" do test "returns a directory struct" do assert {:ok, %Directory{}} = Directory.new(Config.directory_url()) end test "when directory URL is invalid, retur...
26.470588
95
0.695556
18097abe65a2afba25b650e29a78dbf2a7e3c355
1,680
exs
Elixir
elixir_spec/config/dev.exs
bit4bit/phoenixchannels.cr
ef0956ba233b3a2e6ea0c4ba0f1806dc77959df3
[ "MIT" ]
null
null
null
elixir_spec/config/dev.exs
bit4bit/phoenixchannels.cr
ef0956ba233b3a2e6ea0c4ba0f1806dc77959df3
[ "MIT" ]
null
null
null
elixir_spec/config/dev.exs
bit4bit/phoenixchannels.cr
ef0956ba233b3a2e6ea0c4ba0f1806dc77959df3
[ "MIT" ]
null
null
null
import 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 esbuild to bundle .js and .css sources. config :elixir_spec, ElixirSpecWeb.Endpoint, # Binding to l...
32.307692
86
0.727976
180983406903aaebd5463d4c85f15a57ba511c75
2,210
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/index_unused_reason.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/index_unused_reason.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/index_unused_reason.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.464286
188
0.713122
18098f4b55f0ad1fbb1836af18ec450653d04dbb
1,872
exs
Elixir
integration_test/pg/lock_test.exs
scrogson/ecto
fdcf807901683c73c1117d89751e0d5a7a318154
[ "Apache-2.0" ]
null
null
null
integration_test/pg/lock_test.exs
scrogson/ecto
fdcf807901683c73c1117d89751e0d5a7a318154
[ "Apache-2.0" ]
null
null
null
integration_test/pg/lock_test.exs
scrogson/ecto
fdcf807901683c73c1117d89751e0d5a7a318154
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.LockTest do use Ecto.Integration.Postgres.Case import Ecto.Query alias Ecto.Adapters.Postgres defmodule TestRepo1 do use Ecto.Repo, adapter: Postgres def conf do parse_url "ecto://postgres:postgres@localhost/ecto_test?size=10" end end defmodule LockCounter do...
23.111111
97
0.605769
18099f9d8f91b8bedcbc37ece49fe4e5571885d3
111
ex
Elixir
test/support/data_helpers.ex
bonfire-networks/bonfire_editor_ck
a215d58d1e81119bdb6d8ea609615269db3112fa
[ "MIT" ]
1
2022-03-11T13:09:11.000Z
2022-03-11T13:09:11.000Z
test/support/data_helpers.ex
bonfire-networks/bonfire_editor_ck
a215d58d1e81119bdb6d8ea609615269db3112fa
[ "MIT" ]
null
null
null
test/support/data_helpers.ex
bonfire-networks/bonfire_editor_ck
a215d58d1e81119bdb6d8ea609615269db3112fa
[ "MIT" ]
null
null
null
defmodule Bonfire.Editor.Ck.DataHelpers do # import ExUnit.Assertions # alias Bonfire.Editor.Ck.Fake end
15.857143
42
0.774775
1809a119eb1ad54a957db4bd7443700eba102169
244
exs
Elixir
priv/repo/migrations/20170302143018_create_category.exs
jameslafa/rumbl
07f38480884535c9cdecd60b5e42eadfd6f15c20
[ "MIT" ]
144
2015-04-30T15:12:46.000Z
2022-01-07T03:40:26.000Z
priv/repo/migrations/20170302143018_create_category.exs
jameslafa/rumbl
07f38480884535c9cdecd60b5e42eadfd6f15c20
[ "MIT" ]
57
2015-04-29T11:26:54.000Z
2022-01-05T13:35:10.000Z
priv/repo/migrations/20170302143018_create_category.exs
jameslafa/rumbl
07f38480884535c9cdecd60b5e42eadfd6f15c20
[ "MIT" ]
46
2015-06-12T11:26:15.000Z
2021-12-15T00:38:26.000Z
defmodule Rumbl.Repo.Migrations.CreateCategory do use Ecto.Migration def change do create table(:categories) do add :name, :string, null: false timestamps() end create unique_index(:categories, [:name]) end end
17.428571
49
0.684426
1809c7ae846a6ce0ef10203b6fa49f7d0082bd73
1,211
ex
Elixir
lib/image64.ex
Mechasparrow/image64
61b884610167808178bf3ebe5149e0d077846f8c
[ "MIT" ]
11
2016-08-06T20:04:13.000Z
2019-04-25T16:52:10.000Z
lib/image64.ex
Mechasparrow/image64
61b884610167808178bf3ebe5149e0d077846f8c
[ "MIT" ]
null
null
null
lib/image64.ex
Mechasparrow/image64
61b884610167808178bf3ebe5149e0d077846f8c
[ "MIT" ]
1
2019-04-25T16:52:17.000Z
2019-04-25T16:52:17.000Z
defmodule ImageBase64Handler do ## Note that these are url encoding and decoding import Base def base64urlFileToImage(fileInputPath, fileOutputPath) do {:ok, base64data} = File.read(fileInputPath) base64urlToImage(base64data, fileOutputPath) end def base64urlToImage(base64data, fileOutputPath) do ...
27.522727
60
0.708505
1809f86916daf4538d113c12393e11ced1a203e6
227
ex
Elixir
lib/prometheus_timer/web/router.ex
expert360/prometheus_timer
047453c53eefd429565cd5caccf76bdd2b87b533
[ "Apache-2.0" ]
5
2018-07-24T03:16:06.000Z
2020-07-29T05:52:26.000Z
lib/prometheus_timer/web/router.ex
expert360/prometheus_timer
047453c53eefd429565cd5caccf76bdd2b87b533
[ "Apache-2.0" ]
3
2018-07-23T06:17:33.000Z
2018-07-24T00:45:23.000Z
lib/prometheus_timer/web/router.ex
expert360/prometheus_timer
047453c53eefd429565cd5caccf76bdd2b87b533
[ "Apache-2.0" ]
2
2018-07-24T10:57:03.000Z
2019-11-08T03:08:17.000Z
defmodule PrometheusTimer.Web.Router do @moduledoc false use Plug.Router plug PrometheusTimer.Web.Exporter plug :match plug :dispatch match _ do conn |> send_resp(404, "not found") |> halt() end end
15.133333
39
0.682819
1809f9a953ee0d24b633285dd4dea1824a9063aa
250
ex
Elixir
lib/api/routes/v1/router.ex
LeonardSSH/lanyard
407bc5c7dfcfcaf28ee72a70dc8695c39980f87d
[ "MIT" ]
323
2021-03-12T17:42:44.000Z
2022-03-31T21:32:30.000Z
lib/api/routes/v1/router.ex
LeonardSSH/lanyard
407bc5c7dfcfcaf28ee72a70dc8695c39980f87d
[ "MIT" ]
56
2021-03-22T12:30:36.000Z
2022-03-25T17:56:01.000Z
lib/api/routes/v1/router.ex
LeonardSSH/lanyard
407bc5c7dfcfcaf28ee72a70dc8695c39980f87d
[ "MIT" ]
113
2021-03-13T17:30:36.000Z
2022-03-29T13:19:24.000Z
defmodule Lanyard.Api.Routes.V1 do import Plug.Conn alias Lanyard.Api.Util alias Lanyard.Api.Routes.V1.Users use Plug.Router plug(:match) plug(:dispatch) forward("/users", to: Users) match _ do Util.not_found(conn) end end
13.888889
35
0.696
180a1258193c0ed2637b6ff265318a8c074c2d07
180
ex
Elixir
lib/vispana_web/helpers.ex
vispana/vispana
56ecb821938b78bfb83cf14748afaf0e400870b9
[ "MIT" ]
30
2022-02-16T13:02:14.000Z
2022-03-24T12:47:35.000Z
lib/vispana_web/helpers.ex
vispana/vispana
56ecb821938b78bfb83cf14748afaf0e400870b9
[ "MIT" ]
5
2022-02-16T02:21:01.000Z
2022-03-13T09:29:56.000Z
lib/vispana_web/helpers.ex
vispana/vispana
56ecb821938b78bfb83cf14748afaf0e400870b9
[ "MIT" ]
null
null
null
defmodule VispanaWeb.Helpers do use Number def format_number(value) do Number.Delimit.number_to_delimited(value, delimiter: " ", separator: ",", precision: 0) end end
18
91
0.727778
180a1e35cfc735adb23c9ad5236708ba65dcd092
5,124
ex
Elixir
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/api/adclients.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/api/adclients.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/api/adclients.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 "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43.423729
217
0.696916
180a30e260dc9f7321cbe141bb4a89d72ddcaed2
2,488
exs
Elixir
test/breaking_bad_test.exs
tv4-infrastruktur/breaking_bad
b23f11130320339c50677870f4f06e9ad64f3d00
[ "MIT" ]
null
null
null
test/breaking_bad_test.exs
tv4-infrastruktur/breaking_bad
b23f11130320339c50677870f4f06e9ad64f3d00
[ "MIT" ]
null
null
null
test/breaking_bad_test.exs
tv4-infrastruktur/breaking_bad
b23f11130320339c50677870f4f06e9ad64f3d00
[ "MIT" ]
null
null
null
defmodule BreakingBadTest do use ExUnit.Case import BreakingBad.CircuitBreaker setup do reinit(:test) subscribe(:test) on_exit(fn -> unsubscribe(:test) end) :ok end test "state" do assert state(:test) == %{ name: :test, threshold: 2, threshold_ms: 1...
22.214286
95
0.586013
180a4649d8c202cb42ac4552f8054cac31806cdd
807
exs
Elixir
test/lib/dwolla/on_demand_authorization_test.exs
axlepayments/exdwolla
e54fec29458616757338d9bda8f2ad81dd6db225
[ "MIT" ]
5
2022-01-20T11:33:40.000Z
2022-01-21T14:41:20.000Z
test/lib/dwolla/on_demand_authorization_test.exs
axlepayments/exdwolla
e54fec29458616757338d9bda8f2ad81dd6db225
[ "MIT" ]
null
null
null
test/lib/dwolla/on_demand_authorization_test.exs
axlepayments/exdwolla
e54fec29458616757338d9bda8f2ad81dd6db225
[ "MIT" ]
null
null
null
defmodule Dwolla.OnDemandAuthorizationTest do use ExUnit.Case import Dwolla.Factory alias Dwolla.OnDemandAuthorization alias Plug.Conn setup do bypass = Bypass.open() Application.put_env(:dwolla, :root_uri, "http://localhost:#{bypass.port}/") {:ok, bypass: bypass} end describe "on-demand-...
27.827586
96
0.712515
180a79da43795c83105b4936ba8ade55c12101f8
1,973
ex
Elixir
lib/tirexs/dsl/logic.ex
brightroll/tirexs
7bddd93c11a852ade2747c478bd2cebbc6932d50
[ "Apache-2.0" ]
null
null
null
lib/tirexs/dsl/logic.ex
brightroll/tirexs
7bddd93c11a852ade2747c478bd2cebbc6932d50
[ "Apache-2.0" ]
null
null
null
lib/tirexs/dsl/logic.ex
brightroll/tirexs
7bddd93c11a852ade2747c478bd2cebbc6932d50
[ "Apache-2.0" ]
null
null
null
defmodule Tirexs.DSL.Logic do @moduledoc """ Defines a main module which provides a common contract for DSL handlers and common utilities. """ @doc false defmacro __using__(_) do quote do @behaviour unquote(Tirexs.DSL.Behaviour) import unquote(__MODULE__), only: :functions def extract(...
22.420455
95
0.617841
180a7ffd5fe3e52e9f30b1ee3ab0c9c5ae4b5cbb
2,897
exs
Elixir
test/exchema_test.exs
bamorim/exchema
4e11136fae6092e0e64870b455fd6a68cf36603c
[ "Apache-2.0" ]
21
2018-01-06T22:33:20.000Z
2020-02-07T18:49:22.000Z
test/exchema_test.exs
bamorim/exchema
4e11136fae6092e0e64870b455fd6a68cf36603c
[ "Apache-2.0" ]
5
2018-02-15T16:39:14.000Z
2018-11-30T21:06:08.000Z
test/exchema_test.exs
bamorim/exchema
4e11136fae6092e0e64870b455fd6a68cf36603c
[ "Apache-2.0" ]
4
2018-05-21T21:26:27.000Z
2019-04-17T16:45:14.000Z
defmodule ExchemaTest do use ExUnit.Case doctest Exchema @moduletag :basic defmodule IntegerType do @behaviour Exchema.Type def __type__(_), do: {:ref, :any, [{{Predicates, :is_integer}, nil}]} end defmodule PositiveIntegerType do @behaviour Exchema.Type def __type__(_), do: {:ref, Intege...
30.494737
97
0.644115
180a83d9983630e0b62b3a0c484457b24cbf33b8
92
ex
Elixir
testData/org/elixir_lang/parser_definition/interpolated_string_sigil_heredoc_parsing_test_case/EscapeSequences.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/interpolated_string_sigil_heredoc_parsing_test_case/EscapeSequences.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/interpolated_string_sigil_heredoc_parsing_test_case/EscapeSequences.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~s""" \""" \#{} \" \0 \1 \a \b \d \e \f \b \r \s \v \u1234 \x12 \ \u{100000} \x{100000} """
4.181818
10
0.369565
180aa07f3dd1deaaa22d64730cf998feead47235
1,025
exs
Elixir
priv/repo/migrations/20200528175158_optimize_conversion_helpers.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
2,602
2019-07-24T23:19:12.000Z
2022-03-31T15:03:48.000Z
priv/repo/migrations/20200528175158_optimize_conversion_helpers.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
1,547
2019-07-26T22:02:09.000Z
2022-03-31T15:39:41.000Z
priv/repo/migrations/20200528175158_optimize_conversion_helpers.exs
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
524
2019-07-26T17:31:33.000Z
2022-03-29T15:16:36.000Z
defmodule TeslaMate.Repo.Migrations.OptimizeConversionHelpers do use Ecto.Migration def change do execute("DROP FUNCTION IF EXISTS public.convert_km(double precision, text);", &noop/0) execute( """ CREATE OR REPLACE FUNCTION public.convert_km(n numeric(6,2), unit text) RETURNS numeric(6,...
22.282609
95
0.556098
180abe00f88c532a262865b0f31bd7c28acb9644
2,395
exs
Elixir
utils/shorten_api/test/shorten_api_web/controllers/link_controller_test.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
utils/shorten_api/test/shorten_api_web/controllers/link_controller_test.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
utils/shorten_api/test/shorten_api_web/controllers/link_controller_test.exs
idfumg/ElixirSynopsis
74c668d84300812dd41eb18772aecfb89bc7628b
[ "MIT" ]
null
null
null
defmodule ShortenApiWeb.LinkControllerTest do use ShortenApiWeb.ConnCase alias ShortenApi.Links alias ShortenApi.Links.Link @create_attrs %{hash: "some hash", url: "some url"} @update_attrs %{hash: "some updated hash", url: "some updated url"} @invalid_attrs %{hash: nil, url: nil} def fixture(:link) do...
29.207317
88
0.612109
180ad13ee395e91b7f38ddac90c2175d0e8bcfee
11,376
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/service.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/service.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/service.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...
86.839695
924
0.731892
180adff04110aec28803cb8226e4a0593d3532eb
3,764
ex
Elixir
lib/changelog_web/controllers/admin/post_controller.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
null
null
null
lib/changelog_web/controllers/admin/post_controller.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
null
null
null
lib/changelog_web/controllers/admin/post_controller.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Admin.PostController do use ChangelogWeb, :controller alias Changelog.{Cache, NewsQueue, Post, PostNewsItem} plug :assign_post when action in [:edit, :update, :delete, :publish, :unpublish] plug Authorize, [Policies.Post, :post] plug :scrub_params, "post" when action in [:create, :upd...
28.300752
95
0.61238
180affd0730deadbed8768228ecdaae992245c76
29,834
ex
Elixir
lib/kafka_ex/gen_consumer.ex
homespotter/kafka_ex
768a9cd0fc8b19f460ea9f50bbc70d7ed8bdd423
[ "MIT" ]
536
2015-08-10T03:14:39.000Z
2022-03-24T15:07:33.000Z
lib/kafka_ex/gen_consumer.ex
homespotter/kafka_ex
768a9cd0fc8b19f460ea9f50bbc70d7ed8bdd423
[ "MIT" ]
349
2015-09-16T21:27:42.000Z
2022-03-28T08:51:56.000Z
lib/kafka_ex/gen_consumer.ex
homespotter/kafka_ex
768a9cd0fc8b19f460ea9f50bbc70d7ed8bdd423
[ "MIT" ]
180
2015-09-01T22:58:26.000Z
2022-03-25T16:47:49.000Z
defmodule KafkaEx.GenConsumer do @moduledoc """ A behaviour module for implementing a Kafka consumer. A `KafkaEx.GenConsumer` is an Elixir process that consumes messages from Kafka. A single `KafkaEx.GenConsumer` process consumes from a single partition of a Kafka topic. Several `KafkaEx.GenConsumer` process...
31.109489
86
0.652846
180b20e242e57e7200c029de2ef3cbb4798e2770
2,942
ex
Elixir
test/fixtures/week_calendar.ex
elixir-twister/ez_calendar
4d08f049f4e8cd162e333f1ad296b29297a57621
[ "MIT" ]
7
2016-11-12T07:53:34.000Z
2021-05-19T01:34:27.000Z
test/fixtures/week_calendar.ex
elixir-twister/ez_calendar
4d08f049f4e8cd162e333f1ad296b29297a57621
[ "MIT" ]
1
2017-04-06T15:16:22.000Z
2017-04-06T15:16:22.000Z
test/fixtures/week_calendar.ex
elixir-twister/ez_calendar
4d08f049f4e8cd162e333f1ad296b29297a57621
[ "MIT" ]
2
2017-04-19T15:03:58.000Z
2018-07-04T19:37:10.000Z
defmodule EZCalendar.Fixtures.WeekCalendar do @moduledoc false def calendar do %EZCalendar.WeekCalendar{ dates: [ %{ data: [%EZCalendar.Event{}], day: 30, month: 10, today?: true, weekday: "Sunday", year: 2016 }, %{...
20.573427
47
0.415024
180b2da821d47a1e957fb0eea23e0b810a59cc74
164
ex
Elixir
lib/folder.ex
alexanderttalvarez/elixir_dropbox
a1ce6eb7ba6f9b0b082031fba9797db3f7848b05
[ "MIT" ]
null
null
null
lib/folder.ex
alexanderttalvarez/elixir_dropbox
a1ce6eb7ba6f9b0b082031fba9797db3f7848b05
[ "MIT" ]
null
null
null
lib/folder.ex
alexanderttalvarez/elixir_dropbox
a1ce6eb7ba6f9b0b082031fba9797db3f7848b05
[ "MIT" ]
null
null
null
defmodule ElixirDropbox.Folder do @moduledoc """ """ defstruct id: nil, name: nil, path_display: nil, path_lower: nil end
18.222222
33
0.554878
180b664540dd0e2b2a69cd5b5c315affa112bf92
6,648
ex
Elixir
lib/teslamate/vehicles/vehicle/summary.ex
ograff/teslamate
677891833623df115c5d4fc8278c298697c45a61
[ "MIT" ]
null
null
null
lib/teslamate/vehicles/vehicle/summary.ex
ograff/teslamate
677891833623df115c5d4fc8278c298697c45a61
[ "MIT" ]
null
null
null
lib/teslamate/vehicles/vehicle/summary.ex
ograff/teslamate
677891833623df115c5d4fc8278c298697c45a61
[ "MIT" ]
null
null
null
defmodule TeslaMate.Vehicles.Vehicle.Summary do import TeslaMate.Convert, only: [miles_to_km: 2, mph_to_kmh: 1] alias TeslaApi.Vehicle.State.{Drive, Charge, VehicleState} alias TeslaApi.Vehicle alias TeslaMate.Log.Car defstruct ~w( car display_name state since healthy latitude longitude heading battery_...
39.105882
102
0.703821
180b74ec91c37b7e2560ed3d96dcc2a0aac19217
11,771
exs
Elixir
lib/elixir/test/elixir/string_io_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/test/elixir/string_io_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/test/elixir/string_io_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("test_helper.exs", __DIR__) defmodule StringIOTest do use ExUnit.Case, async: true doctest StringIO test "open and close" do {:ok, pid} = StringIO.open("") assert StringIO.close(pid) == {:ok, {"", ""}} end test "contents" do {:ok, pid} = StringIO.open("abc") IO.write(pid,...
30.028061
89
0.584232
180b768114d279e1264472833446b28a3bb2ee78
1,261
ex
Elixir
lib/addict/routes_helper.ex
moxley/addict
9271c60d9a862edcefc31e8a764b3eb5a5905171
[ "MIT" ]
750
2015-01-18T23:00:36.000Z
2021-03-24T22:11:09.000Z
lib/addict/routes_helper.ex
moxley/addict
9271c60d9a862edcefc31e8a764b3eb5a5905171
[ "MIT" ]
130
2015-01-19T12:39:42.000Z
2021-09-28T22:40:52.000Z
lib/addict/routes_helper.ex
moxley/addict
9271c60d9a862edcefc31e8a764b3eb5a5905171
[ "MIT" ]
151
2015-01-19T09:24:44.000Z
2020-09-21T13:52:46.000Z
defmodule Addict.RoutesHelper do defmacro __using__(_) do quote do import Addict.RoutesHelper end end defmacro addict(:routes, options \\ %{}) do routes = [ {:register, [:get, :post]}, {:login, [:get, :post]}, {:recover_password, [:get, :post]}, {:reset_password, [:get, ...
26.270833
65
0.608247
180bd2a048388c5c5430cd5a45ff2b42b5378836
1,189
exs
Elixir
test/game_of_life/universe/universe_test.exs
rdk08/otp-game-of-life
142740af57f9d49a05b1cf159fe00474956b696f
[ "MIT" ]
null
null
null
test/game_of_life/universe/universe_test.exs
rdk08/otp-game-of-life
142740af57f9d49a05b1cf159fe00474956b696f
[ "MIT" ]
null
null
null
test/game_of_life/universe/universe_test.exs
rdk08/otp-game-of-life
142740af57f9d49a05b1cf159fe00474956b696f
[ "MIT" ]
null
null
null
defmodule GameOfLife.UniverseTest do use ExUnit.Case, async: true alias GameOfLife.Universe test "default values" do output = %Universe{} expected_output = %Universe{cells: [], dimensions: {0, 0}} assert output == expected_output end test "initializes universe" do input = %{ dimension...
19.816667
79
0.495374
180bfb724e09a0a5f30bbbdc8d891e3f7855c864
2,767
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/key.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/key.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/key.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
54.254902
924
0.764004
180c2e31e9177d55882b960701d3243389f68d47
13,378
ex
Elixir
lib/livebook/evaluator.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
lib/livebook/evaluator.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
lib/livebook/evaluator.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Evaluator do @moduledoc false # A process responsible for evaluating notebook code. # # The process receives evaluation request and synchronously # evaluates the given code within itself (rather than spawning a separate process). # It stores the resulting binding and env as part of the s...
31.039443
139
0.662879
180c3dc0ba5a1f0644ead66cdb3cd304356a3ed2
3,360
exs
Elixir
mix.exs
bobwaycott/wallaby
b25e6937f007f6e56be1b7b6a62591db5ac5a240
[ "MIT" ]
null
null
null
mix.exs
bobwaycott/wallaby
b25e6937f007f6e56be1b7b6a62591db5ac5a240
[ "MIT" ]
null
null
null
mix.exs
bobwaycott/wallaby
b25e6937f007f6e56be1b7b6a62591db5ac5a240
[ "MIT" ]
null
null
null
defmodule Wallaby.Mixfile do use Mix.Project @version "0.26.2" @drivers ~w(selenium chrome) @selected_driver System.get_env("WALLABY_DRIVER") @maintainers [ "Chris Keathley", "Tobias Pfeiffer", "Aaron Renner", "Mitchell Hanberg" ] def project do [ app: :wallaby, version: ...
27.540984
87
0.570536
180c57fe0b9b94be243f68b2ca85f36037369f54
2,264
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__object_tracking_frame.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__object_tracking_frame.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1beta2__object_tracking_frame.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.936508
231
0.765901
180c806a24774aca4ecc6dc63ff8b75c6d0719fb
339
exs
Elixir
elixir_backend/clubhouse_phx/priv/repo/migrations/20210613111240_create_users.exs
yusufaine/nus-clubhouse
eae8223d26111bab5e981c95b539c964293908e8
[ "MIT" ]
1
2021-05-16T08:17:37.000Z
2021-05-16T08:17:37.000Z
elixir_backend/clubhouse_phx/priv/repo/migrations/20210613111240_create_users.exs
yusufaine/nus-clubhouse
eae8223d26111bab5e981c95b539c964293908e8
[ "MIT" ]
116
2021-05-29T16:32:51.000Z
2021-08-13T16:05:29.000Z
elixir_backend/clubhouse_phx/priv/repo/migrations/20210613111240_create_users.exs
yusufaine/nus-clubhouse
eae8223d26111bab5e981c95b539c964293908e8
[ "MIT" ]
2
2021-05-23T07:12:40.000Z
2021-10-11T02:59:40.000Z
defmodule ClubhousePhx.Repo.Migrations.CreateUsers do use Ecto.Migration def change do create table(:users) do add :email, :string add :password_hash, :string add :confirmed_at, :utc_datetime add :reset_sent_at, :utc_datetime timestamps() end create unique_index :users, ...
19.941176
53
0.681416
180c8e84e06692e0561cb5c653ed070e8700df6f
4,276
ex
Elixir
lib/rill/entity_store.ex
rill-project/rill
16d35f9dda1ec58190fa6bda9923372834ab456b
[ "MIT" ]
1
2022-01-26T15:06:14.000Z
2022-01-26T15:06:14.000Z
lib/rill/entity_store.ex
rill-project/rill
16d35f9dda1ec58190fa6bda9923372834ab456b
[ "MIT" ]
null
null
null
lib/rill/entity_store.ex
rill-project/rill
16d35f9dda1ec58190fa6bda9923372834ab456b
[ "MIT" ]
null
null
null
defmodule Rill.EntityStore do use Rill.Kernel alias Rill.MessageStore.StreamName alias Rill.EntityProjection alias Rill.Session @scribble tag: :entity_store @includes [:id, :version] @doc """ Returns the entity if no include is provided, otherwise a list with entity as first element and the other ...
25.915152
82
0.572264
180cbf3e403ea8991909c94f33dcc7b8589ee41c
885
ex
Elixir
lib/teslamate/locations/geo_fence.ex
ramonsmits/teslamate
be751ee804d64900821632ad06ab207c19b1ca91
[ "MIT" ]
1
2020-05-06T11:37:20.000Z
2020-05-06T11:37:20.000Z
lib/teslamate/locations/geo_fence.ex
ramonsmits/teslamate
be751ee804d64900821632ad06ab207c19b1ca91
[ "MIT" ]
null
null
null
lib/teslamate/locations/geo_fence.ex
ramonsmits/teslamate
be751ee804d64900821632ad06ab207c19b1ca91
[ "MIT" ]
null
null
null
defmodule TeslaMate.Locations.GeoFence do use Ecto.Schema import Ecto.Changeset schema "geofences" do field :name, :string field :latitude, :decimal, read_after_writes: true field :longitude, :decimal, read_after_writes: true field :radius, :integer field :cost_per_kwh, :decimal, read_after...
25.285714
66
0.684746
180d164c9fbcf07be14c270686e744721da44c8f
640
ex
Elixir
robotica/lib/robotica/plugins/logging.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-04-23T09:16:44.000Z
2019-04-23T09:16:44.000Z
robotica/lib/robotica/plugins/logging.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
107
2019-05-26T08:03:26.000Z
2022-02-03T19:13:56.000Z
robotica/lib/robotica/plugins/logging.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-08-10T20:44:24.000Z
2019-08-10T20:44:24.000Z
defmodule Robotica.Plugins.Logging do use GenServer use Robotica.Plugin require Logger defmodule Config do @moduledoc false @type t :: %__MODULE__{} defstruct [] end ## Server Callbacks def init(plugin) do {:ok, plugin.config} end def config_schema do %{ struct_type: Conf...
17.297297
62
0.626563
180d222833a7bbfcef4ad943d27493b9394ad85d
145
ex
Elixir
lib/pokemon.ex
LauraBeatris/pokecards
7c384edcfd6ca7162c04d8cf4dede2d6c76d0e88
[ "MIT" ]
8
2020-06-17T15:12:59.000Z
2021-03-13T14:51:31.000Z
lib/pokemon.ex
LauraBeatris/pokecards
7c384edcfd6ca7162c04d8cf4dede2d6c76d0e88
[ "MIT" ]
null
null
null
lib/pokemon.ex
LauraBeatris/pokecards
7c384edcfd6ca7162c04d8cf4dede2d6c76d0e88
[ "MIT" ]
1
2020-06-30T19:51:53.000Z
2020-06-30T19:51:53.000Z
defmodule Pokemon do @moduledoc """ Provides a model of a Pokemon """ @moduledoc since: "0.1.0" defstruct name: "", ability: "" end
16.111111
33
0.627586
180d2abac06562e4aa45a5f3d4064122f682e601
6,839
ex
Elixir
lib/toggle.ex
wasnotrice/scenic_toggle
84fcf0f840f0d9ba8d2ed0f64f6b1582e58e64e9
[ "Apache-2.0" ]
9
2018-09-19T06:46:48.000Z
2018-10-04T17:42:31.000Z
lib/toggle.ex
wasnotrice/scenic_toggle
84fcf0f840f0d9ba8d2ed0f64f6b1582e58e64e9
[ "Apache-2.0" ]
null
null
null
lib/toggle.ex
wasnotrice/scenic_toggle
84fcf0f840f0d9ba8d2ed0f64f6b1582e58e64e9
[ "Apache-2.0" ]
null
null
null
defmodule Scenic.Component.Toggle do @moduledoc """ An on/off toggle component See the [Components](Scenic.Toggle.Components.html#toggle/2) module for usage """ use Scenic.Component, has_children: false alias Scenic.Graph alias Scenic.Primitive alias Scenic.Primitive.Group alias Scenic.Primitive.St...
27.914286
96
0.541307
180d385556b5a005e99d367709f12d32829f6083
857
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20180705182907_drop_name_from_exchange_pair.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/priv/repo/migrations/20180705182907_drop_name_from_exchange_pair.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/priv/repo/migrations/20180705182907_drop_name_from_exchange_pair.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
28.566667
74
0.738623
180d4830fc13da3c8b077965a1b53123134e5b40
2,360
ex
Elixir
clients/android_management/lib/google_api/android_management/v1/model/non_compliance_detail_condition.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_management/lib/google_api/android_management/v1/model/non_compliance_detail_condition.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/android_management/lib/google_api/android_management/v1/model/non_compliance_detail_condition.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.528302
298
0.752542
180d9596cdb16070f02333bc864fd96aac3caa0a
307
ex
Elixir
test/support/case.ex
slievr/kcl_ex
c1620ba68b56da1802e6e9fafdb3da14155b90d7
[ "Apache-2.0" ]
4
2017-12-19T15:27:54.000Z
2021-06-04T13:04:49.000Z
test/support/case.ex
slievr/kcl_ex
c1620ba68b56da1802e6e9fafdb3da14155b90d7
[ "Apache-2.0" ]
2
2021-03-05T12:01:24.000Z
2021-12-03T22:34:24.000Z
test/support/case.ex
slievr/kcl_ex
c1620ba68b56da1802e6e9fafdb3da14155b90d7
[ "Apache-2.0" ]
3
2021-02-17T16:14:11.000Z
2021-12-10T05:26:25.000Z
defmodule KinesisClient.Case do use ExUnit.CaseTemplate import Mox using do quote do alias KinesisClient.KinesisMock alias KinesisClient.Stream.AppStateMock import KinesisClient.TestUtil import Mox end end setup :set_mox_from_context setup :verify_on_exit! end
18.058824
45
0.736156
180da07a42b769f12fa6c8a211088669c4ee7c98
63
ex
Elixir
currency/lib/currency_web/views/page_view.ex
ziminyuri/currency_exchange
3d65d466a519816f606b16bb2f304db65105ca9a
[ "Apache-2.0" ]
null
null
null
currency/lib/currency_web/views/page_view.ex
ziminyuri/currency_exchange
3d65d466a519816f606b16bb2f304db65105ca9a
[ "Apache-2.0" ]
null
null
null
currency/lib/currency_web/views/page_view.ex
ziminyuri/currency_exchange
3d65d466a519816f606b16bb2f304db65105ca9a
[ "Apache-2.0" ]
null
null
null
defmodule CurrencyWeb.PageView do use CurrencyWeb, :view end
15.75
33
0.809524
180da6fc18d071acf9363307647f8da8feb1e340
712
ex
Elixir
lib/diceware/passphrase.ex
silbermm/diceware
62b4872b2f0fbf2ce33c9f4ead47f15c251c6a60
[ "BSD-3-Clause" ]
1
2020-10-11T02:18:49.000Z
2020-10-11T02:18:49.000Z
lib/diceware/passphrase.ex
silbermm/diceware
62b4872b2f0fbf2ce33c9f4ead47f15c251c6a60
[ "BSD-3-Clause" ]
1
2020-09-25T00:30:23.000Z
2020-09-25T14:23:14.000Z
lib/diceware/passphrase.ex
silbermm/diceware
62b4872b2f0fbf2ce33c9f4ead47f15c251c6a60
[ "BSD-3-Clause" ]
1
2020-09-21T13:40:42.000Z
2020-09-21T13:40:42.000Z
defmodule Diceware.Passphrase do @moduledoc """ Models a passphrase. """ alias __MODULE__ @type t :: %Passphrase{ words: list(), phrase: String.t() | nil, count: number() } @derive {Jason.Encoder, only: [:words, :phrase, :count]} defstruct words: [], phrase: nil, c...
19.777778
71
0.567416
180e066a7e1604f6921a524fc8d409264efc4f6d
1,676
ex
Elixir
lib/draft_web/views/error_helpers.ex
paulswartz/draft
fc0653d75b39e861c4705545cfb86ad7cd0e2cd2
[ "MIT" ]
null
null
null
lib/draft_web/views/error_helpers.ex
paulswartz/draft
fc0653d75b39e861c4705545cfb86ad7cd0e2cd2
[ "MIT" ]
null
null
null
lib/draft_web/views/error_helpers.ex
paulswartz/draft
fc0653d75b39e861c4705545cfb86ad7cd0e2cd2
[ "MIT" ]
null
null
null
defmodule DraftWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ @spec error_tag(%{:errors => [{String.t(), any()}]}, atom()) :: [any()] def error_tag(form, field) do Enum.ma...
33.52
74
0.654535
180e09d688fe634305c8c8fd3c4c37237321c7d1
455
ex
Elixir
ecto/friends/lib/friends/application.ex
ecly/junkcode
dba9fa597c766061750c93b64a73f9a7079b5880
[ "MIT" ]
null
null
null
ecto/friends/lib/friends/application.ex
ecly/junkcode
dba9fa597c766061750c93b64a73f9a7079b5880
[ "MIT" ]
null
null
null
ecto/friends/lib/friends/application.ex
ecly/junkcode
dba9fa597c766061750c93b64a73f9a7079b5880
[ "MIT" ]
null
null
null
defmodule Friends.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ Friends.Repo ] # See https://hexdocs.pm/elixir/Supervisor.html # for other strategies a...
23.947368
61
0.714286
180e2043c56058f60aa54d306cadd888dded9036
3,053
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/node_group_node.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_group_node.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_group_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...
41.256757
140
0.679004
180e47908f985bcfae3434272c07b234e95ea99a
414
exs
Elixir
mix.exs
atshushi/httpRequest
f9c950b9e1fa965a6d91883539342b8196fb8ea0
[ "MIT" ]
null
null
null
mix.exs
atshushi/httpRequest
f9c950b9e1fa965a6d91883539342b8196fb8ea0
[ "MIT" ]
null
null
null
mix.exs
atshushi/httpRequest
f9c950b9e1fa965a6d91883539342b8196fb8ea0
[ "MIT" ]
null
null
null
defmodule Request.MixProject do use Mix.Project def project do [ app: :request, version: "0.1.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ extra_applications: [:logger], mod: {Request, []} ] end ...
14.785714
42
0.497585
180e6d14f0e81b8b9535c0739ec58a37eee7df7d
282
ex
Elixir
lib/ex_clubhouse/model/input/story_link.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
4
2020-03-17T00:42:10.000Z
2021-04-11T16:39:52.000Z
lib/ex_clubhouse/model/input/story_link.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
7
2020-03-21T20:22:13.000Z
2021-12-30T16:32:07.000Z
lib/ex_clubhouse/model/input/story_link.ex
pootsbook/exclubhouse
3b93cded0124e4e5df489db4f9262a560595bb8e
[ "MIT" ]
4
2020-03-25T18:34:49.000Z
2021-09-13T16:44:00.000Z
defmodule ExClubhouse.Model.Input.StoryLink do @moduledoc """ Story link input model """ @type t :: %__MODULE__{ object_id: integer(), subject_id: integer(), verb: binary() } defstruct object_id: nil, subject_id: nil, verb: nil end
20.142857
54
0.606383
180e935ed878e6660670c654e8bb5f78e92d2ed6
73
exs
Elixir
test/test_helper.exs
sparrell/TwinklyHaHa
fc128e0ada46f447ef2e19acf130c237a227c86c
[ "MIT" ]
2
2020-10-04T12:41:53.000Z
2020-11-11T11:24:54.000Z
test/test_helper.exs
sparrell/TwinklyHaHa
fc128e0ada46f447ef2e19acf130c237a227c86c
[ "MIT" ]
9
2020-07-26T20:45:04.000Z
2021-02-17T05:57:38.000Z
test/test_helper.exs
sparrell/TwinklyHaHa
fc128e0ada46f447ef2e19acf130c237a227c86c
[ "MIT" ]
2
2020-11-09T08:27:19.000Z
2020-11-10T04:25:21.000Z
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Twinklyhaha.Repo, :manual)
24.333333
57
0.794521
180e9a2f8c36bd5512d624470a481113182059ec
4,542
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/workflow_template.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/workflow_template.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/workflow_template.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...
63.971831
596
0.733598
180e9e5f95240fd372877cef6b2d8ff519556997
695
exs
Elixir
mix.exs
kddeisz/pro-publica
4d41de8d2873e6aa639378def3df7f736a36ff93
[ "MIT" ]
null
null
null
mix.exs
kddeisz/pro-publica
4d41de8d2873e6aa639378def3df7f736a36ff93
[ "MIT" ]
null
null
null
mix.exs
kddeisz/pro-publica
4d41de8d2873e6aa639378def3df7f736a36ff93
[ "MIT" ]
null
null
null
defmodule ProPublica.Mixfile do use Mix.Project @description """ A wrapper around the ProPublica Congress API """ def project do [ app: :pro_publica, version: "0.0.1", elixir: "~> 1.0", name: "ProPublica", description: @description, package: package(), deps: deps() ...
20.441176
71
0.542446
180ea2dd97241601469ee6ebb55c566f6711f140
651
ex
Elixir
apps/admin_api/lib/admin_api/v1/serializers/key_serializer.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/admin_api/lib/admin_api/v1/serializers/key_serializer.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/serializers/key_serializer.ex
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule AdminAPI.V1.KeySerializer do @moduledoc """ Serializes key(s) into V1 JSON response format. """ alias AdminAPI.V1.PaginatorSerializer alias EWallet.Web.{Date, Paginator} def to_json(%Paginator{} = paginator) do PaginatorSerializer.to_json(paginator, &to_json/1) end def to_json(key) when i...
27.125
54
0.691244
180ed1d4d28cb36b8616d7a2b4dbfb3b9151a733
11,865
ex
Elixir
lib/horde/dynamic_supervisor.ex
treble37/horde
c9ebe9b3630413a7ee050ff50f27b1c94fbd019e
[ "MIT" ]
null
null
null
lib/horde/dynamic_supervisor.ex
treble37/horde
c9ebe9b3630413a7ee050ff50f27b1c94fbd019e
[ "MIT" ]
null
null
null
lib/horde/dynamic_supervisor.ex
treble37/horde
c9ebe9b3630413a7ee050ff50f27b1c94fbd019e
[ "MIT" ]
null
null
null
defmodule Horde.DynamicSupervisor do @moduledoc """ A distributed supervisor. Horde.DynamicSupervisor implements a distributed DynamicSupervisor backed by a add-wins last-write-wins δ-CRDT (provided by `DeltaCrdt.AWLWWMap`). This CRDT is used for both tracking membership of the cluster and tracking supervised pr...
39.288079
819
0.688496
180ee9bd9ce81287bb18a92f5324191c1e5e8505
1,130
ex
Elixir
lib/oembed/provider.ex
alexgleason/elixir-oembed
6de2fa1d8c8c7f403ee9cf288c6c5b90d02ce9b9
[ "MIT" ]
35
2017-02-28T12:38:02.000Z
2022-02-08T06:00:26.000Z
lib/oembed/provider.ex
alexgleason/elixir-oembed
6de2fa1d8c8c7f403ee9cf288c6c5b90d02ce9b9
[ "MIT" ]
27
2017-02-25T18:04:33.000Z
2021-12-23T12:42:51.000Z
lib/oembed/provider.ex
alexgleason/elixir-oembed
6de2fa1d8c8c7f403ee9cf288c6c5b90d02ce9b9
[ "MIT" ]
11
2017-05-25T22:41:06.000Z
2021-07-09T02:30:18.000Z
defmodule OEmbed.Provider do @moduledoc """ oEmbed provider behaviour. """ defmacro __using__(_) do quote do import OEmbed.Provider alias OEmbed.Link alias OEmbed.Photo alias OEmbed.Rich alias OEmbed.Video @behaviour OEmbed.Provider defp get_oembed(url) do ...
28.974359
95
0.585841
180f05e04db248012e9ac035f92240d62f34e5e9
15,431
ex
Elixir
clients/games_management/lib/google_api/games_management/v1management/api/scores.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/api/scores.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/api/scores.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...
44.088571
196
0.632558
180f08111faeee0b6653d09537023819890aa0d7
7,886
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/order_documents.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/order_documents.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/order_documents.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
43.811111
544
0.635303
180f18ac6ffa11917c91ccbb3ba6e0c7dc8f5830
2,185
ex
Elixir
lib/credo/check/readability/space_after_commas.ex
adrienmo/credo
205f43ba6cfc81b932605d4aa86fdb8378dea3a3
[ "MIT" ]
null
null
null
lib/credo/check/readability/space_after_commas.ex
adrienmo/credo
205f43ba6cfc81b932605d4aa86fdb8378dea3a3
[ "MIT" ]
null
null
null
lib/credo/check/readability/space_after_commas.ex
adrienmo/credo
205f43ba6cfc81b932605d4aa86fdb8378dea3a3
[ "MIT" ]
null
null
null
defmodule Credo.Check.Readability.SpaceAfterCommas do use Credo.Check, explanations: [ check: """ You can use white-space after commas to make items of lists, tuples and other enumerations easier to separate from one another. # preferred alias Project.{Alpha, Beta} ...
29.133333
83
0.623799
180f227fdd1ea35efb9a31e5fe641bfbe018ef96
3,879
ex
Elixir
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/api/media.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/api/media.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/api/media.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...
41.709677
196
0.648879
180f94548a4d70ff509b0efb2eb843e6040ab7ad
1,471
ex
Elixir
lib/pow/phoenix/mailer.ex
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
lib/pow/phoenix/mailer.ex
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
lib/pow/phoenix/mailer.ex
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
defmodule Pow.Phoenix.Mailer do @moduledoc """ This module provides an API for mails to be sent by Pow. Pow mails is build with `Pow.Phoenix.Mailer.Mail` structs, and consists of `:subject`, `:text`, `:html` and `:user` keys. ## Usage defmodule MyAppWeb.Pow.Mailer do use Pow.Phoenix.Mailer ...
26.267857
95
0.650578
180fa65b2c3e05cc5a154ce7f25d9d914df0bec6
1,005
ex
Elixir
lib/koans/05_tuples.ex
tootoobeepbeep/elixir-koans-ans
01b0962e1db0c51a72e33820a360c216ce466f31
[ "MIT" ]
null
null
null
lib/koans/05_tuples.ex
tootoobeepbeep/elixir-koans-ans
01b0962e1db0c51a72e33820a360c216ce466f31
[ "MIT" ]
null
null
null
lib/koans/05_tuples.ex
tootoobeepbeep/elixir-koans-ans
01b0962e1db0c51a72e33820a360c216ce466f31
[ "MIT" ]
null
null
null
defmodule Tuples do use Koans @intro "Tuples" koan "Tuples can contain different things" do assert {:a, 1, "hi"} == {:a, 1, "hi"} end koan "Tuples have a size" do assert tuple_size({:a, :b, :c}) == 3 end koan "You can pull out individual elements" do assert elem({:a, "hi"}, 1) == "hi" ...
24.512195
80
0.583085
180fe948e3be9617190e15f5c42c177a01be60b2
918
exs
Elixir
mix.exs
koga1020/sphere
79c707a0acbe0ed7d02293f95f52b9753b3b6c44
[ "Apache-2.0" ]
null
null
null
mix.exs
koga1020/sphere
79c707a0acbe0ed7d02293f95f52b9753b3b6c44
[ "Apache-2.0" ]
null
null
null
mix.exs
koga1020/sphere
79c707a0acbe0ed7d02293f95f52b9753b3b6c44
[ "Apache-2.0" ]
null
null
null
defmodule Sphere.MixProject do use Mix.Project def project do [ app: :sphere, version: "0.1.0", elixir: "~> 1.8", description: "Markdown based easy CMS for Phoenix(Elixir Web Framework), it's generate Markdown files not using DB.", package: [ maintainers: [ "piacere-ex" ], lice...
24.810811
120
0.556645
180ff7b7e14e5d337b55fc28179ae5339bca6068
3,327
ex
Elixir
lib/mix/lib/mix/tasks/run.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/run.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/run.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Run do use Mix.Task @shortdoc "Runs the given file or expression" @moduledoc """ Runs the given file or expression in the context of the application. You can use this task to execute a particular file or command: mix run -e Hello.world mix run my_script.exs This task pro...
29.184211
93
0.619477
1810553bf0f949c88b19e3d9b48811da5161728f
634
ex
Elixir
lib/docusign/model/recipient_email_notification.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/recipient_email_notification.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/recipient_email_notification.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule DocuSign.Model.RecipientEmailNotification do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :emailBody, :emailSubject, ...
21.862069
75
0.673502
18107923cb5c186a2dcaf8c190afea4a78062031
2,785
ex
Elixir
lib/symmetric_encryption/cipher.ex
feals-inc/symmetric_encryption.ex
74cee41e615713238e8d4211ab069784d5a761e3
[ "Apache-2.0" ]
null
null
null
lib/symmetric_encryption/cipher.ex
feals-inc/symmetric_encryption.ex
74cee41e615713238e8d4211ab069784d5a761e3
[ "Apache-2.0" ]
null
null
null
lib/symmetric_encryption/cipher.ex
feals-inc/symmetric_encryption.ex
74cee41e615713238e8d4211ab069784d5a761e3
[ "Apache-2.0" ]
null
null
null
# An encryption cipher is used to encrypt and decrypt data. # # This Cipher supports # - AES encryption with the CBC block cipher. # - Any valid encryption key size # # The number of bits in a key is determined by the length of the symmetric key that is generated or supplied. defmodule SymmetricEncryption.Cipher do d...
26.028037
109
0.685817
18108f76f3c24795c2f38aa206d283192396fd45
1,514
exs
Elixir
mix.exs
data-twister/ex_maps
c8a92b414953735e4b5eb83d676a5e35b96ad19e
[ "MIT" ]
null
null
null
mix.exs
data-twister/ex_maps
c8a92b414953735e4b5eb83d676a5e35b96ad19e
[ "MIT" ]
null
null
null
mix.exs
data-twister/ex_maps
c8a92b414953735e4b5eb83d676a5e35b96ad19e
[ "MIT" ]
null
null
null
defmodule GoogleMaps.Mixfile do use Mix.Project @version File.read!("VERSION") |> String.trim def project do [app: :google_maps, description: "A Google Maps API in Elixir", version: @version, elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, ...
23.292308
77
0.595112
181095e7194ac84a1bc1d366eb35275f00d1756e
70
ex
Elixir
testData/org/elixir_lang/parser_definition/interpolated_sigil_line_parsing_test_case/Interpolation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/interpolated_sigil_line_parsing_test_case/Interpolation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/interpolated_sigil_line_parsing_test_case/Interpolation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~x{ Outside Before #{ "Inside" } Outside After }
11.666667
20
0.457143
1810b8b00e927f90ae765ac250efe27290253b99
10,740
ex
Elixir
lib/bubble_match/parser.ex
botsquad/bubble-match
c90325fb7ffdcd0b96ae0fd8f8aa0b3ebbe3ea0e
[ "MIT" ]
20
2020-05-20T14:27:56.000Z
2022-01-15T18:43:34.000Z
lib/bubble_match/parser.ex
botsquad/bubble-match
c90325fb7ffdcd0b96ae0fd8f8aa0b3ebbe3ea0e
[ "MIT" ]
3
2020-05-22T18:50:34.000Z
2020-06-23T14:58:04.000Z
lib/bubble_match/parser.ex
botsquad/bubble-match
c90325fb7ffdcd0b96ae0fd8f8aa0b3ebbe3ea0e
[ "MIT" ]
1
2021-05-19T09:06:54.000Z
2021-05-19T09:06:54.000Z
defmodule BubbleMatch.Parser do @moduledoc false import NimbleParsec alias BubbleMatch.ParseError alias BubbleMatch.Token @ws [9, 10, 11, 12, 13, 32] ws = ignore(utf8_string(@ws, min: 1)) special_chars = '`~!@#$%^&*()_+=-{}|\\][\';":?><,./' ++ @ws string = utf8_string(Enum.map(special_chars, &{:not...
22.997859
98
0.523836
1810ba74314b3892111ea003599eda4a0b78e4e9
1,675
ex
Elixir
clients/alert_center/lib/google_api/alert_center/v1beta1/model/merge_info.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/alert_center/lib/google_api/alert_center/v1beta1/model/merge_info.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/alert_center/lib/google_api/alert_center/v1beta1/model/merge_info.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...
33.5
155
0.730149
1810eccafe6a7f74bc149f422baef15b58af2353
6,084
ex
Elixir
lib/tracer/tools/tool_call_seq.ex
gabiz/tracer
4659bf3cc9e0cc86e653794b800e9eb5bbe9f0a2
[ "MIT" ]
125
2017-09-08T06:33:28.000Z
2022-03-09T10:48:04.000Z
lib/tracer/tools/tool_call_seq.ex
Gazler/tracer
4659bf3cc9e0cc86e653794b800e9eb5bbe9f0a2
[ "MIT" ]
3
2017-09-21T01:56:24.000Z
2020-10-29T13:27:44.000Z
lib/tracer/tools/tool_call_seq.ex
Gazler/tracer
4659bf3cc9e0cc86e653794b800e9eb5bbe9f0a2
[ "MIT" ]
6
2017-09-08T21:41:32.000Z
2019-11-16T10:39:16.000Z
defmodule Tracer.Tool.CallSeq do @moduledoc """ Reports duration type traces """ alias __MODULE__ alias Tracer.{EventCall, EventReturnFrom, Probe, ToolHelper, Tool.CallSeq.Event, ProcessHelper} use Tracer.Tool import Tracer.Matcher defstruct ignore_recursion: nil, start_mfa...
29.25
81
0.56476
181101e7fbffa0b06957a02e85b9608296067134
4,705
exs
Elixir
example/test/person_test.exs
harmon25/paper_trail
a023f7771591b44132335a96409edd7da0df4e60
[ "MIT" ]
null
null
null
example/test/person_test.exs
harmon25/paper_trail
a023f7771591b44132335a96409edd7da0df4e60
[ "MIT" ]
null
null
null
example/test/person_test.exs
harmon25/paper_trail
a023f7771591b44132335a96409edd7da0df4e60
[ "MIT" ]
3
2021-04-07T14:54:04.000Z
2021-04-07T14:54:16.000Z
defmodule PersonTest do use ExUnit.Case import Ecto.Query doctest Person setup_all do Repo.delete_all(Person) Repo.delete_all(Company) Repo.delete_all(PaperTrail.Version) %Company{} |> Company.changeset(%{name: "Acme LLC", website: "http://www.acme.com"}) |> Repo.insert() %Compan...
27.04023
115
0.591923
1811532e7b25e776e90720fb9b5a97738670fe1e
1,640
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/submit_config_source_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_management/lib/google_api/service_management/v1/model/submit_config_source_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_management/lib/google_api/service_management/v1/model/submit_config_source_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.893617
137
0.764024
18117511b044a15ffbe7b81cd485ebcc25c1cce0
449
exs
Elixir
examples/new_relic_sandbox_umbrella/apps/new_relic_sandbox_web/test/new_relic_sandbox_web/views/error_view_test.exs
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
null
null
null
examples/new_relic_sandbox_umbrella/apps/new_relic_sandbox_web/test/new_relic_sandbox_web/views/error_view_test.exs
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
2
2019-09-09T08:26:44.000Z
2019-11-05T04:31:37.000Z
examples/new_relic_sandbox_umbrella/apps/new_relic_sandbox_web/test/new_relic_sandbox_web/views/error_view_test.exs
surgeventures/new_relic_integration
5417f15f7dd17022ee927e0cdd4fca32529ed278
[ "MIT" ]
1
2019-09-06T09:27:27.000Z
2019-09-06T09:27:27.000Z
defmodule NewRelicSandboxWeb.ErrorViewTest do use NewRelicSandboxWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(NewRelicSandboxWeb.ErrorView, "404.html", []) == "Not Found" end test "ren...
29.933333
100
0.752784
18119c6f9fc84ddb0b22909455c5a0c04608fcd6
157
exs
Elixir
.credo.exs
grace-in-wonderland/nerves_motd
574b5e969e9fb71fd563379d61e583e229549a7b
[ "Apache-2.0" ]
5
2021-09-09T12:57:27.000Z
2021-12-21T22:46:58.000Z
.credo.exs
grace-in-wonderland/nerves_motd
574b5e969e9fb71fd563379d61e583e229549a7b
[ "Apache-2.0" ]
19
2021-09-07T14:07:57.000Z
2022-03-08T02:34:11.000Z
.credo.exs
mnishiguchi/sgp40
cd59ceea8bc36ee6a8dd7d463b4c3d05067d94bd
[ "MIT" ]
2
2021-11-01T20:27:43.000Z
2021-11-23T21:56:33.000Z
%{ configs: [ %{ name: "default", checks: [ {Credo.Check.Readability.ParenthesesOnZeroArityDefs, parens: true} ] } ] }
14.272727
74
0.515924
1811a3d770e6283c98ccc606900825a9a9be9ff6
727
ex
Elixir
lib/contento/settings/settings.ex
jackmarchant/contento-fork
7da622f27fc2003583bdd9a5e2f76b8a16bf852a
[ "MIT" ]
null
null
null
lib/contento/settings/settings.ex
jackmarchant/contento-fork
7da622f27fc2003583bdd9a5e2f76b8a16bf852a
[ "MIT" ]
null
null
null
lib/contento/settings/settings.ex
jackmarchant/contento-fork
7da622f27fc2003583bdd9a5e2f76b8a16bf852a
[ "MIT" ]
1
2020-11-21T20:12:01.000Z
2020-11-21T20:12:01.000Z
defmodule Contento.Settings do @moduledoc """ The Settings context. """ import Ecto.Query, warn: false alias Contento.Repo alias Contento.Settings.Setting def get_settings() do if settings = Repo.all(Setting, limit: 1) do settings |> Enum.at(0) |> Repo.preload(:theme) end en...
19.648649
80
0.645117
1811a52fcb46be1670740c2c686a4c1cfc0ab0e6
4,518
ex
Elixir
lib/swoosh/test_assertions.ex
oskar1233/swoosh
9882b5e1d13d363e4b0b59f3e89c0331e6eeb31b
[ "MIT" ]
null
null
null
lib/swoosh/test_assertions.ex
oskar1233/swoosh
9882b5e1d13d363e4b0b59f3e89c0331e6eeb31b
[ "MIT" ]
null
null
null
lib/swoosh/test_assertions.ex
oskar1233/swoosh
9882b5e1d13d363e4b0b59f3e89c0331e6eeb31b
[ "MIT" ]
null
null
null
defmodule Swoosh.TestAssertions do @moduledoc ~S""" This module contains a set of assertions functions that you can import in your test cases. It is meant to be used with the [Swoosh.Adapters.Test](Swoosh.Adapters.Test.html) module. """ import ExUnit.Assertions import Swoosh.Email.Format alias Swoo...
30.322148
98
0.683267
1811ad8c72ff2926f17a254fb29191e3d9421801
1,136
ex
Elixir
lib/exq/middleware/job.ex
buob/exq
921fe26c7f3db7d77ff67e3a03ea9b83612f5598
[ "Apache-2.0" ]
null
null
null
lib/exq/middleware/job.ex
buob/exq
921fe26c7f3db7d77ff67e3a03ea9b83612f5598
[ "Apache-2.0" ]
null
null
null
lib/exq/middleware/job.ex
buob/exq
921fe26c7f3db7d77ff67e3a03ea9b83612f5598
[ "Apache-2.0" ]
3
2021-04-07T14:50:17.000Z
2021-04-07T14:50:30.000Z
defmodule Exq.Middleware.Job do @behaviour Exq.Middleware.Behaviour alias Exq.Redis.JobQueue alias Exq.Middleware.Pipeline import Pipeline def before_work(pipeline) do job = Exq.Support.Job.decode(pipeline.assigns.job_serialized) target = String.replace(job.class, "::", ".") [mod | _func_or_empty...
27.707317
98
0.724472
1811be9dd530b68e6c04b5d36eb3da239407784a
1,241
ex
Elixir
lib/codes/codes_k68.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_k68.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_k68.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_K68 do alias IcdCode.ICDCode def _K6811 do %ICDCode{full_code: "K6811", category_code: "K68", short_code: "11", full_name: "Postprocedural retroperitoneal abscess", short_name: "Postprocedural retroperitoneal abscess", category_nam...
28.860465
65
0.619662
1811d0907d63d5800d957a7fd545b105549abc2b
198
exs
Elixir
priv/repo/migrations/20190121163233_add_profile_photos_to_user.exs
zephraph/readtome
64a5f773bdc3c19d9c5ac50a04aa14e446e36c55
[ "MIT" ]
1
2021-09-05T20:54:57.000Z
2021-09-05T20:54:57.000Z
priv/repo/migrations/20190121163233_add_profile_photos_to_user.exs
zephraph/readtome
64a5f773bdc3c19d9c5ac50a04aa14e446e36c55
[ "MIT" ]
17
2019-07-06T17:31:56.000Z
2021-06-22T15:31:06.000Z
priv/repo/migrations/20190121163233_add_profile_photos_to_user.exs
zephraph/readtome
64a5f773bdc3c19d9c5ac50a04aa14e446e36c55
[ "MIT" ]
1
2021-03-15T20:50:27.000Z
2021-03-15T20:50:27.000Z
defmodule Readtome.Repo.Migrations.AddProfilePhotosToUser do use Ecto.Migration def change do alter table(:users) do add :photos, :jsonb, null: false, default: "[]" end end end
19.8
60
0.69697
1811ff653142f96240960b71ebe602d2a83fce89
6,034
exs
Elixir
apps/ewallet/test/ewallet/web/inviter_test.exs
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/web/inviter_test.exs
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/web/inviter_test.exs
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
29.724138
91
0.620484
181211ffff5712b8987ea51352b0a65ffcf61356
1,486
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1beta3_enable_processor_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1beta3_enable_processor_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1/model/google_cloud_documentai_v1beta3_enable_processor_response.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...
31.617021
106
0.776581
18121680f682f442dfa75dcf707b6724e231f8b7
2,932
ex
Elixir
clients/content/lib/google_api/content/v2/model/pos_inventory.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/pos_inventory.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/pos_inventory.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...
41.295775
196
0.679741
1812435fb66eab0c86d2b219f37541f2f3a796e7
84
ex
Elixir
apps/subs/lib/subs/domain/enum.ex
gitter-badger/opensubs.io
76d5b4d355a530c8f496efe3ac2095d87f078997
[ "MIT" ]
36
2018-02-03T10:58:51.000Z
2020-09-19T20:52:17.000Z
apps/subs/lib/subs/domain/enum.ex
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
8
2018-01-17T17:15:48.000Z
2020-07-06T08:56:54.000Z
apps/subs/lib/subs/domain/enum.ex
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
10
2018-05-21T18:20:32.000Z
2022-01-29T14:25:48.000Z
import EctoEnum defenum SubsNotificationTypesEnum, daily: 0, weekly: 1, monthly: 2
21
66
0.797619
1812729dd5f8fb82f8978881b04695d7a9d5d40f
4,272
ex
Elixir
lib/samly/auth_handler.ex
workpathco/samly
7cb1f4dd5e0f4e9a0da97b36425d2450f0e2c003
[ "MIT" ]
null
null
null
lib/samly/auth_handler.ex
workpathco/samly
7cb1f4dd5e0f4e9a0da97b36425d2450f0e2c003
[ "MIT" ]
null
null
null
lib/samly/auth_handler.ex
workpathco/samly
7cb1f4dd5e0f4e9a0da97b36425d2450f0e2c003
[ "MIT" ]
null
null
null
defmodule Samly.AuthHandler do @moduledoc false require Logger import Plug.Conn alias Samly.{Assertion, IdpData, Helper, State, Subject} import Samly.RouterUtil, only: [ensure_sp_uris_set: 2, send_saml_request: 5, redirect: 3] @sso_init_resp_template """ <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 St...
31.880597
91
0.617275
1812ba80b14276d46b6c5019569431aa98e186df
213
ex
Elixir
lib/doctor_schedule_web/live/info_component.ex
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
2
2022-03-11T12:15:01.000Z
2022-03-11T13:53:21.000Z
lib/doctor_schedule_web/live/info_component.ex
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
3
2020-12-12T22:10:17.000Z
2021-04-05T12:53:12.000Z
lib/doctor_schedule_web/live/info_component.ex
theguuholi/doctor_schedule
a92dfa92d1398c59718be2428d36bb326d6bc361
[ "MIT" ]
1
2021-02-26T04:24:34.000Z
2021-02-26T04:24:34.000Z
defmodule DoctorScheduleWeb.InfoComponent do use Phoenix.LiveComponent alias DoctorScheduleWeb.PageView alias Phoenix.View def render(assigns) do View.render(PageView, "info.html", assigns) end end
21.3
47
0.784038
1812f4d2f2da29cd48f084d4e464d825cb5e1cd7
649
exs
Elixir
spec/aoc/day08_spec.exs
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
spec/aoc/day08_spec.exs
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
spec/aoc/day08_spec.exs
CraigCottingham/advent-of-code-2019
76a1545e4cca14fe1e9e0de475de253170da1645
[ "Apache-2.0" ]
null
null
null
defmodule AoC.Day08.Spec do @moduledoc false use ESpec describe "sanity checks" do example_group "overlay/1" do it do expect(AoC.Day08.overlay([0, 1, 2, 0])) |> to(eq(0)) expect(AoC.Day08.overlay([2, 1, 2, 0])) |> to(eq(1)) expect(AoC.Day08.overlay([2, 2, 1, 0])) |> to(eq(1)) ...
24.037037
97
0.557781
1812fa94f7c779c83210d2f7a6c45fc7d135ae9e
8,207
ex
Elixir
lib/generic_request_validator.ex
weareyipyip/Phoenix-API-Toolkit
7c86f4f4e1000201d188f7952bc93a9221dcf8ac
[ "Apache-2.0" ]
5
2020-06-23T18:35:44.000Z
2022-01-13T21:20:41.000Z
lib/generic_request_validator.ex
weareyipyip/Phoenix-API-Toolkit
7c86f4f4e1000201d188f7952bc93a9221dcf8ac
[ "Apache-2.0" ]
11
2019-12-11T13:15:28.000Z
2021-06-01T07:37:25.000Z
lib/generic_request_validator.ex
weareyipyip/Phoenix-API-Toolkit
7c86f4f4e1000201d188f7952bc93a9221dcf8ac
[ "Apache-2.0" ]
4
2020-08-05T09:23:22.000Z
2021-01-03T12:16:36.000Z
defmodule PhoenixApiToolkit.GenericRequestValidator do @moduledoc """ Request validator for generic (REST) requests. Meant to supplement database-level Ecto changesets. For example when creating a new entity, your database contexts / changesets will do their own validations and it would be useless to do so ...
34.053942
128
0.649933
18131fd6c50c8d382eb0884848ebfea1581ffd7b
682
ex
Elixir
lib/ex_unit_notifier/notifiers/terminal_notifier.ex
mfeckie/ex_unit_notifier
632a2ff152cdcc40aebc4d6be6acfcd14595b7fa
[ "MIT" ]
117
2016-03-26T11:08:46.000Z
2022-03-24T09:24:38.000Z
lib/ex_unit_notifier/notifiers/terminal_notifier.ex
mfeckie/ex_unit_notifier
632a2ff152cdcc40aebc4d6be6acfcd14595b7fa
[ "MIT" ]
10
2016-11-08T19:07:48.000Z
2021-08-30T10:42:09.000Z
lib/ex_unit_notifier/notifiers/terminal_notifier.ex
mfeckie/ex_unit_notifier
632a2ff152cdcc40aebc4d6be6acfcd14595b7fa
[ "MIT" ]
14
2016-03-27T15:49:55.000Z
2021-07-16T04:38:38.000Z
defmodule ExUnitNotifier.Notifiers.TerminalNotifier do @moduledoc false def notify(status, message, _opts) do System.cmd(executable(), [ "-group", "ex-unit-notifier", "-title", "ExUnit", "-message", message, "-appIcon", get_icon(status), "-contentImage", ...
23.517241
75
0.651026
18136b5e013d028e4af6f12a5b168f98f458bb09
2,438
exs
Elixir
test/controllers/sponsor_controller_test.exs
Namuraid/backend
04a10248bfeb156eb291207931621b40585d8f7e
[ "MIT" ]
null
null
null
test/controllers/sponsor_controller_test.exs
Namuraid/backend
04a10248bfeb156eb291207931621b40585d8f7e
[ "MIT" ]
null
null
null
test/controllers/sponsor_controller_test.exs
Namuraid/backend
04a10248bfeb156eb291207931621b40585d8f7e
[ "MIT" ]
null
null
null
defmodule Namuraid.SponsorControllerTest do use Namuraid.ConnCase alias Namuraid.Sponsor @valid_attrs %{logo: "some content"} @invalid_attrs %{} test "lists all entries on index", %{conn: conn} do conn = get conn, sponsor_path(conn, :index) assert html_response(conn, 200) =~ "Listing sponsor" end ...
36.38806
98
0.694011
1813c5dffd91b20461cbcc2074ba7f895c10823f
1,422
exs
Elixir
apps/auth/mix.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/auth/mix.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/auth/mix.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule Auth.MixProject do use Mix.Project def project do [ app: :auth, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.10", start_permanent: Mix.env() == :...
26.830189
88
0.509142
1813d15c0c93bac25805353a88ddc1c229138859
468
ex
Elixir
lib/liqen_core.ex
exacs/liqen_core
bba1727ff3b3061ad5a0ecb668eb3038070836a4
[ "MIT" ]
null
null
null
lib/liqen_core.ex
exacs/liqen_core
bba1727ff3b3061ad5a0ecb668eb3038070836a4
[ "MIT" ]
null
null
null
lib/liqen_core.ex
exacs/liqen_core
bba1727ff3b3061ad5a0ecb668eb3038070836a4
[ "MIT" ]
null
null
null
defmodule LiqenCore do @moduledoc """ This is the Elixir part of the Application. LiqenCore is formed by three modules: - `LiqenCore.Accounts` that manages everything related to user accounts and its authentication (not permissions) - `LiqenCore.CMS` that manages the content created for Liqen, includin...
27.529412
78
0.741453
1813ed641197608abd3757b95eef64fa31f504ba
1,385
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/big_query_query_spec.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/big_query_query_spec.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sheets/lib/google_api/sheets/v4/model/big_query_query_spec.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...
29.468085
79
0.734296
181448938c11c296591fe6ac69f2257b1148a67d
2,043
ex
Elixir
lib/xtb_client/messages/profit_info.ex
dsienkiewicz/xtb_client_ex
550f1144eace28ce9bdb2fa3bcc27e891231487b
[ "MIT" ]
null
null
null
lib/xtb_client/messages/profit_info.ex
dsienkiewicz/xtb_client_ex
550f1144eace28ce9bdb2fa3bcc27e891231487b
[ "MIT" ]
null
null
null
lib/xtb_client/messages/profit_info.ex
dsienkiewicz/xtb_client_ex
550f1144eace28ce9bdb2fa3bcc27e891231487b
[ "MIT" ]
null
null
null
defmodule XtbClient.Messages.ProfitInfo do @moduledoc """ Result of profit calculation. ## Parameters - `order_id` order number, - `transaction_id` transaction ID, - `position_no` position number, - `profit` profit in account currency, - `market_value` market value, - `profit_calc_price` profit cal...
25.860759
82
0.620656
18148149746eecbf02dfb2ac697a849dfac9fda1
892
ex
Elixir
clients/eventarc/lib/google_api/eventarc/v1beta1/metadata.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/eventarc/lib/google_api/eventarc/v1beta1/metadata.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/eventarc/lib/google_api/eventarc/v1beta1/metadata.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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
18149128c53a837394ba260ca4aea079c8c10fe5
1,146
ex
Elixir
lib/not_a_blog_web/router.ex
ARtoriouSs/not_a_blog
7e2810d1ae6f9fd579d2964981dbbeead7df1e79
[ "MIT" ]
null
null
null
lib/not_a_blog_web/router.ex
ARtoriouSs/not_a_blog
7e2810d1ae6f9fd579d2964981dbbeead7df1e79
[ "MIT" ]
null
null
null
lib/not_a_blog_web/router.ex
ARtoriouSs/not_a_blog
7e2810d1ae6f9fd579d2964981dbbeead7df1e79
[ "MIT" ]
null
null
null
defmodule NotABlogWeb.Router do use NotABlogWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :ensure_authorized do plug NotABlog.Auth.AccessPlug end scope "/", N...
26.651163
77
0.682373
1814973e6370f20750d80509c69d2ce2a8a41643
374
ex
Elixir
web/views/error_view.ex
sgeos/memo_api
d57d0a1190296364a559510de9b4dd9d50b034e8
[ "CC0-1.0" ]
null
null
null
web/views/error_view.ex
sgeos/memo_api
d57d0a1190296364a559510de9b4dd9d50b034e8
[ "CC0-1.0" ]
null
null
null
web/views/error_view.ex
sgeos/memo_api
d57d0a1190296364a559510de9b4dd9d50b034e8
[ "CC0-1.0" ]
null
null
null
defmodule MemoApi.ErrorView do use MemoApi.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_template,...
20.777778
47
0.697861
18149a2206c856df269004159b1a6d445e212640
992
exs
Elixir
test/size_test.exs
copperwall/sorted_set_nif
42406f911e4a5ab33581c4e58802a68c2a758363
[ "MIT" ]
null
null
null
test/size_test.exs
copperwall/sorted_set_nif
42406f911e4a5ab33581c4e58802a68c2a758363
[ "MIT" ]
null
null
null
test/size_test.exs
copperwall/sorted_set_nif
42406f911e4a5ab33581c4e58802a68c2a758363
[ "MIT" ]
null
null
null
defmodule Discord.SortedSet.Size.Test do use ExUnit.Case use ExUnitProperties alias Discord.SortedSet alias Discord.SortedSet.Test.Support.Generator describe "size/1" do test "empty set is size 0" do assert set = SortedSet.new() assert SortedSet.size(set) == 0 end property "set wit...
25.435897
73
0.626008