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
5abf2b4c47d7049a2998f7dac9a745a80fd30329
1,687
ex
Elixir
web/controllers/banco_controller.ex
alissonfpmorais/tucano
d22480fc416d14b44862be2ed89040d92b7c08d1
[ "MIT" ]
null
null
null
web/controllers/banco_controller.ex
alissonfpmorais/tucano
d22480fc416d14b44862be2ed89040d92b7c08d1
[ "MIT" ]
null
null
null
web/controllers/banco_controller.ex
alissonfpmorais/tucano
d22480fc416d14b44862be2ed89040d92b7c08d1
[ "MIT" ]
null
null
null
defmodule Tucano.BancoController do use Tucano.Web, :controller plug Tucano.Plugs.RequireAuth alias Tucano.Banco def index(conn, _params) do bancos = Banco.get_all |> Enum.sort(&(&1.nome <= &2.nome)) render conn, "index.html", bancos: bancos end def new(conn, _params) do changes...
25.560606
86
0.614108
5abf7b7884744dd5dc78cce0e05cb7926c365989
150
ex
Elixir
lib/only_codes_web/live/page_live.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
281
2021-01-15T14:59:38.000Z
2022-01-06T23:13:33.000Z
lib/only_codes_web/live/page_live.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
12
2021-01-15T15:24:54.000Z
2021-07-31T17:36:39.000Z
lib/only_codes_web/live/page_live.ex
andys8/stripcode
65a30d946ac20ad1b0e9635e6a3569b7a65e6270
[ "MIT" ]
11
2021-01-15T17:46:59.000Z
2021-09-22T13:24:19.000Z
defmodule OnlyCodesWeb.PageLive do use OnlyCodesWeb, :live_view @impl true def mount(_params, _session, socket) do {:ok, socket} end end
16.666667
41
0.72
5abfbab1785744a0419ef7cf377a6ba3b4761ba9
461
ex
Elixir
test/support/protocols.ex
planswell/fun_with_flags
97656285e59c4852d8be45a1ee8ceb15d53e9ffe
[ "MIT" ]
null
null
null
test/support/protocols.ex
planswell/fun_with_flags
97656285e59c4852d8be45a1ee8ceb15d53e9ffe
[ "MIT" ]
1
2019-01-21T00:38:49.000Z
2019-01-31T03:49:17.000Z
dev_support/protocols.ex
sendle/fun_with_flags
c9c3fb7ab0f8f43c04a571c8ff486f5b049e97a1
[ "MIT" ]
null
null
null
defimpl FunWithFlags.Actor, for: Map do def id(%{actor_id: actor_id}) do "map:#{actor_id}" end def id(map) do map |> inspect() |> (&:crypto.hash(:md5, &1)).() |> Base.encode16 |> (&"map:#{&1}").() end end defimpl FunWithFlags.Actor, for: BitString do def id(str) do "string:#{str...
16.464286
53
0.592191
5abffbd38563613b3d46bf9a49a1979c95b1ac9d
15,423
exs
Elixir
lib/elixir/test/elixir/kernel/quote_test.exs
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/quote_test.exs
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
1
2021-07-01T17:58:37.000Z
2021-07-01T19:05:37.000Z
lib/elixir/test/elixir/kernel/quote_test.exs
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.QuoteTest do use ExUnit.Case, async: true @some_fun &List.flatten/1 test "fun" do assert is_function(@some_fun) end test "list" do assert quote(do: [1, 2, 3]) == [1, 2, 3] end test "tuple" do assert quote(do: {:a, 1}) == {:...
24.519873
97
0.550541
5ac00e14385adc4879815155dd76b9d104f66a57
882
ex
Elixir
clients/os_config/lib/google_api/os_config/v1/metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/os_config/lib/google_api/os_config/v1/metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/os_config/lib/google_api/os_config/v1/metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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...
32.666667
74
0.758503
5ac04793f65fbea1a6df3aa31c93092a77e3df37
2,958
ex
Elixir
lib/core/bot_state/filesystem.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
lib/core/bot_state/filesystem.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
lib/core/bot_state/filesystem.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.BotState.FileSystem do @moduledoc """ Serializes Farmbot's state into a location on a filesystem. """ require Logger use GenServer alias FarmbotOS.BotState @root_dir Application.get_env(:farmbot, __MODULE__)[:root_dir] @sleep_time 8_000 @type path_and_data :: {Path.t(), binary()...
28.171429
78
0.624746
5ac052b34f7c413a8ff738eea8936f78585ffd99
74
exs
Elixir
test/views/page_view_test.exs
slaily/discuss
6f0eacd0f2c03d197f2cf9b6c27a03752c90e969
[ "MIT" ]
15
2017-09-19T08:09:01.000Z
2019-04-29T00:37:51.000Z
test/views/page_view_test.exs
slaily/discuss
6f0eacd0f2c03d197f2cf9b6c27a03752c90e969
[ "MIT" ]
1
2021-03-09T12:34:49.000Z
2021-03-09T12:34:49.000Z
test/views/page_view_test.exs
slaily/discuss
6f0eacd0f2c03d197f2cf9b6c27a03752c90e969
[ "MIT" ]
17
2018-02-27T03:15:54.000Z
2019-04-24T09:26:46.000Z
defmodule Discuss.PageViewTest do use Discuss.ConnCase, async: true end
18.5
35
0.810811
5ac055e082884e09c274fd2ff3c0f765a3d9b869
1,829
ex
Elixir
lib/google_api/translate/v3beta1/model/list_operations_response.ex
dungkvy/google_api_translate
3c49bb93b921d4ca2a542fb3ca93bffe9dd0c51a
[ "Apache-2.0" ]
null
null
null
lib/google_api/translate/v3beta1/model/list_operations_response.ex
dungkvy/google_api_translate
3c49bb93b921d4ca2a542fb3ca93bffe9dd0c51a
[ "Apache-2.0" ]
null
null
null
lib/google_api/translate/v3beta1/model/list_operations_response.ex
dungkvy/google_api_translate
3c49bb93b921d4ca2a542fb3ca93bffe9dd0c51a
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.509434
173
0.740842
5ac05baac51d5492b6cc9c9b248b4de9cb7a5ace
165
exs
Elixir
test/libcluster_consul_test.exs
rstgroup/libcluster_consul
5bf0136f3f8ac90b5da68b4fe509168e63e6fab6
[ "Apache-2.0" ]
25
2020-04-17T07:43:07.000Z
2022-03-11T11:33:59.000Z
test/libcluster_consul_test.exs
rstgroup/libcluster_consul
5bf0136f3f8ac90b5da68b4fe509168e63e6fab6
[ "Apache-2.0" ]
3
2020-05-29T23:09:29.000Z
2021-09-23T11:51:41.000Z
test/libcluster_consul_test.exs
rstgroup/libcluster_consul
5bf0136f3f8ac90b5da68b4fe509168e63e6fab6
[ "Apache-2.0" ]
3
2020-05-28T20:37:26.000Z
2021-05-26T10:23:34.000Z
defmodule LibclusterConsulTest do use ExUnit.Case doctest LibclusterConsul test "greets the world" do assert LibclusterConsul.hello() == :world end end
18.333333
45
0.757576
5ac06106152a6e22bc5d025a4022750b9a8ccb0f
1,473
exs
Elixir
day-3/star-2/main.exs
Haar/aoc2021
e11e4aa2448dfde1242c2747dd0011b80e3abf1d
[ "Unlicense" ]
null
null
null
day-3/star-2/main.exs
Haar/aoc2021
e11e4aa2448dfde1242c2747dd0011b80e3abf1d
[ "Unlicense" ]
null
null
null
day-3/star-2/main.exs
Haar/aoc2021
e11e4aa2448dfde1242c2747dd0011b80e3abf1d
[ "Unlicense" ]
null
null
null
defmodule Diagnostics do def generate_lifesupport_ratings(report) do o2_rating = calculate_rate(report, "1", &>/2) co2_rating = calculate_rate(report, "0", &</2) {o2_rating, co2_rating} end defp calculate_rate(_, _, _, index \\ 0) defp calculate_rate(to_filter, _, _, _) when length(to_filter) == ...
24.147541
97
0.62797
5ac06c91f8a8c593565cbd44c81906fc7e828cdd
1,754
exs
Elixir
mix.exs
lubien/nats.ex
9ddb11acbca7727e97c6624425a2cb22243cfafe
[ "MIT" ]
null
null
null
mix.exs
lubien/nats.ex
9ddb11acbca7727e97c6624425a2cb22243cfafe
[ "MIT" ]
null
null
null
mix.exs
lubien/nats.ex
9ddb11acbca7727e97c6624425a2cb22243cfafe
[ "MIT" ]
null
null
null
defmodule Gnat.Mixfile do use Mix.Project @source_url "https://github.com/nats-io/nats.ex" @version "1.5.0" 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
5ac0932dcc369c1185de0d42986866e49852cec4
2,280
exs
Elixir
config/dev.exs
StickyFloors/quizquadaminos
03e3b5f150d3a911efa2174bc4631a0ee6b54888
[ "MIT" ]
null
null
null
config/dev.exs
StickyFloors/quizquadaminos
03e3b5f150d3a911efa2174bc4631a0ee6b54888
[ "MIT" ]
null
null
null
config/dev.exs
StickyFloors/quizquadaminos
03e3b5f150d3a911efa2174bc4631a0ee6b54888
[ "MIT" ]
null
null
null
import Config # Configure your database config :quadquizaminos, Quadquizaminos.Repo, username: "postgres", password: "postgres", database: "quadquizaminos_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debuggin...
28.5
68
0.701754
5ac09582c530ecb24f0a047719def99c3ec37ae9
1,853
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_ban.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_ban.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_ban.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...
34.962264
142
0.743119
5ac0c26c7d82da05624a66b3b6d4b7904a493be2
1,512
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1/model/google_protobuf_empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1/model/google_protobuf_empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/document_ai/lib/google_api/document_ai/v1/model/google_protobuf_empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36
282
0.766534
5ac0cdc08792a4b1213118e80bffb09e133f1bf8
103
ex
Elixir
lib/tw/v1_1.ex
en30/tw
10c705953e9b3bf97abf9b4c221486976eac32d4
[ "MIT" ]
null
null
null
lib/tw/v1_1.ex
en30/tw
10c705953e9b3bf97abf9b4c221486976eac32d4
[ "MIT" ]
null
null
null
lib/tw/v1_1.ex
en30/tw
10c705953e9b3bf97abf9b4c221486976eac32d4
[ "MIT" ]
null
null
null
defmodule Tw.V1_1 do @moduledoc """ https://developer.twitter.com/en/docs/twitter-api/v1 """ end
17.166667
54
0.68932
5ac12bb4f83e730c8d65f75dac795b802d30bcac
1,335
exs
Elixir
mix.exs
ejscunha/gen_websocket
e8d88e00cce7e07079898868e6a10edfb0e3973a
[ "MIT" ]
null
null
null
mix.exs
ejscunha/gen_websocket
e8d88e00cce7e07079898868e6a10edfb0e3973a
[ "MIT" ]
null
null
null
mix.exs
ejscunha/gen_websocket
e8d88e00cce7e07079898868e6a10edfb0e3973a
[ "MIT" ]
null
null
null
defmodule GenWebsocket.MixProject do use Mix.Project @version "0.1.0" def project do [ app: :gen_websocket, version: @version, elixir: "~> 1.6", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), description: description(), ...
21.885246
71
0.571536
5ac17da23a0f6a592bba310abb8303dd4930b6c9
2,751
exs
Elixir
config/prod.exs
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
123
2017-04-04T18:15:48.000Z
2021-04-26T08:04:22.000Z
config/prod.exs
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
null
null
null
config/prod.exs
usecanvas/api-v2
59214db3a2cf12eb939f22fed320fd10cb47cdfe
[ "Apache-2.0" ]
17
2017-04-04T18:58:29.000Z
2021-05-10T21:39:16.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...
31.988372
81
0.712105
5ac1bb184417c20ceb40b7f6fa7b3829e7764660
503
ex
Elixir
test/support/mocked_server/router/utils.ex
kintu-games/elidactyl
2d95694ef4a85c72e962379d8d12fc08bd8352ac
[ "MIT" ]
null
null
null
test/support/mocked_server/router/utils.ex
kintu-games/elidactyl
2d95694ef4a85c72e962379d8d12fc08bd8352ac
[ "MIT" ]
null
null
null
test/support/mocked_server/router/utils.ex
kintu-games/elidactyl
2d95694ef4a85c72e962379d8d12fc08bd8352ac
[ "MIT" ]
null
null
null
defmodule Elidactyl.MockedServer.Router.Utils do @moduledoc false def success(conn, body, code \\ 200) do body = case body do "" -> "" nil -> "" body -> Jason.encode!(body) end conn |> Plug.Conn.put_resp_content_type("application/json") |> Plug.Conn.resp(code, b...
20.958333
58
0.59841
5ac1c5df6c5cf73dfbc32a854809e023b387d106
187
exs
Elixir
priv/bs_repo/migrations/20180119021050_add_dec_health_points_to_game_form.exs
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
3
2018-07-14T22:55:23.000Z
2019-02-25T06:11:55.000Z
priv/bs_repo/migrations/20180119021050_add_dec_health_points_to_game_form.exs
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
7
2020-02-12T03:22:59.000Z
2022-02-10T20:23:52.000Z
priv/bs_repo/migrations/20180119021050_add_dec_health_points_to_game_form.exs
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
12
2018-03-27T05:27:20.000Z
2019-04-02T08:19:04.000Z
defmodule BsRepo.Migrations.AddDecHealthPointsToGameForm do use Ecto.Migration def change do alter table(BsRepo.GameForm) do add :dec_health_points, :any end end end
18.7
59
0.748663
5ac1ece3b9a27f4eaf0efc7f4c1449dba55316b0
600
exs
Elixir
test/exi18n/loader/yaml_test.exs
werkzeugh/exi18n
c29780ba56f516dca471e1cc2379c37ea85cb04b
[ "MIT" ]
null
null
null
test/exi18n/loader/yaml_test.exs
werkzeugh/exi18n
c29780ba56f516dca471e1cc2379c37ea85cb04b
[ "MIT" ]
null
null
null
test/exi18n/loader/yaml_test.exs
werkzeugh/exi18n
c29780ba56f516dca471e1cc2379c37ea85cb04b
[ "MIT" ]
null
null
null
defmodule ExI18n.Loader.YAMLTest do use ExUnit.Case doctest ExI18n.Loader.YAML defmodule PathResolver do def path(fragment), do: "test/#{fragment}" end test "load/2 returns loaded translations for locale from yml file" do assert is_map(ExI18n.Loader.YAML.load("en", %{path: "test/fixtures"})) ass...
30
94
0.7
5ac2342d78d43a7f8bfd7b995ecf749ff364c422
1,147
ex
Elixir
installer/templates/new/lib/application_name/endpoint.ex
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
1
2019-06-11T20:22:21.000Z
2019-06-11T20:22:21.000Z
installer/templates/new/lib/application_name/endpoint.ex
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
null
null
null
installer/templates/new/lib/application_name/endpoint.ex
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
2
2020-08-02T04:00:17.000Z
2020-10-07T16:07:37.000Z
defmodule <%= application_module %>.Endpoint do use Phoenix.Endpoint, otp_app: :<%= application_name %> socket "/socket", <%= application_module %>.UserSocket # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phoenix.digest # when deploying yo...
28.675
69
0.688753
5ac23c7ddb29b56251b99680ccf441b1513e2242
2,018
ex
Elixir
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_batch_update_blobs_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_batch_update_blobs_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/remote_build_execution/lib/google_api/remote_build_execution/v2/model/build_bazel_remote_execution_v2_batch_update_blobs_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.633333
188
0.764123
5ac24110e671cff1c945dc816b1b7563de4ba0b6
451
exs
Elixir
test/phoenix/live_dashboard/live/os_mon_page_test.exs
adrianomitre/phoenix_live_dashboard
34977c3d61655be708761b975ca885680ac3145f
[ "MIT" ]
null
null
null
test/phoenix/live_dashboard/live/os_mon_page_test.exs
adrianomitre/phoenix_live_dashboard
34977c3d61655be708761b975ca885680ac3145f
[ "MIT" ]
null
null
null
test/phoenix/live_dashboard/live/os_mon_page_test.exs
adrianomitre/phoenix_live_dashboard
34977c3d61655be708761b975ca885680ac3145f
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveDashboard.OSMonPageTest do use ExUnit.Case, async: true import Phoenix.ConnTest import Phoenix.LiveViewTest @endpoint Phoenix.LiveDashboardTest.Endpoint describe "OS mon page" do test "displays section titles" do {:ok, _live, rendered} = live(build_conn(), "/dashboard/nonode@...
26.529412
84
0.7051
5ac243ccbcf5e89b9ec983c5caac4f2b85549606
1,991
ex
Elixir
lib/openflow/actions/nx_learn.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2019-05-25T02:25:13.000Z
2020-10-06T17:00:03.000Z
lib/openflow/actions/nx_learn.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2018-03-29T14:42:10.000Z
2019-11-19T07:03:09.000Z
lib/openflow/actions/nx_learn.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
1
2019-03-30T20:48:27.000Z
2019-03-30T20:48:27.000Z
defmodule Openflow.Action.NxLearn do defstruct( idle_timeout: 0, hard_timeout: 0, priority: 0, cookie: 0, flags: [], table_id: 0, fin_idle_timeout: 0, fin_hard_timeout: 0, flow_specs: [] ) @experimenter 0x00002320 @nxast 16 alias __MODULE__ alias Openflow.Action.Experim...
26.905405
98
0.646409
5ac248c8436a5be654e965d6cbbe59018a662b9a
1,912
ex
Elixir
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/register_debuggee_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/register_debuggee_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/cloud_debugger/lib/google_api/cloud_debugger/v2/model/register_debuggee_response.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...
39.833333
390
0.760983
5ac25dea078436c6580951ab98aafd213c4549b5
1,036
ex
Elixir
domain_holder/lib/domain_holder_web/live/domain_live/new.ex
nerves-build/DomainHolder
86bea50aef12a6ff50b0dd92bbf66b1a691e24a9
[ "MIT" ]
1
2019-08-30T08:45:43.000Z
2019-08-30T08:45:43.000Z
domain_holder/lib/domain_holder_web/live/domain_live/new.ex
nerves-build/DomainHolder
86bea50aef12a6ff50b0dd92bbf66b1a691e24a9
[ "MIT" ]
5
2020-10-15T13:33:02.000Z
2020-10-15T13:33:04.000Z
domain_holder/lib/domain_holder_web/live/domain_live/new.ex
nerves-build/DomainHolder
86bea50aef12a6ff50b0dd92bbf66b1a691e24a9
[ "MIT" ]
null
null
null
defmodule DomainHolderWeb.DomainLive.New do use Phoenix.LiveView alias DomainHolderWeb.DomainLive alias DomainHolderWeb.Router.Helpers, as: Routes alias DomainHolder.Domains alias DomainHolder.Domains.Domain def mount(_session, socket) do {:ok, assign(socket, %{ changeset: Domains.change_d...
26.564103
81
0.657336
5ac25feb064ea236d32dec13a87d2d244bb17d58
4,225
exs
Elixir
test/live_sup/core/widgets/github_test/pull_requests/handler_test.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
test/live_sup/core/widgets/github_test/pull_requests/handler_test.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
test/live_sup/core/widgets/github_test/pull_requests/handler_test.exs
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSup.Test.Core.Widgets.Github.PullRequests.HandlerTest do use LiveSup.DataCase, async: false import Mock alias LiveSup.Core.Widgets.Github.PullRequests.Handler alias LiveSup.Core.Datasources.GithubDatasource describe "Managing Github Pull Requests" do @describetag :widget @describetag :...
34.072581
98
0.494911
5ac2775a98254876155cc218c4491d5bfd862982
112
ex
Elixir
lib/integrate/repo.ex
integratedb/core
0b4a7a38d014e5ae973a1fa807c137834dfdf9cb
[ "MIT" ]
13
2021-01-28T14:45:43.000Z
2021-11-04T21:54:19.000Z
lib/integrate/repo.ex
integratedb/integrate
0b4a7a38d014e5ae973a1fa807c137834dfdf9cb
[ "MIT" ]
null
null
null
lib/integrate/repo.ex
integratedb/integrate
0b4a7a38d014e5ae973a1fa807c137834dfdf9cb
[ "MIT" ]
null
null
null
defmodule Integrate.Repo do use Ecto.Repo, otp_app: :integratedb, adapter: Ecto.Adapters.Postgres end
18.666667
35
0.741071
5ac2947fe7e475f3d66dcda592bdd690bcfbba72
1,889
ex
Elixir
lib/membrane_rtc_engine/endpoint.ex
membraneframework/membrane_sfu
e63f18e23d06c1f6373d881fee32bc1b2689c892
[ "Apache-2.0" ]
null
null
null
lib/membrane_rtc_engine/endpoint.ex
membraneframework/membrane_sfu
e63f18e23d06c1f6373d881fee32bc1b2689c892
[ "Apache-2.0" ]
8
2021-07-01T17:54:28.000Z
2021-07-22T12:41:44.000Z
lib/membrane_rtc_engine/endpoint.ex
membraneframework/membrane_sfu
e63f18e23d06c1f6373d881fee32bc1b2689c892
[ "Apache-2.0" ]
1
2021-07-07T18:01:43.000Z
2021-07-07T18:01:43.000Z
defmodule Membrane.RTC.Engine.Endpoint do @moduledoc false use Bunch.Access alias Membrane.RTC.Engine.Track @type id() :: any() @type t :: %__MODULE__{ id: id(), inbound_tracks: %{Track.id() => Track.t()} } defstruct id: nil, inbound_tracks: %{} @spec new(id :: id(), inboun...
37.78
99
0.667549
5ac299685ad4c5bd96fcd35a857425e9408132d3
2,217
exs
Elixir
services/fc_inventory/test/fc_inventory/command_handlers/movement_handler_test.exs
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
46
2018-10-13T23:18:13.000Z
2021-08-07T07:46:51.000Z
services/fc_inventory/test/fc_inventory/command_handlers/movement_handler_test.exs
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
25
2018-10-14T00:56:07.000Z
2019-12-23T19:41:02.000Z
services/fc_inventory/test/fc_inventory/command_handlers/movement_handler_test.exs
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
5
2018-12-16T04:39:51.000Z
2020-10-01T12:17:03.000Z
# defmodule FCInventory.MovementHandlerTest do # use FCInventory.UnitCase, async: true # alias Decimal, as: D # alias FCInventory.{ # CreateMovement, # MarkMovement, # AddLineItem, # MarkLineItem, # UpdateLineItem # } # alias FCInventory.{ # MovementCreated, # MovementMarked, # ...
27.036585
76
0.611186
5ac29b862e2c79a48fc94e4c62ca6594485ccda8
341
ex
Elixir
6453_08_02_Code/deck-umbrella/apps/deck/lib/deck.ex
PacktPublishing/Advanced-Elixir-and-OTP
952fe654f1f91ec186a41d5ff4f09672ef5e7221
[ "MIT" ]
1
2021-10-01T22:06:12.000Z
2021-10-01T22:06:12.000Z
6453_08_02_Code/deck-umbrella/apps/deck/lib/deck.ex
PacktPublishing/Advanced-Elixir-and-OTP
952fe654f1f91ec186a41d5ff4f09672ef5e7221
[ "MIT" ]
null
null
null
6453_08_02_Code/deck-umbrella/apps/deck/lib/deck.ex
PacktPublishing/Advanced-Elixir-and-OTP
952fe654f1f91ec186a41d5ff4f09672ef5e7221
[ "MIT" ]
1
2020-06-10T10:40:37.000Z
2020-06-10T10:40:37.000Z
defmodule Deck do use GenServer def start_link() do GenServer.start_link(__MODULE__, [], name: __MODULE__) end def take_card() do GenServer.call(__MODULE__, {:take_card}) end def init(_) do {:ok, Enum.shuffle(1..52)} end def handle_call({:take_card}, _from, [card|deck]) do {:reply, c...
17.05
58
0.653959
5ac2bdf711d728e52ea6156d53904f2478e5f8f8
5,303
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/sheet.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/sheets/lib/google_api/sheets/v4/model/sheet.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/sheet.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 ...
59.58427
175
0.713181
5ac3023d0c809fba0447867554a864babe1fd11e
1,039
exs
Elixir
mix.exs
heri16/aws-iot-device-sdk-elixir
1bdfc539240336a98f57fb3df473cfd66b786442
[ "Apache-2.0" ]
27
2016-07-09T01:22:17.000Z
2022-02-22T02:44:16.000Z
mix.exs
heri16/aws-iot-device-sdk-elixir
1bdfc539240336a98f57fb3df473cfd66b786442
[ "Apache-2.0" ]
1
2016-08-04T02:56:34.000Z
2016-08-08T17:18:48.000Z
mix.exs
heri16/aws-iot-device-sdk-elixir
1bdfc539240336a98f57fb3df473cfd66b786442
[ "Apache-2.0" ]
6
2016-08-03T15:49:17.000Z
2018-04-15T12:15:56.000Z
defmodule AwsIot.Mixfile do use Mix.Project def project do [app: :aws_iot, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start...
23.088889
77
0.582291
5ac302e431533ff8b0a774042d7df98004a53d96
876
ex
Elixir
lib/cosmos_db_ex/application.ex
jeramyRR/cosmos_db_ex
94525db1196b1041e65d6fca434383798b631bdd
[ "MIT" ]
1
2021-06-08T10:12:43.000Z
2021-06-08T10:12:43.000Z
lib/cosmos_db_ex/application.ex
jeramyRR/cosmos_db_ex
94525db1196b1041e65d6fca434383798b631bdd
[ "MIT" ]
1
2021-05-31T00:01:48.000Z
2021-05-31T00:01:48.000Z
lib/cosmos_db_ex/application.ex
jeramyRR/cosmos_db_ex
94525db1196b1041e65d6fca434383798b631bdd
[ "MIT" ]
null
null
null
defmodule CosmosDbEx.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application alias CosmosDbEx.Config @impl true def start(_type, _args) do children = [ finch_child_spec() # Starts a worker by calling: Te...
22.461538
64
0.657534
5ac335b763a564c6e8ec56cfa816a5c976b9571c
24,778
ex
Elixir
lib/telemetry_metrics.ex
bmuller/telemetry_metrics
3ac585b92e4f6cf31e6808e750da4f94e0876e95
[ "Apache-2.0" ]
null
null
null
lib/telemetry_metrics.ex
bmuller/telemetry_metrics
3ac585b92e4f6cf31e6808e750da4f94e0876e95
[ "Apache-2.0" ]
null
null
null
lib/telemetry_metrics.ex
bmuller/telemetry_metrics
3ac585b92e4f6cf31e6808e750da4f94e0876e95
[ "Apache-2.0" ]
null
null
null
defmodule Telemetry.Metrics do @moduledoc """ Common interface for defining metrics based on [`:telemetry`](https://github.com/beam-telemetry/telemetry) events. Metrics are aggregations of Telemetry events with specific name, providing a view of the system's behaviour over time. To give a more concrete ex...
37.26015
100
0.695294
5ac345ca0c928550ae3e1212fb259079f3b0004b
82
exs
Elixir
test/birdbeak_web/views/page_view_test.exs
qtheninja/birdbeak
f3af66ee84a201a373ab0b9b5c245c861b7e88ab
[ "MIT" ]
null
null
null
test/birdbeak_web/views/page_view_test.exs
qtheninja/birdbeak
f3af66ee84a201a373ab0b9b5c245c861b7e88ab
[ "MIT" ]
null
null
null
test/birdbeak_web/views/page_view_test.exs
qtheninja/birdbeak
f3af66ee84a201a373ab0b9b5c245c861b7e88ab
[ "MIT" ]
null
null
null
defmodule BirdbeakWeb.PageViewTest do use BirdbeakWeb.ConnCase, async: true end
20.5
39
0.829268
5ac34d34c3da5917cff5094f46e8bf322ebc308a
658
ex
Elixir
lib/benchfella/cli_util.ex
kianmeng/benchfella
d4546fe801ca668794cf4e87b7f75825d6eb4239
[ "MIT" ]
485
2015-01-07T10:26:26.000Z
2022-03-25T19:05:56.000Z
lib/benchfella/cli_util.ex
kianmeng/benchfella
d4546fe801ca668794cf4e87b7f75825d6eb4239
[ "MIT" ]
48
2015-01-07T02:41:20.000Z
2021-12-18T20:10:00.000Z
lib/benchfella/cli_util.ex
kianmeng/benchfella
d4546fe801ca668794cf4e87b7f75825d6eb4239
[ "MIT" ]
31
2015-05-02T14:51:52.000Z
2021-12-10T04:03:27.000Z
defmodule Benchfella.CLI.Util do def read_all_input(lines \\ []) do case IO.binread(:line) do :eof -> lines |> Enum.reverse |> Enum.join("") {:error, reason} -> Mix.raise "Error reading from input: #{inspect reason}" line -> read_all_input([line|lines]) end end d...
23.5
63
0.571429
5ac36abd5cabf0ae244acc2394749f0a0585aaeb
421
exs
Elixir
mix.exs
afronski/erlog_sudoku_solver
184e31c1b76f5494eaeffef5474d4ce4bde7ab34
[ "MIT" ]
null
null
null
mix.exs
afronski/erlog_sudoku_solver
184e31c1b76f5494eaeffef5474d4ce4bde7ab34
[ "MIT" ]
null
null
null
mix.exs
afronski/erlog_sudoku_solver
184e31c1b76f5494eaeffef5474d4ce4bde7ab34
[ "MIT" ]
null
null
null
defmodule ErlogSudokuSolver.Mixfile do use Mix.Project def project do [app: :erlog_sudoku_solver, version: "1.0.0", elixir: "~> 1.0", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end def application do [applications: [:logger, :erlog]] end...
18.304348
61
0.605701
5ac3a595c84045b3b0d58753bef813b184e7265f
112
exs
Elixir
test/test_helper.exs
oliver-kriska/cloak
db9cbdb23e3a39b7e36e0868c4da876ebbb0ccd9
[ "MIT" ]
null
null
null
test/test_helper.exs
oliver-kriska/cloak
db9cbdb23e3a39b7e36e0868c4da876ebbb0ccd9
[ "MIT" ]
null
null
null
test/test_helper.exs
oliver-kriska/cloak
db9cbdb23e3a39b7e36e0868c4da876ebbb0ccd9
[ "MIT" ]
null
null
null
ExUnit.configure(formatters: [JUnitFormatter, ExUnit.CLIFormatter]) ExUnit.start() Cloak.TestVault.start_link()
28
67
0.821429
5ac3b709a5cfcfde6169e1147e7b1b09f20a43f6
197
ex
Elixir
lib/live_blog_ex_web/controllers/repo_controller.ex
TunkShif/live_blog_ex
393c8643bdeb7ddeaf3faede869a0afbc94ed2b4
[ "MIT" ]
null
null
null
lib/live_blog_ex_web/controllers/repo_controller.ex
TunkShif/live_blog_ex
393c8643bdeb7ddeaf3faede869a0afbc94ed2b4
[ "MIT" ]
null
null
null
lib/live_blog_ex_web/controllers/repo_controller.ex
TunkShif/live_blog_ex
393c8643bdeb7ddeaf3faede869a0afbc94ed2b4
[ "MIT" ]
null
null
null
defmodule LiveBlogExWeb.RepoController do use LiveBlogExWeb, :controller alias LiveBlogEx.Blog.Repo def update(conn, _params) do Repo.update() render(conn, "update.json") end end
17.909091
41
0.736041
5ac3bb338c0920392d4ecd03f18d386c5f1af7dc
237
exs
Elixir
test/support/migrations/20180428132508_add_tables.exs
xpgdk/arbejd_q
3fedc326569dc32dce6993ff36b4ca7dafe4c95d
[ "MIT" ]
null
null
null
test/support/migrations/20180428132508_add_tables.exs
xpgdk/arbejd_q
3fedc326569dc32dce6993ff36b4ca7dafe4c95d
[ "MIT" ]
null
null
null
test/support/migrations/20180428132508_add_tables.exs
xpgdk/arbejd_q
3fedc326569dc32dce6993ff36b4ca7dafe4c95d
[ "MIT" ]
null
null
null
defmodule ArbejdQ.Test.Repo.Migrations.AddTables do use Ecto.Migration def up do ArbejdQ.Migrations.V1.up ArbejdQ.Migrations.V2.up end def down do ArbejdQ.Migrations.V2.down ArbejdQ.Migrations.V1.down end end
16.928571
51
0.734177
5ac3d2a1334878b57b7192abd5008d50623e4bcc
317
ex
Elixir
test/support/fixture.ex
ray-sh/cov_detect
b4e74b13850eff4a7c646a64fc7c28fbe700ad2e
[ "MIT" ]
null
null
null
test/support/fixture.ex
ray-sh/cov_detect
b4e74b13850eff4a7c646a64fc7c28fbe700ad2e
[ "MIT" ]
null
null
null
test/support/fixture.ex
ray-sh/cov_detect
b4e74b13850eff4a7c646a64fc7c28fbe700ad2e
[ "MIT" ]
null
null
null
defmodule Conduit.Fixture do import Conduit.Factory alias Conduit.{Accounts} def register_user(_context) do {:ok, user} = fixture(:user) [ user: user ] end def fixture(resource, attrs \\ []) def fixture(:user, attrs) do build(:user, attrs) |> Accounts.register_user() end end
15.85
51
0.643533
5ac3dc53c96c563008828c4b7a43d7aafdc52fb5
1,381
exs
Elixir
rel/config.exs
sfairchild/distillery-aws-example
156ce07eef6ae9f133daf328899e0cccc5f8edea
[ "Apache-2.0" ]
46
2018-08-06T23:18:46.000Z
2020-11-26T12:43:49.000Z
rel/config.exs
sfairchild/distillery-aws-example
156ce07eef6ae9f133daf328899e0cccc5f8edea
[ "Apache-2.0" ]
15
2018-08-23T08:29:48.000Z
2020-05-18T14:05:38.000Z
rel/config.exs
sfairchild/distillery-aws-example
156ce07eef6ae9f133daf328899e0cccc5f8edea
[ "Apache-2.0" ]
84
2018-08-27T11:56:59.000Z
2022-01-28T00:33:47.000Z
~w(rel plugins *.exs) |> Path.join() |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Distillery.Releases.Config, default_release: :default, default_environment: Mix.env() environment :dev do set(dev_mode: true) set(include_erts: false) set(cookie: :"l];J<ek/U*.zxTecvnL(~sP~X.H)rcBLwOUB[3ZGV;il6xk;6X...
23.40678
91
0.674149
5ac3e6699ef2288661106dc982a3cf6fd7d556a0
547
ex
Elixir
lib/kastlex/guardian_serializer.ex
zmstone/kastlex
3478bc230f08bde99e768067787b0ef3f8e1c026
[ "Apache-2.0" ]
38
2016-10-21T08:26:15.000Z
2021-03-19T23:10:40.000Z
lib/kastlex/guardian_serializer.ex
zmstone/kastlex
3478bc230f08bde99e768067787b0ef3f8e1c026
[ "Apache-2.0" ]
32
2017-02-19T08:57:35.000Z
2020-02-05T13:15:11.000Z
lib/kastlex/guardian_serializer.ex
zmstone/kastlex
3478bc230f08bde99e768067787b0ef3f8e1c026
[ "Apache-2.0" ]
6
2017-11-24T16:02:20.000Z
2022-02-22T07:44:36.000Z
defmodule Kastlex.GuardianSerializer do require Logger @behaviour Guardian.Serializer def for_token(%{user: user}), do: {:ok, "user:#{user}"} def for_token(_), do: {:error, "Unknown resource type"} def from_token("user:" <> name) do case Kastlex.get_user(name) do false -> Logger.error "Unk...
23.782609
57
0.628885
5ac424b58f9b81a6f89812cc0b25e9b0788f66d3
6,165
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1_video_annotation_results.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1_video_annotation_results.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1_video_annotation_results.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...
41.938776
239
0.749392
5ac42f010d25012ee1316524b8fe9e3fae566e88
4,007
ex
Elixir
apps/andi/lib/andi_web/controllers/api/organization_controller.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/andi/lib/andi_web/controllers/api/organization_controller.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/andi/lib/andi_web/controllers/api/organization_controller.ex
smartcitiesdata/smartcitiesdata
c926c25003a8ee2d09b933c521c49f674841c0b6
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule AndiWeb.API.OrganizationController do @moduledoc """ Creates new organizations and retrieves existing ones in ViewState. """ use AndiWeb, :controller require Logger alias SmartCity.Organization alias Andi.InputSchemas.Organizations alias Andi.Services.OrgStore import SmartCity.Event, only: ...
26.713333
134
0.608186
5ac43ecd71cedfd5b6e96261b703a85796228f07
4,775
exs
Elixir
test/ex_plasma/in_flight_exit_test.exs
omgnetwork/ex_plasma
27c33206297a4d6832a9419c4e61e04b3c2c9f71
[ "Apache-2.0" ]
6
2020-08-13T08:14:34.000Z
2021-08-19T11:08:17.000Z
test/ex_plasma/in_flight_exit_test.exs
omisego/ex_plasma
27c33206297a4d6832a9419c4e61e04b3c2c9f71
[ "Apache-2.0" ]
34
2019-11-20T03:33:22.000Z
2020-05-27T18:40:10.000Z
test/ex_plasma/in_flight_exit_test.exs
omisego/ex_plasma
27c33206297a4d6832a9419c4e61e04b3c2c9f71
[ "Apache-2.0" ]
6
2020-06-02T19:00:36.000Z
2021-08-19T11:06:33.000Z
defmodule ExPlasma.InFlightExitTest do use ExUnit.Case, async: true import ExPlasma.Encoding, only: [to_binary!: 1] alias ExPlasma.InFlightExit doctest ExPlasma.InFlightExit describe "tx_bytes_to_id/1" do test "basic tx_bytes is converted to the correct IDs" do Application.put_env(:ex_plasma, :exi...
46.359223
131
0.718325
5ac47041a957d5a78e9d03a0dcf650626288ae73
975
exs
Elixir
niex/config/config.exs
rellen/elixir_nx_demo
a0334e5f3b76f09421bf9c5bcb4c85bb3e929aad
[ "Apache-2.0" ]
1
2021-04-10T01:02:29.000Z
2021-04-10T01:02:29.000Z
niex/config/config.exs
team-alembic/elixir_nx_demo
a0334e5f3b76f09421bf9c5bcb4c85bb3e929aad
[ "Apache-2.0" ]
null
null
null
niex/config/config.exs
team-alembic/elixir_nx_demo
a0334e5f3b76f09421bf9c5bcb4c85bb3e929aad
[ "Apache-2.0" ]
1
2021-03-24T23:04:57.000Z
2021-03-24T23:04:57.000Z
# 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. # General application configuration use Mix.Config # Configures the endpoint config :niex, NiexWeb....
33.62069
86
0.770256
5ac489b21c48b16cb9b88d9c5edbc49cf9dcffb3
2,172
exs
Elixir
test/idService/accounts_test.exs
dougalcorn/id-server
a699cdc05a484faf498846d7d428921dfaecb978
[ "MIT" ]
null
null
null
test/idService/accounts_test.exs
dougalcorn/id-server
a699cdc05a484faf498846d7d428921dfaecb978
[ "MIT" ]
null
null
null
test/idService/accounts_test.exs
dougalcorn/id-server
a699cdc05a484faf498846d7d428921dfaecb978
[ "MIT" ]
null
null
null
defmodule IdService.AccountsTest do use IdService.DataCase alias IdService.Accounts describe "users" do alias IdService.Accounts.User @valid_attrs %{email: "email@example.com", password: "some password", password_confirmation: "some password"} @update_attrs %{email: "updated@example.com", password:...
32.909091
132
0.665746
5ac4b80e30818593d85b029b612d3a442bf983d5
20,370
ex
Elixir
lib/broadway_rabbitmq/producer.ex
nathanl/broadway_rabbitmq
cd033383e19c3c15b3bdabf40e3e2b96490c4adf
[ "Apache-2.0" ]
null
null
null
lib/broadway_rabbitmq/producer.ex
nathanl/broadway_rabbitmq
cd033383e19c3c15b3bdabf40e3e2b96490c4adf
[ "Apache-2.0" ]
null
null
null
lib/broadway_rabbitmq/producer.ex
nathanl/broadway_rabbitmq
cd033383e19c3c15b3bdabf40e3e2b96490c4adf
[ "Apache-2.0" ]
null
null
null
defmodule BroadwayRabbitMQ.Producer do @moduledoc """ A RabbitMQ producer for Broadway. ## Features * Automatically acknowledges/rejects messages. * Handles connection outages using backoff for retries. ## Options * `:queue` - Required. The name of the queue. If `""`, then the queue name will ...
39.173077
117
0.689936
5ac4baf87a0566c0f9d00e3ff894a4d2420b5969
877
ex
Elixir
lib/ash/calculation.ex
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
null
null
null
lib/ash/calculation.ex
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
null
null
null
lib/ash/calculation.ex
elbow-jason/ash
eb63bc9d4d24187ad07d9892088b4e55ad6258e4
[ "MIT" ]
null
null
null
defmodule Ash.Calculation do @moduledoc "The behaviour for a calculation module" defmacro __using__(opts) do type = opts[:type] || raise "Must provide `type` option to `use Ash.Calculation` in #{__CALLER__.module}" unless Ash.Type.ash_type?(Ash.Type.get_type(opts[:type])) do raise "Valu...
29.233333
96
0.631699
5ac4dca467a117a6deb1eac475cb47c7ef4bb01f
2,580
exs
Elixir
webapp/config/dev.exs
zmaril/penmark
992f570da3bdf819f912505ba9b6531db9dcb80b
[ "FSFAP" ]
null
null
null
webapp/config/dev.exs
zmaril/penmark
992f570da3bdf819f912505ba9b6531db9dcb80b
[ "FSFAP" ]
null
null
null
webapp/config/dev.exs
zmaril/penmark
992f570da3bdf819f912505ba9b6531db9dcb80b
[ "FSFAP" ]
null
null
null
import Config # Configure your database config :penmark, Penmark.Repo, username: "postgres", password: "postgres", database: "penmark_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloading....
31.084337
86
0.693411
5ac4dda60ad90611a12b4a8d1567fc48cd1bc222
1,166
exs
Elixir
test/definition_test.exs
ivofuru/arc_ecto
fcf07e7d8933208822ae73b8c91624058a568ef8
[ "Apache-2.0" ]
null
null
null
test/definition_test.exs
ivofuru/arc_ecto
fcf07e7d8933208822ae73b8c91624058a568ef8
[ "Apache-2.0" ]
null
null
null
test/definition_test.exs
ivofuru/arc_ecto
fcf07e7d8933208822ae73b8c91624058a568ef8
[ "Apache-2.0" ]
null
null
null
defmodule ArcTest.Ecto.Definition do use ExUnit.Case test "defines Definition.Type module" do assert DummyDefinitionTwo.Type.type() == Arc.Ecto.Type.type() end test "falls back to pre-defined url" do assert DummyDefinitionTwo.url("test.png", :original, []) == "fallback" end test "url appends time...
25.911111
96
0.629503
5ac5130cad6e6fcb06ddc7bd3a19b99d6458ad85
44,176
ex
Elixir
lib/elixir/lib/gen_server.ex
mguimas/elixir
161f5f9a3b6bc38faa152e08c567486b71b0602a
[ "Apache-2.0" ]
1
2018-02-24T19:48:35.000Z
2018-02-24T19:48:35.000Z
lib/elixir/lib/gen_server.ex
mguimas/elixir
161f5f9a3b6bc38faa152e08c567486b71b0602a
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/gen_server.ex
mguimas/elixir
161f5f9a3b6bc38faa152e08c567486b71b0602a
[ "Apache-2.0" ]
null
null
null
defmodule GenServer do @moduledoc """ A behaviour module for implementing the server of a client-server relation. A GenServer is a process like any other Elixir process and it can be used to keep state, execute code asynchronously and so on. The advantage of using a generic server process (GenServer) impleme...
36.75208
129
0.666516
5ac51ff834a9190dafc0a0305216ae98c35c434d
2,735
ex
Elixir
lib/app_web/channels/presence.ex
kenforthewin/mentat
417ce989e13f2f08990b872027ce8dcb3a1e6e99
[ "MIT" ]
88
2018-06-17T17:36:56.000Z
2021-11-20T20:29:27.000Z
lib/app_web/channels/presence.ex
kenforthewin/scalar
417ce989e13f2f08990b872027ce8dcb3a1e6e99
[ "MIT" ]
47
2018-05-12T00:12:37.000Z
2018-06-16T19:52:52.000Z
lib/app_web/channels/presence.ex
kenforthewin/scalar
417ce989e13f2f08990b872027ce8dcb3a1e6e99
[ "MIT" ]
6
2018-06-17T17:37:11.000Z
2020-04-12T04:05:49.000Z
defmodule AppWeb.Presence do @moduledoc """ Provides presence tracking to channels and processes. See the [`Phoenix.Presence`](http://hexdocs.pm/phoenix/Phoenix.Presence.html) docs for more details. ## Usage Presences can be tracked in your channel after joining: defmodule App.MyChannel do ...
36.959459
79
0.670201
5ac5287e305e93f09d9aa127fa56170a2d7ef0c2
1,932
exs
Elixir
malmo_elixir/new_try/led_demo/config/config.exs
MathiasBeckius/ElixirNerves
19a0a9b9cecae1e44a0259326a91be623acba1b0
[ "MIT" ]
null
null
null
malmo_elixir/new_try/led_demo/config/config.exs
MathiasBeckius/ElixirNerves
19a0a9b9cecae1e44a0259326a91be623acba1b0
[ "MIT" ]
null
null
null
malmo_elixir/new_try/led_demo/config/config.exs
MathiasBeckius/ElixirNerves
19a0a9b9cecae1e44a0259326a91be623acba1b0
[ "MIT" ]
null
null
null
use Mix.Config config :nerves_leds, names: [ usr0: "beaglebone:green:usr0", usr1: "beaglebone:green:usr1", usr2: "beaglebone:green:usr2", usr3: "beaglebone:green:usr3", ] config :nerves, :firmware, rootfs_overlay: "rootfs_overlay" config :shoehorn, init: [:nerves_runtime, :nerves_init_gadget, :nerves_netwo...
27.6
86
0.705487
5ac54725592072a606074dc95b6be9e042ee4ede
1,758
ex
Elixir
lib/absinthe_streamdata/type_mapper.ex
maartenvanvliet/absinthe_streamdata
d297e7dd4f49dafc183d0fcea95366f218449106
[ "MIT" ]
null
null
null
lib/absinthe_streamdata/type_mapper.ex
maartenvanvliet/absinthe_streamdata
d297e7dd4f49dafc183d0fcea95366f218449106
[ "MIT" ]
7
2021-10-16T19:40:55.000Z
2022-03-24T04:24:08.000Z
lib/absinthe_streamdata/type_mapper.ex
maartenvanvliet/absinthe_streamdata
d297e7dd4f49dafc183d0fcea95366f218449106
[ "MIT" ]
null
null
null
defmodule Absinthe.StreamData.TypeMapper do @moduledoc """ Behaviour for type mappers. ```elixir defmodule Test do use Absinthe.StreamData.TypeMapper def list_of(stream, name) do Absinthe.StreamData.DefaultTypeMapper.list_of(stream, name) end def optional(stream, name) do Absinthe...
27.904762
88
0.662116
5ac556f54b36d7b3557b01e87bd4e6a8ef003f5e
3,595
exs
Elixir
test/20_run/steps/changeset__as_cast_test.exs
marick/ecto_test_dsl
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
4
2021-02-09T17:26:34.000Z
2021-08-08T01:42:52.000Z
test/20_run/steps/changeset__as_cast_test.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
test/20_run/steps/changeset__as_cast_test.exs
marick/transformer_test_support
6d460af093367098b7c78db709753deb45904d77
[ "Unlicense" ]
null
null
null
defmodule Run.Steps.AsCastChangesetTest do use EctoTestDSL.Case use T.Drink.AndRun alias Run.Steps use Mockery import T.RunningStubs alias Ecto.Changeset setup do stub(name: :example, validation_changeset_checks: [], neighborhood: %{}) :ok end defmodule Schema do use Ecto.Sch...
32.098214
100
0.618081
5ac57741fff42256821e6e75c5cd6e45578d459d
4,658
ex
Elixir
lib/hui/query/facet_range.ex
niccolox/hui
d0eecd0176d1bf3c9ff4075ab1c6048e3d1c25b3
[ "Apache-2.0" ]
null
null
null
lib/hui/query/facet_range.ex
niccolox/hui
d0eecd0176d1bf3c9ff4075ab1c6048e3d1c25b3
[ "Apache-2.0" ]
null
null
null
lib/hui/query/facet_range.ex
niccolox/hui
d0eecd0176d1bf3c9ff4075ab1c6048e3d1c25b3
[ "Apache-2.0" ]
null
null
null
defmodule Hui.Query.FacetRange do @moduledoc """ Struct related to [range faceting](http://lucene.apache.org/solr/guide/faceting.html#range-faceting) query. ### Example iex> x = %Hui.Query.FacetRange{range: "year", gap: "+10YEARS", start: 1700, end: 1799} %Hui.Query.FacetRange{ end: 1799, ...
30.644737
245
0.525333
5ac57edaf161a1a8ddd5c39702f38a3eb4993b7a
711
exs
Elixir
installer/templates/phx_umbrella/apps/app_name/config/config.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
18,092
2015-01-01T01:51:04.000Z
2022-03-31T19:37:14.000Z
installer/templates/phx_umbrella/apps/app_name/config/config.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,905
2015-01-01T00:22:47.000Z
2022-03-31T17:06:21.000Z
installer/templates/phx_umbrella/apps/app_name/config/config.exs
faheempatel/phoenix
a83318f2a2284b7ab29b0b86cdd9d2e1f4d0a7c9
[ "MIT" ]
3,205
2015-01-03T10:58:22.000Z
2022-03-30T14:55:57.000Z
<%= if @namespaced? || @ecto do %># Configure Mix tasks and generators config :<%= @app_name %><%= if @namespaced? do %>, namespace: <%= @app_module %><% end %><%= if @ecto do %>, ecto_repos: [<%= @app_module %>.Repo]<% end %><% end %><%= if @mailer do %> # Configures the mailer # # By default it uses the "Local" ...
41.823529
83
0.666667
5ac5db9fc94c1712d932ffca87900f5aacbab373
1,583
ex
Elixir
clients/dns/lib/google_api/dns/v1/model/response_header.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/model/response_header.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/dns/lib/google_api/dns/v1/model/response_header.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...
32.979167
224
0.74921
5ac5f5ac8202ce3087fb51092d478deb6429f181
1,960
ex
Elixir
clients/container/lib/google_api/container/v1/model/network_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/container/lib/google_api/container/v1/model/network_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/network_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.636364
119
0.729592
5ac60286a5435ccf29392b320ae99d918b60e4f7
5,874
ex
Elixir
lib/ttr_core/board/routes.ex
alakra/ticket-to-ride-core
7886e1937d4f41b472e0bb3e2cc20ea4ef350085
[ "MIT" ]
6
2018-09-23T21:04:50.000Z
2021-03-13T02:56:23.000Z
lib/ttr_core/board/routes.ex
alakra/ticket-to-ride-core
7886e1937d4f41b472e0bb3e2cc20ea4ef350085
[ "MIT" ]
23
2018-08-24T17:09:18.000Z
2021-08-02T12:15:23.000Z
lib/ttr_core/board/routes.ex
alakra/ticket-to-ride-core
7886e1937d4f41b472e0bb3e2cc20ea4ef350085
[ "MIT" ]
1
2018-08-24T16:59:45.000Z
2018-08-24T16:59:45.000Z
defmodule TtrCore.Board.Routes do @moduledoc false use TtrCore.Board.Router defroute Atlanta, to: Charleston, distance: 2 defroute Atlanta, to: Miami, distance: 5, trains: [:passenger] defroute Atlanta, to: Raleigh, distance: 2, trains: [:any, :any] defroute Atlant...
52.446429
90
0.599251
5ac60c988cb41b9c9278e824df806ca420d0a9eb
575
exs
Elixir
mix.exs
khionu/mystery_soup
b05a22bf666d384a73c179ef33303a7fecc5d02e
[ "Apache-2.0" ]
10
2020-05-30T19:07:44.000Z
2022-03-21T01:50:11.000Z
mix.exs
khionu/mystery_soup
b05a22bf666d384a73c179ef33303a7fecc5d02e
[ "Apache-2.0" ]
null
null
null
mix.exs
khionu/mystery_soup
b05a22bf666d384a73c179ef33303a7fecc5d02e
[ "Apache-2.0" ]
1
2021-11-06T10:09:18.000Z
2021-11-06T10:09:18.000Z
defmodule MysterySoup.MixProject do use Mix.Project def project do [ app: :mystery_soup, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, compilers: [:rustler] ++ Mix.compilers(), rustler_crates: [mystery_soup: []], deps: deps(), ] end ...
19.166667
59
0.57913
5ac697eddb8b2765d2fb9a3cc453db6405a9284a
2,194
ex
Elixir
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/segment_filter_clause.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/segment_filter_clause.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/segment_filter_clause.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...
40.62963
163
0.750228
5ac69a4ac2a45c0aa185af4b2d9f0670254d155a
869
ex
Elixir
lib/koans/01_equalities.ex
matisnape/elixir-koans
878bf9290dba67bef5de8ce09d6eb3646e026268
[ "MIT" ]
null
null
null
lib/koans/01_equalities.ex
matisnape/elixir-koans
878bf9290dba67bef5de8ce09d6eb3646e026268
[ "MIT" ]
null
null
null
lib/koans/01_equalities.ex
matisnape/elixir-koans
878bf9290dba67bef5de8ce09d6eb3646e026268
[ "MIT" ]
null
null
null
defmodule Equalities do use Koans @intro """ Welcome to the Elixir koans. Let these be your first humble steps towards learning a new language. The path laid in front of you is one of many. """ # Replace ___ with the answer to make the koan pass. koan "We shall contemplate truth by testing reality, v...
21.725
83
0.673188
5ac6d182d0e4ae1a99ae52c49096ebdd91e9986e
876
ex
Elixir
clients/games/lib/google_api/games/v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "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...
32.444444
74
0.756849
5ac6e7cbb51625950fea51d429b4343dcb89ab05
6,580
exs
Elixir
test/oli/branding_test.exs
ctipperCMU/oli-torus
231e8afc9ec6179e6081f327f4ebeb497703bfb8
[ "MIT" ]
null
null
null
test/oli/branding_test.exs
ctipperCMU/oli-torus
231e8afc9ec6179e6081f327f4ebeb497703bfb8
[ "MIT" ]
null
null
null
test/oli/branding_test.exs
ctipperCMU/oli-torus
231e8afc9ec6179e6081f327f4ebeb497703bfb8
[ "MIT" ]
null
null
null
defmodule Oli.BrandingTest do use Oli.DataCase alias Oli.Branding alias Oli.Institutions.Institution describe "brands" do alias Oli.Branding.Brand @valid_attrs %{ favicons: "/some_favicons", logo: "/some_logo", logo_dark: "/some_logo_dark", name: "some name" } @update_...
30.892019
98
0.655015
5ac704a69a27d7b3f4a4166541760e2ac3dfaf12
72
ex
Elixir
lib/gettext.ex
zven21/turbo_html
462a41d57d84a96e9e86dfa31c3a12040a02e712
[ "MIT" ]
4
2019-01-23T14:10:31.000Z
2019-05-14T15:41:11.000Z
lib/gettext.ex
zven21/turbo_html
462a41d57d84a96e9e86dfa31c3a12040a02e712
[ "MIT" ]
35
2019-02-19T02:11:33.000Z
2021-09-01T07:09:42.000Z
lib/gettext.ex
zven21/turbo_html
462a41d57d84a96e9e86dfa31c3a12040a02e712
[ "MIT" ]
4
2019-11-03T16:11:39.000Z
2022-03-05T14:34:23.000Z
defmodule Turbo.HTML.Gettext do use Gettext, otp_app: :turbo_html end
18
35
0.791667
5ac70cf221dd16806dd6a6e4c27b8ec78d7d32a3
60
exs
Elixir
day_1/test/day1_test.exs
vanetix/advent-of-code-2019
d21866846d56a0c6ee9274d812961730ae4392ba
[ "MIT" ]
null
null
null
day_1/test/day1_test.exs
vanetix/advent-of-code-2019
d21866846d56a0c6ee9274d812961730ae4392ba
[ "MIT" ]
null
null
null
day_1/test/day1_test.exs
vanetix/advent-of-code-2019
d21866846d56a0c6ee9274d812961730ae4392ba
[ "MIT" ]
null
null
null
defmodule Day1Test do use ExUnit.Case doctest Day1 end
10
21
0.766667
5ac71c1b8e36a2ec378ff84ce1eaf2cc84759403
1,420
ex
Elixir
lib/globe_request_mapper_web/telemetry.ex
mrkurt/globe-request-mapper
1270c7f69a0c1403b026508385fab54d2eaa685e
[ "Apache-2.0" ]
1
2022-02-24T04:00:56.000Z
2022-02-24T04:00:56.000Z
lib/globe_request_mapper_web/telemetry.ex
mrkurt/globe-request-mapper
1270c7f69a0c1403b026508385fab54d2eaa685e
[ "Apache-2.0" ]
null
null
null
lib/globe_request_mapper_web/telemetry.ex
mrkurt/globe-request-mapper
1270c7f69a0c1403b026508385fab54d2eaa685e
[ "Apache-2.0" ]
4
2021-04-05T22:39:42.000Z
2021-04-05T23:16:50.000Z
defmodule GlobeRequestMapperWeb.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_00...
28.979592
86
0.675352
5ac72782219c607287668889ad2dfa771ec6b386
4,011
exs
Elixir
test/kaffy_test.exs
adipurnama/kaffy
d940958b8730648b060dff8a89232dff082a090e
[ "MIT" ]
3
2020-08-18T15:04:10.000Z
2021-05-10T11:10:44.000Z
test/kaffy_test.exs
adipurnama/kaffy
d940958b8730648b060dff8a89232dff082a090e
[ "MIT" ]
2
2020-05-31T18:19:05.000Z
2020-06-15T13:43:12.000Z
test/kaffy_test.exs
adipurnama/kaffy
d940958b8730648b060dff8a89232dff082a090e
[ "MIT" ]
1
2020-09-18T14:25:00.000Z
2020-09-18T14:25:00.000Z
defmodule KaffyTest do use ExUnit.Case doctest Kaffy alias KaffyTest.Schemas.{Person, Pet} alias KaffyTest.Admin.PersonAdmin test "greets the world" do assert Kaffy.hello() == :world end test "creating a person" do person = %Person{} assert is_nil(person.name) assert person.married == fa...
35.8125
84
0.6729
5ac730e24affb34b8c67a4950e3495a611d59140
1,092
ex
Elixir
test/support/integration_case.ex
topherhunt/reassembling-the-line
c6823b3394ee98d9b0149fa3d09448928ac5c0db
[ "MIT" ]
1
2019-04-27T15:39:20.000Z
2019-04-27T15:39:20.000Z
test/support/integration_case.ex
topherhunt/reassembling-the-line
c6823b3394ee98d9b0149fa3d09448928ac5c0db
[ "MIT" ]
11
2020-07-16T11:40:53.000Z
2021-08-16T07:03:33.000Z
test/support/integration_case.ex
topherhunt/reassembling-the-line
c6823b3394ee98d9b0149fa3d09448928ac5c0db
[ "MIT" ]
null
null
null
defmodule RTLWeb.IntegrationCase do use ExUnit.CaseTemplate using do quote do use Phoenix.ConnTest # See https://github.com/HashNuke/hound for usage info use Hound.Helpers import RTL.Factory import RTL.DataHelpers import RTL.EmailHelpers import RTLWeb.IntegrationHelper...
25.395349
79
0.682234
5ac737f367431b1a43ca27e464c8051b9f05a535
1,621
ex
Elixir
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/response_meta_data.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/response_meta_data.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics_data/lib/google_api/analytics_data/v1alpha/model/response_meta_data.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.489362
205
0.756323
5ac747bf78fb78803437f8d2e6263fd051ab9091
165
ex
Elixir
test/support/ecto/repo.ex
NeoArcanjo/pow_last_login
00225c452bf1e277e64b6ede5a33a6b697991061
[ "MIT" ]
null
null
null
test/support/ecto/repo.ex
NeoArcanjo/pow_last_login
00225c452bf1e277e64b6ede5a33a6b697991061
[ "MIT" ]
null
null
null
test/support/ecto/repo.ex
NeoArcanjo/pow_last_login
00225c452bf1e277e64b6ede5a33a6b697991061
[ "MIT" ]
null
null
null
defmodule PowLastLogin.Test.Ecto.Repo do @moduledoc false use Ecto.Repo, otp_app: :pow_last_login, adapter: Ecto.Adapters.Postgres def log(_cmd), do: nil end
23.571429
74
0.763636
5ac7767d59eaede74b4b56cf17ce0985d152fe29
198
ex
Elixir
lib/firmata/protocol/state.ex
cambrian-era/firmata
77cccf65349d75e8e6bbc7831fe75c26e72298fd
[ "ISC" ]
30
2017-08-17T23:06:42.000Z
2021-06-22T04:42:22.000Z
lib/firmata/protocol/state.ex
cambrian-era/firmata
77cccf65349d75e8e6bbc7831fe75c26e72298fd
[ "ISC" ]
2
2017-08-17T23:11:22.000Z
2020-09-17T14:21:48.000Z
lib/firmata/protocol/state.ex
cambrian-era/firmata
77cccf65349d75e8e6bbc7831fe75c26e72298fd
[ "ISC" ]
7
2016-05-09T16:53:26.000Z
2017-03-13T04:46:56.000Z
defmodule Firmata.Protocol.State do def unpack(state) do {state[:outbox], state[:parser]} end def pack({outbox, parser}, state) do %{state | outbox: outbox, parser: parser} end end
19.8
45
0.671717
5ac78f77b0e5aff5b25f81b1cd74caa6f7b1f41c
3,488
exs
Elixir
package.exs
edgurgel/hackney
88924b2df64837dbc06f03308dfe7d8c7be7b991
[ "Apache-2.0" ]
1
2020-12-03T21:24:25.000Z
2020-12-03T21:24:25.000Z
package.exs
irccloud/hackney
1412fc7a57304639e81ae29263040b9114a166f6
[ "Apache-2.0" ]
null
null
null
package.exs
irccloud/hackney
1412fc7a57304639e81ae29263040b9114a166f6
[ "Apache-2.0" ]
1
2019-10-08T17:32:42.000Z
2019-10-08T17:32:42.000Z
Expm.Package.new(name: "hackney", description: "Simple HTTP client in Erlang", version: "0.13.0", keywords: ["http","client","binary"], dependencies: ["idna""], licenses: [[name: "Apache License, Version 2.0", file: "LICENSE"]], contributors: [[name: "...
52.059701
84
0.28469
5ac79bf587540f2a1a3b2fa00bb5be5e6cc6cf5f
22,882
ex
Elixir
lib/wax/metadata/statement.ex
tanguilp/wax
520971397260f9fb9eb24af379fc87219fc3adb0
[ "Apache-2.0" ]
101
2019-02-11T10:39:34.000Z
2022-03-18T16:01:26.000Z
lib/wax/metadata/statement.ex
tanguilp/wax
520971397260f9fb9eb24af379fc87219fc3adb0
[ "Apache-2.0" ]
19
2019-02-14T22:34:34.000Z
2022-01-25T17:42:13.000Z
lib/wax/metadata/statement.ex
tanguilp/wax
520971397260f9fb9eb24af379fc87219fc3adb0
[ "Apache-2.0" ]
10
2019-03-12T15:56:21.000Z
2020-09-20T01:36:23.000Z
defmodule Wax.Metadata.Statement do @moduledoc """ Structure representing a FIDO2 metadata statement Reference: [FIDO Metadata Statements](https://fidoalliance.org/specs/fido-uaf-v1.2-rd-20171128/fido-metadata-statement-v1.2-rd-20171128.html#metadata-keys) Note that the following keys are not included in this...
32.456738
157
0.72214
5ac79d3ce2cee347a7a07894544be8a788cbf2a9
195
exs
Elixir
test/elixir_boilerplate_web/health_test.exs
Amirhat/test-elixir-boilerplate
2429a061d0b7b51ac838d15ffc629a667ed9e941
[ "BSD-3-Clause" ]
854
2019-03-18T19:13:58.000Z
2022-03-30T01:47:30.000Z
test/elixir_boilerplate_web/health_test.exs
Amirhat/test-elixir-boilerplate
2429a061d0b7b51ac838d15ffc629a667ed9e941
[ "BSD-3-Clause" ]
167
2019-03-18T21:23:28.000Z
2022-03-31T19:07:34.000Z
test/elixir_boilerplate_web/health_test.exs
Amirhat/test-elixir-boilerplate
2429a061d0b7b51ac838d15ffc629a667ed9e941
[ "BSD-3-Clause" ]
63
2019-03-28T14:19:11.000Z
2022-02-15T17:22:14.000Z
defmodule ElixirBoilerplateWeb.HealthTest do use ElixirBoilerplateWeb.ConnCase test "GET /health", %{conn: conn} do conn = get(conn, "/health") assert response(conn, 200) end end
19.5
44
0.712821
5ac79dbac320cda5158c1cbc973a4a75328eb7ae
986
exs
Elixir
test/exreddit/oauth_test.exs
Zarathustra2/exreddit
ff2a1a898ee0846278c0485f4323192c703f5f3e
[ "MIT" ]
null
null
null
test/exreddit/oauth_test.exs
Zarathustra2/exreddit
ff2a1a898ee0846278c0485f4323192c703f5f3e
[ "MIT" ]
null
null
null
test/exreddit/oauth_test.exs
Zarathustra2/exreddit
ff2a1a898ee0846278c0485f4323192c703f5f3e
[ "MIT" ]
null
null
null
defmodule ExReddit.OAuthTest do use ExUnit.Case doctest ExReddit.OAuth alias ExReddit.OAuth @moduletag :reddit_api @moduletag :oauth setup do Application.put_env(:exreddit, :username, System.get_env("REDDIT_USER")) Application.put_env(:exreddit, :client_id, System.get_env("REDDIT_CLIENT_ID")) e...
24.65
82
0.676471
5ac7a53c9d437961d95114e4c6dcd2250f7ed915
766
exs
Elixir
lib/rig_api/v2/session_blacklist_test.exs
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
518
2017-11-09T13:10:49.000Z
2022-03-28T14:29:50.000Z
lib/rig_api/v2/session_blacklist_test.exs
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
270
2017-11-10T00:11:34.000Z
2022-02-27T13:08:16.000Z
lib/rig_api/v2/session_blacklist_test.exs
steveoliver/reactive-interaction-gateway
59b6dc994fd0f098bed19b7bf1e699513ac87167
[ "Apache-2.0" ]
67
2017-12-19T20:16:37.000Z
2022-03-31T10:43:04.000Z
defmodule RigApi.V2.SessionBlacklistTest do @moduledoc false use RigApi.ConnCase, async: true alias UUID @prefix "/v2" test "After blacklisting a session ID, the location header points to the blacklist entry." do session_id = UUID.uuid4() body = Jason.encode!(%{validityInSeconds: 123, sessionId: s...
25.533333
95
0.682768
5ac7e2c2845ce64a70d2b9fe1b23aa6bee2e0853
6,508
ex
Elixir
archive/lib/vessel_new.ex
zackehh/vessel
401b5139d4680c6065f4024214718019068bf74e
[ "MIT" ]
14
2016-12-06T03:55:52.000Z
2017-05-23T12:07:07.000Z
archive/lib/vessel_new.ex
whitfin/vessel
401b5139d4680c6065f4024214718019068bf74e
[ "MIT" ]
3
2016-11-28T20:58:05.000Z
2017-05-31T23:51:52.000Z
archive/lib/vessel_new.ex
zackehh/vessel
401b5139d4680c6065f4024214718019068bf74e
[ "MIT" ]
1
2020-03-03T21:07:44.000Z
2020-03-03T21:07:44.000Z
defmodule Mix.Tasks.Vessel.New do use Mix.Task # module constants @version Mix.Project.config[:version] @shortdoc "Creates a new Vessel application" @switches [ app: :string, module: :string ] # file mappings @new [ {:eex, "new/app_name/config/config.exs", "config/config.exs"}, {:eex, "...
32.703518
87
0.632299
5ac7eb2fdad1c4a57e0829ef4aca1ffe948aecd0
387
ex
Elixir
lib/conduit/blog/projections/feed.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
lib/conduit/blog/projections/feed.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
2
2022-01-15T02:09:30.000Z
2022-01-22T10:18:43.000Z
lib/conduit/blog/projections/feed.ex
rudyyazdi/conduit
8defa60962482fb81f5093ea5d58b71a160db3c4
[ "MIT" ]
null
null
null
defmodule Conduit.Blog.Projections.Feed do use Ecto.Schema @primary_key false @timestamps_opts [type: :utc_datetime_usec] schema "blog_feed_articles" do field(:article_uuid, :binary_id, primary_key: true) field(:follower_uuid, :binary_id, primary_key: true) field(:author_uuid, :binary_id) fi...
24.1875
56
0.739018
5ac7fe00112903e64d4bd5eaff3a476c1221eb70
1,179
exs
Elixir
mix.exs
fangkunping/micro-server-shell
e90a9992bb58d4dbc2661825e6e5bcdce5f40e7d
[ "Apache-2.0" ]
null
null
null
mix.exs
fangkunping/micro-server-shell
e90a9992bb58d4dbc2661825e6e5bcdce5f40e7d
[ "Apache-2.0" ]
null
null
null
mix.exs
fangkunping/micro-server-shell
e90a9992bb58d4dbc2661825e6e5bcdce5f40e7d
[ "Apache-2.0" ]
null
null
null
defmodule MicroServerShell.Mixfile do use Mix.Project def project do [app: :micro_server_shell, version: "0.0.1", elixir: "~> 1.2", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env =...
28.756098
90
0.61408
5ac813b51022fcefff27445bebf06949e0b71894
4,010
exs
Elixir
test/custom_extensions_test.exs
activeprospect/postgrex
d267e419de5db61ac8705210dec8527e4bf94a84
[ "Apache-2.0" ]
null
null
null
test/custom_extensions_test.exs
activeprospect/postgrex
d267e419de5db61ac8705210dec8527e4bf94a84
[ "Apache-2.0" ]
null
null
null
test/custom_extensions_test.exs
activeprospect/postgrex
d267e419de5db61ac8705210dec8527e4bf94a84
[ "Apache-2.0" ]
null
null
null
defmodule CustomExtensionsTest do use ExUnit.Case, async: true import Postgrex.TestHelper import ExUnit.CaptureLog alias Postgrex, as: P @types CustomExtensionsTypes defmodule BinaryExtension do @behaviour Postgrex.Extension def init([]), do: [] def matching([]), do: [send: "int4...
23.450292
95
0.594763
5ac822a732b23e989ca3652f2d931fce0b431de3
176
ex
Elixir
lib/insta_api_web/controllers/index_controller.ex
kevinmartiniano/elixir-insta-api
5025e02f111a4952279839d92f64f960ca08026a
[ "Apache-2.0" ]
2
2021-01-07T23:46:50.000Z
2021-01-08T12:16:00.000Z
lib/insta_api_web/controllers/index_controller.ex
kevinmartiniano/elixir-insta-api
5025e02f111a4952279839d92f64f960ca08026a
[ "Apache-2.0" ]
null
null
null
lib/insta_api_web/controllers/index_controller.ex
kevinmartiniano/elixir-insta-api
5025e02f111a4952279839d92f64f960ca08026a
[ "Apache-2.0" ]
null
null
null
defmodule InstaApiWeb.IndexController do use InstaApiWeb, :controller def index(conn, _params) do response = "Success!" json(conn, %{message: response}) end end
19.555556
40
0.715909
5ac85c3a85014d208a872c1752cbe53d65b50bb1
1,728
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/list_folders_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/list_folders_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/list_folders_response.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...
33.882353
108
0.741898
5ac85fd14a39f8acd49405cfb212c24373f8b3d6
8,875
exs
Elixir
priv/templates/phx.gen.auth/auth_test.exs
samkenxstream/phoenix
18433f95a90fc948e1d6d0f5606dfa339fdc6d61
[ "MIT" ]
1
2022-02-09T00:31:50.000Z
2022-02-09T00:31:50.000Z
priv/templates/phx.gen.auth/auth_test.exs
samkenxstream/phoenix
18433f95a90fc948e1d6d0f5606dfa339fdc6d61
[ "MIT" ]
null
null
null
priv/templates/phx.gen.auth/auth_test.exs
samkenxstream/phoenix
18433f95a90fc948e1d6d0f5606dfa339fdc6d61
[ "MIT" ]
1
2018-10-01T19:42:35.000Z
2018-10-01T19:42:35.000Z
defmodule <%= inspect auth_module %>Test do use <%= inspect context.web_module %>.ConnCase<%= test_case_options %> alias <%= inspect context.module %> alias <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web_namespace, schema.alias) %>Auth import <%= inspect context.module %>Fixtures @re...
51.005747
175
0.643493
5ac8686988e7432dc2ecaa5e7643e0c1bc9879c4
48,791
ex
Elixir
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/api/relyingparty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/api/relyingparty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/api/relyingparty.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...
42.206747
187
0.633027
5ac88908e8ffd3605fe8c85aa093256aacbbf400
2,562
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_intent_parameter.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_intent_parameter.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3beta1_intent_parameter.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...
42
352
0.729118
5ac8c70b82bf9d3e5c7fc8df517a544863c52b48
553
ex
Elixir
lib/lle_cymraeg_web/views/business_type_view.ex
danielcavanagh/lle-cymraeg
01aebc939254e0dd76427cb460722b830c232e82
[ "MIT" ]
null
null
null
lib/lle_cymraeg_web/views/business_type_view.ex
danielcavanagh/lle-cymraeg
01aebc939254e0dd76427cb460722b830c232e82
[ "MIT" ]
null
null
null
lib/lle_cymraeg_web/views/business_type_view.ex
danielcavanagh/lle-cymraeg
01aebc939254e0dd76427cb460722b830c232e82
[ "MIT" ]
null
null
null
defmodule LleCymraegWeb.BusinessTypeView do use LleCymraegWeb, :view alias LleCymraegWeb.BusinessTypeView def render("index.json", %{business_types: business_types}) do %{data: render_many(business_types, BusinessTypeView, "business_type.json")} end def render("show.json", %{business_type: business_type...
30.722222
80
0.746835
5ac8c99f8cda5561bcb19427730488f0e3ce3ace
17,255
exs
Elixir
integration_test/cases/joins.exs
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
1
2017-11-27T06:00:32.000Z
2017-11-27T06:00:32.000Z
integration_test/cases/joins.exs
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
integration_test/cases/joins.exs
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Integration.JoinsTest do use Ecto.Integration.Case, async: Application.get_env(:ecto, :async_integration_tests, true) alias Ecto.Integration.TestRepo import Ecto.Query alias Ecto.Integration.Post alias Ecto.Integration.Comment alias Ecto.Integration.Permalink alias Ecto.Integration.User ...
37.267819
111
0.606143
5ac92440cc08df81cbb4242c2022f2f2fcdf6d27
1,805
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__study_config_parameter_spec__matching_parent_int_value_spec.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__study_config_parameter_spec__matching_parent_int_value_spec.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__study_config_parameter_spec__matching_parent_int_value_spec.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...
33.425926
186
0.761219
5ac9260c2ea4fad90b7a5383cf539e69646a9f9f
1,945
ex
Elixir
apps/gitgud_web/lib/gitgud_web/router.ex
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
apps/gitgud_web/lib/gitgud_web/router.ex
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
apps/gitgud_web/lib/gitgud_web/router.ex
chulkilee/gitgud
7a9b1023ff986ca08fb821a5e7658904a6061ba3
[ "MIT" ]
null
null
null
defmodule GitGud.Web.Router do @moduledoc false use GitGud.Web, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :authenticate_session plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :graphql do plug :fetch_s...
28.602941
65
0.688946
5ac99fdd76d6f6753f9b321de991ed6bba85ba03
679
exs
Elixir
test/postgres_sync_file_fdw_web/views/error_view_test.exs
floriank/postgres_sync_fiel_fdw
729e4e709c952755d1b89c6d6e66cdc0981f8352
[ "MIT" ]
1
2018-07-16T04:22:27.000Z
2018-07-16T04:22:27.000Z
test/postgres_sync_file_fdw_web/views/error_view_test.exs
floriank/postgres_sync_fiel_fdw
729e4e709c952755d1b89c6d6e66cdc0981f8352
[ "MIT" ]
null
null
null
test/postgres_sync_file_fdw_web/views/error_view_test.exs
floriank/postgres_sync_fiel_fdw
729e4e709c952755d1b89c6d6e66cdc0981f8352
[ "MIT" ]
null
null
null
defmodule PostgresSyncFileFdwWeb.ErrorViewTest do use PostgresSyncFileFdwWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(PostgresSyncFileFdwWeb.ErrorView, "404.json", []) == %{errors: %{detai...
30.863636
70
0.684831
5ac9f511bdea0e7c1fd284733521016b746865e3
1,917
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/list_operations_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/list_operations_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/list_operations_response.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 ...
38.34
184
0.755869
5ac9f8573f3b988c5ea174e374e5dd8a667a570b
95
exs
Elixir
config/config.exs
ryanbillingsley/cushion
8ffa57f15a44c231127b94e4e1b919b55c3e8343
[ "MIT" ]
null
null
null
config/config.exs
ryanbillingsley/cushion
8ffa57f15a44c231127b94e4e1b919b55c3e8343
[ "MIT" ]
null
null
null
config/config.exs
ryanbillingsley/cushion
8ffa57f15a44c231127b94e4e1b919b55c3e8343
[ "MIT" ]
null
null
null
use Mix.Config config :cushion, buffer_access_token: "1234" import_config "#{Mix.env}.exs"
13.571429
30
0.736842
5aca5a63b6c723676edad7117ba3f6f6e2172285
659
ex
Elixir
hexdocs__pm__phoenix__up_and_running.html/hello/lib/hello_web/views/layout_view.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello/lib/hello_web/views/layout_view.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello/lib/hello_web/views/layout_view.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule HelloWeb.LayoutView do use HelloWeb, :view def title, do: "Hello - Phoenix Frametwerk" def login_line(conn, assigns) do if Map.has_key?(assigns, :current_user) do # form_for conn, Routes.session_path(conn, :delete), [method: :delete, as: :user], fn _ -> # submit "Log Out, #{assigns.cu...
28.652174
96
0.617602
5aca6bc128dce35779471c060145b422229f9bee
3,256
ex
Elixir
lib/memento/memento.ex
serpent213/memento
a3f52bfe2e0117602e4b49bce47b6ea108be7e18
[ "MIT" ]
null
null
null
lib/memento/memento.ex
serpent213/memento
a3f52bfe2e0117602e4b49bce47b6ea108be7e18
[ "MIT" ]
null
null
null
lib/memento/memento.ex
serpent213/memento
a3f52bfe2e0117602e4b49bce47b6ea108be7e18
[ "MIT" ]
null
null
null
defmodule Memento do require Memento.Mnesia require Memento.Error @moduledoc """ Simple + Powerful interface to the Erlang Mnesia Database. See the [README](https://github.com/sheharyarn/memento) to get started. """ # Public API # ---------- @doc """ Start the Memento Application. Thi...
22.30137
118
0.681204
5aca799c701f54d2c4a03b3458f8934d9d897330
1,881
ex
Elixir
lib/koans/06_lists.ex
audacioustux/elixir-koans
76b8f089760432529ac360439dba4e65bb5e1b2b
[ "MIT" ]
null
null
null
lib/koans/06_lists.ex
audacioustux/elixir-koans
76b8f089760432529ac360439dba4e65bb5e1b2b
[ "MIT" ]
null
null
null
lib/koans/06_lists.ex
audacioustux/elixir-koans
76b8f089760432529ac360439dba4e65bb5e1b2b
[ "MIT" ]
null
null
null
defmodule Lists do use Koans @intro "Lists" koan "We can see what is ahead" do assert List.first([1, 2, 3]) == 1 end koan "Checking what's trailing is also simple" do assert List.last([1, 2, 3]) == 3 end koan "Lists can store anything you throw at them" do assert [1, 2] ++ [:a, "b"] == [1,...
25.418919
73
0.608187