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
79c02709a06e58df8d96e66751e87e312c9f912e
1,137
exs
Elixir
mix.exs
coletiv/puppeteer-pdf
cacd547bb0ba62402e2c414a9ca1f29da28e4fb5
[ "MIT" ]
90
2018-04-26T15:51:36.000Z
2022-03-21T22:18:41.000Z
mix.exs
coletiv/puppeteer-pdf
cacd547bb0ba62402e2c414a9ca1f29da28e4fb5
[ "MIT" ]
26
2018-05-26T14:53:58.000Z
2021-06-28T05:03:17.000Z
mix.exs
coletiv/puppeteer-pdf
cacd547bb0ba62402e2c414a9ca1f29da28e4fb5
[ "MIT" ]
23
2018-05-25T18:40:55.000Z
2022-01-22T07:33:48.000Z
defmodule PuppeteerPdf.MixProject do use Mix.Project def project do [ app: :puppeteer_pdf, version: "1.0.4", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), aliases: aliases(), package: [ maintainers: ["David Magalhães"], licenses: ...
23.204082
76
0.565523
79c0348006a05cf9a0748567c11497683d679eaf
7,314
ex
Elixir
lib/chart/pie_chart.ex
mrjoelkemp/contex
701a7f2a86c1f1dfdc4fd5199e6bb3b939b44d2e
[ "MIT" ]
null
null
null
lib/chart/pie_chart.ex
mrjoelkemp/contex
701a7f2a86c1f1dfdc4fd5199e6bb3b939b44d2e
[ "MIT" ]
null
null
null
lib/chart/pie_chart.ex
mrjoelkemp/contex
701a7f2a86c1f1dfdc4fd5199e6bb3b939b44d2e
[ "MIT" ]
null
null
null
defmodule Contex.PieChart do @moduledoc """ A Pie Chart that displays data in a circular graph. The pieces of the graph are proportional to the fraction of the whole in each category. Each slice of the pie is relative to the size of that category in the group as a whole. The entire “pie” represents 100 perce...
29.97541
122
0.640963
79c042b4343a36ef6b7b1a229c0c088a498aaab6
1,594
ex
Elixir
lib/vintage_net/interface/udhcpd.ex
byronanderson/vintage_net
2b2cc3fe876cef351b0aafa83725a7ac71dd00ec
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/interface/udhcpd.ex
byronanderson/vintage_net
2b2cc3fe876cef351b0aafa83725a7ac71dd00ec
[ "Apache-2.0" ]
null
null
null
lib/vintage_net/interface/udhcpd.ex
byronanderson/vintage_net
2b2cc3fe876cef351b0aafa83725a7ac71dd00ec
[ "Apache-2.0" ]
null
null
null
defmodule VintageNet.Interface.Udhcpd do @behaviour VintageNet.ToElixir.UdhcpdHandler require Logger @impl true def lease_update(ifname, lease_file) do case parse_leases(lease_file) do {:ok, leases} -> VintageNet.PropertyTable.put( VintageNet, ["interface", ifname, "dhcpd"...
27.964912
99
0.580301
79c0532377cbe09bb16f64a32fb70562eed7ebb1
1,102
ex
Elixir
lib/greyhound/helpers/uuid.ex
sticksnleaves/greyhound
f230c736c297f176ef03dfa01e707fb4eb746f43
[ "MIT" ]
5
2018-09-05T12:10:49.000Z
2021-12-13T12:48:39.000Z
lib/greyhound/helpers/uuid.ex
sticksnleaves/greyhound
f230c736c297f176ef03dfa01e707fb4eb746f43
[ "MIT" ]
null
null
null
lib/greyhound/helpers/uuid.ex
sticksnleaves/greyhound
f230c736c297f176ef03dfa01e707fb4eb746f43
[ "MIT" ]
null
null
null
defmodule Greyhound.Helpers.UUID do @moduledoc false @uuid_v4 4 @variant10 2 @spec v4() :: binary def v4() do <<u0::48, _::4, u1::12, _::2, u2::62>> = :crypto.strong_rand_bytes(16) uuid_to_string(<<u0::48, @uuid_v4::4, u1::12, @variant10::2, u2::62>>) end # # private # defp binary_to_h...
18.677966
74
0.565336
79c0668e1dabab5af876928ada299cf96dd26601
2,064
ex
Elixir
lib/oli_web/live/publisher_live/form.ex
jrissler/oli-torus
747f9e4360163d76a6ca5daee3aab1feab0c99b1
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli_web/live/publisher_live/form.ex
jrissler/oli-torus
747f9e4360163d76a6ca5daee3aab1feab0c99b1
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli_web/live/publisher_live/form.ex
marc-hughes/oli-torus-1
aa3c9bb2d91b678a365be839761eaf86c60ee35c
[ "MIT" ]
null
null
null
defmodule OliWeb.PublisherLive.Form do use Surface.Component alias Surface.Components.Form alias Surface.Components.Form.{EmailInput, ErrorTag, Field, Label, TextInput} prop(changeset, :changeset, required: true) prop(save, :event, required: true) prop(display_labels, :boolean, default: true) def rende...
33.290323
99
0.602713
79c0a73ac75a9b61f76387b5a6479b1141da62aa
1,522
ex
Elixir
backend/lib/caffe_web/schema.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
7
2020-03-27T08:26:52.000Z
2021-08-29T09:50:31.000Z
backend/lib/caffe_web/schema.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
backend/lib/caffe_web/schema.ex
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
defmodule CaffeWeb.Schema do use Absinthe.Schema alias Caffe.Menu alias CaffeWeb.Schema.Middleware import_types CaffeWeb.Schema.{AccountsTypes, MenuTypes, OrderingTypes} query do import_fields :accounts_queries import_fields :menu_queries import_fields :ordering_queries end mutation do ...
21.138889
72
0.68134
79c0a9055e51bf11aa96ca1ee2513007645b2633
274
exs
Elixir
test/train2cal_web/views/layout_view_test.exs
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
test/train2cal_web/views/layout_view_test.exs
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
test/train2cal_web/views/layout_view_test.exs
bfontaine/train2cal
d4a69e3dece4e68f1e280c9f5d796b738dee64bb
[ "MIT" ]
null
null
null
defmodule Train2calWeb.LayoutViewTest do use Train2calWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
30.444444
65
0.770073
79c0b8d694c677b303dd2b2c60bde2de9de62769
2,438
ex
Elixir
clients/service_user/lib/google_api/service_user/v1/model/context_rule.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/context_rule.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/service_user/lib/google_api/service_user/v1/model/context_rule.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
40.633333
174
0.730107
79c0f2d26d724f6aa23701cdd60082c5fd17c3fa
3,921
ex
Elixir
components/notifications-service/server/lib/formatters/slack.compliance.ex
MsysTechnologiesllc/automate
633e3efe43c3e8da808a120381448198282b7c0b
[ "Apache-2.0" ]
4
2019-10-24T05:59:51.000Z
2021-08-16T15:17:27.000Z
components/notifications-service/server/lib/formatters/slack.compliance.ex
MsysTechnologiesllc/automate
633e3efe43c3e8da808a120381448198282b7c0b
[ "Apache-2.0" ]
null
null
null
components/notifications-service/server/lib/formatters/slack.compliance.ex
MsysTechnologiesllc/automate
633e3efe43c3e8da808a120381448198282b7c0b
[ "Apache-2.0" ]
null
null
null
defmodule Notifications.Formatters.Slack.Compliance do @moduledoc """ Generates a map from the compliance struct suitable for posting to Slack webhooks as json. """ @behaviour Notifications.Formatters.Behavior alias Notifications.ComplianceFailure alias Notifications.Formatters.Utils # TODO - the top leve...
35.645455
108
0.639888
79c10c692b035fa0d16f43126d4869ef6b6100fc
1,576
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/model/chrome_os_device_active_time_ranges.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/directory_v1/model/chrome_os_device_active_time_ranges.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/admin/lib/google_api/admin/directory_v1/model/chrome_os_device_active_time_ranges.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
31.52
97
0.730964
79c1287eeeff0179cd028fb1108de0b6ec052c79
773
ex
Elixir
lib/exnn/utils/task.ex
zampino/exnn
2be888df107644daab1aca7614fecb4940fe3c84
[ "MIT" ]
104
2015-06-18T18:54:25.000Z
2021-11-04T15:07:02.000Z
lib/exnn/utils/task.ex
nelyj/exnn
2be888df107644daab1aca7614fecb4940fe3c84
[ "MIT" ]
3
2016-10-09T11:19:42.000Z
2018-09-17T16:36:32.000Z
lib/exnn/utils/task.ex
nelyj/exnn
2be888df107644daab1aca7614fecb4940fe3c84
[ "MIT" ]
17
2016-03-08T19:02:51.000Z
2019-04-27T16:40:52.000Z
defmodule EXNN.Utils.Task do def wait_all(tasks, timeout\\5000) do process_tasks(tasks, %{}, timeout) end def process_tasks([], done, _timeout), do: done def process_tasks([%Task{ref: ref}=task | rest], done, timeout) do receive do {^ref, reply} -> Process.demonitor(ref, [:flush]) ...
29.730769
68
0.587322
79c13ee7b28375a3e08bc0b65e08edf099c85f63
78
exs
Elixir
test/acceptance/readme_test.exs
RobertDober/earmark
6f20bd06f40e4333294d19eb38031ea480f3d3ba
[ "Apache-2.0" ]
null
null
null
test/acceptance/readme_test.exs
RobertDober/earmark
6f20bd06f40e4333294d19eb38031ea480f3d3ba
[ "Apache-2.0" ]
null
null
null
test/acceptance/readme_test.exs
RobertDober/earmark
6f20bd06f40e4333294d19eb38031ea480f3d3ba
[ "Apache-2.0" ]
1
2020-09-15T17:47:35.000Z
2020-09-15T17:47:35.000Z
defmodule Acceptance.ReadmeTest do use ExUnit.Case doctest Earmark end
13
34
0.782051
79c15f94c9400965a93e7383cf9af5c096776592
73
ex
Elixir
lib/cforum_web/views/notification_mail_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web/views/notification_mail_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web/views/notification_mail_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
defmodule CforumWeb.NotificationMailerView do use CforumWeb, :view end
18.25
45
0.835616
79c1f19a9ac18594c58eb6b7559268b58b53bc8d
134,203
ex
Elixir
clients/logging/lib/google_api/logging/v2/api/projects.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/api/projects.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/api/projects.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...
50.33871
722
0.625903
79c1f7a80a306f15768d39b35c197df25d8b0803
300
ex
Elixir
apps/re_integrations/test/support/test_http.ex
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
1
2021-01-19T05:01:15.000Z
2021-01-19T05:01:15.000Z
apps/re_integrations/test/support/test_http.ex
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
apps/re_integrations/test/support/test_http.ex
caspg/backend
34df9dc14ab8ed75de4578fefa2e087580c7e867
[ "MIT" ]
null
null
null
defmodule ReIntegrations.TestHTTP do @moduledoc false def get("https://res.cloudinary.com/emcasa/image/upload/f_auto/v1513818385/" <> filename), do: {:ok, %{body: filename}} def get(%URI{path: "/simulator"}, [], _opts), do: {:ok, %{body: "{\"cem\":\"10,8%\",\"cet\":\"11,3%\"}"}} end
30
92
0.606667
79c21351ba4d75285e83041e54998de89b80422e
15,295
exs
Elixir
test/scenic/component/input/text_field_test.exs
PragTob/scenic
7e5193c2a0b86768937e5bbd7c22f00544d26048
[ "Apache-2.0" ]
null
null
null
test/scenic/component/input/text_field_test.exs
PragTob/scenic
7e5193c2a0b86768937e5bbd7c22f00544d26048
[ "Apache-2.0" ]
null
null
null
test/scenic/component/input/text_field_test.exs
PragTob/scenic
7e5193c2a0b86768937e5bbd7c22f00544d26048
[ "Apache-2.0" ]
null
null
null
# # Created by Boyd Multerer on September 18, 2018 # Copyright © 2018 Kry10 Industries. All rights reserved. # defmodule Scenic.Component.Input.TextFieldTest do use ExUnit.Case, async: true doctest Scenic # alias Scenic.Component alias Scenic.Graph alias Scenic.Primitive alias Scenic.ViewPort alias Sc...
33.988889
97
0.627591
79c248d3e5abf5e0f4c78551adb52d69802acae7
657
exs
Elixir
mix.exs
carlogilmar/le_toille_learning_manager
00c5679bed5fb9ecf43a71c5d355610db9792bbf
[ "MIT" ]
1
2018-09-21T01:14:38.000Z
2018-09-21T01:14:38.000Z
mix.exs
carlogilmar/le_toille_learning_manager
00c5679bed5fb9ecf43a71c5d355610db9792bbf
[ "MIT" ]
17
2018-09-18T04:12:03.000Z
2018-09-21T06:27:45.000Z
mix.exs
carlogilmar/le_toille_learning_manager
00c5679bed5fb9ecf43a71c5d355610db9792bbf
[ "MIT" ]
1
2018-09-21T01:08:38.000Z
2018-09-21T01:08:38.000Z
defmodule EscriptDemo.Mixfile do use Mix.Project def project do [ app: :learning_manager, version: "1.1.0", elixir: "~> 1.5", escript: [main_module: Etoile.Cli], start_permanent: Mix.env == :prod, deps: deps() ] end def application do [ mod: {Etoile.Applic...
19.323529
62
0.499239
79c258a9c4f1dffabbc9922970cffb928c857d79
890
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/metadata.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.962963
74
0.760674
79c26209f6f5b8080cc6a004ac63c1ef6b0d3acf
3,291
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/filter_view.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/filter_view.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sheets/lib/google_api/sheets/v4/model/filter_view.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...
50.630769
300
0.711334
79c294174ddabf424f6332fc1c6ab9ed77bcc8fb
12,083
exs
Elixir
test/phoenix/integration/websocket_test.exs
gjaldon/phoenix
a85a13d8bfbd7d768bb86d38da427875df3fb703
[ "MIT" ]
1
2015-05-19T11:04:16.000Z
2015-05-19T11:04:16.000Z
test/phoenix/integration/websocket_test.exs
gjaldon/phoenix
a85a13d8bfbd7d768bb86d38da427875df3fb703
[ "MIT" ]
null
null
null
test/phoenix/integration/websocket_test.exs
gjaldon/phoenix
a85a13d8bfbd7d768bb86d38da427875df3fb703
[ "MIT" ]
null
null
null
Code.require_file "../../support/websocket_client.exs", __DIR__ defmodule Phoenix.Integration.WebSocketTest do # TODO: Make this test async use ExUnit.Case import ExUnit.CaptureLog alias Phoenix.Integration.WebsocketClient alias Phoenix.Socket.Message alias Phoenix.Transports.{V2, WebSocketSerializer} a...
39.746711
134
0.58272
79c2aa07c9a78867233c3661fa5caf7a96d02b09
215
ex
Elixir
lib/liveman_web/views/v1/user_view.ex
nimblehq/liveman-demo-api
e184349983f949c8434b8651f9223db597ef1025
[ "MIT" ]
null
null
null
lib/liveman_web/views/v1/user_view.ex
nimblehq/liveman-demo-api
e184349983f949c8434b8651f9223db597ef1025
[ "MIT" ]
19
2021-07-02T08:14:52.000Z
2021-07-30T09:33:12.000Z
lib/liveman_web/views/v1/user_view.ex
nimblehq/liveman
e184349983f949c8434b8651f9223db597ef1025
[ "MIT" ]
null
null
null
defmodule LivemanWeb.V1.UserView do use JSONAPI.View, type: "user" def fields do [:email, :avatar_url] end def avatar_url(_user, _conn) do "https://source.boringavatars.com/bauhaus/120/" end end
17.916667
51
0.697674
79c2b51dc5146ca6bbd1d7fb54ba397b0dbdddab
4,691
exs
Elixir
test/ex338/fantasy_teams/deadlines_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
test/ex338/fantasy_teams/deadlines_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
test/ex338/fantasy_teams/deadlines_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338.FantasyTeams.DeadlinesTest do use Ex338.DataCase, async: true alias Ex338.{CalendarAssistant, Championships.Championship, FantasyTeams.Deadlines} describe "add_for_league/1" do test "add boolean whether season has ended" do teams = [ %{ team: "A", roster_pos...
30.461039
91
0.466425
79c2ba533afe8419ad97de37317d3e7c3e00ed36
1,997
ex
Elixir
lib/public_suffix_list.ex
HGData/public_suffix_list
b184746953f6d63a4b4c270d3f6c3941785eef9d
[ "Apache-2.0" ]
2
2020-01-13T23:24:45.000Z
2020-12-17T22:47:22.000Z
lib/public_suffix_list.ex
cogini/public_suffix_list
b184746953f6d63a4b4c270d3f6c3941785eef9d
[ "Apache-2.0" ]
null
null
null
lib/public_suffix_list.ex
cogini/public_suffix_list
b184746953f6d63a4b4c270d3f6c3941785eef9d
[ "Apache-2.0" ]
null
null
null
defmodule PublicSuffixList do @moduledoc """ Parse DNS domain names using public suffix list from https://publicsuffix.org """ @app :public_suffix_list @input_file Path.join(:code.priv_dir(@app), "public_suffix_list.dat") @external_resource @input_file @doc "Parse domain into subdomains, name and suffix...
30.257576
103
0.620931
79c2bc4940f86363d6b82a4cba7038c447f74bdf
229
exs
Elixir
maps/nested.exs
nickveys/elixir-play
1cb3249e3dfc4df6eb7a84b7a57042931a2e8e86
[ "Unlicense" ]
null
null
null
maps/nested.exs
nickveys/elixir-play
1cb3249e3dfc4df6eb7a84b7a57042931a2e8e86
[ "Unlicense" ]
null
null
null
maps/nested.exs
nickveys/elixir-play
1cb3249e3dfc4df6eb7a84b7a57042931a2e8e86
[ "Unlicense" ]
null
null
null
defmodule Customer do defstruct name: "", company: "" end defmodule BugReport do defstruct owner: %Customer{}, details: "" def company_name(%BugReport{ owner: %Customer{ company: company } }) do company end end
14.3125
73
0.68559
79c2f9231cfa117b22dcac88166757de21b25e7f
1,549
exs
Elixir
apps/translations/mix.exs
pzingg/log_watcher
9260b1ec79a3a211a18b8214b33be918ebf77141
[ "MIT" ]
1
2021-11-03T03:26:44.000Z
2021-11-03T03:26:44.000Z
apps/translations/mix.exs
pzingg/log_watcher
9260b1ec79a3a211a18b8214b33be918ebf77141
[ "MIT" ]
null
null
null
apps/translations/mix.exs
pzingg/log_watcher
9260b1ec79a3a211a18b8214b33be918ebf77141
[ "MIT" ]
null
null
null
defmodule Translations.MixProject do use Mix.Project def project do [ app: :translations, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.11", elixirc_paths: ...
25.393443
70
0.599096
79c2fda7e4f92fec78a2446bc2dcf5521bc89950
16,593
ex
Elixir
lib/codes/codes_v37.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_v37.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_v37.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_V37 do alias IcdCode.ICDCode def _V370XXA do %ICDCode{full_code: "V370XXA", category_code: "V37", short_code: "0XXA", full_name: "Driver of three-wheeled motor vehicle injured in collision with fixed or stationary object in nontraffic accident, initia...
66.372
176
0.729103
79c30383e22859aef75850cb2d44855032e29e99
504
ex
Elixir
lib/credo/execution/task/parse_options.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
1
2021-12-01T13:37:43.000Z
2021-12-01T13:37:43.000Z
lib/credo/execution/task/parse_options.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
lib/credo/execution/task/parse_options.ex
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
1
2020-09-25T11:48:49.000Z
2020-09-25T11:48:49.000Z
defmodule Credo.Execution.Task.ParseOptions do @moduledoc false use Credo.Execution.Task alias Credo.CLI.Options alias Credo.CLI.Output.UI alias Credo.Execution def call(exec, _opts) do command_names = Execution.get_valid_command_names(exec) cli_options = Options.parse( exec.argv, ...
19.384615
59
0.65873
79c30562cb49b3c0a5f99a94a0f1ee4a9f4cb076
355
exs
Elixir
priv/repo/seeds.exs
AltCampus/altstatus_backend
70bf7a9d337e570f54002c3a7df264e88372adfa
[ "MIT" ]
1
2020-01-20T18:17:59.000Z
2020-01-20T18:17:59.000Z
priv/repo/seeds.exs
AltCampus/altstatus_backend
70bf7a9d337e570f54002c3a7df264e88372adfa
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
AltCampus/altstatus_backend
70bf7a9d337e570f54002c3a7df264e88372adfa
[ "MIT" ]
2
2018-09-09T08:05:24.000Z
2018-09-09T08:35:18.000Z
# 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: # # Altstatus.Repo.insert!(%Altstatus.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they ...
29.583333
61
0.709859
79c31e17b6b7db89bfbbd0d91344015e20b7aec1
20,705
ex
Elixir
deps/ecto/lib/ecto/date_time.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/date_time.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
deps/ecto/lib/ecto/date_time.ex
rchervin/phoenixportfolio
a5a6a60168d7261647a10a8dbd395b440db8a4f9
[ "MIT" ]
null
null
null
# TODO: Remove Ecto.Date|Time types on Ecto v2.2 import Kernel, except: [to_string: 1] defmodule Ecto.DateTime.Utils do @moduledoc false @doc "Pads with zero" def zero_pad(val, count) do num = Integer.to_string(val) pad_length = max(count - byte_size(num), 0) :binary.copy("0", pad_length) <> num e...
30.094477
115
0.594446
79c34eddd38c753ba0cd3c586ce6fd63e28702e3
7,644
ex
Elixir
core/handler/gear_action/web.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:11.000Z
2020-08-27T18:43:11.000Z
core/handler/gear_action/web.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
null
null
null
core/handler/gear_action/web.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:21.000Z
2020-08-27T18:43:21.000Z
# Copyright(c) 2015-2020 ACCESS CO., LTD. All rights reserved. use Croma defmodule AntikytheraCore.Handler.GearAction.Web do alias Croma.Result, as: R alias Antikythera.{GearName, PathInfo, Conn} alias Antikythera.Http.{Method, QueryParams, Body} alias Antikythera.Request.PathMatches alias Antikythera.Conte...
50.289474
164
0.599686
79c36e505af615abb497d8c4585b0cc49c7345d6
1,283
exs
Elixir
apps/site/test/site_web/plugs/date_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/site/test/site_web/plugs/date_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/site/test/site_web/plugs/date_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule SiteWeb.Plugs.DateTest do use SiteWeb.ConnCase, async: true import SiteWeb.Plugs.Date @date ~D[2016-01-01] def date_fn do @date end describe "init/1" do test "defaults to Util.service_date/0" do assert init([]) == [date_fn: &Util.service_date/0] end end describe "call/2"...
24.673077
93
0.592362
79c38047d0f97800b2d0fec1a8ca3f4649ad32a6
6,808
ex
Elixir
lib/timetracker.ex
jlogar/toggler
e906f145d5a38bafe9048dfd256496a52436a5b1
[ "MIT" ]
1
2020-11-27T07:13:45.000Z
2020-11-27T07:13:45.000Z
lib/timetracker.ex
jlogar/toggler
e906f145d5a38bafe9048dfd256496a52436a5b1
[ "MIT" ]
null
null
null
lib/timetracker.ex
jlogar/toggler
e906f145d5a38bafe9048dfd256496a52436a5b1
[ "MIT" ]
null
null
null
defmodule TogglerCli.Timetracker do require Logger defp parse_cookie(header_value) do [key, val] = String.split(header_value, ";") |> Enum.map(fn t -> String.split(t, "=") end) |> hd {key, val} end defp get_cookie(headers, name) do cookie_headers = Enum.filter(headers, fn ...
27.015873
98
0.512926
79c3939307475089d133edcaa1e494b81dd32f4a
6,979
ex
Elixir
lib/credo/check/consistency/space_around_operators.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/check/consistency/space_around_operators.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/check/consistency/space_around_operators.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
defmodule Credo.Check.Consistency.SpaceAroundOperators do @moduledoc """ Use spaces around operators like `+`, `-`, `*` and `/`. This is the **preferred** way, although other styles are possible, as long as it is applied consistently. # preferred 1 + 2 * 4 # also okay 1+2*4 While ...
27.58498
93
0.637914
79c3c37752b110cd2aeb3d311459729250eb1190
322
ex
Elixir
lib/mishka_auth/application.ex
farhangj2020/mishka-auth
33d461f248d5cdcc935c0d64a93faf95830fe500
[ "MIT" ]
8
2020-09-07T14:47:42.000Z
2021-11-03T21:53:37.000Z
lib/mishka_auth/application.ex
farhangj2020/mishka-auth
33d461f248d5cdcc935c0d64a93faf95830fe500
[ "MIT" ]
1
2022-03-11T09:51:34.000Z
2022-03-11T09:51:34.000Z
lib/mishka_auth/application.ex
farhangj2020/mishka-auth
33d461f248d5cdcc935c0d64a93faf95830fe500
[ "MIT" ]
3
2020-08-02T14:05:21.000Z
2020-09-12T12:58:59.000Z
defmodule MishkaAuth.Application do @moduledoc false use Application def start(_type, _args) do children = [ {Redix, name: :redix, password: "#{MishkaAuth.get_config_info(:redix)}"} ] opts = [strategy: :one_for_one, name: MishkaAuth.Supervisor] Supervisor.start_link(children, opts) end en...
24.769231
78
0.698758
79c3c4e5e692ca5502248289527d5e42a80853e7
924
ex
Elixir
lib/special.ex
elcritch/matrex_numerix
5835a9b477d8ea41bb9b862272a0997fe37c1236
[ "MIT" ]
8
2020-01-08T06:55:36.000Z
2021-03-10T15:44:46.000Z
lib/special.ex
elcritch/matrex_numerix
5835a9b477d8ea41bb9b862272a0997fe37c1236
[ "MIT" ]
null
null
null
lib/special.ex
elcritch/matrex_numerix
5835a9b477d8ea41bb9b862272a0997fe37c1236
[ "MIT" ]
null
null
null
defmodule MatrexNumerix.Special do @moduledoc """ Special mathematical functions that would make Euler proud. """ alias MatrexNumerix.Common @doc """ Calculates the logit function (the inverse of the sigmoidal logistic function) for probability p (a number between 0 and 1). """ @spec logit(float) ...
27.176471
67
0.677489
79c3ca5c99968593e8bfbd76e3128883f9302f72
9,539
ex
Elixir
lib/sshkit.ex
Bugagazavr/sshkit.ex
4180f372a60e39b6a5f13e403f4664e6338b6105
[ "MIT" ]
null
null
null
lib/sshkit.ex
Bugagazavr/sshkit.ex
4180f372a60e39b6a5f13e403f4664e6338b6105
[ "MIT" ]
null
null
null
lib/sshkit.ex
Bugagazavr/sshkit.ex
4180f372a60e39b6a5f13e403f4664e6338b6105
[ "MIT" ]
null
null
null
defmodule SSHKit do @moduledoc """ A toolkit for performing tasks on one or more servers. ``` hosts = ["1.eg.io", {"2.eg.io", port: 2222}] hosts = [%SSHKit.Host{name: "3.eg.io", options: [port: 2223]} | hosts] context = SSHKit.context(hosts) |> SSHKit.path("/var/www/phx") |> SSHKit.user("deplo...
22.820574
83
0.628682
79c40f5053796c99bde3316c4136c7676b618697
1,591
exs
Elixir
phoenix/budgets/mix.exs
stevenjackson/jacksonbudget
b1c0189684829f5be13155726ce156f1fccbc8fe
[ "MIT" ]
null
null
null
phoenix/budgets/mix.exs
stevenjackson/jacksonbudget
b1c0189684829f5be13155726ce156f1fccbc8fe
[ "MIT" ]
null
null
null
phoenix/budgets/mix.exs
stevenjackson/jacksonbudget
b1c0189684829f5be13155726ce156f1fccbc8fe
[ "MIT" ]
null
null
null
defmodule Budgets.MixProject do use Mix.Project def project do [ app: :budgets, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
25.253968
84
0.577624
79c41228ba748d371464d8c5332c2c1441e52a1d
214
exs
Elixir
ListsAndRecursion/7.4.exs
miguelcoba/ProgrammingElixir
c3aee9151ab2346fbd31a5411c473b1a4e626e36
[ "MIT" ]
2
2015-11-14T21:35:01.000Z
2017-07-12T07:09:40.000Z
ListsAndRecursion/7.4.exs
miguelcoba/ProgrammingElixir
c3aee9151ab2346fbd31a5411c473b1a4e626e36
[ "MIT" ]
null
null
null
ListsAndRecursion/7.4.exs
miguelcoba/ProgrammingElixir
c3aee9151ab2346fbd31a5411c473b1a4e626e36
[ "MIT" ]
null
null
null
defmodule MyList do def span(from, to), do: _span(from, to) defp _span(from, to) when to < from, do: [] defp _span(from, to) when from == to, do: [to] defp _span(from, to), do: [from | _span(from + 1, to)] end
30.571429
55
0.630841
79c4187a7b58ff2b77d69f4145238ae8498d8d68
1,565
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_text_input.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_text_input.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_cx_v3_text_input.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.297872
164
0.752716
79c42678b635767c6bb7570f8a191caf2d9265f7
3,120
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/company.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/company.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/company.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "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...
50.322581
350
0.713141
79c44a82329040ac37af1cca5762f26adb0a853a
79
ex
Elixir
lib/igwet_web/views/node_view.ex
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
null
null
null
lib/igwet_web/views/node_view.ex
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
18
2018-02-25T11:13:46.000Z
2022-03-28T03:43:38.000Z
lib/igwet_web/views/node_view.ex
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
1
2019-01-04T12:16:47.000Z
2019-01-04T12:16:47.000Z
defmodule IgwetWeb.NodeView do use IgwetWeb, :view alias Igwet.Network end
15.8
30
0.78481
79c45f0adec0050be73c26d5923e172bd0d9988d
4,881
ex
Elixir
lib/wechat/mini_program/auth.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
null
null
null
lib/wechat/mini_program/auth.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
null
null
null
lib/wechat/mini_program/auth.ex
hsieh/wechat
6a49033d3a35a80358481778a0609f214c340a0c
[ "Apache-2.0" ]
null
null
null
defmodule WeChat.MiniProgram.Auth do @moduledoc """ 小程序 - 权限接口 """ import WeChat.Utils, only: [doc_link_prefix: 0] alias WeChat.{Utils, ServerMessage.Encryptor, Storage.Cache} @doc_link "#{doc_link_prefix()}/miniprogram/dev/api-backend/open-api" @open_ability_doc_link "#{doc_link_prefix()}/miniprogram/de...
28.54386
125
0.633682
79c46fef9ab23d1a4c7bfb406bc784f6cbfd4696
502
exs
Elixir
priv/repo/migrations/20180930021722_recreate_videos_comments_replies.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
priv/repo/migrations/20180930021722_recreate_videos_comments_replies.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20180930021722_recreate_videos_comments_replies.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Repo.Migrations.RecreateVideosCommentsReplies do use Ecto.Migration def change do create table(:videos_comments_replies) do add(:video_comment_id, references(:videos_comments, on_delete: :delete_all), null: false) add(:reply_id, references(:videos_comments, on_delete: :delet...
31.375
95
0.750996
79c490ed7ea12aff987a88000287683d21ff71ad
557
exs
Elixir
programming_elixir/reduce.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
programming_elixir/reduce.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
programming_elixir/reduce.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule MyList do def reduce([], value, _) do value end def reduce([head | tail], value, func) do reduce(tail, func.(head, value), func) end def mapsum([], _func), do: 0 def mapsum([ head | tail ], func) do func.(head) + mapsum(tail, func) end def max([(x)]), do: x def max([ head | tai...
24.217391
85
0.567325
79c4a06e2dce0e4e2a2bf23e4e5f7e830f5ca2af
763
ex
Elixir
gen/envoy/type/percent.pb.ex
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
5
2018-10-12T13:13:19.000Z
2020-10-03T17:51:37.000Z
gen/envoy/type/percent.pb.ex
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
207
2018-02-09T14:24:14.000Z
2020-07-25T11:09:19.000Z
gen/envoy/type/percent.pb.ex
aclemmensen/relay
4bce71ed7d8bd4936f96d62ed08d007729c4253d
[ "BSD-3-Clause" ]
1
2019-08-08T11:30:59.000Z
2019-08-08T11:30:59.000Z
defmodule Envoy.Type.Percent do @moduledoc false use Protobuf, syntax: :proto3 @type t :: %__MODULE__{ value: float } defstruct [:value] field :value, 1, type: :double end defmodule Envoy.Type.FractionalPercent do @moduledoc false use Protobuf, syntax: :proto3 @type t :: %__MODULE_...
21.8
87
0.693316
79c4ba9253d83dea3b8788319186e7794f9159ef
2,371
ex
Elixir
lib/sitemap/funcs.ex
x-ji/sitemap
8d2b3e50117fb562a6927b8742ec415125dbe2f2
[ "MIT" ]
null
null
null
lib/sitemap/funcs.ex
x-ji/sitemap
8d2b3e50117fb562a6927b8742ec415125dbe2f2
[ "MIT" ]
null
null
null
lib/sitemap/funcs.ex
x-ji/sitemap
8d2b3e50117fb562a6927b8742ec415125dbe2f2
[ "MIT" ]
null
null
null
defmodule Sitemap.Funcs do def iso8601(yy, mm, dd, hh, mi, ss) do "~4.10.0B-~2.10.0B-~2.10.0BT~2.10.0B:~2.10.0B:~2.10.0BZ" |> :io_lib.format([yy, mm, dd, hh, mi, ss]) |> IO.iodata_to_binary end def iso8601 do {{yy, mm, dd}, {hh, mi, ss}} = :calendar.universal_time iso8601(yy, mm, dd, hh, mi, s...
22.580952
60
0.557149
79c4cbd02aa9872197949579ec26747aafefb692
1,488
ex
Elixir
elixir-guide/mix-and-otp/kv_umbrella/apps/kv_server/lib/kv_server.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
null
null
null
elixir-guide/mix-and-otp/kv_umbrella/apps/kv_server/lib/kv_server.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
8
2020-05-18T14:43:21.000Z
2020-06-03T16:07:37.000Z
elixir-guide/mix-and-otp/kv_umbrella/apps/kv_server/lib/kv_server.ex
lowlandresearch/cate-lukner-internship
71fff3bcd2d44905357c99dbff1b1f572f5bcc6f
[ "MIT" ]
1
2020-05-18T14:44:13.000Z
2020-05-18T14:44:13.000Z
defmodule KVServer do require Logger @doc """ Starts accepting connections on the given `port`. """ def accept(port) do {:ok, socket} = :gen_tcp.listen( port, [:binary, packet: :line, active: false, reuseaddr: true] ) Logger.info("Accepting connections on port #{port}") ...
24
94
0.645833
79c4f65364ebaf7349d70dcb9efaa975cc045e37
1,168
ex
Elixir
lib/abbr/rpc/local.ex
elvanja/abbr
b09954df2f68f71c03f308b01927f032bf692ac4
[ "MIT" ]
14
2020-03-25T22:10:42.000Z
2021-02-04T01:31:40.000Z
lib/abbr/rpc/local.ex
elvanja/abbr
b09954df2f68f71c03f308b01927f032bf692ac4
[ "MIT" ]
null
null
null
lib/abbr/rpc/local.ex
elvanja/abbr
b09954df2f68f71c03f308b01927f032bf692ac4
[ "MIT" ]
null
null
null
defmodule Abbr.Rpc.Local do @moduledoc """ Caches shortened and original URLs on local node. """ alias Abbr.Url alias Abbr.Util.ETSTableManager use ETSTableManager use GenServer @impl ETSTableManager def table_definition, do: {__MODULE__, [:set, :public, :named_table]} @impl ETSTableManager de...
22.901961
82
0.642979
79c532e3fd0f8eb963ef61790af8b55167dd9805
2,624
ex
Elixir
year_2020/lib/day_11/seats.ex
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2020/lib/day_11/seats.ex
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2020/lib/day_11/seats.ex
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
defmodule Day11.Seats do defstruct [:grid] def new(input), do: %__MODULE__{grid: gridify(input, 0, %{})} def stabilize(%__MODULE__{grid: grid}, opts) do case advance(grid, opts) do {:stable, grid} -> %__MODULE__{grid: grid} {:change, grid} -> stabilize(%__MODULE__{grid: grid}, opts) end en...
24.990476
86
0.538491
79c54610b75cb4772e826a677b9e58e720ea14b0
4,745
ex
Elixir
lib/strategy/strategy.ex
polyglot-concurrency/libcluster
1a0640f2b39adc430a121add01ab2ae0a4ee35b2
[ "MIT" ]
1,571
2016-09-30T20:38:30.000Z
2022-03-31T15:06:38.000Z
lib/strategy/strategy.ex
polyglot-concurrency/libcluster
1a0640f2b39adc430a121add01ab2ae0a4ee35b2
[ "MIT" ]
140
2016-10-11T10:03:06.000Z
2022-03-18T21:06:32.000Z
lib/strategy/strategy.ex
polyglot-concurrency/libcluster
1a0640f2b39adc430a121add01ab2ae0a4ee35b2
[ "MIT" ]
167
2016-10-24T09:47:16.000Z
2022-03-15T11:59:50.000Z
defmodule Cluster.Strategy do @moduledoc """ This module defines the behaviour for implementing clustering strategies. """ defmacro __using__(_) do quote do @behaviour Cluster.Strategy @impl true def child_spec(args) do %{id: __MODULE__, type: :worker, start: {__MODULE__, :start_l...
29.65625
95
0.597682
79c54cdff1fe38313695ccfe9526b1c79482ce73
926
ex
Elixir
lib/newt.ex
jlauman/newt
ecbd7cfd098d616a8af15270828176e1197af3cf
[ "MIT" ]
null
null
null
lib/newt.ex
jlauman/newt
ecbd7cfd098d616a8af15270828176e1197af3cf
[ "MIT" ]
null
null
null
lib/newt.ex
jlauman/newt
ecbd7cfd098d616a8af15270828176e1197af3cf
[ "MIT" ]
null
null
null
defmodule Newt 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 = [ # Define workers and child supervisors to be supervised # worker(ElixirW...
28.9375
93
0.653348
79c5780534c30df2f1ddff7e4ea97da3a2665e99
838
ex
Elixir
lib/pkcs7_verify_api/web/endpoint.ex
edenlabllc/pkcs7_verify.api
ec2cfcd4892babae345ac485b833455773f1222b
[ "MIT" ]
1
2020-09-25T10:10:16.000Z
2020-09-25T10:10:16.000Z
lib/pkcs7_verify_api/web/endpoint.ex
Nebo15/pkcs7_verify.api
ec2cfcd4892babae345ac485b833455773f1222b
[ "MIT" ]
null
null
null
lib/pkcs7_verify_api/web/endpoint.ex
Nebo15/pkcs7_verify.api
ec2cfcd4892babae345ac485b833455773f1222b
[ "MIT" ]
1
2018-01-16T14:37:16.000Z
2018-01-16T14:37:16.000Z
defmodule PKCS7Verify.Web.Endpoint do @moduledoc """ Phoenix Endpoint for pkcs7_verify_api application. """ use Phoenix.Endpoint, otp_app: :pkcs7_verify_api plug Plug.RequestId plug EView.Plugs.Idempotency plug Plug.Logger plug EView plug Plug.Parsers, parsers: [:json], pass: ["application/...
20.95
62
0.727924
79c594f83e4b3648e043c31dd10c5bf6d5e3b77c
632
ex
Elixir
lib/hexpm/repository/release_metadata.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
lib/hexpm/repository/release_metadata.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
lib/hexpm/repository/release_metadata.ex
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule Hexpm.Repository.ReleaseMetadata do use Hexpm.Schema @derive HexpmWeb.Stale embedded_schema do field :app, :string field :build_tools, {:array, :string} field :elixir, :string field :files, {:array, :string}, virtual: true end def changeset(meta, params) do cast(meta, params, ...
28.727273
72
0.702532
79c59a2e84a81b12276499bab61360579ba2a792
1,126
exs
Elixir
clients/mirror/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/mirror/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/mirror/mix.exs
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
defmodule GoogleApi.Mirror.V1.Mixfile do use Mix.Project @version "0.0.1" def project do [app: :google_api_mirror, version: @version, elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps...
22.979592
105
0.584369
79c59ebb24645027d6ab553a466ae5b0451e7ee2
19,582
ex
Elixir
lib/elixlsx/xml_templates.ex
JJCOINCWEBDEV/elixlsx
97b3518841d45ca87e2fd0df25377a2085dc42f8
[ "MIT" ]
null
null
null
lib/elixlsx/xml_templates.ex
JJCOINCWEBDEV/elixlsx
97b3518841d45ca87e2fd0df25377a2085dc42f8
[ "MIT" ]
null
null
null
lib/elixlsx/xml_templates.ex
JJCOINCWEBDEV/elixlsx
97b3518841d45ca87e2fd0df25377a2085dc42f8
[ "MIT" ]
1
2020-02-04T14:12:42.000Z
2020-02-04T14:12:42.000Z
defmodule Elixlsx.XMLTemplates do alias Elixlsx.Util, as: U alias Elixlsx.Compiler.CellStyleDB alias Elixlsx.Compiler.StringDB alias Elixlsx.Compiler.FontDB alias Elixlsx.Compiler.FillDB alias Elixlsx.Compiler.SheetCompInfo alias Elixlsx.Compiler.NumFmtDB alias Elixlsx.Compiler.BorderStyleDB alias Eli...
32.636667
288
0.622408
79c5addd083e7b59e96c15e3920272b62eed4e75
1,745
ex
Elixir
clients/firestore/lib/google_api/firestore/v1/model/existence_filter.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/firestore/lib/google_api/firestore/v1/model/existence_filter.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/firestore/lib/google_api/firestore/v1/model/existence_filter.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...
34.9
252
0.728367
79c5b305c9b55ae77f7de9d02f925c5a748a1e95
221
exs
Elixir
priv/repo/migrations/20180729015122_add_feature_ids_to_rooms.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
priv/repo/migrations/20180729015122_add_feature_ids_to_rooms.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
priv/repo/migrations/20180729015122_add_feature_ids_to_rooms.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Data.Repo.Migrations.AddFeatureIdsToRooms do use Ecto.Migration def change do alter table(:rooms) do add :feature_ids, {:array, :integer}, default: fragment("'{}'"), null: false end end end
22.1
82
0.687783
79c64e1cd875cb8c20eaa08f81ac6900c87ed1e5
3,015
exs
Elixir
kousa/test/broth/_casts/speaking_change_test.exs
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/test/broth/_casts/speaking_change_test.exs
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/test/broth/_casts/speaking_change_test.exs
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule BrothTest.SpeakingChangeTest do use ExUnit.Case, async: true use KousaTest.Support.EctoSandbox alias Beef.Schemas.User alias BrothTest.WsClient alias BrothTest.WsClientFactory alias KousaTest.Support.Factory require WsClient setup do user = Factory.create(User) client_ws = WsClientF...
23.928571
69
0.626202
79c657798b90b82b75597a9214fa757bfd558d02
39,679
exs
Elixir
test/unit/dataset_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
test/unit/dataset_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
test/unit/dataset_test.exs
pukkamustard/rdf-ex
c459d8e7fa548fdfad82643338b68decf380a296
[ "MIT" ]
null
null
null
defmodule RDF.DatasetTest do use RDF.Test.Case doctest RDF.Dataset describe "new" do test "creating an empty unnamed dataset" do assert unnamed_dataset?(unnamed_dataset()) end test "creating an empty dataset with a proper dataset name" do refute unnamed_dataset?(named_dataset()) ...
47.462919
114
0.633005
79c67a5613f501bdaf41333b960e2dc64af15a03
2,335
ex
Elixir
clients/gke_hub/lib/google_api/gke_hub/v1/model/anthos_vm_sub_feature_spec.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/gke_hub/lib/google_api/gke_hub/v1/model/anthos_vm_sub_feature_spec.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/gke_hub/lib/google_api/gke_hub/v1/model/anthos_vm_sub_feature_spec.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.056604
331
0.747752
79c68b421730ad9067cbd37d0b0bdc05eb40bdf7
1,185
ex
Elixir
apps/chatter_web/lib/chatter_web/live/user_live/new.ex
barboza/chatter
16a56aea83eceb0fd1a709f3bc8d3a24812996cd
[ "MIT" ]
2
2019-08-29T19:35:01.000Z
2019-08-31T04:08:03.000Z
apps/chatter_web/lib/chatter_web/live/user_live/new.ex
barboza/chatter
16a56aea83eceb0fd1a709f3bc8d3a24812996cd
[ "MIT" ]
1
2021-03-09T16:10:46.000Z
2021-03-09T16:10:46.000Z
apps/chatter_web/lib/chatter_web/live/user_live/new.ex
barboza/chatter
16a56aea83eceb0fd1a709f3bc8d3a24812996cd
[ "MIT" ]
null
null
null
defmodule ChatterWeb.UserLive.New do @moduledoc """ Renders new user page, calls Accounts module to validate user data whenever the form changes, sends user params to be persisted and redirects to profile. """ use Phoenix.LiveView alias ChatterWeb.Router.Helpers, as: Routes alias Chatter.Accounts alias...
29.625
93
0.670042
79c6af7411629d0518e40670f00d1bd7c0cda286
966
ex
Elixir
lib/four_oh_four_finder.ex
wfleming/fourohfourfinder
ef670566182e8dcf70795de1ae313df26e440d56
[ "MIT" ]
2
2016-06-03T17:25:41.000Z
2016-06-21T17:45:05.000Z
lib/four_oh_four_finder.ex
wfleming/fourohfourfinder
ef670566182e8dcf70795de1ae313df26e440d56
[ "MIT" ]
4
2016-06-03T22:38:58.000Z
2016-06-09T03:09:33.000Z
lib/four_oh_four_finder.ex
wfleming/fourohfourfinder
ef670566182e8dcf70795de1ae313df26e440d56
[ "MIT" ]
null
null
null
defmodule FourOhFourFinderApp 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 supervis...
33.310345
73
0.736025
79c6f823ea7c914106ccadc2b332ed62394093d3
110
exs
Elixir
ping/test/ping_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
ping/test/ping_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
ping/test/ping_test.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule PingTest do use ExUnit.Case doctest Ping test "the truth" do assert 1 + 1 == 2 end end
12.222222
21
0.654545
79c6fe7f9bf84fe425a022fd383a4967bd1a8d0c
745
ex
Elixir
alcarin_api/apps/alcarin_web/lib/alcarin_web/channels/character_feed_channel.ex
alcarin-org/alcarin-elixir
a04d4e043790a7773745e0fba7098e1c06362896
[ "MIT" ]
null
null
null
alcarin_api/apps/alcarin_web/lib/alcarin_web/channels/character_feed_channel.ex
alcarin-org/alcarin-elixir
a04d4e043790a7773745e0fba7098e1c06362896
[ "MIT" ]
3
2018-05-26T10:36:22.000Z
2018-05-26T13:48:36.000Z
alcarin_api/apps/alcarin_web/lib/alcarin_web/channels/character_feed_channel.ex
alcarin-org/alcarin-elixir
a04d4e043790a7773745e0fba7098e1c06362896
[ "MIT" ]
null
null
null
defmodule AlcarinWeb.CharacterFeedChannel do use AlcarinWeb, :channel alias Alcarin.GameEvents def join("character-feed:lobby", _message, socket) do {:ok, %{test: 5}, socket} end def join("character-feed:" <> _character_id, _params, _socket) do {:error, %{reason: "unauthorized"}} end def handl...
26.607143
80
0.651007
79c707b382939cf9f310e894e19d90bb62f0c686
1,139
exs
Elixir
config/config.exs
kreeti/ueberauth_linkedin
6a16e025928cd8e194aad472d879458737e70a99
[ "MIT" ]
9
2016-04-17T21:50:24.000Z
2021-04-26T11:22:46.000Z
config/config.exs
kreeti/ueberauth_linkedin
6a16e025928cd8e194aad472d879458737e70a99
[ "MIT" ]
9
2016-06-02T01:25:52.000Z
2021-10-01T02:30:08.000Z
config/config.exs
kreeti/ueberauth_linkedin
6a16e025928cd8e194aad472d879458737e70a99
[ "MIT" ]
35
2016-05-29T23:16:03.000Z
2022-03-06T09:57:28.000Z
# 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.741935
73
0.755926
79c75cdb47a3d783ba99ea1661222b2f1423423e
3,615
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/date_operator_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/date_operator_options.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/date_operator_options.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...
45.759494
146
0.728077
79c776089da300f94c080a9512fd5b0681ac538b
1,095
exs
Elixir
mix.exs
Apelsinka223/test_match
9fbfe3c06faf15dbe4f30f512d02fd36cc948c29
[ "MIT" ]
21
2018-02-19T13:23:54.000Z
2021-03-02T15:04:43.000Z
mix.exs
Apelsinka223/test_match
9fbfe3c06faf15dbe4f30f512d02fd36cc948c29
[ "MIT" ]
2
2019-04-27T11:25:21.000Z
2021-03-05T21:09:09.000Z
mix.exs
Apelsinka223/test_match
9fbfe3c06faf15dbe4f30f512d02fd36cc948c29
[ "MIT" ]
null
null
null
defmodule TestMatch.MixProject do use Mix.Project def project do [ app: :test_match, version: "3.0.5", elixir: "~> 1.10", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), ...
21.9
73
0.551598
79c7a5ffbcbc10b57c3b706547d4ced29bd70558
6,829
exs
Elixir
apps/muster/test/muster/game_test.exs
eugenebolshakov/muster
dd5465da2c9c1a64817e271b297de95fa31c07d9
[ "Unlicense" ]
null
null
null
apps/muster/test/muster/game_test.exs
eugenebolshakov/muster
dd5465da2c9c1a64817e271b297de95fa31c07d9
[ "Unlicense" ]
null
null
null
apps/muster/test/muster/game_test.exs
eugenebolshakov/muster
dd5465da2c9c1a64817e271b297de95fa31c07d9
[ "Unlicense" ]
null
null
null
defmodule Muster.GameTest do use ExUnit.Case import Muster.TestHelper alias Muster.Game @empty_grid [ [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0] ] describe "new/0" do test "returns a grid with a single...
27.53629
92
0.500659
79c7e703cf6646ba3b095e14416f2d7041986f8c
1,365
ex
Elixir
lib/mail_slurp_api/deserializer.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
1
2021-06-17T18:07:49.000Z
2021-06-17T18:07:49.000Z
lib/mail_slurp_api/deserializer.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
null
null
null
lib/mail_slurp_api/deserializer.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
1
2021-03-16T18:55:56.000Z
2021-03-16T18:55:56.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule MailSlurpAPI.Deserializer do @moduledoc """ Helper functions for deserializing responses into models """ @doc """ Update the provided model...
35
139
0.632234
79c7ef738413c04b1f4120ab3477e2df6b240bc4
1,298
ex
Elixir
elixir/list-ops/lib/list_ops.ex
herminiotorres/exercism
82173fcf1f09c27da0134f746a799840aa5eac05
[ "MIT" ]
null
null
null
elixir/list-ops/lib/list_ops.ex
herminiotorres/exercism
82173fcf1f09c27da0134f746a799840aa5eac05
[ "MIT" ]
null
null
null
elixir/list-ops/lib/list_ops.ex
herminiotorres/exercism
82173fcf1f09c27da0134f746a799840aa5eac05
[ "MIT" ]
1
2021-03-15T11:02:40.000Z
2021-03-15T11:02:40.000Z
defmodule ListOps do # Please don't use any external modules (especially List or Enum) in your # implementation. The point of this exercise is to create these basic # functions yourself. You may use basic Kernel functions (like `Kernel.+/2` # for adding numbers), but please do not use Kernel functions for Lists...
23.6
78
0.585516
79c82b02078e4fcad2a2b209e51a57eb3e19b7d7
351
exs
Elixir
priv/repo/seeds.exs
coltonw/majudge
4f81a66abe6a2e82f42131982e7a9b26951b9124
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
coltonw/majudge
4f81a66abe6a2e82f42131982e7a9b26951b9124
[ "MIT" ]
1
2021-05-10T04:23:56.000Z
2021-05-10T04:23:56.000Z
priv/repo/seeds.exs
coltonw/majudge
4f81a66abe6a2e82f42131982e7a9b26951b9124
[ "MIT" ]
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: # # Majudge.Repo.insert!(%Majudge.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will...
29.25
61
0.706553
79c877b114c7be17aa411519381ed91e695561a9
482
ex
Elixir
elixir/gdc.ex
felipe-araujo/functional-programming
f69ed723f17fba4fd5a956ee27935a770252b7ce
[ "MIT" ]
null
null
null
elixir/gdc.ex
felipe-araujo/functional-programming
f69ed723f17fba4fd5a956ee27935a770252b7ce
[ "MIT" ]
null
null
null
elixir/gdc.ex
felipe-araujo/functional-programming
f69ed723f17fba4fd5a956ee27935a770252b7ce
[ "MIT" ]
null
null
null
defmodule Solution do def gdc(a, b) do gdc(a, b, Enum.min([a, b])) end def gdc(a, b, prev_rem) do [divisor, dividend] = [a, b] |> Enum.sort() quotient = div(dividend, divisor) rm = rem(dividend, divisor) case rm do 0 -> {:ok, prev_rem} _ -> gdc(divisor, quotient, rm) end en...
18.538462
47
0.56639
79c88bdb18d6aa1e3090316df4cad18e235356d4
210
ex
Elixir
lib/phone/mh.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/mh.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/mh.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.MH do @moduledoc false use Helper.Country def regex, do: ~r/^(692)()(.{6,7})/ def country, do: "Marshall Islands" def a2, do: "MH" def a3, do: "MHL" matcher :regex, ["692"] end
16.153846
37
0.609524
79c88e3449c56ace7a3bcfd85c88aa8019ff4968
727
exs
Elixir
apps/estuary/config/config.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/estuary/config/config.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/estuary/config/config.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
use Mix.Config config :estuary, topic: "event-stream", schema_name: "default", table_name: "event_stream", topic_reader: Pipeline.Reader.TopicReader, table_writer: Pipeline.Writer.TableWriter, connection: :estuary_elsa # Configures the endpoint config :estuary, EstuaryWeb.Endpoint, url: [host: "localhos...
31.608696
86
0.756534
79c8c932fe59493cad7ffcd3dbe84233c64f103e
539
ex
Elixir
lib/plaid/liabilities/mortgage/interest_rate.ex
ethangunderson/elixir-plaid
53aa0a87a4a837df6a2d15684870e7a58a003db6
[ "MIT" ]
16
2021-03-09T02:29:32.000Z
2022-03-13T07:18:03.000Z
lib/plaid/liabilities/mortgage/interest_rate.ex
ethangunderson/elixir-plaid
53aa0a87a4a837df6a2d15684870e7a58a003db6
[ "MIT" ]
5
2021-04-24T20:38:14.000Z
2022-03-19T22:03:09.000Z
lib/plaid/liabilities/mortgage/interest_rate.ex
ethangunderson/elixir-plaid
53aa0a87a4a837df6a2d15684870e7a58a003db6
[ "MIT" ]
2
2021-06-11T02:15:01.000Z
2022-03-15T18:39:59.000Z
defmodule Plaid.Liabilities.Mortgage.InterestRate do @moduledoc """ [Plaid Liabilities Mortage Interest Rate Schema.](https://plaid.com/docs/api/products/#liabilities-get-response-interest-rate) """ @behaviour Plaid.Castable @type t :: %__MODULE__{ percentage: number() | nil, type: Strin...
20.730769
128
0.641929
79c8cf27cb5c0720200437345ac7247b539a0b79
1,185
ex
Elixir
lib/uro/application.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
1
2022-01-11T04:05:39.000Z
2022-01-11T04:05:39.000Z
lib/uro/application.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
35
2021-02-10T08:18:57.000Z
2021-05-06T17:19:50.000Z
lib/uro/application.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
null
null
null
defmodule Uro.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 = [ # Start the Ecto repository Uro.Repo, ...
29.625
69
0.688608
79c8d62646709a8eac379a7d1d8530a8ebd58b20
4,011
ex
Elixir
clients/safe_browsing/lib/google_api/safe_browsing/v4/api/threat_list_updates.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/api/threat_list_updates.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/safe_browsing/lib/google_api/safe_browsing/v4/api/threat_list_updates.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
43.129032
196
0.663176
79c8dd236dd2ccbfad7e2ea89158fd06e5827e4e
691
ex
Elixir
test/support/assertions.ex
eahanson/medic
01f35f2aa22e7120cf1bd492e6e5400a29224791
[ "MIT" ]
3
2021-06-18T18:42:35.000Z
2022-02-09T01:54:58.000Z
test/support/assertions.ex
eahanson/medic
01f35f2aa22e7120cf1bd492e6e5400a29224791
[ "MIT" ]
3
2021-06-17T19:02:32.000Z
2021-06-17T19:44:35.000Z
test/support/assertions.ex
eahanson/medic
01f35f2aa22e7120cf1bd492e6e5400a29224791
[ "MIT" ]
1
2022-03-10T19:16:14.000Z
2022-03-10T19:16:14.000Z
defmodule Test.Support.Assertions do @moduledoc """ Assertions for """ require ExUnit.Assertions @spec assert_eq(any(), any()) :: any() def assert_eq([first | _] = left, right) when is_struct(first), do: assert_eq(Enum.map(left, &Map.from_struct/1), right) def assert_eq(left, [first | _] = right) w...
30.043478
95
0.69754
79c8eb4423d63c23327cef667ad039e9a1acde06
4,338
ex
Elixir
lib/elixir/lib/range.ex
schabou/elixir
7634f3f4c9380bdadd0e74eb76e9f7ae8cf27a1d
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/range.ex
schabou/elixir
7634f3f4c9380bdadd0e74eb76e9f7ae8cf27a1d
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/range.ex
schabou/elixir
7634f3f4c9380bdadd0e74eb76e9f7ae8cf27a1d
[ "Apache-2.0" ]
null
null
null
defmodule Range do @moduledoc """ Defines a range. A range represents a sequence of one or many, ascending or descending, consecutive integers. Ranges can be either increasing (`first <= last`) or decreasing (`first > last`). Ranges are also always inclusive. A range is represented internally as a st...
26.13253
93
0.620101
79c8eb6581e941f42695b735ba19113cb7fe5544
1,426
exs
Elixir
mix.exs
kianmeng/surface_formatter
6a861ad299457c2e1375f64c57e4ed15bad8f425
[ "MIT" ]
null
null
null
mix.exs
kianmeng/surface_formatter
6a861ad299457c2e1375f64c57e4ed15bad8f425
[ "MIT" ]
null
null
null
mix.exs
kianmeng/surface_formatter
6a861ad299457c2e1375f64c57e4ed15bad8f425
[ "MIT" ]
null
null
null
defmodule SurfaceFormatter.MixProject do use Mix.Project @source_url "https://github.com/surface-ui/surface_formatter" @version "0.7.5" def project do [ app: :surface_formatter, version: @version, elixir: "~> 1.8", start_permanent: Mix.env() == :prod, aliases: aliases(), ...
19.27027
89
0.54979
79c91c2ac1f61210324b724ecefe2309fc6010cf
1,006
ex
Elixir
apps/rest_api/lib/controllers/admin/sessions.ex
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
9
2020-10-13T14:11:37.000Z
2021-08-12T18:40:08.000Z
apps/rest_api/lib/controllers/admin/sessions.ex
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
28
2020-10-04T14:43:48.000Z
2021-12-07T16:54:22.000Z
apps/rest_api/lib/controllers/admin/sessions.ex
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
3
2020-11-25T20:59:47.000Z
2021-08-30T10:36:58.000Z
defmodule RestAPI.Controllers.Admin.Sessions do @moduledoc false use RestAPI.Controller, :controller alias RestAPI.Ports.Authenticator action_fallback RestAPI.Controllers.Fallback @doc "Logout the authenticated subject session." @spec logout(conn :: Plug.Conn.t(), params :: map()) :: Plug.Conn.t() def...
31.4375
86
0.676938
79c9a894d583ee187006e6ea6fdaf48531d029d8
297
ex
Elixir
community/betterdev/lib/betterdev/repo.ex
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
79
2017-07-03T13:04:08.000Z
2022-02-11T13:59:37.000Z
community/betterdev/lib/betterdev/repo.ex
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
16
2017-07-09T03:16:27.000Z
2022-01-14T14:29:57.000Z
community/betterdev/lib/betterdev/repo.ex
earthrid/betterdev.link
b8efe279e82810075ba36673483f7f4d6862bc19
[ "MIT" ]
10
2017-07-09T02:58:59.000Z
2021-09-14T08:01:02.000Z
defmodule Betterdev.Repo do use Ecto.Repo, otp_app: :betterdev use Kerosene, per_page: 10 @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
22.846154
66
0.703704
79c9b3a9a8996f2086efadd321541df0b85c3919
4,244
ex
Elixir
kousa/lib/broth/message/auth/request.ex
samyadel/dogehouse
c9daffbfe81a7488093b07f3f9a274a062dde801
[ "MIT" ]
2
2021-05-01T16:57:50.000Z
2021-07-07T22:01:14.000Z
kousa/lib/broth/message/auth/request.ex
samyadel/dogehouse
c9daffbfe81a7488093b07f3f9a274a062dde801
[ "MIT" ]
null
null
null
kousa/lib/broth/message/auth/request.ex
samyadel/dogehouse
c9daffbfe81a7488093b07f3f9a274a062dde801
[ "MIT" ]
null
null
null
defmodule Broth.Message.Auth.Request do use Broth.Message.Call, needs_auth: false @primary_key false embedded_schema do field(:accessToken, :string) field(:refreshToken, :string) field(:platform, :string) field(:currentRoomId, :binary_id) field(:reconnectToVoice, :boolean) field(:mute...
26.860759
97
0.64279
79c9c95188b0e29b524e57ff72d4a69305a0c038
2,148
exs
Elixir
config/prod.exs
mentels/pomex
57eca65777171ee0116b5ffde56c35f41bff7c8e
[ "Apache-2.0" ]
null
null
null
config/prod.exs
mentels/pomex
57eca65777171ee0116b5ffde56c35f41bff7c8e
[ "Apache-2.0" ]
null
null
null
config/prod.exs
mentels/pomex
57eca65777171ee0116b5ffde56c35f41bff7c8e
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
32.545455
67
0.709497
79c9e17f80638b7aa700fe7f7ee486be27320670
880
ex
Elixir
clients/content/lib/google_api/content/v2/metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/metadata.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.592593
74
0.757955
79c9ea131e86c4f99142510acdb36d9ecbbaa269
556
exs
Elixir
examples/ecto_job_priority_demo/config/config.exs
thedelchop/ecto_job
0157d857e4436a35ebcc0a9f5cd4b28b33292f62
[ "MIT" ]
268
2017-08-15T12:55:41.000Z
2022-03-20T22:42:18.000Z
examples/ecto_job_priority_demo/config/config.exs
thedelchop/ecto_job
0157d857e4436a35ebcc0a9f5cd4b28b33292f62
[ "MIT" ]
52
2018-01-15T20:47:54.000Z
2021-12-24T06:13:55.000Z
examples/ecto_job_priority_demo/config/config.exs
thedelchop/ecto_job
0157d857e4436a35ebcc0a9f5cd4b28b33292f62
[ "MIT" ]
38
2018-01-08T12:26:19.000Z
2021-06-01T12:41:09.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :logger, :level, :info config :ecto_job_priority_demo, ecto_repos: [EctoJobPriorityDemo.Repo] config :ecto_job_priority_demo, EctoJobPriorityDemo.Repo, adapter: Ecto.Adapt...
26.47619
70
0.776978
79c9f0919baf0ffd33c68b1f475565e6456a6748
1,466
ex
Elixir
lib/xdr/ledger/liquidity_pool.ex
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
lib/xdr/ledger/liquidity_pool.ex
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
lib/xdr/ledger/liquidity_pool.ex
kommitters/stellar_base
cf36723d5add4fead1029526230299def68048fe
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Ledger.LiquidityPool do @moduledoc """ Representation of Stellar Ledger `LiquidityPool` type. """ alias StellarBase.XDR.PoolID @behaviour XDR.Declaration @struct_spec XDR.Struct.new(liquidity_pool_id: PoolID) @type t :: %__MODULE__{liquidity_pool_id: PoolID.t()} defstruct [...
26.178571
87
0.700546
79ca2ae2ab8b563de9861bb60072622508e291ad
5,860
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/quota_limit.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/quota_limit.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/quota_limit.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 ...
46.141732
131
0.69744
79ca46ced03912ecd514f6fbb8f708f044cdfb38
731
ex
Elixir
api/web/gettext.ex
NaiRobley/IntoTheBookmarks
a5e36aa39740e4908fdc46f8a1fb6df3d92b2cda
[ "Apache-2.0" ]
null
null
null
api/web/gettext.ex
NaiRobley/IntoTheBookmarks
a5e36aa39740e4908fdc46f8a1fb6df3d92b2cda
[ "Apache-2.0" ]
6
2021-05-25T05:47:16.000Z
2022-02-26T04:42:31.000Z
api/web/gettext.ex
NaiRobley/IntoTheBookmarks
a5e36aa39740e4908fdc46f8a1fb6df3d92b2cda
[ "Apache-2.0" ]
null
null
null
defmodule IntoTheBookmarks.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import IntoTheBookmarks.Gettext # Simple translation gettex...
29.24
72
0.690834
79ca6cb9afcbc0a573dc5f522df5733def1be464
433
ex
Elixir
discuss/lib/discuss/model/comments.ex
hiroshisiq/elixir-sandbox
3f014d2f15ae1eeda1c22db30ef111cbc22e9afc
[ "MIT" ]
null
null
null
discuss/lib/discuss/model/comments.ex
hiroshisiq/elixir-sandbox
3f014d2f15ae1eeda1c22db30ef111cbc22e9afc
[ "MIT" ]
null
null
null
discuss/lib/discuss/model/comments.ex
hiroshisiq/elixir-sandbox
3f014d2f15ae1eeda1c22db30ef111cbc22e9afc
[ "MIT" ]
null
null
null
defmodule Discuss.Model.Comment do use Ecto.Schema import Ecto.Changeset @derive {Jason.Encoder, only: [:content, :user]} schema "comments" do field :content, :string belongs_to :user, Discuss.Model.User belongs_to :topic, Discuss.Model.Topic timestamps() end @doc false def changeset(s...
19.681818
50
0.667436
79ca6e3e3bda6b5f1bae5faa743ffd5a06201301
959
ex
Elixir
clients/speech/lib/google_api/speech/v1/request_builder.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/request_builder.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/speech/lib/google_api/speech/v1/request_builder.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...
36.884615
77
0.763295
79cb25a654ac29954f12a4cae9656f69bcd30a88
1,279
ex
Elixir
lib/egcovac_web/router.ex
karembadawy/egcovac
a1ddb339656d41b29ea098cd8be6c4934dec6eee
[ "MIT" ]
null
null
null
lib/egcovac_web/router.ex
karembadawy/egcovac
a1ddb339656d41b29ea098cd8be6c4934dec6eee
[ "MIT" ]
null
null
null
lib/egcovac_web/router.ex
karembadawy/egcovac
a1ddb339656d41b29ea098cd8be6c4934dec6eee
[ "MIT" ]
null
null
null
defmodule EgcovacWeb.Router do use EgcovacWeb, :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 "/", EgcovacWeb do pipe_...
27.212766
70
0.705238
79cb4bd6b0e7caedf7ba4fcc8ebf5f9760249990
61
ex
Elixir
web/views/topic_view.ex
slaily/discuss
6f0eacd0f2c03d197f2cf9b6c27a03752c90e969
[ "MIT" ]
null
null
null
web/views/topic_view.ex
slaily/discuss
6f0eacd0f2c03d197f2cf9b6c27a03752c90e969
[ "MIT" ]
null
null
null
web/views/topic_view.ex
slaily/discuss
6f0eacd0f2c03d197f2cf9b6c27a03752c90e969
[ "MIT" ]
null
null
null
defmodule Discuss.TopicView do use Discuss.Web, :view end
12.2
30
0.770492
79cbbb8e7502d394fdea0abc5e1e729074aa3a14
1,408
ex
Elixir
lib/eps_web/controllers/docs_controller.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
lib/eps_web/controllers/docs_controller.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
lib/eps_web/controllers/docs_controller.ex
generalui/elixir_pairing
67919e37b53e72bbd11e4785c9caa94fb3ac3303
[ "MIT" ]
null
null
null
defmodule EPSWeb.DocsController do @moduledoc """ Static documentation controller """ use EPSWeb, :controller @content_types %{ ".css" => "text/css", ".eot" => "font/eot", ".ico" => "image/x-icon", ".jpg" => "image/jpeg", ".js" => "text/javascript", ".png" => "image/png", ".svg" ...
28.734694
92
0.607244
79cc08bc3cc9ad9899783e028d7bcfbb650b96d1
862
exs
Elixir
test/mix/tasks/word2vec/compile_test.exs
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
53
2017-10-13T06:39:49.000Z
2022-03-28T19:43:42.000Z
test/mix/tasks/word2vec/compile_test.exs
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
12
2018-01-08T23:05:37.000Z
2019-08-02T12:59:27.000Z
test/mix/tasks/word2vec/compile_test.exs
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
4
2018-06-13T19:45:57.000Z
2019-10-17T13:37:06.000Z
defmodule Mix.Tasks.Word2vec.CompileTest do use ExUnit.Case, async: true alias Mix.Tasks.Word2vec.Compile setup_all do input = "/tmp/penelope_mix_tasks_word2vec_compile.txt" output = "/tmp/penelope_mix_tasks_word2vec_compile" File.write!( input, 1..10 |> Enum.map(fn i -> "...
20.046512
63
0.535963
79cc5a87a3a697f39f94583b1bf3c3c46cfed1b9
2,768
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/copy_backup_metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/copy_backup_metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/copy_backup_metadata.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
49.428571
656
0.740246
79cc742f825d4a7c4f3da9cd145637d452d7a293
6,270
ex
Elixir
test/event_store/support/append_events_test_case.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-28T20:48:23.000Z
2018-12-28T20:48:23.000Z
test/event_store/support/append_events_test_case.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
null
null
null
test/event_store/support/append_events_test_case.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-28T20:48:24.000Z
2018-12-28T20:48:24.000Z
defmodule Commanded.EventStore.AppendEventsTestCase do import Commanded.SharedTestCase define_tests do import Commanded.Enumerable, only: [pluck: 2] alias Commanded.EventStore alias Commanded.EventStore.EventData defmodule BankAccountOpened do @derive Jason.Encoder defstruct [:account...
38
98
0.654705
79cc8f505eea4655d6d1adf003d3e9173fba4178
866
exs
Elixir
mix.exs
nichochar/CLHN
406e55a2810f93c5510f0a9145f95b2bde0fdd9c
[ "MIT" ]
7
2017-05-15T20:31:13.000Z
2022-01-02T03:44:13.000Z
mix.exs
nichochar/CLHN
406e55a2810f93c5510f0a9145f95b2bde0fdd9c
[ "MIT" ]
3
2017-02-27T03:30:25.000Z
2021-04-28T03:59:17.000Z
mix.exs
nichochar/CLHN
406e55a2810f93c5510f0a9145f95b2bde0fdd9c
[ "MIT" ]
null
null
null
defmodule Clhn.Mixfile do use Mix.Project def project do [app: :clhn, escript: escript, version: "0.2.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the OTP application # # Type "mix help co...
20.619048
77
0.575058
79cc93b95ef6fa3d9dc916b51e8a92f991300898
2,693
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/frequency_cap.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/frequency_cap.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/frequency_cap.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
48.089286
525
0.721872
79cca64019b48cf598937b5e73d1f3b818df2e88
3,884
ex
Elixir
lib/mix_docker.ex
DinaWork/mix_docker
90b3f2fdd7c33abac678e1bca6006817d2afeb6f
[ "MIT" ]
null
null
null
lib/mix_docker.ex
DinaWork/mix_docker
90b3f2fdd7c33abac678e1bca6006817d2afeb6f
[ "MIT" ]
null
null
null
lib/mix_docker.ex
DinaWork/mix_docker
90b3f2fdd7c33abac678e1bca6006817d2afeb6f
[ "MIT" ]
null
null
null
defmodule MixDocker do require Logger @dockerfile_path :code.priv_dir(:mix_docker) @dockerfile_build Application.get_env(:mix_docker, :dockerfile_build, "Dockerfile.build") @dockerfile_release Application.get_env(:mix_docker, :dockerfile_release, "Dockerfile.release") def init(args) do # copy .dock...
24.897436
107
0.632853