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
1afd57bf806b82fb207861e0c4a4e53fd4c3ee0f
1,212
ex
Elixir
elixir/lib/homework_web/schemas/users_schema.ex
CallMeHK/web-homework
30f41f193b99706fd7c7d9cc3f6db4941bad86b5
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schemas/users_schema.ex
CallMeHK/web-homework
30f41f193b99706fd7c7d9cc3f6db4941bad86b5
[ "MIT" ]
null
null
null
elixir/lib/homework_web/schemas/users_schema.ex
CallMeHK/web-homework
30f41f193b99706fd7c7d9cc3f6db4941bad86b5
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Schemas.UsersSchema do @moduledoc """ Defines the graphql schema for user. """ use Absinthe.Schema.Notation alias HomeworkWeb.Resolvers.UsersResolver object :user do field(:id, non_null(:id)) field(:dob, :string) field(:first_name, :string) field(:last_name, :string) ...
24.734694
44
0.655116
1afd63c90562f60091f9aff7fc25334aa6280d58
618
ex
Elixir
lib/elixir_jobs_web/views/offer_view.ex
duksis/elixir_jobs
e4715cdb6ad2e5a067396358c576992b1e0212e3
[ "MIT" ]
null
null
null
lib/elixir_jobs_web/views/offer_view.ex
duksis/elixir_jobs
e4715cdb6ad2e5a067396358c576992b1e0212e3
[ "MIT" ]
null
null
null
lib/elixir_jobs_web/views/offer_view.ex
duksis/elixir_jobs
e4715cdb6ad2e5a067396358c576992b1e0212e3
[ "MIT" ]
null
null
null
defmodule ElixirJobsWeb.OfferView do use ElixirJobsWeb, :view alias ElixirJobs.Offers alias ElixirJobsWeb.HumanizeHelper def get_job_place_options(default) do Enum.reduce(Offers.get_job_places(), [], fn option, acc -> select_option = [ {HumanizeHelper.get_place_text(option, default), option...
22.071429
64
0.676375
1afd6fb60f7e766b2b36647e0fe0187863fdda66
1,398
ex
Elixir
lib/rienkun_web/telemetry.ex
fcapovilla/rienkun
7a3bf6aed5685aa2ab69260fc5a2f9d64696d6a1
[ "BSD-3-Clause" ]
null
null
null
lib/rienkun_web/telemetry.ex
fcapovilla/rienkun
7a3bf6aed5685aa2ab69260fc5a2f9d64696d6a1
[ "BSD-3-Clause" ]
null
null
null
lib/rienkun_web/telemetry.ex
fcapovilla/rienkun
7a3bf6aed5685aa2ab69260fc5a2f9d64696d6a1
[ "BSD-3-Clause" ]
null
null
null
defmodule RienkunWeb.Telemetry do 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 = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Learn ...
28.530612
86
0.670243
1afd8d9e79e02533bada1e17f934ec4575fc7d3d
1,288
ex
Elixir
lib/brando/blueprint/villain/blocks/picture_block.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando/blueprint/villain/blocks/picture_block.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando/blueprint/villain/blocks/picture_block.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Blueprint.Villain.Blocks.PictureBlock do defmodule Data do use Brando.Blueprint, application: "Brando", domain: "Villain", schema: "PictureBlockData", singular: "picture_block_data", plural: "picture_block_datas", gettext_module: Brando.Gettext alias Brand...
26.833333
98
0.648292
1afdb6059574c79a2522c5b2f7bf227991ad967d
1,476
ex
Elixir
lib/glimesh_web/live/streams_live/following.ex
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
328
2020-07-23T22:13:49.000Z
2022-03-31T21:22:28.000Z
lib/glimesh_web/live/streams_live/following.ex
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
362
2020-07-23T22:38:38.000Z
2022-03-24T02:11:16.000Z
lib/glimesh_web/live/streams_live/following.ex
Megami-Studios/glimesh.tv
57dde3a328fabdcc3305be48ae1b82df27b83c9b
[ "MIT" ]
72
2020-07-23T22:50:46.000Z
2022-02-02T11:59:32.000Z
defmodule GlimeshWeb.StreamsLive.Following do use GlimeshWeb, :live_view alias Glimesh.AccountFollows alias Glimesh.Accounts @impl true def mount(_params, session, socket) do case Accounts.get_user_by_session_token(session["user_token"]) do %Glimesh.Accounts.User{} = user -> if session["lo...
32.086957
95
0.653794
1afdd1bfee3d2cf9d5406567a5792ae1e32e5cbb
1,790
ex
Elixir
lib/amrita_web.ex
u3paka/Amrita
de2c566d856fd75925a4dfec58c28c2484c29d5d
[ "Apache-2.0" ]
null
null
null
lib/amrita_web.ex
u3paka/Amrita
de2c566d856fd75925a4dfec58c28c2484c29d5d
[ "Apache-2.0" ]
2
2020-07-17T08:34:44.000Z
2021-03-09T08:33:47.000Z
lib/amrita_web.ex
u3paka/amrita
de2c566d856fd75925a4dfec58c28c2484c29d5d
[ "Apache-2.0" ]
null
null
null
defmodule AmritaWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use AmritaWeb, :controller use AmritaWeb, :view The definitions below will be executed for every view, controller, etc...
24.520548
83
0.689385
1afdfddabe7aca89c8ddac8353c5fa7ff2bc7e95
708
ex
Elixir
lib/hexedio_web/gettext.ex
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
null
null
null
lib/hexedio_web/gettext.ex
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
3
2020-07-16T05:37:16.000Z
2022-03-16T08:58:28.000Z
lib/hexedio_web/gettext.ex
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
null
null
null
defmodule HexedioWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import HexedioWeb.Gettext # Simple translation gettext "Here is t...
28.32
72
0.680791
1afe214af891f6896b26066b0b3391643e86f548
183
exs
Elixir
backend/test/test_helper.exs
jchamet/PEEP-clean
a87245a77776e2b03b6893539ed2431f95426ab0
[ "MIT" ]
null
null
null
backend/test/test_helper.exs
jchamet/PEEP-clean
a87245a77776e2b03b6893539ed2431f95426ab0
[ "MIT" ]
null
null
null
backend/test/test_helper.exs
jchamet/PEEP-clean
a87245a77776e2b03b6893539ed2431f95426ab0
[ "MIT" ]
null
null
null
ExUnit.start Mix.Task.run "ecto.create", ~w(-r Backend.Repo --quiet) Mix.Task.run "ecto.migrate", ~w(-r Backend.Repo --quiet) Ecto.Adapters.SQL.begin_test_transaction(Backend.Repo)
26.142857
56
0.743169
1afe6e9d62382f7a81399a61eb1bb0375c74f72c
127
ex
Elixir
lib/squaresum.ex
lupinthe14th/codewars
5c71a1be6dd5c42a6217d70e5cfcd43c6c016ac7
[ "MIT" ]
null
null
null
lib/squaresum.ex
lupinthe14th/codewars
5c71a1be6dd5c42a6217d70e5cfcd43c6c016ac7
[ "MIT" ]
70
2020-01-07T01:21:38.000Z
2021-06-18T02:57:39.000Z
lib/squaresum.ex
lupinthe14th/codewars
5c71a1be6dd5c42a6217d70e5cfcd43c6c016ac7
[ "MIT" ]
null
null
null
defmodule SquareSum do def square_sum(nums) do nums |> Enum.map(fn num -> num * num end) |> Enum.sum() end end
15.875
40
0.606299
1afe98b52e9a8c8434a48f4243f35e3480a75e86
1,288
ex
Elixir
lib/uncharted_phoenix/components/live_bar.ex
rocketvalidator/uncharted_phoenix
6c22c5cbbe0a430262ec87256a164191ef25f263
[ "MIT" ]
2
2021-07-16T12:17:42.000Z
2021-08-15T22:17:28.000Z
lib/uncharted_phoenix/components/live_bar.ex
rocketvalidator/uncharted_phoenix
6c22c5cbbe0a430262ec87256a164191ef25f263
[ "MIT" ]
null
null
null
lib/uncharted_phoenix/components/live_bar.ex
rocketvalidator/uncharted_phoenix
6c22c5cbbe0a430262ec87256a164191ef25f263
[ "MIT" ]
1
2021-08-15T22:01:51.000Z
2021-08-15T22:01:51.000Z
defmodule UnchartedPhoenix.LiveBarComponent do @moduledoc """ Bar Chart Component """ use Phoenix.LiveComponent def mount(socket) do {:ok, assign(socket, :show_table, false)} end def update(assigns, socket) do x_axis = assigns.chart.dataset.axes.magnitude_axis # Hardcode the number of steps...
26.833333
81
0.671584
1afeac127779fb704f98b80636693959b445648c
4,969
ex
Elixir
deps/ecto/lib/ecto/exceptions.ex
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
deps/ecto/lib/ecto/exceptions.ex
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/exceptions.ex
dmitrinesterenko/sample_phoenix_ecs
d6b94f35680163302e372cf30c70d3e409b0c9b1
[ "MIT" ]
null
null
null
defmodule Ecto.Query.CompileError do @moduledoc """ Raised at compilation time when the query cannot be compiled. """ defexception [:message] end defmodule Ecto.QueryError do @moduledoc """ Raised at runtime when the query is invalid. """ defexception [:message] def exception(opts) do message = ...
24.357843
83
0.67096
1afeac8513fadf2946d0fe008b0e1f95fdbdb0de
11,369
exs
Elixir
lib/elixir/test/elixir/code_formatter/containers_test.exs
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/code_formatter/containers_test.exs
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/code_formatter/containers_test.exs
BlakeWilliams/elixir
f77cc2657cf981fdf819915f1ee15e69c3cd91ad
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Code.Formatter.ContainersTest do use ExUnit.Case, async: true import CodeFormatterHelpers @short_length [line_length: 10] describe "tuples" do test "without arguments" do assert_format "{ }", "{}" end test "with arguments" do ...
19.367973
96
0.42827
1afede42080ea5408fb98c931724e95fa4b67e61
197
exs
Elixir
.formatter.exs
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
4
2015-02-12T09:23:47.000Z
2022-03-09T18:11:06.000Z
.formatter.exs
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
254
2021-12-09T14:40:41.000Z
2022-03-31T08:09:37.000Z
.formatter.exs
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
1
2022-03-07T10:25:49.000Z
2022-03-07T10:25:49.000Z
[ import_deps: [:ecto, :phoenix], plugins: [HeexFormatter], inputs: ["*.{heex,ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{heex,ex,exs}"], subdirectories: ["priv/*/migrations"] ]
28.142857
90
0.604061
1aff3470609b4434c3a6a7927aa413cc523f99c1
214
ex
Elixir
web/controllers/api/http_controller.ex
zhangsoledad/Doom
37ddc696e7d71c742bfc90352d76e81f2c78f5b7
[ "MIT" ]
6
2016-03-17T08:45:34.000Z
2016-10-10T01:20:37.000Z
web/controllers/api/http_controller.ex
zhangsoledad/doom
37ddc696e7d71c742bfc90352d76e81f2c78f5b7
[ "MIT" ]
null
null
null
web/controllers/api/http_controller.ex
zhangsoledad/doom
37ddc696e7d71c742bfc90352d76e81f2c78f5b7
[ "MIT" ]
2
2016-04-01T06:28:56.000Z
2016-04-28T09:35:07.000Z
defmodule Doom.Api.HttpController do use Doom.Web, :controller import Doom.Api.Authorize def action(conn, _), do: authorize_action conn, ["admin", "user"], __MODULE__ def req(conn, params) do end end
17.833333
79
0.714953
1aff40c40359c3c5367c35a3093f7c946814d8fe
3,868
ex
Elixir
lib/phoenix/config.ex
shritesh/phoenix
4bf53ecaae5a9057ea57c248964490dfdee312af
[ "MIT" ]
null
null
null
lib/phoenix/config.ex
shritesh/phoenix
4bf53ecaae5a9057ea57c248964490dfdee312af
[ "MIT" ]
1
2021-11-17T12:10:06.000Z
2021-11-24T12:53:45.000Z
lib/phoenix/config.ex
shritesh/phoenix
4bf53ecaae5a9057ea57c248964490dfdee312af
[ "MIT" ]
null
null
null
defmodule Phoenix.Config do # Handles Phoenix configuration. # # This module is private to Phoenix and should not be accessed # directly. The Phoenix endpoint configuration can be accessed # at runtime using the `config/2` function. @moduledoc false require Logger use GenServer @doc """ Starts a P...
27.628571
84
0.648397
1aff4a78b5552dc5d106321f125a9bb6c6965d46
8,961
ex
Elixir
lib/dnsimple/certificates.ex
patmaddox/dnsimple-elixir
99e7d178493e7900c3a89dd4d99d81597ed58020
[ "MIT" ]
null
null
null
lib/dnsimple/certificates.ex
patmaddox/dnsimple-elixir
99e7d178493e7900c3a89dd4d99d81597ed58020
[ "MIT" ]
14
2021-02-19T07:09:55.000Z
2022-02-24T12:33:37.000Z
lib/dnsimple/certificates.ex
littleairmada/dnsimple-elixir
a1b71a9c84d1a440f86199b8f48754e1c88ca19f
[ "MIT" ]
null
null
null
defmodule Dnsimple.Certificates do @moduledoc """ Provides functions to interact with the [SSL certificate endpoints](https://developer.dnsimple.com/v2/certificates/). """ alias Dnsimple.Client alias Dnsimple.Listing alias Dnsimple.Response alias Dnsimple.Certificate alias Dnsimple.CertificatePurchas...
42.671429
224
0.721236
1aff533015beaf8c326e61f72008f0c0996e6d17
808
ex
Elixir
web/controllers/github_app_installation_controller.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
web/controllers/github_app_installation_controller.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
web/controllers/github_app_installation_controller.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
defmodule CodeCorps.GithubAppInstallationController do use CodeCorps.Web, :controller use JaResource import CodeCorps.Helpers.Query, only: [id_filter: 2] alias CodeCorps.{GithubAppInstallation} @preloads [:project, :user] plug :load_resource, model: GithubAppInstallation, only: [:show], preload: @preloa...
29.925926
103
0.747525
1aff8ab156bd27d374fed01e2e4bf96d58c34bec
711
exs
Elixir
mix.exs
cbetta/nexmo-elixir
ff72a1dc9a52f5b1a5d7a11f174312fb2a39d7a8
[ "MIT" ]
1
2017-02-14T13:30:11.000Z
2017-02-14T13:30:11.000Z
mix.exs
cbetta/nexmo-elixir
ff72a1dc9a52f5b1a5d7a11f174312fb2a39d7a8
[ "MIT" ]
null
null
null
mix.exs
cbetta/nexmo-elixir
ff72a1dc9a52f5b1a5d7a11f174312fb2a39d7a8
[ "MIT" ]
null
null
null
defmodule Nexmo.Mixfile do use Mix.Project def project do [app: :nexmo, version: "0.2.0", description: description(), elixir: "~> 1.3", deps: deps(), package: package()] end def application do [applications: [:logger, :httpotion]] end defp description do """ [Work...
17.775
68
0.538678
1affab261d7b327af188eeb9efa4e1b59d92cbdd
2,229
ex
Elixir
clients/redis/lib/google_api/redis/v1beta1/model/google_cloud_redis_v1beta1_location_metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/redis/lib/google_api/redis/v1beta1/model/google_cloud_redis_v1beta1_location_metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/redis/lib/google_api/redis/v1beta1/model/google_cloud_redis_v1beta1_location_metadata.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...
42.056604
387
0.758188
1affad3066ca2d10106365ddab6301f5a3a4adb1
725
exs
Elixir
test/absinthe/integration/execution/introspection/type_interface_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
test/absinthe/integration/execution/introspection/type_interface_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
test/absinthe/integration/execution/introspection/type_interface_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
1
2018-11-16T02:34:40.000Z
2018-11-16T02:34:40.000Z
defmodule Elixir.Absinthe.Integration.Execution.Introspection.TypeInterfaceTest do use ExUnit.Case, async: true @query """ query { __type(name: "NamedEntity") { kind name description possibleTypes { name } } } """ test "scenario #1" do assert {:ok, ...
23.387097
85
0.46069
1affb356354585e07205929942f5c5ad98591bab
1,711
ex
Elixir
lib/brando_admin/components/form/input/text_area.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando_admin/components/form/input/text_area.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando_admin/components/form/input/text_area.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule BrandoAdmin.Components.Form.Input.Textarea do use Surface.Component use Phoenix.HTML alias BrandoAdmin.Components.Form.FieldBase prop form, :form prop field, :any prop blueprint, :any prop input, :any prop label, :string prop rows, :string prop placeholder, :string prop instructions, :s...
24.797101
92
0.606078
1affba583157966fa56bd759413bde8e9c69de26
6,887
exs
Elixir
test/lib/code_corps_web/controllers/project_controller_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
test/lib/code_corps_web/controllers/project_controller_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
test/lib/code_corps_web/controllers/project_controller_test.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorpsWeb.ProjectControllerTest do @moduledoc false use CodeCorpsWeb.ApiCase, resource_name: :project use Bamboo.Test alias CodeCorps.{Analytics.SegmentTraitsBuilder, Emails, Project, Repo} @valid_attrs %{ cloudinary_public_id: "foo123", description: "Valid description", title: "Va...
33.110577
111
0.667344
1affc6ff2334fbbcec867d41f2e719f99edc8096
2,726
ex
Elixir
clients/retail/lib/google_api/retail/v2/model/google_cloud_retail_v2beta_import_user_events_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/retail/lib/google_api/retail/v2/model/google_cloud_retail_v2beta_import_user_events_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/retail/lib/google_api/retail/v2/model/google_cloud_retail_v2beta_import_user_events_response.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.269841
207
0.760822
1affcd4c525855b11e124c0dcb377da2d276cd7c
2,191
exs
Elixir
test/glimesh/streams/channel_notifier_test.exs
aMytho/glimesh.tv
f2855e83647611f33ecbdb21ab35d716933db024
[ "MIT" ]
1
2021-06-08T00:07:39.000Z
2021-06-08T00:07:39.000Z
test/glimesh/streams/channel_notifier_test.exs
defango/glimesh.tv
d429d66cbb61bedcbb62a4d348b5e16a6b5a6868
[ "MIT" ]
null
null
null
test/glimesh/streams/channel_notifier_test.exs
defango/glimesh.tv
d429d66cbb61bedcbb62a4d348b5e16a6b5a6868
[ "MIT" ]
null
null
null
defmodule Glimesh.Streams.ChannelNotifierTest do use Glimesh.DataCase use Bamboo.Test import Glimesh.AccountsFixtures describe "channel_notifier" do test "deliver_live_channel_notifications/2 delivers email for the right users" do streamer = streamer_fixture() user1 = user_fixture() user...
26.083333
89
0.635783
1affe83e3ed4a572558565f23cd12e1377fff3c8
5,206
ex
Elixir
lib/vutuv/user_profiles.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
309
2016-05-03T17:16:23.000Z
2022-03-01T09:30:22.000Z
lib/vutuv/user_profiles.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
662
2016-04-27T07:45:18.000Z
2022-01-05T07:29:19.000Z
lib/vutuv/user_profiles.ex
vutuv/vutuv
174706cdaf28cef24e1cc06bec0884c25f2412be
[ "MIT" ]
40
2016-04-27T07:46:22.000Z
2021-12-31T05:54:34.000Z
defmodule Vutuv.UserProfiles do @moduledoc """ The UserProfiles context. """ import Ecto import Ecto.Query, warn: false alias Vutuv.{ Devices.EmailAddress, Downloads.GravatarWorker, Repo, Sessions, Sessions.Session, UserConnections, UserProfiles.User, UserProfiles.Address ...
24.909091
81
0.619862
1afffc184631f76033209341965d449903064df1
8,366
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/api/tokens.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/api/tokens.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/api/tokens.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...
45.715847
187
0.646067
2100004cbd3066745389063fe7d31ca793a27914
1,108
exs
Elixir
test/models/channel_test.exs
plicjo/tilex
f3d9cba7f2ca99c75622cd1a9992508614dd455f
[ "MIT" ]
460
2016-12-28T21:50:05.000Z
2022-03-16T14:34:08.000Z
test/models/channel_test.exs
plicjo/tilex
f3d9cba7f2ca99c75622cd1a9992508614dd455f
[ "MIT" ]
412
2016-12-27T17:32:01.000Z
2021-09-17T23:51:47.000Z
test/models/channel_test.exs
plicjo/tilex
f3d9cba7f2ca99c75622cd1a9992508614dd455f
[ "MIT" ]
140
2017-01-06T06:55:58.000Z
2022-02-04T13:35:21.000Z
defmodule Tilex.ChannelTest do use Tilex.ModelCase, async: false alias Tilex.{Channel, Factory} @valid_attrs %{name: "phoenix", twitter_hashtag: "phoenix"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Channel.changeset(%Channel{}, @valid_attrs) assert changeset.valid? ...
24.622222
88
0.66787
21000338c391ce2366896712c6fd02aaa7cf52e3
1,636
exs
Elixir
test/licensir/guesser_test.exs
bonfire-networks/licensir
969a1beeadb7b79fb757a4b49cfd24d553fde024
[ "MIT" ]
null
null
null
test/licensir/guesser_test.exs
bonfire-networks/licensir
969a1beeadb7b79fb757a4b49cfd24d553fde024
[ "MIT" ]
null
null
null
test/licensir/guesser_test.exs
bonfire-networks/licensir
969a1beeadb7b79fb757a4b49cfd24d553fde024
[ "MIT" ]
1
2022-01-11T13:58:12.000Z
2022-01-11T13:58:12.000Z
defmodule Licensir.GuesserTest do use Licensir.Case alias Licensir.{Guesser, License} describe "Guesser.guess/1" do test "returns the license in hex_metadata" do license = %License{ hex_metadata: ["License in Mix"], file: nil } assert Guesser.guess(license).license == "Lice...
26.387097
105
0.624083
2100072ec52663232dacbdd40f3c3d66f4889685
210
ex
Elixir
2020/otp/big_brother/lib/big_brother.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/otp/big_brother/lib/big_brother.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/otp/big_brother/lib/big_brother.ex
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
defmodule BigBrother do @moduledoc """ Documentation for `BigBrother`. """ @doc """ Hello world. ## Examples iex> BigBrother.hello() :world """ def hello do :world end end
11.052632
33
0.57619
2100096885cd3ed12e2ba7dbdceca05fd979d24f
2,140
ex
Elixir
lib/plumbus.ex
cookkkie/plumbus
b2abef174fec2d2f874f60e2da54994ae8212d0e
[ "MIT" ]
4
2017-08-03T05:10:29.000Z
2018-03-26T11:26:36.000Z
lib/plumbus.ex
cookkkie/plumbus
b2abef174fec2d2f874f60e2da54994ae8212d0e
[ "MIT" ]
null
null
null
lib/plumbus.ex
cookkkie/plumbus
b2abef174fec2d2f874f60e2da54994ae8212d0e
[ "MIT" ]
null
null
null
defmodule Plumbus do @moduledoc """ A set of useful functions for elixir """ @doc """ Flushes the current process mailbox. Similar to IEx's flush/0 """ def flush, do: flush([]) defp flush(messages) do receive do message -> flush([message | messages]) after 0 -> messages end en...
22.765957
116
0.53972
21000bd66b123dde550b80830eed52c5990ea16c
715
ex
Elixir
lib/sonox/types/device.ex
motionless/sonox
7d5738c570ebdb4ff042d560edc21d87db86e830
[ "MIT" ]
null
null
null
lib/sonox/types/device.ex
motionless/sonox
7d5738c570ebdb4ff042d560edc21d87db86e830
[ "MIT" ]
null
null
null
lib/sonox/types/device.ex
motionless/sonox
7d5738c570ebdb4ff042d560edc21d87db86e830
[ "MIT" ]
null
null
null
defmodule Sonox.SonosDevice do @moduledoc false defstruct ip: nil, model: nil, uuid: nil, household: nil, name: nil, config: nil, icon: nil, version: nil, coordinator_uuid: nil, coordinator_pid: nil, ...
24.655172
39
0.471329
21001676d56567318e4a5cbb81dfe1a2abf0cbae
3,010
exs
Elixir
test/errol/setup_test.exs
ceritium/errol
cf2d50795dc7278cca7a6d158aaaa39713cbe493
[ "MIT" ]
23
2018-04-16T20:03:54.000Z
2018-09-03T20:08:19.000Z
test/errol/setup_test.exs
ceritium/errol
cf2d50795dc7278cca7a6d158aaaa39713cbe493
[ "MIT" ]
null
null
null
test/errol/setup_test.exs
ceritium/errol
cf2d50795dc7278cca7a6d158aaaa39713cbe493
[ "MIT" ]
1
2018-09-21T09:56:13.000Z
2018-09-21T09:56:13.000Z
defmodule Errol.SetupTest do use ExUnit.Case, async: false import Mock alias Errol.Setup setup do %{ options: [ connection: %AMQP.Connection{}, queue: "setup_test_queue", routing_key: "setup.all", exchange: {"test_exchange", :topic} ] } end describe "s...
34.204545
81
0.529568
210018f20d4dfbbdadc87442100d0e389b29c579
1,128
ex
Elixir
lib/zuul_plug.ex
dottorblaster/zuul
35fa6861e29bc4ad48467bcd10d0cee33c0f8cd6
[ "MIT" ]
null
null
null
lib/zuul_plug.ex
dottorblaster/zuul
35fa6861e29bc4ad48467bcd10d0cee33c0f8cd6
[ "MIT" ]
2
2020-04-22T04:40:18.000Z
2020-06-15T07:24:12.000Z
lib/zuul_plug.ex
dottorblaster/zuul
35fa6861e29bc4ad48467bcd10d0cee33c0f8cd6
[ "MIT" ]
null
null
null
defmodule Zuul.Plug do @moduledoc false def init(options), do: options defp get_authorization_header(conn) do conn |> Plug.Conn.get_req_header("authorization") |> List.first() end defp check_conn_authorization(conn, key_file_path) do conn |> get_authorization_header() |> Zuul.authen...
22.117647
66
0.644504
2100242842d76b12e5558f7b39f946ea88508ab6
1,135
exs
Elixir
leap_years/config/config.exs
dryobates/elixir-kata
f1a913ffbfef9a5e7478ee9206c6db7c32763670
[ "MIT" ]
null
null
null
leap_years/config/config.exs
dryobates/elixir-kata
f1a913ffbfef9a5e7478ee9206c6db7c32763670
[ "MIT" ]
null
null
null
leap_years/config/config.exs
dryobates/elixir-kata
f1a913ffbfef9a5e7478ee9206c6db7c32763670
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.612903
73
0.752423
2100491a622e9f549de346e1bca576e66bd0172a
44
exs
Elixir
config/config.exs
weiland/ex_euler
8699a4e9bc3f83d80bdcf75429a7e724b8be5922
[ "WTFPL" ]
1
2017-01-02T19:14:16.000Z
2017-01-02T19:14:16.000Z
config/config.exs
weiland/ex_euler
8699a4e9bc3f83d80bdcf75429a7e724b8be5922
[ "WTFPL" ]
null
null
null
config/config.exs
weiland/ex_euler
8699a4e9bc3f83d80bdcf75429a7e724b8be5922
[ "WTFPL" ]
null
null
null
use Mix.Config config :ex_euler, test: true
14.666667
28
0.772727
21005b274b6357b774851e035f4971ff66c771d6
2,540
ex
Elixir
lib/rasa_api/api/server_information.ex
whitedr/rasa-api-elixir
3ff932ee4cb4d04f0dd5ea66ec4b8f83195a003a
[ "Apache-2.0" ]
null
null
null
lib/rasa_api/api/server_information.ex
whitedr/rasa-api-elixir
3ff932ee4cb4d04f0dd5ea66ec4b8f83195a003a
[ "Apache-2.0" ]
null
null
null
lib/rasa_api/api/server_information.ex
whitedr/rasa-api-elixir
3ff932ee4cb4d04f0dd5ea66ec4b8f83195a003a
[ "Apache-2.0" ]
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 RasaApi.Api.ServerInformation do @moduledoc """ API calls for all endpoints tagged `ServerInformation`. """ alias RasaApi.Connection import...
27.608696
116
0.646063
21005b8d53632dc3b8ba5ef260dbded9f6a7a981
1,302
ex
Elixir
clients/language/lib/google_api/language/v1/model/sentence.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/model/sentence.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/language/lib/google_api/language/v1/model/sentence.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
31.756098
89
0.742704
21005d51958f85270b21a0d2d510669a9477e7d5
3,487
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/get_ios_post_install_attribution_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/get_ios_post_install_attribution_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/get_ios_post_install_attribution_request.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...
47.767123
269
0.718669
210084da799f6ffcbc5cfb9071edbf5a1e526fc7
2,235
ex
Elixir
lib/retrospectivex_web/controllers/admin/board_controller.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
5
2018-06-27T17:51:51.000Z
2020-10-05T09:59:04.000Z
lib/retrospectivex_web/controllers/admin/board_controller.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
1
2018-10-08T11:33:12.000Z
2018-10-08T11:33:12.000Z
lib/retrospectivex_web/controllers/admin/board_controller.ex
dreamingechoes/retrospectivex
cad0df6cfde5376121d841f4a8b36861b6ec5d45
[ "MIT" ]
2
2018-10-08T11:31:55.000Z
2020-10-05T09:59:05.000Z
defmodule RetrospectivexWeb.Admin.BoardController do use RetrospectivexWeb, :controller alias Retrospectivex.Retrospectives alias Retrospectivex.Retrospectives.Schemas.Board def index(conn, _params) do boards = Retrospectives.list_boards() render(conn, "index.html", boards: boards) end def new(co...
29.407895
72
0.632662
2100b7b2bd0475c04d608adb217bca9fba39c350
1,634
ex
Elixir
lib/ann/training/log.ex
rdk08/annex
68380ae23f079cac1dcef7bdfbe6541e19f41864
[ "MIT" ]
1
2021-02-04T07:03:31.000Z
2021-02-04T07:03:31.000Z
lib/ann/training/log.ex
rdk08/ann
68380ae23f079cac1dcef7bdfbe6541e19f41864
[ "MIT" ]
null
null
null
lib/ann/training/log.ex
rdk08/ann
68380ae23f079cac1dcef7bdfbe6541e19f41864
[ "MIT" ]
null
null
null
defmodule ANN.Training.Log do @spec epoch(keyword, integer, list(float)) :: :ok | :noop def epoch(log_opts, epoch_num, errors) do case log_opts[:epoch_info] do true -> IO.puts(epoch_info(epoch_num, errors)) _ -> :noop end end @spec epoch_info(integer, list(float)) :: String.t() def epoch_...
34.041667
87
0.676255
2101249f03157de6aebb67625edae4ce999ff36b
2,099
ex
Elixir
clients/games/lib/google_api/games/v1/model/leaderboard.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/leaderboard.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/leaderboard.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
37.482143
289
0.73273
2101659ae2e9ddd77a565d124a54b930d872ab51
248
exs
Elixir
sum_list/test/sum_list_test.exs
juligaioso/ignite-rocketseat
92dcc58189ebeafd49ddc064e47fa50b8e1a8d52
[ "Apache-2.0" ]
null
null
null
sum_list/test/sum_list_test.exs
juligaioso/ignite-rocketseat
92dcc58189ebeafd49ddc064e47fa50b8e1a8d52
[ "Apache-2.0" ]
null
null
null
sum_list/test/sum_list_test.exs
juligaioso/ignite-rocketseat
92dcc58189ebeafd49ddc064e47fa50b8e1a8d52
[ "Apache-2.0" ]
null
null
null
defmodule SumListTest do use ExUnit.Case describe "call/1" do test "return the list sum" do list = [1, 2, 3] response = SumList.call(list) expect_response = 6 assert response == expect_response end end end
15.5
40
0.629032
2101c6153147dbe7cddcd9b2ab8835811b3cfe8e
898
ex
Elixir
clients/service_directory/lib/google_api/service_directory/v1/metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/service_directory/lib/google_api/service_directory/v1/metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/service_directory/lib/google_api/service_directory/v1/metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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.259259
74
0.762806
2101d867b778b63bb65bb25633834aabc7683e1c
769
exs
Elixir
implements/binary/binary.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
implements/binary/binary.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
1
2018-06-19T18:59:41.000Z
2018-06-19T18:59:41.000Z
implements/binary/binary.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
defmodule Binary do @doc """ Convert a string containing a binary number to an integer. On errors returns 0. """ @spec to_decimal(String.t()) :: non_neg_integer def to_decimal(string) do #if Regex.scan(~r/[A-z2-9\W]/, string) == [] do if Regex.scan(~r/[^10]/, string) == [] do #String.to_integ...
24.03125
60
0.569571
2101fbde4c78e776aa790bd12c29a97a0f8e22f6
1,041
ex
Elixir
lib/xeroxero/core_api/models/repeating_invoices/repeating_invoice/schedule.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
1
2021-12-01T18:21:31.000Z
2021-12-01T18:21:31.000Z
lib/xeroxero/core_api/models/repeating_invoices/repeating_invoice/schedule.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
null
null
null
lib/xeroxero/core_api/models/repeating_invoices/repeating_invoice/schedule.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
1
2021-10-01T12:09:46.000Z
2021-10-01T12:09:46.000Z
defmodule XeroXero.CoreApi.Models.RepeatingInvoices.RepeatingInvoice.Schedule do use Ecto.Schema import Ecto.Changeset @derive {Jason.Encoder, except: [:__meta__, :id]} @fields [ :Period, :Unit, :DueDate, :DueDateType, :StartDate, :NextSchedu...
27.394737
81
0.600384
2102029a189f9fd4af5aa10191a1426c8a433c15
412
ex
Elixir
lib/rocketpay/numbers.ex
gabrielkim13/nlw4-rocketpay
7d43ba56beb99bdf271be2af73d4b16df7b81317
[ "RSA-MD" ]
1
2021-12-15T17:32:15.000Z
2021-12-15T17:32:15.000Z
lib/rocketpay/numbers.ex
gabrielkim13/nlw4-rocketpay
7d43ba56beb99bdf271be2af73d4b16df7b81317
[ "RSA-MD" ]
null
null
null
lib/rocketpay/numbers.ex
gabrielkim13/nlw4-rocketpay
7d43ba56beb99bdf271be2af73d4b16df7b81317
[ "RSA-MD" ]
null
null
null
defmodule Rocketpay.Numbers do def sum_from_file(filename) do "#{filename}.csv" |> File.read() |> handle_file() end defp handle_file({:ok, file}) do result = file |> String.split(",") |> Stream.map(fn number -> String.to_integer(number) end) |> Enum.sum() {:ok, %{result: result}}...
22.888889
80
0.609223
21021d0d84e05cbf43f74d07d07cf8983ea1fd23
886
exs
Elixir
test/app_test.exs
polyglot-concurrency/libcluster
1a0640f2b39adc430a121add01ab2ae0a4ee35b2
[ "MIT" ]
1
2021-03-04T12:46:17.000Z
2021-03-04T12:46:17.000Z
test/app_test.exs
polyglot-concurrency/libcluster
1a0640f2b39adc430a121add01ab2ae0a4ee35b2
[ "MIT" ]
1
2021-05-10T16:06:19.000Z
2021-05-10T16:12:39.000Z
test/app_test.exs
polyglot-concurrency/libcluster
1a0640f2b39adc430a121add01ab2ae0a4ee35b2
[ "MIT" ]
null
null
null
defmodule Cluster.AppTest do @moduledoc false use ExUnit.Case defmodule TestStrategy do @moduledoc false use Cluster.Strategy def start_link([%Cluster.Strategy.State{config: config} = state]) do config |> Keyword.fetch!(:caller) |> send({:opts, state}) :ignore end end...
22.717949
72
0.598194
210228727c1e91642e086a2a27f5f64c77e2c97e
2,577
ex
Elixir
lib/harness/renderer.ex
kianmeng/harness
b68ab97f86a09ebf847bb950068dd9c52a5288bd
[ "Apache-2.0" ]
null
null
null
lib/harness/renderer.ex
kianmeng/harness
b68ab97f86a09ebf847bb950068dd9c52a5288bd
[ "Apache-2.0" ]
null
null
null
lib/harness/renderer.ex
kianmeng/harness
b68ab97f86a09ebf847bb950068dd9c52a5288bd
[ "Apache-2.0" ]
null
null
null
defmodule Harness.Renderer do @moduledoc false # Functions for rendering a harness package into the current directory alias Harness.{Manifest, Tree} alias Harness.Renderer.{Run, File, Utils} def render(path) when is_binary(path) do manifest = Manifest.read(path) manifest.generators |> Enum.map...
25.019417
74
0.614668
210257b648d9029b653ccffe87a4b4176f407bf3
1,165
exs
Elixir
test/ex_oauth2_provider/scopes_test.exs
gozego/ex_oauth2_provider
d3a7658d28233dda2dfdef7ed397b5b440a2f737
[ "Unlicense", "MIT" ]
2
2021-04-25T20:59:53.000Z
2021-07-13T22:49:20.000Z
test/ex_oauth2_provider/scopes_test.exs
gozego/ex_oauth2_provider
d3a7658d28233dda2dfdef7ed397b5b440a2f737
[ "Unlicense", "MIT" ]
null
null
null
test/ex_oauth2_provider/scopes_test.exs
gozego/ex_oauth2_provider
d3a7658d28233dda2dfdef7ed397b5b440a2f737
[ "Unlicense", "MIT" ]
null
null
null
defmodule ExOauth2Provider.ScopesTest do use ExUnit.Case import ExOauth2Provider.Scopes test "all?#true" do scopes = ["read", "write", "profile"] assert all?(scopes, ["read", "profile"]) assert all?(scopes, ["write"]) assert all?(scopes, []) end test "all?#false" do scopes = ["read", "wr...
27.738095
89
0.619742
2102653444d21e2a3e1f4d2f38f2306ebbc56dfa
246
ex
Elixir
lib/tune/spotify/schema/copyright.ex
mateuszkwiatkowski/tune
9a929e30fa20581349385ac8be0db5eb88036a36
[ "MIT" ]
206
2020-08-23T17:50:03.000Z
2022-03-28T04:39:01.000Z
lib/tune/spotify/schema/copyright.ex
fully-forged/tune
5df9299197a48d5426003ca9e95914e4c2916c79
[ "MIT" ]
112
2020-08-21T08:26:38.000Z
2022-03-31T06:11:06.000Z
lib/tune/spotify/schema/copyright.ex
mateuszkwiatkowski/tune
9a929e30fa20581349385ac8be0db5eb88036a36
[ "MIT" ]
15
2020-08-25T02:30:23.000Z
2021-12-16T14:19:35.000Z
defmodule Tune.Spotify.Schema.Copyright do @moduledoc """ Represents copyright information for a given object. """ @enforce_keys [:text, :type] defstruct [:text, :type] @type t :: %__MODULE__{text: String.t(), type: String.t()} end
22.363636
60
0.682927
210282fafcb2a6cd28615086e5f730683083a25e
9,995
ex
Elixir
lib/ex_unit/lib/ex_unit/cli_formatter.ex
RyanBard/elixir
3e0f3b47cf26aa121470141b9a1aa55a366c066e
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/cli_formatter.ex
RyanBard/elixir
3e0f3b47cf26aa121470141b9a1aa55a366c066e
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/cli_formatter.ex
RyanBard/elixir
3e0f3b47cf26aa121470141b9a1aa55a366c066e
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.CLIFormatter do @moduledoc false use GenServer import ExUnit.Formatter, only: [format_time: 2, format_filters: 2, format_test_failure: 5, format_test_all_failure: 5] ## Callbacks def init(opts) do print_filters(Keyword.take(opts, [:include, :exclude])) config = %{ seed: ...
26.233596
98
0.647424
2102ac2a1333aaacd7b1b7d6f3b25f16e542cea6
898
ex
Elixir
lib/slackex/stars.ex
SirFitz/slack
2843fe07c006f75a20fd652f0ec31e76db923d9d
[ "MIT" ]
null
null
null
lib/slackex/stars.ex
SirFitz/slack
2843fe07c006f75a20fd652f0ec31e76db923d9d
[ "MIT" ]
null
null
null
lib/slackex/stars.ex
SirFitz/slack
2843fe07c006f75a20fd652f0ec31e76db923d9d
[ "MIT" ]
null
null
null
defmodule Slack.Stars do @moduledoc """ Manage Slack Stars """ @doc """ This method adds a star to an item (message, file, file comment, channel, private group, or DM) on behalf of the authenticated user. One of file, file_comment, channel, or the combination of channel and timestamp must be specifie...
25.657143
56
0.675947
2102b5802e8f3768bd0cf69559d66a0fb3ed697e
6,465
ex
Elixir
lib/bolt_sips/query.ex
napdigital/bolt_sips
cfac649444ef40b1bc52ea28dfb3bbcc5eebe871
[ "Apache-2.0" ]
null
null
null
lib/bolt_sips/query.ex
napdigital/bolt_sips
cfac649444ef40b1bc52ea28dfb3bbcc5eebe871
[ "Apache-2.0" ]
null
null
null
lib/bolt_sips/query.ex
napdigital/bolt_sips
cfac649444ef40b1bc52ea28dfb3bbcc5eebe871
[ "Apache-2.0" ]
null
null
null
defmodule Bolt.Sips.Query do @moduledoc """ Provides a simple Query DSL. You can run simple Cypher queries with or w/o parameters, for example: {:ok, row} = Bolt.Sips.query(conn, "match (n:Person {bolt_sips: true}) return n.name as Name limit 5") assert List.first(row)["Name"] == "Patrick Rothfuss" ...
37.155172
178
0.623511
21031f80dc0913ed1bf58cfc1cfa08e2baf34d94
5,275
exs
Elixir
test/unit/andi_web/controllers/dataset_controller_test.exs
svnlto/andi
153465c92f01d776579dca5b8e7bcbc78a8d2e6a
[ "Apache-2.0" ]
2
2021-01-19T04:40:37.000Z
2021-04-21T18:56:42.000Z
test/unit/andi_web/controllers/dataset_controller_test.exs
svnlto/andi
153465c92f01d776579dca5b8e7bcbc78a8d2e6a
[ "Apache-2.0" ]
null
null
null
test/unit/andi_web/controllers/dataset_controller_test.exs
svnlto/andi
153465c92f01d776579dca5b8e7bcbc78a8d2e6a
[ "Apache-2.0" ]
null
null
null
defmodule AndiWeb.DatasetControllerTest do use AndiWeb.ConnCase use Placebo @route "/api/v1/dataset" @get_datasets_route "/api/v1/datasets" alias SmartCity.Dataset alias SmartCity.TestDataGenerator, as: TDG setup do example_dataset_1 = TDG.create_dataset(%{}) example_dataset_1 = example_d...
28.058511
109
0.590332
21032fff93d559f29838ca98cbef0108ca1bfc4f
2,027
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/autoscalers_scoped_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/autoscalers_scoped_list_warning_data.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/autoscalers_scoped_list_warning_data.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...
40.54
527
0.741983
21033f8df0b5a69d2497f609672f5535a9c2fbac
1,589
ex
Elixir
clients/plus/lib/google_api/plus/v1/model/activity_object_resharers.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/plus/lib/google_api/plus/v1/model/activity_object_resharers.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/plus/lib/google_api/plus/v1/model/activity_object_resharers.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.78
111
0.726243
21034f3ed2ce558c21e9041f16592bd03ffc48ca
1,794
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_detection_rule.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_detection_rule.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_detection_rule.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...
38.170213
234
0.766444
21035116916a9e8dfc7076399a5343f38214d7c8
2,425
ex
Elixir
clients/run/lib/google_api/run/v1/model/domain_mapping.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/run/lib/google_api/run/v1/model/domain_mapping.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/run/lib/google_api/run/v1/model/domain_mapping.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.101695
132
0.707629
21035a590897c30e6ecf2783adcbfa9d20d6c616
194
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20180129160711_add_invite_id_to_user.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/ewallet_db/priv/repo/migrations/20180129160711_add_invite_id_to_user.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/migrations/20180129160711_add_invite_id_to_user.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule EWalletDB.Repo.Migrations.AddInviteIdToUser do use Ecto.Migration def change do alter table(:user) do add :invite_id, references(:invite, type: :uuid) end end end
19.4
56
0.716495
21036d89e73e6156964d9d79e5c047cb061fd805
1,232
exs
Elixir
clients/you_tube_reporting/mix.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube_reporting/mix.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube_reporting/mix.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
defmodule GoogleApi.YouTubeReporting.V1.Mixfile do use Mix.Project @version "0.1.0" def project do [app: :google_api_you_tube_reporting, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package...
25.666667
139
0.629058
21039b7bbdbe2ec47057a4f87fe71283d3a47a56
1,195
ex
Elixir
lib/elixir/lib/agent/server.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/elixir/lib/agent/server.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/agent/server.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
defmodule Agent.Server do @moduledoc false use GenServer def init(fun) do {:ok, run(fun, [])} end def handle_call({:get, fun}, _from, state) do {:reply, run(fun, [state]), state} end def handle_call({:get_and_update, fun}, _from, state) do {reply, state} = run(fun, [state]) {:reply, re...
20.964912
85
0.613389
2103aefc10270cdfd1ea12e2e39d553440cfc040
3,594
ex
Elixir
farmbot_firmware/lib/farmbot_firmware/command.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_firmware/lib/farmbot_firmware/command.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_firmware/lib/farmbot_firmware/command.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotFirmware.Command do @moduledoc false # sister module to FarmbotFirmware.Request # see docs for FarmbotFirmware.command/1 alias FarmbotFirmware alias FarmbotFirmware.GCODE require Logger @spec command(GenServer.server(), GCODE.t() | {GCODE.kind(), GCODE.args()}) :: :ok ...
33.277778
95
0.613244
21045096b7a937556ab4df073a96168461d5a496
2,095
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/structured_message.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/structured_message.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/structured_message.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...
37.410714
148
0.731742
210452e2f6837f2762727cb19469de75b8141795
1,833
ex
Elixir
lib/postgrex/parameters.ex
enter-haken/postgrex
fb3438d4e6a56db81ddd0d578cdfc0484909c233
[ "Apache-2.0" ]
681
2016-06-16T12:28:22.000Z
2022-03-30T08:48:42.000Z
deps/postgrex/lib/postgrex/parameters.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
383
2016-06-17T14:49:41.000Z
2022-03-21T18:13:19.000Z
deps/postgrex/lib/postgrex/parameters.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
234
2016-06-16T16:14:47.000Z
2022-03-03T00:43:59.000Z
defmodule Postgrex.Parameters do @moduledoc false use GenServer defstruct [] @type t :: %__MODULE__{} def start_link(_) do GenServer.start_link(__MODULE__, nil, name: __MODULE__) end @spec insert(%{binary => binary}) :: reference def insert(parameters) do GenServer.call(__MODULE__, {:insert,...
23.202532
89
0.634479
21045d1687e8192aad65c89db508f756c8c8ceab
183
exs
Elixir
test/jikan_ex_test.exs
seanbreckenridge/jikan_ex
5ad8987129f213dc43c5250984c39664921eaeef
[ "MIT" ]
6
2020-03-03T02:57:01.000Z
2020-08-20T14:35:56.000Z
test/jikan_ex_test.exs
seanbreckenridge/jikan_ex
5ad8987129f213dc43c5250984c39664921eaeef
[ "MIT" ]
3
2020-03-02T07:47:15.000Z
2020-05-22T06:49:46.000Z
test/jikan_ex_test.exs
seanbreckenridge/jikan_ex
5ad8987129f213dc43c5250984c39664921eaeef
[ "MIT" ]
1
2020-10-10T14:36:42.000Z
2020-10-10T14:36:42.000Z
defmodule JikanExTest do use ExUnit.Case, async: false doctest JikanEx doctest JikanEx.Url doctest JikanEx.Base doctest JikanEx.UrlBuilders # doctest JikanEx.Request end
18.3
31
0.781421
21047437fb891c7e3d314e749eeb5cd26ef4e888
1,890
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/list_sites_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/list_sites_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/list_sites_response.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.75
109
0.726984
2104a03ab7d385eb187a640bef1ba6c179c88b57
6,472
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/autoscaler.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/autoscaler.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/autoscaler.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...
74.390805
547
0.725278
2104bc3f1ed2f32fcccb892f67f044c958651b17
7,470
ex
Elixir
web/models/log_entry.ex
walterbm/hyperledger-beta
493cd02597775be917427d2d75ff293f53d3bc9d
[ "Apache-2.0" ]
1
2017-06-14T07:04:47.000Z
2017-06-14T07:04:47.000Z
web/models/log_entry.ex
walterbm/hyperledger-beta
493cd02597775be917427d2d75ff293f53d3bc9d
[ "Apache-2.0" ]
null
null
null
web/models/log_entry.ex
walterbm/hyperledger-beta
493cd02597775be917427d2d75ff293f53d3bc9d
[ "Apache-2.0" ]
null
null
null
defmodule Hyperledger.LogEntry do use Ecto.Model import Hyperledger.ParamsHelpers, only: [underscore_keys: 1] import Hyperledger.Validations require Logger alias Hyperledger.Repo alias Hyperledger.LogEntry alias Hyperledger.Asset alias Hyperledger.Account alias Hyperledger.Issue alias Hyperled...
32.478261
91
0.612316
2104c5ce216e1b18fb5c4bffd36eed414639b8a0
15,907
exs
Elixir
test/rihanna/job_dispatcher_test.exs
VitorTrin/rihanna
a01a35d77724a882e09f04804334a07f577ad292
[ "MIT" ]
null
null
null
test/rihanna/job_dispatcher_test.exs
VitorTrin/rihanna
a01a35d77724a882e09f04804334a07f577ad292
[ "MIT" ]
null
null
null
test/rihanna/job_dispatcher_test.exs
VitorTrin/rihanna
a01a35d77724a882e09f04804334a07f577ad292
[ "MIT" ]
null
null
null
defmodule Rihanna.JobDispatcherTest do use ExUnit.Case, async: false import TestHelper alias Rihanna.JobDispatcher alias Rihanna.Mocks.{ LongJob, BehaviourMock, MFAMock, BadMFAMock, BadBehaviourWithBadAfterErrorMock, ErrorBehaviourMock, ErrorBehaviourWithBadAfterErrorMock, Error...
30.126894
145
0.638901
2104c6f44395df9f191f5256851ad9d734732882
558
ex
Elixir
lib/db_connection/app.ex
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
227
2016-06-16T13:56:02.000Z
2022-03-09T23:03:58.000Z
lib/db_connection/app.ex
lukebakken/db_connection
aa53f2d9c78aa6b5f6a9c0615459e97ec89f0c32
[ "Apache-2.0" ]
198
2016-06-20T08:08:15.000Z
2022-03-06T17:54:37.000Z
deps/db_connection/lib/db_connection/app.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
110
2016-06-20T03:50:39.000Z
2022-03-03T20:53:01.000Z
defmodule DBConnection.App do @moduledoc false use Application def start(_, _) do children = [ {Task.Supervisor, name: DBConnection.Task}, dynamic_supervisor(DBConnection.Ownership.Supervisor), dynamic_supervisor(DBConnection.ConnectionPool.Supervisor), DBConnection.Watcher ] ...
24.26087
77
0.713262
2105045f8c6579965223c57abced57eaf116d6d8
1,748
exs
Elixir
apps/dashboard/mix.exs
Arp-G/csv2sql
21c7310d768afa38282708120af07bb66c8c3f42
[ "MIT" ]
26
2020-09-13T13:54:59.000Z
2022-03-30T08:12:55.000Z
apps/dashboard/mix.exs
Arp-G/csv2sql
21c7310d768afa38282708120af07bb66c8c3f42
[ "MIT" ]
11
2020-10-18T14:27:16.000Z
2022-03-19T09:11:31.000Z
apps/dashboard/mix.exs
Arp-G/csv2sql
21c7310d768afa38282708120af07bb66c8c3f42
[ "MIT" ]
1
2021-12-22T14:10:16.000Z
2021-12-22T14:10:16.000Z
defmodule Dashboard.MixProject do use Mix.Project def project do [ app: :dashboard, version: "0.1.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.7", elixirc_paths: elixirc...
26.484848
84
0.576659
21050e836bee4d9d61789308a305278527cc535a
522
ex
Elixir
lib/indexing_reporter_web/live/index_log_live/show.ex
ashton314/indexing-reporter
7bb9d1bb436b18a359ad4855b084b92c076b979d
[ "MIT" ]
null
null
null
lib/indexing_reporter_web/live/index_log_live/show.ex
ashton314/indexing-reporter
7bb9d1bb436b18a359ad4855b084b92c076b979d
[ "MIT" ]
null
null
null
lib/indexing_reporter_web/live/index_log_live/show.ex
ashton314/indexing-reporter
7bb9d1bb436b18a359ad4855b084b92c076b979d
[ "MIT" ]
null
null
null
defmodule IndexingReporterWeb.IndexLogLive.Show do use IndexingReporterWeb, :live_view alias IndexingReporter.Logbook @impl true def mount(_params, _session, socket) do {:ok, socket} end @impl true def handle_params(%{"id" => id}, _, socket) do {:noreply, socket |> assign(:page_title,...
23.727273
67
0.693487
210511b6d7b69e3c4c821baed8eeadd865bb34b7
1,323
exs
Elixir
test/policr_mini/schemas/custom_kit_test.exs
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
test/policr_mini/schemas/custom_kit_test.exs
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
test/policr_mini/schemas/custom_kit_test.exs
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
defmodule PolicrMini.Schemas.CustomKitTest do use ExUnit.Case doctest PolicrMini.Schemas.CustomKit alias PolicrMini.Factory alias PolicrMini.Schemas.CustomKit describe "schema" do test "schema metadata" do assert CustomKit.__schema__(:source) == "custom_kits" assert CustomKit.__schema__(:fi...
22.810345
69
0.57294
21052f210623c6f837c6c7468684e2ee26631621
1,071
ex
Elixir
apps/core/lib/core/schema/domain_mapping.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
null
null
null
apps/core/lib/core/schema/domain_mapping.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
2
2019-12-13T23:55:50.000Z
2019-12-17T05:49:58.000Z
apps/core/lib/core/schema/domain_mapping.ex
michaeljguarino/chartmart
a34c949cc29d6a1ab91c04c5e4f797e6f0daabfc
[ "Apache-2.0" ]
null
null
null
defmodule Core.Schema.DomainMapping do use Piazza.Ecto.Schema alias Core.Schema.Account schema "domain_mappings" do field :domain, :string field :enable_sso, :boolean field :workos_connection_id, :string belongs_to :account, Account timestamps() end def for_acco...
26.775
114
0.677871
2105690176952a5fd3e53382e3c09bdad51f17f3
1,655
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/google_api_serviceusage_v1_operation_metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/model/google_api_serviceusage_v1_operation_metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/google_api_serviceusage_v1_operation_metadata.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...
31.826923
148
0.751057
21056a54310626f76ce3b9eeba776b95e0393e14
895
exs
Elixir
config/prod.exs
dmccown/kanban
bf955b2b1f30176c3380b2ee7e1c5ba1174b8d72
[ "MIT" ]
1
2020-06-30T11:42:09.000Z
2020-06-30T11:42:09.000Z
config/prod.exs
dmccown/kanban
bf955b2b1f30176c3380b2ee7e1c5ba1174b8d72
[ "MIT" ]
null
null
null
config/prod.exs
dmccown/kanban
bf955b2b1f30176c3380b2ee7e1c5ba1174b8d72
[ "MIT" ]
null
null
null
use Mix.Config # ## SSL Support # # To get SSL working, you will need to set: # # https: [port: 443, # keyfile: System.get_env("SOME_APP_SSL_KEY_PATH"), # certfile: System.get_env("SOME_APP_SSL_CERT_PATH")] # # Where those two env variables point to a file on # disk for the key and cert. c...
26.323529
85
0.70838
2105a2bb6c6b115ac98b4a4fde70dff0b2c23ed4
562
exs
Elixir
project/gamenect/test/models/user_lobby_test.exs
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
project/gamenect/test/models/user_lobby_test.exs
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
project/gamenect/test/models/user_lobby_test.exs
daemonfire300/learning_phoenix
0ab0cb1feacda4ec5c0ab0a5324835a150db22ab
[ "MIT" ]
null
null
null
defmodule Gamenect.UserLobbyTest do use Gamenect.ModelCase alias Gamenect.UserLobby @valid_attrs %{joined_at: %{day: 17, hour: 14, min: 0, month: 4, sec: 0, year: 2010}, left_at: %{day: 17, hour: 14, min: 0, month: 4, sec: 0, year: 2010}} @invalid_attrs %{} test "changeset with valid attributes" do cha...
29.578947
156
0.702847
2105b3dd9e2f8e017c16e14eac2457fc870282a3
763
ex
Elixir
lib/orders/order.ex
Buckshot-77/exlivery
cf616f1a843318d2004fd3d8be4fb69cac4c0800
[ "MIT" ]
null
null
null
lib/orders/order.ex
Buckshot-77/exlivery
cf616f1a843318d2004fd3d8be4fb69cac4c0800
[ "MIT" ]
null
null
null
lib/orders/order.ex
Buckshot-77/exlivery
cf616f1a843318d2004fd3d8be4fb69cac4c0800
[ "MIT" ]
null
null
null
defmodule Exlivery.Orders.Order do alias Exlivery.Orders.Item alias Exlivery.Users.User @keys [:user_cpf, :delivery_address, :items, :total_price] @enforce_keys @keys defstruct @keys def build(%User{cpf: cpf, address: address}, [%Item{} | _items] = items) do {:ok, %__MODULE__{ user_cpf: cp...
24.612903
77
0.665793
2105b89467a623b15a1b7b958b3e8284acd72688
1,070
ex
Elixir
lib/docusign/model/account_permission_profiles.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/account_permission_profiles.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/account_permission_profiles.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule DocuSign.Model.AccountPermissionProfiles do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :modifiedByUsername, :modifi...
26.097561
83
0.666355
2105be44a795398a51f2d6fa29616c453aba0fc7
9,159
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/order_documents.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/order_documents.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/api/order_documents.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...
44.461165
544
0.621465
2105c35e32c8a4f7465a67129a32fbb74d2f54be
2,275
ex
Elixir
lib/akkad_web/telemetry.ex
thelastinuit/akkad
08df3f51daeada737c53d07663c166a5e6cc297e
[ "MIT" ]
1
2022-03-05T00:05:26.000Z
2022-03-05T00:05:26.000Z
lib/akkad_web/telemetry.ex
thelastinuit/akkad
08df3f51daeada737c53d07663c166a5e6cc297e
[ "MIT" ]
null
null
null
lib/akkad_web/telemetry.ex
thelastinuit/akkad
08df3f51daeada737c53d07663c166a5e6cc297e
[ "MIT" ]
null
null
null
defmodule AkkadWeb.Telemetry do 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 = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Learn mo...
31.164384
88
0.648352
2105c4a994412101afedbf7854068aa1cd285eef
885
ex
Elixir
gallows/test/support/conn_case.ex
jeethridge/elixir-hangman
ff1202fd1f54cad887180c900670306a20fe4339
[ "Unlicense" ]
null
null
null
gallows/test/support/conn_case.ex
jeethridge/elixir-hangman
ff1202fd1f54cad887180c900670306a20fe4339
[ "Unlicense" ]
null
null
null
gallows/test/support/conn_case.ex
jeethridge/elixir-hangman
ff1202fd1f54cad887180c900670306a20fe4339
[ "Unlicense" ]
null
null
null
defmodule GallowsWeb.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...
26.818182
59
0.728814
2105e96523d33fb4a2e08ca77659591682a5b8a8
1,131
exs
Elixir
config/config.exs
sile/logi_stdlib_ex
452d952332383e7b95b279950596959af69fae5f
[ "MIT" ]
null
null
null
config/config.exs
sile/logi_stdlib_ex
452d952332383e7b95b279950596959af69fae5f
[ "MIT" ]
null
null
null
config/config.exs
sile/logi_stdlib_ex
452d952332383e7b95b279950596959af69fae5f
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.483871
73
0.7542
210608f6a505a7e4f298a1a97d655a1e1bf59d60
1,787
exs
Elixir
clients/sas_portal/mix.exs
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/mix.exs
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/sas_portal/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...
26.671642
101
0.650252
21060fdf0ce789e795b6eddcfa51c42cb42b3320
809
ex
Elixir
lib/html/floki.ex
bees/midal
155e8aa6dd09b3f7d0810f76c3677e8cada3744c
[ "MIT" ]
4
2018-02-20T19:54:49.000Z
2020-11-01T18:43:11.000Z
lib/html/floki.ex
bees/midal
155e8aa6dd09b3f7d0810f76c3677e8cada3744c
[ "MIT" ]
1
2018-02-22T05:36:58.000Z
2018-02-22T05:36:58.000Z
lib/html/floki.ex
bees/midal
155e8aa6dd09b3f7d0810f76c3677e8cada3744c
[ "MIT" ]
2
2018-02-20T14:44:08.000Z
2018-02-22T15:37:13.000Z
defmodule Midal.HTML.Floki do @behaviour Midal.HTML defp level_search(html, target), do: Floki.find(html, "#{target}") -- Floki.find(html, "#{target} #{target}") def level_scopes(html), do: level_search(html, "[itemscope]") def level_props(html), do: level_search(html, "[itemprop]") def tag({tag_, _at...
28.892857
91
0.663782
21061dc3f97c54938fb21c92f5801889b97a6a81
3,200
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/backend_service_aggregated_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/backend_service_aggregated_list.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/backend_service_aggregated_list.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...
47.761194
393
0.712813
21062326c99e1a5c0861163cdba38e2e1ff0e65f
142
ex
Elixir
testData/org/elixir_lang/parser_definition/bracket_operation_parsing_test_case/UnaryNumericOperation.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/bracket_operation_parsing_test_case/UnaryNumericOperation.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/bracket_operation_parsing_test_case/UnaryNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
+1[key: value] +1 [key: value] +1[()] +1 [()] +1[matched_expression] +1 [matched_expression] +1[matched_expression,] +1 [matched_expression,]
15.777778
24
0.676056
21062d287ffa06c24f1a51829eb1f50e5df072b3
1,117
exs
Elixir
config/config.exs
kelvinst/httpill
7094c7582b0caf52eb949f6e40ba23aa66a7f136
[ "MIT" ]
1
2017-10-04T13:27:53.000Z
2017-10-04T13:27:53.000Z
config/config.exs
kelvinst/httpill
7094c7582b0caf52eb949f6e40ba23aa66a7f136
[ "MIT" ]
5
2017-08-15T00:13:02.000Z
2017-08-16T20:41:12.000Z
config/config.exs
kelvinst/httpill
7094c7582b0caf52eb949f6e40ba23aa66a7f136
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.032258
73
0.755595
21064262ea32a6bd8b6d4bb073d434eca4aea01f
806
exs
Elixir
config/dev.exs
pinpox/branchpage
e478ed9085c06cc3c5680b0ca4dc20eff2e74653
[ "MIT" ]
null
null
null
config/dev.exs
pinpox/branchpage
e478ed9085c06cc3c5680b0ca4dc20eff2e74653
[ "MIT" ]
null
null
null
config/dev.exs
pinpox/branchpage
e478ed9085c06cc3c5680b0ca4dc20eff2e74653
[ "MIT" ]
null
null
null
import Config config :web, Web.Endpoint, http: [port: 4000], debug_errors: true, code_reloader: true, check_origin: false, live_reload: [ patterns: [ ~r"apps/web/lib/web/(live|view|templates)/.*(ex)$", ~r"apps/web/priv/static/(css|js)/.*(css|js)$", ~r"apps/web/priv/static/.*png$" ] ...
23.705882
92
0.638958
210651db42977efb3b9a79573358a1f97e5b16e3
11,025
ex
Elixir
packaging/debian/manpage.xml.ex
colinkiama/ambition
ee37ed9c5821c4f5e131cb6969514bffb03c0361
[ "Apache-2.0" ]
19
2015-01-03T20:09:31.000Z
2020-01-25T22:19:08.000Z
packaging/debian/manpage.xml.ex
colinkiama/ambition
ee37ed9c5821c4f5e131cb6969514bffb03c0361
[ "Apache-2.0" ]
4
2016-01-11T19:05:39.000Z
2021-04-13T18:20:39.000Z
packaging/debian/manpage.xml.ex
colinkiama/ambition
ee37ed9c5821c4f5e131cb6969514bffb03c0361
[ "Apache-2.0" ]
5
2015-03-18T20:09:02.000Z
2021-11-25T15:20:46.000Z
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ <!-- `xsltproc -''-nonet \ -''-param man.charmap.use.subset "0" \ -''-param make.year.ranges "1" \ -''-param make.single.year.r...
37.756849
84
0.632744
21068addb7449f3a0fa70b8ed520fd4c2ce9eb15
22,334
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/target_tcp_proxies.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/target_tcp_proxies.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/api/target_tcp_proxies.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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...
50.990868
434
0.656085
21069f37d419f7185e33847242db060f46e57b21
16,888
ex
Elixir
apps/faqcheck_web/lib/faqcheck_web/live/facility_row_component.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
apps/faqcheck_web/lib/faqcheck_web/live/facility_row_component.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
20
2021-09-08T04:07:31.000Z
2022-03-10T21:52:24.000Z
apps/faqcheck_web/lib/faqcheck_web/live/facility_row_component.ex
csboling/faqcheck
bc182c365d466c8dcacc6b1a5fe9186a2c912cd4
[ "CC0-1.0" ]
null
null
null
defmodule FacilityRowComponent do use FaqcheckWeb, :live_cmp alias Ecto import Ecto.Changeset require Logger alias Faqcheck.Referrals alias Faqcheck.Referrals.Facility alias Faqcheck.Referrals.OperatingHours def render(assigns) do ~L""" <%= if @editing do %> <%= if true do %> ...
38.912442
181
0.458906
2106c14bae1374eb5c4ea49f3c036c2b67e5b868
44,667
ex
Elixir
lib/ecto/repo.ex
cdfuller/ecto
2f338b8ab245d384c6b8d78fd828ead27cbcbba8
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo.ex
cdfuller/ecto
2f338b8ab245d384c6b8d78fd828ead27cbcbba8
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo.ex
cdfuller/ecto
2f338b8ab245d384c6b8d78fd828ead27cbcbba8
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo do @moduledoc """ Defines a repository. A repository maps to an underlying data store, controlled by the adapter. For example, Ecto ships with a Postgres adapter that stores data into a PostgreSQL database. When used, the repository expects the `:otp_app` as option. The `:otp_app` sh...
35.934835
105
0.667808
21070aa649bf7e5faa011b86ed83b9577bb6972a
4,029
exs
Elixir
test/contex_mapping_test.exs
shadowRR/contex
86730b38a8ec06726e9233ef1f58661ca85cb704
[ "MIT" ]
455
2020-01-15T22:21:40.000Z
2022-03-29T23:20:45.000Z
test/contex_mapping_test.exs
shadowRR/contex
86730b38a8ec06726e9233ef1f58661ca85cb704
[ "MIT" ]
48
2020-02-10T06:19:17.000Z
2022-03-29T03:02:52.000Z
test/contex_mapping_test.exs
shadowRR/contex
86730b38a8ec06726e9233ef1f58661ca85cb704
[ "MIT" ]
30
2020-01-15T22:21:35.000Z
2022-03-10T18:11:51.000Z
defmodule ContexMappingTest do use ExUnit.Case alias Contex.{Mapping, Dataset, PointPlot} setup do maps_data = Dataset.new([%{y: 1, x: 2, z: 5}, %{x: 3, y: 4, z: 6}]) headers_data = Dataset.new([[1, 2, 3, 4], [4, 5, 6, 4], [-3, -2, -1, 0]], ["aa", "bb", "cccc", "d"]) nocols_data = Dataset.ne...
30.755725
98
0.592951
2107416dc2818cebd44eb41ff1670cddf905deb6
1,567
exs
Elixir
test/hexpm/web/controllers/api/repository_controller_test.exs
lau/hexpm
beee80f5358a356530debfea35ee65c3a0aa9b25
[ "Apache-2.0" ]
null
null
null
test/hexpm/web/controllers/api/repository_controller_test.exs
lau/hexpm
beee80f5358a356530debfea35ee65c3a0aa9b25
[ "Apache-2.0" ]
null
null
null
test/hexpm/web/controllers/api/repository_controller_test.exs
lau/hexpm
beee80f5358a356530debfea35ee65c3a0aa9b25
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Web.API.RepositoryControllerTest do use Hexpm.ConnCase, async: true setup do user = insert(:user) organization1 = insert(:organization, public: true) organization2 = insert(:organization, public: false) insert(:organization, public: false) insert(:organization_user, user: user, ...
30.134615
91
0.650287
21074f0c58426b3f0a8991b0926f0679daf071db
1,087
ex
Elixir
lib/emqx_elixir_plugin/elixir_plugin_sup.ex
zmstone/emqx-elixir-plugin
164bef057cf51c54bd39a883e8f547e6f60e65cf
[ "Apache-2.0" ]
null
null
null
lib/emqx_elixir_plugin/elixir_plugin_sup.ex
zmstone/emqx-elixir-plugin
164bef057cf51c54bd39a883e8f547e6f60e65cf
[ "Apache-2.0" ]
null
null
null
lib/emqx_elixir_plugin/elixir_plugin_sup.ex
zmstone/emqx-elixir-plugin
164bef057cf51c54bd39a883e8f547e6f60e65cf
[ "Apache-2.0" ]
null
null
null
##-------------------------------------------------------------------- ## Copyright (c) 2021 EMQ Technologies Co., Ltd. All Rights Reserved. ## ## 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 a...
33.96875
75
0.640294
21076dec3d20aad0226c7fbc37151dc640834b17
1,899
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_link_out_suggestion.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_link_out_suggestion.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_link_out_suggestion.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.527273
137
0.739336
210788b537486335af27f725ec26b38f8d1fc3ef
1,934
ex
Elixir
lib/livebook/session/file_guard.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
lib/livebook/session/file_guard.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
lib/livebook/session/file_guard.ex
kianmeng/livebook
8fe8d27d3d46b64d22126d1b97157330b87e611c
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Session.FileGuard do @moduledoc false # Serves as a locking mechanism for notebook files. # # Every session process willing to persist notebook # should turn to `FileGuard` to make sure the file # is not already used by another session. use GenServer alias Livebook.FileSystem @t...
24.481013
78
0.657187
21079ea870df8f5d823a17414386e0dcad9775c4
1,138
exs
Elixir
clients/analytics/mix.exs
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/analytics/mix.exs
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/analytics/mix.exs
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.Analytics.V3.Mixfile do use Mix.Project @version "0.1.0" def project do [app: :google_api_analytics, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), ...
23.22449
105
0.587873
2107a8aea474c7845b2a5817e73f4ea91a5d43c5
516
ex
Elixir
testData/org/elixir_lang/parser_definition/list_parsing_test_case/KeywordKey.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/list_parsing_test_case/KeywordKey.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/list_parsing_test_case/KeywordKey.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
# <three token operator>: [!==: ()] [&&&: ()] [<<<: ()] [<<~: ()] [<|>: ()] [<~>: ()] [===: ()] [>>>: ()] [^^^: ()] [|||: ()] [~>>: ()] [~~~: ()] [not: ()] # <two token operator>: [!=: ()] [&&: ()] [++: ()] [--: ()] [->: ()] [..: ()] [<-: ()] [<=: ()] [<>: ()] [<~: ()] [==: ()] [=~: ()] [>=: ()] [\\: ()] [|>: ()] [||:...
10.32
59
0.187984