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
65a2b68bf1e2fb22acb6fc58241789417ed28d52
1,949
ex
Elixir
clients/plus/lib/google_api/plus/v1/model/comment_object.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/comment_object.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/comment_object.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 "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.092593
229
0.729092
65a2bec5ca330dcf253c7a01e595518faa384e93
1,170
exs
Elixir
mix.exs
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
null
null
null
mix.exs
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
null
null
null
mix.exs
michaeljguarino/anchore-elixir-client
156a44f429ecb62433729a2b4c52de5dc0ef44d2
[ "MIT" ]
null
null
null
defmodule AnchoreEngineAPIServer.Mixfile do use Mix.Project def project do [app: :anchore_engine_api_server, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), package: package(), description: description()] ...
22.941176
86
0.615385
65a305e3964a80daf9bdc02512ddfbc51b06530b
349
exs
Elixir
apps/snitch_core/priv/repo/migrations/20190131112645_modify_prod_pack_item_for_tax.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/priv/repo/migrations/20190131112645_modify_prod_pack_item_for_tax.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/priv/repo/migrations/20190131112645_modify_prod_pack_item_for_tax.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Repo.Migrations.ModifyProdPackItemForTax do use Ecto.Migration def change do alter table("snitch_products") do add(:tax_class_id, references(:snitch_tax_classes, on_delete: :restrict)) end alter table("snitch_package_items") do add(:unit_price, String.to_atom("money_with_c...
24.928571
79
0.739255
65a321987c5ec2d0e1729273a4111c6afd0638d2
3,385
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/video_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_status.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
45.743243
252
0.69483
65a360b1f5ea4cb5e6179e77fe498e55adb536b4
3,696
ex
Elixir
clients/private_ca/lib/google_api/private_ca/v1beta1/model/allowed_subject_alt_names.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/private_ca/lib/google_api/private_ca/v1beta1/model/allowed_subject_alt_names.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/private_ca/lib/google_api/private_ca/v1beta1/model/allowed_subject_alt_names.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...
59.612903
462
0.729708
65a3b96eb095339911fd1ef520f3f1d94195afb2
1,014
ex
Elixir
lib/locations_web/live/page_live.ex
antp/locations
fe765fe78b896fe02e11b92e8d21e97f00744384
[ "MIT" ]
14
2020-09-16T14:10:35.000Z
2021-10-30T22:05:48.000Z
lib/locations_web/live/page_live.ex
antp/locations
fe765fe78b896fe02e11b92e8d21e97f00744384
[ "MIT" ]
null
null
null
lib/locations_web/live/page_live.ex
antp/locations
fe765fe78b896fe02e11b92e8d21e97f00744384
[ "MIT" ]
null
null
null
defmodule LocationsWeb.PageLive do @moduledoc """ Main landing page """ use LocationsWeb, :live_view alias Locations alias LocationsWeb.Live.ModalDialog @impl true def mount(_params, _session, socket) do socket = assign_locations(socket) {:ok, socket} end @impl true def handle_event("a...
19.132075
57
0.686391
65a3fce19c1f78ef50ddab6f716dfc09515e5fea
63
ex
Elixir
lib/polygon_web/views/layout_view.ex
TeamPolygon/triangle
130b4e9fe2eb14d60032d60f553e4e17d4e8eab8
[ "MIT" ]
null
null
null
lib/polygon_web/views/layout_view.ex
TeamPolygon/triangle
130b4e9fe2eb14d60032d60f553e4e17d4e8eab8
[ "MIT" ]
null
null
null
lib/polygon_web/views/layout_view.ex
TeamPolygon/triangle
130b4e9fe2eb14d60032d60f553e4e17d4e8eab8
[ "MIT" ]
null
null
null
defmodule PolygonWeb.LayoutView do use PolygonWeb, :view end
15.75
34
0.809524
65a41785d0315d6d7f03b8b50bbebf70576a40b7
3,056
ex
Elixir
priv/cabbage/apps/itest/lib/standard_exit_challenge_client.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
priv/cabbage/apps/itest/lib/standard_exit_challenge_client.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
priv/cabbage/apps/itest/lib/standard_exit_challenge_client.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 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 ...
32.168421
120
0.732657
65a41f7bfd85db63fc1b7964d72e1d6029276d59
7,342
ex
Elixir
lib/cat/cat.ex
fehu/elixir-cat
7ca3492e755937c875747d0c3914fa47901080df
[ "MIT" ]
null
null
null
lib/cat/cat.ex
fehu/elixir-cat
7ca3492e755937c875747d0c3914fa47901080df
[ "MIT" ]
null
null
null
lib/cat/cat.ex
fehu/elixir-cat
7ca3492e755937c875747d0c3914fa47901080df
[ "MIT" ]
null
null
null
defmodule Cat do @moduledoc """ Inspired by [cats](https://github.com/typelevel/cats) and [cats-effect (2)](https://github.com/typelevel/cats-effect) """ # # Data # # alias Cat.{Either, Maybe} @type maybe(a) :: Maybe.t(a) @type either(l, r) :: Either.t(l, r) # # Protocols # # alias Cat.{Functor,...
34.148837
126
0.641106
65a43b291d85360149dde369ca9a9962ece28e8d
106
exs
Elixir
exercises/02-higher-order-functions/longest-list/solution.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
1
2021-09-22T09:52:11.000Z
2021-09-22T09:52:11.000Z
exercises/02-higher-order-functions/longest-list/solution.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
22
2019-06-19T18:58:13.000Z
2020-03-16T14:43:06.000Z
exercises/02-higher-order-functions/longest-list/solution.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
32
2019-09-19T03:25:11.000Z
2020-10-06T15:01:47.000Z
defmodule Util do def sum_longest_list(xss), do: [ [] | xss ] |> Enum.max_by(&length/1) |> Enum.sum end
26.5
83
0.650943
65a441dd44c6a5a65d815c9ab2f2b8c463a74f3a
69
exs
Elixir
test/test_helper.exs
groksrc/tablex
ff23bd9df9ad98f4670fa2ef523c27e532158ab5
[ "MIT" ]
null
null
null
test/test_helper.exs
groksrc/tablex
ff23bd9df9ad98f4670fa2ef523c27e532158ab5
[ "MIT" ]
null
null
null
test/test_helper.exs
groksrc/tablex
ff23bd9df9ad98f4670fa2ef523c27e532158ab5
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Tablex.Repo, :manual)
17.25
52
0.768116
65a447d207b9ab3b78a745eec9fa5c6a959435ea
3,726
ex
Elixir
lib/changelog_web/views/admin/episode_view.ex
theafricanengineer/changelog.com
4954d0df516c0a325667ec6c1fbbf02d68c9b953
[ "MIT" ]
null
null
null
lib/changelog_web/views/admin/episode_view.ex
theafricanengineer/changelog.com
4954d0df516c0a325667ec6c1fbbf02d68c9b953
[ "MIT" ]
null
null
null
lib/changelog_web/views/admin/episode_view.ex
theafricanengineer/changelog.com
4954d0df516c0a325667ec6c1fbbf02d68c9b953
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.Admin.EpisodeView do use ChangelogWeb, :admin_view alias Changelog.{Episode, EpisodeStat, Person, Sponsor, Topic} alias ChangelogWeb.{EpisodeView, PersonView, TimeView} alias ChangelogWeb.Admin.PodcastView def audio_filename(episode), do: EpisodeView.audio_filename(episode) def audi...
29.808
98
0.655931
65a45f73b0b9ac80e59f20acab4a8a9a6d9d382e
2,374
exs
Elixir
test/vowpal_fleet_test.exs
jackdoe/elixir-vowpal-fleet
47bd8e3ef3f403654c996aaf9b1056d79adc5c47
[ "MIT" ]
2
2018-12-04T23:13:47.000Z
2021-07-25T03:38:04.000Z
test/vowpal_fleet_test.exs
jackdoe/elixir-vowpal-fleet
47bd8e3ef3f403654c996aaf9b1056d79adc5c47
[ "MIT" ]
null
null
null
test/vowpal_fleet_test.exs
jackdoe/elixir-vowpal-fleet
47bd8e3ef3f403654c996aaf9b1056d79adc5c47
[ "MIT" ]
null
null
null
defmodule VowpalFleetTest do use ExUnit.Case test "greets the world" do System.cmd("killall", ["-9", "vw"]) VowpalFleet.start_worker(:test_abc, node()) IO.inspect(VowpalFleet.exit(:test_abc, node())) VowpalFleet.start_worker(:test_abc, :a_1) VowpalFleet.start_worker(:test_abc, :a_2) Vowpal...
36.523077
87
0.632266
65a46d05a55b0ab1590ae298dedd0ec0b3c5dea6
1,821
ex
Elixir
lib/router.ex
inaka/credo_server
fabdf5429974d0dbf9e0a1eaaf1c6305fb98e2aa
[ "Apache-2.0" ]
12
2016-05-27T23:37:37.000Z
2019-11-09T04:03:03.000Z
lib/router.ex
inaka/credo_server
fabdf5429974d0dbf9e0a1eaaf1c6305fb98e2aa
[ "Apache-2.0" ]
18
2016-05-27T14:57:30.000Z
2016-09-20T17:05:22.000Z
lib/router.ex
inaka/credo_server
fabdf5429974d0dbf9e0a1eaaf1c6305fb98e2aa
[ "Apache-2.0" ]
1
2019-11-09T04:03:06.000Z
2019-11-09T04:03:06.000Z
defmodule CredoServer.Router do @moduledoc false use Plug.Router import CredoServer.Plug.AddSecretKey import CredoServer.Plug.Auth alias CredoServer.{RepositoriesController, UsersController, AuthController, AboutController} import CredoServer.RouterHelper plug Plug.Static, at: "/", from: :credo...
20.010989
94
0.711697
65a492b66303d5dd4445dc248315a90fd9f55ccf
1,739
exs
Elixir
clients/dns/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/dns/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/dns/mix.exs
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...
25.955224
94
0.641748
65a4bc366c3e7172a7bcd452d82bf4750ace7ffb
560
ex
Elixir
lib/heap/heap/collectable.ex
stackcats/collections
df48066bd52e0373900e85d1cd4ee158c82c35f7
[ "MIT" ]
null
null
null
lib/heap/heap/collectable.ex
stackcats/collections
df48066bd52e0373900e85d1cd4ee158c82c35f7
[ "MIT" ]
null
null
null
lib/heap/heap/collectable.ex
stackcats/collections
df48066bd52e0373900e85d1cd4ee158c82c35f7
[ "MIT" ]
null
null
null
defimpl Collectable, for: Collections.Heap do @moduledoc """ Implements `Collectable` for `Heap`. """ alias Collections.Heap @doc """ Collect an enumerable into a heap. ## Examples iex> 1..500 ...> |> Enum.shuffle() ...> |> Enum.into(Heap.new()) ...> |> Heap.peek() ...
19.310345
88
0.501786
65a4be0ba93ec290f0a7d907891ffc6f565d9163
1,526
ex
Elixir
test/support/data_case.ex
mattiaslundberg/nano-ci
3c433d23f93ac95b2cd01d4630c95a8c084d2a99
[ "MIT" ]
null
null
null
test/support/data_case.ex
mattiaslundberg/nano-ci
3c433d23f93ac95b2cd01d4630c95a8c084d2a99
[ "MIT" ]
2
2021-03-10T07:07:31.000Z
2021-05-11T02:49:06.000Z
test/support/data_case.ex
mattiaslundberg/nano-ci
3c433d23f93ac95b2cd01d4630c95a8c084d2a99
[ "MIT" ]
null
null
null
defmodule NanoCi.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to th...
27.25
77
0.687418
65a4c204659846222e06a230e24295306681639a
1,248
exs
Elixir
mix.exs
doma-engineering/quark
16af5e00f9048053678cbaf6fb770969446e0d1e
[ "MIT" ]
null
null
null
mix.exs
doma-engineering/quark
16af5e00f9048053678cbaf6fb770969446e0d1e
[ "MIT" ]
null
null
null
mix.exs
doma-engineering/quark
16af5e00f9048053678cbaf6fb770969446e0d1e
[ "MIT" ]
null
null
null
defmodule Quark.Mixfile do use Mix.Project def project do [ app: :quark, name: "Quark", description: "Common combinators for Elixir, forked by doma for maintenance and testing packagesets by doma.", version: "2.3.2-doma", elixir: "~> 1.11", package: [ name: "...
28.363636
105
0.507212
65a4cefeb10b80e31b98ef508134330005e492cd
2,133
exs
Elixir
config/runtime.exs
nullpilot/pawmon
00623bf1cd2ca126af385bf0c81e5fe3afca11a3
[ "MIT" ]
null
null
null
config/runtime.exs
nullpilot/pawmon
00623bf1cd2ca126af385bf0c81e5fe3afca11a3
[ "MIT" ]
null
null
null
config/runtime.exs
nullpilot/pawmon
00623bf1cd2ca126af385bf0c81e5fe3afca11a3
[ "MIT" ]
null
null
null
import Config if System.get_env("PHX_SERVER") && System.get_env("RELEASE_NAME") do config :paw_mon, PawMonWeb.Endpoint, server: true end host = System.get_env("PHX_HOST") || "example.com" config :paw_mon, PawMonWeb.Endpoint, url: [host: host, port: 4000] # config/runtime.exs is executed for all environments...
36.152542
80
0.706517
65a4edf714a51701c0688929c5d442bc3ed1f5f3
568
exs
Elixir
hello/mix.exs
guthb/fp
2a754adfcf2eb60e80016a23de81fad83993bafe
[ "MIT" ]
null
null
null
hello/mix.exs
guthb/fp
2a754adfcf2eb60e80016a23de81fad83993bafe
[ "MIT" ]
null
null
null
hello/mix.exs
guthb/fp
2a754adfcf2eb60e80016a23de81fad83993bafe
[ "MIT" ]
null
null
null
defmodule Hello.MixProject do use Mix.Project def project do [ app: :hello, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applic...
19.586207
87
0.573944
65a4fbcba63838696887b79a0de49c0f3a1cd10b
2,236
exs
Elixir
test/phoenix_live_view/integrations/event_test.exs
gjacobrobertson/phoenix_live_view
459fd4939126edeaad673277791d460028bdb102
[ "MIT" ]
1
2021-03-16T17:01:33.000Z
2021-03-16T17:01:33.000Z
test/phoenix_live_view/integrations/event_test.exs
gjacobrobertson/phoenix_live_view
459fd4939126edeaad673277791d460028bdb102
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/event_test.exs
gjacobrobertson/phoenix_live_view
459fd4939126edeaad673277791d460028bdb102
[ "MIT" ]
1
2020-09-23T17:11:30.000Z
2020-09-23T17:11:30.000Z
defmodule Phoenix.LiveView.EventTest do use ExUnit.Case import Phoenix.ConnTest import Phoenix.LiveViewTest alias Phoenix.LiveView alias Phoenix.LiveViewTest.{Endpoint} @endpoint Endpoint setup config do {:ok, conn: Plug.Test.init_test_session(Phoenix.ConnTest.build_conn(), config[:session] ...
31.055556
100
0.598837
65a53df6816ddde1d1e522bc5efbfa2903e4e365
8,401
exs
Elixir
test/rihanna/job_test.exs
VitorTrin/rihanna
a01a35d77724a882e09f04804334a07f577ad292
[ "MIT" ]
null
null
null
test/rihanna/job_test.exs
VitorTrin/rihanna
a01a35d77724a882e09f04804334a07f577ad292
[ "MIT" ]
null
null
null
test/rihanna/job_test.exs
VitorTrin/rihanna
a01a35d77724a882e09f04804334a07f577ad292
[ "MIT" ]
null
null
null
defmodule Rihanna.JobTest do use ExUnit.Case, async: false import Rihanna.Job import TestHelper doctest Rihanna.Job @class_id Rihanna.Config.pg_advisory_lock_class_id() alias Rihanna.Mocks.{MockJob, MockRetriedJob} setup_all [:create_jobs_table] setup %{pg: pg} do Postgrex.query!(pg, "DELETE FRO...
29.069204
94
0.586716
65a58e15811de46aa38a6669c888aba67047b663
2,940
exs
Elixir
test/hexpm/release_tasks/stats_test.exs
thiamsantos/hexpm
790bae9e761fe9b2dd6901618054ad533ef24599
[ "Apache-2.0" ]
null
null
null
test/hexpm/release_tasks/stats_test.exs
thiamsantos/hexpm
790bae9e761fe9b2dd6901618054ad533ef24599
[ "Apache-2.0" ]
null
null
null
test/hexpm/release_tasks/stats_test.exs
thiamsantos/hexpm
790bae9e761fe9b2dd6901618054ad533ef24599
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.ReleaseTasks.StatsTest do use Hexpm.DataCase alias Hexpm.Repository.Download alias Hexpm.Store alias Hexpm.ReleaseTasks.Stats setup do organization1 = insert(:organization) [package1, package2, package3] = insert_list(3, :package) package4 = insert(:package, organization_id: orga...
29.4
75
0.631293
65a5aa194583b4ca9000e2fe9536abd92cb4ca12
11,692
ex
Elixir
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/group_items.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/group_items.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/you_tube_analytics/lib/google_api/you_tube_analytics/v2/api/group_items.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...
54.892019
732
0.664985
65a5c0f30a8a956acac0b369d6b127e219a427a1
370
exs
Elixir
apps/neoscan_sync/test/neoscan_sync/monitor_test.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
75
2017-07-23T02:45:32.000Z
2021-12-13T11:04:17.000Z
apps/neoscan_sync/test/neoscan_sync/monitor_test.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
252
2017-07-13T19:36:00.000Z
2021-07-28T18:40:00.000Z
apps/neoscan_sync/test/neoscan_sync/monitor_test.exs
vincentgeneste/neo-scan
4a654575331eeb3eb12d4fd61696a7bd6dbca3ce
[ "MIT" ]
87
2017-07-23T02:45:34.000Z
2022-03-02T14:54:27.000Z
defmodule NeoscanSync.MonitorTest do use NeoscanSync.DataCase test "write/1" do assert :ok == Monitor.write( download_blocks_count: 10, download_blocks_time: 300_000, insert_blocks_time: 20_000, insert_blocks_count: 5, inse...
24.666667
45
0.575676
65a5f6bebbae69ec4f51bef8e6cbee57d0cdd310
688
ex
Elixir
kousa/lib/router.ex
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
2
2021-03-15T22:53:51.000Z
2021-03-22T09:34:06.000Z
kousa/lib/router.ex
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
2
2021-09-01T19:42:51.000Z
2021-12-09T03:56:38.000Z
kousa/lib/router.ex
larsverp/dogehouse
a433d4cd64512c4723cd019957b654ae4dc877b4
[ "MIT" ]
1
2021-03-13T20:31:49.000Z
2021-03-13T20:31:49.000Z
defmodule Kousa.Router do import Plug.Conn alias Kousa.Routes.GitHubAuth alias Kousa.Routes.TwitterAuth alias Kousa.Routes.ScheduledRoom alias Kousa.Routes.Dev use Plug.Router use Sentry.PlugCapture plug(Kousa.Cors) plug(Kousa.Metric.PrometheusExporter) plug(:match) plug(:dispatch) options _ ...
18.594595
47
0.674419
65a60212330b461cc19d4e44fe2b1b560980fcaa
3,005
ex
Elixir
lib/tentacat/repositories/collaborators.ex
asummers/tentacat
b7d040713c729fdc0467bddc1bd197a5ee0054dd
[ "MIT" ]
null
null
null
lib/tentacat/repositories/collaborators.ex
asummers/tentacat
b7d040713c729fdc0467bddc1bd197a5ee0054dd
[ "MIT" ]
null
null
null
lib/tentacat/repositories/collaborators.ex
asummers/tentacat
b7d040713c729fdc0467bddc1bd197a5ee0054dd
[ "MIT" ]
null
null
null
defmodule Tentacat.Repositories.Collaborators do import Tentacat alias Tentacat.Client @doc """ List collaborators for a specific repository ## Example Tentacat.Repositories.Collaborators.list "elixir-lang", "elixir" Tentacat.Repositories.Collaborators.list client, "elixir-lang", "elixir" Mor...
39.539474
114
0.702163
65a60ebcec4dc5dac0dec81308fea41a3ac71dc3
347
ex
Elixir
wadm/lib/wadm/model/spreadscaler.ex
janitha09/wadm
b5c9a0f5290bfcdd0eefe0f0bf22583b61c66c0f
[ "Apache-2.0" ]
2
2022-01-02T12:37:57.000Z
2022-03-02T20:13:03.000Z
wadm/lib/wadm/model/spreadscaler.ex
janitha09/wadm
b5c9a0f5290bfcdd0eefe0f0bf22583b61c66c0f
[ "Apache-2.0" ]
12
2021-11-28T19:22:20.000Z
2022-01-25T18:41:48.000Z
wadm/lib/wadm/model/spreadscaler.ex
janitha09/wadm
b5c9a0f5290bfcdd0eefe0f0bf22583b61c66c0f
[ "Apache-2.0" ]
1
2021-11-25T00:42:06.000Z
2021-11-25T00:42:06.000Z
defmodule Wadm.Model.SpreadScaler do alias __MODULE__ alias Wadm.Model.WeightedTarget defstruct [:replicas, :spread] @typedoc """ Type that represents a definition of a spread scaler in a trait bound to a component """ @type t :: %SpreadScaler{ replicas: integer(), spread: [Weighte...
23.133333
88
0.662824
65a64b24b3810f7c8a8a6744532eb8fc294160ae
1,433
ex
Elixir
elixir/lib/item/modifier.ex
ksdenisova/GildedRoseKata
56bc40077f913bac5fc1211f8c1c8cf34f8db9af
[ "MIT" ]
null
null
null
elixir/lib/item/modifier.ex
ksdenisova/GildedRoseKata
56bc40077f913bac5fc1211f8c1c8cf34f8db9af
[ "MIT" ]
null
null
null
elixir/lib/item/modifier.ex
ksdenisova/GildedRoseKata
56bc40077f913bac5fc1211f8c1c8cf34f8db9af
[ "MIT" ]
null
null
null
defmodule Item.Modifier do alias Item.Item def increase_quality(%Item{sell_in: sell_in, quality: quality} = item) when sell_in < 0 and quality < 48 do %Item{item | quality: quality + 2} end def increase_quality(%Item{quality: quality} = item) when quality < 50 do %Item{item | quality: quality + 1} e...
29.244898
115
0.662247
65a66872f1858eadc9028a3c12613818d376c3bf
65
ex
Elixir
lib/docker_phx_web/views/page_view.ex
beltranaceves/docker_phx
06a9cba602ccd4f054568b7a40ca36bedc9a3e27
[ "MIT" ]
null
null
null
lib/docker_phx_web/views/page_view.ex
beltranaceves/docker_phx
06a9cba602ccd4f054568b7a40ca36bedc9a3e27
[ "MIT" ]
null
null
null
lib/docker_phx_web/views/page_view.ex
beltranaceves/docker_phx
06a9cba602ccd4f054568b7a40ca36bedc9a3e27
[ "MIT" ]
null
null
null
defmodule DockerPhxWeb.PageView do use DockerPhxWeb, :view end
16.25
34
0.815385
65a682745486e504381d16082d22cfd4ca97106a
1,262
exs
Elixir
test/crawly_test.exs
m4hi2/crawly
b9e1bfffcc97e978023924e7aad53fc8a223aebf
[ "Apache-2.0" ]
486
2019-05-30T09:19:59.000Z
2021-04-28T07:51:31.000Z
test/crawly_test.exs
m4hi2/crawly
b9e1bfffcc97e978023924e7aad53fc8a223aebf
[ "Apache-2.0" ]
131
2019-06-29T12:43:24.000Z
2021-04-24T19:40:07.000Z
test/crawly_test.exs
m4hi2/crawly
b9e1bfffcc97e978023924e7aad53fc8a223aebf
[ "Apache-2.0" ]
52
2019-06-24T10:13:41.000Z
2021-03-28T07:36:42.000Z
defmodule CrawlyTest do use ExUnit.Case setup do :meck.new(CrawlyTestSpider, [:non_strict]) :meck.expect(CrawlyTestSpider, :parse_item, fn _resp -> %{ items: [%{content: "hello"}], requests: [ Crawly.Utils.request_from_url("https://www.example.com/test") ] } ...
28.044444
112
0.64897
65a6a6369c918d699cae516de5162adf83e9d75b
1,242
ex
Elixir
lib/floki/filter_out.ex
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
1,778
2015-01-07T14:12:31.000Z
2022-03-29T22:42:48.000Z
lib/floki/filter_out.ex
nathanl/floki
042b3f60f4d9a6218ec85d558d13cc6dac30c587
[ "MIT" ]
279
2015-01-01T15:54:50.000Z
2022-03-28T18:06:03.000Z
deps/floki/lib/floki/filter_out.ex
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
166
2015-04-24T20:48:02.000Z
2022-03-28T17:29:05.000Z
defmodule Floki.FilterOut do @moduledoc false # Helper functions for filtering out a specific element from the tree. @type selector :: :comment | :text | Floki.css_selector() def filter_out(html_tree_or_node, type) when type in [:text, :comment] do mapper(html_tree_or_node, type) end def filter_out(...
27
79
0.665862
65a6ab28f9353373a57a64c0b4893e9cf076ac27
1,039
ex
Elixir
lib/argo/endpoint.ex
ne1ro/argo
87f6c0de8311cb3e1e4eb05fa63bb0b71068a743
[ "MIT" ]
null
null
null
lib/argo/endpoint.ex
ne1ro/argo
87f6c0de8311cb3e1e4eb05fa63bb0b71068a743
[ "MIT" ]
null
null
null
lib/argo/endpoint.ex
ne1ro/argo
87f6c0de8311cb3e1e4eb05fa63bb0b71068a743
[ "MIT" ]
null
null
null
defmodule Argo.Endpoint do @moduledoc """ Application endpoint """ use Phoenix.Endpoint, otp_app: :argo socket "/socket", Argo.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying your static fi...
23.613636
69
0.697786
65a6aec54a45634d519100d75f80d4b585196ace
6,557
exs
Elixir
test/lib/cryptozaur/drivers/kucoin_rest_test.exs
DenisGorbachev/crypto-cli
94e5097ff24237fbc5fdd3fea371a5c9a1f727e4
[ "MIT" ]
5
2018-09-19T09:13:15.000Z
2021-10-20T23:29:57.000Z
test/lib/cryptozaur/drivers/kucoin_rest_test.exs
DenisGorbachev/crypto-cli
94e5097ff24237fbc5fdd3fea371a5c9a1f727e4
[ "MIT" ]
6
2018-07-29T05:33:02.000Z
2018-09-18T20:42:19.000Z
test/lib/cryptozaur/drivers/kucoin_rest_test.exs
DenisGorbachev/crypto-cli
94e5097ff24237fbc5fdd3fea371a5c9a1f727e4
[ "MIT" ]
3
2018-07-24T05:55:04.000Z
2018-09-19T09:14:08.000Z
defmodule Cryptozaur.Drivers.KucoinRestTest do use ExUnit.Case use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney, options: [clear_mock: true] require OK setup_all do HTTPoison.start() credentials = Application.get_env(:cryptozaur, :kucoin, key: "", secret: "") {:ok, driver} = Cryptozaur.Drivers.Kuco...
31.830097
141
0.472777
65a6b95952e6d82ad43d392d5606b99918e47ab1
34,717
ex
Elixir
lib/phoenix_live_view/test/live_view_test.ex
Nicd/phoenix_live_view
672a77913901dd7e005d214c32e6397791718cde
[ "MIT" ]
1
2020-10-23T15:17:10.000Z
2020-10-23T15:17:10.000Z
lib/phoenix_live_view/test/live_view_test.ex
Nicd/phoenix_live_view
672a77913901dd7e005d214c32e6397791718cde
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/live_view_test.ex
Nicd/phoenix_live_view
672a77913901dd7e005d214c32e6397791718cde
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest do @moduledoc """ Conveniences for testing Phoenix LiveViews. In LiveView tests, we interact with views via process communication in substitution of a browser. Like a browser, our test process receives messages about the rendered updates from the view which can be asserted ag...
32.205009
98
0.659763
65a6bf4e14a3a808843f5810588524d872b7cad1
822
exs
Elixir
test/breadboard/gpio/pinout_server_test.exs
henrythebuilder/breadboard
f8e1378de6ad3984c7101e40bd41c81285b345c0
[ "Apache-2.0" ]
null
null
null
test/breadboard/gpio/pinout_server_test.exs
henrythebuilder/breadboard
f8e1378de6ad3984c7101e40bd41c81285b345c0
[ "Apache-2.0" ]
null
null
null
test/breadboard/gpio/pinout_server_test.exs
henrythebuilder/breadboard
f8e1378de6ad3984c7101e40bd41c81285b345c0
[ "Apache-2.0" ]
null
null
null
defmodule PinoutServerTest do use ExUnit.Case alias Breadboard.GPIO.PinoutServer test "server is alive with application" do assert Process.whereis(PinoutServer.server_name()) != nil end test "server respond to :reload_state" do pre_pid = Process.whereis(PinoutServer.server_name()) GenServer.cal...
28.344828
85
0.73236
65a6e42e0a113ff1e1b6dbb49f7ec4c3ce4fd276
740
ex
Elixir
lib/radiator/directory/user_profile.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
92
2019-01-03T11:46:23.000Z
2022-02-19T21:28:44.000Z
lib/radiator/directory/user_profile.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
350
2019-04-11T07:55:51.000Z
2021-08-03T11:19:05.000Z
lib/radiator/directory/user_profile.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
10
2019-04-18T12:47:27.000Z
2022-01-25T20:49:15.000Z
defmodule Radiator.Directory.UserProfile do use Ecto.Schema import Ecto.Changeset import Arc.Ecto.Changeset import Ecto.Query, warn: false alias Radiator.Auth.User alias Radiator.Media schema "user_profiles" do field :display_name, :string field :image, Media.UserAvatar.Type belongs_to :us...
21.764706
77
0.7
65a6ebabb29a9a15cbddf178d942d714c2964532
54
ex
Elixir
todo/lib/todo_web/views/car_view.ex
IITA-DMCS-2122/iita_elixir
e636360edd96f0bfcde91eec212a467f10186437
[ "MIT" ]
null
null
null
todo/lib/todo_web/views/car_view.ex
IITA-DMCS-2122/iita_elixir
e636360edd96f0bfcde91eec212a467f10186437
[ "MIT" ]
22
2021-12-11T13:12:45.000Z
2022-01-29T14:20:03.000Z
todo/lib/todo_web/views/car_view.ex
IITA-DMCS-2122/iita_elixir
e636360edd96f0bfcde91eec212a467f10186437
[ "MIT" ]
null
null
null
defmodule TodoWeb.CarView do use TodoWeb, :view end
13.5
28
0.777778
65a6f63d9a9da9c909b08b162be42f6a555cda0b
472
exs
Elixir
priv/gear_template/test/web/controller/hello_test.exs
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
144
2018-04-27T07:24:49.000Z
2022-03-15T05:19:37.000Z
priv/gear_template/test/web/controller/hello_test.exs
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
123
2018-05-01T02:54:43.000Z
2022-01-28T01:30:52.000Z
priv/gear_template/test/web/controller/hello_test.exs
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
14
2018-05-01T02:30:47.000Z
2022-02-21T04:38:56.000Z
defmodule <%= gear_name_camel %>.Controller.HelloTest do use ExUnit.Case test "hello should render HAML template as HTML" do response = Req.get("/hello", %{}, [params: %{"locale" => "ja"}]) assert response.status == 200 assert response.headers["content-type"] == "text/html; charset=utf-8" body = re...
36.307692
73
0.667373
65a7145fdea73c1a11272b8ead265c1a9a5843ef
2,837
ex
Elixir
lib/counting_server/protocol.ex
electricshaman/counting_server
966ea04abde16c7bc30ac27b915851b2d1d5713d
[ "MIT" ]
null
null
null
lib/counting_server/protocol.ex
electricshaman/counting_server
966ea04abde16c7bc30ac27b915851b2d1d5713d
[ "MIT" ]
null
null
null
lib/counting_server/protocol.ex
electricshaman/counting_server
966ea04abde16c7bc30ac27b915851b2d1d5713d
[ "MIT" ]
null
null
null
defmodule CountingServer.Protocol do require Logger @behaviour :ranch_protocol @default_interval 1000 def start_link(ref, socket, transport, opts) do :proc_lib.start_link(__MODULE__, :init, [ref, socket, transport, opts]) end def init(ref, socket, transport, opts) do :ok = :proc_lib.init_ack({:ok...
27.278846
108
0.633416
65a73b02690029b72400233a5c58d1a62e23a7d3
115
ex
Elixir
lib/imagine/cache.ex
nacengineer/imagine_cms
00a73790f9de6c409bb87e1fdfb3b41010a9d222
[ "Apache-2.0" ]
25
2020-09-08T05:13:40.000Z
2022-03-15T13:35:59.000Z
lib/imagine/cache.ex
nacengineer/imagine_cms
00a73790f9de6c409bb87e1fdfb3b41010a9d222
[ "Apache-2.0" ]
null
null
null
lib/imagine/cache.ex
nacengineer/imagine_cms
00a73790f9de6c409bb87e1fdfb3b41010a9d222
[ "Apache-2.0" ]
3
2021-08-11T03:48:54.000Z
2022-02-09T20:11:06.000Z
defmodule Imagine.Cache do use Nebulex.Cache, otp_app: :imagine_cms, adapter: Nebulex.Adapters.Local end
19.166667
35
0.747826
65a79b36d2407757d9d840e3e5df137674b37716
1,956
ex
Elixir
lib/console_web/endpoint.ex
helium/roaming-console
0157d0f1666f50259d2887ed23f6bc5138ce67b6
[ "Apache-2.0" ]
null
null
null
lib/console_web/endpoint.ex
helium/roaming-console
0157d0f1666f50259d2887ed23f6bc5138ce67b6
[ "Apache-2.0" ]
14
2022-03-02T17:01:59.000Z
2022-03-30T17:45:47.000Z
lib/console_web/endpoint.ex
helium/roaming-console
0157d0f1666f50259d2887ed23f6bc5138ce67b6
[ "Apache-2.0" ]
null
null
null
defmodule ConsoleWeb.Endpoint do use Phoenix.Endpoint, otp_app: :console use Absinthe.Phoenix.Endpoint use Appsignal.Phoenix socket "/socket", ConsoleWeb.UserSocket, websocket: [timeout: 45_000, check_origin: [System.get_env("SOCKET_CHECK_ORIGIN") || "//localhost"]] socket "/socket/packet_purchaser", Co...
30.092308
104
0.715746
65a7aba9be15dfd40196f7a7f42c9b9279bedb50
2,036
exs
Elixir
config/prod.exs
jairpro/nlw4-elixir_sisnuvempay
5a1ca3f45f9396ce766bf147b45ace545e7704d4
[ "MIT" ]
null
null
null
config/prod.exs
jairpro/nlw4-elixir_sisnuvempay
5a1ca3f45f9396ce766bf147b45ace545e7704d4
[ "MIT" ]
null
null
null
config/prod.exs
jairpro/nlw4-elixir_sisnuvempay
5a1ca3f45f9396ce766bf147b45ace545e7704d4
[ "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.357143
66
0.718075
65a7ddcb31c7208a6106a25f2e489ae3c5b616f1
1,545
exs
Elixir
api/mix.exs
kevcisme/locals
042d5c691c5bd29e0d040d03782ee294db8a8380
[ "MIT" ]
null
null
null
api/mix.exs
kevcisme/locals
042d5c691c5bd29e0d040d03782ee294db8a8380
[ "MIT" ]
null
null
null
api/mix.exs
kevcisme/locals
042d5c691c5bd29e0d040d03782ee294db8a8380
[ "MIT" ]
null
null
null
defmodule Locals.Mixfile do use Mix.Project def project do [app: :locals, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, aliases:...
29.150943
78
0.604531
65a7e700eaf6db4dd0631bc3e41e61e4804c7532
1,175
exs
Elixir
config/config.exs
exredorg/exred_node_aws_iot_thingshadow_in
95676a1bbfe81069cc8dd51989b2360032a338e0
[ "MIT" ]
null
null
null
config/config.exs
exredorg/exred_node_aws_iot_thingshadow_in
95676a1bbfe81069cc8dd51989b2360032a338e0
[ "MIT" ]
null
null
null
config/config.exs
exredorg/exred_node_aws_iot_thingshadow_in
95676a1bbfe81069cc8dd51989b2360032a338e0
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
37.903226
73
0.762553
65a7ec27f5a57445c9dbddbd1fa45e037eee070b
243
exs
Elixir
apps/site/test/site_web/controllers/redirect_controller_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/site/test/site_web/controllers/redirect_controller_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/site/test/site_web/controllers/redirect_controller_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule SiteWeb.RedirectControllerTest do use SiteWeb.ConnCase test "redirects all requests", %{conn: conn} do conn = get(conn, redirect_path(conn, :show, ["foo", "bar"])) assert redirected_to(conn, 302) == "/foo/bar" end end
27
64
0.691358
65a7efb346ece92fce207e16c384cba6db0a858a
8
ex
Elixir
testData/org/elixir_lang/parser_definition/sigil_dot_operation_parsing_test_case/Variable.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/sigil_dot_operation_parsing_test_case/Variable.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/sigil_dot_operation_parsing_test_case/Variable.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~x{}.two
8
8
0.5
65a7f9d283b4f49bba0ab08df834172384ded19e
2,178
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/attachment.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/attachment.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/attachment.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...
38.210526
127
0.735078
65a8277ebcbd5669879b051e1450d59ae6b25dde
6,757
ex
Elixir
lib/plausible_web/controllers/api/stats_controller.ex
sbouaked/plausible
d3eb565fa02c5bfbfbbc78880a98d5f0f9d69577
[ "MIT" ]
null
null
null
lib/plausible_web/controllers/api/stats_controller.ex
sbouaked/plausible
d3eb565fa02c5bfbfbbc78880a98d5f0f9d69577
[ "MIT" ]
null
null
null
lib/plausible_web/controllers/api/stats_controller.ex
sbouaked/plausible
d3eb565fa02c5bfbfbbc78880a98d5f0f9d69577
[ "MIT" ]
null
null
null
defmodule PlausibleWeb.Api.StatsController do use PlausibleWeb, :controller use Plausible.Repo alias Plausible.Stats alias Plausible.Stats.Query plug PlausibleWeb.AuthorizeStatsPlug def main_graph(conn, params) do site = conn.assigns[:site] query = Stats.Query.from(site.timezone, params) plot_...
36.524324
137
0.693059
65a83f060b4d65e4ecf96208607b41f3fd5b1e63
3,217
ex
Elixir
lib/koans/03_numbers.ex
tootoobeepbeep/elixir-koans-ans
01b0962e1db0c51a72e33820a360c216ce466f31
[ "MIT" ]
null
null
null
lib/koans/03_numbers.ex
tootoobeepbeep/elixir-koans-ans
01b0962e1db0c51a72e33820a360c216ce466f31
[ "MIT" ]
null
null
null
lib/koans/03_numbers.ex
tootoobeepbeep/elixir-koans-ans
01b0962e1db0c51a72e33820a360c216ce466f31
[ "MIT" ]
null
null
null
defmodule Numbers do require Integer use Koans @intro "Why is the number six so scared? Because seven eight nine!\nWe should get to know numbers a bit more!" koan "Is an integer equal to its float equivalent?" do assert 1 == 1.0 == true end koan "Is an integer threequal to its float equivalent?" do ...
24.007463
112
0.631023
65a841c268a2b5ab08c793422bb0b408f6f5810b
3,125
ex
Elixir
lib/vintage_net_ethernet.ex
nerves-networking/vintage_net_ethernet
35a8b39a1fa242cfb828460a3f2e3f22298846d8
[ "Apache-2.0" ]
3
2020-04-04T19:08:47.000Z
2020-08-03T22:02:36.000Z
lib/vintage_net_ethernet.ex
nerves-networking/vintage_net_ethernet
35a8b39a1fa242cfb828460a3f2e3f22298846d8
[ "Apache-2.0" ]
4
2021-06-27T23:49:11.000Z
2022-02-09T00:22:30.000Z
lib/vintage_net_ethernet.ex
nerves-networking/vintage_net_ethernet
35a8b39a1fa242cfb828460a3f2e3f22298846d8
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetEthernet do @behaviour VintageNet.Technology require Logger alias VintageNet.Interface.RawConfig alias VintageNet.IP.{DhcpdConfig, IPv4Config} alias VintageNetEthernet.MacAddress @moduledoc """ Support for common wired Ethernet interface configurations Configurations for this tec...
26.260504
98
0.6896
65a84ed43ea9f86299bd926519a1a363ec3fd9ee
12,691
exs
Elixir
test/benchee/formatters/console/run_time_test.exs
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
504
2019-03-19T16:50:04.000Z
2022-03-30T03:33:11.000Z
test/benchee/formatters/console/run_time_test.exs
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
46
2019-03-19T16:52:27.000Z
2022-03-10T08:34:45.000Z
test/benchee/formatters/console/run_time_test.exs
gomoripeti/benchee
bd5185bcfdc8320c237959505e63a89d31e044a9
[ "MIT" ]
20
2019-03-21T06:36:33.000Z
2022-03-10T06:13:40.000Z
defmodule Benchee.Formatters.Console.RunTimeTest do use ExUnit.Case, async: true doctest Benchee.Formatters.Console.RunTime alias Benchee.{CollectionData, Formatters.Console.RunTime, Scenario, Statistics} @console_config %{ comparison: true, unit_scaling: :best, extended_statistics: false } @c...
30.580723
90
0.541407
65a85d029bf1bb2dd311a384d6276fc12d1cfc61
2,321
ex
Elixir
clients/drive/lib/google_api/drive/v3/model/permission_permission_details.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/permission_permission_details.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/permission_permission_details.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "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.84127
206
0.704438
65a866db75891da2e667fe6f9cd26350789a3d6e
46,182
ex
Elixir
lib/ecto/query/planner.ex
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/planner.ex
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/planner.ex
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Query.Planner do # Normalizes a query and its parameters. @moduledoc false alias Ecto.Query.{BooleanExpr, DynamicExpr, JoinExpr, QueryExpr, SelectExpr} if map_size(%Ecto.Query{}) != 17 do raise "Ecto.Query match out of date in builder" end @doc """ Converts a query to a list of joins...
35.9393
133
0.618531
65a8784ad1c33cb55ec64e866b4d18ad6863915a
2,567
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/secure_channel/key_establishment_protocol/xx/initiator.ex
0x00A5/ockam
9710804e20606e70057d65c70d1af7236194aeeb
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/secure_channel/key_establishment_protocol/xx/initiator.ex
0x00A5/ockam
9710804e20606e70057d65c70d1af7236194aeeb
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/secure_channel/key_establishment_protocol/xx/initiator.ex
0x00A5/ockam
9710804e20606e70057d65c70d1af7236194aeeb
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.SecureChannel.KeyEstablishmentProtocol.XX.Initiator do @moduledoc false alias Ockam.Message alias Ockam.Router alias Ockam.SecureChannel.KeyEstablishmentProtocol.XX.Protocol @role :initiator def setup(_options, data) do {:ok, {:key_establishment, @role, :ready}, data, [{:next_event, :...
35.164384
97
0.701597
65a87dfe5ef1b6fa6f599a63bf6eeb7ce98e0d56
6,620
ex
Elixir
lib/livebook/runtime.ex
mgibowski/livebook
bfb9dc371e386597219a398a180d69c0bfa2f384
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime.ex
mgibowski/livebook
bfb9dc371e386597219a398a180d69c0bfa2f384
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime.ex
mgibowski/livebook
bfb9dc371e386597219a398a180d69c0bfa2f384
[ "Apache-2.0" ]
1
2021-12-18T03:42:04.000Z
2021-12-18T03:42:04.000Z
defprotocol Livebook.Runtime do @moduledoc false # This protocol defines an interface for evaluation backends. # # Usually a runtime involves a set of processes responsible # for evaluation, which could be running on a different node, # however the protocol does not require that. @typedoc """ An arbit...
30.790698
94
0.691541
65a87f3650d3ff416b0ca04eb8a0a0b3b2523d97
484
exs
Elixir
config/test.exs
MatthieuSegret/yummy-phoenix
85b490075e3a0395b4e7cfa9f06936659e9d12b5
[ "MIT" ]
5
2017-08-27T19:45:43.000Z
2019-06-28T08:12:25.000Z
config/test.exs
MatthieuSegret/yummy-phoenix
85b490075e3a0395b4e7cfa9f06936659e9d12b5
[ "MIT" ]
null
null
null
config/test.exs
MatthieuSegret/yummy-phoenix
85b490075e3a0395b4e7cfa9f06936659e9d12b5
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :yummy, YummyWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :yummy, Yummy.Repo, ad...
24.2
56
0.729339
65a8a028ca1b99c1b0bd8a74078ab43ab9beee82
349
ex
Elixir
lib/supabase_surface/components/icons/icon_align_right.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_align_right.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_align_right.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconAlignRight do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.align_right(width: icon_size, height: icon_size)} </Icon...
23.266667
69
0.724928
65a9160f29c9c6e75770daee76cfa87c0aaea431
1,556
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/model/country_targeting.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/model/country_targeting.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/model/country_targeting.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 ...
31.12
84
0.726221
65a91a8577322b5efaa8182e8625e1fb108d6d27
2,098
ex
Elixir
lib/mix/tasks/saas_ui_kit.gen.config.ex
liveuikit/live_ui_kit
8e7b5f1ab5ff0c3edf47a002af78c7bb36f8aa71
[ "MIT" ]
2
2022-03-01T23:32:08.000Z
2022-03-08T10:32:14.000Z
lib/mix/tasks/saas_ui_kit.gen.config.ex
liveuikit/live_ui_kit
8e7b5f1ab5ff0c3edf47a002af78c7bb36f8aa71
[ "MIT" ]
null
null
null
lib/mix/tasks/saas_ui_kit.gen.config.ex
liveuikit/live_ui_kit
8e7b5f1ab5ff0c3edf47a002af78c7bb36f8aa71
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.LiveUiKit.Gen.Config do @shortdoc "Generates a config file that contains the component classes" @moduledoc """ Generates a config file that contains the component classes. For example: mix saas_ui_kit.gen.config --bootstrap Possible arguments are tailwind or bootstrap. If no argumen...
28.351351
94
0.677788
65a92df8624ebbd89e08f19f84a17e0484223cc1
304
ex
Elixir
lib/policr_mini_bot/state.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
lib/policr_mini_bot/state.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
lib/policr_mini_bot/state.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
defmodule PolicrMiniBot.State do @moduledoc """ 在过滤器中传递的状态。 """ use TypedStruct typedstruct do field :takeovered, boolean() field :from_self, boolean() field :from_admin, boolean() field :deleted, boolean(), default: false field :done, boolean(), default: false end end
19
45
0.674342
65a934403ffbcd37aba9194fc443511b66569f75
132
exs
Elixir
2020/elixir/point/test/point_test.exs
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/elixir/point/test/point_test.exs
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/elixir/point/test/point_test.exs
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
defmodule PointTest do use ExUnit.Case doctest Point test "greets the world" do assert Point.hello() == :world end end
14.666667
34
0.69697
65a96246e7e38a1ffe1138ab40693c1a3e624312
4,207
ex
Elixir
lib/mix/tasks/gleam/compile.ex
phaleth/mix_gleam
419c5812e44bf63a41a9d2115bbf6e8e7f7a4019
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/gleam/compile.ex
phaleth/mix_gleam
419c5812e44bf63a41a9d2115bbf6e8e7f7a4019
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/gleam/compile.ex
phaleth/mix_gleam
419c5812e44bf63a41a9d2115bbf6e8e7f7a4019
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Gleam.Compile do use Mix.Task @shortdoc "Compiles Gleam source files" @recursive true @shell Mix.shell() @moduledoc """ Compiles a single Gleam package. This task wraps `gleam compile-package` and ensures that any Gleam code, in the main project and any dependencies, is compiled ...
25.809816
103
0.589969
65a9916778a78ee814f8e7fcefb1e7d764425371
1,466
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/get_debug_config_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/get_debug_config_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/get_debug_config_response.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...
31.191489
116
0.744884
65a992fa52d0f631207a39efb0f8ad388e8f406d
2,173
exs
Elixir
solutions/03_greetings/test/language_helpers_test.exs
zeroasterisk/elixir-101-codelab
76a3dda71a1fab88680fb7d4959ef265924945c4
[ "MIT" ]
4
2018-07-26T19:47:26.000Z
2018-08-18T20:27:09.000Z
solutions/03_greetings/test/language_helpers_test.exs
zeroasterisk/elixir-101-codelab
76a3dda71a1fab88680fb7d4959ef265924945c4
[ "MIT" ]
null
null
null
solutions/03_greetings/test/language_helpers_test.exs
zeroasterisk/elixir-101-codelab
76a3dda71a1fab88680fb7d4959ef265924945c4
[ "MIT" ]
1
2018-08-29T12:38:36.000Z
2018-08-29T12:38:36.000Z
defmodule LanguageHelpersTest do use ExUnit.Case doctest LanguageHelpers describe "guess" do # guess will take in a variety of inputs # and return either a "valid" language atom or nil test "Guessing Language for nil returns nil" do assert LanguageHelpers.guess(nil) == nil end test "Gue...
34.492063
65
0.66774
65a9d05b20998347fdc40fc8fab901a9b8818876
22,005
ex
Elixir
lib/postgrex/type_module.ex
activeprospect/postgrex
d267e419de5db61ac8705210dec8527e4bf94a84
[ "Apache-2.0" ]
null
null
null
lib/postgrex/type_module.ex
activeprospect/postgrex
d267e419de5db61ac8705210dec8527e4bf94a84
[ "Apache-2.0" ]
null
null
null
lib/postgrex/type_module.ex
activeprospect/postgrex
d267e419de5db61ac8705210dec8527e4bf94a84
[ "Apache-2.0" ]
null
null
null
defmodule Postgrex.TypeModule do @moduledoc false alias Postgrex.TypeInfo def define(module, extensions, opts) do opts = opts |> Keyword.put_new(:decode_binary, :copy) config = configure(extensions, opts) define_inline(module, config, opts) end ## Helpers defp directives(config) ...
30.73324
91
0.575324
65aa307e3338ea3772dc3077db10400a557bf4b9
6,031
ex
Elixir
lib/spi.ex
elixir-circuits/spi
68555f7ef5cc61df5d2af2cd9b2b77a04ad9e068
[ "Apache-2.0" ]
1
2018-10-06T16:19:02.000Z
2018-10-06T16:19:02.000Z
lib/spi.ex
ElixirCircuits/spi
68555f7ef5cc61df5d2af2cd9b2b77a04ad9e068
[ "Apache-2.0" ]
4
2018-10-16T01:03:31.000Z
2018-10-27T19:49:17.000Z
lib/spi.ex
elixir-circuits/spi
68555f7ef5cc61df5d2af2cd9b2b77a04ad9e068
[ "Apache-2.0" ]
2
2018-10-06T16:18:52.000Z
2018-10-07T18:58:43.000Z
defmodule Circuits.SPI do @moduledoc """ This module enables Elixir programs to interact with hardware that's connected via a SPI bus. """ alias Circuits.SPI.Nif @typedoc """ SPI bus options. See `open/2`. """ @type spi_option() :: {:mode, 0..3} | {:bits_per_word, 8..16} ...
32.956284
97
0.664235
65aa55bc356615a91452d83acc5d145882badd63
714
exs
Elixir
apps/re/priv/repo/migrations/20190820170942_create_shortlists.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/priv/repo/migrations/20190820170942_create_shortlists.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/priv/repo/migrations/20190820170942_create_shortlists.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Re.Repo.Migrations.CreateShortlists do use Ecto.Migration def change do create table(:shortlists, primary_key: false) do add :uuid, :uuid, primary_key: true add :opportunity_id, :string, null: false add :account_name, :string add :owner_name, :string timestamps() en...
28.56
93
0.683473
65aa5aef7cf93446f4cdac00becb2a10123b67aa
82
exs
Elixir
examples/test/live_maps_web/views/page_view_test.exs
sntran/live_map
9c1fa5b29c4af9d59ad464d45a0e884f5f90a048
[ "MIT" ]
3
2021-11-28T18:17:05.000Z
2021-12-19T01:35:13.000Z
examples/test/live_maps_web/views/page_view_test.exs
sntran/live_map
9c1fa5b29c4af9d59ad464d45a0e884f5f90a048
[ "MIT" ]
null
null
null
examples/test/live_maps_web/views/page_view_test.exs
sntran/live_map
9c1fa5b29c4af9d59ad464d45a0e884f5f90a048
[ "MIT" ]
null
null
null
defmodule LiveMapsWeb.PageViewTest do use LiveMapsWeb.ConnCase, async: true end
20.5
39
0.829268
65aa6c4b7d6d69000095e24e2450e1905597a62f
69
ex
Elixir
web/views/page_view.ex
lucaslencinas/iasc-subastas
ef431a0820bff3f87d89f6f7bdcfaf2101e3002e
[ "MIT" ]
null
null
null
web/views/page_view.ex
lucaslencinas/iasc-subastas
ef431a0820bff3f87d89f6f7bdcfaf2101e3002e
[ "MIT" ]
null
null
null
web/views/page_view.ex
lucaslencinas/iasc-subastas
ef431a0820bff3f87d89f6f7bdcfaf2101e3002e
[ "MIT" ]
null
null
null
defmodule IascSubastas.PageView do use IascSubastas.Web, :view end
17.25
34
0.811594
65aa9cca3d18619669ff398bcac847c8d4363d7c
7,723
ex
Elixir
lib/aws/generated/compute_optimizer.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/compute_optimizer.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/compute_optimizer.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "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.ComputeOptimizer do @moduledoc """ AWS Compute Optimizer is a service that analyzes the configuration and utilization metrics of your AWS resources, such as EC2 instances and Auto Scaling ...
39.005051
106
0.736242
65aaa743b18410b75fa80f7eb95615885d256b2d
894
ex
Elixir
test/support/conn_case.ex
maxneuvians/elenchos_ex
03b31e848dafe12614a01104f89d9477c7b21025
[ "MIT" ]
null
null
null
test/support/conn_case.ex
maxneuvians/elenchos_ex
03b31e848dafe12614a01104f89d9477c7b21025
[ "MIT" ]
null
null
null
test/support/conn_case.ex
maxneuvians/elenchos_ex
03b31e848dafe12614a01104f89d9477c7b21025
[ "MIT" ]
null
null
null
defmodule ElenchosExWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if...
27.090909
59
0.731544
65aaae6b905003a531ba34824272f240978c3648
1,640
exs
Elixir
mix.exs
botsquad/alexa_request_verifier
4d36c3583ebe2715eb3ec2fc211785c5cc03b164
[ "Apache-2.0" ]
4
2017-05-04T19:24:28.000Z
2017-06-04T17:17:44.000Z
mix.exs
botsquad/alexa_request_verifier
4d36c3583ebe2715eb3ec2fc211785c5cc03b164
[ "Apache-2.0" ]
5
2017-05-05T17:07:54.000Z
2019-06-12T19:45:42.000Z
mix.exs
botsquad/alexa_request_verifier
4d36c3583ebe2715eb3ec2fc211785c5cc03b164
[ "Apache-2.0" ]
4
2017-08-04T23:19:45.000Z
2019-11-05T19:06:27.000Z
defmodule AlexaRequestVerifier.Mixfile do use Mix.Project def project do [ app: :alexa_request_verifier, version: "0.1.6", elixir: "~> 1.7", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), d...
26.031746
200
0.605488
65aad60b380216b2cd546b393cbc14e3e1da27c8
6,309
exs
Elixir
test/slack/state_test.exs
albert-io/Elixir-Slack
830fcbf1b260b8fc014de33ba9e4cdf273c88e98
[ "MIT" ]
null
null
null
test/slack/state_test.exs
albert-io/Elixir-Slack
830fcbf1b260b8fc014de33ba9e4cdf273c88e98
[ "MIT" ]
null
null
null
test/slack/state_test.exs
albert-io/Elixir-Slack
830fcbf1b260b8fc014de33ba9e4cdf273c88e98
[ "MIT" ]
2
2018-05-14T20:25:41.000Z
2018-05-31T16:12:54.000Z
defmodule Slack.StateTest do use ExUnit.Case alias Slack.State test "channel_joined sets is_member to true" do new_slack = State.update( %{type: "channel_joined", channel: %{id: "123", members: ["123456", "654321"]}}, slack() ) assert new_slack.channels["123"].is_member == true asser...
24.453488
86
0.576795
65aae5799a6ac6b97ce964701ffb353b3ce70499
1,164
exs
Elixir
mix.exs
sakahiro/enum_state_mc
023b2baaeb974fd306e6f4d99c581b6146e04f2c
[ "MIT" ]
null
null
null
mix.exs
sakahiro/enum_state_mc
023b2baaeb974fd306e6f4d99c581b6146e04f2c
[ "MIT" ]
null
null
null
mix.exs
sakahiro/enum_state_mc
023b2baaeb974fd306e6f4d99c581b6146e04f2c
[ "MIT" ]
null
null
null
defmodule EnumStateMc.Mixfile do use Mix.Project require IEx def project do [ app: :enum_state_mc, version: "0.1.0", elixir: "~> 1.4", elixirc_pathes: elixirc_pathes(Mix.env), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps() ] ...
22.384615
79
0.584192
65aaec058b08a912123816dc42973ef69c950599
479
ex
Elixir
flight_booking/test/support/factory.ex
joabehenrique/flight-booking
d0cb4ead0e3a14b8d15f913d545d6b4168795d2b
[ "MIT" ]
null
null
null
flight_booking/test/support/factory.ex
joabehenrique/flight-booking
d0cb4ead0e3a14b8d15f913d545d6b4168795d2b
[ "MIT" ]
null
null
null
flight_booking/test/support/factory.ex
joabehenrique/flight-booking
d0cb4ead0e3a14b8d15f913d545d6b4168795d2b
[ "MIT" ]
null
null
null
defmodule Flightex.Factory do use ExMachina alias Flightex.Bookings.Booking alias Flightex.Users.User def users_factory do %User{ id: UUID.uuid4(), name: "Jp", email: "jp@banana.com", cpf: "12345678900" } end def booking_factory do %Booking{ complete_date: ~N[200...
18.423077
45
0.620042
65aaf708e0036190aac7ca3cfbf515f4eb27bfc8
5,008
ex
Elixir
clients/content/lib/google_api/content/v21/model/test_order.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v21/model/test_order.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v21/model/test_order.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.337349
351
0.710064
65ab24dab96d7ff2a70b46e73685bdb9209d4404
2,251
ex
Elixir
apps/tai/lib/tai/trading/order.ex
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
null
null
null
apps/tai/lib/tai/trading/order.ex
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
null
null
null
apps/tai/lib/tai/trading/order.ex
chrism2671/tai-1
847827bd23908adfad4a82c83d5295bdbc022796
[ "MIT" ]
1
2020-05-03T23:32:11.000Z
2020-05-03T23:32:11.000Z
defmodule Tai.Trading.Order do alias Tai.Trading.Order @type client_id :: Ecto.UUID.t() @type venue_order_id :: String.t() @type venue_id :: Tai.Venue.id() @type credential_id :: Tai.Venue.credential_id() @type product_symbol :: Tai.Venues.Product.symbol() @type product_type :: Tai.Venues.Product.type() ...
23.447917
63
0.583296
65ab3a90638182705cedbf9a7dfe764d629fb779
1,443
ex
Elixir
lib/elixir/lib/list/chars.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2019-10-11T01:36:26.000Z
2019-10-11T01:36:26.000Z
lib/elixir/lib/list/chars.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2015-06-09T15:52:43.000Z
2015-06-09T15:52:43.000Z
lib/elixir/lib/list/chars.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
defprotocol List.Chars do @moduledoc ~S""" The `List.Chars` protocol is responsible for converting a structure to a charlist (only if applicable). The only function required to be implemented is `to_charlist/1` which does the conversion. The `to_charlist/1` function automatically imported by `Kernel` in...
22.546875
61
0.714484
65ab400715f7a367aa254c03952a61470a8b7971
366
exs
Elixir
elixir/check.exs
dnsimple/dnsimple-api-examples
3bdc8e3258bbf5f43e8beaa1b1ee00ba08cd8972
[ "MIT" ]
27
2016-11-03T14:42:56.000Z
2022-02-20T02:03:25.000Z
elixir/check.exs
dnsimple/dnsimple-api-examples
3bdc8e3258bbf5f43e8beaa1b1ee00ba08cd8972
[ "MIT" ]
7
2016-09-09T09:45:58.000Z
2020-12-14T18:34:06.000Z
elixir/check.exs
dnsimple/dnsimple-api-examples
3bdc8e3258bbf5f43e8beaa1b1ee00ba08cd8972
[ "MIT" ]
12
2016-11-20T14:33:09.000Z
2022-02-18T21:40:48.000Z
# Usage: mix run check.exs example.com client = %Dnsimple.Client{access_token: Application.get_env(:dnsimple, :access_token), base_url: "https://api.sandbox.dnsimple.com/"} {:ok, response} = Dnsimple.Identity.whoami(client) account_id = response.data.account.id name = Enum.at(System.argv, 0) IO.inspect Dnsimple.Reg...
33.272727
133
0.76776
65ab5a85e15b6584aa749da8de1aae55ba2031ae
407
ex
Elixir
lib/pco_api/people/list/share.ex
geolessel/pco-api-elixir
6f4d9f86247a1f6370a512166e9fed3a216302e5
[ "MIT" ]
4
2016-05-13T20:04:32.000Z
2020-12-03T11:25:01.000Z
lib/pco_api/people/list/share.ex
geolessel/pco-api-elixir
6f4d9f86247a1f6370a512166e9fed3a216302e5
[ "MIT" ]
23
2016-05-14T01:34:02.000Z
2016-08-16T22:34:40.000Z
lib/pco_api/people/list/share.ex
geolessel/pco-api-elixir
6f4d9f86247a1f6370a512166e9fed3a216302e5
[ "MIT" ]
4
2016-05-27T23:40:39.000Z
2019-10-06T17:36:40.000Z
defmodule PcoApi.People.List.Share do use PcoApi.Actions, only: [:list, :get] import PcoApi.RecordAssociation linked_association :person def list(%PcoApi.Record{type: "List", links: %{"shares" => url}}), do: get(url) def list(%PcoApi.Record{type: "List", id: id}), do: get("lists/#{id}/shares") def get(%Pc...
37
95
0.651106
65ab6f9566cde4be589cc68658528228797cbff9
1,006
exs
Elixir
mix.exs
DoumanAsh/EliVndb
9466a7952db7674df11066d576a7f0b920395a6d
[ "MIT" ]
null
null
null
mix.exs
DoumanAsh/EliVndb
9466a7952db7674df11066d576a7f0b920395a6d
[ "MIT" ]
null
null
null
mix.exs
DoumanAsh/EliVndb
9466a7952db7674df11066d576a7f0b920395a6d
[ "MIT" ]
null
null
null
defmodule EliVndb.Mixfile do use Mix.Project @description """ Kawaii VNDB API wrapper. """ def project do [app: :elivndb, version: "0.2.5", elixir: "~> 1.4", description: @description, package: package(), build_embedded: Mix.env == :prod, start_permanent: Mix....
22.355556
71
0.517893
65ab9f7dc731d6ddf8764bd4b17095c3e2001191
2,421
exs
Elixir
backend/config/prod.exs
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
14
2021-12-02T16:31:16.000Z
2022-03-18T17:40:44.000Z
backend/config/prod.exs
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
77
2021-11-03T15:14:41.000Z
2022-03-30T14:13:32.000Z
backend/config/prod.exs
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
7
2021-11-03T10:58:37.000Z
2022-02-28T14:00:03.000Z
# # This file is part of Edgehog. # # Copyright 2021 SECO Mind Srl # # 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 app...
34.585714
74
0.714581
65abd17ddbabcf6ef202991ab68912f756e12837
1,966
ex
Elixir
clients/games_management/lib/google_api/games_management/v1management/model/hidden_player.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/model/hidden_player.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/games_management/lib/google_api/games_management/v1management/model/hidden_player.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...
36.407407
151
0.74822
65abdd5574def9f7919cd528984c2dfd3692172f
3,768
ex
Elixir
lib/absinthe/phase/parse.ex
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
2
2021-04-22T23:45:04.000Z
2021-05-07T01:01:15.000Z
lib/absinthe/phase/parse.ex
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
1
2020-04-07T23:46:38.000Z
2020-04-07T23:46:38.000Z
lib/absinthe/phase/parse.ex
zoldar/absinthe
72ff9f91fcc0a261f9965cf8120c7c72ff6e4c7c
[ "MIT" ]
null
null
null
defmodule Absinthe.Phase.Parse do @moduledoc false use Absinthe.Phase alias Absinthe.{Blueprint, Language, Phase} # This is because Dialyzer is telling us tokenizing can never fail, # but we know it's possible. @dialyzer {:no_match, run: 2} @spec run(Language.Source.t() | %Blueprint{}, Keyword.t()) :: ...
30.144
101
0.635616
65abef8d7ccaf3660d029531725bcab837cf8b86
260
ex
Elixir
lib/elixir_search_extractor/oauth_access_tokens/oauth_access_token.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
null
null
null
lib/elixir_search_extractor/oauth_access_tokens/oauth_access_token.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/oauth_access_tokens/oauth_access_token.ex
rafayet-monon/elixir_search_extractor
a644e53ab364315fd7d055738d76e2ad1518d0ee
[ "MIT" ]
null
null
null
defmodule ElixirSearchExtractor.OauthAccessTokens.OauthAccessToken do use Ecto.Schema use ExOauth2Provider.AccessTokens.AccessToken, otp_app: :elixir_search_extractor schema "oauth_access_tokens" do access_token_fields() timestamps() end end
23.636364
82
0.815385
65abefa9459f02f4e79645a2b76807bb21aa16f9
1,223
ex
Elixir
mysite/web/views/error_helpers.ex
palm86/Your-first-Phoenix-app-tutorial
e7de041e141254da6a731aead3a180fb9bd20c79
[ "MIT" ]
null
null
null
mysite/web/views/error_helpers.ex
palm86/Your-first-Phoenix-app-tutorial
e7de041e141254da6a731aead3a180fb9bd20c79
[ "MIT" ]
null
null
null
mysite/web/views/error_helpers.ex
palm86/Your-first-Phoenix-app-tutorial
e7de041e141254da6a731aead3a180fb9bd20c79
[ "MIT" ]
null
null
null
defmodule Mysite.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :span, translate_error(error), c...
29.829268
72
0.666394
65ac12f2670f466edd8f6d34a1a81caf7ab2bd91
588
exs
Elixir
exercises/practice/scale-generator/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/scale-generator/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/scale-generator/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule ScaleGenerator.MixProject do use Mix.Project def project do [ app: :scale_generator, version: "0.1.0", # elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do ...
20.275862
87
0.585034
65ac1f8a7ab2cff2a52e571951e5a8513980a065
3,982
ex
Elixir
lib/litmus/type/boolean.ex
lob/litmus
e7ffccc2e8897e280d3a69942a2ad6cbe4bbb965
[ "MIT" ]
38
2018-08-21T22:07:25.000Z
2021-09-23T09:27:57.000Z
lib/litmus/type/boolean.ex
lob/litmus
e7ffccc2e8897e280d3a69942a2ad6cbe4bbb965
[ "MIT" ]
7
2018-07-17T17:47:08.000Z
2019-07-09T21:18:58.000Z
lib/litmus/type/boolean.ex
lob/litmus
e7ffccc2e8897e280d3a69942a2ad6cbe4bbb965
[ "MIT" ]
6
2019-05-02T22:28:33.000Z
2021-02-13T02:10:27.000Z
defmodule Litmus.Type.Boolean do @moduledoc """ This type validates and converts values to booleans. It converts truthy and falsy values to `true` or `false`. ## Options * `:default` - Setting `:default` will populate a field with the provided value, assuming that it is not present already. If a fie...
32.112903
89
0.611502
65ac50135e808a31fb12bfad5c4f348138abe5a6
1,229
ex
Elixir
lib/mastani_server/statistics/delegates/status.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
lib/mastani_server/statistics/delegates/status.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
lib/mastani_server/statistics/delegates/status.ex
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Statistics.Delegate.Status do @moduledoc """ badic count info of the whole site, used in admin panel sidebar """ import Ecto.Query, warn: false import ShortMaps # alias MastaniServer.Repo # alias MastaniServer.Accounts.User alias MastaniServer.CMS # alias MastaniServer.Statis...
36.147059
118
0.736371
65ac72e233b69e23a0355dc3115fb3f99ea1c192
1,818
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/price.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/price.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/price.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 &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.961538
102
0.743124
65aca79c7b0d5740239d7d2b59afba62bd74cd89
6,004
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/publisher_profile.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/publisher_profile.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/publisher_profile.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...
58.862745
556
0.705696
65acc327bcab6e68246d716af5c3cd4e76e93dd4
60
exs
Elixir
test/integration/assets/compile_error/no_nif.exs
elbow-jason/zigler
3de4d6fe4def265b689bd21d3e0abad551bd2d50
[ "MIT" ]
null
null
null
test/integration/assets/compile_error/no_nif.exs
elbow-jason/zigler
3de4d6fe4def265b689bd21d3e0abad551bd2d50
[ "MIT" ]
null
null
null
test/integration/assets/compile_error/no_nif.exs
elbow-jason/zigler
3de4d6fe4def265b689bd21d3e0abad551bd2d50
[ "MIT" ]
null
null
null
defmodule ZiglerTest.CompileError.NoNif do use Zigler end
15
42
0.833333
65aceea4783ab426055fb986de8f41da48ede197
1,875
ex
Elixir
2019/elixir/aoc/lib/day01/day01.ex
drincruz/advent-of-code
45b639fc2eddfe45ed4387f7bf2be9a3d3cd6ec2
[ "MIT" ]
null
null
null
2019/elixir/aoc/lib/day01/day01.ex
drincruz/advent-of-code
45b639fc2eddfe45ed4387f7bf2be9a3d3cd6ec2
[ "MIT" ]
null
null
null
2019/elixir/aoc/lib/day01/day01.ex
drincruz/advent-of-code
45b639fc2eddfe45ed4387f7bf2be9a3d3cd6ec2
[ "MIT" ]
null
null
null
defmodule Aoc.Day01 do @moduledoc """ Day 01. The Tyranny of the Rocket Equation. Part 1 * Find the sum of the fuel requirements. Part 2 * Find the sum of the fuel requirements, but consider that additional fuel requires more fuel. """ @day01 Path.join(["lib/day01/data.txt"]) @doc """ R...
24.038462
84
0.670933
65ad04bfee2c4d61a602489e12e6ddc120e0257f
1,788
ex
Elixir
lib/playground/repository/adapter/behaviour/queryable.ex
evadne/ets-playground
de7f2e4d512be4de6510c8978c1f0b25d7720df2
[ "MIT" ]
27
2019-04-10T15:25:21.000Z
2021-11-22T14:28:56.000Z
lib/playground/repository/adapter/behaviour/queryable.ex
evadne/ets-playground
de7f2e4d512be4de6510c8978c1f0b25d7720df2
[ "MIT" ]
null
null
null
lib/playground/repository/adapter/behaviour/queryable.ex
evadne/ets-playground
de7f2e4d512be4de6510c8978c1f0b25d7720df2
[ "MIT" ]
2
2019-05-07T21:45:14.000Z
2020-07-15T11:55:17.000Z
defmodule Playground.Repository.Adapter.Behaviour.Queryable do defmacro __using__(_) do quote do @behaviour Ecto.Adapter.Queryable def prepare(:all, query) do {:nocache, query} end def execute(adapter_meta, _, {:nocache, query}, params, _) do {_, schema} = query.from.sour...
35.058824
95
0.683445
65ad0c7d4b5f760e38e9ae59b41e3ef194846dbc
259
ex
Elixir
lib/notion/files_filter.ex
dunyakirkali/notion.ex
4b03de3f0a41577672c722ac2b71c7c8d559a504
[ "Apache-2.0" ]
2
2021-05-14T07:42:14.000Z
2021-05-14T07:46:21.000Z
lib/notion/files_filter.ex
dunyakirkali/notion.ex
4b03de3f0a41577672c722ac2b71c7c8d559a504
[ "Apache-2.0" ]
5
2021-11-22T04:11:48.000Z
2022-03-24T04:07:59.000Z
lib/notion/files_filter.ex
dunyakirkali/notion.ex
4b03de3f0a41577672c722ac2b71c7c8d559a504
[ "Apache-2.0" ]
null
null
null
defmodule Notion.FilesFilter do @moduledoc """ FilesFilter """ @derive Jason.Encoder defstruct is_empty: nil, is_not_empty: nil @type t() :: %__MODULE__{ is_empty: boolean(), is_not_empty: boolean() } end
17.266667
33
0.590734
65ad1370e497acaf0b364e53633422ac5070d30b
330
exs
Elixir
test/nys_etl_web/live/page_live_test.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
2
2021-06-22T21:01:49.000Z
2021-11-04T18:36:48.000Z
test/nys_etl_web/live/page_live_test.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
test/nys_etl_web/live/page_live_test.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
defmodule NYSETLWeb.PageLiveTest do use NYSETLWeb.ConnCase import Phoenix.LiveViewTest test "disconnected and connected render", %{conn: conn} do {:ok, page_live, disconnected_html} = live(conn, "/") assert disconnected_html =~ "Welcome to Phoenix!" assert render(page_live) =~ "Welcome to Phoenix!" ...
27.5
60
0.724242
65ad4d4fa723b8f60605602412cc6a4540c8534f
805
ex
Elixir
farmbot_core/lib/farmbot_core/log_storage/log_executor.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
1
2021-08-23T13:36:14.000Z
2021-08-23T13:36:14.000Z
farmbot_core/lib/farmbot_core/log_storage/log_executor.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_core/lib/farmbot_core/log_storage/log_executor.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
# This module could have existed within FarmbotCore.Logger. # Pulling this function into a different module facilitates # mocking of tests. defmodule FarmbotCore.LogExecutor do alias FarmbotCore.Log def execute(%Log{} = log) do logger_meta = [ application: :farmbot, function: log.function, fi...
25.15625
68
0.658385
65ad6970073ea4115e8e5b7fae38149334249ba1
1,951
ex
Elixir
clients/gmail/lib/google_api/gmail/v1/model/thread.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/gmail/lib/google_api/gmail/v1/model/thread.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/gmail/lib/google_api/gmail/v1/model/thread.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.839286
125
0.69144
65ad6ee8d3efe8cd929b561578780bdbc7e7432c
3,963
exs
Elixir
test/dom_test.exs
andreasronge/whistle
8dc5b4246e9f0fea8bc5ffe8c89737eceb082a32
[ "MIT" ]
59
2018-12-18T15:24:23.000Z
2020-11-19T18:40:25.000Z
test/dom_test.exs
andreasronge/whistle
8dc5b4246e9f0fea8bc5ffe8c89737eceb082a32
[ "MIT" ]
8
2019-02-05T22:36:17.000Z
2019-03-20T21:13:42.000Z
test/dom_test.exs
andreasronge/whistle
8dc5b4246e9f0fea8bc5ffe8c89737eceb082a32
[ "MIT" ]
3
2019-01-30T19:13:53.000Z
2020-11-19T18:40:28.000Z
defmodule DomTest do use ExUnit.Case doctest Whistle alias Whistle.{Html, Html.Dom} require Whistle.Html # patch operation codes # TODO: macro to import these from the Dom module @add_node 2 @replace_node 3 @remove_node 4 @set_attribute 5 @remove_attribute 6 @add_event_handler 7 @remove_even...
27.713287
97
0.448145