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
ac15a042f33aec867cacd5998c465e3947a42ed0
93
exs
Elixir
apps/kv/test/test_helper.exs
BenjaminEarley/kv_umbrella_sample_project
65ccf596259a620a98ed479025139e5a076f7ef3
[ "MIT" ]
null
null
null
apps/kv/test/test_helper.exs
BenjaminEarley/kv_umbrella_sample_project
65ccf596259a620a98ed479025139e5a076f7ef3
[ "MIT" ]
null
null
null
apps/kv/test/test_helper.exs
BenjaminEarley/kv_umbrella_sample_project
65ccf596259a620a98ed479025139e5a076f7ef3
[ "MIT" ]
null
null
null
exclude = if Node.alive?, do: [], else: [distributed: true] ExUnit.start(exclude: exclude)
23.25
51
0.688172
ac15a70fbc0f9a8fb9368fb28e0236cfd6d04a58
882
ex
Elixir
clients/eventarc/lib/google_api/eventarc/v1/metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/eventarc/lib/google_api/eventarc/v1/metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/eventarc/lib/google_api/eventarc/v1/metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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...
32.666667
74
0.758503
ac15bf862a667f4eba5d8868e1d5223e3f91864b
23,765
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/networks.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/networks.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/networks.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
53.165548
1,213
0.699726
ac15e536dfab4e1550c3c59286a3fab60a45f2e8
503
ex
Elixir
token_registry/lib/token_registry_web/views/error_view.ex
canuckasaurus/archeio-solanaszn
55dc8712cf0409d110ae342cbbc620745668a4df
[ "MIT" ]
1
2021-12-18T16:17:19.000Z
2021-12-18T16:17:19.000Z
token_registry/lib/token_registry_web/views/error_view.ex
canuckasaurus/archeio-solanaszn
55dc8712cf0409d110ae342cbbc620745668a4df
[ "MIT" ]
null
null
null
token_registry/lib/token_registry_web/views/error_view.ex
canuckasaurus/archeio-solanaszn
55dc8712cf0409d110ae342cbbc620745668a4df
[ "MIT" ]
null
null
null
defmodule TokenRegistryWeb.ErrorView do use TokenRegistryWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the t...
29.588235
61
0.741551
ac15f174650f0cf75dd94428aa229fdc7295ee86
779
exs
Elixir
test/f03_test.exs
terki/modbux
391a1d77e191afe7b0c5fe72e70e4680b41fb85c
[ "Apache-2.0" ]
14
2019-11-14T22:04:24.000Z
2022-02-07T19:36:57.000Z
test/f03_test.exs
terki/modbux
391a1d77e191afe7b0c5fe72e70e4680b41fb85c
[ "Apache-2.0" ]
3
2020-01-11T07:52:53.000Z
2022-01-18T12:08:08.000Z
test/f03_test.exs
terki/modbux
391a1d77e191afe7b0c5fe72e70e4680b41fb85c
[ "Apache-2.0" ]
6
2020-02-26T09:27:35.000Z
2022-03-27T09:50:02.000Z
defmodule F03Test do use ExUnit.Case import TestHelper test "Read 0x6162 from Single Holding Register" do model0 = %{0x50 => %{{:hr, 0x5152} => 0x6162}} cmd0 = {:rhr, 0x50, 0x5152, 1} req0 = <<0x50, 3, 0x51, 0x52, 0, 1>> res0 = <<0x50, 3, 2, 0x61, 0x62>> val0 = [0x6162] pp1(cmd0, req0, re...
25.966667
63
0.555841
ac15fb2477f59db8417122d7c6d00c400511868d
957
exs
Elixir
test/quantum_swarm_test.exs
quantum-elixir/quantum-swarm
c338398a50c93ead848a903541754005be90655f
[ "Apache-2.0" ]
2
2020-08-18T18:20:43.000Z
2021-08-10T14:11:29.000Z
test/quantum_swarm_test.exs
quantum-elixir/quantum-swarm
c338398a50c93ead848a903541754005be90655f
[ "Apache-2.0" ]
2
2020-09-04T09:12:58.000Z
2021-05-04T13:47:26.000Z
test/quantum_swarm_test.exs
quantum-elixir/quantum-swarm
c338398a50c93ead848a903541754005be90655f
[ "Apache-2.0" ]
null
null
null
defmodule QuantumSwarmTest do @moduledoc false use ExUnit.Case, async: false import Crontab.CronExpression alias Quantum.Job alias QuantumSwarm.Test.Scheduler test "works when multiple started at the same time" do nodes = LocalCluster.start_nodes("run-same-time", 3, files: [ ...
21.266667
69
0.607106
ac15fc3ae4f948bfb1c295152f8ddf81df3d9510
812
ex
Elixir
apps/neoscan_cache/lib/neoscan_cache/application.ex
spasma/neo-scan
89b2ec3dee75205fefe1bbff8db5c949e079bfbb
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan_cache/lib/neoscan_cache/application.ex
spasma/neo-scan
89b2ec3dee75205fefe1bbff8db5c949e079bfbb
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan_cache/lib/neoscan_cache/application.ex
CityOfZion/NEOScan
cce412984b5a1bf7b008ab78df7f68dd769b39d7
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule NeoscanCache.Application do # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application alias NeoscanCache.Cache alias NeoscanCache.DbPoller alias NeoscanCache.PricePoller alias NeoscanCache.Broadcast def star...
28
67
0.71798
ac16268a86fd81e3c92635746ebe2d956909e2c8
1,423
ex
Elixir
lib/procore/resources/schedule_resources.ex
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
6
2018-02-01T01:34:16.000Z
2020-08-31T15:15:08.000Z
lib/procore/resources/schedule_resources.ex
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
6
2018-02-03T03:01:48.000Z
2021-06-08T18:39:40.000Z
lib/procore/resources/schedule_resources.ex
procore/elixir-sdk
abff2935702a5e9f0290a072e90c2f219bca3cb8
[ "MIT" ]
3
2018-08-12T03:51:52.000Z
2020-02-27T14:29:14.000Z
defmodule Procore.Resources.ScheduleResources do @moduledoc """ Available actions for the schedule resource resource. """ alias Procore.ErrorResult alias Procore.Request alias Procore.ResponseResult @doc """ Lists all schedule resources in a project. """ @spec list(Tesla.Client.t(), %{ r...
33.880952
90
0.65636
ac16387b0cdf815b2aad66e4a9dde11fe7b40d8f
1,971
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/worker_message_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/worker_message_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/worker_message_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
38.647059
153
0.776763
ac1641f160fa80c01adb6f797a89c8e9e277e976
3,178
exs
Elixir
apps/admin_api/test/admin_api/v1/channels/transaction_consumption_channel_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/channels/transaction_consumption_channel_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/channels/transaction_consumption_channel_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 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 writi...
34.172043
101
0.685651
ac164bb81058223bc415eb639d3b901e29baec45
3,282
ex
Elixir
lib/xema/cast_error.ex
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
49
2018-06-05T09:42:19.000Z
2022-02-15T12:50:51.000Z
lib/xema/cast_error.ex
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
152
2017-06-11T13:43:06.000Z
2022-01-09T17:13:45.000Z
lib/xema/cast_error.ex
kianmeng/xema
a990d64fb4bcd708249514daa55426ee003da25d
[ "MIT" ]
6
2019-05-31T05:41:47.000Z
2021-12-14T08:09:36.000Z
defmodule Xema.CastError do @moduledoc """ Raised when a cast fails. """ alias Xema.CastError alias Xema.ValidationError defexception [:message, :path, :required, :to, :value, :key, :error] @type t :: %CastError{ error: struct | nil, key: String.t() | atom | nil, message: ...
30.388889
98
0.604814
ac16663be54ca34483c687121c9c49897e1b5d9f
247
ex
Elixir
lib/stockmonit/config.ex
cfx/stockmonit
73b4217039a623bfa20872330a4ab1cff1ce8980
[ "MIT" ]
null
null
null
lib/stockmonit/config.ex
cfx/stockmonit
73b4217039a623bfa20872330a4ab1cff1ce8980
[ "MIT" ]
null
null
null
lib/stockmonit/config.ex
cfx/stockmonit
73b4217039a623bfa20872330a4ab1cff1ce8980
[ "MIT" ]
null
null
null
defmodule Stockmonit.Config do alias Stockmonit.Config.{Stock, Provider} defstruct stocks: [], providers: %{} @type t :: %__MODULE__{ stocks: [Stock.t()], providers: %{required(String.t()) => Provider.t()} } end
24.7
60
0.59919
ac166a677d13e720207602b0a11c894e9f726231
946
ex
Elixir
test/support/channel_case.ex
SquashConsulting/ArangoPhx
4b7e55710e9f7e6afbcae07e96e1de9c46b7c935
[ "BSD-3-Clause" ]
5
2020-01-30T07:11:33.000Z
2021-05-07T12:52:41.000Z
test/support/channel_case.ex
rasjonell/ArangoPhx
4b7e55710e9f7e6afbcae07e96e1de9c46b7c935
[ "BSD-3-Clause" ]
5
2019-12-04T12:41:50.000Z
2019-12-05T13:21:50.000Z
test/support/channel_case.ex
SquashConsulting/ArangoPhx
4b7e55710e9f7e6afbcae07e96e1de9c46b7c935
[ "BSD-3-Clause" ]
null
null
null
defmodule ArangoPhxWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts...
24.894737
71
0.717759
ac16722362561f0b49c84467a5581fecd060dde4
1,117
exs
Elixir
test/models/user_test.exs
jgunnink/phoenix_blog
15017cdbca1da3ef5338c819b265cca3997aebe5
[ "MIT" ]
1
2016-10-07T14:36:21.000Z
2016-10-07T14:36:21.000Z
test/models/user_test.exs
jgunnink/phoenix_blog
15017cdbca1da3ef5338c819b265cca3997aebe5
[ "MIT" ]
null
null
null
test/models/user_test.exs
jgunnink/phoenix_blog
15017cdbca1da3ef5338c819b265cca3997aebe5
[ "MIT" ]
null
null
null
defmodule Pxblog.UserTest do use Pxblog.ModelCase alias Pxblog.User @valid_attrs %{ email: "some content", password_digest: "some content", username: "some content", password: "abc123abc", password_confirmation: "abc123abc" } @invalid_attrs %{} test "changeset with valid attributes" d...
25.976744
113
0.682184
ac1684bb6e8d6ea0661f5f7401c96d7ffb66fc9e
1,055
ex
Elixir
test/support/conn_case.ex
ruhrjs/ruhrjs-karaoke
93c6bee18873ead2854e1bbf835a665cc782f7da
[ "Unlicense" ]
null
null
null
test/support/conn_case.ex
ruhrjs/ruhrjs-karaoke
93c6bee18873ead2854e1bbf835a665cc782f7da
[ "Unlicense" ]
null
null
null
test/support/conn_case.ex
ruhrjs/ruhrjs-karaoke
93c6bee18873ead2854e1bbf835a665cc782f7da
[ "Unlicense" ]
null
null
null
defmodule PlatformWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if t...
27.051282
70
0.719431
ac1693113e3f7edfd2032bf145d87f2887f787b3
481
exs
Elixir
apps/object_storage/test/object_storage_web/views/error_view_test.exs
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
apps/object_storage/test/object_storage_web/views/error_view_test.exs
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
apps/object_storage/test/object_storage_web/views/error_view_test.exs
IrinaS-D/tailwind-beginner-site
999b16fd89b20b6af4e33bb51acca670ccda6216
[ "MIT" ]
null
null
null
defmodule Legendary.ObjectStorageWeb.ErrorViewTest do use Legendary.ObjectStorageWeb.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(Legendary.ObjectStorageWeb.ErrorView, "404.html", []) == "Not F...
32.066667
108
0.760915
ac1698ed7b7a21903c9afc00b98aa86ad092e0da
1,151
ex
Elixir
lib/codes/codes_i40.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_i40.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_i40.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_I40 do alias IcdCode.ICDCode def _I400 do %ICDCode{full_code: "I400", category_code: "I40", short_code: "0", full_name: "Infective myocarditis", short_name: "Infective myocarditis", category_name: "Infective myocarditis" ...
26.767442
57
0.595135
ac16a231626c544609a90ad6282fad15c637b41a
712
exs
Elixir
chapter_11/todo_web/mix.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T11:55:58.000Z
2021-08-22T13:19:56.000Z
chapter_12/todo_distributed/mix.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
null
null
null
chapter_12/todo_distributed/mix.exs
librity/elixir_in_action
d2df441ceb7e6a0d3f18bc3ab3c59570125fcdec
[ "MIT" ]
3
2021-04-22T21:19:45.000Z
2021-08-22T13:20:03.000Z
defmodule Todo.MixProject do use Mix.Project def project do [ app: :todo, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applicat...
20.941176
87
0.530899
ac16e0dc498da6e979a19a984278b5442d71ebc8
1,121
exs
Elixir
example/config/config.exs
smartmetals/phoenix_datatables
40c9074742ee7643327ac735defa9960abc50250
[ "MIT" ]
12
2017-10-20T21:08:33.000Z
2021-11-08T13:04:43.000Z
example/config/config.exs
smartmetals/phoenix_datatables
40c9074742ee7643327ac735defa9960abc50250
[ "MIT" ]
8
2017-11-07T19:53:02.000Z
2021-01-18T22:15:35.000Z
example/config/config.exs
smartmetals/phoenix_datatables
40c9074742ee7643327ac735defa9960abc50250
[ "MIT" ]
7
2018-07-03T08:18:17.000Z
2020-05-28T03:06:02.000Z
# 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. use Mix.Config # General application configuration config :phoenix_datatables_example, ecto_repos:...
36.16129
87
0.785013
ac16ecbc68732996fba864b1f1649ee00b72ff27
2,553
ex
Elixir
lib/mix/tasks/ecto.gen.repo.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/ecto.gen.repo.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/ecto.gen.repo.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Ecto.Gen.Repo do use Mix.Task import Mix.Ecto import Mix.Generator @shortdoc "Generates a new repository" @moduledoc """ Generates a new repository. The repository will be placed in the `lib` directory. ## Examples mix ecto.gen.repo -r Custom.Repo This generator will a...
25.277228
91
0.619663
ac16ed52922e2631bc4d56c02a4571d254837eb4
1,638
exs
Elixir
mix.exs
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
3
2020-12-15T09:04:57.000Z
2021-06-11T02:01:09.000Z
mix.exs
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
null
null
null
mix.exs
haskric/map_schema
615d6428e168a0d3991d334cba76c2d8e5c417b6
[ "MIT" ]
null
null
null
defmodule MapSchema.MixProject do @moduledoc false use Mix.Project def project do [ app: :map_schema, version: "0.3.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), name: "map_schema", ...
21.552632
125
0.550061
ac1721d2a806a06ad8d01c6b6e45e0bd9554797f
3,014
exs
Elixir
mix.exs
nimblehq/codewar-web
5038bc09d4fc42f6be0737857a4c053ff42463f1
[ "MIT" ]
2
2021-06-29T02:22:28.000Z
2022-02-15T06:32:15.000Z
mix.exs
nimblehq/codewar-web
5038bc09d4fc42f6be0737857a4c053ff42463f1
[ "MIT" ]
14
2021-05-06T04:27:19.000Z
2021-08-24T11:15:33.000Z
mix.exs
nimblehq/codewar-web
5038bc09d4fc42f6be0737857a4c053ff42463f1
[ "MIT" ]
1
2021-08-20T07:50:19.000Z
2021-08-20T07:50:19.000Z
defmodule Codewar.MixProject do use Mix.Project def project do [ app: :codewar, version: "0.2.0", elixir: "~> 1.12.0", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
30.755102
84
0.549436
ac172b493c949b142ea8e05e7da384b720b9e990
8,206
ex
Elixir
lib/cforum/moderation_queue/moderation_queue.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum/moderation_queue/moderation_queue.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum/moderation_queue/moderation_queue.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
defmodule Cforum.ModerationQueue do @moduledoc """ The boundary for the moderation queue system. """ import Ecto.Query, warn: false alias Cforum.Repo alias Cforum.ModerationQueue.ModerationQueueEntry alias Cforum.System alias Cforum.Threads alias Cforum.Messages alias Cforum.Forums alias Cforum...
24.495522
113
0.659761
ac17326d2e97b3f8a0eb2868a7073e4f3dc5606b
3,861
ex
Elixir
lib/unplug.ex
akoutmos/unplug
da8a775e6a8232016d36cdfe1871c807e9e6eb01
[ "MIT" ]
26
2020-04-13T04:31:42.000Z
2022-01-19T21:12:21.000Z
lib/unplug.ex
akoutmos/unplug
da8a775e6a8232016d36cdfe1871c807e9e6eb01
[ "MIT" ]
null
null
null
lib/unplug.ex
akoutmos/unplug
da8a775e6a8232016d36cdfe1871c807e9e6eb01
[ "MIT" ]
1
2021-09-21T00:17:28.000Z
2021-09-21T00:17:28.000Z
defmodule Unplug do @moduledoc """ The purpose of `Unplug` is to provide a wrapper around any arbitrary plug, with the ability to conditionally execute that plug at run-time. The runtime conditions that are leveraged by `Unplug` must conform to the `Unplug.Predicate` behaviour. Out of the box `Unplug` comes w...
35.1
120
0.708366
ac174a4ceb21f958f867723f0894cef0f2c25406
229
ex
Elixir
lib/elixir_blog_web/views/article_view.ex
xorvo/elixir_blog
67123c05eb4cacfa482604ce62c4f5a7e9bc1690
[ "MIT" ]
null
null
null
lib/elixir_blog_web/views/article_view.ex
xorvo/elixir_blog
67123c05eb4cacfa482604ce62c4f5a7e9bc1690
[ "MIT" ]
null
null
null
lib/elixir_blog_web/views/article_view.ex
xorvo/elixir_blog
67123c05eb4cacfa482604ce62c4f5a7e9bc1690
[ "MIT" ]
null
null
null
defmodule ElixirBlogWeb.ArticleView do use ElixirBlogWeb, :view alias ElixirBlog.{Comments, Comments.Comment} def comment_changeset(article) do %Comment{article_id: article.id} |> Comments.change_comment end end
22.9
47
0.768559
ac17517ba9f110edfa24b8f3ef9801ca35771983
4,162
ex
Elixir
test/support/scripted_mqtt_server.ex
smartrent/jackalope
be4cf8523de44f9af1af226327916a281bf95576
[ "Apache-2.0" ]
25
2020-11-12T18:31:56.000Z
2022-03-08T02:20:10.000Z
test/support/scripted_mqtt_server.ex
smartrent/jackalope
be4cf8523de44f9af1af226327916a281bf95576
[ "Apache-2.0" ]
17
2020-11-29T19:17:05.000Z
2022-02-08T00:26:43.000Z
test/support/scripted_mqtt_server.ex
smartrent/jackalope
be4cf8523de44f9af1af226327916a281bf95576
[ "Apache-2.0" ]
2
2021-06-17T03:49:57.000Z
2022-01-26T15:23:17.000Z
defmodule JackalopeTest.ScriptedMqttServer do # A helper for testing interactions with a MQTT server by setting up # a process that act as the server and base its responses on a # script of commands that are either send `{:send, package}`, or # expected to be received `{:receive, package}`. @moduledoc false ...
29.942446
90
0.653532
ac177fe49aae143e83d4c03577d86f94d1897890
686
ex
Elixir
lib/google/protobuf.ex
moogle19/protox
b0efbce60efd7c38725b74575f7ff0074efd6c65
[ "MIT" ]
176
2017-02-01T13:09:25.000Z
2022-03-18T02:36:17.000Z
lib/google/protobuf.ex
moogle19/protox
b0efbce60efd7c38725b74575f7ff0074efd6c65
[ "MIT" ]
94
2020-07-20T05:54:51.000Z
2022-03-09T04:13:03.000Z
lib/google/protobuf.ex
moogle19/protox
b0efbce60efd7c38725b74575f7ff0074efd6c65
[ "MIT" ]
19
2017-02-13T09:17:14.000Z
2022-02-22T09:29:18.000Z
defmodule Google.Protobuf do @moduledoc false def well_known_types() do [ Google.Protobuf.Any, Google.Protobuf.BoolValue, Google.Protobuf.BytesValue, Google.Protobuf.DoubleValue, Google.Protobuf.Duration, Google.Protobuf.Empty, Google.Protobuf.FieldMask, Google.P...
25.407407
34
0.690962
ac1784c8bb945914449d22a8c4c6c64065d0ce9e
505
ex
Elixir
apps/incident_bridge_web/lib/incident_bridge_web/views/error_view.ex
LivewareProblems/incident-comm-hq
c0c35f30c2a0f99a640be2988bae836d3a2abd5a
[ "Apache-2.0" ]
null
null
null
apps/incident_bridge_web/lib/incident_bridge_web/views/error_view.ex
LivewareProblems/incident-comm-hq
c0c35f30c2a0f99a640be2988bae836d3a2abd5a
[ "Apache-2.0" ]
12
2019-05-11T22:47:51.000Z
2019-05-18T17:18:44.000Z
apps/incident_bridge_web/lib/incident_bridge_web/views/error_view.ex
LivewareProblems/incident-comm-hq
c0c35f30c2a0f99a640be2988bae836d3a2abd5a
[ "Apache-2.0" ]
null
null
null
defmodule IncidentBridgeWeb.ErrorView do use IncidentBridgeWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the...
29.705882
61
0.742574
ac178bc43ceb07a867832c96f9f7f0760ed1052c
672
exs
Elixir
config/test.exs
fossabot/ve_collector
dd003f9d1e332b5495756a483098ad8bbd75adf0
[ "MIT" ]
null
null
null
config/test.exs
fossabot/ve_collector
dd003f9d1e332b5495756a483098ad8bbd75adf0
[ "MIT" ]
2
2020-06-02T08:28:31.000Z
2021-03-10T17:07:09.000Z
config/test.exs
fossabot/ve_collector
dd003f9d1e332b5495756a483098ad8bbd75adf0
[ "MIT" ]
1
2020-06-02T08:06:48.000Z
2020-06-02T08:06:48.000Z
use Mix.Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :ve_collector, VeCollector.Repo, username: "kloenk", password: "", socket_dir: "/var/run/postgresql", ...
28
58
0.748512
ac17ce55e5cf15f25b6853e7fe84980ec2a79239
1,053
ex
Elixir
lib/app_web/channels/user_socket.ex
vsyrovat/awesome_elixir
cfac2de5402c13f86f99032477daee883b31c020
[ "MIT" ]
2
2019-12-17T11:40:54.000Z
2019-12-22T17:15:29.000Z
lib/app_web/channels/user_socket.ex
vsyrovat/funbox_awesome_elixir
cfac2de5402c13f86f99032477daee883b31c020
[ "MIT" ]
86
2020-01-24T14:53:27.000Z
2021-05-18T19:16:30.000Z
app/lib/app_web/channels/user_socket.ex
sumiyoshi/BokunoPhoenix
2d1d97b36a7effac03b11b5097b69d488df90817
[ "MIT" ]
null
null
null
defmodule AppWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", AppWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels, ie ...
30.970588
83
0.693257
ac17d6466adbc7fb04a385700d88365e53f544d9
3,511
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/region.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/region.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/region.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...
44.443038
163
0.675021
ac17defebf8c350714b129016321bb329876fb57
59
exs
Elixir
test/udev_test.exs
electricshaman/udev
cc304478f770de37acf2a9f040d418ae538f8818
[ "Apache-2.0" ]
null
null
null
test/udev_test.exs
electricshaman/udev
cc304478f770de37acf2a9f040d418ae538f8818
[ "Apache-2.0" ]
null
null
null
test/udev_test.exs
electricshaman/udev
cc304478f770de37acf2a9f040d418ae538f8818
[ "Apache-2.0" ]
null
null
null
defmodule UdevTest do use ExUnit.Case doctest Udev end
11.8
21
0.779661
ac17effd877ae4b13c8b2172a771196db3e38dfc
1,142
exs
Elixir
config/config.exs
exponentially/helios_aggregate
d667fe913cd5ed380f874e2f207fdbc98f4c9b71
[ "Apache-2.0" ]
2
2018-09-03T11:02:12.000Z
2019-12-12T13:08:51.000Z
config/config.exs
exponentially/helios_aggregate
d667fe913cd5ed380f874e2f207fdbc98f4c9b71
[ "Apache-2.0" ]
1
2018-09-04T05:14:55.000Z
2018-09-05T06:37:07.000Z
config/config.exs
exponentially/helios_aggregate
d667fe913cd5ed380f874e2f207fdbc98f4c9b71
[ "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...
35.6875
73
0.754816
ac1803db5c3cb8e98d7e3604abb9c897af822e65
13,056
ex
Elixir
lib/pathex/lenses.ex
devstopfix/pathex
0a7087d31eefb9c0c2988fd5bf6dd0385e68dd80
[ "BSD-2-Clause" ]
null
null
null
lib/pathex/lenses.ex
devstopfix/pathex
0a7087d31eefb9c0c2988fd5bf6dd0385e68dd80
[ "BSD-2-Clause" ]
null
null
null
lib/pathex/lenses.ex
devstopfix/pathex
0a7087d31eefb9c0c2988fd5bf6dd0385e68dd80
[ "BSD-2-Clause" ]
null
null
null
defmodule Pathex.Lenses do @moduledoc """ Module with collection of prebuilt paths """ @doc """ Path function for tuple with specified first element Example: iex> require Pathex; import Pathex iex> okl = Pathex.Lenses.either(:ok) iex> 8 = view! {:ok, 8}, okl iex> {:ok, 10} = set! ...
28.631579
99
0.470665
ac1848208766a2f6ba2cd118471eb78fc75be713
970
ex
Elixir
lib/messages/message.ex
norbertskakste/Elibuf
6976eddfbbe9498a15fc6bfb587d7b53fb8845ce
[ "Apache-2.0" ]
4
2017-04-11T14:31:23.000Z
2019-06-04T20:08:02.000Z
lib/messages/message.ex
norbertskakste/Elibuf
6976eddfbbe9498a15fc6bfb587d7b53fb8845ce
[ "Apache-2.0" ]
null
null
null
lib/messages/message.ex
norbertskakste/Elibuf
6976eddfbbe9498a15fc6bfb587d7b53fb8845ce
[ "Apache-2.0" ]
null
null
null
defmodule Elibuf.Message do defstruct name: nil, values: [] alias Elibuf.Primitives def new_value(name_value) when is_bitstring(name_value) do %__MODULE__{name: name_value} end def set_name(%__MODULE__{} = message, name_value) when is_bitstring(name_value) do %{message | name: na...
28.529412
87
0.635052
ac1855c5ef32de61bfe8c05a1513f64152969c06
2,222
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/gcs_destination.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/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/cloud_asset/lib/google_api/cloud_asset/v1/model/gcs_destination.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...
44.44
574
0.744374
ac18767edb418ace85f0a970f50da7747bed5cad
2,204
exs
Elixir
config/prod.exs
ElixirStudy0730/elixir_blog_starter
05a73d69617432e0bfc2404cf4e79c35972cee25
[ "MIT" ]
null
null
null
config/prod.exs
ElixirStudy0730/elixir_blog_starter
05a73d69617432e0bfc2404cf4e79c35972cee25
[ "MIT" ]
null
null
null
config/prod.exs
ElixirStudy0730/elixir_blog_starter
05a73d69617432e0bfc2404cf4e79c35972cee25
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
35.548387
107
0.741379
ac18dbd98d19e6568b74a661d0db5c35ee736bba
1,500
exs
Elixir
mix.exs
ChannexIO/ex_vertical_booking
ad7ff59fa47717d8c74e75646b7255c94ca8025e
[ "Apache-2.0" ]
1
2021-04-20T20:53:47.000Z
2021-04-20T20:53:47.000Z
mix.exs
ChannexIO/ex_vertical_booking
ad7ff59fa47717d8c74e75646b7255c94ca8025e
[ "Apache-2.0" ]
null
null
null
mix.exs
ChannexIO/ex_vertical_booking
ad7ff59fa47717d8c74e75646b7255c94ca8025e
[ "Apache-2.0" ]
1
2019-11-13T08:20:09.000Z
2019-11-13T08:20:09.000Z
defmodule ExVerticalBooking.MixProject do use Mix.Project @version "0.2.19" def project do [ app: :ex_vertical_booking, version: @version, build_path: "./_build", config_path: "./config/config.exs", deps_path: "./deps", lockfile: "./mix.lock", elixir: "~> 1.9", ...
23.809524
78
0.586
ac18e472beebd82bd8f2431196c285508f883c5e
2,086
exs
Elixir
apps/demo_web/config/dev.exs
kimlindholm/gigalixir_umbrella_demo
369cd029687bb05273d881082afe72e9ac3bc0c1
[ "MIT" ]
2
2019-05-26T12:57:38.000Z
2020-01-22T20:28:32.000Z
apps/demo_web/config/dev.exs
kimlindholm/gigalixir_umbrella_demo
369cd029687bb05273d881082afe72e9ac3bc0c1
[ "MIT" ]
null
null
null
apps/demo_web/config/dev.exs
kimlindholm/gigalixir_umbrella_demo
369cd029687bb05273d881082afe72e9ac3bc0c1
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :demo_web, DemoWebWeb.Endpoint, http: [port: 400...
27.447368
68
0.68744
ac18ef61ca08d376c9ec7209d0e36f0feb2e84d5
582
exs
Elixir
priv/repo/migrations/20160806114105_create_trade_line_item.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
priv/repo/migrations/20160806114105_create_trade_line_item.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
priv/repo/migrations/20160806114105_create_trade_line_item.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338.Repo.Migrations.CreateTradeLineItem do use Ecto.Migration def change do create table(:trade_line_items) do add :action, :string add :trade_id, references(:trades, on_delete: :delete_all) add :fantasy_team_id, references(:fantasy_teams, on_delete: :nothing) add :fantasy_p...
30.631579
79
0.728522
ac18f044cef9b7b514e0be5a76c4d309b84f0471
1,684
exs
Elixir
mix.exs
Digital-Identity-Labs/fastfwd
186e2875f86b52cab405f7e6dbc4cd4815764ff8
[ "MIT" ]
2
2021-01-08T04:06:26.000Z
2021-01-08T10:30:34.000Z
mix.exs
Digital-Identity-Labs/fastfwd
186e2875f86b52cab405f7e6dbc4cd4815764ff8
[ "MIT" ]
null
null
null
mix.exs
Digital-Identity-Labs/fastfwd
186e2875f86b52cab405f7e6dbc4cd4815764ff8
[ "MIT" ]
null
null
null
defmodule Fastfwd.MixProject do use Mix.Project def project do [ app: :fastfwd, version: "0.2.0", elixir: "~> 1.7", description: "Plugin style function forwarding in Elixir, for adapters, factories and other fun", package: package(), name: "Fastfwd", source_url: "https...
25.515152
103
0.532067
ac18fc410259ca9107addb6b4633b4511e9d2c23
1,148
exs
Elixir
test/webhook_test.exs
christopherlai/shipstation
d784f43830df3d1650d9ccd68aca28cd2d995214
[ "MIT" ]
4
2017-03-28T19:21:48.000Z
2022-02-11T05:12:07.000Z
test/webhook_test.exs
christopherlai/shipstation
d784f43830df3d1650d9ccd68aca28cd2d995214
[ "MIT" ]
1
2018-10-05T14:55:55.000Z
2018-10-05T14:55:55.000Z
test/webhook_test.exs
christopherlai/shipstation
d784f43830df3d1650d9ccd68aca28cd2d995214
[ "MIT" ]
3
2018-10-05T14:04:02.000Z
2021-11-11T10:22:46.000Z
defmodule Shipstation.WebhookTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney doctest Shipstation.Webhook setup_all do HTTPoison.start end test "List Webhooks" do use_cassette "webhook_list" do {:ok, %{body: body}} = resp = Shipstation.Webhook.list a...
27.333333
82
0.649826
ac18ff3212194fed08d58343e92cc597113a5a53
2,155
exs
Elixir
mix.exs
c0deaddict/pigeon
842c7632a0318a153b933e727c1ebc3c029ace5c
[ "MIT" ]
null
null
null
mix.exs
c0deaddict/pigeon
842c7632a0318a153b933e727c1ebc3c029ace5c
[ "MIT" ]
null
null
null
mix.exs
c0deaddict/pigeon
842c7632a0318a153b933e727c1ebc3c029ace5c
[ "MIT" ]
null
null
null
defmodule Pigeon.Mixfile do use Mix.Project @version "1.5.0" def project do [ app: :pigeon, name: "Pigeon", version: @version, elixir: "~> 1.6", elixirc_paths: elixirc_paths(Mix.env()), source_url: "https://github.com/codedge-llc/pigeon", description: description(),...
26.604938
81
0.530858
ac1943fe8c09c55c4ab6eaf4faaed3ad54bc2237
1,419
ex
Elixir
apps/bus_detective/test/support/data_case.ex
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
8
2018-07-06T14:44:10.000Z
2021-08-19T17:24:25.000Z
apps/bus_detective/test/support/data_case.ex
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
12
2018-07-15T18:43:04.000Z
2022-02-10T16:07:47.000Z
apps/bus_detective/test/support/data_case.ex
bus-detective/bus_detective_ng
ef54684d4f640384bd20a4d5550ff51ab440190b
[ "MIT" ]
1
2018-07-13T17:30:20.000Z
2018-07-13T17:30:20.000Z
defmodule BusDetective.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every...
26.277778
77
0.684989
ac19921a0f9035a36ef6b9c1b84b451eb1822527
437
ex
Elixir
test/support/repo_case.ex
nickyeager/nickdotcom
e1a0f32c44da2111c9d8b22800edeb831d893b5e
[ "MIT" ]
null
null
null
test/support/repo_case.ex
nickyeager/nickdotcom
e1a0f32c44da2111c9d8b22800edeb831d893b5e
[ "MIT" ]
null
null
null
test/support/repo_case.ex
nickyeager/nickdotcom
e1a0f32c44da2111c9d8b22800edeb831d893b5e
[ "MIT" ]
null
null
null
defmodule Nickdotcom.RepoCase do use ExUnit.CaseTemplate using do quote do alias Nickdotcom.Repo import Ecto import Ecto.Query import Nickdotcom.RepoCase # and any other stuff end end setup tags do :ok = Ecto.Adapters.SQL.Sandbox.checkout(Nickdotcom.Repo) unles...
17.48
72
0.661327
ac19a2a7e39a6a1044efa9eabc180f3d9ed85de5
15,358
ex
Elixir
lib/stripe/api.ex
erhlee-bird/stripity_stripe
8c4c5712f391bf76e0a168125882c85048d3192f
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/api.ex
erhlee-bird/stripity_stripe
8c4c5712f391bf76e0a168125882c85048d3192f
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/api.ex
erhlee-bird/stripity_stripe
8c4c5712f391bf76e0a168125882c85048d3192f
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.API do @moduledoc """ Low-level utilities for interacting with the Stripe API. Usually the utilities in `Stripe.Request` are a better way to write custom interactions with the API. """ alias Stripe.{Config, Error} @callback oauth_request(method, String.t(), map) :: {:ok, map} @type m...
30.291913
100
0.671311
ac19c407e7f1b744e96e5f059f87ab4ef78b3a8a
15,669
ex
Elixir
2020/d14.ex
princemaple/aoc
325dd12c8b5b827458214846f184e07a6cfbdf34
[ "MIT" ]
1
2021-12-13T00:31:09.000Z
2021-12-13T00:31:09.000Z
2020/d14.ex
princemaple/aoc
325dd12c8b5b827458214846f184e07a6cfbdf34
[ "MIT" ]
null
null
null
2020/d14.ex
princemaple/aoc
325dd12c8b5b827458214846f184e07a6cfbdf34
[ "MIT" ]
null
null
null
t = """ mask = 110000011XX0000X101000X10X01XX001011 mem[49397] = 468472 mem[50029] = 23224119 mem[39033] = 191252712 mem[37738] = 25669 mem[45831] = 238647542 mem[55749] = 1020 mem[29592] = 57996 mask = 100X10XXX101011X10X0110111X01X0X0010 mem[10526] = 1843 mem[2144] = 177500 mem[33967] = 5833292 mem[58979] = 25707732 ...
24.069124
88
0.73789
ac19c79cf6efc1a642edca6357d954c7a0710102
50
exs
Elixir
dictionary/test/dictionary_test.exs
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
dictionary/test/dictionary_test.exs
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
dictionary/test/dictionary_test.exs
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
defmodule DictionaryTest do use ExUnit.Case end
12.5
27
0.82
ac19d1647509fb274520a868877050ea2889627f
2,587
exs
Elixir
test/phoenix/endpoint/adapter_test.exs
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
1
2021-03-14T17:50:24.000Z
2021-03-14T17:50:24.000Z
test/phoenix/endpoint/adapter_test.exs
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
null
null
null
test/phoenix/endpoint/adapter_test.exs
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
2
2020-08-02T04:00:17.000Z
2020-10-07T16:07:37.000Z
defmodule Phoenix.Endpoint.AdapterTest do use ExUnit.Case, async: true alias Phoenix.Endpoint.Adapter setup do Application.put_env(:phoenix, AdapterApp.Endpoint, custom: true) System.put_env("PHOENIX_PORT", "8080") :ok end test "loads router configuration" do config = Adapter.config(:phoenix...
33.597403
99
0.67414
ac19f36f419666efd0d89d0c900e162569649373
7,402
ex
Elixir
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/reports.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/reports.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/reports.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...
69.830189
641
0.683059
ac19fd8ee2d032c2554e56833ba333dfeee553eb
2,069
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/gke_master_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/gke_master_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/gke_master_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.946429
125
0.722088
ac1a2d4e15b9bea2e43a93167e92255e3a864825
2,148
ex
Elixir
lib/aws/s3.ex
waterlink/ww
3574ce55a68c69719d3e65f46c409d088f36de7a
[ "MIT" ]
null
null
null
lib/aws/s3.ex
waterlink/ww
3574ce55a68c69719d3e65f46c409d088f36de7a
[ "MIT" ]
null
null
null
lib/aws/s3.ex
waterlink/ww
3574ce55a68c69719d3e65f46c409d088f36de7a
[ "MIT" ]
null
null
null
defmodule AWS.S3 do @moduledoc """ """ def get_object(client, object_name, options \\ []) do get_request(client, object_name, options) end def put_object(client, object_name, input, options \\ []) do put_request(client, object_name, input, options) end defp get_request(client, object_name, opti...
33.046154
84
0.616853
ac1a7a1344fe0a81bcd922051e42b72104713026
1,403
exs
Elixir
lib/mix/test/mix/tasks/compile.yecc_test.exs
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.yecc_test.exs
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.yecc_test.exs
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.Compile.YeccTest do use MixTest.Case import ExUnit.CaptureIO setup do Mix.Project.push MixTest.Case.Sample :ok end test "compilation continues if one file fails to compile" do in_fixture "compile_yecc", fn -> File.writ...
25.981481
71
0.629366
ac1a86117086fbee97c1e2c680b44006d6f7fa11
47,137
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/disks.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/disks.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/disks.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
49.513655
414
0.639561
ac1a8cda1511daa8c6073043ae079ec9ac854634
252
exs
Elixir
apps/core/priv/repo/migrations/20210719184553_add_email_confirmation.exs
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/priv/repo/migrations/20210719184553_add_email_confirmation.exs
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/priv/repo/migrations/20210719184553_add_email_confirmation.exs
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Repo.Migrations.AddEmailConfirmation do use Ecto.Migration def change do alter table(:users) do add :email_confirmed, :boolean, default: false, null: false add :email_confirm_by, :utc_datetime_usec end end end
22.909091
65
0.730159
ac1ab288bf304d21d36ee230eb4b5a7d5095169a
1,391
ex
Elixir
lib/bolt_sips/response_encoder/json/jason.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
242
2016-09-09T22:32:00.000Z
2022-02-20T18:50:29.000Z
lib/bolt_sips/response_encoder/json/jason.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
100
2016-10-18T04:19:09.000Z
2021-11-15T19:14:47.000Z
lib/bolt_sips/response_encoder/json/jason.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
51
2016-10-31T20:05:52.000Z
2022-01-20T11:45:49.000Z
defmodule Bolt.Sips.ResponseEncoder.Json.Jason do @moduledoc """ A default implementation for Jason encoding library. More info about Jason: [https://hex.pm/packages/jason](https://hex.pm/packages/jason) Allow this usage: ``` conn = Bolt.Sips.conn() {:ok, res} = Bolt.Sips.query(conn, "MATCH (t:TestNode)...
31.613636
154
0.700216
ac1af9bb1fd920858bfad35fff99d16c1af2ab00
2,215
ex
Elixir
lib/makeup.ex
axelson/makeup
b178813d06b6dd7a3c694eb82ac80fbc152e7a29
[ "BSD-2-Clause" ]
null
null
null
lib/makeup.ex
axelson/makeup
b178813d06b6dd7a3c694eb82ac80fbc152e7a29
[ "BSD-2-Clause" ]
null
null
null
lib/makeup.ex
axelson/makeup
b178813d06b6dd7a3c694eb82ac80fbc152e7a29
[ "BSD-2-Clause" ]
null
null
null
defmodule Makeup do @moduledoc """ Syntax highlighting library for code, inspired by Pygments. By default, it doesn't include any lexers. You must import them separately (even the Elixir lexer). """ alias Makeup.Formatters.HTML.HTMLFormatter alias Makeup.Lexers.ElixirLexer alias Makeup.Styles.HTML.Styl...
25.755814
80
0.648758
ac1b20b46804a5a783cd28adebae4645ce2b7c82
1,458
ex
Elixir
test/support/data_case.ex
EBKH/cap-react-webpack
08638c4e4cc30e2cb35e0299a99a7c68a24f2128
[ "MIT" ]
null
null
null
test/support/data_case.ex
EBKH/cap-react-webpack
08638c4e4cc30e2cb35e0299a99a7c68a24f2128
[ "MIT" ]
null
null
null
test/support/data_case.ex
EBKH/cap-react-webpack
08638c4e4cc30e2cb35e0299a99a7c68a24f2128
[ "MIT" ]
null
null
null
defmodule CapPhoenixReactWebpack.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this rea...
27
84
0.696159
ac1b3ac625e093749b7b6b33ec033490e34b7c2c
88
exs
Elixir
test/red_potion/web/views/layout_view_test.exs
mvdwg/red_potion
3026b13d80d9157a598b08e959beb5e56c6f9ff9
[ "MIT" ]
null
null
null
test/red_potion/web/views/layout_view_test.exs
mvdwg/red_potion
3026b13d80d9157a598b08e959beb5e56c6f9ff9
[ "MIT" ]
null
null
null
test/red_potion/web/views/layout_view_test.exs
mvdwg/red_potion
3026b13d80d9157a598b08e959beb5e56c6f9ff9
[ "MIT" ]
null
null
null
defmodule RedPotion.Web.LayoutViewTest do use RedPotion.Web.ConnCase, async: true end
22
41
0.818182
ac1b417e6239251f3375a032c48d8a34fa241730
9,611
exs
Elixir
test/surface/compiler/converter_0_5_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
null
null
null
test/surface/compiler/converter_0_5_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
null
null
null
test/surface/compiler/converter_0_5_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
null
null
null
defmodule Surface.Compiler.Converter_0_5Test do use ExUnit.Case, async: true alias Surface.Compiler.Converter alias Surface.Compiler.Converter_0_5 alias Mix.Tasks.Surface.Convert defp convert(text) do Converter.convert(text, converter: Converter_0_5) end test "don't convert code inside macros" do ...
20.713362
98
0.372386
ac1b604309bdffd33ddbaad6f94b4fe92056bf88
2,234
ex
Elixir
create_fun_umbrella/apps/create_fun_endpoint/lib/create_fun_endpoint/endpoint.ex
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
null
null
null
create_fun_umbrella/apps/create_fun_endpoint/lib/create_fun_endpoint/endpoint.ex
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
9
2018-06-17T09:54:03.000Z
2018-06-17T09:55:20.000Z
create_fun_umbrella/apps/create_fun_endpoint/lib/create_fun_endpoint/endpoint.ex
Vorzious/CreateFun
5744c913ef706bc29062fa90a8ec5de12d267dab
[ "MIT" ]
1
2018-06-05T18:38:01.000Z
2018-06-05T18:38:01.000Z
defmodule CreateFunEndpoint.Endpoint do use Phoenix.Endpoint, otp_app: :create_fun_endpoint # socket "/socket", CreateFunEndpoint.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in...
33.848485
95
0.721128
ac1b660c0001b98369ee145d571437bfe1bf4bf4
572
ex
Elixir
lib/ash/error/query/aggregates_not_supported.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
lib/ash/error/query/aggregates_not_supported.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
lib/ash/error/query/aggregates_not_supported.ex
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.Error.Query.AggregatesNotSupported do @moduledoc "Used when the data_layer does not support aggregates, or filtering/sorting them" use Ash.Error.Exception def_ash_error([:resource, :feature], class: :invalid) defimpl Ash.ErrorKind do def id(_), do: Ash.UUID.generate() def code(_), do: "...
27.238095
94
0.70979
ac1b6f466cb194371564cea0ab08d7688f8e8d2e
1,555
ex
Elixir
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/empty.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/empty.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/empty.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...
37.02381
345
0.762058
ac1b863b79495c5550172b95ca10fb7a9dd9a081
18,976
ex
Elixir
lib/dbg.ex
CharlesOkwuagwu/dbg
76bbe5069fa7d6b566fe4c60d31b86e4544d03d5
[ "Apache-2.0" ]
142
2015-01-11T19:27:48.000Z
2021-10-30T03:56:12.000Z
lib/dbg.ex
CharlesOkwuagwu/dbg
76bbe5069fa7d6b566fe4c60d31b86e4544d03d5
[ "Apache-2.0" ]
9
2015-05-09T18:41:29.000Z
2019-03-02T19:09:20.000Z
lib/dbg.ex
CharlesOkwuagwu/dbg
76bbe5069fa7d6b566fe4c60d31b86e4544d03d5
[ "Apache-2.0" ]
13
2015-05-09T17:08:53.000Z
2018-01-24T12:07:52.000Z
defmodule Dbg do @moduledoc """ `Dbg` provides functions for tracing events in the BEAM VM. Many events, including function calls and return, exception raising, sending and receiving messages, spawning, exiting, linking, scheduling and garbage collection can be traced across a cluster of nodes using `Dbg`. ...
31.417219
80
0.620731
ac1b8887612ad5c4ec9258241acf7839bac29926
5,412
ex
Elixir
lib/tilex_web/controllers/post_controller.ex
hyperfluid-solutions/tilex
71d4784366a27832f5823bbfcc121f9500a830a1
[ "MIT" ]
null
null
null
lib/tilex_web/controllers/post_controller.ex
hyperfluid-solutions/tilex
71d4784366a27832f5823bbfcc121f9500a830a1
[ "MIT" ]
null
null
null
lib/tilex_web/controllers/post_controller.ex
hyperfluid-solutions/tilex
71d4784366a27832f5823bbfcc121f9500a830a1
[ "MIT" ]
null
null
null
defmodule TilexWeb.PostController do use TilexWeb, :controller import Ecto.Query alias Guardian.Plug alias Tilex.{Channel, Notifications, Liking, Post, Posts} plug(:load_channels when action in [:new, :create, :edit, :update]) plug(:extract_slug when action in [:show, :edit, :update]) plug( Plug.En...
23.633188
95
0.607539
ac1ba546ac52f56c110edf8ae9cebdbfc0ddb57b
548
exs
Elixir
apps/kv/test/kv/bucket_test.exs
NewEvolution/kv_umbrella
26e501897646b37db779f719b8cca8067904bf58
[ "MIT" ]
null
null
null
apps/kv/test/kv/bucket_test.exs
NewEvolution/kv_umbrella
26e501897646b37db779f719b8cca8067904bf58
[ "MIT" ]
null
null
null
apps/kv/test/kv/bucket_test.exs
NewEvolution/kv_umbrella
26e501897646b37db779f719b8cca8067904bf58
[ "MIT" ]
null
null
null
defmodule KV.BucketTest do use ExUnit.Case, async: true setup do {:ok, bucket} = KV.Bucket.start_link {:ok, bucket: bucket} end test "stores values by key", %{bucket: bucket} do assert KV.Bucket.get(bucket, "milk") == nil KV.Bucket.put(bucket, "milk", 3) assert KV.Bucket.get(bucket, "milk...
23.826087
65
0.642336
ac1ba9ee5c0c84b7baf38a21ccf942b86be8d138
574
exs
Elixir
12-new-project/iterator/mix.exs
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
null
null
null
12-new-project/iterator/mix.exs
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
null
null
null
12-new-project/iterator/mix.exs
kranfix/elixir-playground
28f1314b137eb591946f501647e76d8017070ffa
[ "MIT" ]
1
2020-11-17T07:06:17.000Z
2020-11-17T07:06:17.000Z
defmodule Iterator.MixProject do use Mix.Project def project do [ app: :iterator, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_...
19.793103
87
0.578397
ac1bf84139801271629ae1f9faf0d84e8630c322
1,881
exs
Elixir
test/wobserver/web/router/system_test.exs
szlend/wobserver
6c3ea1ef772ddb4a0b35956d155f33fc46f71a8c
[ "MIT" ]
984
2017-02-06T17:13:48.000Z
2022-03-18T22:46:55.000Z
test/wobserver/web/router/system_test.exs
szlend/wobserver
6c3ea1ef772ddb4a0b35956d155f33fc46f71a8c
[ "MIT" ]
52
2017-02-13T16:12:10.000Z
2021-04-08T22:31:28.000Z
test/wobserver/web/router/system_test.exs
szlend/wobserver
6c3ea1ef772ddb4a0b35956d155f33fc46f71a8c
[ "MIT" ]
74
2017-02-13T15:23:49.000Z
2021-07-30T07:43:27.000Z
defmodule Wobserver.Web.Router.SystemTest do use ExUnit.Case, async: true use Plug.Test alias Wobserver.Web.Router.System @opts System.init([]) test "/ returns overview" do conn = conn(:get, "/") conn = System.call(conn, @opts) assert conn.state == :sent assert conn.status == 200 asse...
21.62069
79
0.585327
ac1c0934ed7ba8038e5ffa3a91c425046bb8c725
1,274
exs
Elixir
test/elixir_google_scraper/scraper/worker/scraping_worker_test.exs
junan/elixir_google_scraper
d032f3a9d5a30e354f1e6d607434670334936630
[ "MIT" ]
null
null
null
test/elixir_google_scraper/scraper/worker/scraping_worker_test.exs
junan/elixir_google_scraper
d032f3a9d5a30e354f1e6d607434670334936630
[ "MIT" ]
25
2021-05-21T02:23:37.000Z
2021-07-09T09:22:32.000Z
test/elixir_google_scraper/scraper/worker/scraping_worker_test.exs
junan/elixir_google_scraper
d032f3a9d5a30e354f1e6d607434670334936630
[ "MIT" ]
null
null
null
defmodule ElixirGoogleScraper.Scraper.Worker.ScrapingWorkerTest do use ElixirGoogleScraper.DataCase alias ElixirGoogleScraper.Scraper.Worker.ScrapingWorker describe "perform/1" do test "creates the search result" do use_cassette "scraper/keyword_buy_bike" do user = insert(:user) keywor...
32.666667
78
0.687598
ac1c12da2a8f5d7fd0912f41cf415a1d1580c5b2
2,411
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/date.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/date.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/date.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...
45.490566
567
0.719204
ac1c34ce9a43e3553ad89107f163972cd726207e
2,929
ex
Elixir
lib/ex_unit/lib/ex_unit/server.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/ex_unit/lib/ex_unit/server.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/ex_unit/lib/ex_unit/server.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule ExUnit.Server do @moduledoc false @name __MODULE__ @timeout :infinity use GenServer def start_link(_opts) do GenServer.start_link(__MODULE__, :ok, name: @name) end def add_async_module(name), do: add(name, :async) def add_sync_module(name), do: add(name, :sync) defp add(name, type) d...
28.163462
107
0.661318
ac1c6ada16484ccd492c69ee8166163ec39e3b44
1,736
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_raw_document.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_raw_document.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta3_raw_document.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...
31.563636
136
0.731567
ac1c6efbd5017be4a1700dce5b4c138f0a64e343
168
exs
Elixir
config/dev.exs
kieraneglin/activestorage_ex
3cc00c212f2e87f9e04651e16e6701af8893cc7b
[ "MIT" ]
null
null
null
config/dev.exs
kieraneglin/activestorage_ex
3cc00c212f2e87f9e04651e16e6701af8893cc7b
[ "MIT" ]
null
null
null
config/dev.exs
kieraneglin/activestorage_ex
3cc00c212f2e87f9e04651e16e6701af8893cc7b
[ "MIT" ]
2
2019-05-30T18:29:37.000Z
2020-06-27T18:40:03.000Z
use Mix.Config config :activestorage_ex, root_path: "/", jwt_secret: "", link_expiration: 60 * 5, asset_host: "", s3_bucket: "" import_config "secrets.exs"
15.272727
27
0.672619
ac1ca2813e160089d452e80aa548fd81ed18d27e
4,120
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/monitoring.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_user/lib/google_api/service_user/v1/model/monitoring.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_user/lib/google_api/service_user/v1/model/monitoring.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...
39.238095
192
0.727427
ac1cc4c7308c979870ec9cfe90971ffd2f3108ca
6,371
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/backend.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
57.918182
561
0.725946
ac1cd6ab35c17f0fb1b6e91c852aa2f1f2c8ec03
5,293
ex
Elixir
lib/bamboo/adapters/sendin_blue_adapter.ex
maysam/bamboo_sendinblue
882511499ce8088b46713dbae06eee1bd84c860a
[ "MIT" ]
6
2018-10-21T06:15:20.000Z
2022-03-22T08:54:46.000Z
lib/bamboo/adapters/sendin_blue_adapter.ex
maysam/bamboo_sendinblue
882511499ce8088b46713dbae06eee1bd84c860a
[ "MIT" ]
3
2018-09-03T17:57:04.000Z
2021-02-23T10:26:02.000Z
lib/bamboo/adapters/sendin_blue_adapter.ex
maysam/bamboo_sendinblue
882511499ce8088b46713dbae06eee1bd84c860a
[ "MIT" ]
9
2018-01-10T12:04:46.000Z
2022-03-16T23:57:44.000Z
defmodule Bamboo.SendinBlueAdapter do @moduledoc """ Sends email using SendinBlue's JSON API v2.0. Use this adapter to send emails through SendinBlue's API. Requires that an API key is set in the config. If you would like to add a replyto header to your email, then simply pass it in using the header prope...
27.005102
93
0.659361
ac1cf8ffc7d0208a9642de386120a085fdb5e07a
2,219
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/operations_scoped_list_warning.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/operations_scoped_list_warning.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/operations_scoped_list_warning.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...
41.867925
247
0.727355
ac1d0b6ed28b51312282726e5a994d7328aae585
1,148
exs
Elixir
config/dev.exs
rockerBOO/elirc_twitch_oauth_web
1e4e62ceb57aac7efa68a09d3c9e87fa0f776203
[ "MIT" ]
null
null
null
config/dev.exs
rockerBOO/elirc_twitch_oauth_web
1e4e62ceb57aac7efa68a09d3c9e87fa0f776203
[ "MIT" ]
null
null
null
config/dev.exs
rockerBOO/elirc_twitch_oauth_web
1e4e62ceb57aac7efa68a09d3c9e87fa0f776203
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :elirc_twitch_oauth_web, ElircTwitchOauthWeb.End...
31.888889
63
0.732578
ac1d27fc7e9e89f515e5884f76fc85c54c5bb50c
130
exs
Elixir
config/dev.exs
bonny-k8s/eviction_operator
8f7050db6c0e3211cacf6affecca5fae67f18719
[ "MIT" ]
2
2019-09-30T08:50:53.000Z
2019-10-07T14:27:00.000Z
config/dev.exs
bonny-k8s/eviction_operator
8f7050db6c0e3211cacf6affecca5fae67f18719
[ "MIT" ]
1
2019-10-07T00:39:28.000Z
2019-10-07T00:39:28.000Z
config/dev.exs
bonny-k8s/eviction_operator
8f7050db6c0e3211cacf6affecca5fae67f18719
[ "MIT" ]
null
null
null
use Mix.Config config :logger, level: :debug config :k8s, clusters: %{ default: %{ conn: "~/.kube/config" } }
11.818182
29
0.553846
ac1d426b15048bb740ac2685fe7338528828d8ad
2,224
exs
Elixir
test/lapin_test.exs
expert360/lapin
81f63910178523af6658412a6730632bad08d143
[ "MIT" ]
null
null
null
test/lapin_test.exs
expert360/lapin
81f63910178523af6658412a6730632bad08d143
[ "MIT" ]
null
null
null
test/lapin_test.exs
expert360/lapin
81f63910178523af6658412a6730632bad08d143
[ "MIT" ]
null
null
null
defmodule LapinTest do use ExUnit.Case doctest Lapin setup_all do exchange = "test_exchange" queue = "test_queue" %{ exchange: exchange, queue: queue, message: "", producer: [ module: LapinTest.HelloWorld, channels: [ [ role: :producer, ...
25.860465
96
0.566547
ac1d72afc8c51377b02c4df57afe8a446f73514e
984
ex
Elixir
lib/smart_note/application.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
null
null
null
lib/smart_note/application.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
null
null
null
lib/smart_note/application.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
null
null
null
defmodule SmartNote.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application alias SmartNote.Config def start(_type, _args) do load_config() children = [ {Phoenix.PubSub, name: SmartNote.PubSub}, Smart...
24
68
0.711382
ac1e1087e8d975038fc40b34057d9b5aba0c7c11
346
exs
Elixir
priv/repo/seeds.exs
tilmans/purely-functional-planning-game
3f667afa53fe7648871d416cd32af9aed15a971f
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
tilmans/purely-functional-planning-game
3f667afa53fe7648871d416cd32af9aed15a971f
[ "Apache-2.0" ]
1
2019-04-10T03:50:58.000Z
2019-04-10T03:50:58.000Z
priv/repo/seeds.exs
tilmans/purely-functional-planning-game
3f667afa53fe7648871d416cd32af9aed15a971f
[ "Apache-2.0" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Hello.Repo.insert!(%Hello.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail...
28.833333
61
0.702312
ac1e1d043a76de08e65c7a493efe5b6009e39269
1,844
exs
Elixir
clients/comment_analyzer/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/comment_analyzer/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/comment_analyzer/mix.exs
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...
27.522388
107
0.660521
ac1e3d8cc678d723265adbe9dfb9bb9b2f10f961
374
ex
Elixir
testData/org/elixir_lang/parser_definition/map_operation_parsing_test_case/MatchedPipeMapExpression.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/parser_definition/map_operation_parsing_test_case/MatchedPipeMapExpression.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
testData/org/elixir_lang/parser_definition/map_operation_parsing_test_case/MatchedPipeMapExpression.ex
ArtemGordinsky/intellij-elixir
e2d9b4dfc65651b293d499043edeaad606cf5652
[ "Apache-2.0" ]
null
null
null
%{ current | :update } %{ current | Update.Alias } %{ current | Update.function() } %{ current | Update.function } %{ current | update() } %{ current | update } %{ current | Update } %{ current | @:update } %{ current | @Update.Alias } %{ current | @Update.function() } %{ current | @Update.function } %{ current | @upd...
23.375
33
0.59893
ac1e78a42707974613eb085aea6b28e7e5a38c17
555
exs
Elixir
priv/repo/migrations/20171203153637_create_user_attribute.exs
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
priv/repo/migrations/20171203153637_create_user_attribute.exs
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
priv/repo/migrations/20171203153637_create_user_attribute.exs
suhaschitade/AppoRemind
64ed7123e7e5e2c40e398597c61d0a45db0cae50
[ "MIT" ]
null
null
null
defmodule Hello.Repo.Migrations.CreateUserAttribute do use Ecto.Migration def change do create table(:user_attributes) do add :active, :boolean, default: false, null: false add :user_id, references(:users, on_delete: :nothing) add :company_id, references(:companies, on_delete: :nothing) ...
29.210526
66
0.700901
ac1eeffcba335bceb672d02be588715abcfbb19b
1,193
exs
Elixir
mix.exs
princemaple/elixir-queue
cdaf2aa46cd3af76d549a7b4ae2a592bc024670a
[ "MIT" ]
19
2017-01-07T02:27:08.000Z
2021-06-21T14:38:02.000Z
mix.exs
princemaple/elixir-queue
cdaf2aa46cd3af76d549a7b4ae2a592bc024670a
[ "MIT" ]
10
2016-12-26T11:35:24.000Z
2022-03-24T21:55:26.000Z
mix.exs
princemaple/elixir-queue
cdaf2aa46cd3af76d549a7b4ae2a592bc024670a
[ "MIT" ]
6
2017-11-14T14:55:25.000Z
2021-11-27T13:02:32.000Z
defmodule Qex.Mixfile do use Mix.Project @source_url "https://github.com/princemaple/elixir-queue" @version "0.5.1" def project do [ app: :qex, name: "Qex", version: @version, elixir: "~> 1.9", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, ...
20.929825
95
0.552389
ac1ef83629a42ea0b5ed3078f7e8e6d557c0a9c1
511
ex
Elixir
lib/re_web/auth/guardian.ex
diemesleno/backend
a55f9c846cc826b5269f3fd6ce19223f0c6a1682
[ "MIT" ]
1
2020-01-23T04:24:58.000Z
2020-01-23T04:24:58.000Z
lib/re_web/auth/guardian.ex
diemesleno/backend
a55f9c846cc826b5269f3fd6ce19223f0c6a1682
[ "MIT" ]
null
null
null
lib/re_web/auth/guardian.ex
diemesleno/backend
a55f9c846cc826b5269f3fd6ce19223f0c6a1682
[ "MIT" ]
1
2019-12-31T16:11:21.000Z
2019-12-31T16:11:21.000Z
defmodule ReWeb.Guardian do @moduledoc """ Module to implement guardian behavior """ use Guardian, otp_app: :re alias Re.{ Repo, User } def subject_for_token(resource, _claims) do {:ok, to_string(resource.id)} end def resource_from_claims(claims) do user = Repo.get(User, claims["sub...
17.033333
54
0.618395
ac1efa8f704129b061e5cb74e3831b30c36cf244
2,387
ex
Elixir
clients/speech/lib/google_api/speech/v1/model/recognition_audio.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/model/recognition_audio.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/model/recognition_audio.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
46.803922
501
0.749476
ac1f0179b68fcb16488c838ee8c1a98b0de6fbd5
1,814
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/model/schema.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/pub_sub/lib/google_api/pub_sub/v1/model/schema.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/pub_sub/lib/google_api/pub_sub/v1/model/schema.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.226415
232
0.702315
ac1f07fcfd626dfbd5e3d16b160b630c8154dda4
2,949
ex
Elixir
lib/ex_pesa/Jenga/signature.ex
MidigoF/ex_pesa
d2a62e72c67084385609c895e52a6ac52e8a9a8a
[ "AML", "MIT" ]
null
null
null
lib/ex_pesa/Jenga/signature.ex
MidigoF/ex_pesa
d2a62e72c67084385609c895e52a6ac52e8a9a8a
[ "AML", "MIT" ]
null
null
null
lib/ex_pesa/Jenga/signature.ex
MidigoF/ex_pesa
d2a62e72c67084385609c895e52a6ac52e8a9a8a
[ "AML", "MIT" ]
null
null
null
defmodule ExPesa.Jenga.Signature do @moduledoc """ ## signatures To ensure the security of your transactions or requests, we have implemented security controls that we ensure that transactions can only be initiated by you and no one else. To achieve this, we use message signatures. How it works All requests...
42.128571
350
0.743642
ac1f097cc1cd14dd58da33e63081cb7f34b71b8b
937
ex
Elixir
postgis-ecto/gis_demo/test/support/channel_case.ex
wisq/slides
e0a1b9dd8187b82c8772b4e6ab20f8b069e1feb1
[ "MIT" ]
null
null
null
postgis-ecto/gis_demo/test/support/channel_case.ex
wisq/slides
e0a1b9dd8187b82c8772b4e6ab20f8b069e1feb1
[ "MIT" ]
null
null
null
postgis-ecto/gis_demo/test/support/channel_case.ex
wisq/slides
e0a1b9dd8187b82c8772b4e6ab20f8b069e1feb1
[ "MIT" ]
null
null
null
defmodule GisDemoWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the test case interacts wi...
24.657895
69
0.716115
ac1f4f8cf40516423572a4713f21759fc10bf212
1,521
ex
Elixir
test/support/data_case.ex
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
3
2022-03-24T16:48:38.000Z
2022-03-24T16:50:04.000Z
test/support/data_case.ex
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
null
null
null
test/support/data_case.ex
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
1
2022-03-20T01:11:12.000Z
2022-03-20T01:11:12.000Z
defmodule Tapebas.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to t...
28.166667
77
0.692965
ac1f5867ff867ec3bdab62cf0f5a6d7b33558c5d
2,121
exs
Elixir
test/root_supervisor_test.exs
iboard/axrepo
6d03f10e80456fd557da701cebf4456d4f5e3f97
[ "MIT" ]
null
null
null
test/root_supervisor_test.exs
iboard/axrepo
6d03f10e80456fd557da701cebf4456d4f5e3f97
[ "MIT" ]
null
null
null
test/root_supervisor_test.exs
iboard/axrepo
6d03f10e80456fd557da701cebf4456d4f5e3f97
[ "MIT" ]
null
null
null
defmodule RepoSupervisorTest do use ExUnit.Case, async: false alias Altex.{Entity, Repo} describe "implementation:" do test "start the 'Repo.Supervisor' with the 'Application'" do root_supervisor = GenServer.whereis(:repo_supervisor) assert is_pid(root_supervisor) end end describe "inte...
28.662162
91
0.607732
ac1f9a76963d28ce0d8ae17f1514ef5cf0f15ac8
914
exs
Elixir
test/class_test.exs
clszzyh/class
5c554c8a145579ab90f6f50213249bfba1526a41
[ "MIT" ]
null
null
null
test/class_test.exs
clszzyh/class
5c554c8a145579ab90f6f50213249bfba1526a41
[ "MIT" ]
32
2021-03-23T02:05:28.000Z
2022-03-31T02:06:26.000Z
test/class_test.exs
clszzyh/class
5c554c8a145579ab90f6f50213249bfba1526a41
[ "MIT" ]
null
null
null
defmodule ClassTest do use ExUnit.Case doctest Class test "person" do assert Person.__meta__()[:enforce_keys] == [:name] assert Person.__meta__()[:vars] == [age: 0, name: nil] assert [age: {_, _, _}, name: {_, _, _}] = Person.__meta__()[:types] assert Person.new(%{name: "bar"}) == %Person{name: "...
33.851852
94
0.588621
ac1fc2b43a9fa3ef386ea713b34e8207f7146cbf
34,678
ex
Elixir
clients/script/lib/google_api/script/v1/api/projects.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/script/lib/google_api/script/v1/api/projects.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/script/lib/google_api/script/v1/api/projects.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43.620126
305
0.662985
ac201306a14131b25542dae2df2479c8ef396b1f
4,470
ex
Elixir
lib/elixir_script/passes/translate/forms/bitstring.ex
alex-min/elixirscript
a2bd2327d0b6bbacf98fb555198acf12c0c20916
[ "MIT" ]
1
2021-09-14T14:28:39.000Z
2021-09-14T14:28:39.000Z
lib/elixir_script/passes/translate/forms/bitstring.ex
alex-min/elixirscript
a2bd2327d0b6bbacf98fb555198acf12c0c20916
[ "MIT" ]
null
null
null
lib/elixir_script/passes/translate/forms/bitstring.ex
alex-min/elixirscript
a2bd2327d0b6bbacf98fb555198acf12c0c20916
[ "MIT" ]
null
null
null
defmodule ElixirScript.Translate.Forms.Bitstring do @moduledoc false alias ESTree.Tools.Builder, as: JS alias ElixirScript.Translate.Helpers alias ElixirScript.Translate.Form def compile({:<<>>, _, elements}, state) do js_ast = Helpers.new( Helpers.bitstring(), Enum.map(elements, &c...
25.988372
98
0.599329
ac204334c44241d8d32330e24f2a34137f2af529
1,752
ex
Elixir
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/google_account.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/google_account.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/google_account.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...
35.04
211
0.734018
ac204a2a0dc32fb99a45bf3161c3040ae6654173
2,729
exs
Elixir
test/options_tracker_web/controllers/user_session_controller_test.exs
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
12
2020-06-25T17:25:15.000Z
2021-09-30T20:13:33.000Z
test/options_tracker_web/controllers/user_session_controller_test.exs
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
5
2020-08-05T03:12:31.000Z
2021-07-15T04:59:03.000Z
test/options_tracker_web/controllers/user_session_controller_test.exs
mgwidmann/options_tracker
5520f88a9a5873842a63a23d4bcc5da82a51feba
[ "MIT" ]
2
2021-07-03T17:20:15.000Z
2021-09-01T15:38:58.000Z
defmodule OptionsTrackerWeb.UserSessionControllerTest do use OptionsTrackerWeb.ConnCase, async: true import OptionsTracker.UsersFixtures setup do %{user: user_fixture()} end describe "GET /users/log_in" do test "renders log in page", %{conn: conn} do conn = get(conn, Routes.user_session_path(...
32.879518
89
0.618908
ac207ee0d51cabfc4ae4474a0a529ccb0c8bee10
1,222
exs
Elixir
test/exshome/event_test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
2
2021-12-21T16:32:56.000Z
2022-02-22T17:06:39.000Z
test/exshome/event_test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
null
null
null
test/exshome/event_test.exs
exshome/exshome
ef6b7a89f11dcd2016856dd49517b74aeebb6513
[ "MIT" ]
null
null
null
defmodule ExshomeTest.EventTest do use Exshome.DataCase, async: true alias Exshome.Event alias ExshomePlayer.Events.{MpvEvent, PlayerFileEnd} alias ExshomePlayer.Services.PlayerState describe "valid event module" do test "subscribe/1 works well" do Event.subscribe(PlayerFileEnd) end test "...
22.218182
54
0.670213
ac20aa32c6195f5f460113174030cbed7644ab3e
515
ex
Elixir
lib/dypa01/transport/uart.ex
mnishiguchi/dypa01
e995c9b0284cf4276518fca4b3664d09e0f5d556
[ "MIT" ]
1
2021-08-29T01:51:37.000Z
2021-08-29T01:51:37.000Z
lib/dypa01/transport/uart.ex
mnishiguchi/dypa01
e995c9b0284cf4276518fca4b3664d09e0f5d556
[ "MIT" ]
null
null
null
lib/dypa01/transport/uart.ex
mnishiguchi/dypa01
e995c9b0284cf4276518fca4b3664d09e0f5d556
[ "MIT" ]
null
null
null
defmodule DYPA01.Transport.UART do @moduledoc false @behaviour DYPA01.Transport @uart_config [ speed: 9600, data_bits: 8, stop_bits: 1, parity: :none, active: true, framing: Circuits.UART.Framing.FourByte ] @impl DYPA01.Transport def start_link(args) do port_name = Keyword.fet...
20.6
73
0.660194