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
d52031ddad40b4d3d218820255c9ac74a77406a4
376
ex
Elixir
web/views/error_view.ex
seanreed1111/phoenix-first_app
240d4d586a365392aa8c1fdf1a77986b7e7bd5f6
[ "Apache-2.0" ]
null
null
null
web/views/error_view.ex
seanreed1111/phoenix-first_app
240d4d586a365392aa8c1fdf1a77986b7e7bd5f6
[ "Apache-2.0" ]
null
null
null
web/views/error_view.ex
seanreed1111/phoenix-first_app
240d4d586a365392aa8c1fdf1a77986b7e7bd5f6
[ "Apache-2.0" ]
null
null
null
defmodule FirstApp.ErrorView do use FirstApp.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_templat...
20.888889
47
0.699468
d52038d1d8a674d1daff988225e12980362bc3bd
318
ex
Elixir
lib/app.ex
afaur/elixir-fib-solver-gen-server
0ade6af367d156ee56b80adb943f6ea7a87c97dc
[ "Unlicense" ]
null
null
null
lib/app.ex
afaur/elixir-fib-solver-gen-server
0ade6af367d156ee56b80adb943f6ea7a87c97dc
[ "Unlicense" ]
null
null
null
lib/app.ex
afaur/elixir-fib-solver-gen-server
0ade6af367d156ee56b80adb943f6ea7a87c97dc
[ "Unlicense" ]
null
null
null
defmodule App do @monit_name App.Supervisor @monit_opts [strategy: :one_for_one, name: @monit_name] use Application use Supervision alias Fib, as: F @doc "Application entrypoint" @spec start(atom(), term()) :: {atom(), pid()} def start(_type, _args), do: init [%{id: F, start: {F, :start, []}}] end
22.714286
70
0.654088
d5204aa79ac290d6957a4de0e1015ef39fcdf983
2,263
ex
Elixir
lib/stripe/util.ex
roguesherlock/stripity_stripe
cc665f1b7751c71b5519acb46d8a6baf68f9e235
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/util.ex
roguesherlock/stripity_stripe
cc665f1b7751c71b5519acb46d8a6baf68f9e235
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/util.ex
roguesherlock/stripity_stripe
cc665f1b7751c71b5519acb46d8a6baf68f9e235
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.Util do @moduledoc false @doc """ Performs a root-level conversion of map keys from strings to atoms. This function performs the transformation safely using `String.to_existing_atom/1`, but this has a possibility to raise if there is not a corresponding atom. It is recommended that you p...
25.426966
124
0.618648
d520736cc5f21e0b1293305113755bb68eca9f37
841
ex
Elixir
lib/we_reports/user_manager/user.ex
himrock922/we_reports
04cffcd0e56f441e5087b65cf80a31602afae419
[ "MIT" ]
null
null
null
lib/we_reports/user_manager/user.ex
himrock922/we_reports
04cffcd0e56f441e5087b65cf80a31602afae419
[ "MIT" ]
5
2020-09-09T01:41:39.000Z
2021-05-11T00:18:38.000Z
lib/we_reports/user_manager/user.ex
himrock922/we_reports
04cffcd0e56f441e5087b65cf80a31602afae419
[ "MIT" ]
null
null
null
defmodule WeReports.UserManager.User do @moduledoc false use Ecto.Schema import Ecto.Changeset alias WeReports.UserManager.User schema "users" do field :password, :string field :username, :string many_to_many :groups, WeReports.Groups.Group, join_through: "groups_users" has_many :daily_report...
27.129032
102
0.725327
d5207a3043779cd3c49b3cc93cac00300c49ff03
510
exs
Elixir
config/test.exs
cogini/mix-systemd-deploy-example
7b0720a46a14fd0f7f61f88f7fdc26fdd7f05772
[ "Apache-2.0" ]
4
2019-03-01T07:26:26.000Z
2021-11-05T13:53:07.000Z
config/test.exs
cogini/mix-systemd-deploy-example
7b0720a46a14fd0f7f61f88f7fdc26fdd7f05772
[ "Apache-2.0" ]
null
null
null
config/test.exs
cogini/mix-systemd-deploy-example
7b0720a46a14fd0f7f61f88f7fdc26fdd7f05772
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :mix_systemd_deploy, MixSystemdDeployWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config ...
26.842105
57
0.758824
d520c2a63902749f2be210648168c8f0502b622e
3,346
ex
Elixir
lib/wechat/official_account/publish.ex
feng19/wechat
431c22818c60cd01fc5c676aa060feb303d0c444
[ "Apache-2.0" ]
7
2021-01-22T04:07:29.000Z
2021-12-14T14:01:30.000Z
lib/wechat/official_account/publish.ex
feng19/wechat
431c22818c60cd01fc5c676aa060feb303d0c444
[ "Apache-2.0" ]
1
2021-03-17T15:44:26.000Z
2021-03-17T15:44:26.000Z
lib/wechat/official_account/publish.ex
feng19/wechat
431c22818c60cd01fc5c676aa060feb303d0c444
[ "Apache-2.0" ]
2
2021-03-17T14:35:56.000Z
2021-08-10T07:44:10.000Z
defmodule WeChat.Publish do @moduledoc "发布能力" import Jason.Helpers import WeChat.Utils, only: [doc_link_prefix: 0] alias WeChat.DraftBox @doc_link "#{doc_link_prefix()}/doc/offiaccount/Publish" @typedoc "发布任务的id" @type publish_id :: String.t() @typedoc "成功发布时返回的 article_id" @type article_id :: Strin...
29.610619
97
0.665571
d520e4110be2c0720185cce94840435eed6a54d1
267
ex
Elixir
lib/hl7/2.4/segments/erq.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/erq.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.4/segments/erq.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_4.Segments.ERQ do @moduledoc false require Logger alias HL7.V2_4.{DataTypes} use HL7.Segment, fields: [ segment: nil, query_tag: nil, event_identifier: DataTypes.Ce, input_parameter_list: DataTypes.Qip ] end
17.8
41
0.674157
d520ee1ae302a8e87d91f8ee561cec23edc482e3
3,916
ex
Elixir
lib/phxcrd_web/controllers/session_controller.ex
spapas/phxcrd
84877896f56400b0cc8624fe96c4fe4f5fd8053c
[ "MIT" ]
18
2019-06-21T09:55:46.000Z
2022-02-16T18:44:17.000Z
lib/phxcrd_web/controllers/session_controller.ex
spapas/phxcrd
84877896f56400b0cc8624fe96c4fe4f5fd8053c
[ "MIT" ]
16
2019-05-21T20:19:44.000Z
2020-05-12T08:30:42.000Z
lib/phxcrd_web/controllers/session_controller.ex
spapas/phxcrd
84877896f56400b0cc8624fe96c4fe4f5fd8053c
[ "MIT" ]
2
2019-09-05T00:35:27.000Z
2020-10-17T16:36:35.000Z
defmodule PhxcrdWeb.SessionController do use PhxcrdWeb, :controller alias Phxcrd.Auth alias Phxcrd.Repo require Logger import Ecto.Query, only: [from: 2] import IEx def new(conn, _) do render(conn, "new.html") end defp get_ldap_user_changeset(user_entry) do %{ username: user_entry[:uid...
30.123077
97
0.594484
d520f247d1a8e524ebf971a742449357ff8ffd27
842
ex
Elixir
apps/configure/lib/configure/persist_key_methods.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
apps/configure/lib/configure/persist_key_methods.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
8
2020-11-16T09:59:12.000Z
2020-11-16T10:13:07.000Z
apps/configure/lib/configure/persist_key_methods.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
defmodule Configure.PersistKeyMethods do @moduledoc """ Bit of macro automagic to create getter and setter functions for the persist fields. """ alias Configure.Settings defmacro __using__(_) do settings_holder = case Mix.env() do :test -> Configure.FakeSettings _ -> Configure.Per...
22.157895
77
0.591449
d52105c5cbc175f2dcd9f07306e455d22f896c5b
474
exs
Elixir
rustler_tests/test/binary_example_test.exs
sthagen/rusterlium-rustler
5f0b052e6ae96185794bb5dae6594f0fc48689d7
[ "Apache-2.0", "MIT" ]
889
2017-01-16T01:46:12.000Z
2019-03-07T21:04:36.000Z
rustler_tests/test/binary_example_test.exs
sthagen/rusterlium-rustler
5f0b052e6ae96185794bb5dae6594f0fc48689d7
[ "Apache-2.0", "MIT" ]
102
2017-01-15T21:14:52.000Z
2019-03-08T15:28:07.000Z
rustler_tests/test/binary_example_test.exs
sthagen/rusterlium-rustler
5f0b052e6ae96185794bb5dae6594f0fc48689d7
[ "Apache-2.0", "MIT" ]
55
2017-02-10T05:00:40.000Z
2019-03-05T20:24:36.000Z
defmodule BinaryExampleTest do use ExUnit.Case test "binary is compiled" do bins = ~w(binary_example hello_rust hello_rust2) for bin <- bins do assert_exists(bin) end end defp assert_exists(name) do assert_exists(name, :os.type()) end defp assert_exists(name, {:win32, _} = _type) d...
19.75
52
0.675105
d5210804849dbdbad8a592bda6c7b096523dafe0
5,993
ex
Elixir
clients/logging/lib/google_api/logging/v2/model/metric_descriptor.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/logging/lib/google_api/logging/v2/model/metric_descriptor.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/model/metric_descriptor.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
50.361345
414
0.679126
d5217b6ff795c42dcf64590684fe611fdb9b0be2
8,012
ex
Elixir
lib/glide.ex
maartenvanvliet/glide
3c54ae5865b16c5130dfe1a0a9d57cc30ae10a86
[ "MIT" ]
3
2021-06-13T05:41:07.000Z
2021-06-14T19:57:09.000Z
lib/glide.ex
maartenvanvliet/glide
3c54ae5865b16c5130dfe1a0a9d57cc30ae10a86
[ "MIT" ]
10
2021-09-22T04:17:05.000Z
2022-03-24T04:16:34.000Z
lib/glide.ex
maartenvanvliet/glide
3c54ae5865b16c5130dfe1a0a9d57cc30ae10a86
[ "MIT" ]
null
null
null
defmodule Glide do @external_resource "README.md" @moduledoc @external_resource |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) @doc """ Create a value from a generator. Mostly wraps StreamData or when the function exists any of the Glide generators...
24.501529
97
0.597978
d5217de8e8545158dd1e7f4d722e00da0f90816d
1,789
ex
Elixir
lib/mix/tasks/serum/build.ex
Dalgona/Serum
7557f0acb2877fa5edc4ffc9e6f793f2bbdefe5b
[ "MIT" ]
302
2016-08-01T05:16:06.000Z
2022-03-26T07:20:46.000Z
lib/mix/tasks/serum/build.ex
Dalgona/Serum
7557f0acb2877fa5edc4ffc9e6f793f2bbdefe5b
[ "MIT" ]
206
2016-08-04T15:18:35.000Z
2022-03-01T03:07:57.000Z
lib/mix/tasks/serum/build.ex
Dalgona/Serum
7557f0acb2877fa5edc4ffc9e6f793f2bbdefe5b
[ "MIT" ]
35
2016-10-29T13:59:34.000Z
2022-03-01T01:50:31.000Z
defmodule Mix.Tasks.Serum.Build do @moduledoc """ Builds the Serum project at the specified directory. mix serum.build [(-o|--output) PATH] The website will be built into `PATH` if `-o(--output) PATH` option is given, otherwise `/path/to/project/site` directory. If the output directory exists and is ...
27.953125
79
0.655115
d5217ecdaf579f42001ee72eddbe47a956aedc69
6,496
ex
Elixir
lib/bolt_sips/utils.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
lib/bolt_sips/utils.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
lib/bolt_sips/utils.ex
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
defmodule Bolt.Sips.Utils do @moduledoc false # Common utilities @default_hostname "localhost" @default_bolt_port 7687 @default_driver_options [ hostname: @default_hostname, port: @default_bolt_port, pool_size: 15, max_overflow: 0, timeout: 15_000, ssl: false, socket: Bolt.Sips.S...
30.213953
105
0.625616
d521cbade0a29db717006d12ed908a1d022edaad
1,156
ex
Elixir
examples/example-phx-1_3/test/support/example_phx_web/integration_case.ex
devshane/thesis-phoenix
afe22a25542f91e15cfffb1e93ff8d833a64c25b
[ "MIT" ]
681
2016-06-21T20:49:21.000Z
2022-02-19T04:08:38.000Z
examples/example-phx-1_3/test/support/example_phx_web/integration_case.ex
devshane/thesis-phoenix
afe22a25542f91e15cfffb1e93ff8d833a64c25b
[ "MIT" ]
125
2016-06-21T21:14:49.000Z
2020-12-12T20:15:48.000Z
examples/example-phx-1_3/test/support/example_phx_web/integration_case.ex
devshane/thesis-phoenix
afe22a25542f91e15cfffb1e93ff8d833a64c25b
[ "MIT" ]
76
2016-09-06T03:40:55.000Z
2022-01-20T21:29:22.000Z
defmodule ExamplePhxWeb.IntegrationCase do use ExUnit.CaseTemplate use Hound.Helpers using do quote do use Hound.Helpers use Phoenix.ConnTest import ExamplePhxWeb.Router.Helpers import ExamplePhxWeb.IntegrationCase hound_session( additional_capabilities: %{ c...
25.688889
123
0.636678
d521e4a1bd87db15210bcb8dedf716b713ca3f3c
1,790
ex
Elixir
clients/pub_sub/lib/google_api/pub_sub/v1/model/update_subscription_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/pub_sub/lib/google_api/pub_sub/v1/model/update_subscription_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/pub_sub/lib/google_api/pub_sub/v1/model/update_subscription_request.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...
35.8
165
0.743017
d52208136db7dd872871978f04b5a3b2391014d9
894
ex
Elixir
clients/cloud_scheduler/lib/google_api/cloud_scheduler/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_scheduler/lib/google_api/cloud_scheduler/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_scheduler/lib/google_api/cloud_scheduler/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.111111
74
0.761745
d5221a14c2973cab8b98d0b3a96e2430d0fc77c0
922
ex
Elixir
lib/client/clients_client.ex
littlelines/frex
e3d9005b782fa0c0aaff0c0368f154c45fb7a302
[ "Apache-2.0" ]
2
2017-02-10T16:46:21.000Z
2020-05-04T11:50:50.000Z
lib/client/clients_client.ex
littlelines/frex
e3d9005b782fa0c0aaff0c0368f154c45fb7a302
[ "Apache-2.0" ]
null
null
null
lib/client/clients_client.ex
littlelines/frex
e3d9005b782fa0c0aaff0c0368f154c45fb7a302
[ "Apache-2.0" ]
1
2019-11-27T15:43:55.000Z
2019-11-27T15:43:55.000Z
defmodule Frex.Client.Clients do @moduledoc """ Client module for interacting with the Freshbooks clients endpoint. """ use Frex.Endpoint, :client @doc """ Sends a get request to the Freshbooks API clients endpoint. ## Parameters * `client_id` (**required**) -- clients ID """ def get(credentia...
20.954545
70
0.624729
d5221b71316438733959b4a88e3a144fca58d783
14,877
ex
Elixir
apps/api_web/lib/api_web/controllers/prediction_controller.ex
mbta/automatic-fiesta
de9eb43e4fc7c47aa069f5ded8497ddd39ff74c5
[ "MIT" ]
null
null
null
apps/api_web/lib/api_web/controllers/prediction_controller.ex
mbta/automatic-fiesta
de9eb43e4fc7c47aa069f5ded8497ddd39ff74c5
[ "MIT" ]
null
null
null
apps/api_web/lib/api_web/controllers/prediction_controller.ex
mbta/automatic-fiesta
de9eb43e4fc7c47aa069f5ded8497ddd39ff74c5
[ "MIT" ]
null
null
null
defmodule ApiWeb.PredictionController do @moduledoc """ Controller for predictions. Filterable on: * latitude/longitude * stop * route * trip * radius """ use ApiWeb.Web, :api_controller require Logger alias ApiWeb.LegacyStops alias State.Prediction @filters ~w(stop route trip latitude long...
38.843342
397
0.647375
d52256c2fb527bee8980bc6a9c0400dbf1ef93b2
1,020
ex
Elixir
lib/mix/tasks/gift.badge.full.participation.ex
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
40
2018-07-04T19:13:45.000Z
2021-12-16T23:53:43.000Z
lib/mix/tasks/gift.badge.full.participation.ex
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
94
2018-07-25T13:13:39.000Z
2022-02-15T04:09:42.000Z
lib/mix/tasks/gift.badge.full.participation.ex
cesium/safira
07a02f54f9454db1cfb5a510da68f40c47dcd916
[ "MIT" ]
5
2018-11-26T17:19:03.000Z
2021-02-23T08:09:37.000Z
defmodule Mix.Tasks.Gift.Badge.Full.Participation do use Mix.Task alias Safira.Accounts alias Safira.Contest def run(args) do cond do Enum.empty?(args) -> Mix.shell().info("Needs badge_id.") true -> create(args) end end defp create(badge_id) do Mix.Task.run "app.s...
20.4
69
0.605882
d5226d3f4d4c984621f62f83131b518aad9fb67b
1,944
ex
Elixir
clients/datastream/lib/google_api/datastream/v1/model/destination_config.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/datastream/lib/google_api/datastream/v1/model/destination_config.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/datastream/lib/google_api/datastream/v1/model/destination_config.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...
38.88
204
0.755144
d522878b617d36d1df521f949d11764cfa20478d
11,508
exs
Elixir
test/teslamate/api_test.exs
douglasevaristo/teslamate
d239023942b319e9446d2da316d0afbddf701b9d
[ "MIT" ]
1
2020-08-31T10:21:12.000Z
2020-08-31T10:21:12.000Z
test/teslamate/api_test.exs
douglasevaristo/teslamate
d239023942b319e9446d2da316d0afbddf701b9d
[ "MIT" ]
94
2020-10-26T06:28:30.000Z
2022-03-30T15:03:41.000Z
test/teslamate/api_test.exs
douglasevaristo/teslamate
d239023942b319e9446d2da316d0afbddf701b9d
[ "MIT" ]
1
2021-03-26T15:46:37.000Z
2021-03-26T15:46:37.000Z
defmodule TeslaMate.ApiTest do use TeslaMate.DataCase alias TeslaMate.Api alias TeslaMate.Auth.{Tokens, Credentials} import Mock def start_api(name, opts \\ []) do auth_name = :"auth_#{name}" vehicles_name = :"vehicles_#{name}" start_auth? = !!Keyword.get(opts, :start_auth, true) if start...
32.05571
98
0.586548
d52294a7cc872a47d1eb63e6f88375b442e2476b
3,824
ex
Elixir
lib/plaid/liabilities/student.ex
ethangunderson/elixir-plaid
53aa0a87a4a837df6a2d15684870e7a58a003db6
[ "MIT" ]
16
2021-03-09T02:29:32.000Z
2022-03-13T07:18:03.000Z
lib/plaid/liabilities/student.ex
ethangunderson/elixir-plaid
53aa0a87a4a837df6a2d15684870e7a58a003db6
[ "MIT" ]
5
2021-04-24T20:38:14.000Z
2022-03-19T22:03:09.000Z
lib/plaid/liabilities/student.ex
ethangunderson/elixir-plaid
53aa0a87a4a837df6a2d15684870e7a58a003db6
[ "MIT" ]
2
2021-06-11T02:15:01.000Z
2022-03-15T18:39:59.000Z
defmodule Plaid.Liabilities.Student do @moduledoc """ [Plaid Liabilities Student Schema.](https://plaid.com/docs/api/products/#liabilities-get-response-student) """ @behaviour Plaid.Castable alias Plaid.Address alias Plaid.Castable alias Plaid.Liabilities.Student.{LoanStatus, PSLFStatus, RepaymentPlan} ...
38.626263
108
0.69796
d522a40fa50c286c09c3d333c0d13b977054cb05
5,484
exs
Elixir
test/credo/execution_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
test/credo/execution_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
test/credo/execution_test.exs
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.ExecutionTest do use ExUnit.Case alias Credo.Execution test "it should work for append_task/4" do exec = %Execution{ pipeline_map: %{ Execution => [ parse_cli_options: [ {Credo.Execution.Task.ParseOptions, []} ], validate_cli_options: [...
25.388889
98
0.577316
d522be1f6fce43e8e72b61ba1d777cd6e73a15b0
455
exs
Elixir
apps/elixir_mix_otp_kv/test/kv/router_test.exs
ivoferro/kv_umbrella
67d706b923f58353ac335b6016bc67ec3d1e4d30
[ "MIT" ]
null
null
null
apps/elixir_mix_otp_kv/test/kv/router_test.exs
ivoferro/kv_umbrella
67d706b923f58353ac335b6016bc67ec3d1e4d30
[ "MIT" ]
null
null
null
apps/elixir_mix_otp_kv/test/kv/router_test.exs
ivoferro/kv_umbrella
67d706b923f58353ac335b6016bc67ec3d1e4d30
[ "MIT" ]
null
null
null
defmodule KV.RouterTest do use ExUnit.Case, async: true @tag :distributed test "route requests across nodes" do assert KV.Router.route("hello", Kernel, :node, []) == :"foo@DESKTOP-2S5VEOT" assert KV.Router.route("world", Kernel, :node, []) == :"bar@DESKTOP-2S5VEOT" end test "raises on unknown entrie...
28.4375
80
0.657143
d522ca79fa2e3b504515f15f818151af209b8867
2,175
exs
Elixir
test/unnecessary_pattern_matching_test.exs
emibloque/nicene
f22560520bf7da573ed3e046c49526b16eb4b407
[ "MIT" ]
null
null
null
test/unnecessary_pattern_matching_test.exs
emibloque/nicene
f22560520bf7da573ed3e046c49526b16eb4b407
[ "MIT" ]
null
null
null
test/unnecessary_pattern_matching_test.exs
emibloque/nicene
f22560520bf7da573ed3e046c49526b16eb4b407
[ "MIT" ]
null
null
null
defmodule Nicene.UnnecessaryPatternMatchingTest do use Assertions.Case alias Credo.{Issue, SourceFile} alias Nicene.UnnecessaryPatternMatching test "warns if we're using case statements instead of if statements" do expected_issues = [ %Issue{ category: :design, check: Unne...
26.204819
95
0.582989
d522edd7cd2a1fbd9392a43373eb2750993a890c
4,010
exs
Elixir
test/mix/tasks/coherence_assent.install_test.exs
Schultzer/coherence_assent
5adf518d7760641e686ca2c588def0e8f62ea093
[ "MIT", "Unlicense" ]
null
null
null
test/mix/tasks/coherence_assent.install_test.exs
Schultzer/coherence_assent
5adf518d7760641e686ca2c588def0e8f62ea093
[ "MIT", "Unlicense" ]
null
null
null
test/mix/tasks/coherence_assent.install_test.exs
Schultzer/coherence_assent
5adf518d7760641e686ca2c588def0e8f62ea093
[ "MIT", "Unlicense" ]
null
null
null
Code.require_file "../../mix_helpers.exs", __DIR__ defmodule Mix.Tasks.CoherenceAssent.InstallTest do use ExUnit.Case import MixHelper defmodule MigrationsRepo do def __adapter__ do true end def config do [priv: "tmp", otp_app: :coherence_assent] end end setup do :ok end ...
32.33871
169
0.665337
d522ee91d27edb34f3fabb5ad88602653d14e4ca
2,468
ex
Elixir
web/controllers/widget_controller.ex
Dania02525/widget_saas
17b853f07be08a851c3e355863c18e15755cb7cb
[ "MIT" ]
12
2016-01-27T01:30:42.000Z
2019-12-07T20:31:01.000Z
web/controllers/widget_controller.ex
Dania02525/widget_saas
17b853f07be08a851c3e355863c18e15755cb7cb
[ "MIT" ]
3
2016-11-22T12:22:59.000Z
2017-08-01T17:26:40.000Z
web/controllers/widget_controller.ex
Dania02525/widget_saas
17b853f07be08a851c3e355863c18e15755cb7cb
[ "MIT" ]
5
2016-07-11T18:39:02.000Z
2019-10-23T03:22:49.000Z
defmodule WidgetSaas.WidgetController do use WidgetSaas.Web, :controller alias WidgetSaas.Widget plug :scrub_params, "widget" when action in [:create, :update] def index(conn, %{"tenant_id" => tenant_id}) do widgets = Apartmentex.all(Repo, Widget, tenant_id) render(conn, "index.html", widgets: widge...
35.768116
93
0.665316
d522f465b44359aeafef20152caa64c75ab1c032
776
ex
Elixir
web/controllers/live_controller.ex
kentcdodds/changelog.com
e1c0d7ee5d47dc83dd443d623adb0f07e4acb28d
[ "MIT" ]
null
null
null
web/controllers/live_controller.ex
kentcdodds/changelog.com
e1c0d7ee5d47dc83dd443d623adb0f07e4acb28d
[ "MIT" ]
null
null
null
web/controllers/live_controller.ex
kentcdodds/changelog.com
e1c0d7ee5d47dc83dd443d623adb0f07e4acb28d
[ "MIT" ]
null
null
null
defmodule Changelog.LiveController do use Changelog.Web, :controller alias Changelog.{Episode, TimeView, Wavestreamer} def index(conn, _params) do live_window_start = TimeView.hours_ago(3) live_window_end = TimeView.hours_from_now(12) episodes = Episode.recorded_live |> Episode.recorded...
25.866667
72
0.706186
d523100b9b9f4c3f117fd32d1af0590e25e0c284
1,004
exs
Elixir
mix.exs
duff/random_bytes
518af4844331c8a341bff417a81bc13983163459
[ "Apache-2.0" ]
4
2017-12-25T19:18:50.000Z
2020-03-20T22:31:00.000Z
mix.exs
duff/random_bytes
518af4844331c8a341bff417a81bc13983163459
[ "Apache-2.0" ]
null
null
null
mix.exs
duff/random_bytes
518af4844331c8a341bff417a81bc13983163459
[ "Apache-2.0" ]
1
2018-03-19T17:26:55.000Z
2018-03-19T17:26:55.000Z
defmodule RandomBytes.Mixfile do use Mix.Project @version "1.0.3" def project do [ app: :random_bytes, version: @version, elixir: "~> 1.4", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), package: package(), name: "Random...
19.686275
73
0.557769
d523504e7124d0cb15c144418f9673311f3a4b0a
848
exs
Elixir
test/bincode/option_test.exs
LeonardBesson/bincode
0e2950e6d09eaf9e9cea439e33cad5397747e331
[ "MIT" ]
null
null
null
test/bincode/option_test.exs
LeonardBesson/bincode
0e2950e6d09eaf9e9cea439e33cad5397747e331
[ "MIT" ]
null
null
null
test/bincode/option_test.exs
LeonardBesson/bincode
0e2950e6d09eaf9e9cea439e33cad5397747e331
[ "MIT" ]
null
null
null
defmodule Bincode.OptionTest do use Bincode.BaseCase, async: true test_serialization(nil, <<0>>, {:option, :string}) test_serialization(nil, <<0>>, {:option, :u8}) test_serialization(1, <<1, 1>>, {:option, :u8}) test_serialization(255, <<1, 255>>, {:option, :u8}, varint: true) test_serialization( "som...
32.615385
98
0.575472
d524159cbc9c46be932c946fb9e4bf089a31a800
851
exs
Elixir
apps/omg_bus/mix.exs
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2020-05-01T12:30:09.000Z
2020-05-01T12:30:09.000Z
apps/omg_bus/mix.exs
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_bus/mix.exs
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2021-12-04T00:37:46.000Z
2021-12-04T00:37:46.000Z
defmodule OMG.Bus.MixProject do use Mix.Project def project do [ app: :omg_bus, version: "#{String.trim(File.read!("../../VERSION"))}", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> ...
25.787879
61
0.584019
d5243f5578293fa29dcd99886b136935bee42031
3,180
ex
Elixir
lib/digital_ocean/volume_action.ex
kianmeng/digital-ocean-elixir
eff6fd1c621ab51908edad731794b0ef2db1cac1
[ "MIT" ]
5
2020-09-20T19:35:32.000Z
2021-12-15T08:57:22.000Z
lib/digital_ocean/volume_action.ex
kianmeng/digital-ocean-elixir
eff6fd1c621ab51908edad731794b0ef2db1cac1
[ "MIT" ]
8
2020-09-25T14:30:03.000Z
2022-02-21T18:04:48.000Z
lib/digital_ocean/volume_action.ex
kianmeng/digital-ocean-elixir
eff6fd1c621ab51908edad731794b0ef2db1cac1
[ "MIT" ]
4
2020-09-25T14:26:11.000Z
2021-08-09T06:43:18.000Z
defmodule DigitalOcean.VolumeAction do alias DigitalOcean.{ Operation } @doc """ Create an action for a volume. ## Example for attaching a volume to a droplet iex> DigitalOcean.VolumeAction.create( ...> "7724db7c-e098-11e5-b522-000f53304e51", ...> type: "attach", ...> droplet_id...
29.174312
116
0.586792
d52474b13a0fb7852fdc3c1d55595e78f6d80737
1,047
exs
Elixir
mix.exs
polleverywhere/firehose_ex
5d8aa445bf02b223035a3888a3b2e3d861921b6b
[ "MIT" ]
null
null
null
mix.exs
polleverywhere/firehose_ex
5d8aa445bf02b223035a3888a3b2e3d861921b6b
[ "MIT" ]
null
null
null
mix.exs
polleverywhere/firehose_ex
5d8aa445bf02b223035a3888a3b2e3d861921b6b
[ "MIT" ]
null
null
null
defmodule FirehoseEx.Mixfile do use Mix.Project def project do [app: :firehose_ex, version: version, elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end def version, do: "0.0.1" # Configuration for the OTP application # # T...
21.367347
77
0.529131
d524a7220a326f68015627efcc0d28dd4b612a48
236
ex
Elixir
lib/fuschia/entities/api_key.ex
cciuenf/fuschia
cc21d38445a8236142191efd66a3e3997b25cf42
[ "BSD-3-Clause" ]
1
2022-02-21T18:25:14.000Z
2022-02-21T18:25:14.000Z
lib/fuschia/entities/api_key.ex
cciuenf/fuschia
cc21d38445a8236142191efd66a3e3997b25cf42
[ "BSD-3-Clause" ]
32
2021-07-27T20:48:30.000Z
2022-03-26T10:35:43.000Z
lib/fuschia/entities/api_key.ex
cciuenf/fuschia
cc21d38445a8236142191efd66a3e3997b25cf42
[ "BSD-3-Clause" ]
null
null
null
defmodule Fuschia.Entities.ApiKey do @moduledoc """ API Key Schema """ use Fuschia.Schema schema "api_key" do field :key, Ecto.UUID field :description, :string field :active, :boolean timestamps() end end
14.75
36
0.661017
d524ad85cb7e508dab0cbf291db42cf566a66d98
1,345
ex
Elixir
test/support/conn_case.ex
alfredbaudisch/pardall-markdown-phoenix-demo
701fa5b312f00d4076b471d9f880ea56bb3c4119
[ "Apache-2.0" ]
null
null
null
test/support/conn_case.ex
alfredbaudisch/pardall-markdown-phoenix-demo
701fa5b312f00d4076b471d9f880ea56bb3c4119
[ "Apache-2.0" ]
null
null
null
test/support/conn_case.ex
alfredbaudisch/pardall-markdown-phoenix-demo
701fa5b312f00d4076b471d9f880ea56bb3c4119
[ "Apache-2.0" ]
null
null
null
defmodule PardallWeb.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 th...
29.23913
61
0.742007
d524af1f91dd6d46dd2fc641ddeae3912886b249
7,903
ex
Elixir
lib/kino.ex
livebook-dev/kino
48e76a351869164cbef307e57fb81cde27a12f28
[ "Apache-2.0" ]
84
2021-07-17T09:19:45.000Z
2022-03-21T20:43:21.000Z
lib/kino.ex
livebook-dev/kino
48e76a351869164cbef307e57fb81cde27a12f28
[ "Apache-2.0" ]
48
2021-07-21T11:59:20.000Z
2022-03-31T16:34:16.000Z
lib/kino.ex
livebook-dev/kino
48e76a351869164cbef307e57fb81cde27a12f28
[ "Apache-2.0" ]
11
2021-09-05T16:30:23.000Z
2022-02-19T02:06:48.000Z
defmodule Kino do @moduledoc ~S''' Client-driven interactive widgets for Livebook. Kino is the library used by Livebook to render rich and interactive outputs directly from your Elixir code. ## Built-in widgets Kino renders any data structure that implements the `Kino.Render` protocol, falling back to ...
26.082508
104
0.634443
d524b91d5f9f5ac8b68a15f57d034b32ab80371c
1,669
ex
Elixir
lib/data/quest_step.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
lib/data/quest_step.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
lib/data/quest_step.ex
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Data.QuestStep do @moduledoc """ Quest Step schema """ use Data.Schema alias Data.Item alias Data.NPC alias Data.Room alias Data.Quest @types [ "item/collect", "item/give", "item/have", "npc/kill", "room/explore" ] schema "quest_steps" do field(:type, :string)...
23.180556
77
0.641102
d524d0624a410873d600a104b9332c39ca2f8221
151
ex
Elixir
lib/hl7/2.5/datatypes/wvi.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/datatypes/wvi.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/datatypes/wvi.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5.DataTypes.Wvi do @moduledoc false use HL7.DataType, fields: [ channel_number: nil, channel_name: nil ] end
15.1
35
0.655629
d524de53c3cd1619e34b427f5bb36404b0d79feb
396
exs
Elixir
mix.exs
achlysproject/nosos
59070c8c32115ba6b0670385e596ecd6d7b2f69a
[ "Apache-2.0" ]
null
null
null
mix.exs
achlysproject/nosos
59070c8c32115ba6b0670385e596ecd6d7b2f69a
[ "Apache-2.0" ]
null
null
null
mix.exs
achlysproject/nosos
59070c8c32115ba6b0670385e596ecd6d7b2f69a
[ "Apache-2.0" ]
null
null
null
defmodule Nosos.MixProject do use Mix.Project def project do [ apps_path: "apps", start_permanent: Mix.env() == :prod, deps: deps() ] end # Dependencies listed here are available only for this # project and cannot be accessed from applications inside # the apps folder. # # Ru...
18.857143
59
0.64899
d524e03fb9928a9075cfec2417f5022db75d890b
2,000
exs
Elixir
clients/managed_identities/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/mix.exs
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
29.850746
224
0.673
d524e64d171056ee6e794864b17e597b07f525a5
9,131
ex
Elixir
lib/commanded/assertions/event_assertions.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1,220
2017-10-31T10:56:40.000Z
2022-03-31T17:40:19.000Z
lib/commanded/assertions/event_assertions.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
294
2017-11-03T10:33:41.000Z
2022-03-24T08:36:42.000Z
lib/commanded/assertions/event_assertions.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
208
2017-11-03T10:56:47.000Z
2022-03-14T05:49:38.000Z
defmodule Commanded.Assertions.EventAssertions do @moduledoc """ Provides test assertion and wait for event functions to help test applications built using Commanded. The default assert and refute receive timeouts are one second. You can override the default timeout in config (e.g. `config/test.exs`): ...
31.486207
94
0.699157
d524f265c87d7c7401dfd07a5afbbf647cdac42c
6,138
ex
Elixir
lib/membrane_ffmpeg_swresample_plugin/converter.ex
membraneframework/membrane-element-ffmpeg-swresample
8d4b4ff597e70addd4cba0ecaa68383589ae2056
[ "Apache-2.0" ]
2
2018-07-27T14:16:08.000Z
2018-07-27T20:36:25.000Z
lib/membrane_ffmpeg_swresample_plugin/converter.ex
membraneframework/membrane-element-ffmpeg-swresample
8d4b4ff597e70addd4cba0ecaa68383589ae2056
[ "Apache-2.0" ]
2
2018-10-15T08:03:48.000Z
2020-07-14T14:42:02.000Z
lib/membrane_ffmpeg_swresample_plugin/converter.ex
membraneframework/membrane-element-ffmpeg-swresample
8d4b4ff597e70addd4cba0ecaa68383589ae2056
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.FFmpeg.SWResample.Converter do @moduledoc """ This element performs audio conversion/resampling/channel mixing, using SWResample module of FFmpeg library. """ use Membrane.Filter import Mockery.Macro require Membrane.Logger alias Membrane.{Buffer, RawAudio, RemoteStream} alias Me...
29.941463
138
0.611926
d525160e597d16387b85d38f465425565ec56db2
356
ex
Elixir
lib/sutur_web/controllers/home_controller.ex
ab-zu/sutur
f314ed29b344fbe0139bd87ac01caf577b1d592e
[ "MIT" ]
1
2021-11-16T02:18:31.000Z
2021-11-16T02:18:31.000Z
lib/sutur_web/controllers/home_controller.ex
ab-zu/sutur
f314ed29b344fbe0139bd87ac01caf577b1d592e
[ "MIT" ]
null
null
null
lib/sutur_web/controllers/home_controller.ex
ab-zu/sutur
f314ed29b344fbe0139bd87ac01caf577b1d592e
[ "MIT" ]
null
null
null
defmodule SuturWeb.Controllers.HomeController do use SuturWeb, :controller alias Sutur.Shops plug Shopifex.Plug.PaymentGuard, "premium_plan" when action in [:index] def index(conn, _params) do shop = Shopifex.Plug.current_shop(conn) conn |> put_view(SuturWeb.HomeView) |> render(:index, produc...
23.733333
73
0.730337
d5251dff196b2177282a3955eaff51435a745e84
6,688
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_organization.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_organization.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_organization.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...
64.307692
885
0.703798
d525206700767270fdc4a030d54d8f7d4d8cd366
903
ex
Elixir
lib/socializer_web/resolvers/post_resolver.ex
adam-h/socializer
22bbb34a6e707af9cf608c5eeb6189d1f067a95b
[ "MIT" ]
311
2019-04-21T22:15:08.000Z
2022-01-23T14:07:03.000Z
lib/socializer_web/resolvers/post_resolver.ex
adam-h/socializer
22bbb34a6e707af9cf608c5eeb6189d1f067a95b
[ "MIT" ]
9
2020-09-07T09:38:58.000Z
2022-02-26T18:07:44.000Z
lib/socializer_web/resolvers/post_resolver.ex
adam-h/socializer
22bbb34a6e707af9cf608c5eeb6189d1f067a95b
[ "MIT" ]
49
2019-04-22T01:29:50.000Z
2022-03-23T04:34:35.000Z
defmodule SocializerWeb.Resolvers.PostResolver do alias Socializer.Post def list(_parent, _args, _resolutions) do {:ok, Post.all()} end def show(_parent, args, _resolutions) do case Post.find(args[:id]) do nil -> {:error, "Not found"} post -> {:ok, post} end end def create(_parent...
20.522727
49
0.59247
d525266da17873583b269e9189deeb092beec788
2,348
ex
Elixir
lib/tapebas_web/telemetry.ex
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
3
2022-03-24T16:48:38.000Z
2022-03-24T16:50:04.000Z
lib/tapebas_web/telemetry.ex
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
null
null
null
lib/tapebas_web/telemetry.ex
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
1
2022-03-20T01:11:12.000Z
2022-03-20T01:11:12.000Z
defmodule TapebasWeb.Telemetry do @moduledoc false use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ {PhoenixProfiler, name: Tabepas.Profiler}, # Telemetry poller will...
31.306667
88
0.6546
d5252b1d44b693cde222b094ee52f73a619e54b0
271
ex
Elixir
lib/central/general/mailer.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/central/general/mailer.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/central/general/mailer.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
2
2021-02-23T22:34:00.000Z
2021-04-08T13:31:36.000Z
defmodule Central.Mailer do use Bamboo.Mailer, otp_app: :central def noreply_address do Application.get_env(:central, Central.Mailer)[:noreply_address] end def contact_address do Application.get_env(:central, Central.Mailer)[:contact_address] end end
22.583333
67
0.767528
d5255b054cfcd2bb78d7e3cd01d2c1b7b8ed73ae
192
exs
Elixir
apps/diet/priv/repo/migrations/20190705150632_add_published_at_into_videos_table.exs
isavita/diet-umbrella
0eee4d0dc4d9567888e4b69ccc7993e95d95ed29
[ "MIT" ]
1
2020-06-01T21:25:54.000Z
2020-06-01T21:25:54.000Z
apps/diet/priv/repo/migrations/20190705150632_add_published_at_into_videos_table.exs
isavita/diet-umbrella
0eee4d0dc4d9567888e4b69ccc7993e95d95ed29
[ "MIT" ]
221
2019-07-20T17:20:49.000Z
2021-08-02T06:21:10.000Z
apps/diet/priv/repo/migrations/20190705150632_add_published_at_into_videos_table.exs
isavita/diet-umbrella
0eee4d0dc4d9567888e4b69ccc7993e95d95ed29
[ "MIT" ]
null
null
null
defmodule Diet.Repo.Migrations.AddPublishedAtIntoVideosTable do use Ecto.Migration def change do alter table(:videos) do add :published_at, :utc_datetime_usec end end end
19.2
63
0.75
d525824037ac5b2ba880537dd9610c3b221345e2
37,017
ex
Elixir
lib/oli/publishing.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
lib/oli/publishing.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
lib/oli/publishing.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Publishing do import Ecto.Query, warn: false alias Oli.Repo alias Oli.Authoring.Course.Project alias Oli.Authoring.Course.ProjectVisibility alias Oli.Accounts.Author alias Oli.Authoring.Locks alias Oli.Delivery.Sections.Section alias Oli.Authoring.Course.ProjectResource alias Oli.Resour...
33.080429
127
0.650917
d5259ab18d9cb2f6b70e0dc2aecb2e112a2a813a
1,468
exs
Elixir
apps/ello_serve/test/ello_serve/version_store/memory_test.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_serve/test/ello_serve/version_store/memory_test.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_serve/test/ello_serve/version_store/memory_test.exs
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.Serve.VersionStore.MemoryTest do use ExUnit.Case, async: false alias Ello.Serve.VersionStore.Memory setup do Application.put_env(:ello_serve, :version_store_adapter, Memory) Memory.start() on_exit fn() -> Memory.reset() end :ok end test "versions can be put and fetch...
39.675676
85
0.659401
d525a1a16dd1c65306d1a793e0bd30df5ece2c17
2,358
ex
Elixir
clients/content/lib/google_api/content/v21/model/order_report_disbursement.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/order_report_disbursement.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/order_report_disbursement.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...
39.966102
143
0.717981
d525a4898e34649becdbb111c782cd4b3f55e58e
363
ex
Elixir
kousa/lib/kousa/search.ex
BronzW/dogehouse
6cebfd22af728112a861a9e2ea6202cd848abab6
[ "MIT" ]
null
null
null
kousa/lib/kousa/search.ex
BronzW/dogehouse
6cebfd22af728112a861a9e2ea6202cd848abab6
[ "MIT" ]
null
null
null
kousa/lib/kousa/search.ex
BronzW/dogehouse
6cebfd22af728112a861a9e2ea6202cd848abab6
[ "MIT" ]
null
null
null
defmodule Kousa.Search do alias Beef.Users alias Beef.Rooms def search(query) do trimmed_query = String.trim(query) len = String.length(trimmed_query) cond do len < 2 or len > 100 -> [] String.starts_with?(trimmed_query, "@") -> Users.search_username(trimmed_query) true -> Rooms.se...
22.6875
85
0.674931
d525a60af60a69723377d83dbeaee9fd060110c8
10,688
ex
Elixir
lib/transaction.ex
SachinMeier/bitcoinex
3b74de9889ab44ad3d204e1bbfd124f8e7419208
[ "Unlicense" ]
1
2021-02-13T08:00:09.000Z
2021-02-13T08:00:09.000Z
lib/transaction.ex
SachinMeier/bitcoinex
3b74de9889ab44ad3d204e1bbfd124f8e7419208
[ "Unlicense" ]
2
2021-01-08T21:01:32.000Z
2021-04-23T15:52:15.000Z
lib/transaction.ex
SachinMeier/bitcoinex
3b74de9889ab44ad3d204e1bbfd124f8e7419208
[ "Unlicense" ]
null
null
null
defmodule Bitcoinex.Transaction do @moduledoc """ Bitcoin on-chain transaction structure. Supports serialization of transactions. """ alias Bitcoinex.Transaction alias Bitcoinex.Transaction.In alias Bitcoinex.Transaction.Out alias Bitcoinex.Transaction.Witness alias Bitcoinex.Utils alias Bitcoinex.T...
26.653367
100
0.650917
d525a7ef8f99f8e7c49fbf2119b7b0d696b2e09c
14,726
ex
Elixir
lib/ecto/query/api.ex
samuelpordeus/ecto
c66ab5f89ef348c7f520f427001c33d95a78bd2e
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/api.ex
samuelpordeus/ecto
c66ab5f89ef348c7f520f427001c33d95a78bd2e
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/api.ex
samuelpordeus/ecto
c66ab5f89ef348c7f520f427001c33d95a78bd2e
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Query.API do @moduledoc """ Lists all functions allowed in the query API. * Comparison operators: `==`, `!=`, `<=`, `>=`, `<`, `>` * Arithmetic operators: `+`, `-`, `*`, `/` * Boolean operators: `and`, `or`, `not` * Inclusion operator: `in/2` * Search functions: `like/2` and `ili...
29.511022
91
0.661483
d525fdc6f115dcc945a8e172692024810d94e91e
1,737
ex
Elixir
lib/singleton.ex
klacointe/singleton
ae3d0dd970954626beb90fddf8c83b6840cb6920
[ "MIT" ]
84
2016-10-30T09:45:20.000Z
2022-02-11T20:53:18.000Z
lib/singleton.ex
klacointe/singleton
ae3d0dd970954626beb90fddf8c83b6840cb6920
[ "MIT" ]
8
2020-01-29T16:24:12.000Z
2022-01-06T08:40:10.000Z
lib/singleton.ex
klacointe/singleton
ae3d0dd970954626beb90fddf8c83b6840cb6920
[ "MIT" ]
14
2018-05-19T09:11:12.000Z
2021-07-19T22:11:17.000Z
defmodule Singleton do @moduledoc """ Singleton application. The top supervisor of singleton is a DynamicSupervisor. Singleton can manage many singleton processes at the same time. Each singleton is identified by its unique `name` term. """ use Application require Logger def start(_, _) do Dy...
27.140625
73
0.697179
d5260df5463ed9a81bddf54adf97f6c0ea3da5d3
2,636
ex
Elixir
farmbot_os/lib/farmbot_os/sys_calls/dump_info.ex
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
farmbot_os/lib/farmbot_os/sys_calls/dump_info.ex
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
farmbot_os/lib/farmbot_os/sys_calls/dump_info.ex
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
defmodule FarmbotOS.SysCalls.DumpInfo do @moduledoc false require FarmbotCore.Logger require FarmbotTelemetry alias FarmbotCore.{Asset, Asset.DiagnosticDump, Asset.Private, Config, Project} def dump_info do FarmbotCore.Logger.busy(1, "Recording diagnostic dump.") ifname = get_network_config() dm...
27.747368
95
0.641502
d526222c8508113a0f71e3934a1ee2e677fc5df5
11,823
ex
Elixir
lib/spf.ex
theMarinac/mailibex
b75af1af8e523c665701f1fdf32d41710a6c9a59
[ "MIT" ]
null
null
null
lib/spf.ex
theMarinac/mailibex
b75af1af8e523c665701f1fdf32d41710a6c9a59
[ "MIT" ]
null
null
null
lib/spf.ex
theMarinac/mailibex
b75af1af8e523c665701f1fdf32d41710a6c9a59
[ "MIT" ]
null
null
null
defmodule SPF do @doc """ params: - sender: sender mail to check - ip: check authorization for this ip, ip in erlang format so ipv4:{1,1,1,1}, ipv6:{1,1,1,1,1,1,1,1} - param_list: optional kw parameters :helo and :server_domain, if :spf is given, then the :spf value is used for SPF inst...
39.942568
139
0.622431
d526414c8bd5d1996b802186713c2db40fef1553
64
exs
Elixir
test/mivbm_test.exs
rhumbertgz/mivbm
ce710cf9c4e9f12b741714c8e5153bc4bd8cf9c4
[ "Apache-2.0" ]
1
2019-05-27T17:22:12.000Z
2019-05-27T17:22:12.000Z
test/mivbm_test.exs
rhumbertgz/mivbm
ce710cf9c4e9f12b741714c8e5153bc4bd8cf9c4
[ "Apache-2.0" ]
null
null
null
test/mivbm_test.exs
rhumbertgz/mivbm
ce710cf9c4e9f12b741714c8e5153bc4bd8cf9c4
[ "Apache-2.0" ]
null
null
null
defmodule MivbmTest do use ExUnit.Case doctest Mivbm end
9.142857
22
0.75
d5264db80d793a47c269e2e5bde00c6ec5fbe357
2,532
ex
Elixir
lib/game/command/map.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/command/map.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
lib/game/command/map.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
defmodule Game.Command.Map do @moduledoc """ The "map" command """ use Game.Command use Game.Zone alias Game.Environment alias Game.Session.GMCP commands(["map"], parse: false) @impl Game.Command def help(:topic), do: "Map" def help(:short), do: "View a map of the zone" def help(:full) do ...
23.663551
86
0.586098
d526637e12da4b352be5a73fea74070d82a89bbf
4,974
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/floodlight_activity_group.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/floodlight_activity_group.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/floodlight_activity_group.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
58.517647
502
0.724367
d526689f9e29098d877780d9b566ba91c3813902
896
ex
Elixir
clients/storage_transfer/lib/google_api/storage_transfer/v1/metadata.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/storage_transfer/lib/google_api/storage_transfer/v1/metadata.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/storage_transfer/lib/google_api/storage_transfer/v1/metadata.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.185185
74
0.762277
d5267daa51e5f01803e813c2a3d9d5771c81371d
12,638
ex
Elixir
lib/chat_api/slack.ex
joelazwar/papercups
e69abfc30575b3ad03e51db46536d3eb802e55d5
[ "MIT" ]
null
null
null
lib/chat_api/slack.ex
joelazwar/papercups
e69abfc30575b3ad03e51db46536d3eb802e55d5
[ "MIT" ]
null
null
null
lib/chat_api/slack.ex
joelazwar/papercups
e69abfc30575b3ad03e51db46536d3eb802e55d5
[ "MIT" ]
null
null
null
defmodule ChatApi.Slack do @moduledoc """ A module to handle sending Slack notifications. """ require Logger use Tesla alias ChatApi.{Conversations, SlackAuthorizations, SlackConversationThreads, Users} alias ChatApi.Customers.Customer plug Tesla.Middleware.BaseUrl, "https://slack.com/api" plug T...
29.947867
96
0.617424
d526993103385746c9857a01170a33a3e20466aa
17,285
ex
Elixir
lib/ex_doc/retriever.ex
radar/ex_doc
0254043fea5cd7193cd3226b60e1b5a7a2668767
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/retriever.ex
radar/ex_doc
0254043fea5cd7193cd3226b60e1b5a7a2668767
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/retriever.ex
radar/ex_doc
0254043fea5cd7193cd3226b60e1b5a7a2668767
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Retriever do # Functions to extract documentation information from modules. @moduledoc false defmodule Error do @moduledoc false defexception [:message] end alias ExDoc.{GroupMatcher} alias ExDoc.Retriever.Error @doc """ Extract documentation from all modules in the specified ...
30.008681
99
0.629795
d5269c34c2e6b04e2e7129714f871f8a2d14a9c6
253
ex
Elixir
lib/beet_diet.ex
Vaysman/beer-diet
14bf38e08afc25bd3f0139d8fff75f0df1821793
[ "MIT" ]
null
null
null
lib/beet_diet.ex
Vaysman/beer-diet
14bf38e08afc25bd3f0139d8fff75f0df1821793
[ "MIT" ]
null
null
null
lib/beet_diet.ex
Vaysman/beer-diet
14bf38e08afc25bd3f0139d8fff75f0df1821793
[ "MIT" ]
null
null
null
defmodule BeetDiet do @moduledoc """ BeetDiet keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.3
66
0.754941
d526c85536c72589b220a9314f86ea35d9600467
1,237
exs
Elixir
test/conversor_web/controllers/transaction_controller_test.exs
wagncarv/CurrencyExchange
3e626681d97a17a68385be31d8c8a82fd4bfcd59
[ "MIT" ]
1
2022-03-28T19:10:45.000Z
2022-03-28T19:10:45.000Z
test/conversor_web/controllers/transaction_controller_test.exs
wagner-de-carvalho/currency_exchange
6c784dcab0af3345c71a41ca606158298a447d49
[ "MIT" ]
null
null
null
test/conversor_web/controllers/transaction_controller_test.exs
wagner-de-carvalho/currency_exchange
6c784dcab0af3345c71a41ca606158298a447d49
[ "MIT" ]
null
null
null
defmodule ConversorWeb.TransactionControllerTest do use ConversorWeb.ConnCase, async: true describe "convert/2" do test "when all params are valid, creates transaction", %{conn: conn} do params = %{ "user_id" => "3", "origin_currency" => "BRL", ...
27.488889
79
0.493129
d526ca63b5732e251a896bc3a225eeb88dd880b6
2,116
ex
Elixir
lib/straw_hat_map/world/counties/counties_use_cases.ex
straw-hat-team/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
4
2018-03-07T04:12:36.000Z
2018-03-08T16:13:14.000Z
lib/straw_hat_map/world/counties/counties_use_cases.ex
straw-hat-labs/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
61
2018-03-07T04:50:42.000Z
2019-11-01T10:24:03.000Z
lib/straw_hat_map/world/counties/counties_use_cases.ex
straw-hat-team/straw_hat_map
df71340122852577b9df2ed2afcbcc4be879aba1
[ "MIT" ]
2
2018-03-22T19:44:45.000Z
2019-08-02T03:45:47.000Z
defmodule StrawHat.Map.Counties do @moduledoc """ Counties management use cases. """ import Ecto.Query alias StrawHat.{Error, Response} alias StrawHat.Map.{City, County} @spec get_counties(Ecto.Repo.t(), Scrivener.Config.t()) :: Scrivener.Page.t() def get_counties(repo, pagination \\ []) do Scrive...
30.228571
95
0.653592
d52713057bde85619489020dcca518c87e19c8d8
122,472
ex
Elixir
lib/elixir/lib/enum.ex
norbusan/elixir-debian
ebb65c607e29f038d6a333bd1d1c9605c5ae2ef0
[ "Apache-2.0" ]
243
2020-02-03T03:48:51.000Z
2021-11-08T12:56:25.000Z
lib/elixir/lib/enum.ex
norbusan/elixir-debian
ebb65c607e29f038d6a333bd1d1c9605c5ae2ef0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/enum.ex
norbusan/elixir-debian
ebb65c607e29f038d6a333bd1d1c9605c5ae2ef0
[ "Apache-2.0" ]
null
null
null
defprotocol Enumerable do @moduledoc """ Enumerable protocol used by `Enum` and `Stream` modules. When you invoke a function in the `Enum` module, the first argument is usually a collection that must implement this protocol. For example, the expression: Enum.map([1, 2, 3], &(&1 * 2)) invokes `Enume...
28.468619
112
0.615022
d527436bb33fd2aeee6f2b49eb212af469b5b154
1,062
ex
Elixir
lib/gforce_web/channels/user_socket.ex
JordanCheney/gforce
44b2862e3a4aacb13316922431f22f0889c5fa99
[ "MIT" ]
null
null
null
lib/gforce_web/channels/user_socket.ex
JordanCheney/gforce
44b2862e3a4aacb13316922431f22f0889c5fa99
[ "MIT" ]
2
2021-05-11T10:59:37.000Z
2021-06-17T00:54:44.000Z
lib/gforce_web/channels/user_socket.ex
JordanCheney/gforce
44b2862e3a4aacb13316922431f22f0889c5fa99
[ "MIT" ]
null
null
null
defmodule GforceWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", GforceWeb.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...
31.235294
83
0.695857
d52758c3f63337aaacecc0285cadf1a7fa91bfab
1,153
exs
Elixir
test/migrate_event_store_test.exs
MainShayne233/eventstore
fc46db3c890f083a1a050e33e98bd15cf42bb8b0
[ "MIT" ]
null
null
null
test/migrate_event_store_test.exs
MainShayne233/eventstore
fc46db3c890f083a1a050e33e98bd15cf42bb8b0
[ "MIT" ]
null
null
null
test/migrate_event_store_test.exs
MainShayne233/eventstore
fc46db3c890f083a1a050e33e98bd15cf42bb8b0
[ "MIT" ]
null
null
null
defmodule MigrateStoreTest do use ExUnit.Case @moduletag :migration setup_all do config = TestEventStore.config() recreate_database(config) migrate_eventstore(config) {:ok, _pid} = TestEventStore.start_link() :ok end describe "migrated event store" do test "read stream forward" d...
22.173077
93
0.710321
d527c05a990b93bb60c39b66f8a754366cb11aec
1,559
exs
Elixir
mix.exs
recoflo/ex_aws
7843167836f6ee291241073be21118314e554533
[ "MIT" ]
null
null
null
mix.exs
recoflo/ex_aws
7843167836f6ee291241073be21118314e554533
[ "MIT" ]
null
null
null
mix.exs
recoflo/ex_aws
7843167836f6ee291241073be21118314e554533
[ "MIT" ]
null
null
null
defmodule ExAws.Mixfile do use Mix.Project @version "2.1.2" def project do [ app: :ex_aws, version: @version, elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env()), description: "Generic AWS client", name: "ExAws", source_url: "https://github.com/ex-aws/ex_aws",...
26.87931
139
0.537524
d527e41612370f39a9163db5694657687d42ac18
383
exs
Elixir
config/test.exs
Truta446/rocketpay
7e39f284999a30399a8495b899326e9174dc6544
[ "MIT" ]
null
null
null
config/test.exs
Truta446/rocketpay
7e39f284999a30399a8495b899326e9174dc6544
[ "MIT" ]
null
null
null
config/test.exs
Truta446/rocketpay
7e39f284999a30399a8495b899326e9174dc6544
[ "MIT" ]
null
null
null
use Mix.Config config :rocketpay, Rocketpay.Repo, username: "postgres", password: "postgres", database: "rocketpay_test#{System.get_env("MIX_TEST_PARTITION")}", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox config :rocketpay, RocketpayWeb.Endpoint, http: [port: 4002], server: false # Print onl...
23.9375
68
0.738903
d5281fab5cebe5689688b2081ecdde7351e7ed55
5,838
ex
Elixir
lib/changelog/notifier.ex
d-m-u/changelog.com
bb0d6ac6d29a3d64dbeb44892f9a8a1ff3ba6325
[ "MIT" ]
null
null
null
lib/changelog/notifier.ex
d-m-u/changelog.com
bb0d6ac6d29a3d64dbeb44892f9a8a1ff3ba6325
[ "MIT" ]
null
null
null
lib/changelog/notifier.ex
d-m-u/changelog.com
bb0d6ac6d29a3d64dbeb44892f9a8a1ff3ba6325
[ "MIT" ]
null
null
null
defmodule Changelog.Notifier do alias Changelog.{ Episode, Mailer, NewsItem, NewsItemComment, Person, Podcast, Repo, Subscription, Slack, EpisodeRequest } alias ChangelogWeb.Email def notify(%NewsItem{feed_only: true}), do: false def notify(item = %NewsItem{type: :au...
27.933014
84
0.700754
d5284060fc5079658d8f05c2d3e1fdf26b5645f9
123
exs
Elixir
config/config.exs
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
31
2021-05-29T22:57:04.000Z
2022-03-13T16:24:57.000Z
config/config.exs
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
4
2021-06-04T23:34:38.000Z
2021-07-16T16:01:20.000Z
config/config.exs
pcorey/rfx
db5be95d93b7aba0cf9799db273d8583c21bfc26
[ "MIT" ]
4
2021-06-11T13:10:04.000Z
2022-02-11T13:33:16.000Z
use Mix.Config # Clear screen before every test run if Mix.env == :dev do config :mix_test_interactive, clear: true end
17.571429
43
0.747967
d52884a0ee6a14b9a913a007d0ff692d45373ae8
379
exs
Elixir
samples/parallel_process.exs
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
636
2016-06-06T07:58:36.000Z
2019-03-19T15:27:37.000Z
samples/parallel_process.exs
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
198
2016-06-18T08:19:15.000Z
2019-03-19T15:32:37.000Z
samples/parallel_process.exs
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
43
2016-06-08T08:04:30.000Z
2019-02-13T17:10:24.000Z
# When passing a flag parallel with value >1 then multiple processes # will be handled for benchmarking provided function. Benchee.run(%{"one" => fn -> :timer.sleep(10) end}, parallel: 1, time: 1) Benchee.run(%{"three" => fn -> :timer.sleep(10) end}, parallel: 3, time: 1) Benchee.run(%{"five" => fn -> :timer.sleep(10)...
42.111111
75
0.675462
d5289950dfe3541431c4ff86a1217aede39a517f
2,564
ex
Elixir
apps/evm/lib/evm/refunds/sstore.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/evm/lib/evm/refunds/sstore.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/evm/lib/evm/refunds/sstore.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule EVM.Refunds.Sstore do alias EVM.{ExecEnv, Gas} # Refund given (added into refund counter) when the storage value is set to zero from non-zero. @storage_refund 15_000 @spec refund({integer(), integer()}, ExecEnv.t()) :: {ExecEnv.t(), integer()} def refund({key, new_value}, exec_env) do if exec_...
24.653846
97
0.626755
d5289f59857d67a6d2e002eda0776be292731011
3,278
ex
Elixir
lib/radiator/media/audio_file.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
92
2019-01-03T11:46:23.000Z
2022-02-19T21:28:44.000Z
lib/radiator/media/audio_file.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
350
2019-04-11T07:55:51.000Z
2021-08-03T11:19:05.000Z
lib/radiator/media/audio_file.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
10
2019-04-18T12:47:27.000Z
2022-01-25T20:49:15.000Z
defmodule Radiator.Media.AudioFile do use Ecto.Schema use Arc.Definition use Arc.Ecto.Definition import Ecto.Changeset import Arc.Ecto.Changeset alias Radiator.Media alias Radiator.Media.AudioFile alias Radiator.Directory.{ Episode, AudioPublication, Audio, Publication } schema ...
26.435484
91
0.694631
d528b6ac4a6cf34b5704fcc0445558c339ebc93b
210
ex
Elixir
lib/controller.ex
gilacost/alternate
0876bb19ac4ddb8b92b7a984d4bebfb6424bf5cc
[ "Apache-2.0" ]
28
2016-11-13T10:10:55.000Z
2020-05-08T14:24:16.000Z
lib/controller.ex
gilacost/alternate
0876bb19ac4ddb8b92b7a984d4bebfb6424bf5cc
[ "Apache-2.0" ]
3
2017-06-08T08:56:49.000Z
2020-05-02T10:50:48.000Z
lib/controller.ex
boudra/polygot
ba143e91a21310ad3ea78cb2fca500f761bd63f3
[ "Apache-2.0" ]
5
2017-06-07T16:30:48.000Z
2020-04-25T11:31:52.000Z
defmodule Alternate.Controller do defmacro __using__(_) do quote do def init(action: action, locale: _) do action end def init(opts) do opts end end end end
15
44
0.585714
d528f5f6e727d3b19002b04190a98c42d85ff298
20,907
ex
Elixir
lib/elixir/lib/process.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/elixir/lib/process.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/process.ex
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
defmodule Process do @moduledoc """ Conveniences for working with processes and the process dictionary. Besides the functions available in this module, the `Kernel` module exposes and auto-imports some basic functionality related to processes available through the following functions: * `Kernel.spawn/1`...
31.629349
118
0.676998
d528ff9febbc47fcdf1eac909c4ec0d1960e7087
77
ex
Elixir
apps/beagle_client/lib/gettext.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
3
2020-11-24T07:45:26.000Z
2021-07-29T13:37:02.000Z
apps/beagle_client/lib/gettext.ex
mskcc/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
52
2020-10-21T19:47:59.000Z
2021-09-09T18:42:33.000Z
apps/beagle_client/lib/gettext.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
1
2020-12-15T03:33:31.000Z
2020-12-15T03:33:31.000Z
defmodule BeagleClient.Gettext do use Gettext, otp_app: :beagle_client end
19.25
38
0.818182
d5290ffe0679997cc565edca9a27eeb80ddd79de
22,553
ex
Elixir
lib/mail_slurp_api/api/email_controller.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
null
null
null
lib/mail_slurp_api/api/email_controller.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
null
null
null
lib/mail_slurp_api/api/email_controller.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule MailSlurpAPI.Api.EmailController do @moduledoc """ API calls for all endpoints tagged `EmailController`. """ alias MailSlurpAPI.Connection ...
34.804012
505
0.659912
d5292351cae3374747ad089f0f3e6a69d678989d
459
ex
Elixir
lib/nox/parsers.ex
tableturn/nox
4fbe1a08196b2f84cca702715e84e6c7a67a42aa
[ "Apache-2.0" ]
5
2018-04-28T14:25:09.000Z
2020-10-27T07:06:59.000Z
lib/nox/parsers.ex
kbrw/nodex
f362cb135cf5da23cc3c1bc159cbe6d120ca1494
[ "Apache-2.0" ]
2
2018-04-19T08:52:58.000Z
2018-04-19T13:01:13.000Z
lib/nox/parsers.ex
kbrw/nodex
f362cb135cf5da23cc3c1bc159cbe6d120ca1494
[ "Apache-2.0" ]
1
2019-07-12T11:10:28.000Z
2019-07-12T11:10:28.000Z
defmodule Nox.Parser do @moduledoc """ Defines Cli Parser behaviour """ @doc false @callback init(args :: term) :: any @doc false @callback parse(line :: binary, state) :: state when state: any @doc false @callback terminate(state :: any) :: any defmacro __using__(_args) do quote do @...
16.392857
66
0.633987
d52923ad4b08b093a91b1719a5e1022be23def75
12,707
ex
Elixir
lib/mapper/cp775.ex
nikneroz/exconv
31a9f424462f88024af3afb32d2cb80160f07ebf
[ "MIT" ]
null
null
null
lib/mapper/cp775.ex
nikneroz/exconv
31a9f424462f88024af3afb32d2cb80160f07ebf
[ "MIT" ]
1
2020-07-16T09:38:33.000Z
2020-07-16T09:38:33.000Z
lib/mapper/cp775.ex
nikneroz/exconv
31a9f424462f88024af3afb32d2cb80160f07ebf
[ "MIT" ]
null
null
null
defmodule Exconv.Mapper.Cp775 do def to_unicode(255), do: 160 # <<194, 160>> | " " def to_unicode(254), do: 9632 # <<226, 150, 160>> | "■" def to_unicode(253), do: 178 # <<194, 178>> | "²" def to_unicode(252), do: 179 # <<194, 179>> | "³" def to_unicode(251), do: 185 # <<194, 185>> | "¹" def to_unicode(250)...
49.251938
57
0.518927
d5293687947618e86c9af3c3a82ad998275c699c
769
ex
Elixir
lib/ambry_web/live/library_live/home/recent_books.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
12
2021-09-30T20:51:49.000Z
2022-01-27T04:09:32.000Z
lib/ambry_web/live/library_live/home/recent_books.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
76
2021-10-01T05:45:11.000Z
2022-03-28T04:12:39.000Z
lib/ambry_web/live/library_live/home/recent_books.ex
doughsay/ambry
c04e855bf06a6b00b8053c6eacb2eac14a56a37c
[ "MIT" ]
2
2021-10-04T19:27:28.000Z
2022-01-13T22:36:38.000Z
defmodule AmbryWeb.LibraryLive.Home.RecentBooks do @moduledoc false use AmbryWeb, :live_component alias Ambry.Books @limit 25 @impl Phoenix.LiveComponent def update(assigns, socket) do {:ok, socket |> assign(assigns) |> load_books()} end @impl Phoenix.LiveComponent def handle_e...
21.971429
68
0.663199
d5295081a3bab948352182f43c7c5e583271ebe2
18,902
ex
Elixir
lib/elixir/lib/io/ansi/docs.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/io/ansi/docs.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/io/ansi/docs.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
defmodule IO.ANSI.Docs do @moduledoc false @bullets [?*, ?-, ?+] @spaces [" ", "\n", "\t"] @doc """ The default options used by this module. The supported values are: * `:enabled` - toggles coloring on and off (true) * `:doc_bold` - bold text (bright) * `:doc_code` ...
30.438003
97
0.624907
d529b152720ef2e272b45536a6255bb56a1e85fc
784
ex
Elixir
lib/batch_elixir/envrionment.ex
OnceApp/batch_elixir
eabd12abaef7b703c95a30641be27c1658c2a64f
[ "MIT" ]
3
2019-02-11T11:32:44.000Z
2019-03-01T15:58:46.000Z
lib/batch_elixir/envrionment.ex
OnceApp/batch_elixir
eabd12abaef7b703c95a30641be27c1658c2a64f
[ "MIT" ]
1
2019-02-05T17:20:15.000Z
2019-02-11T11:03:14.000Z
lib/batch_elixir/envrionment.ex
OnceApp/batch_elixir
eabd12abaef7b703c95a30641be27c1658c2a64f
[ "MIT" ]
1
2019-08-08T16:40:26.000Z
2019-08-08T16:40:26.000Z
defmodule BatchElixir.Environment do @moduledoc """ Wrapper module to access to the application environment value """ @doc """ Get the value from a key. Return nil if the key does not exist in the application environment. Otherwise return the value. """ @spec get(atom()) :: any() | nil def get(key)...
26.133333
95
0.660714
d529cccd77841409bc77e0fa2fe51b6854804c41
1,323
exs
Elixir
mix.exs
Schultzer/kryptiles
e6203627e227304829490925758e848c6ff73ebf
[ "Unlicense", "MIT" ]
1
2018-07-21T22:19:35.000Z
2018-07-21T22:19:35.000Z
mix.exs
Schultzer/kryptiles
e6203627e227304829490925758e848c6ff73ebf
[ "Unlicense", "MIT" ]
null
null
null
mix.exs
Schultzer/kryptiles
e6203627e227304829490925758e848c6ff73ebf
[ "Unlicense", "MIT" ]
null
null
null
defmodule Kryptiles.Mixfile do use Mix.Project @version "0.1.0" def project do [ app: :kryptiles, version: @version, elixir: "~> 1.5", name: "Kryptiles", source_url: "https://github.com/schultzer/kryptiles", build_embedded: Mix.env == :prod, start_permanent: Mix.env...
20.353846
92
0.574452
d529d642bee7521de4f9b36230a1ba655745bebc
8,011
ex
Elixir
clients/cloud_functions/lib/google_api/cloud_functions/v1/api/operations.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/api/operations.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_functions/lib/google_api/cloud_functions/v1/api/operations.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...
52.359477
607
0.657471
d529e2e11eeafa00c6dee003b9a7ce2d33217f15
2,829
ex
Elixir
lib/brando/files/file.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
1
2020-04-26T09:53:02.000Z
2020-04-26T09:53:02.000Z
lib/brando/files/file.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
198
2019-08-20T16:16:07.000Z
2020-07-03T15:42:07.000Z
lib/brando/files/file.ex
univers-agency/brando
69c3c52498a3f64518da3522cd9f27294a52cc68
[ "Apache-2.0" ]
null
null
null
defmodule Brando.Files.File do @moduledoc """ Ecto schema for the File schema """ use Brando.Blueprint, application: "Brando", domain: "Files", schema: "File", singular: "file", plural: "files", gettext_module: Brando.Gettext import Brando.Gettext trait Brando.Trait.Creator trai...
24.815789
460
0.551078
d529f6c0255b67355eefc60c19f91e72934c37da
15,639
ex
Elixir
lib/ueberauth.ex
gseddon/ueberauth
a914cbb1894224bdc1ff5653011af5966838cab2
[ "MIT" ]
null
null
null
lib/ueberauth.ex
gseddon/ueberauth
a914cbb1894224bdc1ff5653011af5966838cab2
[ "MIT" ]
null
null
null
lib/ueberauth.ex
gseddon/ueberauth
a914cbb1894224bdc1ff5653011af5966838cab2
[ "MIT" ]
null
null
null
defmodule Ueberauth do @moduledoc """ Ueberauth is two-phase authentication framework that provides a clear API - allowing for many strategies to be created and shared within the community. It is heavily inspired by [Omniauth](https://github.com/intridea/omniauth). You could call it a port but it is significa...
36.117783
98
0.708293
d529f920389bbd8656613303062cc956ab94112d
694
exs
Elixir
src/config/test.exs
datajohnny/phoenix_docker_sample
1dfea4ebff1ba2c4c59e5d01cbe1e8d31086152f
[ "MIT" ]
null
null
null
src/config/test.exs
datajohnny/phoenix_docker_sample
1dfea4ebff1ba2c4c59e5d01cbe1e8d31086152f
[ "MIT" ]
null
null
null
src/config/test.exs
datajohnny/phoenix_docker_sample
1dfea4ebff1ba2c4c59e5d01cbe1e8d31086152f
[ "MIT" ]
null
null
null
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 :planning_poker, PlanningPoker.Repo, username: "postgres", password: "postgres", database: "planning_p...
30.173913
73
0.760807
d52a0c377681086a622ff25fcf6614caf4c954e1
3,269
exs
Elixir
test/extensions/invitation/ecto/schema_test.exs
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
1
2021-06-25T10:36:01.000Z
2021-06-25T10:36:01.000Z
test/extensions/invitation/ecto/schema_test.exs
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
null
null
null
test/extensions/invitation/ecto/schema_test.exs
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
null
null
null
defmodule PowInvitation.Ecto.SchemaTest do use ExUnit.Case doctest PowInvitation.Ecto.Schema alias PowInvitation.Ecto.Schema alias PowInvitation.PowEmailConfirmation.Test.Users.User, as: UserEmailConfirmation alias PowInvitation.Test.Users.User defmodule OverrideInviteChangesetUser do @moduledoc false...
30.551402
122
0.717345
d52a41d068fdf2201d70d2b693eaef6d516f908f
603
ex
Elixir
lib/ex338_web/live/commish/fantasy_league_live/edit.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
lib/ex338_web/live/commish/fantasy_league_live/edit.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
lib/ex338_web/live/commish/fantasy_league_live/edit.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338Web.Commish.FantasyLeagueLive.Edit do use Ex338Web, :live_view alias Ex338.FantasyLeagues @impl true def mount(_params, _session, socket) do {:ok, socket} end @impl true def handle_params(%{"id" => id}, _, socket) do fantasy_league = FantasyLeagues.get_fantasy_league!(id) so...
22.333333
78
0.671642
d52a549f12513147aac2b08342427b59905bdd66
3,810
ex
Elixir
lib/pow_assent/ecto/user_identities/schema.ex
danschultzer/pow_assent
d93f9128faaf08d78644d692c153afdf0cf8293a
[ "MIT" ]
83
2018-08-23T01:51:03.000Z
2019-10-20T20:57:59.000Z
lib/pow_assent/ecto/user_identities/schema.ex
danschultzer/pow_assent
d93f9128faaf08d78644d692c153afdf0cf8293a
[ "MIT" ]
56
2018-08-26T08:26:31.000Z
2019-10-21T21:34:03.000Z
lib/pow_assent/ecto/user_identities/schema.ex
danschultzer/pow_assent
d93f9128faaf08d78644d692c153afdf0cf8293a
[ "MIT" ]
20
2018-11-19T09:39:54.000Z
2019-10-18T02:43:35.000Z
defmodule PowAssent.Ecto.UserIdentities.Schema do @moduledoc """ Handles the Ecto schema for user identity. A default `changeset/2` method is created, but can be overridden with a custom `changeset/2` method. ## Usage Configure `lib/my_project/user_identities/user_identity.ex` the following way: d...
28.646617
115
0.68189
d52a6abdfdfa93c371d28f893d328620fd6931ff
168
exs
Elixir
config/test.exs
ibanity/ibanity-elixir
c2e1feedbfc2376678c9db78c6365a82a654b00b
[ "MIT" ]
3
2018-11-17T18:12:15.000Z
2020-12-09T06:26:59.000Z
config/test.exs
ibanity/ibanity-elixir
c2e1feedbfc2376678c9db78c6365a82a654b00b
[ "MIT" ]
2
2018-12-12T14:14:56.000Z
2019-07-01T14:13:57.000Z
config/test.exs
ibanity/ibanity-elixir
c2e1feedbfc2376678c9db78c6365a82a654b00b
[ "MIT" ]
null
null
null
use Mix.Config config :ibanity, :applications, [ default: [] ] config :ibanity, :api_url, "https://api.ibanity.com" config :ibanity, :products, ["xs2a", "consent"]
18.666667
52
0.678571
d52a7a111c3c2b664153ce3a6b16bf440cffe1a8
44,935
ex
Elixir
lib/elixir/lib/gen_server.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/gen_server.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
1
2021-10-21T08:22:30.000Z
2021-10-21T08:22:30.000Z
lib/elixir/lib/gen_server.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
null
null
null
defmodule GenServer do @moduledoc """ A behaviour module for implementing the server of a client-server relation. A GenServer is a process like any other Elixir process and it can be used to keep state, execute code asynchronously and so on. The advantage of using a generic server process (GenServer) impleme...
36.502843
119
0.662735
d52a81d078b261a52ea3daaa8d01e29e1d20e763
1,409
ex
Elixir
lib/makeup/styles/html/pygments/paraiso-dark.ex
kipcole9/makeup
dff1bd2e3d6b2938138ebaea5771821bf7c4e45a
[ "BSD-2-Clause" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
deps/makeup/lib/makeup/styles/html/pygments/paraiso-dark.ex
mwindholtz/limbo
84da57c72ddb2f1dd78bf2992410268c5ad1b2d4
[ "Apache-2.0" ]
1
2020-05-26T04:16:57.000Z
2020-05-26T04:16:57.000Z
deps/makeup/lib/makeup/styles/html/pygments/paraiso-dark.ex
mwindholtz/limbo
84da57c72ddb2f1dd78bf2992410268c5ad1b2d4
[ "Apache-2.0" ]
3
2020-05-21T04:32:08.000Z
2021-07-28T05:14:01.000Z
defmodule Makeup.Styles.HTML.ParaisoDarkStyle do @moduledoc false @styles %{ :text => "#e7e9db", :error => "#ef6155", :keyword => "#815ba4", :keyword_namespace => "#5bc4bf", :keyword_type => "#fec418", :name => "#e7e9db", :name_attribute => "#06b6ef", :name_class => "#fec418", ...
26.092593
48
0.584812
d52a9c82c27b005335ec1a39d0dafcc784a3cae8
2,657
exs
Elixir
farmbot_celery_script/test/stub_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_celery_script/test/stub_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_celery_script/test/stub_test.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotCeleryScript.SysCalls.StubsTest do use ExUnit.Case, async: true alias FarmbotCeleryScript.SysCalls.Stubs test "various stubs" do # This test is to: # * Catch early problems caused by a downstream stub # * Keep coverage consistent # * Detect unusued stubs over time. args = ...
27.677083
57
0.668047
d52ab6f10db3cc5771e99e20f26927f284aad433
950
exs
Elixir
config/config.exs
arthurcolle/vanity
22b29391a8a15f0972b79aba527c7de2b3a17934
[ "Apache-2.0" ]
null
null
null
config/config.exs
arthurcolle/vanity
22b29391a8a15f0972b79aba527c7de2b3a17934
[ "Apache-2.0" ]
null
null
null
config/config.exs
arthurcolle/vanity
22b29391a8a15f0972b79aba527c7de2b3a17934
[ "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. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # Configures the endpoint config :vanity, Vanity.Endpoint, url: [host: "localhost"]...
31.666667
86
0.755789
d52acae5db526bba9f2f3c102a813a62114d6e4e
114
exs
Elixir
example/test/phoenix_datatables_example_web/views/page_view_test.exs
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
12
2017-10-20T21:08:33.000Z
2021-11-08T13:04:43.000Z
example/test/phoenix_datatables_example_web/views/page_view_test.exs
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
8
2017-11-07T19:53:02.000Z
2021-01-18T22:15:35.000Z
example/test/phoenix_datatables_example_web/views/page_view_test.exs
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
7
2018-07-03T08:18:17.000Z
2020-05-28T03:06:02.000Z
defmodule PhoenixDatatablesExampleWeb.PageViewTest do use PhoenixDatatablesExampleWeb.ConnCase, async: true end
28.5
55
0.877193