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
b2742a418e84dcf3399f4145c78ac6d7cdf3f129
1,133
ex
Elixir
lib/livebook_web/live/settings_live/remove_file_system_component.ex
Adzz/livebook
ab0a237ab632aa617d4c9d75fbfc553b57d91dbd
[ "Apache-2.0" ]
1,846
2021-04-13T14:46:36.000Z
2021-07-14T20:37:40.000Z
lib/livebook_web/live/settings_live/remove_file_system_component.ex
Adzz/livebook
ab0a237ab632aa617d4c9d75fbfc553b57d91dbd
[ "Apache-2.0" ]
411
2021-07-15T07:41:54.000Z
2022-03-31T21:34:22.000Z
lib/livebook_web/live/settings_live/remove_file_system_component.ex
Adzz/livebook
ab0a237ab632aa617d4c9d75fbfc553b57d91dbd
[ "Apache-2.0" ]
130
2021-04-13T15:43:55.000Z
2021-07-12T16:57:46.000Z
defmodule LivebookWeb.SettingsLive.RemoveFileSystemComponent do use LivebookWeb, :live_component @impl true def render(assigns) do ~H""" <div class="p-6 pb-4 flex flex-col space-y-8"> <h3 class="text-2xl font-semibold text-gray-800"> Detach file system </h3> <p class="text-gray-...
33.323529
93
0.642542
b27483fc494db1e88e398d5cf54fd0a6df5941db
3,614
ex
Elixir
Microsoft.Azure.Management.Preview.Advisor/lib/microsoft/azure/management/preview/advisor/request_builder.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Preview.Advisor/lib/microsoft/azure/management/preview/advisor/request_builder.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Preview.Advisor/lib/microsoft/azure/management/preview/advisor/request_builder.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# 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 Microsoft.Azure.Management.Preview.Advisor.RequestBuilder do @moduledoc """ Helper functions for building Tesla requests """ @doc """ S...
28.68254
137
0.646099
b2748ae31f4579a2fe2907413e3221c50ffbe262
1,976
ex
Elixir
lib/tortoise311/package/unsubscribe.ex
smartrent/tortoise
85933391b39a15c97e9087cc8b29a28f30d1b041
[ "Apache-2.0" ]
2
2021-12-23T21:51:31.000Z
2022-02-20T22:29:24.000Z
lib/tortoise311/package/unsubscribe.ex
smartrent/tortoise
85933391b39a15c97e9087cc8b29a28f30d1b041
[ "Apache-2.0" ]
11
2021-11-18T01:23:15.000Z
2022-03-28T18:15:18.000Z
lib/tortoise311/package/unsubscribe.ex
smartrent/tortoise
85933391b39a15c97e9087cc8b29a28f30d1b041
[ "Apache-2.0" ]
3
2021-11-19T16:23:38.000Z
2022-03-18T11:36:54.000Z
defmodule Tortoise311.Package.Unsubscribe do @moduledoc false alias Tortoise311.Package @opcode 10 @type topic :: binary() @opaque t :: %__MODULE__{ __META__: Package.Meta.t(), identifier: Tortoise311.package_identifier(), topics: [topic] } defstruct __META...
29.058824
73
0.560729
b274dc95fea114f5c9ad5e1b0e4400020529fa24
76
exs
Elixir
test/loom_web/views/layout_view_test.exs
simonfraserduncan/my-copy
03c618035a06a63d8fcf9f6511ef59d3e4cf2da9
[ "Apache-2.0" ]
4
2021-02-20T02:47:36.000Z
2021-06-08T18:42:40.000Z
test/loom_web/views/layout_view_test.exs
DataStax-Examples/astra-loom
767c55200d08a6c592773d7af7da95873c4c3445
[ "Apache-2.0" ]
null
null
null
test/loom_web/views/layout_view_test.exs
DataStax-Examples/astra-loom
767c55200d08a6c592773d7af7da95873c4c3445
[ "Apache-2.0" ]
1
2021-02-17T18:28:35.000Z
2021-02-17T18:28:35.000Z
defmodule LoomWeb.LayoutViewTest do use LoomWeb.ConnCase, async: true end
19
35
0.815789
b274f33c40a8e9359e414dd68010959dade6f17c
604
ex
Elixir
lib/wabanex/exercise.ex
brunodantas/wabanex
4d8e4258969203cf0adf5b6561fbd862085afed7
[ "MIT" ]
61
2021-06-22T00:15:59.000Z
2022-01-31T15:13:51.000Z
lib/wabanex/exercise.ex
brunodantas/wabanex
4d8e4258969203cf0adf5b6561fbd862085afed7
[ "MIT" ]
1
2021-06-21T18:42:41.000Z
2021-06-21T18:42:41.000Z
lib/wabanex/exercise.ex
brunodantas/wabanex
4d8e4258969203cf0adf5b6561fbd862085afed7
[ "MIT" ]
56
2021-06-21T17:17:36.000Z
2022-03-15T02:48:59.000Z
defmodule Wabanex.Exercise do use Ecto.Schema import Ecto.Changeset alias Wabanex.Training @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id @fields [:name, :protocol_description, :repetitions, :youtube_video_url] schema "exercises" do field :name, :string field :...
20.827586
74
0.715232
b275992ae762a8da9d502b16dadf752208a05b3f
1,254
exs
Elixir
test/geolix/database/loader_error_test.exs
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
test/geolix/database/loader_error_test.exs
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
test/geolix/database/loader_error_test.exs
coladarci/geolix
0a0508db410732fa8a24cbcd28e44f89b1b30afa
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Database.LoaderErrorTest do use ExUnit.Case, async: false import ExUnit.CaptureLog alias Geolix.Adapter.MMDB2 alias Geolix.Database.Loader alias Geolix.TestHelpers.DatabaseSupervisor setup do databases = Application.get_env(:geolix, :databases) on_exit(fn -> :ok = Applicat...
24.588235
72
0.634769
b275a7eaa80098124aa03e165b470fecc7d56ff6
29,235
exs
Elixir
lib/elixir/test/elixir/string_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/elixir/test/elixir/string_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/string_test.exs
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) defmodule StringTest do use ExUnit.Case, async: true doctest String test "next_codepoint/1" do assert String.next_codepoint("ésoj") == {"é", "soj"} assert String.next_codepoint(<<255>>) == {<<255>>, ""} assert String.next_codepoint("") == nil end #...
40.213205
97
0.570549
b275c3ccc97be5dfb97c3cf86c95610eb89996b1
312
ex
Elixir
kousa/lib/utils/errors.ex
yakohere/dogehouse
3df9602f3148f3b7613a6cf82d8d87c185f5daf9
[ "MIT" ]
5
2021-03-02T09:00:45.000Z
2021-03-13T04:45:46.000Z
kousa/lib/utils/errors.ex
agt25/dogehouse
6666028fa52b48f11bf64e60e859610dce2a3956
[ "MIT" ]
1
2021-04-19T16:54:48.000Z
2021-04-19T16:54:48.000Z
kousa/lib/utils/errors.ex
agt25/dogehouse
6666028fa52b48f11bf64e60e859610dce2a3956
[ "MIT" ]
1
2021-04-09T12:25:24.000Z
2021-04-09T12:25:24.000Z
defmodule Kousa.Errors do def changeset_to_first_err_message(%{errors: [{_, {message, values}}]}) do Enum.reduce(values, message, fn {k, v}, acc -> String.replace(acc, "%{#{k}}", to_string(v)) end) end def changeset_to_first_err_message(changeset) do Poison.encode!(changeset) end end
26
76
0.676282
b275eb825c439ad4445081c6409cb76558740933
466
ex
Elixir
deps/absinthe/lib/absinthe/blueprint/input/float.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
3
2017-06-22T16:33:58.000Z
2021-07-07T15:21:09.000Z
lib/absinthe/blueprint/input/float.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
lib/absinthe/blueprint/input/float.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
defmodule Absinthe.Blueprint.Input.Float do @moduledoc false alias Absinthe.Blueprint @enforce_keys [:value] defstruct [ :value, :source_location, # Added by phases flags: %{}, schema_node: nil, errors: [], ] @type t :: %__MODULE__{ value: float, flags: Blueprint.flags_t,...
17.923077
57
0.656652
b2760d3ee730ebcdf71d41ef232dcf3f85d33b3f
549
ex
Elixir
apps/bbq_ui/web/router.ex
easco/ex_bbq
d736204bb124ea256907629f5025c3abaf08c0bb
[ "BSD-3-Clause" ]
2
2016-09-22T13:32:35.000Z
2017-02-17T20:26:50.000Z
apps/bbq_ui/web/router.ex
easco/ex_bbq
d736204bb124ea256907629f5025c3abaf08c0bb
[ "BSD-3-Clause" ]
null
null
null
apps/bbq_ui/web/router.ex
easco/ex_bbq
d736204bb124ea256907629f5025c3abaf08c0bb
[ "BSD-3-Clause" ]
null
null
null
defmodule BbqUi.Router do use BbqUi.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", BbqUi do pipe_through :br...
18.931034
57
0.677596
b2761a7442a9220072d18dc849d9eed687a89ddb
5,670
exs
Elixir
mix.exs
elbow-jason/absinthe
b09e9bea674471c437b0a03f1cc2040da564ceef
[ "MIT" ]
null
null
null
mix.exs
elbow-jason/absinthe
b09e9bea674471c437b0a03f1cc2040da564ceef
[ "MIT" ]
null
null
null
mix.exs
elbow-jason/absinthe
b09e9bea674471c437b0a03f1cc2040da564ceef
[ "MIT" ]
null
null
null
defmodule Absinthe.Mixfile do use Mix.Project @source_url "https://github.com/absinthe-graphql/absinthe" @version "1.6.4" def project do [ app: :absinthe, version: @version, elixir: "~> 1.10", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, ...
26.495327
67
0.575485
b2762ed8d3283c435c25c426964a35e7793d2670
3,593
exs
Elixir
test/bolt_sips/internals/pack_stream/encoder_v2_test.exs
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
test/bolt_sips/internals/pack_stream/encoder_v2_test.exs
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
test/bolt_sips/internals/pack_stream/encoder_v2_test.exs
cheerfulstoic/bolt_sips
e86d6443f69d59f6cc41ecae5d0718ed05ea4904
[ "Apache-2.0" ]
null
null
null
defmodule Bolt.Sips.Internals.PackStream.EncoderV2Test do use ExUnit.Case, async: true alias Bolt.Sips.Internals.PackStream.EncoderV2 alias Bolt.Sips.Types.{TimeWithTZOffset, DateTimeWithTZOffset, Duration, Point} alias Bolt.Sips.TypesHelper doctest Bolt.Sips.Internals.PackStream.EncoderV2 describe "Enco...
38.223404
99
0.608127
b276444291cee15e3f84d6b0d8b81cc872201ac9
1,318
exs
Elixir
elixir/etl/test/etl_test.exs
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
6
2019-06-19T15:43:20.000Z
2020-07-17T19:46:09.000Z
elixir/etl/test/etl_test.exs
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
10
2021-05-10T21:02:55.000Z
2021-05-11T20:29:41.000Z
elixir/etl/test/etl_test.exs
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
1
2019-06-25T10:42:14.000Z
2019-06-25T10:42:14.000Z
defmodule TransformTest do use ExUnit.Case test "transform one value" do old = %{1 => ["WORLD"]} expected = %{"world" => 1} assert ETL.transform(old) == expected end test "transform more values" do old = %{1 => ["WORLD", "GSCHOOLERS"]} expected = %{"world" => 1, "gschoolers" => 1} as...
17.810811
68
0.372534
b276549e8097a29790ff63ab0dab8cb76f0b2f84
399
ex
Elixir
apps/configure/test/support/fake_settings.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
apps/configure/test/support/fake_settings.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
8
2020-11-16T09:59:12.000Z
2020-11-16T10:13:07.000Z
apps/configure/test/support/fake_settings.ex
paulanthonywilson/mcam
df9c5aaae00b568749dff22613636f5cb92f905a
[ "MIT" ]
null
null
null
defmodule Configure.FakeSettings do @moduledoc """ Simple implementation of settings to get round the """ @behaviour Configure.Settings alias Configure.Settings def all_settings(_) do Settings.default_settings() end def set(_, key, value) do send(self(), {:fake_setting_set, key, value}) ...
17.347826
52
0.691729
b2765cc84bf69b71233a844cb5a90889f3365e44
442
exs
Elixir
farmbot_core/priv/asset/migrations/20181017225445_create_peripherals_table.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
1
2021-08-23T13:36:14.000Z
2021-08-23T13:36:14.000Z
farmbot_core/priv/asset/migrations/20181017225445_create_peripherals_table.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_core/priv/asset/migrations/20181017225445_create_peripherals_table.exs
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotCore.Asset.Repo.Migrations.CreatePeripheralsTable do use Ecto.Migration def change do create table("peripherals", primary_key: false) do add(:local_id, :binary_id, primary_key: true) add(:id, :id) add(:pin, :integer) add(:mode, :integer) add(:label, :string) ...
27.625
69
0.671946
b2766a94924e7d2ff1b683ae1c8f19d5ffa7d9c2
5,441
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/model.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/model.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/model.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...
54.41
188
0.706672
b27699b4887d755d655f47329b87f928a35913c7
294
exs
Elixir
test/pagarmex_test.exs
gullitmiranda/pagarmex
7d7072c9aa9ffda64ac24e38e6b108ef25530939
[ "MIT" ]
2
2018-10-02T14:16:13.000Z
2021-12-18T15:03:57.000Z
test/pagarmex_test.exs
gullitmiranda/pagarmex
7d7072c9aa9ffda64ac24e38e6b108ef25530939
[ "MIT" ]
2
2017-11-29T22:52:56.000Z
2018-12-06T09:07:43.000Z
test/pagarmex_test.exs
gullitmiranda/pagarmex
7d7072c9aa9ffda64ac24e38e6b108ef25530939
[ "MIT" ]
null
null
null
defmodule PagarmexTest do use ExUnit.Case doctest Pagarmex import Mock test "fails when the api_key is not defined" do with_mock System, [get_env: fn(_opts) -> nil end] do assert_raise Pagarmex.MissingApiKeyError, fn -> Pagarmex.api_key end end end end
18.375
56
0.687075
b276e296e0b53d2624393a5562f791da0d351832
342
exs
Elixir
priv/repo/seeds.exs
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
2
2016-11-16T17:24:21.000Z
2019-02-15T05:38:27.000Z
priv/repo/seeds.exs
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Tox.Repo.insert!(%Tox.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail if ...
28.5
61
0.69883
b276e4fa34401d2a96faea4b0b390c1320690250
791
ex
Elixir
lib/disco/event_store/data/event_consumer.ex
andreapavoni/disco
e168e0cba38aa61c10fa7ae156133618aef5c25a
[ "MIT" ]
32
2018-12-10T10:54:03.000Z
2022-01-03T23:55:23.000Z
lib/disco/event_store/data/event_consumer.ex
andreapavoni/disco
e168e0cba38aa61c10fa7ae156133618aef5c25a
[ "MIT" ]
2
2018-12-10T09:15:52.000Z
2019-06-25T10:50:10.000Z
lib/disco/event_store/data/event_consumer.ex
andreapavoni/disco
e168e0cba38aa61c10fa7ae156133618aef5c25a
[ "MIT" ]
2
2019-05-08T16:06:54.000Z
2019-07-12T11:57:59.000Z
defmodule Disco.EventStore.Data.EventConsumer do @moduledoc false use Ecto.Schema import Ecto.Changeset import Ecto.Query @type t :: %__MODULE__{} schema "event_consumers" do field(:name, :string) field(:offset, :integer, default: 0) end @fields ~w(name offset)a @spec update_offset_change...
24.71875
78
0.696587
b276f36059ba35f88316ad21438876a644ab8c4a
2,198
ex
Elixir
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_gcs_file_spec.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_gcs_file_spec.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_catalog/lib/google_api/data_catalog/v1beta1/model/google_cloud_datacatalog_v1beta1_gcs_file_spec.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...
34.888889
191
0.737944
b27714a8c3c6d3d9d4ca79e0a67f07b83bb841a8
1,247
exs
Elixir
.iex.exs
chubarovNick/fun_with_flags
d567f2251a4fce91be7a479e8ceafbdc75eeaf47
[ "MIT" ]
null
null
null
.iex.exs
chubarovNick/fun_with_flags
d567f2251a4fce91be7a479e8ceafbdc75eeaf47
[ "MIT" ]
null
null
null
.iex.exs
chubarovNick/fun_with_flags
d567f2251a4fce91be7a479e8ceafbdc75eeaf47
[ "MIT" ]
null
null
null
import FunWithFlags alias FunWithFlags.{Store,Config,Flag,Gate} alias FunWithFlags.Store.{Cache,Persistent,Serializer} alias FunWithFlags.{Actor,Group} alias FunWithFlags.Dev.EctoRepo, as: Repo alias FunWithFlags.Store.Persistent.Ecto.Record # When calling `respawn` in a iex session, e.g. debugging tests, # the .iex...
23.092593
64
0.695269
b27773eb2c3b35a3a0a6214a4c751874a03e0d77
1,556
ex
Elixir
test/support/data_case.ex
gapfranco/bank_account
ffa60fd76b70b9243e7eb575d52f22bdc31d196e
[ "MIT" ]
null
null
null
test/support/data_case.ex
gapfranco/bank_account
ffa60fd76b70b9243e7eb575d52f22bdc31d196e
[ "MIT" ]
null
null
null
test/support/data_case.ex
gapfranco/bank_account
ffa60fd76b70b9243e7eb575d52f22bdc31d196e
[ "MIT" ]
null
null
null
defmodule BankAccount.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done ...
27.785714
77
0.693445
b2777db6cd7e822a852a5a7178cd74b68d767d95
160
ex
Elixir
lib/ecto_polymorphic.ex
aleDsz/ecto-polymorphic
4e29780602fc0028bfb42a4e56efd48b205b7861
[ "MIT" ]
1
2020-10-02T00:26:38.000Z
2020-10-02T00:26:38.000Z
lib/ecto_polymorphic.ex
aleDsz/ecto-polymorphic
4e29780602fc0028bfb42a4e56efd48b205b7861
[ "MIT" ]
null
null
null
lib/ecto_polymorphic.ex
aleDsz/ecto-polymorphic
4e29780602fc0028bfb42a4e56efd48b205b7861
[ "MIT" ]
null
null
null
defmodule EctoPolymorphic do @moduledoc """ Inspired on gist from [mgwidmann](https://gist.github.com/mgwidmann/ad2ef5138378dc3772a321567610520d) """ end
26.666667
103
0.775
b277b79675fbdd3e058be224aa623a297a4d61c0
7,254
ex
Elixir
lib/new_relic/harvest/collector/metric_data.ex
trustvox/elixir_agent
391c83c82336c96fd78a03c8ee316d48de2eea4f
[ "Apache-2.0" ]
null
null
null
lib/new_relic/harvest/collector/metric_data.ex
trustvox/elixir_agent
391c83c82336c96fd78a03c8ee316d48de2eea4f
[ "Apache-2.0" ]
null
null
null
lib/new_relic/harvest/collector/metric_data.ex
trustvox/elixir_agent
391c83c82336c96fd78a03c8ee316d48de2eea4f
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Harvest.Collector.MetricData do # Heper functions for generating Metrics with the correct timeslice values @moduledoc false alias NewRelic.Metric def transform({:transaction, name}, duration_s: duration_s, total_time_s: total_time_s), do: [ %Metric{ name: :HttpDispatcher,...
28.116279
96
0.614144
b277c1d41dcb6e5d786cd277568c1d0f8d194914
2,077
ex
Elixir
apps/tcp_server/lib/tcp_server/command_serializer.ex
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
4
2018-11-09T16:57:06.000Z
2021-03-02T22:57:17.000Z
apps/tcp_server/lib/tcp_server/command_serializer.ex
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
29
2018-10-26T08:29:37.000Z
2018-12-09T21:02:05.000Z
apps/tcp_server/lib/tcp_server/command_serializer.ex
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
null
null
null
defmodule TcpServer.CommandSerializer do @moduledoc false require Logger def serialize(%{type: "SMSG_AUTHENTICATE_CHALLENGE"} = params) do server_rnd = Map.get(params, :server_rnd, -1) pw_salt = Map.get(params, :salt, "") case server_rnd == -1 or pw_salt == "" do true -> Logger.error( ...
32.453125
96
0.612903
b277cdbbe4baae32f8871f6d00ed1b5ba378e22c
11,447
ex
Elixir
lib/oli_web/live/history/revision_history.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
lib/oli_web/live/history/revision_history.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
lib/oli_web/live/history/revision_history.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule OliWeb.RevisionHistory do use Surface.LiveView use OliWeb.Common.Modal import Ecto.Query, warn: false alias Oli.Repo alias Oli.Resources.Revision alias Oli.Resources alias Oli.Publishing alias Oli.Authoring.Course alias Oli.Accounts.Author alias OliWeb.RevisionHistory.Details alias Oli...
29.887728
110
0.666375
b277e1026fe7e1af7d80340adcb5818480407b10
2,800
exs
Elixir
apps/ewallet/test/ewallet/web/v1/serializers/transaction_consumption_serializer_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/web/v1/serializers/transaction_consumption_serializer_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/web/v1/serializers/transaction_consumption_serializer_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWallet.Web.V1.TransactionConsumptionSerializerTest do use EWallet.Web.SerializerCase, :v1 alias EWalletDB.Helpers.Assoc alias EWalletDB.TransactionConsumption alias EWallet.Web.Date alias EWallet.Web.V1.{ AccountSerializer, TokenSerializer, TransactionSerializer, TransactionConsump...
36.842105
84
0.691071
b2780c51b387131aef1a8d7163f7dec830197d41
1,173
exs
Elixir
config/prod.secret.exs
runasio/sna
39127ec4c2c9b97fd4583b2683fce634fe74613b
[ "Apache-2.0" ]
6
2019-07-16T13:34:33.000Z
2020-08-25T08:51:01.000Z
config/prod.secret.exs
runasio/sna
39127ec4c2c9b97fd4583b2683fce634fe74613b
[ "Apache-2.0" ]
3
2019-07-17T14:18:50.000Z
2020-06-06T08:07:45.000Z
config/prod.secret.exs
runasio/sna
39127ec4c2c9b97fd4583b2683fce634fe74613b
[ "Apache-2.0" ]
2
2019-07-17T05:42:04.000Z
2020-05-06T11:12:53.000Z
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
30.076923
76
0.71867
b2781176627dd874cb6fb5fe89f7455cca84f88a
63
ex
Elixir
lib/kindler_web/views/layout_view.ex
hbogaeus/kindler
0745ca9eed91f378cf605f808645b301f78f8676
[ "MIT" ]
null
null
null
lib/kindler_web/views/layout_view.ex
hbogaeus/kindler
0745ca9eed91f378cf605f808645b301f78f8676
[ "MIT" ]
null
null
null
lib/kindler_web/views/layout_view.ex
hbogaeus/kindler
0745ca9eed91f378cf605f808645b301f78f8676
[ "MIT" ]
null
null
null
defmodule KindlerWeb.LayoutView do use KindlerWeb, :view end
15.75
34
0.809524
b2781ac19bf41a8639956743daa8ee08cf07b8b4
100
exs
Elixir
config/dev.exs
ejpcmac/plug_session_mnesia
ed2ff49099890250108249d9b44eb7c0e8e2cc18
[ "MIT" ]
23
2017-10-18T00:28:16.000Z
2021-07-30T00:11:00.000Z
config/dev.exs
ejpcmac/plug_session_mnesia
ed2ff49099890250108249d9b44eb7c0e8e2cc18
[ "MIT" ]
3
2018-01-20T15:02:27.000Z
2019-08-04T14:07:41.000Z
config/dev.exs
ejpcmac/plug_session_mnesia
ed2ff49099890250108249d9b44eb7c0e8e2cc18
[ "MIT" ]
5
2018-12-18T20:38:07.000Z
2021-02-20T20:46:42.000Z
use Mix.Config config :plug_session_mnesia, table: :session, max_age: 60, cleaner_timeout: 1
14.285714
28
0.74
b2781dc25222be4cf11c2f84c289539b157314fb
3,154
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/api/freebusy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/api/freebusy.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/api/freebusy.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...
40.435897
187
0.662651
b27828fb82ea7137bee61da2000785bafa34d118
3,033
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/hmac_key_metadata.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/storage/lib/google_api/storage/v1/model/hmac_key_metadata.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/model/hmac_key_metadata.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 ...
40.986486
162
0.670293
b2782964354439e23a24ba120d3647d334c8f0df
775
ex
Elixir
test/support/state_machines/order.ex
mazz/beepbop
9d5930a870904fd84c317d3c2865d6b1c9a1080c
[ "MIT" ]
3
2018-03-26T14:04:26.000Z
2018-12-09T11:53:18.000Z
test/support/state_machines/order.ex
mazz/beepbop
9d5930a870904fd84c317d3c2865d6b1c9a1080c
[ "MIT" ]
6
2018-04-16T13:07:18.000Z
2018-06-25T09:54:47.000Z
test/support/state_machines/order.ex
mazz/beepbop
9d5930a870904fd84c317d3c2865d6b1c9a1080c
[ "MIT" ]
6
2019-04-01T07:58:56.000Z
2022-03-13T16:08:05.000Z
defmodule BeepBop.Example.OrderMachine do @moduledoc """ ## Defined events * `:foobar` Has no "to_state", and the event callback has full freedom to set the `to_state`. In fact, there is no validation on the `to_state`. """ use BeepBop, ecto_repo: BeepBop.TestRepo state_machine( BeepBop.Example...
25
73
0.612903
b2782e66f015ab62d6a71436911b32880b798bb4
37,164
ex
Elixir
lib/logger/lib/logger.ex
jdanielnd/elixir
d81260ebe7941c8cb3270e1fa14e8a3f878cfce1
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger.ex
jdanielnd/elixir
d81260ebe7941c8cb3270e1fa14e8a3f878cfce1
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger.ex
jdanielnd/elixir
d81260ebe7941c8cb3270e1fa14e8a3f878cfce1
[ "Apache-2.0" ]
null
null
null
defmodule Logger do @moduledoc ~S""" A logger for Elixir applications. It includes many features: * Provides debug, info, warn, and error levels. * Supports multiple backends which are automatically supervised when plugged into `Logger`. * Formats and truncates messages on the client t...
33.816197
113
0.678668
b27834b645c586362bb6f8d21c22a6c6a9ca9974
726
exs
Elixir
channel-sender/bench/generators.exs
santitigaga/async-dataflow
66132c7353ae0b3b9d5a3704699b5ba130b4da9d
[ "MIT" ]
2
2022-01-11T21:03:44.000Z
2022-03-15T15:13:11.000Z
channel-sender/bench/generators.exs
santitigaga/async-dataflow
66132c7353ae0b3b9d5a3704699b5ba130b4da9d
[ "MIT" ]
3
2021-12-21T21:04:20.000Z
2022-03-15T16:16:45.000Z
channel-sender/bench/generators.exs
santitigaga/async-dataflow
66132c7353ae0b3b9d5a3704699b5ba130b4da9d
[ "MIT" ]
2
2022-02-08T22:33:36.000Z
2022-03-25T19:55:18.000Z
alias ChannelSenderEx.Core.ChannelIDGenerator alias ChannelSenderEx.Core.Security.ChannelAuthenticator app_id = "app_22929" user_id = "user33243222" channel_id = ChannelIDGenerator.generate_channel_id(app_id, user_id) token = ChannelIDGenerator.generate_token(channel_id, app_id, user_id) Benchee.run( %{ "Genera...
38.210526
112
0.778237
b2783b49ef1c63240d9d0f234733c80867e38d84
2,715
exs
Elixir
test/test_helper.exs
kathgironpe/exq_ui
47e9fc2c76d51e8d62d62d0afb28d5599f1d49c5
[ "Apache-2.0" ]
1
2021-01-20T04:13:01.000Z
2021-01-20T04:13:01.000Z
test/test_helper.exs
kathgironpe/exq_ui
47e9fc2c76d51e8d62d62d0afb28d5599f1d49c5
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
kathgironpe/exq_ui
47e9fc2c76d51e8d62d62d0afb28d5599f1d49c5
[ "Apache-2.0" ]
null
null
null
defmodule TestStats do alias Exq.Redis.Connection alias Exq.Redis.JobQueue def processed_count(redis, namespace) do count = Connection.get!(redis, JobQueue.full_key(namespace, "stat:processed")) {:ok, count} end def failed_count(redis, namespace) do count = Connection.get!(redis, JobQueue.full_k...
22.073171
100
0.691344
b2783bd2f42de625c89d7e7c5c8726ad8c96951e
1,904
ex
Elixir
lib/bagheera_web.ex
hansjhoffman/bagheera
a816a38a4dd8a4ac841accb0234dfdc15f1aeec2
[ "MIT" ]
3
2020-02-19T14:57:45.000Z
2020-02-26T03:38:09.000Z
lib/bagheera_web.ex
hansjhoffman/bagheera
a816a38a4dd8a4ac841accb0234dfdc15f1aeec2
[ "MIT" ]
1
2021-09-30T13:51:51.000Z
2021-09-30T13:51:51.000Z
lib/bagheera_web.ex
hansjhoffman/bagheera
a816a38a4dd8a4ac841accb0234dfdc15f1aeec2
[ "MIT" ]
null
null
null
defmodule BagheeraWeb 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 BagheeraWeb, :controller use BagheeraWeb, :view The definitions below will be executed for every view, controlle...
23.219512
76
0.6875
b2784a12f259f2687916dd83a41f2741f14bfc48
1,379
ex
Elixir
lib/rasa_api/model/tracker.ex
whitedr/rasa-api-elixir
3ff932ee4cb4d04f0dd5ea66ec4b8f83195a003a
[ "Apache-2.0" ]
null
null
null
lib/rasa_api/model/tracker.ex
whitedr/rasa-api-elixir
3ff932ee4cb4d04f0dd5ea66ec4b8f83195a003a
[ "Apache-2.0" ]
null
null
null
lib/rasa_api/model/tracker.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.Model.Tracker do @moduledoc """ Conversation tracker which stores the conversation state. """ alias RasaApi.Model.ParseResult alias ...
27.039216
91
0.705584
b27850df472b7390a90c57aaa5a7eea6a55a439b
245
ex
Elixir
lib/level/analytics/adapter.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
lib/level/analytics/adapter.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
lib/level/analytics/adapter.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule Level.Analytics.Adapter do @moduledoc """ A behaviour for the Analytics adapter. """ @callback identify(String.t(), map()) :: {:ok, map()} | :error @callback track(String.t(), String.t(), map()) :: {:ok, map()} | :error end
27.222222
73
0.620408
b2788b257007f18f4514115cf7431e55a0fb050f
72
exs
Elixir
apps/phx_web/test/views/page_view_test.exs
harmon25/roygbiv_cntrl
77b056e26c3b3a1d2e49babb94ea6edefc5587f5
[ "MIT" ]
null
null
null
apps/phx_web/test/views/page_view_test.exs
harmon25/roygbiv_cntrl
77b056e26c3b3a1d2e49babb94ea6edefc5587f5
[ "MIT" ]
null
null
null
apps/phx_web/test/views/page_view_test.exs
harmon25/roygbiv_cntrl
77b056e26c3b3a1d2e49babb94ea6edefc5587f5
[ "MIT" ]
null
null
null
defmodule PhxWeb.PageViewTest do use PhxWeb.ConnCase, async: true end
18
34
0.805556
b278c818a82db432b5b6cdc786f2da87f5eb2aea
606
exs
Elixir
twitter_simulator/project4/mix.exs
sanketachari/Twitter_Clone
444731fc3108cd5ce521451329295fe4ba7404e8
[ "MIT" ]
null
null
null
twitter_simulator/project4/mix.exs
sanketachari/Twitter_Clone
444731fc3108cd5ce521451329295fe4ba7404e8
[ "MIT" ]
null
null
null
twitter_simulator/project4/mix.exs
sanketachari/Twitter_Clone
444731fc3108cd5ce521451329295fe4ba7404e8
[ "MIT" ]
null
null
null
defmodule Project4.Mixfile do use Mix.Project def project do [ app: :project4, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, escript: [main_module: Project4], deps: deps() ] end # Run "mix help compile.app" to learn about applications. def ap...
20.2
88
0.584158
b278d9b2a19bb7bcdf1af0cf068d5ce5c45dbfea
411
ex
Elixir
lib/train2cal_web/controllers/check_controller.ex
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
lib/train2cal_web/controllers/check_controller.ex
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
lib/train2cal_web/controllers/check_controller.ex
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
defmodule Train2calWeb.CheckController do use Train2calWeb, :controller action_fallback(Train2calWeb.FallbackController) def index(conn, %{"ref" => reference, "name" => name}) do case Train2cal.check_trip(reference, name) do {:ok, trip} -> render(conn, "trip.json", trip: trip) {:not_foun...
25.6875
59
0.622871
b278ee9c53a328bc6e9cbab78f47d086d7fc9517
84
exs
Elixir
test/ash_test.exs
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
528
2019-12-08T01:51:54.000Z
2022-03-30T10:09:45.000Z
test/ash_test.exs
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
278
2019-12-04T15:25:06.000Z
2022-03-31T03:40:51.000Z
test/ash_test.exs
smt116/ash
880a17f197873eb1c8dc8d81a8b4d6d9cb570b3f
[ "MIT" ]
53
2020-08-17T22:08:09.000Z
2022-03-24T01:58:59.000Z
defmodule Ash.Test.AshTest do @moduledoc false use ExUnit.Case, async: true end
16.8
30
0.761905
b279261b8270c37379f394b162966a0c6e58feec
514
exs
Elixir
priv/repo/migrations/20181029211851_create_okr_reflections.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
12
2019-05-10T21:48:06.000Z
2021-11-07T14:04:30.000Z
priv/repo/migrations/20181029211851_create_okr_reflections.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
2
2019-05-14T19:07:10.000Z
2019-05-20T21:06:27.000Z
priv/repo/migrations/20181029211851_create_okr_reflections.exs
sb8244/okr_app_pub
933872107bd13390a0a5ea119d7997d4cb5ea7db
[ "MIT" ]
3
2019-05-19T18:24:20.000Z
2019-10-31T20:29:12.000Z
defmodule OkrApp.Repo.Migrations.CreateOkrReflections do use Ecto.Migration def change do create table(:okr_reflections) do add(:reflection, :string, null: false) add(:okr_id, references(:okrs), null: false) add(:deleted_at, :utc_datetime) timestamps(null: false) end create( ...
23.363636
56
0.655642
b2793545745756766161f95769b8b369cb43e485
1,137
exs
Elixir
apps/dataset_loader/config/config.exs
foresta/mlex
e356b4251ff2efda4dea494c188d9c08eca82ded
[ "MIT" ]
null
null
null
apps/dataset_loader/config/config.exs
foresta/mlex
e356b4251ff2efda4dea494c188d9c08eca82ded
[ "MIT" ]
null
null
null
apps/dataset_loader/config/config.exs
foresta/mlex
e356b4251ff2efda4dea494c188d9c08eca82ded
[ "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.677419
73
0.754617
b2793c396252c47413ce0982034bf3ee05b8ed80
1,327
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instance_groups_scoped_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance_groups_scoped_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance_groups_scoped_list.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.365854
109
0.752826
b2794837d00d180e0b674b7ba7fa83c55c23f95a
18,357
ex
Elixir
lib/cogs.ex
dongmaster/alchemy
0acb0089a136e56831406f2c5420bab5ac881699
[ "MIT" ]
null
null
null
lib/cogs.ex
dongmaster/alchemy
0acb0089a136e56831406f2c5420bab5ac881699
[ "MIT" ]
null
null
null
lib/cogs.ex
dongmaster/alchemy
0acb0089a136e56831406f2c5420bab5ac881699
[ "MIT" ]
1
2020-07-01T08:34:17.000Z
2020-07-01T08:34:17.000Z
defmodule Alchemy.Cogs do alias Alchemy.Cache alias Alchemy.Cogs.CommandHandler alias Alchemy.Cogs.EventRegistry alias Alchemy.Events require Logger @moduledoc """ This module provides quite a bit of sugar for registering commands. To use the macros in this module, it must be `used`. This also defines...
27.521739
91
0.632456
b2795c8948d9003a7f27e016eb8102b262e296e3
217
exs
Elixir
priv/repo/migrations/20181006144846_create_states.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
priv/repo/migrations/20181006144846_create_states.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
priv/repo/migrations/20181006144846_create_states.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
defmodule JobBoard.Repo.Migrations.CreateStates do use Ecto.Migration def change do create table(:states) do add :name, :string timestamps() end create index(:states, [:name]) end end
15.5
50
0.663594
b27968c763af419a0b4ca6e9cb2bdbdf27ce6775
1,398
ex
Elixir
lib/is/alias_type.ex
bydooweedoo/is
2d6acf61b397f7297d42a83b09c1181e22cb5230
[ "MIT" ]
17
2018-06-23T11:16:17.000Z
2021-11-17T18:28:37.000Z
lib/is/alias_type.ex
bydooweedoo/is
2d6acf61b397f7297d42a83b09c1181e22cb5230
[ "MIT" ]
null
null
null
lib/is/alias_type.ex
bydooweedoo/is
2d6acf61b397f7297d42a83b09c1181e22cb5230
[ "MIT" ]
2
2018-10-24T20:12:54.000Z
2019-12-25T17:45:41.000Z
defprotocol Is.AliasType do @moduledoc ~S""" Defines validator alias for a given type. It allows to use value type to call a specific validator. For now, only `Map` type (`Is.Validators.Map`) has a type alias enabled. ## Example These two lines are equivalent: iex> Is.validate(%{a: true}, map: ...
23.694915
79
0.597997
b2798d66a677b4d6875bd29bbc3b481721d90587
2,196
exs
Elixir
apps/artemis_web/mix.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
10
2019-07-05T19:59:20.000Z
2021-05-23T07:36:11.000Z
apps/artemis_web/mix.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
3
2019-03-05T23:55:09.000Z
2019-05-29T13:46:34.000Z
apps/artemis_web/mix.exs
chrislaskey/atlas_platform
969aea95814f62d3471f93000ee5ad77edb9d1bf
[ "MIT" ]
4
2019-07-05T20:04:08.000Z
2021-05-13T16:28:33.000Z
defmodule ArtemisWeb.MixProject do use Mix.Project def project do [ app: :artemis_web, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.5", elixirc_paths: elix...
29.675676
105
0.571494
b2799980d83ef827c88fe14c5d2487f1f6b962b7
1,178
exs
Elixir
clients/ad_sense_host/mix.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/mix.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/mix.exs
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
defmodule GoogleApi.AdSenseHost.V41.Mixfile do use Mix.Project @version "0.1.0" def project do [app: :google_api_ad_sense_host, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package...
24.541667
120
0.617997
b279b3960e2f92d51a917e18a8a2a0141cb85cb6
2,030
ex
Elixir
clients/firestore/lib/google_api/firestore/v1/model/google_firestore_admin_v1_import_documents_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1/model/google_firestore_admin_v1_import_documents_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1/model/google_firestore_admin_v1_import_documents_request.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...
33.833333
143
0.741379
b27a202774195116b673f6b3a439afd836470566
13,031
ex
Elixir
lib/db_connection/holder.ex
jonatanklosko/db_connection
80928db6de9752c0243a959f41a18c3b80a1eeeb
[ "Apache-2.0" ]
227
2016-06-16T13:56:02.000Z
2022-03-09T23:03:58.000Z
lib/db_connection/holder.ex
jonatanklosko/db_connection
80928db6de9752c0243a959f41a18c3b80a1eeeb
[ "Apache-2.0" ]
198
2016-06-20T08:08:15.000Z
2022-03-06T17:54:37.000Z
deps/db_connection/lib/db_connection/holder.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
110
2016-06-20T03:50:39.000Z
2022-03-03T20:53:01.000Z
defmodule DBConnection.Holder do @moduledoc false require Record @queue true @timeout 15000 @time_unit 1000 Record.defrecord(:conn, [:connection, :module, :state, :lock, :ts, deadline: nil, status: :ok]) Record.defrecord(:pool_ref, [:pool, :reference, :deadline, :holder, :lock]) @type t :: :ets.tid()...
29.4819
99
0.617758
b27a9328242bd8b0d05e2c167028a9c890efaf82
144
ex
Elixir
app/community/lib/community_web/controllers/page_controller.ex
juhalehtonen/graphql-playground
b2515835c6a2de5db59d4c2ca605e0e9028b801b
[ "MIT" ]
null
null
null
app/community/lib/community_web/controllers/page_controller.ex
juhalehtonen/graphql-playground
b2515835c6a2de5db59d4c2ca605e0e9028b801b
[ "MIT" ]
null
null
null
app/community/lib/community_web/controllers/page_controller.ex
juhalehtonen/graphql-playground
b2515835c6a2de5db59d4c2ca605e0e9028b801b
[ "MIT" ]
null
null
null
defmodule CommunityWeb.PageController do use CommunityWeb, :controller def index(conn, _params) do render conn, "index.html" end end
18
40
0.75
b27aaf71186c19c4c5aa3a04eeab4dab10391449
5,491
ex
Elixir
test/support/test_fixture_helpers.ex
daskycodes/papercups
e716d94372b452d7545d9db79a23a44aee53676e
[ "MIT" ]
null
null
null
test/support/test_fixture_helpers.ex
daskycodes/papercups
e716d94372b452d7545d9db79a23a44aee53676e
[ "MIT" ]
null
null
null
test/support/test_fixture_helpers.ex
daskycodes/papercups
e716d94372b452d7545d9db79a23a44aee53676e
[ "MIT" ]
null
null
null
defmodule ChatApi.TestFixtureHelpers do @moduledoc false alias ChatApi.{ Repo, Accounts, BrowserSessions, BrowserReplayEvents, Customers, Conversations, SlackConversationThreads, EventSubscriptions, Messages, SlackAuthorizations, Tags, WidgetSettings, Users, U...
25.900943
81
0.610271
b27ac1fc573008584c171f7dda12d412108ee065
826
ex
Elixir
generated-sources/elixir/mojang-sessions/lib/com/github/asyncmc/mojang/sessions/elixir/server/model/player_profile_property.ex
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
generated-sources/elixir/mojang-sessions/lib/com/github/asyncmc/mojang/sessions/elixir/server/model/player_profile_property.ex
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "Apache-2.0" ]
null
null
null
generated-sources/elixir/mojang-sessions/lib/com/github/asyncmc/mojang/sessions/elixir/server/model/player_profile_property.ex
AsyncMC/Mojang-API-Libs
b01bbd2bce44bfa2b9ed705a128cf4ecda077916
[ "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 com.github.asyncmc.mojang.sessions.elixir.server.Model.PlayerProfileProperty do @moduledoc """ A profile property, may be signed. The values are e...
27.533333
177
0.711864
b27b1cc1d62c97bf16e682539cb87edd9000e1f5
640
exs
Elixir
iex.exs
iKarthik/dotfiles
923e0f17f6373b95a40f4119f51f617591aeab40
[ "MIT" ]
11
2018-11-14T18:45:54.000Z
2019-09-19T15:38:34.000Z
iex.exs
iKarthik/dotfiles
923e0f17f6373b95a40f4119f51f617591aeab40
[ "MIT" ]
null
null
null
iex.exs
iKarthik/dotfiles
923e0f17f6373b95a40f4119f51f617591aeab40
[ "MIT" ]
5
2018-03-17T03:15:15.000Z
2019-07-28T06:08:02.000Z
# Elixir command line config. To see config options, run `h IEx.configure/1` IEx.configure( history_size: -1, colors: [ eval_result: [:cyan, :bright] ] ) # # defmodule EctoHelpers do # defmacro __using__(_) do # quote do # IO.puts "importing Ecto.Query.{limit, select, where} and Ecto.Query.API.f...
24.615385
91
0.625
b27b1d6744028b731ffdc4890749dbd87eba59e6
4,349
exs
Elixir
test/erlef_web/views/view_helpers_test.exs
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
71
2019-07-02T18:06:15.000Z
2022-03-09T15:30:08.000Z
test/erlef_web/views/view_helpers_test.exs
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
157
2019-07-02T01:21:16.000Z
2022-03-30T16:08:12.000Z
test/erlef_web/views/view_helpers_test.exs
joaquinalcerro/website
52dc89c70cd0b42127ab233a4c0d10f626d2b698
[ "Apache-2.0" ]
45
2019-07-04T05:51:11.000Z
2022-02-27T11:56:02.000Z
defmodule ErlefWeb.ViewHelpersTest do use ExUnit.Case import Erlef.Factory alias ErlefWeb.ViewHelpers, as: Helper describe "long_date/1" do test "returns a long formated date from a %DateTime{}" do {_, datetime, _} = DateTime.from_iso8601("1971-11-25T23:50:07Z") assert "November 25, 1971" = H...
27.012422
86
0.624511
b27b1ec441fe1170be579778f720531fd2609570
2,575
ex
Elixir
lib/plug/crypto/key_generator.ex
geemus/plug
5b6a47754017c641fe9c7027365baa8d5a336c2d
[ "Apache-2.0" ]
1
2018-04-09T16:40:02.000Z
2018-04-09T16:40:02.000Z
lib/plug/crypto/key_generator.ex
geemus/plug
5b6a47754017c641fe9c7027365baa8d5a336c2d
[ "Apache-2.0" ]
null
null
null
lib/plug/crypto/key_generator.ex
geemus/plug
5b6a47754017c641fe9c7027365baa8d5a336c2d
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Crypto.KeyGenerator do @moduledoc """ `KeyGenerator` is a simple implementation of PBFDF2. It can be used to derive a number of keys for various purposes from a given secret. This lets applications have a single secure secret, but avoid reusing that key in multiple incompatible contexts. """...
33.012821
99
0.64699
b27b2c451ed929e2de93cf2a53ddaad3afb2931d
1,388
ex
Elixir
lib/updates/query_analyzer/quad.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
lib/updates/query_analyzer/quad.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
lib/updates/query_analyzer/quad.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
alias Updates.QueryAnalyzer.Types.Quad, as: Quad alias Updates.QueryAnalyzer.Variable, as: Var defmodule Quad do defstruct [:graph, :subject, :predicate, :object] def make( graph, subject, predicate, object ) do %Quad{ graph: graph, subject: subject, predicate: predicate, object: object } end @doc """ ...
30.173913
106
0.680836
b27b54ac12597a7217ebfa5ad93e2ecc51f029f9
7,094
ex
Elixir
lib/penelope/ml/pipeline.ex
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
53
2017-10-13T06:39:49.000Z
2022-03-28T19:43:42.000Z
lib/penelope/ml/pipeline.ex
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
12
2018-01-08T23:05:37.000Z
2019-08-02T12:59:27.000Z
lib/penelope/ml/pipeline.ex
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
4
2018-06-13T19:45:57.000Z
2019-10-17T13:37:06.000Z
defmodule Penelope.ML.Pipeline do @moduledoc """ The ML pipeline provides the ability to express an inference graph as a data structure, and to fit/export/compile/predict based on the graph. A pipeline is represented as a sequence of stages, each of which is a component module that supports the pipeline inter...
30.059322
78
0.638709
b27b6fd7b54333bbf7c12e7b39567c6f449aeec9
18,085
ex
Elixir
lib/absinthe/schema.ex
the-vinner/absinthe
1f121a4c49a4bc4baeb2fe90a639387fa75ff1d1
[ "MIT" ]
null
null
null
lib/absinthe/schema.ex
the-vinner/absinthe
1f121a4c49a4bc4baeb2fe90a639387fa75ff1d1
[ "MIT" ]
null
null
null
lib/absinthe/schema.ex
the-vinner/absinthe
1f121a4c49a4bc4baeb2fe90a639387fa75ff1d1
[ "MIT" ]
null
null
null
defmodule Absinthe.Schema do alias Absinthe.Type alias __MODULE__ @type t :: module @moduledoc """ Build GraphQL Schemas ## Custom Schema Manipulation (in progress) In Absinthe 1.5 schemas are built using the same process by which queries are executed. All the macros in this module and in `Notation` ...
26.134393
156
0.675035
b27beaf68cffa479ed306c3e1abb7af089aff681
319
exs
Elixir
package.exs
oubiwann/exemplar
a905de989034da61a33cfce05abcbbf126e73b91
[ "Apache-2.0" ]
3
2018-06-21T12:35:29.000Z
2021-01-24T00:03:06.000Z
package.exs
oubiwann/exemplar
a905de989034da61a33cfce05abcbbf126e73b91
[ "Apache-2.0" ]
1
2015-02-13T21:53:51.000Z
2015-02-13T21:53:51.000Z
package.exs
oubiwann/exemplar
a905de989034da61a33cfce05abcbbf126e73b91
[ "Apache-2.0" ]
2
2015-02-13T21:05:30.000Z
2021-03-22T21:20:36.000Z
Expm.Package.new( name: "exemplar", description: "HTML as S-Expressions for LFE", version: "0.0.5", keywords: ["LFE", "Lisp", "Library", "HTML", "YAWS", "Web"], maintainers: [[name: "Duncan McGreggor", email: "oubiwann@cogitat.io"]], repositories: [[github: "lfe/exemplar"]])
35.444444
64
0.579937
b27c01e63a3ad1c4b28a3900f73f95bd3164dacf
7,327
ex
Elixir
lib/mix/lib/mix/tasks/compile.app.ex
carlosantoniodasilva/elixir
0b7d1c9d4964cd6699b72298294844d8d7d694b5
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.app.ex
carlosantoniodasilva/elixir
0b7d1c9d4964cd6699b72298294844d8d7d694b5
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/compile.app.ex
carlosantoniodasilva/elixir
0b7d1c9d4964cd6699b72298294844d8d7d694b5
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Compile.App do use Mix.Task @recursive true @moduledoc """ Writes an .app file. An `.app` file is a file containing Erlang terms that defines your application. Mix automatically generates this file based on your `mix.exs` configuration. You can learn more about OTP applications by...
36.635
135
0.655521
b27c38c0959c6a8bc22a37bbbb72ab970432a701
1,373
ex
Elixir
lib/plug/logger.ex
TomHoenderdos/plug
45e084040f673673b7c899cd9b2f35a04412083e
[ "Apache-2.0" ]
null
null
null
lib/plug/logger.ex
TomHoenderdos/plug
45e084040f673673b7c899cd9b2f35a04412083e
[ "Apache-2.0" ]
null
null
null
lib/plug/logger.ex
TomHoenderdos/plug
45e084040f673673b7c899cd9b2f35a04412083e
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Logger do @moduledoc """ A plug for logging basic request information in the format: GET /index.html Sent 200 in 572ms To use it, just plug it into the desired module. plug Plug.Logger, log: :debug ## Options * `:log` - The log level at which this plug should log its re...
22.508197
98
0.618354
b27c6cbf6c076dee5fce3fe5e0f8ec175bac97ed
2,380
exs
Elixir
installer/templates/phx_single/mix.exs
landongrindheim/phoenix
6540c4918be87ed98f7ef5ff6045a1fe1632ac64
[ "MIT" ]
null
null
null
installer/templates/phx_single/mix.exs
landongrindheim/phoenix
6540c4918be87ed98f7ef5ff6045a1fe1632ac64
[ "MIT" ]
null
null
null
installer/templates/phx_single/mix.exs
landongrindheim/phoenix
6540c4918be87ed98f7ef5ff6045a1fe1632ac64
[ "MIT" ]
null
null
null
defmodule <%= app_module %>.MixProject do use Mix.Project def project do [ app: :<%= app_name %>, version: "0.1.0",<%= if in_umbrella do %> build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock",<% end %> ...
33.055556
147
0.553782
b27c7f1672d1c8afd4a1c80e2bdd332982d6060e
3,182
exs
Elixir
test/morphic_pro_web/controllers/user_session_controller_test.exs
MorphicPro/morphic_pro
0028726250b6c55842e4bb48ffeeddc28e63b1bd
[ "MIT" ]
null
null
null
test/morphic_pro_web/controllers/user_session_controller_test.exs
MorphicPro/morphic_pro
0028726250b6c55842e4bb48ffeeddc28e63b1bd
[ "MIT" ]
null
null
null
test/morphic_pro_web/controllers/user_session_controller_test.exs
MorphicPro/morphic_pro
0028726250b6c55842e4bb48ffeeddc28e63b1bd
[ "MIT" ]
null
null
null
defmodule MorphicProWeb.UserSessionControllerTest do use MorphicProWeb.ConnCase, async: true import MorphicPro.AccountsFixtures setup do %{user: user_fixture()} end describe "GET /users/log_in" do test "renders log in page", %{conn: conn} do conn = get(conn, Routes.user_session_path(conn, :ne...
32.141414
89
0.602766
b27c88ecb207a373aa9caa930046a02f96b48bf1
471
exs
Elixir
test/commands/trigger/disable_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
1,003
2016-02-23T17:21:12.000Z
2022-02-20T14:39:35.000Z
test/commands/trigger/disable_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
906
2016-02-22T22:54:19.000Z
2022-03-11T15:19:43.000Z
test/commands/trigger/disable_test.exs
matusf/cog
71708301c7dc570fb0d3498a50f47a70ef957788
[ "Apache-2.0" ]
95
2016-02-23T13:42:31.000Z
2021-11-30T14:39:55.000Z
defmodule Cog.Test.Commands.Trigger.DisableTest do use Cog.CommandCase, command_module: Cog.Commands.Trigger.Disable alias Cog.Models.Trigger alias Cog.Repository.Triggers test "disabling a trigger" do {:ok, %Trigger{id: id, enabled: true}} = Triggers.new(%{name: "foo", pipeline: "echo stuff"}) {:ok,...
26.166667
97
0.641189
b27ca81291a30911b45c522584164ed93c53adc0
9,593
ex
Elixir
clients/assured_workloads/lib/google_api/assured_workloads/v1/model/google_cloud_assuredworkloads_versioning_v1main_workload.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/assured_workloads/lib/google_api/assured_workloads/v1/model/google_cloud_assuredworkloads_versioning_v1main_workload.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/assured_workloads/lib/google_api/assured_workloads/v1/model/google_cloud_assuredworkloads_versioning_v1main_workload.ex
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...
59.95625
484
0.747941
b27cf193512d2b952c26b428ab91a2320cde6342
6,768
ex
Elixir
lib/elixir/lib/kernel/lexical_tracker.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/lib/kernel/lexical_tracker.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/lib/kernel/lexical_tracker.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
# This is an Elixir module responsible for tracking references # to modules, remote dispatches, and the usage of # aliases/imports/requires in the Elixir scope. # # Note that since this is required for bootstrap, we can't use # any of the `GenServer.Behaviour` conveniences. defmodule Kernel.LexicalTracker do @moduled...
26.857143
98
0.668735
b27d414ba52d52be5643a8dc7cf7a50113849875
367
exs
Elixir
server/priv/repo/seeds.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
server/priv/repo/seeds.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
server/priv/repo/seeds.exs
felixwolter/idai-field
146ab8dbdedb23035a4ba19eac95f02a1fa2329f
[ "Apache-2.0" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # IdaiFieldServer.Repo.insert!(%IdaiFieldServer.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so ...
30.583333
65
0.719346
b27d86741a8a9fdf511c28c2be0d21b05d497d79
2,001
ex
Elixir
persistent_tree/lib/persistent_tree/day12.ex
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
persistent_tree/lib/persistent_tree/day12.ex
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
persistent_tree/lib/persistent_tree/day12.ex
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
defprotocol PersistentTree.Day12.Tree do def add(tree, val) def preorder(tree) def postorder(tree) def in_order(tree) end defmodule PersistentTree.Day12.Leaf, do: defstruct [] defmodule PersistentTree.Day12.Node, do: defstruct [:item, :left, :right] defimpl PersistentTree.Day12.Tree, for: PersistentTree.Day12...
26.328947
76
0.61919
b27da0cacde7e05ec366d027b80d00d5ec9afce3
5,462
ex
Elixir
lib/thousand_island/transport.ex
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
null
null
null
lib/thousand_island/transport.ex
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
null
null
null
lib/thousand_island/transport.ex
ewildgoose/thousand_island
2686f86f897a5bd66b9271c42322b13052c3314e
[ "MIT" ]
null
null
null
defmodule ThousandIsland.Transport do @moduledoc """ This module describes the behaviour required for Thousand Island to interact with low-level sockets. It is largely internal to Thousand Island, however users are free to implement their own versions of this behaviour backed by whatever underlying transport ...
36.413333
93
0.676675
b27da2155e8741b80ac0a16ea1836c9cec11faf6
141,555
ex
Elixir
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/api/properties.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/api/properties.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/analytics_admin/lib/google_api/analytics_admin/v1alpha/api/properties.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
45.486825
604
0.624549
b27db382ae308f49f041855c8b104ec365c61332
446
ex
Elixir
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts/org_user.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
111
2018-07-25T01:07:51.000Z
2022-01-25T17:03:01.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts/org_user.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
361
2018-07-22T12:53:00.000Z
2022-03-31T18:50:34.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/accounts/org_user.ex
tonnenpinguin/nerves_hub_web
9d36921eb7e20d20a3e3bd308cc98ad7b60cfa72
[ "Apache-2.0" ]
54
2018-08-26T02:58:04.000Z
2022-03-09T10:12:19.000Z
defmodule NervesHubWebCore.Accounts.OrgUser do use Ecto.Schema import Ecto.Query alias NervesHubWebCore.Accounts.{User, Org} @type t :: %__MODULE__{} schema "org_users" do belongs_to(:org, Org, where: [deleted_at: nil]) belongs_to(:user, User, where: [deleted_at: nil]) field(:role, User.Role)...
18.583333
53
0.686099
b27dc10f31b89b1008a9b88c031330b794661f52
16,782
ex
Elixir
lib/core/asset/firmware_config.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
lib/core/asset/firmware_config.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
lib/core/asset/firmware_config.ex
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotCore.Asset.FirmwareConfig do @moduledoc """ """ use FarmbotCore.Asset.Schema, path: "/api/firmware_config" schema "firmware_configs" do field(:id, :id) has_one(:local_meta, FarmbotCore.Asset.Private.LocalMeta, on_delete: :delete_all, references: :local_id, foreign_k...
43.703125
79
0.773329
b27dc1a9c2f6e90cd5fd56ad048fd87273e60981
462
ex
Elixir
lib/fotd/application.ex
aesmail/fotd
03bc3f145ed2aa30bafa25198570c380a8d0ad31
[ "Apache-2.0" ]
1
2018-11-24T12:01:30.000Z
2018-11-24T12:01:30.000Z
lib/fotd/application.ex
wojtekmach/fotd
f485b6b8d4d9e7b3385699f6175d1bc61d13035a
[ "Apache-2.0" ]
null
null
null
lib/fotd/application.ex
wojtekmach/fotd
f485b6b8d4d9e7b3385699f6175d1bc61d13035a
[ "Apache-2.0" ]
null
null
null
defmodule Fotd.Application do use Application def start(_type, _args) do import Supervisor.Spec children = [ supervisor(Fotd.Cache, []), supervisor(Fotd.Repo, []), supervisor(FotdWeb.Endpoint, []) ] opts = [strategy: :one_for_one, name: Fotd.Supervisor] Supervisor.start_link...
21
58
0.675325
b27dcf787bb8452f30198a532a057e5ae654cc83
2,833
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_annotate_file_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_annotate_file_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_annotate_file_response.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...
40.471429
204
0.740558
b27dd301b999efdd7ed2366703cdff39735664ce
5,941
exs
Elixir
test/groupher_server_web/mutation/cms/article_community/meetup_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
test/groupher_server_web/mutation/cms/article_community/meetup_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
test/groupher_server_web/mutation/cms/article_community/meetup_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Test.Mutation.ArticleCommunity.Meetup do use GroupherServer.TestTools alias Helper.ORM alias GroupherServer.CMS alias CMS.Model.Meetup setup do {:ok, meetup} = db_insert(:meetup) {:ok, community} = db_insert(:community) guest_conn = simu_conn(:guest) user_conn = sim...
39.872483
97
0.679179
b27e19daa3a9433bf0b0d0a84fe1d3dc346fe945
1,046
exs
Elixir
mix.exs
ArielFarias/ring_logger
370957b1d5d96e6154b0cc2dfd152e9c0ba62e26
[ "Apache-2.0" ]
null
null
null
mix.exs
ArielFarias/ring_logger
370957b1d5d96e6154b0cc2dfd152e9c0ba62e26
[ "Apache-2.0" ]
null
null
null
mix.exs
ArielFarias/ring_logger
370957b1d5d96e6154b0cc2dfd152e9c0ba62e26
[ "Apache-2.0" ]
null
null
null
defmodule RingLogger.MixProject do use Mix.Project def project do [ app: :ring_logger, version: "0.6.2", elixir: "~> 1.8.1", start_permanent: Mix.env() == :prod, description: description(), package: package(), docs: docs(), elixirc_paths: elixirc_paths(Mix.env())...
19.735849
75
0.575526
b27e3da1f22c9bc357b2d13309df8f82b0bf03b1
2,095
ex
Elixir
lib/commerce_cure/data_type/year.ex
auroche/commerce_cure
82e2d60d1044f86dd2f491f4713a31132d709ccf
[ "MIT" ]
null
null
null
lib/commerce_cure/data_type/year.ex
auroche/commerce_cure
82e2d60d1044f86dd2f491f4713a31132d709ccf
[ "MIT" ]
null
null
null
lib/commerce_cure/data_type/year.ex
auroche/commerce_cure
82e2d60d1044f86dd2f491f4713a31132d709ccf
[ "MIT" ]
null
null
null
defmodule CommerceCure.Year do @moduledoc """ Assumes years are from 1000 - 9999 """ alias __MODULE__ @type year :: integer @type t :: %Year{year: year} @enforce_keys [:year] defstruct [:year] @doc """ iex> Year.new(17) {:ok, %Year{year: 2017}} iex> Year.new("114") {:ok, %Year{year: 2114}} ...
23.277778
86
0.614797
b27e568fa958819521c5e7438741bb9d58859bf6
25,660
ex
Elixir
lib/elixir/lib/list.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/list.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/list.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
defmodule List do @moduledoc """ Functions that work on (linked) lists. Lists in Elixir are specified between square brackets: iex> [1, "two", 3, :four] [1, "two", 3, :four] Two lists can be concatenated and subtracted using the `Kernel.++/2` and `Kernel.--/2` operators: iex> [1, 2, 3] +...
24.840271
102
0.608457
b27e5f0f1999e34a276e1e5195c0d2273b86856f
3,255
exs
Elixir
test/unit/confex/type_test.exs
fossabot/confex
dbb08c3755d2813faffb91dd37141aa5374658ee
[ "MIT" ]
null
null
null
test/unit/confex/type_test.exs
fossabot/confex
dbb08c3755d2813faffb91dd37141aa5374658ee
[ "MIT" ]
null
null
null
test/unit/confex/type_test.exs
fossabot/confex
dbb08c3755d2813faffb91dd37141aa5374658ee
[ "MIT" ]
null
null
null
defmodule Confex.TypeTest do use ExUnit.Case, async: true alias Confex.Type doctest Confex.Type test "cast nil" do for type <- [:string, :integer, :float, :boolean, :atom, :module, :list, {M, :f, []}] do assert Type.cast(nil, type) == {:ok, nil} end end test "cast string" do assert Type....
36.988636
112
0.578495
b27e76480cbbd4167ab91def2f7b6e0a1d101ef6
1,390
ex
Elixir
apps/rtc/lib/rtc_web/telemetry.ex
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/rtc/lib/rtc_web/telemetry.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/rtc/lib/rtc_web/telemetry.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule RtcWeb.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 more...
28.367347
86
0.668345
b27f0b98212dfb92f4cb231cd2165e3a0e738aca
4,976
ex
Elixir
lib/simplex_format.ex
breakroom/simplex_format
a8d983565ada8e8f2cb32f8347bf1e4206af01bc
[ "MIT" ]
2
2019-04-15T08:45:54.000Z
2019-09-11T07:44:27.000Z
lib/simplex_format.ex
poplarhq/simplex_format
a8d983565ada8e8f2cb32f8347bf1e4206af01bc
[ "MIT" ]
null
null
null
lib/simplex_format.ex
poplarhq/simplex_format
a8d983565ada8e8f2cb32f8347bf1e4206af01bc
[ "MIT" ]
null
null
null
defmodule SimplexFormat do @moduledoc """ Helpers related to formatting text. """ @doc ~S""" Returns text transformed into HTML using simple formatting rules. Two or more consecutive newlines `\n\n` or `\r\n\r\n` are considered as a paragraph and text between them is wrapped in `<p>` tags. One newline...
32.736842
109
0.643891
b27f6085097e0dc70e1c512b73085d797f3e4673
8,613
exs
Elixir
test/sparql/query/result/json_decoder_test.exs
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
23
2018-09-25T21:09:35.000Z
2020-05-14T16:28:22.000Z
test/sparql/query/result/json_decoder_test.exs
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
2
2018-06-01T20:47:48.000Z
2019-03-05T23:20:34.000Z
test/sparql/query/result/json_decoder_test.exs
marcelotto/sparql-ex
7bf939a2b0eec7e1096f6fdb999b07757995c145
[ "MIT" ]
2
2019-12-13T19:20:54.000Z
2019-12-20T08:23:21.000Z
defmodule SPARQL.Query.Result.JSON.DecoderTest do use ExUnit.Case doctest SPARQL.Query.Result.JSON.Decoder import RDF.Sigils alias SPARQL.Query alias RDF.XSD test "with no head and no results" do assert Query.Result.JSON.decode("{}") == {:ok, %Query.Result{variables: nil, results: []}} ...
29.90625
86
0.369325
b27f808468ca37cc9134209632f14d280ee5afd7
262
exs
Elixir
test/ref_web/views/layout_view_test.exs
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
test/ref_web/views/layout_view_test.exs
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
test/ref_web/views/layout_view_test.exs
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
defmodule RefWeb.LayoutViewTest do use RefWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
29.111111
65
0.759542
b27fb0b2bebace783e95df1d56fd76e3ab90abac
1,269
ex
Elixir
apps/reaper/lib/reaper/data_extract/validation_stage.ex
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
null
null
null
apps/reaper/lib/reaper/data_extract/validation_stage.ex
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
null
null
null
apps/reaper/lib/reaper/data_extract/validation_stage.ex
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
null
null
null
defmodule Reaper.DataExtract.ValidationStage do @moduledoc false use GenStage alias Reaper.{Cache, Persistence} def start_link(opts) do GenStage.start_link(__MODULE__, opts) end def init(args) do dataset = Keyword.fetch!(args, :dataset) state = %{ cache: Keyword.fetch!(args, :cache), ...
23.943396
86
0.650906
b27fc0adf530f02235cd15bceafedbf43042bdfd
2,609
ex
Elixir
lib/mix/tasks/x509.test_server.ex
fhunleth/x509
24c5fcc42207cc74e1e00a322f4809caf058eb6b
[ "BSD-3-Clause" ]
null
null
null
lib/mix/tasks/x509.test_server.ex
fhunleth/x509
24c5fcc42207cc74e1e00a322f4809caf058eb6b
[ "BSD-3-Clause" ]
null
null
null
lib/mix/tasks/x509.test_server.ex
fhunleth/x509
24c5fcc42207cc74e1e00a322f4809caf058eb6b
[ "BSD-3-Clause" ]
null
null
null
defmodule Mix.Tasks.X509.TestServer do @shortdoc "Runs a server for manual TLS client testing" @moduledoc """ Runs a server for manual TLS client testing mix x509.test_server mix x509.test_server test.local Please refer to the documentation for `X509.Test.Suite` for information about the scenar...
28.67033
91
0.660406
b27ffe8d53f67570b7d2a1c5a5b078c20a95c462
64
ex
Elixir
lib/mango_web/views/registration_view.ex
jacruzca/mango
9978dc609ed1fc86aa40386e35fae06cb95f80fc
[ "MIT" ]
null
null
null
lib/mango_web/views/registration_view.ex
jacruzca/mango
9978dc609ed1fc86aa40386e35fae06cb95f80fc
[ "MIT" ]
null
null
null
lib/mango_web/views/registration_view.ex
jacruzca/mango
9978dc609ed1fc86aa40386e35fae06cb95f80fc
[ "MIT" ]
null
null
null
defmodule MangoWeb.RegistrationView do use MangoWeb, :view end
21.333333
38
0.828125
b280173984f035ef3a87cce8ac511e3cffaaa36d
220
ex
Elixir
lib/telescope_web/live/matches_live.ex
Jwsonic/telescope
8ee8b4c07c3aa3be1752b4902c6fdd819edaf729
[ "MIT" ]
2
2020-08-25T23:28:18.000Z
2021-07-13T04:22:54.000Z
lib/telescope_web/live/matches_live.ex
Jwsonic/telescope
8ee8b4c07c3aa3be1752b4902c6fdd819edaf729
[ "MIT" ]
null
null
null
lib/telescope_web/live/matches_live.ex
Jwsonic/telescope
8ee8b4c07c3aa3be1752b4902c6fdd819edaf729
[ "MIT" ]
null
null
null
defmodule TelescopeWeb.MatchesLive do use TelescopeWeb, :live_view alias Telescope.Matches @impl true def mount(_params, _session, socket) do {:ok, assign(socket, matches: Matches.get_matches())} end end
20
57
0.740909
b2803ecb7b760e13db2ad7cca530f5a090ef1728
1,928
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/list_manual_triggers_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/list_manual_triggers_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/display_video/lib/google_api/display_video/v1/model/list_manual_triggers_response.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...
38.56
240
0.748963
b280475caa797778ecdbe405ec19331414669531
890
ex
Elixir
clients/domains/lib/google_api/domains/v1beta1/metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/domains/lib/google_api/domains/v1beta1/metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/domains/lib/google_api/domains/v1beta1/metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.962963
74
0.760674
b28075284d64c5548093043511eff056fc996962
65
ex
Elixir
web/views/old_procedure_view.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
10
2016-07-15T15:57:33.000Z
2018-06-09T00:40:46.000Z
web/views/old_procedure_view.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
null
null
null
web/views/old_procedure_view.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
6
2016-07-15T15:57:41.000Z
2018-03-22T16:38:00.000Z
defmodule Eecrit.OldProcedureView do use Eecrit.Web, :view end
16.25
36
0.8
b2808039478b090259ec4a82088147c407566122
1,113
ex
Elixir
lib/salesloft/provider.ex
sb8244/pow_starter_pack
82e16c3e4139ecc85295078b54024f58f95ab794
[ "MIT" ]
13
2020-03-31T21:45:40.000Z
2021-02-13T12:17:22.000Z
lib/salesloft/provider.ex
sb8244/pow_starter_pack
82e16c3e4139ecc85295078b54024f58f95ab794
[ "MIT" ]
1
2021-03-10T12:57:21.000Z
2021-03-10T12:57:21.000Z
lib/salesloft/provider.ex
sb8244/pow_starter_pack
82e16c3e4139ecc85295078b54024f58f95ab794
[ "MIT" ]
1
2020-04-28T15:41:56.000Z
2020-04-28T15:41:56.000Z
defmodule SalesLoft.Provider do @moduledoc """ This is here to demonstrate how simple it is to make a custom OAuth provider. SalesLoft requires SSL for all redirect URIs for security reasons (except for localhost). Because I'm using a custom domain for this, I currently have to run it in SSL mode and things ju...
30.081081
105
0.656783
b280a219d8d89c197c223f3f5403501c94cb4efd
4,854
ex
Elixir
lib/stm_agent/state.ex
stevbov/stm_agent
364308a6d6500895f92783eead36db5cc2ed4e87
[ "Apache-2.0" ]
null
null
null
lib/stm_agent/state.ex
stevbov/stm_agent
364308a6d6500895f92783eead36db5cc2ed4e87
[ "Apache-2.0" ]
null
null
null
lib/stm_agent/state.ex
stevbov/stm_agent
364308a6d6500895f92783eead36db5cc2ed4e87
[ "Apache-2.0" ]
null
null
null
defmodule StmAgent.State do @moduledoc false defstruct data: nil, version: 1, tx_data: %{}, tx_version: %{}, tx_verifying: nil, tx_on_commit: %{}, tx_on_abort: %{}, retry_queue: [] def new(data) do %StmAgent.State{ data...
26.237838
117
0.586939
b28108bc9a58b991d0c09f61a6699068c043f89c
336
ex
Elixir
lib/supabase_surface/components/icons/icon_lock.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_lock.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_lock.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconLock do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.lock(width: icon_size, height: icon_size)} </IconContainer> ...
22.4
62
0.714286
b28119b894da12caeae49534bce01d699d22a024
1,356
exs
Elixir
Elixir/phoenixskeleton/config/dev.exs
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
8
2016-08-14T12:35:16.000Z
2021-01-26T04:05:31.000Z
Elixir/phoenixskeleton/config/dev.exs
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
null
null
null
Elixir/phoenixskeleton/config/dev.exs
kujua/erlang-elixir-imperative-bookcompanion
7bc9f033bacd0f8744ec6bcee3932794d594fe69
[ "Apache-2.0" ]
5
2016-08-18T22:12:19.000Z
2020-02-17T18:52:41.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :phoenixskeleton, Phoenixskeleton.Endpoint, ht...
30.818182
73
0.70649
b281309096b6444ebe7a51e87b9d6cdc7b029b0c
396
ex
Elixir
web/views/session_view.ex
behrendtio/phoenix-toggl
dcaa2409ed8b53d3b56dc7ce02cdc4252dd19647
[ "MIT" ]
207
2016-02-24T06:43:04.000Z
2021-03-05T02:26:47.000Z
web/views/session_view.ex
behrendtio/phoenix-toggl
dcaa2409ed8b53d3b56dc7ce02cdc4252dd19647
[ "MIT" ]
6
2016-02-26T00:13:06.000Z
2017-06-15T07:49:02.000Z
web/views/session_view.ex
behrendtio/phoenix-toggl
dcaa2409ed8b53d3b56dc7ce02cdc4252dd19647
[ "MIT" ]
24
2016-02-24T18:02:21.000Z
2019-11-11T12:47:06.000Z
defmodule PhoenixToggl.SessionView do use PhoenixToggl.Web, :view def render("show.json", %{jwt: jwt, user: user}) do %{ jwt: jwt, user: user } end def render("error.json", _) do %{error: "Invalid email or password"} end def render("delete.json", _) do %{ok: true} end def...
17.217391
53
0.60101
b28134a8e76c6ef49398a1663e85536de5ab35f6
117
ex
Elixir
lib/gen_executor.ex
tyrchen/overseer
e46dbd965e14d92361f223db1a6d6f44b20272b3
[ "MIT" ]
18
2018-03-01T05:59:27.000Z
2021-06-15T13:12:50.000Z
lib/gen_executor.ex
tyrchen/overseer
e46dbd965e14d92361f223db1a6d6f44b20272b3
[ "MIT" ]
null
null
null
lib/gen_executor.ex
tyrchen/overseer
e46dbd965e14d92361f223db1a6d6f44b20272b3
[ "MIT" ]
null
null
null
defmodule GenExecutor do @moduledoc """ General executor behavior, usually used with Overseer together """ end
19.5
64
0.752137