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
5a92fbdc9ebd5471a564f8ffdb4c3be975131b99
5,052
ex
Elixir
lib/vintage_net/route/calculator.ex
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/route/calculator.ex
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/route/calculator.ex
jjcarstens/vintage_net
221b27f4ea5ff2d43d27357eb3b0a008fe364ecc
[ "Apache-2.0" ]
null
null
null
defmodule VintageNet.Route.Calculator do @moduledoc """ This module computes the desired routing table contents It's used by the RouteManager to update the Linux routing tables when interfaces come online or change state. See the RouteManager docs for a discussion of how routes are configured. The functio...
32.593548
92
0.677949
5a93082dff4c1f463536da184a6aca2481c3839f
2,127
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/paste_data_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/sheets/lib/google_api/sheets/v4/model/paste_data_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/sheets/lib/google_api/sheets/v4/model/paste_data_request.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...
36.050847
155
0.692055
5a93192d6695f30dc8f4473a93b139aa9787793e
742
exs
Elixir
examples/without-runtime/clock.exs
Fitblip/ratatouille
873f8a51b0f824ce9e39b7575850fcc585cfc7b1
[ "MIT" ]
504
2019-01-13T21:53:21.000Z
2022-03-31T20:58:21.000Z
examples/without-runtime/clock.exs
iboard/ratatouille
cc7b6a37e0b1757cd89cc5084343814a79dd86dc
[ "MIT" ]
28
2019-01-26T21:00:23.000Z
2021-12-28T19:06:15.000Z
examples/without-runtime/clock.exs
iboard/ratatouille
cc7b6a37e0b1757cd89cc5084343814a79dd86dc
[ "MIT" ]
21
2019-02-21T09:08:27.000Z
2021-12-20T15:51:10.000Z
# An example of how to create application loops. defmodule Clock do alias Ratatouille.{EventManager, Window} import Ratatouille.View def start do {:ok, _pid} = Window.start_link() {:ok, _pid} = EventManager.start_link() :ok = EventManager.subscribe(self()) loop() end def loop do clock_...
19.025641
66
0.602426
5a935d62f0c7112745dd0731e882c008c23b27c2
772
ex
Elixir
lib/plausible_web/plugs/last_seen_plug.ex
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
984
2019-09-02T11:36:41.000Z
2020-06-08T06:25:48.000Z
lib/plausible_web/plugs/last_seen_plug.ex
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
24
2019-09-10T09:53:17.000Z
2020-06-08T07:35:26.000Z
lib/plausible_web/plugs/last_seen_plug.ex
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
51
2019-09-03T10:48:10.000Z
2020-06-07T00:23:34.000Z
defmodule PlausibleWeb.LastSeenPlug do import Plug.Conn use Plausible.Repo @one_hour 60 * 60 def init(opts) do opts end def call(conn, _opts) do last_seen = get_session(conn, :last_seen) user = conn.assigns[:current_user] cond do user && last_seen && last_seen < unix_now() - @one_h...
20.315789
64
0.637306
5a937bd4635100eef5003a0973977abdd99d8e00
11,216
ex
Elixir
clients/drive/lib/google_api/drive/v3/api/revisions.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/api/revisions.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/drive/lib/google_api/drive/v3/api/revisions.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.779592
246
0.633203
5a939615116c51432c48597f0ae1f010d586cec4
10,101
ex
Elixir
lib/elixir/lib/config.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/config.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
1
2021-10-21T08:22:30.000Z
2021-10-21T08:22:30.000Z
lib/elixir/lib/config.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
null
null
null
defmodule Config do @moduledoc ~S""" A simple keyword-based configuration API. ## Example This module is most commonly used to define application configuration, typically in `config/config.exs`: import Config config :some_app, key1: "value1", key2: "value2" import_config...
30.242515
95
0.674785
5a93c74c3980c68c828780b91cf2aaaabc5e997c
7,595
ex
Elixir
lib/credo/check/refactor/pipe_chain_start.ex
jc00ke/credo
bd0be751888dea402af6b16cbb675b53eaa49c83
[ "MIT" ]
null
null
null
lib/credo/check/refactor/pipe_chain_start.ex
jc00ke/credo
bd0be751888dea402af6b16cbb675b53eaa49c83
[ "MIT" ]
null
null
null
lib/credo/check/refactor/pipe_chain_start.ex
jc00ke/credo
bd0be751888dea402af6b16cbb675b53eaa49c83
[ "MIT" ]
null
null
null
defmodule Credo.Check.Refactor.PipeChainStart do use Credo.Check, tags: [:controversial], param_defaults: [ excluded_argument_types: [], excluded_functions: [] ], explanations: [ check: """ Pipes (`|>`) can become more readable by starting with a "raw" value. So while th...
23.513932
88
0.567347
5a93f44f00d68d7bcc743520f439b639959b7ea6
135
exs
Elixir
myplug/test/myplug_test.exs
hotpyn/plug-from-bottom-up
e5c08e185f4b4c2c1731d5a0ce2efe80828e1476
[ "MIT" ]
null
null
null
myplug/test/myplug_test.exs
hotpyn/plug-from-bottom-up
e5c08e185f4b4c2c1731d5a0ce2efe80828e1476
[ "MIT" ]
null
null
null
myplug/test/myplug_test.exs
hotpyn/plug-from-bottom-up
e5c08e185f4b4c2c1731d5a0ce2efe80828e1476
[ "MIT" ]
null
null
null
defmodule MyplugTest do use ExUnit.Case doctest Myplug test "greets the world" do assert Myplug.hello() == :world end end
15
35
0.703704
5a942709eb0036956e45c090cd01644a11cf1a1f
598
ex
Elixir
lib/stixex/object/campaign.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
1
2019-05-07T22:44:45.000Z
2019-05-07T22:44:45.000Z
lib/stixex/object/campaign.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
lib/stixex/object/campaign.ex
FloatingGhost/stixex
c3b012d0e8596fde6bd512f856f05b0187bb5273
[ "MIT" ]
null
null
null
defmodule StixEx.Object.Campaign do use StixEx.Object, type_name: "campaign" @required_fields [:name] embedded_schema do common_fields() field(:name, :string) field(:description, :string) field(:first_seen, :utc_datetime) field(:last_seen, :utc_datetime) field(:objective, :string) fi...
23.92
89
0.687291
5a942a27be05e7c4871ecbd0f5de56a3df3b5a5b
3,174
ex
Elixir
clients/managed_identities/lib/google_api/managed_identities/v1/model/maintenance_policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/managed_identities/lib/google_api/managed_identities/v1/model/maintenance_policy.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/managed_identities/lib/google_api/managed_identities/v1/model/maintenance_policy.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...
48.830769
412
0.711405
5a942fca5e257cbc22600838e4cb0e592e4db161
2,473
exs
Elixir
apps/gitgud/test/gitgud/ssh_server_test.exs
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
apps/gitgud/test/gitgud/ssh_server_test.exs
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
apps/gitgud/test/gitgud/ssh_server_test.exs
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
defmodule GitGud.SSHServerTest do use GitGud.DataCase alias GitGud.User alias GitGud.Repo @user_dir Path.join(System.user_home!(), ".ssh") setup do {:ok, user} = User.register(name: "Mario Flach", username: "redrabbit", email: "m.flach@almightycouch.com", password: "test1234") {:ok, auth} = User.pu...
47.557692
159
0.670036
5a9469583a106a8864205d0ac143f5a67a919733
385
ex
Elixir
lib/users/create_user.ex
LuizFerK/Flightex
35e1c0fc9472176f387be342b9a57a2dc98f88a2
[ "MIT" ]
null
null
null
lib/users/create_user.ex
LuizFerK/Flightex
35e1c0fc9472176f387be342b9a57a2dc98f88a2
[ "MIT" ]
null
null
null
lib/users/create_user.ex
LuizFerK/Flightex
35e1c0fc9472176f387be342b9a57a2dc98f88a2
[ "MIT" ]
null
null
null
defmodule Flightex.Users.CreateUser do alias Flightex.Users.Agent, as: UserAgent alias Flightex.Users.User def call(%{name: name, email: email, cpf: cpf}) do name |> User.build(email, cpf) |> save_user() end defp save_user({:ok, %User{id: id} = user}) do UserAgent.save(user) {:ok, id} ...
20.263158
54
0.646753
5a946ea79ddeb1ac945e6900652934832b2344b2
423
ex
Elixir
lib/sanbase_web/plug/basic_auth.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/plug/basic_auth.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/plug/basic_auth.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Plug.BasicAuth do @moduledoc ~s""" Checks the path if it is really comming from telegram. The endpoint is a secret and is only known by telegram. """ @behaviour Plug require Sanbase.Utils.Config, as: Config def init(opts), do: opts def call(conn, _) do Plug.BasicAuth.basic_a...
21.15
81
0.690307
5a94797baf374c492deb8bbd2acbe0a53563abca
82
exs
Elixir
pi_control_manager/test/views/page_view_test.exs
harmon25/picontrol
90a203ac63c94cd0ab975313225100170c9c589a
[ "MIT" ]
2
2016-07-14T06:51:32.000Z
2017-02-10T19:19:08.000Z
pi_control_manager/test/views/page_view_test.exs
harmon25/picontrol
90a203ac63c94cd0ab975313225100170c9c589a
[ "MIT" ]
null
null
null
pi_control_manager/test/views/page_view_test.exs
harmon25/picontrol
90a203ac63c94cd0ab975313225100170c9c589a
[ "MIT" ]
null
null
null
defmodule PiCntrlMngr.PageViewTest do use PiCntrlMngr.ConnCase, async: true end
20.5
39
0.829268
5a9495240cb7e82a8425398751b2f2d026a921c4
2,332
ex
Elixir
deps/ecto/lib/mix/tasks/ecto.gen.repo.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/ecto/lib/mix/tasks/ecto.gen.repo.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/ecto/lib/mix/tasks/ecto.gen.repo.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Ecto.Gen.Repo do use Mix.Task import Mix.Ecto import Mix.Generator @shortdoc "Generates a new repository" @moduledoc """ Generates a new repository. The repository will be placed in the `lib` directory. ## Examples mix ecto.gen.repo -r Custom.Repo This generator will a...
25.075269
91
0.623928
5a9514d7530c945f7d02bf043c89195dc6ac93d1
62
exs
Elixir
whoppex/test/test_helper.exs
benjaminplee/whoppex
63cbe7f9f07079925c43a1e0e1896f043993e9e7
[ "Apache-2.0" ]
3
2017-08-14T13:53:34.000Z
2021-07-03T12:46:41.000Z
whoppex/test/test_helper.exs
benjaminplee/whoppex
63cbe7f9f07079925c43a1e0e1896f043993e9e7
[ "Apache-2.0" ]
null
null
null
whoppex/test/test_helper.exs
benjaminplee/whoppex
63cbe7f9f07079925c43a1e0e1896f043993e9e7
[ "Apache-2.0" ]
null
null
null
Code.require_file "whoppex/utils.exs", __DIR__ ExUnit.start()
20.666667
46
0.790323
5a9517f5b066db1146451737abe74e0cf39d0c62
6,052
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/note.ex
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/note.ex
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/note.ex
Contractbook/elixir-google-api
342751041aaf8c2e7f76f9922cf24b9c5895802b
[ "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...
61.755102
176
0.719101
5a953bca876bbbfd6b6bbf48e1ddb1db2e14c693
4,619
exs
Elixir
test/honeybadger/logger_test.exs
kianmeng/honeybadger-elixir
b67077389e1c5c28ef87d61b56dbe490dbd30fb7
[ "MIT" ]
null
null
null
test/honeybadger/logger_test.exs
kianmeng/honeybadger-elixir
b67077389e1c5c28ef87d61b56dbe490dbd30fb7
[ "MIT" ]
null
null
null
test/honeybadger/logger_test.exs
kianmeng/honeybadger-elixir
b67077389e1c5c28ef87d61b56dbe490dbd30fb7
[ "MIT" ]
null
null
null
defmodule Honeybadger.LoggerTest do use Honeybadger.Case require Logger setup do {:ok, _} = Honeybadger.API.start(self()) restart_with_config(exclude_envs: [], breadcrumbs_enabled: true) on_exit(&Honeybadger.API.stop/0) end test "GenServer terminating with an error" do defmodule MyGenServ...
29.608974
93
0.632821
5a95464c01040c3f201327d465cb7f47fd234fc6
177
ex
Elixir
lib/earmark_parser/block/heading.ex
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
lib/earmark_parser/block/heading.ex
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
lib/earmark_parser/block/heading.ex
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
defmodule EarmarkParser.Block.Heading do @moduledoc false defstruct lnb: 0, annotation: nil, attrs: nil, content: nil, level: nil end # SPDX-License-Identifier: Apache-2.0
29.5
73
0.757062
5a956f07b0184069c5f635474194a1ba004e1336
2,197
ex
Elixir
lib/infer/loaders/dataloader.ex
infer-beam/infer
de8bec47635ffdcdefc2ef6ff298101c62681ae5
[ "MIT" ]
5
2022-01-24T10:08:53.000Z
2022-03-09T10:15:14.000Z
lib/infer/loaders/dataloader.ex
infer-beam/infer
de8bec47635ffdcdefc2ef6ff298101c62681ae5
[ "MIT" ]
1
2022-03-15T09:58:33.000Z
2022-03-15T09:58:33.000Z
lib/infer/loaders/dataloader.ex
infer-beam/infer
de8bec47635ffdcdefc2ef6ff298101c62681ae5
[ "MIT" ]
1
2022-02-22T11:42:25.000Z
2022-02-22T11:42:25.000Z
defmodule Infer.Loaders.Dataloader do @moduledoc """ Uses `Dataloader` to load missing data incrementally. """ alias Infer.Result def lookup(cache, data_req) do case apply(Dataloader, :get, [cache | args_for(data_req)]) do {:error, "Unable to find " <> _} -> {:not_loaded, MapSet.new([data_req])} ...
30.09589
91
0.659536
5a958e369545451c62ab97ea8037459023b015ff
1,017
ex
Elixir
apps/service_broadcast/lib/broadcast/stream/source_handler.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/service_broadcast/lib/broadcast/stream/source_handler.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/service_broadcast/lib/broadcast/stream/source_handler.ex
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
defmodule Broadcast.Stream.SourceHandler do use Source.Handler use Properties, otp_app: :service_broadcast require Logger alias BroadcastWeb.Endpoint getter(:dlq, default: Dlq) def handle_message(message, context) do with {:ok, transformed_value} <- context.assigns.transformer.(message) do load...
25.425
98
0.685349
5a95a54d8655e47ec06925ad3867445f7f39edd6
583
exs
Elixir
priv/repo/migrations/20180914172639_remove_unique_url.exs
riccardofelluga/reuse-checker
c57b824141ff28a05b8c065b401bbdae178f0259
[ "MIT" ]
2
2018-09-01T17:38:39.000Z
2018-09-20T13:47:50.000Z
priv/repo/migrations/20180914172639_remove_unique_url.exs
riccardofelluga/reuse-checker
c57b824141ff28a05b8c065b401bbdae178f0259
[ "MIT" ]
null
null
null
priv/repo/migrations/20180914172639_remove_unique_url.exs
riccardofelluga/reuse-checker
c57b824141ff28a05b8c065b401bbdae178f0259
[ "MIT" ]
null
null
null
# # Copyright (c) 2018 Andrea Janes <ajanes@unibz.it>, Riccardo Felluga <riccardo.felluga@stud-inf.unibz.it>, Max Schweigkofler <maxelia.schweigkofler@stud-inf.unibz.it> # # This file is part of the project reuse-checker which is released under the MIT license. # See file LICENSE or go to https://github.com/riccardofel...
32.388889
167
0.753002
5a95b529ecc3c9d2b4d53c20fcf058e0517d27ac
2,363
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/grade_category.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/grade_category.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/grade_category.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.196429
330
0.718155
5a95b6b1d40860ddb113764c49382b6655386d0a
1,662
ex
Elixir
insights/lib/insights/test.ex
MillionIntegrals/elixir-mongodb-driver
96c4cc3f21c4043323b8a9b33ad3a374760864c6
[ "Apache-2.0" ]
null
null
null
insights/lib/insights/test.ex
MillionIntegrals/elixir-mongodb-driver
96c4cc3f21c4043323b8a9b33ad3a374760864c6
[ "Apache-2.0" ]
null
null
null
insights/lib/insights/test.ex
MillionIntegrals/elixir-mongodb-driver
96c4cc3f21c4043323b8a9b33ad3a374760864c6
[ "Apache-2.0" ]
null
null
null
defmodule Insights.Test do require Logger @host_unreachable 6 @host_not_found 7 @network_timeout 89 @shutdown_in_progress 91 @primary_stepped_down 189 @exceeded_time_limit 262 @socket_except...
36.130435
114
0.612515
5a95b999e078e063f0294813017decc361c2c730
1,060
ex
Elixir
lib/couch_storage.ex
drawdown-pro/scraper
5a0c2481458897bc63fe78e18231b9a9387d377c
[ "0BSD" ]
null
null
null
lib/couch_storage.ex
drawdown-pro/scraper
5a0c2481458897bc63fe78e18231b9a9387d377c
[ "0BSD" ]
null
null
null
lib/couch_storage.ex
drawdown-pro/scraper
5a0c2481458897bc63fe78e18231b9a9387d377c
[ "0BSD" ]
null
null
null
defmodule CouchStorage do @moduledoc """ Documentation for CouchStorage. """ def initialize do end def run_mango_query(query) do db_url = Couchdb.Connector.UrlHelper.database_url(Application.get_env(:scraper, :couch)) HTTPoison.post!("#{db_url}/_find", query, [Couchdb.Connector.Headers.json_heade...
25.853659
121
0.656604
5a95ec4066b406713d6109c881bef3e98c03b7e7
1,105
exs
Elixir
mix.exs
fremantle-industries/ex_bitstamp
05e4eb5d67358a7c3eca437bd2f315a93dbac3b6
[ "MIT" ]
null
null
null
mix.exs
fremantle-industries/ex_bitstamp
05e4eb5d67358a7c3eca437bd2f315a93dbac3b6
[ "MIT" ]
null
null
null
mix.exs
fremantle-industries/ex_bitstamp
05e4eb5d67358a7c3eca437bd2f315a93dbac3b6
[ "MIT" ]
null
null
null
defmodule ExBitstamp.Mixfile do use Mix.Project def project do [ app: :ex_bitstamp, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps(), docs: docs(), package: package(), name: "ExBitstamp", description: "Bitstamp API client ...
21.25
78
0.537557
5a96075eb520ec195a7eac0e6557ddd091f0a70b
461
exs
Elixir
test/support/skeleton/schema_test.exs
skeleton-elixir/skeleton_soft_delete
b8333a6b67bd65a7f02a7c9826418095e66ce5c5
[ "MIT" ]
2
2020-10-01T22:41:35.000Z
2020-10-01T23:01:34.000Z
test/support/skeleton/schema_test.exs
skeleton-elixir/skeleton_soft_delete
b8333a6b67bd65a7f02a7c9826418095e66ce5c5
[ "MIT" ]
4
2020-06-27T20:13:11.000Z
2021-02-20T20:04:14.000Z
test/support/skeleton/schema_test.exs
skeleton-elixir/skeleton_soft_delete
b8333a6b67bd65a7f02a7c9826418095e66ce5c5
[ "MIT" ]
null
null
null
defmodule Skeleton.App.SchemaTest do use Skeleton.App.TestCase alias Skeleton.App.User describe "deleting user" do test "mark as deleted" do {:ok, user} = %User{ name: "Jon", email: "jon@example.com" } |> change() |> Repo.insert() Repo.delete(u...
19.208333
49
0.574837
5a962aa26b09a47bcfe327533817a604d5cce210
2,109
exs
Elixir
test/iex_h_helper_test.exs
bbense/iex_h_helper
37f91047ebb8784444c88b76cf9274cdffd9a6d9
[ "Apache-2.0" ]
null
null
null
test/iex_h_helper_test.exs
bbense/iex_h_helper
37f91047ebb8784444c88b76cf9274cdffd9a6d9
[ "Apache-2.0" ]
null
null
null
test/iex_h_helper_test.exs
bbense/iex_h_helper
37f91047ebb8784444c88b76cf9274cdffd9a6d9
[ "Apache-2.0" ]
null
null
null
defmodule IexHHelperTest do use ExUnit.Case ExUnit.configure(exclude: [get_docs: true]) import ExUnit.CaptureIO test "h works for Elixir module" do assert capture_io(fn -> Iex.HHelper.h(Integer) end) == "\e[0m\n\e[7m\e[33m Integer \e[0...
37
217
0.67046
5a9645b6d1cfb36a56231502793e16f1aef701d8
145,896
ex
Elixir
lib/elixir/lib/kernel.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
1
2019-05-07T12:01:44.000Z
2019-05-07T12:01:44.000Z
lib/elixir/lib/kernel.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
ludios/elixir
1a4018adb9863c1265b306028a6b5d1146479266
[ "Apache-2.0" ]
null
null
null
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixir_bootstrap defmodul...
26.89823
98
0.636693
5a9648a36143ba7755475fdea8843ba50a519722
128
ex
Elixir
lib/buzzer/presence.ex
arielj/live-buzzer
1900c917f4cab413af8bc024325b747536328d7b
[ "MIT" ]
null
null
null
lib/buzzer/presence.ex
arielj/live-buzzer
1900c917f4cab413af8bc024325b747536328d7b
[ "MIT" ]
null
null
null
lib/buzzer/presence.ex
arielj/live-buzzer
1900c917f4cab413af8bc024325b747536328d7b
[ "MIT" ]
null
null
null
defmodule Buzzer.Presence do use Phoenix.Presence, otp_app: :buzzer, pubsub_server: Buzzer.PubSub end
25.6
52
0.65625
5a966946df6f531eb907e948ae18214130a8301f
2,758
ex
Elixir
lib/intel_hex/decoder.ex
fhunleth/intel_hex
391162d40cf7fd283a2c708006a964df30848f52
[ "Apache-2.0" ]
2
2018-01-05T16:52:12.000Z
2018-01-31T17:35:35.000Z
lib/intel_hex/decoder.ex
fhunleth/intel_hex
391162d40cf7fd283a2c708006a964df30848f52
[ "Apache-2.0" ]
null
null
null
lib/intel_hex/decoder.ex
fhunleth/intel_hex
391162d40cf7fd283a2c708006a964df30848f52
[ "Apache-2.0" ]
2
2019-02-25T16:58:31.000Z
2019-02-25T16:58:31.000Z
defmodule IntelHex.Decoder do alias IntelHex.{DecodeError, Record} use Bitwise @moduledoc false @doc """ Decode one hex record. If the record is not in Intel Hex format, an exception will be raised. """ @spec decode_record!(String.t()) :: IntelHex.Record.t() | no_return def decode_record!(string) d...
28.142857
94
0.658811
5a967b9d4b3eea43b2811c6723e120856c00e24f
1,882
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/shielded_instance_config.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/shielded_instance_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/shielded_instance_config.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 ...
35.509434
138
0.731668
5a967eb0f04636f8a1a93d392f330445d89ce7fe
1,750
exs
Elixir
apps/ewallet_db/priv/repo/reporters/seeds.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/reporters/seeds.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/priv/repo/reporters/seeds.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWalletDB.Repo.Reporters.SeedsReporter do def run(writer, args) do base_url = Application.get_env(:ewallet_db, :base_url) || "https://example.com" admin_panel_url = base_url <> "/admin" admin_api_url = base_url <> "/api/admin" admin_api_swagger_ui_url = base_url <> "/api/admin/docs" adm...
38.888889
88
0.700571
5a96923dd3cc00c6424df2a2b3ba6f19dd0576ac
820
ex
Elixir
Microsoft.Azure.Management.Preview.Advisor/lib/microsoft/azure/management/preview/advisor/model/operation_entity_list_result.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.Preview.Advisor/lib/microsoft/azure/management/preview/advisor/model/operation_entity_list_result.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Preview.Advisor/lib/microsoft/azure/management/preview/advisor/model/operation_entity_list_result.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.Preview.Advisor.Model.OperationEntityListResult do @moduledoc """ The list of Advisor operations. """ @derive ...
27.333333
110
0.734146
5a96952727f1953e677620806d00c4d51899e348
1,387
ex
Elixir
server/lib/events_app/send_email.ex
kylesmith-1/blazeneu
83cb68b8112bac8d51c9f92e709720d7e7ba1472
[ "MIT" ]
null
null
null
server/lib/events_app/send_email.ex
kylesmith-1/blazeneu
83cb68b8112bac8d51c9f92e709720d7e7ba1472
[ "MIT" ]
null
null
null
server/lib/events_app/send_email.ex
kylesmith-1/blazeneu
83cb68b8112bac8d51c9f92e709720d7e7ba1472
[ "MIT" ]
1
2021-04-10T18:37:30.000Z
2021-04-10T18:37:30.000Z
#Attribution to this https://gist.github.com/mlankenau/91d450f6ad9edb3cbadbd9aa746b176f #Which was suggested by elxir forums for a clean way to HTTP Post without one of the clunky # Send Grid modules. Edited/altered for our usecase defmodule CompanyTest.SendEmail do @mailer_url "https://api.sendgrid.com/v3/mail/se...
27.74
102
0.54434
5a96abf21bc42f8a30f41406b328448713948c50
52,423
ex
Elixir
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/api/beacons.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/api/beacons.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/proximity_beacon/lib/google_api/proximity_beacon/v1beta1/api/beacons.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "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...
62.557279
3,916
0.695859
5a96b5795c6debecd8a596c857a3fc6232c5474f
64
ex
Elixir
apps/peedy_f/lib/peedy_f/repo.ex
poteto/peedy
df9d5ee7fcbceb30b5939b36224a257249a180ea
[ "Apache-2.0" ]
34
2017-05-07T08:50:59.000Z
2021-11-25T00:27:11.000Z
apps/peedy_f/lib/peedy_f/repo.ex
poteto/peedy
df9d5ee7fcbceb30b5939b36224a257249a180ea
[ "Apache-2.0" ]
null
null
null
apps/peedy_f/lib/peedy_f/repo.ex
poteto/peedy
df9d5ee7fcbceb30b5939b36224a257249a180ea
[ "Apache-2.0" ]
7
2017-05-10T12:42:30.000Z
2021-11-03T01:21:02.000Z
defmodule PeedyF.Repo do use Ecto.Repo, otp_app: :peedy_f end
16
34
0.765625
5a96b6124f94d06052e23b451a495dd0e1fea7f1
1,105
ex
Elixir
lib/rotterdam/event/docker/state_broadcast.ex
holandes22/rotterdam
d8b56079638c15a8492c08a6859ed14413163e62
[ "MIT" ]
null
null
null
lib/rotterdam/event/docker/state_broadcast.ex
holandes22/rotterdam
d8b56079638c15a8492c08a6859ed14413163e62
[ "MIT" ]
null
null
null
lib/rotterdam/event/docker/state_broadcast.ex
holandes22/rotterdam
d8b56079638c15a8492c08a6859ed14413163e62
[ "MIT" ]
null
null
null
defmodule Rotterdam.Event.Docker.StateBroadcast do use GenStage alias Rotterdam.{ClusterManager, Endpoint} def start_link do GenStage.start_link(__MODULE__, :ok, name: __MODULE__) end def init(state) do {:consumer, state} end def handle_events([event | _tail], _from, state) do broadcast(ev...
23.020833
79
0.699548
5a96fdd3a606ea61031050845eaf7c39eccd0680
1,703
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/add_named_range_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/add_named_range_request.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/add_named_range_request.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...
35.479167
229
0.751615
5a97097d1c06a9e4c0e6d8015d1a05f3d10fd4be
1,812
exs
Elixir
config/dev.exs
mindvalley/mv-opentelemetry
90d654c023e6912f74c2cce518530878b46dd20b
[ "MIT" ]
9
2021-10-05T08:01:18.000Z
2022-03-30T07:19:38.000Z
config/dev.exs
mindvalley/mv-opentelemetry
90d654c023e6912f74c2cce518530878b46dd20b
[ "MIT" ]
29
2021-10-04T05:46:47.000Z
2022-03-31T18:47:10.000Z
config/dev.exs
mindvalley/mv-opentelemetry
90d654c023e6912f74c2cce518530878b46dd20b
[ "MIT" ]
2
2021-10-04T05:50:38.000Z
2021-10-05T05:01:34.000Z
import Config config :mv_opentelemetry_harness, ecto_repos: [MvOpentelemetryHarness.Repo] # Configures Elixir's Logger config :logger, :console, format: "$time $metadata[$level] $message\n", metadata: [:request_id] # Use Jason for JSON parsing in Phoenix config :phoenix, :json_library, Jason # Configure your ...
30.711864
86
0.738411
5a97241fcfe28a9bb4449dc3bf928bd66e4fedf9
4,140
exs
Elixir
test/vintage_net_mobile/modem/quectel_EC25_test.exs
nerves-networking/vintage_net_lte
9a3be8828e4ecdbc993706782ed2039abf5fbbcb
[ "Apache-2.0" ]
2
2020-02-11T15:15:25.000Z
2020-02-11T15:15:27.000Z
test/vintage_net_mobile/modem/quectel_EC25_test.exs
nerves-networking/vintage_net_lte
9a3be8828e4ecdbc993706782ed2039abf5fbbcb
[ "Apache-2.0" ]
8
2020-01-28T21:02:56.000Z
2020-02-24T16:13:38.000Z
test/vintage_net_mobile/modem/quectel_EC25_test.exs
nerves-networking/vintage_net_lte
9a3be8828e4ecdbc993706782ed2039abf5fbbcb
[ "Apache-2.0" ]
1
2020-02-08T20:46:27.000Z
2020-02-08T20:46:27.000Z
defmodule VintageNetMobile.Modem.QuectelEC25Test do use ExUnit.Case alias VintageNetMobile.Modem.QuectelEC25 alias VintageNet.Interface.RawConfig test "create an LTE configuration" do priv_dir = Application.app_dir(:vintage_net_mobile, "priv") input = %{ type: VintageNetMobile, vintage_ne...
27.785235
95
0.512077
5a973384af3edc7e6f64b3d260fbc854a3424fb1
482
exs
Elixir
config/test.exs
hassanshaikley/ascii-quest
8b3b3af3b9c6c59b8155fe2e6cb2a794033c29f1
[ "MIT" ]
8
2019-01-15T09:31:05.000Z
2020-04-20T13:59:01.000Z
config/test.exs
hassanshaikley/ascii-quest
8b3b3af3b9c6c59b8155fe2e6cb2a794033c29f1
[ "MIT" ]
2
2019-01-06T02:53:44.000Z
2019-05-30T20:30:20.000Z
config/test.exs
hassanshaikley/ascii-quest
8b3b3af3b9c6c59b8155fe2e6cb2a794033c29f1
[ "MIT" ]
1
2019-01-04T04:37:21.000Z
2019-01-04T04:37:21.000Z
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :stabby_flies, StabbyFliesWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :stabby_fli...
25.368421
56
0.744813
5a976c8d86dd7e285ebbe14b269de2441bf533fa
109
ex
Elixir
web/views/wall_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
web/views/wall_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
web/views/wall_view.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
null
null
null
defmodule Apiv4.WallView do use Apiv4.Web, :view @relationships ~w( )a use Autox.ResourceView end
15.571429
27
0.706422
5a979ba85a3ab1e826a5662e760134570b99d789
1,833
ex
Elixir
lib/epicenter_web/telemetry.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
lib/epicenter_web/telemetry.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
lib/epicenter_web/telemetry.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Lear...
32.732143
86
0.674304
5a979f9490bb33c7d4490de4152d272538df49e6
112
exs
Elixir
test/fixtures/file_exclusion/.credo.exs
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
test/fixtures/file_exclusion/.credo.exs
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
test/fixtures/file_exclusion/.credo.exs
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
%{ configs: [ %{ name: "default", files: %{ excluded: ["foo.ex"] }, } ] }
10.181818
28
0.321429
5a97bd9f0ea41145c71c4e9cfb26fe92d50ca8da
1,568
ex
Elixir
test/support/data_case.ex
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
5
2021-11-04T20:19:35.000Z
2022-02-15T06:55:49.000Z
test/support/data_case.ex
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
5
2021-09-12T01:36:25.000Z
2022-02-18T07:28:42.000Z
test/support/data_case.ex
buoy49/zcash-explorer
3774ef15a46ef13379d5a808f7cea198b76c589a
[ "Apache-2.0" ]
8
2021-07-23T17:11:41.000Z
2022-03-17T17:07:55.000Z
defmodule ZcashExplorer.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes don...
28
77
0.695791
5a97cf70a172b259e08e7780b4c63accb74a87e5
898
ex
Elixir
clients/service_directory/lib/google_api/service_directory/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/service_directory/lib/google_api/service_directory/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/service_directory/lib/google_api/service_directory/v1/metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "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.259259
74
0.762806
5a97f9ae4c0b8940c120284e17dc17d06e15b164
464
ex
Elixir
lib/level_web/views/postbot_view.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
lib/level_web/views/postbot_view.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
lib/level_web/views/postbot_view.ex
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule LevelWeb.PostbotView do @moduledoc false use LevelWeb, :view def render("success.json", %{post: post}) do %{success: true, post_id: post.id} end def render("validation_errors.json", %{changeset: changeset}) do changeset |> json_validation_errors() |> Map.put(:success, false) |...
22.095238
66
0.665948
5a980d1743ad5897912cd64aa516eb752682a9ab
30,980
ex
Elixir
lib/nimble_pool.ex
davydog187/nimble_pool
6666a29108c19ff0cd0bc3cda235e134d2ed9fa6
[ "Apache-2.0" ]
203
2020-01-20T16:50:29.000Z
2022-03-31T02:48:42.000Z
lib/nimble_pool.ex
davydog187/nimble_pool
6666a29108c19ff0cd0bc3cda235e134d2ed9fa6
[ "Apache-2.0" ]
23
2020-01-22T13:30:55.000Z
2022-02-12T11:20:18.000Z
lib/nimble_pool.ex
davydog187/nimble_pool
6666a29108c19ff0cd0bc3cda235e134d2ed9fa6
[ "Apache-2.0" ]
14
2020-01-22T13:29:14.000Z
2022-02-05T15:41:03.000Z
defmodule NimblePool do @external_resource "README.md" @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) use GenServer require Logger @type from :: {pid, reference} @type init_arg :: term @type pool_state :: term @type wor...
32.852598
138
0.643092
5a982f330f3a4c438739787ab5120c1913173dd2
698
exs
Elixir
farmbot_ext/test/farmbot_ext/amqp/ping_pong_channel_test.exs
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
farmbot_ext/test/farmbot_ext/amqp/ping_pong_channel_test.exs
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
farmbot_ext/test/farmbot_ext/amqp/ping_pong_channel_test.exs
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
defmodule FarmbotExt.AMQP.PingPongChannelTest do require Helpers use ExUnit.Case, async: false use Mimic setup :verify_on_exit! setup :set_mimic_global alias FarmbotExt.AMQP.PingPongChannel alias FarmbotExt.AMQP.Support alias FarmbotCore.Leds test "channel termination" do fake_reason = :just_tes...
22.516129
69
0.69341
5a9836148ebf0c1049a60171296a9668e08fddc1
1,286
ex
Elixir
lib/timetracker_web/endpoint.ex
LunarLogic/timetracker
5c2ffffc9023c7b099d7af8de7f21225352483ca
[ "MIT" ]
1
2019-06-26T06:53:01.000Z
2019-06-26T06:53:01.000Z
lib/timetracker_web/endpoint.ex
LunarLogic/timetracker
5c2ffffc9023c7b099d7af8de7f21225352483ca
[ "MIT" ]
null
null
null
lib/timetracker_web/endpoint.ex
LunarLogic/timetracker
5c2ffffc9023c7b099d7af8de7f21225352483ca
[ "MIT" ]
null
null
null
defmodule TimetrackerWeb.Endpoint do use Phoenix.Endpoint, otp_app: :timetracker socket "/socket", TimetrackerWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deployin...
27.361702
69
0.714619
5a983d30c04e0e9f627163a6f09d686f1a90c564
2,027
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/vpn_gateway_aggregated_list_warning_data.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/vpn_gateway_aggregated_list_warning_data.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/vpn_gateway_aggregated_list_warning_data.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...
40.54
527
0.744943
5a986efcd49cea3ca935f7af0dca8c1f5f65ffb2
542
ex
Elixir
ets_registry/lib/ets_registry/transfer.ex
Cleawing/elixir-projects
6562790191536f317aa0b673c265abb604dd2833
[ "Apache-2.0" ]
null
null
null
ets_registry/lib/ets_registry/transfer.ex
Cleawing/elixir-projects
6562790191536f317aa0b673c265abb604dd2833
[ "Apache-2.0" ]
null
null
null
ets_registry/lib/ets_registry/transfer.ex
Cleawing/elixir-projects
6562790191536f317aa0b673c265abb604dd2833
[ "Apache-2.0" ]
null
null
null
defmodule EtsRegistry.Transfer do defmacro __using__(_) do quote do def handle_info({:'ETS-TRANSFER', tab, _, links}, state) do # Ensure that we transfer ownership of ETS-table under the same Supervisor if (Process.info(self())[:links] == links) do {:noreply, state ++ [tab]} ...
30.111111
82
0.586716
5a989b9167e6c5969bbcb425fb7def517786e243
159
exs
Elixir
config/config.exs
wesleimp/fake-status-api
4f6e8fc011272901c9fb38645f504a5f900091f3
[ "MIT" ]
null
null
null
config/config.exs
wesleimp/fake-status-api
4f6e8fc011272901c9fb38645f504a5f900091f3
[ "MIT" ]
null
null
null
config/config.exs
wesleimp/fake-status-api
4f6e8fc011272901c9fb38645f504a5f900091f3
[ "MIT" ]
null
null
null
use Mix.Config config :fake_status_api, FakeStatusAPI.Endpoint, port: String.to_integer(System.get_env("PORT") || "4000") import_config "#{Mix.env()}.exs"
22.714286
59
0.735849
5a98c8c17e3251841cad3d2ce8698da6616d1ada
1,453
exs
Elixir
priv/repo/load_gtfs.exs
tjefferson08/frizzle-server
8db3f31e4dae6583603fd2006415129f623827ba
[ "MIT" ]
null
null
null
priv/repo/load_gtfs.exs
tjefferson08/frizzle-server
8db3f31e4dae6583603fd2006415129f623827ba
[ "MIT" ]
null
null
null
priv/repo/load_gtfs.exs
tjefferson08/frizzle-server
8db3f31e4dae6583603fd2006415129f623827ba
[ "MIT" ]
null
null
null
# Script for loading the database with local GFTS data. Run it as: # # mix run priv/repo/seeds.exs # defmodule Frizzle.LoadGtfs do alias Frizzle.Repo @insert_batch_size 1000 @model_map [ %{model: Module.concat(Frizzle, "Stop"), filename: "google_transit/stops.txt"}, %{model: Module.concat(Friz...
23.819672
66
0.641432
5a98e159ad61e8f7feec0aadde45458d464df5ff
2,759
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/software_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/software_config.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/software_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...
52.056604
591
0.74556
5a98f2b0af02935284febc9df2cb68de26256eea
7,395
exs
Elixir
.credo.exs
sparrell/quizquadaminos
6388252b7c32aa4101486cbf45d0d57d4e3a79da
[ "MIT" ]
1
2022-01-11T20:06:31.000Z
2022-01-11T20:06:31.000Z
.credo.exs
sFractal-Podii/quizquadaminos
4c9023b9c6212a92741b0f21d9eb05871aa73916
[ "MIT" ]
484
2021-02-15T18:43:40.000Z
2022-03-29T12:27:24.000Z
.credo.exs
sFractal-Podii/quizquadaminos
4c9023b9c6212a92741b0f21d9eb05871aa73916
[ "MIT" ]
8
2021-02-15T19:12:51.000Z
2021-12-15T03:02:46.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
38.717277
97
0.61217
5a9957c8d91bdbdab2266bfcab62bf8d513df742
718
ex
Elixir
lib/bearings_web/live/dailies_live/index.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
3
2018-05-29T12:16:14.000Z
2019-09-25T21:12:36.000Z
lib/bearings_web/live/dailies_live/index.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
23
2018-05-25T21:09:43.000Z
2021-12-16T05:45:25.000Z
lib/bearings_web/live/dailies_live/index.ex
tmecklem/bearings
98efda7baba7a4170c46da6a4ccb4f954b0ddc5a
[ "MIT" ]
null
null
null
defmodule BearingsWeb.DailiesLive.Index do @moduledoc """ This module is responsible to handle listing dailies """ use BearingsWeb, :live_view alias Bearings.Account alias Bearings.Dailies alias Bearings.Dailies.Daily def mount(_params, session, socket) do user_id = session["user_id"] socket ...
23.933333
63
0.67688
5a99628dd9606a7fc2a8d60e643356a1434443a8
618
exs
Elixir
priv/repo/make_fake.exs
yasuhiro-okada-aktsk/sample_elixir_ecto_select
6a927e5d7f591b247920934216f226ccb0c53e6e
[ "MIT" ]
null
null
null
priv/repo/make_fake.exs
yasuhiro-okada-aktsk/sample_elixir_ecto_select
6a927e5d7f591b247920934216f226ccb0c53e6e
[ "MIT" ]
null
null
null
priv/repo/make_fake.exs
yasuhiro-okada-aktsk/sample_elixir_ecto_select
6a927e5d7f591b247920934216f226ccb0c53e6e
[ "MIT" ]
null
null
null
SampleElixirEctoSelect.Repo.start_link alias SampleElixirEctoSelect.RssFeed Enum.map 0..99, fn _ -> params = %{ feed_url: Faker.Internet.url, title: Faker.Commerce.product_name, subtitle: Faker.Company.bs, summary: Faker.Lorem.Shakespeare.romeo_and_juliet, link: Faker.Internet.url,...
22.071429
56
0.661812
5a996a8b6e3caa53bb61fad4f26312f47c3ae3fb
4,704
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/request_builder.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/request_builder.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/request_builder.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...
25.98895
97
0.658588
5a997bb43abf45b02e796902f45060d580e8d45c
688
exs
Elixir
config/prod.secret.exs
prashantpawar/kitteh-test
8b5b9e8a080b495ea6f506597a1bb66be56de064
[ "MIT" ]
null
null
null
config/prod.secret.exs
prashantpawar/kitteh-test
8b5b9e8a080b495ea6f506597a1bb66be56de064
[ "MIT" ]
null
null
null
config/prod.secret.exs
prashantpawar/kitteh-test
8b5b9e8a080b495ea6f506597a1bb66be56de064
[ "MIT" ]
null
null
null
use Mix.Config # In this file, we keep production configuration that # you likely want to automate and keep it away from # your version control system. # # You should document the content of this # file or create a script for recreating it, since it's # kept out of version control and might be hard to recover # or rec...
32.761905
85
0.781977
5a997f4eecbf5733e1bef8348c1bca47decbcc4b
6,365
exs
Elixir
integration_test/test/code_generation/app_with_defaults_test.exs
nickurban/phoenix
116a0d4660248a09886e80da5e36dc6e395723d5
[ "MIT" ]
7
2021-01-31T04:51:08.000Z
2022-01-09T06:59:28.000Z
integration_test/test/code_generation/app_with_defaults_test.exs
nickurban/phoenix
116a0d4660248a09886e80da5e36dc6e395723d5
[ "MIT" ]
null
null
null
integration_test/test/code_generation/app_with_defaults_test.exs
nickurban/phoenix
116a0d4660248a09886e80da5e36dc6e395723d5
[ "MIT" ]
2
2021-02-06T08:40:23.000Z
2021-03-20T16:35:47.000Z
defmodule Phoenix.Integration.CodeGeneration.AppWithDefaultsTest do use Phoenix.Integration.CodeGeneratorCase, async: true describe "new with defaults" do test "has no compilation or formatter warnings" do with_installer_tmp("new with defaults", fn tmp_dir -> {app_root_path, _} = generate_phoenix...
33.5
140
0.649018
5a998acb7710d3cb34eeb54f50a7006d31ce6fd2
104
ex
Elixir
text_client/lib/text_client/state.ex
codebay/game_comps
1211fab75b2023f9afb32b7272c6f877aabb6f7e
[ "Apache-2.0" ]
1
2020-08-10T21:07:43.000Z
2020-08-10T21:07:43.000Z
game/text_client/lib/text_client/state.ex
herminiotorres/elixir-for-programmers
6a02e3312ad0f7b1e543627e3cf8b54db00d0a1e
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
game/text_client/lib/text_client/state.ex
herminiotorres/elixir-for-programmers
6a02e3312ad0f7b1e543627e3cf8b54db00d0a1e
[ "MIT" ]
null
null
null
defmodule TextClient.State do defstruct( game_service: nil, tally: nil, guess: "" ) end
13
29
0.634615
5a999483a6a58fe28db78a06c368cba16a440e57
811
ex
Elixir
lib/edgedb/protocol/messages/client/client_handshake.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/messages/client/client_handshake.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
lib/edgedb/protocol/messages/client/client_handshake.ex
f0lio/edgedb-elixir
b285bd8037b0b951aabfa1d1733889880f8bfd66
[ "MIT" ]
null
null
null
defmodule EdgeDB.Protocol.Messages.Client.ClientHandshake do @moduledoc false use EdgeDB.Protocol.Message alias EdgeDB.Protocol.{ Datatypes, Types } defmessage( client: true, mtype: 0x56, fields: [ major_ver: Datatypes.UInt16.t(), minor_ver: Datatypes.UInt16.t(), param...
21.918919
60
0.660912
5a99a92029d8d2b9855277e9d68698ab2f299419
4,205
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/api/guide_categories.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/guide_categories.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/guide_categories.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...
44.734043
196
0.648751
5a99b0698e0681b430db96c16c70ac30c87ce76a
165
ex
Elixir
apps/tai/lib/tai/orders/queries/find_all.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/tai/lib/tai/orders/queries/find_all.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/orders/queries/find_all.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Tai.Orders.Queries.FindAll do @type order :: Tai.Orders.Order.t() @spec execute :: [order] def execute do Tai.Orders.OrderStore.all() end end
18.333333
39
0.690909
5a99b2df6a70a26db333b1771ff75416c37cb607
2,627
exs
Elixir
test/onde_server/geo_location_test.exs
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
null
null
null
test/onde_server/geo_location_test.exs
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
3
2021-03-09T18:21:20.000Z
2021-09-01T22:58:23.000Z
test/onde_server/geo_location_test.exs
ufra-lca/bage_server
3fd7592707624b7221035225b1a5113de856a7ff
[ "MIT" ]
null
null
null
defmodule OndeServer.GeoLocationTest do use OndeServer.DataCase alias OndeServer.GeoLocation describe "bages" do alias OndeServer.GeoLocation.Bage @valid_attrs %{latitude: "120.5", longitude: "120.5", one_signal: "some one_signal", rodando: true, sentido: true, zootec: true} @update_attrs %{latitud...
35.026667
144
0.665398
5a99d34c52133cd3b78e5f505328bae202edb261
1,603
ex
Elixir
lib/epicenter_web/views/error_helpers.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
lib/epicenter_web/views/error_helpers.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
lib/epicenter_web/views/error_helpers.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule EpicenterWeb.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, html_opts \\ []) do Enum.map(Keyword.get_values(form.errors, field), fn error ->...
32.714286
104
0.660636
5a99f9bedbe6a76ef560d129599027686f5d37a5
114
exs
Elixir
apps/worker/test/worker_test.exs
evuez/genos
3d919bc269566a5160f21a0290d41f11b0633d15
[ "MIT" ]
null
null
null
apps/worker/test/worker_test.exs
evuez/genos
3d919bc269566a5160f21a0290d41f11b0633d15
[ "MIT" ]
null
null
null
apps/worker/test/worker_test.exs
evuez/genos
3d919bc269566a5160f21a0290d41f11b0633d15
[ "MIT" ]
null
null
null
defmodule WorkerTest do use ExUnit.Case doctest Worker test "the truth" do assert 1 + 1 == 2 end end
12.666667
23
0.666667
5a9a05995108ce366000faf98204979b94028786
247
ex
Elixir
lib/algae/state/chain.ex
doma-engineering/algae
da85c5a9e78591c707859f07f9d485ed68019349
[ "MIT" ]
191
2016-08-22T17:34:45.000Z
2019-05-28T19:02:39.000Z
lib/algae/state/chain.ex
doma-engineering/algae
da85c5a9e78591c707859f07f9d485ed68019349
[ "MIT" ]
35
2016-08-30T20:56:22.000Z
2019-05-02T17:32:31.000Z
lib/algae/state/chain.ex
doma-engineering/algae
da85c5a9e78591c707859f07f9d485ed68019349
[ "MIT" ]
10
2016-08-30T18:41:54.000Z
2019-02-14T14:14:55.000Z
alias Algae.State import TypeClass definst Witchcraft.Chain, for: Algae.State do @force_type_instance true def chain(state, link) do State.state(fn s -> {x, z} = State.run(state, s) State.run(link.(x), z) end) end end
17.642857
45
0.651822
5a9a10579f6a7b4022928acb85b88612d7728ef3
71
exs
Elixir
test/test_helper.exs
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2019-05-25T02:25:13.000Z
2020-10-06T17:00:03.000Z
test/test_helper.exs
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2018-03-29T14:42:10.000Z
2019-11-19T07:03:09.000Z
test/test_helper.exs
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
1
2019-03-30T20:48:27.000Z
2019-03-30T20:48:27.000Z
ExUnit.configure(seed: 0) ExUnit.start(trace: true, capture_log: true)
23.666667
44
0.774648
5a9a1b3e167f20b8ba638015ca7a566636687592
1,370
exs
Elixir
pig-latin/pig_latin.exs
ravanscafi/exercism-elixir
0f5c8c923166a0a795c323c7e2d6ccc9da572fcf
[ "MIT" ]
null
null
null
pig-latin/pig_latin.exs
ravanscafi/exercism-elixir
0f5c8c923166a0a795c323c7e2d6ccc9da572fcf
[ "MIT" ]
null
null
null
pig-latin/pig_latin.exs
ravanscafi/exercism-elixir
0f5c8c923166a0a795c323c7e2d6ccc9da572fcf
[ "MIT" ]
null
null
null
defmodule PigLatin do @vowels [?a, ?e, ?i, ?o, ?u] @group_of_two ["ch", "qu", "th"] @group_of_three ["squ", "thr", "sch"] @like_vowels [?x, ?y] @doc """ Given a `phrase`, translate it a word at a time to Pig Latin. Words beginning with consonants should have the consonant moved to the end of the word,...
27.4
81
0.627007
5a9a1d13333b34cf47e741937d5c1d25de9bf2c7
2,237
ex
Elixir
deps/credo/lib/credo/code/name.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
deps/credo/lib/credo/code/name.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
1
2020-05-26T04:16:57.000Z
2020-05-26T04:16:57.000Z
deps/credo/lib/credo/code/name.ex
robot-overlord/starter_kit
254153221d0a3a06324c65ad8e89d610de2429c3
[ "MIT" ]
3
2020-05-21T04:32:08.000Z
2021-07-28T05:14:01.000Z
defmodule Credo.Code.Name do @moduledoc """ This module provides helper functions to process names of functions, module attributes and modules. """ def last(name) when is_atom(name) do name |> to_string |> String.split(".") |> List.last end def last(name) when is_binary(name) do name ...
21.103774
77
0.600358
5a9a1e522fcd1e4c685b98642d11fcac9c3d01aa
1,139
ex
Elixir
lib/pow/extension/config.ex
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
lib/pow/extension/config.ex
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
lib/pow/extension/config.ex
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
defmodule Pow.Extension.Config do @moduledoc """ Configuration helpers for extensions. """ alias Pow.Config @doc """ Fetches the `:extensions` key from the configuration. """ @spec extensions(Config.t()) :: [atom()] def extensions(config) do Config.get(config, :extensions, []) end @doc """ ...
25.886364
77
0.670764
5a9a2bcf072808bd6a05f5e1bdb16c28c50bf7ea
1,846
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_webhook_request_fulfillment_info.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_webhook_request_fulfillment_info.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_webhook_request_fulfillment_info.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.5
329
0.761105
5a9aa3be214450d6538575556a2fc6a155278366
1,243
exs
Elixir
beer-song/beer_song.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
beer-song/beer_song.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
beer-song/beer_song.exs
ChrisWilding/exercism-elixir
ee966439b460f82ef9581611f71c2f626402d14a
[ "MIT" ]
null
null
null
defmodule BeerSong do @doc """ Get a single verse of the beer song """ @spec verse(integer) :: String.t() def verse(number) do bottle = "#{quantity(number)} #{container(number)}" next_bottle_number = next(number) next_bottle = "#{quantity(next_bottle_number)} #{container(next_bottle_number)}" ...
27.622222
84
0.639582
5a9ad833b33ede332c316a5db7c22d3714453594
3,598
ex
Elixir
chapter9/dealer.ex
dcarneiro/etudes-for-elixir
807d21942747817d84fc2890806582b59921bd59
[ "MIT" ]
null
null
null
chapter9/dealer.ex
dcarneiro/etudes-for-elixir
807d21942747817d84fc2890806582b59921bd59
[ "MIT" ]
null
null
null
chapter9/dealer.ex
dcarneiro/etudes-for-elixir
807d21942747817d84fc2890806582b59921bd59
[ "MIT" ]
null
null
null
defmodule Dealer do @moduledoc """ This will simulate the dealer in the war game """ @doc """ Starts the war game """ def start do deck = Deck.build |> shuffle {hand1, hand2} = Enum.split(deck, trunc(Enum.count(deck) / 2)) p1 = spawn(Player, :start, [hand1]) p2 = spawn(Player, :start, [ha...
26.072464
94
0.567815
5a9af0c0ab5470c96eb01a1e6637d1325298c53c
1,091
ex
Elixir
lib/ex_banking/lib/simple_decimal.ex
nazipov/ex_banking
813b0c2ca652e7a755428476a4dc83253ae9e5a5
[ "Apache-2.0" ]
null
null
null
lib/ex_banking/lib/simple_decimal.ex
nazipov/ex_banking
813b0c2ca652e7a755428476a4dc83253ae9e5a5
[ "Apache-2.0" ]
null
null
null
lib/ex_banking/lib/simple_decimal.ex
nazipov/ex_banking
813b0c2ca652e7a755428476a4dc83253ae9e5a5
[ "Apache-2.0" ]
null
null
null
defmodule ExBanking.Lib.SimpleDecimal do @moduledoc ~S""" Float is not save for money. Simple solution without any external libs. """ @doc ~S""" Adds one number to another. ## Example iex> ExBanking.Lib.SimpleDecimal.add(100.99, 10.02) 111.01 iex> ExBanking.Lib.SimpleDecimal.add(100.99,...
20.203704
75
0.624198
5a9afbb186c2d585c471e46881fef74e65730b2c
33,459
ex
Elixir
lib/phoenix_live_view/channel.ex
sbacarob/phoenix_live_view
dce42778671fa85801e7a537092b860edbb9759d
[ "MIT" ]
null
null
null
lib/phoenix_live_view/channel.ex
sbacarob/phoenix_live_view
dce42778671fa85801e7a537092b860edbb9759d
[ "MIT" ]
null
null
null
lib/phoenix_live_view/channel.ex
sbacarob/phoenix_live_view
dce42778671fa85801e7a537092b860edbb9759d
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Channel do @moduledoc false use GenServer, restart: :temporary require Logger alias Phoenix.LiveView.{Socket, Utils, Diff, Static, Upload, UploadConfig} alias Phoenix.Socket.Message @prefix :phoenix def start_link({endpoint, from}) do hibernate_after = endpoint.config(:l...
31.835395
130
0.634777
5a9b11d18f5ce6f0e584c21a6cae23415e649195
1,519
exs
Elixir
test/support/views.exs
remigijusj/coherence
36fe35b0bfe7ac63b44b4046f3ba62f2fe69603a
[ "MIT" ]
null
null
null
test/support/views.exs
remigijusj/coherence
36fe35b0bfe7ac63b44b4046f3ba62f2fe69603a
[ "MIT" ]
null
null
null
test/support/views.exs
remigijusj/coherence
36fe35b0bfe7ac63b44b4046f3ba62f2fe69603a
[ "MIT" ]
null
null
null
defmodule Coherence.CoherenceView do use Phoenix.HTML use Phoenix.View, root: "web/templates/coherence" import TestCoherence.Router.Helpers @seperator {:safe, "&nbsp; | &nbsp;"} def coherence_links(conn, :new_session) do user_schema = Coherence.Config.user_schema [ recovery_link(conn, user_sch...
27.125
75
0.676103
5a9b538507beeceb2dad6914ad757535c00756a7
270
exs
Elixir
test/bankapi_web/views/layout_view_test.exs
guibes/bankapi
df43b30e7a845d0509b17c1086c70ab651b97c42
[ "MIT" ]
null
null
null
test/bankapi_web/views/layout_view_test.exs
guibes/bankapi
df43b30e7a845d0509b17c1086c70ab651b97c42
[ "MIT" ]
24
2021-03-26T17:42:17.000Z
2021-03-31T11:47:17.000Z
test/bankapi_web/views/layout_view_test.exs
guibes/bankapi
df43b30e7a845d0509b17c1086c70ab651b97c42
[ "MIT" ]
1
2021-03-26T17:49:53.000Z
2021-03-26T17:49:53.000Z
defmodule BankapiWeb.LayoutViewTest do use BankapiWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30
65
0.766667
5a9b67a4f740fb3645d212d42f92ca948a3b760b
352
ex
Elixir
lib/supervisor.ex
lehoff/fex
8bfd3d1dd10a8d973f33fdd09f1ac25d4d90bc95
[ "Apache-2.0" ]
null
null
null
lib/supervisor.ex
lehoff/fex
8bfd3d1dd10a8d973f33fdd09f1ac25d4d90bc95
[ "Apache-2.0" ]
null
null
null
lib/supervisor.ex
lehoff/fex
8bfd3d1dd10a8d973f33fdd09f1ac25d4d90bc95
[ "Apache-2.0" ]
null
null
null
defmodule Fex.Supervisor do use Supervisor def start_link do Supervisor.start_link(__MODULE__, :no_args, name: __MODULE__) end def init(:no_args) do children = [supervisor(Fex.Match.Sup, []), worker(Fex.Match.Id, []), worker(Fex.Ticks, [])] supervise(children, strat...
22
65
0.633523
5a9b7933815ba137bc82578efb8e405c9576ad6f
1,845
ex
Elixir
lib/parking_lpr_web/telemetry.ex
ianwestcott/parking_lpr
bd6a56b369624d1cf938ee0179a239d7d3c6d14b
[ "MIT" ]
null
null
null
lib/parking_lpr_web/telemetry.ex
ianwestcott/parking_lpr
bd6a56b369624d1cf938ee0179a239d7d3c6d14b
[ "MIT" ]
null
null
null
lib/parking_lpr_web/telemetry.ex
ianwestcott/parking_lpr
bd6a56b369624d1cf938ee0179a239d7d3c6d14b
[ "MIT" ]
null
null
null
defmodule ParkingLprWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Lea...
32.946429
86
0.676423
5a9bbb91af860200775da66fe0567761409a2165
2,023
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/target_https_proxy_list_warning_data.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/target_https_proxy_list_warning_data.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/target_https_proxy_list_warning_data.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...
40.46
527
0.741473
5a9c16cdc7a98ce2077eb4fb5f3d1d319874e047
1,294
ex
Elixir
lib/neko/achievement/store.ex
xmaid/neko-achievements
4998e462efcc977e4ee1b3e2471023f427e400f6
[ "MIT" ]
21
2017-05-11T19:19:22.000Z
2021-06-15T23:43:18.000Z
lib/neko/achievement/store.ex
xmaid/neko-achievements
4998e462efcc977e4ee1b3e2471023f427e400f6
[ "MIT" ]
41
2017-11-20T18:43:31.000Z
2021-12-09T18:17:25.000Z
lib/neko/achievement/store.ex
xmaid/neko-achievements
4998e462efcc977e4ee1b3e2471023f427e400f6
[ "MIT" ]
97
2017-10-11T15:38:11.000Z
2022-01-21T09:56:01.000Z
defmodule Neko.Achievement.Store do use Agent, restart: :temporary @type achievement_t :: Neko.Achievement.t() @type achievements_t :: MapSet.t(achievement_t) # add timeout to Agent calls that perform network requests only @call_timeout Application.get_env(:neko, :shikimori)[:total_timeout] @spec start_l...
24.415094
70
0.680062
5a9c246e7e7d391bc1ff9c2d2a0e7c6379f605be
807
ex
Elixir
lib/codes/codes_r35.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r35.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r35.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_R35 do alias IcdCode.ICDCode def _R350 do %ICDCode{full_code: "R350", category_code: "R35", short_code: "0", full_name: "Frequency of micturition", short_name: "Frequency of micturition", category_name: "Frequency of micturition" ...
23.735294
51
0.571252
5a9c66b3f2084d35490ad598e7686ff360838fc8
514
ex
Elixir
lib/scanner/lib/syntax_error.ex
Ajwah/ex-gherkin
401ee551312b72aa059c7f4621f014b111049acf
[ "Apache-2.0" ]
8
2020-07-27T09:11:24.000Z
2020-09-21T20:57:45.000Z
lib/scanner/lib/syntax_error.ex
Ajwah/ex-gherkin
401ee551312b72aa059c7f4621f014b111049acf
[ "Apache-2.0" ]
1
2021-05-14T13:30:27.000Z
2021-05-14T13:30:27.000Z
lib/scanner/lib/syntax_error.ex
Ajwah/ex-gherkin
401ee551312b72aa059c7f4621f014b111049acf
[ "Apache-2.0" ]
null
null
null
defmodule ExGherkin.Scanner.SyntaxError do @moduledoc false defexception [:message, :line_number, :violation_code] @impl true def exception({msg, line_number, column_number, violation_code}) do struct(__MODULE__, %{ message: msg, line_number: line_number, column_number: column_number, ...
27.052632
71
0.733463
5a9c66fbfab85a5ec7d4fc31ca3da3cc04850705
392
ex
Elixir
lib/chat_web/channels/chat_channel.ex
dtcristo/phoenix-chat
255aa474ccebf731db2a9361d62b45a0dd6063f7
[ "MIT" ]
1
2017-09-05T18:43:38.000Z
2017-09-05T18:43:38.000Z
lib/chat_web/channels/chat_channel.ex
reubenwainaina/phoenix-chat
255aa474ccebf731db2a9361d62b45a0dd6063f7
[ "MIT" ]
null
null
null
lib/chat_web/channels/chat_channel.ex
reubenwainaina/phoenix-chat
255aa474ccebf731db2a9361d62b45a0dd6063f7
[ "MIT" ]
1
2019-03-31T10:59:53.000Z
2019-03-31T10:59:53.000Z
defmodule ChatWeb.ChatChannel do use ChatWeb, :channel def join("chat:" <> _room, %{"name" => name}, socket) do {:ok, assign(socket, :name, name)} end def handle_in("new_msg", %{"text" => text}, socket) do broadcast( socket, "new_msg", %{"name" => socket.assigns.name, "text" => text} ) {...
21.777778
73
0.609694
5a9c728fb53a95a08135fe02744c3be89b690155
195
exs
Elixir
test/controllers/page_controller_test.exs
thatbraxguy/knowledgeshare
e17b2904641f805cc231aa18f45f05103e1fb9ef
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
thatbraxguy/knowledgeshare
e17b2904641f805cc231aa18f45f05103e1fb9ef
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
thatbraxguy/knowledgeshare
e17b2904641f805cc231aa18f45f05103e1fb9ef
[ "MIT" ]
null
null
null
defmodule Hivemind.PageControllerTest do use Hivemind.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
21.666667
60
0.676923
5a9d2a2e00630ca4a60c8dfebead50e3aa36b95d
1,013
exs
Elixir
mix.exs
jnylen/phoenix-active-link
c412d3ca46a46bf46ed3af7ea37cf2608a62f0c2
[ "MIT" ]
23
2018-10-01T06:55:38.000Z
2022-02-20T12:39:16.000Z
mix.exs
jnylen/phoenix-active-link
c412d3ca46a46bf46ed3af7ea37cf2608a62f0c2
[ "MIT" ]
10
2019-02-14T09:19:19.000Z
2021-12-28T14:57:32.000Z
mix.exs
jnylen/phoenix-active-link
c412d3ca46a46bf46ed3af7ea37cf2608a62f0c2
[ "MIT" ]
15
2019-03-19T18:27:47.000Z
2021-11-13T08:33:27.000Z
defmodule PhoenixActiveLink.Mixfile do use Mix.Project @version "0.3.1" def project do [app: :phoenix_active_link, version: @version, name: "phoenix_active_link", source_url: "http://github.com/tuvistavie/phoenix-active-link", homepage_url: "http://github.com/tuvistavie/phoenix-active-li...
28.942857
79
0.595262
5a9d48de2b014ec90b5e5a4bf1f4581d51a802c8
1,621
ex
Elixir
lib/blue_heron/hci/commands/controller_and_baseband/write_synchronous_flow_control_enable.ex
amclain/blue_heron
e1802097ef6a845e28a8be56076f3b81ebb56206
[ "Apache-2.0" ]
45
2020-10-17T13:34:15.000Z
2022-03-08T09:40:43.000Z
lib/blue_heron/hci/commands/controller_and_baseband/write_synchronous_flow_control_enable.ex
amclain/blue_heron
e1802097ef6a845e28a8be56076f3b81ebb56206
[ "Apache-2.0" ]
20
2020-10-15T15:05:54.000Z
2022-03-27T15:54:36.000Z
lib/blue_heron/hci/commands/controller_and_baseband/write_synchronous_flow_control_enable.ex
amclain/blue_heron
e1802097ef6a845e28a8be56076f3b81ebb56206
[ "Apache-2.0" ]
11
2020-10-23T17:18:57.000Z
2022-03-15T20:01:49.000Z
defmodule BlueHeron.HCI.Command.ControllerAndBaseband.WriteSynchronousFlowControlEnable do use BlueHeron.HCI.Command.ControllerAndBaseband, ocf: 0x002F @moduledoc """ This command provides the ability to write the Synchronous_Flow_Control_Enable parameter. * OGF: `#{inspect(@ogf, base: :hex)}` * OCF: `#{i...
30.018519
90
0.720543
5a9d66921e5a92a01340a52ade58af07e16e2f1a
27,145
ex
Elixir
lib/elixir/lib/system.ex
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
1
2018-10-02T13:55:29.000Z
2018-10-02T13:55:29.000Z
lib/elixir/lib/system.ex
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/system.ex
mertonium/elixir
74e666156906974082f6b4d34dfbe6988d6465c0
[ "Apache-2.0" ]
null
null
null
defmodule System do @moduledoc """ The `System` module provides functions that interact directly with the VM or the host system. ## Time The `System` module also provides functions that work with time, returning different times kept by the system with support for different time units. One of the comp...
30.094235
97
0.677436
5a9d711c285f4cf9b1d5967cd8ad1e9aa354f941
4,917
exs
Elixir
test/xtree/algorithms_test.exs
mpotra/xdiff_plus
575ea6b970c911640fcdda4105026ef3b9aff4aa
[ "Apache-2.0" ]
null
null
null
test/xtree/algorithms_test.exs
mpotra/xdiff_plus
575ea6b970c911640fcdda4105026ef3b9aff4aa
[ "Apache-2.0" ]
null
null
null
test/xtree/algorithms_test.exs
mpotra/xdiff_plus
575ea6b970c911640fcdda4105026ef3b9aff4aa
[ "Apache-2.0" ]
null
null
null
defmodule Xtree.AlgorithmsTest do use ExUnit.Case alias XdiffPlus.Support.XML alias Xtree alias Xtree.Algorithms setup do xml_str = """ <menu> <item onclick="edit">Open</item> <hr/> <item onclick="toggle:1">Item 1</item> <item onclick="toggle:2">Item 2</item> <item oncli...
21.950893
92
0.327639
5a9d9322a6af4d0ac781349575930de39f8cca7a
791
ex
Elixir
lib/membrane/core/bin/callback_context.ex
vKxni/membrane_core
d14a67304b63706d6df520fa306dd2fda147c07c
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/bin/callback_context.ex
vKxni/membrane_core
d14a67304b63706d6df520fa306dd2fda147c07c
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/bin/callback_context.ex
vKxni/membrane_core
d14a67304b63706d6df520fa306dd2fda147c07c
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Core.Bin.CallbackContext do @moduledoc false use Membrane.Core.CallbackContext, playback_state: Membrane.PlaybackState.t(), clock: Membrane.Clock.t(), parent_clock: Membrane.Clock.t(), pads: %{Membrane.Pad.ref_t() => Membrane.Bin.PadData.t()}, name: Membrane.Bin.name_t(), ...
30.423077
67
0.676359
5a9d9f571f5011ff8f3cc8324affff013bdebf86
398
ex
Elixir
apps/ello_serve/web/controllers/webapp/category_controller.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
16
2017-06-21T21:31:20.000Z
2021-05-09T03:23:26.000Z
apps/ello_serve/web/controllers/webapp/category_controller.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
25
2017-06-07T12:18:28.000Z
2018-06-08T13:27:43.000Z
apps/ello_serve/web/controllers/webapp/category_controller.ex
ello/apex
4acb096b3ce172ff4ef9a51e5d068d533007b920
[ "MIT" ]
3
2018-06-14T15:34:07.000Z
2022-02-28T21:06:13.000Z
defmodule Ello.Serve.Webapp.CategoryController do use Ello.Serve.Web, :controller alias Ello.Core.Discovery def index(conn, _) do render_html(conn, %{ categories: fn -> categories(conn) end, }) end defp categories(conn) do Discovery.categories(standard_params(conn, %{ meta: f...
20.947368
49
0.643216
5a9ddd69431c4b1df96f0df2b78fb573f0cea545
1,083
ex
Elixir
lib/code_corps/stripe_service/adapters/stripe_external_account.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
lib/code_corps/stripe_service/adapters/stripe_external_account.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
lib/code_corps/stripe_service/adapters/stripe_external_account.ex
superdev999/Phoenix-project
ab13ac9366cdd0aa9581da7faf993b11aaa5344c
[ "MIT" ]
null
null
null
defmodule CodeCorps.StripeService.Adapters.StripeExternalAccountAdapter do alias CodeCorps.MapUtils alias CodeCorps.StripeConnectAccount @stripe_attributes [ :account_holder_name, :account_holder_type, :bank_name, :country, :currency, :default_for_currency, :fingerprint, :id, :last4, :routing_number...
33.84375
107
0.76639
5a9ddda79133a6ad1e1ff6db6c1e4b9c92c7cca7
481
ex
Elixir
clients/oathkeeper/elixir/lib/oathkeeper/model/inline_response_200_1.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/oathkeeper/elixir/lib/oathkeeper/model/inline_response_200_1.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/oathkeeper/elixir/lib/oathkeeper/model/inline_response_200_1.ex
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule Oathkeeper.Model.InlineResponse2001 do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"version" ] @type t :: %__MODULE_...
18.5
91
0.694387
5a9e0c267c7362da5fa1b9a70f7694515d66f6d7
8,818
ex
Elixir
app_builder/lib/app_builder/macos.ex
doyobi/livebook
136d5039c42b406dd0b31aea188deb4fce3b1328
[ "Apache-2.0" ]
1
2022-02-16T09:13:27.000Z
2022-02-16T09:13:27.000Z
app_builder/lib/app_builder/macos.ex
doyobi/livebook
136d5039c42b406dd0b31aea188deb4fce3b1328
[ "Apache-2.0" ]
null
null
null
app_builder/lib/app_builder/macos.ex
doyobi/livebook
136d5039c42b406dd0b31aea188deb4fce3b1328
[ "Apache-2.0" ]
null
null
null
defmodule AppBuilder.MacOS do @moduledoc false import AppBuilder.Utils def build_mac_app_dmg(release, options) do {codesign, options} = Keyword.pop(options, :codesign) {notarize, options} = Keyword.pop(options, :notarize) release = build_mac_app(release, options) app_name = Keyword.fetch!(opti...
28.262821
106
0.609775
5a9e1bdd0aaeacfed53ab550fed52cd82bba8723
437
exs
Elixir
test/speedcontrol_web/views/error_view_test.exs
Wachiwi/speedcontrol
eecff3aab909d6b9264e72f9310ebb062d4ca0fe
[ "MIT" ]
null
null
null
test/speedcontrol_web/views/error_view_test.exs
Wachiwi/speedcontrol
eecff3aab909d6b9264e72f9310ebb062d4ca0fe
[ "MIT" ]
null
null
null
test/speedcontrol_web/views/error_view_test.exs
Wachiwi/speedcontrol
eecff3aab909d6b9264e72f9310ebb062d4ca0fe
[ "MIT" ]
null
null
null
defmodule SpeedcontrolWeb.ErrorViewTest do use SpeedcontrolWeb.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(SpeedcontrolWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500....
29.133333
97
0.745995
5a9e314ea6869f006f8af55715165453f8bb210b
3,927
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/hadoop_job.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/hadoop_job.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/hadoop_job.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...
57.75
312
0.71505