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
e91d672372fa92ddd3e90174061adec1c640316d
59
ex
Elixir
lib/warg/repo.ex
eqdw/warg
c60669a492bfecb829381357864a61ddb0438174
[ "MIT" ]
null
null
null
lib/warg/repo.ex
eqdw/warg
c60669a492bfecb829381357864a61ddb0438174
[ "MIT" ]
null
null
null
lib/warg/repo.ex
eqdw/warg
c60669a492bfecb829381357864a61ddb0438174
[ "MIT" ]
null
null
null
defmodule Warg.Repo do use Ecto.Repo, otp_app: :warg end
14.75
31
0.745763
e91d7c3f0e659f38bfd306835fe337d6419f0ebb
1,077
exs
Elixir
config/config.exs
taybin/gardenhose
cd82a7d1838d443810a13b75ac609aaac92a2b0b
[ "Apache-2.0" ]
null
null
null
config/config.exs
taybin/gardenhose
cd82a7d1838d443810a13b75ac609aaac92a2b0b
[ "Apache-2.0" ]
null
null
null
config/config.exs
taybin/gardenhose
cd82a7d1838d443810a13b75ac609aaac92a2b0b
[ "Apache-2.0" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
39.888889
73
0.742804
e91dd62c87ee23968e13f23b94668255972ab0dd
1,800
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/set_iam_policy_request.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/set_iam_policy_request.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/container_analysis/lib/google_api/container_analysis/v1beta1/model/set_iam_policy_request.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...
38.297872
322
0.761111
e91df59ce12fdb88328f2c3e143794320369d743
160
ex
Elixir
apps/admin_app/lib/admin_app_web/views/prototype_view.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/admin_app/lib/admin_app_web/views/prototype_view.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/admin_app/lib/admin_app_web/views/prototype_view.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule AdminAppWeb.PrototypeView do use AdminAppWeb, :view def get_options(items) do Enum.map(items, fn item -> {item.name, item.id} end) end end
20
56
0.71875
e91e1dd005b6b5e6de5f9a33a20d3b0cd6d4acb8
2,626
ex
Elixir
clients/network_management/lib/google_api/network_management/v1/model/endpoint_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1/model/endpoint_info.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/network_management/lib/google_api/network_management/v1/model/endpoint_info.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...
40.4
176
0.698781
e91e284c2a180c7890088799368fb2933900fd0a
2,764
ex
Elixir
clients/monitoring/lib/google_api/monitoring/v3/model/monitored_resource.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/monitored_resource.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/monitoring/lib/google_api/monitoring/v3/model/monitored_resource.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...
55.28
739
0.752171
e91e75c2f260bddc7067bea9e0e336928352f1b2
1,069
exs
Elixir
alcarin_api/apps/alcarin_web/config/config.exs
alcarin-org/alcarin-elixir
a04d4e043790a7773745e0fba7098e1c06362896
[ "MIT" ]
null
null
null
alcarin_api/apps/alcarin_web/config/config.exs
alcarin-org/alcarin-elixir
a04d4e043790a7773745e0fba7098e1c06362896
[ "MIT" ]
3
2018-05-26T10:36:22.000Z
2018-05-26T13:48:36.000Z
alcarin_api/apps/alcarin_web/config/config.exs
alcarin-org/alcarin-elixir
a04d4e043790a7773745e0fba7098e1c06362896
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :alcarin_web, namespace: AlcarinWeb, e...
32.393939
86
0.768007
e91ec1104f84911223f18c1419365ca5cdfed973
1,882
exs
Elixir
test/entities/schemas/user_test.exs
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
3
2021-08-09T14:17:42.000Z
2022-03-01T17:31:03.000Z
test/entities/schemas/user_test.exs
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
3
2021-08-09T12:27:01.000Z
2021-08-10T08:54:22.000Z
test/entities/schemas/user_test.exs
JulianaHelena5/score
153122d88586d00c11c73ac447fd14cf95599805
[ "MIT" ]
null
null
null
defmodule Score.Entities.Schemas.UserTest do @moduledoc """ Represents the User Schema Tests. """ use Score.DataCase alias Score.Entities.Schemas.User @valid_attrs %{points: 15} @invalid_attrs %{points: "invalid"} @invalid_points_amount_attrs %{points: 150} @bottom_limit_range_attrs %{points: 0} ...
28.515152
83
0.613177
e91efb9293a6e5a6971362ffd33c10ceda6fd09f
2,292
ex
Elixir
clients/service_control/lib/google_api/service_control/v1/model/report_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/service_control/lib/google_api/service_control/v1/model/report_request.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_control/lib/google_api/service_control/v1/model/report_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...
45.84
550
0.756981
e91f44571d999e5082bc9eedbaf81d08054f905a
299
exs
Elixir
verify/geolix/mix.exs
almirsarajcic/adapter_mmdb2
f50dfce125ad18e967ec4650b4e50391640cedee
[ "Apache-2.0" ]
null
null
null
verify/geolix/mix.exs
almirsarajcic/adapter_mmdb2
f50dfce125ad18e967ec4650b4e50391640cedee
[ "Apache-2.0" ]
null
null
null
verify/geolix/mix.exs
almirsarajcic/adapter_mmdb2
f50dfce125ad18e967ec4650b4e50391640cedee
[ "Apache-2.0" ]
null
null
null
defmodule Geolix.Verification.Mixfile do use Mix.Project def project do [ app: :geolix_verification, version: "0.0.1", elixir: "~> 1.5", deps: [{:geolix_adapter_mmdb2, path: "../../"}], deps_path: "../../deps", lockfile: "../../mix.lock" ] end end
19.933333
54
0.545151
e91f53e02e1fd9fb1895c8937f23f0e45ca3f0a7
9,986
exs
Elixir
test/ecto/query/inspect_test.exs
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
test/ecto/query/inspect_test.exs
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
test/ecto/query/inspect_test.exs
jccf091/ecto
42d47a6da0711f842e1a0e6724a89b318b9b2144
[ "Apache-2.0" ]
null
null
null
defmodule Inspect.Post do use Ecto.Schema schema "posts" do field :visits, :integer has_many :comments, Inspect.Comment has_one :post, Inspect.Post end end defmodule Inspect.Comment do use Ecto.Schema schema "comments" do end end defmodule Ecto.Query.InspectTest do use ExUnit.Case, async: ...
35.920863
120
0.561586
e91fbaac3aab73549388350c948f3e594e31688c
418
ex
Elixir
lib/xbank.ex
michalhorcic/xbank
d6e91a30410776c90d7b58bc6f31597397d442f7
[ "MIT" ]
null
null
null
lib/xbank.ex
michalhorcic/xbank
d6e91a30410776c90d7b58bc6f31597397d442f7
[ "MIT" ]
null
null
null
lib/xbank.ex
michalhorcic/xbank
d6e91a30410776c90d7b58bc6f31597397d442f7
[ "MIT" ]
null
null
null
defmodule Xbank do #TODO consider adding CLI interface (returning JSONs instead of structs) for using in other programming languages @moduledoc """ Xbank is a hub for working with different bank APIs. Mainly for getting list of transactions and creating payments. Primarily developed for web application called ...
46.444444
115
0.787081
e91fd8343035ba3fbcfd4da2adba6081cc1d74e8
129
ex
Elixir
scantron/lib/scantron.ex
hansonkd/scantron
949ee13248968199a95685142676564903ecc675
[ "Apache-2.0" ]
1
2016-05-02T01:53:18.000Z
2016-05-02T01:53:18.000Z
scantron/lib/scantron.ex
hansonkd/scantron
949ee13248968199a95685142676564903ecc675
[ "Apache-2.0" ]
null
null
null
scantron/lib/scantron.ex
hansonkd/scantron
949ee13248968199a95685142676564903ecc675
[ "Apache-2.0" ]
null
null
null
defmodule Scantron do use Application def start(_type, _args) do Scantron.Supervisor.start_link(:ok) end end
14.333333
41
0.689922
e91fe40c54f4b55cf10428c09396bc2c13ba7db8
300
exs
Elixir
services/fc_identity/config/dev.exs
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
services/fc_identity/config/dev.exs
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
services/fc_identity/config/dev.exs
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
use Mix.Config config :eventstore, EventStore.Storage, serializer: Commanded.Serialization.JsonSerializer, username: System.get_env("DB_USERNAME"), database: "fc_identity_eventstore_dev", hostname: "localhost", pool_size: 10 config :fc_state_storage, adapter: FCStateStorage.DynamoAdapter
30
63
0.803333
e91ffa74ae2d34e49531c4b8e662923838948627
1,192
ex
Elixir
lib/mafia_interface_web/router.ex
menxs/mafia_interface
311f709e512dca4e26b0c0faccf5dfe07df20673
[ "MIT" ]
null
null
null
lib/mafia_interface_web/router.ex
menxs/mafia_interface
311f709e512dca4e26b0c0faccf5dfe07df20673
[ "MIT" ]
null
null
null
lib/mafia_interface_web/router.ex
menxs/mafia_interface
311f709e512dca4e26b0c0faccf5dfe07df20673
[ "MIT" ]
1
2022-03-28T06:09:12.000Z
2022-03-28T06:09:12.000Z
defmodule MafiaInterfaceWeb.Router do use MafiaInterfaceWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {MafiaInterfaceWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end pipe...
26.488889
71
0.708054
e9203baff564acb6bd305f28f53cd6e5cf8f1502
3,882
ex
Elixir
lib/operations/database_maintenance.ex
YgorCastor/ravix
ad3d191e2682b87d533a2d41899ed10e00b4dc55
[ "Apache-2.0" ]
9
2022-01-11T10:01:54.000Z
2022-03-31T06:50:59.000Z
lib/operations/database_maintenance.ex
YgorCastor/ravix
ad3d191e2682b87d533a2d41899ed10e00b4dc55
[ "Apache-2.0" ]
2
2022-03-21T20:13:13.000Z
2022-03-28T21:07:47.000Z
lib/operations/database_maintenance.ex
YgorCastor/ravix
ad3d191e2682b87d533a2d41899ed10e00b4dc55
[ "Apache-2.0" ]
null
null
null
defmodule Ravix.Operations.Database.Maintenance do @moduledoc """ Database maintenance operations module """ require OK alias Ravix.Operations.Database.Commands.{ CreateDatabaseCommand, DeleteDatabaseCommand, GetStatisticsCommand } alias Ravix.Connection.RequestExecutor @doc """ Creates...
29.861538
93
0.623132
e9203e57e6263b3e14d195d54218605385187cce
3,742
ex
Elixir
lib/central/application.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
1
2021-02-23T22:34:12.000Z
2021-02-23T22:34:12.000Z
lib/central/application.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
null
null
null
lib/central/application.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
null
null
null
defmodule Central.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application require Logger def start(_type, _args) do # List all child processes to be supervised children = [ # Start phoenix pubsub ...
26.920863
89
0.650989
e9205b2e225681f05ff413b195d910954022d0db
53
ex
Elixir
web/views/page_view.ex
IvanOM/ices
cbda3f66a61a302033515312614925441a66409b
[ "Apache-2.0" ]
null
null
null
web/views/page_view.ex
IvanOM/ices
cbda3f66a61a302033515312614925441a66409b
[ "Apache-2.0" ]
1
2017-08-24T17:58:54.000Z
2017-08-24T17:58:54.000Z
web/views/page_view.ex
IvanOM/ices
cbda3f66a61a302033515312614925441a66409b
[ "Apache-2.0" ]
null
null
null
defmodule Ices.PageView do use Ices.Web, :view end
13.25
26
0.754717
e92072ac83b2ebadedfb2e4f788c4ac9ac09df89
2,589
ex
Elixir
lib/ex338/injured_reserves.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
lib/ex338/injured_reserves.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
lib/ex338/injured_reserves.ex
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338.InjuredReserves do @moduledoc """ An interface to InjuredReseve """ import Ecto, only: [build_assoc: 2] alias Ex338.{InjuredReserves.InjuredReserve, Repo, RosterPositions, InjuredReserves.Admin} def change_injured_reserve(injured_reserve = %InjuredReserve{}, attrs \\ %{}) do InjuredRe...
28.141304
92
0.716493
e9207c3533a9fd7bc2ba495f63cb968350b4d75c
2,185
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/set_iam_policy_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_management/lib/google_api/service_management/v1/model/set_iam_policy_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/set_iam_policy_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "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 ...
38.333333
167
0.733181
e9207c5b48effd14911f9a5e44cccc12e746238b
2,369
ex
Elixir
lib/ex_aws/instance_meta.ex
MisterToolbox/ex_aws
b9d4badbe66b9a0069a253dddda7014974c8e909
[ "MIT" ]
null
null
null
lib/ex_aws/instance_meta.ex
MisterToolbox/ex_aws
b9d4badbe66b9a0069a253dddda7014974c8e909
[ "MIT" ]
null
null
null
lib/ex_aws/instance_meta.ex
MisterToolbox/ex_aws
b9d4badbe66b9a0069a253dddda7014974c8e909
[ "MIT" ]
1
2019-05-08T16:37:26.000Z
2019-05-08T16:37:26.000Z
defmodule ExAws.InstanceMeta do @moduledoc false # Provides access to the AWS Instance MetaData # http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html # AWS InstanceMetaData URL @meta_path_root "http://169.254.169.254/latest/meta-data" # Endpoint for ECS taks role credentials #...
28.202381
87
0.661038
e920856303dc08afccd24abb1a3d68eb24e09a2a
82
ex
Elixir
lib/ex_money_web/views/mobile/setting/category_view.ex
van-mronov/ex_money
39010f02fd822657e3b5694e08b872bd2ab72c26
[ "0BSD" ]
184
2015-11-23T20:51:50.000Z
2022-03-30T01:01:39.000Z
lib/ex_money_web/views/mobile/setting/category_view.ex
van-mronov/ex_money
39010f02fd822657e3b5694e08b872bd2ab72c26
[ "0BSD" ]
15
2015-11-26T16:00:20.000Z
2018-05-25T20:13:39.000Z
lib/ex_money_web/views/mobile/setting/category_view.ex
van-mronov/ex_money
39010f02fd822657e3b5694e08b872bd2ab72c26
[ "0BSD" ]
21
2015-11-26T21:34:40.000Z
2022-03-26T02:56:42.000Z
defmodule ExMoney.Web.Mobile.Setting.CategoryView do use ExMoney.Web, :view end
20.5
52
0.804878
e920b0853b54b5dde57263cc1a0855cef15bd5d5
3,360
exs
Elixir
mix.exs
TheFirstAvenger/wallaby
f615b7d74b75629a9a0c2c95bd7fe5817fa2c310
[ "MIT" ]
null
null
null
mix.exs
TheFirstAvenger/wallaby
f615b7d74b75629a9a0c2c95bd7fe5817fa2c310
[ "MIT" ]
null
null
null
mix.exs
TheFirstAvenger/wallaby
f615b7d74b75629a9a0c2c95bd7fe5817fa2c310
[ "MIT" ]
null
null
null
defmodule Wallaby.Mixfile do use Mix.Project @version "0.26.0" @drivers ~w(selenium chrome) @selected_driver System.get_env("WALLABY_DRIVER") @maintainers [ "Chris Keathley", "Tobias Pfeiffer", "Aaron Renner", "Mitchell Hanberg" ] def project do [ app: :wallaby, version: ...
27.540984
87
0.570536
e92115433ee07fe09ca8a974b9c830a9050a8514
1,310
ex
Elixir
echo/lib/echo_web/live/treasure_live.ex
Kimberly-Searle/liveview_sept_2021
7ef40c58efe2ed56101f254c38a48460a59f8c89
[ "MIT" ]
null
null
null
echo/lib/echo_web/live/treasure_live.ex
Kimberly-Searle/liveview_sept_2021
7ef40c58efe2ed56101f254c38a48460a59f8c89
[ "MIT" ]
null
null
null
echo/lib/echo_web/live/treasure_live.ex
Kimberly-Searle/liveview_sept_2021
7ef40c58efe2ed56101f254c38a48460a59f8c89
[ "MIT" ]
null
null
null
defmodule EchoWeb.TreasureLive do use EchoWeb, :live_view alias Echo.Map.Math alias Echo.Library # the socket is the state for LiveView # called by genserver upon init. def mount(_params, _session, socket) do { :ok, assign(socket, steps: Math.initial(), passages: Library.list_p...
23.818182
76
0.648855
e9213da99f3449357ebcddb2cb9104b9baf1362f
2,614
ex
Elixir
installer/templates/phx_single/lib/app_name_web.ex
mgibowski/phoenix
e25fb22d0f992c9080dea7589f4d590652881063
[ "MIT" ]
null
null
null
installer/templates/phx_single/lib/app_name_web.ex
mgibowski/phoenix
e25fb22d0f992c9080dea7589f4d590652881063
[ "MIT" ]
null
null
null
installer/templates/phx_single/lib/app_name_web.ex
mgibowski/phoenix
e25fb22d0f992c9080dea7589f4d590652881063
[ "MIT" ]
null
null
null
defmodule <%= web_namespace %> do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use <%= web_namespace %>, :controller use <%= web_namespace %>, :view The definitions below will be executed ...
25.627451
83
0.647284
e921479cdb149bb1c20d93d548b18e5c797c7dab
183
exs
Elixir
test/test_helper.exs
raincrash/hackton
f85f049c79df25039d2c04e174d8a7b8fb946942
[ "MIT" ]
1
2016-03-15T17:50:12.000Z
2016-03-15T17:50:12.000Z
test/test_helper.exs
raincrash/hackton
f85f049c79df25039d2c04e174d8a7b8fb946942
[ "MIT" ]
null
null
null
test/test_helper.exs
raincrash/hackton
f85f049c79df25039d2c04e174d8a7b8fb946942
[ "MIT" ]
null
null
null
ExUnit.start Mix.Task.run "ecto.create", ~w(-r Hackton.Repo --quiet) Mix.Task.run "ecto.migrate", ~w(-r Hackton.Repo --quiet) Ecto.Adapters.SQL.begin_test_transaction(Hackton.Repo)
26.142857
56
0.743169
e921623a234d73a120ee12b66c5ccc8d3e9696a9
1,017
ex
Elixir
lib/oriel_web/graphql/resolver.ex
sgeos/oriel
145c563e1ef30119881b1c589b57e9ede7de083f
[ "BSD-3-Clause" ]
1
2022-01-27T08:17:53.000Z
2022-01-27T08:17:53.000Z
lib/oriel_web/graphql/resolver.ex
sgeos/oriel
145c563e1ef30119881b1c589b57e9ede7de083f
[ "BSD-3-Clause" ]
null
null
null
lib/oriel_web/graphql/resolver.ex
sgeos/oriel
145c563e1ef30119881b1c589b57e9ede7de083f
[ "BSD-3-Clause" ]
null
null
null
defmodule OrielWeb.GraphQL.Resolver do alias Oriel.Config alias Oriel.Cache.Server defp application_key_as_string(key, default \\ "(unknown)") do :application.get_key(:oriel, key) |> case do {:ok, result} -> result _ -> default end |> to_string end defp datetime_s...
22.108696
72
0.620452
e921672015631fd19723d5376e798e706931f60c
5,255
exs
Elixir
mix.exs
lucazulian/prom_ex
b87e77f2e0fcfb132f8d19046d2a42d51954ce77
[ "MIT" ]
1
2022-02-20T10:42:44.000Z
2022-02-20T10:42:44.000Z
mix.exs
lucazulian/prom_ex
b87e77f2e0fcfb132f8d19046d2a42d51954ce77
[ "MIT" ]
null
null
null
mix.exs
lucazulian/prom_ex
b87e77f2e0fcfb132f8d19046d2a42d51954ce77
[ "MIT" ]
null
null
null
defmodule PromEx.MixProject do use Mix.Project def project do [ app: :prom_ex, version: "1.7.1", elixir: "~> 1.11", name: "PromEx", source_url: "https://github.com/akoutmos/prom_ex", homepage_url: "https://hex.pm/packages/prom_ex", description: "Prometheus metrics and ...
33.685897
190
0.60019
e9216b24fc1ad10d1c948abf786b85b89421eb93
891
ex
Elixir
apps/app1/lib/app1.ex
jschoch/umb
98e4ca8b883777c775d2b1115ae5116cc32570fe
[ "MIT" ]
null
null
null
apps/app1/lib/app1.ex
jschoch/umb
98e4ca8b883777c775d2b1115ae5116cc32570fe
[ "MIT" ]
null
null
null
apps/app1/lib/app1.ex
jschoch/umb
98e4ca8b883777c775d2b1115ae5116cc32570fe
[ "MIT" ]
null
null
null
defmodule App1 do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Start the endpoint when the application starts supervisor(App1.Endpoin...
30.724138
71
0.713805
e92199a2f70454bf916393875b2df3e771590803
370
ex
Elixir
lib/langue/formatter/json/parser.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
lib/langue/formatter/json/parser.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
lib/langue/formatter/json/parser.ex
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
defmodule Langue.Formatter.Json.Parser do @behaviour Langue.Formatter.Parser alias Langue.Utils.NestedParserHelper def parse(%{render: render}) do entries = parse_json(render) %Langue.Formatter.ParserResult{entries: entries} end def parse_json(render) do render |> :jiffy.decode() |> el...
19.473684
52
0.705405
e921b24fd3c29aceb332d08e7e8b8fe0bba3ad1a
4,068
exs
Elixir
test/schema_test.exs
ma3ka/arc_ecto
faa4a2137edd88f1578904814927577339ce5b8c
[ "Apache-2.0" ]
null
null
null
test/schema_test.exs
ma3ka/arc_ecto
faa4a2137edd88f1578904814927577339ce5b8c
[ "Apache-2.0" ]
null
null
null
test/schema_test.exs
ma3ka/arc_ecto
faa4a2137edd88f1578904814927577339ce5b8c
[ "Apache-2.0" ]
null
null
null
defmodule ArcTest.Ecto.Schema do use ExUnit.Case, async: false import Mock defmodule TestUser do use Ecto.Schema import Ecto.Changeset use Arc.Ecto.Schema schema "users" do field :first_name, :string field :avatar, DummyDefinition.Type end def changeset(user, params \\ :inva...
44.703297
216
0.664208
e921be81719a2d816b6c71e322a5fb76c240b438
12,073
ex
Elixir
lib/mix/lib/mix/tasks/test.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/test.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/test.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Test do defmodule Cover do @moduledoc false def start(compile_path, opts) do Mix.shell.info "Cover compiling modules ..." _ = :cover.start case :cover.compile_beam_directory(compile_path |> to_charlist) do results when is_list(results) -> :ok {...
32.718157
97
0.664127
e921c1e50c5b28762b30bc37db8dbef495a19209
809
exs
Elixir
mix.exs
socialpaymentsbv/bankster
8ca4797f0d83968636fe4f01a8383a1b52f645b0
[ "MIT" ]
null
null
null
mix.exs
socialpaymentsbv/bankster
8ca4797f0d83968636fe4f01a8383a1b52f645b0
[ "MIT" ]
null
null
null
mix.exs
socialpaymentsbv/bankster
8ca4797f0d83968636fe4f01a8383a1b52f645b0
[ "MIT" ]
1
2021-01-14T11:47:33.000Z
2021-01-14T11:47:33.000Z
defmodule Bankster.Mixfile do use Mix.Project def project do [ app: :bankster, version: "0.3.0", elixir: "~> 1.4", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), name: "Bankster", source_url: "https://gith...
19.731707
71
0.564895
e921d2e8d0718ce80ce57947600cc44e33ccd661
570
ex
Elixir
lib/faktory_worker/push_pipeline/acknowledger.ex
MValle21/faktory_worker
47a2224778f7ff45800bff3cb2dd3de283f9cbd9
[ "MIT" ]
13
2020-02-12T20:29:33.000Z
2021-04-17T10:18:00.000Z
lib/faktory_worker/push_pipeline/acknowledger.ex
MValle21/faktory_worker
47a2224778f7ff45800bff3cb2dd3de283f9cbd9
[ "MIT" ]
51
2020-02-01T05:22:15.000Z
2021-11-03T15:46:02.000Z
lib/faktory_worker/push_pipeline/acknowledger.ex
MValle21/faktory_worker
47a2224778f7ff45800bff3cb2dd3de283f9cbd9
[ "MIT" ]
4
2020-10-26T17:21:59.000Z
2021-04-17T18:05:10.000Z
defmodule FaktoryWorker.PushPipeline.Acknowledger do @moduledoc false alias FaktoryWorker.Job alias FaktoryWorker.Telemetry @behaviour Broadway.Acknowledger @impl true def ack(_ack_ref, _successful_messages, failed_messages) do Enum.each(failed_messages, &handle_failed_message/1) end defp handle...
25.909091
81
0.747368
e921e15c4e5fc6baaca4f359b8dddffe1a43d037
2,024
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/disk_aggregated_list_warning_data.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/disk_aggregated_list_warning_data.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/disk_aggregated_list_warning_data.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 ...
40.48
527
0.742589
e921eacbc98feaab640493c58c58e9d25596840c
14,465
ex
Elixir
lib/kaffy_web/controllers/resource_controller.ex
rozanov61/kaffy
46c807f59edef393a0938a4ad944fa2db576d91d
[ "MIT" ]
null
null
null
lib/kaffy_web/controllers/resource_controller.ex
rozanov61/kaffy
46c807f59edef393a0938a4ad944fa2db576d91d
[ "MIT" ]
null
null
null
lib/kaffy_web/controllers/resource_controller.ex
rozanov61/kaffy
46c807f59edef393a0938a4ad944fa2db576d91d
[ "MIT" ]
null
null
null
defmodule KaffyWeb.ResourceController do @moduledoc false use Phoenix.Controller, namespace: KaffyWeb use Phoenix.HTML alias Kaffy.Pagination def index( conn, %{ "context" => context, "resource" => resource, "c" => _target_context, "r" => _target_resou...
34.939614
98
0.59281
e921f39d3a0dae8ade3c6b5598959e2bc7797de3
6,361
ex
Elixir
lib/utils/math.ex
PinkDiamond1/ecdsa-elixir
dd1953cc48974b5bfb9461d3a2179d1d937b264d
[ "MIT" ]
null
null
null
lib/utils/math.ex
PinkDiamond1/ecdsa-elixir
dd1953cc48974b5bfb9461d3a2179d1d937b264d
[ "MIT" ]
null
null
null
lib/utils/math.ex
PinkDiamond1/ecdsa-elixir
dd1953cc48974b5bfb9461d3a2179d1d937b264d
[ "MIT" ]
null
null
null
defmodule EllipticCurve.Utils.Math do @moduledoc false alias EllipticCurve.Utils.Integer, as: IntegerUtils alias EllipticCurve.Utils.{Point} @doc """ Fast way to multily point and scalar in elliptic curves :param p: First Point to mutiply :param n: Scalar to mutiply :param cN: Order of the elliptic c...
25.649194
95
0.549914
e9220ec77f6ff6b5e01ea2d96a45c2c34c2bf096
542
ex
Elixir
lib/types/auton_op_result_struct.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
3
2017-11-29T05:07:35.000Z
2019-12-18T17:16:41.000Z
lib/types/auton_op_result_struct.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
1
2021-12-02T19:35:28.000Z
2022-03-29T09:40:52.000Z
lib/types/auton_op_result_struct.ex
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
2
2017-11-29T05:07:30.000Z
2020-11-10T07:10:42.000Z
defmodule CWMP.Protocol.Messages.AutonOpResultStruct do @derive [Poison.Encoder] defstruct uuid: nil, deployment_unit_ref: nil, version: nil, current_state: nil, resolved: false, execution_uni...
38.714286
75
0.483395
e9225438279fa670ea46396a30937ead13960e0c
711
ex
Elixir
lib/oli_web/live/common/filter.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
lib/oli_web/live/common/filter.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
lib/oli_web/live/common/filter.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
defmodule OliWeb.Common.Filter do use Surface.Component prop change, :event, required: true prop apply, :event, required: true prop reset, :event, required: true prop query, :string def render(assigns) do ~F""" <div class="input-group" style="max-width: 500px;"> <input type="text" class=...
33.857143
127
0.638537
e92266e250a68ebedf1b66fad76937133350fbae
10,971
exs
Elixir
apps/state/test/state/stop_test.exs
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
null
null
null
apps/state/test/state/stop_test.exs
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
null
null
null
apps/state/test/state/stop_test.exs
pacebus/mbta-api-fork
6bf1d3a16e8917c9cfac0001b184c443be1f3abd
[ "MIT" ]
1
2019-09-09T20:40:13.000Z
2019-09-09T20:40:13.000Z
defmodule State.StopTest do use ExUnit.Case import State.Stop alias Model.Stop setup do State.Stop.new_state([]) :ok end test "returns nil for unknown stops" do assert State.Stop.by_id("unknown") == nil end test "it can add a stop and query it" do stop = %Stop{id: "1", name: "stop", ...
35.504854
90
0.615167
e92267404311864192ad2f91b8f476894ed247ca
4,312
exs
Elixir
test/astarte_flow/pipelines_test.exs
matt-mazzucato/astarte_flow
e8644b5a27edf325977f5bced9a919f20e289ee2
[ "Apache-2.0" ]
null
null
null
test/astarte_flow/pipelines_test.exs
matt-mazzucato/astarte_flow
e8644b5a27edf325977f5bced9a919f20e289ee2
[ "Apache-2.0" ]
null
null
null
test/astarte_flow/pipelines_test.exs
matt-mazzucato/astarte_flow
e8644b5a27edf325977f5bced9a919f20e289ee2
[ "Apache-2.0" ]
null
null
null
# # This file is part of Astarte. # # Copyright 2020 Ispirata Srl # # 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 appl...
27.464968
93
0.638451
e922adcd502ea9161ae2e57a278e6e9e8978c634
824
ex
Elixir
lib/openflow/actions/push_vlan.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2019-05-25T02:25:13.000Z
2020-10-06T17:00:03.000Z
lib/openflow/actions/push_vlan.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
5
2018-03-29T14:42:10.000Z
2019-11-19T07:03:09.000Z
lib/openflow/actions/push_vlan.ex
shun159/tres
1e3e7f78ba1aa4f184d4be70300e5f4703d50a2f
[ "Beerware" ]
1
2019-03-30T20:48:27.000Z
2019-03-30T20:48:27.000Z
defmodule Openflow.Action.PushVlan do @moduledoc """ Push a new VLAN tag """ defstruct(ethertype: 0x8100) alias __MODULE__ @type t :: %PushVlan{ethertype: 0..0xFFFF} @spec ofpat() :: 17 def ofpat, do: 17 @doc """ Create a new push_vlan action struct.\\ 0x8100 is a default value. iex> %P...
22.888889
67
0.60801
e922b1069fd274d519c9b771be6e1db5a371615c
122
ex
Elixir
test/support/my_app/pseudo_stopsel.ex
Awlexus/stopsel
0d207a65e786a5a057aea76cd7fde72d22ddfd78
[ "MIT" ]
3
2021-01-07T15:59:01.000Z
2021-08-16T00:46:55.000Z
test/support/my_app/pseudo_stopsel.ex
Awlexus/Stopsel
0d207a65e786a5a057aea76cd7fde72d22ddfd78
[ "MIT" ]
null
null
null
test/support/my_app/pseudo_stopsel.ex
Awlexus/Stopsel
0d207a65e786a5a057aea76cd7fde72d22ddfd78
[ "MIT" ]
null
null
null
defmodule MyApp.PseudoStopsel do @behaviour Stopsel def init(opts), do: opts def call(message, _), do: message end
17.428571
35
0.729508
e922c46b4a1e6db44af023559920dcddba37e4c5
13,087
ex
Elixir
lib/mix/tasks/release.ex
smpallen99/exrm
2e67d3b3bc1fcb0a7ec9a223da247a6ce9d607ad
[ "MIT" ]
null
null
null
lib/mix/tasks/release.ex
smpallen99/exrm
2e67d3b3bc1fcb0a7ec9a223da247a6ce9d607ad
[ "MIT" ]
null
null
null
lib/mix/tasks/release.ex
smpallen99/exrm
2e67d3b3bc1fcb0a7ec9a223da247a6ce9d607ad
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Release do @moduledoc """ Build a release for the current mix application. ## Examples # Build a release using defaults mix release # Pass args to erlexec when running the release mix release --erl="-env TZ UTC" # Enable dev mode. Make changes, compile using M...
35.180108
136
0.621074
e922f9cf5517119ecceb8f84fc3b647d609d12fa
1,684
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/instances_rotate_server_ca_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/instances_rotate_server_ca_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/instances_rotate_server_ca_request.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...
35.829787
173
0.77019
e9230d0e2474a307f8ae4e5354ec194cb91fa033
1,488
ex
Elixir
lib/mix/tasks/ecto.migrate.ex
scrogson/ecto
fdcf807901683c73c1117d89751e0d5a7a318154
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/ecto.migrate.ex
scrogson/ecto
fdcf807901683c73c1117d89751e0d5a7a318154
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/ecto.migrate.ex
scrogson/ecto
fdcf807901683c73c1117d89751e0d5a7a318154
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Ecto.Migrate do use Mix.Task import Mix.Tasks.Ecto @shortdoc "Runs migrations up on a repo" @moduledoc """ Runs the pending migrations for the given repository. Migrations are expected to be found inside the migrations directory returned by the priv function defined in the reposit...
27.555556
66
0.665323
e92370a2228ca81fafd449ea9f1f6d84d2b8b696
67
ex
Elixir
apps/toniefy/lib/toniex_web/views/user_settings_view.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
17
2021-04-12T10:01:14.000Z
2022-02-25T17:30:27.000Z
apps/toniefy/lib/toniex_web/views/user_settings_view.ex
benvp/toniefy.me
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
1
2022-03-09T09:35:00.000Z
2022-03-09T11:46:14.000Z
apps/toniefy/lib/toniex_web/views/user_settings_view.ex
benvp/toniefy
9a432380e43f1c9a15ccd1910357d491d64a1dc0
[ "MIT" ]
null
null
null
defmodule ToniexWeb.UserSettingsView do use ToniexWeb, :view end
16.75
39
0.820896
e9239bffa59406c2cf9e3dbe7e1c0cb7e117b2f0
299,978
ex
Elixir
lib/countriex/data.ex
maennchen/countriex
9f8bda3db84ff154be589bdc924459a318fb54eb
[ "MIT" ]
24
2016-11-01T12:42:09.000Z
2022-02-26T20:43:12.000Z
lib/countriex/data.ex
maennchen/countriex
9f8bda3db84ff154be589bdc924459a318fb54eb
[ "MIT" ]
2
2018-06-19T09:48:02.000Z
2019-06-11T12:18:41.000Z
lib/countriex/data.ex
maennchen/countriex
9f8bda3db84ff154be589bdc924459a318fb54eb
[ "MIT" ]
8
2017-06-29T12:18:09.000Z
2021-05-26T05:06:24.000Z
defmodule Countriex.Data do @moduledoc """ This module is generated using json files in the ruby [countries](https://github.com/hexorx/countries) gem. To regenerate this file, run `mix countriex.generate_data` """ def countries do [%Countriex.Country{address_format: nil, alpha2: "AD", alpha3...
29.112772
124
0.580726
e9239d154e4aed81e94f257a670a4f4aa16726d2
793
ex
Elixir
lib/pushxer/http_client.ex
gabheadz/pushxer
5872e835f4d6e4e30dfb67a41e7f07f6b858c9e0
[ "MIT" ]
null
null
null
lib/pushxer/http_client.ex
gabheadz/pushxer
5872e835f4d6e4e30dfb67a41e7f07f6b858c9e0
[ "MIT" ]
null
null
null
lib/pushxer/http_client.ex
gabheadz/pushxer
5872e835f4d6e4e30dfb67a41e7f07f6b858c9e0
[ "MIT" ]
null
null
null
defmodule Pushxer.HttpClient do use HTTPoison.Base alias Pushxer.RequestSigner alias Pushxer.Client def process_response_body(body) do case Jason.decode(body) do {:ok, response} -> response {:error, _reason} -> body end end @doc """ More info at: https://pusher.com/docs/channels/libr...
29.37037
117
0.674653
e923dc1fad00c8fd71903d1465149fbce164f549
1,804
ex
Elixir
clients/big_query_reservation/lib/google_api/big_query_reservation/v1/model/move_assignment_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query_reservation/lib/google_api/big_query_reservation/v1/model/move_assignment_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query_reservation/lib/google_api/big_query_reservation/v1/model/move_assignment_request.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...
34.037736
92
0.760532
e923e14ff1d185d748dad7abdb1aa1282bc06f40
9,678
exs
Elixir
deps/ecto/integration_test/cases/type.exs
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/ecto/integration_test/cases/type.exs
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/ecto/integration_test/cases/type.exs
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
Code.require_file "../support/types.exs", __DIR__ defmodule Ecto.Integration.TypeTest 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.Tag alias Ecto.Integra...
39.182186
111
0.612007
e923e22421647b37a78095b00b7418906fd20ee5
114
ex
Elixir
lib/bauer.ex
leejarvis/bauer
df41b64d31a66f9296657903b087f865a83138a9
[ "Apache-2.0" ]
null
null
null
lib/bauer.ex
leejarvis/bauer
df41b64d31a66f9296657903b087f865a83138a9
[ "Apache-2.0" ]
null
null
null
lib/bauer.ex
leejarvis/bauer
df41b64d31a66f9296657903b087f865a83138a9
[ "Apache-2.0" ]
null
null
null
defmodule Bauer do defmacro __using__(_opts \\ []) do quote do import Bauer.Browser end end end
14.25
36
0.649123
e923e24f14cedf6f1177560a69b1d7e66ee61fed
1,404
ex
Elixir
bullion/test/support/data_case.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
null
null
null
bullion/test/support/data_case.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
8
2021-03-10T20:53:42.000Z
2021-07-30T06:52:16.000Z
bullion/test/support/data_case.ex
ttymck/bullion
d15babe80d30f9775e45f2a143b88a66b539d318
[ "MIT" ]
null
null
null
defmodule Bullion.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, it cannot be async. For this reason, every test...
26
77
0.679487
e92443211902232f545e90ab5456908d996a0b2e
545
exs
Elixir
ch07-02.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
9
2016-01-22T17:28:27.000Z
2020-06-07T01:38:44.000Z
ch07-02.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
null
null
null
ch07-02.exs
gabrielelana/programming-elixir
475319123d21b03c3bfcc02a23178ab9db67a6b3
[ "MIT" ]
1
2019-04-18T10:08:38.000Z
2019-04-18T10:08:38.000Z
# Write a mapsum function that takes a list and a function. It applies the # function to each element of the list and then sums the result, so # # iex> MyList.mapsum [1, 2, 3], &(&1 * &1) # 14 defmodule MyList do def mapsum(l, f), do: reduce(l, 0, fn(value, acc) -> acc + f.(value) end) def reduce([], value, _), ...
22.708333
75
0.631193
e92469eeb40a57764e699776e1aa5bd2df3cb02d
1,972
exs
Elixir
hello/config/prod.exs
benjohns1/phoenix-sandbox
58fa6650828882f684a37de7af48d9fb6bd39f59
[ "MIT" ]
null
null
null
hello/config/prod.exs
benjohns1/phoenix-sandbox
58fa6650828882f684a37de7af48d9fb6bd39f59
[ "MIT" ]
1
2019-04-10T03:50:58.000Z
2019-04-10T03:50:58.000Z
hello/config/prod.exs
benjohns1/phoenix-sandbox
58fa6650828882f684a37de7af48d9fb6bd39f59
[ "MIT" ]
null
null
null
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.806452
67
0.710953
e924aef8a93e5219cd8f42aabbc11eea92a2517a
15,455
ex
Elixir
deps/phoenix/lib/phoenix/socket/transport.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/socket/transport.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
deps/phoenix/lib/phoenix/socket/transport.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
defmodule Phoenix.Socket.Transport do @moduledoc """ API for building transports. This module describes what is required to build a Phoenix transport. The transport sits between the socket and channels, forwarding client messages to channels and vice-versa. A transport is responsible for: * Implement...
35.447248
105
0.679392
e924e232415a4639479c9cbd70d26ef65264f276
1,010
ex
Elixir
lib/codewar/application.ex
nimblehq/codewar-web
5038bc09d4fc42f6be0737857a4c053ff42463f1
[ "MIT" ]
2
2021-06-29T02:22:28.000Z
2022-02-15T06:32:15.000Z
lib/codewar/application.ex
nimblehq/codewar-web
5038bc09d4fc42f6be0737857a4c053ff42463f1
[ "MIT" ]
14
2021-05-06T04:27:19.000Z
2021-08-24T11:15:33.000Z
lib/codewar/application.ex
nimblehq/codewar-web
5038bc09d4fc42f6be0737857a4c053ff42463f1
[ "MIT" ]
1
2021-08-20T07:50:19.000Z
2021-08-20T07:50:19.000Z
defmodule Codewar.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do children = [ # Start the Ecto repository Codewar.Repo, # Start the Telemetry supervisor Codewar...
28.857143
65
0.70198
e924ece51e89d83b3021d9e328dd65053ce4b153
4,162
ex
Elixir
lib/raxx/request.ex
varnerac/raxx
0ca9b87cb2b10ca8b0eecaa86f10a9628da8fd93
[ "Apache-2.0" ]
401
2016-06-13T13:40:53.000Z
2022-03-29T17:18:50.000Z
lib/raxx/request.ex
varnerac/raxx
0ca9b87cb2b10ca8b0eecaa86f10a9628da8fd93
[ "Apache-2.0" ]
148
2016-06-11T09:59:43.000Z
2021-03-20T11:28:19.000Z
lib/raxx/request.ex
varnerac/raxx
0ca9b87cb2b10ca8b0eecaa86f10a9628da8fd93
[ "Apache-2.0" ]
31
2017-02-23T14:06:29.000Z
2021-03-22T06:06:53.000Z
defmodule Raxx.Request do @moduledoc """ HTTP requests to a Raxx application are encapsulated in a `Raxx.Request` struct. A request has all the properties of the url it was sent to. In addition it has optional content, in the body. As well as a variable number of headers that contain meta data. Where appr...
32.771654
244
0.641278
e924eeaa2c955ef185169048f324f1dcca68ad32
768
ex
Elixir
test/support/fixtures/accounts_fixtures.ex
pantanal-labs/plantar
8b119874fbddf50fe23d435462fb3238bb1d6e42
[ "MIT" ]
null
null
null
test/support/fixtures/accounts_fixtures.ex
pantanal-labs/plantar
8b119874fbddf50fe23d435462fb3238bb1d6e42
[ "MIT" ]
23
2020-07-29T21:03:00.000Z
2021-02-01T18:20:35.000Z
test/support/fixtures/accounts_fixtures.ex
pantanal-labs/plantar
8b119874fbddf50fe23d435462fb3238bb1d6e42
[ "MIT" ]
null
null
null
defmodule Plantar.AccountsFixtures do @moduledoc """ This module defines test helpers for creating entities via the `Plantar.Accounts` context. """ def unique_user_name, do: "user#{System.unique_integer()}" def unique_user_email, do: "user#{System.unique_integer()}@example.com" def valid_user_password, d...
25.6
73
0.643229
e924feab524d993fe5664f8d8c914563673744ff
4,486
ex
Elixir
apps/astarte_trigger_engine/lib/astarte_trigger_engine/amqp_events_consumer.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
1
2020-02-04T13:15:22.000Z
2020-02-04T13:15:22.000Z
apps/astarte_trigger_engine/lib/astarte_trigger_engine/amqp_events_consumer.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
11
2018-08-27T13:19:39.000Z
2019-12-05T17:27:55.000Z
apps/astarte_trigger_engine/lib/astarte_trigger_engine/amqp_events_consumer.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
2
2018-08-27T13:12:47.000Z
2019-11-19T15:42:13.000Z
# # This file is part of Astarte. # # Copyright 2017-2018 Ispirata Srl # # 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...
29.320261
99
0.671199
e9250597c197a6221a7b0a9df0d7a4ca9a5cf4c7
444
exs
Elixir
test/models/post_test.exs
avinoth/spaces
00bec5adf4568fef73b49e57808033295a837931
[ "MIT" ]
1
2016-09-13T10:40:53.000Z
2016-09-13T10:40:53.000Z
test/models/post_test.exs
avinoth/spaces
00bec5adf4568fef73b49e57808033295a837931
[ "MIT" ]
null
null
null
test/models/post_test.exs
avinoth/spaces
00bec5adf4568fef73b49e57808033295a837931
[ "MIT" ]
null
null
null
defmodule Spaces.PostTest do use Spaces.ModelCase alias Spaces.Post @valid_attrs %{content: "some content", tags: [], title: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Post.changeset(%Post{}, @valid_attrs) assert changeset.valid? end test "changese...
23.368421
74
0.709459
e9251bc6631520cf71a1cdb6c8ab7df2b642f79e
15,233
exs
Elixir
test/con_cache_test.exs
RamanBut-Husaim/con_cache
8f47678e49d49c17fd2f22381df79ba981b2e299
[ "MIT" ]
835
2015-02-01T15:35:38.000Z
2022-03-31T19:20:23.000Z
test/con_cache_test.exs
RamanBut-Husaim/con_cache
8f47678e49d49c17fd2f22381df79ba981b2e299
[ "MIT" ]
50
2015-05-03T11:03:51.000Z
2021-03-18T18:37:31.000Z
test/con_cache_test.exs
RamanBut-Husaim/con_cache
8f47678e49d49c17fd2f22381df79ba981b2e299
[ "MIT" ]
62
2015-08-28T15:52:13.000Z
2022-03-24T14:41:02.000Z
defmodule ConCacheTest do use ExUnit.Case, async: false test "initial" do {:ok, cache} = start_cache() assert ConCache.get(cache, :a) == nil end test "no error when ttl options are valid" do assert {:ok, _} = ConCache.start_link(ttl_check_interval: false) assert {:ok, _} = ConCac...
32.410638
145
0.620429
e9251f8b5b8972bf997514999308c17eaba0ba75
1,157
exs
Elixir
clients/storage/mix.exs
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/storage/mix.exs
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/storage/mix.exs
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
defmodule GoogleApi.Storage.V1.Mixfile do use Mix.Project @version "0.1.0" def project() do [ app: :google_api_storage, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: pac...
23.14
107
0.577355
e9252bd01ff03c99aec6a9df7cfa8aa9d3e3f3a5
380
exs
Elixir
farmbot_ext/test/farmbot_ext/bootstrap/supervisor_test.exs
va2ron1/farmbot_os
c80a38058713adc2ad91a4802664bcfe8da9d96c
[ "MIT" ]
null
null
null
farmbot_ext/test/farmbot_ext/bootstrap/supervisor_test.exs
va2ron1/farmbot_os
c80a38058713adc2ad91a4802664bcfe8da9d96c
[ "MIT" ]
null
null
null
farmbot_ext/test/farmbot_ext/bootstrap/supervisor_test.exs
va2ron1/farmbot_os
c80a38058713adc2ad91a4802664bcfe8da9d96c
[ "MIT" ]
null
null
null
defmodule FarmbotExt.Bootstrap.SupervisorTest do use ExUnit.Case, async: false use Mimic setup :verify_on_exit! test "children" do results = FarmbotExt.Bootstrap.Supervisor.children() expected = [] assert results == expected end test "init" do {:ok, pid} = FarmbotExt.Bootstrap.Supervisor....
21.111111
67
0.694737
e9255ecc2e8f47e428ff1c4f67da2f3cf589808b
397
ex
Elixir
backend/lib/budgetsh_web/schema/middleware/authenticate.ex
djquan/budget.sh.old
e0c3ac772ce061c4a8c990ef86ea341172146d18
[ "MIT" ]
2
2019-09-08T23:26:20.000Z
2019-10-04T21:05:40.000Z
backend/lib/budgetsh_web/schema/middleware/authenticate.ex
djquan/budget.sh
e0c3ac772ce061c4a8c990ef86ea341172146d18
[ "MIT" ]
null
null
null
backend/lib/budgetsh_web/schema/middleware/authenticate.ex
djquan/budget.sh
e0c3ac772ce061c4a8c990ef86ea341172146d18
[ "MIT" ]
null
null
null
defmodule BudgetSHWeb.Schema.Middleware.Authenticate do @behaviour Absinthe.Middleware @spec call(Absinthe.Resolution.t(), any) :: Absinthe.Resolution.t() def call(resolution, _) do case resolution.context do %{current_user: _} -> resolution _ -> resolution |> Absinthe.Re...
24.8125
80
0.672544
e9257e003eeb5dfe855fb3e044eafc9a5d6f4f3a
1,548
ex
Elixir
clients/books/lib/google_api/books/v1/model/volume_sale_info_offers_rental_duration.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/books/lib/google_api/books/v1/model/volume_sale_info_offers_rental_duration.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/model/volume_sale_info_offers_rental_duration.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 ...
30.96
91
0.723514
e925851e814860e236922e8a37bf4243fa5c18a4
454
exs
Elixir
mix.exs
nicholasbair/assert-env
e23155c5939b03608b4814bf09c4edb6a577597e
[ "Apache-2.0" ]
null
null
null
mix.exs
nicholasbair/assert-env
e23155c5939b03608b4814bf09c4edb6a577597e
[ "Apache-2.0" ]
4
2019-10-08T01:21:05.000Z
2020-01-21T03:06:30.000Z
mix.exs
nicholasbair/assert-env
e23155c5939b03608b4814bf09c4edb6a577597e
[ "Apache-2.0" ]
null
null
null
defmodule Assert.MixProject do use Mix.Project def project do [ app: :assert, version: "0.1.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ extra_applications: [:logger] ] end defp deps do [ {...
16.814815
65
0.539648
e92586cc7cb2ea630ee8af24fbdbe08a98c84bba
5,492
ex
Elixir
lib/livebook/runtime/mix_standalone.ex
FE-box/livebook
44ae4ecf941decb1b3b0b8b4a0811aa6f9aaf83d
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/mix_standalone.ex
FE-box/livebook
44ae4ecf941decb1b3b0b8b4a0811aa6f9aaf83d
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/mix_standalone.ex
FE-box/livebook
44ae4ecf941decb1b3b0b8b4a0811aa6f9aaf83d
[ "Apache-2.0" ]
1
2021-07-07T06:18:36.000Z
2021-07-07T06:18:36.000Z
defmodule Livebook.Runtime.MixStandalone do defstruct [:node, :server_pid, :project_path] # A runtime backed by a standalone Elixir node managed by Livebook. # # This runtime is similar to `Livebook.Runtime.ElixirStandalone`, # but the node is started in the context of a Mix project. import Livebook.Runti...
31.563218
97
0.669519
e9259049732b9b1f5d40e2819fb31cb8a0ddb97d
18,011
ex
Elixir
lib/kafka_ex/consumer_group/manager.ex
tigertext/kafka_ex_tc
1f03132d3635281483b323751a60efa3b87586ef
[ "MIT" ]
null
null
null
lib/kafka_ex/consumer_group/manager.ex
tigertext/kafka_ex_tc
1f03132d3635281483b323751a60efa3b87586ef
[ "MIT" ]
null
null
null
lib/kafka_ex/consumer_group/manager.ex
tigertext/kafka_ex_tc
1f03132d3635281483b323751a60efa3b87586ef
[ "MIT" ]
null
null
null
defmodule KafkaEx.ConsumerGroup.Manager do @moduledoc false # actual consumer group management implementation use GenServer alias KafkaEx.ConsumerGroup alias KafkaEx.ConsumerGroup.Heartbeat alias KafkaEx.ConsumerGroup.PartitionAssignment alias KafkaEx.Protocol.JoinGroup.Request, as: JoinGroupRequest ...
30.683135
91
0.664427
e925d2c739bcc647103bcc410cb836657aded7d8
839
exs
Elixir
priv/repo/migrations/20190309191025_recreate_tasklists_users.exs
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20190309191025_recreate_tasklists_users.exs
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
1
2019-11-02T13:46:12.000Z
2019-11-02T13:46:12.000Z
priv/repo/migrations/20190309191025_recreate_tasklists_users.exs
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
null
null
null
defmodule Erlnote.Repo.Migrations.RecreateTasklistsUsers do use Ecto.Migration def change do drop index(:tasklists_users, [:tasklist_id]) drop index(:tasklists_users, [:user_id]) flush() drop table("tasklists_users") flush() create table(:tasklists_users) do add :can_read, :boolean, d...
34.958333
117
0.716329
e925dd467bcf4004bf09c602996ea776fc0e4d96
3,866
ex
Elixir
lib/chat_api/sonar_api.ex
gmcintire/papercups
c518a787dfb44547d9a057a8782c40c42614062d
[ "MIT" ]
null
null
null
lib/chat_api/sonar_api.ex
gmcintire/papercups
c518a787dfb44547d9a057a8782c40c42614062d
[ "MIT" ]
null
null
null
lib/chat_api/sonar_api.ex
gmcintire/papercups
c518a787dfb44547d9a057a8782c40c42614062d
[ "MIT" ]
null
null
null
defmodule SonarApi do @moduledoc "Encapsulates access to the sonar API" use HTTPoison.Base @endpoint "https://billing.vntx.net/api/v1/" ## Helper functions def get_inventory_fields(id) do SonarApi.req(:get, "inventory/models/#{id}/fields", %{"limit" => 100}) |> SonarApi.parse() |> SonarApi.get...
25.773333
94
0.591568
e925f05c373f2ed455a12a42762a01bca803bc62
1,958
exs
Elixir
config/prod.exs
hansjhoffman/bagheera
a816a38a4dd8a4ac841accb0234dfdc15f1aeec2
[ "MIT" ]
3
2020-02-19T14:57:45.000Z
2020-02-26T03:38:09.000Z
config/prod.exs
hansjhoffman/bagheera
a816a38a4dd8a4ac841accb0234dfdc15f1aeec2
[ "MIT" ]
1
2021-09-30T13:51:51.000Z
2021-09-30T13:51:51.000Z
config/prod.exs
hansjhoffman/bagheera
a816a38a4dd8a4ac841accb0234dfdc15f1aeec2
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
35.6
66
0.712462
e925f82dc84b65916acd5b1a4a0e8a2e529373e7
7,900
ex
Elixir
lib/data/chunk_reader.ex
rockneurotiko/bigtable
a83d0c3e513a212265b2f6fc775407fa71ac049c
[ "MIT" ]
null
null
null
lib/data/chunk_reader.ex
rockneurotiko/bigtable
a83d0c3e513a212265b2f6fc775407fa71ac049c
[ "MIT" ]
null
null
null
lib/data/chunk_reader.ex
rockneurotiko/bigtable
a83d0c3e513a212265b2f6fc775407fa71ac049c
[ "MIT" ]
null
null
null
defmodule Bigtable.ChunkReader do @moduledoc """ Reads chunks from `Google.Bigtable.V2.ReadRowsResponse` and parses them into complete cells grouped by rowkey. """ use Agent, restart: :temporary defmodule ReadCell do @moduledoc """ A finished cell produced by `Bigtable.ChunkReader`. """ defs...
22.443182
112
0.579114
e9265f413b3b726a7539944f092134a2b7a6168f
1,095
ex
Elixir
apps/asf_fh_web/test/support/channel_case.ex
LazarRistic/asf
2c557f06839a129b35174142c91f60696be2fa89
[ "MIT" ]
null
null
null
apps/asf_fh_web/test/support/channel_case.ex
LazarRistic/asf
2c557f06839a129b35174142c91f60696be2fa89
[ "MIT" ]
null
null
null
apps/asf_fh_web/test/support/channel_case.ex
LazarRistic/asf
2c557f06839a129b35174142c91f60696be2fa89
[ "MIT" ]
null
null
null
defmodule AsfFHWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts wit...
26.707317
65
0.723288
e92690218f53bf86646705c582b33fbfe4813ef6
209
ex
Elixir
lib/hxl/ast/conditional.ex
drowzy/hcl
afb65a3fe4c86d90ba02ab8402d99019bb6509bc
[ "Apache-2.0" ]
18
2021-09-28T23:15:46.000Z
2021-12-21T15:04:40.000Z
lib/hxl/ast/conditional.ex
drowzy/hxl
afb65a3fe4c86d90ba02ab8402d99019bb6509bc
[ "Apache-2.0" ]
4
2021-09-28T14:50:16.000Z
2022-03-29T13:22:49.000Z
lib/hxl/ast/conditional.ex
drowzy/hcl
afb65a3fe4c86d90ba02ab8402d99019bb6509bc
[ "Apache-2.0" ]
null
null
null
defmodule HXL.Ast.Conditional do @moduledoc false defstruct [:predicate, :then, :else] @type t :: %__MODULE__{ predicate: term(), then: term(), else: term() } end
17.416667
38
0.550239
e926da48e2ce9070007eb0cfc989e9152edc2a6d
576
ex
Elixir
lib/ros.ex
the-mikedavis/ros
9bc048e0e73f44917fd7db9934b21d32804d8e04
[ "BSD-3-Clause" ]
9
2018-11-26T19:54:01.000Z
2021-09-12T07:45:01.000Z
lib/ros.ex
the-mikedavis/ros-elixir
9bc048e0e73f44917fd7db9934b21d32804d8e04
[ "BSD-3-Clause" ]
null
null
null
lib/ros.ex
the-mikedavis/ros-elixir
9bc048e0e73f44917fd7db9934b21d32804d8e04
[ "BSD-3-Clause" ]
1
2018-11-01T21:13:00.000Z
2018-11-01T21:13:00.000Z
defmodule ROS do @moduledoc """ A ROS client library for Elixir. """ @doc """ Aliases common modules and imports the `ROS.Node.Spec` - ROS.Publisher -> Publisher - ROS.Subscriber -> Subscriber - ROS.Service -> Service - ROS.Service.Proxy -> ServiceProxy The `ROS.Node.Spec` allows you to easily de...
23.04
71
0.682292
e9270b7c59b7f022f244f9ebe247056efc7e3e71
1,035
exs
Elixir
elixir-in-action/test/simple_registry_test.exs
TristanCacqueray/beam-playground
aae1d6b2b974d5d7c9d3709bb8ae06a8b8cb0959
[ "BSD-3-Clause" ]
null
null
null
elixir-in-action/test/simple_registry_test.exs
TristanCacqueray/beam-playground
aae1d6b2b974d5d7c9d3709bb8ae06a8b8cb0959
[ "BSD-3-Clause" ]
null
null
null
elixir-in-action/test/simple_registry_test.exs
TristanCacqueray/beam-playground
aae1d6b2b974d5d7c9d3709bb8ae06a8b8cb0959
[ "BSD-3-Clause" ]
null
null
null
defmodule TestSR do use ExUnit.Case, async: false test "sr_gen_server" do SimpleRegistry.start_link() assert SimpleRegistry.register("foo") == :ok assert SimpleRegistry.register("foo") == :error assert SimpleRegistry.whereis("foo") == self() assert SimpleRegistry.whereis("bar") == nil {:ok...
32.34375
78
0.68599
e9272cb4e56665aa7be9623fa92645db7ca3983a
1,390
exs
Elixir
test/credo/plugin_test.exs
sgerrand/credo
56d3163310d3ef50a2ea1bb26b322842f73c9db0
[ "MIT" ]
1
2021-12-01T13:37:43.000Z
2021-12-01T13:37:43.000Z
test/credo/plugin_test.exs
sgerrand/credo
56d3163310d3ef50a2ea1bb26b322842f73c9db0
[ "MIT" ]
null
null
null
test/credo/plugin_test.exs
sgerrand/credo
56d3163310d3ef50a2ea1bb26b322842f73c9db0
[ "MIT" ]
null
null
null
defmodule Credo.PluginTest do use Credo.Test.Case, async: false @integration_path "test/fixtures/example_plugin_integration" alias Credo.Execution Code.require_file("test/fixtures/example_plugin_integration/plugin/example_plugin.ex") test "it should use ExamplePlugin's default config" do File.cd!(@int...
31.590909
88
0.710072
e927541ff33e10a94eb6739aaaf3aa6c35e14830
830
ex
Elixir
elixir/grains/lib/grains.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
6
2019-06-19T15:43:20.000Z
2020-07-17T19:46:09.000Z
elixir/grains/lib/grains.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
10
2021-05-10T21:02:55.000Z
2021-05-11T20:29:41.000Z
elixir/grains/lib/grains.ex
paulfioravanti/exercism
b3bf15814b89b0ef50b9bf062b3c800e80e37e75
[ "MIT" ]
1
2019-06-25T10:42:14.000Z
2019-06-25T10:42:14.000Z
defmodule Grains do @base 2 @chessboard 1..64 @offset 1 defguardp valid_chessboard_square?(number) when number in @chessboard @doc """ Calculate two to the power of the input minus one. """ @spec square(pos_integer) :: pos_integer def square(number) when valid_chessboard_square?(number) do {:ok,...
22.432432
73
0.678313
e9275659db19164193581899370c96e03354b28a
425
exs
Elixir
test/container_web/views/error_view_test.exs
chargio/phoenix-container-buildah
929e4c9bf0ea53ce00c3e23262a130d47facef91
[ "Apache-2.0" ]
null
null
null
test/container_web/views/error_view_test.exs
chargio/phoenix-container-buildah
929e4c9bf0ea53ce00c3e23262a130d47facef91
[ "Apache-2.0" ]
null
null
null
test/container_web/views/error_view_test.exs
chargio/phoenix-container-buildah
929e4c9bf0ea53ce00c3e23262a130d47facef91
[ "Apache-2.0" ]
null
null
null
defmodule ContainerWeb.ErrorViewTest do use ContainerWeb.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(ContainerWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do ...
28.333333
94
0.738824
e92757ed39ca8c108bf695cd8cec77dc988de0d1
584
ex
Elixir
lib/bs/notification.ex
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
3
2018-07-14T22:55:23.000Z
2019-02-25T06:11:55.000Z
lib/bs/notification.ex
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
7
2020-02-12T03:22:59.000Z
2022-02-10T20:23:52.000Z
lib/bs/notification.ex
andersjanmyr/battlesnake-server-2018
091b4d1201d144de232be08fd7fb6df8156c5ee2
[ "MIT" ]
12
2018-03-27T05:27:20.000Z
2019-04-02T08:19:04.000Z
alias Bs.Event alias Bs.Game.PubSub defmodule Bs.Notification do require Logger @moduledoc ~S""" Convience module for sending formatted events about a running game. """ def broadcast!(id, opts) do name = Keyword.fetch!(opts, :name) rel = Keyword.fetch!(opts, :rel) data = Keyword.fetch!(opts, :d...
18.83871
69
0.613014
e92788fa5b92eed528edfa47bf3fd4bb0041e294
1,864
ex
Elixir
clients/testing/lib/google_api/testing/v1/model/manual_sharding.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/manual_sharding.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/testing/lib/google_api/testing/v1/model/manual_sharding.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...
35.846154
186
0.752146
e927d3077a6e454fa760e21c13eee7572ffd5dea
488
ex
Elixir
farmbot_celery_script/lib/farmbot_celery_script/dot_props.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
1
2021-08-23T13:36:14.000Z
2021-08-23T13:36:14.000Z
farmbot_celery_script/lib/farmbot_celery_script/dot_props.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_celery_script/lib/farmbot_celery_script/dot_props.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotCeleryScript.DotProps do @dot "." @doc ~S""" Takes a "dotted" key and val. Returns deeply nested hash. ## Examples iex> create("foo.bar.baz", 321) %{"foo" => %{"bar" => %{"baz" => 321}}} iex> create("foo", "bar") %{"foo" => "bar"} """ def create(dotted, val) do ...
21.217391
65
0.536885
e9281142cb2b5b26c22e7e33f442f277d8cc77f1
45
exs
Elixir
test/ex_dot_test.exs
MaethorNaur/ExDot
3a359350b5b6445c038a4ef3bc2bbeec36e94efa
[ "MIT" ]
null
null
null
test/ex_dot_test.exs
MaethorNaur/ExDot
3a359350b5b6445c038a4ef3bc2bbeec36e94efa
[ "MIT" ]
null
null
null
test/ex_dot_test.exs
MaethorNaur/ExDot
3a359350b5b6445c038a4ef3bc2bbeec36e94efa
[ "MIT" ]
null
null
null
defmodule ExDotTest do use ExUnit.Case end
11.25
22
0.8
e92837ee73d284145a97d2f83686a878d39ed6cd
4,640
exs
Elixir
test/chat_api_web/controllers/conversation_controller_test.exs
maartenvn/StudioChat
d018eaa0ed0ceebb056a1bbba3c9ecf514250a90
[ "MIT" ]
null
null
null
test/chat_api_web/controllers/conversation_controller_test.exs
maartenvn/StudioChat
d018eaa0ed0ceebb056a1bbba3c9ecf514250a90
[ "MIT" ]
null
null
null
test/chat_api_web/controllers/conversation_controller_test.exs
maartenvn/StudioChat
d018eaa0ed0ceebb056a1bbba3c9ecf514250a90
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.ConversationControllerTest do use ChatApiWeb.ConnCase, async: true alias ChatApi.Conversations.Conversation @create_attrs %{ status: "open" } @update_attrs %{ status: "closed" } @invalid_attrs %{status: nil} setup %{conn: conn} do account = account_fixture() user ...
29.74359
99
0.634698
e92851f6c1eead2b63b9594cd295e271ca155128
1,837
ex
Elixir
lib/mix/tasks/boundary/spec.ex
LostKobrakai/boundary
5249693995b8f2e00a72417b151d8f4acdc5963f
[ "MIT" ]
null
null
null
lib/mix/tasks/boundary/spec.ex
LostKobrakai/boundary
5249693995b8f2e00a72417b151d8f4acdc5963f
[ "MIT" ]
null
null
null
lib/mix/tasks/boundary/spec.ex
LostKobrakai/boundary
5249693995b8f2e00a72417b151d8f4acdc5963f
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Boundary.Spec do @shortdoc "Prints information about all boundaries in the application." @moduledoc "Prints information about all boundaries in the application." # credo:disable-for-this-file Credo.Check.Readability.Specs use Boundary, classify_to: Boundary.Mix use Mix.Task @impl Mix....
26.242857
83
0.635275
e9285379f9044d4b44701c6a7ea2c05ca5a5bda1
1,413
ex
Elixir
src/hello_world_api/test/support/data_case.ex
TobiG77/tf-ecs-example-app
6d7be943dd74cc91b9a0ac134f035efc5f2cbb8a
[ "MIT" ]
null
null
null
src/hello_world_api/test/support/data_case.ex
TobiG77/tf-ecs-example-app
6d7be943dd74cc91b9a0ac134f035efc5f2cbb8a
[ "MIT" ]
null
null
null
src/hello_world_api/test/support/data_case.ex
TobiG77/tf-ecs-example-app
6d7be943dd74cc91b9a0ac134f035efc5f2cbb8a
[ "MIT" ]
null
null
null
defmodule HelloWorldApi.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, it cannot be async. For this reason, ever...
26.166667
77
0.686483
e92853b1ab509334eac75ab61b4f657a0e2d31a5
2,043
ex
Elixir
lib/serum/file.ex
nallwhy/Serum
ed9f51a83e328789ccfca18d2a0397b45ac4be0f
[ "MIT" ]
null
null
null
lib/serum/file.ex
nallwhy/Serum
ed9f51a83e328789ccfca18d2a0397b45ac4be0f
[ "MIT" ]
null
null
null
lib/serum/file.ex
nallwhy/Serum
ed9f51a83e328789ccfca18d2a0397b45ac4be0f
[ "MIT" ]
null
null
null
defmodule Serum.File do @moduledoc """ Defines a struct representing a file to be read or written. ## Fields * `src`: Source path * `dest`: Destination path * `in_data`: Data read from a file * `out_data`: Data to be written to a file """ require Serum.Result, as: Result import Serum.IOProxy, onl...
26.532468
88
0.605972
e9287a191d9cc7e5bbd62a6ff37351b1da2719b5
972
ex
Elixir
lib/mollie/orders/refunds.ex
LostKobrakai/mollie
dd697dfcf376eb1889d6371cc1179a335ef70b59
[ "MIT" ]
null
null
null
lib/mollie/orders/refunds.ex
LostKobrakai/mollie
dd697dfcf376eb1889d6371cc1179a335ef70b59
[ "MIT" ]
null
null
null
lib/mollie/orders/refunds.ex
LostKobrakai/mollie
dd697dfcf376eb1889d6371cc1179a335ef70b59
[ "MIT" ]
null
null
null
defmodule Mollie.Orders.Refunds do import Mollie alias Mollie.Client @doc """ Retrieve all order refunds. Results are paginated ## Example Mollie.Orders.Refunds.list client, "ord_pbjz8x" More info at: https://docs.mollie.com/reference/v2/orders-api/list-order-refunds """ @spec list(Client.t(),...
24.3
109
0.638889
e9288640f09e2f0cc08c65e26c6e491b62685c1c
90
exs
Elixir
test/cowboy_issue_web/views/layout_view_test.exs
pdamoc/cowboy_issue
3873ffed5cc2b15ead54b2d3e95575b09ba1833a
[ "MIT" ]
null
null
null
test/cowboy_issue_web/views/layout_view_test.exs
pdamoc/cowboy_issue
3873ffed5cc2b15ead54b2d3e95575b09ba1833a
[ "MIT" ]
null
null
null
test/cowboy_issue_web/views/layout_view_test.exs
pdamoc/cowboy_issue
3873ffed5cc2b15ead54b2d3e95575b09ba1833a
[ "MIT" ]
null
null
null
defmodule CowboyIssueWeb.LayoutViewTest do use CowboyIssueWeb.ConnCase, async: true end
22.5
42
0.844444
e928890d25c71fbc1020f3662b1d79c69d05a025
18,509
exs
Elixir
test/teslamate/vehicles/vehicle/suspend_test.exs
AlwindB/teslamate
59295ce8cf5c737ff26be4ea999206eb131ba38a
[ "MIT" ]
null
null
null
test/teslamate/vehicles/vehicle/suspend_test.exs
AlwindB/teslamate
59295ce8cf5c737ff26be4ea999206eb131ba38a
[ "MIT" ]
1
2021-05-12T00:04:50.000Z
2021-05-12T00:04:50.000Z
test/teslamate/vehicles/vehicle/suspend_test.exs
AlwindB/teslamate
59295ce8cf5c737ff26be4ea999206eb131ba38a
[ "MIT" ]
1
2019-10-24T13:17:57.000Z
2019-10-24T13:17:57.000Z
defmodule TeslaMate.Vehicles.Vehicle.SuspendTest do use TeslaMate.VehicleCase, async: true alias TeslaMate.Vehicles.Vehicle test "suspends when idling", %{test: name} do suspendable = online_event( drive_state: %{timestamp: 0, latitude: 0.0, longitude: 0.0}, climate_state: %{is_precond...
29.998379
96
0.61154
e9288da4c763aeedee09a89240d885be0bb3279c
1,231
ex
Elixir
DL-ZN11O/DL-ZN11O.ELEMENT-IoT.ex
xavierflorensa/decentlab-decoders
09d2f69fa5b85bc60c5d326f0fb36bff903ac0b5
[ "MIT" ]
1
2021-06-25T10:36:07.000Z
2021-06-25T10:36:07.000Z
DL-ZN11O/DL-ZN11O.ELEMENT-IoT.ex
johannesE/decentlab-decoders
c290ea1218de2c82d665fdc9f71f16682e12d917
[ "MIT" ]
null
null
null
DL-ZN11O/DL-ZN11O.ELEMENT-IoT.ex
johannesE/decentlab-decoders
c290ea1218de2c82d665fdc9f71f16682e12d917
[ "MIT" ]
null
null
null
# https://www.decentlab.com/support defmodule Parser do use Platform.Parsing.Behaviour ## test payloads # 02029900036ded00960b63 def fields do [ %{field: "dendrometer_position", display: "Dendrometer position", unit: "µm"}, %{field: "battery_voltage", display: "Battery voltage", unit: "V...
26.191489
87
0.551584
e92895d6aa6999d2510b5ecfaf7e164b342ab346
18,176
ex
Elixir
lib/rdf/xsd/datatypes/numeric.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
lib/rdf/xsd/datatypes/numeric.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
lib/rdf/xsd/datatypes/numeric.ex
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
defmodule RDF.XSD.Numeric do @moduledoc """ Collection of functions for numeric literals. """ @type t :: module alias RDF.{XSD, Literal} alias Elixir.Decimal, as: D import Kernel, except: [abs: 1, floor: 1, ceil: 1] defdelegate datatype?(value), to: Literal.Datatype.Registry, as: :numeric_datatype? ...
32.399287
130
0.621864
e928cafa6b8c74b6c60910d31b290f002363c99a
1,152
ex
Elixir
apps/tai/lib/tai/venue_adapters/ftx/accounts.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/lib/tai/venue_adapters/ftx/accounts.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/venue_adapters/ftx/accounts.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.VenueAdapters.Ftx.Accounts do def accounts(venue_id, credential_id, credentials) do venue_credentials = struct!(ExFtx.Credentials, credentials) with {:ok, balances} <- ExFtx.Wallet.Balances.get(venue_credentials) do accounts = balances |> Enum.map(&build(&1, venue_id, credential_id)) ...
32
95
0.661458
e928f601b10eeaaf19bda8e9d7a62ceb04199b7e
1,491
ex
Elixir
lib/shiritorishi_web/views/error_helpers.ex
Foo-x/Shiritorishi
ee9b58f74c51941f958c986578c95c26a9920816
[ "Apache-2.0" ]
null
null
null
lib/shiritorishi_web/views/error_helpers.ex
Foo-x/Shiritorishi
ee9b58f74c51941f958c986578c95c26a9920816
[ "Apache-2.0" ]
null
null
null
lib/shiritorishi_web/views/error_helpers.ex
Foo-x/Shiritorishi
ee9b58f74c51941f958c986578c95c26a9920816
[ "Apache-2.0" ]
null
null
null
defmodule ShiritorishiWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn (error) -> conte...
33.133333
81
0.674044
e928fbfe1084322f6180083c8e626d7d9aa9550d
407
exs
Elixir
test/tesla/middleware/query_test.exs
DNNX/tesla
a1a60ad74de1b88782ab50a7f52719d7cecef94a
[ "MIT" ]
null
null
null
test/tesla/middleware/query_test.exs
DNNX/tesla
a1a60ad74de1b88782ab50a7f52719d7cecef94a
[ "MIT" ]
null
null
null
test/tesla/middleware/query_test.exs
DNNX/tesla
a1a60ad74de1b88782ab50a7f52719d7cecef94a
[ "MIT" ]
null
null
null
defmodule Tesla.Middleware.QueryTest do use ExUnit.Case alias Tesla.Env @middleware Tesla.Middleware.Query test "joining default query params" do env = @middleware.call(%Env{}, [], page: 1) assert env.query == [page: 1] end test "should not override existing key" do env = @middleware.call(%En...
23.941176
63
0.658477
e92903478df80d80dfb312519c5c720e81d4d13f
2,189
exs
Elixir
test/groupher_server_web/query/cms/hooks/cite_job_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
test/groupher_server_web/query/cms/hooks/cite_job_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
test/groupher_server_web/query/cms/hooks/cite_job_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Test.Query.Hooks.CiteJob do @moduledoc false use GroupherServer.TestTools import Helper.Utils, only: [get_config: 2] alias GroupherServer.CMS alias CMS.Delegate.Hooks @site_host get_config(:general, :site_host) setup do {:ok, job} = db_insert(:job) {:ok, user} = db_in...
26.059524
84
0.581544
e9290597069b9100585bbfbf77230250b67c98eb
690
ex
Elixir
hexdocs__pm__phoenix__up_and_running.html/hello/lib/hello_web/channels/room_channel.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello/lib/hello_web/channels/room_channel.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
hexdocs__pm__phoenix__up_and_running.html/hello/lib/hello_web/channels/room_channel.ex
jim80net/elixir_tutorial_projects
db19901a9305b297faa90642bebcc08455621b52
[ "Unlicense" ]
null
null
null
defmodule HelloWeb.RoomChannel do use Phoenix.Channel alias HelloWeb.Presence def join("room:lobby", _message, socket) do send(self(), :after_join) {:ok, socket} end def join("room:" <> _private_room_id, _params, _socket) do {:error, %{reason: "unauthorized"}} end def handle_info(:after_j...
24.642857
64
0.656522
e92910db46bb52cd39f08b6a28ab6b8c12ab0555
147,888
ex
Elixir
data/auto_generated/video/14bf1b6572ccdabd889c3edb7107a758.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
12
2018-06-15T10:18:43.000Z
2022-01-24T12:50:54.000Z
data/auto_generated/video/14bf1b6572ccdabd889c3edb7107a758.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
15
2018-06-21T18:04:12.000Z
2021-10-16T12:54:39.000Z
data/auto_generated/video/14bf1b6572ccdabd889c3edb7107a758.ex
breunigs/veloroute
ac3b1eeb2ef2369c27186a138f6ffd8284652dab
[ "0BSD" ]
2
2020-03-09T19:21:36.000Z
2022-01-16T03:29:51.000Z
defmodule(Data.AutoGenerated.Video.Rendered_14bf1b6572ccdabd889c3edb7107a758) do @moduledoc "#{"Alter Elbtunnel (FR14): von den Landungsbrücken in die Harburger Berge"} AUTOGENERATED. To update this file, run mix velo.videos.generate. See Video.Rendered for functionality. " @behaviour Video.Rendered @imp...
79.723989
98
0.703708
e92924153b9a4f1c3be8f1049e26b3f8ce5012ce
2,176
exs
Elixir
test/changelog_web/controllers/search_controller_test.exs
lawik/changelog.com
3f0b6ceb6ba723df9b21164114fbc208509e9c12
[ "MIT" ]
null
null
null
test/changelog_web/controllers/search_controller_test.exs
lawik/changelog.com
3f0b6ceb6ba723df9b21164114fbc208509e9c12
[ "MIT" ]
null
null
null
test/changelog_web/controllers/search_controller_test.exs
lawik/changelog.com
3f0b6ceb6ba723df9b21164114fbc208509e9c12
[ "MIT" ]
null
null
null
defmodule ChangelogWeb.SearchControllerTest do use ChangelogWeb.ConnCase import Mock def item_to_hit(item) do %{"objectID" => Integer.to_string(item.id)} end describe "without query" do test "getting the search" do conn = get(build_conn(), Routes.search_path(build_conn(), :search)) ass...
32.477612
89
0.619026