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
93a3ed7e711037ada824620aa7ae0e503ff1f85f
3,061
exs
Elixir
apps/slack/test/router_test.exs
pluralsight/compliments
bb0a9f9cc55e41adbdb56d138bf462d0eb12208e
[ "MIT" ]
1
2019-01-16T01:03:14.000Z
2019-01-16T01:03:14.000Z
apps/slack/test/router_test.exs
pluralsight/compliments
bb0a9f9cc55e41adbdb56d138bf462d0eb12208e
[ "MIT" ]
1
2020-04-12T09:58:03.000Z
2020-04-12T09:58:03.000Z
apps/slack/test/router_test.exs
pluralsight/compliments
bb0a9f9cc55e41adbdb56d138bf462d0eb12208e
[ "MIT" ]
2
2018-10-02T18:09:55.000Z
2021-03-19T04:44:25.000Z
defmodule Slack.RouterTest do use ExUnit.Case, async: true use Plug.Test alias Slack.Router import Mock @opts Router.init([]) @example_body "token=xyzz0WbapA4vBCDEFasx0q6G&team_id=T1DC2JH3J&" <> "team_domain=testteamnow&channel_id=G8PSS9T3V&" <> "channel_name=foobar&us...
30.009804
90
0.601764
93a42aba6eeea2e3cb526aef91462d63ef8f5959
2,091
exs
Elixir
file-metadata/config/runtime.exs
dalamilla/phoenix-projects
52654fb0d3ff7d5b556569dac5c0863e230e3a00
[ "MIT" ]
null
null
null
file-metadata/config/runtime.exs
dalamilla/phoenix-projects
52654fb0d3ff7d5b556569dac5c0863e230e3a00
[ "MIT" ]
null
null
null
file-metadata/config/runtime.exs
dalamilla/phoenix-projects
52654fb0d3ff7d5b556569dac5c0863e230e3a00
[ "MIT" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
39.45283
80
0.713056
93a42c8769efa7f2e8a318639d8a0d30ba8367fa
2,246
ex
Elixir
lib/coherence/responders.ex
thefuture2092/coherence
377d91ff01622773b5a9ec39fadf1f8c27328879
[ "MIT" ]
1,347
2016-07-04T23:20:10.000Z
2022-02-10T20:10:48.000Z
lib/coherence/responders.ex
thefuture2092/coherence
377d91ff01622773b5a9ec39fadf1f8c27328879
[ "MIT" ]
378
2016-07-06T16:30:28.000Z
2021-09-16T13:34:05.000Z
lib/coherence/responders.ex
thefuture2092/coherence
377d91ff01622773b5a9ec39fadf1f8c27328879
[ "MIT" ]
276
2016-07-06T20:26:17.000Z
2021-12-06T19:32:41.000Z
defmodule Coherence.Responders do @callback session_create_success(conn :: term, opts :: term) :: term @callback session_create_error(conn :: term, opts :: term) :: term @callback session_create_error_locked(conn :: term, opts :: term) :: term @callback session_delete_success(conn :: term, opts :: term) :: term...
59.105263
78
0.715049
93a47a1e359beedf6b67b39d0b156dffc77e30e2
2,658
ex
Elixir
lib/ex_dhcp/utils.ex
ityonemo/ExDhcp
9a7f47da61a93b4fb9efaa62bbdb362e3b467b2b
[ "MIT" ]
null
null
null
lib/ex_dhcp/utils.ex
ityonemo/ExDhcp
9a7f47da61a93b4fb9efaa62bbdb362e3b467b2b
[ "MIT" ]
16
2019-12-16T04:56:50.000Z
2020-03-11T20:18:56.000Z
lib/ex_dhcp/utils.ex
ityonemo/ex_dhcp
9a7f47da61a93b4fb9efaa62bbdb362e3b467b2b
[ "MIT" ]
1
2019-12-13T19:04:50.000Z
2019-12-13T19:04:50.000Z
defmodule ExDhcp.Utils do @moduledoc """ Provides utilities containing typespecs for data types and binary/string conversions for _ip_ and _mac_ addresses. For ease-of-use both within this library and when using it. """ @typedoc "Erlang-style _ip_ addresses." @type ip4 :: :inet.ip4_address @typedoc "_...
27.978947
99
0.58766
93a47b24b6bbdf341f8d8763f591c1b114573cc0
1,202
exs
Elixir
config/config.exs
MateusAquino/nlw5
e522495b983ecd823b7afc38b18231c0a7db980f
[ "MIT" ]
null
null
null
config/config.exs
MateusAquino/nlw5
e522495b983ecd823b7afc38b18231c0a7db980f
[ "MIT" ]
null
null
null
config/config.exs
MateusAquino/nlw5
e522495b983ecd823b7afc38b18231c0a7db980f
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :inmana, ecto_repos: [Inmana.Repo] con...
31.631579
86
0.767055
93a4c307d88295070f8d5377e823e93bd7a1aa8e
62,033
ex
Elixir
lib/radixir/core.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
16
2022-01-05T20:41:55.000Z
2022-03-25T09:06:43.000Z
lib/radixir/core.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
null
null
null
lib/radixir/core.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
1
2022-02-10T21:55:26.000Z
2022-02-10T21:55:26.000Z
defmodule Radixir.Core do @moduledoc """ Provides high level interaction with the Core API. """ alias Radixir.Core.API alias Radixir.Core.Request alias Radixir.Key alias Radixir.Util @type public_key :: String.t() @type private_key :: String.t() @type type :: String.t() @type address :: String.t...
42.663686
137
0.693631
93a4e4c9431888693d6ede3ea333fe7ec075fae8
1,551
ex
Elixir
lib/dune/eval/env.ex
functional-rewire/dune
9a7d3fd182e5b29e0bfb0b2a97daba468231546c
[ "MIT" ]
58
2021-09-19T09:06:36.000Z
2022-02-03T11:19:38.000Z
lib/dune/eval/env.ex
functional-rewire/dune
9a7d3fd182e5b29e0bfb0b2a97daba468231546c
[ "MIT" ]
null
null
null
lib/dune/eval/env.ex
functional-rewire/dune
9a7d3fd182e5b29e0bfb0b2a97daba468231546c
[ "MIT" ]
1
2021-09-26T14:56:18.000Z
2021-09-26T14:56:18.000Z
defmodule Dune.Eval.Env do @moduledoc false alias Dune.AtomMapping alias Dune.Eval.FakeModule @type t :: %__MODULE__{ atom_mapping: AtomMapping.t(), allowlist: module, fake_modules: %{optional(atom) => FakeModule.t()} } @enforce_keys [:atom_mapping, :allowlist, :fake_mo...
31.653061
95
0.663443
93a4e4cdd5c46126e66fabc834119b45d246a113
446
exs
Elixir
test/canon_web/views/error_view_test.exs
megalithic/canon
8178207cdaf1f137fcdf1f42481636e0209dcbeb
[ "MIT" ]
null
null
null
test/canon_web/views/error_view_test.exs
megalithic/canon
8178207cdaf1f137fcdf1f42481636e0209dcbeb
[ "MIT" ]
null
null
null
test/canon_web/views/error_view_test.exs
megalithic/canon
8178207cdaf1f137fcdf1f42481636e0209dcbeb
[ "MIT" ]
null
null
null
defmodule CanonWeb.ErrorViewTest do use CanonWeb.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(CanonWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "renders 500.json" do ...
27.875
90
0.67713
93a50b640aa9e20d0128d19351ae6bcd8751d5ac
153,015
ex
Elixir
lib/codes/codes_m80.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_m80.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_m80.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_M80 do alias IcdCode.ICDCode def _M8000XA do %ICDCode{full_code: "M8000XA", category_code: "M80", short_code: "00XA", full_name: "Age-related osteoporosis with current pathological fracture, unspecified site, initial encounter for fracture", ...
61.427138
170
0.723393
93a529ae12ab8ea404d674fc7ab30150f63f948b
1,995
exs
Elixir
config/prod.exs
anamba/webrtc_example
b539101d29ffeb52f551f263128a0884a5d6a7ae
[ "MIT" ]
44
2016-01-16T07:28:43.000Z
2021-05-05T04:45:19.000Z
config/prod.exs
anamba/webrtc_example
b539101d29ffeb52f551f263128a0884a5d6a7ae
[ "MIT" ]
null
null
null
config/prod.exs
anamba/webrtc_example
b539101d29ffeb52f551f263128a0884a5d6a7ae
[ "MIT" ]
6
2016-11-11T20:40:34.000Z
2021-05-05T04:45:24.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.177419
67
0.714286
93a54adb05341f66ade5d8f6a311b4386206e4a4
725
ex
Elixir
lib/erflow/model/dags.ex
roi-levoso/erflow
e8683fd93720703ea706af8f2317376dba3b401f
[ "MIT" ]
null
null
null
lib/erflow/model/dags.ex
roi-levoso/erflow
e8683fd93720703ea706af8f2317376dba3b401f
[ "MIT" ]
null
null
null
lib/erflow/model/dags.ex
roi-levoso/erflow
e8683fd93720703ea706af8f2317376dba3b401f
[ "MIT" ]
null
null
null
defmodule Erflow.Model.Dag do use Ecto.Schema import Ecto.Changeset # TODO Think about dag versioning @already_exists "ALREADY_EXISTS" @primary_key {:dag_id, :binary_id, autogenerate: true} schema "dags" do field :name, :string field :enabled, :boolean field :schedule, :string field :owner...
22.65625
62
0.677241
93a54cabf284b6c1c8d22cfb9e5ba6f0f9e2078d
1,678
ex
Elixir
clients/os_config/lib/google_api/os_config/v1/model/repository_resource_goo_repository.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/os_config/lib/google_api/os_config/v1/model/repository_resource_goo_repository.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/os_config/lib/google_api/os_config/v1/model/repository_resource_goo_repository.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.56
147
0.731228
93a5588e24fdde4d54f07516a3970b589a2fc19c
2,309
ex
Elixir
episode-026/lib/elm_is_fun/signing.ex
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
84
2016-07-02T05:21:36.000Z
2021-02-12T22:45:45.000Z
episode-026/lib/elm_is_fun/signing.ex
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
3
2016-07-02T06:03:47.000Z
2017-06-03T14:11:06.000Z
episode-026/lib/elm_is_fun/signing.ex
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
6
2017-02-16T19:33:49.000Z
2019-04-05T19:27:17.000Z
defmodule ElmIsFun.Signing do use Timex @bucket Application.get_env(:elm_is_fun, :aws_s3_bucket) @public_key Application.get_env(:elm_is_fun, :aws_s3_public_key) @private_key Application.get_env(:elm_is_fun, :aws_s3_secret_key) @region "us-east-1" @service "s3" @aws_request "aws4_request"...
29.227848
113
0.59463
93a55a2d229ec3619269f5eac1aa7e7783d9d4e2
1,169
ex
Elixir
lib/database/status.ex
dicarlo2/bors-ng
0b7d6e1ccf9d5fdbce73b690da8a4f76fffc38eb
[ "Apache-2.0" ]
null
null
null
lib/database/status.ex
dicarlo2/bors-ng
0b7d6e1ccf9d5fdbce73b690da8a4f76fffc38eb
[ "Apache-2.0" ]
null
null
null
lib/database/status.ex
dicarlo2/bors-ng
0b7d6e1ccf9d5fdbce73b690da8a4f76fffc38eb
[ "Apache-2.0" ]
3
2020-11-15T16:17:58.000Z
2021-06-04T11:26:42.000Z
defmodule BorsNG.Database.Status do @moduledoc """ A database record for an individual CI run. It corresponds to an item in the status = [] array of bors.toml. """ @type state_n :: 0 | 1 | 2 | 3 @type state :: :waiting | :running | :ok | :error use BorsNG.Database.Model alias BorsNG.Database.StatusS...
23.857143
60
0.644996
93a55bcc20f4074c5127663bd9d08d7cd386d817
2,855
exs
Elixir
test/storage_test.exs
epinault/snowflake_elixir_ecto
9f8fc9d272ca140e27acb671af1a1c46ff923b2b
[ "MIT" ]
4
2020-10-30T03:30:01.000Z
2021-08-07T10:27:15.000Z
test/storage_test.exs
epinault/snowflake_elixir_ecto
9f8fc9d272ca140e27acb671af1a1c46ff923b2b
[ "MIT" ]
5
2020-10-25T12:48:17.000Z
2021-12-06T07:29:02.000Z
test/storage_test.exs
epinault/snowflake_elixir_ecto
9f8fc9d272ca140e27acb671af1a1c46ff923b2b
[ "MIT" ]
3
2020-10-25T11:18:58.000Z
2021-10-16T04:00:18.000Z
defmodule Ecto.Integration.StorageTest do use ExUnit.Case, async: false @moduletag :capture_log alias Ecto.Adapters.Snowflake alias Ecto.Integration.PoolRepo def params do Application.get_env(:snowflake_elixir_ecto, PoolRepo) end setup do Application.put_env(:snowflake_elixir_ecto, PoolRepo, ...
26.933962
92
0.681611
93a57834a7137b1140606bbc83b8e97884d7b738
1,131
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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.272727
74
0.746242
93a5913606b71adc53751022db0aae93c091411d
50
ex
Elixir
lib/ueberauth_meli.ex
marciotoze/ueberauth_meli
2f3ff7d6a0d211235c23591f40673eaf1d3707da
[ "MIT" ]
1
2022-03-02T07:25:31.000Z
2022-03-02T07:25:31.000Z
lib/ueberauth_meli.ex
marciotoze/ueberauth_meli
2f3ff7d6a0d211235c23591f40673eaf1d3707da
[ "MIT" ]
null
null
null
lib/ueberauth_meli.ex
marciotoze/ueberauth_meli
2f3ff7d6a0d211235c23591f40673eaf1d3707da
[ "MIT" ]
null
null
null
defmodule UeberauthMeli do @moduledoc false end
12.5
26
0.82
93a5961dfe0559a6f107239869691218fa8171eb
1,700
exs
Elixir
test/cli/parser_test.exs
capbash/dioex
4aca1c01fd05917d41a98df4d0f0dab2347f28e8
[ "MIT" ]
5
2017-08-06T09:22:35.000Z
2017-10-22T15:51:45.000Z
test/cli/parser_test.exs
capbash/doex
4aca1c01fd05917d41a98df4d0f0dab2347f28e8
[ "MIT" ]
null
null
null
test/cli/parser_test.exs
capbash/doex
4aca1c01fd05917d41a98df4d0f0dab2347f28e8
[ "MIT" ]
null
null
null
defmodule Doex.Cli.ParserTest do use ExUnit.Case alias Doex.Cli.Parser setup do on_exit(fn -> File.rm("/tmp/parser.doex") System.delete_env("DOEX_CONFIG") Doex.reload() end) :ok end @opt_defn %{one: :string, two: :boolean, four: :list} test "parse empty" do assert {%{},...
28.333333
97
0.522353
93a5a91e65e641d3604e9c0cb95112b79abb7484
8,140
exs
Elixir
test/vintage_net_test.exs
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
1
2019-05-08T19:09:17.000Z
2019-05-08T19:09:17.000Z
test/vintage_net_test.exs
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
null
null
null
test/vintage_net_test.exs
fhunleth/vintage_net
215495533cb642eeb172daba08208a454f19b36f
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetTest do use VintageNetTest.Case doctest VintageNet import ExUnit.CaptureLog setup do # Restart the VintageNet application, so all of the tests # can be in a pristine and consistent configuration. # # The following interfaces will exist: # # * "bogus0" - only in the ...
31.428571
185
0.653194
93a5d04795c02c5599d302e50cd97ce25fffec4e
1,596
exs
Elixir
test/stabby_flies/player_test.exs
hassanshaikley/ascii-quest
8b3b3af3b9c6c59b8155fe2e6cb2a794033c29f1
[ "MIT" ]
8
2019-01-15T09:31:05.000Z
2020-04-20T13:59:01.000Z
test/stabby_flies/player_test.exs
hassanshaikley/ascii-quest
8b3b3af3b9c6c59b8155fe2e6cb2a794033c29f1
[ "MIT" ]
2
2019-01-06T02:53:44.000Z
2019-05-30T20:30:20.000Z
test/stabby_flies/player_test.exs
hassanshaikley/ascii-quest
8b3b3af3b9c6c59b8155fe2e6cb2a794033c29f1
[ "MIT" ]
1
2019-01-04T04:37:21.000Z
2019-01-04T04:37:21.000Z
defmodule StabbyFlies.PlayerTest do use ExUnit.Case, async: true alias StabbyFlies.Player setup do player = start_supervised!( {Player, name: "Faa", x: 15, y: 10, hp: 10, max_hp: 10, sword_rotation: 0} ) %{player: player} end test "initialization", %{player: player} do playe...
24.9375
82
0.681704
93a5f97f5ac0f15049e9cdadc362c4332447ea5d
918
ex
Elixir
deps/postgrex/lib/postgrex/error.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex/error.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/postgrex/lib/postgrex/error.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
defmodule Postgrex.Error do defexception [:message, :postgres, :connection_id] @type t :: %Postgrex.Error{} @metadata [:table, :column, :constraint] def message(e) do if kw = e.postgres do "#{kw[:severity]} (#{kw[:code]}): #{kw[:message]}" <> build_metadata(kw) <> build_detail(kw) e...
21.857143
70
0.565359
93a5fd33ad567b18564afd1ef7ba05450faba569
1,456
exs
Elixir
MixProject/mssql_umbrella/apps/mssql/mix.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
MixProject/mssql_umbrella/apps/mssql/mix.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
MixProject/mssql_umbrella/apps/mssql/mix.exs
Dmdv/ElixirPlayground
02d9e8a7fdd6e8742e200430debc9f0ec7fd28a1
[ "Apache-2.0" ]
null
null
null
defmodule Mssql.Mixfile do use Mix.Project def project do [ app: :mssql, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix....
25.103448
79
0.592033
93a6220ba17f7a3221f33d002380a62774890d90
156
exs
Elixir
test/test_helper.exs
avval-alumni/alumni_book
17b27da849919312a332aaa3b39ce5c65032f2b4
[ "MIT" ]
null
null
null
test/test_helper.exs
avval-alumni/alumni_book
17b27da849919312a332aaa3b39ce5c65032f2b4
[ "MIT" ]
null
null
null
test/test_helper.exs
avval-alumni/alumni_book
17b27da849919312a332aaa3b39ce5c65032f2b4
[ "MIT" ]
null
null
null
ExUnit.start() Mix.Task.run("ecto.create", ["--quiet"]) Mix.Task.run("ecto.migrate", ["--quiet"]) Ecto.Adapters.SQL.Sandbox.mode(AlumniBook.Repo, :manual)
26
56
0.692308
93a65daf0458c060d030bce56b3ae6c461e81616
6,084
ex
Elixir
lib/mix/tasks/phx.gen.json.ex
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
2
2020-05-06T14:51:56.000Z
2020-05-06T14:52:21.000Z
lib/mix/tasks/phx.gen.json.ex
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
lib/mix/tasks/phx.gen.json.ex
matthewp/phoenix
af86b95db365faada58d326e98de65c811690bc7
[ "MIT" ]
1
2020-05-16T22:44:14.000Z
2020-05-16T22:44:14.000Z
defmodule Mix.Tasks.Phx.Gen.Json do @shortdoc "Generates controller, views, and context for a JSON resource" @moduledoc """ Generates controller, views, and context for a JSON resource. mix phx.gen.json Accounts User users name:string age:integer The first argument is the context module followed by the...
37.78882
136
0.714497
93a67c4837c56cd8e82589ce9000e84d90919504
689
exs
Elixir
priv/repo/migrations/20210609210622_create_notifications.exs
elixirprogrammer/InstagramClonePETAL
5710f89de32a95b0416a960a46d081e7ad4833ab
[ "MIT" ]
69
2021-04-11T21:57:26.000Z
2022-03-30T01:09:40.000Z
priv/repo/migrations/20210609210622_create_notifications.exs
hminy572/InstagramClonePETAL
577cdad0e17399e47ef9d3f8e789bd07e33012b9
[ "MIT" ]
1
2021-04-16T17:38:11.000Z
2021-04-16T17:38:11.000Z
priv/repo/migrations/20210609210622_create_notifications.exs
hminy572/InstagramClonePETAL
577cdad0e17399e47ef9d3f8e789bd07e33012b9
[ "MIT" ]
4
2021-04-16T10:45:18.000Z
2021-07-23T15:08:08.000Z
defmodule InstagramClone.Repo.Migrations.CreateNotifications do use Ecto.Migration def change do create table(:notifications) do add :action, :string add :read, :boolean, default: false add :user_id, references(:users, on_delete: :delete_all) add :actor_id, references(:users, on_delete:...
31.318182
68
0.699565
93a69128e8d7b53a904b9cfcd52ae9ae6d24f166
1,698
ex
Elixir
lib/bitstyles_phoenix/bitstyles.ex
bitcrowd/bitstyles_phoenix
697d9380d376f23885b696776736643687d4dd14
[ "0BSD" ]
4
2021-03-12T07:57:06.000Z
2021-11-15T11:41:30.000Z
lib/bitstyles_phoenix/bitstyles.ex
bitcrowd/bitstyles_phoenix
697d9380d376f23885b696776736643687d4dd14
[ "0BSD" ]
39
2021-03-11T15:36:51.000Z
2022-01-04T12:13:48.000Z
lib/bitstyles_phoenix/bitstyles.ex
bitcrowd/bitstyles_phoenix
697d9380d376f23885b696776736643687d4dd14
[ "0BSD" ]
null
null
null
defmodule BitstylesPhoenix.Bitstyles do @moduledoc false @default_version "3.0.0" @cdn_url "https://cdn.jsdelivr.net/npm/bitstyles" def cdn_url do "#{@cdn_url}@#{@default_version}" end @doc """ Returns the classnames for the configured version. Input classnames are assumed to be from the #{@defau...
28.3
101
0.633098
93a6a3678945b58a31e007a82f35f3cc81e7e38b
794
ex
Elixir
schizo/lib/schizo.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
schizo/lib/schizo.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
schizo/lib/schizo.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule Schizo do def uppercase(string) do transform_every_other_word(string, &uppercaser/1) end def unvowel(string) do transform_every_other_word(string, &unvowler/1) end def transform_every_other_word(string, transformation) do words = String.split(string) words_with_index = Stream.with_...
24.8125
76
0.696474
93a6dd590ba887dc92ed3c840acdfa1af512e394
937
ex
Elixir
lib/blog_web/controllers/traditional_blog_controllers/session_controller.ex
albertschr/blog_supported_blockchain
ee9578c8ebddd3e72ff5eaabefc2d724c3e2a9a1
[ "MIT" ]
1
2019-02-06T12:29:35.000Z
2019-02-06T12:29:35.000Z
lib/blog_web/controllers/traditional_blog_controllers/session_controller.ex
albertschr/blog_supported_blockchain
ee9578c8ebddd3e72ff5eaabefc2d724c3e2a9a1
[ "MIT" ]
null
null
null
lib/blog_web/controllers/traditional_blog_controllers/session_controller.ex
albertschr/blog_supported_blockchain
ee9578c8ebddd3e72ff5eaabefc2d724c3e2a9a1
[ "MIT" ]
null
null
null
defmodule BlogWeb.SessionController do alias BlogWeb.UserController alias WebHandler use BlogWeb, :controller @doc """ suit 「application/json」 """ def create(conn, %{"password" => password, "username" => user}) do do_create(conn, user, password) end # @doc """ # suit 「application/x-www-form-...
23.425
68
0.627535
93a740f76923cf9d8f7c4fbc03b262e3f64302e4
18,880
exs
Elixir
test/telemetry_metrics_test.exs
Cantido/telemetry_metrics
ddc41e5c64d0ea416d810529f1a251c738e8d568
[ "Apache-2.0" ]
null
null
null
test/telemetry_metrics_test.exs
Cantido/telemetry_metrics
ddc41e5c64d0ea416d810529f1a251c738e8d568
[ "Apache-2.0" ]
null
null
null
test/telemetry_metrics_test.exs
Cantido/telemetry_metrics
ddc41e5c64d0ea416d810529f1a251c738e8d568
[ "Apache-2.0" ]
null
null
null
defmodule Telemetry.MetricsTest do use ExUnit.Case alias Telemetry.Metrics # Tests common to all metric types. for metric_type <- [:counter, :sum, :last_value, :summary, :distribution] do describe "#{metric_type}/2" do test "raises when metric name is invalid" do assert_raise ArgumentError, ...
33.415929
110
0.5759
93a7466e2f892d5799176142c2526b8fd5a74016
2,685
ex
Elixir
lib/conduit/accounts/aggregates/user.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
lib/conduit/accounts/aggregates/user.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
2
2022-01-15T02:09:30.000Z
2022-01-22T10:18:43.000Z
lib/conduit/accounts/aggregates/user.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
defmodule Conduit.Accounts.Aggregates.User do defstruct [ :uuid, :username, :email, :hashed_password, ] alias Conduit.Accounts.Aggregates.User alias Conduit.Accounts.Commands.{ RegisterUser, UpdateUser, } alias Conduit.Accounts.Events.{ UserEmailChanged, UsernameChanged, ...
27.680412
120
0.678212
93a7b53ce21a48d3b5bb74719657b18590940a9f
870
ex
Elixir
hiyoko/lib/hiyoko/application.ex
rykawamu/phoenix_liveview_template
4a8c354d927aeedfc31acd8e71b3900e762f987f
[ "MIT" ]
null
null
null
hiyoko/lib/hiyoko/application.ex
rykawamu/phoenix_liveview_template
4a8c354d927aeedfc31acd8e71b3900e762f987f
[ "MIT" ]
1
2019-09-11T14:22:29.000Z
2019-09-11T14:22:29.000Z
hiyoko/lib/hiyoko/application.ex
rykawamu/phoenix_liveview_practice_01
e30ab2304473a995a3b36335ceb212a9bbed012f
[ "MIT" ]
null
null
null
defmodule Hiyoko.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Start the endpoint when the application starts ...
29
65
0.718391
93a7b8e14c87065de462965dd9f44342033bfb07
10,546
ex
Elixir
lib/mix/lib/mix/tasks/profile.fprof.ex
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
1
2019-10-11T01:36:26.000Z
2019-10-11T01:36:26.000Z
lib/mix/lib/mix/tasks/profile.fprof.ex
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/mix/lib/mix/tasks/profile.fprof.ex
andrewtimberlake/elixir
a1c4ffc897f9407fe7e739e20e697805fbbff810
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Profile.Fprof do use Mix.Task @shortdoc "Profiles the given file or expression with fprof" @moduledoc """ Profiles the given file or expression using Erlang's `fprof` tool. `fprof` can be useful when you want to discover the bottlenecks of a sequential code. Before running the code...
34.92053
92
0.639389
93a7c543acdc8e83d3e7ad89eaea8fe0274a9ad8
3,507
ex
Elixir
lib/codes/codes_h46.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_h46.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_h46.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_H46 do alias IcdCode.ICDCode def _H4600 do %ICDCode{full_code: "H4600", category_code: "H46", short_code: "00", full_name: "Optic papillitis, unspecified eye", short_name: "Optic papillitis, unspecified eye", category_name: "Optic ...
30.495652
64
0.59424
93a7f27c874056f5cd315a511820da29d2b1c978
196
ex
Elixir
test/support/conn_case.ex
liberumed/authable
6db9951aa07000b358f16ffe413a13aa9aa89192
[ "Unlicense" ]
null
null
null
test/support/conn_case.ex
liberumed/authable
6db9951aa07000b358f16ffe413a13aa9aa89192
[ "Unlicense" ]
null
null
null
test/support/conn_case.ex
liberumed/authable
6db9951aa07000b358f16ffe413a13aa9aa89192
[ "Unlicense" ]
1
2021-01-12T00:55:56.000Z
2021-01-12T00:55:56.000Z
defmodule Authable.ConnCase do @moduledoc """ Conveniences for testing Plug endpoints """ @doc false defmacro __using__(_) do quote do use Authable.ConnTest end end end
15.076923
41
0.683673
93a804d355ed6690b14af0b78d049312af952dcc
397
ex
Elixir
test/examples/type/record.ex
esl/gradient
822da399872a38b77440858971f4147694e85fac
[ "Apache-2.0" ]
75
2021-11-17T11:55:13.000Z
2022-03-28T04:35:04.000Z
test/examples/type/record.ex
esl/gradient
822da399872a38b77440858971f4147694e85fac
[ "Apache-2.0" ]
48
2021-11-15T13:56:14.000Z
2022-03-31T15:55:47.000Z
test/examples/type/record.ex
esl/gradient
822da399872a38b77440858971f4147694e85fac
[ "Apache-2.0" ]
6
2021-12-22T20:41:27.000Z
2022-03-09T09:07:38.000Z
defmodule RecordType do require Record Record.defrecord(:user, name: "john", age: 25) @type user :: record(:user, name: String.t(), age: integer) @spec ret_wrong_record() :: user() def ret_wrong_record(), do: :ok @spec ret_wrong_record2() :: user() def ret_wrong_record2(), do: user(name: 12) @spec r...
24.8125
61
0.667506
93a81a9426e536576a435456bdcb923f62da8378
2,722
ex
Elixir
clients/access_approval/lib/google_api/access_approval/v1/model/enrolled_service.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/access_approval/lib/google_api/access_approval/v1/model/enrolled_service.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/access_approval/lib/google_api/access_approval/v1/model/enrolled_service.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...
54.44
1,166
0.753123
93a81b2492235e0c0e5863d13f03eb6f69cadc83
3,498
ex
Elixir
messages/elixir/lib/cucumber_messages/writer.ex
alvivi/cucumber
647e4c9a46d441fb6d86b22138ad44580d500f75
[ "MIT" ]
1
2020-12-14T07:17:55.000Z
2020-12-14T07:17:55.000Z
messages/elixir/lib/cucumber_messages/writer.ex
alvivi/cucumber
647e4c9a46d441fb6d86b22138ad44580d500f75
[ "MIT" ]
19
2020-10-12T19:50:12.000Z
2022-01-10T02:52:01.000Z
messages/elixir/lib/cucumber_messages/writer.ex
alvivi/cucumber
647e4c9a46d441fb6d86b22138ad44580d500f75
[ "MIT" ]
null
null
null
defmodule CucumberMessages.Writer do @moduledoc false # This is a temporary writer up until Protox supports json encoding alias CucumberMessages.Envelope alias CucumberMessages.Location alias CucumberMessages.Pickle.PickleStep alias CucumberMessages.GherkinDocument.Feature.FeatureChild alias CucumberMess...
27.984
98
0.604345
93a828f2050013cc811e9be870fe80b1b20a2c0e
1,136
ex
Elixir
apps/ex_wire/lib/ex_wire/kademlia/config.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/ex_wire/lib/ex_wire/kademlia/config.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/ex_wire/lib/ex_wire/kademlia/config.ex
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule ExWire.Kademlia.Config do @moduledoc """ Contains params related to Kademlia algorithm. https://pdos.csail.mit.edu/~petar/papers/maymounkov-kademlia-lncs.pdf """ # k @bucket_size 16 # alpha @concurrency 3 # key size. 0 <= i < @id_size - number of buckets @id_size 256 # b @bits_per...
22.72
71
0.727113
93a832cd759b0c4914c077bd7e74fb43591d52d2
578
exs
Elixir
memory-master/test/memory_web/views/error_view_test.exs
Wycode-fish/WEBDEV-MEMORY-GAME
1b04f995fb1a545781206a7fd01de0a1bb75d86c
[ "MIT" ]
null
null
null
memory-master/test/memory_web/views/error_view_test.exs
Wycode-fish/WEBDEV-MEMORY-GAME
1b04f995fb1a545781206a7fd01de0a1bb75d86c
[ "MIT" ]
null
null
null
memory-master/test/memory_web/views/error_view_test.exs
Wycode-fish/WEBDEV-MEMORY-GAME
1b04f995fb1a545781206a7fd01de0a1bb75d86c
[ "MIT" ]
null
null
null
defmodule MemoryWeb.ErrorViewTest do use MemoryWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(MemoryWeb.ErrorView, "404.html", []) == "Page not found" end test "render 500.htm...
26.272727
67
0.681661
93a83eb2e74ff242750154b3a4a8758fee753688
4,673
exs
Elixir
test/surface/components/dynamic/live_component_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
null
null
null
test/surface/components/dynamic/live_component_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
null
null
null
test/surface/components/dynamic/live_component_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
null
null
null
defmodule Surface.Components.Dynamic.LiveComponentTest do use Surface.ConnCase, async: true alias Surface.Components.Dynamic.LiveComponent import ExUnit.CaptureIO defmodule StatefulComponent do use Surface.LiveComponent data label, :string, default: "Initial stateful" data assigned_in_update, :an...
25.961111
130
0.623154
93a85b57bb40edc2cd4fc05fbf2bf23bde6031cb
932
ex
Elixir
debian/postrm.ex
catalyst/gotiller
409007c3abc99e0ac5c227f17cdeac1fc3b74da1
[ "MIT" ]
null
null
null
debian/postrm.ex
catalyst/gotiller
409007c3abc99e0ac5c227f17cdeac1fc3b74da1
[ "MIT" ]
null
null
null
debian/postrm.ex
catalyst/gotiller
409007c3abc99e0ac5c227f17cdeac1fc3b74da1
[ "MIT" ]
null
null
null
#!/bin/sh # postrm script for gotiller # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install' # ...
24.526316
78
0.628755
93a85ca66d9d36ee1e050841d5749fb4b9a048b6
878
ex
Elixir
lib/halloween.ex
ajfAfg/HaLLoween
bbf762f1764c495561eb73eafb6cc88713ad5cb6
[ "MIT" ]
null
null
null
lib/halloween.ex
ajfAfg/HaLLoween
bbf762f1764c495561eb73eafb6cc88713ad5cb6
[ "MIT" ]
null
null
null
lib/halloween.ex
ajfAfg/HaLLoween
bbf762f1764c495561eb73eafb6cc88713ad5cb6
[ "MIT" ]
null
null
null
defmodule Halloween do @low_border 20 @high_border 100 @moduledoc """ Documentation for `Halloween`. """ def to_halloween(text, halloween) do text |> String.split("\n") |> Enum.map(fn line -> line |> String.split() |> Enum.map(&halloween_with_halloween(&1, halloween)) |...
22.512821
61
0.626424
93a868716e275a27b6d17fde4abb7213e11c2f68
3,040
ex
Elixir
lib/quadquizaminos_web/live/admin_live.ex
sparrell/quizquadaminos
6388252b7c32aa4101486cbf45d0d57d4e3a79da
[ "MIT" ]
1
2022-01-11T20:06:31.000Z
2022-01-11T20:06:31.000Z
lib/quadquizaminos_web/live/admin_live.ex
sFractal-Podii/quizquadaminos
4c9023b9c6212a92741b0f21d9eb05871aa73916
[ "MIT" ]
484
2021-02-15T18:43:40.000Z
2022-03-29T12:27:24.000Z
lib/quadquizaminos_web/live/admin_live.ex
sFractal-Podii/quizquadaminos
4c9023b9c6212a92741b0f21d9eb05871aa73916
[ "MIT" ]
8
2021-02-15T19:12:51.000Z
2021-12-15T03:02:46.000Z
defmodule QuadquizaminosWeb.AdminLive do use Phoenix.LiveView alias Quadquizaminos.Accounts import Phoenix.HTML, only: [raw: 1] def mount(_param, _session, socket) do {:ok, socket |> assign( by_config: selected?("by_config"), oauth_login: selected?("oauth_login"), anonymous_l...
29.803922
146
0.657895
93a872446f9a8b61f6298e7ae9603fc82c8e5a47
1,173
ex
Elixir
lib/ecto/fixtures.ex
bcardarella/elixir-fixtures
2c49e0af3713bd912dc7bb639324da423d155299
[ "MIT" ]
139
2016-02-07T12:28:18.000Z
2022-02-15T11:39:58.000Z
lib/ecto/fixtures.ex
bcardarella/elixir-fixtures
2c49e0af3713bd912dc7bb639324da423d155299
[ "MIT" ]
17
2016-05-16T18:59:26.000Z
2020-09-11T16:53:53.000Z
lib/ecto/fixtures.ex
bcardarella/elixir-fixtures
2c49e0af3713bd912dc7bb639324da423d155299
[ "MIT" ]
10
2016-02-23T09:25:09.000Z
2020-02-29T14:21:21.000Z
defmodule EctoFixtures do def read(file_path), do: {String.to_atom(file_path), File.read!(file_path)} def parse(content), do: EctoFixtures.Parser.process(content) def condition(data, opts \\ []), do: EctoFixtures.Conditioner.process(data, opts) def insert(data, can_insert), do: EctoFixtures.Insertion.process(da...
27.928571
84
0.647911
93a877e5bef45e8971707f18ac1dd72a17e05b4c
2,008
ex
Elixir
lib/termDirectory/modules/module.ex
nliechti/termDirectory
267b3025c14e26575c7a9483692e94a7bf29e5fe
[ "MIT" ]
1
2019-03-15T15:40:24.000Z
2019-03-15T15:40:24.000Z
lib/termDirectory/modules/module.ex
nliechti/termDirectory
267b3025c14e26575c7a9483692e94a7bf29e5fe
[ "MIT" ]
null
null
null
lib/termDirectory/modules/module.ex
nliechti/termDirectory
267b3025c14e26575c7a9483692e94a7bf29e5fe
[ "MIT" ]
null
null
null
defmodule TermDirectory.Modules.Module do @moduledoc """ Schema and funtions to the module "object" """ use Ecto.Schema import Ecto.Changeset alias TermDirectory.Repo alias TermDirectory.User.Teacher alias TermDirectory.Modules require Logger schema "modules" do many_to_many :module_work...
30.424242
98
0.739044
93a8f575bc6b81fd6b2ddbfa964f9655a5b4eef9
1,501
exs
Elixir
config/config.exs
deadtrickster/prometheus-plugs-example
aa7ff1ba276d935ed6a8b9aa7a309b5891b08629
[ "MIT" ]
1
2016-05-17T09:57:02.000Z
2016-05-17T09:57:02.000Z
config/config.exs
deadtrickster/prometheus-plugs-example
aa7ff1ba276d935ed6a8b9aa7a309b5891b08629
[ "MIT" ]
1
2016-08-24T06:51:00.000Z
2016-08-24T06:51:00.000Z
config/config.exs
deadtrickster/prometheus-plugs-example
aa7ff1ba276d935ed6a8b9aa7a309b5891b08629
[ "MIT" ]
10
2016-08-24T00:44:33.000Z
2022-02-09T13:17:00.000Z
# 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...
35.738095
82
0.740173
93a90867b9e86d8e2905b3e911d12130fc9e555a
2,771
ex
Elixir
lib/slack/sends.ex
albert-io/Elixir-Slack
830fcbf1b260b8fc014de33ba9e4cdf273c88e98
[ "MIT" ]
null
null
null
lib/slack/sends.ex
albert-io/Elixir-Slack
830fcbf1b260b8fc014de33ba9e4cdf273c88e98
[ "MIT" ]
null
null
null
lib/slack/sends.ex
albert-io/Elixir-Slack
830fcbf1b260b8fc014de33ba9e4cdf273c88e98
[ "MIT" ]
null
null
null
defmodule Slack.Sends do @moduledoc "Utility functions for sending slack messages" alias Slack.Lookups @doc """ Sends `text` to `channel` for the given `slack` connection. `channel` can be a string in the format of `"#CHANNEL_NAME"`, `"@USER_NAME"`, or any ID that Slack understands. """ def send_messa...
25.897196
79
0.611693
93a91d427acfbdb7621ab13b3eda9eb1aa06ce3c
575
ex
Elixir
lib/ex_twilio/resources/task_router/workspace_statistic.ex
paulanthonywilson/ex_twilio
4f58cb13ae8e4ba61237369bc29669724f9491ff
[ "MIT" ]
1
2017-03-23T08:03:58.000Z
2017-03-23T08:03:58.000Z
lib/ex_twilio/resources/task_router/workspace_statistic.ex
paulanthonywilson/ex_twilio
4f58cb13ae8e4ba61237369bc29669724f9491ff
[ "MIT" ]
1
2019-09-02T15:15:39.000Z
2019-09-03T04:28:09.000Z
lib/ex_twilio/resources/task_router/workspace_statistic.ex
paulanthonywilson/ex_twilio
4f58cb13ae8e4ba61237369bc29669724f9491ff
[ "MIT" ]
2
2022-03-08T22:05:17.000Z
2022-03-09T05:29:46.000Z
defmodule ExTwilio.TaskRouter.WorkspaceStatistic do @moduledoc """ Provides real time and historical statistics for Workspaces. - [Twilio docs](https://www.twilio.com/docs/api/taskrouter/workspace-statistics) """ defstruct realtime: nil, cumulative: nil, account_sid: nil, ...
30.263158
93
0.686957
93a92e00b751260c5c5605b37fa7f62bb62b538a
13,800
ex
Elixir
lib/qh.ex
fidr/qh
14d392c5612889c7ed9e88cf558e677ac06b39f4
[ "MIT" ]
5
2022-01-10T10:57:44.000Z
2022-01-22T18:15:05.000Z
lib/qh.ex
fidr/qh
14d392c5612889c7ed9e88cf558e677ac06b39f4
[ "MIT" ]
null
null
null
lib/qh.ex
fidr/qh
14d392c5612889c7ed9e88cf558e677ac06b39f4
[ "MIT" ]
null
null
null
defmodule Qh do @moduledoc """ Query helper for iex `.iex.exs`: ``` use Qh Qh.configure(app: :my_app) ``` ## Example: iex>q User.where(age > 20 and age < 50).order(name).first %MyApp.User%{id: 123, age: 21, name: "Anna"} """ defmacro __using__(_) do quote do require Qh ...
25.508318
96
0.537681
93a9460b166f396658fec1ef607a6363c3a289b9
1,021
ex
Elixir
test/support/generate_language_tag.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
179
2019-06-16T09:16:00.000Z
2022-03-30T04:04:55.000Z
test/support/generate_language_tag.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
46
2019-06-09T02:35:58.000Z
2022-03-08T10:39:08.000Z
test/support/generate_language_tag.ex
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
14
2020-03-03T16:35:50.000Z
2022-02-27T14:01:40.000Z
defmodule GenerateLanguageTag do require ExUnitProperties @known_territories Cldr.Validity.all_valid(:territories) @known_scripts Cldr.Validity.all_valid(:scripts) @known_languages Cldr.Validity.all_valid(:languages) def valid_language_tag do ExUnitProperties.gen all( language...
35.206897
72
0.475024
93a9610abe9f2b64d38dedca563b5ba1164f8832
3,972
exs
Elixir
test/epicenter/extra/map_test.exs
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/epicenter/extra/map_test.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/epicenter/extra/map_test.exs
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule Epicenter.Extra.MapTest do use Epicenter.SimpleCase, async: false alias Epicenter.Extra describe "delete_in" do test "removes the value at the keypath" do %{a: %{b: %{c: 1, d: 2}, e: 3}} |> Extra.Map.delete_in([:a, :b, :c]) |> assert_eq(%{a: %{b: %{d: 2}, e: 3}}) end test "does noth...
47.285714
133
0.586103
93a96b909d09918c2c62f78276f58c6dc3c68f83
515
ex
Elixir
lib/prm/entities/msp.ex
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
1
2017-07-27T16:03:28.000Z
2017-07-27T16:03:28.000Z
lib/prm/entities/msp.ex
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
null
null
null
lib/prm/entities/msp.ex
EDENLABLLC/prm.api
86743f26874f47ce3d48010ccf5d2cd596a3474b
[ "Apache-2.0" ]
null
null
null
defmodule PRM.Entities.MSP do @moduledoc false use Ecto.Schema import Ecto.Changeset, warn: false @primary_key {:id, :binary_id, autogenerate: true} schema "medical_service_providers" do field :accreditation, :map field :licenses, {:array, :map} belongs_to :legal_entity, PRM.Entities.LegalEnti...
19.807692
71
0.679612
93a9911d5e9f79c38266f22f18e2b65050fe5e0c
2,156
ex
Elixir
test/support/fixtures.ex
exterm/scripture
eec53d2626f8484c03ad0545feffc73ec276fcab
[ "MIT" ]
null
null
null
test/support/fixtures.ex
exterm/scripture
eec53d2626f8484c03ad0545feffc73ec276fcab
[ "MIT" ]
30
2016-08-21T18:33:11.000Z
2020-04-12T23:16:18.000Z
test/support/fixtures.ex
exterm/scripture
eec53d2626f8484c03ad0545feffc73ec276fcab
[ "MIT" ]
null
null
null
# for more functionality, read http://blog.danielberkompas.com/elixir/2015/07/16/fixtures-for-ecto.html defmodule Scripture.Fixtures do alias Scripture.Repo alias Scripture.{User, Article, Comment} def build_fixture(module) do build_fixture(module, %{}) end def build_fixture(module, key) when is_atom(ke...
30.366197
103
0.680891
93a99c9aec44263092c7ae5b18f0edb19069f176
477
ex
Elixir
lib/syn_osc/pan.ex
camshaft/syn_osc_ex
c7ed257f2ea772f197096d356467e812a0d5e59a
[ "MIT" ]
1
2020-12-08T01:44:03.000Z
2020-12-08T01:44:03.000Z
lib/syn_osc/pan.ex
camshaft/syn_osc_ex
c7ed257f2ea772f197096d356467e812a0d5e59a
[ "MIT" ]
null
null
null
lib/syn_osc/pan.ex
camshaft/syn_osc_ex
c7ed257f2ea772f197096d356467e812a0d5e59a
[ "MIT" ]
null
null
null
defmodule SynOSC.Pan do defstruct id: nil, relative: false, x: nil, y: nil, z: nil end defimpl OSC.Encoder, for: SynOSC.Pan do use SynOSC def encode(message, options) do message |> call("PAN") |> set_arguments(format_arguments(message)) |> OSC.Enco...
19.08
59
0.60587
93a9a4b44fb1cfea2ade490029e29f9dae51048d
779
ex
Elixir
apps/engine/lib/engine/repo/monitor/child.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/engine/lib/engine/repo/monitor/child.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/engine/lib/engine/repo/monitor/child.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule Engine.Repo.Monitor.Child do @moduledoc """ This implements the restart logic of the Monitor """ require Logger @type t :: %__MODULE__{pid: pid(), spec: Supervisor.child_spec()} defstruct pid: nil, spec: nil @spec start(t() | Supervisor.child_spec()) :: t() def start(child) when is_struct(ch...
27.821429
74
0.63543
93a9ac9e2d994a59e48332f2f141a6527df6e992
3,108
ex
Elixir
lib/distillery/releases/shell.ex
arikai/distillery
65ddbcc143f2849a6ed5574e8c397a68ca92eb81
[ "MIT" ]
3,097
2016-07-18T13:59:00.000Z
2022-03-29T00:27:23.000Z
lib/distillery/releases/shell.ex
arikai/distillery
65ddbcc143f2849a6ed5574e8c397a68ca92eb81
[ "MIT" ]
672
2016-07-18T18:25:29.000Z
2022-02-24T17:39:30.000Z
lib/distillery/releases/shell.ex
arikai/distillery
65ddbcc143f2849a6ed5574e8c397a68ca92eb81
[ "MIT" ]
483
2016-07-22T14:08:49.000Z
2022-03-21T09:35:23.000Z
defmodule Distillery.Releases.Shell do @moduledoc """ This module provides conveniences for writing output to the shell. """ use Distillery.Releases.Shell.Macros @type verbosity :: :silent | :quiet | :normal | :verbose # The order of these levels is from least important to most important # When comparing...
34.153846
103
0.682432
93aa1a51a1f3d0696b8f61fc10a3ae1db7af8db3
24,381
ex
Elixir
lib/ex_doc/formatter/html/autolink.ex
cryic/ex_doc
a331a27f76742d162961afcdd616bab96e446dd0
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/formatter/html/autolink.ex
cryic/ex_doc
a331a27f76742d162961afcdd616bab96e446dd0
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/formatter/html/autolink.ex
cryic/ex_doc
a331a27f76742d162961afcdd616bab96e446dd0
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Formatter.HTML.Autolink do @moduledoc false import ExDoc.Formatter.HTML.Templates, only: [h: 1, enc_h: 1] @type language :: :elixir | :erlang | :markdown @type kind :: :function | :module | :mix_task @type link_type :: :normal | :custom @backtick_token "<B706848484895T>" @elixir_docs "ht...
28.515789
106
0.577458
93aa3bada46a581e05d24cb9f2b7cf2460609eef
1,356
ex
Elixir
golden/lib/element.ex
NduatiK/marker
a0af6f083feba029ae02221b0ab44cfe865c43bb
[ "Apache-2.0" ]
null
null
null
golden/lib/element.ex
NduatiK/marker
a0af6f083feba029ae02221b0ab44cfe865c43bb
[ "Apache-2.0" ]
null
null
null
golden/lib/element.ex
NduatiK/marker
a0af6f083feba029ae02221b0ab44cfe865c43bb
[ "Apache-2.0" ]
null
null
null
defmodule Element do use Marker require Marker.HTML def merge_attr(default_attrs, assigns) do imported_attrs = assigns |> Map.to_list() |> Enum.filter(fn {:__content__, v} -> false {k, v} -> true end) attrs = Keyword.merge(default_attrs, imported_attrs, fn ...
24.654545
96
0.610619
93aa4d6bf730fd3f698ba9023ee4e8d7905b1bd4
2,183
ex
Elixir
clients/content/lib/google_api/content/v21/model/account_ads_link.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/account_ads_link.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/account_ads_link.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...
40.425926
714
0.728355
93aa516b5ac36ea56c9bf75ece994fb87ca42c83
1,231
exs
Elixir
mix.exs
junsumida/exvcr
0f8aeeb19e5164917302ce257a2a1c324e02ff3b
[ "MIT" ]
null
null
null
mix.exs
junsumida/exvcr
0f8aeeb19e5164917302ce257a2a1c324e02ff3b
[ "MIT" ]
null
null
null
mix.exs
junsumida/exvcr
0f8aeeb19e5164917302ce257a2a1c324e02ff3b
[ "MIT" ]
1
2018-10-10T05:57:37.000Z
2018-10-10T05:57:37.000Z
defmodule ExVCR.Mixfile do use Mix.Project def project do [ app: :exvcr, version: "0.9.0", elixir: "~> 1.3", deps: deps(), description: description(), package: package(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [coveralls: :test] ] end # Configu...
25.122449
75
0.56052
93aa52a134c169d482ad7cd990aa2bb98c779601
857
exs
Elixir
test/whistler_news_reader/feed_test.exs
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
8
2016-06-12T20:11:26.000Z
2017-05-02T04:36:41.000Z
test/whistler_news_reader/feed_test.exs
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
2
2016-06-12T15:49:06.000Z
2016-06-12T20:00:02.000Z
test/whistler_news_reader/feed_test.exs
fdietz/whistler_news_reader
501f3f95e1ba3a684da8b34b60e426da85e7852d
[ "MIT" ]
null
null
null
defmodule WhistlerNewsReader.FeedTest do use WhistlerNewsReader.ModelCase alias WhistlerNewsReader.Feed @valid_attrs %{ title: "The Verge", feed_url: "http://www.theverge.com/rss/frontpage", site_url: "http://www.theverge.com" } @invalid_attrs %{} test "changeset with valid attributes" do ...
23.805556
72
0.683781
93aaa328d212edbad39068d7acd0a08cdc545ee2
415
ex
Elixir
test/support/pages/mastery/show_page.ex
ktornwall/elixir_conf_2016_demo
5a0adf832773714ba7743c049964623262ee7a13
[ "MIT" ]
27
2016-09-02T19:26:16.000Z
2017-11-30T02:27:16.000Z
test/support/pages/mastery/show_page.ex
katzenbar/elixir_conf_2016_demo
5a0adf832773714ba7743c049964623262ee7a13
[ "MIT" ]
1
2016-10-23T18:24:59.000Z
2016-10-23T18:24:59.000Z
test/support/pages/mastery/show_page.ex
ktornwall/elixir_conf_2016_demo
5a0adf832773714ba7743c049964623262ee7a13
[ "MIT" ]
4
2016-10-08T02:51:41.000Z
2017-12-05T02:02:40.000Z
defmodule ExConf.MasteryShowPage do use ExConf.PageHelpers def visit(mastery) do navigate_to "/masteries/#{mastery.id}" end def current_page?(mastery) do current_path == "/masteries/#{mastery.id}" end def has_mastery_name?(mastery) do find_element(:class, "qa-name") |> visible_text == mastery...
20.75
67
0.691566
93aaaf2e85c85295ff9c26393e4e00e9d7d7f601
548
exs
Elixir
rest/mix.exs
jonasrichard/elixir-playground
1508f758d9f7a11cc37dae428345f88e3c9501fd
[ "Apache-2.0" ]
null
null
null
rest/mix.exs
jonasrichard/elixir-playground
1508f758d9f7a11cc37dae428345f88e3c9501fd
[ "Apache-2.0" ]
null
null
null
rest/mix.exs
jonasrichard/elixir-playground
1508f758d9f7a11cc37dae428345f88e3c9501fd
[ "Apache-2.0" ]
null
null
null
defmodule Rest.MixProject do use Mix.Project def project do [ app: :rest, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applicati...
17.677419
59
0.525547
93aabf5c2e49520a5440252085780baa4b3f65ae
957
ex
Elixir
lib/livebook_web/live/explore_helpers.ex
chriskdon/livebook
b1b573b5f4b49b2e90585e8f511e7b261dcae550
[ "Apache-2.0" ]
1,846
2021-04-13T14:46:36.000Z
2021-07-14T20:37:40.000Z
lib/livebook_web/live/explore_helpers.ex
chriskdon/livebook
b1b573b5f4b49b2e90585e8f511e7b261dcae550
[ "Apache-2.0" ]
411
2021-07-15T07:41:54.000Z
2022-03-31T21:34:22.000Z
lib/livebook_web/live/explore_helpers.ex
chriskdon/livebook
b1b573b5f4b49b2e90585e8f511e7b261dcae550
[ "Apache-2.0" ]
130
2021-04-13T15:43:55.000Z
2021-07-12T16:57:46.000Z
defmodule LivebookWeb.ExploreHelpers do use Phoenix.Component alias LivebookWeb.Router.Helpers, as: Routes @doc """ Renders an explore notebook card. """ def notebook_card(assigns) do ~H""" <div class="flex flex-col"> <%= live_redirect to: Routes.explore_path(@socket, :notebook, @notebook_in...
34.178571
112
0.62069
93ab00cccce4f4972cded9e9b4690163102af43b
772
ex
Elixir
test/support/fixtures/accounts_fixtures.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
test/support/fixtures/accounts_fixtures.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
test/support/fixtures/accounts_fixtures.ex
manojsamanta/stripe-single-product
d0af1cede55ce6ac71100b9f4b5473919c16c884
[ "MIT" ]
null
null
null
defmodule SingleProduct.AccountsFixtures do @moduledoc """ This module defines test helpers for creating entities via the `SingleProduct.Accounts` context. """ def unique_user_email, do: "user#{System.unique_integer()}@example.com" def valid_user_password, do: "hello world!" def valid_user_attributes(at...
24.125
73
0.656736
93ab23f5e8f7710b048a05f08fa6fba71bb15aea
1,553
exs
Elixir
installer/test/phx_new_web_test.exs
tgxworld/phoenix
89b885591431170de73e372d9544d841bedca3db
[ "MIT" ]
2
2020-07-24T08:34:36.000Z
2021-02-08T03:21:49.000Z
installer/test/phx_new_web_test.exs
tgxworld/phoenix
89b885591431170de73e372d9544d841bedca3db
[ "MIT" ]
null
null
null
installer/test/phx_new_web_test.exs
tgxworld/phoenix
89b885591431170de73e372d9544d841bedca3db
[ "MIT" ]
null
null
null
Code.require_file "mix_helper.exs", __DIR__ defmodule Mix.Tasks.Phx.New.WebTest do use ExUnit.Case import MixHelper import ExUnit.CaptureIO @app_name "phx_web" setup do # The shell asks to install deps. # We will politely say not. send self(), {:mix_shell_input, :yes?, false} :ok end t...
27.732143
105
0.630393
93ab4f0a2ea4f5114db32cc2448df106d8bf67b6
1,062
ex
Elixir
lib/grapevine/events/event.ex
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
lib/grapevine/events/event.ex
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
lib/grapevine/events/event.ex
shanesveller/grapevine
fe74ade1adff88dfe4c1ab55fee3902dbb4664fe
[ "MIT" ]
null
null
null
defmodule Grapevine.Events.Event do @moduledoc """ Event Schema """ use Ecto.Schema import Ecto.Changeset alias Grapevine.Games.Game @type t :: %__MODULE__{} schema "events" do field(:title, :string) field(:description, :string) field(:start_date, :date) field(:end_date, :date) ...
22.125
80
0.642185
93ab57337bcc1e7057502ddb68094ab813af0261
2,738
exs
Elixir
test/gradient/tokens_test.exs
rodrigues/gradient
c09245b42d8d01b2624ca07648c41cc1a2dee49c
[ "Apache-2.0" ]
null
null
null
test/gradient/tokens_test.exs
rodrigues/gradient
c09245b42d8d01b2624ca07648c41cc1a2dee49c
[ "Apache-2.0" ]
null
null
null
test/gradient/tokens_test.exs
rodrigues/gradient
c09245b42d8d01b2624ca07648c41cc1a2dee49c
[ "Apache-2.0" ]
null
null
null
defmodule Gradient.TokensTest do use ExUnit.Case doctest Gradient.Tokens alias Gradient.Tokens import Gradient.TestHelpers test "drop_tokens_while" do tokens = example_tokens() matcher = fn {:atom, _, :ok} -> false _ -> true end assert [] = Tokens.drop_tokens_whil...
27.938776
96
0.605186
93ab942fc2ae425911f446bbc4bda3f6d91ffb89
10,709
exs
Elixir
test/scenic/primitive_test.exs
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
test/scenic/primitive_test.exs
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
test/scenic/primitive_test.exs
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on 5/7/17. # Copyright © 2017 Kry10 Industries. All rights reserved. # defmodule Scenic.PrimitiveTest do use ExUnit.Case, async: true doctest Scenic.Primitive alias Scenic.Primitive alias Scenic.Primitive.Group # alias Scenic.Math.Matrix # import IEx defmodule TestStyle...
29.42033
111
0.570268
93ab955a3eb5595d6d8846c7023d5fadf72297a8
1,014
ex
Elixir
lib/nostrum/struct/guild/audit_log.ex
phereford/nostrum
3d273671f51d839eedac4d6e52ba9cf70720ac01
[ "MIT" ]
637
2017-03-07T11:25:35.000Z
2022-03-31T13:37:51.000Z
lib/nostrum/struct/guild/audit_log.ex
phereford/nostrum
3d273671f51d839eedac4d6e52ba9cf70720ac01
[ "MIT" ]
372
2017-03-07T20:42:03.000Z
2022-03-30T22:46:46.000Z
lib/nostrum/struct/guild/audit_log.ex
phereford/nostrum
3d273671f51d839eedac4d6e52ba9cf70720ac01
[ "MIT" ]
149
2017-03-07T12:11:58.000Z
2022-03-19T22:11:51.000Z
defmodule Nostrum.Struct.Guild.AuditLog do @moduledoc """ Represents a guild's audit log. """ alias Nostrum.Struct.Guild.AuditLogEntry alias Nostrum.Struct.{User, Webhook} alias Nostrum.Util defstruct [:entries, :users, :webhooks] @typedoc "Entries of this guild's audit log" @type entries :: [Audit...
26
95
0.618343
93abe6b7b6f51251014f10fc150a905575dfb3d2
264
ex
Elixir
test/support/factory.ex
tineo/absinthe_ecto
55e31dfd4e7932c1e31c8beac7aa22d663fdc304
[ "MIT" ]
132
2016-11-20T22:23:30.000Z
2021-07-18T18:16:19.000Z
test/support/factory.ex
tineo/absinthe_ecto
55e31dfd4e7932c1e31c8beac7aa22d663fdc304
[ "MIT" ]
34
2016-11-24T05:06:57.000Z
2022-02-23T16:57:40.000Z
test/support/factory.ex
tineo/absinthe_ecto
55e31dfd4e7932c1e31c8beac7aa22d663fdc304
[ "MIT" ]
36
2016-11-22T06:38:59.000Z
2022-03-09T11:32:53.000Z
defmodule Absinthe.Ecto.Factory do use ExMachina.Ecto, repo: Absinthe.Ecto.TestRepo def user_factory do %Absinthe.Ecto.User{ username: "username", } end def post_factory do %Absinthe.Ecto.Post{ user: build(:user), } end end
16.5
50
0.659091
93abec53a779de0ff455119d0dd6606c37cebd67
309
ex
Elixir
lib/pdf_party/reader/io_ex.ex
luisgabrielroldan/pdf_party
f26fd69a05a9050a1a8faaa226c0c3ad5ba1c6db
[ "MIT" ]
4
2018-10-26T02:11:14.000Z
2019-04-25T20:59:52.000Z
lib/pdf_party/reader/io_ex.ex
luisgabrielroldan/pdf_party
f26fd69a05a9050a1a8faaa226c0c3ad5ba1c6db
[ "MIT" ]
1
2018-10-26T21:20:40.000Z
2018-10-26T21:20:40.000Z
lib/pdf_party/reader/io_ex.ex
luisgabrielroldan/pdf_party
f26fd69a05a9050a1a8faaa226c0c3ad5ba1c6db
[ "MIT" ]
1
2018-10-26T02:11:17.000Z
2018-10-26T02:11:17.000Z
defmodule PDFParty.Reader.IOEx do def read_line(io_device, buffer \\ "") do io_device |> IO.binread(1) |> case do :eof -> :eof "\r" -> read_line(io_device, buffer) "\n" -> buffer c -> read_line(io_device, buffer <> c) end end end
15.45
43
0.504854
93abf6388e804f2aa6768f4e0bb8f1ae2a31e62d
578
exs
Elixir
languages/elixir/exercises/concept/conditionals/mix.exs
kmjones77/v3
f5d88bd5d1c191ae15cfe3effdcabe623f0d56ba
[ "MIT" ]
null
null
null
languages/elixir/exercises/concept/conditionals/mix.exs
kmjones77/v3
f5d88bd5d1c191ae15cfe3effdcabe623f0d56ba
[ "MIT" ]
null
null
null
languages/elixir/exercises/concept/conditionals/mix.exs
kmjones77/v3
f5d88bd5d1c191ae15cfe3effdcabe623f0d56ba
[ "MIT" ]
null
null
null
defmodule LogLevel.MixProject do use Mix.Project def project do [ app: :conditionals, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ex...
19.931034
87
0.581315
93ac05f8c803544a217f593ca74d94fb96988219
64
exs
Elixir
.workshop/prerequisite.exs
silesian-beamers/fun-with-the-processes
5276ab98a66f89896ca47e633a236e618353a64f
[ "MIT" ]
null
null
null
.workshop/prerequisite.exs
silesian-beamers/fun-with-the-processes
5276ab98a66f89896ca47e633a236e618353a64f
[ "MIT" ]
null
null
null
.workshop/prerequisite.exs
silesian-beamers/fun-with-the-processes
5276ab98a66f89896ca47e633a236e618353a64f
[ "MIT" ]
null
null
null
defmodule Workshop.Prerequisite do use Workshop.Validator end
16
34
0.84375
93ac18fcb5299fc01d18eccd720145cb914d5139
488
ex
Elixir
lib/mysimplelist_web/live/user_live/show.ex
ScorpionResponse/mysimplelist
3c792373cc372ab5e196fe109b9dae68b97b7220
[ "Apache-2.0" ]
null
null
null
lib/mysimplelist_web/live/user_live/show.ex
ScorpionResponse/mysimplelist
3c792373cc372ab5e196fe109b9dae68b97b7220
[ "Apache-2.0" ]
null
null
null
lib/mysimplelist_web/live/user_live/show.ex
ScorpionResponse/mysimplelist
3c792373cc372ab5e196fe109b9dae68b97b7220
[ "Apache-2.0" ]
null
null
null
defmodule MysimplelistWeb.UserLive.Show do use MysimplelistWeb, :live_view alias Mysimplelist.Accounts @impl true def mount(_params, _session, socket) do {:ok, socket} end @impl true def handle_params(%{"id" => id}, _, socket) do {:noreply, socket |> assign(:page_title, page_title(soc...
22.181818
67
0.67623
93ac26a24e3fde6dd7c01cdab2df730a505f30e3
1,561
ex
Elixir
athasha_wui/lib/athasha_wui_web/views/error_helpers.ex
samuelventura/go-sdk
7209256f70d39d142a2a9859061ac7ec6c19b2bc
[ "Unlicense" ]
null
null
null
athasha_wui/lib/athasha_wui_web/views/error_helpers.ex
samuelventura/go-sdk
7209256f70d39d142a2a9859061ac7ec6c19b2bc
[ "Unlicense" ]
null
null
null
athasha_wui/lib/athasha_wui_web/views/error_helpers.ex
samuelventura/go-sdk
7209256f70d39d142a2a9859061ac7ec6c19b2bc
[ "Unlicense" ]
null
null
null
defmodule Athasha.WuiWeb.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_...
32.520833
80
0.66624
93ac27193f920f8a16d211751ac38194979a1d4c
2,193
ex
Elixir
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_server_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_server_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/apigee/lib/google_api/apigee/v1/model/google_cloud_apigee_v1_server_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
37.169492
138
0.710442
93ac32a831994909af36acc3dd82b6d762ea379b
5,136
exs
Elixir
test/machinery_test.exs
paralax/machinery
ea62dd134cddb32bd8837436476692e8e2055add
[ "Apache-2.0" ]
1
2018-02-19T20:28:53.000Z
2018-02-19T20:28:53.000Z
test/machinery_test.exs
jaimeiniesta/machinery
69fd0f77cf6b29efceb447dc82e03c9349ef4128
[ "Apache-2.0" ]
null
null
null
test/machinery_test.exs
jaimeiniesta/machinery
69fd0f77cf6b29efceb447dc82e03c9349ef4128
[ "Apache-2.0" ]
null
null
null
defmodule MachineryTest do use ExUnit.Case, async: false doctest Machinery alias MachineryTest.Helper alias MachineryTest.TestStruct alias MachineryTest.TestStateMachine alias MachineryTest.TestStateMachineWithGuard test "All internal functions should be injected into AST" do assert :erlang.function...
48.914286
157
0.764603
93ac8be8ba38d9ce56120e5abaa4c230500cbb15
659
exs
Elixir
test/echo_dispatcher_test.exs
HCA-Healthcare/elixir-mllp
31d402f5d5882b57aa172ec78ed450bf9df45755
[ "Apache-2.0" ]
22
2018-10-08T18:37:23.000Z
2022-02-22T13:53:38.000Z
test/echo_dispatcher_test.exs
HCA-Healthcare/elixir-mllp
31d402f5d5882b57aa172ec78ed450bf9df45755
[ "Apache-2.0" ]
27
2020-03-03T16:29:22.000Z
2022-03-16T20:09:59.000Z
test/echo_dispatcher_test.exs
HCA-Healthcare/elixir-mllp
31d402f5d5882b57aa172ec78ed450bf9df45755
[ "Apache-2.0" ]
10
2019-03-29T04:19:59.000Z
2021-12-13T17:39:08.000Z
defmodule EchoDispatcherTest do use ExUnit.Case alias MLLP.EchoDispatcher doctest EchoDispatcher test "Default dispatcher accepts HL7, logs, and returns application_reject" do state = %MLLP.FramingContext{} message = HL7.Examples.wikipedia_sample_hl7() expected_reply = MLLP.Ack.get_ack_for_m...
27.458333
86
0.705615
93acd2ebbdc78229b855a028114a1934a8e196a4
1,997
ex
Elixir
lib/core/counter.ex
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
null
null
null
lib/core/counter.ex
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
null
null
null
lib/core/counter.ex
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
null
null
null
defmodule PromEx.TelemetryMetricsPrometheus.Core.Counter do @moduledoc false alias Telemetry.Metrics alias PromEx.TelemetryMetricsPrometheus.Core.EventHandler @type config :: %{ keep: Metrics.keep(), measurement: atom(), metric_name: String.t(), name: Metrics.normalized...
29.80597
87
0.578868
93ace1e6eb85fb5ce326c2c3219941e67c4f23ef
3,068
exs
Elixir
test/holofans/channels_test.exs
DaniruKun/holobot-
eb17450500ac991ff879a285890e6c478874da2d
[ "MIT" ]
2
2021-01-02T04:09:17.000Z
2021-01-20T04:42:32.000Z
test/holofans/channels_test.exs
DaniruKun/holobot-
eb17450500ac991ff879a285890e6c478874da2d
[ "MIT" ]
7
2021-07-20T22:25:59.000Z
2021-12-02T23:38:47.000Z
test/holofans/channels_test.exs
DaniruKun/holobot-tg
eb17450500ac991ff879a285890e6c478874da2d
[ "MIT" ]
null
null
null
defmodule Holobot.Holofans.ChannelsTest do use ExUnit.Case, async: false import Mock alias Holobot.Holofans.{Channel, Channels} @valid_resp_body "{\"count\":2,\"total\":63,\"channels\":[{\"id\":5,\"yt_channel_id\":\"UC0TXe_LYZ4scaW2XMyi5_kw\",\"bb_space_id\":null,\"name\":\"AZKi Channel\",\"description\":\"A...
98.967742
2,399
0.699478
93acec1b324704e73144c26ec607d7beed01cda3
420
ex
Elixir
lib/open_pantry/web/views/stock_view.ex
neilfulwiler/open_pantry
4b705f2282c7b2365a784503c9f1bdd34c741798
[ "MIT" ]
41
2017-10-04T00:33:46.000Z
2021-04-09T01:33:34.000Z
lib/open_pantry/web/views/stock_view.ex
openpantry/open_pantry
27d898a65dd6f44b325f48d41bc448bb486d9c6f
[ "MIT" ]
74
2017-09-20T03:36:17.000Z
2018-11-20T20:46:16.000Z
lib/open_pantry/web/views/stock_view.ex
neilfulwiler/open_pantry
4b705f2282c7b2365a784503c9f1bdd34c741798
[ "MIT" ]
12
2017-10-04T10:02:49.000Z
2021-12-28T22:57:20.000Z
defmodule OpenPantry.Web.StockView do use OpenPantry.Web, :view def food_list do OpenPantry.Food.all([:food_group, :credit_types]) |> Enum.map(&({"#{&1.longdesc} - #{&1.food_group.foodgroup_desc}", &1.ndb_no})) end def facility_list do OpenPantry.Facility.all() |> Enum.map(&({&1.name, &1.id}))...
23.333333
83
0.661905
93aced343f2995ef659a862fb571ee4d30a88260
596
ex
Elixir
lib/adam7.ex
SenecaSystems/adam7
a3224d332ab531ebda072ec204000c592603486f
[ "MIT" ]
null
null
null
lib/adam7.ex
SenecaSystems/adam7
a3224d332ab531ebda072ec204000c592603486f
[ "MIT" ]
null
null
null
lib/adam7.ex
SenecaSystems/adam7
a3224d332ab531ebda072ec204000c592603486f
[ "MIT" ]
null
null
null
defmodule Adam7 do @doc """ Merge the extracted seven passes into a corresponding image. """ def merge(passes, {width, height}) do Enum.reduce(1..7, empty_image_rows(width, height), fn (pass, image_rows) -> Adam7.Pass.merge(pass, {width, height}, Enum.at(passes, pass-1), image_rows) end) |> :a...
23.84
82
0.578859
93ad3135702ecc385eb12c816cc08e43be28f1f2
1,165
exs
Elixir
clients/service_consumer_management/config/config.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_consumer_management/config/config.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/config/config.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. 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...
37.580645
73
0.761373
93ad820f2085d2b8954dc7f03683397b45f4454a
4,642
ex
Elixir
lib/cli/commands/add.ex
AnilRedshift/wand-cli
c364cf5397353fd61ba0e5fc33225575eb72ccda
[ "BSD-3-Clause" ]
3
2018-07-01T05:31:02.000Z
2019-08-03T04:11:32.000Z
lib/cli/commands/add.ex
AnilRedshift/wand-cli
c364cf5397353fd61ba0e5fc33225575eb72ccda
[ "BSD-3-Clause" ]
8
2018-06-28T07:30:04.000Z
2018-07-13T07:36:56.000Z
lib/cli/commands/add.ex
AnilRedshift/wand-cli
c364cf5397353fd61ba0e5fc33225575eb72ccda
[ "BSD-3-Clause" ]
null
null
null
defmodule Wand.CLI.Commands.Add do use Wand.CLI.Command @moduledoc """ # Add Add elixir packages to wand.json ### Usage **wand** add [package] [package] ... [flags] Wand can be used to add packages from three different places: hex, git, or the local filesystem. [package] can either be the name, or name...
28.133333
199
0.676863
93ad972c99edab553f59ab5eca63edc1f87a2756
8,724
ex
Elixir
lib/rmq/rpc.ex
nmbrone/rmq
1478c80f886116638bb0a7831fcd55f6570de18c
[ "MIT" ]
null
null
null
lib/rmq/rpc.ex
nmbrone/rmq
1478c80f886116638bb0a7831fcd55f6570de18c
[ "MIT" ]
null
null
null
lib/rmq/rpc.ex
nmbrone/rmq
1478c80f886116638bb0a7831fcd55f6570de18c
[ "MIT" ]
null
null
null
defmodule RMQ.RPC do @moduledoc """ RPC via RabbitMQ. In short, it's a `GenServer` which implements a publisher and a consumer at once. You can read more about how this works in the [tutorial](https://www.rabbitmq.com/tutorials/tutorial-six-python.html). ## Configuration * `:connection` - the connec...
31.268817
102
0.644429
93ae039c4716e29c8c68e6b41fbd77306d9dd189
1,858
exs
Elixir
clients/source_repo/mix.exs
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/source_repo/mix.exs
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/source_repo/mix.exs
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...
27.731343
102
0.659311
93ae7a6cd20802600bc800a82785491a02cf927b
6,653
ex
Elixir
lib/helios/registry/tracker/interval_tree_clock.ex
exponentially/helios
3a7b66bd95a8c53c500272eb8a269a73e6de6d8a
[ "Apache-2.0" ]
12
2018-09-20T21:33:07.000Z
2020-01-14T19:31:11.000Z
lib/helios/registry/tracker/interval_tree_clock.ex
exponentially/helios
3a7b66bd95a8c53c500272eb8a269a73e6de6d8a
[ "Apache-2.0" ]
null
null
null
lib/helios/registry/tracker/interval_tree_clock.ex
exponentially/helios
3a7b66bd95a8c53c500272eb8a269a73e6de6d8a
[ "Apache-2.0" ]
null
null
null
defmodule Helios.Registry.Tracker.IntervalTreeClock do @moduledoc """ This is an implementation of an Interval Clock Tree, ported from the implementation in Erlang written by Paulo Sergio Almeida <psa@di.uminho.pt> found [here](https://github.com/ricardobcl/Interval-Tree-Clocks/blob/master/erlang/itc.erl). ""...
26.935223
94
0.556441
93ae8dba97311e9fb281d9436691f4f3df76bdec
3,025
exs
Elixir
.credo.exs
mbta/api
e22e0b29dfa4f600d1b630db1a391c37ad619245
[ "MIT" ]
62
2019-01-17T12:34:39.000Z
2022-03-20T21:49:47.000Z
.credo.exs
mbta/api
e22e0b29dfa4f600d1b630db1a391c37ad619245
[ "MIT" ]
375
2019-02-13T15:30:50.000Z
2022-03-30T18:50:41.000Z
.credo.exs
mbta/api
e22e0b29dfa4f600d1b630db1a391c37ad619245
[ "MIT" ]
14
2019-01-16T19:35:57.000Z
2022-02-26T18:55:54.000Z
%{ configs: [ %{ name: "default", files: %{ included: ["apps/"], excluded: [] }, checks: [ {Credo.Check.Design.AliasUsage, false}, {Credo.Check.Readability.MaxLineLength, false}, {Credo.Check.Consistency.ExceptionNames}, {Credo.Check.Consiste...
43.214286
79
0.680661
93aeca01fb8da1161855c74054e5882f2b1f5f40
1,633
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1/model/sql_active_directory_config.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sql_admin/lib/google_api/sql_admin/v1/model/sql_active_directory_config.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/sql_active_directory_config.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.66
100
0.723821
93aee157c85a9d0d5c8e3988ddc0c7cc503529a2
7,656
ex
Elixir
lib/logi/channel.ex
sile/logi_ex
6af6a28cd73faa02e12059645405d85597d4d6a7
[ "MIT" ]
1
2016-11-29T08:43:21.000Z
2016-11-29T08:43:21.000Z
lib/logi/channel.ex
sile/logi_ex
6af6a28cd73faa02e12059645405d85597d4d6a7
[ "MIT" ]
null
null
null
lib/logi/channel.ex
sile/logi_ex
6af6a28cd73faa02e12059645405d85597d4d6a7
[ "MIT" ]
null
null
null
defmodule Logi.Channel do @moduledoc """ Log Message Channels. A channel (logically) receives log messages from loggers and delivers the messages to installed sinks. ## Examples ```elixir # CREATE CHANNEL iex> :ok = Logi.Channel.create :sample_log iex> Logi.Channel.which_channels [:sample_log, :log...
35.444444
130
0.713166
93af02576db2c877b53f984cb32c030ac1a95dbe
1,212
ex
Elixir
lib/open_pantry/web/views/shared_view.ex
neilfulwiler/open_pantry
4b705f2282c7b2365a784503c9f1bdd34c741798
[ "MIT" ]
41
2017-10-04T00:33:46.000Z
2021-04-09T01:33:34.000Z
lib/open_pantry/web/views/shared_view.ex
openpantry/open_pantry
27d898a65dd6f44b325f48d41bc448bb486d9c6f
[ "MIT" ]
74
2017-09-20T03:36:17.000Z
2018-11-20T20:46:16.000Z
lib/open_pantry/web/views/shared_view.ex
neilfulwiler/open_pantry
4b705f2282c7b2365a784503c9f1bdd34c741798
[ "MIT" ]
12
2017-10-04T10:02:49.000Z
2021-12-28T22:57:20.000Z
defmodule OpenPantry.Web.SharedView do @default_max 999 use OpenPantry.Web, :view import OpenPantry.Stock import OpenPantry.Web.DisplayLogic alias OpenPantry.StockDistribution alias OpenPantry.UserOrder alias OpenPantry.Image @doc """ Renders a distribution line item for food selection index, or to...
29.560976
119
0.712871
93af0fe993596dd5bf1ec94e4bd75ec0f2948eb1
445
ex
Elixir
lib/wise_homex/models/foreign_device.ex
wise-home/wise_homex
851f13191ed67acb1003888c12f4e6b71800d31b
[ "MIT" ]
2
2019-03-14T09:09:14.000Z
2020-11-25T06:44:46.000Z
lib/wise_homex/models/foreign_device.ex
wise-home/wise_homex
851f13191ed67acb1003888c12f4e6b71800d31b
[ "MIT" ]
139
2019-03-14T06:58:55.000Z
2022-03-29T12:28:09.000Z
lib/wise_homex/models/foreign_device.ex
wise-home/wise_homex
851f13191ed67acb1003888c12f4e6b71800d31b
[ "MIT" ]
7
2021-04-09T13:55:45.000Z
2021-04-16T15:49:36.000Z
defmodule WiseHomex.ForeignDevice do @moduledoc false use WiseHomex.BaseModel embedded_schema do belongs_to :household, WiseHomex.Household field :start_date, :date field :end_date, :date field :start_value, WiseHomex.QuantityType field :end_value, WiseHomex.QuantityType field :meter_t...
22.25
46
0.739326
93af1085298c38499d38e56eee3c6c7d9736b933
8,633
exs
Elixir
apps/data/test/grapevine_data/authorizations_test.exs
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
apps/data/test/grapevine_data/authorizations_test.exs
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
apps/data/test/grapevine_data/authorizations_test.exs
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule GrapevineData.AuthorizationsTest do use Grapevine.DataCase alias GrapevineData.Authorizations alias GrapevineData.Authorizations.AccessToken alias GrapevineData.Authorizations.Authorization alias GrapevineData.Games describe "starting to authenticate" do setup [:with_user, :with_game] ...
33.59144
124
0.670103
93af4b5e00fe4b3daa12e30ccc235537d1ecea7a
1,805
ex
Elixir
web/controllers/token_controller.ex
lyncms/lyn
ef825e7ff8df049a41f9a10685324079ebe116f9
[ "MIT" ]
96
2016-02-26T20:20:33.000Z
2020-10-02T16:21:00.000Z
web/controllers/token_controller.ex
lyncms/lyn
ef825e7ff8df049a41f9a10685324079ebe116f9
[ "MIT" ]
12
2016-02-27T16:23:55.000Z
2017-07-04T13:46:00.000Z
web/controllers/token_controller.ex
lyncms/lyn
ef825e7ff8df049a41f9a10685324079ebe116f9
[ "MIT" ]
24
2016-03-10T23:55:33.000Z
2019-06-07T18:32:34.000Z
defmodule Lyn.TokenController do use Lyn.Web, :controller alias Lyn.GuardianToken alias Guardian.Plug.EnsureAuthenticated alias Guardian.Plug.EnsurePermissions plug EnsureAuthenticated, handler: __MODULE__, typ: "token" plug EnsurePermissions, [handler: __MODULE__, default: ~w(read_token)] when action in ...
30.59322
99
0.639335
93af847df074efc3edd9cb68235bc7353de2ced8
2,197
exs
Elixir
mix.exs
nyaray/custom_rpi3
59257f63c49930f76b69ba9722171eab373997cb
[ "Apache-2.0" ]
1
2018-11-27T16:22:47.000Z
2018-11-27T16:22:47.000Z
mix.exs
nyaray/custom_rpi3
59257f63c49930f76b69ba9722171eab373997cb
[ "Apache-2.0" ]
null
null
null
mix.exs
nyaray/custom_rpi3
59257f63c49930f76b69ba9722171eab373997cb
[ "Apache-2.0" ]
null
null
null
defmodule CustomRpi3.MixProject do use Mix.Project @app :custom_rpi3 @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: @app, version: @version, elixir: "~> 1.6", compilers: Mix.compilers() ++ [:nerves_package], ...
22.418367
79
0.568958
93af9b58e9ec36712396f0723daeb7fb5aea00e3
534
ex
Elixir
apps/authorizer/lib/policies/behaviour.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
9
2020-10-13T14:11:37.000Z
2021-08-12T18:40:08.000Z
apps/authorizer/lib/policies/behaviour.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
28
2020-10-04T14:43:48.000Z
2021-12-07T16:54:22.000Z
apps/authorizer/lib/policies/behaviour.ex
dcdourado/watcher_ex
ce80df81610a6e9b77612911aac2a6d6cf4de8d5
[ "Apache-2.0" ]
3
2020-11-25T20:59:47.000Z
2021-08-30T10:36:58.000Z
defmodule Authorizer.Policies.Behaviour do @moduledoc """ A policy is a set of verifications to make sure that a subject can do such action. """ @doc "Return the policy description" @callback info() :: String.t() @doc "Runs the input validations" @callback validate(conn :: Plug.Conn.t()) :: {:ok, contex...
33.375
89
0.64794
93afab96c318283885c9531d023f6f99393b89db
3,678
ex
Elixir
lib/policr_mini/businesses/statistic_business.ex
skyplaying/policr-mini
ac265daa251fd76b770d0ce08c67075a6a57f796
[ "MIT" ]
null
null
null
lib/policr_mini/businesses/statistic_business.ex
skyplaying/policr-mini
ac265daa251fd76b770d0ce08c67075a6a57f796
[ "MIT" ]
2
2022-02-25T06:15:30.000Z
2022-02-25T06:15:33.000Z
lib/policr_mini/businesses/statistic_business.ex
skyplaying/policr-mini
ac265daa251fd76b770d0ce08c67075a6a57f796
[ "MIT" ]
null
null
null
defmodule PolicrMini.StatisticBusiness do @moduledoc """ 用户业务功能的实现。 """ use PolicrMini, business: PolicrMini.Schema.Statistic import Ecto.Query, only: [from: 2] @type status :: :passed | :timeout | :wronged | :other @spec create(map) :: written_returns def create(params) do %Statistic{} |> Stati...
26.271429
96
0.62398
93afb112375ed009187d9eb5c3441d3609d1f776
1,803
exs
Elixir
clients/home_graph/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/home_graph/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/home_graph/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
26.910448
101
0.652801
93afb2f4c039900b629b414a0100bf01a04ada30
3,147
ex
Elixir
clients/reseller/lib/google_api/reseller/v1/model/subscription_plan.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/model/subscription_plan.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/reseller/lib/google_api/reseller/v1/model/subscription_plan.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# 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...
57.218182
932
0.760724