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
4a6aaec5fca58de88c1da8a867ce8979645b399a
680
exs
Elixir
backend/priv/repo/migrations/20211108144240_create_hardware_type_part_numbers.exs
bejolithic/honeyland
8c4a0d3b56543648d3acb96cc6906df86526743b
[ "Apache-2.0" ]
null
null
null
backend/priv/repo/migrations/20211108144240_create_hardware_type_part_numbers.exs
bejolithic/honeyland
8c4a0d3b56543648d3acb96cc6906df86526743b
[ "Apache-2.0" ]
null
null
null
backend/priv/repo/migrations/20211108144240_create_hardware_type_part_numbers.exs
bejolithic/honeyland
8c4a0d3b56543648d3acb96cc6906df86526743b
[ "Apache-2.0" ]
null
null
null
defmodule Honeyland.Repo.Migrations.CreateHardwareTypePartNumbers do use Ecto.Migration def change do create table(:hardware_type_part_numbers) do add :tenant_id, references(:tenants, column: :tenant_id, on_delete: :delete_all), null: false add :part_number, :string, null: false add...
30.909091
92
0.729412
4a6ac33d91cbdbd98c009b157021b4c329107bd7
7,264
ex
Elixir
lib/livebook/runtime/erl_dist/runtime_server.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/erl_dist/runtime_server.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/erl_dist/runtime_server.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
1
2021-12-18T03:42:04.000Z
2021-12-18T03:42:04.000Z
defmodule Livebook.Runtime.ErlDist.RuntimeServer do @moduledoc false # A server process backing a specific runtime. # # This process handles `Livebook.Runtime` operations, # like evaluation and completion. It spawns/terminates # individual evaluators corresponding to evaluation # containers as necessary....
28.598425
96
0.681993
4a6ae5642982edeb0f9f6123d5bb43f59df9df05
726
exs
Elixir
test/dailymeal_web/views/users_view_test.exs
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
test/dailymeal_web/views/users_view_test.exs
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
test/dailymeal_web/views/users_view_test.exs
LuizFerK/DailyMealRelations
57f9cc60bf263267fb8c5a3da8e25e86a0e0aca4
[ "MIT" ]
null
null
null
defmodule DailymealWeb.UsersViewTest do use DailymealWeb.ConnCase, async: true import Phoenix.View import Dailymeal.Factory alias Dailymeal.{Meal, User} alias DailymealWeb.UsersView test "renders user.json" do user = build(:user) response = render(UsersView, "user.json", user: user) assert ...
21.352941
75
0.646006
4a6aec1412497b69828aacb2453f034cdf8e5e97
9,053
ex
Elixir
lib/task_bunny/worker.ex
jnylen/task_bunny
72f014960b71b3e4b2685f9296c28819cd85929f
[ "MIT" ]
null
null
null
lib/task_bunny/worker.ex
jnylen/task_bunny
72f014960b71b3e4b2685f9296c28819cd85929f
[ "MIT" ]
55
2020-05-12T05:18:41.000Z
2022-03-24T04:04:17.000Z
lib/task_bunny/worker.ex
jnylen/task_bunny
72f014960b71b3e4b2685f9296c28819cd85929f
[ "MIT" ]
null
null
null
defmodule TaskBunny.Worker do @moduledoc """ A GenServer that listens a queue and consumes messages. You don't have to call or start worker explicity. TaskBunny loads config and starts workers automatically for you. """ use GenServer require Logger alias TaskBunny.{ Connection, Consumer, ...
28.37931
102
0.637026
4a6b0ff7b11e05c54767acdc975e777c82f94759
1,902
exs
Elixir
clients/os_config/mix.exs
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/os_config/mix.exs
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/os_config/mix.exs
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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...
28.38806
156
0.660883
4a6b2f955a92bcb492b347de8b39d00a5f78b9e4
1,066
ex
Elixir
lib/jerboa/client/protocol/refresh.ex
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
14
2016-12-22T10:38:34.000Z
2021-03-11T23:20:26.000Z
lib/jerboa/client/protocol/refresh.ex
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
94
2016-12-22T13:13:29.000Z
2021-02-10T14:22:32.000Z
lib/jerboa/client/protocol/refresh.ex
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
6
2017-04-03T20:23:00.000Z
2022-03-06T10:14:30.000Z
defmodule Jerboa.Client.Protocol.Refresh do @moduledoc false alias Jerboa.Params alias Jerboa.Format.Body.Attribute.Lifetime alias Jerboa.Client alias Jerboa.Client.Protocol alias Jerboa.Client.Credentials @spec request(Credentials.t) :: Protocol.request def request(creds) do params = params(creds...
26.65
70
0.675422
4a6b3d86d3090aec9b6b111094e6f6c6ccab9907
5,215
ex
Elixir
lib/scenic/component/input/checkbox.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/checkbox.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
lib/scenic/component/input/checkbox.ex
mikeover/scenic
4b61c4996ed2d06b8cdf94f88c8a0522160e10b5
[ "Apache-2.0" ]
null
null
null
defmodule Scenic.Component.Input.Checkbox do use Scenic.Component, has_children: false alias Scenic.Graph alias Scenic.Primitive alias Scenic.ViewPort alias Scenic.Primitive.Style.Theme import Scenic.Primitives # import IEx @default_font :roboto @default_font_size 20 # @default_width 140 #...
27.303665
87
0.504314
4a6b45a36e68905c15765722d6eb8885415b99ea
35,852
ex
Elixir
deps/ecto/lib/ecto/association.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/association.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/association.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
import Ecto.Query, only: [from: 2, join: 4, distinct: 3] defmodule Ecto.Association.NotLoaded do @moduledoc """ Struct returned by one to one associations when they are not loaded. The fields are: * `__field__` - the association field in `owner` * `__owner__` - the schema that owns the association ...
34.539499
112
0.653715
4a6b75b5a1f0202c2d62a77a199d5cc2a9eb6192
1,159
exs
Elixir
mix.exs
CrowdHailer/happy_with
e3cf8fd58af1ff99d9279a1e2e4b511cfb1c22a1
[ "Apache-2.0" ]
null
null
null
mix.exs
CrowdHailer/happy_with
e3cf8fd58af1ff99d9279a1e2e4b511cfb1c22a1
[ "Apache-2.0" ]
null
null
null
mix.exs
CrowdHailer/happy_with
e3cf8fd58af1ff99d9279a1e2e4b511cfb1c22a1
[ "Apache-2.0" ]
null
null
null
defmodule HappyWith.Mixfile do use Mix.Project def project do [app: :happy_with, version: "1.0.0", elixir: "~> 1.2", description: description, package: package, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end def package do [files...
21.462963
77
0.601381
4a6b940230a6210b3bbbc39dc4ef73d24dc9815f
7,793
ex
Elixir
lib/hexpm/repository/releases.ex
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
lib/hexpm/repository/releases.ex
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
lib/hexpm/repository/releases.ex
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Repository.Releases do use Hexpm.Web, :context @publish_timeout 60_000 def all(package) do Release.all(package) |> Repo.all() |> Release.sort() end def recent(repository, count) do Repo.all(Release.recent(repository, count)) end def count() do Repo.one!(Release.coun...
30.441406
99
0.663801
4a6ba45e0c88cc89ddd2a80bdc8c91a72b63f4f5
36,237
ex
Elixir
lib/mix/lib/mix/compilers/elixir.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
1
2022-03-28T12:04:08.000Z
2022-03-28T12:04:08.000Z
lib/mix/lib/mix/compilers/elixir.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/compilers/elixir.ex
oskarkook/elixir
2ddd291c533cdc2b1b1f02153d94c0b248cb9836
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Compilers.Elixir do @moduledoc false @manifest_vsn 13 @checkpoint_vsn 2 import Record defrecord :module, [:module, :kind, :sources, :export, :recompile?] defrecord :source, source: nil, size: 0, digest: nil, compile_references: [], export_references: [], runtime_ref...
35.215743
106
0.653752
4a6bb7be25b003105f74eefe5daf2c0529816f51
88
exs
Elixir
test/clipstamp/web/views/layout_view_test.exs
schwarz/clipstamp
1cda56679e371c1d091b3879577467d51efa0d01
[ "MIT" ]
null
null
null
test/clipstamp/web/views/layout_view_test.exs
schwarz/clipstamp
1cda56679e371c1d091b3879577467d51efa0d01
[ "MIT" ]
null
null
null
test/clipstamp/web/views/layout_view_test.exs
schwarz/clipstamp
1cda56679e371c1d091b3879577467d51efa0d01
[ "MIT" ]
null
null
null
defmodule Clipstamp.Web.LayoutViewTest do use Clipstamp.Web.ConnCase, async: true end
22
41
0.818182
4a6bce482fa26528688c27977a1ec7bfd556bdfa
2,602
ex
Elixir
lib/credo/cli/output/ui.ex
rands0n/credo
c787a726ac7a521e21da5a098bd966af8862beb6
[ "MIT" ]
1
2021-12-27T01:30:05.000Z
2021-12-27T01:30:05.000Z
lib/credo/cli/output/ui.ex
rands0n/credo
c787a726ac7a521e21da5a098bd966af8862beb6
[ "MIT" ]
null
null
null
lib/credo/cli/output/ui.ex
rands0n/credo
c787a726ac7a521e21da5a098bd966af8862beb6
[ "MIT" ]
null
null
null
defmodule Credo.CLI.Output.UI do @moduledoc """ This module provides functions used to create the UI. >>> alias Credo.CLI.Output.UI >>> UI.puts "This is a test." This is a test. nil >>> alias Credo.CLI.Output.UI >>> UI.warn "This is a warning." This is a warning. ni...
25.762376
132
0.59877
4a6bd0f3a550c63b386ca1a208713822d303a5ea
12
ex
Elixir
testData/org/elixir_lang/parser_definition/issue_1843/InterpolatedSigilHeredoc.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/issue_1843/InterpolatedSigilHeredoc.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/issue_1843/InterpolatedSigilHeredoc.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~x''' \ '''
3
5
0.083333
4a6be8f7d170a3f51ecb2f176ab4b02eb0c2a4d7
544
ex
Elixir
apps/rtmp/lib/rtmp/protocol/detailed_message.ex
tiensonqin/elixir-media-libs
87f17e2b23bf8380e785423652910bfa7d3bb47c
[ "MIT" ]
null
null
null
apps/rtmp/lib/rtmp/protocol/detailed_message.ex
tiensonqin/elixir-media-libs
87f17e2b23bf8380e785423652910bfa7d3bb47c
[ "MIT" ]
null
null
null
apps/rtmp/lib/rtmp/protocol/detailed_message.ex
tiensonqin/elixir-media-libs
87f17e2b23bf8380e785423652910bfa7d3bb47c
[ "MIT" ]
null
null
null
defmodule Rtmp.Protocol.DetailedMessage do @moduledoc """ Represents the details of a deserialized RTMP message """ @type t :: %__MODULE__{ timestamp: non_neg_integer, stream_id: non_neg_integer, content: Rtmp.deserialized_message(), force_uncompressed: boolean, ...
27.2
55
0.641544
4a6bfad5235a5e53fc66c87c6a272c3f6045fac0
96
ex
Elixir
lib/tune_web/live/progress_bar_component.ex
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
206
2020-08-23T17:50:03.000Z
2022-03-28T04:39:01.000Z
lib/tune_web/live/progress_bar_component.ex
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
112
2020-08-21T08:26:38.000Z
2022-03-31T06:11:06.000Z
lib/tune_web/live/progress_bar_component.ex
wojtekmach/tune
8b38bc629eeafb35aae920ac59b986323de800eb
[ "MIT" ]
15
2020-08-25T02:30:23.000Z
2021-12-16T14:19:35.000Z
defmodule TuneWeb.ProgressBarComponent do @moduledoc false use TuneWeb, :live_component end
19.2
41
0.822917
4a6c0efdc39b97b20dee0dc674690313244d6814
1,861
ex
Elixir
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/issue.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/issue.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firebase_rules/lib/google_api/firebase_rules/v1/model/issue.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.113208
143
0.719506
4a6c57d53cdc8f78fbf07604650321bed9b63d0a
417
exs
Elixir
test/erlixir_web/views/error_view_test.exs
itsemilano/erlixir
39fdcb86a9ccd55058682b3263d40efb9cbad11f
[ "MIT" ]
null
null
null
test/erlixir_web/views/error_view_test.exs
itsemilano/erlixir
39fdcb86a9ccd55058682b3263d40efb9cbad11f
[ "MIT" ]
null
null
null
test/erlixir_web/views/error_view_test.exs
itsemilano/erlixir
39fdcb86a9ccd55058682b3263d40efb9cbad11f
[ "MIT" ]
null
null
null
defmodule ErlixirWeb.ErrorViewTest do use ErlixirWeb.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(ErlixirWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do as...
27.8
92
0.733813
4a6c5d0dbbca7c1fbec6fb2864a0841ce492b23b
1,867
ex
Elixir
apps/concierge_site/lib/dissemination/email.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/concierge_site/lib/dissemination/email.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/concierge_site/lib/dissemination/email.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule ConciergeSite.Dissemination.Email do @moduledoc false use Bamboo.Phoenix, view: ConciergeSite.EmailView alias AlertProcessor.Helpers.ConfigHelper alias ConciergeSite.Helpers.MailHelper require EEx @template_dir Application.fetch_env!(:concierge_site, :mail_template_dir) EEx.function_from_file(...
28.287879
80
0.726299
4a6c6547ef75fb18c862715ff7ca8d08d692d31a
1,418
ex
Elixir
clients/vault/lib/google_api/vault/v1/model/groups_export_options.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/vault/lib/google_api/vault/v1/model/groups_export_options.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/vault/lib/google_api/vault/v1/model/groups_export_options.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.170213
98
0.736953
4a6c7f9637e0cbb0ea24e1af2bb907988355807e
1,964
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/alert_strategy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/alert_strategy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/monitoring/lib/google_api/monitoring/v3/model/alert_strategy.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...
39.28
242
0.750509
4a6c92fee022b97cc0bb1f13223cbc75436dafbf
1,632
exs
Elixir
test/action_for_children/web/intercom_test.exs
cast-fuse/action-for-children
3cded6e04abdaf13d4d1033bf1daa783bc0e5ef2
[ "BSD-3-Clause" ]
null
null
null
test/action_for_children/web/intercom_test.exs
cast-fuse/action-for-children
3cded6e04abdaf13d4d1033bf1daa783bc0e5ef2
[ "BSD-3-Clause" ]
57
2017-05-25T10:32:59.000Z
2021-05-06T21:03:39.000Z
test/action_for_children/web/intercom_test.exs
cast-fuse/action-for-children
3cded6e04abdaf13d4d1033bf1daa783bc0e5ef2
[ "BSD-3-Clause" ]
null
null
null
defmodule ActionForChildrenWeb.IntercomTest do use ExUnit.Case import Mock alias ActionForChildrenWeb.{IntercomPrefferedTimes, IntercomRequest, IntercomRequestMock} defmacro with_request_mock(block) do quote do with_mock IntercomRequest, post: fn url, payload -> IntercomRequestMock.post(url, ...
25.904762
98
0.658088
4a6c95ac13e52994c5c1a38eb7ed27e7eacd3b7a
720
exs
Elixir
mix.exs
balexand/single
0168d539c7b540534155181f6af236c962bffb1f
[ "MIT" ]
null
null
null
mix.exs
balexand/single
0168d539c7b540534155181f6af236c962bffb1f
[ "MIT" ]
null
null
null
mix.exs
balexand/single
0168d539c7b540534155181f6af236c962bffb1f
[ "MIT" ]
null
null
null
defmodule Single.MixProject do use Mix.Project def project do [ app: :single, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), description: "Runs supervised, singleton processes within an Erlang cluster.", package: package() ] ...
19.459459
84
0.577778
4a6c979b02b2a03ef97f235b5fac1aab1edd8d8d
922
exs
Elixir
apps/web/config/config.exs
joshnuss/ornia
6a4c69a761b41ba0bcfd1c30f54dd2ccc92e5ead
[ "MIT" ]
1
2020-01-14T23:19:25.000Z
2020-01-14T23:19:25.000Z
apps/web/config/config.exs
joshnuss/ornia
6a4c69a761b41ba0bcfd1c30f54dd2ccc92e5ead
[ "MIT" ]
null
null
null
apps/web/config/config.exs
joshnuss/ornia
6a4c69a761b41ba0bcfd1c30f54dd2ccc92e5ead
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :web, namespace: Ornia.Web # Configures...
32.928571
86
0.755965
4a6ca173fe0c49b4c0bcd6cabd24b170602b1b0b
40,185
ex
Elixir
lib/migration_generator/migration_generator.ex
axelson/ash_postgres
72afa96a4535ee594219b0d37334529130dc4eb6
[ "MIT" ]
null
null
null
lib/migration_generator/migration_generator.ex
axelson/ash_postgres
72afa96a4535ee594219b0d37334529130dc4eb6
[ "MIT" ]
null
null
null
lib/migration_generator/migration_generator.ex
axelson/ash_postgres
72afa96a4535ee594219b0d37334529130dc4eb6
[ "MIT" ]
null
null
null
defmodule AshPostgres.MigrationGenerator do @moduledoc """ Generates migrations based on resource snapshots See `Mix.Tasks.AshPostgres.GenerateMigrations` for more information. """ @default_snapshot_path "priv/resource_snapshots" import Mix.Generator alias AshPostgres.MigrationGenerator.{Operation, Pha...
27.790456
199
0.595147
4a6ceb4bb8d031f11c49107a00cdb171517d920a
4,058
ex
Elixir
lib/commanded/scheduler/scheduling/scheduling.ex
betoxd40/commanded-scheduler
a72b701faa2901ddc5ff7fce0cf2046d4acce4b4
[ "MIT" ]
null
null
null
lib/commanded/scheduler/scheduling/scheduling.ex
betoxd40/commanded-scheduler
a72b701faa2901ddc5ff7fce0cf2046d4acce4b4
[ "MIT" ]
null
null
null
lib/commanded/scheduler/scheduling/scheduling.ex
betoxd40/commanded-scheduler
a72b701faa2901ddc5ff7fce0cf2046d4acce4b4
[ "MIT" ]
null
null
null
defmodule Commanded.Scheduler.Scheduling do @moduledoc false use Commanded.Event.Handler, name: "Commanded.Scheduler.Scheduling", application: Commanded.Scheduler.Application require Logger alias Commanded.Event.FailureContext alias Commanded.Scheduler.{ Dispatcher, Jobs, Repo, Sch...
27.418919
96
0.661656
4a6d07bf5e59ae009d2c33313718f55d244b19de
23,485
exs
Elixir
test/glimesh/channel_hosts_lookups_test.exs
mfaqiri/glimesh.tv
59eeb56bb0a5574b7b6168d9487660f41a457fd4
[ "MIT" ]
null
null
null
test/glimesh/channel_hosts_lookups_test.exs
mfaqiri/glimesh.tv
59eeb56bb0a5574b7b6168d9487660f41a457fd4
[ "MIT" ]
null
null
null
test/glimesh/channel_hosts_lookups_test.exs
mfaqiri/glimesh.tv
59eeb56bb0a5574b7b6168d9487660f41a457fd4
[ "MIT" ]
null
null
null
defmodule Glimesh.ChannelHostsLookupsTest do use Glimesh.DataCase use Bamboo.Test import Glimesh.AccountsFixtures import Glimesh.StreamsFixtures alias Glimesh.Streams alias Glimesh.Streams.ChannelHosts alias Glimesh.ChannelHostsLookups defp create_auto_hosting_data(_) do hosting_channel = st...
40.914634
107
0.664296
4a6d16c135651410a285ddf3310185245057ec34
3,572
ex
Elixir
lib/stripe/issuing/dispute.ex
neneboe/stripity_stripe
e86be7cd8f19dd208ee3cb7d9bd6165be3e71f17
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/issuing/dispute.ex
neneboe/stripity_stripe
e86be7cd8f19dd208ee3cb7d9bd6165be3e71f17
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/issuing/dispute.ex
neneboe/stripity_stripe
e86be7cd8f19dd208ee3cb7d9bd6165be3e71f17
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.Issuing.Dispute do @moduledoc """ Work with Stripe Issuing dispute objects. You can: - Create a dispute - Retrieve a dispute - Update a dispute - List all disputes Stripe API reference: https://stripe.com/docs/api/issuing/disputes """ use Stripe.Entity import Stripe.Request ...
27.267176
98
0.544513
4a6d1cd7e32e2a0f2c0cfaa01cb789c32ddce8d1
3,934
ex
Elixir
test/support/aggregate_case.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-22T16:59:34.000Z
2022-03-22T16:59:34.000Z
test/support/aggregate_case.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
24
2022-03-22T16:45:25.000Z
2022-03-31T13:00:02.000Z
test/support/aggregate_case.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-30T14:16:16.000Z
2022-03-30T14:16:16.000Z
defmodule Trento.AggregateCase do @moduledoc """ This module defines the test case to be used by aggregate tests. Derived from Commanded.AggregateCase """ use ExUnit.CaseTemplate alias Commanded.Aggregate.Multi # credo:disable-for-this-file using opts do quote do @aggregate Keyword.fetch!(u...
30.734375
106
0.581596
4a6d3ba8d640127263876929766cfc5a16837a02
1,013
exs
Elixir
test/test_helper.exs
szTheory/bsoneach
deb0a6721518ed9712cef4fc952df5ae3ba23c69
[ "MIT" ]
8
2016-08-05T19:28:16.000Z
2021-07-15T22:00:30.000Z
test/test_helper.exs
szTheory/bsoneach
deb0a6721518ed9712cef4fc952df5ae3ba23c69
[ "MIT" ]
5
2016-08-29T13:07:15.000Z
2016-11-24T16:58:01.000Z
test/test_helper.exs
szTheory/bsoneach
deb0a6721518ed9712cef4fc952df5ae3ba23c69
[ "MIT" ]
5
2018-06-19T02:43:46.000Z
2021-07-15T22:00:36.000Z
ExUnit.start() ExUnit.configure(exclude: [bson_wip: true]) defmodule Test.Support.DocumentAssertions do use ExUnit.Case def assert_document(%{} = document) do assert %{ "id" => _, "currency" => "EUR", "product_type" => "PDL", "term" => 30, "term_unit" => "DAYS", "sell_date"...
23.55814
48
0.443238
4a6d5ddbec1c9781d79c670dc826a36a3a26651c
1,508
ex
Elixir
lib/ash/type/function.ex
MrFlorius/ash
247abbb8333d252da5440a58ddf4f1b7f184342f
[ "MIT" ]
null
null
null
lib/ash/type/function.ex
MrFlorius/ash
247abbb8333d252da5440a58ddf4f1b7f184342f
[ "MIT" ]
null
null
null
lib/ash/type/function.ex
MrFlorius/ash
247abbb8333d252da5440a58ddf4f1b7f184342f
[ "MIT" ]
null
null
null
defmodule Ash.Type.Function do @moduledoc """ Represents a function. If the type would be dumped to a native format, `:erlang.term_to_binary(term, [:safe])` is used. Please keep in mind, this is not safe to use with external input. This could easily cause you t More information available here: https://erla...
21.855072
98
0.636605
4a6d5e0b854b3b6b0c2084f6613ce821ad6e5027
2,015
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__entity.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__entity.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__entity.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...
34.741379
189
0.728536
4a6d6a397d06ea6ce51c4f0fffaea538c6a4f586
5,342
ex
Elixir
lib/stripe/connect/oauth.ex
erhlee-bird/stripity_stripe
8c4c5712f391bf76e0a168125882c85048d3192f
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/connect/oauth.ex
erhlee-bird/stripity_stripe
8c4c5712f391bf76e0a168125882c85048d3192f
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/connect/oauth.ex
erhlee-bird/stripity_stripe
8c4c5712f391bf76e0a168125882c85048d3192f
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.Connect.OAuth do @moduledoc """ Work with Stripe Connect. You can: - generate the URL for starting the OAuth workflow - authorize a new connected account with a token - deauthorize an existing connected account Stripe API reference: https://stripe.com/docs/connect/reference """ al...
24.504587
148
0.636466
4a6d6ade0bb8d046d05a651a9245c6ecc2e87687
2,046
exs
Elixir
test/commands/permission/create_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/commands/permission/create_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/commands/permission/create_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Test.Commands.Permission.CreateTest do use Cog.CommandCase, command_module: Cog.Commands.Permission import Cog.Support.ModelUtilities, only: [permission: 1] alias Cog.Commands.Permission.Create alias Cog.Repository.Permissions test "creating a permission works" do payload = new_req(args: [...
28.816901
70
0.631965
4a6d7f266b865016bb22568cde7890390fb07839
2,916
exs
Elixir
test/bencode_test.exs
ckampfe/bex
cfbfdd600e03ebb9ef60c3f2f8cb61b0640455ff
[ "BSD-3-Clause" ]
null
null
null
test/bencode_test.exs
ckampfe/bex
cfbfdd600e03ebb9ef60c3f2f8cb61b0640455ff
[ "BSD-3-Clause" ]
null
null
null
test/bencode_test.exs
ckampfe/bex
cfbfdd600e03ebb9ef60c3f2f8cb61b0640455ff
[ "BSD-3-Clause" ]
null
null
null
defmodule BencodeTest do use ExUnit.Case alias Bex.Bencode test "decode/1 binary" do assert Bencode.decode("5:hello") == {"", "hello"} end test "decode/1 integer" do assert Bencode.decode("i123e") == {"", 123} assert Bencode.decode("i-123e") == {"", -123} assert Bencode.decode("i0e") == {""...
36
97
0.5607
4a6dab8a794ffab6786fb09c8c09e740b6616a45
14,386
exs
Elixir
test/storage/gcs_test.exs
tidusIO/arc_gcs
8ad93d9c28af4e1209d69d7f0ebdc14fb83ee307
[ "Apache-2.0" ]
52
2017-05-05T04:43:04.000Z
2021-06-17T00:49:38.000Z
test/storage/gcs_test.exs
tidusIO/arc_gcs
8ad93d9c28af4e1209d69d7f0ebdc14fb83ee307
[ "Apache-2.0" ]
108
2017-05-03T05:33:43.000Z
2021-12-20T03:33:36.000Z
test/storage/gcs_test.exs
tidusIO/arc_gcs
8ad93d9c28af4e1209d69d7f0ebdc14fb83ee307
[ "Apache-2.0" ]
33
2017-05-24T08:03:58.000Z
2022-03-14T12:50:37.000Z
defmodule DefinitionTest do defmacro __using__(_) do quote do use Arc.Definition @acl :public_read def __storage, do: Arc.Storage.GCS def filename(_, {file, name}) do name || file.file_name end def acl(_, {_, :private}), do: :private def gcs_object_headers(:o...
32.919908
97
0.66092
4a6dceb35b0d4366fe2fbd1c693d386bff24f204
685
exs
Elixir
mix.exs
papamitra/slack_bot_plugin
68abf4bbc39674c81720c71c865b7b8df48c9e54
[ "BSD-3-Clause" ]
null
null
null
mix.exs
papamitra/slack_bot_plugin
68abf4bbc39674c81720c71c865b7b8df48c9e54
[ "BSD-3-Clause" ]
null
null
null
mix.exs
papamitra/slack_bot_plugin
68abf4bbc39674c81720c71c865b7b8df48c9e54
[ "BSD-3-Clause" ]
null
null
null
defmodule SlackBotPlugin.Mixfile do use Mix.Project def project do [app: :slack_bot_plugin, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help com...
20.757576
77
0.616058
4a6df29290ebf39d86aef7ad6deac86fda4a6262
230
exs
Elixir
priv/repo/migrations/20170408182617_create_user.exs
AlexKovalevych/evolution
2271546f045d475d676f5993c25824496026694b
[ "MIT" ]
null
null
null
priv/repo/migrations/20170408182617_create_user.exs
AlexKovalevych/evolution
2271546f045d475d676f5993c25824496026694b
[ "MIT" ]
null
null
null
priv/repo/migrations/20170408182617_create_user.exs
AlexKovalevych/evolution
2271546f045d475d676f5993c25824496026694b
[ "MIT" ]
null
null
null
defmodule Evolution.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users) do add :login, :string timestamps() end create index(:users, [:login], unique: true) end end
16.428571
49
0.665217
4a6df4bd5d138073be9bbb9cf1e75936482350e6
6,567
ex
Elixir
lib/hub/ord_dict_tree.ex
ghitchens/nerves_hub
ee009aca39e39978119dc8a6b8e9e903ce2c37ff
[ "Apache-2.0" ]
null
null
null
lib/hub/ord_dict_tree.ex
ghitchens/nerves_hub
ee009aca39e39978119dc8a6b8e9e903ce2c37ff
[ "Apache-2.0" ]
null
null
null
lib/hub/ord_dict_tree.ex
ghitchens/nerves_hub
ee009aca39e39978119dc8a6b8e9e903ce2c37ff
[ "Apache-2.0" ]
null
null
null
# this module based on original hub.erl by ghitchens circa 2012 # # ghitchens wrote initial erlang version as hub.erl # captchrisd ported to elixir hub.ex # ghitchens refactored from hub.ex # # still needs serious elixirification and cleanup, move to maps or HashDict # If a value at any given path is a proplist (teste...
29.85
109
0.567991
4a6e0f47942024574608197755b56171a2f726ee
1,427
ex
Elixir
test/support/data_case.ex
bglusman/elixir-companies
d6a728cf9136888367e261feb876c5d2a266ed57
[ "MIT" ]
333
2019-05-18T14:01:17.000Z
2022-03-22T05:07:40.000Z
test/support/data_case.ex
bglusman/elixir-companies
d6a728cf9136888367e261feb876c5d2a266ed57
[ "MIT" ]
89
2019-05-18T10:01:54.000Z
2021-05-12T15:19:26.000Z
test/support/data_case.ex
envato/elixir-companies
7488075d1a372c9ca8fa6603f93e384b73977526
[ "MIT" ]
33
2019-06-07T00:33:53.000Z
2022-03-21T05:38:28.000Z
defmodule Companies.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 te...
25.945455
77
0.683252
4a6e23428769ca098056d5f186e111dcc5ac0786
61
ex
Elixir
lib/web/views/user_view.ex
yknx4/opencov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
8
2021-08-22T10:37:57.000Z
2022-01-10T11:27:06.000Z
lib/web/views/user_view.ex
yknx4/librecov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
109
2021-08-20T04:08:04.000Z
2022-01-03T07:39:18.000Z
lib/web/views/user_view.ex
Librecov/librecov
dc961a41e29b41b0657bc2a64bb67350a65477b8
[ "MIT" ]
null
null
null
defmodule Librecov.UserView do use Librecov.Web, :view end
15.25
30
0.786885
4a6e4ca53104c57f7158b7302baca8f72ddb7352
181
ex
Elixir
05-chapter/08_example.ex
herminiotorres/programming-elixir
70add5ec9fe7f91129da0a4e39ab329afb9be598
[ "MIT" ]
null
null
null
05-chapter/08_example.ex
herminiotorres/programming-elixir
70add5ec9fe7f91129da0a4e39ab329afb9be598
[ "MIT" ]
null
null
null
05-chapter/08_example.ex
herminiotorres/programming-elixir
70add5ec9fe7f91129da0a4e39ab329afb9be598
[ "MIT" ]
null
null
null
greeter = fn name -> fn -> "Hello #{name}" end end dave_greeter = greeter.("Dave") IO.puts("dave_greeter = greeter.('Dave')") IO.puts("dave_greeter.()") IO.inspect(dave_greeter.())
30.166667
50
0.668508
4a6e918f089e7c707a3c9fd35ceb5fbea3ab9065
16,391
ex
Elixir
lib/datetime/datetime.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
lib/datetime/datetime.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
lib/datetime/datetime.ex
chungwong/timex
bcd2504119f5c11ada7455d19726b5a49254dabf
[ "MIT" ]
null
null
null
defimpl Timex.Protocol, for: DateTime do @moduledoc """ A type which represents a date and time with timezone information (optional, UTC will be assumed for date/times with no timezone information provided). Functions that produce time intervals use UNIX epoch (or simly Epoch) as the default reference date. ...
39.687651
140
0.626868
4a6eb7e3f784cb76e3d63841e704eab9032bd3b4
88
ex
Elixir
lib/minesweeper.ex
lottetreg/minesweeper
72f85eb86b792346263ab4997a83c88873e0a04b
[ "MIT" ]
null
null
null
lib/minesweeper.ex
lottetreg/minesweeper
72f85eb86b792346263ab4997a83c88873e0a04b
[ "MIT" ]
8
2019-05-20T20:53:46.000Z
2019-06-27T13:50:24.000Z
lib/minesweeper.ex
lottetreg/minesweeper
72f85eb86b792346263ab4997a83c88873e0a04b
[ "MIT" ]
null
null
null
defmodule Minesweeper do def main(_args) do Game.start(GameState.new()) end end
14.666667
31
0.715909
4a6ecd33507f1ee933a500f1e04336fa3672ae04
16,122
ex
Elixir
apps/gen_rtmp_server/lib/gen_rtmp_server/protocol.ex
Kabie/elixir-media-libs
9750c6dcdffdf8014183a6a4f303c5d0d658f062
[ "MIT" ]
75
2016-12-23T14:37:18.000Z
2021-04-26T14:07:20.000Z
apps/gen_rtmp_server/lib/gen_rtmp_server/protocol.ex
Kabie/elixir-media-libs
9750c6dcdffdf8014183a6a4f303c5d0d658f062
[ "MIT" ]
19
2016-12-22T03:20:43.000Z
2020-06-11T12:10:37.000Z
apps/gen_rtmp_server/lib/gen_rtmp_server/protocol.ex
Kabie/elixir-media-libs
9750c6dcdffdf8014183a6a4f303c5d0d658f062
[ "MIT" ]
3
2018-03-29T06:40:40.000Z
2019-02-13T09:37:19.000Z
defmodule GenRtmpServer.Protocol do @moduledoc """ Ranch protocol that abstracts the RTMP protocol logic away """ @behaviour :ranch_protocol @behaviour Rtmp.Behaviours.EventReceiver @behaviour Rtmp.Behaviours.SocketHandler alias Rtmp.ServerSession.Events, as: RtmpEvents alias Rtmp.Protocol.Messages, a...
36.977064
146
0.701774
4a6ed97f1372efb1c50506136473920a05eab866
11,613
ex
Elixir
lib/codes/codes_m01.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_m01.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_m01.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_M01 do alias IcdCode.ICDCode def _M01X0 do %ICDCode{full_code: "M01X0", category_code: "M01", short_code: "X0", full_name: "Direct infection of unspecified joint in infectious and parasitic diseases classified elsewhere", short_name: "Direct...
52.076233
131
0.706191
4a6efb4a8e482adf71a6d335f54333d67be3724c
1,529
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/step.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_user/lib/google_api/service_user/v1/model/step.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/step.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 ...
30.58
95
0.7155
4a6f299a027ac6c25e1d76c8b1f2d9e1ff8e2425
1,097
ex
Elixir
lib/adoptoposs_web/views/sharing_view.ex
co0lsky/adoptoposs
73c5d80c80a5ae1bcbc4351d2a073b3483587502
[ "MIT" ]
null
null
null
lib/adoptoposs_web/views/sharing_view.ex
co0lsky/adoptoposs
73c5d80c80a5ae1bcbc4351d2a073b3483587502
[ "MIT" ]
1
2021-05-11T20:15:21.000Z
2021-05-11T20:15:21.000Z
lib/adoptoposs_web/views/sharing_view.ex
co0lsky/adoptoposs
73c5d80c80a5ae1bcbc4351d2a073b3483587502
[ "MIT" ]
null
null
null
defmodule AdoptopossWeb.SharingView do use AdoptopossWeb, :view alias Adoptoposs.Submissions.Project alias Adoptoposs.Accounts.User def title(%{project: project}) when not is_nil(project) do "#{AdoptopossWeb.SharedView.project_name(project)} needs your help!" end def title(_assigns) do "Adoptopos...
28.868421
122
0.734731
4a6f322b2dc105ba3373694b97613113ca937e21
11,542
ex
Elixir
lib/subscribex/subscriber.ex
CJPoll/subscribex
5ea47f7401825e34827d5b288d46e4ff10f8d332
[ "Unlicense" ]
22
2016-08-11T11:51:13.000Z
2020-01-12T17:22:11.000Z
lib/subscribex/subscriber.ex
CJPoll/subscribex
5ea47f7401825e34827d5b288d46e4ff10f8d332
[ "Unlicense" ]
7
2016-10-04T19:26:14.000Z
2018-12-15T19:18:43.000Z
lib/subscribex/subscriber.ex
CJPoll/subscribex
5ea47f7401825e34827d5b288d46e4ff10f8d332
[ "Unlicense" ]
14
2016-08-09T14:27:57.000Z
2021-04-01T20:18:43.000Z
defmodule Subscribex.Subscriber do @moduledoc """ A Behaviour for consuming from RabbitMQ one message at a time per consumer. """ @type init_args :: term @type channel :: %AMQP.Channel{} @type redelivered :: boolean @type payload :: term @type delivery_tag :: term @typedoc false @type body :: Stri...
29
102
0.658811
4a6f61d6ac338d8518dc6479b5d739de7e2f41c4
354
exs
Elixir
priv/repo/seeds.exs
kjhnns/microblog
fc82208f46d51a40e01c618b8b4c5aa961b3b3c8
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
kjhnns/microblog
fc82208f46d51a40e01c618b8b4c5aa961b3b3c8
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
kjhnns/microblog
fc82208f46d51a40e01c618b8b4c5aa961b3b3c8
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Microblog.Repo.insert!(%Microblog.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they w...
29.5
61
0.70904
4a6fa0ab815b938521910ba0eaea42b4784b022e
1,185
exs
Elixir
apps/elixir_ls_utils/mix.exs
ridho9/elixir-ls
8508c2519f7fdde7c2a0c58ff79cf3258baebb77
[ "Apache-2.0" ]
912
2017-06-08T03:58:03.000Z
2021-09-06T03:42:07.000Z
apps/elixir_ls_utils/mix.exs
niku/elixir-ls
8508c2519f7fdde7c2a0c58ff79cf3258baebb77
[ "Apache-2.0" ]
196
2017-06-09T23:32:16.000Z
2021-10-15T15:38:43.000Z
apps/elixir_ls_utils/mix.exs
niku/elixir-ls
8508c2519f7fdde7c2a0c58ff79cf3258baebb77
[ "Apache-2.0" ]
78
2017-07-06T18:35:34.000Z
2020-04-12T08:10:45.000Z
defmodule ElixirLS.Utils.Mixfile do use Mix.Project def project do [ app: :elixir_ls_utils, version: "0.2.24", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", elixirc_paths: ["lib", "test/support"], lockfile: "../../mix.lock...
25.212766
94
0.61519
4a6fcacfd7af25914d78a4019d27c732b6a878e1
697
ex
Elixir
lib/remote_retro_web/channels/voting_handlers.ex
dplain90/remote_retro
c7063c42c893215a54d336da2d7b068f2c120a7d
[ "MIT" ]
null
null
null
lib/remote_retro_web/channels/voting_handlers.ex
dplain90/remote_retro
c7063c42c893215a54d336da2d7b068f2c120a7d
[ "MIT" ]
null
null
null
lib/remote_retro_web/channels/voting_handlers.ex
dplain90/remote_retro
c7063c42c893215a54d336da2d7b068f2c120a7d
[ "MIT" ]
null
null
null
defmodule RemoteRetroWeb.VotingHandlers do alias RemoteRetro.{Repo, Vote} import Phoenix.Channel import ShorterMaps def handle_in("vote_submitted", ~m{idea_id, user_id}, socket) do reply_atom = insert_and_broadcast_to_other_clients(idea_id, user_id, socket) {:reply, reply_atom, socket} end defp ...
24.034483
80
0.708752
4a6fea8d855f77f3c39d15590dfe96e8bc90b126
1,416
ex
Elixir
lib/tres/messages.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2019-05-25T02:25:13.000Z
2020-10-06T17:00:03.000Z
lib/tres/messages.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2018-03-29T14:42:10.000Z
2019-11-19T07:03:09.000Z
lib/tres/messages.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
1
2019-03-30T20:48:27.000Z
2019-03-30T20:48:27.000Z
defmodule Tres.Messages do defmacro __using__(_) do quote do alias Openflow.ErrorMsg alias Openflow.Echo alias Openflow.Features alias Openflow.GetConfig alias Openflow.SetConfig alias Openflow.PacketIn alias Openflow.FlowRemoved alias Openflow.PortStatus alia...
28.32
44
0.721045
4a6ff40f9d4b0fc439958940a8aa68db1380aaec
31,010
ex
Elixir
lib/elixir/lib/calendar.ex
ukrbublik/elixir
1fd15774a4e00b161c6555fbe62ea134bb29b04e
[ "Apache-2.0" ]
1
2020-09-24T12:37:29.000Z
2020-09-24T12:37:29.000Z
lib/elixir/lib/calendar.ex
vnegrisolo/elixir
986bd300724aef4035a4ca11795c46b88817509b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/calendar.ex
vnegrisolo/elixir
986bd300724aef4035a4ca11795c46b88817509b
[ "Apache-2.0" ]
null
null
null
defmodule Calendar do @moduledoc """ This module defines the responsibilities for working with calendars, dates, times and datetimes in Elixir. Currently it defines types and the minimal implementation for a calendar behaviour in Elixir. The goal of the Calendar features in Elixir is to provide a base for ...
35.643678
110
0.630055
4a6ffda42cc74b101e1f6d09f5b1d61353dddca2
3,285
ex
Elixir
lib/mix/tasks/timber/install/project.ex
montebrown/timber-elixir
1e177cc426422be3617479143038f5882037752f
[ "0BSD" ]
null
null
null
lib/mix/tasks/timber/install/project.ex
montebrown/timber-elixir
1e177cc426422be3617479143038f5882037752f
[ "0BSD" ]
null
null
null
lib/mix/tasks/timber/install/project.ex
montebrown/timber-elixir
1e177cc426422be3617479143038f5882037752f
[ "0BSD" ]
null
null
null
defmodule Mix.Tasks.Timber.Install.Project do @moduledoc false defstruct [ :config_file_path, :endpoint_file_path, :endpoint_module_name, :mix_name, :module_name, :repo_module_name, :web_file_path ] alias Mix.Tasks.Timber.Install.{FileHelper, IOHelper, PathHelper} @module_name_r...
25.465116
89
0.664536
4a70194cc6016933eba9760b022a0c080556c61e
3,052
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/spark_r_job.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/spark_r_job.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/spark_r_job.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...
49.225806
304
0.710026
4a70224b096884339ce37a4490c95499bfb56968
3,659
ex
Elixir
lib/bot/db.ex
Bluek404/telegram-rss-bot
30e8fff8f6a61cdaa2bed749faba626d2edd598e
[ "MIT" ]
1
2015-10-13T10:12:27.000Z
2015-10-13T10:12:27.000Z
lib/bot/db.ex
Bluek404/telegram-rss-bot
30e8fff8f6a61cdaa2bed749faba626d2edd598e
[ "MIT" ]
1
2015-10-13T09:57:20.000Z
2015-10-13T12:05:09.000Z
lib/bot/db.ex
Bluek404/telegram-rss-bot
30e8fff8f6a61cdaa2bed749faba626d2edd598e
[ "MIT" ]
null
null
null
defmodule RSSBot.DB do def start_link(path, opts \\ []) do opts = opts |> Keyword.put(:name, RSSBot.DBServer) GenServer.start_link(__MODULE__, path, opts) end def init(path), do: Exleveldb.open(path) def put(key, value) do GenServer.call(RSSBot.DBServer, {:put, key, value}) end def get(key) d...
24.393333
61
0.549604
4a7026b254e5998961fc921d3f95d406dd8399a9
230
exs
Elixir
config/releases.exs
jackjoe/mailgun_logger
7d5a1989afdeb215bcd3753671c61bc25ed4e522
[ "MIT" ]
64
2020-02-10T20:42:46.000Z
2021-11-16T10:47:50.000Z
config/releases.exs
jackjoe/mailgun_logger
7d5a1989afdeb215bcd3753671c61bc25ed4e522
[ "MIT" ]
16
2020-02-10T20:45:57.000Z
2022-03-04T12:53:34.000Z
config/releases.exs
jackjoe/mailgun_logger
7d5a1989afdeb215bcd3753671c61bc25ed4e522
[ "MIT" ]
4
2020-04-03T17:13:19.000Z
2020-07-17T12:56:31.000Z
import Config config :mailgun_logger, MailgunLogger.Repo, username: System.get_env("ML_DB_USER"), password: System.get_env("ML_DB_PASSWORD"), database: System.get_env("ML_DB_NAME"), hostname: System.get_env("ML_DB_HOST")
28.75
45
0.769565
4a70668ecca89d92f45e9bf1be2c7b089cd7e5ab
8,495
ex
Elixir
clients/my_business_business_information/lib/google_api/my_business_business_information/v1/api/categories.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/my_business_business_information/lib/google_api/my_business_business_information/v1/api/categories.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/my_business_business_information/lib/google_api/my_business_business_information/v1/api/categories.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...
48.542857
242
0.645792
4a706caae6d81986ec747fe82e7ce922c35da2e5
7,398
ex
Elixir
lib/wechat/official_account/custom_message.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
null
null
null
lib/wechat/official_account/custom_message.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
null
null
null
lib/wechat/official_account/custom_message.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
null
null
null
defmodule WeChat.CustomMessage do @moduledoc """ 消息管理 - 客服消息 同时支持 公众号 & 小程序 [官方文档](https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Service_Center_messages.html){:target="_blank"} """ import Jason.Helpers import WeChat.Utils, only: [doc_link_prefix: 0] alias WeChat.{Card, Material} ...
25.598616
124
0.616112
4a70a2cc2e1bac7277ab0c192f68f320fad17fb2
2,168
ex
Elixir
lib/tilex/notifications/notifiers/notifier.ex
ebell451/tilex
58972af55e5784bebd71868939e9f35f00d7a025
[ "MIT" ]
460
2016-12-28T21:50:05.000Z
2022-03-16T14:34:08.000Z
lib/tilex/notifications/notifiers/notifier.ex
ebell451/tilex
58972af55e5784bebd71868939e9f35f00d7a025
[ "MIT" ]
412
2016-12-27T17:32:01.000Z
2021-09-17T23:51:47.000Z
lib/tilex/notifications/notifiers/notifier.ex
SimpleBet/tilex
64b8bfac59fd12c399f650d0732facfb965970b1
[ "MIT" ]
140
2017-01-06T06:55:58.000Z
2022-02-04T13:35:21.000Z
defmodule Tilex.Notifications.Notifier do @moduledoc """ Notifier implements callbacks for different system notifications. Implement your own notifier using this module and overriding the appropriate handlers. ## Example: defmodule Tilex.Notifications.Notifiers.Facebook do use Tilex.Notifications.No...
27.794872
95
0.675738
4a70b6afb8049700e97fca3ce048e5e435877b8b
2,459
exs
Elixir
test/okr_app_web/controllers/api/okr_reflection_controller_test.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
12
2019-05-10T21:48:06.000Z
2021-11-07T14:04:30.000Z
test/okr_app_web/controllers/api/okr_reflection_controller_test.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
2
2019-05-14T19:07:10.000Z
2019-05-20T21:06:27.000Z
test/okr_app_web/controllers/api/okr_reflection_controller_test.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
3
2019-05-19T18:24:20.000Z
2019-10-31T20:29:12.000Z
defmodule OkrAppWeb.Api.OkrReflectionControllerTest do use OkrAppWeb.ConnCase, async: true import OkrApp.CommonSetup alias OkrAppWeb.Api.OkrReflectionController, as: Controller describe "create/2" do setup :with_okr test "a valid reflection can be created under an okr", %{conn: conn, okr: okr} do ...
32.355263
95
0.55917
4a70cce7e7613de335b8d430937d84e8fa5644f9
2,464
exs
Elixir
apps/artemis/test/artemis/drivers/pager_duty/synchronize_incidents_test.exs
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/test/artemis/drivers/pager_duty/synchronize_incidents_test.exs
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/test/artemis/drivers/pager_duty/synchronize_incidents_test.exs
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-04-10T13:34:15.000Z
2019-05-17T02:42:24.000Z
defmodule Artemis.Drivers.PagerDuty.SynchronizeIncidentsTest do use Artemis.DataCase import Artemis.Factories alias Artemis.Drivers.PagerDuty.SynchronizeIncidents describe "calculate_since_date" do test "returns a default date when no records exist" do team_id = "TEST" result = SynchronizeIn...
36.235294
106
0.708198
4a70d64725f6501fed599464f248f6631178c693
457
exs
Elixir
test/bank_account_charts_web/views/error_view_test.exs
pinksynth/bank-account-charts
a4bb4c94941994a68151a7b3a94828d9bbf10833
[ "MIT" ]
null
null
null
test/bank_account_charts_web/views/error_view_test.exs
pinksynth/bank-account-charts
a4bb4c94941994a68151a7b3a94828d9bbf10833
[ "MIT" ]
null
null
null
test/bank_account_charts_web/views/error_view_test.exs
pinksynth/bank-account-charts
a4bb4c94941994a68151a7b3a94828d9bbf10833
[ "MIT" ]
null
null
null
defmodule BankAccountChartsWeb.ErrorViewTest do use BankAccountChartsWeb.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(BankAccountChartsWeb.ErrorView, "404.html", []) == "Not Found" end tes...
30.466667
102
0.757112
4a70dc09f4383007ecb3f6bb20a2bbd43525e002
2,396
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/google_sheets_options.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/google_sheets_options.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/google_sheets_options.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
46.980392
836
0.750417
4a70f626f4253cab4176650ced4712f303e9ffac
563
ex
Elixir
lib/phoenix/live_dashboard/layout_view.ex
vorce/phoenix_live_dashboard
48133a7e2dd5c547c002778caa67d78922912759
[ "MIT" ]
2
2020-05-07T23:49:26.000Z
2020-05-10T13:56:03.000Z
lib/phoenix/live_dashboard/layout_view.ex
vorce/phoenix_live_dashboard
48133a7e2dd5c547c002778caa67d78922912759
[ "MIT" ]
1
2020-06-11T01:43:00.000Z
2020-06-16T04:48:00.000Z
lib/phoenix/live_dashboard/layout_view.ex
vorce/phoenix_live_dashboard
48133a7e2dd5c547c002778caa67d78922912759
[ "MIT" ]
1
2021-02-04T03:06:20.000Z
2021-02-04T03:06:20.000Z
defmodule Phoenix.LiveDashboard.LayoutView do @moduledoc false use Phoenix.LiveDashboard.Web, :view js_path = Path.join(__DIR__, "../../../priv/static/js/app.js") css_path = Path.join(__DIR__, "../../../priv/static/css/app.css") @external_resource js_path @external_resource css_path @app_js File.read!(...
26.809524
77
0.689165
4a711fa4ccfc2ca54707434504c9d4305959ea84
11,646
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/api/operations.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/api/operations.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/api/operations.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 ...
47.149798
196
0.635841
4a717a3d843c17448f84fddf1c70e0d97fc8e75a
875
exs
Elixir
test/integration/delete_test.exs
devonestes/ex_admin
e135ae7c28de78fc87baf519ff8a32da12e8bf66
[ "MIT" ]
1,347
2015-10-05T18:23:49.000Z
2022-01-09T18:38:36.000Z
test/integration/delete_test.exs
leonardzhou/ex_admin
c241e956503c548a472e3ee89751e64a16477638
[ "MIT" ]
402
2015-10-03T13:53:32.000Z
2021-07-08T09:52:22.000Z
test/integration/delete_test.exs
leonardzhou/ex_admin
c241e956503c548a472e3ee89751e64a16477638
[ "MIT" ]
333
2015-10-12T22:56:57.000Z
2021-05-26T18:40:24.000Z
defmodule TestExAdmin.DeleteTest do use TestExAdmin.AcceptanceCase alias TestExAdmin.{Noid} hound_session() # Start hound session and destroy when tests are run setup do user = insert_user() {:ok, user: user} end # # This test is pending PhantomJS dialog support # https://github.com/detro/gh...
26.515152
67
0.697143
4a718a7f8b82084ac8494f8477853523950534bc
195
ex
Elixir
test/support/mock_view_adapter.ex
DefactoSoftware/ex_cell
15d47ba79f6797ea3d8abefd798b09b06b9adbae
[ "MIT" ]
30
2017-07-27T12:57:05.000Z
2021-12-21T12:39:40.000Z
test/support/mock_view_adapter.ex
DefactoSoftware/ex_cell
15d47ba79f6797ea3d8abefd798b09b06b9adbae
[ "MIT" ]
152
2017-08-01T12:50:54.000Z
2022-03-28T04:28:27.000Z
test/support/mock_view_adapter.ex
DefactoSoftware/ex_cell
15d47ba79f6797ea3d8abefd798b09b06b9adbae
[ "MIT" ]
5
2017-11-08T16:50:36.000Z
2019-05-02T10:14:15.000Z
defmodule ExCell.MockViewAdapter do @moduledoc false def render(cell, template, args), do: [cell, template, args] def render_to_string(cell, template, args), do: [cell, template, args] end
32.5
72
0.74359
4a719cd9e920477d7ea9a210dac44aad035314ba
6,131
ex
Elixir
lib/mint/core/util.ex
ryochin/mint
1ea7731d921840ad75a47fa9415525c3d94b9980
[ "Apache-2.0" ]
477
2019-10-28T14:53:23.000Z
2022-03-30T08:13:21.000Z
lib/mint/core/util.ex
ryochin/mint
1ea7731d921840ad75a47fa9415525c3d94b9980
[ "Apache-2.0" ]
108
2019-11-05T04:21:04.000Z
2022-02-24T18:36:15.000Z
lib/mint/core/util.ex
ryochin/mint
1ea7731d921840ad75a47fa9415525c3d94b9980
[ "Apache-2.0" ]
56
2019-11-10T01:19:56.000Z
2022-03-25T18:08:06.000Z
defmodule Mint.Core.Util do @moduledoc false @unallowed_trailing_headers MapSet.new([ "content-encoding", "content-length", "content-range", "content-type", ...
38.559748
128
0.522753
4a71c5a73b74da6d342ee0484db492e2a13eacee
10,125
ex
Elixir
lib/bypass/instance.ex
anthonator/bypass
0e44e6582f1e2ec580cbc21df6d907e7df5f2a3b
[ "MIT" ]
null
null
null
lib/bypass/instance.ex
anthonator/bypass
0e44e6582f1e2ec580cbc21df6d907e7df5f2a3b
[ "MIT" ]
null
null
null
lib/bypass/instance.ex
anthonator/bypass
0e44e6582f1e2ec580cbc21df6d907e7df5f2a3b
[ "MIT" ]
null
null
null
defmodule Bypass.Instance do use GenServer import Bypass.Utils # This is used to override the default behaviour of ranch_tcp # and limit the range of interfaces it will listen on to just # the loopback interface. @listen_ip {127, 0, 0, 1} def start_link(opts \\ []) do GenServer.start_link(__MODULE_...
30.405405
144
0.61442
4a71fc699eed65adb28d9e1d6e35e53cf9d72b12
780
ex
Elixir
lib/live_sup_web/components/add_button_component.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
lib/live_sup_web/components/add_button_component.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
lib/live_sup_web/components/add_button_component.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSupWeb.Components.AddButtonComponent do use LiveSupWeb, :component def render(assigns) do ~H""" <%= live_patch to: @path, class: "w-10 h-10 block relative ml-2 p-2 transition-colors duration-200 rounded-full text-primary-lighter dark:bg-darker hover:text-primary hover:bg-primary-100 dark:hove...
55.714286
353
0.703846
4a72051940fdde5e803b41aab5850b5fa7ed2ab5
656
ex
Elixir
lib/oli/delivery/sections/sections_projects_publications.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
lib/oli/delivery/sections/sections_projects_publications.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
lib/oli/delivery/sections/sections_projects_publications.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Delivery.Sections.SectionsProjectsPublications do use Ecto.Schema import Ecto.Changeset alias Oli.Delivery.Sections.Section alias Oli.Authoring.Course.Project alias Oli.Publishing.Publication @primary_key false schema "sections_projects_publications" do belongs_to :section, Section ...
26.24
69
0.753049
4a72091815b7f4f944cedfd5a860db4efa4fcd75
2,196
exs
Elixir
mix.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
12
2019-05-10T21:48:06.000Z
2021-11-07T14:04:30.000Z
mix.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
2
2019-05-14T19:07:10.000Z
2019-05-20T21:06:27.000Z
mix.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
3
2019-05-19T18:24:20.000Z
2019-10-31T20:29:12.000Z
defmodule OkrApp.Mixfile do use Mix.Project def project do [ app: :okr_app, version: "0.8.6", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), d...
28.153846
75
0.544171
4a720faf24fd1eb1b40fef0e96eace669143e484
384
ex
Elixir
test/support/lib/dummy/oauth_device_grants/oauth_device_grant.ex
heroinbob/ex_oauth2_provider
80c21a53bba0955ab3b66f1bd32cc81db0f04f49
[ "MIT" ]
null
null
null
test/support/lib/dummy/oauth_device_grants/oauth_device_grant.ex
heroinbob/ex_oauth2_provider
80c21a53bba0955ab3b66f1bd32cc81db0f04f49
[ "MIT" ]
null
null
null
test/support/lib/dummy/oauth_device_grants/oauth_device_grant.ex
heroinbob/ex_oauth2_provider
80c21a53bba0955ab3b66f1bd32cc81db0f04f49
[ "MIT" ]
null
null
null
defmodule Dummy.OauthDeviceGrants.OauthDeviceGrant do @moduledoc false use Ecto.Schema use ExOauth2Provider.DeviceGrants.DeviceGrant, otp_app: :ex_oauth2_provider if System.get_env("UUID") do @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id end schema "oauth_device_...
22.588235
77
0.760417
4a724fec73d5c96f07977e6b5e7f4573be32d054
419
exs
Elixir
ui/test/ui_web/views/error_view_test.exs
wemakerspace/nerves_thermal_camera
1483a4a41ea89567e96fd1250f718058553fbe09
[ "MIT" ]
25
2018-11-03T19:36:12.000Z
2021-11-17T13:09:06.000Z
ui/test/ui_web/views/error_view_test.exs
wemakerspace/nerves_thermal_camera
1483a4a41ea89567e96fd1250f718058553fbe09
[ "MIT" ]
4
2019-01-16T14:06:47.000Z
2021-09-01T18:59:02.000Z
ui/test/ui_web/views/error_view_test.exs
wemakerspace/nerves_thermal_camera
1483a4a41ea89567e96fd1250f718058553fbe09
[ "MIT" ]
8
2018-12-25T23:00:51.000Z
2020-12-22T15:10:21.000Z
defmodule UiWeb.ErrorViewTest do use UiWeb.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(UiWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do assert...
24.647059
66
0.682578
4a72a6b0f23cfcf6f92d05848174093a72995e7e
2,335
ex
Elixir
lib/mix/tasks/committee.install.ex
denvera/committee
456596e6a4089f9f5c8e3531107781ec7de3c837
[ "MIT" ]
null
null
null
lib/mix/tasks/committee.install.ex
denvera/committee
456596e6a4089f9f5c8e3531107781ec7de3c837
[ "MIT" ]
null
null
null
lib/mix/tasks/committee.install.ex
denvera/committee
456596e6a4089f9f5c8e3531107781ec7de3c837
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Committee.Install do use Mix.Task @shortdoc "Creates a `commit.exs` file and generate executable for git hooks." @config_path "./commit.exs" @target_path ".git/hooks" @hooks Committee.__hooks__() @impl true def run(_) do case File.exists?(@config_path) do true -> ...
25.107527
80
0.593576
4a72a98b06efc6c2cec59c665d2168aaaaba03d4
1,641
ex
Elixir
lib/student_list_web/controllers/member_controller.ex
jwarwick/student_list
d35a2fcef2025d3de9b7915682965c48481c1d15
[ "MIT" ]
1
2021-06-27T20:02:11.000Z
2021-06-27T20:02:11.000Z
lib/student_list_web/controllers/member_controller.ex
jwarwick/student_list
d35a2fcef2025d3de9b7915682965c48481c1d15
[ "MIT" ]
null
null
null
lib/student_list_web/controllers/member_controller.ex
jwarwick/student_list
d35a2fcef2025d3de9b7915682965c48481c1d15
[ "MIT" ]
null
null
null
defmodule StudentListWeb.MemberController do use StudentListWeb, :controller alias StudentList.Accounts alias StudentList.Accounts.User plug(:put_root_layout, {StudentListWeb.LayoutView, "torch.html"}) plug(:put_layout, false) def index(conn, params) do case Accounts.paginate_members(params) do...
28.293103
85
0.634369
4a730d612987f0e03dcd501901f2f540760acaca
1,654
exs
Elixir
test/grizzly/zwave/commands/zip_packet/header_extensions_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
test/grizzly/zwave/commands/zip_packet/header_extensions_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
test/grizzly/zwave/commands/zip_packet/header_extensions_test.exs
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.ZWave.Commands.ZIPPacket.HeaderExtensionsTest do use ExUnit.Case, async: true alias Grizzly.ZWave.Commands.ZIPPacket.HeaderExtensions test "parses for expected delay" do header_ext = HeaderExtensions.from_binary(<<0x01, 0x03, 0x00, 0x00, 0x01>>) assert [{:expected_delay, 1}] == header...
30.072727
87
0.703748
4a73124f612ec1998bdbd63b11cf360d73168885
19,777
ex
Elixir
lib/logger/lib/logger/translator.ex
LaudateCorpus1/elixir
b131f874640775fdf08707d5b2fbbc1e91722cd0
[ "Apache-2.0" ]
2
2020-08-11T16:19:53.000Z
2020-08-11T18:07:11.000Z
lib/logger/lib/logger/translator.ex
LaudateCorpus1/elixir
b131f874640775fdf08707d5b2fbbc1e91722cd0
[ "Apache-2.0" ]
1
2021-10-21T08:22:30.000Z
2021-10-21T08:22:30.000Z
lib/logger/lib/logger/translator.ex
LaudateCorpus1/elixir
b131f874640775fdf08707d5b2fbbc1e91722cd0
[ "Apache-2.0" ]
1
2021-11-08T10:21:27.000Z
2021-11-08T10:21:27.000Z
defmodule Logger.Translator do @moduledoc """ Default translation for Erlang log messages. Logger allows developers to rewrite log messages provided by OTP applications into a format more compatible with Elixir log messages by providing a translator. A translator is simply a tuple containing a module and ...
31.898387
99
0.633969
4a73263be20725b157f2cb009df0f178ba1fc8f6
1,998
ex
Elixir
example/lib/phoenix_datatables_example/stock/stock.ex
smartmetals/phoenix_datatables
40c9074742ee7643327ac735defa9960abc50250
[ "MIT" ]
12
2017-10-20T21:08:33.000Z
2021-11-08T13:04:43.000Z
example/lib/phoenix_datatables_example/stock/stock.ex
smartmetals/phoenix_datatables
40c9074742ee7643327ac735defa9960abc50250
[ "MIT" ]
8
2017-11-07T19:53:02.000Z
2021-01-18T22:15:35.000Z
example/lib/phoenix_datatables_example/stock/stock.ex
smartmetals/phoenix_datatables
40c9074742ee7643327ac735defa9960abc50250
[ "MIT" ]
7
2018-07-03T08:18:17.000Z
2020-05-28T03:06:02.000Z
defmodule PhoenixDatatablesExample.Stock do @moduledoc """ The Stock context. """ import Ecto.Query, warn: false alias PhoenixDatatablesExample.Repo alias PhoenixDatatablesExample.Stock.Item def datatable_items(params) do query = from item in Item, join: category in assoc(item, :category...
17.373913
59
0.584084
4a7362e981bcfe6958399cb8c01719829a5ab251
3,223
ex
Elixir
lib/txpost/router.ex
libitx/txpost
ae97fc92214e22ea4621c9fef82596b0f780cbfb
[ "Apache-2.0" ]
7
2021-02-12T11:45:44.000Z
2022-01-17T15:50:47.000Z
lib/txpost/router.ex
libitx/txpost
ae97fc92214e22ea4621c9fef82596b0f780cbfb
[ "Apache-2.0" ]
null
null
null
lib/txpost/router.ex
libitx/txpost
ae97fc92214e22ea4621c9fef82596b0f780cbfb
[ "Apache-2.0" ]
null
null
null
defmodule Txpost.Router do @moduledoc """ Very simple router behaviour so your can advertise a single route to handle all incoming transactions. Define a module that implements the `c:handle_tx/2` callback. For example: defmodule MyApp.TxRouter do use Txpost.Router def handle_tx(conn, _...
27.547009
84
0.634192
4a73758a99b5fb32bce93470f55a49c95e0ee521
675
exs
Elixir
test/bell_web/controllers/page_controller_test.exs
jwworth/bell
9b4aeea691d7f8f7dc8cc60f2ff7b19244ada6e4
[ "MIT" ]
null
null
null
test/bell_web/controllers/page_controller_test.exs
jwworth/bell
9b4aeea691d7f8f7dc8cc60f2ff7b19244ada6e4
[ "MIT" ]
11
2021-03-11T05:46:57.000Z
2021-12-08T15:39:25.000Z
test/bell_web/controllers/page_controller_test.exs
jwworth/bell
9b4aeea691d7f8f7dc8cc60f2ff7b19244ada6e4
[ "MIT" ]
null
null
null
defmodule BellWeb.PageControllerTest do use BellWeb.ConnCase test "GET /", %{conn: conn} do response = get(conn, "/") html_response = html_response(response, 200) assert html_response =~ "The Bell" assert html_response =~ "Nobody is ringing the bell." assert html_response =~ "Listen, listen. T...
30.681818
98
0.678519
4a73eba8e9b5ef8cccf2cfc0b47c789f80436ec3
108
exs
Elixir
test/legato/query/filter_set_test.exs
m0tivus/legato-ex
a59d5bb924774e089102f6f3e7745907b8871b49
[ "MIT" ]
15
2016-11-26T23:12:47.000Z
2022-03-15T11:49:23.000Z
test/legato/query/filter_set_test.exs
m0tivus/legato-ex
a59d5bb924774e089102f6f3e7745907b8871b49
[ "MIT" ]
2
2017-04-13T12:48:43.000Z
2017-06-28T22:07:47.000Z
test/legato/query/filter_set_test.exs
m0tivus/legato-ex
a59d5bb924774e089102f6f3e7745907b8871b49
[ "MIT" ]
3
2017-10-25T09:29:30.000Z
2021-03-18T01:34:19.000Z
defmodule Legato.Query.FilterSetTest do use ExUnit.Case, async: true doctest Legato.Query.FilterSet end
21.6
39
0.805556
4a740f2455cfdc18245ac81397e50685f7244143
397
ex
Elixir
web/controllers/page_controller.ex
cazrin/stranger
887dfe52c8b934cf6fd0d598d64c3735da96d4e1
[ "MIT" ]
50
2016-01-24T11:45:47.000Z
2016-08-26T20:20:20.000Z
web/controllers/page_controller.ex
dnlgrv/stranger
887dfe52c8b934cf6fd0d598d64c3735da96d4e1
[ "MIT" ]
1
2016-01-24T20:21:19.000Z
2016-01-28T11:26:10.000Z
web/controllers/page_controller.ex
dnlgrv/stranger
887dfe52c8b934cf6fd0d598d64c3735da96d4e1
[ "MIT" ]
3
2017-03-17T12:46:09.000Z
2021-01-14T19:41:01.000Z
defmodule Stranger.PageController do @moduledoc false use Stranger.Web, :controller @id_length Application.get_env(:stranger, :id_length) def index(conn, _params) do render conn, "index.html", id: random_id() end def agreement(conn, _params) do render conn, "agreement.html" end defp random_...
19.85
60
0.717884
4a7410439af33c2d20543ae936c5e08accac5655
1,852
ex
Elixir
lib/elixir_latex/attachment.ex
moroz/elixir_latex
a7cd0ee5b1e82951dde8926cdaabd39551997f0c
[ "BSD-3-Clause" ]
1
2021-12-21T10:38:35.000Z
2021-12-21T10:38:35.000Z
lib/elixir_latex/attachment.ex
moroz/elixir_latex
a7cd0ee5b1e82951dde8926cdaabd39551997f0c
[ "BSD-3-Clause" ]
null
null
null
lib/elixir_latex/attachment.ex
moroz/elixir_latex
a7cd0ee5b1e82951dde8926cdaabd39551997f0c
[ "BSD-3-Clause" ]
null
null
null
defmodule ElixirLatex.Attachment do @type body :: iodata | nil @type filename :: binary | nil @type extension :: atom | binary | nil @type mimetype :: binary | nil @type t :: %__MODULE__{ body: body, filename: filename, extension: extension, mimetype: mimetype ...
25.722222
76
0.632289
4a7436d9a9255ea12c9f2026cd95f101029e06e8
292
ex
Elixir
lib/new_relic/aggregate/supervisor.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
227
2018-09-05T15:33:23.000Z
2022-02-25T18:12:06.000Z
lib/new_relic/aggregate/supervisor.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
211
2018-09-05T21:42:41.000Z
2022-03-25T17:51:56.000Z
lib/new_relic/aggregate/supervisor.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
84
2018-09-05T04:26:26.000Z
2022-03-09T14:28:14.000Z
defmodule NewRelic.Aggregate.Supervisor do use Supervisor @moduledoc false def start_link(_) do Supervisor.start_link(__MODULE__, []) end def init(_) do children = [ NewRelic.Aggregate.Reporter ] Supervisor.init(children, strategy: :one_for_one) end end
16.222222
53
0.69863
4a7441f665ca6a81e52786c264ab6db7af864a92
118
ex
Elixir
apps/neoscan_web/lib/neoscan_web/views/blocks_view.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan_web/lib/neoscan_web/views/blocks_view.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan_web/lib/neoscan_web/views/blocks_view.ex
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule NeoscanWeb.BlocksView do use NeoscanWeb, :view import Number.Delimit import NeoscanWeb.CommonView end
19.666667
34
0.813559
4a7447805714fc8b462a497d683668d0af9e43b4
410
ex
Elixir
apps/artemis_notify/lib/artemis_notify/application.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis_notify/lib/artemis_notify/application.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_notify/lib/artemis_notify/application.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2019-04-10T13:34:15.000Z
2019-05-17T02:42:24.000Z
defmodule ArtemisNotify.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application import Supervisor.Spec def start(_type, _args) do children = [ supervisor(ArtemisNotify.IntervalSupervisor, []) ] Supervis...
22.777778
91
0.743902
4a74d99640924d869a9fa44d365e14f66f1458e9
385
exs
Elixir
priv/repo/migrations/20190128044639_simplify_override_names_on_posts.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
priv/repo/migrations/20190128044639_simplify_override_names_on_posts.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
priv/repo/migrations/20190128044639_simplify_override_names_on_posts.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule Level.Repo.Migrations.SimplifyOverrideNamesOnPosts do use Ecto.Migration def up do rename(table("posts"), :author_display_name, to: :display_name) rename(table("posts"), :avatar_initials, to: :initials) end def down do rename(table("posts"), :display_name, to: :author_display_name) r...
27.5
67
0.724675
4a74ebce844ee97393f5fa3f078014ba115b6a9f
22,546
ex
Elixir
lib/elixir/lib/gen_event.ex
patrickgombert/elixir
dc4b7c89ea30a9734d9f1cbf3bb1612fada498d4
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/gen_event.ex
patrickgombert/elixir
dc4b7c89ea30a9734d9f1cbf3bb1612fada498d4
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/gen_event.ex
patrickgombert/elixir
dc4b7c89ea30a9734d9f1cbf3bb1612fada498d4
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
defmodule GenEvent.Stream do @moduledoc """ Defines a `GenEvent` stream. This is a struct returned by `stream/2`. The struct is public and contains the following fields: * `:manager` - the manager reference given to `GenEvent.stream/2` * `:id` - the event stream id for cancellation * `:time...
33.204713
100
0.652887
4a74ee0eaf866b1413aa15a393343ee27d3bc9af
4,286
ex
Elixir
apps/snitch_api/lib/snitch_api_web/controllers/order_controller.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/snitch_api/lib/snitch_api_web/controllers/order_controller.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/snitch_api/lib/snitch_api_web/controllers/order_controller.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule SnitchApiWeb.OrderController do use SnitchApiWeb, :controller alias Snitch.Data.Model.Order, as: OrderModel alias Snitch.Data.Schema.LineItem alias Snitch.Data.Schema.Order alias SnitchApi.Order, as: OrderContext alias Snitch.Core.Tools.MultiTenancy.Repo import Ecto.Query action_fallback(Sni...
26.955975
131
0.609659
4a74f778e68e31e9f24317021613d2355507b153
118
exs
Elixir
test/elixsync_test.exs
Skaty/elixsync
76dba53942dd35549d0ec9567eda5926e2ff2be2
[ "MIT" ]
null
null
null
test/elixsync_test.exs
Skaty/elixsync
76dba53942dd35549d0ec9567eda5926e2ff2be2
[ "MIT" ]
null
null
null
test/elixsync_test.exs
Skaty/elixsync
76dba53942dd35549d0ec9567eda5926e2ff2be2
[ "MIT" ]
null
null
null
defmodule ElixsyncTest do use ExUnit.Case doctest Elixsync test "the truth" do assert 1 + 1 == 2 end end
13.111111
25
0.677966
4a74f946015e751d272b8577ff5091ddb092fdc5
289
ex
Elixir
apps/dtask_codec/lib/dtask/task/codec.ex
fehu/elixir-dtask
93b39a1acb616cdc7b4fffb4950e82021ef5b0f6
[ "MIT" ]
null
null
null
apps/dtask_codec/lib/dtask/task/codec.ex
fehu/elixir-dtask
93b39a1acb616cdc7b4fffb4950e82021ef5b0f6
[ "MIT" ]
null
null
null
apps/dtask_codec/lib/dtask/task/codec.ex
fehu/elixir-dtask
93b39a1acb616cdc7b4fffb4950e82021ef5b0f6
[ "MIT" ]
null
null
null
defmodule DTask.Task.Codec do @moduledoc """ Task Serialization and Deserialization. """ alias DTask.Task.DTO @type repr :: term @type result(x) :: {:ok, x} | {:error, term} @callback decode(repr) :: result(DTO.Task.t) @callback encode(DTO.Task.t) :: result(repr) end
18.0625
46
0.650519
4a75045cda724475130d323d598e66faae82cc5f
1,596
ex
Elixir
lib/wishlist_web/live/page_live.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
lib/wishlist_web/live/page_live.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
lib/wishlist_web/live/page_live.ex
egutter/wishlist
af7b71c96ef9efded708c5ecfe3bab5a00c0761e
[ "MIT" ]
null
null
null
defmodule WishlistWeb.PageLive do use WishlistWeb, :live_view alias Wishlist.Wishlists alias Wishlist.Wishlists.Assignment @impl true def mount(_params, _session, socket) do {:ok, assign(socket, query: "", events: list_events(), gifts: [])} end @impl true def handle_event("suggest", %{"event" => e...
27.050847
85
0.636591
4a751a62c783efc907b2354cd6127dca557da00d
1,621
ex
Elixir
lib/free_fall_web/endpoint.ex
Goose-Vic/free_fall
84d95e33cbd0d6e06dd9170576726929e97b25ac
[ "MIT" ]
1
2021-11-17T21:16:30.000Z
2021-11-17T21:16:30.000Z
lib/free_fall_web/endpoint.ex
Goose-Vic/free_fall
84d95e33cbd0d6e06dd9170576726929e97b25ac
[ "MIT" ]
null
null
null
lib/free_fall_web/endpoint.ex
Goose-Vic/free_fall
84d95e33cbd0d6e06dd9170576726929e97b25ac
[ "MIT" ]
9
2021-07-29T23:36:54.000Z
2021-09-30T22:47:39.000Z
defmodule FreeFallWeb.Endpoint do use Phoenix.Endpoint, otp_app: :free_fall # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_free_f...
29.472727
97
0.720543
4a755f6a9cf29ceaaf4011debafe33e0e09cca15
2,010
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/list_transfer_runs_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/list_transfer_runs_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/list_transfer_runs_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
39.411765
241
0.761194
4a757d7909c0f0af3eefc080cbeb2e25937a5d47
730
ex
Elixir
web/models/frequency.ex
bagilevi/uptom
50894abb8f7bd052e12c37155b5c33450abcc9bd
[ "MIT" ]
6
2017-05-12T04:20:09.000Z
2020-11-07T02:00:56.000Z
web/models/frequency.ex
bagilevi/uptom
50894abb8f7bd052e12c37155b5c33450abcc9bd
[ "MIT" ]
null
null
null
web/models/frequency.ex
bagilevi/uptom
50894abb8f7bd052e12c37155b5c33450abcc9bd
[ "MIT" ]
2
2020-05-18T08:06:22.000Z
2020-12-19T14:24:40.000Z
defmodule Uptom.Frequency do def allowed_values do [1,2,3,5,10,15,20,30,45,60] |> Enum.map fn x -> x * 60 end end def humanize_every(seconds) do "every #{humanize(seconds, omit_ones: true)}" end def humanize(seconds, opts \\ []) do humanize(seconds, [60, 60], ["second", "minute", "hour"], op...
25.172414
68
0.578082
4a759e69db355dc044be857fc1178601b2af264b
199
ex
Elixir
lib/paymill/offer.ex
phikes/elixir_paymill
dcb1deed07c73343c8090dd040018574d2e40fd1
[ "MIT" ]
null
null
null
lib/paymill/offer.ex
phikes/elixir_paymill
dcb1deed07c73343c8090dd040018574d2e40fd1
[ "MIT" ]
null
null
null
lib/paymill/offer.ex
phikes/elixir_paymill
dcb1deed07c73343c8090dd040018574d2e40fd1
[ "MIT" ]
null
null
null
defmodule Paymill.Offer do import RestClient require RestClient resource Paymill, [:id, :name, :amount, :interval, :trial_period_days, :created_at, :updated_at, :subscription, :app_id] end
28.428571
72
0.748744
4a75c7dde5ace6adb59d287842c75667ab0d5b85
466
ex
Elixir
apps/thundermoon/lib/thundermoon/application.ex
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
null
null
null
apps/thundermoon/lib/thundermoon/application.ex
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
null
null
null
apps/thundermoon/lib/thundermoon/application.ex
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
null
null
null
defmodule Thundermoon.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ Thundermoon.Repo, Thundermoon.Memo.Server, Thundermoon.ChatMessages, ...
23.3
89
0.729614