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
749d6f4dcb4403622466f9fe5f59174be952ecd8
1,335
exs
Elixir
test/livebook/runtime/mix_standalone_test.exs
FE-box/livebook
44ae4ecf941decb1b3b0b8b4a0811aa6f9aaf83d
[ "Apache-2.0" ]
null
null
null
test/livebook/runtime/mix_standalone_test.exs
FE-box/livebook
44ae4ecf941decb1b3b0b8b4a0811aa6f9aaf83d
[ "Apache-2.0" ]
null
null
null
test/livebook/runtime/mix_standalone_test.exs
FE-box/livebook
44ae4ecf941decb1b3b0b8b4a0811aa6f9aaf83d
[ "Apache-2.0" ]
1
2021-07-07T06:18:36.000Z
2021-07-07T06:18:36.000Z
defmodule Livebook.Runtime.MixStandaloneTest do use ExUnit.Case, async: true alias Livebook.Runtime test "integration" do # Start node initialization project_path = Path.expand("../../support/project", __DIR__) emitter = Livebook.Utils.Emitter.new(self()) Runtime.MixStandalone.init_async(project...
30.340909
85
0.699625
749d960616eb392b5261a586f45ab1c296993843
453
ex
Elixir
lib/softwaremaxims_web/controllers/blog_controller.ex
DianaOlympos/dianao-softwaremaxims
c153908fb6abe90487a05c64fd806c88b3414295
[ "MIT" ]
null
null
null
lib/softwaremaxims_web/controllers/blog_controller.ex
DianaOlympos/dianao-softwaremaxims
c153908fb6abe90487a05c64fd806c88b3414295
[ "MIT" ]
7
2018-10-13T20:45:27.000Z
2018-10-29T12:42:22.000Z
lib/softwaremaxims_web/controllers/blog_controller.ex
DianaOlympos/dianao-softwaremaxims
c153908fb6abe90487a05c64fd806c88b3414295
[ "MIT" ]
null
null
null
defmodule SoftwaremaximsWeb.BlogController do use SoftwaremaximsWeb, :controller def show(conn, %{"slug" => slug}) do blog_post = Softwaremaxims.Blog.get_post(slug) render(conn, "show.html", blog_post: blog_post, add_blog_style: true) end def unpublished_show(conn, %{"slug" => slug}) do blog_post ...
32.357143
73
0.735099
749da597e65e240f59cca1977c45ddceca5f4624
481
ex
Elixir
lib/codebeam_2021/authorizations.ex
JacquiManzi/codebeam_metaprogramming_2021
297e944b6436b3247c9a9075061f3454bd084ac4
[ "MIT" ]
null
null
null
lib/codebeam_2021/authorizations.ex
JacquiManzi/codebeam_metaprogramming_2021
297e944b6436b3247c9a9075061f3454bd084ac4
[ "MIT" ]
null
null
null
lib/codebeam_2021/authorizations.ex
JacquiManzi/codebeam_metaprogramming_2021
297e944b6436b3247c9a9075061f3454bd084ac4
[ "MIT" ]
null
null
null
defmodule Codebeam2021.Authorizations do @moduledoc """ Restrict path access by who is accessing them. """ import Codebeam2021.GateKeeper # disabled accounts def allow?(%{ assigns: %{ feature_flags: %{"disabled" => true} } }), do: :disabled allowed_paths_for(:user, ...
20.913043
48
0.602911
749dc2babc0f633afa3efe4306b7f4b482ebc85e
1,353
exs
Elixir
apps/re_web/test/exporters/imovelweb/plug_test.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re_web/test/exporters/imovelweb/plug_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
apps/re_web/test/exporters/imovelweb/plug_test.exs
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule ReWeb.Exporters.Imovelweb.PlugTest do use ReWeb.ConnCase setup %{conn: conn} do {:ok, conn: conn} end @empty_listings ~s|<?xml version="1.0" encoding="UTF-8"?><Carga xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Imoveis/></Carga>| @error_me...
31.465116
184
0.672579
749dcb180d5b3e2d17917f7faa08275d1022afd3
5,485
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_face_annotation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_face_annotation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p2beta1_face_annotation.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
57.736842
536
0.722516
749dee5dba8b77eec77c75ed03f8404d37a604ea
23
ex
Elixir
test/error_10.ex
uael/42sh
e71d79249c3ea24578bb4a3cce14fab7aae5ea31
[ "Unlicense" ]
14
2018-03-08T03:42:30.000Z
2021-07-31T21:19:06.000Z
test/error_10.ex
uael/21sh
e71d79249c3ea24578bb4a3cce14fab7aae5ea31
[ "Unlicense" ]
78
2018-01-13T22:34:12.000Z
2018-02-07T19:33:20.000Z
test/error_10.ex
uael/42sh
e71d79249c3ea24578bb4a3cce14fab7aae5ea31
[ "Unlicense" ]
4
2018-03-08T12:50:19.000Z
2020-05-24T17:10:49.000Z
ush: .: Is a directory
11.5
22
0.652174
749e0d49c42f18ebdc4f5b19e508abea512884a9
1,207
exs
Elixir
lib/mix/test/mix/project_test.exs
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
1
2017-09-09T20:59:04.000Z
2017-09-09T20:59:04.000Z
lib/mix/test/mix/project_test.exs
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
lib/mix/test/mix/project_test.exs
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Mix.ProjectTest do use MixTest.Case defmodule SampleProject do def project do [ hello: "world" ] end end defmodule EnvProject do def project do [ hello: "world", env: [ prod: [hello: "new"] ] ] end end test "pu...
21.553571
87
0.673571
749e31b1dd37f1f74a768a8620861d0f39b29b52
5,126
exs
Elixir
test/extensions/email_confirmation/phoenix/controllers/controller_callbacks_test.exs
dweremeichik/pow
8c45624c1bf40487680abf5a077549fad2de2141
[ "MIT" ]
null
null
null
test/extensions/email_confirmation/phoenix/controllers/controller_callbacks_test.exs
dweremeichik/pow
8c45624c1bf40487680abf5a077549fad2de2141
[ "MIT" ]
null
null
null
test/extensions/email_confirmation/phoenix/controllers/controller_callbacks_test.exs
dweremeichik/pow
8c45624c1bf40487680abf5a077549fad2de2141
[ "MIT" ]
1
2020-07-13T01:11:17.000Z
2020-07-13T01:11:17.000Z
defmodule PowEmailConfirmation.Phoenix.ControllerCallbacksTest do use PowEmailConfirmation.TestWeb.Phoenix.ConnCase alias Pow.{Ecto.Schema.Password, Plug} alias PowEmailConfirmation.Test.Users.User @password "secret1234" describe "Pow.Phoenix.SessionController.create/2" do @valid_params %{"email" => "t...
43.07563
150
0.683769
749e438d3f983b46816edf96c81b4ccac04718b7
70
ex
Elixir
lib/mibli_web/views/user_reset_password_view.ex
FabriDamazio/mibli
853fe5e7575040fdbade5ed5997465a68bcc529d
[ "MIT" ]
null
null
null
lib/mibli_web/views/user_reset_password_view.ex
FabriDamazio/mibli
853fe5e7575040fdbade5ed5997465a68bcc529d
[ "MIT" ]
null
null
null
lib/mibli_web/views/user_reset_password_view.ex
FabriDamazio/mibli
853fe5e7575040fdbade5ed5997465a68bcc529d
[ "MIT" ]
null
null
null
defmodule MibliWeb.UserResetPasswordView do use MibliWeb, :view end
17.5
43
0.828571
749e6af60d7a2677bf87aa805072f373d1a12b46
301
ex
Elixir
lib/graphql/execution/completion_atom.ex
marvinhagemeister/graphql
43bccc041438f05d14c8c6f40f193c3d7957ca9d
[ "BSD-3-Clause" ]
719
2016-03-18T03:10:46.000Z
2022-02-02T10:07:29.000Z
lib/graphql/execution/completion_atom.ex
marvinhagemeister/graphql
43bccc041438f05d14c8c6f40f193c3d7957ca9d
[ "BSD-3-Clause" ]
51
2015-08-30T03:15:17.000Z
2016-03-02T07:13:26.000Z
lib/graphql/execution/completion_atom.ex
marvinhagemeister/graphql
43bccc041438f05d14c8c6f40f193c3d7957ca9d
[ "BSD-3-Clause" ]
34
2016-03-30T12:56:11.000Z
2021-08-30T09:21:54.000Z
defimpl GraphQL.Execution.Completion, for: Atom do alias GraphQL.Execution.Completion alias GraphQL.Execution.Types def complete_value(return_type, context, field_asts, info, result) do Completion.complete_value(Types.unwrap_type(return_type), context, field_asts, info, result) end end
30.1
96
0.797342
749e6bc9c2216a7d48a9b27aa9359b86f76e058d
251
exs
Elixir
config/config.exs
arpieb/annex_rl_demo
8115ac5ec21a22d1caf041c561af3330a0350fea
[ "Unlicense" ]
1
2020-02-10T02:50:34.000Z
2020-02-10T02:50:34.000Z
config/config.exs
arpieb/annex_rl_demo
8115ac5ec21a22d1caf041c561af3330a0350fea
[ "Unlicense" ]
null
null
null
config/config.exs
arpieb/annex_rl_demo
8115ac5ec21a22d1caf041c561af3330a0350fea
[ "Unlicense" ]
null
null
null
use Mix.Config config :annex, defaults: [ learning_rate: 0.001, cost: Annex.Cost.MeanSquaredError ] config :annex, Annex.Layer.Dense, data_type: Annex.Data.DMatrix #AnnexMatrex.Matrix import_config("#{Mix.env()}.exs")
27.888889
84
0.665339
749e7aa67b6a57c111591893af17c3839e4af7ab
5,409
ex
Elixir
lib/conversations_client.ex
statmuse/ex_microsoftbot
07196c75dc919a509d73fc15b1030481402bbd98
[ "MIT" ]
null
null
null
lib/conversations_client.ex
statmuse/ex_microsoftbot
07196c75dc919a509d73fc15b1030481402bbd98
[ "MIT" ]
null
null
null
lib/conversations_client.ex
statmuse/ex_microsoftbot
07196c75dc919a509d73fc15b1030481402bbd98
[ "MIT" ]
null
null
null
defmodule ExMicrosoftBot.Client.Conversations do @moduledoc """ This module provides the functions for conversations """ import ExMicrosoftBot.Client, only: [headers: 2, deserialize_response: 2] alias ExMicrosoftBot.Models, as: Models alias ExMicrosoftBot.Client alias ExMicrosoftBot.TokenManager @doc ...
56.936842
256
0.770198
749e8ee688da12b6c94fd38ece84d4ef7aae4dcd
4,749
ex
Elixir
web/processes/animals_process.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
10
2016-07-15T15:57:33.000Z
2018-06-09T00:40:46.000Z
web/processes/animals_process.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
null
null
null
web/processes/animals_process.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
6
2016-07-15T15:57:41.000Z
2018-03-22T16:38:00.000Z
defmodule Eecrit.AnimalsProcess do use GenServer alias Eecrit.VersionedAnimal alias Eecrit.VersionedAnimal.Snapshot, as: Snapshot @early_animal_audit_date ~D[2016-05-12] @early_animal_effective_date ~D[2016-07-01] @athena %{"name" => "Athena", "version" => "irrelevant", "species"...
32.527397
79
0.571068
749ea1103726d9743814c073c949dcf82def7b0e
1,466
ex
Elixir
clients/plus/lib/google_api/plus/v1/model/comment_plusoners.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/comment_plusoners.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/comment_plusoners.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...
30.541667
98
0.737381
749ec163efe64ad3cf1575c6a2ed4a54c118a744
1,871
ex
Elixir
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/attribute_value.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/attribute_value.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_trace/lib/google_api/cloud_trace/v2/model/attribute_value.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.301887
132
0.717263
749efae89e07cca26c225f5308440b68c5d94763
201
ex
Elixir
breaker/lib/breaker.ex
kalbozo/otp_v2
f5732b5d274839ff869e56ce9ff3166779088b2f
[ "MIT" ]
null
null
null
breaker/lib/breaker.ex
kalbozo/otp_v2
f5732b5d274839ff869e56ce9ff3166779088b2f
[ "MIT" ]
null
null
null
breaker/lib/breaker.ex
kalbozo/otp_v2
f5732b5d274839ff869e56ce9ff3166779088b2f
[ "MIT" ]
null
null
null
defmodule Breaker do @moduledoc """ Documentation for `Breaker`. """ @doc """ Hello world. ## Examples iex> Breaker.hello() :world """ def hello do :world end end
10.578947
30
0.557214
749f1d7dec63dfcce68ad7603dfb7c718c94a33c
2,875
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_web_detection_web_page.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_web_detection_web_page.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_web_detection_web_page.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...
39.930556
324
0.734957
749f50631d1fc7a45cc217c1e0b77cb0c97ebe39
475
exs
Elixir
config/test.exs
acuityinnovations/ex_okex
52acf16e8d00446ca32607ccb2cd75add0acaceb
[ "MIT" ]
null
null
null
config/test.exs
acuityinnovations/ex_okex
52acf16e8d00446ca32607ccb2cd75add0acaceb
[ "MIT" ]
4
2019-04-12T17:13:00.000Z
2020-04-06T07:28:47.000Z
config/test.exs
acuityinnovations/ex_okex
52acf16e8d00446ca32607ccb2cd75add0acaceb
[ "MIT" ]
5
2019-04-10T00:41:17.000Z
2021-12-23T14:49:02.000Z
use Mix.Config config :ex_okex, api_key: {:system, "OKEX_TEST_API_KEY"}, # Base.encode64("OKEX_TEST_API_SECRET") api_secret: {:system, "R0RBWF9URVNUX0FQSV9TRUNSRVQ="}, api_passphrase: {:system, "OKEX_TEST_API_PASSPHRASE"} config :exvcr, filter_request_headers: [ "OK-ACCESS-KEY", "OK-ACCESS-SIGN", ...
25
66
0.686316
749f619c9b351101c3c384cd546e95da5b8faaa4
922
ex
Elixir
lib/tinkoff_invest/model/order.ex
reetou/tinkoff-invest-elixir
5eeb27a89c65be6cb2b34d965332bbcc17f3f244
[ "MIT" ]
1
2021-05-26T11:38:42.000Z
2021-05-26T11:38:42.000Z
lib/tinkoff_invest/model/order.ex
reetou/tinkoff-invest-elixir
5eeb27a89c65be6cb2b34d965332bbcc17f3f244
[ "MIT" ]
null
null
null
lib/tinkoff_invest/model/order.ex
reetou/tinkoff-invest-elixir
5eeb27a89c65be6cb2b34d965332bbcc17f3f244
[ "MIT" ]
null
null
null
defmodule TinkoffInvest.Model.Order do use TypedStruct typedstruct enforce: true do field(:order_id, String.t()) field(:figi, String.t()) field(:operation, String.t()) field(:type, String.t()) field(:status, String.t()) field(:price, float()) field(:requested_lots, integer()) field(...
23.641026
53
0.583514
749f6c11df7430ab5112170c3e32069a594fe5f2
1,480
ex
Elixir
lib/ar_weekly_web/views/error_helpers.ex
Domeee/ar-weekly
1ffa4f129fa4a654673c8ee8b0bef7dd87271f92
[ "MIT" ]
3
2019-03-05T16:45:08.000Z
2019-08-23T12:10:57.000Z
lib/ar_weekly_web/views/error_helpers.ex
Domeee/ar-weekly
1ffa4f129fa4a654673c8ee8b0bef7dd87271f92
[ "MIT" ]
2
2021-03-08T23:53:02.000Z
2021-05-08T00:07:08.000Z
lib/ar_weekly_web/views/error_helpers.ex
Domeee/ar-weekly
1ffa4f129fa4a654673c8ee8b0bef7dd87271f92
[ "MIT" ]
null
null
null
defmodule ArWeeklyWeb.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 -> content_tag...
32.888889
77
0.670946
749f9724011d8c7eb449c81a49a26521180eb924
1,457
ex
Elixir
clients/redis/lib/google_api/redis/v1/model/upgrade_instance_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/redis/lib/google_api/redis/v1/model/upgrade_instance_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/redis/lib/google_api/redis/v1/model/upgrade_instance_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...
31
133
0.743308
749fb7a18e50ddeababcb15482bb8946f25bbe93
1,853
exs
Elixir
test/exsentry/model/stacktrace_test.exs
appcues/exsentry
9995ae5381774b7bf8257234fd6c449e6022b082
[ "MIT" ]
29
2016-01-11T15:51:15.000Z
2017-10-06T13:37:21.000Z
test/exsentry/model/stacktrace_test.exs
appcues/exsentry
9995ae5381774b7bf8257234fd6c449e6022b082
[ "MIT" ]
14
2016-03-13T07:29:05.000Z
2019-09-20T15:51:18.000Z
test/exsentry/model/stacktrace_test.exs
appcues/exsentry
9995ae5381774b7bf8257234fd6c449e6022b082
[ "MIT" ]
17
2016-01-12T17:05:10.000Z
2017-10-05T06:15:25.000Z
defmodule ExSentry.Model.StacktraceTest do use ExSpec, async: true doctest ExSentry.Model.Stacktrace @stacktrace [ {:erl_internal, :op_type, [:get_stacktrace, 0], [file: 'erl_internal.erl', line: 212]}, {:elixir_translator, :guard_op, 2, [file: 'src/elixir_translator.erl', line: 309]}, {:elixir_trans...
44.119048
115
0.676201
749fc6e8518170996a142c6f4cc60c92bcb98541
4,164
exs
Elixir
apps/admin_api/test/admin_api/v1/serializers/membership_serializer_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/admin_api/test/admin_api/v1/serializers/membership_serializer_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/serializers/membership_serializer_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.MembershipSerializerTest do use EWallet.Web.SerializerCase, :v1 alias AdminAPI.V1.MembershipSerializer alias Ecto.Association.NotLoaded alias EWallet.Web.{Date, Orchestrator, V1.MembershipOverlay} alias EWalletDB.User describe "serialize/1" do test "serializes a membership into us...
33.580645
83
0.590778
749fca6205af0f8d3c5903265988b2ff02a06594
73
ex
Elixir
lib/pilot.ex
probably-not/pilot
cea6bea772e7c0fbf6f7af6e4067a02f3b4fb9eb
[ "MIT" ]
null
null
null
lib/pilot.ex
probably-not/pilot
cea6bea772e7c0fbf6f7af6e4067a02f3b4fb9eb
[ "MIT" ]
null
null
null
lib/pilot.ex
probably-not/pilot
cea6bea772e7c0fbf6f7af6e4067a02f3b4fb9eb
[ "MIT" ]
null
null
null
defmodule Pilot do @moduledoc """ Documentation for Pilot. """ end
12.166667
26
0.671233
749fd593b131e6fdd8743190d30b20fbbdf1a85d
4,005
ex
Elixir
lib/mix/lib/mix/cli.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/cli.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/cli.ex
davidsulc/elixir
dd4fd6ab742acd75862e34e26dbdb86e0cf6453f
[ "Apache-2.0" ]
null
null
null
defmodule Mix.CLI do @moduledoc false @doc """ Runs Mix according to the command line arguments. """ def main(args \\ System.argv) do Mix.Local.append_archives Mix.Local.append_paths if env_variable_activated?("MIX_QUIET"), do: Mix.shell(Mix.Shell.Quiet) if env_variable_activated?("MIX_DEBUG...
25.509554
112
0.618976
749febda9ed269ee74f63e2dc2736624f9a430d7
1,142
ex
Elixir
example/lib/phoenix_datatables_example/application.ex
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
12
2017-10-20T21:08:33.000Z
2021-11-08T13:04:43.000Z
example/lib/phoenix_datatables_example/application.ex
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
8
2017-11-07T19:53:02.000Z
2021-01-18T22:15:35.000Z
example/lib/phoenix_datatables_example/application.ex
JohnKacz/phoenix_datatables
747b184972614d87aeb0cd644593951703d718db
[ "MIT" ]
7
2018-07-03T08:18:17.000Z
2020-05-28T03:06:02.000Z
defmodule PhoenixDatatablesExample.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ect...
35.6875
102
0.743433
749feeecef7702d15b759fb6e0509f4e212a4d88
2,118
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_simple_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_simple_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_intent_message_simple_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34.721311
131
0.72899
74a00cde35e6f0b1a9445ec79766a4f0e7dc134a
5,884
ex
Elixir
lib/ex_doc/formatter/epub.ex
chulkilee/ex_doc
c393cae07a35d891177be0b5f47ed31bf67c2213
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/formatter/epub.ex
chulkilee/ex_doc
c393cae07a35d891177be0b5f47ed31bf67c2213
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/formatter/epub.ex
chulkilee/ex_doc
c393cae07a35d891177be0b5f47ed31bf67c2213
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Formatter.EPUB do @moduledoc """ Generates EPUB documentation for Elixir projects. """ @mimetype "application/epub+zip" alias __MODULE__.{Assets, Templates} alias ExDoc.Formatter.HTML @doc """ Generate EPUB documentation for the given modules. """ @spec run(list, ExDoc.Config.t()) ...
31.465241
98
0.631883
74a014d80524d5ae8fc17921f1b8d73413f0ee2e
4,646
exs
Elixir
test/hexedio/posts/posts_test.exs
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
null
null
null
test/hexedio/posts/posts_test.exs
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
3
2020-07-16T05:37:16.000Z
2022-03-16T08:58:28.000Z
test/hexedio/posts/posts_test.exs
netsudo/hexedio
3e0e1ff7cfffcd704ba60394d0a38c4d8608e100
[ "MIT" ]
null
null
null
defmodule Hexedio.PostsTest do use Hexedio.DataCase alias Hexedio.Posts describe "posts" do alias Hexedio.Posts.Post @valid_attrs %{content: "some content", date_published: ~D[2010-04-17], excerpt: "some excerpt", published: true, slug: "some slug", title: "some title"} @update_attrs %{content: "so...
34.161765
191
0.664658
74a020fffbf5d91a8923ade5090a1bb3e78f711b
100
exs
Elixir
test/phoenix_events_live_web/views/page_view_test.exs
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
test/phoenix_events_live_web/views/page_view_test.exs
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
test/phoenix_events_live_web/views/page_view_test.exs
D-D-ing/phoenix-events-live
b68bdfdac1afc241574a0a8ffce25cf43bb71abe
[ "MIT" ]
null
null
null
defmodule PhoenixEventsLiveWeb.PageViewTest do use PhoenixEventsLiveWeb.ConnCase, async: true end
25
48
0.86
74a02e7d73344b3aead155f1fc810d2b5c4ac662
7,223
ex
Elixir
apps/artemis_web/lib/artemis_web/views/key_value_view.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis_web/lib/artemis_web/views/key_value_view.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis_web/lib/artemis_web/views/key_value_view.ex
chrislaskey/artemis_teams
9930c3d9528e37b76f0525390e32b66eed7eadde
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule ArtemisWeb.KeyValueView do use ArtemisWeb, :view @default_display_size_limit_index 2_500 @default_display_size_limit_show 5_000 # Bulk Actions def available_bulk_actions() do [ %BulkAction{ action: &Artemis.DeleteKeyValue.call_many(&1, &2), authorize: &has?(&1, "key-valu...
27.888031
106
0.588952
74a04711e5ff48ce83a134e759cf643990f25eb6
2,573
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/timestamp.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/timestamp.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/timestamp.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...
38.402985
125
0.734162
74a08619b20441c74818403c984e3ae4d65ebcb8
2,430
ex
Elixir
lib/faktory_worker/telemetry.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
13
2020-02-12T20:29:33.000Z
2021-04-17T10:18:00.000Z
lib/faktory_worker/telemetry.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
51
2020-02-01T05:22:15.000Z
2021-11-03T15:46:02.000Z
lib/faktory_worker/telemetry.ex
vukanac/faktory_worker
d3905f4c63988f1374d18e747fdd364a0d1ddbf2
[ "MIT" ]
4
2020-10-26T17:21:59.000Z
2021-04-17T18:05:10.000Z
defmodule FaktoryWorker.Telemetry do @moduledoc false require Logger @events [:push, :beat, :fetch, :ack, :failed_ack] @doc false @spec attach_default_handler :: :ok | {:error, :already_exists} def attach_default_handler() do events = Enum.map(@events, &[:faktory_worker, &1]) :telemetry.attach_m...
25.3125
95
0.657202
74a0be896b5f4b88300bba4e4594d33d9d6d8597
23,607
ex
Elixir
lib/phoenix/socket.ex
arjun810/phoenix
b50ca688e7b79423f3124af8778711bb1588947f
[ "MIT" ]
1
2021-04-10T01:02:29.000Z
2021-04-10T01:02:29.000Z
deps/phoenix/lib/phoenix/socket.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/phoenix/lib/phoenix/socket.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
1
2021-03-24T23:04:57.000Z
2021-03-24T23:04:57.000Z
defmodule Phoenix.Socket do @moduledoc ~S""" A socket implementation that multiplexes messages over channels. `Phoenix.Socket` is used as a module for establishing and maintaining the socket state via the `Phoenix.Socket` struct. Once connected to a socket, incoming and outgoing events are routed to chann...
32.742025
115
0.660186
74a0e36db4c244790bc70d9fc9112ea541b18d70
1,925
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/interaction.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/interaction.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/interaction.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...
36.320755
211
0.721039
74a0ef00e24221ce24d35c83d2952774eb0a175b
1,148
exs
Elixir
apps/xee/experiments/test2/test.exs
xeejp/xee
669e5a8030948e6d37ee0d33d3b37b4abdc34001
[ "MIT" ]
11
2015-12-24T07:51:45.000Z
2019-03-05T12:29:31.000Z
apps/xee/experiments/test2/test.exs
xeejp/xee
669e5a8030948e6d37ee0d33d3b37b4abdc34001
[ "MIT" ]
62
2015-12-25T02:58:20.000Z
2020-03-04T06:52:11.000Z
apps/xee/experiments/test2/test.exs
xeejp/xee
669e5a8030948e6d37ee0d33d3b37b4abdc34001
[ "MIT" ]
1
2016-07-19T03:28:08.000Z
2016-07-19T03:28:08.000Z
defmodule Test2 do use XeeThemeScript def script_type do :message end def init do {:ok, %{"data" => %{"host" => [], "participant" => %{}}}} end def receive_meta(data, meta) do {:ok, %{"data" => data, "host" => meta}} end def join(%{"host" => host, "participant" => participant} = state, i...
31.027027
120
0.574913
74a0f46e31821f9e9039e12077c008c90773639e
13,259
ex
Elixir
lib/asciinema_web/views/asciicast_view.ex
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/views/asciicast_view.ex
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
null
null
null
lib/asciinema_web/views/asciicast_view.ex
remerle/asciinema-server
895bf5a7ffb7db1b418c97cfd2ac9136c46dfb57
[ "Apache-2.0" ]
null
null
null
defmodule AsciinemaWeb.AsciicastView do use AsciinemaWeb, :view import Scrivener.HTML alias AsciinemaWeb.Endpoint alias AsciinemaWeb.Router.Helpers.Extra, as: RoutesX alias AsciinemaWeb.UserView import UserView, only: [theme_options: 0] def player(src, opts \\ []) def player(src, opts) when is_binary(...
23.425795
88
0.584056
74a0f53e91a4649737d09f85ecfaa340facd83dd
71
exs
Elixir
apps/exred_ui/test/test_helper.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
apps/exred_ui/test/test_helper.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
apps/exred_ui/test/test_helper.exs
exredorg/exred
0ece8e6680747ba8f30b4413ede598a45495aa7c
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(ExredUI.Repo, :manual)
14.2
53
0.760563
74a1005b188b3a1fec73addb84650ceab42e5f38
6,326
ex
Elixir
lib/live_sup_web/live/widgets/blameless/blameless_last_incidents_live.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
lib/live_sup_web/live/widgets/blameless/blameless_last_incidents_live.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
lib/live_sup_web/live/widgets/blameless/blameless_last_incidents_live.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSupWeb.Live.Widgets.Blameless.LastIncidentsLive do use LiveSupWeb.Live.Widgets.WidgetLive @impl true def render_widget(assigns) do ~H""" <.live_component module={SmartRenderComponent} id={@widget_data.id} let={widget_data} widget_data={@widget_data}> <!-- Last Incidents --> <...
71.078652
549
0.498103
74a134b5decb83f19e6db120b0d59f529dd66b18
174
ex
Elixir
program.ex
bladenwilliams/experiments
a28c9bc76e003f8241ddb29c19d89330bcdfc3ee
[ "MIT" ]
null
null
null
program.ex
bladenwilliams/experiments
a28c9bc76e003f8241ddb29c19d89330bcdfc3ee
[ "MIT" ]
null
null
null
program.ex
bladenwilliams/experiments
a28c9bc76e003f8241ddb29c19d89330bcdfc3ee
[ "MIT" ]
null
null
null
defmodule Program do defmodule Subprogram do def greet(name) when is_string(name) do print("hello, #{name}") end end end Program.Subprogram.greet(true)
15.818182
43
0.683908
74a1b580ef1a31c7c1374251fd171682f0ab6bdd
2,440
exs
Elixir
apps/re_web/test/graphql/shortlists/query_test.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re_web/test/graphql/shortlists/query_test.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re_web/test/graphql/shortlists/query_test.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule ReWeb.GraphQL.Shortlists.QueryTest do use ReWeb.{ AbsintheAssertions, ConnCase } import Mockery import Re.Factory alias ReWeb.AbsintheHelpers setup %{conn: conn} do conn = put_req_header(conn, "accept", "application/json") admin_user = insert(:user, role: "admin") user_user ...
23.018868
86
0.595902
74a1b653267a861b50a5293dc09e64bdeff9f935
759
exs
Elixir
test/multiple_clauses_test.exs
ludwikbukowski/decorator
697c688bc89961d738939d7771f7eeea6251eea1
[ "MIT" ]
null
null
null
test/multiple_clauses_test.exs
ludwikbukowski/decorator
697c688bc89961d738939d7771f7eeea6251eea1
[ "MIT" ]
null
null
null
test/multiple_clauses_test.exs
ludwikbukowski/decorator
697c688bc89961d738939d7771f7eeea6251eea1
[ "MIT" ]
null
null
null
defmodule DecoratorTest.Fixture.MultipleClausesTestDecorator do use Decorator.Define, [test: 0] def test(body, _context) do {:ok, body} end end defmodule DecoratorTest.Fixture.MultipleClausesTestModule do use DecoratorTest.Fixture.MultipleClausesTestDecorator @decorate test() def result(1) do 1 ...
18.975
63
0.737813
74a1f42fef5236954015514322a8365458c48017
1,263
ex
Elixir
lib/dgraph_ex/client/lin_read.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
1
2019-05-01T15:18:41.000Z
2019-05-01T15:18:41.000Z
lib/dgraph_ex/client/lin_read.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
null
null
null
lib/dgraph_ex/client/lin_read.ex
sunny-g/dgraph_ex
fab9f1fd684538758ed211537c3b0869233e7ce4
[ "MIT" ]
1
2019-05-01T15:18:48.000Z
2019-05-01T15:18:48.000Z
defmodule DgraphEx.Client.LinRead do @moduledoc false alias Poison @type t :: %{optional(String.t()) => non_neg_integer} @doc false @spec new() :: t() def new(), do: %{} @doc false @spec valid?(lin_read :: t) :: boolean def valid?(lin_read) when is_map(lin_read) do Enum.all?(lin_read, fn {k, v...
22.963636
91
0.577989
74a2486a1f9f44f89d0f45ff482d1fbe8e621c4b
585
ex
Elixir
lib/monocle/helpers/string_helpers.ex
brianbroderick/monocle
eeabecea658468479c04a02352271f6304447736
[ "Apache-2.0" ]
2
2018-02-11T01:18:24.000Z
2020-01-12T17:19:22.000Z
lib/monocle/helpers/string_helpers.ex
brianbroderick/monocle
eeabecea658468479c04a02352271f6304447736
[ "Apache-2.0" ]
null
null
null
lib/monocle/helpers/string_helpers.ex
brianbroderick/monocle
eeabecea658468479c04a02352271f6304447736
[ "Apache-2.0" ]
null
null
null
defmodule Monocle.Helpers.StringHelpers do @doc """ Remove the leading part of a string """ def behead(str, ignore) when is_integer(ignore) do String.slice(str, ignore..-1) end def behead(str, leading_string) do behead(str, String.length(leading_string)) end @doc """ Returns a tuple with ...
23.4
66
0.661538
74a24a42c9bde8d202ade7d697628350a76a6aed
414
ex
Elixir
lib/madari/api/sysctl.ex
yoossaland/yoossa
1e1ab968d12c7690a76fc670c47c91c29efb2979
[ "BSD-2-Clause" ]
null
null
null
lib/madari/api/sysctl.ex
yoossaland/yoossa
1e1ab968d12c7690a76fc670c47c91c29efb2979
[ "BSD-2-Clause" ]
null
null
null
lib/madari/api/sysctl.ex
yoossaland/yoossa
1e1ab968d12c7690a76fc670c47c91c29efb2979
[ "BSD-2-Clause" ]
null
null
null
defmodule Madari.Api.Sysctl do use Rustler, otp_app: :madari, crate: :madari_api_sysctl # When loading a NIF module, dummy clauses for all NIF function are required. # NIF dummies usually just error out when called when the NIF is not loaded, as that should never normally happen. def read(_oid), do: :e...
37.636364
116
0.748792
74a24fdad27c8ade58dd0124e7f09235ff15b838
1,195
exs
Elixir
test/channels/authorized_channel_test.exs
jbr/phoenix_guardian
54152b8ca0ffa6afb4076e93814a54c68430f3e8
[ "MIT" ]
335
2015-06-19T18:27:51.000Z
2020-11-25T19:00:27.000Z
test/channels/authorized_channel_test.exs
thisdata/phoenix_guardian
54152b8ca0ffa6afb4076e93814a54c68430f3e8
[ "MIT" ]
33
2015-06-24T17:00:01.000Z
2017-11-23T09:53:29.000Z
test/channels/authorized_channel_test.exs
thisdata/phoenix_guardian
54152b8ca0ffa6afb4076e93814a54c68430f3e8
[ "MIT" ]
95
2015-06-30T22:18:00.000Z
2022-01-14T13:47:10.000Z
defmodule PhoenixGuardian.AuthorizedChannelTest do use PhoenixGuardian.ChannelCase alias PhoenixGuardian.AuthorizedChannel import PhoenixGuardian.Factory setup do user = create(:user) {:ok, jwt, _} = Guardian.encode_and_sign(user) {:ok, _, socket} = socket("authd_socket", %{}) |> subscribe...
28.452381
70
0.641841
74a24fe031f031164778293a8f7db020710fc31e
8,916
ex
Elixir
clients/security_center/lib/google_api/security_center/v1/model/finding.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/finding.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "Apache-2.0" ]
null
null
null
clients/security_center/lib/google_api/security_center/v1/model/finding.ex
mopp/elixir-google-api
d496227d17600bccbdf8f6be9ad1b7e7219d7ec6
[ "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...
76.205128
517
0.720615
74a29d27c67f723853bf6da5f9aea4620923fbe3
8,648
ex
Elixir
lib/ex_aws_s3_crypto.ex
bmuller/ex_aws_s3_crypto
0c39ccffbf0261c348b02eee980f98d3f6f3860c
[ "MIT" ]
2
2021-05-24T20:24:51.000Z
2021-05-25T00:57:31.000Z
lib/ex_aws_s3_crypto.ex
bmuller/ex_aws_s3_crypto
0c39ccffbf0261c348b02eee980f98d3f6f3860c
[ "MIT" ]
null
null
null
lib/ex_aws_s3_crypto.ex
bmuller/ex_aws_s3_crypto
0c39ccffbf0261c348b02eee980f98d3f6f3860c
[ "MIT" ]
null
null
null
defmodule ExAws.S3.Crypto do @moduledoc """ `ExAws.S3.Crypto` provides [client-side encryption](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html) support for [Amazon S3](https://aws.amazon.com/s3/). It allows you to encrypt data before sending it to S3. This particular implementati...
36.489451
153
0.659574
74a2a5957deb79adb47ff1d9500323965655a5e0
293
exs
Elixir
apps/rent_bot/priv/repo/migrations/20171115222849_create_ads.exs
Shiva-1927/Chatbot
cfc4adcb70a5481ecbf65b9dc932029bbdcf5eae
[ "MIT" ]
94
2018-02-19T11:53:45.000Z
2021-11-15T12:20:24.000Z
apps/rent_bot/priv/repo/migrations/20171115222849_create_ads.exs
Shiva-1927/Chatbot
cfc4adcb70a5481ecbf65b9dc932029bbdcf5eae
[ "MIT" ]
2
2021-03-10T03:48:31.000Z
2021-05-10T23:32:27.000Z
apps/rent_bot/priv/repo/migrations/20171115222849_create_ads.exs
dih78/rent-bot
35ee3f32ca227979922aee37678e98e6e46491c8
[ "MIT" ]
28
2018-02-19T11:53:48.000Z
2021-01-02T21:55:36.000Z
defmodule RentBot.Repo.Migrations.CreateAds do use Ecto.Migration def change do create table(:ads) do add :provider, :string add :title, :string add :url, :string add :price, :string timestamps() end create unique_index(:ads, [:url]) end end
17.235294
46
0.627986
74a2b6655ecee83c7cd93733f2026b8c86b44397
4,521
ex
Elixir
lib/game/command/say.ex
lorecrafting/ex_venture
5de6a2eac19d8c6069868d34318f07ee714f9c98
[ "MIT" ]
1
2019-02-10T10:22:39.000Z
2019-02-10T10:22:39.000Z
lib/game/command/say.ex
lorecrafting/ex_venture
5de6a2eac19d8c6069868d34318f07ee714f9c98
[ "MIT" ]
null
null
null
lib/game/command/say.ex
lorecrafting/ex_venture
5de6a2eac19d8c6069868d34318f07ee714f9c98
[ "MIT" ]
null
null
null
defmodule Game.Command.Say do @moduledoc """ The "say" command """ use Game.Command import Game.Room.Helpers, only: [find_character: 3] alias Game.Format.Channels, as: FormatChannels alias Game.Hint alias Game.Utility defmodule ParsedMessage do @moduledoc """ A parsed string of the user's ...
25.542373
98
0.62818
74a30791967ccdcbef263f011adc9fb0fe8c1c08
17
ex
Elixir
testData/org/elixir_lang/parser_definition/literal_char_list_sigil_line_parsing_test_case/Braces.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/literal_char_list_sigil_line_parsing_test_case/Braces.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/literal_char_list_sigil_line_parsing_test_case/Braces.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~C{{\}[]<>"/()|'}
17
17
0.058824
74a339a3b9905afeb93a5f336be7d482f4a89c54
464
ex
Elixir
lib/sanbase_web/admin/billing/sign_up_trial.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
lib/sanbase_web/admin/billing/sign_up_trial.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
lib/sanbase_web/admin/billing/sign_up_trial.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule SanbaseWeb.ExAdmin.Billing.SignUpTrial do use ExAdmin.Register register_resource Sanbase.Billing.Subscription.SignUpTrial do action_items(only: [:show, :edit, :delete]) index do column(:user, fields: [:email, :username], link: true) column(:subscription, link: true) column(:is_...
23.2
63
0.685345
74a379734d5acbe54496c777fc0cc9889c52237f
703
ex
Elixir
lib/augur.ex
smartlogic/augur
a7b5cd09dc7e96c92d2c7c42899192bbf929b6d2
[ "MIT" ]
28
2021-08-28T00:24:14.000Z
2022-03-26T02:16:16.000Z
lib/augur.ex
smartlogic/augur
a7b5cd09dc7e96c92d2c7c42899192bbf929b6d2
[ "MIT" ]
null
null
null
lib/augur.ex
smartlogic/augur
a7b5cd09dc7e96c92d2c7c42899192bbf929b6d2
[ "MIT" ]
null
null
null
defmodule Augur do @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) use Supervisor @doc false def start_link(config) do Supervisor.start_link(__MODULE__, config) end @doc false def init(config = %Augur.Development{}) d...
20.676471
53
0.59744
74a3920e05840a1413c2a40a3cb6d709c1c5efbc
15,014
ex
Elixir
lib/ex_unit/lib/ex_unit/case.ex
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/case.ex
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/case.ex
evalphobia/elixir
a07a2362e5827b09d8b27be2c1ad2980d25b9768
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.DuplicateTestError do defexception [:message] end defmodule ExUnit.Case do @moduledoc """ Sets up an ExUnit test case. This module must be used in other modules as a way to configure and prepare them for testing. When used, it accepts the following options: * `:async` - configure th...
30.766393
100
0.664447
74a39f398b2da3f6744584a4c3fb6b9cd7fe28e8
359
exs
Elixir
priv/repo/seeds.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
3
2018-09-06T11:15:07.000Z
2021-12-27T15:36:51.000Z
priv/repo/seeds.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # ExOneroster.Repo.insert!(%ExOneroster.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as t...
29.916667
61
0.713092
74a3a74904352782cd64d972bc35f4a11843ef87
542
ex
Elixir
lib/learn/lti_placement.ex
mark-b-kauffman/bblearn_rest_client
63fb0da9b8027e385df927f43ec5e9ea4a517570
[ "BSD-3-Clause" ]
null
null
null
lib/learn/lti_placement.ex
mark-b-kauffman/bblearn_rest_client
63fb0da9b8027e385df927f43ec5e9ea4a517570
[ "BSD-3-Clause" ]
null
null
null
lib/learn/lti_placement.ex
mark-b-kauffman/bblearn_rest_client
63fb0da9b8027e385df927f43ec5e9ea4a517570
[ "BSD-3-Clause" ]
null
null
null
defmodule Learn.LtiPlacement do alias Learn.{LtiPlacement} import Poison defstruct [:id, :name, :description, :iconUrl, :handle, :type, :url, :authorId, :instructorCreated, :allowStudents, :availability, :launchInNewWindow, :launchLink, :customParameters] @doc """ Create a new LTI Placement from the J...
28.526316
86
0.734317
74a3b4940218ad85796f7b4a6dc62bb593dcbc46
6,794
ex
Elixir
lib/ayesql/ast/context.ex
goodvisit/ayesql
068d619f0b9b4e46369bc38aa21ed4ddd9ee04b5
[ "MIT" ]
100
2018-09-18T12:41:56.000Z
2022-03-08T18:52:56.000Z
lib/ayesql/ast/context.ex
goodvisit/ayesql
068d619f0b9b4e46369bc38aa21ed4ddd9ee04b5
[ "MIT" ]
15
2019-03-24T18:59:22.000Z
2022-03-31T19:32:58.000Z
lib/ayesql/ast/context.ex
goodvisit/ayesql
068d619f0b9b4e46369bc38aa21ed4ddd9ee04b5
[ "MIT" ]
13
2018-09-22T20:05:43.000Z
2021-11-03T20:22:51.000Z
defmodule AyeSQL.AST.Context do @moduledoc """ This module defines an AST context. """ alias __MODULE__, as: Context alias AyeSQL.Core alias AyeSQL.Error alias AyeSQL.Query @doc """ AST context struct. """ defstruct index: 1, statement: [], arguments: [], errors: [] @typedoc """ Current cont...
24.977941
81
0.61834
74a3b81c6b4814f521d737d93586f0e4aeac4582
320
ex
Elixir
lib/aggregation/supervisor.ex
sambou/ex_insights
21a5c64138fe662bad85007bc2b38e5f0823cfcf
[ "MIT" ]
null
null
null
lib/aggregation/supervisor.ex
sambou/ex_insights
21a5c64138fe662bad85007bc2b38e5f0823cfcf
[ "MIT" ]
null
null
null
lib/aggregation/supervisor.ex
sambou/ex_insights
21a5c64138fe662bad85007bc2b38e5f0823cfcf
[ "MIT" ]
null
null
null
defmodule ExInsights.Aggregation.Supervisor do @moduledoc false use Supervisor @name __MODULE__ @worker ExInsights.Aggregation.Worker def start_link(_) do Supervisor.start_link(@name, [], name: @name) end def init(_) do Supervisor.init([ @worker ], strategy: :one_for_one) end end
16
49
0.69375
74a3c7f1c40f0410cbf4d00339b4f2948d4c52bc
1,229
exs
Elixir
mix.exs
surik/exvcr
d0ffc47a56ff3922c53616566025ec405f407476
[ "MIT" ]
null
null
null
mix.exs
surik/exvcr
d0ffc47a56ff3922c53616566025ec405f407476
[ "MIT" ]
null
null
null
mix.exs
surik/exvcr
d0ffc47a56ff3922c53616566025ec405f407476
[ "MIT" ]
null
null
null
defmodule ExVCR.Mixfile do use Mix.Project def project do [ app: :exvcr, version: "0.11.2", elixir: "~> 1.3", deps: deps(), description: description(), package: package(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [coveralls: :test] ] end # Config...
25.081633
75
0.560618
74a3ecc7ede214b73dfbf889ab562238d88928d6
1,219
exs
Elixir
clients/vault/mix.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/vault/mix.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/vault/mix.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
defmodule GoogleApi.Vault.V1.Mixfile do use Mix.Project @version "0.1.0" def project do [app: :google_api_vault, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps: ...
25.395833
196
0.614438
74a3f5e132bdd6b01234ecb6cef662e4573bbe28
218
ex
Elixir
lib/zuppler/location.ex
zuppler/zuppler-elixir
3bd612e92d238c8cd2f228bbef72a4352dc330be
[ "Apache-2.0" ]
null
null
null
lib/zuppler/location.ex
zuppler/zuppler-elixir
3bd612e92d238c8cd2f228bbef72a4352dc330be
[ "Apache-2.0" ]
null
null
null
lib/zuppler/location.ex
zuppler/zuppler-elixir
3bd612e92d238c8cd2f228bbef72a4352dc330be
[ "Apache-2.0" ]
null
null
null
defmodule Zuppler.Location do @moduledoc """ Zupper Restaurant Location """ # @enforce_keys [:street, :id] defstruct [:id, :address] @type t :: %__MODULE__{id: pos_integer, address: Zuppler.Address.t} end
21.8
69
0.688073
74a3f60eea3f397c1b1891bdb4471917d111185f
285
ex
Elixir
lib/nostalgic_games/games_domain/create.ex
rafaelcorazzi/nostalgic_games
34734aa3a89194730d0cc5e137f3db5f597979d4
[ "MIT" ]
null
null
null
lib/nostalgic_games/games_domain/create.ex
rafaelcorazzi/nostalgic_games
34734aa3a89194730d0cc5e137f3db5f597979d4
[ "MIT" ]
null
null
null
lib/nostalgic_games/games_domain/create.ex
rafaelcorazzi/nostalgic_games
34734aa3a89194730d0cc5e137f3db5f597979d4
[ "MIT" ]
null
null
null
defmodule NostalgicGames.Games.Create do alias NostalgicGames.{Repo, Games} def call(params \\ :empty) do params |> Games.build() |> create_game() end defp create_game({:ok, struct}), do: Repo.insert(struct) defp create_game({:error, _} = error), do: error end
21.923077
58
0.670175
74a425feffdef811b012bd4053f25ad528958452
207
exs
Elixir
test/controllers/page_controller_test.exs
jwarwick/lum_patterns_web
66ecaa56d1311a21ed9d55c92267e4834be33882
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
jwarwick/lum_patterns_web
66ecaa56d1311a21ed9d55c92267e4834be33882
[ "MIT" ]
null
null
null
test/controllers/page_controller_test.exs
jwarwick/lum_patterns_web
66ecaa56d1311a21ed9d55c92267e4834be33882
[ "MIT" ]
null
null
null
defmodule LumPatternsWeb.PageControllerTest do use LumPatternsWeb.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
23
60
0.695652
74a44fe1ab6128d29fb661f5395ffb9db7413e1e
1,833
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/targeting_value_day_part_targeting.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/targeting_value_day_part_targeting.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/targeting_value_day_part_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 ...
32.732143
131
0.743044
74a460979c22faec6524b8f94af7e96199b9cc8e
4,615
ex
Elixir
lib/kraken/limiter.ex
Voronchuk/kraken
4b5d310ebeab5ddd97039773dc0acd8b566a1236
[ "MIT" ]
2
2019-02-07T18:36:04.000Z
2020-07-18T13:53:02.000Z
lib/kraken/limiter.ex
Voronchuk/kraken
4b5d310ebeab5ddd97039773dc0acd8b566a1236
[ "MIT" ]
null
null
null
lib/kraken/limiter.ex
Voronchuk/kraken
4b5d310ebeab5ddd97039773dc0acd8b566a1236
[ "MIT" ]
null
null
null
defmodule Kraken.Limiter do @moduledoc """ Model of Limiter request subscribed to Client with partition :write or :read This process is a ProducerConsumer for this GenStage pipeline. """ use GenStage require Logger @type state :: %__MODULE__{ max_demand: pos_integer(), max_interval: timeout(), ...
28.312883
96
0.672373
74a4996ef1da7c3a0f6c0a5c92ebc402254db0eb
1,084
ex
Elixir
apps/astarte_realm_management_api/lib/astarte_realm_management_api_web/views/realm_config_view.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
191
2018-03-30T13:23:08.000Z
2022-03-02T12:05:32.000Z
apps/astarte_realm_management_api/lib/astarte_realm_management_api_web/views/realm_config_view.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
402
2018-03-30T13:37:00.000Z
2022-03-31T16:47:10.000Z
apps/astarte_realm_management_api/lib/astarte_realm_management_api_web/views/realm_config_view.ex
matt-mazzucato/astarte
34d84941a5019efc42321052f7f34b7d907a38f2
[ "Apache-2.0" ]
24
2018-03-30T13:29:48.000Z
2022-02-28T11:10:26.000Z
# # This file is part of Astarte. # # Copyright 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 appl...
32.848485
98
0.758303
74a4d57002d85e5d92bec1a3cd83446372c83904
4,431
ex
Elixir
lib/sugar/controller.ex
pct/sugar
772aa993dec98f26355991168186f30745dbc756
[ "MIT" ]
374
2015-01-03T00:16:25.000Z
2022-02-02T21:08:48.000Z
lib/sugar/controller.ex
pct/sugar
772aa993dec98f26355991168186f30745dbc756
[ "MIT" ]
44
2015-01-01T11:38:12.000Z
2020-11-18T19:48:01.000Z
lib/sugar/controller.ex
pct/sugar
772aa993dec98f26355991168186f30745dbc756
[ "MIT" ]
34
2015-01-04T13:42:41.000Z
2020-07-18T17:27:27.000Z
defmodule Sugar.Controller do @moduledoc """ Controllers facilitate some separation of concerns for your application's logic. All handler actions should have an arrity of 2, with the first argument being a `Plug.Conn` representing the current connection and the second argument being a `Keyword` list of any p...
27.521739
82
0.565561
74a4f3f95f69fe33b189a91e24648c5458f48ee8
65
ex
Elixir
web/views/layout_view.ex
mkrogemann/bird_watch
2ce2d1489b25560d767d6ee8c7824f2c07d211c4
[ "Apache-2.0" ]
18
2016-02-25T22:03:43.000Z
2017-10-03T09:19:46.000Z
web/views/layout_view.ex
mkrogemann/bird_watch
2ce2d1489b25560d767d6ee8c7824f2c07d211c4
[ "Apache-2.0" ]
1
2016-03-18T03:41:04.000Z
2016-03-21T21:02:51.000Z
web/views/layout_view.ex
mkrogemann/bird_watch
2ce2d1489b25560d767d6ee8c7824f2c07d211c4
[ "Apache-2.0" ]
6
2016-05-17T04:40:15.000Z
2021-08-20T05:39:37.000Z
defmodule BirdWatch.LayoutView do use BirdWatch.Web, :view end
16.25
33
0.8
74a502919a07be0fa7e0243fbfbba46a645ab347
1,952
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/data_split_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/big_query/lib/google_api/big_query/v2/model/data_split_result.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/big_query/lib/google_api/big_query/v2/model/data_split_result.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...
39.04
152
0.748975
74a50852e11ea5a6e328beb81c6feb2324e93e20
1,621
ex
Elixir
lib/live_view_web/endpoint.ex
eduardo-rdguez/phoenix-liveview
66ced7a3cd3c8f57c1e5e8c3646dcd7c837d202c
[ "MIT" ]
null
null
null
lib/live_view_web/endpoint.ex
eduardo-rdguez/phoenix-liveview
66ced7a3cd3c8f57c1e5e8c3646dcd7c837d202c
[ "MIT" ]
4
2021-07-19T22:03:03.000Z
2021-07-22T16:38:34.000Z
lib/live_view_web/endpoint.ex
eduardo-rdguez/phoenix-liveview
66ced7a3cd3c8f57c1e5e8c3646dcd7c837d202c
[ "MIT" ]
null
null
null
defmodule LiveViewWeb.Endpoint do use Phoenix.Endpoint, otp_app: :live_view # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_live_v...
29.472727
97
0.720543
74a5261f194e84834be2cd91894a3eba7a966b9a
381
ex
Elixir
lib/ex_urlscan/v1/parser.ex
ninoseki/ExUrlscan
b714b132bd8f4be44553dcf272dc67e6db79aafa
[ "MIT" ]
4
2019-07-22T13:13:14.000Z
2021-11-16T20:07:57.000Z
lib/ex_urlscan/v1/parser.ex
fja43/ExUrlscan
b714b132bd8f4be44553dcf272dc67e6db79aafa
[ "MIT" ]
1
2020-08-07T02:32:49.000Z
2020-08-07T02:32:49.000Z
lib/ex_urlscan/v1/parser.ex
fja43/ExUrlscan
b714b132bd8f4be44553dcf272dc67e6db79aafa
[ "MIT" ]
3
2020-01-31T02:53:32.000Z
2021-11-16T04:07:59.000Z
defmodule ExUrlscan.V1.Parser do @doc """ Parse request parameters for the API. """ def parse_request_params(options) do Enum.map(options, fn {k, v} when is_list(v) -> {to_string(k), elements_to_string(v)} {k, v} -> {to_string(k), to_string(v)} end) end defp elements_to_string(elements)...
23.8125
69
0.653543
74a550e0123559b0b6f35cf6f69ca605384905e6
551
ex
Elixir
test/support/memory_storage.ex
balena/delta_crdt_ex
ac1ddc8bb52479524c379e82fc06c6506b11ef30
[ "MIT" ]
374
2018-05-15T11:37:36.000Z
2022-01-26T19:44:52.000Z
test/support/memory_storage.ex
balena/delta_crdt_ex
ac1ddc8bb52479524c379e82fc06c6506b11ef30
[ "MIT" ]
36
2018-05-25T18:33:09.000Z
2021-09-30T08:33:44.000Z
test/support/memory_storage.ex
balena/delta_crdt_ex
ac1ddc8bb52479524c379e82fc06c6506b11ef30
[ "MIT" ]
41
2018-05-16T14:41:19.000Z
2022-03-02T18:10:14.000Z
defmodule MemoryStorage do @behaviour DeltaCrdt.Storage def start_link() do GenServer.start_link(__MODULE__, [], name: __MODULE__) end def write(name, state) do GenServer.call(__MODULE__, {:write, name, state}) end def read(name) do GenServer.call(__MODULE__, {:read, name}) end def init(_...
20.407407
58
0.646098
74a5670f84c9d9574968b22eb9bb99bc0c456d68
79
ex
Elixir
lib/letter_lines_live_web/views/layout_view.ex
adam-phillips/letter_lines_live
8ab3fcd6499924390868908a31f8c2935c9392a0
[ "MIT" ]
null
null
null
lib/letter_lines_live_web/views/layout_view.ex
adam-phillips/letter_lines_live
8ab3fcd6499924390868908a31f8c2935c9392a0
[ "MIT" ]
null
null
null
lib/letter_lines_live_web/views/layout_view.ex
adam-phillips/letter_lines_live
8ab3fcd6499924390868908a31f8c2935c9392a0
[ "MIT" ]
null
null
null
defmodule LetterLinesLiveWeb.LayoutView do use LetterLinesLiveWeb, :view end
19.75
42
0.848101
74a5714ecfca783f7a1c7384043bf60ca0b2e5f6
15,917
ex
Elixir
clients/drive/lib/google_api/drive/v3/model/file.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/file.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/file.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...
72.35
323
0.689891
74a599dbe91010152e03ce8f13356f11f5df3119
626
ex
Elixir
web/models/wall.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
2
2016-02-25T20:12:35.000Z
2018-01-03T00:03:12.000Z
web/models/wall.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
1
2016-01-11T04:50:39.000Z
2016-01-12T05:00:08.000Z
web/models/wall.ex
simwms/apiv4
c3da7407eaf3580b759f49726028439b4b8ea9d0
[ "MIT" ]
null
null
null
defmodule Apiv4.Wall do use Apiv4.Web, :model schema "walls" do field :points, :string field :x, :decimal field :y, :decimal field :a, :decimal field :line_name, :string belongs_to :account, Apiv4.Account timestamps end @create_fields ~w(x y points) @update_fields @create_field...
20.193548
53
0.685304
74a59f16998f966d9813008969e2d43b42623991
2,989
ex
Elixir
clients/logging/lib/google_api/logging/v2/model/log_bucket.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/model/log_bucket.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/logging/lib/google_api/logging/v2/model/log_bucket.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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.984615
358
0.703914
74a5d38bb72b9c1ddff91be19f8cec3c0cfedc67
56
ex
Elixir
demo/lib/demo_web/views/hello_view.ex
playgd/learning-elixir
3909b540ccd7f54b174de9c6c6f258e94865ba6b
[ "MIT" ]
16
2021-11-08T12:15:27.000Z
2022-02-11T01:00:20.000Z
demo/lib/demo_web/views/hello_view.ex
playgd/learning-elixir
3909b540ccd7f54b174de9c6c6f258e94865ba6b
[ "MIT" ]
null
null
null
demo/lib/demo_web/views/hello_view.ex
playgd/learning-elixir
3909b540ccd7f54b174de9c6c6f258e94865ba6b
[ "MIT" ]
2
2021-11-19T11:32:58.000Z
2022-01-16T00:36:32.000Z
defmodule DemoWeb.HelloView do use DemoWeb, :view end
14
30
0.785714
74a5f91d9af442db328cc5f1036aefc24bebefe6
140
ex
Elixir
lib/discuss_web/controllers/page_controller.ex
jeantsai/phx-discuss
46bccd827844195a64e0aa93fc865a50511b3cc7
[ "MIT" ]
null
null
null
lib/discuss_web/controllers/page_controller.ex
jeantsai/phx-discuss
46bccd827844195a64e0aa93fc865a50511b3cc7
[ "MIT" ]
null
null
null
lib/discuss_web/controllers/page_controller.ex
jeantsai/phx-discuss
46bccd827844195a64e0aa93fc865a50511b3cc7
[ "MIT" ]
null
null
null
defmodule DiscussWeb.PageController do use DiscussWeb, :controller def index(conn, _params) do render conn, "index.html" end end
17.5
38
0.742857
74a66746977e62871ad022f15098f5a12c4d3c09
7,254
exs
Elixir
test/credo/check/consistency/space_around_operators_test.exs
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
test/credo/check/consistency/space_around_operators_test.exs
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
test/credo/check/consistency/space_around_operators_test.exs
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
defmodule Credo.Check.Consistency.SpaceAroundOperatorsTest do use Credo.TestHelper @described_check Credo.Check.Consistency.SpaceAroundOperators @without_spaces """ defmodule Credo.Sample1 do defmodule InlineModule do @min -1 @max +1 @type config_or_func :: Config.t() | (-> Config.t()) ...
23.324759
110
0.573339
74a6b423c9160e1f73fb6964cf5e8cf1416e23ea
1,216
ex
Elixir
blockchain/lib/blockchain/application.ex
anipmehta/BlockChain
c73b5ca7aad44be6e85a47ecd972f093f78d26e2
[ "MIT" ]
null
null
null
blockchain/lib/blockchain/application.ex
anipmehta/BlockChain
c73b5ca7aad44be6e85a47ecd972f093f78d26e2
[ "MIT" ]
null
null
null
blockchain/lib/blockchain/application.ex
anipmehta/BlockChain
c73b5ca7aad44be6e85a47ecd972f093f78d26e2
[ "MIT" ]
null
null
null
defmodule Blockchain.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec {:ok, pid} = Chain.start_link() :ets.new(:buckets_registry, [:named_table]) :ets.insert(:buckets_regi...
34.742857
88
0.714638
74a6e0ad34081d68563ead386f9d57d15373fe32
507
ex
Elixir
malmo_elixir/next_demo/led_control_panel/lib/led_control_panel_web/views/error_view.ex
MathiasBeckius/ElixirNerves
19a0a9b9cecae1e44a0259326a91be623acba1b0
[ "MIT" ]
null
null
null
malmo_elixir/next_demo/led_control_panel/lib/led_control_panel_web/views/error_view.ex
MathiasBeckius/ElixirNerves
19a0a9b9cecae1e44a0259326a91be623acba1b0
[ "MIT" ]
null
null
null
malmo_elixir/next_demo/led_control_panel/lib/led_control_panel_web/views/error_view.ex
MathiasBeckius/ElixirNerves
19a0a9b9cecae1e44a0259326a91be623acba1b0
[ "MIT" ]
null
null
null
defmodule LedControlPanelWeb.ErrorView do use LedControlPanelWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # t...
29.823529
61
0.74359
74a701d8c599f64a3935b51e67c5e0b89e5f43f0
540
ex
Elixir
exercises/practice/resistor-color-trio/.meta/example.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
1
2021-09-02T06:01:17.000Z
2021-09-02T06:01:17.000Z
exercises/practice/resistor-color-trio/.meta/example.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
19
2021-01-21T06:48:32.000Z
2022-03-21T15:08:57.000Z
exercises/practice/resistor-color-trio/.meta/example.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
null
null
null
defmodule ResistorColorTrio do @colors %{ black: 0, brown: 1, red: 2, orange: 3, yellow: 4, green: 5, blue: 6, violet: 7, grey: 8, white: 9 } @doc """ Calculate the resistance value in ohm or kiloohm from resistor colors """ @spec label(colors :: [atom]) :: {integer,...
18.62069
77
0.546296
74a71ce3746e00c22d252d2674e367d3dd7682af
36,337
ex
Elixir
lib/aws/generated/pinpoint_email.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
lib/aws/generated/pinpoint_email.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
lib/aws/generated/pinpoint_email.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.PinpointEmail do @moduledoc """ Amazon Pinpoint Email Service Welcome to the *Amazon Pinpoint Email API Reference*. This guide provides information about the Amazon Pinpoint Email API (v...
26.312093
157
0.650439
74a75c5f1f6224d930d13f38d0a18c8040bbca19
10,648
ex
Elixir
lib/cldr/calendar/coptic.ex
NickNeck/cldr_calendars_coptic
0967d4f4247a74b5b953ac3713d6da3697afae84
[ "Apache-2.0" ]
null
null
null
lib/cldr/calendar/coptic.ex
NickNeck/cldr_calendars_coptic
0967d4f4247a74b5b953ac3713d6da3697afae84
[ "Apache-2.0" ]
null
null
null
lib/cldr/calendar/coptic.ex
NickNeck/cldr_calendars_coptic
0967d4f4247a74b5b953ac3713d6da3697afae84
[ "Apache-2.0" ]
null
null
null
defmodule Cldr.Calendar.Coptic do @moduledoc """ Implementation of the Coptic calendar. """ import Cldr.Math, only: [mod: 2] @behaviour Calendar @behaviour Cldr.Calendar @type year :: -9999..-1 | 1..9999 @type month :: 1..12 @type day :: 1..31 @months_in_year 13 @days_in_week 7 @doc """ D...
23.92809
98
0.635612
74a76a0a10b752b0b2bfa8219508895337e7848b
3,258
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/playlist_item_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/playlist_item_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/playlist_item_list_response.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.887324
207
0.698281
74a7925d9e8c16ee193ea7d435cfd26fa4a71b42
3,405
ex
Elixir
lib/koans/12_pattern_matching.ex
gravyboat/elixir-koans
7313851001c3b5981a949a47005b0dcebc4e6084
[ "MIT" ]
1
2019-05-20T04:59:56.000Z
2019-05-20T04:59:56.000Z
lib/koans/12_pattern_matching.ex
gravyboat/elixir-koans
7313851001c3b5981a949a47005b0dcebc4e6084
[ "MIT" ]
null
null
null
lib/koans/12_pattern_matching.ex
gravyboat/elixir-koans
7313851001c3b5981a949a47005b0dcebc4e6084
[ "MIT" ]
null
null
null
defmodule PatternMatching do use Koans @intro "PatternMatching" koan "One matches one" do assert match?(1, ___) end koan "Patterns can be used to pull things apart" do [head | tail] = [1, 2, 3, 4] assert head == ___ assert tail == ___ end koan "And then put them back together" do ...
22.7
101
0.595007
74a7945301f24ce28cf8dfd62fc211ec0d6b3ce0
7,139
ex
Elixir
lib/network_interface/worker.ex
se-apc/nerves_network_interface
3dadf3e2d740b60cedaac1dbdf280de2e188c21b
[ "Apache-2.0" ]
null
null
null
lib/network_interface/worker.ex
se-apc/nerves_network_interface
3dadf3e2d740b60cedaac1dbdf280de2e188c21b
[ "Apache-2.0" ]
2
2019-06-28T13:54:13.000Z
2022-01-24T15:25:42.000Z
lib/network_interface/worker.ex
se-apc/nerves_network_interface
3dadf3e2d740b60cedaac1dbdf280de2e188c21b
[ "Apache-2.0" ]
null
null
null
# Copyright 2014-2017 Frank Hunleth # # 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 writin...
30.122363
108
0.674324
74a795974df8299d657044e4e3319142b7665d29
78
ex
Elixir
lib/bgsite_official_web/views/request_view.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_web/views/request_view.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_web/views/request_view.ex
N-Patarov/bgsite_official
9ed082dd8c6c5dbc83e0bc50ec63095a72ee2854
[ "Apache-2.0" ]
3
2021-05-17T17:54:43.000Z
2021-11-03T15:30:30.000Z
defmodule BgsiteOfficialWeb.RequestView do use BgsiteOfficialWeb, :view end
19.5
42
0.846154
74a7b21b2c61459da37b99ed17eefa05450b0bc0
2,637
ex
Elixir
lib/geocalc/calculator/polygon.ex
yltsrc/geocalc
07a37c31d22e623d3420c5c067df4622488a1be9
[ "MIT" ]
109
2015-10-07T10:12:45.000Z
2022-02-19T21:35:08.000Z
lib/geocalc/calculator/polygon.ex
yltsrc/geocalc
07a37c31d22e623d3420c5c067df4622488a1be9
[ "MIT" ]
27
2015-10-08T18:52:30.000Z
2021-09-03T14:23:55.000Z
lib/geocalc/calculator/polygon.ex
yltsrc/geocalc
07a37c31d22e623d3420c5c067df4622488a1be9
[ "MIT" ]
21
2015-10-07T18:35:56.000Z
2021-09-30T18:06:16.000Z
defmodule Geocalc.Calculator.Polygon do @moduledoc false alias Geocalc.Calculator require Integer @doc """ Check if point is inside a polygon. ## Examples iex> import Geocalc.Calculator.Polygon iex> polygon = [[1, 2], [3, 4], [5, 2], [3, 0]] iex> point = [3, 2] iex> point_in_poly...
22.538462
98
0.575275
74a7eaaaea9dc83aa85e4f74844bccf6428ef911
1,720
ex
Elixir
lib/segment/analytics.ex
utrustdev/analytics-elixir
41547d37f5ac2651a4b23d3d61b3c0360d4c139d
[ "MIT" ]
null
null
null
lib/segment/analytics.ex
utrustdev/analytics-elixir
41547d37f5ac2651a4b23d3d61b3c0360d4c139d
[ "MIT" ]
null
null
null
lib/segment/analytics.ex
utrustdev/analytics-elixir
41547d37f5ac2651a4b23d3d61b3c0360d4c139d
[ "MIT" ]
null
null
null
defmodule Segment.Analytics do alias Segment.Analytics.{Context, Server} def track(t = %Segment.Analytics.Track{}) do call(t) end def track(user_id, event, properties \\ %{}, context \\ Context.new()) do %Segment.Analytics.Track{ userId: user_id, event: event, properties: properties,...
23.888889
98
0.638953
74a80087a559c3ec7da7ac04efff2c5b0e734023
976
ex
Elixir
lib/pairlist.ex
BradLyman/nergle
7de7a8ea73b3f5aa038409d0eb0c29cbd06a8876
[ "MIT" ]
null
null
null
lib/pairlist.ex
BradLyman/nergle
7de7a8ea73b3f5aa038409d0eb0c29cbd06a8876
[ "MIT" ]
null
null
null
lib/pairlist.ex
BradLyman/nergle
7de7a8ea73b3f5aa038409d0eb0c29cbd06a8876
[ "MIT" ]
null
null
null
defmodule Pairlist do @moduledoc """ Methods for manipulating consecutive pairs of elements in a standard list. e.g. Given a list of elements like [a, b, c, d] apply a function to {a, b}, {b, c}, and {c, d}. """ @doc """ Apply a function to a sliding window of two elements in a list. Replacing all but ...
24.4
77
0.574795
74a814e1d99be0df6ba448028f15b5e05b66e1f2
1,000
ex
Elixir
lib/jtwebman_com.ex
jtwebman/jtwebman_com
fedd924c1c9fb3677ad091124431e322937fb073
[ "MIT" ]
null
null
null
lib/jtwebman_com.ex
jtwebman/jtwebman_com
fedd924c1c9fb3677ad091124431e322937fb073
[ "MIT" ]
null
null
null
lib/jtwebman_com.ex
jtwebman/jtwebman_com
fedd924c1c9fb3677ad091124431e322937fb073
[ "MIT" ]
null
null
null
defmodule JtwebmanCom 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(Jtweb...
32.258065
71
0.718
74a81d47c349b5ee5f7dfa65568623a1cb4a6340
1,507
ex
Elixir
test/intercepted_modules/do_block/intercepted_on_after.ex
filipecabaco/interceptor
e108946d3909d9ceffb2ab9406c5534fa6dcad28
[ "MIT" ]
40
2018-09-30T13:39:20.000Z
2022-01-07T12:47:45.000Z
test/intercepted_modules/do_block/intercepted_on_after.ex
filipecabaco/interceptor
e108946d3909d9ceffb2ab9406c5534fa6dcad28
[ "MIT" ]
6
2019-02-17T22:21:17.000Z
2021-04-26T21:47:59.000Z
test/intercepted_modules/do_block/intercepted_on_after.ex
filipecabaco/interceptor
e108946d3909d9ceffb2ab9406c5534fa6dcad28
[ "MIT" ]
5
2020-05-16T00:31:45.000Z
2021-07-16T13:39:05.000Z
defmodule After.Callback do def right_after({_module, _function, _args} = mfa, result) do Agent.update(:after_test_process, fn messages -> [{Interceptor.Utils.timestamp(), result, mfa} | messages] end) "Doesn't influence the function at all" end end defmodule InterceptedOnAfter1 do re...
21.84058
70
0.69144
74a835c2c97a9459f15048cc8cf2998c365c20e8
363
ex
Elixir
lib/docker_phx/accounts/user.ex
beltranaceves/docker_phx
06a9cba602ccd4f054568b7a40ca36bedc9a3e27
[ "MIT" ]
null
null
null
lib/docker_phx/accounts/user.ex
beltranaceves/docker_phx
06a9cba602ccd4f054568b7a40ca36bedc9a3e27
[ "MIT" ]
null
null
null
lib/docker_phx/accounts/user.ex
beltranaceves/docker_phx
06a9cba602ccd4f054568b7a40ca36bedc9a3e27
[ "MIT" ]
null
null
null
defmodule DockerPhx.Accounts.User do use Ecto.Schema import Ecto.Changeset schema "users" do field :name, :string field :username, :string timestamps() end @doc false def changeset(user, attrs) do user |> cast(attrs, [:name, :username]) |> validate_required([:name, :username]) ...
18.15
44
0.661157
74a887e635be41ba20730a7fd678f5c99d8d6d8a
11,518
ex
Elixir
lib/witchcraft/chain.ex
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
lib/witchcraft/chain.ex
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
lib/witchcraft/chain.ex
florius0/witchcraft
6c61c3ecd5b431c52e8b60aafb05596d9182205e
[ "MIT" ]
null
null
null
import TypeClass defclass Witchcraft.Chain do @moduledoc """ Chain function applications on contained data that may have some additional effect As a diagram: %Container<data> --- (data -> %Container<updated_data>) ---> %Container<updated_data> ## Examples iex> chain([1, 2, 3], fn x -> [x, x] en...
24.045929
93
0.503212
74a8a54817e3e489e809d8d0380529d9aa722ba2
2,288
ex
Elixir
clients/games_configuration/lib/google_api/games_configuration/v1configuration/model/achievement_configuration_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games_configuration/lib/google_api/games_configuration/v1configuration/model/achievement_configuration_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/games_configuration/lib/google_api/games_configuration/v1configuration/model/achievement_configuration_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.2
161
0.742133
74a8bb154d4ad20a85e08cca1bef56cedf86a529
4,801
exs
Elixir
test/kubernetes_test.exs
vovayartsev/libcluster
3c3adce4d0fd61d935bf7c5689ff5dbed63ea34b
[ "MIT" ]
null
null
null
test/kubernetes_test.exs
vovayartsev/libcluster
3c3adce4d0fd61d935bf7c5689ff5dbed63ea34b
[ "MIT" ]
null
null
null
test/kubernetes_test.exs
vovayartsev/libcluster
3c3adce4d0fd61d935bf7c5689ff5dbed63ea34b
[ "MIT" ]
null
null
null
defmodule Cluster.Strategy.KubernetesTest do @moduledoc false use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Httpc alias Cluster.Strategy.Kubernetes alias Cluster.Nodes require Cluster.Nodes import ExUnit.CaptureLog setup do cassettes_path = Path.join([__DIR__, "fixtures",...
36.097744
123
0.576338
74a8ed558d94c4d7f26ccf736a64cedd10bfa036
1,486
ex
Elixir
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/report_failure.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/report_failure.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/double_click_bid_manager/lib/google_api/double_click_bid_manager/v1/model/report_failure.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 ...
31.617021
112
0.744953
74a9113a0f52e8d64401f7c859ae582bcad7329a
1,758
ex
Elixir
api/web/controllers/api/user_controller.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/web/controllers/api/user_controller.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/web/controllers/api/user_controller.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
defmodule Microblogger.UserController do use Microblogger.Web, :controller alias Microblogger.{User, Post, Repo} plug Guardian.Plug.EnsureAuthenticated, [handler: Microblogger.SessionController] when action in [:posts] def create(conn, params) do changeset = User.registration_changeset(%User{}, params) ...
31.963636
107
0.631399
74a91f4f872e70a0f539b45ff996be809c1089a9
2,949
exs
Elixir
mix.exs
Vincent-Legros/mirego-boilerplate
20d94568133b6dd67862d864a420296217bd7b81
[ "BSD-3-Clause" ]
null
null
null
mix.exs
Vincent-Legros/mirego-boilerplate
20d94568133b6dd67862d864a420296217bd7b81
[ "BSD-3-Clause" ]
null
null
null
mix.exs
Vincent-Legros/mirego-boilerplate
20d94568133b6dd67862d864a420296217bd7b81
[ "BSD-3-Clause" ]
null
null
null
defmodule ElixirBoilerplate.Mixfile do use Mix.Project def project do [ app: :elixir_boilerplate, version: "0.0.1", elixir: "~> 1.12", erlang: "~> 24.1", elixirc_paths: elixirc_paths(Mix.env()), test_paths: ["test"], test_pattern: "**/*_test.exs", test_coverage: ...
25.205128
121
0.517124