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
1df18f1cafa0cfa06ad11722e90ecfe667444ff4
1,136
exs
Elixir
test/controllers/session_controller_test.exs
mijkenator/elapi
55a85edf6fcadd89e390a682404c79bab93282b0
[ "Artistic-2.0" ]
null
null
null
test/controllers/session_controller_test.exs
mijkenator/elapi
55a85edf6fcadd89e390a682404c79bab93282b0
[ "Artistic-2.0" ]
null
null
null
test/controllers/session_controller_test.exs
mijkenator/elapi
55a85edf6fcadd89e390a682404c79bab93282b0
[ "Artistic-2.0" ]
null
null
null
defmodule Elapi.SessionControllerTest do use Elapi.ConnCase alias Elapi.Session alias Elapi.User @valid_attrs %{email: "foo@bar.com", password: "s3cr3t"} setup %{conn: conn} do changeset = User.registration_changeset(%User{}, @valid_attrs) Repo.insert changeset {:ok, conn: put_req_header(conn, ...
36.645161
103
0.695423
1df1a1d1ebf50456dc09fa3f66df0014917a965d
650
ex
Elixir
lib/rapport/font.ex
ricn/rapport
f00f9945a11ca3f68e79c8f5709fa170b8ac4682
[ "MIT" ]
59
2017-09-30T23:28:20.000Z
2021-12-13T21:20:08.000Z
lib/rapport/font.ex
ricn/rapport
f00f9945a11ca3f68e79c8f5709fa170b8ac4682
[ "MIT" ]
5
2017-10-27T07:28:13.000Z
2021-12-13T21:56:47.000Z
lib/rapport/font.ex
ricn/rapport
f00f9945a11ca3f68e79c8f5709fa170b8ac4682
[ "MIT" ]
2
2017-10-26T13:50:46.000Z
2018-06-18T11:58:50.000Z
defmodule Rapport.Font do @spec as_data(String.t()) :: String.t() @doc """ Converts a font file (woff2) to a base64 encoded string that can be embedded: @font-face { src: url(data:font/woff2;charset=utf-8;base64,d09GRgA...kAAA==) format('woff') } Only woff2 format is supported at the moment ## Opti...
26
82
0.675385
1df1f42213a7230f907d507088d97bd1508fa865
2,417
ex
Elixir
lib/layouts/primitives/rounded_rectangle.ex
somersbmatthews/scenic_layout_o_matic
6327916554d71384699b15c890fdae22127f45f0
[ "MIT" ]
null
null
null
lib/layouts/primitives/rounded_rectangle.ex
somersbmatthews/scenic_layout_o_matic
6327916554d71384699b15c890fdae22127f45f0
[ "MIT" ]
null
null
null
lib/layouts/primitives/rounded_rectangle.ex
somersbmatthews/scenic_layout_o_matic
6327916554d71384699b15c890fdae22127f45f0
[ "MIT" ]
null
null
null
defmodule LayoutOMatic.Layouts.Primitives.RoundedRectangle do @default_stroke {1, :white} # A circles size int is the radius and the translate is based on the center def translate( %{ primitive: primitive, starting_xy: starting_xy, max_xy: max_xy, grid_xy: grid_xy ...
27.781609
83
0.496897
1df2335a64dd78493d5b0159375b91d70755b1dd
355
exs
Elixir
apps/snitch_core/priv/repo/migrations/20180506163501_rename_abbr_to_code_in_states.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/snitch_core/priv/repo/migrations/20180506163501_rename_abbr_to_code_in_states.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/snitch_core/priv/repo/migrations/20180506163501_rename_abbr_to_code_in_states.exs
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule Snitch.Repo.Migrations.RenameAbbrToCodeInStates do use Ecto.Migration def change do drop index("snitch_states", [:abbr, :country_id], name: :snitch_state_abbr_and_country_id) alter table(:snitch_states) do remove :abbr add :code, :string, null: false end create unique_index(...
23.666667
94
0.71831
1df24dbadae5934eb4c43ebbe173723ad7a61d8d
317
ex
Elixir
lib/mix/tasks/mailchimp/flush_dumps.ex
morgz/mailchimp
77d073e4f7fcb1831257c6636dba8e19a3339cce
[ "MIT" ]
1
2020-07-17T02:52:34.000Z
2020-07-17T02:52:34.000Z
lib/mix/tasks/mailchimp/flush_dumps.ex
morgz/mailchimp
77d073e4f7fcb1831257c6636dba8e19a3339cce
[ "MIT" ]
1
2020-01-09T18:59:39.000Z
2020-01-09T18:59:39.000Z
lib/mix/tasks/mailchimp/flush_dumps.ex
morgz/mailchimp
77d073e4f7fcb1831257c6636dba8e19a3339cce
[ "MIT" ]
1
2019-11-15T17:14:02.000Z
2019-11-15T17:14:02.000Z
defmodule Mix.Tasks.Mailchimp.FlushDumps do use Mix.Task @shortdoc "Flush all Mock Dumps" @preferred_cli_env :test case Mix.env do :test -> def run(_) do Mailchimp.MockServer.flush_dumps() end _ -> def run(_) do IO.puts "Run task with Env test" end end end
17.611111
43
0.615142
1df2ae42263d3dc50224d54f84a2ef59574d8597
1,186
ex
Elixir
web/channels/user_socket.ex
sotte/python_channels
dcec42d4a787cbb52c8be13a576e5dcadc1fda00
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
sotte/python_channels
dcec42d4a787cbb52c8be13a576e5dcadc1fda00
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
sotte/python_channels
dcec42d4a787cbb52c8be13a576e5dcadc1fda00
[ "MIT" ]
null
null
null
defmodule PythonChannels.UserSocket do use Phoenix.Socket ## Channels channel "rooms:*", PythonChannels.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verif...
31.210526
87
0.708263
1df2dea554a4d7601a26459c8c46dbb0efafcc80
1,239
exs
Elixir
mix.exs
visciang/dataspec
8ffcef550d23f90ba5bdbe089dcfa8aae6ee071d
[ "MIT" ]
2
2021-07-26T15:08:55.000Z
2021-07-28T10:09:17.000Z
mix.exs
visciang/dataspec
8ffcef550d23f90ba5bdbe089dcfa8aae6ee071d
[ "MIT" ]
1
2021-08-02T16:51:13.000Z
2021-08-03T19:44:12.000Z
mix.exs
visciang/dataspecs
8ffcef550d23f90ba5bdbe089dcfa8aae6ee071d
[ "MIT" ]
null
null
null
defmodule DataSpecs.Mixfile do use Mix.Project def project do [ app: :dataspecs, name: "dataspecs", version: "0.0.1", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), test_coverage: [tool: ExCoveralls],...
22.125
77
0.566586
1df2e2ca3b88cdf3e92de2ff1888ce48df153f64
1,250
ex
Elixir
lib/ex_huobi/rest/http_client.ex
fremantle-industries/ex_huobi
62d6e761d78aac3e0069eed59920aa3da06e75cd
[ "MIT" ]
1
2021-06-29T19:47:22.000Z
2021-06-29T19:47:22.000Z
lib/ex_huobi/rest/http_client.ex
fremantle-industries/ex_huobi
62d6e761d78aac3e0069eed59920aa3da06e75cd
[ "MIT" ]
6
2020-05-25T09:14:19.000Z
2020-12-21T15:52:16.000Z
lib/ex_huobi/rest/http_client.ex
fremantle-industries/ex_huobi
62d6e761d78aac3e0069eed59920aa3da06e75cd
[ "MIT" ]
1
2021-02-24T05:02:52.000Z
2021-02-24T05:02:52.000Z
defmodule ExHuobi.Rest.HTTPClient do defmacro __using__(_) do quote location: :keep do alias ExHuobi.Rest.Request @callback rest_protocol :: String.t() @callback domain :: String.t() @callback origin :: String.t() @callback api_path :: String.t() @type verb :: :get | :post | ...
28.409091
69
0.5936
1df2f168c9675f937a3af7e2d44c99e295525f25
2,736
exs
Elixir
test/erlef_web/controllers/session_controller_test.exs
ferd/website
400409d05ba91ff2a84179ed9a769196aee8f564
[ "Apache-2.0" ]
null
null
null
test/erlef_web/controllers/session_controller_test.exs
ferd/website
400409d05ba91ff2a84179ed9a769196aee8f564
[ "Apache-2.0" ]
null
null
null
test/erlef_web/controllers/session_controller_test.exs
ferd/website
400409d05ba91ff2a84179ed9a769196aee8f564
[ "Apache-2.0" ]
null
null
null
defmodule ErlefWeb.SessionControllerTest do use ErlefWeb.ConnCase test "GET /login/init", %{conn: conn} do conn = get(conn, Routes.session_path(conn, :show)) assert redirected_to(conn, 302) end describe "GET /login" do test "as a member", %{conn: conn} do params = %{ "code" => 12345,...
31.813953
66
0.594298
1df31259df29648cfbe7ac529f7d4509e0130771
3,366
exs
Elixir
mix.exs
TORIFUKUKaiou/custom_rpi4
8bf913d4a7ed556beecfd922d73ba4432048340a
[ "Apache-2.0" ]
null
null
null
mix.exs
TORIFUKUKaiou/custom_rpi4
8bf913d4a7ed556beecfd922d73ba4432048340a
[ "Apache-2.0" ]
null
null
null
mix.exs
TORIFUKUKaiou/custom_rpi4
8bf913d4a7ed556beecfd922d73ba4432048340a
[ "Apache-2.0" ]
null
null
null
defmodule CustomRpi4.MixProject do use Mix.Project @github_organization "TORIFUKUKaiou" @app :custom_rpi4 @source_url "https://github.com/#{@github_organization}/#{@app}" @version Path.join(__DIR__, "VERSION") |> File.read!() |> String.trim() def project do [ app: @app, ...
24.042857
79
0.581996
1df31b8cc69f10c7ecc53c3ef5e94b3da103e9d0
2,272
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_moderator.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_moderator.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_moderator.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...
37.866667
166
0.713908
1df328642eaf61ae66f6fac59a87cdc1affd5201
360
ex
Elixir
lib/mix/tasks/dot.ex
CityBaseInc/states_language
474b8a46f392b62d03c5ff5ed7f10f576b3166d7
[ "MIT" ]
67
2019-12-04T07:31:58.000Z
2020-04-02T21:52:44.000Z
lib/mix/tasks/dot.ex
fpalluel/states_language
a5772b6ba700651078592c71d63bc46bfbdd19b9
[ "MIT" ]
5
2019-12-04T18:53:08.000Z
2020-04-02T19:02:34.000Z
lib/mix/tasks/dot.ex
fpalluel/states_language
a5772b6ba700651078592c71d63bc46bfbdd19b9
[ "MIT" ]
7
2019-12-05T11:41:48.000Z
2020-04-02T14:08:27.000Z
defmodule Mix.Tasks.StatesLanguage.Dot do @moduledoc """ Outputs a binary version of the Dot format suitable for writing to a file """ use Mix.Task alias StatesLanguage.Serializer.Dot @shortdoc "Output .dot format" def run(file) do file |> File.read!() |> Jason.decode!() |> Dot.serialize...
20
75
0.658333
1df32e586b23b47145f8a692ff6f187b8284759a
1,224
ex
Elixir
lib/balance_sheet/endpoint.ex
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
1
2016-02-23T11:31:18.000Z
2016-02-23T11:31:18.000Z
lib/balance_sheet/endpoint.ex
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
null
null
null
lib/balance_sheet/endpoint.ex
molossus/api
39da836aa244239ad8bf55371f3e1573541eeb7a
[ "BSD-2-Clause" ]
null
null
null
defmodule BalanceSheet.Endpoint do use Phoenix.Endpoint, otp_app: :balance_sheet socket "/socket", BalanceSheet.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 files in production. plu...
28.465116
69
0.722222
1df3332bdd6d5a6e00c1833de399b68b5e18b23c
35
exs
Elixir
2020/elixir/key_value_store/.iex.exs
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/elixir/key_value_store/.iex.exs
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
2020/elixir/key_value_store/.iex.exs
herminiotorres/programmer_passport
d1786518a3a5f82471457e0ace41c4c33343739a
[ "MIT" ]
null
null
null
alias KeyValueStore.{Core, Server}
17.5
34
0.8
1df35e56cb809863f9aec061c017edc1641e3ca1
39,804
ex
Elixir
lib/ecto/query/builder.ex
fuww/ecto
b0e9a145d180e387a040edd404d04bff2c9cb9ee
[ "Apache-2.0" ]
null
null
null
lib/ecto/query/builder.ex
fuww/ecto
b0e9a145d180e387a040edd404d04bff2c9cb9ee
[ "Apache-2.0" ]
2
2020-04-23T00:19:07.000Z
2020-04-23T00:24:25.000Z
lib/ecto/query/builder.ex
fuww/ecto
b0e9a145d180e387a040edd404d04bff2c9cb9ee
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Query.Builder do @moduledoc false alias Ecto.Query @comparisons [ is_nil: 1, ==: 2, !=: 2, <: 2, >: 2, <=: 2, >=: 2 ] @dynamic_aggregates [ max: 1, min: 1, first_value: 1, last_value: 1, nth_value: 2, lag: 3, lead: 3, lag: 2, le...
34.522116
116
0.626595
1df3846d95cc81483f70c41fc1f9612366d6f115
507
ex
Elixir
web/models/challenge.ex
dummey/hard_thing_rule
4944e82931e638ed7fc40ff89acee9817628d994
[ "MIT" ]
null
null
null
web/models/challenge.ex
dummey/hard_thing_rule
4944e82931e638ed7fc40ff89acee9817628d994
[ "MIT" ]
null
null
null
web/models/challenge.ex
dummey/hard_thing_rule
4944e82931e638ed7fc40ff89acee9817628d994
[ "MIT" ]
null
null
null
defmodule HardThingRule.Challenge do use HardThingRule.Web, :model schema "challenges" do field :objective, :string field :owner_name, :string field :email, :string has_many :check_ins, HardThingRule.CheckIn timestamps() end @doc """ Builds a changeset based on the `struct` and `params`...
22.043478
59
0.668639
1df39696643cc98cd29a867d0b573259a2842828
3,733
ex
Elixir
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/pose.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/pose.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/model/pose.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 ...
44.975904
161
0.702384
1df3afe09b6f27949298a0b917d74281d9013e4f
963
ex
Elixir
lib/nerves_hub_link/client/default.ex
jfcloutier/nerves_hub_link
85e912a503ca7b26f70dfda6cffb011171d77c84
[ "Apache-2.0" ]
24
2020-01-13T18:47:47.000Z
2022-01-31T03:30:58.000Z
lib/nerves_hub_link/client/default.ex
jfcloutier/nerves_hub_link
85e912a503ca7b26f70dfda6cffb011171d77c84
[ "Apache-2.0" ]
36
2020-02-06T23:16:52.000Z
2021-12-09T01:54:53.000Z
lib/nerves_hub_link/client/default.ex
jfcloutier/nerves_hub_link
85e912a503ca7b26f70dfda6cffb011171d77c84
[ "Apache-2.0" ]
9
2020-06-04T10:31:55.000Z
2022-03-30T17:49:24.000Z
defmodule NervesHubLink.Client.Default do @moduledoc """ Default NervesHubLink.Client implementation This client always accepts an update. """ @behaviour NervesHubLink.Client require Logger @impl NervesHubLink.Client def update_available(_), do: :apply @impl NervesHubLink.Client def handle_fwup_...
24.075
65
0.712357
1df3b32b0bdaee90a482959d576440490ae662f4
2,461
ex
Elixir
learning/gnome/game/hangman/lib/hangman/game.ex
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
2
2020-01-20T20:15:20.000Z
2020-02-27T11:08:42.000Z
learning/gnome/game/hangman/lib/hangman/game.ex
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
learning/gnome/game/hangman/lib/hangman/game.ex
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
defmodule Hangman.Game do defstruct turns_left: 7, game_state: :initializing, letters: [], used: MapSet.new() @typedoc """ Type that represents `Hangman.Game` struct. """ @type t() :: %Hangman.Game{ turns_left: integer, game_state: atom, lette...
26.75
85
0.621292
1df3eaa0f9b298396b57e3f07c90c5d5d53a7112
3,679
exs
Elixir
mix.exs
wojtekmach/zigler
b2102744bff212351abfeb4f6d87e57dd1ab232c
[ "MIT" ]
null
null
null
mix.exs
wojtekmach/zigler
b2102744bff212351abfeb4f6d87e57dd1ab232c
[ "MIT" ]
null
null
null
mix.exs
wojtekmach/zigler
b2102744bff212351abfeb4f6d87e57dd1ab232c
[ "MIT" ]
null
null
null
defmodule Zigler.MixProject do use Mix.Project # for the Zig application, tests are divided into two groups: Unit tests # are all tests which don't require any sort of zig compilation and # integration tests are all tests which do. # # `mix test` will run the full suite of tests. # `mix test.unit` will ...
36.79
99
0.618646
1df45a86b51a1bad72f0911315cf1f2ca8be99b5
778
ex
Elixir
lib/jeopardy_web/components/tv/final_jeopardy/revealing_final_scores.ex
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
null
null
null
lib/jeopardy_web/components/tv/final_jeopardy/revealing_final_scores.ex
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
32
2020-06-08T14:50:46.000Z
2021-01-01T05:40:44.000Z
lib/jeopardy_web/components/tv/final_jeopardy/revealing_final_scores.ex
ryoung786/jeopardy
5558fc49013c5a22e556a0040cbc116aa8f63912
[ "MIT" ]
null
null
null
defmodule JeopardyWeb.Components.TV.FinalJeopardy.RevealingFinalScores do use JeopardyWeb.Components.Base, :tv @impl true def mount(socket) do {:ok, assign(socket, signatures: [])} end @impl true def handle_event("game_over", _params, socket) do Engine.event(:reveal_complete, socket.assigns.game.i...
25.933333
77
0.686375
1df46cd43a1c137b1b116dd0434559ccc8b8982b
581
exs
Elixir
bench/locale_and_backend_from.exs
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
179
2019-06-16T09:16:00.000Z
2022-03-30T04:04:55.000Z
bench/locale_and_backend_from.exs
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
46
2019-06-09T02:35:58.000Z
2022-03-08T10:39:08.000Z
bench/locale_and_backend_from.exs
KineticCafe/cldr
7b84cd85564bca4a2c4e01c02ee0aa284bf07367
[ "Apache-2.0" ]
14
2020-03-03T16:35:50.000Z
2022-02-27T14:01:40.000Z
# locale = Cldr.Locale.new!("en", MyApp.Cldr) Benchee.run( %{ # "Cldr.locale_and_backend_from([])" => fn -> Cldr.locale_and_backend_from([]) end, # "Cldr.locale_and_backend_from(nil, nil)" => fn -> Cldr.locale_and_backend_from(nil, nil) end, # "Cldr.locale_and_backend_from(locale, nil)" => fn -> Cldr.loc...
41.5
105
0.674699
1df47e41477e9c126ce8ff149a4c048db1bed32d
1,576
exs
Elixir
mix.exs
Project-ShangriLa/sana_server_phoenix
d2ea4cc023d02e7249ae9267bb2b41a212b79ce7
[ "Apache-2.0" ]
5
2015-11-07T11:27:08.000Z
2017-06-23T00:54:20.000Z
mix.exs
Project-ShangriLa/sana_server_phoenix
d2ea4cc023d02e7249ae9267bb2b41a212b79ce7
[ "Apache-2.0" ]
null
null
null
mix.exs
Project-ShangriLa/sana_server_phoenix
d2ea4cc023d02e7249ae9267bb2b41a212b79ce7
[ "Apache-2.0" ]
null
null
null
defmodule SanaServerPhoenix.Mixfile do use Mix.Project def project do [app: :sana_server_phoenix, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod,...
29.185185
78
0.609772
1df484e873eb6e9126d4a53de70a62832eb70b31
117
ex
Elixir
apps/eigr_functions/lib/functions/value_entity/server.ex
sleipnir/permastate-elixir
43cda3a186819c9cfd3ce993907f24251c9ef42b
[ "Apache-2.0" ]
2
2021-07-28T23:02:24.000Z
2021-07-29T00:34:42.000Z
apps/eigr_functions/lib/functions/value_entity/server.ex
sleipnir/permastate-elixir
43cda3a186819c9cfd3ce993907f24251c9ef42b
[ "Apache-2.0" ]
null
null
null
apps/eigr_functions/lib/functions/value_entity/server.ex
sleipnir/permastate-elixir
43cda3a186819c9cfd3ce993907f24251c9ef42b
[ "Apache-2.0" ]
1
2021-07-28T21:31:12.000Z
2021-07-28T21:31:12.000Z
defmodule Functions.ValueEntity.Server do use GRPC.Server, service: Cloudstate.Valueentity.ValueEntity.Service end
29.25
70
0.846154
1df4ac75cf1e18445aa38ff89d260295208fedb7
1,628
ex
Elixir
lib/survey_api_web/endpoint.ex
AkioCode/elixir-survey
420f4e5f60b84d381707f162b473dd91eb0fe9f2
[ "MIT" ]
null
null
null
lib/survey_api_web/endpoint.ex
AkioCode/elixir-survey
420f4e5f60b84d381707f162b473dd91eb0fe9f2
[ "MIT" ]
null
null
null
lib/survey_api_web/endpoint.ex
AkioCode/elixir-survey
420f4e5f60b84d381707f162b473dd91eb0fe9f2
[ "MIT" ]
null
null
null
defmodule SurveyApiWeb.Endpoint do use Phoenix.Endpoint, otp_app: :survey_api # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_surv...
29.6
97
0.721744
1df4cd5895564546698d7769caf16d142dda0cfb
510
ex
Elixir
lib/lotus/article_meta.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
3
2021-09-20T10:34:15.000Z
2021-09-20T16:23:07.000Z
lib/lotus/article_meta.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
null
null
null
lib/lotus/article_meta.ex
code-shoily/lotus
d14958956103f2376d51974f40bcc7d7c59c2ad9
[ "MIT" ]
1
2021-11-23T13:10:27.000Z
2021-11-23T13:10:27.000Z
defmodule Lotus.ArticleMeta do @moduledoc """ Article meta to be used in slot """ use Surface.Component, slot: "article_meta" use Lotus.Props.Text use Lotus.Props.Utility use Lotus.Props.FallbackClass slot default def render(assigns) do ~F""" <p class={article_meta_class(assigns)}> <#s...
19.615385
55
0.658824
1df4dcb6db6722577d6ec93464acc9a5f0db2ff5
1,210
exs
Elixir
mix.exs
jthacker/cobs-elixir
1d4da7b131ae3fb184d404d4db5bda6791926533
[ "Apache-2.0" ]
null
null
null
mix.exs
jthacker/cobs-elixir
1d4da7b131ae3fb184d404d4db5bda6791926533
[ "Apache-2.0" ]
null
null
null
mix.exs
jthacker/cobs-elixir
1d4da7b131ae3fb184d404d4db5bda6791926533
[ "Apache-2.0" ]
null
null
null
defmodule Cobs.Mixfile do use Mix.Project def project do [ app: :cobs, version: "0.2.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, description: description(), package: package(), deps: deps(), name: "Cobs", source_url: "https://github.com/krodeli...
22
88
0.565289
1df4f63d035c3515de08a4706c95f4934887798c
8,708
ex
Elixir
lib/teiserver/battle.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
1
2021-02-23T22:34:12.000Z
2021-02-23T22:34:12.000Z
lib/teiserver/battle.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
null
null
null
lib/teiserver/battle.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
null
null
null
defmodule Teiserver.Battle do @moduledoc """ The Battle context. """ import Ecto.Query, warn: false alias Central.Helpers.QueryHelpers alias Central.Repo alias Teiserver.{Telemetry, Coordinator} alias Teiserver.Battle.Lobby alias Teiserver.Battle.Match alias Teiserver.Battle.MatchLib alias Teise...
23.72752
91
0.634015
1df543c6958a956538d674d742163c0685ed5058
2,052
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_ban.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_ban.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_ban.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...
36
154
0.704191
1df58f6386ebf79b34620cd057f4980b59f02426
4,058
ex
Elixir
lib/hello/accounts.ex
noahjames404/elixir-pheonix-framework
c1587709d67ef7c9bad247d4fe4ec80e23e4041b
[ "MIT" ]
null
null
null
lib/hello/accounts.ex
noahjames404/elixir-pheonix-framework
c1587709d67ef7c9bad247d4fe4ec80e23e4041b
[ "MIT" ]
null
null
null
lib/hello/accounts.ex
noahjames404/elixir-pheonix-framework
c1587709d67ef7c9bad247d4fe4ec80e23e4041b
[ "MIT" ]
null
null
null
defmodule Hello.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias Hello.Repo alias Hello.Accounts.{User, Credential} @doc """ Returns the list of users. ## Examples iex> list_users() [%User{}, ...] """ def list_users do User |> Repo...
18.279279
76
0.598324
1df5a3a76bc5ddafab06fb59fc3f0ac429c80466
740
exs
Elixir
apps/ewallet/test/ewallet/exporters/exporter_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/exporters/exporter_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/test/ewallet/exporters/exporter_test.exs
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
32.173913
74
0.754054
1df60a8e07075d2bc54f38f69b27603e2ec5a34f
3,145
exs
Elixir
lib/elixir/test/elixir/kernel/docs_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/kernel/docs_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/docs_test.exs
mk/elixir
2b2c66ecf7b1cc2167cae9cc3e88f950994223f1
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.DocsTest do use ExUnit.Case @moduledoc "foo" "foo" = @moduledoc @typedoc "foo" "foo" = @typedoc @type foo :: term @doc "foo" "foo" = @doc test "compiled with docs" do deftestmodule(SampleDocs) docs = Code.get_docs(SampleDocs...
25.778689
100
0.508426
1df62679833e671eba33be25744ddfd479f486ce
69
exs
Elixir
test/apps/gen_migration/config/config.exs
mori5321/yacto
85d6f216fd7ae16825c03e9772cb75a06b495245
[ "Apache-2.0" ]
null
null
null
test/apps/gen_migration/config/config.exs
mori5321/yacto
85d6f216fd7ae16825c03e9772cb75a06b495245
[ "Apache-2.0" ]
null
null
null
test/apps/gen_migration/config/config.exs
mori5321/yacto
85d6f216fd7ae16825c03e9772cb75a06b495245
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :yacto, :migration, index_name_max_length: 20
17.25
52
0.797101
1df629841ab7511a2e25b7f6f3ee432412d70416
3,365
exs
Elixir
priv/cabbage/apps/itest/test/test_helper.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
priv/cabbage/apps/itest/test/test_helper.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
priv/cabbage/apps/itest/test/test_helper.exs
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 ...
29.008621
115
0.701634
1df62d2c2b422f4659b0b3601e0aa8dc6a2bef56
1,602
ex
Elixir
lib/cgrates_web_jsonapi/tariff_plans/tp_threshold.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
2
2018-10-03T07:41:32.000Z
2021-03-21T11:27:27.000Z
lib/cgrates_web_jsonapi/tariff_plans/tp_threshold.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
1
2018-10-31T04:55:59.000Z
2018-10-31T04:55:59.000Z
lib/cgrates_web_jsonapi/tariff_plans/tp_threshold.ex
max-konin/cgrates_web_jsonapi
e82690e343d790b0f77dea6699483fcb6fd8a162
[ "MIT" ]
5
2018-09-27T11:30:44.000Z
2021-01-16T08:28:58.000Z
defmodule CgratesWebJsonapi.TariffPlans.TpThreshold do use Ecto.Schema import Ecto.Changeset use EctoConditionals, repo: CgratesWebJsonapi.Repo @attributes ~w[tpid tenant custom_id action_ids filter_ids min_sleep activation_interval max_hits min_hits async blocker weight]a use CgratesWebJson...
30.807692
78
0.685393
1df68c02bcadc76ce2a9a04432847df2cd0090f7
718
ex
Elixir
lib/chat_api_web/controllers/user_profile_controller.ex
rlanga/papercups
358ca46c344908585cd0214a0de96e5676120c68
[ "MIT" ]
1
2020-08-13T15:11:12.000Z
2020-08-13T15:11:12.000Z
lib/chat_api_web/controllers/user_profile_controller.ex
rlanga/papercups
358ca46c344908585cd0214a0de96e5676120c68
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/user_profile_controller.ex
rlanga/papercups
358ca46c344908585cd0214a0de96e5676120c68
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.UserProfileController do use ChatApiWeb, :controller alias ChatApi.Users action_fallback ChatApiWeb.FallbackController def show(conn, _params) do with %{id: user_id} <- conn.assigns.current_user do user_profile = Users.get_user_profile(user_id) render(conn, "show.json", u...
29.916667
75
0.722841
1df68d4304cfb57e07e2ebb93cc34ab48febeb81
268
exs
Elixir
config/test.exs
palm86/hex_flora
26dc95f948763507b4d7cb643d98696936b45e07
[ "CC-BY-3.0" ]
null
null
null
config/test.exs
palm86/hex_flora
26dc95f948763507b4d7cb643d98696936b45e07
[ "CC-BY-3.0" ]
8
2021-06-04T18:50:28.000Z
2021-08-08T19:43:46.000Z
config/test.exs
palm86/hex_flora
26dc95f948763507b4d7cb643d98696936b45e07
[ "CC-BY-3.0" ]
null
null
null
import Config # We don't run a server during test. If one is required, # you can enable the server option below. config :hex_flora, HexFloraWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn
24.363636
56
0.742537
1df6c3ccd6f44f042b0238fa6d2a998dfed265eb
44,807
exs
Elixir
lib/elixir/test/elixir/kernel/warning_test.exs
NJichev/elixir
aef81d1aadfd9522ab4efb6d04103a73584ac9a1
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/elixir/test/elixir/kernel/warning_test.exs
NJichev/elixir
aef81d1aadfd9522ab4efb6d04103a73584ac9a1
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/warning_test.exs
NJichev/elixir
aef81d1aadfd9522ab4efb6d04103a73584ac9a1
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.WarningTest do use ExUnit.Case import ExUnit.CaptureIO defp capture_err(fun) do capture_io(:stderr, fun) end test "outdented heredoc" do output = capture_err(fn -> Code.eval_string(""" ''' outdented ...
26.575919
149
0.492579
1df6d1fc83dd7e92dffe915c0658a013c05e7571
2,727
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/network_endpoint.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/network_endpoint.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/network_endpoint.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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...
44.704918
369
0.716172
1df6eb5d5dbd3b3f6e20f52bdfcc0423916a58c0
13,446
ex
Elixir
apps/core/lib/core/services/accounts.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
1
2021-12-13T09:43:15.000Z
2021-12-13T09:43:15.000Z
apps/core/lib/core/services/accounts.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
null
null
null
apps/core/lib/core/services/accounts.ex
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
null
null
null
defmodule Core.Services.Accounts do use Core.Services.Base import Core.Policies.Account alias Core.PubSub alias Core.Services.Users alias Core.Schema.{ User, Account, Group, GroupMember, Invite, Role, IntegrationWebhook, OAuthIntegration, DomainMapping } @type account_...
31.787234
122
0.650379
1df714bcc4c2f942ee1752816a12f6709a009307
1,496
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/model/empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/model/empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/model/empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.619048
282
0.764037
1df716b8408652dd751a24119571592c0c2be619
4,010
exs
Elixir
test/extatus/metric/histogram_test.exs
gmtprime/extatus
e9bf16cb1e83d2c4225c66d7c0bfdfb40993de03
[ "MIT" ]
17
2017-03-01T07:19:46.000Z
2021-11-25T21:57:38.000Z
test/extatus/metric/histogram_test.exs
gmtprime/extatus
e9bf16cb1e83d2c4225c66d7c0bfdfb40993de03
[ "MIT" ]
1
2018-04-02T11:09:28.000Z
2018-04-02T14:33:30.000Z
test/extatus/metric/histogram_test.exs
gmtprime/extatus
e9bf16cb1e83d2c4225c66d7c0bfdfb40993de03
[ "MIT" ]
1
2021-12-14T20:49:02.000Z
2021-12-14T20:49:02.000Z
defmodule Extatus.Metric.HistogramTest do use ExUnit.Case, async: true alias Extatus.Sandbox.Metric @metric :histogram_test defmodule HistogramTest do use Extatus.Metric @metric :histogram_test defmetrics do histogram @metric do label :label registry :default help ...
21.912568
78
0.614713
1df7349b4b43b62adc880b2389b4da871b841c9f
702
ex
Elixir
apps/ehealth_scheduler/lib/ehealth_scheduler/application.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/ehealth_scheduler/lib/ehealth_scheduler/application.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/ehealth_scheduler/lib/ehealth_scheduler/application.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule EHealthScheduler.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application alias EHealthScheduler.Contracts.Terminator, as: ContractsTerminator alias EHealthScheduler.Worker def start(_type, _args) do # List ...
28.08
70
0.725071
1df73d8a993f3a7dfa18590317aa78e541ae8309
817
ex
Elixir
lib/queries/table_size.ex
blockfi/ecto_psql_extras
27602dfb9d508b8ad3a904b1962d8a837128b0c7
[ "MIT" ]
278
2020-08-04T12:38:29.000Z
2022-03-25T15:14:28.000Z
lib/queries/table_size.ex
blockfi/ecto_psql_extras
27602dfb9d508b8ad3a904b1962d8a837128b0c7
[ "MIT" ]
21
2020-09-27T14:38:21.000Z
2021-11-08T22:44:46.000Z
lib/queries/table_size.ex
blockfi/ecto_psql_extras
27602dfb9d508b8ad3a904b1962d8a837128b0c7
[ "MIT" ]
15
2020-09-28T18:08:25.000Z
2022-03-22T11:26:21.000Z
defmodule EctoPSQLExtras.TableSize do @behaviour EctoPSQLExtras def info do %{ title: "Size of the tables (excluding indexes), descending by size", order_by: [size: :desc], columns: [ %{name: :schema, type: :string}, %{name: :name, type: :string}, %{name: :size, type: ...
27.233333
86
0.615667
1df7668e81216a0d3210fe604337d1780cc1dace
1,551
ex
Elixir
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_scale_set_network_configuration_properties.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_scale_set_network_configuration_properties.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Compute/lib/microsoft/azure/management/compute/model/virtual_machine_scale_set_network_configuration_properties.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Compute.Model.VirtualMachineScaleSetNetworkConfigurationProperties do @moduledoc """ Describes a virtual machine sc...
38.775
148
0.764668
1df7737c408ee660b44ad8edb8f78d16ca49f073
1,896
ex
Elixir
lib/lullabeam/library_monitor.ex
snow-jallen/lullabeam
9ba830c71075c5ab58253db9ccb21b5bbffb4fbd
[ "MIT" ]
null
null
null
lib/lullabeam/library_monitor.ex
snow-jallen/lullabeam
9ba830c71075c5ab58253db9ccb21b5bbffb4fbd
[ "MIT" ]
null
null
null
lib/lullabeam/library_monitor.ex
snow-jallen/lullabeam
9ba830c71075c5ab58253db9ccb21b5bbffb4fbd
[ "MIT" ]
null
null
null
defmodule Lullabeam.LibraryMonitor do use GenServer alias Lullabeam.{FileUtil, Library} use Lullabeam.Log @check_interval 5_000 @moduledoc """ Searches for music library in expected location(s) and delays startup until it is found. TODO: After startup, check periodically to see if USB stick is still ...
28.298507
91
0.699895
1df77783aa7acd322a68314deef5c6be4b53af74
471
ex
Elixir
lib/exfmt/syntax_error.ex
securingsincity/exfmt
4fbd403abfc71df92ee67037804d6310bb45b272
[ "Apache-2.0" ]
510
2017-05-06T02:01:13.000Z
2021-11-15T09:47:41.000Z
lib/exfmt/syntax_error.ex
Jason-Cooke/exfmt
3a5d0808e77858520d52bb25752bc00cc0605c4d
[ "Apache-2.0" ]
75
2017-05-31T20:14:40.000Z
2019-07-22T12:54:20.000Z
lib/exfmt/syntax_error.ex
Jason-Cooke/exfmt
3a5d0808e77858520d52bb25752bc00cc0605c4d
[ "Apache-2.0" ]
25
2017-05-31T02:17:25.000Z
2019-07-20T10:02:21.000Z
defmodule Exfmt.SyntaxError do defexception [:message, :line] @type t :: %__MODULE__{__exception__: true, line: non_neg_integer, message: String.t} @spec exception({non_neg_integer, String.t, String.t}) :: t def exception({line, m1, m2}) do %__MODULE__{lin...
27.705882
61
0.605096
1df7860d7ebb036e8306ad199759e347f335fe4a
68
ex
Elixir
lib/stripe_app_web/views/buyplan_view.ex
hotpyn/stripe_demo
2a0ac3ab34a616ffcd6d7e979c25517b5f1636b5
[ "MIT" ]
null
null
null
lib/stripe_app_web/views/buyplan_view.ex
hotpyn/stripe_demo
2a0ac3ab34a616ffcd6d7e979c25517b5f1636b5
[ "MIT" ]
null
null
null
lib/stripe_app_web/views/buyplan_view.ex
hotpyn/stripe_demo
2a0ac3ab34a616ffcd6d7e979c25517b5f1636b5
[ "MIT" ]
null
null
null
defmodule StripeAppWeb.BuyplanView do use StripeAppWeb, :view end
17
37
0.823529
1df78e4f0828f1af3be9a3e205622c985cbccc71
5,978
ex
Elixir
lib/sentry/config.ex
wingyplus/sentry-elixir
57cf8b50f61d04d12dd87c326ceabc663dd5b5d6
[ "MIT" ]
null
null
null
lib/sentry/config.ex
wingyplus/sentry-elixir
57cf8b50f61d04d12dd87c326ceabc663dd5b5d6
[ "MIT" ]
null
null
null
lib/sentry/config.ex
wingyplus/sentry-elixir
57cf8b50f61d04d12dd87c326ceabc663dd5b5d6
[ "MIT" ]
null
null
null
defmodule Sentry.Config do @moduledoc """ This module provides the functionality for fetching configuration settings and their defaults. Sentry supports loading config at runtime, via `{:system, "SYSTEM_ENV_KEY"}` tuples, where Sentry will read `SYSTEM_ENV_KEY` to get the config value from the system environment...
26.219298
190
0.698729
1df79bad5c9a42f4772ab64c36affb3e72ff2ce0
1,587
exs
Elixir
test/ex_ftx/orders/cancel_by_order_id_test.exs
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-09-27T17:19:41.000Z
2022-03-16T09:28:13.000Z
test/ex_ftx/orders/cancel_by_order_id_test.exs
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
3
2021-07-28T19:53:02.000Z
2021-09-27T15:48:38.000Z
test/ex_ftx/orders/cancel_by_order_id_test.exs
RaghavSood/ex_ftx
257ba35221abe4957836eb6e8312ecae0d9d51aa
[ "MIT" ]
4
2021-08-01T11:25:58.000Z
2021-10-11T22:15:44.000Z
defmodule ExFtx.Orders.CancelByOrderIdTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney doctest ExFtx.Orders.CancelByOrderId setup_all do HTTPoison.start() :ok end @valid_credentials %ExFtx.Credentials{ api_key: System.get_env("FTX_API_KEY"), api_secret: ...
28.339286
89
0.693132
1df7a58e01de51dcf2262fec68dc54a5af7ea86d
734
ex
Elixir
lib/sparrow/hns/v1/supervisor.ex
muratgurdal/sparrow
0bb9ff4c4ab21802bcba369b3496749d2637b473
[ "Apache-2.0" ]
null
null
null
lib/sparrow/hns/v1/supervisor.ex
muratgurdal/sparrow
0bb9ff4c4ab21802bcba369b3496749d2637b473
[ "Apache-2.0" ]
null
null
null
lib/sparrow/hns/v1/supervisor.ex
muratgurdal/sparrow
0bb9ff4c4ab21802bcba369b3496749d2637b473
[ "Apache-2.0" ]
1
2021-07-06T11:29:18.000Z
2021-07-06T11:29:18.000Z
defmodule Sparrow.HNS.V1.Supervisor do @moduledoc """ Main HNS supervisor. Supervises HNS token bearer and pool supervisor. """ use Supervisor @spec start_link([Keyword.t()]) :: Supervisor.on_start() def start_link(arg) do Supervisor.start_link(__MODULE__, arg) end @spec init([Keyword.t()]) :: ...
26.214286
74
0.662125
1df7aaae614999045d083c3d7532d03ef1ed5733
2,720
exs
Elixir
mix.exs
Qizot/ex_doc
69b589d1011ee0ed5ed7890e170cab1480181bf0
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
mix.exs
Qizot/ex_doc
69b589d1011ee0ed5ed7890e170cab1480181bf0
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
mix.exs
Qizot/ex_doc
69b589d1011ee0ed5ed7890e170cab1480181bf0
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Mixfile do use Mix.Project @source_url "https://github.com/elixir-lang/ex_doc" @version "0.26.0-dev" def project do [ app: :ex_doc, version: @version, elixir: "~> 1.10", deps: deps(), aliases: aliases(), package: package(), escript: escript(), ...
23.859649
89
0.552941
1df7b3825b04aa617e60b8131e6ea9a834441db6
1,309
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/diagnose_cluster_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/diagnose_cluster_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/diagnose_cluster_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
31.166667
82
0.766998
1df7bcd2b1c16202e5a59358cc0b419ed43a4ec7
2,695
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_safe_search_annotation.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_safe_search_annotation.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_safe_search_annotation.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...
36.917808
127
0.709091
1df7c669b48850275c12f682d1996324bc82ea50
4,786
ex
Elixir
lib/bonny/crd.ex
victoriavilasb/bonny
c5f2b3f69d8f4750d796a619d71692d76445b509
[ "MIT" ]
null
null
null
lib/bonny/crd.ex
victoriavilasb/bonny
c5f2b3f69d8f4750d796a619d71692d76445b509
[ "MIT" ]
null
null
null
lib/bonny/crd.ex
victoriavilasb/bonny
c5f2b3f69d8f4750d796a619d71692d76445b509
[ "MIT" ]
null
null
null
defmodule Bonny.CRD do @moduledoc """ Represents the `spec` portion of a Kubernetes [CustomResourceDefinition](https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/) manifest. > The CustomResourceDefinition API resource allows you to define custom resources. Definin...
28.831325
266
0.628918
1df7cede770cf39633f5abcb3e467db58beb7dbc
1,569
ex
Elixir
server/lib/echoppe_web/endpoint.ex
d-exclaimation/echoppe
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
1
2021-05-13T00:53:52.000Z
2021-05-13T00:53:52.000Z
server/lib/echoppe_web/endpoint.ex
d-exclaimation/ez-cart
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
1
2021-06-02T19:18:10.000Z
2021-06-07T16:44:36.000Z
server/lib/echoppe_web/endpoint.ex
d-exclaimation/ez-cart
d430439a5fff28a15d44ccf9881caced89e7303f
[ "Apache-2.0" ]
null
null
null
defmodule EchoppeWeb.Endpoint do use Phoenix.Endpoint, otp_app: :echoppe # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_echoppe_k...
28.017857
97
0.710644
1df7df9f88bd9cd714923db6c0974ac0a1de4de8
2,172
ex
Elixir
clients/plus_domains/lib/google_api/plus_domains/v1/model/place.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/plus_domains/lib/google_api/plus_domains/v1/model/place.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/plus_domains/lib/google_api/plus_domains/v1/model/place.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 ...
36.813559
128
0.699355
1df80c81c838e63c78fc9294485600eca04a7f0e
753
exs
Elixir
test/json_schema_test_suite/draft7/min_length_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
54
2019-03-10T19:51:07.000Z
2021-12-23T07:31:09.000Z
test/json_schema_test_suite/draft7/min_length_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
36
2018-05-20T09:13:20.000Z
2021-03-14T15:22:03.000Z
test/json_schema_test_suite/draft7/min_length_test.exs
hrzndhrn/json_xema
955eab7b0919d144b38364164d90275201c89474
[ "MIT" ]
3
2019-04-12T09:08:51.000Z
2019-12-04T01:23:56.000Z
defmodule JsonSchemaTestSuite.Draft7.MinLengthTest do use ExUnit.Case import JsonXema, only: [valid?: 2] describe ~s|minLength validation| do setup do %{schema: JsonXema.new(%{"minLength" => 2})} end test ~s|longer is valid|, %{schema: schema} do assert valid?(schema, "foo") end ...
23.53125
90
0.628154
1df835dbf051d229ca6349a8b2b1e01d351c49c5
5,461
exs
Elixir
mix.exs
Sameday-Health/oban
5c6edec792e58ed16a52c8f28397dd2ceb5d8f52
[ "Apache-2.0" ]
null
null
null
mix.exs
Sameday-Health/oban
5c6edec792e58ed16a52c8f28397dd2ceb5d8f52
[ "Apache-2.0" ]
null
null
null
mix.exs
Sameday-Health/oban
5c6edec792e58ed16a52c8f28397dd2ceb5d8f52
[ "Apache-2.0" ]
null
null
null
defmodule Oban.MixProject do use Mix.Project @source_url "https://github.com/sorentwo/oban" @version "2.11.0-dev" def project do [ app: :oban, version: @version, elixir: "~> 1.11", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(...
28.591623
89
0.561985
1df8494a635dc08b67064b4e89932e4017d88fb2
566
exs
Elixir
test/game/command/equipment_test.exs
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
test/game/command/equipment_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
test/game/command/equipment_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.Command.EquipmentTest do use ExVenture.CommandCase alias Game.Command.Equipment doctest Equipment setup do start_and_clear_items() insert_item(%{id: 1, name: "Sword"}) insert_item(%{id: 2, name: "Shield"}) insert_item(%{id: 3, name: "Leather Chest"}) {:ok, %{socket: :socke...
23.583333
98
0.64841
1df8685fac812543d6f762fe8e821805001b442c
10,037
exs
Elixir
lib/mix/test/test_helper.exs
AndreOrlov/elixir
1e4222d1277a28de1895b70c4b54f771be8e5277
[ "Apache-2.0" ]
243
2020-02-03T03:48:51.000Z
2021-11-08T12:56:25.000Z
lib/mix/test/test_helper.exs
AndreOrlov/elixir
1e4222d1277a28de1895b70c4b54f771be8e5277
[ "Apache-2.0" ]
null
null
null
lib/mix/test/test_helper.exs
AndreOrlov/elixir
1e4222d1277a28de1895b70c4b54f771be8e5277
[ "Apache-2.0" ]
null
null
null
Mix.start() Mix.shell(Mix.Shell.Process) Application.put_env(:mix, :colors, enabled: false) Logger.remove_backend(:console) Application.put_env(:logger, :backends, []) os_exclude = if match?({:win32, _}, :os.type()), do: [unix: true], else: [windows: true] epmd_exclude = if match?({:win32, _}, :os.type()), do: [epmd:...
22.708145
88
0.627379
1df869db28b9bcaccfa41e940740ca2f11bcd547
2,301
ex
Elixir
lib/alchemetrics_tesla.ex
globocom/alchemetrics-tesla
4b1c464766653b8adab00f95b9abb5015f9de900
[ "MIT" ]
8
2017-09-18T22:52:13.000Z
2019-05-08T05:56:45.000Z
lib/alchemetrics_tesla.ex
globocom/alchemetrics-tesla
4b1c464766653b8adab00f95b9abb5015f9de900
[ "MIT" ]
null
null
null
lib/alchemetrics_tesla.ex
globocom/alchemetrics-tesla
4b1c464766653b8adab00f95b9abb5015f9de900
[ "MIT" ]
5
2017-09-19T10:25:43.000Z
2018-10-08T11:36:39.000Z
defmodule AlchemetricsTesla do import Alchemetrics @report_namespace "external_call" defmacro __using__(service_name: service_name) do quote do @service_name unquote(service_name) end end def report_service_route(method, %URI{host: domain, port: port, scheme: protocol}, service_name, extra_me...
29.126582
127
0.69535
1df897e93123ebb4a9139fae4a8e5c9351308cc4
76
exs
Elixir
config/prod.exs
joaomdmoura/shiphawk-elixir
ef0344ca163bf02e6c54786b2bbe6f81ce7d9b62
[ "MIT" ]
null
null
null
config/prod.exs
joaomdmoura/shiphawk-elixir
ef0344ca163bf02e6c54786b2bbe6f81ce7d9b62
[ "MIT" ]
null
null
null
config/prod.exs
joaomdmoura/shiphawk-elixir
ef0344ca163bf02e6c54786b2bbe6f81ce7d9b62
[ "MIT" ]
null
null
null
use Mix.Config config :shiphawk, adapter: Shiphawk.Request.Adapters.HTTP
15.2
41
0.789474
1df8f2f3f8973e839e2734e006edcec84c3e05c5
1,496
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/source_scoring_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/source_scoring_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/source_scoring_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.829787
91
0.747326
1df90b21b9144376576742e8294dca118a93891f
894
ex
Elixir
clients/cloud_functions/lib/google_api/cloud_functions/v1/metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
clients/cloud_functions/lib/google_api/cloud_functions/v1/metadata.ex
corp-momenti/elixir-google-api
fe1580e305789ab2ca0741791b8ffe924bd3240c
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.111111
74
0.761745
1df91ffe8bd8911846b0456d835e242e5bd13647
4,170
ex
Elixir
clients/billing_budgets/lib/google_api/billing_budgets/v1/model/google_cloud_billing_budgets_v1_budget.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/lib/google_api/billing_budgets/v1/model/google_cloud_billing_budgets_v1_budget.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/billing_budgets/lib/google_api/billing_budgets/v1/model/google_cloud_billing_budgets_v1_budget.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...
54.868421
326
0.7494
1df947902a462ae6dedf8e37604480dda853740e
1,580
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/projects_enable_xpn_resource_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/compute/lib/google_api/compute/v1/model/projects_enable_xpn_resource_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/projects_enable_xpn_resource_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.617021
139
0.755063
1df95be05b1fadee76b2e1f970ce4c53f43393a4
3,451
exs
Elixir
test/relay/marathon/adapter_test.exs
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
5
2018-10-12T13:13:19.000Z
2020-10-03T17:51:37.000Z
test/relay/marathon/adapter_test.exs
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
207
2018-02-09T14:24:14.000Z
2020-07-25T11:09:19.000Z
test/relay/marathon/adapter_test.exs
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
1
2019-08-08T11:30:59.000Z
2019-08-08T11:30:59.000Z
defmodule Relay.Marathon.AdapterTest do use ExUnit.Case, async: true alias Relay.Marathon.{Adapter, App, Task} alias Relay.Resources.AppEndpoint alias Envoy.Api.V2.Cluster alias Google.Protobuf.Duration @test_app %App{ id: "/mc2", labels: %{ "HAPROXY_0_REDIRECT_TO_HTTPS" => "false", ...
28.056911
96
0.59461
1df965af3eec18a87c966c8131d1ab043c22edf0
3,419
ex
Elixir
clients/health_care/lib/google_api/health_care/v1/model/google_cloud_healthcare_v1_dicom_gcs_destination.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/health_care/lib/google_api/health_care/v1/model/google_cloud_healthcare_v1_dicom_gcs_destination.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/health_care/lib/google_api/health_care/v1/model/google_cloud_healthcare_v1_dicom_gcs_destination.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...
62.163636
1,433
0.755484
1df98463d5a79eeecc858b7f595dd87423d56393
4,069
ex
Elixir
lib/paginator/ecto/query.ex
0nkery/paginator
a7369bc2ab47d46c0b9431fe1aa887a532f92c56
[ "MIT" ]
1
2021-09-17T14:58:46.000Z
2021-09-17T14:58:46.000Z
lib/paginator/ecto/query.ex
0nkery/paginator
a7369bc2ab47d46c0b9431fe1aa887a532f92c56
[ "MIT" ]
null
null
null
lib/paginator/ecto/query.ex
0nkery/paginator
a7369bc2ab47d46c0b9431fe1aa887a532f92c56
[ "MIT" ]
1
2019-04-02T09:21:57.000Z
2019-04-02T09:21:57.000Z
defmodule Paginator.Ecto.Query do @moduledoc false import Ecto.Query alias Paginator.Config def paginate(queryable, config \\ []) def paginate(queryable, %Config{} = config) do queryable |> maybe_where(config) |> limit(^query_limit(config)) end def paginate(queryable, opts) do paginat...
24.810976
106
0.58319
1df98e4282e48f57c3bf89d1e1274ae15ffb15c0
11,276
exs
Elixir
test/os/lua/ext/data_manipulation_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/os/lua/ext/data_manipulation_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/os/lua/ext/data_manipulation_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Lua.DataManipulationTest do use ExUnit.Case use Mimic setup :verify_on_exit! alias FarmbotOS.SysCalls.ResourceUpdate alias FarmbotOS.Lua.DataManipulation # Random tidbits needed for mocks / stubs. defstruct [:key, :value] def lua(test_name, lua_code) do FarmbotOS.Lua.perform_lu...
27.841975
79
0.57751
1df99557c2aece02af2b8b08730f77b6f8010d21
1,873
exs
Elixir
clients/cloud_shell/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_shell/mix.exs
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_shell/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...
27.955224
134
0.657234
1df9aa0adef050460ddf4321fd01eb91c37348e4
352
exs
Elixir
priv/repo/migrations/20210104190618_create_stakeholders.exs
integratedb/core
0b4a7a38d014e5ae973a1fa807c137834dfdf9cb
[ "MIT" ]
13
2021-01-28T14:45:43.000Z
2021-11-04T21:54:19.000Z
priv/repo/migrations/20210104190618_create_stakeholders.exs
integratedb/integrate
0b4a7a38d014e5ae973a1fa807c137834dfdf9cb
[ "MIT" ]
null
null
null
priv/repo/migrations/20210104190618_create_stakeholders.exs
integratedb/integrate
0b4a7a38d014e5ae973a1fa807c137834dfdf9cb
[ "MIT" ]
null
null
null
defmodule Integrate.Repo.Migrations.CreateStakeholders do use Ecto.Migration def change do create table(:stakeholders) do add :name, :string, null: false add :user_id, references(:users), null: false timestamps() end create index(:stakeholders, [:user_id]) create unique_index(:s...
22
57
0.690341
1df9aa1729c58d24dffdd35a639252c5cd59fadd
2,412
exs
Elixir
test/storage/stream_persistence_test.exs
kaikuchn/eventstore
cfe77cb22860526ef3591ba43649ceffc3175259
[ "MIT" ]
null
null
null
test/storage/stream_persistence_test.exs
kaikuchn/eventstore
cfe77cb22860526ef3591ba43649ceffc3175259
[ "MIT" ]
null
null
null
test/storage/stream_persistence_test.exs
kaikuchn/eventstore
cfe77cb22860526ef3591ba43649ceffc3175259
[ "MIT" ]
null
null
null
defmodule EventStore.Storage.StreamPersistenceTest do use EventStore.StorageCase alias EventStore.EventFactory alias EventStore.Storage.{Appender, CreateStream, QueryStreamInfo} test "create stream", %{conn: conn} do stream_uuid = UUID.uuid4() {:ok, _stream_id} = CreateStream.execute(conn, stream_uui...
33.5
99
0.720978
1df9b97fb90435214209fbc7a71b9984059f836a
2,653
ex
Elixir
lib/asciinema_web/controllers/api/asciicast_controller.ex
zubairshokh/asciinema-server
b882f285a84054e94e70def8f9777cc2fc3551b1
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/controllers/api/asciicast_controller.ex
zubairshokh/asciinema-server
b882f285a84054e94e70def8f9777cc2fc3551b1
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/controllers/api/asciicast_controller.ex
zubairshokh/asciinema-server
b882f285a84054e94e70def8f9777cc2fc3551b1
[ "Apache-2.0" ]
null
null
null
defmodule AsciinemaWeb.Api.AsciicastController do use AsciinemaWeb, :controller import AsciinemaWeb.Auth, only: [get_basic_auth: 1, put_basic_auth: 3] alias Asciinema.{Asciicasts, Accounts} alias Asciinema.Accounts.User plug(:accepts, ~w(text json)) plug(:parse_v0_params) plug(:authenticate) def creat...
30.147727
98
0.612514
1df9e7168d87dfdba30980df73995412037ddf6e
1,533
ex
Elixir
lib/upstream/request.ex
artellectual/blazay
0c5f58514cc2417931786b5cd482978fa5bfd9c0
[ "MIT" ]
5
2018-02-16T15:32:41.000Z
2020-03-31T10:55:24.000Z
lib/upstream/request.ex
artellectual/blazay
0c5f58514cc2417931786b5cd482978fa5bfd9c0
[ "MIT" ]
8
2017-07-12T04:27:31.000Z
2017-12-26T06:30:47.000Z
lib/upstream/request.ex
upmaru/blazay
0c5f58514cc2417931786b5cd482978fa5bfd9c0
[ "MIT" ]
2
2018-02-16T15:32:45.000Z
2018-03-04T12:11:57.000Z
defmodule Upstream.Request do @moduledoc """ Request module for making and handling network request to b2 """ alias Upstream.Error @spec post( any(), binary(), any(), [{atom() | binary(), binary()}] | %{optional(binary()) => binary()}, keyword() ) ::...
29.480769
84
0.596217
1df9ed88287af08f0e0094e0666e63bf5b1d6619
70,028
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/api/monetization.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/api/monetization.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/api/monetization.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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...
46.56117
382
0.621023
1dfa086860867f74a23ec1d0dfce26417eb2fdfb
3,370
ex
Elixir
lib/ggity/scale/alpha_discrete.ex
kianmeng/ggity
75f0097464eae4086f8c70e4bea995d60571eba9
[ "MIT" ]
null
null
null
lib/ggity/scale/alpha_discrete.ex
kianmeng/ggity
75f0097464eae4086f8c70e4bea995d60571eba9
[ "MIT" ]
null
null
null
lib/ggity/scale/alpha_discrete.ex
kianmeng/ggity
75f0097464eae4086f8c70e4bea995d60571eba9
[ "MIT" ]
null
null
null
defmodule GGity.Scale.Alpha.Discrete do @moduledoc false alias GGity.{Draw, Labels} alias GGity.Scale.Alpha defstruct transform: nil, range: {0.1, 1}, levels: nil, labels: :waivers, guide: :legend @type t() :: %__MODULE__{} @spec new(keyword()) :: Alpha.Di...
27.622951
97
0.597626
1dfa159dfad7414bedfe9448bbbd89ba94940c5d
321
exs
Elixir
test/shared/cache_test.exs
amplifiedai/nebulex
fa788d9ae71ef0e4aba73f98953e98d8a7644a29
[ "MIT" ]
null
null
null
test/shared/cache_test.exs
amplifiedai/nebulex
fa788d9ae71ef0e4aba73f98953e98d8a7644a29
[ "MIT" ]
null
null
null
test/shared/cache_test.exs
amplifiedai/nebulex
fa788d9ae71ef0e4aba73f98953e98d8a7644a29
[ "MIT" ]
null
null
null
defmodule Nebulex.CacheTest do @moduledoc """ Shared Tests """ defmacro __using__(_opts) do quote do use Nebulex.Cache.EntryTest use Nebulex.Cache.EntryExpTest use Nebulex.Cache.QueryableTest use Nebulex.Cache.TransactionTest use Nebulex.Cache.PersistenceTest end end end...
20.0625
39
0.70405
1dfa4fb5dd39537f627a8cba30a7e1e2c6ba3e77
1,546
ex
Elixir
lib/mailman/context.ex
Route-Now/mailman
24b99cdb8553b441be7e84f2350fe2b93ddd837a
[ "MIT" ]
null
null
null
lib/mailman/context.ex
Route-Now/mailman
24b99cdb8553b441be7e84f2350fe2b93ddd837a
[ "MIT" ]
null
null
null
lib/mailman/context.ex
Route-Now/mailman
24b99cdb8553b441be7e84f2350fe2b93ddd837a
[ "MIT" ]
null
null
null
defmodule Mailman.Context do @moduledoc """ Defines the configuration for both rendering and sending of messages. """ defstruct config: nil, composer: %Mailman.EexComposeConfig{} def get_config(context) do case context.config do # if config in context is nil, read it from config.exs nil -> g...
24.935484
71
0.664942
1dfa6976f981c73ccbf35c80d01fb7af2d0054e8
1,949
ex
Elixir
reference/nindy-src/libqt/makefile.ex
DrItanium/hitagimon
4edea09ebfde344b92b8a66a795f6ed381841027
[ "BSD-2-Clause" ]
null
null
null
reference/nindy-src/libqt/makefile.ex
DrItanium/hitagimon
4edea09ebfde344b92b8a66a795f6ed381841027
[ "BSD-2-Clause" ]
null
null
null
reference/nindy-src/libqt/makefile.ex
DrItanium/hitagimon
4edea09ebfde344b92b8a66a795f6ed381841027
[ "BSD-2-Clause" ]
null
null
null
I960BASE=~/i960-CTOOLS-with-NINDY/i386-nbsd1-ctools/ ic960 -c -R -O2 -AKB copyrght.c I960BASE=~/i960-CTOOLS-with-NINDY/i386-nbsd1-ctools/ ic960 -c -R -O2 -AKB -I../include dma.c I960BASE=~/i960-CTOOLS-with-NINDY/i386-nbsd1-ctools/ ic960 -c -R -O2 -AKB -I../include time_qt.c I960BASE=~/i960-CTOOLS-with-NINDY/i386-nbsd1-...
88.590909
161
0.744997
1dfa79843e8c9be083b2b6f6523296523eb7f53e
1,857
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/network_routing_config.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/network_routing_config.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/network_routing_config.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.510638
356
0.756058
1dfa8302ec2290f821352662e00738a1f5039b03
6,114
ex
Elixir
kousa/lib/onion/user_session.ex
fishsticks89/dogehouse
0485ea6e3bb3457024d84ecb95a4c47433e5b02f
[ "MIT" ]
2
2021-04-01T04:21:24.000Z
2021-04-01T04:21:25.000Z
kousa/lib/onion/user_session.ex
fishsticks89/dogehouse
0485ea6e3bb3457024d84ecb95a4c47433e5b02f
[ "MIT" ]
null
null
null
kousa/lib/onion/user_session.ex
fishsticks89/dogehouse
0485ea6e3bb3457024d84ecb95a4c47433e5b02f
[ "MIT" ]
null
null
null
defmodule Onion.UserSession do use GenServer, restart: :temporary alias Beef.Rooms # TODO: change this defmodule State do @type t :: %__MODULE__{ user_id: String.t(), avatar_url: String.t(), username: String.t(), display_name: String.t(), current_...
30.41791
98
0.615473
1dfa93c29f84fa709ad700edc274fa9eff0900f5
2,132
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/backend_bucket_list_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_bucket_list_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/backend_bucket_list_warning.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...
39.481481
194
0.722795
1dfaa7a753f2a497f1c2d00aff936f949ee5724a
235
exs
Elixir
priv/config_storage/migrations/20180814202716_add_ignore_fw_config.exs
colocolo317/farmbot
570281057c3f2791a2e0f8c6b8b659aa338d7b40
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
priv/config_storage/migrations/20180814202716_add_ignore_fw_config.exs
colocolo317/farmbot
570281057c3f2791a2e0f8c6b8b659aa338d7b40
[ "MIT" ]
null
null
null
priv/config_storage/migrations/20180814202716_add_ignore_fw_config.exs
colocolo317/farmbot
570281057c3f2791a2e0f8c6b8b659aa338d7b40
[ "MIT" ]
1
2017-07-22T21:51:14.000Z
2017-07-22T21:51:14.000Z
defmodule Farmbot.System.ConfigStorage.Migrations.AddIgnoreFwConfig do use Ecto.Migration import Farmbot.System.ConfigStorage.MigrationHelpers def change do create_settings_config("ignore_fw_config", :bool, false) end end
26.111111
70
0.817021
1dfaac9a6570f60c6fc9e3be87ba462bb37c931d
6,584
ex
Elixir
lib/oli_web/pow/pow_helpers.ex
candert1/oli-torus
b7408f7d7c04cc3e9cf537873d98c3a586ec3a66
[ "MIT" ]
null
null
null
lib/oli_web/pow/pow_helpers.ex
candert1/oli-torus
b7408f7d7c04cc3e9cf537873d98c3a586ec3a66
[ "MIT" ]
null
null
null
lib/oli_web/pow/pow_helpers.ex
candert1/oli-torus
b7408f7d7c04cc3e9cf537873d98c3a586ec3a66
[ "MIT" ]
null
null
null
defmodule OliWeb.Pow.PowHelpers do alias PowAssent.Plug alias Phoenix.{HTML, HTML.Link, Naming} alias PowAssent.Phoenix.AuthorizationController def get_pow_config(:user) do [ repo: Oli.Repo, user: Oli.Accounts.User, current_user_assigns_key: :current_user, session_key: "user_auth",...
31.056604
103
0.662819
1dfacdaf1039b7dcef95b6014c5ea6fcae9d25ca
6,433
exs
Elixir
lib/elixir/test/elixir/gen_server_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/gen_server_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/gen_server_test.exs
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule GenServerTest do use ExUnit.Case, async: true defmodule Stack do use GenServer def handle_call(:pop, _from, [h | t]) do {:reply, h, t} end def handle_call(:noreply, _from, h) do {:noreply, h} end def handle_call(request,...
33.680628
159
0.626457
1dfacfb850243d07fe15a8483a7969d6a3e8a0ee
1,798
exs
Elixir
clients/network_services/mix.exs
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_services/mix.exs
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_services/mix.exs
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...
26.835821
107
0.65406
1dfadc8f3b2b833520e1a484bebb7957045aed39
831
ex
Elixir
pancake/lib/waffle/message/push.ex
firecraftgaming/battleship-royale
463bf5e743f07affdb84ebd752e92ab3c6604f8f
[ "MIT" ]
1
2021-05-28T15:09:50.000Z
2021-05-28T15:09:50.000Z
pancake/lib/waffle/message/push.ex
firecraftgaming/battleship-royale
463bf5e743f07affdb84ebd752e92ab3c6604f8f
[ "MIT" ]
null
null
null
pancake/lib/waffle/message/push.ex
firecraftgaming/battleship-royale
463bf5e743f07affdb84ebd752e92ab3c6604f8f
[ "MIT" ]
null
null
null
defmodule Waffle.Message.Push do alias Waffle.Message.Cast defmacro __using__(opts) do quote do use Ecto.Schema import Ecto.Changeset @behaviour Waffle.Message.Push Module.register_attribute(__MODULE__, :directions, accumulate: true, persist: true) @directi...
26.806452
91
0.652226
1dfae2b4f5d535892e09d3674e9cfefa8ab2ddf9
189
ex
Elixir
lib/phoenix/plugs/code_reloader.ex
brightroll/phoenix
b93022086322bcc1d797214a28e0c9710f537c22
[ "MIT" ]
null
null
null
lib/phoenix/plugs/code_reloader.ex
brightroll/phoenix
b93022086322bcc1d797214a28e0c9710f537c22
[ "MIT" ]
null
null
null
lib/phoenix/plugs/code_reloader.ex
brightroll/phoenix
b93022086322bcc1d797214a28e0c9710f537c22
[ "MIT" ]
null
null
null
defmodule Phoenix.Plugs.CodeReloader do def init(opts), do: opts def call(conn, _opts) do Mix.Task.reenable "compile.elixir" Mix.Task.run "compile.elixir" conn end end
15.75
39
0.693122
1dfae6a775df4e7b7df83ad38eec7951653089bf
1,924
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/account_permissions_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/account_permissions_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/account_permissions_list_response.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...
38.48
206
0.758836
1dfb5059de9a3b472155d4dd75447ccde22848a9
16,150
exs
Elixir
test/credo/code_test.exs
jc00ke/credo
bd0be751888dea402af6b16cbb675b53eaa49c83
[ "MIT" ]
null
null
null
test/credo/code_test.exs
jc00ke/credo
bd0be751888dea402af6b16cbb675b53eaa49c83
[ "MIT" ]
null
null
null
test/credo/code_test.exs
jc00ke/credo
bd0be751888dea402af6b16cbb675b53eaa49c83
[ "MIT" ]
null
null
null
defmodule Credo.CodeTest do use Credo.Test.Case test "it should NOT report expected code" do lines = """ defmodule CredoSampleModule do def some_function(parameter1, parameter2) do some_value = parameter1 + parameter2 end end """ |> Credo.Code.to_lines() ...
28.283713
141
0.483591
1dfb553a55d256eb5366f592a131560c144b162f
1,553
ex
Elixir
homesynck/lib/homesynck_web/views/error_helpers.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
5
2021-03-28T21:20:41.000Z
2021-07-02T22:46:29.000Z
homesynck/lib/homesynck_web/views/error_helpers.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
homesynck/lib/homesynck_web/views/error_helpers.ex
PJS4-projet-gestionnaire-de-contact/Gambett-Server
fa30a85ffa6da480e177d40364dd59f73f0ad892
[ "MIT" ]
null
null
null
defmodule HomesynckWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_ta...
32.354167
78
0.666452
1dfb5c4db36bf94f6d91b2a03a9deef895e1cfed
1,844
ex
Elixir
lib/workbench_web/router.ex
fremantle-industries/back_office
e5aeda7abd72ccffabe5b21f26d48b5c573f9670
[ "MIT" ]
85
2020-05-03T22:23:18.000Z
2022-02-22T14:45:37.000Z
lib/workbench_web/router.ex
fremantle-industries/workbench
5d299c77f0271332651b4f0510265f676301a5f3
[ "MIT" ]
101
2020-04-26T03:07:51.000Z
2022-03-27T06:17:52.000Z
lib/workbench_web/router.ex
fremantle-capital/back_office
91474fad1bf27d913aecd6b36b898eff5d29a831
[ "MIT" ]
18
2020-04-26T10:57:55.000Z
2022-01-26T01:50:03.000Z
defmodule WorkbenchWeb.Router do use WorkbenchWeb, :router pipeline :browser do plug(:accepts, ["html"]) plug(:fetch_session) plug(:fetch_live_flash) plug(:put_root_layout, {WorkbenchWeb.LayoutView, :root}) plug(:protect_from_forgery) plug(:put_secure_browser_headers) end scope "/", Wo...
36.88
92
0.677332
1dfbc03052b4f943df41ffffa6a1203eb92ccd13
953
ex
Elixir
test/support/channel_case.ex
idkjs/zero-to-graphql-using-phoenix
5e7f99af40030d57a603d9457e4906324fdfa4ea
[ "MIT" ]
9
2019-03-26T22:16:08.000Z
2021-09-27T12:42:34.000Z
test/support/channel_case.ex
conradwt/zero-to-graphql-using-elixir
1014681c5708e2ee02db6fb9b6f64cee0f533150
[ "MIT" ]
3
2020-06-08T23:03:49.000Z
2020-06-09T03:11:12.000Z
test/support/channel_case.ex
conradwt/zero-to-graphql-using-elixir
1014681c5708e2ee02db6fb9b6f64cee0f533150
[ "MIT" ]
7
2019-01-15T17:00:07.000Z
2021-07-18T23:30:29.000Z
defmodule ZeroPhoenixWeb.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 interact...
25.078947
73
0.720881
1dfbc6b1ce2b57402bfc1551865284c649af535f
682
exs
Elixir
config/config.exs
bitcrowd/bitcrowd_ecto
6e2d41d7dbe1fa1398b545c12385cde2db94285c
[ "Apache-2.0" ]
2
2022-01-11T08:03:49.000Z
2022-02-11T10:25:30.000Z
config/config.exs
bitcrowd/bitcrowd_ecto
6e2d41d7dbe1fa1398b545c12385cde2db94285c
[ "Apache-2.0" ]
3
2022-02-03T21:28:14.000Z
2022-03-25T09:03:15.000Z
config/config.exs
bitcrowd/bitcrowd_ecto
6e2d41d7dbe1fa1398b545c12385cde2db94285c
[ "Apache-2.0" ]
null
null
null
import Config if config_env() in [:dev, :test] do config :bitcrowd_ecto, BitcrowdEcto.TestRepo, migration_timestamps: [type: :utc_datetime_usec], migration_primary_key: [name: :id, type: :binary_id], database: "bitcrowd_ecto_#{config_env()}", username: "postgres", password: "postgres", hostna...
28.416667
79
0.722874
1dfbdf431bb9fa27b33acfb5a630cf7fc6110817
873
exs
Elixir
channels/test/router_test.exs
DeComX/hypertrons
535e86f02a1ef474d022e0f22b18a4fffd3ff9be
[ "Apache-2.0" ]
null
null
null
channels/test/router_test.exs
DeComX/hypertrons
535e86f02a1ef474d022e0f22b18a4fffd3ff9be
[ "Apache-2.0" ]
null
null
null
channels/test/router_test.exs
DeComX/hypertrons
535e86f02a1ef474d022e0f22b18a4fffd3ff9be
[ "Apache-2.0" ]
null
null
null
defmodule RouterTest do use ExUnit.Case, async: true use Plug.Test alias Hypertrons.Channels.Router, as: Router doctest Router test "ping" do conn = Router.call(conn(:get, "/ping"), []) assert {200, _headers, "pong"} = sent_resp(conn) end test "parse_json" do args = %{ "token" => "Jhj...
25.676471
65
0.62543
1dfbfb32e4406928dd53e98041015fdaf890ed85
134
exs
Elixir
apps/blunt_toolkit/.formatter.exs
blunt-elixir/blunt
a88b88984022db7ba2110204248fdb541121e3a0
[ "MIT" ]
1
2022-03-07T11:54:47.000Z
2022-03-07T11:54:47.000Z
apps/blunt_toolkit/.formatter.exs
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
apps/blunt_toolkit/.formatter.exs
elixir-cqrs/cqrs_tools
afbf82da522a10d2413547a46f316ed3aadebba5
[ "MIT" ]
null
null
null
# Used by "mix format" [ import_deps: [:blunt, :blunt_ddd], inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] ]
22.333333
69
0.589552
1dfc30ba80bfb9e9ca96834676657468b6065c31
204
ex
Elixir
web/views/page_api.ex
iboard/px.iboard.cc
f7df724931b977e47e60ab8cab822f69df7e77f8
[ "MIT" ]
2
2016-07-28T11:42:09.000Z
2016-09-12T13:56:53.000Z
web/views/page_api.ex
iboard/px.iboard.cc
f7df724931b977e47e60ab8cab822f69df7e77f8
[ "MIT" ]
null
null
null
web/views/page_api.ex
iboard/px.iboard.cc
f7df724931b977e47e60ab8cab822f69df7e77f8
[ "MIT" ]
null
null
null
defmodule Iboard.PageAPIView do use Iboard.Web, :view def render("index.json", %{pages: pages}) do %{pages: pages} end def render("show.json", %{page: page}) do %{page: page} end end
15.692308
46
0.627451
1dfc547f0802cd9f148b3380c762900aeb43fae1
1,018
exs
Elixir
config/config.exs
CMcDonald82/phoenix-api-auth-starter
916db91ceba32399b8d30cc6a6e35804bc0d18b1
[ "MIT" ]
null
null
null
config/config.exs
CMcDonald82/phoenix-api-auth-starter
916db91ceba32399b8d30cc6a6e35804bc0d18b1
[ "MIT" ]
null
null
null
config/config.exs
CMcDonald82/phoenix-api-auth-starter
916db91ceba32399b8d30cc6a6e35804bc0d18b1
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :phoenix_api_auth_starter, ecto_repos: [...
36.357143
86
0.781925