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
85877f5a483aecd4b0c9b819e88459606e87b088
1,958
ex
Elixir
lib/livebook/utils/unique_task.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
1
2022-02-16T09:13:27.000Z
2022-02-16T09:13:27.000Z
lib/livebook/utils/unique_task.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
lib/livebook/utils/unique_task.ex
aleDsz/livebook
3ad817ac69b8459b684ff8d00c879ae7787b6dcc
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Utils.UniqueTask.Task do @moduledoc false use GenServer, restart: :temporary @registry Livebook.Utils.UniqueTask.Registry def start_link({key, fun}) do GenServer.start_link(__MODULE__, fun, name: {:via, Registry, {@registry, key}}) end @impl true def init(fun) do {:ok, nil, ...
22.767442
83
0.621553
85878df225c109fef58f8def7698080f8a22b6cf
2,930
ex
Elixir
apps/ex_cucumber/lib/ex_cucumber/exceptions/messages/configuration_error_messages/macro_style_mismatch.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
2
2021-05-18T18:20:05.000Z
2022-02-13T00:15:06.000Z
apps/ex_cucumber/lib/ex_cucumber/exceptions/messages/configuration_error_messages/macro_style_mismatch.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
2
2021-04-22T00:28:17.000Z
2021-05-19T21:04:20.000Z
apps/ex_cucumber/lib/ex_cucumber/exceptions/messages/configuration_error_messages/macro_style_mismatch.ex
Ajwah/ex_cucumber
f2b9cf06caeef624c66424ae6160f274dc133fc6
[ "Apache-2.0" ]
4
2021-04-14T03:07:45.000Z
2021-12-12T21:23:59.000Z
defmodule ExCucumber.Exceptions.Messages.MacroStyleMismatch do @moduledoc false alias CucumberExpressions.ParameterType alias ExCucumber.{ Config, Exceptions.ConfigurationError, Gherkin.Traverser.Ctx, Utils } alias ExCucumber.Gherkin.Keywords, as: GherkinKeywords alias ExCucumber.Exception...
28.446602
93
0.654949
858795f5e826c9c3fbf5fcf593ac8e80ea5187df
2,952
exs
Elixir
test/actions/store_test.exs
PharosProduction/arc
e799fb9e2abdff7fec5dd3f0c5926c501a3576d4
[ "Apache-2.0" ]
1,213
2015-06-18T04:01:20.000Z
2022-01-19T18:47:23.000Z
test/actions/store_test.exs
PharosProduction/arc
e799fb9e2abdff7fec5dd3f0c5926c501a3576d4
[ "Apache-2.0" ]
260
2015-06-18T22:34:58.000Z
2022-01-06T17:43:29.000Z
test/actions/store_test.exs
PharosProduction/arc
e799fb9e2abdff7fec5dd3f0c5926c501a3576d4
[ "Apache-2.0" ]
270
2015-07-07T17:10:31.000Z
2021-11-13T09:16:03.000Z
defmodule ArcTest.Actions.Store do use ExUnit.Case, async: false @img "test/support/image.png" import Mock defmodule DummyDefinition do use Arc.Actions.Store use Arc.Definition.Storage def validate({file, _}), do: String.ends_with?(file.file_name, ".png") || String.ends_with?(file.file_name, ".ico...
41
162
0.647696
8587a7e0aa7638bccee16836f745b0db1ffc86de
1,300
ex
Elixir
lib/one_word/command/help.ex
Bentheburrito/onewordstorybot
2d75f3a59a952d141cfa4306fb14c902815cbff5
[ "MIT" ]
null
null
null
lib/one_word/command/help.ex
Bentheburrito/onewordstorybot
2d75f3a59a952d141cfa4306fb14c902815cbff5
[ "MIT" ]
null
null
null
lib/one_word/command/help.ex
Bentheburrito/onewordstorybot
2d75f3a59a952d141cfa4306fb14c902815cbff5
[ "MIT" ]
null
null
null
defmodule OneWord.Command.Help do @behaviour OneWord.Command alias Nostrum.Api alias Nostrum.Struct.Embed @impl OneWord.Command def run(%{channel_id: channel_id}, _args) do help_embed = %Embed{} |> Embed.put_field("How To Play", """ Type !story in any channel to start a new game. If enough players join...
43.333333
344
0.738462
8587a997a73f8f0afdc4a8a0c2bc88ffba2f268b
252
ex
Elixir
lib/demo_web/controllers/page_controller.ex
cadebward/phoenix_live_view
bd4903ed649a4efc1bdb6142810aa82e1e02573a
[ "MIT" ]
null
null
null
lib/demo_web/controllers/page_controller.ex
cadebward/phoenix_live_view
bd4903ed649a4efc1bdb6142810aa82e1e02573a
[ "MIT" ]
null
null
null
lib/demo_web/controllers/page_controller.ex
cadebward/phoenix_live_view
bd4903ed649a4efc1bdb6142810aa82e1e02573a
[ "MIT" ]
null
null
null
defmodule DemoWeb.PageController do use DemoWeb, :controller def index(conn, _params) do render(conn, "index.html") end def snake(conn, _) do conn |> put_layout(:game) |> live_render(DemoWeb.SnakeLive, session: %{}) end end
18
51
0.666667
8587a9d77e5adadefb1873b7e71165bc34691dab
1,937
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/write_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/firestore/lib/google_api/firestore/v1beta1/model/write_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firestore/lib/google_api/firestore/v1beta1/model/write_result.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...
38.74
240
0.739804
8587aec982e280c6eb27b89eefb5ccac2100677f
12,914
ex
Elixir
lib/codesynth/routesynth.ex
rstorsauce/Exaggerate
3f3093e7b6247638180bc01cb0751db70aa6f236
[ "MIT" ]
2
2017-12-20T11:21:08.000Z
2020-01-27T00:44:23.000Z
lib/codesynth/routesynth.ex
rstorsauce/Exaggerate
3f3093e7b6247638180bc01cb0751db70aa6f236
[ "MIT" ]
1
2018-10-15T22:33:24.000Z
2019-04-05T01:01:32.000Z
lib/codesynth/routesynth.ex
rstorsauce/Exaggerate
3f3093e7b6247638180bc01cb0751db70aa6f236
[ "MIT" ]
1
2018-12-06T03:16:21.000Z
2018-12-06T03:16:21.000Z
defmodule Exaggerate.Codesynth.Routesynth do @doc """ the master function which creates a routemodule file from a swagger file. """ def build_routemodule(swaggermap, filename, modulename) when is_map(swaggermap) when is_binary(filename) ...
40.10559
189
0.611507
8587d2983239a396a67b9ab96eb894d886c9e84d
1,343
exs
Elixir
rel/config.exs
digitalnatives/course_planner
27b1c8067edc262685e9c4dcbfcf82633bc8b8dc
[ "MIT" ]
38
2017-04-11T13:37:38.000Z
2021-05-22T19:35:36.000Z
rel/config.exs
digitalnatives/course_planner
27b1c8067edc262685e9c4dcbfcf82633bc8b8dc
[ "MIT" ]
226
2017-04-07T13:14:14.000Z
2018-03-08T16:50:11.000Z
rel/config.exs
digitalnatives/course_planner
27b1c8067edc262685e9c4dcbfcf82633bc8b8dc
[ "MIT" ]
7
2017-08-30T23:58:13.000Z
2021-03-28T11:50:45.000Z
use Mix.Releases.Config, # This sets the default release built by `mix release` default_release: :default, # This sets the default environment used by `mix release` default_environment: :dev # For a full list of config options for both releases # and environments, visit https://hexdocs.pm/distillery/co...
32.756098
81
0.749814
8587d5ecbfe9cfa0f87215deeb337a089bc26d58
1,651
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/cis_benchmark.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/cis_benchmark.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/cis_benchmark.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...
33.02
109
0.730466
858835d8d0d1b4d0f0883d5eadef99274379d055
2,043
exs
Elixir
mix.exs
surface-ui/surface_bulma
5e8bd6ff671e575c9c78800d7bc7994ea6a853eb
[ "MIT" ]
30
2021-02-05T18:50:38.000Z
2022-03-12T22:42:29.000Z
mix.exs
surface-ui/surface_bulma
5e8bd6ff671e575c9c78800d7bc7994ea6a853eb
[ "MIT" ]
19
2021-01-15T19:14:24.000Z
2022-02-05T14:57:18.000Z
mix.exs
surface-ui/surface_bulma
5e8bd6ff671e575c9c78800d7bc7994ea6a853eb
[ "MIT" ]
17
2021-02-01T20:57:51.000Z
2022-03-20T17:06:57.000Z
defmodule SurfaceBulma.MixProject do use Mix.Project @source_url "https://github.com/surface-ui/surface_bulma" @version "0.3.1" def project do [ app: :surface_bulma, description: "A set of simple Surface components based on Bulma.", version: @version, elixir: "~> 1.9", elixir...
25.5375
121
0.548213
85884c1b9b633619e2a7f03f882b8094368fd9b2
24,677
exs
Elixir
test/floki/html/generated/tokenizer/test3_part15_test.exs
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
1,778
2015-01-07T14:12:31.000Z
2022-03-29T22:42:48.000Z
test/floki/html/generated/tokenizer/test3_part15_test.exs
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
279
2015-01-01T15:54:50.000Z
2022-03-28T18:06:03.000Z
test/floki/html/generated/tokenizer/test3_part15_test.exs
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
166
2015-04-24T20:48:02.000Z
2022-03-28T17:29:05.000Z
defmodule Floki.HTML.Generated.Tokenizer.Test3Part15Test do use ExUnit.Case, async: true # NOTE: This file was generated by "mix generate_tokenizer_tests test3.test". # html5lib-tests rev: e52ff68cc7113a6ef3687747fa82691079bf9cc5 alias Floki.HTML.Tokenizer test "tokenize/1 <a a>" do input = "<a a>" ...
20.411084
79
0.550594
8588647b820400bd3af88271a46feb0246f105b8
1,802
ex
Elixir
lib/inmana_web.ex
alexfariac/inmana
8ff51040c7c4902ef7a62b129373e5cad054c275
[ "MIT" ]
14
2021-04-26T14:19:28.000Z
2021-09-12T03:29:42.000Z
lib/inmana_web.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
null
null
null
lib/inmana_web.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
6
2021-04-27T12:41:16.000Z
2021-07-02T04:11:53.000Z
defmodule InmanaWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use InmanaWeb, :controller use InmanaWeb, :view The definitions below will be executed for every view, controller, etc...
22.810127
76
0.685905
85886b9a2faa2fa8311700fdbbefe9c55ad8a914
778
ex
Elixir
apps/ewallet/lib/ewallet/web/v1/serializers/list_serializer.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/lib/ewallet/web/v1/serializers/list_serializer.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/lib/ewallet/web/v1/serializers/list_serializer.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
28.814815
74
0.726221
85887f2c663e707864d250b0bbfbf5b0fff4e397
102
exs
Elixir
config/prod.exs
svard/distrib_db
3e688fb068395b5d8b7015030c3e49f9f73acd7a
[ "MIT" ]
null
null
null
config/prod.exs
svard/distrib_db
3e688fb068395b5d8b7015030c3e49f9f73acd7a
[ "MIT" ]
null
null
null
config/prod.exs
svard/distrib_db
3e688fb068395b5d8b7015030c3e49f9f73acd7a
[ "MIT" ]
null
null
null
use Mix.Config config :logger, :console, level: :info, format: "$date $time [$level] $message\n"
17
43
0.656863
8588b7cfed83ab495de5b0917b9b06cac5fd23a3
182
ex
Elixir
lib/tasks_web/api/schema.ex
Charlie1099/tasks
38020d28c98cf197473b623bc7650b930b11da07
[ "Unlicense" ]
null
null
null
lib/tasks_web/api/schema.ex
Charlie1099/tasks
38020d28c98cf197473b623bc7650b930b11da07
[ "Unlicense" ]
null
null
null
lib/tasks_web/api/schema.ex
Charlie1099/tasks
38020d28c98cf197473b623bc7650b930b11da07
[ "Unlicense" ]
null
null
null
defmodule TasksWeb.Api.Schema do use Absinthe.Schema query do field :hello, :string do resolve (fn _, _ -> {:ok, "Hello World!"} end) end end end
14
32
0.576923
8588f839d299949eb740ceed9dfc47e4676be734
2,772
exs
Elixir
test/ambrosia_web/require_token_authenticated_test.exs
emeric-martineau/ambrosia
74c55d35cf66537d7c8a33ef6057e89d44abd347
[ "MIT" ]
2
2020-05-25T05:28:31.000Z
2020-05-25T08:10:43.000Z
test/ambrosia_web/require_token_authenticated_test.exs
emeric-martineau/ambrosia
74c55d35cf66537d7c8a33ef6057e89d44abd347
[ "MIT" ]
9
2020-05-25T16:39:15.000Z
2020-11-11T16:51:37.000Z
test/ambrosia_web/require_token_authenticated_test.exs
emeric-martineau/ambrosia
74c55d35cf66537d7c8a33ef6057e89d44abd347
[ "MIT" ]
null
null
null
defmodule AmbrosiaWeb.RequireTokenAuthenticatedTest do use AmbrosiaWeb.ConnCase alias Ambrosia.{Repo, Users.User} @username "test@example.com" @password "secret1234" setup %{conn: conn} do # user = %Ambrosia.Users.User{email: "test@example.com", id: 1} user = %Ambrosia.Users.User{} |> U...
29.806452
111
0.625541
8588fd772f8c05d3ab82974167f860320fb5b841
4,201
exs
Elixir
mix.exs
cocoa-xu/snappy_elixir
2d67b18a4009b68edf2c301094f2083b1bde0731
[ "Apache-2.0" ]
null
null
null
mix.exs
cocoa-xu/snappy_elixir
2d67b18a4009b68edf2c301094f2083b1bde0731
[ "Apache-2.0" ]
null
null
null
mix.exs
cocoa-xu/snappy_elixir
2d67b18a4009b68edf2c301094f2083b1bde0731
[ "Apache-2.0" ]
null
null
null
defmodule SnappyElixir.MixProject do use Mix.Project @app :snappy @version "0.1.0" @default_package_version "1.1.9" @source_url "https://github.com/cocoa-xu/snappy_elixir/tree/main" defp download_if_needed(package_ver, prefer_precompiled) do if prefer_precompiled != "true" and System.get_env("SNAPPY_U...
28.006667
127
0.605808
85890ffc6cef61e928821528d5f7686750915b33
1,243
exs
Elixir
test/behavior/sequence_test.exs
tulinmola/elixir-behavior-tree
218d1d8a87eb26245f3ff2064b7c49647d33bb58
[ "MIT" ]
null
null
null
test/behavior/sequence_test.exs
tulinmola/elixir-behavior-tree
218d1d8a87eb26245f3ff2064b7c49647d33bb58
[ "MIT" ]
null
null
null
test/behavior/sequence_test.exs
tulinmola/elixir-behavior-tree
218d1d8a87eb26245f3ff2064b7c49647d33bb58
[ "MIT" ]
null
null
null
defmodule Behavior.SequenceTest do use BehaviorCase alias Behavior.{SequenceNode, SequenceTask} test "still running sequence" do child = %TestNode{result: :running, time: 10} task = Node.create_task(%SequenceNode{children: [child]}) assert {:running, %SequenceTask{current: current}, %{}, 0} = Task....
32.710526
88
0.660499
8589164307e6db28d9e0f77e465cf1e6f8e4e6f4
521
ex
Elixir
web/router.ex
chasm/elmmeetup
95f9850a075dcc6ea884279485c532ac2f4db803
[ "MIT" ]
null
null
null
web/router.ex
chasm/elmmeetup
95f9850a075dcc6ea884279485c532ac2f4db803
[ "MIT" ]
1
2018-12-26T09:07:03.000Z
2018-12-26T09:07:03.000Z
web/router.ex
chasm/elmmeetup
95f9850a075dcc6ea884279485c532ac2f4db803
[ "MIT" ]
null
null
null
defmodule Elmmeetup.Router do use Elmmeetup.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", Elmmeetup do pipe...
19.296296
57
0.677543
858925cbe9e5dd746f69e0198d40579616b1dd59
799
ex
Elixir
lib/teslamate/log/state.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
2,602
2019-07-24T23:19:12.000Z
2022-03-31T15:03:48.000Z
lib/teslamate/log/state.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
1,547
2019-07-26T22:02:09.000Z
2022-03-31T15:39:41.000Z
lib/teslamate/log/state.ex
kuma/teslamate
ea175fddb49cc08070182455e0073c3dcfcb3b4c
[ "MIT" ]
524
2019-07-26T17:31:33.000Z
2022-03-29T15:16:36.000Z
defmodule TeslaMate.Log.State do use Ecto.Schema import Ecto.Changeset alias TeslaMate.Log.Car schema "states" do field :state, Ecto.Enum, values: [:online, :offline, :asleep] field :start_date, :utc_datetime_usec field :end_date, :utc_datetime_usec belongs_to(:car, Car) end @doc false ...
24.96875
65
0.683354
858939fd5e2973444fde20904d474aadc4a46f25
5,474
ex
Elixir
lib/livebook_web/live/settings_live.ex
alaadahmed/livebook
24668c6edb6ee638a3f5291b27bd42a3dfc0c18d
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/settings_live.ex
alaadahmed/livebook
24668c6edb6ee638a3f5291b27bd42a3dfc0c18d
[ "Apache-2.0" ]
null
null
null
lib/livebook_web/live/settings_live.ex
alaadahmed/livebook
24668c6edb6ee638a3f5291b27bd42a3dfc0c18d
[ "Apache-2.0" ]
null
null
null
defmodule LivebookWeb.SettingsLive do use LivebookWeb, :live_view import LivebookWeb.UserHelpers alias LivebookWeb.{SidebarHelpers, PageHelpers} @impl true def mount(_params, _session, socket) do file_systems = Livebook.Config.file_systems() file_systems_env = Livebook.Config.file_systems_as_env(fi...
37.751724
109
0.575265
85893d24784e7518166074afa210666546698aa2
2,522
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_api__http_body.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_api__http_body.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_api__http_body.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...
61.512195
1,283
0.742268
85893e6e749943b4fbb11ba1ca5587faf4a138ab
4,132
ex
Elixir
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/run_realtime_report_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/run_realtime_report_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/run_realtime_report_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
60.764706
307
0.743708
858941ce0555491411df84655e13ca6408062b1b
1,002
ex
Elixir
lib/plausible/session/schema.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
1
2020-05-02T15:26:56.000Z
2020-05-02T15:26:56.000Z
lib/plausible/session/schema.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
lib/plausible/session/schema.ex
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
defmodule Plausible.Session do use Ecto.Schema import Ecto.Changeset schema "sessions" do field :hostname, :string field :domain, :string field :new_visitor, :boolean field :user_id, :binary_id field :start, :naive_datetime, null: false field :length, :integer field :is_bounce, :bool...
30.363636
205
0.700599
85894a3da38514168f63098fcd0c0bca19f2d6d4
1,290
exs
Elixir
mix.exs
MaethorNaur/spandex_newrelic
f5155d8e39c82b226bb916941161d3a72f7b9a7b
[ "MIT" ]
null
null
null
mix.exs
MaethorNaur/spandex_newrelic
f5155d8e39c82b226bb916941161d3a72f7b9a7b
[ "MIT" ]
null
null
null
mix.exs
MaethorNaur/spandex_newrelic
f5155d8e39c82b226bb916941161d3a72f7b9a7b
[ "MIT" ]
null
null
null
defmodule SpandexNewrelic.MixProject do use Mix.Project @version "1.0.0" def project do [ app: :spandex_newrelic, description: description(), version: @version, elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), elixirc_paths: elixirc_paths(Mix.env(...
20.15625
77
0.539535
8589631893adb6b69b6cf17383d55f2562435e38
3,362
ex
Elixir
web/controller/hello.ex
access-company/testgear
6817b5a9f782fd501c5e8c74f12a33617bec4ba8
[ "Apache-2.0" ]
1
2018-04-26T08:40:13.000Z
2018-04-26T08:40:13.000Z
web/controller/hello.ex
access-company/testgear
6817b5a9f782fd501c5e8c74f12a33617bec4ba8
[ "Apache-2.0" ]
14
2018-04-02T09:12:03.000Z
2019-10-08T04:43:39.000Z
web/controller/hello.ex
access-company/testgear
6817b5a9f782fd501c5e8c74f12a33617bec4ba8
[ "Apache-2.0" ]
2
2018-04-26T05:50:06.000Z
2021-09-01T18:48:43.000Z
# Copyright(c) 2015-2021 ACCESS CO., LTD. All rights reserved. defmodule Testgear.Controller.Hello do use Antikythera.Controller alias Antikythera.{Time, Request, G2gResponse, Xml} def html(conn) do Testgear.Gettext.put_locale(conn.request.query_params["locale"] || "en") args = [contents: [{"Headline 1"...
30.844037
105
0.651695
85899be05acdef9b0933a3238a7b50e66ada644d
5,914
ex
Elixir
lib/whistle/socket_handler.ex
andreasronge/whistle
8dc5b4246e9f0fea8bc5ffe8c89737eceb082a32
[ "MIT" ]
null
null
null
lib/whistle/socket_handler.ex
andreasronge/whistle
8dc5b4246e9f0fea8bc5ffe8c89737eceb082a32
[ "MIT" ]
null
null
null
lib/whistle/socket_handler.ex
andreasronge/whistle
8dc5b4246e9f0fea8bc5ffe8c89737eceb082a32
[ "MIT" ]
null
null
null
defmodule Whistle.SocketHandler do @behaviour :cowboy_websocket alias Whistle.{Program, Socket} require Whistle.Config @json_library Whistle.Config.json_library() def init(req, {router, []}) do conn = Plug.Cowboy.Conn.conn(req) {:cowboy_websocket, req, {conn, router}} end def websocket_init({...
28.296651
101
0.555969
8589dfbf81a6f2b8a1faef929eb4a1b48c7482a9
3,498
ex
Elixir
lib/tentacat/hooks.ex
wesleimp/tentacat
6e4de63dd19ae719f2b59d4f289979a91e3cb5e2
[ "MIT" ]
null
null
null
lib/tentacat/hooks.ex
wesleimp/tentacat
6e4de63dd19ae719f2b59d4f289979a91e3cb5e2
[ "MIT" ]
null
null
null
lib/tentacat/hooks.ex
wesleimp/tentacat
6e4de63dd19ae719f2b59d4f289979a91e3cb5e2
[ "MIT" ]
null
null
null
defmodule Tentacat.Hooks do import Tentacat alias Tentacat.Client @moduledoc """ The Repository Webhooks API allows repository admins to manage the post-receive hooks for a repository. """ @doc """ Get a list of webhooks for a repository. ## Example Tentacat.Hooks.list(client, "elixir-lang", "...
30.155172
117
0.650658
8589f158ad3f850e517dcd408ce9ec75b7f160fe
13,613
ex
Elixir
lib/axon/compiler.ex
kamidev/axon
2db36f4142f6b1ee66e8b24f5c83fd2f95b49f5e
[ "Apache-2.0" ]
null
null
null
lib/axon/compiler.ex
kamidev/axon
2db36f4142f6b1ee66e8b24f5c83fd2f95b49f5e
[ "Apache-2.0" ]
null
null
null
lib/axon/compiler.ex
kamidev/axon
2db36f4142f6b1ee66e8b24f5c83fd2f95b49f5e
[ "Apache-2.0" ]
null
null
null
defmodule Axon.Compiler do @moduledoc false require Logger import Axon.Shared alias Axon.StatefulOutput ## Init JIT Compilation @doc false def __compile__(graph, opts) do mode = opts[:mode] || :inference {compile_init(graph), compile_predict(graph, mode)} end @doc false def __jit_init__(...
29.787746
97
0.588408
8589f304593b814f2389f9a79bd9ef6452c66b64
3,043
ex
Elixir
web/controllers/feed_controller.ex
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
3
2015-12-26T02:36:50.000Z
2016-05-19T16:29:57.000Z
web/controllers/feed_controller.ex
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
null
null
null
web/controllers/feed_controller.ex
fcapovilla/exagg
abcd3cea76c120575a5a5c6d058c7f6f48381616
[ "BSD-3-Clause" ]
null
null
null
defmodule Exagg.FeedController do use Exagg.Web, :controller alias Exagg.Feed plug :scrub_params, "data" when action in [:create, :update] plug Exagg.Plugs.JWTAuth plug Exagg.Plugs.JsonApiToEcto, "data" when action in [:create, :update] def index(conn, %{"folder_id" => folder_id}) do feeds = (f...
30.128713
109
0.598751
858a1d7aee3dd713438c74e2e8c7957b5773ec44
657
exs
Elixir
mix.exs
nerves-build/dark_sky_sensor
0588655e79950ce8a3c75c1e9db47d853c9aa0e0
[ "MIT" ]
3
2018-09-17T02:14:11.000Z
2019-03-11T22:51:25.000Z
mix.exs
nerves-build/dark_sky_sensor
0588655e79950ce8a3c75c1e9db47d853c9aa0e0
[ "MIT" ]
null
null
null
mix.exs
nerves-build/dark_sky_sensor
0588655e79950ce8a3c75c1e9db47d853c9aa0e0
[ "MIT" ]
null
null
null
defmodule DarkSkySensor.MixProject do use Mix.Project def project do [ app: :dark_sky_sensor, version: "0.5.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
20.53125
62
0.561644
858a5cb427f8c1a617b72522ecbc70b6010dba9a
2,594
ex
Elixir
components/notifications-service/server/lib/application.ex
fossabot/automate-1
16910c3ebd75ee0aa25e527bfce3e1378306f42d
[ "Apache-2.0" ]
191
2019-04-16T15:04:53.000Z
2022-03-21T14:10:44.000Z
components/notifications-service/server/lib/application.ex
fossabot/automate-1
16910c3ebd75ee0aa25e527bfce3e1378306f42d
[ "Apache-2.0" ]
4,882
2019-04-16T16:16:01.000Z
2022-03-31T15:39:35.000Z
components/notifications-service/server/lib/application.ex
fossabot/automate-1
16910c3ebd75ee0aa25e527bfce3e1378306f42d
[ "Apache-2.0" ]
114
2019-04-16T15:21:27.000Z
2022-03-26T09:50:08.000Z
defmodule Notifications.Application do @moduledoc false require Logger use Application def start(_type, _args) do import Supervisor.Spec, warn: false enable_sync_if_available() # Before we start accepting requests, ensure the latest schema and updates are applied :ok = Notifications.Data.Migr...
37.057143
93
0.67926
858a841c3f1292ed8fabf358d92ae0bf4d8c5cd6
1,444
ex
Elixir
clients/fcm/lib/google_api/fcm/v1/model/android_fcm_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/fcm/lib/google_api/fcm/v1/model/android_fcm_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/fcm/lib/google_api/fcm/v1/model/android_fcm_options.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...
30.723404
115
0.73892
858a9271e188004870b003519cfec9f1db035712
1,449
ex
Elixir
lib/absinthe/execution/resolution/list.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
1
2019-05-07T15:05:52.000Z
2019-05-07T15:05:52.000Z
lib/absinthe/execution/resolution/list.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
lib/absinthe/execution/resolution/list.ex
scrogson/absinthe
aa7e9c83dc10603c72f80e09a60d12495bc1c6b7
[ "Unlicense" ]
null
null
null
defimpl Absinthe.Execution.Resolution, for: Absinthe.Type.List do alias Absinthe.Execution.Resolution def resolve(%{of_type: %{of_type: _} = wrapped_type}, execution) do # That's a list of list, we unwrap and pass it while keeping the selection_set do_resolve(wrapped_type, wrapped_type, execution) end ...
42.617647
124
0.728088
858a9e09087291ef56ce62debf58ba787475cca1
892
ex
Elixir
apps/language_server/lib/language_server/providers/definition.ex
tmepple/elixir-ls
01d5ee857bb8b9e729da622dbc4f64b680aac3fc
[ "Apache-2.0" ]
912
2017-06-08T03:58:03.000Z
2021-09-06T03:42:07.000Z
apps/language_server/lib/language_server/providers/definition.ex
tmepple/elixir-ls
01d5ee857bb8b9e729da622dbc4f64b680aac3fc
[ "Apache-2.0" ]
196
2017-06-09T23:32:16.000Z
2021-10-15T15:38:43.000Z
apps/language_server/lib/language_server/providers/definition.ex
tmepple/elixir-ls
01d5ee857bb8b9e729da622dbc4f64b680aac3fc
[ "Apache-2.0" ]
78
2017-07-06T18:35:34.000Z
2020-04-12T08:10:45.000Z
defmodule ElixirLS.LanguageServer.Providers.Definition do @moduledoc """ Go-to-definition provider utilizing Elixir Sense """ alias ElixirLS.LanguageServer.SourceFile alias ElixirSense.Providers.Definition.Location def definition(uri, text, line, character) do case ElixirSense.definition(text, line + ...
25.485714
73
0.526906
858ac0f4b24bf958f50798c9557dd83780de074b
4,109
ex
Elixir
lib/rasa_api/request_builder.ex
whitedr/rasa-api-elixir
3ff932ee4cb4d04f0dd5ea66ec4b8f83195a003a
[ "Apache-2.0" ]
null
null
null
lib/rasa_api/request_builder.ex
whitedr/rasa-api-elixir
3ff932ee4cb4d04f0dd5ea66ec4b8f83195a003a
[ "Apache-2.0" ]
null
null
null
lib/rasa_api/request_builder.ex
whitedr/rasa-api-elixir
3ff932ee4cb4d04f0dd5ea66ec4b8f83195a003a
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule RasaApi.RequestBuilder do @moduledoc """ Helper functions for building Tesla requests """ @doc """ Specify the request method when building...
28.143836
137
0.643952
858ae9a4ffd78f6b047e2a6e3fbf7b1cae010a2b
776
exs
Elixir
apps/idris_mix/mix.exs
vic/elixir_idris
3b5401700f528b05c45615c36076567b3587d982
[ "Apache-2.0" ]
2
2018-04-03T08:55:32.000Z
2018-12-15T23:09:11.000Z
apps/idris_mix/mix.exs
vic/elixir_idris
3b5401700f528b05c45615c36076567b3587d982
[ "Apache-2.0" ]
null
null
null
apps/idris_mix/mix.exs
vic/elixir_idris
3b5401700f528b05c45615c36076567b3587d982
[ "Apache-2.0" ]
null
null
null
defmodule Idris.Mix.MixProject do use Mix.Project def project do [ app: :idris_mix, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.6", start_permanent: Mix.e...
22.823529
88
0.56701
858b1129697a22d5b19775f25fd9a49f04f210b3
282
ex
Elixir
lib/spelt/auth/relationship/no_properties.ex
jec/spelt
b6e5070226b646e1eb5dfc28453db7e7bf5030d9
[ "BSD-3-Clause" ]
null
null
null
lib/spelt/auth/relationship/no_properties.ex
jec/spelt
b6e5070226b646e1eb5dfc28453db7e7bf5030d9
[ "BSD-3-Clause" ]
null
null
null
lib/spelt/auth/relationship/no_properties.ex
jec/spelt
b6e5070226b646e1eb5dfc28453db7e7bf5030d9
[ "BSD-3-Clause" ]
null
null
null
defmodule Spelt.Auth.Relationship.NoProperties do @moduledoc """ Defines Relationships that have no properties """ import Seraph.Schema.Relationship alias Spelt.Auth.{Session, User} defrelationship "AUTHENTICATED_AS", User, Session, cardinality: [incoming: :one] end
23.5
82
0.762411
858b36427cf6f69bcb95b59d5ba47abf8a4d9164
9,365
ex
Elixir
lib/phoenix/live_dashboard/system_info.ex
skanel/phoenix_live_dashboard
73d01a230fe1325bd36ca2c546a22ad95a9994af
[ "MIT" ]
1
2020-04-23T11:36:03.000Z
2020-04-23T11:36:03.000Z
lib/phoenix/live_dashboard/system_info.ex
skanel/phoenix_live_dashboard
73d01a230fe1325bd36ca2c546a22ad95a9994af
[ "MIT" ]
null
null
null
lib/phoenix/live_dashboard/system_info.ex
skanel/phoenix_live_dashboard
73d01a230fe1325bd36ca2c546a22ad95a9994af
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.SystemInfo do # Helpers for fetching and formatting system info. @moduledoc false ## Fetchers def fetch_processes(node, search, sort_by, sort_dir, limit) do search = search && String.downcase(search) :rpc.call(node, __MODULE__, :processes_callback, [search, sort_by, sor...
27.383041
97
0.623919
858b3c33722573f0202f813d2300fcf7b157a535
458
ex
Elixir
lib/telegraf/transport/dummy.ex
Finbits/telegraf-elixir
2df8d44560286abf5e41035f5ff94cc1ec7b99d6
[ "Apache-2.0" ]
1
2021-12-02T19:29:47.000Z
2021-12-02T19:29:47.000Z
lib/telegraf/transport/dummy.ex
Finbits/telegraf-elixir
2df8d44560286abf5e41035f5ff94cc1ec7b99d6
[ "Apache-2.0" ]
5
2022-02-15T13:07:44.000Z
2022-03-28T20:14:56.000Z
lib/telegraf/transport/dummy.ex
Finbits/telegraf-elixir
2df8d44560286abf5e41035f5ff94cc1ec7b99d6
[ "Apache-2.0" ]
null
null
null
defmodule Telegraf.Transport.Dummy do @moduledoc """ Dummy implementation of `Telegraf.Transport`. It does nothing. Useful to avoid setting up telegraf for development enviroment. ## Usage {Telegraf, name: MyTelegraf, transport: Telegraf.Transport.Dummy} """ @behaviour Telegraf.Transport @impl ...
22.9
71
0.716157
858b4d761a3abfe48d77387f301eebabd62daa60
1,448
ex
Elixir
lib/credo/check/readability/single_pipe.ex
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
null
null
null
lib/credo/check/readability/single_pipe.ex
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
null
null
null
lib/credo/check/readability/single_pipe.ex
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
1
2020-06-30T16:32:44.000Z
2020-06-30T16:32:44.000Z
defmodule Credo.Check.Readability.SinglePipe do @moduledoc false @checkdoc """ Pipes (`|>`) should only be used when piping data through multiple calls. So while this is fine: list |> Enum.take(5) |> Enum.shuffle |> evaluate() The code in this example ... list |> evalu...
22.625
80
0.622238
858b91fffec98ca841c8d511acf589cb1a6e72a4
1,992
ex
Elixir
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/start_manual_transfer_runs_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/start_manual_transfer_runs_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/big_query_data_transfer/lib/google_api/big_query_data_transfer/v1/model/start_manual_transfer_runs_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
37.584906
167
0.757028
858bb33eded795bc075a4eafa610ae8c8e736944
63
ex
Elixir
web/views/page_view.ex
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
web/views/page_view.ex
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
web/views/page_view.ex
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
defmodule Otherpool.PageView do use Otherpool.Web, :view end
15.75
31
0.793651
858bc4d502c284ae843a4ff26e16b881c6c908d2
609
ex
Elixir
lib/hl7/2.5.1/datatypes/xpn.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/datatypes/xpn.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5.1/datatypes/xpn.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5_1.DataTypes.Xpn do @moduledoc false alias HL7.V2_5_1.{DataTypes} use HL7.DataType, fields: [ family_name: DataTypes.Fn, given_name: nil, second_and_further_given_names_or_initials_thereof: nil, suffix_eg_jr_or_iii: nil, prefix_eg_dr: nil, degree_eg_md: n...
26.478261
62
0.696223
858bd4229e70c6ed523a3e923e6d221d1e7d9721
3,275
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/circuit_breakers.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/circuit_breakers.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/circuit_breakers.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...
55.508475
468
0.74229
858bf81a750b9a4ed171699aa2f631c649a15211
201
ex
Elixir
lib/loom_web/encoder/message.ex
simonfraserduncan/my-copy
03c618035a06a63d8fcf9f6511ef59d3e4cf2da9
[ "Apache-2.0" ]
4
2021-02-20T02:47:36.000Z
2021-06-08T18:42:40.000Z
lib/loom_web/encoder/message.ex
DataStax-Examples/astra-loom
767c55200d08a6c592773d7af7da95873c4c3445
[ "Apache-2.0" ]
null
null
null
lib/loom_web/encoder/message.ex
DataStax-Examples/astra-loom
767c55200d08a6c592773d7af7da95873c4c3445
[ "Apache-2.0" ]
1
2021-02-17T18:28:35.000Z
2021-02-17T18:28:35.000Z
defimpl Jason.Encoder, for: Loom.Message do def encode(value, opts) do Jason.Encode.map(Map.take(value, [:room, :user, :id, :added, :message, :thread, :picture, :other_threads]), opts) end end
33.5
117
0.691542
858c03e2f0e14fd93ea579c5f1fb3552394ba7cc
95
exs
Elixir
config/test.exs
mcaneris/snowtracex
38e95f4efc92facd1eff86e62d21a1ba7df81150
[ "MIT" ]
null
null
null
config/test.exs
mcaneris/snowtracex
38e95f4efc92facd1eff86e62d21a1ba7df81150
[ "MIT" ]
null
null
null
config/test.exs
mcaneris/snowtracex
38e95f4efc92facd1eff86e62d21a1ba7df81150
[ "MIT" ]
null
null
null
import Config config :tesla, adapter: Tesla.Mock config :snowtracex, :api_key, "TEST_API_KEY"
19
44
0.778947
858c1999415f74d82fedd97eb11141d2a8465363
226
exs
Elixir
projects/api/.formatter.exs
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
82
2017-11-06T01:00:55.000Z
2020-12-09T10:35:29.000Z
projects/api/.formatter.exs
dbstratta/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
98
2017-11-06T22:57:32.000Z
2020-07-03T04:46:39.000Z
projects/api/.formatter.exs
strattadb/margaret
dde5d7b42f6d9b4d320069a0117136dae03b13b5
[ "MIT" ]
10
2017-11-16T05:31:58.000Z
2020-10-29T18:02:35.000Z
[ inputs: [ "{lib,test,priv}/**/*.{ex,exs}", "mix.exs", ".formatter.exs", ".iex.exs", ".credo.exs" ], import_deps: [:ecto, :plug, :phoenix, :absinthe], locals_without_parens: [ defenum: 3 ] ]
16.142857
51
0.517699
858c8972e58699c552fec6e7785bd4457e05a27c
503
ex
Elixir
lib/edge.ex
Fulnir/dexgraph
b29ef4e21a893b33b143c9c85cec0bb19172911b
[ "MIT" ]
1
2018-03-04T14:33:11.000Z
2018-03-04T14:33:11.000Z
lib/edge.ex
Fulnir/dexgraph
b29ef4e21a893b33b143c9c85cec0bb19172911b
[ "MIT" ]
null
null
null
lib/edge.ex
Fulnir/dexgraph
b29ef4e21a893b33b143c9c85cec0bb19172911b
[ "MIT" ]
null
null
null
defmodule DexGraph.Gremlin.Edge do @moduledoc """ And edge for gremlin """ require Logger alias DexGraph.Gremlin.Edge alias DexGraph.Gremlin.Graph alias DexGraph.Gremlin.Vertex @doc """ The edge properties. Reserved for cache and other """ defstruct graph: Graph, predicate: String, ...
20.12
49
0.650099
858c8a76753360aaabae31626952e5fec6e1de04
104
exs
Elixir
test/fullstack_challenge_web/views/layout_view_test.exs
mlgubolin/fullstack-challenge
ac953fc420337ec9343ef634ab5fdcc0181804a6
[ "MIT" ]
null
null
null
test/fullstack_challenge_web/views/layout_view_test.exs
mlgubolin/fullstack-challenge
ac953fc420337ec9343ef634ab5fdcc0181804a6
[ "MIT" ]
null
null
null
test/fullstack_challenge_web/views/layout_view_test.exs
mlgubolin/fullstack-challenge
ac953fc420337ec9343ef634ab5fdcc0181804a6
[ "MIT" ]
null
null
null
defmodule FullstackChallengeWeb.LayoutViewTest do use FullstackChallengeWeb.ConnCase, async: true end
26
49
0.865385
858c8dec124c5edc934ad62dc5fc01de5c998314
1,444
exs
Elixir
test/definition_test.exs
FunkyStudioHQ/arc_ecto_ng
bd9942f80a8ecdeed4ba73c016cded6ed4976b04
[ "Apache-2.0" ]
1
2021-04-22T08:56:36.000Z
2021-04-22T08:56:36.000Z
test/definition_test.exs
FunkyStudioHQ/arc_ecto_ng
bd9942f80a8ecdeed4ba73c016cded6ed4976b04
[ "Apache-2.0" ]
1
2019-01-11T17:36:59.000Z
2019-01-11T17:36:59.000Z
test/definition_test.exs
FunkyStudioHQ/arc_ecto_ng
bd9942f80a8ecdeed4ba73c016cded6ed4976b04
[ "Apache-2.0" ]
1
2018-11-07T15:11:55.000Z
2018-11-07T15:11:55.000Z
defmodule ArcTest.Ecto.Definition do use ExUnit.Case defmodule DummyDefinition do def url(_, :original, _), do: "fallback" def url(_, :signed, _), do: "fallback?a=1&b=2" def store({file, _}), do: {:ok, file} def delete(_), do: :ok defoverridable delete: 1, url: 3 use Arc.Ecto.Definition e...
29.469388
98
0.639889
858ca9f93ee8c4a5701d977200e632627a23446b
1,649
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta2_vertex.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta2_vertex.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/document_ai/lib/google_api/document_ai/v1beta2/model/google_cloud_documentai_v1beta2_vertex.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...
32.98
120
0.731352
858cb3ae5796cf26d6072118bf77e27441fb5f7e
93
ex
Elixir
lib/advent_of_code/day_21.ex
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
1
2021-12-19T04:13:00.000Z
2021-12-19T04:13:00.000Z
lib/advent_of_code/day_21.ex
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
null
null
null
lib/advent_of_code/day_21.ex
MarcusCemes/advent-of-code-2021
703aff2701be89031631342a094ae6976e7d3c1b
[ "MIT" ]
1
2021-12-15T19:15:20.000Z
2021-12-15T19:15:20.000Z
defmodule AdventOfCode.Day21 do def part1(_args) do end def part2(_args) do end end
11.625
31
0.72043
858cc2dabe4c943ea9749141ebbb0cd39970f6b2
741
ex
Elixir
lib/Processmon/Monitor/CpuLoad.ex
zzats/processmon
c22ce9b56b7ccb25511f3afbf59dc3abcb60add0
[ "MIT" ]
1
2018-07-04T11:07:07.000Z
2018-07-04T11:07:07.000Z
lib/Processmon/Monitor/CpuLoad.ex
zzats/processmon
c22ce9b56b7ccb25511f3afbf59dc3abcb60add0
[ "MIT" ]
null
null
null
lib/Processmon/Monitor/CpuLoad.ex
zzats/processmon
c22ce9b56b7ccb25511f3afbf59dc3abcb60add0
[ "MIT" ]
null
null
null
defmodule Processmon.Monitor.CpuLoad do @derive [Poison.Encoder] @derive [Poison.Decoder] alias __MODULE__, as: CpuLoad defstruct [ :cpu, :usr, :sys, :steal, :soft, :nice, :irq, :iowait, :guest, :gnice, :idle ] def from_raw(raw) do %CpuLoad{ cpu: raw |> Map.get("...
24.7
52
0.497976
858ce92b557aaf8420d76461aa3a423c76b904f8
368
ex
Elixir
lib/brave/inventory.ex
st23am/brave
fb61e52f82e206843af1199e3830b03d6bc04f0e
[ "CC-BY-4.0" ]
null
null
null
lib/brave/inventory.ex
st23am/brave
fb61e52f82e206843af1199e3830b03d6bc04f0e
[ "CC-BY-4.0" ]
1
2021-03-09T19:28:25.000Z
2021-03-09T19:28:25.000Z
lib/brave/inventory.ex
st23am/brave
fb61e52f82e206843af1199e3830b03d6bc04f0e
[ "CC-BY-4.0" ]
null
null
null
defmodule Brave.Character.Inventory do alias Brave.Character def slots_used(%Character{inventory: inventory}) do inventory |> Enum.map(& &1.slots) |> Enum.sum() end def slots_allowed(%Character{con: %{defense: defense}}), do: defense def slots_available(%Character{} = character), do: slots_...
23
70
0.706522
858d16757fde5430f92a9d3a2451b04a1c3a05b6
7,773
ex
Elixir
lib/commodity_api/router.ex
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
7
2019-04-11T21:12:49.000Z
2021-04-14T12:56:42.000Z
lib/commodity_api/router.ex
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
null
null
null
lib/commodity_api/router.ex
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
2
2019-06-06T18:05:33.000Z
2019-07-16T08:49:45.000Z
## # Copyright 2018 Abdulkadir DILSIZ # # 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...
40.910526
81
0.437412
858daf104a6aa263477756320d4b1646721d2acd
1,979
exs
Elixir
insights/mix.exs
MillionIntegrals/elixir-mongodb-driver
96c4cc3f21c4043323b8a9b33ad3a374760864c6
[ "Apache-2.0" ]
null
null
null
insights/mix.exs
MillionIntegrals/elixir-mongodb-driver
96c4cc3f21c4043323b8a9b33ad3a374760864c6
[ "Apache-2.0" ]
null
null
null
insights/mix.exs
MillionIntegrals/elixir-mongodb-driver
96c4cc3f21c4043323b8a9b33ad3a374760864c6
[ "Apache-2.0" ]
null
null
null
defmodule Insights.MixProject do use Mix.Project def project do [ app: :insights, version: "0.1.0", elixir: "~> 1.12", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), deps...
28.681159
84
0.575038
858dbc850189e1775d45d4e90fd942186b61a3e1
441
ex
Elixir
web/admin/dashboard.ex
mcousillas6/BioMonitor
312a903fe19751b6896aca9346340ea502397350
[ "MIT" ]
null
null
null
web/admin/dashboard.ex
mcousillas6/BioMonitor
312a903fe19751b6896aca9346340ea502397350
[ "MIT" ]
null
null
null
web/admin/dashboard.ex
mcousillas6/BioMonitor
312a903fe19751b6896aca9346340ea502397350
[ "MIT" ]
null
null
null
defmodule BioMonitor.ExAdmin.Dashboard do use ExAdmin.Register register_page "Dashboard" do menu priority: 1, label: "Dashboard" content do div ".blank_slate_container#dashboard_default_message" do span ".blank_slate" do span "Welcome to ExAdmin. This is the default dashboard page."...
27.5625
79
0.684807
858dd13827c95afda647778bb90c1c092ccf151c
1,772
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v3alpha1_import_documents_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v3alpha1_import_documents_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v3alpha1_import_documents_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.076923
166
0.76298
858de14a4eba9540b2f84741f62383651d17f268
45
exs
Elixir
elixir/69.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
elixir/69.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
elixir/69.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
:io.format("The number is ~3.1f~n", [5.678])
22.5
44
0.6
858de36b025e8ec3a57d0bc521199438ac845ec1
1,225
ex
Elixir
lib/oli/delivery/attempts/core/part_attempt.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli/delivery/attempts/core/part_attempt.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli/delivery/attempts/core/part_attempt.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.Attempts.Core.PartAttempt do use Ecto.Schema import Ecto.Changeset schema "part_attempts" do field(:attempt_guid, :string) field(:attempt_number, :integer) field(:grading_approach, Ecto.Enum, values: [:automatic, :manual], default: :automatic) field(:lifecycle_state, Ecto....
26.06383
99
0.662857
858e0ac014d6146adf4bdb3df8d93f661812edc2
808
ex
Elixir
Chapter05/vocial-demo-0.5.0/lib/vocial_web/router.ex
PacktPublishing/Phoenix-Web-Development
a071392abe2a459be1896580446b006126c393bf
[ "MIT" ]
10
2018-05-13T14:53:05.000Z
2021-11-08T13:10:44.000Z
Chapter05/vocial-demo-0.5.0/lib/vocial_web/router.ex
PacktPublishing/Phoenix-Web-Development
a071392abe2a459be1896580446b006126c393bf
[ "MIT" ]
null
null
null
Chapter05/vocial-demo-0.5.0/lib/vocial_web/router.ex
PacktPublishing/Phoenix-Web-Development
a071392abe2a459be1896580446b006126c393bf
[ "MIT" ]
2
2019-04-23T10:54:33.000Z
2019-04-27T15:47:07.000Z
defmodule VocialWeb.Router do use VocialWeb, :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 "/", VocialWeb do pipe_thr...
23.764706
69
0.674505
858e0c1fdf1dd514a6d34befe5a9902aea30a600
1,625
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/source_context.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/service_management/lib/google_api/service_management/v1/model/source_context.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_management/lib/google_api/service_management/v1/model/source_context.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.574468
203
0.747692
858e2b7bd65da0d2214768e631ba9e23d336c575
1,799
exs
Elixir
test/bsv/contract/p2pkh_test.exs
libitx/bsv-ex
95070d645fd61f9ea6ba8758e2e1b2367d0f9320
[ "Apache-2.0" ]
26
2019-08-31T13:39:50.000Z
2022-01-18T10:23:26.000Z
test/bsv/contract/p2pkh_test.exs
libitx/bsv-ex
95070d645fd61f9ea6ba8758e2e1b2367d0f9320
[ "Apache-2.0" ]
4
2020-04-24T18:24:01.000Z
2021-06-15T10:59:33.000Z
test/bsv/contract/p2pkh_test.exs
libitx/bsv-ex
95070d645fd61f9ea6ba8758e2e1b2367d0f9320
[ "Apache-2.0" ]
4
2020-05-21T15:27:31.000Z
2021-06-13T05:26:47.000Z
defmodule BSV.Contract.P2PKHTest do use ExUnit.Case, async: true alias BSV.Contract.P2PKH alias BSV.{Address, Contract, KeyPair, PrivKey, Script, TxOut, UTXO, VM} @wif "KyGHAK8MNohVPdeGPYXveiAbTfLARVrQuJVtd3qMqN41UEnTWDkF" @keypair KeyPair.from_privkey(PrivKey.from_wif!(@wif)) doctest P2PKH describe "lo...
35.98
129
0.677043
858e3fb3b01c795a4c7a00b213482a36748a5fe3
48
exs
Elixir
test/game/actuator_test.exs
drewfravert/2048
cbe6b75635f7d2713277c3c60fb5147e256e73e3
[ "MIT" ]
null
null
null
test/game/actuator_test.exs
drewfravert/2048
cbe6b75635f7d2713277c3c60fb5147e256e73e3
[ "MIT" ]
1
2021-10-18T21:44:37.000Z
2021-10-18T21:44:37.000Z
test/game/actuator_test.exs
drewfravert/2048
cbe6b75635f7d2713277c3c60fb5147e256e73e3
[ "MIT" ]
null
null
null
defmodule ActuatorTest do use ExUnit.Case end
12
25
0.8125
858e48733552f7d42abab5ce01927b57d2cef798
389
ex
Elixir
lib/phoenix_trello/guardian_serializer.ex
daraclare/phoenix-trello
98ba9b776047c3b2ea8bd2c327a2c06324b9e2e4
[ "MIT" ]
1
2020-07-24T17:13:26.000Z
2020-07-24T17:13:26.000Z
lib/phoenix_trello/guardian_serializer.ex
daraclare/phoenix-trello
98ba9b776047c3b2ea8bd2c327a2c06324b9e2e4
[ "MIT" ]
null
null
null
lib/phoenix_trello/guardian_serializer.ex
daraclare/phoenix-trello
98ba9b776047c3b2ea8bd2c327a2c06324b9e2e4
[ "MIT" ]
null
null
null
defmodule PhoenixTrello.GuardianSerializer do @behaviour Guardian.Serializer alias PhoenixTrello.{Repo, User} def for_token(user = %User{}), do: { :ok, "User:#{user.id}" } def for_token(_), do: { :error, "Unknown resource type" } def from_token("User:" <> id), do: { :ok, Repo.get(User, String.to_integer(id...
35.363636
83
0.676093
858e81ce72d75a7d56f8332ae37683b19fb532e0
1,645
exs
Elixir
coherence_demo_no_confirm/mix.exs
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
coherence_demo_no_confirm/mix.exs
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
coherence_demo_no_confirm/mix.exs
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
defmodule CoherenceDemo.Mixfile do use Mix.Project def project do [ app: :coherence_demo, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(),...
26.532258
79
0.586626
858e82a4e637be3cbd730de59d5f613533d612e1
768
ex
Elixir
lib/elixir_search_extractor_web/controllers/user_session_controller.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
null
null
null
lib/elixir_search_extractor_web/controllers/user_session_controller.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
32
2021-05-24T06:52:33.000Z
2021-07-19T05:04:40.000Z
lib/elixir_search_extractor_web/controllers/user_session_controller.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
null
null
null
defmodule ElixirSearchExtractorWeb.UserSessionController do use ElixirSearchExtractorWeb, :controller alias ElixirSearchExtractor.Account.Accounts alias ElixirSearchExtractorWeb.UserAuth def new(conn, _params) do render(conn, "new.html", error_message: nil) end def create(conn, %{"user" => user_param...
26.482759
73
0.701823
858e986bbf5f717c97f22570f2859174e774e60e
2,260
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_set_line_item_metadata_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/content/lib/google_api/content/v2/model/orders_set_line_item_metadata_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_set_line_item_metadata_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
40.357143
191
0.730088
858ec9202825b9423f369e73bd41dba27f8cfe6d
1,041
ex
Elixir
lib/nfoil/application.ex
rheotaxis/t.nfoil.info
88b7691d932e69352b96059a7aaebb9c6db778c0
[ "MIT" ]
null
null
null
lib/nfoil/application.ex
rheotaxis/t.nfoil.info
88b7691d932e69352b96059a7aaebb9c6db778c0
[ "MIT" ]
null
null
null
lib/nfoil/application.ex
rheotaxis/t.nfoil.info
88b7691d932e69352b96059a7aaebb9c6db778c0
[ "MIT" ]
null
null
null
defmodule Nfoil.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository Nfoil.Repo, # Start the Telemetry supervisor NfoilWeb.Te...
28.916667
63
0.696446
858ee23e21af96a6da1280006f6f85edbfcddb5c
86
exs
Elixir
config/test.exs
cgmcintyr/beiin
db447610b938e734baae50a5263a7a1828e871b7
[ "MIT" ]
null
null
null
config/test.exs
cgmcintyr/beiin
db447610b938e734baae50a5263a7a1828e871b7
[ "MIT" ]
null
null
null
config/test.exs
cgmcintyr/beiin
db447610b938e734baae50a5263a7a1828e871b7
[ "MIT" ]
null
null
null
use Mix.Config config :beiin, :kairos_database_request, Beiin.DB.Kairos.Request.Mock
21.5
69
0.813953
858f070084267f205f1fce995fd31afcb60a0d71
948
ex
Elixir
lib/safira/accounts/company.ex
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
40
2018-07-04T19:13:45.000Z
2021-12-16T23:53:43.000Z
lib/safira/accounts/company.ex
cesium/safira
07a02f54f9454db1cfb5a510da68f40c47dcd916
[ "MIT" ]
94
2018-07-25T13:13:39.000Z
2022-02-15T04:09:42.000Z
lib/safira/accounts/company.ex
cesium/safira
07a02f54f9454db1cfb5a510da68f40c47dcd916
[ "MIT" ]
5
2018-11-26T17:19:03.000Z
2021-02-23T08:09:37.000Z
defmodule Safira.Accounts.Company do use Ecto.Schema import Ecto.Changeset alias Safira.Contest.Badge alias Safira.Accounts.User schema "companies" do field :name, :string field :sponsorship, :string field :channel_id, :string field :remaining_spotlights, :integer belongs_to :user, User ...
26.333333
88
0.707806
858f1dcd37e28725ba1b0196035cccd48403aab5
229
ex
Elixir
lib/soundcloud/config.ex
adolfosilva/soundcloud
2b1671be3e8cffa8a2d4ec89f87a4b295028fba0
[ "MIT" ]
null
null
null
lib/soundcloud/config.ex
adolfosilva/soundcloud
2b1671be3e8cffa8a2d4ec89f87a4b295028fba0
[ "MIT" ]
null
null
null
lib/soundcloud/config.ex
adolfosilva/soundcloud
2b1671be3e8cffa8a2d4ec89f87a4b295028fba0
[ "MIT" ]
null
null
null
defmodule Soundcloud.Config do def get, do: Application.get_env(:soundcloud, :auth) def get(value), do: Application.get_env(:soundcloud, :auth)[value] def set(value), do: Application.put_env(:soundcloud, :auth, value) end
32.714286
68
0.742358
858f2a3017eedb63cb19c8d4f80d4851a643c366
977
ex
Elixir
clients/apps_activity/lib/google_api/apps_activity/v1/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/apps_activity/lib/google_api/apps_activity/v1/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/apps_activity/lib/google_api/apps_activity/v1/deserializer.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "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...
37.576923
77
0.766633
858f30b48e96fc3d19f9b72f3d90c4cd60ddd674
6,004
ex
Elixir
farmbot_core/lib/farmbot_core/asset_workers/fbos_config_worker.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_core/lib/farmbot_core/asset_workers/fbos_config_worker.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_core/lib/farmbot_core/asset_workers/fbos_config_worker.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defimpl FarmbotCore.AssetWorker, for: FarmbotCore.Asset.FbosConfig do @moduledoc """ This asset worker does not get restarted. It inistead responds to GenServer calls. """ use GenServer require Logger require FarmbotCore.Logger alias FarmbotCeleryScript.AST alias FarmbotCore.{Asset.FbosConfig, BotSta...
40.295302
141
0.741506
858f3af1b1fcaf368d3d5fcae2cee53b3310d6b1
55
exs
Elixir
eyes/config/dev.exs
mashbytes/sentry
d4b13419694d0e30199af6ff0f8a2b68ef54fefa
[ "MIT" ]
null
null
null
eyes/config/dev.exs
mashbytes/sentry
d4b13419694d0e30199af6ff0f8a2b68ef54fefa
[ "MIT" ]
2
2021-03-09T20:59:23.000Z
2021-05-10T18:01:00.000Z
eyes/config/dev.exs
mashbytes/sentry
d4b13419694d0e30199af6ff0f8a2b68ef54fefa
[ "MIT" ]
null
null
null
import Config config :picam, camera: Picam.FakeCamera
13.75
39
0.8
858f70eb764f59621c08cb09b740d7cad20bd255
263
ex
Elixir
lib/gazol_web/resolvers/user_resolver.ex
Conceptx/absinthe-example
369fbeaf2e688767240e2ec961a2029359580afa
[ "MIT" ]
null
null
null
lib/gazol_web/resolvers/user_resolver.ex
Conceptx/absinthe-example
369fbeaf2e688767240e2ec961a2029359580afa
[ "MIT" ]
null
null
null
lib/gazol_web/resolvers/user_resolver.ex
Conceptx/absinthe-example
369fbeaf2e688767240e2ec961a2029359580afa
[ "MIT" ]
null
null
null
defmodule GazolWeb.Resolvers.UserResolver do alias Gazol.Accounts def users(_, _, %{context: context}) do IO.inspect(context) {:ok, Accounts.list_users()} end def register_user(_, %{input: input}, _) do Accounts.create_user(input) end end
20.230769
45
0.695817
858f9fcd0b5fc2d17be7b096cd62cbfdbee08574
1,582
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/sheets_chart_properties.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/slides/lib/google_api/slides/v1/model/sheets_chart_properties.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/sheets_chart_properties.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...
33.659574
148
0.753477
858fc94e6bee7b8e6c4e31e185e8f9e84e59e0dd
724
ex
Elixir
lib/rdf/serializations/ntriples.ex
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
lib/rdf/serializations/ntriples.ex
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
lib/rdf/serializations/ntriples.ex
rdf-elixir/rdf-ex
7d4280ec9a912ef6ee9fc96ecdfdf26647016d6a
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.NTriples do @moduledoc """ `RDF.NTriples` provides support for the N-Triples serialization format. N-Triples is a line-based plain-text format for encoding an RDF graph. It is a very restricted, explicit and well-defined subset of both [Turtle](http://www.w3.org/TeamSubmission/turtle/) and [N...
27.846154
73
0.703039
858fca8ccc8d0767334380154ee69f73b5dd218c
4,116
ex
Elixir
lib/changelog_web/views/admin/search_view.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2020-10-12T13:28:41.000Z
2020-10-12T13:28:41.000Z
lib/changelog_web/views/admin/search_view.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
null
null
null
lib/changelog_web/views/admin/search_view.ex
PsOverflow/changelog.com
53f4ecfc39b021c6b8cfcc0fa11f29aff8038a7f
[ "MIT" ]
1
2018-10-03T20:55:52.000Z
2018-10-03T20:55:52.000Z
defmodule ChangelogWeb.Admin.SearchView do use ChangelogWeb, :admin_view alias Changelog.{EpisodeSponsor, Faker, NewsItem, Repo} alias ChangelogWeb.Endpoint alias ChangelogWeb.Admin.{TopicView, EpisodeView, NewsItemView, NewsSourceView, PersonView, PostView, SponsorView} @limit 3...
33.193548
114
0.670797
859065df55f6394946a25d4ec9814f41eb7215e9
51
ex
Elixir
web/views/shared_view.ex
anndream/phoenix-commerce
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
229
2016-09-21T09:24:46.000Z
2020-05-16T22:41:31.000Z
web/views/shared_view.ex
sadiqmmm/ex-shop
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
3
2016-09-21T10:26:50.000Z
2016-10-19T07:25:12.000Z
web/views/shared_view.ex
sadiqmmm/ex-shop
5e4471fa8fd1ac402d4df68fe7ccbcb0f7a53296
[ "MIT" ]
32
2016-09-22T05:19:05.000Z
2019-11-01T04:07:13.000Z
defmodule Ap.SharedView do use Ap.Web, :view end
12.75
26
0.745098
859099cb0398c6fdff2ee1bad5f36b223d5e7b48
2,019
ex
Elixir
clients/analytics_data/lib/google_api/analytics_data/v1beta/model/pivot_order_by.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/analytics_data/lib/google_api/analytics_data/v1beta/model/pivot_order_by.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/analytics_data/lib/google_api/analytics_data/v1beta/model/pivot_order_by.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...
40.38
332
0.745914
8590ab38d869ce061de2c1885020727e9fb419eb
1,338
ex
Elixir
lib/sift/events/types/booking.ex
msramos/sift
28c09763ae0a3509c815df0c2e3c88ce671b1055
[ "MIT" ]
null
null
null
lib/sift/events/types/booking.ex
msramos/sift
28c09763ae0a3509c815df0c2e3c88ce671b1055
[ "MIT" ]
null
null
null
lib/sift/events/types/booking.ex
msramos/sift
28c09763ae0a3509c815df0c2e3c88ce671b1055
[ "MIT" ]
null
null
null
defmodule Sift.Events.Types.Booking do alias Sift.Events.Types.{Address, CurrencyCode, Guest, Segment} alias Sift.Schema alias Sift.Schema.{Field, Type} @behaviour Type @impl Type def type_alias, do: :booking @booking_types [ :event_ticket, :accommodation, :flight, :bus, :rideshare,...
28.468085
95
0.627803
8590dde61e0fce32f5608a6a5b3717cf72443176
1,598
exs
Elixir
test/day_03_test.exs
robindaumann/aoc-2019
ceb796d13fbeda321e873f168e245b85d82d8628
[ "MIT" ]
null
null
null
test/day_03_test.exs
robindaumann/aoc-2019
ceb796d13fbeda321e873f168e245b85d82d8628
[ "MIT" ]
null
null
null
test/day_03_test.exs
robindaumann/aoc-2019
ceb796d13fbeda321e873f168e245b85d82d8628
[ "MIT" ]
null
null
null
defmodule Day03Test do use ExUnit.Case, async: true require Input @example1 ["R8,U5,L5,D3", "U7,R6,D4,L4"] @example2 ["R75,D30,R83,U83,L12,D49,R71,U7,L72", "U62,R66,U55,R34,D71,R55,D58,R83"] @example3 ["R98,U47,R26,D63,R33,U87,L62,D20,R33,U53,R51", "U98,R91,D20,R16,D67,R40,U7,R15,U6,R7"] test "part1 i...
21.594595
77
0.585106
8590e0f96e26d13a3fe9b6c2c2dd6e6d35f932dd
7,610
exs
Elixir
test/config_test.exs
infinityoneframework/conform
44964f337d5d94d017e4c9b1a5091db34dcf5a2c
[ "MIT" ]
null
null
null
test/config_test.exs
infinityoneframework/conform
44964f337d5d94d017e4c9b1a5091db34dcf5a2c
[ "MIT" ]
null
null
null
test/config_test.exs
infinityoneframework/conform
44964f337d5d94d017e4c9b1a5091db34dcf5a2c
[ "MIT" ]
null
null
null
defmodule ConfigTest do use ExUnit.Case, async: true alias Conform.Schema alias Conform.Schema.Mapping test "README example" do schema_path = Path.join(["test", "schemas", "readme_example.schema.exs"]) schema = Conform.Schema.load!(schema_path) conf_path = Path.join(["test", "confs", "readme_exampl...
43.485714
113
0.559658
8590eb2617776e29973c167e1b56c984b60264aa
260
exs
Elixir
priv/repo/migrations/20210820074716_add_time_cap_to_challenges.exs
nimblehq/codewar-web
5038bc09d4fc42f6be0737857a4c053ff42463f1
[ "MIT" ]
2
2021-06-29T02:22:28.000Z
2022-02-15T06:32:15.000Z
priv/repo/migrations/20210820074716_add_time_cap_to_challenges.exs
nimblehq/codewar-web
5038bc09d4fc42f6be0737857a4c053ff42463f1
[ "MIT" ]
14
2021-05-06T04:27:19.000Z
2021-08-24T11:15:33.000Z
priv/repo/migrations/20210820074716_add_time_cap_to_challenges.exs
nimblehq/codewar-web
5038bc09d4fc42f6be0737857a4c053ff42463f1
[ "MIT" ]
1
2021-08-20T07:50:19.000Z
2021-08-20T07:50:19.000Z
defmodule Codewar.Repo.Migrations.AddTimeCapToChallenges do use Ecto.Migration def change do alter table(:challenges) do add :time_cap, :integer modify :submission_cap, :integer, default: nil, null: true, from: :integer end end end
21.666667
80
0.715385
8590ee7320b5ffa6e5bd7a7d21dc1536946debf2
6,645
exs
Elixir
back/test/api/auth/auth_test.exs
HugoLefebvre/Epitech_TM_MP03
0ed161c956f7a10aec245fe2e17eb5a9b55f6075
[ "MIT" ]
null
null
null
back/test/api/auth/auth_test.exs
HugoLefebvre/Epitech_TM_MP03
0ed161c956f7a10aec245fe2e17eb5a9b55f6075
[ "MIT" ]
null
null
null
back/test/api/auth/auth_test.exs
HugoLefebvre/Epitech_TM_MP03
0ed161c956f7a10aec245fe2e17eb5a9b55f6075
[ "MIT" ]
null
null
null
defmodule Api.AuthTest do use Api.DataCase alias Api.Auth describe "users" do alias Api.Auth.User @valid_attrs %{email: "some email", username: "some username"} @update_attrs %{email: "some updated email", username: "some updated username"} @invalid_attrs %{email: nil, username: nil} def u...
34.609375
97
0.675094
8590f698f7f5fa29883910034dc39bf1ec0adea1
3,073
exs
Elixir
test/annacl/roles/roles_test.exs
annatel/annacl
55a7eff89617fe9cf41f532cf3f62566bd4b0d9a
[ "MIT" ]
7
2020-07-26T18:24:19.000Z
2021-06-22T10:15:48.000Z
test/annacl/roles/roles_test.exs
annatel/annacl
55a7eff89617fe9cf41f532cf3f62566bd4b0d9a
[ "MIT" ]
2
2020-08-15T00:58:53.000Z
2020-10-31T16:54:11.000Z
test/annacl/roles/roles_test.exs
annatel/annacl
55a7eff89617fe9cf41f532cf3f62566bd4b0d9a
[ "MIT" ]
2
2020-10-22T20:13:21.000Z
2020-10-30T14:53:10.000Z
defmodule Annacl.RolesTest do use ExUnit.Case, async: true use Annacl.DataCase alias Annacl.Roles alias Annacl.Roles.Role describe "create_role/1" do test "when data is valid, creates the api_key" do role_params = params_for(:role) assert {:ok, %Role{} = role} = Roles.create_role(role_param...
30.73
112
0.668728
85910b2822dca16538a8e1c09d7315765d91a087
729
ex
Elixir
backend/lib/spades/release.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
9
2019-10-28T08:48:50.000Z
2021-03-05T09:44:46.000Z
backend/lib/spades/release.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
227
2019-10-28T08:52:58.000Z
2022-02-27T04:31:42.000Z
backend/lib/spades/release.ex
mreishus/spades
3e06fa5c2415ff43258ec4c231f8d6c49c683fe0
[ "MIT" ]
4
2020-04-18T19:38:37.000Z
2021-08-02T19:43:03.000Z
defmodule Spades.Release do @moduledoc """ Helper for running Migrations after deployed by release. See https://hexdocs.pm/phoenix/releases.html for more info. ./start.sh allows us to run `./bin/spades eval "Spades.Release.migrate"` when starting the app up. """ @app :spades def migrate do load_ap...
22.78125
91
0.66118
85918fcf392768ab9d2c46d670953a7099343c66
1,954
ex
Elixir
lib/phx_crud_users_web.ex
LeonardoSSev/phx-crud-users
52dabaae0c81adeee39afa48eb17331de261d3c4
[ "MIT" ]
null
null
null
lib/phx_crud_users_web.ex
LeonardoSSev/phx-crud-users
52dabaae0c81adeee39afa48eb17331de261d3c4
[ "MIT" ]
null
null
null
lib/phx_crud_users_web.ex
LeonardoSSev/phx-crud-users
52dabaae0c81adeee39afa48eb17331de261d3c4
[ "MIT" ]
null
null
null
defmodule PhxCrudUsersWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use PhxCrudUsersWeb, :controller use PhxCrudUsersWeb, :view The definitions below will be executed for every view,...
23.829268
76
0.695496
8591ec2de4f6b084229c5c06ccef2753348df231
17,614
ex
Elixir
lib/aws/generated/app_sync.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/app_sync.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/app_sync.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.AppSync do @moduledoc """ AWS AppSync provides API actions for creating and interacting with data sources using GraphQL from your application. """ @doc """ Creates a cache for the Gra...
29.653199
118
0.62791
8591f6b2808e91aeb68423211cc15db536ca2a01
7,509
exs
Elixir
deps/ecto/integration_test/support/schemas.exs
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
1
2017-11-27T06:00:32.000Z
2017-11-27T06:00:32.000Z
deps/ecto/integration_test/support/schemas.exs
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
deps/ecto/integration_test/support/schemas.exs
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
null
null
null
defmodule Ecto.Integration.Schema do defmacro __using__(_) do quote do use Ecto.Schema type = Application.get_env(:ecto, :primary_key_type) || raise ":primary_key_type not set in :ecto application" @primary_key {:id, type, autogenerate: true} @foreign_key_type type @...
25.197987
125
0.709149
8591f91f7aea0d9c1802dbfbf4fb9178b30bc765
141
exs
Elixir
bakeware/test/bakeware_test.exs
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
bakeware/test/bakeware_test.exs
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
bakeware/test/bakeware_test.exs
sergiotapia/bakeware
e7b752c873a88c6a4018b6162608c16da109bf14
[ "Apache-2.0" ]
null
null
null
defmodule BakewareTest do use ExUnit.Case doctest Bakeware test "greets the world" do assert Bakeware.hello() == :world end end
15.666667
37
0.716312
85920606d69d6a4743eac8246b2c3510ef78a838
366
ex
Elixir
web/views/error_view.ex
brianstorti/jan
e3e7172c672705b7d4e3912e16d5a69496a79e4a
[ "Apache-2.0" ]
54
2016-02-07T21:44:14.000Z
2022-01-06T04:10:59.000Z
web/views/error_view.ex
brianstorti/jan
e3e7172c672705b7d4e3912e16d5a69496a79e4a
[ "Apache-2.0" ]
1
2016-02-13T15:52:55.000Z
2016-02-13T15:52:55.000Z
web/views/error_view.ex
brianstorti/jan
e3e7172c672705b7d4e3912e16d5a69496a79e4a
[ "Apache-2.0" ]
4
2016-02-13T11:54:00.000Z
2022-01-06T04:19:26.000Z
defmodule Jan.ErrorView do use Jan.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Server internal error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_template, assigns...
20.333333
47
0.691257
85924c0c72b143c4550f640985d4aa273274bae2
3,171
ex
Elixir
lib/dayron/model.ex
inaka/Dayron
d6773dacdc681766bfcb41dd792c102ab7217b1c
[ "Apache-2.0" ]
169
2016-05-05T17:21:45.000Z
2022-01-31T20:23:07.000Z
lib/dayron/model.ex
inaka/Dayron
d6773dacdc681766bfcb41dd792c102ab7217b1c
[ "Apache-2.0" ]
51
2016-04-22T20:46:37.000Z
2022-02-22T00:15:40.000Z
lib/dayron/model.ex
inaka/RestRepo
d6773dacdc681766bfcb41dd792c102ab7217b1c
[ "Apache-2.0" ]
26
2016-05-21T09:52:26.000Z
2022-02-11T18:07:14.000Z
defmodule Dayron.Model do @moduledoc """ Defines the functions to convert a module into a Dayron Model. A Model provides a set of functionalities around mapping the external data into local structures. In order to convert an Elixir module into a Model, Dayron provides a `Dayron.Model` mixin, that requires...
26.206612
78
0.653737
85924f54dbc0d5b9c07e3166d5f23aa9fe5fb9df
80
ex
Elixir
lib/starter_project/repo.ex
wkozyra95/phoenix-boilerplate
8fd4607639f327928b0f8319a697f8efa951556e
[ "MIT" ]
null
null
null
lib/starter_project/repo.ex
wkozyra95/phoenix-boilerplate
8fd4607639f327928b0f8319a697f8efa951556e
[ "MIT" ]
null
null
null
lib/starter_project/repo.ex
wkozyra95/phoenix-boilerplate
8fd4607639f327928b0f8319a697f8efa951556e
[ "MIT" ]
null
null
null
defmodule StarterProject.Repo do use Ecto.Repo, otp_app: :starter_project end
20
42
0.8125
85926600854f3f6dd893831389621f4e92586b27
879
exs
Elixir
test/expr/dgraph_ex_eq_test.exs
WolfDan/dgraph_ex
4dad42983f2387f10febf9996ac8f2db20aea710
[ "MIT" ]
21
2017-08-20T06:19:37.000Z
2021-02-04T23:22:10.000Z
test/expr/dgraph_ex_eq_test.exs
WolfDan/dgraph_ex
4dad42983f2387f10febf9996ac8f2db20aea710
[ "MIT" ]
43
2017-08-06T21:03:28.000Z
2018-09-08T13:00:35.000Z
test/expr/dgraph_ex_eq_test.exs
WolfDan/dgraph_ex
4dad42983f2387f10febf9996ac8f2db20aea710
[ "MIT" ]
1
2017-10-12T02:20:13.000Z
2017-10-12T02:20:13.000Z
defmodule DgraphEx.EqTest do use ExUnit.Case doctest DgraphEx.Expr.Eq import DgraphEx alias DgraphEx.Expr test "render eq with predicate, literal, and type" do assert eq(:beef, "cow bull moo", :string) |> Expr.Eq.render == "eq(beef, \"cow bull moo\")" end test "render eq with predicate and liter...
27.46875
118
0.640501
85928c26f10df84e2d865f691e63b4c2ef0dc000
1,114
ex
Elixir
installer/templates/phx_test/support/channel_case.ex
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
null
null
null
installer/templates/phx_test/support/channel_case.ex
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
null
null
null
installer/templates/phx_test/support/channel_case.ex
bhicks/phoenix
2c43d798c184f6085cd2765d6cb2b463c87edac7
[ "MIT" ]
null
null
null
defmodule <%= web_namespace %>.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 i...
25.318182
74
0.692101
8592ad6b8ceb3fd500ecf7103db65e6b499fbb02
797
exs
Elixir
test/senti_web/channels/session_channel_test.exs
jeepers3327/senti
2e346759d8a8704f11364a835b6b9cd00a52c640
[ "MIT" ]
null
null
null
test/senti_web/channels/session_channel_test.exs
jeepers3327/senti
2e346759d8a8704f11364a835b6b9cd00a52c640
[ "MIT" ]
null
null
null
test/senti_web/channels/session_channel_test.exs
jeepers3327/senti
2e346759d8a8704f11364a835b6b9cd00a52c640
[ "MIT" ]
null
null
null
defmodule SentiWeb.SessionChannelTest do use SentiWeb.ChannelCase setup do {:ok, _, socket} = SentiWeb.UserSocket |> socket("user_id", %{some: :assign}) |> subscribe_and_join(SentiWeb.SessionChannel, "session:lobby") %{socket: socket} end test "ping replies with status ok", %{socket...
28.464286
69
0.629862
8592e65b040b90ee9578f846d5629c5266da64ff
2,433
ex
Elixir
lib/stargate/receiver/supervisor.ex
jeffgrunewald/stargate
d80e5376a831c8fae232434e4d305784464f196a
[ "Apache-2.0" ]
33
2019-11-09T09:12:18.000Z
2022-02-24T05:22:20.000Z
lib/stargate/receiver/supervisor.ex
tspannhw/stargate
d80e5376a831c8fae232434e4d305784464f196a
[ "Apache-2.0" ]
7
2019-11-28T06:52:18.000Z
2021-10-07T09:09:16.000Z
lib/stargate/receiver/supervisor.ex
tspannhw/stargate
d80e5376a831c8fae232434e4d305784464f196a
[ "Apache-2.0" ]
7
2020-06-30T10:37:59.000Z
2021-11-26T06:54:23.000Z
defmodule Stargate.Receiver.Supervisor do @moduledoc """ Defines a supervisor for the `Stargate.Receiver` reader and consumer connections and the associated GenStage pipeline for processing and acknowledging messages received on the connection. The top-level `Stargate.Supervisor` passes the shared connection...
34.267606
98
0.697904