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
d5a8a0784993700dfd226cf3a31bea8313567512
1,888
exs
Elixir
config/dev.exs
adrianomota/hydra
b72386467089d087cd3dc8f3106842ecb8e68ac3
[ "MIT" ]
null
null
null
config/dev.exs
adrianomota/hydra
b72386467089d087cd3dc8f3106842ecb8e68ac3
[ "MIT" ]
null
null
null
config/dev.exs
adrianomota/hydra
b72386467089d087cd3dc8f3106842ecb8e68ac3
[ "MIT" ]
null
null
null
import Config # Configure your database config :hydra, Hydra.Repo, username: "postgres", password: "postgres", database: "hydra_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloading. # # T...
30.95082
86
0.726695
d5a8c12fbcd49b8aae892bb2703c0e6491c01ace
1,575
exs
Elixir
test/mix/tasks/bonny.gen.controller_test.exs
happycodrz/bonny
1c54fadc883be4dac6d25800f74a6d4058319507
[ "MIT" ]
null
null
null
test/mix/tasks/bonny.gen.controller_test.exs
happycodrz/bonny
1c54fadc883be4dac6d25800f74a6d4058319507
[ "MIT" ]
null
null
null
test/mix/tasks/bonny.gen.controller_test.exs
happycodrz/bonny
1c54fadc883be4dac6d25800f74a6d4058319507
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Bonny.Gen.ControllerTest do @moduledoc false use ExUnit.Case, async: true alias Mix.Tasks.Bonny.Gen.Controller import ExUnit.CaptureIO describe "run/1" do test "generates a new Controller module" do output = capture_io(fn -> Controller.run(["Memcached", "memcac...
28.125
91
0.532698
d5a8c48759c63342cbdb1a821e22f4ae7a1f4adb
81
ex
Elixir
samples/phoenix_wobserver/lib/phoenix_wobserver/web/views/page_view.ex
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
11
2017-05-05T12:28:35.000Z
2020-02-26T09:16:10.000Z
samples/phoenix_wobserver/lib/phoenix_wobserver/web/views/page_view.ex
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
null
null
null
samples/phoenix_wobserver/lib/phoenix_wobserver/web/views/page_view.ex
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
null
null
null
defmodule PhoenixWobserver.Web.PageView do use PhoenixWobserver.Web, :view end
20.25
42
0.82716
d5a8ccbe4f4211c679721d572090f1c36fc8bcb3
461
exs
Elixir
apps/artemis/priv/repo/migrations/20200219160514_create_user_teams.exs
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/priv/repo/migrations/20200219160514_create_user_teams.exs
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/priv/repo/migrations/20200219160514_create_user_teams.exs
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.Repo.Migrations.CreateUserTeams do use Ecto.Migration def change do create table(:user_teams) do add :user_id, references(:users, on_delete: :delete_all), null: false add :team_id, references(:teams, on_delete: :delete_all), null: false add :created_by_id, references(:users,...
30.733333
75
0.715835
d5a9116f370176de044689e02732dc36257b47ee
2,192
exs
Elixir
config/prod.exs
freester1/OniiChain
28153c2fa3b1425aeac240df016c907d5b822101
[ "Apache-2.0" ]
9
2017-12-17T02:58:48.000Z
2018-11-07T13:48:50.000Z
config/prod.exs
freester1/OniiChain
28153c2fa3b1425aeac240df016c907d5b822101
[ "Apache-2.0" ]
1
2017-12-12T23:58:22.000Z
2017-12-13T00:00:21.000Z
config/prod.exs
freester1/OniiChain
28153c2fa3b1425aeac240df016c907d5b822101
[ "Apache-2.0" ]
3
2017-12-12T23:57:20.000Z
2018-03-03T22:13:38.000Z
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # OniichainWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # # ...
33.723077
67
0.72354
d5a923f395e0e53f9ebc0fc77384ff0d6f954fef
2,607
ex
Elixir
lib/phoenix_starter_web/router.ex
newaperio/phoenix_starter
02f2f5550a94b940bb4e9c61042b032f54af8b72
[ "MIT" ]
3
2021-03-19T10:39:02.000Z
2021-07-25T19:54:09.000Z
lib/phoenix_starter_web/router.ex
newaperio/phoenix_starter
02f2f5550a94b940bb4e9c61042b032f54af8b72
[ "MIT" ]
204
2020-11-27T06:00:31.000Z
2022-03-25T08:08:16.000Z
lib/phoenix_starter_web/router.ex
newaperio/phoenix_starter
02f2f5550a94b940bb4e9c61042b032f54af8b72
[ "MIT" ]
null
null
null
defmodule PhoenixStarterWeb.Router do use PhoenixStarterWeb, :router import PhoenixStarterWeb.UserAuth import Phoenix.LiveDashboard.Router alias PhoenixStarterWeb.RequireUserPermission pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_lay...
32.185185
90
0.742232
d5a942460ad495cb122aea0f67f8fb6f7d22b27f
2,991
ex
Elixir
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/sku.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/sku.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_billing/lib/google_api/cloud_billing/v1/model/sku.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...
42.126761
167
0.698094
d5a95c90f912d0516633b5e13e0d17d4936c6ddf
4,781
ex
Elixir
lib/kitt/message/tim.ex
jeffgrunewald/kitt
00298b1804c7c6df1c0983da7bc92c9994b6b0fc
[ "Apache-2.0" ]
2
2020-01-24T14:48:00.000Z
2021-09-30T12:59:52.000Z
lib/kitt/message/tim.ex
jeffgrunewald/kitt
00298b1804c7c6df1c0983da7bc92c9994b6b0fc
[ "Apache-2.0" ]
1
2020-01-28T15:04:19.000Z
2020-01-28T15:04:19.000Z
lib/kitt/message/tim.ex
jeffgrunewald/kitt
00298b1804c7c6df1c0983da7bc92c9994b6b0fc
[ "Apache-2.0" ]
1
2020-01-27T13:32:25.000Z
2020-01-27T13:32:25.000Z
defmodule Kitt.Message.TIM do @moduledoc """ Defines the structure and instantiation function for creating a J2735-compliant Traveler Information message A `TIM` defines a generic message type used to relay various advisory notifications to equipped devices, including but not limited to vehicles """ @ty...
28.801205
111
0.559716
d5a95e9f6be62228c14a9c9d573060e74343ab12
2,295
exs
Elixir
test/correlation_test.exs
gyson/Numerix
b96a9946b2f9680ab0b24e89287f7b9bf4481d9e
[ "MIT" ]
null
null
null
test/correlation_test.exs
gyson/Numerix
b96a9946b2f9680ab0b24e89287f7b9bf4481d9e
[ "MIT" ]
null
null
null
test/correlation_test.exs
gyson/Numerix
b96a9946b2f9680ab0b24e89287f7b9bf4481d9e
[ "MIT" ]
null
null
null
defmodule Numerix.CorrelationTest do use ExUnit.Case, async: true use ExCheck import ListHelper alias Numerix.Correlation test "pearson is nil when any vector is empty" do refute Correlation.pearson([], [1]) refute Correlation.pearson([2], []) refute Correlation.pearson([], []) end test "pe...
34.253731
104
0.672767
d5a9676785e35b55a73308d758abf7d6988cb9b0
1,779
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/node_types_scoped_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_types_scoped_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/node_types_scoped_list.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.882353
108
0.747049
d5a9ab1d7315e4f33e73be8015bc01c35708007a
398
ex
Elixir
lib/bs/test/vector.ex
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
3
2018-07-14T22:55:23.000Z
2019-02-25T06:11:55.000Z
lib/bs/test/vector.ex
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
7
2020-02-12T03:22:59.000Z
2022-02-10T20:23:52.000Z
lib/bs/test/vector.ex
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
12
2018-03-27T05:27:20.000Z
2019-04-02T08:19:04.000Z
defmodule Bs.Test.Vector do alias Bs.Point use Ecto.Schema @primary_key false embedded_schema do field(:x, :integer) field(:y, :integer) end defmacro v(x, y) do quote bind_quoted: [x: x, y: y], do: %Bs.Test.Vector{ x: x, y: y } end def to_poin...
14.214286
36
0.527638
d5a9baca3b0609149ca443ae7e67213b774bde35
573
ex
Elixir
lib/exavier/mutators/invert_negatives.ex
dnlserrano/exavier
3d4d64ebb83b533b85c51fa6f7fdd60983afa2b4
[ "MIT" ]
93
2019-07-22T09:21:31.000Z
2022-02-02T05:49:29.000Z
lib/exavier/mutators/invert_negatives.ex
dnlserrano/exavier
3d4d64ebb83b533b85c51fa6f7fdd60983afa2b4
[ "MIT" ]
21
2019-07-26T12:54:37.000Z
2022-03-10T10:56:47.000Z
lib/exavier/mutators/invert_negatives.ex
dnlserrano/exavier
3d4d64ebb83b533b85c51fa6f7fdd60983afa2b4
[ "MIT" ]
7
2019-11-05T08:32:51.000Z
2020-11-25T19:37:35.000Z
defmodule Exavier.Mutators.InvertNegatives do @moduledoc """ The invert negatives mutator inverts negation of integer and floating point numbers. For example: def negate(n) do -n end will be mutated into def negate(n) do n end """ @behaviour Exavier.Mutators.Muta...
17.363636
86
0.649215
d5a9ed3e3454c92591c1ac833862971703db54af
1,330
exs
Elixir
mix.exs
EdBondArcher/okta-elixir
f7831125e40a1b4f8b488528b6a09b87d654db45
[ "MIT" ]
7
2021-07-19T10:41:43.000Z
2022-02-23T20:56:51.000Z
mix.exs
EdBondArcher/okta-elixir
f7831125e40a1b4f8b488528b6a09b87d654db45
[ "MIT" ]
10
2019-08-18T11:31:43.000Z
2019-09-24T18:12:24.000Z
mix.exs
EdBondArcher/okta-elixir
f7831125e40a1b4f8b488528b6a09b87d654db45
[ "MIT" ]
2
2020-07-08T05:08:52.000Z
2020-11-23T17:37:38.000Z
defmodule Okta.MixProject do use Mix.Project def project do [ app: :okta_api, version: "0.1.14", elixir: "~> 1.9", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), so...
24.181818
73
0.570677
d5a9f810562dab1ca1e4beffdd5e0758555c45e8
85
exs
Elixir
test/cloudinary/format_test.exs
h-ikeda/cloudinary-elixir
5e70aedb6d1e51839f1e21c49b40293036b99efd
[ "MIT" ]
1
2021-05-23T09:17:44.000Z
2021-05-23T09:17:44.000Z
test/cloudinary/format_test.exs
h-ikeda/cloudinary-elixir
5e70aedb6d1e51839f1e21c49b40293036b99efd
[ "MIT" ]
44
2020-05-15T03:36:36.000Z
2022-03-23T21:39:11.000Z
test/cloudinary/format_test.exs
h-ikeda/cloudinary-elixir
5e70aedb6d1e51839f1e21c49b40293036b99efd
[ "MIT" ]
null
null
null
defmodule Cloudinary.FormatTest do use ExUnit.Case doctest Cloudinary.Format end
17
34
0.823529
d5aa0789618e3ff377c562fd9fa54b8206d78e67
6,322
exs
Elixir
test/test_helper.exs
luisfmcalado/myxql
99ea7cb5cb9e490b8639dab92011a4167f661915
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
luisfmcalado/myxql
99ea7cb5cb9e490b8639dab92011a4167f661915
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
luisfmcalado/myxql
99ea7cb5cb9e490b8639dab92011a4167f661915
[ "Apache-2.0" ]
1
2022-02-01T15:13:09.000Z
2022-02-01T15:13:09.000Z
defmodule TestHelper do def opts() do [ hostname: "127.0.0.1", username: "root", database: "myxql_test", timeout: 5000, ssl_opts: ssl_opts(), backoff_type: :stop, max_restarts: 0, pool_size: 1, show_sensitive_data_on_connection_error: true ] end defp ...
26.232365
101
0.632869
d5aa1cf34eaa73bf593d807c8aa67da5bb812c19
516
ex
Elixir
spec/espec_phoenix_extend.ex
marnen/contraq-elixir
69798c1b92a08c76a63e200eadeeb19986d56d91
[ "MIT" ]
null
null
null
spec/espec_phoenix_extend.ex
marnen/contraq-elixir
69798c1b92a08c76a63e200eadeeb19986d56d91
[ "MIT" ]
3
2016-11-25T20:35:54.000Z
2016-11-26T19:45:35.000Z
spec/espec_phoenix_extend.ex
marnen/contraq-elixir
69798c1b92a08c76a63e200eadeeb19986d56d91
[ "MIT" ]
null
null
null
defmodule ESpec.Phoenix.Extend do def model do quote do alias Contraq.Repo end end def controller do quote do alias Contraq import Contraq.Router.Helpers @endpoint Contraq.Endpoint end end def view do quote do import Contraq.Router.Helpers end end ...
14.742857
50
0.649225
d5aa2b0d71f4400fce8d4949b2f30e8c80e7ff5b
666
exs
Elixir
config/test.exs
Yeboster/Yeboster.me
443ba2762622aac0313bc9350bdd16895574d0d1
[ "MIT" ]
1
2020-10-09T06:28:30.000Z
2020-10-09T06:28:30.000Z
config/test.exs
Yeboster/Yeboster.me
443ba2762622aac0313bc9350bdd16895574d0d1
[ "MIT" ]
null
null
null
config/test.exs
Yeboster/Yeboster.me
443ba2762622aac0313bc9350bdd16895574d0d1
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :yeboster, Yeboster.Repo, username: "postgres", password: "postgres", database: "yeboster_test#{System...
28.956522
67
0.750751
d5aa30683cd38f755546010e9d8bf0ebf4c6fd74
1,419
exs
Elixir
test/react_render_test.exs
zachdaniel/elixir_react_render
c7c625c92c1730a2b88d8a9ad2b57bbe63131eae
[ "MIT" ]
106
2018-06-13T14:23:30.000Z
2022-02-13T02:44:04.000Z
test/react_render_test.exs
zachdaniel/elixir_react_render
c7c625c92c1730a2b88d8a9ad2b57bbe63131eae
[ "MIT" ]
38
2018-06-30T16:02:55.000Z
2021-08-02T11:15:17.000Z
test/react_render_test.exs
zachdaniel/elixir_react_render
c7c625c92c1730a2b88d8a9ad2b57bbe63131eae
[ "MIT" ]
22
2018-08-02T01:45:37.000Z
2021-07-05T03:12:59.000Z
defmodule ReactRender.Test do use ExUnit.Case doctest ReactRender setup_all do apply(ReactRender, :start_link, [[render_service_path: "#{File.cwd!}/test/fixtures"]]) :ok end describe "get_html" do test "returns html" do {:ok, html} = ReactRender.get_html("ClassComponent.js", %{name: "test"...
29.5625
90
0.624383
d5aa32549a334c2804f13143c846fd9e74843392
101
exs
Elixir
elixir-primer/v01/ch14/keyword_lists1.exs
Atla0903/Study-Elixir
155fbf30e508e513278425b89262a0a444e0936c
[ "Unlicense" ]
null
null
null
elixir-primer/v01/ch14/keyword_lists1.exs
Atla0903/Study-Elixir
155fbf30e508e513278425b89262a0a444e0936c
[ "Unlicense" ]
null
null
null
elixir-primer/v01/ch14/keyword_lists1.exs
Atla0903/Study-Elixir
155fbf30e508e513278425b89262a0a444e0936c
[ "Unlicense" ]
null
null
null
options = [foo: 1, bar: 2] #IO.inspect options[:foo] IO.inspect options.foo IO.inspect options[:bar]
20.2
26
0.712871
d5aa6258e1ef0bd0e95e73f9639bd7f63f7114e1
1,487
ex
Elixir
lib/protocol/v4/frames/responses/error.ex
overdb/over_db
0bc52de49ee684b4d63607e960d522663e17ed6a
[ "Apache-2.0" ]
7
2019-04-13T01:11:18.000Z
2020-08-11T08:11:03.000Z
lib/protocol/v4/frames/responses/error.ex
overdb/over_db
0bc52de49ee684b4d63607e960d522663e17ed6a
[ "Apache-2.0" ]
null
null
null
lib/protocol/v4/frames/responses/error.ex
overdb/over_db
0bc52de49ee684b4d63607e960d522663e17ed6a
[ "Apache-2.0" ]
null
null
null
defmodule OverDB.Protocol.V4.Frames.Responses.Error do alias OverDB.Protocol.V4.Frames.Responses.Decoder alias OverDB.Protocol.V4.Frames.Frame defexception [:reason, :message] @type t :: %__MODULE__{reason: atom, message: String.t} @error_codes %{ 0x0000 => :server_failure, 0x000A => :protocol_vio...
25.20339
76
0.667787
d5aa7d8cac26120c8e774b9f8215ed93e732217f
1,882
exs
Elixir
test/moebius/basic_select_test.exs
KritR/moebius
fc242bfd474ed4c030487749fe0354469fa7d5b8
[ "BSD-3-Clause" ]
609
2015-10-13T23:42:14.000Z
2022-03-29T21:11:25.000Z
test/moebius/basic_select_test.exs
KritR/moebius
fc242bfd474ed4c030487749fe0354469fa7d5b8
[ "BSD-3-Clause" ]
82
2015-10-20T02:18:00.000Z
2021-12-14T19:17:57.000Z
test/moebius/basic_select_test.exs
KritR/moebius
fc242bfd474ed4c030487749fe0354469fa7d5b8
[ "BSD-3-Clause" ]
62
2015-10-20T01:14:15.000Z
2021-11-26T19:02:00.000Z
defmodule Moebius.BasicSelectTest do use ExUnit.Case import Moebius.Query import TestDb setup do db(:logs) |> delete |> run db(:users) |> delete |> run {:ok, user} = db(:users) |> insert(email: "friend@test.com") |> run db(:users) |> insert(email: "enemy@test.com") |> run {:ok, res: user} ...
20.911111
81
0.56695
d5aab29d65c261522f3cdd4e16c130cdc96d0a0b
126
exs
Elixir
test/drab/live/partial_test.exs
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
933
2017-01-14T13:47:37.000Z
2022-03-21T18:14:41.000Z
test/drab/live/partial_test.exs
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
189
2017-01-15T18:35:06.000Z
2022-01-24T17:41:22.000Z
test/drab/live/partial_test.exs
Gamecode-HQ/drab
dfbe73c0675831f42829f0f3f7fe12d47a78badc
[ "MIT" ]
54
2017-01-15T18:10:48.000Z
2021-02-06T17:21:44.000Z
defmodule Drab.Live.PartialTest do use ExUnit.Case, ascync: true import Drab.Live.Partial doctest Drab.Live.Partial end
21
34
0.785714
d5aab7f877038609c1cdae41658278d20aafd67a
1,336
ex
Elixir
lib/ex_unit/lib/ex_unit/event_manager.ex
elkinsd/elixir
810965e193cb57b82363e7c0c97b719743b7964f
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/event_manager.ex
elkinsd/elixir
810965e193cb57b82363e7c0c97b719743b7964f
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/event_manager.ex
elkinsd/elixir
810965e193cb57b82363e7c0c97b719743b7964f
[ "Apache-2.0" ]
null
null
null
# This module publishes events during the test suite run. # This is used, for example, by formatters to print user # information as well as internal statistics for ExUnit. defmodule ExUnit.EventManager do @moduledoc false def start_link() do :gen_event.start_link() end def add_handler(ref, handler, args) ...
24.290909
62
0.71482
d5aaf8618791f30718ff8961804f4e05b6f43004
1,051
ex
Elixir
address_validator/apps/address_validation_rest/lib/address_validation_rest.ex
aikssen/address_hackaton
38f608d23705052776ce26f38ba67a6c1ef52ab2
[ "MIT" ]
null
null
null
address_validator/apps/address_validation_rest/lib/address_validation_rest.ex
aikssen/address_hackaton
38f608d23705052776ce26f38ba67a6c1ef52ab2
[ "MIT" ]
null
null
null
address_validator/apps/address_validation_rest/lib/address_validation_rest.ex
aikssen/address_hackaton
38f608d23705052776ce26f38ba67a6c1ef52ab2
[ "MIT" ]
null
null
null
defmodule AddressValidationRest do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the en...
35.033333
99
0.74215
d5aafbb482c58a0543941424cc79d86d31cc64cc
902
ex
Elixir
lib/exq_ui_web/live/dead_live/show.ex
neslinesli93/exq_ui
11fe6b75f104cf524757e008a46af541c3cbeb0e
[ "Apache-2.0" ]
null
null
null
lib/exq_ui_web/live/dead_live/show.ex
neslinesli93/exq_ui
11fe6b75f104cf524757e008a46af541c3cbeb0e
[ "Apache-2.0" ]
null
null
null
lib/exq_ui_web/live/dead_live/show.ex
neslinesli93/exq_ui
11fe6b75f104cf524757e008a46af541c3cbeb0e
[ "Apache-2.0" ]
null
null
null
defmodule ExqUIWeb.DeadLive.Show do @moduledoc false use ExqUIWeb, :live_view alias ExqUI.Queue @impl true def mount(%{"score" => score, "jid" => jid}, _session, socket) do socket = assign(socket, :actions, [ %{name: "delete", label: "Delete"}, %{name: "dequeue_now", label: "Retry N...
26.529412
73
0.646341
d5ab0f46915688ecfd092e8d2d9e35ec85462962
1,908
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/model/event_attachment.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/event_attachment.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/event_attachment.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.692308
202
0.740566
d5ab22e3864e21a80be18b270950fefa392bf524
919
ex
Elixir
lib/web/router.ex
starbuildr/ex_factory
5248d0dd802f2df2fb25c736c48ae2489c01a98e
[ "MIT" ]
null
null
null
lib/web/router.ex
starbuildr/ex_factory
5248d0dd802f2df2fb25c736c48ae2489c01a98e
[ "MIT" ]
null
null
null
lib/web/router.ex
starbuildr/ex_factory
5248d0dd802f2df2fb25c736c48ae2489c01a98e
[ "MIT" ]
null
null
null
defmodule ExFactory.Web.Router do @moduledoc """ Router for webhooks. """ use Plug.Router use Plug.ErrorHandler alias ExFactory.Web.ActionPlug require Logger plug :fetch_query_params plug ExFactory.Web.Authorization plug :match plug :dispatch def start_link do config = Application.get_e...
24.837838
103
0.687704
d5ab9210547867e7fa8f2936c44d6d8ac733c620
1,815
exs
Elixir
apps/activity_logger/mix.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/activity_logger/mix.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/activity_logger/mix.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
defmodule ActivityLogger.MixProject do use Mix.Project def project do [ app: :activity_logger, version: "2.0.0-dev", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.8", elixirc...
26.691176
67
0.567493
d5ab9fe82490ab0c5f7c029edd6825240815db9f
2,492
exs
Elixir
test/acceptance/ast/atx_headers_test.exs
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
test/acceptance/ast/atx_headers_test.exs
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
test/acceptance/ast/atx_headers_test.exs
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
defmodule Acceptance.Ast.AtxHeadersTest do use ExUnit.Case, async: true import Support.Helpers, only: [as_ast: 1] import EarmarkAstDsl describe "ATX headers" do test "from one to six" do markdown = "# foo\n## foo\n### foo\n#### foo\n##### foo\n###### foo\n" ast = (1..6) |> Enum.map(&tag("...
27.086957
110
0.487159
d5abb38119e60c2e828da6a76ddbf9a3bae82f6f
89
exs
Elixir
test/akd/base/init/distillery_test.exs
corroded/akd
ed15b8929b6d110552a19522f8a17edf75452e87
[ "MIT" ]
null
null
null
test/akd/base/init/distillery_test.exs
corroded/akd
ed15b8929b6d110552a19522f8a17edf75452e87
[ "MIT" ]
null
null
null
test/akd/base/init/distillery_test.exs
corroded/akd
ed15b8929b6d110552a19522f8a17edf75452e87
[ "MIT" ]
null
null
null
defmodule Akd.Init.DistilleryTest do use ExUnit.Case doctest Akd.Init.Distillery end
17.8
36
0.808989
d5abb65d7036a40968d2b845321c43b934dd3a9f
1,521
exs
Elixir
enumarablesstreams/streams.exs
ezkemboi/elixir
5641c8c9cc24b5e51546328b7fbba04d3b28e3b2
[ "Apache-2.0" ]
1
2020-01-21T19:58:41.000Z
2020-01-21T19:58:41.000Z
enumarablesstreams/streams.exs
ezkemboi/elixir
5641c8c9cc24b5e51546328b7fbba04d3b28e3b2
[ "Apache-2.0" ]
null
null
null
enumarablesstreams/streams.exs
ezkemboi/elixir
5641c8c9cc24b5e51546328b7fbba04d3b28e3b2
[ "Apache-2.0" ]
null
null
null
~S""" streams is opposite of Enum and support lazy loading they are lazy, composable enumarables """ odd? = &(rem(&1, 2) != 0) # use function capturing streamed_data = 1..100_000 |> Stream.map(&(&1 * 3)) |> Stream.filter(odd?) |> Enum.sum IO.puts streamed_data # they are composable because we can pipe many stream opera...
41.108108
86
0.749507
d5abc18eb6bd8b49bf83cd9741995bf2729a4ddd
59,092
exs
Elixir
test/ecto/query/planner_test.exs
fcevado/ecto
a931b4f216267779c806946585ebeb1ea6d92b02
[ "Apache-2.0" ]
null
null
null
test/ecto/query/planner_test.exs
fcevado/ecto
a931b4f216267779c806946585ebeb1ea6d92b02
[ "Apache-2.0" ]
null
null
null
test/ecto/query/planner_test.exs
fcevado/ecto
a931b4f216267779c806946585ebeb1ea6d92b02
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../../integration_test/support/types.exs", __DIR__ defmodule Ecto.Query.PlannerTest do use ExUnit.Case, async: true import Ecto.Query alias Ecto.Query.Planner alias Ecto.Query.JoinExpr defmodule Comment do use Ecto.Schema schema "comments" do field :text, :string ...
41.20781
193
0.592432
d5abc89a3d4696a4de8c769801c2f32ac356d3e8
5,159
ex
Elixir
apps/omg_api/lib/ethereum_event_listener/core.ex
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
null
null
null
apps/omg_api/lib/ethereum_event_listener/core.ex
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
null
null
null
apps/omg_api/lib/ethereum_event_listener/core.ex
hoardexchange/elixir-omg
423528699d467f1cc0d02c596290ab907af38c2c
[ "Apache-2.0" ]
2
2020-06-07T11:14:54.000Z
2020-08-02T07:36:32.000Z
# Copyright 2018 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...
38.789474
120
0.689475
d5abc9f53eeabd7e627b9ffba1fc3c0004675205
781
exs
Elixir
test/x_test.exs
omohokcoj/x_component
0f51d78b80b7d54d238b7d0c2c3c2f93b9320108
[ "MIT" ]
53
2020-02-09T16:34:46.000Z
2021-04-01T17:48:26.000Z
test/x_test.exs
omohokcoj/x_component
0f51d78b80b7d54d238b7d0c2c3c2f93b9320108
[ "MIT" ]
1
2020-03-11T03:22:52.000Z
2020-03-11T03:22:52.000Z
test/x_test.exs
omohokcoj/x_component
0f51d78b80b7d54d238b7d0c2c3c2f93b9320108
[ "MIT" ]
1
2020-02-09T16:34:49.000Z
2020-02-09T16:34:49.000Z
defmodule XTest do use ExUnit.Case doctest X defmodule Example do use X.Component, assigns: %{ :x => integer() }, template: ~X""" <div> {{ x }} </div> """ end describe "compile_string/3" do test "throws syntax error" do assert_raise SyntaxError, fn -> ...
19.04878
47
0.551857
d5abe8269fffc5e8ee63c4c2b796e641287044aa
179
exs
Elixir
config/test.exs
grekko/mastery
f80dfcb660f23187970442ea237e4128ce3ac262
[ "MIT" ]
null
null
null
config/test.exs
grekko/mastery
f80dfcb660f23187970442ea237e4128ce3ac262
[ "MIT" ]
null
null
null
config/test.exs
grekko/mastery
f80dfcb660f23187970442ea237e4128ce3ac262
[ "MIT" ]
null
null
null
use Mix.Config config :mastery_persistence, MasteryPersistence.Repo, database: "mastery_test", hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox
22.375
38
0.681564
d5ac26037903f412d30ee60fbb6ed20b4ffa2c7c
73
exs
Elixir
test/test_helper.exs
duksis/elixir_jobs
e4715cdb6ad2e5a067396358c576992b1e0212e3
[ "MIT" ]
null
null
null
test/test_helper.exs
duksis/elixir_jobs
e4715cdb6ad2e5a067396358c576992b1e0212e3
[ "MIT" ]
null
null
null
test/test_helper.exs
duksis/elixir_jobs
e4715cdb6ad2e5a067396358c576992b1e0212e3
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(ElixirJobs.Repo, :manual)
18.25
56
0.780822
d5ac3022838fc5a57142e148b1777d2746b93e8c
14,921
exs
Elixir
test/range_test.exs
maartenvanvliet/sourceror
02fff81a59d6c9a2d4de3fc1b27e2d40ff77ea2d
[ "Apache-2.0" ]
118
2021-05-26T05:00:32.000Z
2022-03-13T16:25:36.000Z
test/range_test.exs
maartenvanvliet/sourceror
02fff81a59d6c9a2d4de3fc1b27e2d40ff77ea2d
[ "Apache-2.0" ]
35
2021-06-02T20:18:48.000Z
2022-03-31T20:52:22.000Z
test/range_test.exs
maartenvanvliet/sourceror
02fff81a59d6c9a2d4de3fc1b27e2d40ff77ea2d
[ "Apache-2.0" ]
5
2021-06-15T18:01:04.000Z
2022-02-13T09:14:28.000Z
defmodule SourcerorTest.RangeTest do use ExUnit.Case, async: true doctest Sourceror.Range defp to_range(string, opts \\ []) do string |> Sourceror.parse_string!() |> Sourceror.Range.get_range(opts) end describe "get_range/1" do test "with comments" do assert to_range(~S""" ...
28.916667
98
0.401984
d5ac37f65a5481f67d624273927a3317645ad8bf
12,868
exs
Elixir
test/picofeed/rss2_test.exs
diegocurbelo/feedex
2f1e37769bd8da9d22871c1d8395c333eabf23a6
[ "MIT" ]
null
null
null
test/picofeed/rss2_test.exs
diegocurbelo/feedex
2f1e37769bd8da9d22871c1d8395c333eabf23a6
[ "MIT" ]
null
null
null
test/picofeed/rss2_test.exs
diegocurbelo/feedex
2f1e37769bd8da9d22871c1d8395c333eabf23a6
[ "MIT" ]
null
null
null
defmodule PicoFeed.RSS2Test do use ExUnit.Case setup_all do {:ok, %{rss_20: File.read!("test/picofeed/fixtures/rss_20.xml") |> Feedex.parse!, rss_20_fallback_on_invalid_feed_values: File.read!("test/picofeed/fixtures/rss_20_fallback_on_invalid_feed_values.xml") |> Feedex.parse!, rss_20_...
57.446429
557
0.664439
d5ac7d4d9b89dc51dfb9d9e5d1b7d092a71a916d
287
exs
Elixir
priv/repo/migrations/20160724210543_add_name_to_fantasy_league.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
priv/repo/migrations/20160724210543_add_name_to_fantasy_league.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
priv/repo/migrations/20160724210543_add_name_to_fantasy_league.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338.Repo.Migrations.AddNameToFantasyLeague do use Ecto.Migration def up do alter table(:fantasy_leagues) do add :fantasy_league_name, :string end end def down do alter table(:fantasy_leagues) do remove :fantasy_league_name end end end
17.9375
57
0.71777
d5ac93b33d4ad1bd6f52943e5343f740c98d41ca
604
ex
Elixir
lib/groupher_server_web/middleware/count_length.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
lib/groupher_server_web/middleware/count_length.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
lib/groupher_server_web/middleware/count_length.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
# Absinthe.Middleware behaviour # see https://hexdocs.pm/absinthe/Absinthe.Middleware.html#content # --- defmodule GroupherServerWeb.Middleware.CountLength do @behaviour Absinthe.Middleware # google: must appear in the GROUP BY clause or be used in an aggregate function def call(%{errors: errors} = resolution, _...
30.2
85
0.713576
d5ac96a2b06e068c88d94c47a969abd245cfde31
209
ex
Elixir
apps/lotka_volterra/lib/lotka_volterra/predator.ex
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
10
2019-08-02T06:41:23.000Z
2022-03-09T16:12:30.000Z
apps/lotka_volterra/lib/lotka_volterra/predator.ex
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
319
2019-06-11T20:16:26.000Z
2022-03-09T16:24:22.000Z
apps/lotka_volterra/lib/lotka_volterra/predator.ex
grrrisu/thundermoon-mvp
17939d51c7b07216dfd63ba1b2ba53d56f94a48d
[ "MIT" ]
4
2019-08-15T19:52:07.000Z
2021-12-02T14:52:54.000Z
defmodule LotkaVolterra.Predator do defstruct birth_rate: 0.5, death_rate: 0.01, needed_food: 3, starving_rate: 0.3, graze_rate: 0.1, size: 10 end
23.222222
35
0.545455
d5ac9b9b17cd6dafce76fb8e29fb4552df49c3cd
1,155
ex
Elixir
apps/cronitex/lib/cronitex/monitors/cron_monitor.ex
alayers2/cronitex
cf8da9553b8e93b9171f5e9a0f0a08a24a324689
[ "MIT" ]
1
2020-11-05T15:38:53.000Z
2020-11-05T15:38:53.000Z
apps/cronitex/lib/cronitex/monitors/cron_monitor.ex
alayers2/cronitex
cf8da9553b8e93b9171f5e9a0f0a08a24a324689
[ "MIT" ]
36
2020-10-24T01:28:42.000Z
2022-02-07T11:11:37.000Z
apps/cronitex/lib/cronitex/monitors/cron_monitor.ex
alayers2/cronitex
cf8da9553b8e93b9171f5e9a0f0a08a24a324689
[ "MIT" ]
null
null
null
defmodule Cronitex.Monitors.CronMonitor do use Ecto.Schema import Ecto.Changeset import Crontab.CronExpression.Ecto.Type schema "cronmonitors" do field :name, :string field :cron_expression, Crontab.CronExpression.Ecto.Type field :start_tolerance_seconds, :integer, default: 60 field :token, :st...
26.860465
92
0.715152
d5aca30f1e5acd8d5c864dd52ecfa3e6c0b9ecad
934
ex
Elixir
test/support/channel_case.ex
rafalgolarz/liveview_bindings
c64fbf9661d5ff78c839daa7561549bbf6cbc731
[ "MIT" ]
null
null
null
test/support/channel_case.ex
rafalgolarz/liveview_bindings
c64fbf9661d5ff78c839daa7561549bbf6cbc731
[ "MIT" ]
1
2021-03-10T09:32:06.000Z
2021-03-10T09:32:06.000Z
test/support/channel_case.ex
rafalgolarz/liveview_bindings
c64fbf9661d5ff78c839daa7561549bbf6cbc731
[ "MIT" ]
null
null
null
defmodule LiveviewBindingsWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case in...
27.470588
73
0.745182
d5acb08f0b3636523d066070743a180a9c9aedfb
3,424
ex
Elixir
test/support/pages/case_investigation_start_interview.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/support/pages/case_investigation_start_interview.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/support/pages/case_investigation_start_interview.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.Test.Pages.CaseInvestigationStartInterview do import ExUnit.Assertions import Phoenix.LiveViewTest alias Epicenter.Cases.CaseInvestigation alias Epicenter.Test alias EpicenterWeb.Test.Pages alias Phoenix.LiveViewTest.View @form_id "case-investigation-interview-start-form" def v...
28.297521
115
0.677278
d5accb7c4478526ab958dc5f2e5e060b2f53e8f3
144
ex
Elixir
web/views/contact_view.ex
cncgl/phoenix-sample
81b1c807a40e972df93ccc4063395ddf48bf4e2e
[ "MIT" ]
1
2016-01-01T12:55:25.000Z
2016-01-01T12:55:25.000Z
web/views/contact_view.ex
cncgl/phoenix-todo
81b1c807a40e972df93ccc4063395ddf48bf4e2e
[ "MIT" ]
1
2015-09-10T13:41:51.000Z
2015-09-10T13:41:51.000Z
web/views/contact_view.ex
cncgl/phoenix-todo
81b1c807a40e972df93ccc4063395ddf48bf4e2e
[ "MIT" ]
null
null
null
defmodule HelloPhoenix.ContactView do use HelloPhoenix.Web, :view def render("index.json", %{contacts: contacts}) do contacts end end
20.571429
52
0.736111
d5ace581018ef26e3b6c21ef307e189a85abf1e2
17,076
ex
Elixir
lib/surface/ast.ex
kreenotes/Underware
b593d52001e6fd768ef36acd320c0b93bc8b89fd
[ "MIT" ]
1
2021-06-04T20:46:52.000Z
2021-06-04T20:46:52.000Z
lib/surface/ast.ex
kreenotes/surface
b593d52001e6fd768ef36acd320c0b93bc8b89fd
[ "MIT" ]
null
null
null
lib/surface/ast.ex
kreenotes/surface
b593d52001e6fd768ef36acd320c0b93bc8b89fd
[ "MIT" ]
null
null
null
defmodule Surface.AST do @type t :: Surface.AST.Literal.t() | Surface.AST.Interpolation.t() | Surface.AST.Expr.t() | Surface.AST.Tag.t() | Surface.AST.VoidTag.t() | Surface.AST.Template.t() | Surface.AST.Slot.t() | Surface.AST.If.t() ...
33.093023
131
0.613434
d5ad68f37a0c9f6eed205800ed60d96724019840
4,073
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/work_item.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/work_item.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/work_item.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...
49.072289
140
0.754726
d5ad790c916b37714f2083f86372af0cd7034db1
1,138
ex
Elixir
otapi/lib/otapi_web/router.ex
MauriceReeves-usds/OpenTransplant
c0196ff8bc5b914ce07502a4b7a760c508854804
[ "Apache-2.0" ]
32
2021-05-15T15:03:39.000Z
2022-03-30T01:19:43.000Z
otapi/lib/otapi_web/router.ex
MauriceReeves-usds/OpenTransplant
c0196ff8bc5b914ce07502a4b7a760c508854804
[ "Apache-2.0" ]
3
2021-05-28T18:54:48.000Z
2021-07-15T01:06:26.000Z
otapi/lib/otapi_web/router.ex
MauriceReeves-usds/OpenTransplant
c0196ff8bc5b914ce07502a4b7a760c508854804
[ "Apache-2.0" ]
1
2021-06-25T20:40:30.000Z
2021-06-25T20:40:30.000Z
defmodule OtapiWeb.Router do use OtapiWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", OtapiWeb do pipe_throug...
25.288889
74
0.704745
d5ad8cf4c117068212fbba1008e2881e2b96154a
80
exs
Elixir
test/central_web/views/page_view_test.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
test/central_web/views/page_view_test.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
test/central_web/views/page_view_test.exs
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule CentralWeb.PageViewTest do use CentralWeb.ConnCase, async: true end
20
38
0.825
d5add79020d42b9ce2ba12e9922906ac76008347
722
ex
Elixir
lib/toxin.ex
gamezcua1/Toxin
fece5bb82ccc679c258ec9a26a633247cbe53691
[ "MIT" ]
null
null
null
lib/toxin.ex
gamezcua1/Toxin
fece5bb82ccc679c258ec9a26a633247cbe53691
[ "MIT" ]
null
null
null
lib/toxin.ex
gamezcua1/Toxin
fece5bb82ccc679c258ec9a26a633247cbe53691
[ "MIT" ]
null
null
null
defmodule Toxin do use Application def start() do :mnesia.start() :mnesia.restore('data.BUPTMP', []) create_db() backing_up() children = [ {Task.Supervisor, name: Server.TaskSupervisor}, Supervisor.child_spec({Task, fn -> Toxin.Server.start(4040) end}, restart: :permanent) ] ...
21.878788
92
0.65651
d5ade3c40431b144a4eeea5ba31964d08d003ecd
543
ex
Elixir
apps/ello_core/lib/ello_core/content/asset/attachment.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_core/lib/ello_core/content/asset/attachment.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_core/lib/ello_core/content/asset/attachment.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.Core.Content.Asset.Attachment do alias Ello.Core.Image alias Ello.Core.Content.Asset @spec from_asset(asset :: Asset.t) :: Image.t def from_asset(asset) do %Image{ filename: asset.attachment, path: "/uploads/asset/attachment/#{asset.id}", versions: Image.Version.from_me...
28.578947
60
0.662983
d5ade575af873d87a793b9a5d98b86c361a6aeb4
5,273
exs
Elixir
lib/mix/test/mix/tasks/help_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/test/mix/tasks/help_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/test/mix/tasks/help_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.HelpTest do use MixTest.Case import ExUnit.CaptureIO test "help lists all tasks", context do in_tmp(context.test, fn -> Mix.Tasks.Help.run([]) assert_received {:mix_shell, :info, ["mix" <> _]} assert_received {:mix_sh...
25.848039
97
0.57197
d5adfdbba628e51ec9cdc71e6591bcb9b8944ccc
1,715
ex
Elixir
clients/library_agent/lib/google_api/library_agent/v1/model/google_example_libraryagent_v1_shelf.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/library_agent/lib/google_api/library_agent/v1/model/google_example_libraryagent_v1_shelf.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/library_agent/lib/google_api/library_agent/v1/model/google_example_libraryagent_v1_shelf.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...
34.3
189
0.732362
d5ae0fe438af20984504827912630d2850b75457
2,837
exs
Elixir
config/config.exs
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
config/config.exs
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
config/config.exs
wses-yoshida/antikythera
e108e59d2339edd0b0fad31ad4f41f56df45be55
[ "Apache-2.0" ]
null
null
null
# Copyright(c) 2015-2019 ACCESS CO., LTD. All rights reserved. use Mix.Config for {app, kw} <- Antikythera.MixConfig.all() do config(app, kw) end # Auxiliary variables. repo_tmp_dir_basename = if System.get_env("ANTIKYTHERA_COMPILE_ENV") == "local", do: "local", else: :os.getpid() repo_tmp_dir = Path.join([__DIR__...
43.646154
119
0.733521
d5ae5914084110df1134a8ba6926ae06bdc33ee0
958
ex
Elixir
lib/glasnost/schemas/golos_comment.ex
cyberpunk-ventures/glasnost
d6853a191ac2094dbe160953094a6d0c7e6c0778
[ "MIT" ]
26
2017-03-04T20:07:09.000Z
2018-08-15T10:16:06.000Z
lib/glasnost/schemas/golos_comment.ex
cyberpunk-ventures/glasnost
d6853a191ac2094dbe160953094a6d0c7e6c0778
[ "MIT" ]
18
2017-03-18T13:59:31.000Z
2018-09-06T10:08:33.000Z
lib/glasnost/schemas/golos_comment.ex
metachaos-systems/glasnost
d6853a191ac2094dbe160953094a6d0c7e6c0778
[ "MIT" ]
9
2017-03-16T19:02:04.000Z
2018-06-02T23:44:52.000Z
defmodule Glasnost.Golos.Comment do use Ecto.Schema import Ecto.Changeset alias Glasnost.Comment require Logger defdelegate filter_by(posts, filter, rules), to: Comment.Filters, as: :by schema "golos_comments" do field :author, :string field :permlink, :string field :title, :string field :p...
26.611111
75
0.713987
d5ae892fc98208ac11207726913f8cb17f2df829
1,135
exs
Elixir
mix.exs
russelldb/hamcrest-erlang
ad3dbab419762fc2d5821abb88b989da006b85c6
[ "BSD-3-Clause" ]
null
null
null
mix.exs
russelldb/hamcrest-erlang
ad3dbab419762fc2d5821abb88b989da006b85c6
[ "BSD-3-Clause" ]
null
null
null
mix.exs
russelldb/hamcrest-erlang
ad3dbab419762fc2d5821abb88b989da006b85c6
[ "BSD-3-Clause" ]
null
null
null
defmodule Hamcrest.Mixfile do use Mix.Project @version File.read!("VERSION") |> String.strip def project do [app: :hamcrest, version: @version, description: "Erlang port of Hamcrest", package: package(), deps: deps(), erlc_options: erlc_options()] end defp erlc_options do e...
26.395349
152
0.615859
d5aeb8b67115bfd1eb2da8791dd065c4d21dbc7c
1,512
exs
Elixir
mix.exs
humberto-figuera/amqp
92d8d6a8def3dbc1c1effbb787421642daf452d8
[ "MIT" ]
null
null
null
mix.exs
humberto-figuera/amqp
92d8d6a8def3dbc1c1effbb787421642daf452d8
[ "MIT" ]
null
null
null
mix.exs
humberto-figuera/amqp
92d8d6a8def3dbc1c1effbb787421642daf452d8
[ "MIT" ]
null
null
null
defmodule AMQP.Mixfile do use Mix.Project @version "1.1.0" def project do [app: :amqp, version: @version, elixir: "~> 1.3", description: description(), package: package(), source_url: "https://github.com/pma/amqp", deps: deps(), dialyzer: [ ignore_warnings: "dialyze...
24.387097
74
0.53836
d5af037c05f60df3a5265bf38039396f46320345
3,398
exs
Elixir
lib/ex_unit/examples/one_of_each.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/ex_unit/examples/one_of_each.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/examples/one_of_each.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2020-12-07T08:04:16.000Z
2020-12-07T08:04:16.000Z
ExUnit.start [seed: 0] defmodule TestOneOfEach do @moduledoc """ This module contains one of each type of failing test. It is used simply to document the style of each. """ use ExUnit.Case, async: false @one 1 @two 2 @long_data_1 [ field1: "one", field2: {:two1, :two2}, field3: 'three', field4: [1,...
25.548872
92
0.631548
d5af10481943ddc897814a4a3f63840531545d51
3,155
exs
Elixir
09-ping.exs
lbiru/30-days-of-elixir
8472b6bf4a2f0a12dc6aea930abde2d50867b460
[ "MIT" ]
1
2020-05-27T04:32:37.000Z
2020-05-27T04:32:37.000Z
09-ping.exs
tifazxy/30-days-of-elixir
1d3e5cc1580ecbfdf9bd8eafed6ed68cb681404a
[ "MIT" ]
null
null
null
09-ping.exs
tifazxy/30-days-of-elixir
1d3e5cc1580ecbfdf9bd8eafed6ed68cb681404a
[ "MIT" ]
1
2018-09-30T00:43:04.000Z
2018-09-30T00:43:04.000Z
# If you get errors running 254 ping commands it's probably due to the number # of open files. You can "fix" this by running this command in the terminal # session before running this program: # # ulimit -n 1024 # # If the limit is 256 (the default) then we can run 120 or so before we run out # of file descriptors. ...
27.198276
97
0.61775
d5af395f77f442772c12ea015cf4d11fa2b61e8a
474
ex
Elixir
lib/forge_sdk/protocol/display/asset_state.ex
ArcBlock/forge-elixir-sdk
61ff656a59116d3da18055d54655e8eb5ca15f63
[ "Apache-2.0" ]
21
2019-05-08T01:25:42.000Z
2022-02-08T02:30:18.000Z
lib/forge_sdk/protocol/display/asset_state.ex
ArcBlock/forge-elixir-sdk
61ff656a59116d3da18055d54655e8eb5ca15f63
[ "Apache-2.0" ]
6
2019-05-27T23:07:00.000Z
2020-03-10T04:33:10.000Z
lib/forge_sdk/protocol/display/asset_state.ex
ArcBlock/forge-elixir-sdk
61ff656a59116d3da18055d54655e8eb5ca15f63
[ "Apache-2.0" ]
2
2019-07-21T18:12:47.000Z
2021-07-31T21:18:38.000Z
defimpl ForgeSdk.Display, for: ForgeAbi.AssetState do @moduledoc """ Implementation of `Display` protocol for `AssetState` """ alias ForgeSdk.Display def display(data, expand? \\ false) do basic = Map.from_struct(data) Map.merge(basic, %{ data: Display.display(basic.data), stake: Display...
26.333333
58
0.689873
d5af434ff456842b15c76f3b26d245536aaf2249
2,266
exs
Elixir
kousa/test/broth/_casts/change_mod_status_test.exs
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/test/broth/_casts/change_mod_status_test.exs
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/test/broth/_casts/change_mod_status_test.exs
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule BrothTest.ChangeModStatusTest do use ExUnit.Case, async: true use KousaTest.Support.EctoSandbox alias Beef.Schemas.User alias Beef.Users alias BrothTest.WsClient alias BrothTest.WsClientFactory alias KousaTest.Support.Factory require WsClient setup do user = Factory.create(User) c...
27.975309
93
0.625772
d5af58f88a65abd37729043132a50f548834b218
2,048
exs
Elixir
config/prod.exs
gabrieljablonski/graph-banking
47746ece07ee00d6d0727f6661b8658e5ae13dbe
[ "MIT" ]
null
null
null
config/prod.exs
gabrieljablonski/graph-banking
47746ece07ee00d6d0727f6661b8658e5ae13dbe
[ "MIT" ]
null
null
null
config/prod.exs
gabrieljablonski/graph-banking
47746ece07ee00d6d0727f6661b8658e5ae13dbe
[ "MIT" ]
null
null
null
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, # ...
36.571429
66
0.718262
d5af8d437003df8e74e0d19b54a391a9c7c3b79f
1,937
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/send_debug_capture_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/send_debug_capture_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/send_debug_capture_request.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.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...
33.982456
111
0.725865
d5afaf16a491bb22158b5397b4584306228d1576
971
exs
Elixir
test/licensir/scanner_test.exs
fhunleth/licensir
3d61fe335dd232cd8af44ecd8dc412273ef7f37b
[ "MIT" ]
70
2017-12-12T17:12:22.000Z
2022-03-28T12:05:32.000Z
test/licensir/scanner_test.exs
fhunleth/licensir
3d61fe335dd232cd8af44ecd8dc412273ef7f37b
[ "MIT" ]
24
2017-12-05T12:15:42.000Z
2021-08-01T15:51:32.000Z
test/licensir/scanner_test.exs
fhunleth/licensir
3d61fe335dd232cd8af44ecd8dc412273ef7f37b
[ "MIT" ]
22
2018-03-13T20:56:41.000Z
2021-07-15T21:59:07.000Z
defmodule Licensir.ScannerTest do use Licensir.Case test "returns a list of Licensir.Licenses struct" do licenses = Licensir.Scanner.scan([]) assert Enum.all?(licenses, fn license -> license.__struct__ == Licensir.License end) end test "returns a list of Licensir.TestApp's lic...
29.424242
73
0.696189
d5b00c9f40a805011a5726302ff84efdce6c6630
4,517
exs
Elixir
test/etcetera/etcd_v2_test.exs
praekelt/etcetera
24c8bc13267eee248b8117179f886f1e18658803
[ "BSD-3-Clause" ]
null
null
null
test/etcetera/etcd_v2_test.exs
praekelt/etcetera
24c8bc13267eee248b8117179f886f1e18658803
[ "BSD-3-Clause" ]
null
null
null
test/etcetera/etcd_v2_test.exs
praekelt/etcetera
24c8bc13267eee248b8117179f886f1e18658803
[ "BSD-3-Clause" ]
null
null
null
defmodule EtceteraTest do use ExUnit.Case alias Etcetera.EtcdV2 # TODO: Travis integration doctest EtcdV2 setup do if EtcdV2.exists?("foo") do EtcdV2.delete("foo") end {:ok, %{}} end describe "test set, exists? and get functions" do test "set and get string value" do asser...
27.047904
100
0.557228
d5b01583011579e8f687c0b902efba3756288ffb
1,803
exs
Elixir
apps/seeker/mix.exs
sarat1669/seeker
743c6ad5a69a6e62c95cfd988b0e2f32129ab2aa
[ "Apache-2.0" ]
1
2019-07-10T10:00:56.000Z
2019-07-10T10:00:56.000Z
apps/seeker/mix.exs
spawnfest/factor18
743c6ad5a69a6e62c95cfd988b0e2f32129ab2aa
[ "Apache-2.0" ]
null
null
null
apps/seeker/mix.exs
spawnfest/factor18
743c6ad5a69a6e62c95cfd988b0e2f32129ab2aa
[ "Apache-2.0" ]
null
null
null
defmodule Seeker.Mixfile do use Mix.Project def project do [ app: :seeker, 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(Mi...
26.910448
79
0.572934
d5b02a2af7839f73d46c1bca2f8e9f51d3ffb355
1,175
exs
Elixir
config/config.exs
qwexvf/McProtocol
a9e243e2d6de7b51e049881c8ea8f12bff94feb1
[ "MIT" ]
21
2016-04-23T03:54:33.000Z
2021-07-08T12:03:44.000Z
config/config.exs
qwexvf/McProtocol
a9e243e2d6de7b51e049881c8ea8f12bff94feb1
[ "MIT" ]
2
2016-04-06T07:01:18.000Z
2017-04-15T11:09:23.000Z
config/config.exs
hansihe/elixir_mc_protocol
4b3011338af573c6f583f541c410fb23574f4c10
[ "MIT" ]
9
2016-04-09T21:05:48.000Z
2021-07-27T12:42:49.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.606061
73
0.75234
d5b035737471481b31f89cc428ce6a17ccc5187b
740
exs
Elixir
config/config.exs
jhonndabi/speedrun_blogengine
3a4ae736be1a3e21634376cff1c2e2a60750dcba
[ "Apache-2.0" ]
null
null
null
config/config.exs
jhonndabi/speedrun_blogengine
3a4ae736be1a3e21634376cff1c2e2a60750dcba
[ "Apache-2.0" ]
null
null
null
config/config.exs
jhonndabi/speedrun_blogengine
3a4ae736be1a3e21634376cff1c2e2a60750dcba
[ "Apache-2.0" ]
null
null
null
import Config config :speedrun_blogengine, ecto_repos: [SpeedrunBlogengine.Repo] config :speedrun_blogengine_web, ecto_repos: [SpeedrunBlogengine.Repo], generators: [context_app: :speedrun_blogengine] config :speedrun_blogengine_web, SpeedrunBlogengineWeb.Endpoint, url: [host: "localhost"], secret_key_base...
30.833333
91
0.777027
d5b0b225919da21f4d43f205eabd364c35c7ee88
3,420
ex
Elixir
lib/core/event_handler.ex
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
null
null
null
lib/core/event_handler.ex
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
null
null
null
lib/core/event_handler.ex
maartenvanvliet/prom_ex
8eb4f86c169af3b184a1a45cf42e298af2b05816
[ "MIT" ]
null
null
null
defmodule PromEx.TelemetryMetricsPrometheus.Core.EventHandler do @moduledoc false alias Telemetry.Metrics alias PromEx.TelemetryMetricsPrometheus.Core.{Counter, Distribution, LastValue, Sum} @typep measurement :: atom() | (:telemetry.event_measurements() -> number()) | (:telem...
39.310345
120
0.709649
d5b103fae55632f575ee6fe8d20526217923e7fb
4,925
ex
Elixir
clients/security_center/lib/google_api/security_center/v1/model/finding.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/finding.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/finding.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...
66.554054
418
0.733401
d5b126d532354f30e7b2d47adb4d5c8939f3d451
1,869
exs
Elixir
test/bmp280/calibration/bme280_calibration_test.exs
dkuku/bmp280
e7cb8fcef0043a354a9c2dde0946ab1d033c0b59
[ "Apache-2.0" ]
11
2020-09-17T08:03:11.000Z
2021-04-28T16:20:13.000Z
test/bmp280/calibration/bme280_calibration_test.exs
dkuku/bmp280
e7cb8fcef0043a354a9c2dde0946ab1d033c0b59
[ "Apache-2.0" ]
13
2021-01-31T23:08:26.000Z
2021-03-27T23:08:42.000Z
test/bmp280/calibration/bme280_calibration_test.exs
dkuku/bmp280
e7cb8fcef0043a354a9c2dde0946ab1d033c0b59
[ "Apache-2.0" ]
3
2021-09-05T08:48:27.000Z
2021-10-21T17:14:43.000Z
defmodule BMP280.BME280CalibrationTest do use ExUnit.Case alias BMP280.BME280Calibration doctest BMP280.BME280Calibration test "parse bme280 1 calibration" do raw_calibration = <<29, 110, 173, 102, 50, 0, 27, 143, 56, 214, 208, 11, 84, 43, 15, 255, 249, 255, 12, 48, 32, 209, 136, 19, 0, 75, 8...
29.203125
96
0.440342
d5b1375c21fb58099a3c33eb52d56945ae7a4f66
71
exs
Elixir
test/metasploit_test.exs
fossabot/metasploit_ex
b2cc5ea0fdbc6d60ccd5bdd9ad823e684e52d36c
[ "MIT" ]
2
2019-05-26T04:17:56.000Z
2020-08-13T01:01:29.000Z
test/metasploit_test.exs
fossabot/metasploit_ex
b2cc5ea0fdbc6d60ccd5bdd9ad823e684e52d36c
[ "MIT" ]
1
2019-08-07T08:01:23.000Z
2019-08-07T08:01:23.000Z
test/metasploit_test.exs
fossabot/metasploit_ex
b2cc5ea0fdbc6d60ccd5bdd9ad823e684e52d36c
[ "MIT" ]
1
2019-08-07T07:58:30.000Z
2019-08-07T07:58:30.000Z
defmodule MetasploitTest do use ExUnit.Case doctest Metasploit end
14.2
27
0.816901
d5b154d427a727ad7bae886f535865cc2d5f74ec
2,907
exs
Elixir
test/dynamo/cowboy/ssl_test.exs
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
415
2015-01-04T15:59:47.000Z
2022-02-02T21:12:46.000Z
test/dynamo/cowboy/ssl_test.exs
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
9
2015-02-06T16:09:46.000Z
2018-08-08T06:33:50.000Z
test/dynamo/cowboy/ssl_test.exs
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
44
2015-02-01T15:49:50.000Z
2021-11-29T09:08:37.000Z
defmodule Dynamo.Cowboy.SSLTest do use ExUnit.Case, async: true defmodule App do use Dynamo use Dynamo.Router get "/scheme" do conn.send(200, "scheme: " <> atom_to_binary(conn.scheme)) end get "/host_url" do conn.send(200, "host_url: " <> conn.host_url) end get "/port" do...
29.663265
106
0.580323
d5b17399924b6e3fb5370c5c99513d6344418365
112
exs
Elixir
test/views/layout_view_test.exs
kumanote/phoenix_vue_webpack_template
1294eda8937c5eff4ea9ec2447b275b4a0d098fa
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
kumanote/phoenix_vue_webpack_template
1294eda8937c5eff4ea9ec2447b275b4a0d098fa
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
kumanote/phoenix_vue_webpack_template
1294eda8937c5eff4ea9ec2447b275b4a0d098fa
[ "MIT" ]
null
null
null
defmodule PhoenixVueWebpackTemplate.LayoutViewTest do use PhoenixVueWebpackTemplate.ConnCase, async: true end
28
53
0.875
d5b17e3fc009805940fbec951fdb8641646b16f9
1,649
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/refresh_sheets_chart_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/slides/lib/google_api/slides/v1/model/refresh_sheets_chart_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/slides/lib/google_api/slides/v1/model/refresh_sheets_chart_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.085106
245
0.750152
d5b18fabce57f113b4cd21eca0cd86bc13094f0d
1,231
ex
Elixir
lib/cms/v3/article_type.versioning.ex
noizu-labs/KitchenSinkAdvanced
6d91b5dd4f59cd9838f87a64605a0ef87f4301c8
[ "MIT" ]
null
null
null
lib/cms/v3/article_type.versioning.ex
noizu-labs/KitchenSinkAdvanced
6d91b5dd4f59cd9838f87a64605a0ef87f4301c8
[ "MIT" ]
null
null
null
lib/cms/v3/article_type.versioning.ex
noizu-labs/KitchenSinkAdvanced
6d91b5dd4f59cd9838f87a64605a0ef87f4301c8
[ "MIT" ]
null
null
null
defmodule Noizu.V3.CMS.ArticleType.Versioning do defmacro __using__(options \\ []) do options = Macro.expand(options, __ENV__) options = update_in(options, [:extension_implementation], &(&1 || Noizu.V3.CMS.Meta.ArticleType.Versioning.Base)) quote do use Noizu.DomainObject, unquote(options) end ...
38.46875
119
0.623071
d5b1d870f8c95515d21673e2272f073de6b1c0ea
2,521
exs
Elixir
test/mix/tasks_test.exs
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
415
2015-01-04T15:59:47.000Z
2022-02-02T21:12:46.000Z
test/mix/tasks_test.exs
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
9
2015-02-06T16:09:46.000Z
2018-08-08T06:33:50.000Z
test/mix/tasks_test.exs
stevedomin/dynamo
3c28f27603a480d2755a89aba3a91e88df3469ce
[ "Apache-2.0" ]
44
2015-02-01T15:49:50.000Z
2021-11-29T09:08:37.000Z
defmodule Mix.TasksTest do use ExUnit.Case import MixHelpers test "compiles an application" do in_tmp "my_compiled_app", fn -> app_with_dynamo_deps_path(:prod) output = System.cmd "MIX_ENV=prod mix compile" assert output =~ ~r(Compiled web/routers/application_router.ex) assert output...
30.743902
109
0.644585
d5b2189b1c9c90aea842d74ed818de6a363a68d6
1,956
exs
Elixir
elixir/elixir-elm-playground/config/dev.exs
marcinbiegun/exercises
36ad942e8d40d6471136326a3f6d09285bbd90aa
[ "MIT" ]
1
2018-12-11T14:09:14.000Z
2018-12-11T14:09:14.000Z
elixir/elixir-elm-playground/config/dev.exs
marcinbiegun/exercises
36ad942e8d40d6471136326a3f6d09285bbd90aa
[ "MIT" ]
null
null
null
elixir/elixir-elm-playground/config/dev.exs
marcinbiegun/exercises
36ad942e8d40d6471136326a3f6d09285bbd90aa
[ "MIT" ]
null
null
null
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :playground, PlaygroundWeb.Endpoint, http: [po...
33.152542
170
0.707055
d5b21aa8e8e4de6e2cc9658c008ddd0798ad55af
1,814
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/table_reference.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/table_reference.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/big_query/lib/google_api/big_query/v2/model/table_reference.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.226415
208
0.706174
d5b232e81a74b835ed73387b6feffa3db800a39a
566
exs
Elixir
test/cadet/incentives/achievement_to_goal_test.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
27
2018-01-20T05:56:24.000Z
2021-05-24T03:21:55.000Z
test/cadet/incentives/achievement_to_goal_test.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
731
2018-04-16T13:25:49.000Z
2021-06-22T07:16:12.000Z
test/cadet/incentives/achievement_to_goal_test.exs
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
43
2018-01-20T06:35:46.000Z
2021-05-05T03:22:35.000Z
defmodule Cadet.Incentives.AchievementToGoalTest do alias Cadet.Incentives.AchievementToGoal use Cadet.ChangesetCase, entity: AchievementToGoal describe "Changesets" do test "valid changesets" do insert(:achievement, uuid: "d1fdae3f-2775-4503-ab6b-e043149d4a15") insert(:goal, uuid: "d1fdae3f-277...
26.952381
72
0.689046
d5b23fea43928d6eb1fefefbfa5c4b7d8b10811f
946
ex
Elixir
test/support/register_user.ex
codedge-llc/commandex
fdbaa5bb98167c7f4364eff848ae39cc8d16ae36
[ "MIT" ]
28
2020-01-19T04:47:50.000Z
2022-02-09T13:58:32.000Z
test/support/register_user.ex
codedge-llc/commandex
fdbaa5bb98167c7f4364eff848ae39cc8d16ae36
[ "MIT" ]
2
2020-01-21T18:51:40.000Z
2022-01-03T20:18:34.000Z
test/support/register_user.ex
codedge-llc/commandex
fdbaa5bb98167c7f4364eff848ae39cc8d16ae36
[ "MIT" ]
null
null
null
defmodule Commandex.RegisterUser do @moduledoc """ Example command that registers a user. """ import Commandex command do param :email, default: "test@test.com" param :password param :agree_tos data :user data :auth pipeline :verify_tos pipeline :create_user pipeline :recor...
20.565217
66
0.667019
d5b2da9b96f71d27ab2d6fd9ec46f0f455beb72b
1,131
exs
Elixir
apps/database/test/support/factories/account_movements.exs
fschuindt/amethyst
0e8d60f83693b3bdb2c05d461cc3a74fa8b88b30
[ "MIT" ]
2
2018-06-23T11:43:34.000Z
2019-01-07T10:52:42.000Z
apps/database/test/support/factories/account_movements.exs
fschuindt/amethyst
0e8d60f83693b3bdb2c05d461cc3a74fa8b88b30
[ "MIT" ]
1
2018-06-21T01:20:04.000Z
2018-06-21T01:20:04.000Z
apps/database/test/support/factories/account_movements.exs
fschuindt/amethyst
0e8d60f83693b3bdb2c05d461cc3a74fa8b88b30
[ "MIT" ]
1
2018-06-30T21:40:51.000Z
2018-06-30T21:40:51.000Z
defmodule DataBase.Test.Support.Factories.AccountMovements do @moduledoc """ A set of pre-built `t:DataBase.Schemas.AccountMovement.t/0` to help along testing environments. """ alias DataBase.Schemas.AccountMovement, as: Movement alias DataBase.Test.Support.Factories alias DataBase.Test.Support.Faker ...
25.704545
69
0.679045
d5b2eae4851a37ff648739a11cfd6b38f2386fa4
1,813
ex
Elixir
lib/ueberauth/strategy/cas/api.ex
egillet/ueberauth_cas
9c546226e59eace0504a275431710ec67d8e0370
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/cas/api.ex
egillet/ueberauth_cas
9c546226e59eace0504a275431710ec67d8e0370
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/cas/api.ex
egillet/ueberauth_cas
9c546226e59eace0504a275431710ec67d8e0370
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.CAS.API do @moduledoc """ CAS server API implementation. """ use Ueberauth.Strategy alias Ueberauth.Strategy.CAS @doc "Returns the URL to this CAS server's login page." def login_url do settings(:base_url) <> "/login" end @doc "Validate a CAS Service Ticket with the...
30.216667
105
0.666299
d5b2f6f91898bd71d56f0bb0705ef5c78d1a3eae
4,512
ex
Elixir
clients/content/lib/google_api/content/v2/model/order.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order.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...
47.494737
200
0.72008
d5b3027f7c555d7b5dcb32cc1fe2e97a9f305561
4,649
ex
Elixir
lib/markdown_elixir/paser/fenced_code_blocks.ex
mazz-seven/markdown_elixir
0b78ffa6c69ca67d54befedd4927bb4ba947235e
[ "MIT" ]
1
2020-04-13T09:39:55.000Z
2020-04-13T09:39:55.000Z
lib/markdown_elixir/paser/fenced_code_blocks.ex
mazz-seven/markdown_elixir
0b78ffa6c69ca67d54befedd4927bb4ba947235e
[ "MIT" ]
null
null
null
lib/markdown_elixir/paser/fenced_code_blocks.ex
mazz-seven/markdown_elixir
0b78ffa6c69ca67d54befedd4927bb4ba947235e
[ "MIT" ]
null
null
null
defmodule MarkdownElixir.Parser.FencedCodeBlocks do import NimbleParsec @doc """ Parses Fenced Code Blocks """ def parse(content) do case fenced_code_blocks(content, context: [macro: nil]) do {:ok, tree, "", %{macro: nil}, _, _} -> {:ok, tree} {:ok, message, _rest, _context, {line, _...
23.963918
80
0.580125
d5b30be36599dedc5dd6e019c2cdf04d00e74e58
1,342
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/dm_id.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/dm_id.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/dm_id.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
28.553191
106
0.725037
d5b323068ec7cc671ac109fa083c5dfb7b4f358d
3,491
exs
Elixir
test/process_managers/process_manager_error_handling_test.exs
Aleksion/commanded
266587f7786d27b390a355991cbb792944ac0885
[ "MIT" ]
null
null
null
test/process_managers/process_manager_error_handling_test.exs
Aleksion/commanded
266587f7786d27b390a355991cbb792944ac0885
[ "MIT" ]
null
null
null
test/process_managers/process_manager_error_handling_test.exs
Aleksion/commanded
266587f7786d27b390a355991cbb792944ac0885
[ "MIT" ]
null
null
null
defmodule Commanded.ProcessManager.ProcessManagerErrorHandlingTest do use Commanded.StorageCase alias Commanded.Helpers.ProcessHelper alias Commanded.ProcessManagers.{ ErrorHandlingProcessManager, ErrorRouter, } alias Commanded.ProcessManagers.ErrorAggregate.Commands.StartProcess setup do repl...
28.382114
101
0.695789
d5b328a67936aadfab23affa482ba980117586ca
431
ex
Elixir
lib/geonames/endpoints/country_info.ex
vheathen/geonames-elixir
b47ef0e38462c3bdbfb1a5b710f53993d9d3056d
[ "MIT" ]
null
null
null
lib/geonames/endpoints/country_info.ex
vheathen/geonames-elixir
b47ef0e38462c3bdbfb1a5b710f53993d9d3056d
[ "MIT" ]
null
null
null
lib/geonames/endpoints/country_info.ex
vheathen/geonames-elixir
b47ef0e38462c3bdbfb1a5b710f53993d9d3056d
[ "MIT" ]
null
null
null
defmodule Geonames.Endpoints.CountryInfo do @moduledoc false @behaviour Geonames.Endpoint @default_arguments %{ country: nil, } def endpoint, do: "countryInfoJSON" def available_url_parameters, do: Map.keys(@default_arguments) def required_url_parameters, do: [] def function_name, do: :country_inf...
22.684211
64
0.763341
d5b347e0c63cea69e9e895738470dbea934367d7
5
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_dot_operation_parsing_test_case/CaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_dot_operation_parsing_test_case/CaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_dot_operation_parsing_test_case/CaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
&1.&2
5
5
0.4
d5b36c4c2b2d3718f69f0c7884448b485528d782
12,994
ex
Elixir
lib/bitcoin_simulator/simulation/peer.ex
sidharth-shridhar/Bitcoin-Miner-Simulation
2789dc8fe5f65269789540f675fac682e431e518
[ "MIT" ]
null
null
null
lib/bitcoin_simulator/simulation/peer.ex
sidharth-shridhar/Bitcoin-Miner-Simulation
2789dc8fe5f65269789540f675fac682e431e518
[ "MIT" ]
null
null
null
lib/bitcoin_simulator/simulation/peer.ex
sidharth-shridhar/Bitcoin-Miner-Simulation
2789dc8fe5f65269789540f675fac682e431e518
[ "MIT" ]
null
null
null
defmodule BitcoinSimulator.Simulation.Peer do defmacro __using__(_) do quote do use GenServer require Logger alias BitcoinSimulator.BitcoinCore alias BitcoinSimulator.Simulation.{TradeCenter, Tracker, Param} alias BitcoinSimulator.Const # Client def start_link(arg) do ...
43.458194
163
0.656303
d5b372aba11434bdfc1cfec208a3320e89808e2c
1,185
exs
Elixir
mix.exs
Ghouli/ex_stock_history
8de48d4f1df718e550e73218aa0c630a50b1133a
[ "MIT" ]
null
null
null
mix.exs
Ghouli/ex_stock_history
8de48d4f1df718e550e73218aa0c630a50b1133a
[ "MIT" ]
null
null
null
mix.exs
Ghouli/ex_stock_history
8de48d4f1df718e550e73218aa0c630a50b1133a
[ "MIT" ]
null
null
null
defmodule ExStockHistory.Mixfile do use Mix.Project def project do [ app: :ex_stock_history, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, deps: deps() ...
24.6875
60
0.564557
d5b38d4adb063ccbf1175b21d63ca7cf6620b0a4
4,842
ex
Elixir
lib/militerm/english.ex
jgsmith/militerm
c4252d0a93f5620b90750ac2b61baf282e9ef7eb
[ "Apache-2.0" ]
6
2017-06-16T10:26:35.000Z
2021-04-07T15:01:00.000Z
lib/militerm/english.ex
jgsmith/militerm
c4252d0a93f5620b90750ac2b61baf282e9ef7eb
[ "Apache-2.0" ]
2
2020-04-14T02:17:46.000Z
2021-03-10T11:09:05.000Z
lib/militerm/english.ex
jgsmith/militerm
c4252d0a93f5620b90750ac2b61baf282e9ef7eb
[ "Apache-2.0" ]
null
null
null
defmodule Militerm.English do import Militerm.EnglishMacros @abnormal_plurals %{ "moose" => "moose", "mouse" => "mice", "die" => "dice", "index" => "indices", "human" => "humans", "sheep" => "sheep", "fish" => "fish", "child" => "children", "woman" => "women", "man" => "men"...
24.704082
95
0.578686
d5b3b193d064a45883380864f7f8e3d2e6eb7548
6,262
exs
Elixir
test/mf_test.exs
valiot/flex
d092e1b8b0f38eeaed55ae29452d0b7d7f8965e4
[ "MIT" ]
7
2019-05-23T22:07:20.000Z
2021-12-14T21:23:20.000Z
test/mf_test.exs
valiot/flex
d092e1b8b0f38eeaed55ae29452d0b7d7f8965e4
[ "MIT" ]
null
null
null
test/mf_test.exs
valiot/flex
d092e1b8b0f38eeaed55ae29452d0b7d7f8965e4
[ "MIT" ]
null
null
null
defmodule MfTest do use ExUnit.Case alias Flex.{MembershipFun, Set} import Float import :math, only: [log: 1] doctest Flex test "Triangle mf" do {mf, _c} = MembershipFun.triangle([1, 2, 3]) assert mf.(1) == 0 assert mf.(1.5) == 0.5 assert mf.(2) == 1 assert mf.(2.5) == 0.5 assert mf...
27.955357
141
0.547429
d5b3ba924e1b82573e1d8e92b2d4b3a19abb6d3d
996
ex
Elixir
test/support/fake_cas/support.ex
sergioaugrod/elixir-cassette
8b48f2732c96878a0bb750732e0e9b57fc66811c
[ "MIT" ]
null
null
null
test/support/fake_cas/support.ex
sergioaugrod/elixir-cassette
8b48f2732c96878a0bb750732e0e9b57fc66811c
[ "MIT" ]
null
null
null
test/support/fake_cas/support.ex
sergioaugrod/elixir-cassette
8b48f2732c96878a0bb750732e0e9b57fc66811c
[ "MIT" ]
null
null
null
defmodule FakeCas.Support do @moduledoc """ Cassette support files for FakeCas. Provides convience functions for test and development using a stubbed Cas server. """ @doc "Starts the server and configure `Cassette` to use it" @spec initialize :: :ok def initialize do FakeCas.start configure_ca...
26.210526
75
0.705823
d5b3f1a30441c8bab6da3f9f3718ecd2cd060379
3,547
ex
Elixir
lib/tasks/cmd.ex
thomas9911/elixir_git_hooks
01bad3d745921c7d197dfff96e562ba35df5ae46
[ "MIT" ]
95
2018-05-01T10:37:39.000Z
2022-03-29T06:51:17.000Z
lib/tasks/cmd.ex
thomas9911/elixir_git_hooks
01bad3d745921c7d197dfff96e562ba35df5ae46
[ "MIT" ]
84
2018-06-11T18:50:37.000Z
2022-03-28T00:06:28.000Z
lib/tasks/cmd.ex
thomas9911/elixir_git_hooks
01bad3d745921c7d197dfff96e562ba35df5ae46
[ "MIT" ]
13
2019-05-06T09:20:13.000Z
2022-02-25T20:53:18.000Z
defmodule GitHooks.Tasks.Cmd do @moduledoc """ Represents a command that will be executed as a git hook task. A command should be configured as `{:cmd, command, opts}`, being `opts` an optional configuration. For example: ```elixir config :git_hooks, hooks: [ pre_commit: [ {:cmd, "ls ...
28.604839
146
0.623908
d5b41e49a4dc0a3e39cb2d1819edee6f93d855e0
208
ex
Elixir
lib/cultulator/expedition/vault.ex
wisq/cultulator
d417e7c822c0d3d584fd6e26c6d4f1184d9285e0
[ "MIT" ]
null
null
null
lib/cultulator/expedition/vault.ex
wisq/cultulator
d417e7c822c0d3d584fd6e26c6d4f1184d9285e0
[ "MIT" ]
null
null
null
lib/cultulator/expedition/vault.ex
wisq/cultulator
d417e7c822c0d3d584fd6e26c6d4f1184d9285e0
[ "MIT" ]
null
null
null
defmodule Cultulator.Expedition.Vault do @enforce_keys [:name, :history_level, :hazards] defstruct( name: nil, card_id: nil, repeatable: false, history_level: nil, hazards: [] ) end
18.909091
49
0.668269
d5b4464f679d37b782bcaae5fc4e550ce844c404
694
ex
Elixir
spec/support/factory/formations/squad_request_factory.ex
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
spec/support/factory/formations/squad_request_factory.ex
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
spec/support/factory/formations/squad_request_factory.ex
Squadster/squadster-api
cf04af79317148d7a08c649d5b5d0197722acb7a
[ "MIT" ]
null
null
null
defmodule Squadster.Support.Factory.Formations.SquadRequestFactory do defmacro __using__(_opts) do quote do def squad_request_factory do %Squadster.Formations.SquadRequest{ approved_at: nil, user: build(:user), squad: build(:squad), approver: nil } ...
28.916667
85
0.649856
d5b472ec7fad4cb1e4cc24deb736d0859488d680
1,058
ex
Elixir
lib/meansweepx.ex
snocorp/meansweepx
585cb25ad22dd2231ab01edd840b0613d6abef77
[ "MIT" ]
null
null
null
lib/meansweepx.ex
snocorp/meansweepx
585cb25ad22dd2231ab01edd840b0613d6abef77
[ "MIT" ]
null
null
null
lib/meansweepx.ex
snocorp/meansweepx
585cb25ad22dd2231ab01edd840b0613d6abef77
[ "MIT" ]
null
null
null
defmodule Meansweepx do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto reposito...
33.0625
88
0.718336
d5b479608061d7c3708c303e976179ea18fe9daa
471
ex
Elixir
apps/v3_api/lib/route_patterns.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/v3_api/lib/route_patterns.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/v3_api/lib/route_patterns.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule V3Api.RoutePatterns do @moduledoc """ Responsible for fetching Route Pattern data from the V3 API. """ alias Routes.Route @type api_response_t() :: JsonApi.t() | {:error, any} @spec all(Keyword.t()) :: api_response_t() def all(params \\ []) do V3Api.get_json("/route_patterns/", params) ...
23.55
62
0.651805
d5b4807592d52fa47a775454cb30f91e784d71ba
1,710
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/revert_folder_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/tag_manager/lib/google_api/tag_manager/v2/model/revert_folder_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/tag_manager/lib/google_api/tag_manager/v2/model/revert_folder_response.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.382979
282
0.754386