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
287edb1c98f8be6381a416d5c0de5962aa961ada
1,372
exs
Elixir
mix.exs
velimir/imgutils
be297044757dcd861b6c0c9612f3c2f31161d65f
[ "MIT" ]
4
2019-06-20T07:25:12.000Z
2020-10-27T09:28:23.000Z
mix.exs
velimir/imgutils
be297044757dcd861b6c0c9612f3c2f31161d65f
[ "MIT" ]
4
2019-06-19T09:30:00.000Z
2019-06-20T12:53:36.000Z
mix.exs
velimir/imgutils
be297044757dcd861b6c0c9612f3c2f31161d65f
[ "MIT" ]
null
null
null
defmodule ImgUtils.MixProject do use Mix.Project def project do [ app: :imgutils, version: "0.1.1", elixir: "~> 1.8", description: description(), compilers: [:elixir_make] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()),...
24.5
67
0.561224
287edd9b38aaeee6440c12b192325e8a191fb6b6
5,370
exs
Elixir
test/nys_etl/engines/e2/test_result_producer_test.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
2
2021-06-22T21:01:49.000Z
2021-11-04T18:36:48.000Z
test/nys_etl/engines/e2/test_result_producer_test.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
test/nys_etl/engines/e2/test_result_producer_test.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
defmodule NYSETL.Engines.E2.Test do use NYSETL.DataCase, async: false use Oban.Testing, repo: NYSETL.Repo alias NYSETL.ECLRS alias NYSETL.Engines.E2.{TestResultProducer, TestResultProcessor} setup do {:ok, _oban} = start_supervised({Oban, queues: false, repo: NYSETL.Repo}) {:ok, _} = start_supervise...
51.634615
130
0.687523
287ee65af34a4d7ca2e2ead79993d14724e9bbb9
2,084
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/caption.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/caption.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/caption.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 "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 ...
37.214286
152
0.708253
287ef2d1745dab633fbe9298ebba30541517f46e
7,903
exs
Elixir
lib/mix/test/mix/tasks/compile.elixir_test.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.elixir_test.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/tasks/compile.elixir_test.exs
liveforeverx/elixir
cf3cf0bd5443b59206e5733602244bc3543f0a53
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../test_helper.exs", __DIR__ defmodule Mix.Tasks.Compile.ElixirTest do use MixTest.Case setup do Mix.Project.push MixTest.Case.Sample :ok end test "compiles a project" do Mix.Project.pop Mix.ProjectStack.post_config [build_per_environment: false] Mix.Project.push Mix...
33.773504
135
0.631026
287f1032900808ddc112a213e3a437fb03eb6eb1
1,980
exs
Elixir
test/maxmind_csv/lookup/country_ip6r_test.exs
elixir-geolix/adapter_maxmind_csv
0ef4109ef23cc61c62134b7bef4a8249d1a7c37e
[ "Apache-2.0" ]
1
2020-06-20T14:40:16.000Z
2020-06-20T14:40:16.000Z
test/maxmind_csv/lookup/country_ip6r_test.exs
elixir-geolix/adapter_maxmind_csv
0ef4109ef23cc61c62134b7bef4a8249d1a7c37e
[ "Apache-2.0" ]
null
null
null
test/maxmind_csv/lookup/country_ip6r_test.exs
elixir-geolix/adapter_maxmind_csv
0ef4109ef23cc61c62134b7bef4a8249d1a7c37e
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Adapter.MaxMindCSV.Lookup.CountryIP6RTest do use Geolix.Adapter.MaxMindCSV.RepoCase alias Geolix.Adapter.MaxMindCSV.Repo alias Geolix.Adapter.MaxMindCSV.Schema.CountryBlockIP6R alias Geolix.Adapter.MaxMindCSV.Schema.CountryLocation test "lookup :country" do location = Repo.insert!...
28.285714
82
0.613131
287f2d661e59bd9d131974e140b9442c8f2cee30
100
exs
Elixir
test/lib/badging/downloader_test.exs
DNNX/badging
861c0d0e376c212bf27e59710fb21d00f734c715
[ "MIT" ]
4
2016-11-07T09:47:09.000Z
2020-10-19T20:39:03.000Z
test/lib/badging/downloader_test.exs
DNNX/badging
861c0d0e376c212bf27e59710fb21d00f734c715
[ "MIT" ]
7
2016-11-07T13:02:36.000Z
2016-11-23T17:37:07.000Z
test/lib/badging/downloader_test.exs
DNNX/badging
861c0d0e376c212bf27e59710fb21d00f734c715
[ "MIT" ]
3
2016-11-07T09:51:36.000Z
2019-06-18T12:26:38.000Z
defmodule Badging.DownloaderTest do use ExUnit.Case, async: true doctest Badging.Downloader end
20
35
0.81
287f556d5f8bcbe4a5a968aa50b2a8f10748dcba
1,357
ex
Elixir
lib/trimmr_web/controllers/url_controller.ex
isakal/trimmr.ex
72b94b399cc0d700f40a1fd2bc7528ae4cd4a81d
[ "MIT" ]
null
null
null
lib/trimmr_web/controllers/url_controller.ex
isakal/trimmr.ex
72b94b399cc0d700f40a1fd2bc7528ae4cd4a81d
[ "MIT" ]
null
null
null
lib/trimmr_web/controllers/url_controller.ex
isakal/trimmr.ex
72b94b399cc0d700f40a1fd2bc7528ae4cd4a81d
[ "MIT" ]
null
null
null
defmodule TrimmrWeb.URLController do use TrimmrWeb, :controller alias Trimmr.Repo alias Trimmr.Links alias Trimmr.Links.URL require Logger import Ecto.Changeset, only: [change: 2] action_fallback TrimmrWeb.FallbackController def index(conn, _params) do urls = Links.list_urls() render(conn, "...
22.245902
67
0.588062
287fad25f15658e505e1ea890e0cc199ab432e93
5,473
ex
Elixir
apps/admin_api/lib/admin_api/v1/controllers/token_controller.ex
saturnial/ewallet
a0a6a7604fca0891d495b3aebaead37fe02aae2c
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/controllers/token_controller.ex
saturnial/ewallet
a0a6a7604fca0891d495b3aebaead37fe02aae2c
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/controllers/token_controller.ex
saturnial/ewallet
a0a6a7604fca0891d495b3aebaead37fe02aae2c
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.TokenController do @moduledoc """ The controller to serve token endpoints. """ use AdminAPI, :controller import AdminAPI.V1.ErrorHandler alias EWallet.{MintGate, Helper, TokenPolicy} alias EWallet.Web.{SearchParser, SortParser, Paginator} alias EWalletDB.{Account, Token, Mint} #...
28.805263
95
0.636031
287fc99d96875a1b79417807f5895167acc8674c
1,749
ex
Elixir
bullion/lib/bullion_web/views/input_helpers.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
null
null
null
bullion/lib/bullion_web/views/input_helpers.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
8
2021-03-10T20:53:42.000Z
2021-07-30T06:52:16.000Z
bullion/lib/bullion_web/views/input_helpers.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
null
null
null
defmodule BullionWeb.InputHelpers do use Phoenix.HTML def array_input(form, field, attr \\ []) do default_attr = [ count: 1 ] merged_attr = attr ++ default_attr count = merged_attr[:count] values = Phoenix.HTML.Form.input_value(form, field) || [] values = if Enum.count(values) >= coun...
29.644068
119
0.619211
288017751ddde6c554326ff8f615168a8ef6611c
264
exs
Elixir
priv/repo/migrations/20200513230241_add_events_table.exs
Hermanlangner/events_dashboard
30d5d3666ac8057bfd91dd33131d8132c97cfec9
[ "MIT" ]
null
null
null
priv/repo/migrations/20200513230241_add_events_table.exs
Hermanlangner/events_dashboard
30d5d3666ac8057bfd91dd33131d8132c97cfec9
[ "MIT" ]
null
null
null
priv/repo/migrations/20200513230241_add_events_table.exs
Hermanlangner/events_dashboard
30d5d3666ac8057bfd91dd33131d8132c97cfec9
[ "MIT" ]
null
null
null
defmodule EventsDashboard.Repo.Migrations.AddEventsTable do use Ecto.Migration def change do create table("events") do add :order_updated, :boolean add :banking_details_updated, :boolean add :customer_updated, :boolean end end end
22
59
0.723485
288019270a6f158e18696e3b48f74c44430bfa5c
14,381
ex
Elixir
clients/surveys/lib/google_api/surveys/v2/api/surveys.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/surveys/lib/google_api/surveys/v2/api/surveys.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/surveys/lib/google_api/surveys/v2/api/surveys.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
39.726519
170
0.672624
288054ec6304a4a9046382777d6536de69c5926d
1,738
exs
Elixir
mix.exs
nerves-networking/vintage_net_ethernet
35a8b39a1fa242cfb828460a3f2e3f22298846d8
[ "Apache-2.0" ]
3
2020-04-04T19:08:47.000Z
2020-08-03T22:02:36.000Z
mix.exs
nerves-networking/vintage_net_ethernet
35a8b39a1fa242cfb828460a3f2e3f22298846d8
[ "Apache-2.0" ]
4
2021-06-27T23:49:11.000Z
2022-02-09T00:22:30.000Z
mix.exs
nerves-networking/vintage_net_ethernet
35a8b39a1fa242cfb828460a3f2e3f22298846d8
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetEthernet.MixProject do use Mix.Project @version "0.10.3" @source_url "https://github.com/nerves-networking/vintage_net_ethernet" def project do [ app: :vintage_net_ethernet, version: @version, elixir: "~> 1.9", test_coverage: [tool: ExCoveralls], start_per...
21.725
81
0.551784
28805a726525d68fec4ff863b720f008d2180185
1,508
ex
Elixir
lib/ggity/stat.ex
kianmeng/ggity
75f0097464eae4086f8c70e4bea995d60571eba9
[ "MIT" ]
null
null
null
lib/ggity/stat.ex
kianmeng/ggity
75f0097464eae4086f8c70e4bea995d60571eba9
[ "MIT" ]
null
null
null
lib/ggity/stat.ex
kianmeng/ggity
75f0097464eae4086f8c70e4bea995d60571eba9
[ "MIT" ]
null
null
null
defmodule GGity.Stat do @moduledoc false @type dataset :: list(map()) @doc false @spec identity(dataset(), map()) :: {dataset(), map()} def identity(data, mapping), do: {data, mapping} @spec count(dataset(), map()) :: {dataset(), map()} def count(data, mapping) do discrete_aesthetics = discrete_aes...
26
81
0.528515
2880903192528db8d1113d2a151b87207b4d7bc3
946
ex
Elixir
test/support/channel_case.ex
dukhniav/plausible
dfcbf9cc98637721698b2046eee205b66b204acb
[ "MIT" ]
null
null
null
test/support/channel_case.ex
dukhniav/plausible
dfcbf9cc98637721698b2046eee205b66b204acb
[ "MIT" ]
null
null
null
test/support/channel_case.ex
dukhniav/plausible
dfcbf9cc98637721698b2046eee205b66b204acb
[ "MIT" ]
null
null
null
defmodule PlausibleWeb.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 interacts...
24.894737
71
0.717759
2880990500abd634beb5e03078c628dca10818ae
913
exs
Elixir
day21/test/day21_test.exs
the-shank/advent-of-code-2018
3be3958adad61e62e8a7ea6ec6a868f049c7a7e4
[ "Apache-2.0" ]
7
2018-12-12T01:08:24.000Z
2019-12-09T19:50:36.000Z
day21/test/day21_test.exs
bjorng/advent-of-code-2018
5dd312b7473d7f2fe12f0de1fd771c3ee1931b97
[ "Apache-2.0" ]
null
null
null
day21/test/day21_test.exs
bjorng/advent-of-code-2018
5dd312b7473d7f2fe12f0de1fd771c3ee1931b97
[ "Apache-2.0" ]
null
null
null
defmodule Day21Test do use ExUnit.Case doctest Machine test "part one: decompile" do assert Day21.decompile_program(input()) == :ok end test "part one: run" do assert Day21.part1(input(), 12446070) == 12446070 end test "part two" do assert Day21.part2(input()) == 13928239 end defp inpu...
16.303571
53
0.557503
2880b6d13271bcf529d70a16da5f18580a34f96d
1,016
ex
Elixir
graphql/web/views/error_helpers.ex
leighshepperson/got-stats
820e7aab68a0de39f55ed55fd18ca9e658a084ff
[ "MIT" ]
null
null
null
graphql/web/views/error_helpers.ex
leighshepperson/got-stats
820e7aab68a0de39f55ed55fd18ca9e658a084ff
[ "MIT" ]
null
null
null
graphql/web/views/error_helpers.ex
leighshepperson/got-stats
820e7aab68a0de39f55ed55fd18ca9e658a084ff
[ "MIT" ]
null
null
null
defmodule GOTStats.GraphQL.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # Because error messages were defined within Ecto, we must # call the Gettext module ...
33.866667
82
0.675197
2880c936b409275918ba9a750bc9a1c205b1d40e
2,629
ex
Elixir
apps/movielist/lib/movielist_web/controllers/movie_controller.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/movielist/lib/movielist_web/controllers/movie_controller.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/movielist/lib/movielist_web/controllers/movie_controller.ex
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule MovielistWeb.MovieController do use MovielistWeb, :controller alias Movielist.Admin alias Movielist.Admin.Movie def related_fields() do [ genres: Admin.list_genres() |> MovielistWeb.GenreView.map_for_form, streamers: [nil | Admin.list_streamers() |> MovielistWeb.StreamerView.map_for_...
32.060976
106
0.665652
2880d30eacf4725fecc6aad03c813939097ae802
1,292
exs
Elixir
test/auto_api/capabilities/vehicle_information_capability_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
4
2018-01-19T16:11:10.000Z
2019-12-13T16:35:10.000Z
test/auto_api/capabilities/vehicle_information_capability_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
5
2018-11-29T09:48:29.000Z
2019-11-06T12:11:35.000Z
test/auto_api/capabilities/vehicle_information_capability_test.exs
nonninz/auto-api-elixir
53e11542043285e94bbb5a0a3b8ffff0b1b47167
[ "MIT" ]
1
2021-02-17T18:36:13.000Z
2021-02-17T18:36:13.000Z
# AutoAPI # The MIT License # # Copyright (c) 2018- High-Mobility GmbH (https://high-mobility.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without lim...
47.851852
79
0.784056
28810c1b5ea165685ccc6c41cfa7521062ad5bb2
1,109
ex
Elixir
apps/nerves_hub_web_core/lib/nerves_hub_web_core/devices/ca_certificate.ex
chazwatkins/nerves_hub_web
a95603e4b0eb6c1f01f2070728d4e9f6420c5c29
[ "Apache-2.0" ]
1
2020-08-04T14:13:24.000Z
2020-08-04T14:13:24.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/devices/ca_certificate.ex
chazwatkins/nerves_hub_web
a95603e4b0eb6c1f01f2070728d4e9f6420c5c29
[ "Apache-2.0" ]
1
2020-09-08T15:15:50.000Z
2020-09-08T16:13:28.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/devices/ca_certificate.ex
verypossible/nerves_hub_web
9c7e1fbb5232a43ee2706cd2a6b39a30fcb7dfed
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWebCore.Devices.CACertificate do use Ecto.Schema import Ecto.Changeset alias NervesHubWebCore.Accounts.Org alias NervesHubWebCore.Devices.CACertificate @type t :: %__MODULE__{} @required_params [ :org_id, :serial, :aki, :ski, :not_before, :not_after, :der ...
21.745098
70
0.686204
28810e0de005a397052d2142c8d1f52d25823f78
1,129
exs
Elixir
config/config.exs
davidrichey/elixir_learn_kit
4f79d052ffca7bf45f5fa887607710fa50689307
[ "MIT" ]
28
2018-11-12T13:46:08.000Z
2022-02-09T14:05:15.000Z
config/config.exs
Kinyugo/elixir_learn_kit
4f79d052ffca7bf45f5fa887607710fa50689307
[ "MIT" ]
2
2019-01-08T05:54:58.000Z
2020-03-12T10:06:26.000Z
config/config.exs
Kinyugo/elixir_learn_kit
4f79d052ffca7bf45f5fa887607710fa50689307
[ "MIT" ]
4
2018-12-23T14:35:26.000Z
2019-11-28T08:45:30.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.419355
73
0.751107
28812d6f6389f61bd344e0235e74bd2b59ea6e25
57,958
ex
Elixir
lib/elixir/lib/kernel/special_forms.ex
mattmatters/elixir
e0d1c2e4cae0277e69fec086b92d82f13d2aa033
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/special_forms.ex
mattmatters/elixir
e0d1c2e4cae0277e69fec086b92d82f13d2aa033
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/special_forms.ex
mattmatters/elixir
e0d1c2e4cae0277e69fec086b92d82f13d2aa033
[ "Apache-2.0" ]
null
null
null
defmodule Kernel.SpecialForms do @moduledoc """ Special forms are the basic building blocks of Elixir, and therefore cannot be overridden by the developer. We define them in this module. Some of these forms are lexical (like `alias/2`, `case/2`, etc). The macros `{}/1` and `<<>>/1` are also special forms u...
28.1213
117
0.630215
288134ae39d7634c472c0963316d71007a4fd6fb
214
ex
Elixir
lib/pigpio_tester.ex
jordan0day/pigpio-tester-ex
9accdfc49c301d0d7fde7bda613811e6bbda9e00
[ "Apache-2.0" ]
null
null
null
lib/pigpio_tester.ex
jordan0day/pigpio-tester-ex
9accdfc49c301d0d7fde7bda613811e6bbda9e00
[ "Apache-2.0" ]
null
null
null
lib/pigpio_tester.ex
jordan0day/pigpio-tester-ex
9accdfc49c301d0d7fde7bda613811e6bbda9e00
[ "Apache-2.0" ]
null
null
null
defmodule PigpioTester do @moduledoc """ Documentation for PigpioTester. """ @doc """ Hello world. ## Examples iex> PigpioTester.hello() :world """ def hello do :world end end
11.263158
33
0.593458
288148c65be6a6dd5be8cf4969c7c60f9e93425e
2,497
exs
Elixir
test/survey_api_web/controllers/user_controller_test.exs
kamidev/survey_ap
483314842cf2e8279e1224e83b57d61a5da143ad
[ "MIT" ]
6
2020-02-04T16:18:30.000Z
2020-10-31T06:00:03.000Z
test/survey_api_web/controllers/user_controller_test.exs
kamidev/survey_ap
483314842cf2e8279e1224e83b57d61a5da143ad
[ "MIT" ]
114
2019-11-14T03:48:17.000Z
2022-03-17T12:38:14.000Z
test/survey_api_web/controllers/user_controller_test.exs
kamidev/survey_ap
483314842cf2e8279e1224e83b57d61a5da143ad
[ "MIT" ]
1
2021-07-08T01:48:56.000Z
2021-07-08T01:48:56.000Z
defmodule SurveyAPIWeb.UserControllerTest do use SurveyAPIWeb.ConnCase alias SurveyAPI.Surveys alias SurveyAPI.Surveys.User @create_attrs %{pseudonym: "some pseudonym", user_id: 42} @update_attrs %{pseudonym: "some updated pseudonym", user_id: 43} @invalid_attrs %{pseudonym: nil, user_id: nil} def fixt...
28.701149
88
0.60032
28815c23e7c01b872bfde6aa2503e72ff3b10ae8
241
ex
Elixir
test/support/extensions/invitation/pow.ex
foggy1/pow
c46cf4c4c2d59d10861783faa46f3979d54343a9
[ "MIT" ]
null
null
null
test/support/extensions/invitation/pow.ex
foggy1/pow
c46cf4c4c2d59d10861783faa46f3979d54343a9
[ "MIT" ]
null
null
null
test/support/extensions/invitation/pow.ex
foggy1/pow
c46cf4c4c2d59d10861783faa46f3979d54343a9
[ "MIT" ]
null
null
null
defmodule PowInvitation.Test do @moduledoc false use Pow.Test.ExtensionMocks, extensions: [PowInvitation] Pow.Test.ExtensionMocks.__user_schema__(PowInvitation.PowEmailConfirmation.Test, [PowInvitation, PowEmailConfirmation]) end
30.125
121
0.821577
28816009e5fdf42cf178f52d7b818458bf8fd371
5,946
ex
Elixir
lib/kaffe/producer.ex
rentpath/kaffe
96b4e8b9d25bd1131608ff8548a501c3c0120bb2
[ "MIT" ]
null
null
null
lib/kaffe/producer.ex
rentpath/kaffe
96b4e8b9d25bd1131608ff8548a501c3c0120bb2
[ "MIT" ]
null
null
null
lib/kaffe/producer.ex
rentpath/kaffe
96b4e8b9d25bd1131608ff8548a501c3c0120bb2
[ "MIT" ]
1
2019-05-21T14:57:32.000Z
2019-05-21T14:57:32.000Z
defmodule Kaffe.Producer do @moduledoc """ The producer pulls in values from the Kaffe producer configuration: - `heroku_kafka_env` - endpoints and SSL configuration will be pulled from ENV - `endpoints` - plaintext Kafka endpoints - `topics` - a list of Kafka topics to prep for producing - `parti...
32.140541
137
0.667003
28816c3e509acf317f8f4ab92422f71f9393fa26
3,138
ex
Elixir
lib/docker_cloud/api.ex
beagleknight/luckdragon
be6c2278054e3e6846df446bf0fd60db8302e082
[ "MIT" ]
1
2017-01-09T17:45:03.000Z
2017-01-09T17:45:03.000Z
lib/docker_cloud/api.ex
beagleknight/luckdragon
be6c2278054e3e6846df446bf0fd60db8302e082
[ "MIT" ]
null
null
null
lib/docker_cloud/api.ex
beagleknight/luckdragon
be6c2278054e3e6846df446bf0fd60db8302e082
[ "MIT" ]
null
null
null
defmodule Luckdragon.DockerCloud.Api do alias Luckdragon.Events alias Luckdragon.Processor alias Luckdragon.DockerCloud.Container @wss_address "ws.cloud.docker.com" @api_address "https://cloud.docker.com" def listen_events do Events.start_link [] spawn_link(Processor, :process, [...
27.286957
114
0.600064
28816e48550df4c665e87aea16b5647c23839c62
645
ex
Elixir
lib/ex_bank_id/json/handler.ex
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
15
2020-08-05T11:20:03.000Z
2021-09-22T15:20:41.000Z
lib/ex_bank_id/json/handler.ex
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
9
2020-08-10T14:42:27.000Z
2021-06-14T14:45:05.000Z
lib/ex_bank_id/json/handler.ex
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
2
2020-08-10T13:42:15.000Z
2020-10-03T04:10:06.000Z
defmodule ExBankID.Json.Handler do @moduledoc """ The expected behaviour a module capable of encoding and decoding json """ @doc """ An implementation of this should decode the json string into the given struct. Keys missing in the json string should not result in an error. """ @callback decode(json ::...
33.947368
100
0.671318
28819921666d87d41c8bbce54a78f72a9ca34269
122,831
ex
Elixir
clients/private_ca/lib/google_api/private_ca/v1beta1/api/projects.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/private_ca/lib/google_api/private_ca/v1beta1/api/projects.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/private_ca/lib/google_api/private_ca/v1beta1/api/projects.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...
48.093579
784
0.630557
28819f925398681706f77699f36cd59ec1cfc4c2
1,078
ex
Elixir
lib/rocketpay/user.ex
ledoctah/rocketpay
ab347ad2b4cc1c2a0fa6443be0c39fd64d658c61
[ "MIT" ]
3
2021-02-22T20:12:57.000Z
2021-11-08T08:56:17.000Z
lib/rocketpay/user.ex
ledoctah/rocketpay
ab347ad2b4cc1c2a0fa6443be0c39fd64d658c61
[ "MIT" ]
null
null
null
lib/rocketpay/user.ex
ledoctah/rocketpay
ab347ad2b4cc1c2a0fa6443be0c39fd64d658c61
[ "MIT" ]
2
2021-03-04T12:07:52.000Z
2021-06-04T12:36:49.000Z
defmodule Rocketpay.User do use Ecto.Schema import Ecto.Changeset alias Ecto.Changeset alias Rocketpay.Account @primary_key {:id, :binary_id, autogenerate: true} @required_params [:name, :age, :email, :password, :nickname] schema "users" do field :name, :string field :age, :integer field :...
25.666667
97
0.691095
2881c9041e0d68f901e9f9ad353d9652d4f0153c
379
exs
Elixir
priv/repo/seeds.exs
franknfjr/jaya_currency_converter
56dfcf40b2ed2c9307fa39d7a5d1121cf4a1a37e
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
franknfjr/jaya_currency_converter
56dfcf40b2ed2c9307fa39d7a5d1121cf4a1a37e
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
franknfjr/jaya_currency_converter
56dfcf40b2ed2c9307fa39d7a5d1121cf4a1a37e
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # JayaCurrencyConverter.Repo.insert!(%JayaCurrencyConverter.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update...
31.583333
77
0.728232
2881f81ff7f792c473e8570ecdf90d5c4571e46d
5,761
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/cluster_config.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/cluster_config.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/cluster_config.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
63.307692
571
0.741538
2882092355b22a5bfd03548be02a2011adc744cf
3,523
ex
Elixir
web/models/experiment.ex
mciastek/emotions-wheel-backend
072a88b3ad15b2c6d2aad414e6b7cfc8fb4a70bf
[ "MIT" ]
null
null
null
web/models/experiment.ex
mciastek/emotions-wheel-backend
072a88b3ad15b2c6d2aad414e6b7cfc8fb4a70bf
[ "MIT" ]
null
null
null
web/models/experiment.ex
mciastek/emotions-wheel-backend
072a88b3ad15b2c6d2aad414e6b7cfc8fb4a70bf
[ "MIT" ]
null
null
null
defmodule EmotionsWheelBackend.Experiment do use EmotionsWheelBackend.Web, :model alias EmotionsWheelBackend.{Experiment, ExperimentsHasPhotos, ExperimentsHasParticipants, Researcher, Rate} schema "experiments" do field :name, :string field :kind, :string field :start_date, Ecto.DateTime field :...
30.634783
110
0.7065
288210361fe2347b732429cd6a9b1cf10b783942
451
ex
Elixir
lib/farmbot/system/init.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
lib/farmbot/system/init.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
null
null
null
lib/farmbot/system/init.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
1
2017-07-22T21:51:14.000Z
2017-07-22T21:51:14.000Z
defmodule Farmbot.System.Init do @moduledoc "Lets write init.d in Elixir!" @doc "OTP Spec." @spec fb_init(atom, [term]) :: Supervisor.Spec.spec() def fb_init(module, args) do import Supervisor.Spec supervisor(module, args, restart: :permanent) end @doc """ Start an init module. returning {:err...
26.529412
77
0.696231
28821e5da2aa3f970776d4ce13961ea99945804a
521
ex
Elixir
lib/discuss_web/router.ex
jeantsai/phx-discuss
46bccd827844195a64e0aa93fc865a50511b3cc7
[ "MIT" ]
null
null
null
lib/discuss_web/router.ex
jeantsai/phx-discuss
46bccd827844195a64e0aa93fc865a50511b3cc7
[ "MIT" ]
null
null
null
lib/discuss_web/router.ex
jeantsai/phx-discuss
46bccd827844195a64e0aa93fc865a50511b3cc7
[ "MIT" ]
null
null
null
defmodule DiscussWeb.Router do use DiscussWeb, :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 "/", DiscussWeb do pipe_...
19.296296
57
0.679463
2882239104296ddf1cf8dce2cc16ef496c5ef332
654
exs
Elixir
config/dev.exs
afronski/wolves-and-rabbits-world-simulation-ui
78d93afd77a950411104e57a0c3a72c4e3aa1ba6
[ "MIT" ]
4
2015-08-18T01:02:59.000Z
2017-07-23T19:44:57.000Z
config/dev.exs
afronski/wolves-and-rabbits-world-simulation-ui
78d93afd77a950411104e57a0c3a72c4e3aa1ba6
[ "MIT" ]
null
null
null
config/dev.exs
afronski/wolves-and-rabbits-world-simulation-ui
78d93afd77a950411104e57a0c3a72c4e3aa1ba6
[ "MIT" ]
1
2021-01-04T18:19:49.000Z
2021-01-04T18:19:49.000Z
use Mix.Config config :wolves_and_rabbits_world_simulation_ui, WolvesAndRabbitsWorldSimulationUi.Endpoint, http: [port: 4000], debug_errors: true, code_reloader: true, cache_static_lookup: false, check_origin: false, watchers: [node: ["node_modules/brunch/bin/brunch", "watch", "--stdin"]] config :wolves_a...
28.434783
91
0.70948
28822a494e206879ac428ce303dd175e2228248d
46,297
exs
Elixir
test/livebook/intellisense_test.exs
rupurt/livebook
9d85d339260847a76049974a82cbf20404d5d74c
[ "Apache-2.0" ]
null
null
null
test/livebook/intellisense_test.exs
rupurt/livebook
9d85d339260847a76049974a82cbf20404d5d74c
[ "Apache-2.0" ]
null
null
null
test/livebook/intellisense_test.exs
rupurt/livebook
9d85d339260847a76049974a82cbf20404d5d74c
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.IntellisenseTest.Utils do @moduledoc false @doc """ Returns `{binding, env}` resulting from evaluating the given block of code in a fresh context. """ defmacro eval(do: block) do quote do block = unquote(Macro.escape(block)) binding = [] env = :elixir.env_for_eval([...
30.823569
339
0.479621
28828b7a040b32a91ef76c69c832eb2bcc2bd3ea
690
ex
Elixir
lib/empex_cookbook/cookbook/comment.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
4
2019-02-11T12:15:36.000Z
2021-03-22T16:23:47.000Z
lib/empex_cookbook/cookbook/comment.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
null
null
null
lib/empex_cookbook/cookbook/comment.ex
ludwikbukowski/recipes
cac5711d32874c3011da8da3329b70d0e28e725e
[ "MIT" ]
null
null
null
defmodule EmpexCookbook.Cookbook.Comment do use Ecto.Schema import Ecto.Changeset alias EmpexCookbook.Cookbook.Comment alias EmpexCookbook.Cookbook.Article alias EmpexCookbook.Accounts.User @timestamps_opts [type: :utc_datetime] @required_fields ~w(body user_id article_id)a schema "comments" do f...
24.642857
59
0.731884
28828d7cf683734c158749ff9d61b46e83fb99ee
1,637
exs
Elixir
mix.exs
garymillergit/breaker_box
ac2b29c922c8857b2d21c4733f2545e35bf78981
[ "MIT" ]
3
2019-09-24T22:11:57.000Z
2022-01-19T22:34:21.000Z
mix.exs
garymillergit/breaker_box
ac2b29c922c8857b2d21c4733f2545e35bf78981
[ "MIT" ]
1
2021-05-18T01:47:02.000Z
2021-05-18T01:47:02.000Z
mix.exs
garymillergit/breaker_box
ac2b29c922c8857b2d21c4733f2545e35bf78981
[ "MIT" ]
3
2021-01-08T02:46:14.000Z
2022-01-13T15:30:52.000Z
defmodule BreakerBox.MixProject do use Mix.Project def project do [ app: :breaker_box, build_embedded: Mix.env() == :prod, deps: deps(), description: description(), docs: docs(), elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env()), name: "BreakerBox", ...
25.578125
78
0.585217
28828fb71d5960c3c8a30b01a9d2506fa412396a
4,037
ex
Elixir
lib/response_snapshot/diff.ex
sb8244/elixir_response_snapshot
0f1e84f258678167e28869bbb041757728acd878
[ "MIT" ]
37
2018-04-17T09:37:48.000Z
2022-01-23T23:43:16.000Z
lib/response_snapshot/diff.ex
sb8244/elixir_response_snapshot
0f1e84f258678167e28869bbb041757728acd878
[ "MIT" ]
2
2018-08-21T17:42:58.000Z
2019-11-13T04:42:24.000Z
lib/response_snapshot/diff.ex
sb8244/elixir_response_snapshot
0f1e84f258678167e28869bbb041757728acd878
[ "MIT" ]
3
2018-04-22T13:34:21.000Z
2019-11-13T04:33:23.000Z
defmodule ResponseSnapshot.Diff do @moduledoc false alias ResponseSnapshot.Changes @doc """ Algorithm to compare a source and target value. The value can either be a primitive, map, or a list. The intent of this module is that JSON notation values are passed in. However, non-JSON compatible values may wor...
33.641667
97
0.630666
288291ab78883c5b49cc8c4d8e7c77f297d4480a
1,600
ex
Elixir
lib/oauth2/strategy/client_credentials.ex
clemensm/oauth2
6d35d769f4cf38ae42182ead29c324d89f8cb905
[ "MIT" ]
689
2015-01-05T23:14:22.000Z
2021-12-28T13:24:10.000Z
lib/oauth2/strategy/client_credentials.ex
clemensm/oauth2
6d35d769f4cf38ae42182ead29c324d89f8cb905
[ "MIT" ]
141
2015-01-14T11:26:25.000Z
2022-01-03T06:20:23.000Z
lib/oauth2/strategy/client_credentials.ex
clemensm/oauth2
6d35d769f4cf38ae42182ead29c324d89f8cb905
[ "MIT" ]
164
2015-01-14T11:26:42.000Z
2021-12-29T16:44:47.000Z
defmodule OAuth2.Strategy.ClientCredentials do @moduledoc """ The Client Credentials Strategy http://tools.ietf.org/html/rfc6749#section-1.3.4 The client credentials (or other forms of client authentication) can be used as an authorization grant when the authorization scope is limited to the protected res...
31.372549
83
0.741875
2882a0534c6dbad7897809e7c8e3c50d86b7a025
337
exs
Elixir
priv/repo/migrations/20201223020727_add_oban_jobs_table.exs
dbernheisel/elixir-regex
250258474396269e278d23c052e714d2bf80f763
[ "MIT" ]
25
2020-09-16T22:01:53.000Z
2022-03-12T02:01:01.000Z
priv/repo/migrations/20201223020727_add_oban_jobs_table.exs
dbernheisel/elixir-regex
250258474396269e278d23c052e714d2bf80f763
[ "MIT" ]
2
2021-07-26T20:30:26.000Z
2022-03-29T19:51:48.000Z
priv/repo/migrations/20201223020727_add_oban_jobs_table.exs
zestcreative/elixir-utilities-web
6d7545b61939a038bb277790bb9a9ccd683dd16a
[ "MIT" ]
null
null
null
defmodule Utility.Repo.Migrations.AddObanJobsTable do use Ecto.Migration def up do Oban.Migrations.up() end # We specify `version: 1` in `down`, ensuring that we'll roll all the way back down if # necessary, regardless of which version we've migrated `up` to. def down do Oban.Migrations.down(versi...
24.071429
88
0.718101
2882b1e58dfad326ddf9e7d1923d0e8aa9bdac2b
476
exs
Elixir
config/test.exs
blindingnoises/tikt
eca3ff1f641ce94b84f870c141f46e977f35b670
[ "BSD-3-Clause" ]
null
null
null
config/test.exs
blindingnoises/tikt
eca3ff1f641ce94b84f870c141f46e977f35b670
[ "BSD-3-Clause" ]
null
null
null
config/test.exs
blindingnoises/tikt
eca3ff1f641ce94b84f870c141f46e977f35b670
[ "BSD-3-Clause" ]
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 :tikt, Tikt.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :tikt, Tikt.Repo, adapter: ...
23.8
56
0.72479
2882b7bb7743207b8bf7e7fc3516801fea96963b
3,321
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/logging.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_user/lib/google_api/service_user/v1/model/logging.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/logging.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 ...
39.535714
183
0.721771
2882cbe9c96695cb04f068de5d16321136d713ac
1,980
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/router_nat_rule_action.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/compute/lib/google_api/compute/v1/model/router_nat_rule_action.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/compute/lib/google_api/compute/v1/model/router_nat_rule_action.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...
39.6
301
0.736869
2882ccd6a29662d0268baf195d839b2c41974029
809
exs
Elixir
test/integration/plug_router/namespace_params_test.exs
Kr00lIX/cast_params
3e57d41afee04139cb959e2835f459912753f102
[ "MIT" ]
2
2018-12-07T20:31:56.000Z
2020-07-06T12:14:59.000Z
test/integration/plug_router/namespace_params_test.exs
Kr00lIX/cast_params
3e57d41afee04139cb959e2835f459912753f102
[ "MIT" ]
null
null
null
test/integration/plug_router/namespace_params_test.exs
Kr00lIX/cast_params
3e57d41afee04139cb959e2835f459912753f102
[ "MIT" ]
null
null
null
defmodule CastParams.Integration.PlugRouter.NamespaceParamsTest do use ExUnit.Case, async: true use RouterHelper describe "parse no required params" do defmodule ExampleSimpleRouter do use Plug.Router use CastParams cast_params(user: [age: :integer, name: :string!, subscribed: :boolean]) ...
33.708333
114
0.592089
2882f94477f68d1c1941f876c9ca43bc159d5331
2,812
exs
Elixir
mix.exs
myrrlyn/earmark_parser
b15d9d78c0d916fd09b58ecea590e5b1f355f6cf
[ "Apache-2.0" ]
null
null
null
mix.exs
myrrlyn/earmark_parser
b15d9d78c0d916fd09b58ecea590e5b1f355f6cf
[ "Apache-2.0" ]
null
null
null
mix.exs
myrrlyn/earmark_parser
b15d9d78c0d916fd09b58ecea590e5b1f355f6cf
[ "Apache-2.0" ]
null
null
null
defmodule EarmarkParser.MixProject do use Mix.Project @version "1.4.12" @url "https://github.com/RobertDober/earmark_parser" @deps [ # {:credo, "~> 0.10", only: [:dev, :test]}, {:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false}, {:earmark_ast_dsl, "~> 0.2.5", only: [:test]}, {:excovera...
26.280374
93
0.571479
288310dcce81cb20373c3a0f24707b3453be0783
4,507
ex
Elixir
lib/erlef/session.ex
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
lib/erlef/session.ex
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
lib/erlef/session.ex
pedrosnk/erlef-website
bb8da73d09930056c9d31bcc75a92b8fb3caf6da
[ "Apache-2.0" ]
null
null
null
defmodule Erlef.Session do @moduledoc """ Erlef.Session - Session handler and session serializer/deserializer """ @enforce_keys [ :account_id, :member_id, :access_token, :refresh_token, :username, :expires_at, :is_admin ] defstruct [ :account_id, :member_id, :access_...
23.973404
101
0.582205
28831ba3d0ee12174ae4f91918ceaca803d64a1f
1,047
exs
Elixir
phx_chartjs/mix.exs
NervesJP/fukuokaex11
8bd3e5bf5f4c0a2f08a2a3e16a94a56468eb1aa3
[ "Apache-2.0" ]
13
2018-06-22T10:41:17.000Z
2018-09-01T02:34:33.000Z
phx_chartjs/mix.exs
takasehideki/fukuokaex11
8bd3e5bf5f4c0a2f08a2a3e16a94a56468eb1aa3
[ "Apache-2.0" ]
null
null
null
phx_chartjs/mix.exs
takasehideki/fukuokaex11
8bd3e5bf5f4c0a2f08a2a3e16a94a56468eb1aa3
[ "Apache-2.0" ]
1
2022-01-20T13:12:18.000Z
2022-01-20T13:12:18.000Z
defmodule PhxChartjs.Mixfile do use Mix.Project def project do [ app: :phx_chartjs, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, deps: deps() ] end ...
23.795455
56
0.585482
2883260de77cd0c496b69a2c71eff59e7a351855
212
exs
Elixir
test/taskmaster_api_web/controllers/page_controller_test.exs
tyjet/taskmaster_api
4ba670731717299b07abb5d56f3e068015826963
[ "MIT" ]
null
null
null
test/taskmaster_api_web/controllers/page_controller_test.exs
tyjet/taskmaster_api
4ba670731717299b07abb5d56f3e068015826963
[ "MIT" ]
1
2021-03-10T19:38:43.000Z
2021-03-10T19:38:43.000Z
test/taskmaster_api_web/controllers/page_controller_test.exs
tyjet/taskmaster_api
4ba670731717299b07abb5d56f3e068015826963
[ "MIT" ]
null
null
null
defmodule TaskmasterApiWeb.PageControllerTest do use TaskmasterApiWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
23.555556
60
0.698113
2883299f92e6ad3f73599f3f82c8d8b15cde6137
2,214
ex
Elixir
lib/central/helpers/colour_helper.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/central/helpers/colour_helper.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/central/helpers/colour_helper.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Central.Helpers.ColourHelper do @moduledoc false alias Central.Helpers.ColourHelper defstruct red: 0, green: 0, blue: 0, alpha: 0 defp hexc(v), do: String.to_integer(v, 16) # FROM RGB # def new(r, g, b, a) when is_integer(r) do # %ColourHelper{red: r, gr...
20.886792
60
0.51897
28832b73b911e96d7535007d7da1308eb2a2e2d8
1,474
exs
Elixir
test/expat_test.exs
vic/expat
7c095187afe99b2ef6c68bd42c40164eb48d067c
[ "Apache-2.0" ]
184
2016-10-16T16:07:24.000Z
2022-03-25T01:57:06.000Z
test/expat_test.exs
vic/expat
7c095187afe99b2ef6c68bd42c40164eb48d067c
[ "Apache-2.0" ]
3
2017-01-12T18:27:39.000Z
2018-03-13T09:46:13.000Z
test/expat_test.exs
vic/expat
7c095187afe99b2ef6c68bd42c40164eb48d067c
[ "Apache-2.0" ]
6
2017-01-11T19:29:28.000Z
2018-09-04T01:06:33.000Z
defmodule Expat.ExpatTest.Patterns do use Expat defpat list(x) when is_list(x) defpat atom(x) when is_atom(x) defpat one(1) defpat aa({a, a}) defpat t2({a, b}) defpat call({atom(name), list(meta), list(args)}) defpat var({atom(name), list(meta), atom(context)}) defpat u(_u = 1) end defmodule Expat.E...
20.472222
76
0.627544
288351298663bb2622934c922cb8bd892f8fba8b
2,679
ex
Elixir
lib/mix/tasks/ecto.gen.migration.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/ecto.gen.migration.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/ecto.gen.migration.ex
zachahn/ecto
8119ad877f7caa837912647a014f4a63a951dba0
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Ecto.Gen.Migration do use Mix.Task import Macro, only: [camelize: 1, underscore: 1] import Mix.Generator import Mix.Ecto @shortdoc "Generates a new migration for the repo" @moduledoc """ Generates a migration. The repository must be set under `:ecto_repos` in the current app co...
29.766667
104
0.638298
2883551ad78f7297cb14b41a6d9f963bd542a6b7
279
ex
Elixir
lib/bounce_out_web/views/layout_view.ex
tlietz/bounce-out
cefbb7ebcdb4e39b6afa8e1b3791d222674e0681
[ "WTFPL" ]
1
2022-01-16T16:07:37.000Z
2022-01-16T16:07:37.000Z
lib/bounce_out_web/views/layout_view.ex
tlietz/slideball
cefbb7ebcdb4e39b6afa8e1b3791d222674e0681
[ "WTFPL" ]
null
null
null
lib/bounce_out_web/views/layout_view.ex
tlietz/slideball
cefbb7ebcdb4e39b6afa8e1b3791d222674e0681
[ "WTFPL" ]
null
null
null
defmodule BounceOutWeb.LayoutView do use BounceOutWeb, :view # Phoenix LiveDashboard is available only in development by default, # so we instruct Elixir to not warn if the dashboard route is missing. @compile {:no_warn_undefined, {Routes, :live_dashboard_path, 2}} end
34.875
72
0.777778
288360d0b8c88fabd7f44330ae7d099633d2cf6c
455
exs
Elixir
packages/rlack/api/priv/repo/migrations/20170411180411_create_user_room.exs
ragmha/projects
673f7bbad8e27868a4cfa81480556bbc3f4d5bea
[ "MIT" ]
1
2017-04-08T20:08:05.000Z
2017-04-08T20:08:05.000Z
packages/rlack/api/priv/repo/migrations/20170411180411_create_user_room.exs
ragmha/projects
673f7bbad8e27868a4cfa81480556bbc3f4d5bea
[ "MIT" ]
null
null
null
packages/rlack/api/priv/repo/migrations/20170411180411_create_user_room.exs
ragmha/projects
673f7bbad8e27868a4cfa81480556bbc3f4d5bea
[ "MIT" ]
null
null
null
defmodule Rlack.Repo.Migrations.CreateUserRoom do use Ecto.Migration def change do create table(:user_rooms) do add :user_id, references(:users, on_delete: :nothing), null: false add :room_id, references(:rooms, on_delete: :nothing), null: false timestamps() end create index(:user_ro...
28.4375
72
0.69011
288371b03b15eb58fd84ddee5a7c5d7553282beb
1,409
ex
Elixir
test/process_managers/support/resume/resume_aggregate.ex
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
1
2022-02-20T10:42:07.000Z
2022-02-20T10:42:07.000Z
test/process_managers/support/resume/resume_aggregate.ex
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
null
null
null
test/process_managers/support/resume/resume_aggregate.ex
jccf091/commanded
5d68a2b1b7a222b6f204c48d886f3d2c9670f26a
[ "MIT" ]
null
null
null
defmodule Commanded.ProcessManagers.ResumeAggregate do @moduledoc false defstruct [:status] defmodule Commands do defmodule(StartProcess, do: defstruct([:process_uuid, :status])) defmodule(ResumeProcess, do: defstruct([:process_uuid, :status])) end defmodule Events do defmodule ProcessStarted d...
31.311111
101
0.749468
28837b50b5a082c5def2b6316dd1978ddd1d3f7f
1,101
ex
Elixir
file-metadata/test/support/conn_case.ex
dalamilla/phoenix-projects
52654fb0d3ff7d5b556569dac5c0863e230e3a00
[ "MIT" ]
null
null
null
file-metadata/test/support/conn_case.ex
dalamilla/phoenix-projects
52654fb0d3ff7d5b556569dac5c0863e230e3a00
[ "MIT" ]
null
null
null
file-metadata/test/support/conn_case.ex
dalamilla/phoenix-projects
52654fb0d3ff7d5b556569dac5c0863e230e3a00
[ "MIT" ]
null
null
null
defmodule FileMetadataWeb.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, ...
28.973684
66
0.740236
28838cc214e4a8efe126e394e067dec0f97caee2
2,230
exs
Elixir
test/noray/tetrad_test.exs
jdfrens/noray_elixir
8cfc3113130d13c6589cb46cfb72f71a27ea2c18
[ "MIT" ]
null
null
null
test/noray/tetrad_test.exs
jdfrens/noray_elixir
8cfc3113130d13c6589cb46cfb72f71a27ea2c18
[ "MIT" ]
4
2020-08-26T21:02:04.000Z
2020-11-02T21:01:51.000Z
test/noray/tetrad_test.exs
jdfrens/noray_elixir
8cfc3113130d13c6589cb46cfb72f71a27ea2c18
[ "MIT" ]
null
null
null
defmodule Noray.TetradTest do use ExUnit.Case, async: true alias Noray.{Point, Tetrad, Vector} describe "constructors and accessors" do test "default" do tetrad = Tetrad.new() assert Tetrad.x(tetrad) == 0.0 assert Tetrad.y(tetrad) == 0.0 assert Tetrad.z(tetrad) == 0.0 assert T...
25.632184
81
0.588789
2883c5d0f6487b9eacae0ca855186405fbf42a8d
32,160
ex
Elixir
lib/elixir/lib/dynamic_supervisor.ex
mszczygiel/elixir
7dd86ec1f782debcb00d9f078478c3a9509a6375
[ "Apache-2.0" ]
1
2015-11-24T23:39:25.000Z
2015-11-24T23:39:25.000Z
lib/elixir/lib/dynamic_supervisor.ex
lau/elixir
6cfe09c50b5f612e473725623d901080077ad6a6
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/dynamic_supervisor.ex
lau/elixir
6cfe09c50b5f612e473725623d901080077ad6a6
[ "Apache-2.0" ]
null
null
null
defmodule DynamicSupervisor do @moduledoc ~S""" A supervisor that starts children dynamically. The `Supervisor` module was designed to handle mostly static children that are started in the given order when the supervisor starts. A `DynamicSupervisor` starts with no children. Instead, children are started o...
31.40625
100
0.644745
2883dc8d693c43618958adb5c5bf599b71792736
2,493
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v2_create_conversation_model_evaluation_operation_metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v2_create_conversation_model_evaluation_operation_metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v3/model/google_cloud_dialogflow_v2_create_conversation_model_evaluation_operation_metadata.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...
39.571429
185
0.744485
2883faeae24bfc8949b5a3e6eee6a6be424700ce
3,915
ex
Elixir
lib/mojito/pool.ex
marcdel/mojito
ce1ba49fdfeaf2098953e5d188b37ce8082ab737
[ "MIT" ]
null
null
null
lib/mojito/pool.ex
marcdel/mojito
ce1ba49fdfeaf2098953e5d188b37ce8082ab737
[ "MIT" ]
null
null
null
lib/mojito/pool.ex
marcdel/mojito
ce1ba49fdfeaf2098953e5d188b37ce8082ab737
[ "MIT" ]
null
null
null
defmodule Mojito.Pool do @moduledoc false ## Mojito.Pool is an HTTP client with high-performance, easy-to-use ## connection pools. ## ## Pools are maintained automatically by Mojito, requests are matched to ## the correct pool without user intervention, and multiple pools can be ## used for the same dest...
28.165468
78
0.640102
2884363a62d919ce280b70f46b704523dd8800b2
104
ex
Elixir
lib/auroville/residence_service.ex
jacruzca/mango
9978dc609ed1fc86aa40386e35fae06cb95f80fc
[ "MIT" ]
null
null
null
lib/auroville/residence_service.ex
jacruzca/mango
9978dc609ed1fc86aa40386e35fae06cb95f80fc
[ "MIT" ]
null
null
null
lib/auroville/residence_service.ex
jacruzca/mango
9978dc609ed1fc86aa40386e35fae06cb95f80fc
[ "MIT" ]
null
null
null
defmodule Auroville.ResidenceService do def list_areas do ["Area 1", "Area 2", "Area 3"] end end
20.8
39
0.692308
28843794210cdc57ac6ab9c7f45629d6b4868658
869
exs
Elixir
mix.exs
ovrmrw/elixir-file-read-eager-lazy-flow
7a00e884c855be146861e92250db30051ca87b72
[ "MIT" ]
2
2018-12-17T06:54:45.000Z
2018-12-17T07:15:06.000Z
mix.exs
ovrmrw/elixir_file_read_eager_lazy_flow
7a00e884c855be146861e92250db30051ca87b72
[ "MIT" ]
null
null
null
mix.exs
ovrmrw/elixir_file_read_eager_lazy_flow
7a00e884c855be146861e92250db30051ca87b72
[ "MIT" ]
null
null
null
defmodule ElixirFileReadEagerLazyFlow.Mixfile do use Mix.Project def project do [app: :elixir_file_read_eager_lazy_flow, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP applicati...
22.868421
79
0.608746
28844a69b51bde1190f10f3d69db0e43e919dd91
40,966
exs
Elixir
lib/iex/test/iex/helpers_test.exs
ggVGc/elixir
1ca25436be2c46b688af4b50b7b3b19b3170c250
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
ggVGc/elixir
1ca25436be2c46b688af4b50b7b3b19b3170c250
[ "Apache-2.0" ]
null
null
null
lib/iex/test/iex/helpers_test.exs
ggVGc/elixir
1ca25436be2c46b688af4b50b7b3b19b3170c250
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule IEx.HelpersTest do use IEx.Case import IEx.Helpers describe "whereami" do test "is disabled by default" do assert capture_iex("whereami()") =~ "Pry session is not currently enabled" end test "shows current location for custom envs" d...
31.880156
135
0.576136
28847285a051c4a74f6814e427bf7d8d1ceedf76
770
ex
Elixir
test/support/channel_case.ex
selfup/smache
5355418fbd0bc7d5c73e17647b41176079c7a242
[ "MIT" ]
7
2018-10-07T00:45:10.000Z
2020-01-12T03:27:52.000Z
test/support/channel_case.ex
selfup/smache
5355418fbd0bc7d5c73e17647b41176079c7a242
[ "MIT" ]
13
2018-04-13T00:47:37.000Z
2019-08-10T22:20:27.000Z
test/support/channel_case.ex
selfup/smache
5355418fbd0bc7d5c73e17647b41176079c7a242
[ "MIT" ]
2
2019-07-12T23:30:20.000Z
2019-08-10T21:56:57.000Z
defmodule SmacheWeb.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 datastructures and query the data layer. Finally, if the test case interacts wit...
24.0625
58
0.727273
28848743a1e9da506cf2cca89c7270240c72ac61
1,781
exs
Elixir
apps/admin_web/mix.exs
rolandolucio/gapi_umbrella
b1e690804d7d2a79d3ece7ca12edf65197ca7145
[ "MIT" ]
null
null
null
apps/admin_web/mix.exs
rolandolucio/gapi_umbrella
b1e690804d7d2a79d3ece7ca12edf65197ca7145
[ "MIT" ]
null
null
null
apps/admin_web/mix.exs
rolandolucio/gapi_umbrella
b1e690804d7d2a79d3ece7ca12edf65197ca7145
[ "MIT" ]
null
null
null
defmodule AdminWeb.MixProject do use Mix.Project def project do [ app: :admin_web, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.7", elixirc_paths: elixirc_...
26.984848
67
0.567659
28848890888534cceeaff28696fe62d02d785408
1,025
exs
Elixir
test/level/spaces/space_test.exs
davecremins/level
cc06b86d32e9bef954a199dc4a2b47561815fd4b
[ "Apache-2.0" ]
null
null
null
test/level/spaces/space_test.exs
davecremins/level
cc06b86d32e9bef954a199dc4a2b47561815fd4b
[ "Apache-2.0" ]
null
null
null
test/level/spaces/space_test.exs
davecremins/level
cc06b86d32e9bef954a199dc4a2b47561815fd4b
[ "Apache-2.0" ]
null
null
null
defmodule Level.Spaces.SpaceTest do use Level.DataCase, async: true alias Level.Spaces.Space describe "slug_format/0" do test "matches lowercase alphanumeric and dash chars" do assert Regex.match?(Space.slug_format(), "level") assert Regex.match?(Space.slug_format(), "level-inc") end te...
27.702703
59
0.67122
28849a1314807056279e291adbd4761c9ea1dc14
1,001
ex
Elixir
lib/sudoku/application.ex
ream88/sudoku
7b319ce075a23bf8ca58ffcefa2c2965795cc9a2
[ "MIT" ]
null
null
null
lib/sudoku/application.ex
ream88/sudoku
7b319ce075a23bf8ca58ffcefa2c2965795cc9a2
[ "MIT" ]
null
null
null
lib/sudoku/application.ex
ream88/sudoku
7b319ce075a23bf8ca58ffcefa2c2965795cc9a2
[ "MIT" ]
null
null
null
defmodule Sudoku.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 Sudoku.Repo, # Start the Telemetry supervisor SudokuWeb...
28.6
64
0.699301
2884e733b40464e4502aa3bd4ff1f617009bd9ab
961
ex
Elixir
lib/upfeed.ex
mskog/Upfeed
34fad85cbf7c0c7b0a7d0238c312b29edb61b1d1
[ "MIT" ]
null
null
null
lib/upfeed.ex
mskog/Upfeed
34fad85cbf7c0c7b0a7d0238c312b29edb61b1d1
[ "MIT" ]
null
null
null
lib/upfeed.ex
mskog/Upfeed
34fad85cbf7c0c7b0a7d0238c312b29edb61b1d1
[ "MIT" ]
null
null
null
defmodule Upfeed do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the endpoint when the...
32.033333
84
0.718002
2884f6df14a8a60d4bcd794921de301a2687d3f0
5,620
ex
Elixir
lib/calliope/parser.ex
deemytch/calliope
2f235589f0a65aee6baadc0f382218c3ef64b98a
[ "Apache-2.0" ]
null
null
null
lib/calliope/parser.ex
deemytch/calliope
2f235589f0a65aee6baadc0f382218c3ef64b98a
[ "Apache-2.0" ]
null
null
null
lib/calliope/parser.ex
deemytch/calliope
2f235589f0a65aee6baadc0f382218c3ef64b98a
[ "Apache-2.0" ]
null
null
null
defmodule Calliope.Parser do @tag "%" @id "#" @class "." @content " " @tab "\t" @doctype "!" @attrs "{" @parens "(" @comment "/" @script "=" @smart "-" @filter ":" def parse([]), do: [] def parse(l) do parse_lines(l) |> validations |> build_tree end ...
30.378378
112
0.555694
288537ca92005f32e5814ada0b96f09e335f7325
172
exs
Elixir
priv/templates/brando.upgrade/migrations/brando_04_delete_meta_keywords.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
priv/templates/brando.upgrade/migrations/brando_04_delete_meta_keywords.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
priv/templates/brando.upgrade/migrations/brando_04_delete_meta_keywords.exs
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Repo.Migrations.DeleteMetaKeywords do use Ecto.Migration def change do alter table(:pages_pages) do remove :meta_keywords end end end
17.2
54
0.738372
28855ec19b22dc60abe5a1f2c62e998a3ca92490
531
ex
Elixir
lib/introduction_phoenix_liveview_web/views/error_view.ex
ricardopadua/introduction_phoenix_liveview
3e320b4ea7f80b079dfcd9ac2d5714b1204ce4ed
[ "Apache-2.0" ]
null
null
null
lib/introduction_phoenix_liveview_web/views/error_view.ex
ricardopadua/introduction_phoenix_liveview
3e320b4ea7f80b079dfcd9ac2d5714b1204ce4ed
[ "Apache-2.0" ]
null
null
null
lib/introduction_phoenix_liveview_web/views/error_view.ex
ricardopadua/introduction_phoenix_liveview
3e320b4ea7f80b079dfcd9ac2d5714b1204ce4ed
[ "Apache-2.0" ]
null
null
null
defmodule IntroductionPhoenixLiveviewWeb.ErrorView do use IntroductionPhoenixLiveviewWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the s...
31.235294
61
0.755179
2885684121de6d810a74adca685c9cbce08442af
546
ex
Elixir
examples/bloggy/lib/bloggy_web/router.ex
wojtekmach/resourceful
8425140aa1e89dfababcb2faa7bc4e2f59722661
[ "Apache-2.0" ]
1
2020-01-06T00:38:43.000Z
2020-01-06T00:38:43.000Z
examples/bloggy/lib/bloggy_web/router.ex
wojtekmach/resourceful
8425140aa1e89dfababcb2faa7bc4e2f59722661
[ "Apache-2.0" ]
null
null
null
examples/bloggy/lib/bloggy_web/router.ex
wojtekmach/resourceful
8425140aa1e89dfababcb2faa7bc4e2f59722661
[ "Apache-2.0" ]
null
null
null
defmodule BloggyWeb.Router do use BloggyWeb, :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 "/", BloggyWeb do pipe_thr...
18.827586
48
0.684982
28856dec666a714b4986936436e0aa18ed4446ce
751
exs
Elixir
mix.exs
crertel/bloglixir
6c8ee7775ee1f76f8bb9c9f8a9db74e6cf5eecc6
[ "MIT" ]
null
null
null
mix.exs
crertel/bloglixir
6c8ee7775ee1f76f8bb9c9f8a9db74e6cf5eecc6
[ "MIT" ]
null
null
null
mix.exs
crertel/bloglixir
6c8ee7775ee1f76f8bb9c9f8a9db74e6cf5eecc6
[ "MIT" ]
null
null
null
defmodule Bloglixir.Mixfile do use Mix.Project def project do [app: :bloglixir, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" fo...
19.763158
77
0.579228
288582461eac7d8fa2d0b68d8435b0813405db9e
554
exs
Elixir
test/models/message_mailer_test.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
27
2016-10-15T12:13:22.000Z
2021-02-07T20:31:41.000Z
test/models/message_mailer_test.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
null
null
null
test/models/message_mailer_test.exs
guofei/embedchat
6562108acd1d488dde457f28cf01d82b4c5a9bf8
[ "MIT" ]
4
2016-08-21T15:03:29.000Z
2019-11-22T13:15:29.000Z
defmodule EmbedChat.MessageMailerTest do use EmbedChat.ModelCase alias EmbedChat.MessageMailer @valid_attrs %{address_uuid: "7488a646-e31f-11e4-aace-600308960662", room_uuid: "7488a646-e31f-11e4-aace-600308960662"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = MessageMailer.c...
29.157895
121
0.767148
2885c35def25446de97c2f214d37e1f1bcaee7fe
127
ex
Elixir
apps/web/lib/web/controllers/page_controller.ex
elixirschool/extracurricular
eb8b725fa49ca91b1c6b7e610a8522bc81a80de1
[ "MIT" ]
48
2017-08-21T02:08:16.000Z
2022-01-05T14:02:56.000Z
apps/web/lib/web/controllers/page_controller.ex
elixirschool/extracurricular
eb8b725fa49ca91b1c6b7e610a8522bc81a80de1
[ "MIT" ]
68
2017-08-21T02:17:32.000Z
2017-11-09T15:56:27.000Z
lib/web/controllers/page_controller.ex
smartlogic/stein_example
7ef369757989a9a56d04e87f6421675bf69193a2
[ "MIT" ]
26
2017-08-21T04:28:22.000Z
2018-12-09T14:20:29.000Z
defmodule Web.PageController do use Web, :controller def index(conn, _params) do render(conn, "index.html") end end
15.875
31
0.708661
2885df37e1c9a240aa2c635eb9112a19040a3250
293
ex
Elixir
lib/supply_chain_web/live/component/test_component.ex
BailianBlockchain/Bailian_Supply_Chain
8341e974b133c86f48488cb52ec4b3b281a99eb5
[ "MIT" ]
5
2020-12-10T07:24:18.000Z
2021-12-15T08:26:05.000Z
lib/supply_chain_web/live/component/test_component.ex
BailianBlockchain/Bailian_Supply_Chain
8341e974b133c86f48488cb52ec4b3b281a99eb5
[ "MIT" ]
null
null
null
lib/supply_chain_web/live/component/test_component.ex
BailianBlockchain/Bailian_Supply_Chain
8341e974b133c86f48488cb52ec4b3b281a99eb5
[ "MIT" ]
2
2020-12-12T17:06:13.000Z
2021-04-09T02:12:31.000Z
defmodule SupplyChainWeb.Live.Component.TestComponent do # If you generated an app with mix phx.new --live, # the line below would be: use MyAppWeb, :live_component use Phoenix.LiveComponent def render(assigns) do ~L""" <div class="hero"><%= "test" %></div> """ end end
24.416667
58
0.675768
2885e14f733ad0aaf4669ed184b47788d630d9f9
1,097
ex
Elixir
lib/starjumps_web/channels/user_socket.ex
paulanthonywilson/binary-websockets-example
8aa013a8e2050ee2aaaf96de5c41c15cf1a06521
[ "MIT" ]
4
2021-02-22T04:05:29.000Z
2022-01-25T18:03:04.000Z
lib/starjumps_web/channels/user_socket.ex
paulanthonywilson/binary-websockets-example
8aa013a8e2050ee2aaaf96de5c41c15cf1a06521
[ "MIT" ]
null
null
null
lib/starjumps_web/channels/user_socket.ex
paulanthonywilson/binary-websockets-example
8aa013a8e2050ee2aaaf96de5c41c15cf1a06521
[ "MIT" ]
1
2021-12-16T15:45:43.000Z
2021-12-16T15:45:43.000Z
defmodule StarjumpsWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", StarjumpsWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all ch...
30.472222
84
0.696445
28860741641b39a78a2c99e527628df60580d6f7
670
exs
Elixir
elixir/elixir-sips/samples/elixiak_playground/test/elixiak_playground_test.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/elixir-sips/samples/elixiak_playground/test/elixiak_playground_test.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/elixir-sips/samples/elixiak_playground/test/elixiak_playground_test.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule ElixiakPlaygroundTest do use ExUnit.Case setup do Riak.start Riak.configure(host: '127.0.0.1', port: 8087) delete_all_logs :ok end test "we can store logs" do Log.create(application: "web", content: "GET /foo/bar by 10.0.0.1").save! Log.create(application: "backend", conten...
24.814815
78
0.665672
2886094392dc40930fec8f91c9565e6688499572
5,259
exs
Elixir
lib/elixir/test/elixir/task/supervisor_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
4
2015-12-22T02:46:39.000Z
2016-04-26T06:11:09.000Z
lib/elixir/test/elixir/task/supervisor_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/task/supervisor_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Task.SupervisorTest do use ExUnit.Case setup do {:ok, pid} = Task.Supervisor.start_link() {:ok, supervisor: pid} end setup do Logger.remove_backend(:console) on_exit fn -> Logger.add_backend(:console, flush: true) end :ok end ...
31.118343
110
0.662483
28863389f93ccbbb47abadaccaf15235061d7d92
87,324
ex
Elixir
lib/aws/generated/lightsail.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/lightsail.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/lightsail.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "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.Lightsail do @moduledoc """ Amazon Lightsail is the easiest way to get started with Amazon Web Services (Amazon Web Services) for developers who need to build websites or web applications....
45.6
201
0.751351
28869548eb8d0928701512cb2c40664ff0dcb60e
1,636
ex
Elixir
apps/omg_db/lib/omg_db/release_tasks/init_key_value_db.ex
omgnetwork/omg-childchain-v1
1e2313029ece2282c22ce411edc078a17e6bba09
[ "Apache-2.0" ]
1
2020-10-06T03:07:47.000Z
2020-10-06T03:07:47.000Z
apps/omg_db/lib/omg_db/release_tasks/init_key_value_db.ex
omgnetwork/omg-childchain-v1
1e2313029ece2282c22ce411edc078a17e6bba09
[ "Apache-2.0" ]
9
2020-09-16T15:31:17.000Z
2021-03-17T07:12:35.000Z
apps/omg_db/lib/omg_db/release_tasks/init_key_value_db.ex
omgnetwork/omg-childchain-v1
1e2313029ece2282c22ce411edc078a17e6bba09
[ "Apache-2.0" ]
1
2020-09-30T17:17:27.000Z
2020-09-30T17:17:27.000Z
# Copyright 2019-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 ...
30.296296
92
0.69132
2886b5c075483d375c06481602f60cc7db4e99bd
1,044
exs
Elixir
test/straw_hat/response_test.exs
straw-hat-llc/straw_hat
fc870b5d9306d0e95f12670fa468c7cd5df51345
[ "MIT" ]
2
2017-09-26T13:26:51.000Z
2018-11-04T16:36:41.000Z
test/straw_hat/response_test.exs
straw-hat-llc/straw_hat
fc870b5d9306d0e95f12670fa468c7cd5df51345
[ "MIT" ]
38
2017-09-26T13:05:51.000Z
2019-11-01T10:49:41.000Z
test/straw_hat/response_test.exs
straw-hat-llc/straw_hat
fc870b5d9306d0e95f12670fa468c7cd5df51345
[ "MIT" ]
1
2018-03-15T22:04:06.000Z
2018-03-15T22:04:06.000Z
defmodule StrawHat.ResponseTest do use ExUnit.Case, async: true alias StrawHat.Response doctest Response describe "tap/2" do test "calls the function and returns original data" do original = Response.ok("Hello, World") assert original == Response.tap(original, fn text -> ...
27.473684
97
0.657088
2886c0106a1398bd6438b4a250b7beec202ddb81
1,824
ex
Elixir
lib/membrane_audio_mixer/adder.ex
membraneframework/membrane_audio_mixer_plugin
4edcac7f5a0e7b015161a311eafd13016cd107cc
[ "Apache-2.0" ]
null
null
null
lib/membrane_audio_mixer/adder.ex
membraneframework/membrane_audio_mixer_plugin
4edcac7f5a0e7b015161a311eafd13016cd107cc
[ "Apache-2.0" ]
1
2021-08-30T14:05:39.000Z
2021-08-30T14:05:39.000Z
lib/membrane_audio_mixer/adder.ex
membraneframework/membrane_audio_mixer_plugin
4edcac7f5a0e7b015161a311eafd13016cd107cc
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.AudioMixer.Adder do @moduledoc """ Module responsible for mixing audio tracks (all in the same format, with the same number of channels and sample rate). The result is a single path in the format mixed paths are encoded in. If overflow happens during mixing, it is being clipped to the max val...
24.986301
99
0.65625
2886c42ef28f811eb84402d2db27e6f92f4b6c5d
616
ex
Elixir
lib/ash/error/query/not_found.ex
savish/ash
7faf73097a6c6f801851e9d89569b6f5e6e87f81
[ "MIT" ]
null
null
null
lib/ash/error/query/not_found.ex
savish/ash
7faf73097a6c6f801851e9d89569b6f5e6e87f81
[ "MIT" ]
null
null
null
lib/ash/error/query/not_found.ex
savish/ash
7faf73097a6c6f801851e9d89569b6f5e6e87f81
[ "MIT" ]
null
null
null
defmodule Ash.Error.Query.NotFound do @moduledoc "Used when an entity that not exist is referenced" use Ash.Error.Exception def_ash_error([:primary_key, :resource], class: :invalid) defimpl Ash.ErrorKind do def id(_), do: Ash.UUID.generate() def code(_), do: "not_found" def class(_), do: :invali...
22.814815
63
0.63474
2886e0bc80a8e4a7c3b95eab16a571b34dfa4527
25
exs
Elixir
.iex.exs
philipgiuliani/lcd_display
41ec73eb554d97c02d7ff16489fa4bec88618f3e
[ "MIT" ]
8
2021-01-18T21:24:56.000Z
2022-02-04T08:14:31.000Z
.iex.exs
philipgiuliani/lcd_display
41ec73eb554d97c02d7ff16489fa4bec88618f3e
[ "MIT" ]
null
null
null
.iex.exs
philipgiuliani/lcd_display
41ec73eb554d97c02d7ff16489fa4bec88618f3e
[ "MIT" ]
1
2021-01-06T15:39:56.000Z
2021-01-06T15:39:56.000Z
alias LcdDisplay.HD44780
12.5
24
0.88
2886ee1e72fccfb94d458d8ab30420e7a37698a0
3,810
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1/model/signature.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/signature.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/container_analysis/lib/google_api/container_analysis/v1/model/signature.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...
76.2
1,277
0.779528
28872354b9dfb59b04369ec142fac2d3c2a10897
5,924
ex
Elixir
lib/gotrue.ex
relax2code/gotrue-elixir
51987b031b80ec36dad8f3236c154574ce731d09
[ "MIT" ]
8
2021-01-11T14:12:18.000Z
2021-08-19T12:16:27.000Z
lib/gotrue.ex
relax2code/gotrue-elixir
51987b031b80ec36dad8f3236c154574ce731d09
[ "MIT" ]
4
2021-05-05T16:11:05.000Z
2021-06-11T16:18:37.000Z
lib/gotrue.ex
relax2code/gotrue-elixir
51987b031b80ec36dad8f3236c154574ce731d09
[ "MIT" ]
2
2021-05-05T10:24:08.000Z
2021-06-09T11:27:12.000Z
defmodule GoTrue do @moduledoc """ Elixir wrapper for the [GoTrue authentication service](https://github.com/supabase/gotrue). """ import Tesla, only: [get: 2, post: 3, put: 3] def client() do base_url = get_base_url() api_key = Application.get_env(:gotrue, :api_key) client(base_url, api_key) ...
24.786611
93
0.619345
28873f12d9a769ec845c06202a89a4876e78c557
538
ex
Elixir
priv/example-projects/foo_bar_umbrella/apps/foo_bar/lib/foo_bar/application.ex
c4710n/phx_custom
19080ed8896be9ae846d12b2f631a1bc4aef5c78
[ "MIT" ]
null
null
null
priv/example-projects/foo_bar_umbrella/apps/foo_bar/lib/foo_bar/application.ex
c4710n/phx_custom
19080ed8896be9ae846d12b2f631a1bc4aef5c78
[ "MIT" ]
null
null
null
priv/example-projects/foo_bar_umbrella/apps/foo_bar/lib/foo_bar/application.ex
c4710n/phx_custom
19080ed8896be9ae846d12b2f631a1bc4aef5c78
[ "MIT" ]
null
null
null
defmodule FooBar.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 FooBar.Repo, # Start the PubSub system {Phoenix.PubSub,...
25.619048
84
0.69145
28876a4a3dee16bc45fcbda4cecb71a903c7bcbe
778
ex
Elixir
test/support/factories/devices.ex
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
test/support/factories/devices.ex
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
34
2019-11-10T11:31:37.000Z
2019-11-27T21:26:48.000Z
test/support/factories/devices.ex
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
defmodule Club.Factories.Devices do defmacro __using__(_opts) do quote do def device_aggregate_factory do %Club.Devices.Aggregates.Device{ uuid: UUID.uuid4(), model: Faker.Code.iban(), sku: Faker.Code.iban(), url: Faker.Internet.url(), description: F...
25.933333
46
0.553985
28877c8a7d5645a200d8331952dc3a10e531c837
2,533
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/google_datastore_admin_v1beta1_entity_filter.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/datastore/lib/google_api/datastore/v1/model/google_datastore_admin_v1beta1_entity_filter.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/datastore/lib/google_api/datastore/v1/model/google_datastore_admin_v1beta1_entity_filter.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...
50.66
571
0.741413
28878ecd19233fd5fb07eb42d457587ac54f6512
2,365
ex
Elixir
apps/tracing_2/lib/kv/registry.ex
WhiteRookPL/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
14
2017-08-09T14:21:47.000Z
2022-03-11T04:10:49.000Z
apps/tracing_2/lib/kv/registry.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
null
null
null
apps/tracing_2/lib/kv/registry.ex
nicholasjhenry/elixir-fire-brigade-workshop
1c6183339fc623842a09f4d10be75bcecf2c37e7
[ "MIT" ]
15
2017-09-05T15:43:53.000Z
2020-04-13T16:20:18.000Z
defmodule KV.Registry do use GenServer ## Client API @doc """ Starts the registry with the given `name`. """ def start_link(name) do GenServer.start_link(__MODULE__, name, name: name) end @doc """ Looks up the bucket pid for `name` stored in `server`. Returns `{:ok, pid}` if the bucket exist...
20.929204
74
0.588584
28879b1c19a0d3b7774bb39a9fad5cf3c92bc8bf
347
exs
Elixir
prism/priv/repo/seeds.exs
we-write-code/prism-backend
d09c753d1e3343e15823c84d0137f8d1e7a33556
[ "Apache-2.0" ]
5
2019-10-19T16:44:47.000Z
2020-05-05T16:33:58.000Z
prism/priv/repo/seeds.exs
we-write-code/prism-backend
d09c753d1e3343e15823c84d0137f8d1e7a33556
[ "Apache-2.0" ]
null
null
null
prism/priv/repo/seeds.exs
we-write-code/prism-backend
d09c753d1e3343e15823c84d0137f8d1e7a33556
[ "Apache-2.0" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Prism.Repo.insert!(%Prism.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fai...
28.916667
61
0.70317
2887e7058a68bc96e836cace1fdc99ea2a002153
8,954
exs
Elixir
lib/elixir/test/elixir/protocol_test.exs
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
1
2021-05-05T02:11:24.000Z
2021-05-05T02:11:24.000Z
lib/elixir/test/elixir/protocol_test.exs
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
6
2021-03-19T12:33:21.000Z
2021-04-02T17:52:45.000Z
lib/elixir/test/elixir/protocol_test.exs
jwarwick/elixir
de103c0f4e3240aa38967298ccb5f483a9e40c16
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) defmodule ProtocolTest do use ExUnit.Case, async: true doctest Protocol {_, _, sample_binary, _} = defprotocol Sample do @type t :: any @doc "Ok" @deprecated "Reason" @spec ok(t) :: boolean def ok(term) end @sample_binary sa...
28.698718
122
0.63748
28880d3a4d5d25f0218666e6e007c9e041278d21
1,239
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/table_cell.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/table_cell.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/table_cell.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...
26.934783
77
0.74092
288836e16c927cb519cb32f026a16a12631c5d4b
1,787
ex
Elixir
lib/scaffolder.ex
abiwinanda/scaffolder
38f7bea97f2f1cc49263ecb7609b16f1c88535df
[ "MIT" ]
null
null
null
lib/scaffolder.ex
abiwinanda/scaffolder
38f7bea97f2f1cc49263ecb7609b16f1c88535df
[ "MIT" ]
null
null
null
lib/scaffolder.ex
abiwinanda/scaffolder
38f7bea97f2f1cc49263ecb7609b16f1c88535df
[ "MIT" ]
null
null
null
defmodule Scaffolder do @moduledoc """ Scaffolder allows you to easily scaffold folder structure using an elixir map. It also allows you to generate a file. By default all folders or files generated by Scaffolder will be created under lib folder. Behind the scene, Scaffolder implement DFS to scaffold the folder...
38.847826
99
0.554001
28884b897c8b54bdc42ea3ce26717d4bf282499c
599
ex
Elixir
apps/dredd_web/web/controllers/signup_controller.ex
TheAustinSeven/Dredd
2a5429bb3212c97689181017cdd0d3283dbddafd
[ "BSD-3-Clause" ]
null
null
null
apps/dredd_web/web/controllers/signup_controller.ex
TheAustinSeven/Dredd
2a5429bb3212c97689181017cdd0d3283dbddafd
[ "BSD-3-Clause" ]
null
null
null
apps/dredd_web/web/controllers/signup_controller.ex
TheAustinSeven/Dredd
2a5429bb3212c97689181017cdd0d3283dbddafd
[ "BSD-3-Clause" ]
null
null
null
defmodule DreddWeb.SignupController do use DreddWeb.Web, :controller def show(conn, params) do conn = put_session(conn, :signup_token, params["token"]) redirect conn, to: "/register/safe" end def signup(conn, _params) do # Create and validate new complete user # If invalid redirect to safe sig...
23.96
60
0.691152
288850a72f2ea4dcbac9a0d36fe6cc2dc6f0e1b2
996
ex
Elixir
lib/regex_help/application.ex
maciejgryka/regex_help
93fe33cadcf63597dadb5e3dac9a0ee8f05dac15
[ "MIT" ]
6
2021-05-24T08:21:34.000Z
2021-11-19T14:29:55.000Z
lib/regex_help/application.ex
maciejgryka/regex_help
93fe33cadcf63597dadb5e3dac9a0ee8f05dac15
[ "MIT" ]
null
null
null
lib/regex_help/application.ex
maciejgryka/regex_help
93fe33cadcf63597dadb5e3dac9a0ee8f05dac15
[ "MIT" ]
3
2021-11-19T14:32:00.000Z
2022-01-17T00:13:18.000Z
defmodule RegexHelp.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 = [ RegexHelp.PromEx, # Start the Telemetry supervisor RegexHelpWeb.Telemetry, # Sta...
29.294118
67
0.709839
288857ae9465c8f8ab65e14c3d1327123b72980f
1,011
ex
Elixir
lib/bunny/supervisor.ex
efcasado/bunny
7475711e1cb6c633c818412ebf0a62ad36c6baa7
[ "MIT", "Unlicense" ]
null
null
null
lib/bunny/supervisor.ex
efcasado/bunny
7475711e1cb6c633c818412ebf0a62ad36c6baa7
[ "MIT", "Unlicense" ]
null
null
null
lib/bunny/supervisor.ex
efcasado/bunny
7475711e1cb6c633c818412ebf0a62ad36c6baa7
[ "MIT", "Unlicense" ]
null
null
null
###======================================================================== ### File: supervisor.ex ### ### ### Author(s): ### - Enrique Fernandez <efcasado@gmail.com> ### ### Copyright (c) 2016, Enrique Fernandez ###======================================================================== defmodule Bunny.Supervisor d...
28.083333
80
0.492582
28885a2c4609bb93099f52e5d32ed06479614942
1,276
ex
Elixir
test/support/conn_case.ex
vsyrovat/trending-repos
b406d205fb5fd79a9207d14a5b849924e6306e07
[ "MIT" ]
null
null
null
test/support/conn_case.ex
vsyrovat/trending-repos
b406d205fb5fd79a9207d14a5b849924e6306e07
[ "MIT" ]
null
null
null
test/support/conn_case.ex
vsyrovat/trending-repos
b406d205fb5fd79a9207d14a5b849924e6306e07
[ "MIT" ]
null
null
null
defmodule AppWeb.ConnCase do # credo:disable-for-this-file Credo.Check.Design.AliasUsage @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 ...
27.73913
65
0.721003
28885b57d900dbf9bf3c23d8c33316590dba48ab
201
exs
Elixir
apps/summoner_backend/priv/repo/migrations/20170925014848_create_threads.exs
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
apps/summoner_backend/priv/repo/migrations/20170925014848_create_threads.exs
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
apps/summoner_backend/priv/repo/migrations/20170925014848_create_threads.exs
making3/summoner_alerts
fda7a43cab0e2022a90e8fe3d766f95628d9ac00
[ "MIT" ]
null
null
null
defmodule SummonerBackend.Repo.Migrations.CreateThreads do use Ecto.Migration def change do create table(:threads) do add :thread_id, :string add :title, :string end end end
18.272727
58
0.701493