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
28d2f0315a7898247109632b54a20277819c984a
2,923
ex
Elixir
data/web/deps/calecto/lib/calecto/naive_date_time.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/calecto/lib/calecto/naive_date_time.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
data/web/deps/calecto/lib/calecto/naive_date_time.ex
lydiadwyer/trains_elixir
16da18d4582307f4967b6cce7320e9aa08a849c3
[ "Apache-2.0" ]
null
null
null
defmodule Calecto.NaiveDateTime do require Calendar.NaiveDateTime import Calecto.Utils @moduledoc """ Calendar NaiveDateTime for Ecto """ @behaviour Ecto.Type @doc """ The Ecto primitive type. """ def type, do: :datetime @doc """ Casts to datetime. """ def cast(<<year::4-bytes, ?-, month...
32.477778
125
0.575778
28d2f25ecc89a4881b1bd5b3b13a7a9a717a2dcc
461
ex
Elixir
apps/re_integrations/lib/search/document.ex
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re_integrations/lib/search/document.ex
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
apps/re_integrations/lib/search/document.ex
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defimpl Elasticsearch.Document, for: Re.Listing do def id(listing), do: listing.id def routing(listing), do: listing.id def encode(listing) do %{ type: listing.type, price: listing.price, rooms: listing.rooms, area: listing.area, garage_spots: listing.garage_spots, neighb...
24.263158
59
0.685466
28d30d0d135cae709097fa6d8822c82944905d4d
174
ex
Elixir
lib/webmonitor/maybe_wrapper.ex
rawcodehq/webmonitor
1397c74cb04434d18eb08e447c2c91d23ca97962
[ "MIT" ]
5
2016-07-05T20:31:46.000Z
2021-03-20T20:11:48.000Z
lib/webmonitor/maybe_wrapper.ex
rawcodehq/webmonitor
1397c74cb04434d18eb08e447c2c91d23ca97962
[ "MIT" ]
null
null
null
lib/webmonitor/maybe_wrapper.ex
rawcodehq/webmonitor
1397c74cb04434d18eb08e447c2c91d23ca97962
[ "MIT" ]
1
2016-07-18T23:00:46.000Z
2016-07-18T23:00:46.000Z
defmodule Webmonitor.MaybeWrapper do def wrap(nil), do: :nothing def wrap(val), do: {:just, val} def unwrap({:just, val}), do: val def unwrap(:nothing), do: nil end
21.75
36
0.666667
28d31e77bcea59ea48c26c2449ed0f8b6953b284
26,978
ex
Elixir
clients/replica_pool/lib/google_api/replica_pool/v1beta2/api/instance_group_managers.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/replica_pool/lib/google_api/replica_pool/v1beta2/api/instance_group_managers.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/replica_pool/lib/google_api/replica_pool/v1beta2/api/instance_group_managers.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "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...
52.181818
240
0.702795
28d33bf711975c664fd2dace983c0fae3f351abe
689
ex
Elixir
lib/gateway_web/endpoint.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
1
2019-11-06T13:35:35.000Z
2019-11-06T13:35:35.000Z
lib/gateway_web/endpoint.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
lib/gateway_web/endpoint.ex
mmacai/reactive-interaction-gateway
edb9262c65b10a8a5dc21ebf326cf73638e97d36
[ "Apache-2.0" ]
null
null
null
defmodule GatewayWeb.Endpoint do use Phoenix.Endpoint, otp_app: :gateway socket "/socket", GatewayWeb.Presence.Socket plug Plug.RequestId plug Plug.Logger plug Plug.Parsers, parsers: [:urlencoded, :multipart, :json], pass: ["*/*"], json_decoder: Poison plug Plug.MethodOverride plug Plug.He...
23.758621
76
0.724238
28d35c5004acfac004b1b7db12ffc366894fe1e7
1,675
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/object_customer_encryption.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/storage/lib/google_api/storage/v1/model/object_customer_encryption.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/storage/lib/google_api/storage/v1/model/object_customer_encryption.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...
33.5
99
0.733134
28d36c8108ff0e22347cf4b55b04f4f8ba90c0e3
10,965
ex
Elixir
lib/oli_web/live/grades/grades.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
lib/oli_web/live/grades/grades.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
lib/oli_web/live/grades/grades.ex
chrislawson/oli-torus
94165b211ab74fac3e7c8a14110a394fa9a6f320
[ "MIT" ]
null
null
null
defmodule OliWeb.Grades.GradesLive do use OliWeb, :live_view alias Oli.Grading alias Oli.Lti.LTI_AGS alias Oli.Lti.LineItem alias Oli.Lti.LTI_NRPS alias Lti_1p3.Tool.AccessToken alias Lti_1p3.Tool.ContextRoles alias Oli.Delivery.Attempts.Core, as: Attempts alias Oli.Delivery.Attempts.Core.ResourceAcc...
30.458333
172
0.627633
28d3814dcfa3b1ed707f2d73b8b47da0abba6180
316
exs
Elixir
home_page_local/priv/repo/migrations/20190218051933_create_users.exs
tlk-emb/CMS_koji
40a93073128bfad7fdfa987c69d4a8759752064f
[ "Apache-2.0" ]
8
2019-06-02T05:02:36.000Z
2021-08-11T04:23:10.000Z
home_page_local/priv/repo/migrations/20190218051933_create_users.exs
tlk-emb/CMS_koji
40a93073128bfad7fdfa987c69d4a8759752064f
[ "Apache-2.0" ]
7
2019-05-15T08:32:51.000Z
2020-06-10T07:46:43.000Z
home_page_local/priv/repo/migrations/20190218051933_create_users.exs
tlk-emb/CMS_koji
40a93073128bfad7fdfa987c69d4a8759752064f
[ "Apache-2.0" ]
1
2019-06-02T05:02:47.000Z
2019-06-02T05:02:47.000Z
defmodule HomePage.Repo.Migrations.CreateUsers do use Ecto.Migration def change do create table(:users) do add :name, :string, null: false add :email, :string, null: false add :password, :string, null: false timestamps() end create unique_index(:users, [:email]) end end
19.75
49
0.655063
28d3d05732dd38fd4cd7844b8822f022114b3e03
2,813
ex
Elixir
clients/policy_troubleshooter/lib/google_api/policy_troubleshooter/v1beta/model/google_cloud_policytroubleshooter_v1beta_access_tuple.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/policy_troubleshooter/lib/google_api/policy_troubleshooter/v1beta/model/google_cloud_policytroubleshooter_v1beta_access_tuple.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/policy_troubleshooter/lib/google_api/policy_troubleshooter/v1beta/model/google_cloud_policytroubleshooter_v1beta_access_tuple.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...
46.883333
381
0.753288
28d3eff19b8c8721387b6a6857287129f767f285
99
exs
Elixir
test/fd_events_test.exs
billsaysthis/fd-events
3316e25565f4c4bca12d697b3614283689ff6807
[ "MIT" ]
null
null
null
test/fd_events_test.exs
billsaysthis/fd-events
3316e25565f4c4bca12d697b3614283689ff6807
[ "MIT" ]
null
null
null
test/fd_events_test.exs
billsaysthis/fd-events
3316e25565f4c4bca12d697b3614283689ff6807
[ "MIT" ]
null
null
null
defmodule FdEventsTest do use ExUnit.Case test "the truth" do assert 1 + 1 == 2 end end
12.375
25
0.656566
28d3f0efeecba95e750b2ca53a5d6c4a492e6363
725
ex
Elixir
apps/snitch_core/priv/repo/demo/payment_methods.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/snitch_core/priv/repo/demo/payment_methods.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/snitch_core/priv/repo/demo/payment_methods.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule Snitch.Demo.PaymentMethod do alias Snitch.Core.Tools.MultiTenancy.Repo alias Snitch.Data.Schema.PaymentMethod alias SnitchPayments.{Gateway, Payment} def create_payment_methods do Repo.delete_all(PaymentMethod) create_payment_method!("card-payments", "ccd", Gateway.P...
29
82
0.66069
28d405bd42f1e24dfc5f798f11851b4c5c57e1b8
5,592
ex
Elixir
lib/exq/worker/server.ex
blueshift-labs/exq
57973ec3e83f9a505fc83385b645bf2e658b8cdd
[ "Apache-2.0" ]
null
null
null
lib/exq/worker/server.ex
blueshift-labs/exq
57973ec3e83f9a505fc83385b645bf2e658b8cdd
[ "Apache-2.0" ]
null
null
null
lib/exq/worker/server.ex
blueshift-labs/exq
57973ec3e83f9a505fc83385b645bf2e658b8cdd
[ "Apache-2.0" ]
null
null
null
defmodule Exq.Worker.Server do @moduledoc """ Worker process is responsible for the parsing and execution of a Job. It then broadcasts results to Stats / Manager. Currently uses the `terminate` callback to track job success/failure . ## Initialization: * `job_serialized` - Full JSON payload of the Job. ...
26.253521
96
0.603183
28d43b4662689cade9ec821fd8ebffd237cde79a
1,661
ex
Elixir
lib/witchcraft/category.ex
baseballlover723/witchcraft
75b62d87bc2c22917f6d5f2bc42d1e0163d40460
[ "MIT" ]
1
2019-10-04T11:32:01.000Z
2019-10-04T11:32:01.000Z
lib/witchcraft/category.ex
baseballlover723/witchcraft
75b62d87bc2c22917f6d5f2bc42d1e0163d40460
[ "MIT" ]
null
null
null
lib/witchcraft/category.ex
baseballlover723/witchcraft
75b62d87bc2c22917f6d5f2bc42d1e0163d40460
[ "MIT" ]
null
null
null
import TypeClass defclass Witchcraft.Category do @moduledoc """ A category is some collection of objects and relationships (morphisms) between them. This idea is captured by the notion of an identity function for objects, and the ability to compose relationships between objects. In most cases, these are ver...
22.753425
86
0.673691
28d45e7c8d43552b5070991faf6ad8c5a6bde05f
592
ex
Elixir
lib/api_web/views/api/v1/user_view.ex
PetrNikolas/blazeee
0d97a39b53d19951ccd946b2c4949b054e1487cd
[ "MIT" ]
17
2018-09-18T23:35:26.000Z
2021-12-05T08:03:23.000Z
lib/api_web/views/api/v1/user_view.ex
PetrNikolas/blazeee
0d97a39b53d19951ccd946b2c4949b054e1487cd
[ "MIT" ]
null
null
null
lib/api_web/views/api/v1/user_view.ex
PetrNikolas/blazeee
0d97a39b53d19951ccd946b2c4949b054e1487cd
[ "MIT" ]
2
2019-07-08T20:43:13.000Z
2020-03-04T19:11:39.000Z
defmodule ApiWeb.Api.V1.UserView do use ApiWeb, :view alias ApiWeb.UserView def render("index.json", %{users: users}) do %{data: render_many(users, UserView, "user.json")} end def render("show.json", %{user: user}) do %{data: render_one(user, UserView, "user.json")} end def render("user.json", ...
21.142857
54
0.609797
28d49fb68a2098872411539f562bb4f6d2bf6dd8
3,639
ex
Elixir
robotica/lib/robotica/plugin_registry.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-04-23T09:16:44.000Z
2019-04-23T09:16:44.000Z
robotica/lib/robotica/plugin_registry.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
107
2019-05-26T08:03:26.000Z
2022-02-03T19:13:56.000Z
robotica/lib/robotica/plugin_registry.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-08-10T20:44:24.000Z
2019-08-10T20:44:24.000Z
defmodule Robotica.PluginRegistry do @moduledoc """ A registry of all plugins """ use GenServer require Logger defmodule State do @moduledoc false @type t :: %__MODULE__{ plugins: %{required(String.t()) => list({String.t(), pid})} } defstruct plugins: %{} end ## Clie...
29.585366
99
0.625172
28d4ac883d656d55087655f979b514bfb9f24ced
5,190
ex
Elixir
web/controllers/dashboard_controller.ex
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
web/controllers/dashboard_controller.ex
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
web/controllers/dashboard_controller.ex
sahilpaudel/AfterGlow
0859ec14b47c8c5704cc8e5cba86d39aa258fff5
[ "MIT" ]
null
null
null
defmodule AfterGlow.DashboardController do use AfterGlow.Web, :controller alias AfterGlow.Dashboard alias AfterGlow.Question alias AfterGlow.Tag import Ecto.Query alias AfterGlow.Variable alias JaSerializer.Params alias AfterGlow.CacheWrapper alias AfterGlow.CacheWrapper.Repo alias AfterGlow.Plugs...
27.460317
98
0.606358
28d4dcfc5bb3a2de366caa6354f37a21d477fc6d
1,688
ex
Elixir
clients/connectors/lib/google_api/connectors/v1/model/result_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/connectors/lib/google_api/connectors/v1/model/result_metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/connectors/lib/google_api/connectors/v1/model/result_metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.849057
94
0.703199
28d50840f90480201acd44279cb11d423dc0ed4e
3,158
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/game_server_deployment_rollout.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/game_server_deployment_rollout.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/game_server_deployment_rollout.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.974684
209
0.719759
28d53b62901564a86a54b564ba881ad9d9e288b0
3,583
ex
Elixir
lib/sanbase_web/graphql/schema/queries/historical_balance_queries.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/graphql/schema/queries/historical_balance_queries.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/graphql/schema/queries/historical_balance_queries.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.Schema.HistoricalBalanceQueries do use Absinthe.Schema.Notation import SanbaseWeb.Graphql.Cache, only: [cache_resolve: 1] alias SanbaseWeb.Graphql.Resolvers.HistoricalBalanceResolver alias SanbaseWeb.Graphql.Complexity alias SanbaseWeb.Graphql.Middlewares.AccessControl object...
30.887931
113
0.656433
28d563b07dca6aea03a41b4aaf77d7d7ff7000dc
7,809
exs
Elixir
test/json_api_client/request_test.exs
jmax/json_api_client
10518564077860c291008887639dcef13f9ac3a7
[ "MIT" ]
null
null
null
test/json_api_client/request_test.exs
jmax/json_api_client
10518564077860c291008887639dcef13f9ac3a7
[ "MIT" ]
null
null
null
test/json_api_client/request_test.exs
jmax/json_api_client
10518564077860c291008887639dcef13f9ac3a7
[ "MIT" ]
null
null
null
defmodule JsonApiClient.RequestTest do use ExUnit.Case doctest JsonApiClient.Request, import: true alias JsonApiClient.Request import JsonApiClient.Request describe "params()" do test "adds a single value to the params map" do assert %Request{params: %{a: 1}} = params(%Request{}, a: 1) end ...
28.604396
111
0.578179
28d57704768f25c608c902d4fc9fbe2f69e25eda
2,038
exs
Elixir
test/bench_test.exs
rozap/yams
ab87166709af64fc34734e84589fc0d4a4f5a870
[ "MIT" ]
5
2016-11-07T11:32:28.000Z
2022-03-07T00:02:55.000Z
test/bench_test.exs
rozap/yams
ab87166709af64fc34734e84589fc0d4a4f5a870
[ "MIT" ]
null
null
null
test/bench_test.exs
rozap/yams
ab87166709af64fc34734e84589fc0d4a4f5a870
[ "MIT" ]
null
null
null
defmodule BenchTest do use ExUnit.Case require Yams.Query alias Yams.Query alias Yams.Query.Aggregate import TestHelpers @from_ts 1472175016297554068 @count 50_000 def keyspace do {@from_ts, @from_ts + Yams.ms_to_key(@count)} end setup_all do ref = UUID.uuid1() {:created, h} = Yams.S...
26.467532
93
0.576546
28d5788ad827871a85e00ad8d5736a0a8a597bac
1,251
exs
Elixir
mix.exs
penqen/yuki_helper
9952dd4711fc2dc98d8cdc41bd758b9b271ea036
[ "MIT" ]
null
null
null
mix.exs
penqen/yuki_helper
9952dd4711fc2dc98d8cdc41bd758b9b271ea036
[ "MIT" ]
1
2021-05-13T16:28:58.000Z
2021-05-13T16:28:58.000Z
mix.exs
penqen/yuki_helper
9952dd4711fc2dc98d8cdc41bd758b9b271ea036
[ "MIT" ]
null
null
null
defmodule YukiHelper.MixProject do use Mix.Project @source_url "https://github.com/penqen/yuki_helper" def project do [ app: :yuki_helper, version: "0.2.0", elixir: "~> 1.11.4", description: "helper for yukicoder", start_permanent: Mix.env() == :prod, escript: escript(), ...
18.954545
62
0.509992
28d58d13d576589cd35a14b4b852ceb58ca93548
551
ex
Elixir
lib/tap_racer/room_registry.ex
dtcristo/tap-racer
f66a3f4c728d547c85335aea7770e9b9ad857016
[ "MIT" ]
7
2016-06-04T09:24:24.000Z
2017-09-03T16:26:21.000Z
lib/tap_racer/room_registry.ex
dtcristo/tap-racer
f66a3f4c728d547c85335aea7770e9b9ad857016
[ "MIT" ]
10
2020-07-25T02:04:03.000Z
2021-07-28T12:01:20.000Z
lib/tap_racer/room_registry.ex
dtcristo/tap-racer
f66a3f4c728d547c85335aea7770e9b9ad857016
[ "MIT" ]
1
2019-05-17T03:37:43.000Z
2019-05-17T03:37:43.000Z
defmodule TapRacer.RoomRegistry do def child_spec(args) do %{ id: __MODULE__, start: {__MODULE__, :start_link, [args]}, type: :supervisor } end def start_link(_args) do Registry.start_link(keys: :unique, name: __MODULE__) end def name(id) do {:via, Registry, {__MODULE__, id...
16.69697
56
0.604356
28d5c1c276401dde14b8cc6b3c4c014268ba047e
263
exs
Elixir
channel-sender/config/dev.exs
santitigaga/async-dataflow
66132c7353ae0b3b9d5a3704699b5ba130b4da9d
[ "MIT" ]
2
2022-01-11T21:03:44.000Z
2022-03-15T15:13:11.000Z
channel-sender/config/dev.exs
santitigaga/async-dataflow
66132c7353ae0b3b9d5a3704699b5ba130b4da9d
[ "MIT" ]
3
2021-12-21T21:04:20.000Z
2022-03-15T16:16:45.000Z
channel-sender/config/dev.exs
santitigaga/async-dataflow
66132c7353ae0b3b9d5a3704699b5ba130b4da9d
[ "MIT" ]
2
2022-02-08T22:33:36.000Z
2022-03-25T19:55:18.000Z
import Config config :channel_sender_ex, secret_base: {"aV4ZPOf7T7HX6GvbhwyBlDM8B9jfeiwi+9qkBnjXxUZXqAeTrehojWKHkV3U0kGc", "socket auth"}, socket_port: 8082, initial_redelivery_time: 900, socket_idle_timeout: 30000, rest_port: 8081, max_age: 900
23.909091
88
0.787072
28d5d0227fba85800d9c444cc223cba91451f2cc
3,658
ex
Elixir
clients/app_engine/lib/google_api/app_engine/v1/model/url_map.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/app_engine/lib/google_api/app_engine/v1/model/url_map.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/app_engine/lib/google_api/app_engine/v1/model/url_map.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...
53.794118
328
0.72526
28d5d54b641759ceef052a3135023160aef49a3a
8,687
exs
Elixir
test/suite/draft4/type_test.exs
starbelly/json_xema
73ca23f9ce51d450d2f9cf0509ee6bb82f9a8c79
[ "MIT" ]
1
2019-06-21T10:55:33.000Z
2019-06-21T10:55:33.000Z
test/suite/draft4/type_test.exs
starbelly/json_xema
73ca23f9ce51d450d2f9cf0509ee6bb82f9a8c79
[ "MIT" ]
null
null
null
test/suite/draft4/type_test.exs
starbelly/json_xema
73ca23f9ce51d450d2f9cf0509ee6bb82f9a8c79
[ "MIT" ]
null
null
null
defmodule Draft4.TypeTest do use ExUnit.Case, async: true import JsonXema, only: [valid?: 2] describe "integer type matches integers" do setup do %{schema: ~s( { "type": "integer" } ) |> Jason.decode!() |> JsonXema.new()} end test "an integer is an integer", ...
22.274359
74
0.547945
28d5ec385c465303c63a58a4d78a22f8fe07e8d6
305
ex
Elixir
test/support/test_command_partition1.ex
falti/commanded-uniqueness-middleware
88bd1e54f7f4e2be074ed9d841b47fac6b3023f2
[ "MIT" ]
3
2019-11-28T10:20:51.000Z
2020-11-23T14:07:45.000Z
test/support/test_command_partition1.ex
falti/commanded-uniqueness-middleware
88bd1e54f7f4e2be074ed9d841b47fac6b3023f2
[ "MIT" ]
10
2019-11-28T13:08:48.000Z
2022-02-08T06:56:39.000Z
test/support/test_command_partition1.ex
falti/commanded-uniqueness-middleware
88bd1e54f7f4e2be074ed9d841b47fac6b3023f2
[ "MIT" ]
2
2020-06-15T16:37:46.000Z
2021-11-04T19:51:08.000Z
defmodule TestCommandPartition1 do defstruct [ :id, :name ] end defimpl Commanded.Middleware.Uniqueness.UniqueFields, for: TestCommandPartition1 do def unique(%TestCommandPartition1{id: id}), do: [ {:name, "has already been taken", id, partition: "SomeCommonPartition"} ] end
21.785714
83
0.708197
28d5fc38ecbfffea250671cc4b05c0d732c6d574
898
ex
Elixir
code/odds/old_eval/apps/evaluator/lib/evaluator.ex
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
null
null
null
code/odds/old_eval/apps/evaluator/lib/evaluator.ex
alvarocamillont/introdu-o_elixir
1d72d4f4b01d9312c4b066ce3c0fe8d9bfaaade1
[ "MIT" ]
1
2021-03-09T16:27:25.000Z
2021-03-09T16:27:25.000Z
programming-elixir-book/code/odds/old_eval/apps/evaluator/lib/evaluator.ex
jordanhubbard/elixir-projects
dee341d672e83a45a17a4a85abd54a480f95c506
[ "BSD-2-Clause" ]
null
null
null
#--- # Excerpted from "Programming Elixir ≥ 1.6", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any purpose. # Visit http...
37.416667
85
0.687082
28d611996cd43fbe3c760b2b64b105bc0308c2d5
1,442
ex
Elixir
lib/xdr/transactions/operations/begin_sponsoring_future_reserves_result_code.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
lib/xdr/transactions/operations/begin_sponsoring_future_reserves_result_code.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
lib/xdr/transactions/operations/begin_sponsoring_future_reserves_result_code.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Operations.BeginSponsoringFutureReservesResultCode do @moduledoc """ Representation of Stellar `BeginSponsoringFutureReservesResultCode` type. """ @behaviour XDR.Declaration @declarations [ # success BEGIN_SPONSORING_FUTURE_RESERVES_SUCCESS: 0, # failure BEGIN_SPONSO...
25.298246
79
0.691401
28d6142e094f70b4bf58d52e6914556373a8ed4d
886
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v3/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/dialogflow/lib/google_api/dialogflow/v3/metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dialogflow/lib/google_api/dialogflow/v3/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.814815
74
0.759594
28d6407ba556a189c899112061de20db48b05617
18,709
ex
Elixir
clients/iam/lib/google_api/iam/v1/api/organizations.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/api/organizations.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/iam/lib/google_api/iam/v1/api/organizations.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
44.865707
448
0.663531
28d66dbba008259ae67ab87d0c63dda793ced698
1,817
ex
Elixir
elixir/lib/homework_web/resolvers/transactions_resolver.ex
simmons-hayden/web-homework
de9e339f2c6e5c082ea1b3f14aeb54caf03752f1
[ "MIT" ]
null
null
null
elixir/lib/homework_web/resolvers/transactions_resolver.ex
simmons-hayden/web-homework
de9e339f2c6e5c082ea1b3f14aeb54caf03752f1
[ "MIT" ]
null
null
null
elixir/lib/homework_web/resolvers/transactions_resolver.ex
simmons-hayden/web-homework
de9e339f2c6e5c082ea1b3f14aeb54caf03752f1
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Resolvers.TransactionsResolver do alias Homework.Merchants alias Homework.Transactions alias Homework.Users @doc """ Get a list of transcations """ def transactions(_root, args, _info) do data = Transactions.list_transactions(args) total_rows = Transactions.count(args) ...
23.907895
71
0.648872
28d672f936f9f8440ad5377ef457abef33c336d5
1,635
exs
Elixir
apps/tfcon_web/mix.exs
shtanaka/elixir-transfer-control
1b325a4c0c5ee10551515d7a440e503ed68d4ddf
[ "MIT" ]
null
null
null
apps/tfcon_web/mix.exs
shtanaka/elixir-transfer-control
1b325a4c0c5ee10551515d7a440e503ed68d4ddf
[ "MIT" ]
2
2021-03-10T02:00:57.000Z
2021-05-10T21:22:39.000Z
apps/tfcon_web/mix.exs
shtanaka/elixir-transfer-control
1b325a4c0c5ee10551515d7a440e503ed68d4ddf
[ "MIT" ]
null
null
null
defmodule TfconWeb.MixProject do use Mix.Project def project do [ app: :tfcon_web, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.5", elixirc_paths: elixirc_...
27.25
79
0.588379
28d677a538a71ce326a7d32064efb2df1ff6e3ef
2,579
ex
Elixir
apps/admin_app/lib/admin_app_web/controllers/user_controller.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/admin_app/lib/admin_app_web/controllers/user_controller.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/admin_app/lib/admin_app_web/controllers/user_controller.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule AdminAppWeb.UserController do use AdminAppWeb, :controller alias Snitch.Data.Schema.User alias Snitch.Data.Model.User, as: UserModel alias Snitch.Domain.Account alias Snitch.Core.Tools.MultiTenancy.Repo def index(conn, _params) do users = UserModel.get_all() render(conn, "index.html", use...
26.316327
85
0.586661
28d68bf145bac897a35009b7349357a6ea8f34d5
1,556
ex
Elixir
test/support/data_case.ex
wfercosta/nlw_05_elexir
a833f62c6a9985fe43a22f8450250b8ceea3dd34
[ "MIT" ]
null
null
null
test/support/data_case.ex
wfercosta/nlw_05_elexir
a833f62c6a9985fe43a22f8450250b8ceea3dd34
[ "MIT" ]
null
null
null
test/support/data_case.ex
wfercosta/nlw_05_elexir
a833f62c6a9985fe43a22f8450250b8ceea3dd34
[ "MIT" ]
null
null
null
defmodule Nlw05Elixir.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done ...
27.785714
77
0.693445
28d69f1be0a557d0ed2e82683bf5a4cc17e76a84
191
exs
Elixir
bench/jsox_parser_bench.exs
hrzndhrn/jsox
7549769ecf12c1036fef2caa67dd6de3eaea6141
[ "MIT" ]
null
null
null
bench/jsox_parser_bench.exs
hrzndhrn/jsox
7549769ecf12c1036fef2caa67dd6de3eaea6141
[ "MIT" ]
null
null
null
bench/jsox_parser_bench.exs
hrzndhrn/jsox
7549769ecf12c1036fef2caa67dd6de3eaea6141
[ "MIT" ]
null
null
null
defmodule JsoxParserBench do use Benchfella @json [System.cwd, "data", "big.json"] |> Path.join |> File.read! bench "Jsox" do Jsox.Parser.parse(@json) end end
13.642857
40
0.602094
28d6b5252319c2dea589fde61e2fcceb7db3d080
1,039
ex
Elixir
lib/rockelivery/order.ex
cassiofariasmachado/rockelivery
3d88d4d8af1cdc3f2988edc69162d848009babbd
[ "MIT" ]
1
2021-09-27T06:15:08.000Z
2021-09-27T06:15:08.000Z
lib/rockelivery/order.ex
cassiofariasmachado/rockelivery
3d88d4d8af1cdc3f2988edc69162d848009babbd
[ "MIT" ]
null
null
null
lib/rockelivery/order.ex
cassiofariasmachado/rockelivery
3d88d4d8af1cdc3f2988edc69162d848009babbd
[ "MIT" ]
1
2021-12-21T12:47:59.000Z
2021-12-21T12:47:59.000Z
defmodule Rockelivery.Order do use Ecto.Schema import Ecto.Changeset alias Ecto.Enum alias Rockelivery.{Item, User} @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id @required_params [:address, :comments, :payment_method, :user_id] @payment_methods [:money, :credit_card...
24.738095
67
0.695861
28d6b6bec8a991cd65809aaf3706442545aa9a5d
1,057
exs
Elixir
mix.exs
gavin-rose/kittyhash
0701a3943724ec449c695df978d9c7a6b98431dc
[ "Apache-2.0" ]
null
null
null
mix.exs
gavin-rose/kittyhash
0701a3943724ec449c695df978d9c7a6b98431dc
[ "Apache-2.0" ]
null
null
null
mix.exs
gavin-rose/kittyhash
0701a3943724ec449c695df978d9c7a6b98431dc
[ "Apache-2.0" ]
null
null
null
defmodule Kittyhash.MixProject do use Mix.Project def project do [ app: :kittyhash, version: "0.1.1", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), package: package() , description: "Pashword hashing with kitty!" ] end defp package do ...
23.488889
88
0.546831
28d6b8af425b7f8cea59f2f07d99d6785b48faa8
1,313
ex
Elixir
lib/chess_web/views/game_view.ex
danbee/chess
c766ecb63ed15cd4a5c7ce4b503641d0222fb69d
[ "MIT" ]
30
2018-06-16T00:41:59.000Z
2021-03-05T08:39:02.000Z
lib/chess_web/views/game_view.ex
danbee/chess
c766ecb63ed15cd4a5c7ce4b503641d0222fb69d
[ "MIT" ]
221
2018-01-15T20:33:13.000Z
2022-02-16T00:53:35.000Z
lib/chess_web/views/game_view.ex
danbee/chess
c766ecb63ed15cd4a5c7ce4b503641d0222fb69d
[ "MIT" ]
5
2018-02-20T17:25:19.000Z
2018-12-29T00:09:30.000Z
defmodule ChessWeb.GameView do use ChessWeb, :view alias Chess.GameState import Chess.Auth, only: [current_user: 1] def won_lost(conn, game) do if game_over?(game) && game.state == "checkmate" do your_turn?(conn, game) && gettext("You lost") || gettext("You won") end end de...
19.308824
63
0.598629
28d6c433ccbb5d4cf0c4801d2b91e78d72dead0a
282
ex
Elixir
installer/templates/phx_ecto/repo.ex
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
1
2015-05-19T11:04:16.000Z
2015-05-19T11:04:16.000Z
installer/templates/phx_ecto/repo.ex
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
installer/templates/phx_ecto/repo.ex
raspo/phoenix
438b74255e7a4d68b4eaf1a295d0fcd201c71421
[ "MIT" ]
null
null
null
defmodule <%= app_module %>.Repo do use Ecto.Repo, otp_app: :<%= app_name %> @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
23.5
66
0.666667
28d6cf9d0ea892a8719dd39be0a60e7067b8df10
10,662
ex
Elixir
lib/extwitter/parser.ex
ilyashuma/extwitter
189ad8f3e6692beb046b10a14b2c0f991938d42c
[ "MIT" ]
null
null
null
lib/extwitter/parser.ex
ilyashuma/extwitter
189ad8f3e6692beb046b10a14b2c0f991938d42c
[ "MIT" ]
null
null
null
lib/extwitter/parser.ex
ilyashuma/extwitter
189ad8f3e6692beb046b10a14b2c0f991938d42c
[ "MIT" ]
null
null
null
defmodule ExTwitter.Parser do @moduledoc """ Provides parser logics for API results. """ alias ExTwitter.Model @doc """ Parse tweet record from the API response JSON. """ @spec parse_tweet(map | nil) :: Model.Tweet.t() | nil def parse_tweet(nil), do: nil def parse_tweet(object) do tweet ...
29.865546
99
0.670981
28d6e9ae638a81337430e4ba2fc798e49c3274b3
462
exs
Elixir
maru_reload/mix.exs
elixir-maru/maru_examples
f0dcbf3c17c9df8b89b378953b71b54a53047806
[ "MIT" ]
27
2016-12-28T15:00:19.000Z
2021-11-09T12:55:23.000Z
maru_reload/mix.exs
elixir-maru/maru_examples
f0dcbf3c17c9df8b89b378953b71b54a53047806
[ "MIT" ]
5
2017-02-13T13:11:55.000Z
2019-07-22T19:38:09.000Z
maru_reload/mix.exs
elixir-maru/maru_examples
f0dcbf3c17c9df8b89b378953b71b54a53047806
[ "MIT" ]
8
2017-02-08T10:18:50.000Z
2020-06-01T11:42:04.000Z
defmodule MaruReload.Mixfile do use Mix.Project def project do [ app: :maru_reload, version: "0.0.1", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), ] end def application do [ applications: (Mix.env == :dev && [:ex...
19.25
78
0.517316
28d723c36d76be13aba75192d601260c1350d327
106
ex
Elixir
lib/mappers/repo.ex
evandiewald/mappers
7359cfb39a4d9d26c42f5917ee04a7e41d3291bc
[ "Apache-2.0" ]
32
2021-04-22T01:55:31.000Z
2022-02-25T13:17:21.000Z
lib/mappers/repo.ex
evandiewald/mappers
7359cfb39a4d9d26c42f5917ee04a7e41d3291bc
[ "Apache-2.0" ]
58
2021-06-04T18:42:59.000Z
2022-03-31T07:17:01.000Z
lib/mappers/repo.ex
evandiewald/mappers
7359cfb39a4d9d26c42f5917ee04a7e41d3291bc
[ "Apache-2.0" ]
13
2021-04-10T06:09:15.000Z
2022-03-23T13:07:37.000Z
defmodule Mappers.Repo do use Ecto.Repo, otp_app: :mappers, adapter: Ecto.Adapters.Postgres end
17.666667
35
0.726415
28d75326c8b195311742796d409f24a82ae28cdd
3,000
exs
Elixir
test/imgex_test.exs
ianwalter/imgex
890e11481590b041197f2f674a42505d3c3e660c
[ "ISC" ]
32
2015-12-11T18:38:06.000Z
2022-01-04T15:46:30.000Z
test/imgex_test.exs
envato/imgex
890e11481590b041197f2f674a42505d3c3e660c
[ "ISC" ]
12
2015-12-11T18:40:09.000Z
2021-12-08T05:47:38.000Z
test/imgex_test.exs
envato/imgex
890e11481590b041197f2f674a42505d3c3e660c
[ "ISC" ]
15
2016-01-11T12:51:21.000Z
2021-08-31T15:32:57.000Z
defmodule ImgexTest do use ExUnit.Case doctest Imgex test "proxy_url/2 when params are an empty map generates an appropriate url" do assert Imgex.proxy_url("http://avatars.com/john-smith.png", %{}) == "https://my-social-network.imgix.net/http%3A%2F%2Favatars.com%2Fjohn-smith.png?s=493a52f008c914...
32.967033
127
0.580333
28d76221420f041817eb6781e479d3ce33e558c7
654
ex
Elixir
lib/oli/delivery/attempts/activity_lifecycle/node.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli/delivery/attempts/activity_lifecycle/node.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli/delivery/attempts/activity_lifecycle/node.ex
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.Attempts.ActivityLifecycle.NodeEvaluator do alias Oli.Delivery.Attempts.ActivityLifecycle.RuleEvaluator require Logger @behaviour RuleEvaluator @impl RuleEvaluator def evaluate(state, rules, scoring_context) do Logger.debug("Sending State to Node #{Jason.encode!(state)}") ca...
27.25
81
0.669725
28d773199192af8b9fa587d311b879266ffd06dd
507
ex
Elixir
lib/xfighter.ex
bitchef/xfighter
99a589eb148342e590a419795bbf69c701dca926
[ "MIT" ]
2
2015-12-18T20:33:08.000Z
2016-04-06T12:23:56.000Z
lib/xfighter.ex
bitchef/xfighter
99a589eb148342e590a419795bbf69c701dca926
[ "MIT" ]
null
null
null
lib/xfighter.ex
bitchef/xfighter
99a589eb148342e590a419795bbf69c701dca926
[ "MIT" ]
null
null
null
defmodule Xfighter do alias Xfighter.Exception.ConnectionError import Xfighter.API, only: [request: 2] require Logger @doc """ A simple health check for the API. ## Example: iex> Xfighter.heartbeat true """ @spec heartbeat :: boolean def heartbeat do try do case request(:get, "/heartb...
18.107143
42
0.633136
28d7776decfe5c79aaf9c65d56b64373a8a82781
1,471
exs
Elixir
test/farmbot_ext/bootstrap_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/farmbot_ext/bootstrap_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/farmbot_ext/bootstrap_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.BootstrapTest do require Helpers use ExUnit.Case use Mimic import ExUnit.CaptureLog alias FarmbotOS.Bootstrap alias FarmbotOS.Bootstrap.Authorization setup :verify_on_exit! test "performs a factory reset if the email is wrong" do expect(Bootstrap.Authorization, :authorize_with_p...
29.42
78
0.614548
28d779b23a05eed5da50ec5c40758dc77ecdcec4
1,959
exs
Elixir
test/store/in_memory_test.exs
qixxit/traktor
9d7f332570768d3d1e4339c2a3e2c71bc92c12e5
[ "BSD-2-Clause" ]
8
2018-12-27T08:02:49.000Z
2020-06-25T01:57:15.000Z
test/store/in_memory_test.exs
qixxit/traktor
9d7f332570768d3d1e4339c2a3e2c71bc92c12e5
[ "BSD-2-Clause" ]
null
null
null
test/store/in_memory_test.exs
qixxit/traktor
9d7f332570768d3d1e4339c2a3e2c71bc92c12e5
[ "BSD-2-Clause" ]
1
2019-01-09T18:06:23.000Z
2019-01-09T18:06:23.000Z
defmodule Traktor.Store.InMemoryTest do use ExUnit.Case alias Traktor.Store.InMemory, as: Store defmodule Action do end test "get, prepare, and commit" do assert {:ok, ref} = Store.start_link("Initial State") assert {:ok, revision, "Initial State"} = Store.get(ref) assert {:ok, transaction_ref}...
39.18
95
0.686064
28d77a8859b9fd387a30dbc3adeedcdf6378a411
984
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/unqualified_no_parentheses_many_arguments_call_parsing_test_case/CaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/unqualified_no_parentheses_many_arguments_call_parsing_test_case/CaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/unqualified_no_parentheses_many_arguments_call_parsing_test_case/CaptureNumericOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
&1.and unqualified positional, key: value &1.&& unqualified positional, key: value &1.|> unqualified positional, key: value &1.@ unqualified positional, key: value &1.& unqualified positional, key: value &1.== unqualified positional, key: value &1.+ unqualified positional, key: value &1.^^^ unqualified positional, key:...
39.36
43
0.753049
28d7b46d756c8a34a33beb5f3503e864da81d19f
139
exs
Elixir
test/bitstyles_phoenix/component/sidebar_test.exs
bitcrowd/bitstyles_phoenix
697d9380d376f23885b696776736643687d4dd14
[ "0BSD" ]
4
2021-03-12T07:57:06.000Z
2021-11-15T11:41:30.000Z
test/bitstyles_phoenix/component/sidebar_test.exs
bitcrowd/bitstyles_phoenix
697d9380d376f23885b696776736643687d4dd14
[ "0BSD" ]
39
2021-03-11T15:36:51.000Z
2022-01-04T12:13:48.000Z
test/bitstyles_phoenix/component/sidebar_test.exs
bitcrowd/bitstyles_phoenix
697d9380d376f23885b696776736643687d4dd14
[ "0BSD" ]
null
null
null
defmodule BitstylesPhoenix.Component.SidebarTest do use BitstylesPhoenix.ComponentCase doctest BitstylesPhoenix.Component.Sidebar end
23.166667
51
0.870504
28d7e1d191c7f7e7bf99bdde11829ff1fa17c500
608
ex
Elixir
elixir/lib/com/spoonacular/client/model/inline_response_200_18_ingredients.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
21
2019-08-09T18:53:26.000Z
2022-03-14T22:10:10.000Z
elixir/lib/com/spoonacular/client/model/inline_response_200_18_ingredients.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
null
null
null
elixir/lib/com/spoonacular/client/model/inline_response_200_18_ingredients.ex
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
55
2019-08-13T17:52:47.000Z
2022-03-27T04:29:34.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule com.spoonacular.client.Model.InlineResponse20018Ingredients do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"image", :...
20.266667
91
0.674342
28d81075e4994000a9d01cd219508dc571f857d9
2,355
exs
Elixir
bliss_01/test/bliss_interpreter_test.exs
kallisto/bliss
fb0db73784ad01fb3bcc495afcbd75110f62599c
[ "MIT" ]
null
null
null
bliss_01/test/bliss_interpreter_test.exs
kallisto/bliss
fb0db73784ad01fb3bcc495afcbd75110f62599c
[ "MIT" ]
null
null
null
bliss_01/test/bliss_interpreter_test.exs
kallisto/bliss
fb0db73784ad01fb3bcc495afcbd75110f62599c
[ "MIT" ]
null
null
null
defmodule Bliss.InterpreterTest do alias Bliss.Interpreter use ExUnit.Case doctest Bliss setup do {:ok, [opts: %{mode: :RUN, flags: MapSet.new, hidden: MapSet.new}]} end test "call elixir code from inside bliss", %{opts: opts} do assert Interpreter.interpret(opts, [2, [1, 2, 3], [:'Elixir.Enum', :...
42.818182
139
0.526115
28d8327081f04cc2c4333930ed798b57c4b15df6
2,209
exs
Elixir
test/atr_test.exs
GunnarPDX/trade-indicators
e8b78235d556a267ff67cc381f73a2f703b8ca23
[ "MIT" ]
2
2020-11-22T23:42:52.000Z
2021-04-11T06:34:15.000Z
test/atr_test.exs
GunnarPDX/trade-indicators
e8b78235d556a267ff67cc381f73a2f703b8ca23
[ "MIT" ]
null
null
null
test/atr_test.exs
GunnarPDX/trade-indicators
e8b78235d556a267ff67cc381f73a2f703b8ca23
[ "MIT" ]
null
null
null
defmodule TradeIndicators.Tests.ATR do use ExUnit.Case alias TradeIndicators.Util, as: U alias TradeIndicators.ATR alias Enum, as: E @msft_data TradeIndicators.Tests.Fixtures.fixture(:msft_m1_2020_07_27) @tr [0.00, 1.35, 0.08, 0.14, 0.21, 0.15, 0.09, 0.69, 0.40, 1.25] ++ [0.68, 0.42, 0.56, 0.56, 0....
35.629032
76
0.482571
28d835c87f6c1f6b620b2c9761a8eb1abc580d5b
178
ex
Elixir
lib/softwaremaxims_web/controllers/about_controller.ex
DianaOlympos/dianao-softwaremaxims
c153908fb6abe90487a05c64fd806c88b3414295
[ "MIT" ]
null
null
null
lib/softwaremaxims_web/controllers/about_controller.ex
DianaOlympos/dianao-softwaremaxims
c153908fb6abe90487a05c64fd806c88b3414295
[ "MIT" ]
7
2018-10-13T20:45:27.000Z
2018-10-29T12:42:22.000Z
lib/softwaremaxims_web/controllers/about_controller.ex
DianaOlympos/dianao-softwaremaxims
c153908fb6abe90487a05c64fd806c88b3414295
[ "MIT" ]
null
null
null
defmodule SoftwaremaximsWeb.AboutController do use SoftwaremaximsWeb, :controller def index(conn, _params) do render(conn, "about.html", add_blog_style: true) end end
22.25
52
0.769663
28d843bac9377e5680b5c5aee3fc1409c2ac0a55
2,357
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/memberships_level.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/memberships_level.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/memberships_level.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.283333
172
0.72168
28d843fee2361ec5ac0ce33d4d03fef6799a6984
16,217
ex
Elixir
lib/mail/parsers/rfc_2822.ex
sam701/elixir-mail
5771a8b8808c26f7d6adc3a44859f2c140c994e1
[ "MIT" ]
null
null
null
lib/mail/parsers/rfc_2822.ex
sam701/elixir-mail
5771a8b8808c26f7d6adc3a44859f2c140c994e1
[ "MIT" ]
null
null
null
lib/mail/parsers/rfc_2822.ex
sam701/elixir-mail
5771a8b8808c26f7d6adc3a44859f2c140c994e1
[ "MIT" ]
null
null
null
defmodule Mail.Parsers.RFC2822 do @moduledoc """ RFC2822 Parser Will attempt to parse a valid RFC2822 message back into a `%Mail.Message{}` data model. Mail.Parsers.RFC2822.parse(message) %Mail.Message{body: "Some message", headers: %{to: ["user@example.com"], from: "other@example.com", subject: "...
35.254348
129
0.634766
28d896a89143af693a9932eb199f370f39365874
677
ex
Elixir
lib/nets_easy/model/order_item.ex
hooplab/nets-easy-elixir
5d60a31ef36bb1518d7a3768851d09b258f62411
[ "MIT" ]
null
null
null
lib/nets_easy/model/order_item.ex
hooplab/nets-easy-elixir
5d60a31ef36bb1518d7a3768851d09b258f62411
[ "MIT" ]
null
null
null
lib/nets_easy/model/order_item.ex
hooplab/nets-easy-elixir
5d60a31ef36bb1518d7a3768851d09b258f62411
[ "MIT" ]
null
null
null
defmodule NetsEasy.Model.OrderItem do @moduledoc """ """ @typedoc """ """ @type t :: %__MODULE__{ reference: String.t() | nil, name: String.t(), quantity: Integer.t(), unit: String.t(), unit_price: Integer.t(), tax_rate: Integer.t(), tax_a...
19.342857
42
0.545052
28d8c47ea174d5ae76f202e72c0fd5f5a6514d56
2,785
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/comment_thread_list_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/comment_thread_list_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/comment_thread_list_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...
40.362319
162
0.720646
28d943e9a461178cbd407c85c2dbeecd06c95053
336
ex
Elixir
lib/supabase_surface/components/icons/icon_link.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_link.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_link.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconLink do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.link(width: icon_size, height: icon_size)} </IconContainer> ...
22.4
62
0.714286
28d9633d9dcc4a1d8064ca874fa52a7c2a4d6486
6,580
exs
Elixir
test/number/rbnf_test.exs
kipcole9/cldr_numbers
c840630fcb729cd8245b843c0b12f08e64fbc8f1
[ "Apache-2.0" ]
8
2017-12-13T00:39:34.000Z
2019-04-12T06:00:07.000Z
test/number/rbnf_test.exs
kipcole9/cldr_numbers
c840630fcb729cd8245b843c0b12f08e64fbc8f1
[ "Apache-2.0" ]
8
2017-10-29T23:38:32.000Z
2019-03-20T19:22:43.000Z
test/number/rbnf_test.exs
kipcole9/cldr_numbers
c840630fcb729cd8245b843c0b12f08e64fbc8f1
[ "Apache-2.0" ]
7
2017-10-05T11:35:36.000Z
2018-08-20T12:17:03.000Z
defmodule Rbnf.Test do use ExUnit.Case, async: true alias TestBackend.Cldr test "rbnf spellout" do assert {:ok, "twenty-five thousand three hundred forty"} = Cldr.Number.to_string(25_340, format: :spellout) end test "rbnf spellout in german" do assert {:ok, "fünf­und­zwanzig­tausend­dr...
39.166667
104
0.636626
28d96cf75941bc6f350f2dba6fb26023b8ced449
1,303
ex
Elixir
lib/posexional.ex
GPrimola/posexional
ea4e24388ffba0568a9a7b9aeaf236b81965fb24
[ "MIT" ]
10
2017-02-21T20:59:18.000Z
2021-01-28T13:44:41.000Z
lib/posexional.ex
GPrimola/posexional
ea4e24388ffba0568a9a7b9aeaf236b81965fb24
[ "MIT" ]
13
2016-10-16T15:45:51.000Z
2021-02-12T09:38:28.000Z
lib/posexional.ex
GPrimola/posexional
ea4e24388ffba0568a9a7b9aeaf236b81965fb24
[ "MIT" ]
8
2016-10-16T12:43:03.000Z
2021-01-28T20:47:51.000Z
defmodule Posexional do @external_resource readme = "README.md" @moduledoc """ Posexional is a library to manage positional files in Elixir. #{ readme |> File.read!() |> String.split("<!--MDOC !-->") |> Enum.fetch!(1) } """ @doc """ write a positional file with the given struct and dat...
27.723404
102
0.66155
28d9c81702140fd69efd778a9e9a82bc31d0e740
1,135
exs
Elixir
config/config.exs
Kukunin/cryptonightex
aad00d2c1058917f20045b0589f3971377931693
[ "MIT" ]
2
2018-04-11T22:50:14.000Z
2018-08-02T09:27:53.000Z
config/config.exs
Kukunin/cryptonightex
aad00d2c1058917f20045b0589f3971377931693
[ "MIT" ]
null
null
null
config/config.exs
Kukunin/cryptonightex
aad00d2c1058917f20045b0589f3971377931693
[ "MIT" ]
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...
36.612903
73
0.754185
28d9cc2753d2308c7f76385440b68499c7475fff
671
exs
Elixir
config/test.exs
ricardopadua/rocketpay
dfa8edfb490134227d4a3e06615bfebf2da58b93
[ "Apache-2.0" ]
null
null
null
config/test.exs
ricardopadua/rocketpay
dfa8edfb490134227d4a3e06615bfebf2da58b93
[ "Apache-2.0" ]
null
null
null
config/test.exs
ricardopadua/rocketpay
dfa8edfb490134227d4a3e06615bfebf2da58b93
[ "Apache-2.0" ]
null
null
null
use Mix.Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :rocketpay, Rocketpay.Repo, username: "postgres", password: "leruaite", database: "rocketpay_test#{Sys...
29.173913
68
0.752608
28d9da0a1a6dad06a92e0d94adb337c243cec0f2
583
ex
Elixir
web/view.ex
henrik/stockholm-elixir
56a93e4dfb02f24f4ef69684dce5d4239b1e2cd4
[ "Unlicense" ]
null
null
null
web/view.ex
henrik/stockholm-elixir
56a93e4dfb02f24f4ef69684dce5d4239b1e2cd4
[ "Unlicense" ]
null
null
null
web/view.ex
henrik/stockholm-elixir
56a93e4dfb02f24f4ef69684dce5d4239b1e2cd4
[ "Unlicense" ]
null
null
null
defmodule StockholmElixir.View do use Phoenix.View, root: "web/templates" # The quoted expression returned by this block is applied # to this module and all other views that use this module. using do quote do # Import common functionality import StockholmElixir.I18n import StockholmElixir...
26.5
72
0.718696
28d9dafdf31bf9eee7869a0648dd34760471a27f
551
ex
Elixir
lib/bgsite_official/home/website_tag.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
1
2021-08-05T12:44:37.000Z
2021-08-05T12:44:37.000Z
lib/bgsite_official/home/website_tag.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
16
2021-02-20T19:22:45.000Z
2021-06-14T13:59:01.000Z
lib/bgsite_official/home/website_tag.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
3
2021-05-17T17:54:43.000Z
2021-11-03T15:30:30.000Z
defmodule BgsiteOfficial.Home.WebsiteTag do use Ecto.Schema import Ecto.Changeset alias BgsiteOfficial.Home.Websites alias BgsiteOfficial.Categories.Tag schema "website_tag" do belongs_to :websites, Websites belongs_to :tag, Tag timestamps() end @doc false def changeset(struct, attrs \\...
22.04
74
0.718693
28da2dada1a67236d9d5cb99ce35d72461bc6130
782
ex
Elixir
lib/credo/issue.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
lib/credo/issue.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
lib/credo/issue.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.Issue do @moduledoc """ `Issue` structs represent all issues found during the code analysis. """ @type t :: %__MODULE__{} defstruct check: nil, category: nil, priority: 0, severity: nil, message: nil, filename: nil, line...
28.962963
70
0.534527
28da34549ee4f30b201b36e973244fbfe2f096c1
914
ex
Elixir
lib/translator.ex
mkremins/alembic
2ae459201220b63af083d0d54325af93afa877f1
[ "MIT" ]
2
2016-01-21T23:36:48.000Z
2016-10-08T09:55:45.000Z
lib/translator.ex
mkremins/alembic
2ae459201220b63af083d0d54325af93afa877f1
[ "MIT" ]
null
null
null
lib/translator.ex
mkremins/alembic
2ae459201220b63af083d0d54325af93afa877f1
[ "MIT" ]
null
null
null
defmodule Alembic.Translator do @moduledoc """ Defines the Translator behaviour, implementations of which are used to translate packets to and from standardized Alembic-internal requests and events on behalf of clients of various types. """ use Behaviour @typep socket :: Socket.t @typep request :: {at...
32.642857
77
0.705689
28da55ebc0b6f62e37e925a0a05d3ea70d116c70
997
ex
Elixir
backend/web/views/error_helpers.ex
jchamet/PEEP-clean
a87245a77776e2b03b6893539ed2431f95426ab0
[ "MIT" ]
null
null
null
backend/web/views/error_helpers.ex
jchamet/PEEP-clean
a87245a77776e2b03b6893539ed2431f95426ab0
[ "MIT" ]
null
null
null
backend/web/views/error_helpers.ex
jchamet/PEEP-clean
a87245a77776e2b03b6893539ed2431f95426ab0
[ "MIT" ]
null
null
null
defmodule Backend.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 if error = form.errors[field] do content_tag :span, translate_error(error), ...
27.694444
78
0.679037
28da5fff0fce78c08d7cbdb9405340803895872b
1,201
exs
Elixir
priv/repo/migrations/20210723074922_add_indexes.exs
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
13
2021-03-06T12:16:34.000Z
2022-03-31T09:46:35.000Z
priv/repo/migrations/20210723074922_add_indexes.exs
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
148
2021-03-05T12:44:55.000Z
2022-03-11T12:09:06.000Z
priv/repo/migrations/20210723074922_add_indexes.exs
HierBautBerlin/website
91410e7c61c1efad438fe84bf550f87b0056c440
[ "MIT" ]
2
2021-06-02T14:31:21.000Z
2022-02-14T08:36:51.000Z
defmodule Hierbautberlin.Repo.Migrations.AddIndexes do use Ecto.Migration def change do create index(:geo_items, [:hidden]) create index(:news_items, [:hidden]) execute("CREATE EXTENSION IF NOT EXISTS fuzzystrmatch;") alter table(:geo_streets) do add :fulltext_search, :tsvector end ...
27.295455
98
0.705246
28da76aea53f5d197c3b1cd554659b71633c7129
1,757
ex
Elixir
lib/quantum/executor_supervisor.ex
barthez/quantum-elixir
264e8fad134ed3622360555def32d89d75c7e20e
[ "Apache-2.0" ]
991
2015-04-27T12:26:50.000Z
2019-07-22T06:24:02.000Z
lib/quantum/executor_supervisor.ex
barthez/quantum-elixir
264e8fad134ed3622360555def32d89d75c7e20e
[ "Apache-2.0" ]
278
2015-05-27T18:15:53.000Z
2018-03-22T14:48:33.000Z
lib/quantum/executor_supervisor.ex
barthez/quantum-elixir
264e8fad134ed3622360555def32d89d75c7e20e
[ "Apache-2.0" ]
96
2015-05-02T06:41:34.000Z
2020-11-30T19:44:00.000Z
defmodule Quantum.ExecutorSupervisor do @moduledoc """ This `ConsumerSupervisor` is responsible to start a job for every execute event. """ use ConsumerSupervisor alias Quantum.Util @spec start_link(GenServer.server(), GenServer.server(), GenServer.server(), GenServer.server()) :: GenServer.on_...
29.779661
101
0.669892
28da8a5418bbbc7162ac08ea09979cc05fc40189
4,648
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/technology_targeting.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/technology_targeting.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/technology_targeting.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 ...
67.362319
481
0.763339
28da9ec0da2efbcd507e8de064c7e5fc429547c5
2,447
ex
Elixir
lib/rill/message_store.ex
Carburetor/rill
6ba477373cff28f56fbead9a316166d994da67d3
[ "MIT" ]
null
null
null
lib/rill/message_store.ex
Carburetor/rill
6ba477373cff28f56fbead9a316166d994da67d3
[ "MIT" ]
null
null
null
lib/rill/message_store.ex
Carburetor/rill
6ba477373cff28f56fbead9a316166d994da67d3
[ "MIT" ]
null
null
null
defmodule Rill.MessageStore do alias Rill.MessageStore.MessageData.Read alias Rill.Session alias Rill.MessageStore.StreamName @type read_option :: {:position, non_neg_integer()} | {:batch_size, pos_integer()} @doc """ Returned enumerable must be a stream from the given position until th...
33.986111
82
0.628525
28daa0819776cf9f0c98c55e0de35fb66606c5aa
2,225
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/backend_bucket_cdn_policy.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_bucket_cdn_policy.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/backend_bucket_cdn_policy.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...
43.627451
519
0.757753
28daaaf2e152451fc457c56d7f2235fec4ba85ed
880
ex
Elixir
apps/banking_challenge/lib/banking_challenge/accounts/schemas/account.ex
JoaoAngelojr/banking_challenge
eec2f8b15a0c7da7daeb157c76a52ce4639ddc7c
[ "Apache-2.0" ]
null
null
null
apps/banking_challenge/lib/banking_challenge/accounts/schemas/account.ex
JoaoAngelojr/banking_challenge
eec2f8b15a0c7da7daeb157c76a52ce4639ddc7c
[ "Apache-2.0" ]
null
null
null
apps/banking_challenge/lib/banking_challenge/accounts/schemas/account.ex
JoaoAngelojr/banking_challenge
eec2f8b15a0c7da7daeb157c76a52ce4639ddc7c
[ "Apache-2.0" ]
null
null
null
defmodule BankingChallenge.Accounts.Schemas.Account do @moduledoc """ The entity of Account. """ use Ecto.Schema import Ecto.Changeset @required [:owner_name, :email, :balance] @optional [] @derive {Jason.Encoder, except: [:__meta__]} @primary_key {:id, Ecto.UUID, autogenerate: true} schema "acc...
23.157895
61
0.676136
28dac5fc6eef5bc6aab3a7fb05016f082272367a
1,729
ex
Elixir
clients/tpu/lib/google_api/tpu/v1/model/list_locations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/tpu/lib/google_api/tpu/v1/model/list_locations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/tpu/lib/google_api/tpu/v1/model/list_locations_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.58
159
0.731637
28daeb8bd4112629ae53970f9549d66ac26c1df5
1,028
exs
Elixir
docs/tasks/sample/tasks.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
1
2021-09-22T09:52:11.000Z
2021-09-22T09:52:11.000Z
docs/tasks/sample/tasks.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
22
2019-06-19T18:58:13.000Z
2020-03-16T14:43:06.000Z
docs/tasks/sample/tasks.exs
DennisWinnepenninckx/distributed-applications
06743e4e2a09dc52ff52be831e486bb073916173
[ "BSD-3-Clause" ]
32
2019-09-19T03:25:11.000Z
2020-10-06T15:01:47.000Z
defmodule Benchmark do def measure(function) do function |> :timer.tc() |> elem(0) |> Kernel./(1_000_000) end end defmodule Factorials do def calculate(n), do: calculate(n, 1) def calculate(1, acc), do: acc def calculate(n, acc), do: calculate(n - 1, acc * n) end defmodule Triangular do de...
19.769231
69
0.61965
28db42919c9854a535751e49a99b3b93fb0c08b1
589
ex
Elixir
lib/my_app/unit.ex
PhillippOhlandt/dynamic_supervision_communication
9632524b9760505734fc12cf66633a5824c5d0d7
[ "MIT" ]
null
null
null
lib/my_app/unit.ex
PhillippOhlandt/dynamic_supervision_communication
9632524b9760505734fc12cf66633a5824c5d0d7
[ "MIT" ]
null
null
null
lib/my_app/unit.ex
PhillippOhlandt/dynamic_supervision_communication
9632524b9760505734fc12cf66633a5824c5d0d7
[ "MIT" ]
null
null
null
defmodule MyApp.Unit do @moduledoc false use Supervisor alias MyApp.Unit.Service alias MyApp.Unit.Worker def start_link(arg) do name = {:via, Registry, {MyApp.Registry, {:unit, arg}}} Supervisor.start_link(__MODULE__, arg, name: name) end def init(arg) do children = [ {Service, arg}...
24.541667
97
0.658744
28db74829bee2b1d894d37ba0f2c03a066b5f19e
312
exs
Elixir
exercises/flatten-array/flatten_array.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/flatten-array/flatten_array.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/flatten-array/flatten_array.exs
jerith/elixir
9a3f2a2fbee26a7b6a6b3ad74a9e6d1ff2495ed4
[ "Apache-2.0" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule FlattenArray do @doc """ Accept a list and return the list flattened without nil values. ## Examples iex> FlattenArray.flatten([1, [2], 3, nil]) [1,2,3] iex> FlattenArray.flatten([nil, nil]) [] """ @spec flatten(list) :: list def flatten(list) do end end
16.421053
67
0.596154
28db8c951968f509367e0c1c207826cf000fae90
381
exs
Elixir
priv/repo/migrations/20180615235424_create_book_author.exs
zephraph/readtome
64a5f773bdc3c19d9c5ac50a04aa14e446e36c55
[ "MIT" ]
1
2021-09-05T20:54:57.000Z
2021-09-05T20:54:57.000Z
priv/repo/migrations/20180615235424_create_book_author.exs
zephraph/readtome
64a5f773bdc3c19d9c5ac50a04aa14e446e36c55
[ "MIT" ]
17
2019-07-06T17:31:56.000Z
2021-06-22T15:31:06.000Z
priv/repo/migrations/20180615235424_create_book_author.exs
zephraph/readtome
64a5f773bdc3c19d9c5ac50a04aa14e446e36c55
[ "MIT" ]
1
2021-03-15T20:50:27.000Z
2021-03-15T20:50:27.000Z
defmodule Readtome.Repo.Migrations.CreateBookAuthor do use Ecto.Migration def change do create table(:book_authors) do add :book_id, references(:books, on_delete: :nothing) add :author_id, references(:authors, on_delete: :nothing) timestamps() end create index(:book_authors, [:book_...
23.8125
63
0.703412
28dba1cf566178504a568b25895dcd266fb78f50
1,469
exs
Elixir
mix.exs
ntsai/xin
f4faeb73a3041a2923559f16a2255712e1615aae
[ "MIT" ]
null
null
null
mix.exs
ntsai/xin
f4faeb73a3041a2923559f16a2255712e1615aae
[ "MIT" ]
null
null
null
mix.exs
ntsai/xin
f4faeb73a3041a2923559f16a2255712e1615aae
[ "MIT" ]
null
null
null
defmodule Xin.Mixfile do use Mix.Project @version "0.1.0" def project do [app: :xin, version: @version, elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, name: "Xin", docs: [extras: ["README.md"], main: "Xin"], deps: deps, package:...
23.693548
79
0.543227
28dbcccde20beba9862e55be4c2ad00b5298b77c
372
exs
Elixir
mix.exs
lucidstack/elixir-midifile
7eac20c6da3b84804987a5ec0eb3c6f40bce3a8c
[ "Apache-2.0" ]
7
2016-10-09T06:59:31.000Z
2022-02-09T22:23:09.000Z
mix.exs
lucidstack/elixir-midifile
7eac20c6da3b84804987a5ec0eb3c6f40bce3a8c
[ "Apache-2.0" ]
null
null
null
mix.exs
lucidstack/elixir-midifile
7eac20c6da3b84804987a5ec0eb3c6f40bce3a8c
[ "Apache-2.0" ]
5
2016-01-06T17:37:04.000Z
2022-02-09T22:23:24.000Z
defmodule Midifile.Mixfile do use Mix.Project def project do [ app: :midifile, version: "1.0.0", deps: deps ] end # Configuration for the OTP application def application do [] end # Returns the list of dependencies in the format: # { :foobar, "0.1", git: "https://github.com/elixir...
17.714286
72
0.629032
28dc0075af57d671c8f7b8d2a43f5c689089ccfd
2,618
ex
Elixir
lib/yelp_ex/client.ex
AlchemyAlcove/yelp_ex
5c015ab073b3ed4d254f1a4f263a34a214bad6c8
[ "MIT" ]
2
2018-08-11T02:38:47.000Z
2020-01-28T03:14:06.000Z
lib/yelp_ex/client.ex
AlchemyAlcove/yelp_ex
5c015ab073b3ed4d254f1a4f263a34a214bad6c8
[ "MIT" ]
2
2018-08-09T13:43:40.000Z
2019-01-25T15:20:42.000Z
lib/yelp_ex/client.ex
AlchemyAlcove/yelp_ex
5c015ab073b3ed4d254f1a4f263a34a214bad6c8
[ "MIT" ]
5
2017-11-04T23:06:22.000Z
2019-09-22T00:48:15.000Z
defmodule YelpEx.Client do @moduledoc """ Client to interact with Yelp's Fusion API. """ use YelpEx.Client.Base @doc """ Issues a GET request to the `/businesses/search` endpoint. GET https://api.yelp.com/v3/businesses/search This endpoint performs a search of businesses based on the options s...
26.989691
89
0.65508
28dc355f34fc2760480b09e2ec6029321bf84cb8
658
ex
Elixir
lib/bitpal_api/views/currency_view.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
5
2021-05-04T21:28:00.000Z
2021-12-01T11:19:48.000Z
lib/bitpal_api/views/currency_view.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
71
2021-04-21T05:48:49.000Z
2022-03-23T06:30:37.000Z
lib/bitpal_api/views/currency_view.ex
bitpal/bitpal
0e10eeaacf7a65b23945cfb95e4dbda8bffd4590
[ "BSD-3-Clause-Clear" ]
1
2021-04-25T10:35:41.000Z
2021-04-25T10:35:41.000Z
defmodule BitPalApi.CurrencyView do use BitPalApi, :view def render("index.json", %{currencies: currencies}) do Enum.map(currencies, &Atom.to_string/1) end def render("show.json", %{ currency_id: currency_id, status: status, addresses: addresses, invoices: invoices })...
22.689655
56
0.592705
28dc3de73ab57b2b31b3ce7264bcb6aa21cdcf60
2,208
exs
Elixir
config/dev.exs
kuroda/live_dendron
dd21ed5c53456765ea0c50a22bdf915c0c55c92f
[ "MIT" ]
5
2019-07-27T14:57:38.000Z
2020-11-01T00:26:32.000Z
config/dev.exs
kuroda/live_dendron
dd21ed5c53456765ea0c50a22bdf915c0c55c92f
[ "MIT" ]
6
2019-07-29T03:45:23.000Z
2021-05-10T03:49:39.000Z
config/dev.exs
kuroda/live_dendron
dd21ed5c53456765ea0c50a22bdf915c0c55c92f
[ "MIT" ]
2
2019-07-29T02:17:02.000Z
2020-02-17T17:59:05.000Z
use Mix.Config # Configure your database config :live_dendron, LiveDendron.Repo, username: "postgres", password: "", database: "live_dendron_dev", hostname: "db", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code reloading....
28.307692
68
0.692029
28dc4aefcc02ca0fb1aa99523d686be630188dc3
494
exs
Elixir
test/test_helper.exs
skeleton-elixir/skeleton_service
321b000003ef60db83b1d3619aca0cfc7b3f373d
[ "MIT" ]
null
null
null
test/test_helper.exs
skeleton-elixir/skeleton_service
321b000003ef60db83b1d3619aca0cfc7b3f373d
[ "MIT" ]
5
2020-06-27T20:13:33.000Z
2021-12-17T22:34:23.000Z
test/test_helper.exs
skeleton-elixir/skeleton_service
321b000003ef60db83b1d3619aca0cfc7b3f373d
[ "MIT" ]
null
null
null
defmodule Skeleton.Service.TestCase do use ExUnit.CaseTemplate using opts do quote do use ExUnit.Case, unquote(opts) import Ecto.Query import Ecto.Changeset alias Skeleton.App.Repo end end setup do :ok = Ecto.Adapters.SQL.Sandbox.checkout(Skeleton.App.Repo) Ecto.Adapter...
21.478261
72
0.710526
28dc5b092a97b7d88fed878bbe6b10a6db384138
1,790
ex
Elixir
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/tag.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/tag.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/tag.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...
35.8
205
0.731285
28dc71f01f0c5d804ec10453ec0d19ea3e37c122
996
exs
Elixir
test/helper_test.exs
freieslabor/murnau
a8d8fc800dba54708df4291ae2525d2bf1b90aab
[ "MIT" ]
null
null
null
test/helper_test.exs
freieslabor/murnau
a8d8fc800dba54708df4291ae2525d2bf1b90aab
[ "MIT" ]
null
null
null
test/helper_test.exs
freieslabor/murnau
a8d8fc800dba54708df4291ae2525d2bf1b90aab
[ "MIT" ]
null
null
null
defmodule HelperTest do use ExUnit.Case, async: true doctest Murnau require Logger test "nearest_match" do map = %{"open" => 1, "close" => 2} s1 = "open" s2 = "ope" s3 = "opened" s4 = "close" s5 = "cose" s6 = "closed" s7 = "foobar" s8 = "me" s9 = "me roger" assert M...
34.344828
101
0.633534
28dc9ac5c99ae2e45f1f1e8b8943ade1b53eaffc
1,760
ex
Elixir
lib/sobelow/config/https.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
1,305
2017-05-12T21:09:40.000Z
2022-03-31T04:31:49.000Z
lib/sobelow/config/https.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
95
2017-05-15T09:45:41.000Z
2022-03-23T03:35:48.000Z
lib/sobelow/config/https.ex
juancgalvis/sobelow
9ae3874c26ab7cfa6c8a8517ccd02af98e187585
[ "Apache-2.0" ]
86
2017-05-15T20:18:59.000Z
2022-02-11T22:10:34.000Z
defmodule Sobelow.Config.HTTPS do @moduledoc """ # HTTPS Without HTTPS, attackers in a privileged network position can intercept and modify traffic. Sobelow detects missing HTTPS by checking the prod configuration. HTTPS checks can be ignored with the following command: $ mix sobelow -i Config.H...
22
76
0.631818
28dcc244381a5bb8bb2239d5c330b72efe510dc9
2,800
ex
Elixir
lib/supercollider/synthdef/encoder.ex
camshaft/ex_supercollider
7f21848f7fb5f09f5d03d066621e4662383f0ac5
[ "MIT" ]
1
2017-09-27T00:34:57.000Z
2017-09-27T00:34:57.000Z
lib/supercollider/synthdef/encoder.ex
camshaft/ex_supercollider
7f21848f7fb5f09f5d03d066621e4662383f0ac5
[ "MIT" ]
null
null
null
lib/supercollider/synthdef/encoder.ex
camshaft/ex_supercollider
7f21848f7fb5f09f5d03d066621e4662383f0ac5
[ "MIT" ]
null
null
null
alias SuperCollider.Synthdef defprotocol Synthdef.Encoder do def encode(value, opts) end defmodule Synthdef.Encoder.Utils do def encode_int8(value), do: <<value :: size(8)>> def encode_int16(value), do: <<value :: size(16)>> def encode_int32(value), do: <<value :: size(32)>> def encode_list16(list, fun) wh...
26.168224
59
0.621786
28dcd286768b0f82455d45d56c4f926c65984d87
497
ex
Elixir
lib/kommissar_web/router.ex
patatoid/kommissar
c6c06ba29257ba7641daf03e8e4a94fa967ecfd6
[ "MIT" ]
null
null
null
lib/kommissar_web/router.ex
patatoid/kommissar
c6c06ba29257ba7641daf03e8e4a94fa967ecfd6
[ "MIT" ]
null
null
null
lib/kommissar_web/router.ex
patatoid/kommissar
c6c06ba29257ba7641daf03e8e4a94fa967ecfd6
[ "MIT" ]
null
null
null
defmodule KommissarWeb.Router do use KommissarWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", KommissarWeb do ...
18.407407
39
0.678068
28dcf0a9a74846b66e4cb9d5f0db84e26bc4203f
14,195
ex
Elixir
clients/street_view_publish/lib/google_api/street_view_publish/v1/api/photos.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/api/photos.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/street_view_publish/lib/google_api/street_view_publish/v1/api/photos.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
53.164794
915
0.69764
28dcfea9f2e41c8302cf9bf682446244fdb7529f
2,337
exs
Elixir
test/acceptance/html/fenced_code_blocks_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/acceptance/html/fenced_code_blocks_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/acceptance/html/fenced_code_blocks_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
defmodule Acceptance.Html.FencedCodeBlocksTest do use ExUnit.Case, async: true import Support.Helpers, only: [as_html: 1, as_html: 2] describe "Fenced code blocks" do test "no lang" do markdown = "```\n<\n >\n```\n" html = "<pre><code class=\"\">&lt;\n &gt;</code></pre>\n" messages = [...
30.75
83
0.56012
28dd03cfbaa7fd7974f5b23ed1d5eebeffb0e28d
496
ex
Elixir
test/support/fixtures/blogs_fixtures.ex
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
test/support/fixtures/blogs_fixtures.ex
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
test/support/fixtures/blogs_fixtures.ex
audacioustux/philopets
9380416937d635d4b1f5e13fa6f8b52ee603addf
[ "blessing" ]
null
null
null
defmodule Philopets.BlogsFixtures do @moduledoc """ This module defines test helpers for creating entities via the `Philopets.Blogs` context. """ alias Philopets.Accounts.ProfilesFixtures @doc """ Generate a blog. """ def blog_fixture(attrs \\ %{profile_id: ProfilesFixtures.profile_fixture().id}) do...
20.666667
84
0.635081
28dd1208af1485cd1dd4a0c85336a7f373670793
2,013
ex
Elixir
web/controllers/delivery_service_type_controller.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
2
2016-11-16T17:24:21.000Z
2019-02-15T05:38:27.000Z
web/controllers/delivery_service_type_controller.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
web/controllers/delivery_service_type_controller.ex
rob05c/tox
f54847ca058ad24b909341ad65d595a4069d2471
[ "Apache-2.0" ]
null
null
null
defmodule Tox.DeliveryServiceTypeController do use Tox.Web, :controller alias Tox.DeliveryServiceType def index(conn, _params) do delivery_service_types = Repo.all(DeliveryServiceType) render(conn, "index.json", delivery_service_types: delivery_service_types) end def create(conn, %{"delivery_servic...
35.946429
102
0.708892
28dd19ae48ab7dfe3a65dca1b1b6f2943fa4edf8
130
ex
Elixir
lib/web/views/admin/user_view.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
lib/web/views/admin/user_view.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
lib/web/views/admin/user_view.ex
sb8244/grapevine
effaaa01294d30114090c20f9cc40b8665d834f2
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule Web.Admin.UserView do use Web, :view alias Web.Admin.DashboardView alias Web.SharedView alias Web.TimeView end
16.25
31
0.769231
28dd4a48f6c379ea8b68aae95bc61b7e3f33a45d
951
ex
Elixir
test/support/bad_adapters.ex
wasnotrice/clover
d0e37938bea3ddb8b5ff9d32b8b6d76d461ad64b
[ "Apache-2.0" ]
2
2018-10-17T17:12:33.000Z
2021-02-09T03:23:58.000Z
test/support/bad_adapters.ex
wasnotrice/clover
d0e37938bea3ddb8b5ff9d32b8b6d76d461ad64b
[ "Apache-2.0" ]
8
2018-10-15T19:17:17.000Z
2018-10-23T20:07:07.000Z
test/support/bad_adapters.ex
wasnotrice/clover
d0e37938bea3ddb8b5ff9d32b8b6d76d461ad64b
[ "Apache-2.0" ]
null
null
null
defmodule Clover.Test.Factory do @moduledoc false alias Clover.{Message, User} def message(opts \\ %{}) do %Message{ text: "text", robot: "robot", user: %User{name: "ann", id: "ann"} } |> Map.merge(opts) end end # Note these adapters do not adopt the Clover.Adapter behaviour beca...
23.195122
106
0.687697
28dd5cec465539b41651f1c03f7c64b24c5d7d75
5,304
ex
Elixir
lib/logger/lib/logger/error_handler.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/logger/lib/logger/error_handler.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/error_handler.ex
xtian/elixir
c680eb1a3992309c272e8f808e15990ea5318d6e
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
defmodule Logger.ErrorHandler do @moduledoc false @behaviour :gen_event require Logger def init({otp?, sasl?, threshold}) do # We store the Logger PID in the state because when we are shutting # down the Logger application, the Logger process may be terminated # and then trying to reach it will l...
34.894737
95
0.638198
28dd5ead4feb1cb2259b68c698024668e29f4ed5
8,573
ex
Elixir
lib/peluquero/peluqueria.ex
am-kantox/peluquero
83726facac12e1ba5c225b295b84bcc79ff341c1
[ "MIT" ]
12
2017-06-22T16:41:17.000Z
2022-01-08T09:52:40.000Z
lib/peluquero/peluqueria.ex
am-kantox/peluquero
83726facac12e1ba5c225b295b84bcc79ff341c1
[ "MIT" ]
4
2017-11-24T05:03:31.000Z
2020-11-03T11:41:12.000Z
lib/peluquero/peluqueria.ex
am-kantox/peluquero
83726facac12e1ba5c225b295b84bcc79ff341c1
[ "MIT" ]
1
2020-11-02T17:26:14.000Z
2020-11-02T17:26:14.000Z
defmodule Peluquero.Peluqueria do @moduledoc ~S""" The supervisor process for the `Peluquero.Actor` and `Peluquero.Rabbit` pair. """ use Supervisor use Peluquero.Namer require Logger @scissors Application.get_env(:peluquero, :scissors, []) @rabbits Application.get_env(:peluquero, :rabbits, 1) @opts ...
31.988806
97
0.579727
28dd78496e557479c24f1fe72d18fb9edf7f272b
3,526
exs
Elixir
test/mock_server/native_mock_server_facade_test.exs
lincolnf/pact_elixir
21e5f473e3c30173881e577ffda8df1e1419d47d
[ "MIT" ]
null
null
null
test/mock_server/native_mock_server_facade_test.exs
lincolnf/pact_elixir
21e5f473e3c30173881e577ffda8df1e1419d47d
[ "MIT" ]
null
null
null
test/mock_server/native_mock_server_facade_test.exs
lincolnf/pact_elixir
21e5f473e3c30173881e577ffda8df1e1419d47d
[ "MIT" ]
null
null
null
# TODO: This test has a broken usage of ports. defmodule PactElixir.NativeTest do use ExUnit.Case alias PactElixir.NativeMockServer @pact """ { "provider": { "name": "test_provider" }, "consumer": { "name": "test_consumer" }, "interactions": [ ...
29.630252
102
0.633296
28dd85d3e5676af898b0a1d75067eee3b967945d
1,921
exs
Elixir
apps/omg_watcher/mix.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/mix.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/mix.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
defmodule OMG.Watcher.MixProject do use Mix.Project def project() do [ app: :omg_watcher, version: "#{String.trim(File.read!("../../VERSION"))}", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", el...
32.559322
113
0.603852