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
1ddb37de9088b79083d91c3133f686307adff412
2,255
ex
Elixir
lib/central/helpers/query_helpers.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
4
2021-07-29T16:23:20.000Z
2022-02-23T05:34:36.000Z
lib/central/helpers/query_helpers.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/central/helpers/query_helpers.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule Central.Helpers.QueryHelpers do @moduledoc false alias Central.Repo import Ecto.Query, warn: false defmacro stddev_pop(field) do quote do fragment("stddev_pop(?)", unquote(field)) end end defmacro between(field, low, high) do quote do fragment("? BETWEEN ? AND ?", unquote...
23.247423
87
0.659867
1ddb5517ccaead7b95bb6b1acffe5ec03d5760c3
2,394
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__detected_landmark.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__detected_landmark.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__detected_landmark.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...
38
279
0.749791
1ddba508690cf8e63e6b2904b898231647611cb8
138
exs
Elixir
test/link_off_test.exs
wisq/link_off
a2273dfaf64b694bcc91a10c63af37806eecc7ba
[ "Apache-2.0" ]
null
null
null
test/link_off_test.exs
wisq/link_off
a2273dfaf64b694bcc91a10c63af37806eecc7ba
[ "Apache-2.0" ]
null
null
null
test/link_off_test.exs
wisq/link_off
a2273dfaf64b694bcc91a10c63af37806eecc7ba
[ "Apache-2.0" ]
null
null
null
defmodule LinkOffTest do use ExUnit.Case doctest LinkOff test "greets the world" do assert LinkOff.hello() == :world end end
15.333333
36
0.710145
1ddbb2caf241ca8e1f7a6e11c41c7f74fc85725b
1,874
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/hot_key_detection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/hot_key_detection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/hot_key_detection.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
34.703704
123
0.717182
1ddbf056db41ab4f17f46d1faec0dc035086166d
4,416
ex
Elixir
lib/temple/parser.ex
mhanberg/temple
ec484bcef65e1bffa9134c3b259795237c1845d0
[ "MIT" ]
366
2019-07-12T22:43:35.000Z
2022-03-31T07:26:25.000Z
lib/temple/parser.ex
mhanberg/temple
ec484bcef65e1bffa9134c3b259795237c1845d0
[ "MIT" ]
114
2019-07-12T19:49:10.000Z
2022-03-23T10:48:48.000Z
lib/temple/parser.ex
mhanberg/temple
ec484bcef65e1bffa9134c3b259795237c1845d0
[ "MIT" ]
17
2019-07-23T15:16:34.000Z
2021-02-25T02:42:02.000Z
defmodule Temple.Parser do @moduledoc false alias Temple.Parser.Empty alias Temple.Parser.Text alias Temple.Parser.TempleNamespaceNonvoid alias Temple.Parser.TempleNamespaceVoid alias Temple.Parser.Components alias Temple.Parser.Slot alias Temple.Parser.NonvoidElementsAliases alias Temple.Parser.Void...
32.233577
114
0.639719
1ddbf21b135e5a6c8f2a34a93543e167167f1abc
6,285
ex
Elixir
clients/jobs/lib/google_api/jobs/v2/model/search_jobs_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/jobs/lib/google_api/jobs/v2/model/search_jobs_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/jobs/lib/google_api/jobs/v2/model/search_jobs_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...
46.902985
182
0.699602
1ddc0db0de2a5d52741a49fa746130440e62d1a8
75
ex
Elixir
web/views/layout_view.ex
mdgriffith/elixir_space_adventure
0a1811ddff3d7e62a6596b714f817bd7dfe4bd58
[ "BSD-3-Clause" ]
null
null
null
web/views/layout_view.ex
mdgriffith/elixir_space_adventure
0a1811ddff3d7e62a6596b714f817bd7dfe4bd58
[ "BSD-3-Clause" ]
null
null
null
web/views/layout_view.ex
mdgriffith/elixir_space_adventure
0a1811ddff3d7e62a6596b714f817bd7dfe4bd58
[ "BSD-3-Clause" ]
null
null
null
defmodule SpaceAdventure.LayoutView do use SpaceAdventure.Web, :view end
18.75
38
0.826667
1ddc3a23b474fd2a9db3eb4234265aae4082dae9
98
exs
Elixir
test/test_helper.exs
vrcca/mint
ba347326a7e507bdadb8a00ec1f3bd24f2817ade
[ "Apache-2.0" ]
477
2019-10-28T14:53:23.000Z
2022-03-30T08:13:21.000Z
test/test_helper.exs
vrcca/mint
ba347326a7e507bdadb8a00ec1f3bd24f2817ade
[ "Apache-2.0" ]
108
2019-11-05T04:21:04.000Z
2022-02-24T18:36:15.000Z
test/test_helper.exs
vrcca/mint
ba347326a7e507bdadb8a00ec1f3bd24f2817ade
[ "Apache-2.0" ]
56
2019-11-10T01:19:56.000Z
2022-03-25T18:08:06.000Z
ExUnit.start(exclude: :proxy) Application.ensure_all_started(:ssl) Logger.configure(level: :info)
24.5
36
0.806122
1ddc48896cdb53fd7b830b879d596807e0168539
2,332
ex
Elixir
clients/network_security/lib/google_api/network_security/v1/model/rule.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_security/lib/google_api/network_security/v1/model/rule.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_security/lib/google_api/network_security/v1/model/rule.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...
46.64
416
0.748714
1ddc5269cab6021658e38f2393fe254f1e4c362e
3,075
ex
Elixir
lib/shadowsocks/udp_relay.ex
lingoer/shadowsocks-ex
745685e0871b90e9aaf455b3b30fca157527389d
[ "BSD-3-Clause" ]
null
null
null
lib/shadowsocks/udp_relay.ex
lingoer/shadowsocks-ex
745685e0871b90e9aaf455b3b30fca157527389d
[ "BSD-3-Clause" ]
null
null
null
lib/shadowsocks/udp_relay.ex
lingoer/shadowsocks-ex
745685e0871b90e9aaf455b3b30fca157527389d
[ "BSD-3-Clause" ]
null
null
null
defmodule Shadowsocks.UDPRelay do alias Shadowsocks.Encoder @timeout 15 * 60 * 1000 @flow_report_limit 1024 * 1024 def start_link(args) do :proc_lib.start_link(__MODULE__, :init, [self(), args]) end def init(parent, %{method: method, password: pass, port: port}=args) do opts = case args do ...
30.147059
104
0.541463
1ddc69863b167a1eab604a152b822e1fdc63637d
776
exs
Elixir
test/zero_phoenix_web/schema/query/person_test.exs
conradwt/zero-to-graphql-using-phoenix
3e448df2c7f23dfad33c9768104c183a48b43724
[ "MIT" ]
9
2019-03-26T22:16:08.000Z
2021-09-27T12:42:34.000Z
test/zero_phoenix_web/schema/query/person_test.exs
conradwt/zero-to-graphql-using-phoenix
3e448df2c7f23dfad33c9768104c183a48b43724
[ "MIT" ]
3
2020-06-08T23:03:49.000Z
2020-06-09T03:11:12.000Z
test/zero_phoenix_web/schema/query/person_test.exs
conradwt/zero-to-graphql-using-phoenix
3e448df2c7f23dfad33c9768104c183a48b43724
[ "MIT" ]
7
2019-01-15T17:00:07.000Z
2021-07-18T23:30:29.000Z
defmodule ZeroPhoenixWeb.Schema.Query.PersonTest do use ZeroPhoenixWeb.ConnCase, async: true import Ecto.Query, only: [first: 1] alias ZeroPhoenix.Account.Person alias ZeroPhoenix.Repo setup do ZeroPhoenix.Seeds.run() end test "get person by ID" do query = """ query GetPerson($personId: ...
17.636364
51
0.524485
1ddc7236919d3a23ed442ed9673c7a0687181c9b
354
ex
Elixir
apps/snitch_api/lib/snitch_api_web/views/product_brand_view.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/snitch_api/lib/snitch_api_web/views/product_brand_view.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/snitch_api/lib/snitch_api_web/views/product_brand_view.ex
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
defmodule SnitchApiWeb.ProductBrandView do use SnitchApiWeb, :view use JaSerializer.PhoenixView alias Snitch.Data.Model.ProductBrand attributes([ :name, :image_url ]) def image_url(brand, conn) do case brand.image do nil -> nil _ -> ProductBrand.image_url(brand.ima...
16.857143
55
0.661017
1ddc9cada0f184c8f02c4b3ab6986c367a3c44b0
6,657
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/metric_descriptor.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/metric_descriptor.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/metric_descriptor.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 "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...
89.959459
2,383
0.672525
1ddc9f72da4c888d616e0df53a6876a4aaee09e3
465
ex
Elixir
lib/blog_api_web/controllers/session_controller.ex
gissandrogama/blog_api
9378d7844a1535d0c9663cc07ca92fc5d282ee92
[ "MIT" ]
null
null
null
lib/blog_api_web/controllers/session_controller.ex
gissandrogama/blog_api
9378d7844a1535d0c9663cc07ca92fc5d282ee92
[ "MIT" ]
5
2021-01-13T04:16:16.000Z
2021-01-13T21:43:00.000Z
lib/blog_api_web/controllers/session_controller.ex
gissandrogama/blog_api
9378d7844a1535d0c9663cc07ca92fc5d282ee92
[ "MIT" ]
null
null
null
defmodule BlogApiWeb.SessionController do use BlogApiWeb, :controller alias BlogApiWeb.Auth.Guardian action_fallback BlogApiWeb.FallbackController def create(conn, params) do with {:ok, _user, token} <- Guardian.authenticate(params) do conn |> put_status(:ok) |> put_req_header("accept", ...
27.352941
64
0.683871
1ddccdf5eba034a48d1fd62b79a1985ca17a7bc8
1,637
ex
Elixir
lib/poc/news.ex
joaopealves/elixir-graphql-poc
1d162ef7461d54bff779c6406f39ff7db6d574f7
[ "MIT" ]
1
2021-12-06T01:31:28.000Z
2021-12-06T01:31:28.000Z
lib/poc/news.ex
joaopealves/elixir-graphql-poc
1d162ef7461d54bff779c6406f39ff7db6d574f7
[ "MIT" ]
null
null
null
lib/poc/news.ex
joaopealves/elixir-graphql-poc
1d162ef7461d54bff779c6406f39ff7db6d574f7
[ "MIT" ]
null
null
null
defmodule Poc.News do @moduledoc """ The News context. """ import Ecto.Query, warn: false alias Poc.Repo alias Poc.News.Link @doc """ Returns the list of links. ## Examples iex> list_links() [%Link{}, ...] """ def list_links, do: Repo.all(Link) @doc """ Gets a single link. ...
16.207921
59
0.561393
1ddccfc1b8e3d078d0978463df16a6f86406066b
31,101
ex
Elixir
lib/nas_um30x3.ex
FelixW0lf/element-parsers
cced91b2299a3c9e9dbe8cd7b9863d4f64adaf19
[ "MIT" ]
1
2021-11-10T18:06:59.000Z
2021-11-10T18:06:59.000Z
lib/nas_um30x3.ex
SeppPenner/element-parsers
8a2594e0f15ca7177f6782d0441f25e3e55b8416
[ "MIT" ]
null
null
null
lib/nas_um30x3.ex
SeppPenner/element-parsers
8a2594e0f15ca7177f6782d0441f25e3e55b8416
[ "MIT" ]
null
null
null
defmodule Parser do use Platform.Parsing.Behaviour require Logger # ELEMENT IoT Parser for NAS "Pulse + Analog Reader UM30x3" v0.5.0 and v0.7.0 # Author NKlein # Link: https://www.nasys.no/product/lorawan-pulse-analog-reader/ # Documentation: # UM3023 # 0.5.0: https://www.nasys.no/wp-content/upl...
35.342045
196
0.568535
1ddd037185a4d71d95eb7249095b14f05bcfecdb
7,545
exs
Elixir
test/groupher_server/statistics/statistics_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
test/groupher_server/statistics/statistics_test.exs
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
test/groupher_server/statistics/statistics_test.exs
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Test.Statistics do @moduledoc false use GroupherServer.TestTools import Helper.Utils, only: [get_config: 2] # alias Helper.{Cache, Later, ORM} alias Helper.{Cache, ORM} alias GroupherServer.{Accounts, CMS, Repo, Statistics} alias Accounts.Model.User alias CMS.Model.Community...
32.381974
100
0.617893
1ddd0610431b122fafb983c5f2290f05c718d8dd
3,280
ex
Elixir
lib/web_push_encryption/push.ex
vpotapev/elixir-web-push-encryption
f8cc2246848ad641caf52d742b17af0d385f1023
[ "MIT" ]
null
null
null
lib/web_push_encryption/push.ex
vpotapev/elixir-web-push-encryption
f8cc2246848ad641caf52d742b17af0d385f1023
[ "MIT" ]
null
null
null
lib/web_push_encryption/push.ex
vpotapev/elixir-web-push-encryption
f8cc2246848ad641caf52d742b17af0d385f1023
[ "MIT" ]
null
null
null
defmodule WebPushEncryption.Push do @moduledoc """ Module to send web push notifications with a payload through GCM """ alias WebPushEncryption.Vapid @gcm_url "https://android.googleapis.com/gcm/send" @temp_gcm_url "https://gcm-http.googleapis.com/gcm" @fcm_url "https://fcm.googleapis.com/fcm/send" ...
34.166667
110
0.696037
1ddd1a32000c6ce0de736e392e4b0aa60842b2d1
4,291
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/goal.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/goal.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/goal.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...
43.343434
142
0.704731
1ddd461a5a4ac4907a98d221e318a9c8f6da22b6
1,949
ex
Elixir
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/threat_list_descriptor.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/threat_list_descriptor.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/model/threat_list_descriptor.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.436364
111
0.724474
1ddd60292f4cc59da2a2d5cd15a7b1a4a0f3dce7
142
ex
Elixir
apps/room_book_web/lib/room_book_web/controllers/page_controller.ex
adrianomota/room_book_umbrella
701d4ad89b45739418df831156288b94346287df
[ "MIT" ]
null
null
null
apps/room_book_web/lib/room_book_web/controllers/page_controller.ex
adrianomota/room_book_umbrella
701d4ad89b45739418df831156288b94346287df
[ "MIT" ]
null
null
null
apps/room_book_web/lib/room_book_web/controllers/page_controller.ex
adrianomota/room_book_umbrella
701d4ad89b45739418df831156288b94346287df
[ "MIT" ]
null
null
null
defmodule RoomBookWeb.PageController do use RoomBookWeb, :controller def index(conn, _params) do render conn, "index.html" end end
17.75
39
0.746479
1ddd983714e8cb96f15a702bb7b0381e5253264d
7,597
exs
Elixir
test/ex338_web/views/view_helpers_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
test/ex338_web/views/view_helpers_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
test/ex338_web/views/view_helpers_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338Web.ViewHelpersViewTest do use Ex338Web.ConnCase, async: true alias Ex338.{ Accounts.User, DraftPicks.DraftPick, FantasyPlayers.SportsLeague, FantasyPlayers.FantasyPlayer, FantasyTeams.FantasyTeam, InSeasonDraftPicks.InSeasonDraftPick, FantasyTeams.Owner, RosterPositi...
26.562937
81
0.5722
1ddda2f2206cf8215e368c7250f2963f996df9ec
3,546
ex
Elixir
lib/k8s/client/runner/watch.ex
rbino/k8s
fc18899344f3d153815bd59c423568d747a33ba5
[ "MIT" ]
null
null
null
lib/k8s/client/runner/watch.ex
rbino/k8s
fc18899344f3d153815bd59c423568d747a33ba5
[ "MIT" ]
null
null
null
lib/k8s/client/runner/watch.ex
rbino/k8s
fc18899344f3d153815bd59c423568d747a33ba5
[ "MIT" ]
null
null
null
defmodule K8s.Client.Runner.Watch do @moduledoc """ `K8s.Client` runner that will watch a resource or resources and stream results back to a process. """ @resource_version_json_path ~w(metadata resourceVersion) alias K8s.Client.Runner.Base alias K8s.Operation @doc """ Watch a resource or list of reso...
32.53211
143
0.662719
1dddbd7499372b7685d063cbe983a3c86c5fbe5a
2,967
ex
Elixir
lib/site_encrypt/certification.ex
hexedpackets/site_encrypt
2fbe4815cb0d0bd5af2098e101400e0f11029b07
[ "MIT" ]
387
2018-05-22T21:46:20.000Z
2022-03-26T18:51:01.000Z
lib/site_encrypt/certification.ex
hexedpackets/site_encrypt
2fbe4815cb0d0bd5af2098e101400e0f11029b07
[ "MIT" ]
41
2018-06-03T13:02:24.000Z
2022-02-14T11:16:24.000Z
lib/site_encrypt/certification.ex
hexedpackets/site_encrypt
2fbe4815cb0d0bd5af2098e101400e0f11029b07
[ "MIT" ]
24
2018-05-24T07:04:12.000Z
2022-02-09T08:21:05.000Z
defmodule SiteEncrypt.Certification do @moduledoc false require Logger alias SiteEncrypt.Registry alias SiteEncrypt.Certification.Periodic def child_specs(id) do [ %{ id: __MODULE__.InitialRenewal, start: {Task, :start_link, [fn -> start_initial_renewal(id) end]}, restart: :...
26.72973
89
0.611392
1dddf411eaae854bbf90a369f34796ec8aae5a3e
7,702
ex
Elixir
lib/iex/lib/iex/info.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/info.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/info.ex
bellthoven/elixir
14610cb09b8d093d9513f97b7f4da82bdcbdd46d
[ "Apache-2.0" ]
null
null
null
defprotocol IEx.Info do @fallback_to_any true @spec info(term) :: [{atom, String.t}] def info(term) end defimpl IEx.Info, for: Tuple do def info(_tuple) do ["Data type": "Tuple", "Reference modules": "Tuple"] end end defimpl IEx.Info, for: Atom do def info(atom) do specific_info = if Code.en...
27.605735
101
0.638406
1dddff859f79fd11a9b299c9037244dcef0863e4
1,547
ex
Elixir
lib/erlnote/accounts/user.ex
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
null
null
null
lib/erlnote/accounts/user.ex
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
1
2019-11-02T13:46:12.000Z
2019-11-02T13:46:12.000Z
lib/erlnote/accounts/user.ex
alchexmist/erlnote
e1f164e63616316e1d3869ebfae5ed2ae96c3ccd
[ "Apache-2.0" ]
null
null
null
defmodule Erlnote.Accounts.User do use Ecto.Schema import Ecto.Changeset alias Erlnote.Accounts.Credential alias Erlnote.Boards.{Board, BoardUser} alias Erlnote.Notes.{Notepad, Note, NoteUser} alias Erlnote.Tasks.{Tasklist, TasklistUser} # If your :join_through is a schema, your join table may be struct...
32.914894
78
0.72075
1dde020deae1f0df9a73b59488e185e07c78f6e5
1,948
ex
Elixir
lib/membrane/core/element/state.ex
treble37/membrane-core
3f7c7200a80eef370092ef252b5f75dc9eb16cbd
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/element/state.ex
treble37/membrane-core
3f7c7200a80eef370092ef252b5f75dc9eb16cbd
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/element/state.ex
treble37/membrane-core
3f7c7200a80eef370092ef252b5f75dc9eb16cbd
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Core.Element.State do @moduledoc false # Structure representing state of an Core.Element. It is a part of the private API. # It does not represent state of elements you construct, it's a state used # internally in Membrane. use Membrane.Log, tags: :core alias Membrane.{Core, Element} a...
27.055556
85
0.643737
1dde206a169930b16dcc4935f6f4cca515c5c090
1,332
ex
Elixir
lib/eecrit/endpoint.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
10
2016-07-15T15:57:33.000Z
2018-06-09T00:40:46.000Z
lib/eecrit/endpoint.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
null
null
null
lib/eecrit/endpoint.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
6
2016-07-15T15:57:41.000Z
2018-03-22T16:38:00.000Z
defmodule Eecrit.Endpoint do use Phoenix.Endpoint, otp_app: :eecrit @socket_mount "/socket" def socket_uri() do ws_url = String.replace_leading(url(), "http:", "ws:") ws_url <> @socket_mount end socket @socket_mount, Eecrit.UserSocket # Serve at "/" the static files from "priv/static" directory....
26.64
69
0.706456
1dde5f8a3518d56b521d7c30a581963ab2fb844e
6,216
ex
Elixir
lib/grizzly/associations.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
76
2019-09-04T16:56:58.000Z
2022-03-29T06:54:36.000Z
lib/grizzly/associations.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
124
2019-09-05T14:01:24.000Z
2022-02-28T22:58:14.000Z
lib/grizzly/associations.ex
smartrent/grizzly
65a397ea7bfedb5518fe63a3f058a0b6af473e39
[ "Apache-2.0" ]
10
2019-10-23T19:25:45.000Z
2021-11-17T13:21:20.000Z
defmodule Grizzly.Associations do @moduledoc false use GenServer alias Grizzly.{Options, ZWave} @type grouping_id() :: byte() defmodule State do @moduledoc false defstruct file_path: nil end defmodule Association do @moduledoc false alias Grizzly.ZWave @type t() :: %__MODULE__{ ...
25.9
89
0.663771
1dde6bac9c85c469aebf115a81c16e6ae6a5acc0
315
exs
Elixir
mix.exs
wojtekmach/c
522a1158a724c0ef53815221f8a5f346d44f7d63
[ "Apache-2.0" ]
9
2021-01-03T19:33:42.000Z
2021-01-17T18:44:22.000Z
mix.exs
wojtekmach/c
522a1158a724c0ef53815221f8a5f346d44f7d63
[ "Apache-2.0" ]
null
null
null
mix.exs
wojtekmach/c
522a1158a724c0ef53815221f8a5f346d44f7d63
[ "Apache-2.0" ]
null
null
null
defmodule C.MixProject do use Mix.Project def project do [ app: :c, version: "0.1.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ extra_applications: [:logger] ] end defp deps do [] end end
13.125
42
0.52381
1dde8cbc50819a5fc76a0e9da1c7acc91c05f84d
960
exs
Elixir
sublist/example.exs
wobh/xelixir
63e5beec40d5c441cf6cf87f30c29848f481bb1b
[ "MIT" ]
1
2021-08-16T20:24:14.000Z
2021-08-16T20:24:14.000Z
exercises/sublist/example.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
exercises/sublist/example.exs
Triangle-Elixir/xelixir
08d23bf47f57799f286567cb26f635291de2fde5
[ "MIT" ]
null
null
null
defmodule Sublist do @doc """ Returns whether the first list is a sublist or a superlist of the second list and if not whether it is equal or unequal to the second list. """ def compare(a, b) do case { length(a), length(b) } do { la, lb } when la < lb -> if is_sublist(a, b, la, lb), do: :sub...
30.967742
79
0.604167
1ddec5a2503b772aad47377457710fdda33f8e0a
90
exs
Elixir
test/views/layout_view_test.exs
obahareth/twitter-relations-grapher
952df9569d7d794a5446ea4f14cf5e1cde08f5df
[ "MIT" ]
1
2017-06-07T22:53:52.000Z
2017-06-07T22:53:52.000Z
test/views/layout_view_test.exs
obahareth/twitter-relations-grapher
952df9569d7d794a5446ea4f14cf5e1cde08f5df
[ "MIT" ]
null
null
null
test/views/layout_view_test.exs
obahareth/twitter-relations-grapher
952df9569d7d794a5446ea4f14cf5e1cde08f5df
[ "MIT" ]
null
null
null
defmodule TwitterGrapher.LayoutViewTest do use TwitterGrapher.ConnCase, async: true end
22.5
42
0.844444
1ddecd3e6e14442a80733bc74e412349433dccf0
3,577
ex
Elixir
lib/kojin/pod/pod_object.ex
patefacio/kojin
34f1959b7fa5fdc48e07ae6d81f8fa3ab31af982
[ "MIT" ]
3
2021-12-20T04:46:00.000Z
2022-01-31T22:26:44.000Z
lib/kojin/pod/pod_object.ex
patefacio/kojin
34f1959b7fa5fdc48e07ae6d81f8fa3ab31af982
[ "MIT" ]
1
2021-12-20T14:46:50.000Z
2021-12-20T14:46:50.000Z
lib/kojin/pod/pod_object.ex
patefacio/kojin
34f1959b7fa5fdc48e07ae6d81f8fa3ab31af982
[ "MIT" ]
1
2021-12-20T00:15:52.000Z
2021-12-20T00:15:52.000Z
defmodule Kojin.Pod.PodObject do @moduledoc """ Module for defining plain old data objects, independent of target language """ alias Kojin.Pod.{PodField, PodObject, PodTypeRef, PodTypes} use TypedStruct @typedoc """ A plain old data object, with an `id`, a `doc` comment and a list of fields. """ ...
27.728682
95
0.514118
1ddef830ec768c5393701f2b6612f94dddf67c2b
132
ex
Elixir
lib/stable_marriage.ex
bikefighter/stablemarriage
cf28a372f80a43e3a12a3c5d0545c7b3d0dcd9a8
[ "MIT" ]
1
2015-09-14T23:48:46.000Z
2015-09-14T23:48:46.000Z
lib/stable_marriage.ex
bikefighter/stablemarriage
cf28a372f80a43e3a12a3c5d0545c7b3d0dcd9a8
[ "MIT" ]
null
null
null
lib/stable_marriage.ex
bikefighter/stablemarriage
cf28a372f80a43e3a12a3c5d0545c7b3d0dcd9a8
[ "MIT" ]
null
null
null
defmodule StableMarriage do def start(men_prefs, women_prefs) do StableMarriage.Match.start(men_prefs, women_prefs) end end
22
54
0.795455
1ddf0535108da69cc6e037380da9299b742eb685
4,446
exs
Elixir
test/json_schema_test_suite/draft4/enum_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
test/json_schema_test_suite/draft4/enum_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
test/json_schema_test_suite/draft4/enum_test.exs
romul/xema
8273e10645cf54e8765a197b1ff0c097994275d9
[ "MIT" ]
null
null
null
defmodule JsonSchemaTestSuite.Draft4.EnumTest do use ExUnit.Case import Xema, only: [valid?: 2] describe "simple enum validation" do setup do %{ schema: Xema.from_json_schema( %{"enum" => [1, 2, 3]}, draft: "draft4" ) } end test "one o...
22.009901
94
0.522717
1ddf51acea9926776a8782dfe80cde6fc3ebc731
69
exs
Elixir
.formatter.exs
nathanbegbie/learn-elixir-faktory
5a77b494bb6d61373a1b195119b69dd47a2404fc
[ "MIT" ]
null
null
null
.formatter.exs
nathanbegbie/learn-elixir-faktory
5a77b494bb6d61373a1b195119b69dd47a2404fc
[ "MIT" ]
null
null
null
.formatter.exs
nathanbegbie/learn-elixir-faktory
5a77b494bb6d61373a1b195119b69dd47a2404fc
[ "MIT" ]
null
null
null
[ inputs: ["*.{ex,exs}", "{priv,config,lib,test}/**/*.{ex,exs}"] ]
17.25
64
0.478261
1ddf557f5f4b092827c60e00a6d6440ec11bcc60
1,726
ex
Elixir
clients/area120_tables/lib/google_api/area120_tables/v1alpha1/model/row.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/area120_tables/lib/google_api/area120_tables/v1alpha1/model/row.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/area120_tables/lib/google_api/area120_tables/v1alpha1/model/row.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.52
207
0.714948
1ddf59d23b5ba4f5987ed3b3ab7f882c60050447
4,249
exs
Elixir
test/mastani_server_web/query/cms/reaction_users_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
test/mastani_server_web/query/cms/reaction_users_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
test/mastani_server_web/query/cms/reaction_users_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Test.Query.ReactionUsers do use MastaniServer.TestTools alias MastaniServer.CMS setup do {:ok, post} = db_insert(:post) {:ok, job} = db_insert(:job) {:ok, video} = db_insert(:video) {:ok, user} = db_insert(:user) {:ok, user2} = db_insert(:user) guest_conn = simu_...
36.008475
98
0.604142
1ddf65221ff9e937c7aea03af19f5a83a2c237d8
619
ex
Elixir
apps/thumbnail_server/lib/thumbnail_server/application.ex
salmanebah/gen_thumbnail
58e8e0ce8661b18725704c04cf2f33d7edd6e51e
[ "MIT" ]
1
2019-06-06T12:03:37.000Z
2019-06-06T12:03:37.000Z
apps/thumbnail_server/lib/thumbnail_server/application.ex
salmanebah/gen_thumbnail
58e8e0ce8661b18725704c04cf2f33d7edd6e51e
[ "MIT" ]
null
null
null
apps/thumbnail_server/lib/thumbnail_server/application.ex
salmanebah/gen_thumbnail
58e8e0ce8661b18725704c04cf2f33d7edd6e51e
[ "MIT" ]
null
null
null
defmodule ThumbnailServer.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ {DynamicSupervisor, name: ThumbnailServer.St...
30.95
89
0.743134
1ddf72e145bab5b6ecca0a60a6fd4f8f94a136d7
215
ex
Elixir
web/views/page_view.ex
borodark/weather_phoenix1
0de7070c54a943935e0eb89f621ff6dfc3d5d78c
[ "MIT" ]
2
2015-11-09T18:16:58.000Z
2017-03-01T14:11:07.000Z
web/views/page_view.ex
borodark/weather_phoenix1
0de7070c54a943935e0eb89f621ff6dfc3d5d78c
[ "MIT" ]
null
null
null
web/views/page_view.ex
borodark/weather_phoenix1
0de7070c54a943935e0eb89f621ff6dfc3d5d78c
[ "MIT" ]
null
null
null
defmodule WeatherPhoenix1.PageView do use WeatherPhoenix1.Web, :view def format_date(epoc_date) do {date, time} = :calendar.gregorian_seconds_to_datetime epoc_date :qdate.to_string("n/j/Y", date) end end
26.875
67
0.767442
1ddf76dc05948b0328d5804a7e8866c8d9119369
1,573
ex
Elixir
lib/tnd/characters.ex
tndrpg/tnd
a9a348ed7ce2f3d8f55046559f9551e2607f3236
[ "0BSD" ]
null
null
null
lib/tnd/characters.ex
tndrpg/tnd
a9a348ed7ce2f3d8f55046559f9551e2607f3236
[ "0BSD" ]
1
2021-05-11T14:31:58.000Z
2021-05-11T14:31:58.000Z
lib/tnd/characters.ex
tndrpg/tnd
a9a348ed7ce2f3d8f55046559f9551e2607f3236
[ "0BSD" ]
null
null
null
defmodule Tnd.Characters do @moduledoc """ The Characters context. """ alias Tnd.Characters.{Armor, ArmorAttachment, Character, Gear, Skill, WeaponAttachment, Weapon} # def list_characters(compendium_id), do: nil # def create_character(character_id, attrs \\ %{}), do: nil # def get_character(character_i...
50.741935
111
0.775588
1ddf7e975dc44a897045b617ec125d956b1b4b4d
3,471
ex
Elixir
clients/genomics/lib/google_api/genomics/v1/model/policy.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/policy.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/genomics/lib/google_api/genomics/v1/model/policy.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
66.75
1,120
0.699798
1de00543c679944cec69ef9c2701f97bd9b9ffa9
79
exs
Elixir
test/argument_test.exs
jalcine/solid
845104b6c5c065f3930e16e3e45573f8fb0f0957
[ "MIT" ]
null
null
null
test/argument_test.exs
jalcine/solid
845104b6c5c065f3930e16e3e45573f8fb0f0957
[ "MIT" ]
null
null
null
test/argument_test.exs
jalcine/solid
845104b6c5c065f3930e16e3e45573f8fb0f0957
[ "MIT" ]
null
null
null
defmodule Solid.ArgumentTest do use ExUnit.Case doctest Solid.Argument end
15.8
31
0.810127
1de023fb7d07aeffe4a6ae98203a5a7a644b4080
6,796
exs
Elixir
test/event_store_test.exs
YodelTalk/event_store
d8f07939d5112754072aeeea8a14cd694b978adf
[ "MIT" ]
null
null
null
test/event_store_test.exs
YodelTalk/event_store
d8f07939d5112754072aeeea8a14cd694b978adf
[ "MIT" ]
null
null
null
test/event_store_test.exs
YodelTalk/event_store
d8f07939d5112754072aeeea8a14cd694b978adf
[ "MIT" ]
null
null
null
defmodule EventStoreTest do use ExUnit.Case, async: true alias EventStore.{UserCreated, UserUpdated} @data %{"some" => "data"} describe "dispatch/1" do test "dispatches the event to all subscribers" do EventStore.subscribe(UserCreated) {:ok, event} = EventStore.dispatch(%UserCreated{ ...
27.403226
93
0.65259
1de031175948abe7f14e435dfaa8a65ebd7c1fe9
3,245
ex
Elixir
lib/codes/codes_q05.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_q05.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_q05.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_Q05 do alias IcdCode.ICDCode def _Q050 do %ICDCode{full_code: "Q050", category_code: "Q05", short_code: "0", full_name: "Cervical spina bifida with hydrocephalus", short_name: "Cervical spina bifida with hydrocephalus", category_na...
33.453608
70
0.627119
1de03c7c3212a4ab9987c36ca31cfa7c5ff18e2a
8,074
ex
Elixir
lib/greenhouse.ex
jeffweiss/greenhouse
cd2d988de521a93ca441d85b2771bf3b2e12a7ea
[ "MIT" ]
2
2016-05-12T17:05:11.000Z
2016-09-27T07:41:23.000Z
lib/greenhouse.ex
jeffweiss/greenhouse
cd2d988de521a93ca441d85b2771bf3b2e12a7ea
[ "MIT" ]
null
null
null
lib/greenhouse.ex
jeffweiss/greenhouse
cd2d988de521a93ca441d85b2771bf3b2e12a7ea
[ "MIT" ]
2
2016-06-22T19:55:48.000Z
2020-09-09T21:52:37.000Z
defmodule Greenhouse do use HTTPoison.Base alias Greenhouse.Client @user_agent [{"User-agent", "greenhouse/elixir (github.com/jeffweiss/greenhouse)"}] def process_response_body(""), do: nil def process_response_body(body), do: Poison.decode!(body) def process_response(%HTTPoison.Response{status_code: 20...
34.952381
138
0.650607
1de0550299cc3f19c34ba8638c4708a9a5700504
6,319
ex
Elixir
web_finngen_r4/lib/risteys_web/controllers/phenocode_controller.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r4/lib/risteys_web/controllers/phenocode_controller.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r4/lib/risteys_web/controllers/phenocode_controller.ex
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule RisteysWeb.PhenocodeController do use RisteysWeb, :controller alias Risteys.{Repo, CoxHR, Icd9, Icd10, Phenocode, PhenocodeIcd10, PhenocodeIcd9, StatsSex} import Ecto.Query def show(conn, %{"name" => name}) do case Repo.get_by(Phenocode, name: name) do nil -> conn |> assign(...
28.084444
94
0.615445
1de06b61b60bd085d0746afe2ddd6024b80558fd
2,725
ex
Elixir
lib/filterable/cast.ex
Inkwell-Data/filterable
82444878a24be0c6bf8b8f9cc958c516ae0ebfac
[ "MIT" ]
82
2016-09-17T12:50:41.000Z
2021-06-22T15:04:09.000Z
lib/filterable/cast.ex
Inkwell-Data/filterable
82444878a24be0c6bf8b8f9cc958c516ae0ebfac
[ "MIT" ]
16
2017-09-26T10:25:04.000Z
2022-01-08T19:23:38.000Z
lib/filterable/cast.ex
Inkwell-Data/filterable
82444878a24be0c6bf8b8f9cc958c516ae0ebfac
[ "MIT" ]
4
2017-10-09T09:08:23.000Z
2022-01-21T15:34:50.000Z
defmodule Filterable.Cast do @moduledoc ~S""" Contains functions which perform filter values type casting. Each function should return casted value or `:error` atom. """ @spec integer(String.t() | number) :: integer | :error def integer(value) when is_bitstring(value) do case Integer.parse(value) do ...
19.890511
78
0.622385
1de073b8a29417cc9258f0e19f96da3417c1a49b
1,575
exs
Elixir
apps/andi/test/unit/andi/services/dataset_retrieval_service_test.exs
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
apps/andi/test/unit/andi/services/dataset_retrieval_service_test.exs
PillarTechnology/smartcitiesdata
9420a26820e38267513cd1bfa82c7f5583222bb1
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
apps/andi/test/unit/andi/services/dataset_retrieval_service_test.exs
jakeprem/smartcitiesdata
da309ac0d2261527278951cbae88604455207589
[ "Apache-2.0" ]
null
null
null
defmodule Andi.Services.DatasetRetrievalTest do use ExUnit.Case use Placebo import SmartCity.Event, only: [dataset_update: 0] alias SmartCity.TestDataGenerator, as: TDG alias Andi.Services.DatasetRetrieval @brook_instance :andi_test_brook_or_whatever setup do brook_config = :andi |> Ap...
26.694915
86
0.688889
1de080945201af75301462ffa083f68191605527
1,401
exs
Elixir
apps/gitgud/test/gitgud/gpg_key_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
449
2018-03-06T01:05:55.000Z
2022-03-23T21:03:56.000Z
apps/gitgud/test/gitgud/gpg_key_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
69
2018-03-06T09:26:41.000Z
2022-03-21T22:43:09.000Z
apps/gitgud/test/gitgud/gpg_key_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
41
2018-03-06T01:06:07.000Z
2021-11-21T17:55:04.000Z
defmodule GitGud.GPGKeyTest do use GitGud.DataCase, async: true use GitGud.DataFactory alias GitGud.User alias GitGud.GPGKey setup :create_user @tag :skip test "creates a new gpg key with valid params", %{user: user} do assert {:ok, gpg_key} = GPGKey.create(user, factory(:gpg_key, user)) assert...
29.1875
154
0.680942
1de14927e6e1d174680fc43021f24d8cdbd7f301
113
exs
Elixir
test/faker/internet/user_agent_test.exs
joshillian/faker
eeede9d7c35c543dcf6abe72dc476e755c80415b
[ "MIT" ]
540
2015-01-05T16:31:49.000Z
2019-09-25T00:40:27.000Z
test/faker/internet/user_agent_test.exs
echenim/faker
15172b7d9c2b7711173a5faf3e45bfc4e45d6a97
[ "MIT" ]
172
2015-01-06T03:55:17.000Z
2019-10-03T12:58:02.000Z
test/faker/internet/user_agent_test.exs
echenim/faker
15172b7d9c2b7711173a5faf3e45bfc4e45d6a97
[ "MIT" ]
163
2015-01-05T21:24:54.000Z
2019-10-03T07:59:42.000Z
defmodule Faker.Internet.UserAgentTest do use ExUnit.Case, async: true doctest Faker.Internet.UserAgent end
18.833333
41
0.80531
1de14f95fab9fb41e4b6de8d26aeaeac12dbad16
189
exs
Elixir
functions/guard_clause.exs
hckrtst/elixir-kata
6bee22e46443207aee77418e62ceec2569fffdba
[ "MIT" ]
1
2016-09-22T03:48:10.000Z
2016-09-22T03:48:10.000Z
functions/guard_clause.exs
hckrtst/elixir-kata
6bee22e46443207aee77418e62ceec2569fffdba
[ "MIT" ]
null
null
null
functions/guard_clause.exs
hckrtst/elixir-kata
6bee22e46443207aee77418e62ceec2569fffdba
[ "MIT" ]
null
null
null
defmodule Factorial do def fact(0), do: 1 def fact(n) when n>0 do n*fact(n-1) end end "result = #{Factorial.fact(4000)}" |> IO.puts "result = #{Factorial.fact(-20)}" |> IO.puts
17.181818
45
0.613757
1de15aa20806ef32645302dfb9f95fa750c47fc7
716
ex
Elixir
web/gettext.ex
cjarrett/hello_phoenix
0df3d624d86ae1117675b8f79a0571752f7c6910
[ "MIT" ]
null
null
null
web/gettext.ex
cjarrett/hello_phoenix
0df3d624d86ae1117675b8f79a0571752f7c6910
[ "MIT" ]
null
null
null
web/gettext.ex
cjarrett/hello_phoenix
0df3d624d86ae1117675b8f79a0571752f7c6910
[ "MIT" ]
1
2021-06-26T15:08:59.000Z
2021-06-26T15:08:59.000Z
defmodule HelloPhoenix.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](http://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import HelloPhoenix.Gettext # Simple translation gettext "Here i...
28.64
71
0.684358
1de15ea8271ae979f0202b2350ad51af4331f430
4,489
exs
Elixir
config/config.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
2
2021-06-22T21:01:49.000Z
2021-11-04T18:36:48.000Z
config/config.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
config/config.exs
RatioPBC/epi-viaduct-nys
99fb637785ea207aee5449fa01fa59dd18ec8bf2
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration import Config defmodule AwsConfig do def config(env_variable,...
30.746575
94
0.73268
1de17ecad0844f348fec0aefeebd32a197e9f837
547
exs
Elixir
test/copper_test.exs
lucacorti/copper
1781dbdaa9b8aeda2b646537b03e74213d4abe93
[ "MIT" ]
null
null
null
test/copper_test.exs
lucacorti/copper
1781dbdaa9b8aeda2b646537b03e74213d4abe93
[ "MIT" ]
9
2019-08-20T07:04:10.000Z
2022-01-17T08:29:46.000Z
test/copper_test.exs
lucacorti/copper
1781dbdaa9b8aeda2b646537b03e74213d4abe93
[ "MIT" ]
null
null
null
defmodule CopperTest do use ExUnit.Case, async: true doctest Copper alias Ankh.HTTP.{Request, Response} @uri URI.parse("https://www.google.com") test "sync get" do assert {:ok, _client, %Response{}} = @uri |> Copper.new() |> Copper.request(%Request{}) end tes...
21.88
72
0.557587
1de185024e8f42d47d0cd464ac0b759e1a271298
620
exs
Elixir
test/mix/tasks/exfmt_test.exs
securingsincity/exfmt
4fbd403abfc71df92ee67037804d6310bb45b272
[ "Apache-2.0" ]
null
null
null
test/mix/tasks/exfmt_test.exs
securingsincity/exfmt
4fbd403abfc71df92ee67037804d6310bb45b272
[ "Apache-2.0" ]
null
null
null
test/mix/tasks/exfmt_test.exs
securingsincity/exfmt
4fbd403abfc71df92ee67037804d6310bb45b272
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.ExfmtTest do use ExUnit.Case, async: true import ExUnit.CaptureIO describe "mix exfmt" do test "with no args" do io = capture_io(:stderr, fn-> Mix.Tasks.Exfmt.run([]) end) assert io =~ "USAGE" assert io =~ "mix exfmt path/to/file.ex" end test "file...
21.37931
52
0.554839
1de1a493f860779132404d6efa5a750c4de4982d
513
ex
Elixir
lib/phoenix14_base_web/router.ex
pgrunwald/phoenix14_base
991313f244af350245f5fd3e8fe6716a1a9e88a4
[ "MIT" ]
1
2019-03-28T05:47:39.000Z
2019-03-28T05:47:39.000Z
lib/phoenix14_base_web/router.ex
pgrunwald/phoenix14_base
991313f244af350245f5fd3e8fe6716a1a9e88a4
[ "MIT" ]
null
null
null
lib/phoenix14_base_web/router.ex
pgrunwald/phoenix14_base
991313f244af350245f5fd3e8fe6716a1a9e88a4
[ "MIT" ]
1
2020-05-23T09:20:53.000Z
2020-05-23T09:20:53.000Z
defmodule Phoenix14BaseWeb.Router do use Phoenix14BaseWeb, :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 "/", Phoenix14Ba...
19
39
0.688109
1de1dca338082108d086ee75c5f6972c30a6cfce
5,308
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/project.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/project.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/project.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
48.254545
297
0.65844
1de1e93414dd54987e25bed473c444eff566c924
278
exs
Elixir
apps/nerves_hub_api/config/test.exs
Gazler/nerves_hub_web
9a636a17310382819eaa6cee590e053cb47f0dcc
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_api/config/test.exs
Gazler/nerves_hub_web
9a636a17310382819eaa6cee590e053cb47f0dcc
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_api/config/test.exs
Gazler/nerves_hub_web
9a636a17310382819eaa6cee590e053cb47f0dcc
[ "Apache-2.0" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :nerves_hub_api, NervesHubAPIWeb.Endpoint, http: [port: 4002], server: false # Print only warnings and errors during test config :logger, level: :warn
25.272727
56
0.748201
1de1f197b880682315dd64fd4e29c7a593ee3d15
1,131
exs
Elixir
testclient2/config/config.exs
abhisheknigam/Phoenix-Twitter-Application
9a793037e90a7abc6ced6979b0562ce45ece624a
[ "MIT" ]
null
null
null
testclient2/config/config.exs
abhisheknigam/Phoenix-Twitter-Application
9a793037e90a7abc6ced6979b0562ce45ece624a
[ "MIT" ]
null
null
null
testclient2/config/config.exs
abhisheknigam/Phoenix-Twitter-Application
9a793037e90a7abc6ced6979b0562ce45ece624a
[ "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.483871
73
0.753316
1de203ce1a25d6e77d5497c57a4b267118fd6f21
125
ex
Elixir
lib/google_fit/activity_type/spinning.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
2
2017-02-01T13:51:26.000Z
2019-04-12T11:37:25.000Z
lib/google_fit/activity_type/spinning.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
lib/google_fit/activity_type/spinning.ex
tsubery/google_fit
7578b832c560b3b4a78059ac86af6e111812712e
[ "Apache-2.0" ]
null
null
null
defmodule GoogleFit.ActivityType.Spinning do @moduledoc false def code, do: GoogleFit.ActivityType.code(__MODULE__) end
20.833333
55
0.808
1de20c146b48bafe597fe86a5c3078810f204871
8,581
exs
Elixir
apps/local_ledger_db/priv/repo/migrations/20180430105449_update_predictable_minted_token_id.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/local_ledger_db/priv/repo/migrations/20180430105449_update_predictable_minted_token_id.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/local_ledger_db/priv/repo/migrations/20180430105449_update_predictable_minted_token_id.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule LocalLedgerDB.Repo.Migrations.UpdatePredictableMintedTokenId do use Ecto.Migration import Ecto.Query alias Ecto.UUID alias ExULID.ULID alias LocalLedgerDB.Repo @prefix "tok_" @ulid_timestamp "01ccmny8yn" # Migrate up # # Because minted token's IDs need to be sync'ed between `ewallet_db` ...
36.206751
103
0.588393
1de2214ba7081f41c5573ff2d754f0dc70950411
421
ex
Elixir
06-chapter/09_example.ex
herminiotorres/programming-elixir
70add5ec9fe7f91129da0a4e39ab329afb9be598
[ "MIT" ]
null
null
null
06-chapter/09_example.ex
herminiotorres/programming-elixir
70add5ec9fe7f91129da0a4e39ab329afb9be598
[ "MIT" ]
null
null
null
06-chapter/09_example.ex
herminiotorres/programming-elixir
70add5ec9fe7f91129da0a4e39ab329afb9be598
[ "MIT" ]
null
null
null
defmodule Params do def func(p1, p2 \\ 123) def func(p1, p2) when is_list(p1) do "You said #{p2} with a list" end def func(p1, p2) do "You passed in #{p1} and #{p2}" end end # You passed in 99 and 123 IO.puts(Params.func(99)) # You passed in 99 and cat IO.puts(Params.func(99, "cat")) # You said 123...
20.047619
38
0.638955
1de22f28c6819af20fd4bf7f7b4fa71ac6efc5cf
9,215
exs
Elixir
test/config_cat/data_governance_test.exs
kianmeng/elixir-sdk
89fb73f6249f82ac8415246519c17ad4ade54760
[ "MIT" ]
14
2020-10-15T09:15:12.000Z
2022-03-18T19:42:28.000Z
test/config_cat/data_governance_test.exs
kianmeng/elixir-sdk
89fb73f6249f82ac8415246519c17ad4ade54760
[ "MIT" ]
54
2020-10-14T05:08:21.000Z
2021-05-28T13:00:22.000Z
test/config_cat/data_governance_test.exs
kianmeng/elixir-sdk
89fb73f6249f82ac8415246519c17ad4ade54760
[ "MIT" ]
5
2020-10-13T10:24:17.000Z
2021-11-30T17:47:11.000Z
defmodule ConfigCat.ConfigFetcher.DataGovernanceTest do use ExUnit.Case, async: true import Mox alias ConfigCat.CacheControlConfigFetcher, as: ConfigFetcher alias ConfigCat.{Constants, MockAPI} alias ConfigCat.ConfigFetcher.RedirectMode alias HTTPoison.Response require ConfigCat.Constants require Con...
31.775862
97
0.659577
1de2361bf84c12da4e6dc0aff7d9b19e6d9da5ea
1,902
ex
Elixir
lib/codes/codes_d75.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_d75.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_d75.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_D75 do alias IcdCode.ICDCode def _D750 do %ICDCode{full_code: "D750", category_code: "D75", short_code: "0", full_name: "Familial erythrocytosis", short_name: "Familial erythrocytosis", category_name: "Familial erythrocytosis" ...
31.180328
85
0.616193
1de23d1583b32fdb2604eeb56e6036166f79227e
5,521
ex
Elixir
lib/noap/xml_schema/response.ex
bpardee/noap
4c21c55ef2d88ad26a9fab94805beff954315dbf
[ "MIT" ]
1
2022-03-04T03:55:46.000Z
2022-03-04T03:55:46.000Z
lib/noap/xml_schema/response.ex
bpardee/noap
4c21c55ef2d88ad26a9fab94805beff954315dbf
[ "MIT" ]
null
null
null
lib/noap/xml_schema/response.ex
bpardee/noap
4c21c55ef2d88ad26a9fab94805beff954315dbf
[ "MIT" ]
null
null
null
defmodule Noap.XMLSchema.Response do @moduledoc """ Provides a functions for parse an xml-like response body. """ require Logger import SweetXml, only: [xpath: 2, sigil_x: 2, add_namespace: 3] import Noap.XMLUtil, only: [add_soap_namespace: 2] alias Noap.XMLField def parse_soap_response(body, operatio...
29.524064
101
0.603514
1de252ab6e58659f282e4cc783907cf9409d8e50
1,125
exs
Elixir
uderzo_svg/mix.exs
cdegroot/uderzo_poncho
af2f416cfae4dbcd41e3e88a86dfeb0fd423ed75
[ "Apache-2.0" ]
46
2018-05-08T12:06:18.000Z
2022-03-23T18:30:13.000Z
uderzo_svg/mix.exs
cdegroot/uderzo_poncho
af2f416cfae4dbcd41e3e88a86dfeb0fd423ed75
[ "Apache-2.0" ]
13
2018-05-08T11:42:00.000Z
2018-09-17T22:41:55.000Z
uderzo_svg/mix.exs
cdegroot/uderzo_poncho
af2f416cfae4dbcd41e3e88a86dfeb0fd423ed75
[ "Apache-2.0" ]
4
2018-06-06T05:04:00.000Z
2018-07-13T01:23:31.000Z
defmodule UderzoSvg.MixProject do use Mix.Project def project do [ app: :uderzo_svg, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), make_env: &make_env/0, compilers: Mix.compilers ++ [:clixir, :elixir_make] ] end def app...
24.456522
78
0.510222
1de2587f2999055d562c60a665bef354291d8c3e
5,703
ex
Elixir
lib/codes/codes_z62.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_z62.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_z62.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_Z62 do alias IcdCode.ICDCode def _Z620 do %ICDCode{full_code: "Z620", category_code: "Z62", short_code: "0", full_name: "Inadequate parental supervision and control", short_name: "Inadequate parental supervision and control", categ...
33.745562
85
0.619499
1de282e9919ce03741e8206c103386c261f081f5
5,623
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/model.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/model.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/model.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...
62.477778
438
0.709941
1de290433affef3ad4e02152869990e7cf7f15de
1,289
ex
Elixir
web/views/error_helpers.ex
kimquy/phoenix_webpack_vue_boilerplate
0067c7facaeb33c8c53fef7779becc708636c97a
[ "MIT" ]
6
2017-05-19T14:00:24.000Z
2017-07-07T21:19:18.000Z
web/views/error_helpers.ex
kimquy/phoenix_webpack_vue_boilerplate
0067c7facaeb33c8c53fef7779becc708636c97a
[ "MIT" ]
1
2017-05-19T14:04:37.000Z
2017-05-19T14:05:31.000Z
web/views/error_helpers.ex
kimquy/phoenix_webpack_vue_boilerplate
0067c7facaeb33c8c53fef7779becc708636c97a
[ "MIT" ]
null
null
null
defmodule PhoenixWebpackVueBoilerplate.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, tra...
31.439024
94
0.683476
1de2c55373fbf393e1583cbd6c98529edb2d5dbc
8,292
exs
Elixir
test/example_test.exs
ricn/rapport
f00f9945a11ca3f68e79c8f5709fa170b8ac4682
[ "MIT" ]
59
2017-09-30T23:28:20.000Z
2021-12-13T21:20:08.000Z
test/example_test.exs
ricn/rapport
f00f9945a11ca3f68e79c8f5709fa170b8ac4682
[ "MIT" ]
5
2017-10-27T07:28:13.000Z
2021-12-13T21:56:47.000Z
test/example_test.exs
ricn/rapport
f00f9945a11ca3f68e79c8f5709fa170b8ac4682
[ "MIT" ]
2
2017-10-26T13:50:46.000Z
2018-06-18T11:58:50.000Z
defmodule ExampleTest do use ExUnit.Case @moduletag :external test "hello.html" do page_template = "<h1><%= @hello %></h1>" html_report = Rapport.new() |> Rapport.add_page(page_template, %{hello: "Hello world!"}) |> Rapport.generate_html() file = Path.join([File.cwd!(), "examples"...
33.57085
125
0.635311
1de2feea78dc0cc23c1069e4b9cc2e4cb8d55def
1,814
ex
Elixir
apps/omg_child_chain/lib/omg_child_chain/http_rpc/client.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_child_chain/lib/omg_child_chain/http_rpc/client.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_child_chain/lib/omg_child_chain/http_rpc/client.ex
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 OmiseGO Pte Ltd # # 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 ...
33.592593
119
0.685777
1de313ee9520811b37b0b0ce6f38a8564a1e9bf1
631
ex
Elixir
lib/blockchain/output.ex
esdrasedu/ex_coin
e468977a17295daffef1ce9db0eabf0057b591f1
[ "MIT" ]
null
null
null
lib/blockchain/output.ex
esdrasedu/ex_coin
e468977a17295daffef1ce9db0eabf0057b591f1
[ "MIT" ]
null
null
null
lib/blockchain/output.ex
esdrasedu/ex_coin
e468977a17295daffef1ce9db0eabf0057b591f1
[ "MIT" ]
null
null
null
defmodule ExCoin.Blockchain.Output do @moduledoc """ Defines a basic transfer operation ``` %Output{ id: "id of output", tx_id: "id of transaction", previous_id: "id of input", senderKey: "public key of transaction issuer", recipient: "address of the recipient", amount: 100_000, fee...
21.033333
78
0.62599
1de3232e7b1135a71f99d0c214ce4b1c1bcdea96
1,396
ex
Elixir
clients/classroom/lib/google_api/classroom/v1/model/global_permission.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/classroom/lib/google_api/classroom/v1/model/global_permission.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/classroom/lib/google_api/classroom/v1/model/global_permission.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...
29.702128
77
0.738539
1de32f0fe785a93f232ff0a06f179f2e4f37ffe6
3,115
ex
Elixir
lib/vintage_net_mobile/pppd_notifications.ex
nerves-networking/vintage_net_lte
9a3be8828e4ecdbc993706782ed2039abf5fbbcb
[ "Apache-2.0" ]
2
2020-02-11T15:15:25.000Z
2020-02-11T15:15:27.000Z
lib/vintage_net_mobile/pppd_notifications.ex
nerves-networking/vintage_net_lte
9a3be8828e4ecdbc993706782ed2039abf5fbbcb
[ "Apache-2.0" ]
8
2020-01-28T21:02:56.000Z
2020-02-24T16:13:38.000Z
lib/vintage_net_mobile/pppd_notifications.ex
nerves-networking/vintage_net_lte
9a3be8828e4ecdbc993706782ed2039abf5fbbcb
[ "Apache-2.0" ]
1
2020-02-08T20:46:27.000Z
2020-02-08T20:46:27.000Z
defmodule VintageNetMobile.PPPDNotifications do @behaviour VintageNetMobile.ToElixir.PPPDHandler @moduledoc false alias VintageNet.{NameResolver, RouteManager} require Logger defp parse_address(address) do {:ok, ip} = :inet.parse_address(to_charlist(address)) ip end # Matt - one of the callba...
31.15
146
0.691172
1de3812a3dbbfd5dd79f1db6286da9715cd7e53c
2,165
exs
Elixir
test/challenge_gov/contact_forms_test.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
test/challenge_gov/contact_forms_test.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
test/challenge_gov/contact_forms_test.exs
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule ChallengeGov.ContactFormsTest do use ChallengeGov.DataCase use Bamboo.Test alias ChallengeGov.ContactForms alias ChallengeGov.Emails alias ChallengeGov.TestHelpers.AccountHelpers alias ChallengeGov.TestHelpers.ChallengeHelpers describe "sending an email" do test "successfully" do pub...
29.256757
96
0.675751
1de394ff6430eb6b93ec5e9129495da1086b96f2
5,885
ex
Elixir
lib/ecto/ulid.ex
bhicks/ecto-ulid
563ecfdb2604fe1ccda184b079dca032000dc961
[ "MIT" ]
null
null
null
lib/ecto/ulid.ex
bhicks/ecto-ulid
563ecfdb2604fe1ccda184b079dca032000dc961
[ "MIT" ]
null
null
null
lib/ecto/ulid.ex
bhicks/ecto-ulid
563ecfdb2604fe1ccda184b079dca032000dc961
[ "MIT" ]
null
null
null
defmodule Ecto.ULID do @moduledoc """ An Ecto type for ULID strings. """ @behaviour Ecto.Type @typedoc """ A hex-encoded ULID string. """ @type t :: <<_::208>> @doc """ The underlying schema type. """ def type, do: :uuid @doc """ Casts a string to ULID. """ def cast(<<_::bytes-size(2...
26.75
149
0.526593
1de3b3c2c1d12c19b70b7a35d08ba6971b909c09
23,206
ex
Elixir
lib/ex_unit/lib/ex_unit/assertions.ex
thomascchen/elixir
d19a92bbf4cb3743ce726a87e584a1741b59f5b0
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/assertions.ex
thomascchen/elixir
d19a92bbf4cb3743ce726a87e584a1741b59f5b0
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/assertions.ex
thomascchen/elixir
d19a92bbf4cb3743ce726a87e584a1741b59f5b0
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.AssertionError do @moduledoc """ Raised to signal an assertion error. """ @no_value :ex_unit_no_meaningful_value defexception left: @no_value, right: @no_value, message: @no_value, expr: @no_value, binding: @no_value @doc """ ...
27.758373
161
0.622641
1de40c6f14ca0c48a40cf38541da76a5d6b55747
212
exs
Elixir
test/kitten_grapqhl_web/controllers/page_controller_test.exs
floriank/react_relay_kitten_uploader
1b8988bdf9fe01a263dc59097652ddb2c50520f6
[ "MIT" ]
3
2020-02-25T16:49:06.000Z
2020-04-24T03:14:11.000Z
test/kitten_grapqhl_web/controllers/page_controller_test.exs
floriank/react_relay_kitten_uploader
1b8988bdf9fe01a263dc59097652ddb2c50520f6
[ "MIT" ]
3
2021-03-09T03:17:50.000Z
2021-09-01T04:37:12.000Z
test/kitten_grapqhl_web/controllers/page_controller_test.exs
floriank/react_relay_kitten_uploader
1b8988bdf9fe01a263dc59097652ddb2c50520f6
[ "MIT" ]
2
2019-05-06T08:27:54.000Z
2021-10-05T20:33:30.000Z
defmodule KittenGraphqlWeb.PageControllerTest do use KittenGraphqlWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
23.555556
60
0.698113
1de41f556057ad9b8ca83776e34459f96384d680
1,534
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_poll_opened_details.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_poll_opened_details.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_chat_poll_opened_details.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
30.078431
87
0.741851
1de4259c1e1a3dfb1ec22bc07058f2de3228a0d7
8,219
ex
Elixir
lib/oban/queue/producer.ex
hartzell/oban
2901cd4655d61eda95813cc1880b003f37cd8983
[ "Apache-2.0" ]
1
2021-11-20T19:16:24.000Z
2021-11-20T19:16:24.000Z
lib/oban/queue/producer.ex
hartzell/oban
2901cd4655d61eda95813cc1880b003f37cd8983
[ "Apache-2.0" ]
null
null
null
lib/oban/queue/producer.ex
hartzell/oban
2901cd4655d61eda95813cc1880b003f37cd8983
[ "Apache-2.0" ]
null
null
null
defmodule Oban.Queue.Producer do @moduledoc false use GenServer import Oban.Breaker, only: [open_circuit: 1, trip_errors: 0, trip_circuit: 2] import Oban.Notifier, only: [insert: 0, signal: 0] alias Oban.{Config, Notifier, Query} alias Oban.Queue.Executor @type option :: {:name, module()} ...
25.684375
98
0.620027
1de45d781ba0e652da418c2089c4a7abe3f138bc
909
ex
Elixir
lib/structs/overwrite.ex
jchristgit/crux_structs
9545295e0ffd2261ebe17a935270546bd52861f6
[ "MIT" ]
null
null
null
lib/structs/overwrite.ex
jchristgit/crux_structs
9545295e0ffd2261ebe17a935270546bd52861f6
[ "MIT" ]
null
null
null
lib/structs/overwrite.ex
jchristgit/crux_structs
9545295e0ffd2261ebe17a935270546bd52861f6
[ "MIT" ]
null
null
null
defmodule Crux.Structs.Overwrite do @moduledoc """ Represents a Discord [Overwrite Object](https://discordapp.com/developers/docs/resources/channel#overwrite-object-overwrite-structure). """ @behaviour Crux.Structs alias Crux.Structs.Util require Util Util.modulesince("0.1.0") defstruct( id: n...
19.76087
139
0.607261
1de469ad22f88925b7473905d2070b3335790f7f
487
exs
Elixir
priv/repo/migrations/20171008160532_create_option_choices.exs
vahidabdi/escala_api
84a4a3ef832180f12c6197683933d8cd0ab35ef4
[ "MIT" ]
null
null
null
priv/repo/migrations/20171008160532_create_option_choices.exs
vahidabdi/escala_api
84a4a3ef832180f12c6197683933d8cd0ab35ef4
[ "MIT" ]
null
null
null
priv/repo/migrations/20171008160532_create_option_choices.exs
vahidabdi/escala_api
84a4a3ef832180f12c6197683933d8cd0ab35ef4
[ "MIT" ]
null
null
null
defmodule Escala.Repo.Migrations.CreateOptionChoices do use Ecto.Migration def change do create table(:option_choices, primary_key: false) do add :id, :uuid, primary_key: true, default: fragment("uuid_generate_v4()") add :option_choice_name, :text, null: false add :option_choice_value, :text,...
30.4375
96
0.712526
1de48f3eddab87502bf8411cd9555f29d9d931b6
469
exs
Elixir
test/brotlex_test.exs
hwuethrich/brotlex
e87beb3334bd1ba9c0b4bf4aeee433dba9529df9
[ "MIT" ]
null
null
null
test/brotlex_test.exs
hwuethrich/brotlex
e87beb3334bd1ba9c0b4bf4aeee433dba9529df9
[ "MIT" ]
null
null
null
test/brotlex_test.exs
hwuethrich/brotlex
e87beb3334bd1ba9c0b4bf4aeee433dba9529df9
[ "MIT" ]
null
null
null
defmodule BrotlexTest do use ExUnit.Case, async: true use ExUnitProperties doctest Brotlex describe "compress and decompress" do property "can decompress what is compressed" do check all(to_compress <- binary(), max_runs: 5_000) do {:ok, compressed} = Brotlex.compress(to_compress, %Brotlex.Co...
29.3125
85
0.701493
1de4a6badb74f055ca0c69479fb4f3e89a5de5bc
1,885
ex
Elixir
lib/mix/helpers.ex
simpers/ash_postgres
22ba737d0d1e57da3d3150bcf94961a99b145ae9
[ "MIT" ]
null
null
null
lib/mix/helpers.ex
simpers/ash_postgres
22ba737d0d1e57da3d3150bcf94961a99b145ae9
[ "MIT" ]
null
null
null
lib/mix/helpers.ex
simpers/ash_postgres
22ba737d0d1e57da3d3150bcf94961a99b145ae9
[ "MIT" ]
null
null
null
defmodule AshPostgres.MixHelpers do @moduledoc false def apis(opts, args) do apps = if apps_paths = Mix.Project.apps_paths() do apps_paths |> Map.keys() |> Enum.sort() else [Mix.Project.config()[:app]] end configured_apis = Enum.flat_map(apps, &Application.get_env(&1, :ash...
22.440476
82
0.540053
1de501776b54980b3da28e43b2b0a4c0d37f9f13
1,242
ex
Elixir
kousa/lib/routes/dev.ex
xkral-tr/dogehouse
b03bd912a8efbdd7078e0e488eab61c35dcc544f
[ "MIT" ]
1
2021-03-07T10:17:11.000Z
2021-03-07T10:17:11.000Z
kousa/lib/routes/dev.ex
DHRUV-CODER/dogehouse
bb5b60788e8a491a539824e090e73786e5b4da31
[ "MIT" ]
null
null
null
kousa/lib/routes/dev.ex
DHRUV-CODER/dogehouse
bb5b60788e8a491a539824e090e73786e5b4da31
[ "MIT" ]
null
null
null
defmodule Kousa.Dev do import Plug.Conn alias Beef.Schemas.User use Plug.Router plug(:match) plug(:dispatch) get "/test-info" do if Application.fetch_env!(:kousa, :env) != :dev and not Kousa.Caster.bool(Application.get_env(:kousa, :staging?)) do conn |> put_resp_content_type("ap...
27.6
126
0.541868
1de507023f97653726733424d6374c4624d4ae47
1,926
ex
Elixir
lib/commanded/aggregates/supervisor.ex
SimpleBet/commanded
dc89737bd22daf4f6c5b3333b5d8d8de47fea5b8
[ "MIT" ]
null
null
null
lib/commanded/aggregates/supervisor.ex
SimpleBet/commanded
dc89737bd22daf4f6c5b3333b5d8d8de47fea5b8
[ "MIT" ]
null
null
null
lib/commanded/aggregates/supervisor.ex
SimpleBet/commanded
dc89737bd22daf4f6c5b3333b5d8d8de47fea5b8
[ "MIT" ]
null
null
null
defmodule Commanded.Aggregates.Supervisor do @moduledoc """ Supervises `Commanded.Aggregates.Aggregate` instance processes. """ use DynamicSupervisor require Logger alias Commanded.Aggregates.Aggregate alias Commanded.Registration # def child_spec(arg) do # Registration.supervisor_child_spec(__M...
27.913043
101
0.711838
1de5861f92174c5eee81f1a25e92030db7957926
10,754
ex
Elixir
lib/libpe/language.ex
elixir-desktop/libpe
c7e84e7d35b5ab7661691a2282b44ca2268eec39
[ "MIT" ]
null
null
null
lib/libpe/language.ex
elixir-desktop/libpe
c7e84e7d35b5ab7661691a2282b44ca2268eec39
[ "MIT" ]
1
2022-03-02T14:35:50.000Z
2022-03-02T14:35:50.000Z
lib/libpe/language.ex
elixir-desktop/libpe
c7e84e7d35b5ab7661691a2282b44ca2268eec39
[ "MIT" ]
null
null
null
defmodule LibPE.Language do use LibPE.Flags @doc """ Generated based on documentation. Used this snipper after copy paste: ``` data = ... (copy pasted) Enum.chunk_every(String.split(data, "\n"), 3, 3, :discard) |> Enum.map(fn [name, id, desc] -> {name, String.to_integer(id), desc} end) ```...
39.682657
140
0.491073
1de59f561ab2c53f52f312ebf05037aeacc9be73
688
ex
Elixir
lib/ext/bootstrap/drop_password_support.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
lib/ext/bootstrap/drop_password_support.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
lib/ext/bootstrap/drop_password_support.ex
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Bootstrap.DropPasswordSupport do @moduledoc """ Task to make sure the plaintext password is dropped form the sqlite database. """ import FarmbotOS.Config, only: [update_config_value: 4, get_config_value: 3] require FarmbotOS.Logger def get_credentials do %{ email: get_config...
31.272727
78
0.722384
1de5ab62111b76bf29c79d3eea1ef5b74e5d87a2
379
exs
Elixir
test/plug/accesslog/default_formatter/remote_ip_address_test.exs
mneudert/plug_accesslog
35e9ee77b0b123a0f7a8c3c76d088b3234cfa0ec
[ "Apache-2.0" ]
32
2015-01-16T08:53:48.000Z
2021-03-16T09:12:13.000Z
test/plug/accesslog/default_formatter/remote_ip_address_test.exs
mneudert/plug_accesslog
35e9ee77b0b123a0f7a8c3c76d088b3234cfa0ec
[ "Apache-2.0" ]
14
2015-02-03T20:39:01.000Z
2020-07-12T11:11:50.000Z
test/plug/accesslog/default_formatter/remote_ip_address_test.exs
mneudert/plug_accesslog
35e9ee77b0b123a0f7a8c3c76d088b3234cfa0ec
[ "Apache-2.0" ]
6
2015-02-03T15:40:58.000Z
2020-06-07T14:07:39.000Z
defmodule Plug.AccessLog.DefaultFormatter.RemoteIPAddressTest do use ExUnit.Case, async: true use Plug.Test alias Plug.AccessLog.DefaultFormatter test "%a" do conn = conn(:get, "/") assert "127.0.0.1" = DefaultFormatter.format("%a", conn) end test "%h" do conn = conn(:get, "/") assert "...
19.947368
64
0.656992
1de5acae6adec0ce6c34e363642a46dc96722cfb
16,525
ex
Elixir
lib/myxql/protocol.ex
nerds-and-company/myxql
2b1557059f37349baf7db91156e768d5f6d3a2e5
[ "Apache-2.0" ]
null
null
null
lib/myxql/protocol.ex
nerds-and-company/myxql
2b1557059f37349baf7db91156e768d5f6d3a2e5
[ "Apache-2.0" ]
null
null
null
lib/myxql/protocol.ex
nerds-and-company/myxql
2b1557059f37349baf7db91156e768d5f6d3a2e5
[ "Apache-2.0" ]
null
null
null
defmodule MyXQL.Protocol do @moduledoc false import MyXQL.Protocol.{Flags, Records, Types} alias MyXQL.Protocol.Values use Bitwise defdelegate error_code_to_name(code), to: MyXQL.Protocol.ServerErrorCodes, as: :code_to_name # https://dev.mysql.com/doc/internals/en/com-stmt-execute.html @cursor_types %{...
29.614695
98
0.655794
1de5c95ec4eb9dd9e45f6244459f9be088798fa0
1,945
ex
Elixir
lib/mix/lib/mix/tasks/local.hex.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/local.hex.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/local.hex.ex
sunaku/elixir
8aa43eaedd76be8ac0d495049eb9ecd56971f4fe
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Local.Hex do use Mix.Task @hex_url "https://hex.pm/installs/hex.ez" @hex_requirement ">= 0.4.0" @shortdoc "Install hex locally" @moduledoc """ Install hex locally from #{@hex_url}. mix local.hex ## Command line options * `--force` - forces installation without a shell p...
24.935897
96
0.626735
1de5cffab5f1d7944a0e4796d3031271b96c14ec
10,421
ex
Elixir
lib/phoenix/router/helpers.ex
angwoontiong/phoenix-ui
03227b13f3c780b5626d56207bfa99c8a06525d8
[ "MIT" ]
null
null
null
lib/phoenix/router/helpers.ex
angwoontiong/phoenix-ui
03227b13f3c780b5626d56207bfa99c8a06525d8
[ "MIT" ]
null
null
null
lib/phoenix/router/helpers.ex
angwoontiong/phoenix-ui
03227b13f3c780b5626d56207bfa99c8a06525d8
[ "MIT" ]
null
null
null
defmodule Phoenix.Router.Helpers do # Module that generates the routing helpers. @moduledoc false alias Phoenix.Router.Route alias Phoenix.Socket alias Plug.Conn @doc """ Callback invoked by url generated in each helper module. """ def url(_router, %Conn{private: private}) do private.phoenix_end...
33.508039
147
0.63823
1de5ed5d64371c93d2c24e9499225300f6bf8994
3,938
ex
Elixir
lib/coherence/controllers/unlock_controller.ex
lorenzosinisi/coherence
956b6b7412951f452386cc5861d5cc5c7896be04
[ "MIT" ]
null
null
null
lib/coherence/controllers/unlock_controller.ex
lorenzosinisi/coherence
956b6b7412951f452386cc5861d5cc5c7896be04
[ "MIT" ]
null
null
null
lib/coherence/controllers/unlock_controller.ex
lorenzosinisi/coherence
956b6b7412951f452386cc5861d5cc5c7896be04
[ "MIT" ]
1
2019-09-11T10:21:21.000Z
2019-09-11T10:21:21.000Z
defmodule Coherence.UnlockController do @moduledoc """ Handle unlock_with_token actions. This controller provides the ability generate an unlock token, send the user an email and unlocking the account with a valid token. Basic locking and unlocking does not use this controller. """ use CoherenceWeb, :co...
31.007874
127
0.654393
1de617c64a1b8dd5657a99d31fefe56c73ad58e9
15,744
exs
Elixir
test/construct/type_test.exs
dvjoness/construct
e07ec8e776b0ef1a8fea94691d912cef03d76573
[ "MIT" ]
32
2017-12-26T18:08:41.000Z
2022-03-24T21:18:11.000Z
test/construct/type_test.exs
ExpressApp/struct
301df7388b9283f39ee43bb209c06f3aa055c8e7
[ "MIT" ]
4
2018-01-17T11:56:08.000Z
2022-03-24T21:16:27.000Z
test/construct/type_test.exs
dvjoness/construct
e07ec8e776b0ef1a8fea94691d912cef03d76573
[ "MIT" ]
7
2017-12-29T13:06:31.000Z
2022-03-24T05:56:56.000Z
defmodule Construct.TypeTest do use Construct.TestCase alias Construct.Type doctest Construct.Type, import: true describe "#cast" do test "CustomType" do assert {:ok, []} == Type.cast(CustomType, []) assert {:error, :invalid_custom_list} == Type.cast(CustomType, %{}) e...
37.937349
107
0.492886
1de61ee377ecedcad9d9d0510aa38dbc2cdefa3e
1,369
ex
Elixir
apps/ewallet/lib/ewallet/release_tasks.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/lib/ewallet/release_tasks.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/lib/ewallet/release_tasks.ex
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # 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 ...
29.76087
90
0.71439
1de6219eef34c29e4deae2469f27616486b2ac19
25,195
ex
Elixir
apps/mishka_html/lib/mishka_html/helpers/live_crud.ex
shahryarjb/mishka-cms
c27aaeeaa8dfc568c6c71f67a8e4f147a4d630f9
[ "Apache-2.0" ]
3
2021-06-27T10:26:51.000Z
2022-01-10T13:56:08.000Z
apps/mishka_html/lib/mishka_html/helpers/live_crud.ex
shahryarjb/mishka-cms
c27aaeeaa8dfc568c6c71f67a8e4f147a4d630f9
[ "Apache-2.0" ]
null
null
null
apps/mishka_html/lib/mishka_html/helpers/live_crud.ex
shahryarjb/mishka-cms
c27aaeeaa8dfc568c6c71f67a8e4f147a4d630f9
[ "Apache-2.0" ]
null
null
null
defmodule MishkaHtml.Helpers.LiveCRUD do import Phoenix.LiveView require MishkaTranslator.Gettext defmacro __using__(opts) do quote(bind_quoted: [opts: opts]) do import MishkaHtml.Helpers.LiveCRUD require MishkaHtml.Helpers.LiveCRUD @interface_module opts end end defmacro paginate(...
38.407012
233
0.653423
1de6231070f8520b5c54ef72b436c795f5246aee
1,638
exs
Elixir
test/simetric/levenshtein_test.exs
abirafdi/simetric
f421c54152a06ba6d7cd59b7ff508b34ac52c57d
[ "ISC" ]
null
null
null
test/simetric/levenshtein_test.exs
abirafdi/simetric
f421c54152a06ba6d7cd59b7ff508b34ac52c57d
[ "ISC" ]
null
null
null
test/simetric/levenshtein_test.exs
abirafdi/simetric
f421c54152a06ba6d7cd59b7ff508b34ac52c57d
[ "ISC" ]
null
null
null
defmodule Simetric.LevenshteinTest do use ExUnit.Case cases = %{ # empty strings ["", ""] => 0, ["", "ab"] => 2, ["abc", ""] => 3, # equal strings ["a", "a"] => 0, ["abc", "abc"] => 0, # inserts only ["a", "ab"] => 1, ["b", "ab"] => 1, ["ac", "abc"] => 1, ["abcdefg",...
24.818182
90
0.495726
1de694fe9f85a3b010aa680aa532225bca90185d
1,951
ex
Elixir
lib/elixir_ex_aliyun_ots_table_store_search_group_by_type.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
null
null
null
lib/elixir_ex_aliyun_ots_table_store_search_group_by_type.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
1
2022-02-08T06:37:02.000Z
2022-02-08T06:37:02.000Z
lib/elixir_ex_aliyun_ots_table_store_search_group_by_type.ex
hou8/tablestore_protos
1a3223326b92bbe196d57ce4dd19b5a8db1c728d
[ "MIT" ]
2
2022-01-24T06:13:03.000Z
2022-01-24T08:33:41.000Z
# credo:disable-for-this-file defmodule(ExAliyunOts.TableStoreSearch.GroupByType) do @moduledoc false ( defstruct([]) ( @spec default() :: :GROUP_BY_FIELD def(default()) do :GROUP_BY_FIELD end ) @spec encode(atom()) :: integer() | atom() [ ( def(encode(:...
17.736364
54
0.476679
1de6a603685e49af1953dea7acf8cf2dcb3a49a7
2,669
ex
Elixir
clients/slides/lib/google_api/slides/v1/model/affine_transform.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/affine_transform.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/slides/lib/google_api/slides/v1/model/affine_transform.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
39.835821
455
0.687898