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
e9dc1c3ce75635b69fd2e2d0408694355ff34e7c
5,043
ex
Elixir
lib/line_buffer.ex
sampscl/LineBuffer
f59d6e8db6bd5cdb89ffbbb853e85d7426ba9ef0
[ "MIT" ]
2
2017-12-18T17:31:34.000Z
2017-12-19T01:27:47.000Z
lib/line_buffer.ex
sampscl/LineBuffer
f59d6e8db6bd5cdb89ffbbb853e85d7426ba9ef0
[ "MIT" ]
null
null
null
lib/line_buffer.ex
sampscl/LineBuffer
f59d6e8db6bd5cdb89ffbbb853e85d7426ba9ef0
[ "MIT" ]
null
null
null
defmodule LineBuffer do @moduledoc """ Buffer lines like a boss. """ defmodule State do @typedoc """ `%State{}`'s type """ @type t :: %__MODULE__{} @doc false defstruct [ splitter: "\n", buf: "", ] end @spec new(String.t()) :: State.t() @doc ~S""" Create a new l...
27.861878
117
0.600635
e9dc2aebe76f5610109a5ab6c8e6509611be5018
2,766
ex
Elixir
lib/durex.ex
walkr/durex
f8b24e0acd8bfefab1160c21974c6cc5bc3f2861
[ "MIT" ]
null
null
null
lib/durex.ex
walkr/durex
f8b24e0acd8bfefab1160c21974c6cc5bc3f2861
[ "MIT" ]
null
null
null
lib/durex.ex
walkr/durex
f8b24e0acd8bfefab1160c21974c6cc5bc3f2861
[ "MIT" ]
null
null
null
defmodule Durex do @moduledoc """ Parse durations, such as `"1s"`, to its numerical millisecond value, e.g. `1_000`, so you can do things such as: ``` "1s" |> Durex.ms!() |> Process.sleep() ``` ## Examples iex> Durex.ms "3s" {:ok, 3_000} iex> Durex.ms "1h" {:ok, 3600_000} ...
24.696429
84
0.530007
e9dc4474317f8d155e64f8e642413a97f75833a1
1,687
exs
Elixir
apps/ewallet_api/test/ewallet_api/config_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_api/test/ewallet_api/config_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_api/test/ewallet_api/config_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.240741
74
0.659158
e9dc82a291aef7c029378e6ee4eb9bd4f714f331
120
ex
Elixir
test/support/test_publisher.ex
djeusette/railway_ipc
30fb58726e43148fe72fbfe63fdf46161fc933cf
[ "MIT" ]
null
null
null
test/support/test_publisher.ex
djeusette/railway_ipc
30fb58726e43148fe72fbfe63fdf46161fc933cf
[ "MIT" ]
null
null
null
test/support/test_publisher.ex
djeusette/railway_ipc
30fb58726e43148fe72fbfe63fdf46161fc933cf
[ "MIT" ]
null
null
null
defmodule RailwayIpc.TestPublisher do @moduledoc false use RailwayIpc.Publisher, broker: RailwayIpc.TestBroker end
20
57
0.825
e9dcb375431b2ceb48ed42407de9d77338a5d541
817
ex
Elixir
lib/elasticfusion/document.ex
fanuniverse/elasticfusion
fea34d51051f5bb3c3d9e33fd99b2d5baf261f7e
[ "CC0-1.0" ]
null
null
null
lib/elasticfusion/document.ex
fanuniverse/elasticfusion
fea34d51051f5bb3c3d9e33fd99b2d5baf261f7e
[ "CC0-1.0" ]
null
null
null
lib/elasticfusion/document.ex
fanuniverse/elasticfusion
fea34d51051f5bb3c3d9e33fd99b2d5baf261f7e
[ "CC0-1.0" ]
null
null
null
defmodule Elasticfusion.Document do import Elasticfusion.Utils, only: [status: 1] @doc """ Adds (or replaces) a document at the `struct.id`. The `index` argument accepts a module that implements the `Elasticfusion.Index` behavior and returns a serialized (indexed) version of the `struct` via the `serial...
25.53125
59
0.673195
e9dcc79ef07032856dc22f9a544ed0930956c07c
490
ex
Elixir
web/controllers/api_controller.ex
hedgesky/slime_conveter_app
d8b51a6fe384820af547b026c9c5ac068357f88a
[ "MIT" ]
1
2021-01-19T16:32:39.000Z
2021-01-19T16:32:39.000Z
web/controllers/api_controller.ex
hedgesky/slime_conveter_app
d8b51a6fe384820af547b026c9c5ac068357f88a
[ "MIT" ]
null
null
null
web/controllers/api_controller.ex
hedgesky/slime_conveter_app
d8b51a6fe384820af547b026c9c5ac068357f88a
[ "MIT" ]
null
null
null
defmodule SlimeConverter.ApiController do use SlimeConverter.Web, :controller def slime2html(conn, params) do {conn, json} = params["slime"] |> Translator.slime2html |> generate_response(conn) render conn, "slime2html.json", json end defp generate_response({:ok, html}, conn) do ...
20.416667
52
0.657143
e9dcfbb60cfd9b5bac3f447b6cfed96190a31ce8
307
exs
Elixir
ch7/mylist1.exs
rafanoronha/prog_elixir_1_6
5ae2137da4ffdb6de1c9b164812ed6e43c0922d3
[ "MIT" ]
null
null
null
ch7/mylist1.exs
rafanoronha/prog_elixir_1_6
5ae2137da4ffdb6de1c9b164812ed6e43c0922d3
[ "MIT" ]
null
null
null
ch7/mylist1.exs
rafanoronha/prog_elixir_1_6
5ae2137da4ffdb6de1c9b164812ed6e43c0922d3
[ "MIT" ]
null
null
null
defmodule MyList do def len([]) do 0 end def len([_head | tail]) do 1 + len(tail) end def square([]) do [] end def square([head | tail]) do [head * head | square(tail)] end def add_1([]) do [] end def add_1([head | tail]) do [head + 1 | add_1(tail)] end end
13.954545
32
0.527687
e9dd10c51e7f1f5ae4e0e28ecbe710a1a6881958
325
exs
Elixir
priv/repo/migrations/20171224203039_create_vanity.exs
kevinastone/phoenixbin
8b7326b5de1fe9961c1a2d7971a3d4abe7178829
[ "MIT" ]
18
2015-11-18T09:52:34.000Z
2021-04-27T19:38:08.000Z
priv/repo/migrations/20171224203039_create_vanity.exs
kevinastone/phoenixbin
8b7326b5de1fe9961c1a2d7971a3d4abe7178829
[ "MIT" ]
3
2017-01-11T18:55:39.000Z
2021-06-15T05:46:34.000Z
priv/repo/migrations/20171224203039_create_vanity.exs
kevinastone/phoenixbin
8b7326b5de1fe9961c1a2d7971a3d4abe7178829
[ "MIT" ]
7
2016-08-17T10:24:20.000Z
2020-07-10T13:00:36.000Z
defmodule Requestbox.Repo.Migrations.CreateVanity do use Ecto.Migration def change do create table(:vanity) do add(:name, :string, null: false) add(:session_id, references(:sessions), on_delete: :delete_all, null: false) timestamps() end create(unique_index(:vanity, [:name])) end...
20.3125
82
0.68
e9dd525027336fcd02eaf42be81f18b7d38d8779
365
exs
Elixir
apps/exsemantica_phx/priv/repo/seeds.exs
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
1
2021-09-11T15:46:04.000Z
2021-09-11T15:46:04.000Z
apps/exsemantica_phx/priv/repo/seeds.exs
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "Apache-2.0" ]
4
2021-01-18T00:49:02.000Z
2022-02-23T05:18:37.000Z
apps/exsemantica_phx/priv/repo/seeds.exs
Chlorophytus/exsemantica
f1c64cb8ae0543e5a2f015a65071d81d57fa3224
[ "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: # # ExsemanticaPhx.Repo.insert!(%ExsemanticaPhx.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on...
30.416667
63
0.717808
e9dd79d3c4d63f9f888e2c662bf221cb8f40cf5b
1,988
exs
Elixir
examples/example-phx-1_2/config/prod.exs
devshane/thesis-phoenix
afe22a25542f91e15cfffb1e93ff8d833a64c25b
[ "MIT" ]
681
2016-06-21T20:49:21.000Z
2022-02-19T04:08:38.000Z
examples/example-phx-1_2/config/prod.exs
devshane/thesis-phoenix
afe22a25542f91e15cfffb1e93ff8d833a64c25b
[ "MIT" ]
125
2016-06-21T21:14:49.000Z
2020-12-12T20:15:48.000Z
examples/example-phx-1_2/config/prod.exs
devshane/thesis-phoenix
afe22a25542f91e15cfffb1e93ff8d833a64c25b
[ "MIT" ]
76
2016-09-06T03:40:55.000Z
2022-01-20T21:29:22.000Z
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
32.064516
67
0.71328
e9dda1b905f397461b20726048795d08ca9d4b2d
1,424
ex
Elixir
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/timing.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/timing.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/page_speed_online/lib/google_api/page_speed_online/v5/model/timing.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...
30.297872
93
0.733848
e9ddc1f1e579a88c2fcebe8c91fe57bf4bcbde2a
156
ex
Elixir
hello/lib/hello_web/views/cms/page_view.ex
Ogiwara-CostlierRain464/Elixir
498d0aa7f1b66ed1674b89c0fec4a5cb34234a33
[ "MIT" ]
null
null
null
hello/lib/hello_web/views/cms/page_view.ex
Ogiwara-CostlierRain464/Elixir
498d0aa7f1b66ed1674b89c0fec4a5cb34234a33
[ "MIT" ]
null
null
null
hello/lib/hello_web/views/cms/page_view.ex
Ogiwara-CostlierRain464/Elixir
498d0aa7f1b66ed1674b89c0fec4a5cb34234a33
[ "MIT" ]
null
null
null
defmodule HelloWeb.CMS.PageView do use HelloWeb, :view alias Hello.CMS def author_name(%CMS.Page{author: author}) do author.user.name end end
15.6
47
0.724359
e9de034faa47f21e3c82cf557724c1ae1b519b24
1,486
ex
Elixir
apps/playground_web/lib/playground_web/views/error_helpers.ex
kimlindholm/elixir_playground
2a44404996b98d88e40faaee4f6b3a546618a1fd
[ "MIT" ]
null
null
null
apps/playground_web/lib/playground_web/views/error_helpers.ex
kimlindholm/elixir_playground
2a44404996b98d88e40faaee4f6b3a546618a1fd
[ "MIT" ]
null
null
null
apps/playground_web/lib/playground_web/views/error_helpers.ex
kimlindholm/elixir_playground
2a44404996b98d88e40faaee4f6b3a546618a1fd
[ "MIT" ]
null
null
null
defmodule PlaygroundWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_t...
33.022222
79
0.672275
e9de3c2acfb58d2695ee5c43dff8aca4b0f7709f
6,284
ex
Elixir
lib/elixir_ex_aliyun_ots_table_store_batch_get_row_response.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
null
null
null
lib/elixir_ex_aliyun_ots_table_store_batch_get_row_response.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
1
2022-02-08T06:37:02.000Z
2022-02-08T06:37:02.000Z
lib/elixir_ex_aliyun_ots_table_store_batch_get_row_response.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
2
2022-01-24T06:13:03.000Z
2022-01-24T08:33:41.000Z
# credo:disable-for-this-file defmodule(ExAliyunOts.TableStore.BatchGetRowResponse) do @moduledoc false ( defstruct(tables: []) ( ( @spec encode(struct) :: {:ok, iodata} | {:error, any} def(encode(msg)) do try do {:ok, encode!(msg)} rescue e...
26.854701
97
0.497454
e9de3ee5c7cfa83ffeabedaaeafd85815818c917
1,720
ex
Elixir
lib/master_proxy.ex
tinfoil/master_proxy
9363885007a6fea06055ff9bb409cca6feccf749
[ "MIT" ]
1
2022-01-16T13:13:28.000Z
2022-01-16T13:13:28.000Z
lib/master_proxy.ex
tinfoil/master_proxy
9363885007a6fea06055ff9bb409cca6feccf749
[ "MIT" ]
1
2020-03-10T18:19:22.000Z
2020-03-10T18:19:22.000Z
lib/master_proxy.ex
tinfoil/master_proxy
9363885007a6fea06055ff9bb409cca6feccf749
[ "MIT" ]
null
null
null
defmodule MasterProxy do @moduledoc false use Supervisor import Supervisor.Spec, warn: false require Logger def child_spec(opts) do %{ id: opts[:name] || __MODULE__, start: {__MODULE__, :start_link, [opts]} } end def init(opts), do: {:ok, opts} def start_link(opts) do opts = K...
29.152542
95
0.606395
e9de73861211981f72b71dcbc95846fecd27ff05
12,185
ex
Elixir
lib/absinthe/plug/graphiql.ex
Adzz/absinthe_plug
6fc54f7afad881e1a4adbce39d4e9efe396e5bff
[ "MIT" ]
null
null
null
lib/absinthe/plug/graphiql.ex
Adzz/absinthe_plug
6fc54f7afad881e1a4adbce39d4e9efe396e5bff
[ "MIT" ]
null
null
null
lib/absinthe/plug/graphiql.ex
Adzz/absinthe_plug
6fc54f7afad881e1a4adbce39d4e9efe396e5bff
[ "MIT" ]
null
null
null
defmodule Absinthe.Plug.GraphiQL do @moduledoc """ Provides a GraphiQL interface. ## Examples The examples here are shown in Serve the GraphiQL "advanced" interface at `/graphiql`, but only in development: if Mix.env == :dev do forward "/graphiql", to: Absinthe.Plug.GraphiQL, ...
28.670588
141
0.628724
e9de940ffa66d5b6c51e6a143ebc3bfb52e63f22
946
ex
Elixir
lib/mix/lib/mix/remote_converger.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/mix/lib/mix/remote_converger.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/remote_converger.ex
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
defmodule Mix.RemoteConverger do @moduledoc false use Behaviour # A remote converger returns updated dependencies with # extra information that can be used during mix's converging. # Useful for things like external package managers @doc """ Return `true` if given dependency is handled by remote conver...
22
63
0.69556
e9deeba80c6be8e6069c24ad0f3451f9e139078b
7,907
ex
Elixir
lib/lti_1p3/data_providers/memory_provider.ex
Simon-Initiative/lti_1p3
e599a61cdaa00fe20eda19dab88b80324580123f
[ "MIT" ]
4
2021-02-19T13:13:49.000Z
2021-11-11T09:02:27.000Z
lib/lti_1p3/data_providers/memory_provider.ex
Simon-Initiative/lti_1p3
e599a61cdaa00fe20eda19dab88b80324580123f
[ "MIT" ]
3
2021-02-15T22:46:06.000Z
2021-03-30T21:26:55.000Z
lib/lti_1p3/data_providers/memory_provider.ex
Simon-Initiative/lti_1p3
e599a61cdaa00fe20eda19dab88b80324580123f
[ "MIT" ]
null
null
null
defmodule Lti_1p3.DataProviders.MemoryProvider do use GenServer alias Lti_1p3.DataProvider alias Lti_1p3.PlatformDataProvider alias Lti_1p3.ToolDataProvider alias Lti_1p3.DataProviderError alias Lti_1p3.Jwk alias Lti_1p3.Nonce alias Lti_1p3.Tool.Registration alias Lti_1p3.Tool.Deployment alias Lti_...
25.672078
122
0.646389
e9def44d9dc936be6ca4a009b76fb09d0a0e1e5d
194
ex
Elixir
lib/bitcoin/node/storage/engine/postgres/models/tx.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
2
2019-08-12T04:53:57.000Z
2019-09-03T03:47:33.000Z
lib/bitcoin/node/storage/engine/postgres/models/tx.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
lib/bitcoin/node/storage/engine/postgres/models/tx.ex
coinscript/bitcoinsv-elixir
2dda03c81edc5662743ed2922abb5b1910d9c09a
[ "Apache-2.0" ]
null
null
null
defmodule Bitcoin.Node.Storage.Engine.Postgres.Models.Tx do use Ecto.Schema schema "tx" do field(:hash, :binary) field(:version, :integer) field(:lock_time, :integer) end end
19.4
59
0.695876
e9df2a52e11f674aa38df52570551dba34c98207
1,189
ex
Elixir
template/$PROJECT_NAME$/lib/$PROJECT_NAME$/accounts/user.ex
luke-hawk/degree
9274fc979ea0715d3bdf65a0adb14fdd2419db9a
[ "MIT" ]
3
2019-08-01T08:28:24.000Z
2019-08-18T14:50:32.000Z
template/$PROJECT_NAME$/lib/$PROJECT_NAME$/accounts/user.ex
luke-hawk/degree
9274fc979ea0715d3bdf65a0adb14fdd2419db9a
[ "MIT" ]
3
2021-03-09T12:14:26.000Z
2022-02-10T18:46:15.000Z
template/$PROJECT_NAME$/lib/$PROJECT_NAME$/accounts/user.ex
luke-hawk/degree
9274fc979ea0715d3bdf65a0adb14fdd2419db9a
[ "MIT" ]
null
null
null
defmodule <%= @project_name_camel_case %>.Accounts.User do use Ecto.Schema import Ecto.Changeset @moduledoc false schema "users" do field(:name, :string) field(:email, :string) field(:role, :string) field(:password_hash, :string) field(:password, :string, virtual: true) field(:password...
25.847826
73
0.650126
e9df2f47e7690f163ae706aacf59a12ce822e638
1,178
ex
Elixir
lib/prom_ex/grafana_client/connection.ex
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
354
2020-10-21T06:27:15.000Z
2022-03-29T13:22:46.000Z
lib/prom_ex/grafana_client/connection.ex
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
111
2020-11-25T21:27:13.000Z
2022-03-28T10:42:59.000Z
lib/prom_ex/grafana_client/connection.ex
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
45
2020-12-31T20:37:11.000Z
2022-03-18T13:12:21.000Z
defmodule PromEx.GrafanaClient.Connection do @moduledoc """ This struct encapsulates all of the data necessary to connect to a Grafana instance. """ @type t :: %__MODULE__{ finch_process: module(), base_url: String.t(), authorization: String.t() } defstruct finch_proc...
27.395349
101
0.65365
e9df3aba064807d91ff6c3e1294cb085e88f2d46
1,995
ex
Elixir
apps/fz_http/lib/fz_http/oidc/refresher.ex
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
null
null
null
apps/fz_http/lib/fz_http/oidc/refresher.ex
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
null
null
null
apps/fz_http/lib/fz_http/oidc/refresher.ex
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
null
null
null
defmodule FzHttp.OIDC.Refresher do @moduledoc """ Worker module for refreshing OIDC connections """ use GenServer, restart: :temporary import Ecto.{Changeset, Query} alias FzHttp.{OIDC, OIDC.Connection, Repo, Users} require Logger def start_link(init_opts) do GenServer.start_link(__MODULE__, init_...
25.253165
89
0.641604
e9dfb48cc8b21cc0d5cf14ec3e44de2352fda125
2,788
ex
Elixir
test/support/cluster.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
328
2017-05-05T15:19:46.000Z
2022-03-11T10:52:45.000Z
test/support/cluster.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
83
2017-04-30T10:36:15.000Z
2019-10-14T13:14:34.000Z
test/support/cluster.ex
gabheadz/annon.api
9921d98e44c8472c133554dd55ea649c0f55726c
[ "MIT" ]
29
2017-05-02T14:36:50.000Z
2021-09-03T13:36:17.000Z
defmodule Annon.Cluster do @moduledoc false # Holds a single public function spawn/0, that spawns a cluster # of two nodes: 'node1@127.0.0.1', 'node2@127.0.0.1' def spawn do # Turn node into a distributed node with the given long name :net_kernel.start([:"primary@127.0.0.1"]) # Allow spawned nodes...
29.978495
102
0.640961
e9dfdf3b325fd35debb0876ca337a0bfb0a0c58b
434
exs
Elixir
priv/repo/migrations/one_institution/20191002182426_create_procedures.exs
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
6
2019-07-16T19:31:23.000Z
2021-06-05T19:01:05.000Z
priv/repo/migrations/one_institution/20191002182426_create_procedures.exs
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
null
null
null
priv/repo/migrations/one_institution/20191002182426_create_procedures.exs
jesseshieh/crit19
0bba407fea09afed72cbb90ca579ba34c537edef
[ "MIT" ]
3
2020-02-24T23:38:27.000Z
2020-08-01T23:50:17.000Z
defmodule Crit.Repo.Migrations.CreateProcedures do use Ecto.Migration def change do create table(:procedures) do add :name, :citext, null: false # Species cannot be deleted, for the sake of consistency. add :species_id, references("species", on_delete: :restrict), null: false timestamp...
25.529412
79
0.691244
e9e017b2a9e04f03d34eee324c214840bdb40744
1,192
ex
Elixir
coherence_demo_confirm_members/lib/coherence_demo_web/channels/user_socket.ex
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
coherence_demo_confirm_members/lib/coherence_demo_web/channels/user_socket.ex
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
coherence_demo_confirm_members/lib/coherence_demo_web/channels/user_socket.ex
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
defmodule CoherenceDemoWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", CoherenceDemoWeb.RoomChannel ## Transports transport(:websocket, Phoenix.Transports.WebSocket) # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to...
31.368421
88
0.707215
e9e0254890656b150b6526a657fd6b1fc0f93c69
14,014
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/accounts.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/accounts.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/accounts.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...
47.026846
472
0.623091
e9e025d881a5e7082c7f7e3cc6a721adb73bf279
25,392
ex
Elixir
lib/elixir/lib/calendar/iso.ex
electricshaman/elixir
a4d1e651a595bebc1fcf4b224039044b8f182590
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/calendar/iso.ex
electricshaman/elixir
a4d1e651a595bebc1fcf4b224039044b8f182590
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/calendar/iso.ex
electricshaman/elixir
a4d1e651a595bebc1fcf4b224039044b8f182590
[ "Apache-2.0" ]
null
null
null
defmodule Calendar.ISO do @moduledoc """ A calendar implementation that follows to ISO 8601. This calendar implements the proleptic Gregorian calendar and is therefore compatible with the calendar used in most countries today. The proleptic means the Gregorian rules for leap years are applied for all time,...
29.943396
104
0.637996
e9e0362f1f79e50743a678fa8fbdb38bdc45c22b
1,887
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/text_property.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/vision/lib/google_api/vision/v1/model/text_property.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vision/lib/google_api/vision/v1/model/text_property.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...
37.74
163
0.742978
e9e03886552078dedd8162b08c871273794f5558
1,166
ex
Elixir
lib/code_santa/config_helpers.ex
Blond11516/code-santa
0b5ac9a2bad1ce692e8b9f1b94de8eb497488c74
[ "MIT" ]
null
null
null
lib/code_santa/config_helpers.ex
Blond11516/code-santa
0b5ac9a2bad1ce692e8b9f1b94de8eb497488c74
[ "MIT" ]
null
null
null
lib/code_santa/config_helpers.ex
Blond11516/code-santa
0b5ac9a2bad1ce692e8b9f1b94de8eb497488c74
[ "MIT" ]
null
null
null
defmodule CodeSanta.ConfigHelpers do @type config_type :: :string | :integer | :boolean | :json @doc """ Get value from environment variable, converting it to the given type if needed. If no default value is given, or `:no_default` is given as the default, an error is raised if the variable is not set. ""...
33.314286
115
0.679245
e9e03946c1c40e91ef0b4f038a9ae9b8eded19fb
3,465
exs
Elixir
apps/neoscan/priv/repo/migrations/20180607000013_address_transaction_balances.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan/priv/repo/migrations/20180607000013_address_transaction_balances.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan/priv/repo/migrations/20180607000013_address_transaction_balances.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule Neoscan.Repo.Migrations.AddressTransactionBalances do use Ecto.Migration def change do create table(:address_transaction_balances, primary_key: false) do add(:address_hash, :binary, primary_key: true) add(:transaction_id, :bigint, primary_key: true) add(:asset_hash, :binary, primary...
38.076923
179
0.645599
e9e068c502d2bfb3759c61dfec3e13500b5d3bf7
2,066
ex
Elixir
lib/perf/connection_pool.ex
bancolombia/perf-analizer
16a90dad045413ee168fd2a45f975f3c03099fb3
[ "MIT" ]
1
2020-03-03T18:17:37.000Z
2020-03-03T18:17:37.000Z
lib/perf/connection_pool.ex
bancolombia/perf-analizer
16a90dad045413ee168fd2a45f975f3c03099fb3
[ "MIT" ]
3
2020-02-20T18:53:59.000Z
2020-02-20T19:00:06.000Z
lib/perf/connection_pool.ex
bancolombia/perf-analizer
16a90dad045413ee168fd2a45f975f3c03099fb3
[ "MIT" ]
null
null
null
defmodule Perf.ConnectionPool do use GenServer require Logger def start_link({scheme, host, port}) do GenServer.start_link(__MODULE__, {scheme, host, port}, name: __MODULE__) end def ensure_capacity(capacity) do GenServer.call(__MODULE__, {:ensure_capacity, capacity}) end def get_connection() d...
28.30137
106
0.668441
e9e06ba6b9a0237794f8d0a96ebbc47782568211
1,992
ex
Elixir
lib/events_tools/accounts/profile.ex
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
lib/events_tools/accounts/profile.ex
Apps-Team/conferencetools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
6
2017-10-05T20:16:34.000Z
2017-10-05T20:36:11.000Z
lib/events_tools/accounts/profile.ex
apps-team/events-tools
ce2e16a3e4a521dc4682e736a209e6dd380c050d
[ "Apache-2.0" ]
null
null
null
defmodule EventsTools.Accounts.Profile do use Ecto.Schema use Arc.Ecto.Schema import Ecto.Changeset alias EventsTools.Accounts.Profile alias EventsTools.SlugsProfiles @derive {Phoenix.Param, key: :slug} schema "profiles" do field :bio, :string field :country, :string field :facebook, :string ...
31.125
175
0.716867
e9e07bb140c9bb79b0be17469c3cfbf9e6b3cd88
11,016
exs
Elixir
test/block_keys/mnemonic_test.exs
nicocaille/block_keys
03c4c0dc1528169616706ae97234317f4a7b4d9b
[ "Apache-2.0" ]
20
2019-01-15T20:00:20.000Z
2021-12-15T02:40:22.000Z
test/block_keys/mnemonic_test.exs
nicocaille/block_keys
03c4c0dc1528169616706ae97234317f4a7b4d9b
[ "Apache-2.0" ]
13
2019-03-04T16:56:26.000Z
2021-11-02T01:11:15.000Z
test/block_keys/mnemonic_test.exs
nicocaille/block_keys
03c4c0dc1528169616706ae97234317f4a7b4d9b
[ "Apache-2.0" ]
9
2019-03-09T08:08:06.000Z
2021-06-22T08:22:01.000Z
defmodule MnemonicTest do use ExUnit.Case, async: true alias BlockKeys.Mnemonic describe "phrase_from_entropy" do test "it generates a phrase given 32 bytes of entropy" do expected_phrase = "safe result wire cattle sauce luggage couple legend pause rather employ pear trigger live daring unlock...
39.768953
164
0.733751
e9e08ebb96c885225544cded507c69d3ebc8cfa3
2,303
ex
Elixir
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/gc_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/gc_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/gc_rule.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.125
197
0.72297
e9e0981941051c41cb9b929fef24de550345966d
88
exs
Elixir
athasha_wui/test/athasha_wui_web/views/page_view_test.exs
samuelventura/go-sdk
7209256f70d39d142a2a9859061ac7ec6c19b2bc
[ "Unlicense" ]
null
null
null
athasha_wui/test/athasha_wui_web/views/page_view_test.exs
samuelventura/go-sdk
7209256f70d39d142a2a9859061ac7ec6c19b2bc
[ "Unlicense" ]
null
null
null
athasha_wui/test/athasha_wui_web/views/page_view_test.exs
samuelventura/go-sdk
7209256f70d39d142a2a9859061ac7ec6c19b2bc
[ "Unlicense" ]
null
null
null
defmodule Athasha.WuiWeb.PageViewTest do use Athasha.WuiWeb.ConnCase, async: true end
22
42
0.818182
e9e0b3a60024c14483794fd34e461d8715492701
1,550
exs
Elixir
config/config.example.exs
sjava/ex_wechat
521e119be8cc960453002c099d57f7474bfd7735
[ "MIT" ]
null
null
null
config/config.example.exs
sjava/ex_wechat
521e119be8cc960453002c099d57f7474bfd7735
[ "MIT" ]
null
null
null
config/config.example.exs
sjava/ex_wechat
521e119be8cc960453002c099d57f7474bfd7735
[ "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.904762
73
0.744516
e9e0d6d2b883e6127bb6f697fffd0769333a637d
4,052
ex
Elixir
lib/livebook/application.ex
HeavyBR/livebook
887a4ad0d15aac696456b9c78aae3c861d3f7609
[ "Apache-2.0" ]
null
null
null
lib/livebook/application.ex
HeavyBR/livebook
887a4ad0d15aac696456b9c78aae3c861d3f7609
[ "Apache-2.0" ]
null
null
null
lib/livebook/application.ex
HeavyBR/livebook
887a4ad0d15aac696456b9c78aae3c861d3f7609
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do ensure_distribution!() validate_hostname_resolution!() set_cookie() children = [ # Start the Teleme...
29.362319
143
0.651283
e9e0e8258c76806afc2d5f03870510fb8b5b5223
1,846
exs
Elixir
clients/compute/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/compute/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/compute/mix.exs
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
27.552239
98
0.656013
e9e0f9943432cf7b56f8c3c4d104a8dce30b2a81
1,484
ex
Elixir
lib/exsolr/config.ex
heyorbit/exsolr
88ebd29e17709ea3878cb78d0f228f745877fc29
[ "MIT" ]
null
null
null
lib/exsolr/config.ex
heyorbit/exsolr
88ebd29e17709ea3878cb78d0f228f745877fc29
[ "MIT" ]
null
null
null
lib/exsolr/config.ex
heyorbit/exsolr
88ebd29e17709ea3878cb78d0f228f745877fc29
[ "MIT" ]
null
null
null
defmodule Exsolr.Config do @moduledoc """ Access the Exsolr configurations """ @doc """ Returns a map containing the solr connection info ## Examples iex> Exsolr.info %{hostname: "localhost", port: 8983, core: "elixir_test"} """ def info do %{ hostname: hostname, port: por...
20.901408
63
0.643531
e9e0fccb05bb5c88724da0731e677bc9933df8c9
134
exs
Elixir
test/test_helper.exs
kianmeng/guardian_db
1f3a366805d820504e0c7f160a1848b1f1bfc7c3
[ "MIT" ]
241
2017-01-09T04:44:26.000Z
2022-03-25T13:46:29.000Z
test/test_helper.exs
kianmeng/guardian_db
1f3a366805d820504e0c7f160a1848b1f1bfc7c3
[ "MIT" ]
99
2017-01-10T15:42:10.000Z
2022-03-16T02:21:22.000Z
test/test_helper.exs
kianmeng/guardian_db
1f3a366805d820504e0c7f160a1848b1f1bfc7c3
[ "MIT" ]
85
2017-01-09T10:17:46.000Z
2021-06-15T18:32:11.000Z
{:ok, _pid} = Guardian.DB.TestSupport.Repo.start_link() ExUnit.start() Mox.defmock(Guardian.DB.MockAdapter, for: Guardian.DB.Adapter)
33.5
62
0.768657
e9e11be7057b4cc5b4e8a55e6a8a593312aba5b8
3,730
exs
Elixir
test/jerboa/format/body/attribute/error_code_test.exs
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
14
2016-12-22T10:38:34.000Z
2021-03-11T23:20:26.000Z
test/jerboa/format/body/attribute/error_code_test.exs
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
94
2016-12-22T13:13:29.000Z
2021-02-10T14:22:32.000Z
test/jerboa/format/body/attribute/error_code_test.exs
ACollectionOfAtoms/jerboa
16000d450bb60b544b5c91f0fd7540a31b6c90b8
[ "Apache-2.0" ]
6
2017-04-03T20:23:00.000Z
2022-03-06T10:14:30.000Z
defmodule Jerboa.Format.Body.Attribute.ErrorCodeTest do use ExUnit.Case use Quixir alias Jerboa.Format.Body.Attribute.ErrorCode alias Jerboa.Format.ErrorCode.{FormatError, LengthError} alias Jerboa.Format.Meta describe "encode/1" do test "ERROR-CODE attribute with valid error code and reason" do ...
28.045113
88
0.634584
e9e13252c612317ba69aa4bf5ace35bfb0673a1b
4,562
exs
Elixir
test/ttt_test.exs
mrfishball/TicTacToeElixir
e26c55b53f118a1cddb141db3d1ee6b969b756e0
[ "MIT" ]
null
null
null
test/ttt_test.exs
mrfishball/TicTacToeElixir
e26c55b53f118a1cddb141db3d1ee6b969b756e0
[ "MIT" ]
1
2018-07-19T17:52:53.000Z
2018-07-19T18:11:24.000Z
test/ttt_test.exs
mrfishball/TicTacToeElixir
e26c55b53f118a1cddb141db3d1ee6b969b756e0
[ "MIT" ]
null
null
null
defmodule TTTTest do alias TTT.Console.Board, as: Board use ExUnit.Case import ExUnit.CaptureIO test "Game will automatically switch turn to 'o' after 'x' has played and vice versa" do player_one = Player.human({"Steven", :x}) player_two = Player.human({"Connie", :o}) game = Game.new_game(player_on...
36.790323
133
0.634152
e9e15ad8bb764d5b5ed3c7728e4c07423dbf41ac
1,666
exs
Elixir
mix.exs
surgeventures/plug_devise_session
19779f68ce5367d8ac7a92d30d5ed4ce53621cd1
[ "MIT" ]
4
2018-01-16T12:25:52.000Z
2020-01-19T03:07:52.000Z
mix.exs
surgeventures/plug_devise_session
19779f68ce5367d8ac7a92d30d5ed4ce53621cd1
[ "MIT" ]
null
null
null
mix.exs
surgeventures/plug_devise_session
19779f68ce5367d8ac7a92d30d5ed4ce53621cd1
[ "MIT" ]
2
2018-09-19T00:11:14.000Z
2019-09-10T07:00:06.000Z
defmodule PlugDeviseSession.Mixfile do use Mix.Project def project do [ app: :plug_devise_session, version: "1.0.0", elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), ...
24.865672
75
0.558223
e9e164d1f2b9846bcb9a9a5602aec8381441da78
2,452
ex
Elixir
lib/slackrtm.ex
semeyon/ShortBot
457c6ec5203fa18798b06f892625f5dfe0a3fba0
[ "MIT" ]
1
2017-07-18T15:22:06.000Z
2017-07-18T15:22:06.000Z
lib/slackrtm.ex
semeyon/ShortBot
457c6ec5203fa18798b06f892625f5dfe0a3fba0
[ "MIT" ]
null
null
null
lib/slackrtm.ex
semeyon/ShortBot
457c6ec5203fa18798b06f892625f5dfe0a3fba0
[ "MIT" ]
null
null
null
defmodule Shortbot.SlackRtm do @moduledoc """ Slack bot module """ use Slack use GenServer require Logger import Shortbot.UriHandler @slack_token Application.get_env(:shortbot, :slack_token) # API def start_link do Slack.Bot.start_link(__MODULE__, [], @slack_token, %{name: :slack_bot}) ...
27.244444
93
0.597879
e9e17efc6fc38272c17eab21b97f2e90e7825c99
4,370
ex
Elixir
elixir/custom-set/lib/custom_set.ex
jiegillet/exercism
bf901cd477aede9d06f322dae0763c968688806d
[ "MIT" ]
null
null
null
elixir/custom-set/lib/custom_set.ex
jiegillet/exercism
bf901cd477aede9d06f322dae0763c968688806d
[ "MIT" ]
null
null
null
elixir/custom-set/lib/custom_set.ex
jiegillet/exercism
bf901cd477aede9d06f322dae0763c968688806d
[ "MIT" ]
null
null
null
defmodule CustomSet do alias CustomSet, as: Set defstruct [:value, :left, :right, size: 0] @opaque t :: %Set{value: nil, left: nil, right: nil, size: 0} | %Set{value: any, left: t, right: t, size: pos_integer} @spec new(Enum.t()) :: t def new(enumerable), do: Enum.reduce(enumerable,...
31.666667
97
0.61373
e9e1a134040c2be40113a53a7b5f068bd2069f3c
12,887
exs
Elixir
test/oli_web/controllers/delivery_controller_test.exs
ctipperCMU/oli-torus
231e8afc9ec6179e6081f327f4ebeb497703bfb8
[ "MIT" ]
null
null
null
test/oli_web/controllers/delivery_controller_test.exs
ctipperCMU/oli-torus
231e8afc9ec6179e6081f327f4ebeb497703bfb8
[ "MIT" ]
null
null
null
test/oli_web/controllers/delivery_controller_test.exs
ctipperCMU/oli-torus
231e8afc9ec6179e6081f327f4ebeb497703bfb8
[ "MIT" ]
null
null
null
defmodule OliWeb.DeliveryControllerTest do use OliWeb.ConnCase alias Oli.Accounts alias OliWeb.Common.LtiSession alias Oli.Publishing alias Oli.Seeder alias Lti_1p3.Tool.ContextRoles alias Oli.Delivery.Sections describe "delivery_controller index" do setup [:setup_lti_session] test "handles s...
34.183024
105
0.63436
e9e2210a92428184cbdbaf13d1aa6924b47c37e1
6,288
ex
Elixir
lib/flamelex/gui/root_scene.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
10
2021-03-02T20:05:13.000Z
2022-03-14T21:10:39.000Z
lib/flamelex/gui/root_scene.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
2
2021-12-14T18:29:44.000Z
2021-12-23T20:38:27.000Z
lib/flamelex/gui/root_scene.ex
JediLuke/flamelex
b38d1171b8f93375d8dc59f1710442860b6c8580
[ "Apache-2.0" ]
2
2021-12-05T20:41:26.000Z
2021-12-26T01:46:42.000Z
defmodule Flamelex.GUI.RootScene do @moduledoc false use Scenic.Scene use Flamelex.GUI.ScenicEventsDefinitions import Scenic.Primitives import Scenic.Components require Logger # NOTE: # This Scenic.Scene contains the root graph. Re-drawing anything which # is rendered at the root level, required upda...
32.246154
104
0.65617
e9e23bd2e3ae21537ec948ce188f876f41f377f1
1,842
ex
Elixir
example/lib/phoenix_datatables_example_web.ex
smartmetals/phoenix_datatables
40c9074742ee7643327ac735defa9960abc50250
[ "MIT" ]
12
2017-10-20T21:08:33.000Z
2021-11-08T13:04:43.000Z
example/lib/phoenix_datatables_example_web.ex
smartmetals/phoenix_datatables
40c9074742ee7643327ac735defa9960abc50250
[ "MIT" ]
8
2017-11-07T19:53:02.000Z
2021-01-18T22:15:35.000Z
example/lib/phoenix_datatables_example_web.ex
smartmetals/phoenix_datatables
40c9074742ee7643327ac735defa9960abc50250
[ "MIT" ]
7
2018-07-03T08:18:17.000Z
2020-05-28T03:06:02.000Z
defmodule PhoenixDatatablesExampleWeb 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 PhoenixDatatablesExampleWeb, :controller use PhoenixDatatablesExampleWeb, :view The definitions be...
26.695652
77
0.716069
e9e285bca0d744ed1f79676197e52a9235d8d1f6
1,161
ex
Elixir
lib/ez/web/channels/user_socket.ex
thewazir/ez
97ecadae39bfa6f80ba151270578536647bca0a8
[ "MIT" ]
null
null
null
lib/ez/web/channels/user_socket.ex
thewazir/ez
97ecadae39bfa6f80ba151270578536647bca0a8
[ "MIT" ]
null
null
null
lib/ez/web/channels/user_socket.ex
thewazir/ez
97ecadae39bfa6f80ba151270578536647bca0a8
[ "MIT" ]
null
null
null
defmodule Ez.Web.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", Ez.Web.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authentic...
30.552632
83
0.697674
e9e297509e79015dbb4f8e09ca77ae37118d0bb9
489
exs
Elixir
config/test.exs
joonatank/darfey
71ba0a41795bf97c35e940a4659dfbdf4805c46f
[ "MIT" ]
null
null
null
config/test.exs
joonatank/darfey
71ba0a41795bf97c35e940a4659dfbdf4805c46f
[ "MIT" ]
null
null
null
config/test.exs
joonatank/darfey
71ba0a41795bf97c35e940a4659dfbdf4805c46f
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :darfey, DarfeyWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :darfey, Darfey.Repo, ...
24.45
56
0.732106
e9e2c70c103c7d4dc14e26f94f79885b979d7b24
8,007
ex
Elixir
clients/content/lib/google_api/content/v2/model/order.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/content/lib/google_api/content/v2/model/order.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v2/model/order.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...
72.790909
1,246
0.69689
e9e32dc69617dde1b02ce1fcc3eae1d4c4059504
47,010
exs
Elixir
test/redshift_ecto_test.exs
av-ast/redshift_ecto
af160738f05e225c53cfdeaac16e9b4be8a87c85
[ "Apache-2.0" ]
1
2020-01-06T16:35:05.000Z
2020-01-06T16:35:05.000Z
test/redshift_ecto_test.exs
av-ast/redshift_ecto
af160738f05e225c53cfdeaac16e9b4be8a87c85
[ "Apache-2.0" ]
null
null
null
test/redshift_ecto_test.exs
av-ast/redshift_ecto
af160738f05e225c53cfdeaac16e9b4be8a87c85
[ "Apache-2.0" ]
null
null
null
Code.require_file("../deps/ecto/integration_test/support/types.exs", __DIR__) defmodule RedshiftEctoTest do use ExUnit.Case import Ecto.Query alias Ecto.Queryable alias RedshiftEcto.Connection, as: SQL defmodule Schema do use Ecto.Schema schema "schema" do field(:x, :integer) field(:y...
35.667678
162
0.555478
e9e34683cfc1d6a7681c2607348145e3da0ee96e
1,245
exs
Elixir
test/test_helper.exs
benpritchard/graphd
a301eceb4e686cb615d281590872404d1afa2b14
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
benpritchard/graphd
a301eceb4e686cb615d281590872404d1afa2b14
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
benpritchard/graphd
a301eceb4e686cb615d281590872404d1afa2b14
[ "Apache-2.0" ]
null
null
null
defmodule Graphd.TestHelper do @graphd_adapter :"#{System.get_env("GRAPHD_ADAPTER", "grpc")}" @offset String.to_integer(System.get_env("GRAPHD_PORT_OFFSET", "2")) def opts() do case @graphd_adapter do :http -> [transport: :http, port: 8080 + @offset] :grpc -> [transport: :grpc, port: 9080 + @offs...
24.9
73
0.657028
e9e35f178994c1477c33aa6bc79ce8a85740e868
10,458
ex
Elixir
lib/aws/generated/serverless_application_repository.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/serverless_application_repository.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/serverless_application_repository.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
1
2020-10-28T08:56:54.000Z
2020-10-28T08:56:54.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.ServerlessApplicationRepository do @moduledoc """ The AWS Serverless Application Repository makes it easy for developers and enterprises to quickly find and deploy serverless applications ...
23.395973
146
0.628227
e9e39d47ca04065ab451ab4d285068ba3f771c0c
3,329
ex
Elixir
test/example_domain/bank_account/bank_account.ex
ThisisGurwinder/commanded
ad7784ce3125022e188ea795771710c4e5e38e71
[ "MIT" ]
null
null
null
test/example_domain/bank_account/bank_account.ex
ThisisGurwinder/commanded
ad7784ce3125022e188ea795771710c4e5e38e71
[ "MIT" ]
null
null
null
test/example_domain/bank_account/bank_account.ex
ThisisGurwinder/commanded
ad7784ce3125022e188ea795771710c4e5e38e71
[ "MIT" ]
null
null
null
defmodule Commanded.ExampleDomain.BankAccount do @moduledoc false defstruct [ account_number: nil, balance: 0, state: nil, ] alias Commanded.ExampleDomain.BankAccount defmodule Commands do defmodule OpenAccount, do: defstruct [:account_number, :initial_balance] defmodule DepositMo...
40.108434
156
0.738961
e9e3a2451711df2d51b9c924b631a83b0cd24075
2,158
exs
Elixir
rel/config/prod.exs
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
17
2019-11-03T03:02:41.000Z
2022-01-13T17:03:32.000Z
rel/config/prod.exs
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
5
2019-11-07T23:26:53.000Z
2020-11-24T21:45:35.000Z
rel/config/prod.exs
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
11
2019-12-04T07:03:16.000Z
2022-01-13T17:03:50.000Z
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
35.377049
102
0.757646
e9e3c63054a06c9b2a2db470ba219a9613c91fdb
309
ex
Elixir
lib/ark_tbw_delegate_server/voter.ex
poka-IT/ark_tbw_delegate_server
c3b238b0967e0e03b078ad8938b33d66cdf0e8c7
[ "MIT" ]
null
null
null
lib/ark_tbw_delegate_server/voter.ex
poka-IT/ark_tbw_delegate_server
c3b238b0967e0e03b078ad8938b33d66cdf0e8c7
[ "MIT" ]
null
null
null
lib/ark_tbw_delegate_server/voter.ex
poka-IT/ark_tbw_delegate_server
c3b238b0967e0e03b078ad8938b33d66cdf0e8c7
[ "MIT" ]
null
null
null
defmodule ArkTbwDelegateServer.Voter do @div 100_000_000 def balance(%{balance: balance}) do balance |> Decimal.div(@div) |> Decimal.to_float end def display(voter) do Bunt.puts([ :white, :faint, " #{voter.address} - Balance: #{balance(voter)}" ]) end end
17.166667
57
0.601942
e9e3e1742401924af44ae2c52024581de125d6b1
1,879
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1/model/instances_list_server_cas_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/sql_admin/lib/google_api/sql_admin/v1/model/instances_list_server_cas_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sql_admin/lib/google_api/sql_admin/v1/model/instances_list_server_cas_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...
35.45283
138
0.720596
e9e3efa524f353f8bd3dcdf0beef1eb2533367ed
2,453
exs
Elixir
integration_test/support/migration.exs
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
integration_test/support/migration.exs
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
integration_test/support/migration.exs
tokafish/ecto
45d23da6faf660303484d0c993930af674685631
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.Migration do use Ecto.Migration def change do create table(:users) do add :name, :text add :custom_id, :uuid timestamps end create table(:posts) do add :title, :string, size: 100 add :counter, :integer add :text, :binary add :bid, :b...
24.53
59
0.616796
e9e40371b81479011388a2a4bf398fb89e919e51
96
exs
Elixir
test/sanbase/utils/map_utils_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
test/sanbase/utils/map_utils_test.exs
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
test/sanbase/utils/map_utils_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.MapUtilsTest do use ExUnit.Case, async: true doctest Sanbase.MapUtils end
19.2
33
0.802083
e9e4085356d97f4ca49328922d665c4d92d8900a
196
exs
Elixir
cryin/test/cryin_web/controllers/page_controller_test.exs
Graveyardillon/cryin
975ef2f2c170351d60b0b9846b0616dc7d32a747
[ "MIT" ]
null
null
null
cryin/test/cryin_web/controllers/page_controller_test.exs
Graveyardillon/cryin
975ef2f2c170351d60b0b9846b0616dc7d32a747
[ "MIT" ]
1
2020-05-18T13:34:20.000Z
2020-05-18T13:34:20.000Z
cryin/test/cryin_web/controllers/page_controller_test.exs
Papillon6814/cryin
975ef2f2c170351d60b0b9846b0616dc7d32a747
[ "MIT" ]
null
null
null
defmodule CryinWeb.PageControllerTest do use CryinWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
21.777778
60
0.673469
e9e4137587c868b2d18532ad9a3f3e6e8a3c3e80
12,771
ex
Elixir
lib/elixir/lib/inspect.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-04-29T12:35:51.000Z
2019-04-29T12:35:51.000Z
lib/elixir/lib/inspect.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/inspect.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
import Kernel, except: [inspect: 1] import Inspect.Algebra alias Code.Identifier defprotocol Inspect do @moduledoc """ The `Inspect` protocol converts an Elixir data structure into an algebra document. This documentation refers to implementing the `Inspect` protocol for your own data structures. To learn m...
28.006579
101
0.634719
e9e420f3089cc1ebdde0ec016aa4b5f0a6ace342
1,620
exs
Elixir
mix.exs
stevedomin/phoenix_swoosh
2ee953397f7179bf866cd9c36c039192de74127a
[ "MIT" ]
null
null
null
mix.exs
stevedomin/phoenix_swoosh
2ee953397f7179bf866cd9c36c039192de74127a
[ "MIT" ]
null
null
null
mix.exs
stevedomin/phoenix_swoosh
2ee953397f7179bf866cd9c36c039192de74127a
[ "MIT" ]
null
null
null
defmodule PhoenixSwoosh.Mixfile do use Mix.Project @source_url "https://github.com/swoosh/phoenix_swoosh" @version "1.0.1" def project do [ app: :phoenix_swoosh, version: @version, elixir: "~> 1.10", name: "Phoenix.Swoosh", build_embedded: Mix.env() == :prod, start_perm...
23.823529
79
0.540123
e9e44dad750b64a5c782d41f8bc3e4b78dff7572
194
exs
Elixir
test/ager_web/controllers/page_controller_test.exs
lulabad/ager
aec17e74819367e634746c8e22fc3584d78286d8
[ "MIT" ]
1
2021-04-04T07:15:07.000Z
2021-04-04T07:15:07.000Z
test/ager_web/controllers/page_controller_test.exs
lulabad/ager
aec17e74819367e634746c8e22fc3584d78286d8
[ "MIT" ]
null
null
null
test/ager_web/controllers/page_controller_test.exs
lulabad/ager
aec17e74819367e634746c8e22fc3584d78286d8
[ "MIT" ]
null
null
null
defmodule AgerWeb.PageControllerTest do use AgerWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
21.555556
60
0.670103
e9e47e73497a05ebeb3a7e664ad1515974f942bf
12,913
exs
Elixir
apps/ewallet_db/test/ewallet_db/transaction_request_test.exs
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/test/ewallet_db/transaction_request_test.exs
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/test/ewallet_db/transaction_request_test.exs
Macavirus/ewallet
ce62177b8bd3f7e72156930d384a1c4c047a3b5b
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.580737
122
0.697437
e9e499b2acb627d0b7894b4ebe60e23a67051772
452
ex
Elixir
apps/admin_api/lib/admin_api/global/plugs/asset_not_found_plug.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/admin_api/lib/admin_api/global/plugs/asset_not_found_plug.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/global/plugs/asset_not_found_plug.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.AssetNotFoundPlug do @moduledoc """ This plug checks if the current request is for an asset and returns 404 if it was not found. """ import Plug.Conn def init(opts), do: opts def call(conn, _opts) do check_asset(conn, {conn.method, Enum.at(conn.path_info, 0)}) end defp check_...
20.545455
76
0.65708
e9e4c32051b6bb49e507a8d8a2e2b5e52c137c30
2,753
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/authentication_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/service_management/lib/google_api/service_management/v1/model/authentication_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_management/lib/google_api/service_management/v1/model/authentication_rule.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...
49.160714
344
0.749728
e9e4d2d8cb7c3ed14ca99bf6d57d5eb3ac78d820
1,677
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_requested_risk_analysis_options.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_requested_risk_analysis_options.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_requested_risk_analysis_options.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.680851
147
0.768634
e9e4e89eb07d16c0daa711b22b3cd0f1996adad7
4,530
ex
Elixir
lib/horizons_web/controllers/user_auth.ex
BCrawfordScott/horizons
04ee6ba579517e6a35c1347de4be1bceea8e4b36
[ "MIT" ]
null
null
null
lib/horizons_web/controllers/user_auth.ex
BCrawfordScott/horizons
04ee6ba579517e6a35c1347de4be1bceea8e4b36
[ "MIT" ]
null
null
null
lib/horizons_web/controllers/user_auth.ex
BCrawfordScott/horizons
04ee6ba579517e6a35c1347de4be1bceea8e4b36
[ "MIT" ]
null
null
null
defmodule HorizonsWeb.UserAuth do import Plug.Conn import Phoenix.Controller alias Horizons.Accounts alias HorizonsWeb.Router.Helpers, as: Routes # Make the remember me cookie valid for 60 days. # If you want bump or reduce this value, also change # the token expiry itself in UserToken. @max_age 60 * ...
29.802632
98
0.69404
e9e4e9c12ad85736adb671fcfd508c88e83ef61d
1,727
ex
Elixir
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/pivot_header.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/pivot_header.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/pivot_header.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...
34.54
113
0.766068
e9e5024229e35f2fe22117ca8afcd1d72049947a
2,465
ex
Elixir
clients/my_business_business_information/lib/google_api/my_business_business_information/v1/model/date.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/my_business_business_information/lib/google_api/my_business_business_information/v1/model/date.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/my_business_business_information/lib/google_api/my_business_business_information/v1/model/date.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...
46.509434
567
0.721704
e9e5139dd8054861bfb6be1782679f7a4fc8e764
787
ex
Elixir
apps/gobstopper_service/test/support/case.ex
ScrimpyCat/gobstopper
41a64991d8fb809065a52d09f8f4c6c707ae3403
[ "BSD-2-Clause" ]
3
2017-05-02T12:53:07.000Z
2017-05-28T11:53:15.000Z
apps/gobstopper_service/test/support/case.ex
ScrimpyCat/gobstopper
41a64991d8fb809065a52d09f8f4c6c707ae3403
[ "BSD-2-Clause" ]
null
null
null
apps/gobstopper_service/test/support/case.ex
ScrimpyCat/gobstopper
41a64991d8fb809065a52d09f8f4c6c707ae3403
[ "BSD-2-Clause" ]
1
2019-10-24T11:55:23.000Z
2019-10-24T11:55:23.000Z
defmodule Gobstopper.Service.Case do @moduledoc """ This module defines the test case to be used by all tests. """ use ExUnit.CaseTemplate using do quote do import Ecto import Ecto.Changeset import Ecto.Query use Defecto, repo: Gobstopper.S...
25.387097
88
0.601017
e9e5192298ccf6dd688dabc846f01209af7b33fe
580
exs
Elixir
2018_01_24/mix.exs
samisafatli/dojo
3751f8413e70da84e928e037193e8cb03f6b3e65
[ "MIT" ]
114
2015-03-10T22:17:42.000Z
2022-03-09T17:49:48.000Z
2018_01_24/mix.exs
samisafatli/dojo
3751f8413e70da84e928e037193e8cb03f6b3e65
[ "MIT" ]
9
2018-09-04T12:49:59.000Z
2019-11-17T21:29:51.000Z
2018_01_24/mix.exs
samisafatli/dojo
3751f8413e70da84e928e037193e8cb03f6b3e65
[ "MIT" ]
39
2015-01-29T01:20:56.000Z
2022-02-17T16:26:25.000Z
defmodule Dojo20180124.Mixfile do use Mix.Project def project do [ app: :dojo_2018_01_24, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ e...
20
88
0.584483
e9e52450f7460be9b7a70cb827fd629434d7307d
32,635
ex
Elixir
lib/elixir/lib/module.ex
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module.ex
pap/elixir
c803afe90c766663823c74397fb23ed40ec52c5b
[ "Apache-2.0" ]
null
null
null
defmodule Module do @moduledoc ~S''' Provides functions to deal with modules during compilation time. It allows a developer to dynamically add, delete and register attributes, attach documentation and so forth. After a module is compiled, using many of the functions in this module will raise errors, since...
29.480578
164
0.634809
e9e5544fd4821ae8b4dac7174aa6c9dcb51fa0a3
1,479
ex
Elixir
apps/subs/lib/subs/helpers/dt.ex
gitter-badger/opensubs.io
76d5b4d355a530c8f496efe3ac2095d87f078997
[ "MIT" ]
36
2018-02-03T10:58:51.000Z
2020-09-19T20:52:17.000Z
apps/subs/lib/subs/helpers/dt.ex
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
8
2018-01-17T17:15:48.000Z
2020-07-06T08:56:54.000Z
apps/subs/lib/subs/helpers/dt.ex
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
10
2018-05-21T18:20:32.000Z
2022-01-29T14:25:48.000Z
defmodule Subs.Helpers.DT do @behaviour Subs.Helpers.DTBehaviour defdelegate beginning_of_day(date), to: Timex defdelegate end_of_day(date), to: Timex defdelegate end_of_week(date), to: Timex defdelegate end_of_month(date), to: Timex def now, do: NaiveDateTime.utc_now() def today_beginning_of_day, do: ...
30.8125
97
0.721433
e9e587d98646954fe0fc14a20b8600f76cc8f95c
1,724
ex
Elixir
questions/basic/00040000-where2.ex
morenoh149/pgexercises
ae5b46d84d5e4cdb6af49047960d7abd76e80f30
[ "BSD-2-Clause" ]
null
null
null
questions/basic/00040000-where2.ex
morenoh149/pgexercises
ae5b46d84d5e4cdb6af49047960d7abd76e80f30
[ "BSD-2-Clause" ]
null
null
null
questions/basic/00040000-where2.ex
morenoh149/pgexercises
ae5b46d84d5e4cdb6af49047960d7abd76e80f30
[ "BSD-2-Clause" ]
1
2019-10-08T04:46:40.000Z
2019-10-08T04:46:40.000Z
|QUESTIONNAME| Control which rows are retrieved - part 2 |QUESTION| How can you produce a list of facilities that charge a fee to members, and that fee is less than 1/50th of the monthly maintenance cost? Return the facid, facility name, member cost, and monthly maintenance of the facilities in question. |QUERY| selec...
63.851852
420
0.75406
e9e5971fc113e3f9b5c14a7ac7206d141c1aa527
109
exs
Elixir
test/time_format_test.exs
kianmeng/calendar
c910efc8ca5088dc401e367c1fac81748d13f671
[ "MIT" ]
442
2015-05-18T09:58:39.000Z
2022-02-15T19:56:41.000Z
test/time_format_test.exs
kianmeng/calendar
c910efc8ca5088dc401e367c1fac81748d13f671
[ "MIT" ]
50
2015-06-04T19:10:56.000Z
2019-11-18T13:31:16.000Z
test/time_format_test.exs
kianmeng/calendar
c910efc8ca5088dc401e367c1fac81748d13f671
[ "MIT" ]
47
2015-05-23T20:45:20.000Z
2021-12-23T08:32:58.000Z
defmodule TimeFormatTest do use ExUnit.Case, async: true alias Calendar.Time.Format doctest Format end
18.166667
30
0.788991
e9e5c9b4710d4e109b47f7ce18e0d9eea4318f64
3,009
ex
Elixir
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/configuration.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/configuration.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "Apache-2.0" ]
null
null
null
clients/cloud_run/lib/google_api/cloud_run/v1alpha1/model/configuration.ex
chingor13/elixir-google-api
85e13fa25c4c9f4618bb463ab4c79245fc6d2a7b
[ "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 ...
45.590909
172
0.735128
e9e5e6eaf6efa0efc00a89a3ed4aa24fd672788e
2,113
exs
Elixir
test/encoder_test.exs
erickueen/burox
ca750675d2b654cf7804f6a403780db950a1c42e
[ "MIT" ]
14
2018-03-21T18:03:14.000Z
2022-01-23T05:21:57.000Z
test/encoder_test.exs
erickueen/burox
ca750675d2b654cf7804f6a403780db950a1c42e
[ "MIT" ]
11
2018-03-06T21:35:17.000Z
2019-03-28T21:38:34.000Z
test/encoder_test.exs
erickueen/burox
ca750675d2b654cf7804f6a403780db950a1c42e
[ "MIT" ]
10
2018-02-26T19:41:08.000Z
2020-03-19T18:58:41.000Z
defmodule EncoderTest do use ExUnit.Case import Burox.Request.Encoder alias Burox.Request @sample_request %Request{ persona: %{ apellido_paterno: "MENDEZ", apellido_materno: "GONZALEZ", primer_nombre: "ANTUANET", rfc: "MEGA510503RE3" }, direccion: %{ primera_linea_de_...
34.080645
338
0.698533
e9e5ed0586d30a72b64cc9ba5d480b8caf9fbbfd
269
exs
Elixir
priv/repo/migrations/20211123230726_create_restaurants_table.exs
alexfariac/inmana
8ff51040c7c4902ef7a62b129373e5cad054c275
[ "MIT" ]
14
2021-04-26T14:19:28.000Z
2021-09-12T03:29:42.000Z
priv/repo/migrations/20210420192657_create_restaurants_table.exs
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
null
null
null
priv/repo/migrations/20210420192657_create_restaurants_table.exs
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
6
2021-04-27T12:41:16.000Z
2021-07-02T04:11:53.000Z
defmodule Inmana.Repo.Migrations.CreateRestaurantsTable do use Ecto.Migration def change do create table(:restaurants) do add :email, :string add :name, :string timestamps() end create unique_index(:restaurants, [:email]) end end
17.933333
58
0.684015
e9e607de1a47ef3bebc67c307ad1a5931ed751b6
23,242
exs
Elixir
test/ecto/schema_test.exs
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
null
null
null
test/ecto/schema_test.exs
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
null
null
null
test/ecto/schema_test.exs
larryweya/ecto
d0d1fd43f0f97856a119184163167a7e79574923
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../integration_test/support/types.exs", __DIR__ defmodule Ecto.SchemaTest do use ExUnit.Case, async: true defmodule Schema do use Ecto.Schema schema "my schema" do field :name, :string, default: "eric", autogenerate: {String, :upcase, ["eric"]} field :email, :string, un...
33.250358
132
0.663841
e9e616c9177514832ca888e6f368a0ff7ce0247c
937
exs
Elixir
bench/request.exs
lubien/nats.ex
9ddb11acbca7727e97c6624425a2cb22243cfafe
[ "MIT" ]
102
2019-04-17T06:19:48.000Z
2022-03-31T02:36:11.000Z
bench/request.exs
lubien/nats.ex
9ddb11acbca7727e97c6624425a2cb22243cfafe
[ "MIT" ]
68
2017-03-23T04:54:00.000Z
2019-03-04T03:30:28.000Z
bench/request.exs
lubien/nats.ex
9ddb11acbca7727e97c6624425a2cb22243cfafe
[ "MIT" ]
17
2019-05-07T19:33:17.000Z
2022-03-24T18:27:25.000Z
defmodule EchoServer do def run(gnat) do spawn(fn -> init(gnat) end) end def init(gnat) do Gnat.sub(gnat, self(), "echo") loop(gnat) end def loop(gnat) do receive do {:msg, %{topic: "echo", reply_to: reply_to, body: msg}} -> Gnat.pub(gnat, reply_to, msg) other -> ...
25.324324
105
0.622199
e9e62f04ce48060c93ccf7b88422ffc60f100b16
1,616
ex
Elixir
lib/surface_bulma/modal/card.ex
aarongraham/surface_bulma
0b8ab633465681b8c3b58c767034cb557e09c8af
[ "MIT" ]
null
null
null
lib/surface_bulma/modal/card.ex
aarongraham/surface_bulma
0b8ab633465681b8c3b58c767034cb557e09c8af
[ "MIT" ]
null
null
null
lib/surface_bulma/modal/card.ex
aarongraham/surface_bulma
0b8ab633465681b8c3b58c767034cb557e09c8af
[ "MIT" ]
null
null
null
defmodule SurfaceBulma.Modal.Card do use Surface.Component alias SurfaceBulma.Button @moduledoc """ The card **modal**, with various configuration options. The modal is a stateless component and as such requires outside handling of whether or not the modal should be shown. This component is currently no...
31.076923
118
0.659035
e9e6348fc9e2c538763f77e4ad3ddc0e5846d80f
819
ex
Elixir
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/managed_cluster_list_result.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.Containers/lib/microsoft/azure/management/containers/model/managed_cluster_list_result.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Containers/lib/microsoft/azure/management/containers/model/managed_cluster_list_result.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.Containers.Model.ManagedClusterListResult do @moduledoc """ The response from the List Managed Clusters operation. ...
27.3
104
0.735043
e9e63ca0f1cefaf83a0c9555dc9a838dd76862ae
2,729
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/router_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/router_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/router_list.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...
44.016129
393
0.708318
e9e642c45589df712e7e8b57b8eaf5abe9e5ea22
2,866
ex
Elixir
core/sup_tree_core/stale_gear_artifact_cleaner.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
core/sup_tree_core/stale_gear_artifact_cleaner.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
core/sup_tree_core/stale_gear_artifact_cleaner.ex
ikeyasu/antikythera
544fdd22e46b1f34177053d87d9e2a9708c74113
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2018 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.StaleGearArtifactCleaner do @moduledoc """ A `GenServer` which periodically removes already unused artifact files for running gears. "Artifact files" here means files created by unpacking OTP application tarballs...
33.717647
121
0.684927
e9e67c623d4731a02a97804dc17a4705d3b81a88
91
exs
Elixir
apps/gobstopper_service/test/gobstopper.service_test.exs
ZURASTA/gobstopper
f8d231c4459af6fa44273c3ef80857348410c70b
[ "BSD-2-Clause" ]
3
2017-05-02T12:53:07.000Z
2017-05-28T11:53:15.000Z
apps/gobstopper_service/test/gobstopper.service_test.exs
ScrimpyCat/gobstopper
41a64991d8fb809065a52d09f8f4c6c707ae3403
[ "BSD-2-Clause" ]
12
2017-07-24T12:29:51.000Z
2018-04-05T03:58:10.000Z
apps/gobstopper_service/test/gobstopper.service_test.exs
ZURASTA/gobstopper
f8d231c4459af6fa44273c3ef80857348410c70b
[ "BSD-2-Clause" ]
4
2017-07-24T12:19:23.000Z
2019-02-19T06:34:46.000Z
defmodule Gobstopper.ServiceTest do use ExUnit.Case doctest Gobstopper.Service end
18.2
35
0.791209
e9e6b8fb16b197db7e0c46062d7876493fb60e75
1,010
ex
Elixir
lib/plantar/application.ex
pantanal-labs/plantar
8b119874fbddf50fe23d435462fb3238bb1d6e42
[ "MIT" ]
null
null
null
lib/plantar/application.ex
pantanal-labs/plantar
8b119874fbddf50fe23d435462fb3238bb1d6e42
[ "MIT" ]
23
2020-07-29T21:03:00.000Z
2021-02-01T18:20:35.000Z
lib/plantar/application.ex
pantanal-labs/plantar
8b119874fbddf50fe23d435462fb3238bb1d6e42
[ "MIT" ]
null
null
null
defmodule Plantar.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository Plantar.Repo, # Start the Telemetry supervisor Plantar...
28.857143
65
0.70198
e9e6e7850c10a0b85381aa221ae80c4ebafb4482
705
exs
Elixir
apps/keychain/test/test_helper.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/keychain/test/test_helper.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/keychain/test/test_helper.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
39.166667
74
0.764539
e9e700d88a480a97c9d1bb6e0c1b3af35686ba58
2,981
ex
Elixir
lib/shadowsocks/conn.ex
feng19/shadowsocks-ex
33aa06349e877b4395e27c182f0dbf71a8e51165
[ "BSD-3-Clause" ]
null
null
null
lib/shadowsocks/conn.ex
feng19/shadowsocks-ex
33aa06349e877b4395e27c182f0dbf71a8e51165
[ "BSD-3-Clause" ]
null
null
null
lib/shadowsocks/conn.ex
feng19/shadowsocks-ex
33aa06349e877b4395e27c182f0dbf71a8e51165
[ "BSD-3-Clause" ]
null
null
null
defmodule Shadowsocks.Conn do use Bitwise require Shadowsocks.Event require Logger import Record alias Shadowsocks.Encoder @doc """ connection loop init """ @callback init(socket :: port, encoder :: Encoder.t(), parent :: pid, args :: map) :: any defrecordp :state, csock: nil, ssock: nil, ...
24.434426
94
0.588393
e9e71d4a5cb7818118f1e08d04e85bc8af25843b
4,492
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/backend_rule.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/backend_rule.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/backend_rule.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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...
63.267606
700
0.720392
e9e7297d1afcf05c060bc18cab5dea57b5a75c0e
674
ex
Elixir
exercises/concept/secrets/lib/secrets.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/concept/secrets/lib/secrets.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/concept/secrets/lib/secrets.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule Secrets do def secret_add(secret) do # Please implement the secret_add/1 function end def secret_subtract(secret) do # Please implement the secret_subtract/1 function end def secret_multiply(secret) do # Please implement the secret_multiply/1 function end def secret_divide(secret)...
22.466667
59
0.753709
e9e739a7486804a5d106d55715ee7d86bfc96fe9
487
exs
Elixir
test/signal_webrtc2_web/views/error_view_test.exs
dangthaison91/Phoenix-Signal-WebRTC
f9ae439b662534ce05a93d0ae0fba081c9cd52be
[ "MIT" ]
1
2018-06-19T19:01:46.000Z
2018-06-19T19:01:46.000Z
test/signal_webrtc2_web/views/error_view_test.exs
dangthaison91/Phoenix-Signal-WebRTC
f9ae439b662534ce05a93d0ae0fba081c9cd52be
[ "MIT" ]
null
null
null
test/signal_webrtc2_web/views/error_view_test.exs
dangthaison91/Phoenix-Signal-WebRTC
f9ae439b662534ce05a93d0ae0fba081c9cd52be
[ "MIT" ]
null
null
null
defmodule SignalWebrtc2Web.ErrorViewTest do use SignalWebrtc2Web.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(SignalWebrtc2Web.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} ...
28.647059
66
0.685832
e9e73a1ef89d5a464a495e4ac840df1a041b5eca
5,005
ex
Elixir
lib/lti_1p3/platform/authorization_redirect.ex
Simon-Initiative/lti_1p3
e599a61cdaa00fe20eda19dab88b80324580123f
[ "MIT" ]
4
2021-02-19T13:13:49.000Z
2021-11-11T09:02:27.000Z
lib/lti_1p3/platform/authorization_redirect.ex
Simon-Initiative/lti_1p3
e599a61cdaa00fe20eda19dab88b80324580123f
[ "MIT" ]
3
2021-02-15T22:46:06.000Z
2021-03-30T21:26:55.000Z
lib/lti_1p3/platform/authorization_redirect.ex
Simon-Initiative/lti_1p3
e599a61cdaa00fe20eda19dab88b80324580123f
[ "MIT" ]
null
null
null
defmodule Lti_1p3.Platform.AuthorizationRedirect do import Lti_1p3.Config import Lti_1p3.Utils alias Lti_1p3.Platform.LoginHint alias Lti_1p3.Platform.LoginHints @type params() :: %{state: binary(), id_token: binary()} @type user() :: %{id: integer()} @doc """ Validates an authentication response and...
38.79845
183
0.624376
e9e75f39682f156f8702dd942c5a730346230912
1,846
ex
Elixir
clients/cloud_channel/lib/google_api/cloud_channel/v1/model/google_cloud_channel_v1alpha1_entitlement_event.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_channel/lib/google_api/cloud_channel/v1/model/google_cloud_channel_v1alpha1_entitlement_event.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_channel/lib/google_api/cloud_channel/v1/model/google_cloud_channel_v1alpha1_entitlement_event.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...
33.563636
181
0.74052
e9e769a62f1f4b50c70e3de783895e21571af681
2,196
exs
Elixir
mix.exs
elixir-cldr/unicode_transform
c95e844e7c1bf26577ff73e1fc03746766ab8b8a
[ "Apache-2.0" ]
null
null
null
mix.exs
elixir-cldr/unicode_transform
c95e844e7c1bf26577ff73e1fc03746766ab8b8a
[ "Apache-2.0" ]
null
null
null
mix.exs
elixir-cldr/unicode_transform
c95e844e7c1bf26577ff73e1fc03746766ab8b8a
[ "Apache-2.0" ]
null
null
null
defmodule UnicodeTransform.MixProject do use Mix.Project @version "0.3.0" def project do [ app: :unicode_transform, version: @version, elixir: "~> 1.8", start_permanent: Mix.env() == :prod, build_embedded: Mix.env() == :prod, deps: deps(), docs: docs(), name: ...
23.361702
92
0.564663
e9e77850273f2b38ab89301ddde2a6d970e0c680
1,847
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/dataset_access_entry.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/big_query/lib/google_api/big_query/v2/model/dataset_access_entry.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/big_query/lib/google_api/big_query/v2/model/dataset_access_entry.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...
36.215686
140
0.739578
e9e795ecfd3b6202028695b7e221ff05da4fa9ef
247
ex
Elixir
lib/hl7/2.5.1/segments/rdf.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/rdf.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/segments/rdf.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5_1.Segments.RDF do @moduledoc false require Logger alias HL7.V2_5_1.{DataTypes} use HL7.Segment, fields: [ segment: nil, number_of_columns_per_row: nil, column_description: DataTypes.Rcd ] end
17.642857
39
0.692308
e9e7fffcb1d58d35a7233ed7b4c71b06ab6c6f57
2,183
ex
Elixir
lib/naive_bayes/data.ex
preciz/naive_bayes
8126f5db0bcdbdb56ad946a1b436680df0349271
[ "MIT" ]
null
null
null
lib/naive_bayes/data.ex
preciz/naive_bayes
8126f5db0bcdbdb56ad946a1b436680df0349271
[ "MIT" ]
null
null
null
lib/naive_bayes/data.ex
preciz/naive_bayes
8126f5db0bcdbdb56ad946a1b436680df0349271
[ "MIT" ]
null
null
null
defmodule Data do @moduledoc false defstruct categories: %{} def increment_examples(data, category) do data = if get_in(data.categories, [category]) == nil do put_in(data.categories[category], %{}) else data end data = update_in(data.categories[category][:example...
21.83
74
0.579478
e9e80872896c8615914239a95a69fc1b4501e6e7
521
ex
Elixir
apps/get_functional_tree/lib/get_functional_tree_stash.ex
taylonr/get_functional_elixir
a519eb3689749883e3fe5dd59a17253571c5fd33
[ "MIT" ]
4
2017-04-16T21:07:36.000Z
2021-07-21T10:27:10.000Z
apps/get_functional_tree/lib/get_functional_tree_stash.ex
taylonr/get_functional_elixir
a519eb3689749883e3fe5dd59a17253571c5fd33
[ "MIT" ]
null
null
null
apps/get_functional_tree/lib/get_functional_tree_stash.ex
taylonr/get_functional_elixir
a519eb3689749883e3fe5dd59a17253571c5fd33
[ "MIT" ]
null
null
null
defmodule GetFunctionalTree.Stash do use GenServer def start_link(balance) do {:ok, _pid} = GenServer.start_link(__MODULE__, balance) end def save_value(pid, value) do GenServer.cast(pid, {:save_value, value}) end def get_value(pid) do GenServer.call(pid, :get_value) ...
20.84
63
0.633397