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
28c9152fe369399ac69e995794170377d42b5def
918
exs
Elixir
config/config.exs
phensalves/rumbl
4ecf962038774fa81c83f07b81f36266f86effaf
[ "MIT" ]
null
null
null
config/config.exs
phensalves/rumbl
4ecf962038774fa81c83f07b81f36266f86effaf
[ "MIT" ]
null
null
null
config/config.exs
phensalves/rumbl
4ecf962038774fa81c83f07b81f36266f86effaf
[ "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 :rumbl, ecto_repos: [Rumbl.Repo] # Conf...
32.785714
86
0.75817
28c9153c8866cdb91b688de3f282fdf9f7dab3cd
2,188
exs
Elixir
episode-025/config/prod.exs
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
84
2016-07-02T05:21:36.000Z
2021-02-12T22:45:45.000Z
episode-030/config/prod.exs
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
3
2016-07-02T06:03:47.000Z
2017-06-03T14:11:06.000Z
episode-014/elm_is_fun/config/prod.exs
thaterikperson/elmseeds
72b09358926287ab4ea79893196d1ba002f190b3
[ "MIT" ]
6
2017-02-16T19:33:49.000Z
2019-04-05T19:27:17.000Z
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
33.151515
67
0.714808
28c93c81881c4a75d9b7ffa805f527fcb9b8b768
1,425
ex
Elixir
clients/calendar/lib/google_api/calendar/v3/model/free_busy_request_item.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/free_busy_request_item.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/calendar/lib/google_api/calendar/v3/model/free_busy_request_item.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
29.6875
80
0.741053
28c94d97e017e118254cb1d927d96e3d7389e55d
3,779
exs
Elixir
lib/elixir/test/elixir/hash_set_test.exs
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/hash_set_test.exs
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/hash_set_test.exs
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule HashSetTest do use ExUnit.Case, async: true test "union with ordered sets" do assert HashSet.union(HashSet.new([1, 2, 3]), HashSet.new([3, 4, 5])) == HashSet.new([1, 2, 3, 4, 5]) assert HashSet.union(HashSet.new, HashSet.new) == HashSet.new end t...
32.86087
108
0.684308
28c99217175100646ed5f0f2d4ca50c3ce71bcc1
2,449
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/account_tree_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/account_tree_request.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/account_tree_request.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...
37.106061
229
0.722336
28c9a890fb187932c98b3ae7cd7c144bd1e557c5
7,993
exs
Elixir
test/google_apis/generator/elixir_generator/endpoint_test.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
test/google_apis/generator/elixir_generator/endpoint_test.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
test/google_apis/generator/elixir_generator/endpoint_test.exs
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 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 writing, ...
29.386029
201
0.62855
28c9c61a256108e57a4dc744aea7233d27166467
2,512
exs
Elixir
config/runtime.exs
xaviRodri/roshambo
7cfd465cc40a7dc405c2854e9135f516df3809bd
[ "MIT" ]
null
null
null
config/runtime.exs
xaviRodri/roshambo
7cfd465cc40a7dc405c2854e9135f516df3809bd
[ "MIT" ]
null
null
null
config/runtime.exs
xaviRodri/roshambo
7cfd465cc40a7dc405c2854e9135f516df3809bd
[ "MIT" ]
null
null
null
import Config # config/runtime.exs is executed for all environments, including # during releases. It is executed after compilation and before the # system starts, so it is typically used to load production configuration # and secrets from environment variables or elsewhere. Do not define # any compile-time configurati...
36.405797
80
0.699045
28ca07e816f20591f8f98c2b049c452a223cb95e
2,384
ex
Elixir
lib/web/controllers/manage/event_controller.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
null
null
null
lib/web/controllers/manage/event_controller.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
null
null
null
lib/web/controllers/manage/event_controller.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
null
null
null
defmodule Web.Manage.EventController do use Web, :controller alias GrapevineData.Games alias GrapevineData.Events plug(Web.Plugs.VerifyUser) def index(conn, %{"game_id" => game_id}) do %{current_user: user} = conn.assigns with {:ok, game} <- Games.get(user, game_id) do conn |> assign(:...
26.786517
77
0.575503
28ca1841f29a4dbe6e7719517d06f04d78f76ef9
123
ex
Elixir
lib/console_writer.ex
rubberduck203/ex_behavior_example
c4b47ff4ace99e36c62aa4354294d85a89b69637
[ "MIT" ]
null
null
null
lib/console_writer.ex
rubberduck203/ex_behavior_example
c4b47ff4ace99e36c62aa4354294d85a89b69637
[ "MIT" ]
null
null
null
lib/console_writer.ex
rubberduck203/ex_behavior_example
c4b47ff4ace99e36c62aa4354294d85a89b69637
[ "MIT" ]
null
null
null
defmodule ConsoleWriter do @behaviour Writer def write(message) do {IO.puts(message), message} end end
17.571429
35
0.666667
28ca3694a15a630d37cbcdb7e5f294ec62394099
4,124
ex
Elixir
apps/toniefy/lib/toniex/recorder.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
17
2021-04-12T10:01:14.000Z
2022-02-25T17:30:27.000Z
apps/toniefy/lib/toniex/recorder.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
1
2022-03-09T09:35:00.000Z
2022-03-09T11:46:14.000Z
apps/toniefy/lib/toniex/recorder.ex
benvp/toniefy
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
null
null
null
defmodule Toniex.Recorder do import Ecto.Query alias Timex.Duration alias Toniex.{Accounts, Repo, JobStatus, Recorder} alias Toniex.Clients.Spotify alias Toniex.Recorder.Session require Logger @upload_dir Application.fetch_env!(:toniex, :upload_dir) @spec enqueue(Toniex.Accounts.User.t(), binary) ::...
25.45679
105
0.580747
28ca3e144fa371399ba9c6a25d3a086ea14826fc
124
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/3.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/3.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/TrainingInstances/3.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** cm neg verb verb_aux adjective; pn quantifier cm adjective adjective; noun cm verb cardinal adjective;
20.666667
38
0.774194
28ca428b97fa57b0ac89ee20a061ac5ff7ff9bf4
1,707
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/pretargeting_config_placements.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/pretargeting_config_placements.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/pretargeting_config_placements.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.14
232
0.734036
28ca8dd7101a86374dedd729cf6c71e026adb48a
1,192
ex
Elixir
hermes/web/channels/user_socket.ex
jparr721/Hermes
0ce141897e292a6e4492461f6581f0619c43b8bf
[ "MIT" ]
null
null
null
hermes/web/channels/user_socket.ex
jparr721/Hermes
0ce141897e292a6e4492461f6581f0619c43b8bf
[ "MIT" ]
null
null
null
hermes/web/channels/user_socket.ex
jparr721/Hermes
0ce141897e292a6e4492461f6581f0619c43b8bf
[ "MIT" ]
null
null
null
defmodule Hermes.UserSocket do use Phoenix.Socket ## Channels channel "room:*", Hermes.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authenticat...
31.368421
83
0.696309
28caaca0b4d06836d54ad906bf500ce04667c196
1,847
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_user_banned_message_details.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_user_banned_message_details.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_user_banned_message_details.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...
32.403509
139
0.746616
28cae7e138b44f97d81351b20ce41d58ebd98a7d
1,754
exs
Elixir
mix.exs
mmmries/neato
3bf6eb1122413c6186346f1f30d13308a84f4f3e
[ "MIT" ]
24
2017-04-04T19:57:19.000Z
2019-04-09T04:30:27.000Z
mix.exs
mmmries/gnat
3bf6eb1122413c6186346f1f30d13308a84f4f3e
[ "MIT" ]
68
2017-03-23T04:54:00.000Z
2019-03-04T03:30:28.000Z
mix.exs
mmmries/neato
3bf6eb1122413c6186346f1f30d13308a84f4f3e
[ "MIT" ]
9
2017-04-21T05:07:17.000Z
2019-02-28T22:10:21.000Z
defmodule Gnat.Mixfile do use Mix.Project @source_url "https://github.com/nats-io/nats.ex" @version "1.5.1" def project do [ app: :gnat, version: @version, elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), build_embedded: Mix.env() == :prod, start_permanent: Mi...
25.057143
89
0.528506
28caeb2eae37199b84d229ac6ffc6cc90a2cf364
285
ex
Elixir
lib/notion/group.ex
dunyakirkali/notion.ex
4b03de3f0a41577672c722ac2b71c7c8d559a504
[ "Apache-2.0" ]
2
2021-05-14T07:42:14.000Z
2021-05-14T07:46:21.000Z
lib/notion/group.ex
dunyakirkali/notion.ex
4b03de3f0a41577672c722ac2b71c7c8d559a504
[ "Apache-2.0" ]
5
2021-11-22T04:11:48.000Z
2022-03-24T04:07:59.000Z
lib/notion/group.ex
dunyakirkali/notion.ex
4b03de3f0a41577672c722ac2b71c7c8d559a504
[ "Apache-2.0" ]
null
null
null
defmodule Notion.Group do @moduledoc """ Group """ defstruct object: "group", id: nil, name: nil, properties: %{} @type t() :: %__MODULE__{ object: String.t(), id: String.t(), name: String.t() } end
16.764706
29
0.452632
28cb05214187d8f1676f598763c69484200723ed
300
ex
Elixir
lib/email_type.ex
adamniedzielski/multipster
1abf95d545ab8d6bac3f26e0cfb632e2ba69c7d7
[ "MIT" ]
2
2018-01-24T08:31:09.000Z
2019-04-14T11:06:02.000Z
lib/email_type.ex
adamniedzielski/multipster
1abf95d545ab8d6bac3f26e0cfb632e2ba69c7d7
[ "MIT" ]
5
2017-12-20T16:51:06.000Z
2017-12-28T13:54:08.000Z
lib/email_type.ex
adamniedzielski/multipster
1abf95d545ab8d6bac3f26e0cfb632e2ba69c7d7
[ "MIT" ]
null
null
null
defmodule EmailType do @moduledoc """ Converts from citext field in Postgres to String type """ @behaviour Ecto.Type def type, do: :string def load(data) do {:ok, String.downcase(data)} end def cast(data) do {:ok, data} end def dump(data) do {:ok, data} end end
14.285714
55
0.63
28cb08bd03ce33e3977ffc08a0ec7b14beadac6c
441
exs
Elixir
test_projects/doc_and_spec/mix.exs
IanLuites/adapter
3491d1d73aeb693ca8d68df276a52310578f69bb
[ "MIT" ]
8
2020-11-02T18:02:30.000Z
2021-09-22T12:58:44.000Z
test_projects/doc_and_spec/mix.exs
IanLuites/adapter
3491d1d73aeb693ca8d68df276a52310578f69bb
[ "MIT" ]
null
null
null
test_projects/doc_and_spec/mix.exs
IanLuites/adapter
3491d1d73aeb693ca8d68df276a52310578f69bb
[ "MIT" ]
null
null
null
defmodule Adapterized.MixProject do use Mix.Project def project do [ app: :adapterized, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ extra_applications: [:logger, :ex_unit] ] end defp ...
15.75
45
0.503401
28cb2d9bf60933f792a2da180677e2079b32efe5
1,808
ex
Elixir
lib/csv_to_es/loader.ex
edwardsmit/csv_to_es
3af32f538cf2fbd618d7caf4130f90b8aa7e601f
[ "MIT" ]
null
null
null
lib/csv_to_es/loader.ex
edwardsmit/csv_to_es
3af32f538cf2fbd618d7caf4130f90b8aa7e601f
[ "MIT" ]
null
null
null
lib/csv_to_es/loader.ex
edwardsmit/csv_to_es
3af32f538cf2fbd618d7caf4130f90b8aa7e601f
[ "MIT" ]
null
null
null
defmodule CsvToEs.Loader do alias CsvToEs.Parsers.SemicolonCsv, as: Csv def start_load(filename) do partition_opts = [ window: Flow.Window.global() |> Flow.Window.trigger_every(1000), stages: 1 ] Mojito.put("http://localhost:9200/elixir-csv") Mojito.put( "http://localhost:9200/e...
26.202899
93
0.60177
28cb4f4502615ffe775de590ef0d6eb494f097a2
1,656
ex
Elixir
lib/react_chatroom_web/endpoint.ex
dannypsnl/react_chatroom
7d2da19272f3a635fdaaba940551f9ae9483f877
[ "BSD-2-Clause" ]
null
null
null
lib/react_chatroom_web/endpoint.ex
dannypsnl/react_chatroom
7d2da19272f3a635fdaaba940551f9ae9483f877
[ "BSD-2-Clause" ]
null
null
null
lib/react_chatroom_web/endpoint.ex
dannypsnl/react_chatroom
7d2da19272f3a635fdaaba940551f9ae9483f877
[ "BSD-2-Clause" ]
null
null
null
defmodule ReactChatroomWeb.Endpoint do use Phoenix.Endpoint, otp_app: :react_chatroom # 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...
30.109091
97
0.726449
28cb64878844b8c2d6dc1c5287b43a123ab74279
5,536
ex
Elixir
lib/hxl/lexer.ex
drowzy/hcl
afb65a3fe4c86d90ba02ab8402d99019bb6509bc
[ "Apache-2.0" ]
18
2021-09-28T23:15:46.000Z
2021-12-21T15:04:40.000Z
lib/hxl/lexer.ex
drowzy/hxl
afb65a3fe4c86d90ba02ab8402d99019bb6509bc
[ "Apache-2.0" ]
4
2021-09-28T14:50:16.000Z
2022-03-29T13:22:49.000Z
lib/hxl/lexer.ex
drowzy/hcl
afb65a3fe4c86d90ba02ab8402d99019bb6509bc
[ "Apache-2.0" ]
null
null
null
defmodule HXL.Lexer do @moduledoc false import NimbleParsec @newline ?\n @carriage_return ?\r @space ?\s @tab ?\t digit = ascii_char([?0..?9]) non_zero_digit = ascii_char([?1..?9]) negative_sign = ascii_char([?-]) whitespace = ascii_char([@space, @tab]) line_end = choice([ ascii_char...
23.862069
87
0.568461
28cbb942d43d4967c6d764c07bcaedfc0a6bce7b
1,072
exs
Elixir
mix.exs
alexgaribay/libcluster_gae
5b132aa9cc8030522efeb3489057a5b283984e88
[ "MIT" ]
17
2019-02-01T15:34:49.000Z
2021-07-01T15:30:29.000Z
mix.exs
alexgaribay/libcluster_gae
5b132aa9cc8030522efeb3489057a5b283984e88
[ "MIT" ]
2
2019-09-24T13:32:33.000Z
2020-06-22T04:14:27.000Z
mix.exs
alexgaribay/libcluster_gae
5b132aa9cc8030522efeb3489057a5b283984e88
[ "MIT" ]
null
null
null
defmodule LibclusterGae.MixProject do use Mix.Project def project do [ app: :libcluster_gae, description: "", version: "0.1.2", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), source_url: source_url(), projec...
20.615385
74
0.58209
28cbc1ab2dceda870f21f052f9a0812ef2b77525
5,458
ex
Elixir
clients/books/lib/google_api/books/v1/model/volume_user_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volume_user_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volume_user_info.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
51.009346
214
0.725357
28cbd63ba6233e5dd482197298ec78e38081671e
63,798
ex
Elixir
lib/ecto/query.ex
van-mronov/ecto
d0511f539353f556c7ae74d98924eb89a67aa3c5
[ "Apache-2.0" ]
null
null
null
lib/ecto/query.ex
van-mronov/ecto
d0511f539353f556c7ae74d98924eb89a67aa3c5
[ "Apache-2.0" ]
null
null
null
lib/ecto/query.ex
van-mronov/ecto
d0511f539353f556c7ae74d98924eb89a67aa3c5
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.SubQuery do @moduledoc """ Stores subquery information. """ defstruct [:query, :params, :select, :cache] end defmodule Ecto.Query do @moduledoc ~S""" Provides the Query DSL. Queries are used to retrieve and manipulate data from a repository (see `Ecto.Repo`). Ecto queries come in two fl...
34.189711
139
0.673438
28cc02c899f387f60fed2a32202621d5263a111f
104
exs
Elixir
config/prod.exs
Ovsov/sftp_ex
f7495a8936c04bea1540d369290275cc610f9002
[ "MIT" ]
null
null
null
config/prod.exs
Ovsov/sftp_ex
f7495a8936c04bea1540d369290275cc610f9002
[ "MIT" ]
null
null
null
config/prod.exs
Ovsov/sftp_ex
f7495a8936c04bea1540d369290275cc610f9002
[ "MIT" ]
null
null
null
use Mix.Config config :sftp_ex, :ssh_service, SSH.Service config :sftp_ex, :sftp_service, SFTP.Service
20.8
44
0.788462
28cc16b9e72153bc9272fe273653ecb742958abf
1,653
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_word_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_word_list.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_word_list.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.734694
130
0.739867
28cc262e450619008221c12570dc5bd070e6136c
882
ex
Elixir
lib/cotoami_web/views/amishi_view.ex
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
lib/cotoami_web/views/amishi_view.ex
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
lib/cotoami_web/views/amishi_view.ex
fmorita/cotoami
e3eb92ad15829f99cf3e8974077f135e789924cf
[ "Apache-2.0" ]
null
null
null
defmodule CotoamiWeb.AmishiView do use CotoamiWeb, :view def render("amishi.json", %{amishi: amishi}) do %{ id: amishi.id, email: amishi.email, auth_provider: amishi.auth_provider, avatar_url: amishi.avatar_url || "", display_name: amishi.name || "", owner: Map.get(amishi, :...
30.413793
72
0.645125
28cc331e89464e64808160584f20a08b98caa032
4,434
ex
Elixir
lib/aws/generated/macie.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/macie.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/macie.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.Macie do @moduledoc """ Amazon Macie Classic Amazon Macie Classic has been discontinued and is no longer available. A new Amazon Macie is now available with significant design improvemen...
39.945946
113
0.740415
28cc481a9d71e19445866be4421aee64447bb7d5
3,107
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/game_server_deployment_rollout.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/game_server_deployment_rollout.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/game_server_deployment_rollout.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...
45.691176
313
0.73093
28cc79a78076d9ee05db2f62f02820ec4a17d70d
1,237
exs
Elixir
exercises/collatz-conjecture/collatz_conjecture_test.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/collatz-conjecture/collatz_conjecture_test.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
exercises/collatz-conjecture/collatz_conjecture_test.exs
darktef/elixir-exercism
bcaae351486b1405f0a01cd33b4d39555546298e
[ "MIT" ]
null
null
null
if !System.get_env("EXERCISM_TEST_EXAMPLES") do Code.load_file("collatz_conjecture.exs", __DIR__) end ExUnit.start ExUnit.configure exclude: :pending, trace: true defmodule CollatzConjectureTest do use ExUnit.Case test "zero steps for one" do assert CollatzConjecture.calc(1) == 0 end @tag :pending t...
22.490909
79
0.712207
28cc7ed062e5156c9dbbc036ddfcdc87ca9c8a9f
146
exs
Elixir
test/lib/crawler/fetcher/policer_test.exs
Gauthamiv/crawler
394b09d4e8f4c15abefc6295c1b3e72fb82d5416
[ "MIT" ]
884
2016-08-08T17:07:02.000Z
2022-03-17T10:11:42.000Z
test/lib/crawler/fetcher/policer_test.exs
rhnonose/crawler
e0ba256cb4f81e6edfa405febcbc5741ac007f27
[ "MIT" ]
28
2017-08-04T14:11:42.000Z
2021-01-02T22:40:20.000Z
test/lib/crawler/fetcher/policer_test.exs
rhnonose/crawler
e0ba256cb4f81e6edfa405febcbc5741ac007f27
[ "MIT" ]
86
2017-01-12T15:13:49.000Z
2022-01-12T21:24:52.000Z
defmodule Crawler.Fetcher.PolicerTest do use Crawler.TestCase, async: true alias Crawler.Fetcher.{Policer, UrlFilter} doctest Policer end
18.25
44
0.787671
28cc8e69ac004dfeedb884419752cfb31ab4a0d4
1,714
exs
Elixir
test/level_web/graphql/subscriptions/group_unbookmarked_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
test/level_web/graphql/subscriptions/group_unbookmarked_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
test/level_web/graphql/subscriptions/group_unbookmarked_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule LevelWeb.GraphQL.GroupUnbookmarkedTest do use LevelWeb.ChannelCase alias Level.Groups @operation """ subscription SpaceUserSubscription( $id: ID! ) { spaceUserSubscription(spaceUserId: $id) { __typename ... on GroupUnbookmarkedPayload { group { ...
24.485714
101
0.575846
28cc94e5ade8bbeb8f0ca8f9bad2ed10f5a4fba8
714
ex
Elixir
apps/legion_http/lib/http/gettext.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
1
2021-01-04T11:06:12.000Z
2021-01-04T11:06:12.000Z
apps/legion_http/lib/http/gettext.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
3
2021-01-30T06:40:37.000Z
2021-01-30T06:41:08.000Z
apps/legion_http/lib/http/gettext.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
null
null
null
defmodule Legion.HTTP.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import Legion.HTTP.Gettext # Simple translation gettext "Here is...
28.56
72
0.680672
28cc9d23b64a28e60158ae7732460b35649274b6
479
ex
Elixir
apps/tai/test/support/start_stream_supervisor.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/test/support/start_stream_supervisor.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
73
2018-10-05T18:45:06.000Z
2021-02-08T05:46:33.000Z
apps/tai/test/support/start_stream_supervisor.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Support.StartStreamSupervisor do use Supervisor def start_link(stream) do name = process_name(stream.venue.id) Supervisor.start_link(__MODULE__, stream, name: name) end def process_name(venue), do: :"#{__MODULE__}_#{venue}" @deprecated "Use Support.StartStreamSupervisor.process_name/1 ins...
25.210526
73
0.722338
28cce6405c045f45f74fb7022d5503d114817989
1,410
ex
Elixir
lib/issues/table_formatter.ex
leomindez/GithubIssues
57c3ef6000c6adc414d7de01df4a714e1242a64e
[ "MIT" ]
null
null
null
lib/issues/table_formatter.ex
leomindez/GithubIssues
57c3ef6000c6adc414d7de01df4a714e1242a64e
[ "MIT" ]
null
null
null
lib/issues/table_formatter.ex
leomindez/GithubIssues
57c3ef6000c6adc414d7de01df4a714e1242a64e
[ "MIT" ]
null
null
null
defmodule Issues.TableFormatter do import Enum, only: [each: 2, map: 2, map_join: 3, max: 1] def print_table_for_columns(rows, headers) do with data_by_columns = split_into_columns(rows, headers), column_widths = widths_of(data_by_columns), format = format_for(column_widths) ...
30.652174
83
0.62766
28cd2adbeea7d5f3a87e2caec53cb1f338e1e66d
483
exs
Elixir
test/phoenix_example_app_web/views/error_view_test.exs
dreamingechoes/phoenix-example-app
9b3e9cd0c7acbe2ffee627c58b0150fe0e811780
[ "MIT" ]
2
2018-06-03T19:33:09.000Z
2020-01-14T03:19:05.000Z
test/phoenix_example_app_web/views/error_view_test.exs
dreamingechoes/phoenix-example-app
9b3e9cd0c7acbe2ffee627c58b0150fe0e811780
[ "MIT" ]
null
null
null
test/phoenix_example_app_web/views/error_view_test.exs
dreamingechoes/phoenix-example-app
9b3e9cd0c7acbe2ffee627c58b0150fe0e811780
[ "MIT" ]
1
2018-06-22T00:00:39.000Z
2018-06-22T00:00:39.000Z
defmodule PhoenixExampleAppWeb.ErrorViewTest do use PhoenixExampleAppWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(PhoenixExampleAppWeb.ErrorView, "404.html", []) == "Not Found"...
28.411765
78
0.716356
28cd2d22e058a3b7925a43914cdf6b2e3e2c1902
363
exs
Elixir
app/priv/repo/migrations/20200724201501_agora_recordings.exs
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
1
2021-01-20T20:00:50.000Z
2021-01-20T20:00:50.000Z
app/priv/repo/migrations/20200724201501_agora_recordings.exs
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
null
null
null
app/priv/repo/migrations/20200724201501_agora_recordings.exs
nathanjohnson320/noodl
2e449aab15b54fc5a1dc45ebf4b79e7b64b7c967
[ "MIT" ]
null
null
null
defmodule Noodl.Repo.Migrations.AgoraRecordings do use Ecto.Migration def change do rename table(:recordings), :mux_id, to: :external_id rename table(:recordings), :playback_id, to: :resource_id create index(:recordings, :external_id) flush() alter table(:recordings) do modify :resourc...
21.352941
61
0.702479
28cd5beb18c6dd9b1e1cdd0116ea9a633998ef49
1,691
ex
Elixir
examples/example-phx-1_2/web/web.ex
devshane/thesis-phoenix
afe22a25542f91e15cfffb1e93ff8d833a64c25b
[ "MIT" ]
681
2016-06-21T20:49:21.000Z
2022-02-19T04:08:38.000Z
examples/example-phx-1_2/web/web.ex
devshane/thesis-phoenix
afe22a25542f91e15cfffb1e93ff8d833a64c25b
[ "MIT" ]
125
2016-06-21T21:14:49.000Z
2020-12-12T20:15:48.000Z
examples/example-phx-1_2/web/web.ex
devshane/thesis-phoenix
afe22a25542f91e15cfffb1e93ff8d833a64c25b
[ "MIT" ]
76
2016-09-06T03:40:55.000Z
2022-01-20T21:29:22.000Z
defmodule Example.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use Example.Web, :controller use Example.Web, :view The definitions below will be executed for every view, controller, etc, so keep them sho...
19.215909
88
0.663513
28cd69d596b1feb0e0f62f9081a93b102a1bd0be
4,158
exs
Elixir
integration_test/sql/logging.exs
nasrulgunawan/ecto_sql
ace2c9daf07190a3f7debfa2060cd3ddd251b6c7
[ "Apache-2.0" ]
null
null
null
integration_test/sql/logging.exs
nasrulgunawan/ecto_sql
ace2c9daf07190a3f7debfa2060cd3ddd251b6c7
[ "Apache-2.0" ]
null
null
null
integration_test/sql/logging.exs
nasrulgunawan/ecto_sql
ace2c9daf07190a3f7debfa2060cd3ddd251b6c7
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.LoggingTest do use Ecto.Integration.Case, async: true alias Ecto.Integration.TestRepo alias Ecto.Integration.PoolRepo alias Ecto.Integration.Post import ExUnit.CaptureLog describe "telemetry" do test "dispatches event" do log = fn event_name, measurements, metadata ->...
30.573529
98
0.602453
28cd8acc0cad3257c12a7b1669afdbbae626d61d
1,410
ex
Elixir
lib/sbom/cyclonedx.ex
Podiihq/sbom
601fd163f3f517b2a1540094b89547d4b9e021ec
[ "BSD-3-Clause" ]
null
null
null
lib/sbom/cyclonedx.ex
Podiihq/sbom
601fd163f3f517b2a1540094b89547d4b9e021ec
[ "BSD-3-Clause" ]
null
null
null
lib/sbom/cyclonedx.ex
Podiihq/sbom
601fd163f3f517b2a1540094b89547d4b9e021ec
[ "BSD-3-Clause" ]
1
2020-11-16T21:20:18.000Z
2020-11-16T21:20:18.000Z
defmodule SBoM.CycloneDX do @moduledoc """ Generate a CycloneDX SBoM in XML and JSON format. """ alias SBoM.CycloneDX.{Json, Xml} @doc """ Generate a CycloneDX SBoM in XML or in JSON format from the specified list of components. Returns an `iolist`, which may be written to a file or IO device, or conv...
32.790698
115
0.665248
28cdb20cf6539a064bca2371eb50be2f78526cda
4,824
ex
Elixir
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/schedule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/schedule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/storage_transfer/lib/google_api/storage_transfer/v1/model/schedule.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...
81.762712
828
0.765962
28cdc020e0071eaa3a54bc38665ad1f6aca6edd2
1,509
ex
Elixir
lib/xdr/transactions/memo.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
lib/xdr/transactions/memo.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
lib/xdr/transactions/memo.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Memo do @moduledoc """ Representation of Stellar `Memo` type. """ alias StellarBase.XDR.{Void, UInt64, Hash, MemoType, String28} @behaviour XDR.Declaration @arms [ MEMO_NONE: Void, MEMO_TEXT: String28, MEMO_ID: UInt64, MEMO_HASH: Hash, MEMO_RETURN: Hash ] ...
22.863636
69
0.623592
28cde626b6f02ef4bfaade9d6a7a1b1c4afb8ea9
1,357
ex
Elixir
apps/ewallet/lib/ewallet/web/email_validator.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/email_validator.ex
jimpeebles/ewallet
ad4a9750ec8dc5adc4c0dfe6c22f0ef760825405
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/web/email_validator.ex
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...
29.5
82
0.681651
28cdfc0d429c56b4cbd5bc25e25d77f23afc411f
3,409
ex
Elixir
lib/mix/tasks/optimushash.seed.ex
smartvokat/optimus_hash
278a528eff420763250982de4a2d608105095b50
[ "MIT" ]
3
2019-01-29T13:56:51.000Z
2021-08-18T07:41:14.000Z
lib/mix/tasks/optimushash.seed.ex
smartvokat/optimus_hash
278a528eff420763250982de4a2d608105095b50
[ "MIT" ]
1
2021-06-28T09:32:37.000Z
2021-07-19T17:42:57.000Z
lib/mix/tasks/optimushash.seed.ex
smartvokat/optimus_hash
278a528eff420763250982de4a2d608105095b50
[ "MIT" ]
2
2021-06-24T18:28:47.000Z
2021-09-18T08:00:45.000Z
defmodule Mix.Tasks.OptimusHash.Seed do @moduledoc """ Generates the required configuration for using OptimusHash. This task is intended to be run only once. ## Example mix ecto.dump ## Command line options * `--bits` - does not compile applications before dumping * `--no-deps-check` - does ...
26.84252
105
0.49516
28cdfecd7593a78fe5d7c6ec4224674b24742aae
799
ex
Elixir
Microsoft.Azure.Management.EventHub/lib/microsoft/azure/management/event_hub/model/destination.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.EventHub/lib/microsoft/azure/management/event_hub/model/destination.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.EventHub/lib/microsoft/azure/management/event_hub/model/destination.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.EventHub.Model.Destination do @moduledoc """ Capture storage details for capture description """ @derive [Pois...
26.633333
116
0.734668
28ce046cdd183846b544528eb851b385063d9c16
1,947
ex
Elixir
priv/templates/phx.gen.auth/notifier.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
18,092
2015-01-01T01:51:04.000Z
2022-03-31T19:37:14.000Z
priv/templates/phx.gen.auth/notifier.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,905
2015-01-01T00:22:47.000Z
2022-03-31T17:06:21.000Z
priv/templates/phx.gen.auth/notifier.ex
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,205
2015-01-03T10:58:22.000Z
2022-03-30T14:55:57.000Z
defmodule <%= inspect context.module %>.<%= inspect schema.alias %>Notifier do import Swoosh.Email alias <%= inspect context.base_module %>.Mailer # Delivers the email using the application mailer. defp deliver(recipient, subject, body) do email = new() |> to(recipient) |> from({"MyApp",...
24.3375
78
0.569594
28ce1e256385ad8ecd006e043f24c6f415db4f88
2,723
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/keyed_app_state.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/keyed_app_state.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/keyed_app_state.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...
39.463768
138
0.705839
28ce216e1185313caf43f311748dab717f09fbd0
742
exs
Elixir
mix.exs
FredrikL/Evp
7afc599c8ccccbc179a1d3226c0de44df3832583
[ "MIT" ]
null
null
null
mix.exs
FredrikL/Evp
7afc599c8ccccbc179a1d3226c0de44df3832583
[ "MIT" ]
null
null
null
mix.exs
FredrikL/Evp
7afc599c8ccccbc179a1d3226c0de44df3832583
[ "MIT" ]
1
2021-05-20T14:37:26.000Z
2021-05-20T14:37:26.000Z
defmodule Evp.MixProject do use Mix.Project @github_url "https://github.com/FredrikL/Evp" def project do [ app: :evp, version: "0.1.1", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), name: "EVP", description: "Elixir implementation of OpenSSL E...
20.054054
72
0.579515
28ce293e244576e2120205da7da82b312c2f05a6
2,372
ex
Elixir
lib/radiator_web/controllers/api/audio_publication_controller.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
92
2019-01-03T11:46:23.000Z
2022-02-19T21:28:44.000Z
lib/radiator_web/controllers/api/audio_publication_controller.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
350
2019-04-11T07:55:51.000Z
2021-08-03T11:19:05.000Z
lib/radiator_web/controllers/api/audio_publication_controller.ex
bhtabor/radiator
39c137a18d36d6f418f9d1ffb7aa2c99011d66cf
[ "MIT" ]
10
2019-04-18T12:47:27.000Z
2022-01-25T20:49:15.000Z
defmodule RadiatorWeb.Api.AudioPublicationController do use RadiatorWeb, :rest_controller alias Radiator.Directory.Editor # TODO: move this into :rest_controller for all rest controllers def action(conn, _) do args = [conn, conn.params, current_user(conn)] apply(__MODULE__, action_name(conn), args) ...
33.885714
100
0.674536
28ce2b110ee284ce7152b5beaaf056b87ff3172a
1,014
ex
Elixir
lib/hexpm/web/controllers/page_controller.ex
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
lib/hexpm/web/controllers/page_controller.ex
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
lib/hexpm/web/controllers/page_controller.ex
hubertpompecki/hexpm
5cd4208b07a70bf2e1490930bf5d577978793b50
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Web.PageController do use Hexpm.Web, :controller def index(conn, _params) do hexpm = Repository.hexpm() render( conn, "index.html", container: "", custom_flash: true, hide_search: true, num_packages: Packages.count(), num_releases: Releases.count()...
20.693878
59
0.605523
28ce4034e17fd5a65e987c82626817d195488105
2,642
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_gcs_destination.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_gcs_destination.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_gcs_destination.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.852941
126
0.736942
28ce4618c13a05d9b4ff01ec9d2b13d704a81113
1,658
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/filter_lowercase_details.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/filter_lowercase_details.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/filter_lowercase_details.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.509804
124
0.738239
28ce464b5c62b5a615e89dc4b639c581a544ad90
5,366
ex
Elixir
lib/Discord/Endpoints/guilds.ex
BenAlbin/alchemy
c31bce54e13a692acdba3c3b581ff49090da7604
[ "MIT" ]
1
2019-02-24T03:13:22.000Z
2019-02-24T03:13:22.000Z
lib/Discord/Endpoints/guilds.ex
appositum/alchemy
2e4c06e198fa8c824183782508610815395d7c0e
[ "MIT" ]
null
null
null
lib/Discord/Endpoints/guilds.ex
appositum/alchemy
2e4c06e198fa8c824183782508610815395d7c0e
[ "MIT" ]
null
null
null
defmodule Alchemy.Discord.Guilds do @moduledoc false alias Alchemy.Discord.Api alias Alchemy.{Channel, Invite, Guild, User, VoiceRegion} alias Alchemy.Guild.{GuildMember, Integration, Role} alias Alchemy.AuditLog @root "https://discordapp.com/api/v6/guilds/" # returns information for a current guild; c...
24.95814
80
0.619456
28ce567a0936063fb3b535daa5ddffdceec55288
479
exs
Elixir
lib/iex/mix.exs
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/iex/mix.exs
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/iex/mix.exs
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
8
2018-02-20T18:30:53.000Z
2019-06-18T14:23:31.000Z
defmodule IEx.MixProject do use Mix.Project def project do [ app: :iex, version: System.version(), build_per_environment: false ] end def application do [ registered: [IEx.Supervisor, IEx.Config], mod: {IEx.App, []}, env: [ colors: [], inspect: [...
18.423077
47
0.549061
28ce5c20cdd10e195d120c1f7dcba6fd19c738c3
86
ex
Elixir
lib/spike/command/ping.ex
thiamsantos/spike-kv
9fc1a779ef335721b7181808537248fc19ac8c04
[ "Apache-2.0" ]
1
2019-04-16T22:13:23.000Z
2019-04-16T22:13:23.000Z
lib/spike/command/ping.ex
thiamsantos/spike-kv
9fc1a779ef335721b7181808537248fc19ac8c04
[ "Apache-2.0" ]
null
null
null
lib/spike/command/ping.ex
thiamsantos/spike-kv
9fc1a779ef335721b7181808537248fc19ac8c04
[ "Apache-2.0" ]
null
null
null
defmodule Spike.Command.Ping do @enforce_keys [:message] defstruct [:message] end
17.2
31
0.755814
28ce5da99224662980369f6ea678d6b5daf08f63
2,261
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/connection.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/connection.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/connection.ex
ericrwolfe/elixir-google-api
3dc0f17edd5e2d6843580c16ddae3bf84b664ffd
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &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.916667
83
0.709863
28ce8900bcfd8b4332129a5221170c0dce2a0fa6
1,436
ex
Elixir
lib/beamchmark/suite/system_info.ex
membraneframework/beamchmark
0e96aff864645d2c4c74bb0967291f74765b0337
[ "Apache-2.0" ]
34
2021-12-08T19:39:02.000Z
2022-03-31T13:55:41.000Z
lib/beamchmark/suite/system_info.ex
membraneframework/beamchmark
0e96aff864645d2c4c74bb0967291f74765b0337
[ "Apache-2.0" ]
8
2022-01-12T13:47:28.000Z
2022-03-21T08:59:50.000Z
lib/beamchmark/suite/system_info.ex
membraneframework/beamchmark
0e96aff864645d2c4c74bb0967291f74765b0337
[ "Apache-2.0" ]
1
2022-03-26T15:48:21.000Z
2022-03-26T15:48:21.000Z
defmodule Beamchmark.Suite.SystemInfo do @moduledoc """ The module defines a struct containing various information about system that is used for benchmarking. """ alias Beamchmark.Utils @type t :: %__MODULE__{ elixir_version: String.t(), otp_version: String.t(), nif_version: St...
26.592593
104
0.611421
28ce8ef170b0e9a14eb3a16ae26b8a20fb96610e
1,178
exs
Elixir
test/vaultdevserver/devserver_test.exs
praekeltfoundation/vaultdevserver
c99cf94e8a81a1dfe9b8812ba64e600809f02979
[ "BSD-3-Clause" ]
null
null
null
test/vaultdevserver/devserver_test.exs
praekeltfoundation/vaultdevserver
c99cf94e8a81a1dfe9b8812ba64e600809f02979
[ "BSD-3-Clause" ]
42
2019-02-12T14:18:21.000Z
2020-07-25T10:55:04.000Z
test/vaultdevserver/devserver_test.exs
praekeltfoundation/vaultdevserver
c99cf94e8a81a1dfe9b8812ba64e600809f02979
[ "BSD-3-Clause" ]
null
null
null
defmodule VaultDevServer.DevServerTest do use ExUnit.Case alias VaultDevServer.DevServer test "start" do {:ok, ds} = start_supervised(DevServer) assert DevServer.api_addr(ds) == "http://127.0.0.1:8200" assert DevServer.root_token(ds) == "root" end test "custom root token" do {:ok, ds} = sta...
32.722222
97
0.672326
28ce99dfc4b15348c300cefb17ca3181429e4916
659
ex
Elixir
elixir/sum-of-odd-elements.ex
felipe-araujo/functional-programming
f69ed723f17fba4fd5a956ee27935a770252b7ce
[ "MIT" ]
null
null
null
elixir/sum-of-odd-elements.ex
felipe-araujo/functional-programming
f69ed723f17fba4fd5a956ee27935a770252b7ce
[ "MIT" ]
null
null
null
elixir/sum-of-odd-elements.ex
felipe-araujo/functional-programming
f69ed723f17fba4fd5a956ee27935a770252b7ce
[ "MIT" ]
null
null
null
defmodule Console do def read_until_eof() do read_until_eof([]) end def read_until_eof(acc) do case IO.read(:stdio, :line) do :eof -> acc data -> acc = acc ++ [String.to_integer(String.trim(data))] ...
22.724138
81
0.465857
28ceb3b0a724da14a4bc8703e655b8ec00078bd2
79
exs
Elixir
test/views/layout_view_test.exs
coshx/phoenix_tutorial
5c9859e537ea8383f35fa05d97df453decc333d8
[ "MIT" ]
2
2016-10-07T07:18:59.000Z
2019-01-12T20:51:09.000Z
test/views/layout_view_test.exs
coshx/phoenix_tutorial
5c9859e537ea8383f35fa05d97df453decc333d8
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
coshx/phoenix_tutorial
5c9859e537ea8383f35fa05d97df453decc333d8
[ "MIT" ]
null
null
null
defmodule PhxOembed.LayoutViewTest do use PhxOembed.ConnCase, async: true end
26.333333
37
0.835443
28cedf8d1e56d0beb8caffb15e88f495fc890aa8
1,199
ex
Elixir
lib/try_elixir/sandbox/warning_agent.ex
tryelixir/tryelixir
a8daff4afafaf5324f9c4c82f51430a2eb9fa10c
[ "MIT" ]
28
2015-01-28T05:30:44.000Z
2019-08-01T13:52:28.000Z
lib/try_elixir/sandbox/warning_agent.ex
mrshankly/tryelixir
a8daff4afafaf5324f9c4c82f51430a2eb9fa10c
[ "MIT" ]
3
2020-12-03T19:46:36.000Z
2021-02-20T09:43:52.000Z
lib/try_elixir/sandbox/warning_agent.ex
tryelixir/tryelixir
a8daff4afafaf5324f9c4c82f51430a2eb9fa10c
[ "MIT" ]
5
2016-01-28T13:55:02.000Z
2018-06-06T15:12:47.000Z
defmodule TryElixir.Sandbox.WarningAgent do @moduledoc """ A simple abstraction that allows a sandbox process to store and retrieve warning messages from the elixir compiler. The process must be registered as `:elixir_compiler_pid` in the process dictionary. """ require Logger @type warning() :: {non...
24.979167
75
0.63553
28cefdc3833a712ee4f1e398c30d4ee80ec7732b
998
ex
Elixir
test/support/channel_case.ex
herald-it/goncord.ex
2f58706231a28caa067509c5df43f5c915c46320
[ "MIT" ]
null
null
null
test/support/channel_case.ex
herald-it/goncord.ex
2f58706231a28caa067509c5df43f5c915c46320
[ "MIT" ]
5
2017-03-31T06:48:29.000Z
2018-12-20T03:40:59.000Z
test/support/channel_case.ex
herald-it/goncord.ex
2f58706231a28caa067509c5df43f5c915c46320
[ "MIT" ]
1
2019-01-20T10:01:27.000Z
2019-01-20T10:01:27.000Z
defmodule Goncord.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 and query models. Finally, if the test case interacts with the database, it cannot be a...
22.681818
69
0.700401
28cf0d6fa0592e3f6fda909382d8896bcc585d9a
2,038
exs
Elixir
test/filter_test.exs
andriybohdan/ex_admin
e31c725078ac4e7390204a87d96360a21ffe7b90
[ "MIT" ]
1
2018-08-30T20:20:56.000Z
2018-08-30T20:20:56.000Z
test/filter_test.exs
8thlight/ex_admin
314d4068270c47799ec54f719073a565222bcfad
[ "MIT" ]
null
null
null
test/filter_test.exs
8thlight/ex_admin
314d4068270c47799ec54f719073a565222bcfad
[ "MIT" ]
1
2020-06-06T18:08:16.000Z
2020-06-06T18:08:16.000Z
defmodule ExAdmin.FilterTest do use ExUnit.Case, async: true alias ExAdmin.Filter ############ # filter fields test "filters" do defn = %TestExAdmin.ExAdmin.User{} assert Filter.fields(defn) == [name: :string, email: :string] end test "filters all" do defn = %TestExAdmin.ExAdmin.User{index_f...
35.137931
114
0.661433
28cf357e7ca8157b209ce5f755e5b5ea0aa3d47f
3,323
ex
Elixir
lib/oban/plugins/pruner.ex
nathanl/oban
e7b22c8fb5a9f7fc6fdeecdfdff3c2eb9b4cb39b
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/pruner.ex
nathanl/oban
e7b22c8fb5a9f7fc6fdeecdfdff3c2eb9b4cb39b
[ "Apache-2.0" ]
null
null
null
lib/oban/plugins/pruner.ex
nathanl/oban
e7b22c8fb5a9f7fc6fdeecdfdff3c2eb9b4cb39b
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Plugins.Pruner do @moduledoc """ Periodically delete completed, cancelled and discarded jobs based on age. ## Using the Plugin The following example demonstrates using the plugin without any configuration, which will prune jobs older than the default of 60 seconds: config :my_app, Oban...
24.614815
102
0.631056
28cf4bf3568e20904b0b370da09cfbf099e426e7
3,792
exs
Elixir
test/mongo_ecto_test.exs
nisitjirauwat/mongodb_ecto
b89753774bd3e52e216c8175e2a1a5f5ebe817dc
[ "Apache-2.0" ]
12
2020-06-21T15:34:44.000Z
2021-07-28T12:32:02.000Z
test/mongo_ecto_test.exs
nisitjirauwat/mongodb_ecto
b89753774bd3e52e216c8175e2a1a5f5ebe817dc
[ "Apache-2.0" ]
3
2020-12-08T17:15:21.000Z
2021-08-28T10:59:49.000Z
test/mongo_ecto_test.exs
nisitjirauwat/mongodb_ecto
b89753774bd3e52e216c8175e2a1a5f5ebe817dc
[ "Apache-2.0" ]
11
2020-06-24T13:46:43.000Z
2021-04-28T21:05:58.000Z
defmodule Mongo.EctoTest do use Ecto.Integration.Case alias Ecto.Integration.TestRepo alias Ecto.Integration.Post alias Ecto.Integration.Tag alias Ecto.Integration.Order alias Ecto.Integration.Item import Ecto.Query, only: [from: 2] import Mongo.Ecto.Helpers test "command/3" do assert %{"ok" =>...
28.946565
104
0.623945
28cf4d5db0325e178ea7985b865610badaf412e3
563
ex
Elixir
code/spawn/fib_tr.ex
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
null
null
null
code/spawn/fib_tr.ex
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
programming-elixir-book/code/spawn/fib_tr.ex
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
#--- # Excerpted from "Programming Elixir ≥ 1.6", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any purpose. # Visit http...
35.1875
85
0.717584
28cf674ab925eb88baa519c0fa308c3ef998494b
1,237
exs
Elixir
test/xmap_test.exs
fertapric/xmap
9f22b740f67f8d33a01d42b918487b107edd27d2
[ "MIT" ]
3
2017-04-05T08:26:03.000Z
2019-04-25T22:43:38.000Z
test/xmap_test.exs
fertapric/xmap
9f22b740f67f8d33a01d42b918487b107edd27d2
[ "MIT" ]
3
2018-04-24T11:12:59.000Z
2019-04-18T08:01:54.000Z
test/xmap_test.exs
fertapric/xmap
9f22b740f67f8d33a01d42b918487b107edd27d2
[ "MIT" ]
3
2018-04-25T06:37:30.000Z
2019-04-17T22:39:43.000Z
defmodule XMapTest do use ExUnit.Case, async: true doctest XMap test "parses empty nodes as empty maps" do xml = """ <comments> <comment> <author/> <body>Hello world!</body> <footer></footer> </comment> <comment></comment> <comment/> </comments> """...
18.191176
60
0.479386
28cf6fec4c0b40ab06f56dc33518f093861190d2
803
exs
Elixir
fade/mix.exs
ahives/Fade
7094b6703933e41a1400b1053764335e32928b0a
[ "Apache-2.0" ]
null
null
null
fade/mix.exs
ahives/Fade
7094b6703933e41a1400b1053764335e32928b0a
[ "Apache-2.0" ]
null
null
null
fade/mix.exs
ahives/Fade
7094b6703933e41a1400b1053764335e32928b0a
[ "Apache-2.0" ]
null
null
null
defmodule Fade.MixProject do use Mix.Project def project do [ app: :fade, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applicat...
22.305556
87
0.513076
28cf87c309f855f7de8b55cb926ed6dcb9e06b6b
1,701
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/custom_event_click_annotation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/custom_event_click_annotation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/custom_event_click_annotation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.02
162
0.734274
28cfaa499a5a3cb2108587ec293c5918daeaa591
3,918
ex
Elixir
clients/policy_troubleshooter/lib/google_api/policy_troubleshooter/v1/model/google_cloud_policytroubleshooter_v1_explained_policy.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/policy_troubleshooter/lib/google_api/policy_troubleshooter/v1/model/google_cloud_policytroubleshooter_v1_explained_policy.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/policy_troubleshooter/lib/google_api/policy_troubleshooter/v1/model/google_cloud_policytroubleshooter_v1_explained_policy.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...
53.671233
449
0.757019
28cfab26ec2aab75fdc35ae98190d4435b5e885c
46
exs
Elixir
test/ex_ulid_test.exs
omisego/ex_ulid
2572a88f2687c3aebc8e8657a999fa77bc769fa3
[ "Apache-2.0" ]
10
2019-01-11T05:37:42.000Z
2020-05-28T22:09:04.000Z
test/ex_ulid_test.exs
kdawgwilk/ex_ulid
2572a88f2687c3aebc8e8657a999fa77bc769fa3
[ "Apache-2.0" ]
1
2021-09-29T04:31:07.000Z
2021-09-29T04:31:07.000Z
test/ex_ulid_test.exs
omisego/ex_ulid
2572a88f2687c3aebc8e8657a999fa77bc769fa3
[ "Apache-2.0" ]
2
2021-03-10T20:14:48.000Z
2021-09-20T08:11:00.000Z
defmodule ExULIDTest do use ExUnit.Case end
11.5
23
0.804348
28cfaeed6687560c4c733e910534ea6507261351
154
ex
Elixir
behaviours/tracer_test.ex
hectorip/ErlangExercises
4a1aa5de0504da1bfe5a6c31c1d20277524ab363
[ "MIT" ]
4
2016-09-22T03:47:56.000Z
2017-02-02T17:42:57.000Z
behaviours/tracer_test.ex
hectorip/ErlangExercises
4a1aa5de0504da1bfe5a6c31c1d20277524ab363
[ "MIT" ]
null
null
null
behaviours/tracer_test.ex
hectorip/ErlangExercises
4a1aa5de0504da1bfe5a6c31c1d20277524ab363
[ "MIT" ]
null
null
null
defmodule Test do use Tracer def puts_sum_three(a,b,c), do: IO.inspect(a + b + c) def add_list(list), do: Enum.reduce(list, 0, &(&1+&2)) end
25.666667
63
0.616883
28cfb1cf3216434a26384a6e01fdfb6881348cad
172
ex
Elixir
lib/meeseeks/document/element.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
291
2017-03-27T15:53:36.000Z
2022-03-14T23:01:42.000Z
lib/meeseeks/document/element.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
70
2017-03-30T23:32:34.000Z
2021-06-27T06:26:28.000Z
lib/meeseeks/document/element.ex
RichMorin/meeseeks
d52a15a0b78acfc4d7b979d1df6e146482dc3a10
[ "Apache-2.0", "MIT" ]
23
2017-06-18T10:29:04.000Z
2021-11-04T13:08:12.000Z
defmodule Meeseeks.Document.Element do @moduledoc false @enforce_keys [:id] defstruct parent: nil, id: nil, namespace: "", tag: "", attributes: [], children: [] end
24.571429
86
0.686047
28cfba600be901756c2bc6b8ff8129eba6695ce6
996
exs
Elixir
test/rosetta_euler/fsharp_test.exs
seaneshbaugh/rosetta-euler
14f24dfc347e7d9a4c9c0f090acf2811aa65f453
[ "MIT" ]
36
2015-01-24T08:11:52.000Z
2021-03-21T00:32:00.000Z
test/rosetta_euler/fsharp_test.exs
seaneshbaugh/rosetta-euler
14f24dfc347e7d9a4c9c0f090acf2811aa65f453
[ "MIT" ]
null
null
null
test/rosetta_euler/fsharp_test.exs
seaneshbaugh/rosetta-euler
14f24dfc347e7d9a4c9c0f090acf2811aa65f453
[ "MIT" ]
4
2015-01-24T08:17:42.000Z
2022-01-11T16:10:56.000Z
Code.require_file "../rosetta_euler_test.exs", __DIR__ Code.require_file "../support/answers.exs", __DIR__ defmodule RosettaEuler.FSharpTest do use ExUnit.Case, async: true import RosettaEuler.Test, only: [rosetta_euler_tests: 2] import RosettaEuler.Answers, only: [answer_for: 1] setup context do {:ok, [...
26.918919
73
0.668675
28cfc3ddc763d59195980903ec4c98e03fa0f351
65
exs
Elixir
test/test_helper.exs
mgamini/oauth2
2c87824f57ede0a544d6d938064745184cd76d46
[ "MIT" ]
null
null
null
test/test_helper.exs
mgamini/oauth2
2c87824f57ede0a544d6d938064745184cd76d46
[ "MIT" ]
null
null
null
test/test_helper.exs
mgamini/oauth2
2c87824f57ede0a544d6d938064745184cd76d46
[ "MIT" ]
null
null
null
:application.start :cowboy :application.start :plug ExUnit.start
16.25
26
0.815385
28cfd78685d3826461eb4663614c81259dd4ec5b
2,603
ex
Elixir
lib/rox/native.ex
arikai/rox
97639d7b46418941c4c3948f2a7ef58aa1d676e5
[ "MIT" ]
56
2016-09-07T07:34:15.000Z
2021-09-01T07:55:30.000Z
lib/rox/native.ex
arikai/rox
97639d7b46418941c4c3948f2a7ef58aa1d676e5
[ "MIT" ]
12
2017-03-03T01:37:37.000Z
2020-01-09T07:56:35.000Z
lib/rox/native.ex
arikai/rox
97639d7b46418941c4c3948f2a7ef58aa1d676e5
[ "MIT" ]
20
2017-02-26T10:59:54.000Z
2020-08-12T17:36:38.000Z
defmodule Rox.Native do use Rustler, otp_app: :rox, crate: "rox_nif" @dialyzer {:nowarn_function, [__init__: 0,]} def open(_, _, _) do case :erlang.phash2(1, 1) do 0 -> raise "Nif not loaded" 1 -> {:ok, ""} 2 -> {:error, "Invalid argument: Column family not found: Something"} end end...
18.726619
75
0.497887
28cfe3c3b8309dc860baa5b6c744affe5d5bf58e
4,526
ex
Elixir
lib/lixie/cog.ex
elixir-discord/lixie
35d4abd5fd436942cbc54ddfbeac47ec4d6b59df
[ "Apache-2.0" ]
2
2021-09-06T21:57:39.000Z
2021-09-13T18:38:50.000Z
lib/lixie/cog.ex
elixir-discord/lixie
35d4abd5fd436942cbc54ddfbeac47ec4d6b59df
[ "Apache-2.0" ]
1
2021-10-04T13:54:19.000Z
2021-10-04T13:54:19.000Z
lib/lixie/cog.ex
elixir-discord/lixie
35d4abd5fd436942cbc54ddfbeac47ec4d6b59df
[ "Apache-2.0" ]
null
null
null
defmodule Lixie.Cog do @moduledoc """ A behaviour module for defining a set of functionality that can be loaded and unloaded. ## Important notes This behaviour assumes the module is a GenServer, and the use macro will call `GenServer.__using__`. Do not manually un/register commands. Return the command re...
35.920635
98
0.685815
28d0068a1769587e3ce9a876b9213c5fadc35efb
1,428
ex
Elixir
apps/game_services_web/lib/game_services_web/views/error_helpers.ex
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
4
2018-11-09T16:57:06.000Z
2021-03-02T22:57:17.000Z
apps/game_services_web/lib/game_services_web/views/error_helpers.ex
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
29
2018-10-26T08:29:37.000Z
2018-12-09T21:02:05.000Z
apps/game_services_web/lib/game_services_web/views/error_helpers.ex
Alezrik/game_services_umbrella
9b9dd6707c200b10c5a73568913deb4d5d8320be
[ "MIT" ]
null
null
null
defmodule GameServicesWeb.ErrorHelpers do @moduledoc false 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_tag(:span, translate_error(error), class: "help-block") end...
33.209302
81
0.672269
28d01996e9d48cbce2ef807083adfdf885af91d3
411
ex
Elixir
test/support/case.ex
imranismail/parameters
9de14c32a007d8ddd01685678ba81e0fdb1f7fb9
[ "MIT" ]
13
2019-04-23T04:22:49.000Z
2021-12-17T10:38:12.000Z
test/support/case.ex
imranismail/parameters
9de14c32a007d8ddd01685678ba81e0fdb1f7fb9
[ "MIT" ]
2
2019-07-07T13:59:45.000Z
2019-07-07T14:02:34.000Z
test/support/case.ex
imranismail/parameters
9de14c32a007d8ddd01685678ba81e0fdb1f7fb9
[ "MIT" ]
null
null
null
defmodule Parameters.Case do use ExUnit.CaseTemplate using do quote do import Parameters.Case, only: [phoenix_conn: 2, module_defined?: 1] end end def phoenix_conn(controller, action) do %{ params: nil, private: %{phoenix_controller: controller, phoenix_action: action} } en...
19.571429
73
0.683698
28d04f73a27cb85ee0019622e49ebc89c8e2467a
460
ex
Elixir
test/support/phoenix/conn_case.ex
rjurado01/pow
d97c013cafe06f51d30a56f4258d7ccc0952edf2
[ "MIT" ]
null
null
null
test/support/phoenix/conn_case.ex
rjurado01/pow
d97c013cafe06f51d30a56f4258d7ccc0952edf2
[ "MIT" ]
null
null
null
test/support/phoenix/conn_case.ex
rjurado01/pow
d97c013cafe06f51d30a56f4258d7ccc0952edf2
[ "MIT" ]
null
null
null
defmodule Pow.Test.Phoenix.ConnCase do @moduledoc false use ExUnit.CaseTemplate alias Pow.Test.EtsCacheMock alias Pow.Test.Phoenix.{ControllerAssertions, Endpoint, Router} using do quote do use Phoenix.ConnTest import ControllerAssertions alias Router.Helpers, as: Routes @endpo...
18.4
65
0.708696
28d07fc81f6807cc6e8d701acf6851fca370b7d8
1,270
ex
Elixir
lib/ueberauth_apple.ex
cloverfoodlab/ueberauth_apple
b2fdd37b2a531b727fdb27db4104e72bf0125c80
[ "MIT" ]
null
null
null
lib/ueberauth_apple.ex
cloverfoodlab/ueberauth_apple
b2fdd37b2a531b727fdb27db4104e72bf0125c80
[ "MIT" ]
null
null
null
lib/ueberauth_apple.ex
cloverfoodlab/ueberauth_apple
b2fdd37b2a531b727fdb27db4104e72bf0125c80
[ "MIT" ]
null
null
null
defmodule UeberauthApple do @default_expires_in 86400 * 180 @public_key_url "https://appleid.apple.com/auth/keys" def uid_from_id_token(id_token) do with {:ok, %{body: response_body}} <- HTTPoison.get(@public_key_url), {true, %JOSE.JWT{fields: fields}, _jws} <- Ueberauth.json_library().de...
29.534884
93
0.59685
28d08f4fc3c75a38a97f5a29e04d56c4692fdaeb
259
exs
Elixir
config/test.exs
rubencaro/pedro
b550b3af700962283fa9e3985e1dcc2da2e14d0d
[ "MIT" ]
null
null
null
config/test.exs
rubencaro/pedro
b550b3af700962283fa9e3985e1dcc2da2e14d0d
[ "MIT" ]
null
null
null
config/test.exs
rubencaro/pedro
b550b3af700962283fa9e3985e1dcc2da2e14d0d
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :pedro, Pedro.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn
23.545455
56
0.72973
28d090dc7949abd141feb219f0400814f5d71511
1,527
exs
Elixir
test/spear/grpc/response_test.exs
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
34
2021-04-15T22:16:38.000Z
2022-03-11T10:20:11.000Z
test/spear/grpc/response_test.exs
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
32
2021-04-05T18:07:35.000Z
2021-11-04T19:32:58.000Z
test/spear/grpc/response_test.exs
NFIBrokerage/spear
611223d2cdba97daa63f2ddd81a08b4f55e72198
[ "Apache-2.0" ]
1
2021-10-11T15:53:42.000Z
2021-10-11T15:53:42.000Z
defmodule Spear.Grpc.ResponseTest do use ExUnit.Case, async: true # note that these tests are a bit un-ideal: I'd rather have a little http(2) # server included in the test suite to bounce these requests off of and get # real responses, but the test noise just from the EventStoreDB server is # already very u...
35.511628
85
0.705305
28d09f44ff5126295b52b15a2bf7c4e7f719d635
386
ex
Elixir
web/views/error_view.ex
dummey/hard_thing_rule
4944e82931e638ed7fc40ff89acee9817628d994
[ "MIT" ]
null
null
null
web/views/error_view.ex
dummey/hard_thing_rule
4944e82931e638ed7fc40ff89acee9817628d994
[ "MIT" ]
null
null
null
web/views/error_view.ex
dummey/hard_thing_rule
4944e82931e638ed7fc40ff89acee9817628d994
[ "MIT" ]
null
null
null
defmodule HardThingRule.ErrorView do use HardThingRule.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_foun...
21.444444
47
0.707254
28d0c804040baf4b407013bcc73992ac41ca9c88
1,824
ex
Elixir
lib/bex/bencode.ex
ckampfe/bex
cfbfdd600e03ebb9ef60c3f2f8cb61b0640455ff
[ "BSD-3-Clause" ]
null
null
null
lib/bex/bencode.ex
ckampfe/bex
cfbfdd600e03ebb9ef60c3f2f8cb61b0640455ff
[ "BSD-3-Clause" ]
null
null
null
lib/bex/bencode.ex
ckampfe/bex
cfbfdd600e03ebb9ef60c3f2f8cb61b0640455ff
[ "BSD-3-Clause" ]
null
null
null
defmodule Bex.Bencode do @moduledoc false def decode(term, options \\ [atom_keys: false]) do case term do <<"d", s::binary()>> -> decode_dict(s, %{}, options) <<"l", s::binary()>> -> decode_list(s, [], options) <<"i", s::binary()>> -> {int, <<"e", s::binary()>>} = In...
20.727273
63
0.523575
28d135c93ba55962e9cd3b985ded7ba91a8329bc
1,814
ex
Elixir
lib/kale.ex
kerryb/kale
f9d4f31e21c6adcf6864c17f41d705a4d9c13859
[ "MIT" ]
1
2021-03-22T22:06:50.000Z
2021-03-22T22:06:50.000Z
lib/kale.ex
kerryb/kale
f9d4f31e21c6adcf6864c17f41d705a4d9c13859
[ "MIT" ]
null
null
null
lib/kale.ex
kerryb/kale
f9d4f31e21c6adcf6864c17f41d705a4d9c13859
[ "MIT" ]
null
null
null
defmodule Kale do # credo:disable-for-this-file Credo.Check.Warning.UnsafeToAtom # credo:disable-for-this-file Credo.Check.Readability.Specs @moduledoc ~s''' An `ExUnit` test case for writing features using Kale. # Usage ```elixir defmodule MyTest do use ExUnit.Case, async: true use Kale f...
26.289855
84
0.626792
28d159674df201ec2adde3c107f32b807ad04e88
1,852
exs
Elixir
mix.exs
warpas/document_generator
1d9238b4e934461a36cc5f275ae173b47962074b
[ "MIT" ]
null
null
null
mix.exs
warpas/document_generator
1d9238b4e934461a36cc5f275ae173b47962074b
[ "MIT" ]
null
null
null
mix.exs
warpas/document_generator
1d9238b4e934461a36cc5f275ae173b47962074b
[ "MIT" ]
null
null
null
defmodule DocumentGenerator.Mixfile do use Mix.Project def project do [ app: :document_generator, version: "0.0.2", elixir: "~> 1.8.1", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, ali...
27.641791
79
0.567495
28d16487709d7b5d997f9c7e473111134d2582de
1,163
ex
Elixir
backend/web/channels/user_socket.ex
hploscar/palike
71618593ee6e6687e0d1cdc9e923ed8f9c2cc2cb
[ "MIT" ]
null
null
null
backend/web/channels/user_socket.ex
hploscar/palike
71618593ee6e6687e0d1cdc9e923ed8f9c2cc2cb
[ "MIT" ]
null
null
null
backend/web/channels/user_socket.ex
hploscar/palike
71618593ee6e6687e0d1cdc9e923ed8f9c2cc2cb
[ "MIT" ]
null
null
null
defmodule Palike.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", Palike.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authentic...
30.605263
83
0.700774
28d16960a35896b1689fe71fde139b02008e2e45
2,156
ex
Elixir
clients/content/lib/google_api/content/v2/model/account_you_tube_channel_link.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/account_you_tube_channel_link.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v2/model/account_you_tube_channel_link.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...
43.12
727
0.74397
28d19cb472e7404b39685a9518909a6491c8f5b6
5,843
exs
Elixir
test/aggregates/execute_command_test.exs
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
null
null
null
test/aggregates/execute_command_test.exs
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
null
null
null
test/aggregates/execute_command_test.exs
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
null
null
null
defmodule Commanded.Aggregates.ExecuteCommandTest do use Commanded.StorageCase alias Commanded.Aggregates.{Aggregate, ExecutionContext} alias Commanded.ExampleDomain.{BankAccount, OpenAccountHandler} alias Commanded.ExampleDomain.BankAccount.Commands.OpenAccount alias Commanded.ExampleDomain.BankAccount.Even...
34.169591
108
0.721718
28d1b683a6fa1f2b3c684b37a3990734d78bb0b8
6,116
exs
Elixir
test/robolia/tic_tac_toes_test.exs
Robolia/robolia
cbd3ea24db460f213a3411f474d765536ae7871c
[ "MIT" ]
1
2020-01-19T04:27:46.000Z
2020-01-19T04:27:46.000Z
test/robolia/tic_tac_toes_test.exs
Robolia/robolia
cbd3ea24db460f213a3411f474d765536ae7871c
[ "MIT" ]
null
null
null
test/robolia/tic_tac_toes_test.exs
Robolia/robolia
cbd3ea24db460f213a3411f474d765536ae7871c
[ "MIT" ]
1
2018-05-13T14:06:46.000Z
2018-05-13T14:06:46.000Z
defmodule Robolia.Games.TicTacToesTest do use Robolia.DataCase alias Robolia.Games.TicTacToes alias Robolia.Games.TicTacToes.TicTacToeMoviment alias Robolia.GameError setup do p1 = insert(:player) p2 = insert(:player) game = insert(:game) match = insert( :tic_tac_toe_match, ...
30.427861
104
0.608241
28d1e8204a2ff16ab566ffb5a6ccf45128bfbc2a
947
ex
Elixir
test/support/channel_case.ex
KenzoBenzo/graphql-elixir
66607a0b27ede5fd53d8f378a7a8fbc587d339c1
[ "MIT" ]
13
2018-01-16T10:28:25.000Z
2021-09-02T06:54:19.000Z
test/support/channel_case.ex
KenzoBenzo/graphql-elixir
66607a0b27ede5fd53d8f378a7a8fbc587d339c1
[ "MIT" ]
2
2017-07-12T01:29:49.000Z
2019-03-21T05:14:05.000Z
test/support/channel_case.ex
KenzoBenzo/graphql-elixir
66607a0b27ede5fd53d8f378a7a8fbc587d339c1
[ "MIT" ]
7
2017-09-29T17:09:28.000Z
2021-02-28T11:40:01.000Z
defmodule Community.Web.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...
24.921053
71
0.717001
28d25d41291610a3b94dfbd1f57d9d32ce869243
1,331
ex
Elixir
lib/scenic/math/quad.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/math/quad.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
lib/scenic/math/quad.ex
zacck/scenic
5f2170b7fba63b0af597ddeb3107fb1ffb79c2fe
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer, 11/02/17 # Copyright © 2017 Kry10 Industries. All rights reserved. # defmodule Scenic.Math.Quad do @moduledoc false alias Scenic.Math @type classification :: :concave | :convex | :complex # --------------------------------------------------------...
22.948276
61
0.551465
28d2695f9cf61187b433d74cfeb08cec66146881
759
exs
Elixir
apps/api/test/api/v1/controllers/block_controller_test.exs
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/api/test/api/v1/controllers/block_controller_test.exs
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/api/test/api/v1/controllers/block_controller_test.exs
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule API.V1.Controller.BlockControllerTest do use Engine.DB.DataCase, async: true alias API.V1.Controller.BlockController alias ExPlasma.Encoding describe "get_by_hash/1" do test "it returns a matching block" do transaction = insert(:payment_v1_transaction, %{block: insert(:block)}) hash...
33
97
0.722003
28d26e9a5978cbc15c38e31c56d436eea9d30227
5,458
ex
Elixir
lib/phoenix_live_view/test/dom.ex
ZeLarpMaster/phoenix_live_view
b55b3858dc9f0b8e63ffa9a0303e3daf2d945d22
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/dom.ex
ZeLarpMaster/phoenix_live_view
b55b3858dc9f0b8e63ffa9a0303e3daf2d945d22
[ "MIT" ]
null
null
null
lib/phoenix_live_view/test/dom.ex
ZeLarpMaster/phoenix_live_view
b55b3858dc9f0b8e63ffa9a0303e3daf2d945d22
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveViewTest.DOM do @moduledoc false @phx_component "data-phx-component" def render_diff(rendered) do rendered |> to_output_buffer([]) |> Enum.reverse() |> Enum.join("") end # for comprehension defp to_output_buffer(%{dynamics: for_dynamics, static: statics}, acc) do ...
27.989744
97
0.616709
28d27031d0d675caea110234aeafc02f7ac840c2
395
ex
Elixir
lib/fragment/structured_text/block/text/list_item.ex
TheRealReal/prismic-elixir
0850b922be6d2f2d541add8426fe27f8ce5f63eb
[ "MIT" ]
10
2018-01-12T18:52:53.000Z
2022-02-17T06:00:21.000Z
lib/fragment/structured_text/block/text/list_item.ex
TheRealReal/prismic-elixir
0850b922be6d2f2d541add8426fe27f8ce5f63eb
[ "MIT" ]
12
2018-02-14T23:08:08.000Z
2021-11-22T15:55:41.000Z
lib/fragment/structured_text/block/text/list_item.ex
TheRealReal/prismic-elixir
0850b922be6d2f2d541add8426fe27f8ce5f63eb
[ "MIT" ]
8
2018-05-08T14:02:21.000Z
2021-12-15T08:19:55.000Z
alias Prismic.Fragment.StructuredText.Block defmodule Block.Text.ListItem do defstruct [:ordered?, :text, :label, spans: []] @type t :: %__MODULE__{ ordered?: true | false, text: String.t(), spans: [Span.t()], label: String.t() } end defimpl Block, for: Block.Text....
23.235294
58
0.617722
28d29062578744debb1f74167efc031e7b2af210
2,073
exs
Elixir
test/mix/tasks/plantuml_test.exs
kianmeng/clean_mixer
c2ce915156472a86828b53538efb8979bebcd78d
[ "Apache-2.0" ]
45
2020-07-14T11:01:45.000Z
2022-03-10T18:40:04.000Z
test/mix/tasks/plantuml_test.exs
kianmeng/clean_mixer
c2ce915156472a86828b53538efb8979bebcd78d
[ "Apache-2.0" ]
3
2021-07-03T15:37:02.000Z
2021-07-13T08:59:08.000Z
test/mix/tasks/plantuml_test.exs
kianmeng/clean_mixer
c2ce915156472a86828b53538efb8979bebcd78d
[ "Apache-2.0" ]
4
2020-02-01T01:20:53.000Z
2020-06-18T11:58:55.000Z
defmodule Mix.Tasks.CleanMixer.PlantumlTest do use ExUnit.Case alias Mix.Tasks.CleanMixer.Plantuml import ExUnit.CaptureIO setup tags do file_name = Map.get(tags, :output_file, Plantuml.default_file_name()) on_exit(fn -> file_name |> Plantuml.image_file_name() |> File.rm() file_name |> Pl...
30.043478
83
0.666184
28d290d1978b6952090ca95aa5ae09412db5b69c
2,407
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/upload.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/analytics/lib/google_api/analytics/v3/model/upload.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/analytics/lib/google_api/analytics/v3/model/upload.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...
37.030769
134
0.672622
28d2afa30f4665a4931eb4f6622f42d0701960df
2,201
ex
Elixir
elixir/lib/homework/transactions.ex
danrix89/web-homework
4d47485c33b9a712b7847b1bfb36576b8337a474
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions.ex
danrix89/web-homework
4d47485c33b9a712b7847b1bfb36576b8337a474
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions.ex
danrix89/web-homework
4d47485c33b9a712b7847b1bfb36576b8337a474
[ "MIT" ]
null
null
null
defmodule Homework.Transactions do @moduledoc """ The Transactions context. """ import Ecto.Query, warn: false alias Homework.Repo alias Homework.Transactions.Transaction @doc """ Returns the list of transactions. ## Examples iex> list_transactions([]) [%Transaction{}, ...] """ d...
20.192661
82
0.651068
28d2cf0fd95f212bdb1da89da8817678be95791f
556
ex
Elixir
lib/layers/queries/helper/common.ex
haskric/mongo_agile
393e1e96f706e3580f6bac9ff7bcc081b0a2e4eb
[ "MIT" ]
1
2020-12-30T18:30:32.000Z
2020-12-30T18:30:32.000Z
lib/layers/queries/helper/common.ex
haskric/mongo_agile
393e1e96f706e3580f6bac9ff7bcc081b0a2e4eb
[ "MIT" ]
null
null
null
lib/layers/queries/helper/common.ex
haskric/mongo_agile
393e1e96f706e3580f6bac9ff7bcc081b0a2e4eb
[ "MIT" ]
null
null
null
defmodule MongoAgile.Queries.Helper.Common do @moduledoc false defmacro __using__(_opts) do quote do @type common_result :: {:ok, any} | {:error, any} @spec exe(map) :: {:ok, any} | {:error, any} def exe(query) do run(query) |> return() rescue e -> {:...
17.935484
56
0.532374