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
ff0a82942c051445e70e01679cea84882ea72f50
1,235
ex
Elixir
apps/backoffice/web/views/error_helpers.ex
devnacho/acme_bank
cee19a490d2b3c04465273b7a6212d7e6a81f736
[ "MIT" ]
776
2016-07-16T14:24:37.000Z
2022-03-07T17:05:11.000Z
apps/backoffice/web/views/error_helpers.ex
fercho1224/devops
81a352d857e190963d9f045d73c91f3c36a12064
[ "MIT" ]
19
2016-09-03T15:06:57.000Z
2021-12-10T10:04:05.000Z
apps/backoffice/web/views/error_helpers.ex
fercho1224/devops
81a352d857e190963d9f045d73c91f3c36a12064
[ "MIT" ]
130
2016-09-03T19:44:27.000Z
2022-01-16T12:27:54.000Z
defmodule Backoffice.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :span, translate_error(error...
30.121951
76
0.669636
ff0a9264f7c4a811cb718db778e25125ae8e745e
1,255
ex
Elixir
test/support/conn_case.ex
Gustavo-Cauzzi/Cauzzipay
912b3fa13dbb920a5af242134c77d44e63c39c6f
[ "MIT" ]
1
2021-05-19T01:25:54.000Z
2021-05-19T01:25:54.000Z
test/support/conn_case.ex
Gustavo-Cauzzi/Cauzzipay
912b3fa13dbb920a5af242134c77d44e63c39c6f
[ "MIT" ]
null
null
null
test/support/conn_case.ex
Gustavo-Cauzzi/Cauzzipay
912b3fa13dbb920a5af242134c77d44e63c39c6f
[ "MIT" ]
null
null
null
defmodule CauzzipayWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if ...
28.522727
71
0.72749
ff0aa143efa010a22c77b2ad153334978204ffe2
529
ex
Elixir
lib/mail_slurp_api/model/template_variable.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/model/template_variable.ex
sumup-bank/mailslurp-client-elixir
87ccdedf2f0f4cd3e50f5781ffb088142e3cf4e8
[ "MIT" ]
null
null
null
lib/mail_slurp_api/model/template_variable.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.Model.TemplateVariable do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"name", :"variableType" ] @ty...
18.892857
91
0.678639
ff0add3fb5c45c7bf5db9bdf2d97ea15695c4242
4,207
ex
Elixir
lib/telegraph/api.ex
etroynov/telegraph
e355362d2edbb1aa47669de6525c621be6d03e58
[ "MIT" ]
1
2022-03-14T18:00:31.000Z
2022-03-14T18:00:31.000Z
lib/telegraph/api.ex
etroynov/telegraph
e355362d2edbb1aa47669de6525c621be6d03e58
[ "MIT" ]
2
2022-03-16T20:49:13.000Z
2022-03-23T22:08:48.000Z
lib/telegraph/api.ex
etroynov/telegraph
e355362d2edbb1aa47669de6525c621be6d03e58
[ "MIT" ]
null
null
null
defmodule Telegraph.API do @moduledoc """ Provides basic functionalities for Telegram Bot API. """ alias Telegraph.Model.Error alias Telegraph.Config defp build_url(method), do: Config.base_url() <> Config.token() <> "/" <> method defp process_response(response, method) do case decode_response(resp...
29.836879
97
0.632993
ff0ae684071b772bf5c324db350fc2f8b604d45e
187
ex
Elixir
apps/tai/lib/tai/events/venue_start.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/lib/tai/events/venue_start.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/events/venue_start.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.Events.VenueStart do alias __MODULE__ @type venue_id :: Tai.Venue.id() @type t :: %VenueStart{venue: venue_id} @enforce_keys ~w(venue)a defstruct ~w(venue)a end
18.7
41
0.71123
ff0af5ab541616f8ae21a34baa799e0cb6153abd
1,786
ex
Elixir
lib/ex_platform_web/live/live_helpers.ex
alex-min/ex_platform
73dea336ee939d8155b4b5953146351af30edd66
[ "MIT" ]
129
2021-05-30T10:10:59.000Z
2022-03-27T14:42:48.000Z
lib/ex_platform_web/live/live_helpers.ex
alex-min/ex_platform
73dea336ee939d8155b4b5953146351af30edd66
[ "MIT" ]
48
2021-05-30T21:34:03.000Z
2022-02-21T14:20:04.000Z
lib/ex_platform_web/live/live_helpers.ex
alex-min/ex_platform
73dea336ee939d8155b4b5953146351af30edd66
[ "MIT" ]
12
2021-05-30T22:03:49.000Z
2022-02-08T19:59:16.000Z
defmodule ExPlatformWeb.LiveHelpers do @moduledoc """ A collection of the live helpers used in the live templates. """ import Phoenix.LiveView.Helpers @doc """ Renders a component inside the `ExPlatformWeb.ModalComponent` component. The rendered modal receives a `:return_to` option to properly update ...
27.90625
98
0.656215
ff0af601896e1b02d6616f0b092328fb24be3261
1,185
ex
Elixir
lib/instant_poll_web/channels/user_socket.ex
workgena/instant_poll
94be29da99cfcb54576ae0ce34d395fff7b8ca39
[ "MIT" ]
1
2018-11-30T09:08:09.000Z
2018-11-30T09:08:09.000Z
lib/instant_poll_web/channels/user_socket.ex
workgena/instant_poll
94be29da99cfcb54576ae0ce34d395fff7b8ca39
[ "MIT" ]
5
2021-01-28T19:08:56.000Z
2021-05-07T22:43:54.000Z
lib/instant_poll_web/channels/user_socket.ex
workgena/instant_poll
94be29da99cfcb54576ae0ce34d395fff7b8ca39
[ "MIT" ]
null
null
null
defmodule InstantPollWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", InstantPollWeb.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to veri...
31.184211
86
0.706329
ff0b30714307f456638e85965b4fa3c2d8cc7c42
755
ex
Elixir
lib/honeydew/dispatcher/lru.ex
kianmeng/honeydew
7c0e825c70ef4b72c82d02ca95491e7365d6b2e8
[ "MIT" ]
717
2015-06-15T19:30:54.000Z
2022-03-22T06:10:09.000Z
lib/honeydew/dispatcher/lru.ex
kianmeng/honeydew
7c0e825c70ef4b72c82d02ca95491e7365d6b2e8
[ "MIT" ]
106
2015-06-25T05:38:05.000Z
2021-12-08T23:17:19.000Z
lib/honeydew/dispatcher/lru.ex
kianmeng/honeydew
7c0e825c70ef4b72c82d02ca95491e7365d6b2e8
[ "MIT" ]
60
2015-06-07T00:48:37.000Z
2022-03-06T08:20:23.000Z
defmodule Honeydew.Dispatcher.LRU do @moduledoc false # TODO: docs def init do {:ok, {:queue.new, MapSet.new}} end def available?({free, _busy}) do !:queue.is_empty(free) end def check_in(worker, {free, busy}) do {:queue.in(worker, free), MapSet.delete(busy, worker)} end def check_out...
21.571429
71
0.605298
ff0b3563e661aac2dabf8e89479c05d356375f6b
2,399
ex
Elixir
clients/managed_identities/lib/google_api/managed_identities/v1/model/date.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/managed_identities/lib/google_api/managed_identities/v1/model/date.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/managed_identities/lib/google_api/managed_identities/v1/model/date.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...
45.264151
567
0.717799
ff0b676631521cd90d0fa6e0ba9b1c76924dbf3d
2,324
ex
Elixir
clients/cloud_identity/lib/google_api/cloud_identity/v1/model/user_invitation.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/cloud_identity/lib/google_api/cloud_identity/v1/model/user_invitation.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/cloud_identity/lib/google_api/cloud_identity/v1/model/user_invitation.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...
41.5
392
0.71988
ff0b758fd373ce0150fcc826382ff0aa98906b58
6,067
ex
Elixir
lib/vintage_net_wizard/web/router.ex
magaloop/vintage_net_wizard
43edd17fd82cde16846a3ca2870bfae57f5577ad
[ "Apache-2.0" ]
null
null
null
lib/vintage_net_wizard/web/router.ex
magaloop/vintage_net_wizard
43edd17fd82cde16846a3ca2870bfae57f5577ad
[ "Apache-2.0" ]
1
2020-03-05T12:21:10.000Z
2020-03-05T12:21:10.000Z
lib/vintage_net_wizard/web/router.ex
magaloop/vintage_net_wizard
43edd17fd82cde16846a3ca2870bfae57f5577ad
[ "Apache-2.0" ]
null
null
null
defmodule VintageNetWizard.Web.Router do @moduledoc false use Plug.Router use Plug.Debugger, otp_app: :vintage_net_wizard alias VintageNetWizard.{ Backend, Web.Endpoint, WiFiConfiguration } plug(Plug.Logger, log: :debug) plug(Plug.Static, from: {:vintage_net_wizard, "priv/static"}, at: "/")...
25.92735
129
0.645294
ff0b76491f0854c473c665fe579ff9e7b0a6f258
125
ex
Elixir
test/example_du.ex
X4lldux/disc_union
e5b5a2d775a0536fa492c311bc297f71b0a5980d
[ "MIT" ]
58
2016-05-14T03:56:22.000Z
2019-04-18T14:45:27.000Z
test/example_du.ex
X4lldux/disc_union
e5b5a2d775a0536fa492c311bc297f71b0a5980d
[ "MIT" ]
5
2016-08-30T19:47:33.000Z
2017-02-04T22:50:40.000Z
test/example_du.ex
x4lldux/disc_union
e5b5a2d775a0536fa492c311bc297f71b0a5980d
[ "MIT" ]
2
2017-02-03T15:39:23.000Z
2018-11-21T15:30:59.000Z
defmodule ExampleDU do use DiscUnion, named_constructors: true defunion Asd | Qwe in any | Rty in integer * atom end
17.857143
41
0.736
ff0b85c376cf71af3b26efa20242be333460c33a
1,500
exs
Elixir
backend/mix.exs
hbobenicio/fullstack-phoenix-vue
a81804e263a3972df222a306c876340755014ef9
[ "MIT" ]
null
null
null
backend/mix.exs
hbobenicio/fullstack-phoenix-vue
a81804e263a3972df222a306c876340755014ef9
[ "MIT" ]
1
2017-12-22T18:00:24.000Z
2017-12-22T18:00:24.000Z
backend/mix.exs
hbobenicio/fullstack-phoenix-vue
a81804e263a3972df222a306c876340755014ef9
[ "MIT" ]
null
null
null
defmodule Backend.Mixfile do use Mix.Project def project do [ app: :backend, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix, :gettext] ++ Mix.compilers, start_permanent: Mix.env == :prod, aliases: aliases(), deps: ...
25.423729
79
0.588667
ff0b8968cd5622ba71f52b01fea2cce26cda142a
3,490
ex
Elixir
lib/mv_opentelemetry/absinthe.ex
mindvalley/mv-opentelemetry
90d654c023e6912f74c2cce518530878b46dd20b
[ "MIT" ]
9
2021-10-05T08:01:18.000Z
2022-03-30T07:19:38.000Z
lib/mv_opentelemetry/absinthe.ex
mindvalley/mv-opentelemetry
90d654c023e6912f74c2cce518530878b46dd20b
[ "MIT" ]
29
2021-10-04T05:46:47.000Z
2022-03-31T18:47:10.000Z
lib/mv_opentelemetry/absinthe.ex
mindvalley/mv-opentelemetry
90d654c023e6912f74c2cce518530878b46dd20b
[ "MIT" ]
2
2021-10-04T05:50:38.000Z
2021-10-05T05:01:34.000Z
defmodule MvOpentelemetry.Absinthe do @moduledoc false use MvOpentelemetry.SpanTracer, name: :graphql, events: [ [:absinthe, :execute, :operation, :start], [:absinthe, :execute, :operation, :stop], [:absinthe, :execute, :operation, :exception], [:absinthe, :resolve, :field, :start],...
30.347826
97
0.668481
ff0ba07b2a5622e387dceffd31ef3065273c6cc2
6,918
ex
Elixir
lib/reverse_proxy_plug.ex
khoabeotv/reverse_proxy_plug
9bea4b3c757c7e6ed52daefbf5f2521b313eee78
[ "MIT" ]
null
null
null
lib/reverse_proxy_plug.ex
khoabeotv/reverse_proxy_plug
9bea4b3c757c7e6ed52daefbf5f2521b313eee78
[ "MIT" ]
null
null
null
lib/reverse_proxy_plug.ex
khoabeotv/reverse_proxy_plug
9bea4b3c757c7e6ed52daefbf5f2521b313eee78
[ "MIT" ]
null
null
null
defmodule ReverseProxyPlug do @moduledoc """ The main ReverseProxyPlug module. """ alias Plug.Conn @behaviour Plug @http_client HTTPoison @spec init(Keyword.t()) :: Keyword.t() def init(opts) do upstream_parts = opts |> Keyword.get(:upstream, "") |> URI.parse() |> Map.to_l...
25.156364
99
0.593235
ff0ba6614e3fac5f8c3a9696bb386f0abd323fb2
2,739
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/export_assets_request.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/export_assets_request.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/export_assets_request.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.138462
176
0.721066
ff0bc93b23f3abe3b20fb1adc72a9135484174a4
390
exs
Elixir
config/test.exs
sreecodeslayer/exfile-imagemagick
0103f8585901e295cc992a121c248a2d5e5eae7c
[ "MIT" ]
5
2015-12-25T18:17:10.000Z
2018-07-17T10:19:10.000Z
config/test.exs
sreecodeslayer/exfile-imagemagick
0103f8585901e295cc992a121c248a2d5e5eae7c
[ "MIT" ]
7
2016-08-14T02:28:03.000Z
2017-11-04T23:07:15.000Z
config/test.exs
sreecodeslayer/exfile-imagemagick
0103f8585901e295cc992a121c248a2d5e5eae7c
[ "MIT" ]
9
2016-08-22T11:06:04.000Z
2021-09-30T09:05:03.000Z
use Mix.Config # You can configure the image_processor to be one of :imagemagick or :graphicsmagick # The default image processor is :imagemagick # # In case of imagemagick make sure that `convert` executable is in your environment's path # In case of graphicsmagick make sure that `GM` executable is in your environme...
35.454545
90
0.794872
ff0bf060a779f576bd7f4baf4d61dd95be16417b
7,607
ex
Elixir
lib/mongo_auth.ex
LINKHA/elixir-mongo
f2e567675e2d9bdace0e6893e1e9bd424980ba75
[ "MIT" ]
null
null
null
lib/mongo_auth.ex
LINKHA/elixir-mongo
f2e567675e2d9bdace0e6893e1e9bd424980ba75
[ "MIT" ]
null
null
null
lib/mongo_auth.ex
LINKHA/elixir-mongo
f2e567675e2d9bdace0e6893e1e9bd424980ba75
[ "MIT" ]
null
null
null
defmodule Mongo.Auth do def auth(opts, mongo) do user = opts[:username] passwd = opts[:password] mod = mechanism(mongo) mod.auth(user, passwd, mongo) end @doc false defp mechanism(%Mongo.Server{wire_version: version}) when version >= 3, do: Mongo.Auth.SCRAM defp mechanism(_), do: Mongo.Auth.C...
32.508547
123
0.636913
ff0bfb878a4ef8b3e968be31977c9886c75e9b26
2,058
ex
Elixir
lib/new_relic/util/http.ex
lenfree/elixir_agent
9ef75b16461e28d19852904fbd001587df75cc19
[ "Apache-2.0" ]
null
null
null
lib/new_relic/util/http.ex
lenfree/elixir_agent
9ef75b16461e28d19852904fbd001587df75cc19
[ "Apache-2.0" ]
null
null
null
lib/new_relic/util/http.ex
lenfree/elixir_agent
9ef75b16461e28d19852904fbd001587df75cc19
[ "Apache-2.0" ]
null
null
null
defmodule NewRelic.Util.HTTP do @moduledoc false @gzip {'content-encoding', 'gzip'} def post(url, body, headers) when is_binary(body) do headers = [@gzip | Enum.map(headers, fn {k, v} -> {'#{k}', '#{v}'} end)] request = {'#{url}', headers, 'application/json', :zlib.gzip(body)} # Setting proxy is a ...
28.985915
96
0.617104
ff0c5c3ee33b6240b09f6a34da962bcb034bd6d2
2,014
ex
Elixir
lib/vintage_net_wifi/wps_data.ex
pojiro/vintage_net_wifi
1033585be6c4a8a65e6085e99b9f470711ceec1c
[ "Apache-2.0" ]
20
2019-12-03T18:26:25.000Z
2022-02-08T09:27:23.000Z
lib/vintage_net_wifi/wps_data.ex
pojiro/vintage_net_wifi
1033585be6c4a8a65e6085e99b9f470711ceec1c
[ "Apache-2.0" ]
29
2020-01-21T02:21:47.000Z
2022-02-16T13:02:24.000Z
lib/vintage_net_wifi/wps_data.ex
pojiro/vintage_net_wifi
1033585be6c4a8a65e6085e99b9f470711ceec1c
[ "Apache-2.0" ]
12
2020-02-16T16:48:03.000Z
2022-03-24T12:10:52.000Z
defmodule VintageNetWiFi.WPSData do @moduledoc """ Utilities for handling WPS data """ @typedoc """ A map containing WPS data All keys are optional. Known keys use atoms. Unknown keys use their numeric value and their value is left as a raw binary. Known keys: * `:credential` - a map of WiFi crede...
27.589041
93
0.625621
ff0c61de487a3be59c1c813f6ebbf3c379367400
540
ex
Elixir
lib/ezpdf/cli.ex
samullen/ezpdf
1b0699e340a31a20f7b867e462d782c5f3c254d8
[ "Unlicense" ]
null
null
null
lib/ezpdf/cli.ex
samullen/ezpdf
1b0699e340a31a20f7b867e462d782c5f3c254d8
[ "Unlicense" ]
null
null
null
lib/ezpdf/cli.ex
samullen/ezpdf
1b0699e340a31a20f7b867e462d782c5f3c254d8
[ "Unlicense" ]
null
null
null
defmodule EZPDF.CLI do def main(argv) do argv |> EZPDF.Config.setup |> process end def process(:help) do IO.puts """ Usage: ezpdf [options] [markdown file] -h, --help # Usage help -H, --header file # html file to use as the header -f, --footer fil...
22.5
76
0.557407
ff0c63c6036405f8c1d17b99d46fd8080d6c995b
714
ex
Elixir
lib/githubist_web/gettext.ex
alpcanaydin/githubist-api
6481f8177c5b8573da2d5df52ffaff41340b25d0
[ "MIT" ]
33
2018-10-13T16:40:36.000Z
2021-05-23T14:13:34.000Z
lib/githubist_web/gettext.ex
5l1v3r1/githubist-api
6481f8177c5b8573da2d5df52ffaff41340b25d0
[ "MIT" ]
1
2018-12-23T19:59:05.000Z
2018-12-24T18:08:00.000Z
lib/githubist_web/gettext.ex
5l1v3r1/githubist-api
6481f8177c5b8573da2d5df52ffaff41340b25d0
[ "MIT" ]
3
2018-10-13T22:18:38.000Z
2020-03-29T23:41:23.000Z
defmodule GithubistWeb.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 GithubistWeb.Gettext # Simple translation gettext "Here ...
28.56
72
0.683473
ff0c7cd56cfbbbe594fb622468389ea3def97bbe
1,041
exs
Elixir
clients/keto/elixir/mix.exs
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/keto/elixir/mix.exs
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
clients/keto/elixir/mix.exs
ory/sdk-generator
958314d130922ad6f20f439b5230141a832231a5
[ "Apache-2.0" ]
null
null
null
defmodule Keto.Mixfile do use Mix.Project def project do [app: :ory_keto, version: "0.8.0-alpha.0.pre.1", elixir: "~> 1.6", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, package: package(), description: "Documentation for all of Ory Oathkeeper&#39;s APIs. ",...
22.148936
79
0.591739
ff0cb22ed3ab75fcfe0ee0645dcb760476bcb538
70
exs
Elixir
test/test_helper.exs
mehmetboraezer/elephant
2e23af1b632fbef0a1371acd3ae27bd063e1212e
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
mehmetboraezer/elephant
2e23af1b632fbef0a1371acd3ae27bd063e1212e
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
mehmetboraezer/elephant
2e23af1b632fbef0a1371acd3ae27bd063e1212e
[ "Apache-2.0" ]
null
null
null
ExUnit.start Ecto.Adapters.SQL.Sandbox.mode(Elephant.Repo, :manual)
14
54
0.785714
ff0d1ddd1cc07c9a931f28f38aa5c1250eeb4f7c
3,310
ex
Elixir
lib/nonuniform_rand/alias_method.ex
SergeTupchiy/nonuniform_rand
c6ddd4be2b6c06707ca54f4a98cdbe401e4968b2
[ "MIT" ]
null
null
null
lib/nonuniform_rand/alias_method.ex
SergeTupchiy/nonuniform_rand
c6ddd4be2b6c06707ca54f4a98cdbe401e4968b2
[ "MIT" ]
null
null
null
lib/nonuniform_rand/alias_method.ex
SergeTupchiy/nonuniform_rand
c6ddd4be2b6c06707ca54f4a98cdbe401e4968b2
[ "MIT" ]
null
null
null
defmodule NonuniformRand.AliasMethod do @moduledoc """ Implementation is based on the following sources: http://www.keithschwarz.com/interesting/code/?dir=alias-method http://www.keithschwarz.com/darts-dice-coins/ """ @type probs_list :: %{required(any) => float()} | [{any(), float()}] @type alias_table...
35.978261
95
0.683686
ff0d26486fb3cf939bd235c080259bafc393b1e8
8,264
ex
Elixir
lib/phoenix_live_view/utils.ex
tiagoefmoraes/phoenix_live_view
ed77fa52443c77bd9f281f1a64da832a6e8724e8
[ "MIT" ]
null
null
null
lib/phoenix_live_view/utils.ex
tiagoefmoraes/phoenix_live_view
ed77fa52443c77bd9f281f1a64da832a6e8724e8
[ "MIT" ]
null
null
null
lib/phoenix_live_view/utils.ex
tiagoefmoraes/phoenix_live_view
ed77fa52443c77bd9f281f1a64da832a6e8724e8
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Utils do # Shared helpers used mostly by Channel and Diff, # but also Static, Flash, and LiveViewTest. @moduledoc false alias Phoenix.LiveView alias Phoenix.LiveView.Socket # All available mount options @mount_opts [:temporary_assigns, :layout] @doc """ Clears the changes...
28.108844
106
0.636133
ff0d3722812d7efd75ac0f33a18326e76efeedf0
753
ex
Elixir
api/web/models/category.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/web/models/category.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/web/models/category.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
defmodule Microblogger.Category do use Microblogger.Web, :model alias Microblogger.{Category, PostCategory, Repo} schema "categories" do field :name, :string field :description, :string many_to_many :posts, Microblogger.Post, join_through: "post_categories" timestamps() end def find_by_nam...
20.351351
75
0.613546
ff0d3efacfd0fc8ee513bff18f1263dc867c9fe5
1,563
ex
Elixir
Server/Megauni/specs/funcs.ex
da99/megauni.alpha
65e402cc139e45f043e67a9384caf77d1fcbe5b7
[ "MIT" ]
null
null
null
Server/Megauni/specs/funcs.ex
da99/megauni.alpha
65e402cc139e45f043e67a9384caf77d1fcbe5b7
[ "MIT" ]
null
null
null
Server/Megauni/specs/funcs.ex
da99/megauni.alpha
65e402cc139e45f043e67a9384caf77d1fcbe5b7
[ "MIT" ]
null
null
null
defmodule Megauni.Spec_Funcs do def query(stack, prog, env) do {query, prog, env} = JSON_Applet.take(prog, 1, env) {:ok, %{columns: keys, rows: rows}} = Ecto.Adapters.SQL.query( Megauni.Repos.Main, query, [] ) rows = Enum.map rows, fn(r) -> Enum.reduce Enum.zip(keys,r), %{}, fn({key, val}, map) ->...
26.948276
98
0.528471
ff0d52cadbd05c094f9d93b0c3ea865e9d5ecffd
102,619
ex
Elixir
lib/aws/generated/kms.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/kms.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/kms.ex
salemove/aws-elixir
debdf6482158a71a57636ac664c911e682093395
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.KMS do @moduledoc """ AWS Key Management Service AWS Key Management Service (AWS KMS) is an encryption and key management web service. This guide describes the AWS KMS operations that ...
45.107253
215
0.753262
ff0d60539c413c2bf5983929e5abbb441d738a7c
1,470
ex
Elixir
lib/xdr/transactions/operations/set_options_result.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
lib/xdr/transactions/operations/set_options_result.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
lib/xdr/transactions/operations/set_options_result.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Operations.SetOptionsResult do @moduledoc """ Representation of Stellar `SetOptionsResult` type. """ alias StellarBase.XDR.Void alias StellarBase.XDR.Operations.SetOptionsResultCode @behaviour XDR.Declaration @arms [SET_OPTIONS_SUCCESS: Void, default: Void] @type t :: %__MOD...
24.915254
71
0.660544
ff0d6558ccc04146702b5c82ae29c716c0e7e020
1,073
exs
Elixir
test/bootleg/config/agent_test.exs
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
423
2017-07-19T18:40:45.000Z
2021-12-03T08:26:15.000Z
test/bootleg/config/agent_test.exs
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
115
2017-07-19T18:30:14.000Z
2020-10-27T20:53:32.000Z
test/bootleg/config/agent_test.exs
jayjun/bootleg
2283ad22810178625c45eb2661624fac914befdd
[ "MIT" ]
39
2017-07-20T03:14:18.000Z
2020-11-18T13:39:52.000Z
defmodule Bootleg.Config.AgentTest do use Bootleg.TestCase, async: false alias Bootleg.Config.Agent import ExUnit.CaptureIO test "stores values for retrieval" do {:ok, _} = Agent.start_link() assert Agent.get(:config) == [env: :production] Agent.put(:config, key: :value, key2: :value) assert A...
26.825
71
0.662628
ff0d6e1b1fb43f0b01f8997ac937a055a46e23d1
425
exs
Elixir
test/nuzzelish_web/views/error_view_test.exs
chrisbodhi/nuzzelish
4273dc34e5cc2eab11a6c512272b03a60f302e64
[ "MIT" ]
2
2020-09-07T03:42:36.000Z
2021-05-04T23:58:43.000Z
test/nuzzelish_web/views/error_view_test.exs
chrisbodhi/nuzzelish
4273dc34e5cc2eab11a6c512272b03a60f302e64
[ "MIT" ]
20
2020-01-15T03:26:48.000Z
2020-02-02T20:53:39.000Z
test/nuzzelish_web/views/error_view_test.exs
chrisbodhi/nuzzelish
4273dc34e5cc2eab11a6c512272b03a60f302e64
[ "MIT" ]
null
null
null
defmodule NuzzelishWeb.ErrorViewTest do use NuzzelishWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(NuzzelishWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do ...
28.333333
94
0.738824
ff0d715b3092bab337aa4ac8e7b52bf16946f539
2,726
exs
Elixir
test/ex_oauth2_provider/plug_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
test/ex_oauth2_provider/plug_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
test/ex_oauth2_provider/plug_test.exs
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
defmodule ExOauth2Provider.PlugTest do use ExOauth2Provider.ConnCase alias ExOauth2Provider.Plug test "authenticated?/1", context do refute Plug.authenticated?(context.conn) new_conn = Plug.set_current_access_token(context.conn, {:ok, "secret"}) assert Plug.authenticated?(new_conn) end test "au...
35.868421
92
0.739545
ff0d719fb407aa34ae7db62dc2ae04c86d6725bb
1,133
exs
Elixir
config/config.exs
gmalette/droppable_queue
73fd1faa3d91acc6b6246eb80715ffb6ceaa705f
[ "MIT" ]
1
2016-11-15T19:54:13.000Z
2016-11-15T19:54:13.000Z
config/config.exs
gmalette/droppable_queue
73fd1faa3d91acc6b6246eb80715ffb6ceaa705f
[ "MIT" ]
null
null
null
config/config.exs
gmalette/droppable_queue
73fd1faa3d91acc6b6246eb80715ffb6ceaa705f
[ "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.548387
73
0.754634
ff0d96c2e12ca0b1c524565f4a27461f910eb21a
3,372
exs
Elixir
test/dnsimple/response_test.exs
remiprev/dnsimple-elixir
7a8eb0cec64797f3e72601b5395d8629836ef904
[ "MIT" ]
null
null
null
test/dnsimple/response_test.exs
remiprev/dnsimple-elixir
7a8eb0cec64797f3e72601b5395d8629836ef904
[ "MIT" ]
14
2021-02-19T07:09:55.000Z
2022-02-24T12:33:37.000Z
test/dnsimple/response_test.exs
littleairmada/dnsimple-elixir
a1b71a9c84d1a440f86199b8f48754e1c88ca19f
[ "MIT" ]
null
null
null
defmodule Dnsimple.ResponseTest do use TestCase, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney doctest Dnsimple.Response @client %Dnsimple.Client{access_token: "x", base_url: "https://api.dnsimple.test"} describe ".parse" do test "extracts the response body into structs WITH a data attribu...
43.230769
163
0.688909
ff0da5ee1963710ec8b242d389e4485b6c3bd24d
952
exs
Elixir
test/test_helper.exs
lumenlunae/forage
af85889bb5a2e154d1aa92e98454c29b6d724120
[ "MIT" ]
null
null
null
test/test_helper.exs
lumenlunae/forage
af85889bb5a2e154d1aa92e98454c29b6d724120
[ "MIT" ]
null
null
null
test/test_helper.exs
lumenlunae/forage
af85889bb5a2e154d1aa92e98454c29b6d724120
[ "MIT" ]
null
null
null
defmodule TestSchemas.PrimarySchema do use Ecto.Schema import Ecto.Changeset alias TestSchemas.RemoteSchema schema "dummy_schema" do field :string_field, :string field :integer_field, :integer belongs_to :owner, RemoteSchema end @doc false def changeset(remote_schema, attrs) do remote_sc...
23.219512
71
0.746849
ff0da9ce63796ec9e4fd0741de468c24ff3bbed4
313
exs
Elixir
test/pg/ecto_migration.exs
KamilZielinski/ecto_enum
4cbcb359b63102edea3db4e984a33d4d09e3f0c0
[ "MIT" ]
null
null
null
test/pg/ecto_migration.exs
KamilZielinski/ecto_enum
4cbcb359b63102edea3db4e984a33d4d09e3f0c0
[ "MIT" ]
null
null
null
test/pg/ecto_migration.exs
KamilZielinski/ecto_enum
4cbcb359b63102edea3db4e984a33d4d09e3f0c0
[ "MIT" ]
null
null
null
defmodule Ecto.Integration.Migration do use Ecto.Migration def change do create table(:users) do add(:status, :integer) end execute("CREATE TYPE status AS ENUM ('registered', 'active', 'inactive', 'archived')") create table(:users_pg) do add(:status, :status) end end end
19.5625
90
0.654952
ff0dca4adff0584fa678c7e0bda47fe29f29142a
2,238
exs
Elixir
test/acceptance/html1/atx_headers_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/acceptance/html1/atx_headers_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
test/acceptance/html1/atx_headers_test.exs
ZeLarpMaster/earmark
35c9661d6647059e507c0278347e21d92351c417
[ "Apache-1.1" ]
null
null
null
defmodule Acceptance.Html1.AtxHeadersTest do use ExUnit.Case, async: true import Support.Html1Helpers @moduletag :html1 describe "ATX headers" do test "from one to six" do markdown = "# foo\n## foo\n### foo\n#### foo\n##### foo\n###### foo\n" html = Enum.map(1..6, fn x -> ["<h#{x}>\n"...
26.329412
98
0.508043
ff0dcc9dc8c1d90557eb7c020e48b34e112aea63
876
ex
Elixir
clients/games/lib/google_api/games/v1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/metadata.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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.444444
74
0.756849
ff0dcfff7619daa0af6021de48b593c8d257f5cd
13,246
ex
Elixir
lib/date_time_parser.ex
tmr08c/date_time_parser
42a93ff734bc532f86ca3a0bf90b662ce3bfade8
[ "MIT" ]
null
null
null
lib/date_time_parser.ex
tmr08c/date_time_parser
42a93ff734bc532f86ca3a0bf90b662ce3bfade8
[ "MIT" ]
null
null
null
lib/date_time_parser.ex
tmr08c/date_time_parser
42a93ff734bc532f86ca3a0bf90b662ce3bfade8
[ "MIT" ]
null
null
null
defmodule DateTimeParser do @moduledoc """ DateTimeParser is a tokenizer for strings that attempts to parse into a `DateTime`, `NaiveDateTime` if timezone is not determined, `Date`, or `Time`. The biggest ambiguity between datetime formats is whether it's `ymd` (year month day), `mdy` (month day year), or `d...
33.790816
161
0.638457
ff0ddc4e0d657dd04119ed108c21969cb43d7a5c
1,929
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/subscription_content_details.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/you_tube/lib/google_api/you_tube/v3/model/subscription_content_details.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/subscription_content_details.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 ...
36.396226
139
0.729393
ff0de793f10a99cc06717e89bf62e2fa62763dc8
2,559
ex
Elixir
clients/game_services/lib/google_api/game_services/v1beta/model/game_server_cluster_connection_info.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/game_services/lib/google_api/game_services/v1beta/model/game_server_cluster_connection_info.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/game_services/lib/google_api/game_services/v1beta/model/game_server_cluster_connection_info.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...
46.527273
306
0.762798
ff0e2fc5a3b8ca1e3e64c1974a375f3cb2f6f36a
1,588
exs
Elixir
test/fixtures/example_app/config/test.schema.exs
amco/exrm
2600bffb92c6e129dd513978578992fc64d9ce08
[ "MIT" ]
986
2015-01-01T13:20:41.000Z
2021-09-03T02:18:55.000Z
test/fixtures/example_app/config/test.schema.exs
amco/exrm
2600bffb92c6e129dd513978578992fc64d9ce08
[ "MIT" ]
332
2015-01-02T09:17:25.000Z
2018-04-06T22:32:25.000Z
test/fixtures/example_app/config/test.schema.exs
amco/exrm
2600bffb92c6e129dd513978578992fc64d9ce08
[ "MIT" ]
132
2015-01-05T06:11:21.000Z
2019-10-31T13:31:12.000Z
[ import: [ :fake_project ], mappings: [ "test.foo": [ doc: "Documentation for test.foo goes here.", to: "test.foo", datatype: :binary, default: "bar" ], "test.env": [ doc: "The current execution environment", to: "test.env", datatype: :atom, default...
22.366197
66
0.457809
ff0e3773554ce699a2c82cdabbbfc2b2fc2ea5d8
1,651
ex
Elixir
lib/pixel_font/table_source/otf_layout/sequence_context_3.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
17
2020-09-14T15:25:38.000Z
2022-03-05T17:14:24.000Z
lib/pixel_font/table_source/otf_layout/sequence_context_3.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
1
2021-08-19T05:05:37.000Z
2021-08-19T05:05:37.000Z
lib/pixel_font/table_source/otf_layout/sequence_context_3.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
null
null
null
defmodule PixelFont.TableSource.OTFLayout.SequenceContext3 do alias PixelFont.TableSource.OTFLayout.GlyphCoverage alias PixelFont.TableSource.OTFLayout.Lookup alias PixelFont.Util defstruct input: [], lookup_records: [] @type t :: %__MODULE__{ input: [GlyphCoverage.t()], lookup_records: ...
30.018182
93
0.701393
ff0e4c3c5433049c51dd2bd0ee9ba18fbf274b76
1,975
ex
Elixir
lib/glimesh/graphql/resolvers/chat_resolver.ex
moltenllama/glimesh.tv
8bf8e2bfc54390b15014689ab5bca330ecf6d74c
[ "MIT" ]
null
null
null
lib/glimesh/graphql/resolvers/chat_resolver.ex
moltenllama/glimesh.tv
8bf8e2bfc54390b15014689ab5bca330ecf6d74c
[ "MIT" ]
null
null
null
lib/glimesh/graphql/resolvers/chat_resolver.ex
moltenllama/glimesh.tv
8bf8e2bfc54390b15014689ab5bca330ecf6d74c
[ "MIT" ]
null
null
null
defmodule Glimesh.Resolvers.ChatResolver do @moduledoc false use Appsignal.Instrumentation.Decorators alias Glimesh.Chat @decorate transaction_event() def create_chat_message( _parent, %{channel_id: channel_id, message: message_obj}, %{context: %{user_access: ua}} ) do wit...
30.859375
133
0.703291
ff0e6e83e515432e7510cdc4dc5e21e139849d1a
10,016
exs
Elixir
test/ueberauth_adfs/adfs_test.exs
Kuret/ueberauth_adfs
3082f07b09dc223b8967abe30ad492fe450ead67
[ "MIT" ]
null
null
null
test/ueberauth_adfs/adfs_test.exs
Kuret/ueberauth_adfs
3082f07b09dc223b8967abe30ad492fe450ead67
[ "MIT" ]
null
null
null
test/ueberauth_adfs/adfs_test.exs
Kuret/ueberauth_adfs
3082f07b09dc223b8967abe30ad492fe450ead67
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.ADFSTest do use ExUnit.Case use Ueberauth.Strategy import Mock alias Ueberauth.Strategy.ADFS @env_values adfs_url: "https://example.com", adfs_metadata_url: "https://example.com/metadata.xml", client_id: "example_client", resource_ident...
33.837838
122
0.576977
ff0e95008a654aaa91f2385b827b6d6c580be1e0
1,192
ex
Elixir
lib/k8s/client/runner/async.ex
Overbryd/k8s
7057601b1f191b47294133045c9e5b74bd9dd525
[ "MIT" ]
null
null
null
lib/k8s/client/runner/async.ex
Overbryd/k8s
7057601b1f191b47294133045c9e5b74bd9dd525
[ "MIT" ]
null
null
null
lib/k8s/client/runner/async.ex
Overbryd/k8s
7057601b1f191b47294133045c9e5b74bd9dd525
[ "MIT" ]
null
null
null
defmodule K8s.Client.Runner.Async do @moduledoc """ `K8s.Client` runner to process a batch of operations asynchronously. """ alias K8s.Client.Runner.Base alias K8s.Operation @doc """ Async run multiple operations. Operations will be returned in same order given. Operations will not cease in event of f...
31.368421
92
0.645134
ff0eb69c30a8a6f4709fc45284fd5ca4246cf5eb
484
exs
Elixir
config/test.exs
CaseyKelly/PhoenixAuthAPI
d3795f9dbc94efbd3aa869a6c4960add1a68e05f
[ "Apache-2.0" ]
null
null
null
config/test.exs
CaseyKelly/PhoenixAuthAPI
d3795f9dbc94efbd3aa869a6c4960add1a68e05f
[ "Apache-2.0" ]
null
null
null
config/test.exs
CaseyKelly/PhoenixAuthAPI
d3795f9dbc94efbd3aa869a6c4960add1a68e05f
[ "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 :my_app, MyApp.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :my_app, MyApp.Repo, ada...
24.2
56
0.729339
ff0eb9fcef4ef32a8d64f4e4042732ff0d63e7cb
405
exs
Elixir
config/dogma.exs
craigp/elixir-infobip
6f965319e9312ee03128cacc586fa505c917ea06
[ "MIT" ]
3
2016-07-26T22:33:31.000Z
2020-01-14T23:31:42.000Z
config/dogma.exs
craigp/elixir-infobip
6f965319e9312ee03128cacc586fa505c917ea06
[ "MIT" ]
null
null
null
config/dogma.exs
craigp/elixir-infobip
6f965319e9312ee03128cacc586fa505c917ea06
[ "MIT" ]
1
2017-05-15T22:05:43.000Z
2017-05-15T22:05:43.000Z
use Mix.Config alias Dogma.Rule config :dogma, # Select a set of rules as a base rule_set: Dogma.RuleSet.All, # # Pick paths not to lint # exclude: [ # ~r(\Alib/vendor/), # ], # Override an existing rule configuration override: [ %Rule.LineLength{enabled: false}, # %Rule.PipelineStart{enabled: false}, %Rule...
18.409091
45
0.711111
ff0edeeca8fefa9be3c46408dba7337cd2ccbacb
4,594
ex
Elixir
lib/membrane/core/element/playback_buffer.ex
mkaput/membrane-core
f65ae3d847f2c10f3ab20d0c7aa75b0faa274ec7
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/element/playback_buffer.ex
mkaput/membrane-core
f65ae3d847f2c10f3ab20d0c7aa75b0faa274ec7
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/element/playback_buffer.ex
mkaput/membrane-core
f65ae3d847f2c10f3ab20d0c7aa75b0faa274ec7
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Core.Element.PlaybackBuffer do @moduledoc false # Buffer for storing messages that cannot be handled in current playback state. # Allows to avoid race conditions when one element changes playback state # before another does. alias Membrane.{Buffer, Core, Event} alias Core.Playback ali...
26.102273
96
0.609491
ff0f0dd1a00511194c24b4545a60a9b0e7d5abc7
94
exs
Elixir
config/config.exs
denvaar/esbuild
e2d01c87ecd60d02ab8151dcbd51a24a13495f21
[ "MIT" ]
null
null
null
config/config.exs
denvaar/esbuild
e2d01c87ecd60d02ab8151dcbd51a24a13495f21
[ "MIT" ]
null
null
null
config/config.exs
denvaar/esbuild
e2d01c87ecd60d02ab8151dcbd51a24a13495f21
[ "MIT" ]
null
null
null
import Config config :esbuild, version: "0.13.4", another: [ args: ["--version"] ]
11.75
23
0.574468
ff0f1bea76dc7540d76579d836edffd2c803d419
2,720
exs
Elixir
test/my_app/clrt_manager_test.exs
normanpatrick/elixir-python-task-api
84a12eff26ddf98a29526630e4ce9fa1076545cb
[ "MIT" ]
null
null
null
test/my_app/clrt_manager_test.exs
normanpatrick/elixir-python-task-api
84a12eff26ddf98a29526630e4ce9fa1076545cb
[ "MIT" ]
null
null
null
test/my_app/clrt_manager_test.exs
normanpatrick/elixir-python-task-api
84a12eff26ddf98a29526630e4ce9fa1076545cb
[ "MIT" ]
null
null
null
defmodule MyApp.CLRTManagerTest do use MyApp.DataCase alias MyApp.CLRTManager describe "slrtasks" do alias MyApp.CLRTManager.SLRTask @valid_attrs %{description: "some description", is_active: true, name: "some name", status: "some status"} @u...
34.871795
96
0.653676
ff0f27ba19f5facb1886c4a37e89de6f139992e2
696
ex
Elixir
lib/ofh_web/gettext.ex
gnucifer/open-food-hub
24632b6e8a01253c716db976d78a313746d5e38f
[ "BSD-3-Clause" ]
null
null
null
lib/ofh_web/gettext.ex
gnucifer/open-food-hub
24632b6e8a01253c716db976d78a313746d5e38f
[ "BSD-3-Clause" ]
null
null
null
lib/ofh_web/gettext.ex
gnucifer/open-food-hub
24632b6e8a01253c716db976d78a313746d5e38f
[ "BSD-3-Clause" ]
null
null
null
defmodule OfhWeb.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 OfhWeb.Gettext # Simple translation gettext "Here is the strin...
27.84
72
0.675287
ff0f41b741495f951ed3dde313d35d137f250750
4,630
ex
Elixir
clients/container/lib/google_api/container/v1/request_builder.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/request_builder.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/request_builder.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...
28.757764
137
0.669546
ff0f6e19349dc145bbf2fc5ae4e07b4f1e041a37
1,005
ex
Elixir
lib/typetalk/client_credential.ex
takuji/typetalk-elixir
202ec4968733f630d46ec15e5879caa1bb65d0ae
[ "MIT" ]
3
2017-04-14T00:59:55.000Z
2017-04-14T01:06:33.000Z
lib/typetalk/client_credential.ex
takuji/typetalk-elixir
202ec4968733f630d46ec15e5879caa1bb65d0ae
[ "MIT" ]
null
null
null
lib/typetalk/client_credential.ex
takuji/typetalk-elixir
202ec4968733f630d46ec15e5879caa1bb65d0ae
[ "MIT" ]
null
null
null
defmodule Typetalk.ClientCredential do @moduledoc """ Function to get an access token using a client credential. You use this module when you are the only user of Typetalk API. """ @default_scope "my,topic.read,topi.post" @doc """ Returns an access token and related information. ## Example {...
38.653846
114
0.636816
ff0f889f36cd8c454e058d5302850d03a60d1137
376
ex
Elixir
elixir/lib/homework/shiren/prices.ex
ceejaay/web-homework
e5844609b62bdfa79a9b5b8f302c0d7ba81dc75d
[ "MIT" ]
null
null
null
elixir/lib/homework/shiren/prices.ex
ceejaay/web-homework
e5844609b62bdfa79a9b5b8f302c0d7ba81dc75d
[ "MIT" ]
null
null
null
elixir/lib/homework/shiren/prices.ex
ceejaay/web-homework
e5844609b62bdfa79a9b5b8f302c0d7ba81dc75d
[ "MIT" ]
null
null
null
defmodule Homework.Shiren.Prices do use Ecto.Schema import Ecto.Changeset schema "price" do field :amount, :integer field :category, :string field :type, :string timestamps() end @doc false def changeset(prices, attrs) do prices |> cast(attrs, [:category, :amount, :type]) |> v...
18.8
53
0.659574
ff0f8994f475bdfe50fb17c159a556328971aa14
203
exs
Elixir
test/platform/video/video_helper_test.exs
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
17
2017-11-14T14:03:18.000Z
2021-12-10T04:18:48.000Z
test/platform/video/video_helper_test.exs
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
21
2017-11-19T13:38:07.000Z
2022-02-10T00:11:14.000Z
test/platform/video/video_helper_test.exs
lucab85/audioslides.io
cb502ccf6ed0b2db42d9fb20bb4c963bcca3cfa9
[ "MIT" ]
2
2019-09-03T03:32:13.000Z
2021-02-23T21:52:57.000Z
defmodule Platform.VideoHelperTest do use PlatformWeb.ConnCase import Platform.VideoHelper alias Platform.Core.Schema.Slide alias Platform.Core.Schema.Lesson doctest Platform.VideoHelper end
20.3
37
0.82266
ff0f8cae374f1b1701407746bdf06b424e6f71bd
2,213
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/suggestion_cluster_proto.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/suggestion_cluster_proto.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/suggestion_cluster_proto.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.824561
183
0.753728
ff0f96a1d4bd42d69fdfc9b374605c25b3783b6d
780
ex
Elixir
Microsoft.Azure.Management.Database.CosmosDb/lib/microsoft/azure/management/database/cosmos_db/model/metric_value.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Database.CosmosDb/lib/microsoft/azure/management/database/cosmos_db/model/metric_value.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Database.CosmosDb/lib/microsoft/azure/management/database/cosmos_db/model/metric_value.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Microsoft.Azure.Management.Database.CosmosDb.Model.MetricValue do @moduledoc """ Represents metrics values. """ @derive [Poison.Encoder] ...
21.666667
94
0.644872
ff0fa566de5129fdb79b77e6696638e90d3ace47
2,001
ex
Elixir
exercises/mutex/mut.ex
Murre3/ID1019
8240d07be35843610c6c14a40bcb3ed21b3ea36f
[ "MIT" ]
null
null
null
exercises/mutex/mut.ex
Murre3/ID1019
8240d07be35843610c6c14a40bcb3ed21b3ea36f
[ "MIT" ]
null
null
null
exercises/mutex/mut.ex
Murre3/ID1019
8240d07be35843610c6c14a40bcb3ed21b3ea36f
[ "MIT" ]
null
null
null
defmodule Mutex do # Peterson's algorithm @type state() :: boolean() | id() @type id() :: 1..2 def test do c1 = spawn_link(fn -> cell(false) end) c2 = spawn_link(fn -> cell(false) end) q = spawn_link(fn -> cell(0) end) p1 = spawn(fn -> lock(0, c1, c2, q, self()) end) p2 = spawn(fn -> loc...
20.628866
76
0.502749
ff0fa7d435174e1c5eeaaca7a27e1ccce9046f9c
2,089
ex
Elixir
lib/ueberauth/strategy/strava/oauth.ex
syamilmj/ueberauth_strava
6e3106c8ccf4a79db6dc7cfe88c017c4bda401ec
[ "MIT" ]
8
2016-06-01T01:21:24.000Z
2021-06-04T11:37:57.000Z
lib/ueberauth/strategy/strava/oauth.ex
syamilmj/ueberauth_strava
6e3106c8ccf4a79db6dc7cfe88c017c4bda401ec
[ "MIT" ]
6
2017-01-13T06:25:15.000Z
2020-07-02T22:24:30.000Z
lib/ueberauth/strategy/strava/oauth.ex
syamilmj/ueberauth_strava
6e3106c8ccf4a79db6dc7cfe88c017c4bda401ec
[ "MIT" ]
9
2017-01-13T06:07:05.000Z
2021-07-19T17:27:33.000Z
defmodule Ueberauth.Strategy.Strava.OAuth do @moduledoc """ OAuth2 for Strava. Add `client_id` and `client_secret` to your configuration: config :ueberauth, Ueberauth.Strategy.Strava.OAuth, client_id: System.get_env("Strava_APP_ID"), client_secret: System.get_env("Strava_APP_SECRET") """ use OAuth...
26.443038
77
0.68023
ff0fc8a1f86a42d070d8f2050bc0be943d319d89
2,099
ex
Elixir
clients/source_repo/lib/google_api/source_repo/v1/model/mirror_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/source_repo/lib/google_api/source_repo/v1/model/mirror_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/source_repo/lib/google_api/source_repo/v1/model/mirror_config.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.603774
278
0.734636
ff0ffceff4ca56773ddd0e505f2f830b549c39f6
284
exs
Elixir
priv/repo/migrations/20180729143035_add_sort_title_to_parent_sources_and_sources.exs
allen-garvey/block-quote-phoenix
5c0f5d16daf6bb515a8f1846c3e4311b368a7bdb
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/blockquote/priv/repo/migrations/20180729143035_add_sort_title_to_parent_sources_and_sources.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/blockquote/priv/repo/migrations/20180729143035_add_sort_title_to_parent_sources_and_sources.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
null
null
null
defmodule Blockquote.Repo.Migrations.AddSortTitleToParentSources do use Ecto.Migration def change do alter table(:parent_sources) do add :sort_title, :string, null: false end alter table(:sources) do add :sort_title, :string, null: false end end end
21.846154
67
0.711268
ff1030915d41a6e5e44cf825e209922f4e6dec1f
1,373
exs
Elixir
apps/site/test/site_web/plugs/remote_ip_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/remote_ip_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/remote_ip_test.exs
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule SiteWeb.Plugs.RemoteIpTest do use SiteWeb.ConnCase, async: true setup %{conn: conn} do %{conn: %{conn | remote_ip: {127, 0, 0, 1}}} end describe "call/2" do test "sets remote_ip when an IP address is in X-Forwarded-For header", %{conn: conn} do conn = conn |> Plug.Conn....
26.921569
91
0.600146
ff104fee27da001df33af07b75a5d41d51a71fea
2,390
ex
Elixir
lib/tentacat/repositories/branches.ex
wesleimp/tentacat
6e4de63dd19ae719f2b59d4f289979a91e3cb5e2
[ "MIT" ]
null
null
null
lib/tentacat/repositories/branches.ex
wesleimp/tentacat
6e4de63dd19ae719f2b59d4f289979a91e3cb5e2
[ "MIT" ]
null
null
null
lib/tentacat/repositories/branches.ex
wesleimp/tentacat
6e4de63dd19ae719f2b59d4f289979a91e3cb5e2
[ "MIT" ]
null
null
null
defmodule Tentacat.Repositories.Branches do import Tentacat alias Tentacat.Client @doc """ List Branches ## Example Tentacat.Repositories.Branches.list "elixir-lang", "elixir" Tentacat.Repositories.Branches.list client, "elixir-lang", "elixir" More info at: https://developer.github.com/v3/re...
28.795181
103
0.593724
ff10aee6810d5fe97ee9ead34f6bbe5e2f947ba1
884
ex
Elixir
apps/legion/lib/identity/auth/insecure/blacklist/entry.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
1
2021-01-04T11:06:12.000Z
2021-01-04T11:06:12.000Z
apps/legion/lib/identity/auth/insecure/blacklist/entry.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
3
2021-01-30T06:40:37.000Z
2021-01-30T06:41:08.000Z
apps/legion/lib/identity/auth/insecure/blacklist/entry.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
null
null
null
defmodule Legion.Identity.Auth.Insecure.Blacklist.Entry do @moduledoc """ Represents a password blacklisting entry. ## Schema fields - `:authority_id`: The identifier of the authority added the entry. *Nullable*. Entries containing this attribute are known to be generated at runtime. - `:hash`: The hash oug...
30.482759
153
0.720588
ff10da3726b26a71014885887d9707aab26dfdca
1,535
ex
Elixir
clients/domains/lib/google_api/domains/v1/model/test_iam_permissions_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/domains/lib/google_api/domains/v1/model/test_iam_permissions_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/domains/lib/google_api/domains/v1/model/test_iam_permissions_response.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...
32.659574
143
0.745928
ff10dcd446da1211978032d88c02e04f6a6d369e
276
ex
Elixir
lib/nsq/json.ex
blueshift-labs/elixir_nsq
35711fc5f4091f7f1983ffde7ba4f73259c75848
[ "MIT" ]
null
null
null
lib/nsq/json.ex
blueshift-labs/elixir_nsq
35711fc5f4091f7f1983ffde7ba4f73259c75848
[ "MIT" ]
null
null
null
lib/nsq/json.ex
blueshift-labs/elixir_nsq
35711fc5f4091f7f1983ffde7ba4f73259c75848
[ "MIT" ]
null
null
null
defmodule NSQ.Json do @moduledoc "Behaviour for json encoding and decoding" @callback encode!(any(), list()) :: String.t() | no_return @callback decode(iodata, list()) :: {:ok, String.t(), {:error, any()}} @callback decode!(iodata(), list()) :: any() | no_return end
34.5
72
0.648551
ff111b5ac150a9735e2c165a20746094a6147a27
506
ex
Elixir
lib/app_api_web/v1/serializers/json/conversation_message_serializer.ex
turbo-play/phoenix-services
9d3318c6b5d5ce6dead441758fc86ec34892b0f6
[ "Apache-2.0" ]
2
2018-07-05T15:13:12.000Z
2021-12-16T08:58:56.000Z
lib/app_api_web/v1/serializers/json/conversation_message_serializer.ex
turbo-play/phoenix-services
9d3318c6b5d5ce6dead441758fc86ec34892b0f6
[ "Apache-2.0" ]
null
null
null
lib/app_api_web/v1/serializers/json/conversation_message_serializer.ex
turbo-play/phoenix-services
9d3318c6b5d5ce6dead441758fc86ec34892b0f6
[ "Apache-2.0" ]
2
2018-08-13T21:37:00.000Z
2021-11-10T04:08:26.000Z
defmodule AppApiWeb.V1.JSON.ConversationMessageSerializer do alias AppApi.ConversationMessage, as: CM alias AppApiWeb.V1.JSON.UserSerializer alias AppApi.Convert @moduledoc """ Serializes data into V1 JSON response format. """ use AppApiWeb.V1 def serialize(%CM{} = c) when not is_nil(c) do %{ ...
21.083333
60
0.675889
ff11274537f2daf2c36c6823782a631acaf6c71d
511
ex
Elixir
web/lib/infolab_light_games_web/views/error_view.ex
simmsb/infolab-lights
1cd685029c50cde0de84176efd65fb0cabc6c820
[ "MIT" ]
5
2021-11-04T08:31:46.000Z
2021-11-07T12:15:57.000Z
web/lib/infolab_light_games_web/views/error_view.ex
simmsb/infolab-lights
1cd685029c50cde0de84176efd65fb0cabc6c820
[ "MIT" ]
47
2020-08-03T09:30:46.000Z
2021-03-01T08:18:51.000Z
web/lib/infolab_light_games_web/views/error_view.ex
nitros12/something-secret
1cd685029c50cde0de84176efd65fb0cabc6c820
[ "MIT" ]
2
2021-11-04T10:46:41.000Z
2022-02-22T18:05:44.000Z
defmodule InfolabLightGamesWeb.ErrorView do use InfolabLightGamesWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from ...
30.058824
61
0.745597
ff11383357b2bd3c3b74f32d6572fe9dc7d77731
1,063
ex
Elixir
apps/nightcrawler_web/test/support/conn_case.ex
ZucchiniZe/nightcrawler_elixir
be82b0e7c25f55c7d2c2d3aa2860371cb68aeeb6
[ "MIT" ]
null
null
null
apps/nightcrawler_web/test/support/conn_case.ex
ZucchiniZe/nightcrawler_elixir
be82b0e7c25f55c7d2c2d3aa2860371cb68aeeb6
[ "MIT" ]
null
null
null
apps/nightcrawler_web/test/support/conn_case.ex
ZucchiniZe/nightcrawler_elixir
be82b0e7c25f55c7d2c2d3aa2860371cb68aeeb6
[ "MIT" ]
null
null
null
defmodule NightcrawlerWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, i...
27.25641
74
0.726246
ff118151a3b6d66365f9a3d8dc2802059894ee1f
348
exs
Elixir
installer/templates/phx_umbrella/apps/app_name/config/config.exs
mirego/phoenix
5871888b77b9d34f9a4a33a3644b87f91c8b30ed
[ "MIT" ]
1
2018-07-26T10:42:26.000Z
2018-07-26T10:42:26.000Z
installer/templates/phx_umbrella/apps/app_name/config/config.exs
mirego/phoenix
5871888b77b9d34f9a4a33a3644b87f91c8b30ed
[ "MIT" ]
null
null
null
installer/templates/phx_umbrella/apps/app_name/config/config.exs
mirego/phoenix
5871888b77b9d34f9a4a33a3644b87f91c8b30ed
[ "MIT" ]
null
null
null
# Since configuration is shared in umbrella projects, this file # should only configure the :<%= app_name %> application itself # and only for organization purposes. All other config goes to # the umbrella root. use Mix.Config <%= if ecto do %>config :<%= app_name %>, ecto_repos: [<%= app_module %>.Repo]<% end %> imp...
34.8
87
0.70977
ff11b13b90d8ff9c18323fd7132d54b646b5d8df
9,910
exs
Elixir
lib/elixir/test/elixir/code_normalizer/formatted_ast_test.exs
koudelka/elixir
e0c60c68a00d0ed9cdbfcb8c9c16f9ef9cd09222
[ "Apache-2.0" ]
2
2021-11-10T01:18:41.000Z
2021-11-10T01:35:54.000Z
lib/elixir/test/elixir/code_normalizer/formatted_ast_test.exs
koudelka/elixir
e0c60c68a00d0ed9cdbfcb8c9c16f9ef9cd09222
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/code_normalizer/formatted_ast_test.exs
koudelka/elixir
e0c60c68a00d0ed9cdbfcb8c9c16f9ef9cd09222
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Code.Normalizer.FormatterASTTest do use ExUnit.Case, async: true defmacro assert_same(good, opts \\ []) do quote bind_quoted: [good: good, opts: opts], location: :keep do assert IO.iodata_to_binary(Code.format_string!(good, opts)) == ...
18.117002
83
0.496468
ff11cc8093fda668b99fab135190e56d4ab50807
61
ex
Elixir
web/views/page_view.ex
mfunaro/handiman-phoenix
5d94114f37561647096f1695e3f0a3a3d1c7ca34
[ "MIT", "Unlicense" ]
1
2015-08-15T02:40:27.000Z
2015-08-15T02:40:27.000Z
web/views/page_view.ex
mfunaro/handiman-phoenix
5d94114f37561647096f1695e3f0a3a3d1c7ca34
[ "MIT", "Unlicense" ]
1
2015-09-11T00:02:33.000Z
2015-09-11T03:24:21.000Z
web/views/page_view.ex
mfunaro/handiman-phoenix
5d94114f37561647096f1695e3f0a3a3d1c7ca34
[ "MIT", "Unlicense" ]
null
null
null
defmodule Handiman.PageView do use Handiman.Web, :view end
15.25
30
0.786885
ff11e6e6b5a6e746e24ccafc055e414e2a87dbcd
74
exs
Elixir
test/test_helper.exs
necosta/raspberry-pi-x
478f49de74b03d4a652c35ef185735ca0f2f6878
[ "MIT" ]
null
null
null
test/test_helper.exs
necosta/raspberry-pi-x
478f49de74b03d4a652c35ef185735ca0f2f6878
[ "MIT" ]
null
null
null
test/test_helper.exs
necosta/raspberry-pi-x
478f49de74b03d4a652c35ef185735ca0f2f6878
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(RaspberryPi.Repo, :manual)
18.5
57
0.783784
ff11e99aaf57161024e1fc76a5477c2608ee889f
1,101
ex
Elixir
lib/ddstest.ex
b5g-ex/bdds
049677b7e02df7d8c084de716698bdc72a840e0d
[ "Apache-2.0" ]
null
null
null
lib/ddstest.ex
b5g-ex/bdds
049677b7e02df7d8c084de716698bdc72a840e0d
[ "Apache-2.0" ]
1
2022-02-19T12:14:55.000Z
2022-02-27T04:23:37.000Z
lib/ddstest.ex
b5g-ex/bdds
049677b7e02df7d8c084de716698bdc72a840e0d
[ "Apache-2.0" ]
null
null
null
defmodule Ddstest do @moduledoc """ Documentation for `Ddstest`. """ # defstruct handle: nil @doc """ Hello world. ## Examples iex> Ddstest.hello() :world """ def hello do :world end def create_publisher() do Ddstest.ddstest_create_publisher() end def create_subscrib...
20.773585
95
0.701181
ff12018c43d8548b50b69169dab9356fdf734f38
1,116
ex
Elixir
lib/koans/20_comprehensions.ex
bernardini687/elixir-koans
db9f15c4bb3237eab509e9bb1a53b3550609875c
[ "MIT" ]
1
2020-11-23T17:01:37.000Z
2020-11-23T17:01:37.000Z
lib/koans/20_comprehensions.ex
bernardini687/elixir-koans
db9f15c4bb3237eab509e9bb1a53b3550609875c
[ "MIT" ]
null
null
null
lib/koans/20_comprehensions.ex
bernardini687/elixir-koans
db9f15c4bb3237eab509e9bb1a53b3550609875c
[ "MIT" ]
null
null
null
defmodule Comprehensions do use Koans @intro "A comprehension is made of three parts: generators, filters, and collectibles. We will look at how these interact with eachother" koan "The generator, `n <- [1, 2, 3, 4]`, is providing the values for our comprehension" do assert (for n <- [1, 2, 3, 4], do: n * n...
32.823529
139
0.612007
ff121b9d1227ea60fa21f3a59986c1118f9afb24
1,577
ex
Elixir
lib/habex_web.ex
richardpanda/habex
ba7869f11d8c736db3cbedfb326c754a2d79bec8
[ "MIT" ]
null
null
null
lib/habex_web.ex
richardpanda/habex
ba7869f11d8c736db3cbedfb326c754a2d79bec8
[ "MIT" ]
null
null
null
lib/habex_web.ex
richardpanda/habex
ba7869f11d8c736db3cbedfb326c754a2d79bec8
[ "MIT" ]
null
null
null
defmodule HabexWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use HabexWeb, :controller use HabexWeb, :view The definitions below will be executed for every view, controller, etc, s...
23.191176
69
0.681674
ff12334c22be3a3d3016e05c2daa69a01c2665f8
1,456
exs
Elixir
test/ex_check/project_cases/application_mod_test.exs
gerbal/ex_check
1247075a64d17f69c3e6e9699bd95664cc128466
[ "MIT" ]
225
2019-07-21T14:44:17.000Z
2022-03-31T11:08:07.000Z
test/ex_check/project_cases/application_mod_test.exs
gerbal/ex_check
1247075a64d17f69c3e6e9699bd95664cc128466
[ "MIT" ]
23
2019-07-30T03:05:42.000Z
2022-03-06T18:11:50.000Z
test/ex_check/project_cases/application_mod_test.exs
gerbal/ex_check
1247075a64d17f69c3e6e9699bd95664cc128466
[ "MIT" ]
9
2019-11-23T23:04:39.000Z
2022-03-29T00:54:34.000Z
defmodule ExCheck.ProjectCases.ApplicationModTest do use ExCheck.ProjectCase, async: true @application """ defmodule TestProject.Application do use Application def start(_type, _args) do children = [] opts = [strategy: :one_for_one, name: ExCheck.Supervisor] if Mix.env() == :test do ...
26
92
0.686126
ff128003f16734537f92b4818e403de4aa5bfe95
1,320
exs
Elixir
test/telemetry_filter_test.exs
akoutmos/plug_telemetry_filter
98533b1185254a78124826313b83fa7fdde30ede
[ "MIT" ]
2
2019-12-25T21:26:07.000Z
2019-12-26T01:42:02.000Z
test/telemetry_filter_test.exs
akoutmos/telemetry_filter
98533b1185254a78124826313b83fa7fdde30ede
[ "MIT" ]
null
null
null
test/telemetry_filter_test.exs
akoutmos/telemetry_filter
98533b1185254a78124826313b83fa7fdde30ede
[ "MIT" ]
null
null
null
defmodule TelemetryFilterTest do use ExUnit.Case alias Plug.Conn describe "TelemetryFilter" do test "should attach before_send callback for Plug.Telemetry for non filtered routes" do conn = %Conn{request_path: "/users/12345"} filter_plug_opts = TelemetryFilter.init(filter_endpoints: ["/...
37.714286
108
0.716667
ff128c8d0ac5e3eb04b767877823ad5c0743daa0
4,419
exs
Elixir
lib/elixir/test/elixir/kernel/tracers_test.exs
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/tracers_test.exs
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/tracers_test.exs
felipelincoln/elixir
6724c1d1819f2926dac561980b4beab281bbd3c2
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Kernel.TracersTest do use ExUnit.Case import Code, only: [compile_string: 1] def trace(event, %Macro.Env{} = env) do send(self(), {event, env}) :ok end setup_all do Code.put_compiler_option(:tracers, [__MODULE__]) Code.put_compiler...
23.886486
89
0.603078
ff129b10e4acd5761f9840c302f97f622319c36e
27,432
exs
Elixir
test/hexpm_web/controllers/dashboard/organization_controller_test.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
691
2017-03-08T09:15:45.000Z
2022-03-23T22:04:47.000Z
test/hexpm_web/controllers/dashboard/organization_controller_test.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
491
2017-03-07T12:58:42.000Z
2022-03-29T23:32:54.000Z
test/hexpm_web/controllers/dashboard/organization_controller_test.exs
Benjamin-Philip/hexpm
6f38244f81bbabd234c660f46ea973849ba77a7f
[ "Apache-2.0" ]
200
2017-03-12T23:03:39.000Z
2022-03-05T17:55:52.000Z
defmodule HexpmWeb.Dashboard.OrganizationControllerTest do use HexpmWeb.ConnCase, async: true use Bamboo.Test alias Hexpm.Accounts.{Organizations, Users, AuditLogs} defp add_email(user, email) do {:ok, user} = Users.add_email(user, %{email: email}, audit: audit_data(user)) user end defp mock_cust...
32.971154
100
0.620917
ff129dd030449dfef79d47adc936f57d807b1871
10,418
ex
Elixir
lib/currency.ex
jessejanderson/monetized
b48b7aeea9535a0bec3b6804124d0ee963265d51
[ "MIT" ]
null
null
null
lib/currency.ex
jessejanderson/monetized
b48b7aeea9535a0bec3b6804124d0ee963265d51
[ "MIT" ]
null
null
null
lib/currency.ex
jessejanderson/monetized
b48b7aeea9535a0bec3b6804124d0ee963265d51
[ "MIT" ]
null
null
null
defmodule Monetized.Currency do @currencies [ %{key: "ARS", name: "Argentinian Peso", symbol: "A$", type: "Fiat"}, %{key: "CAD", name: "Canadian Dollar", symbol: "C$", type: "Fiat"}, %{key: "EUR", name: "Euro", symbol: "€", type: "Fiat"}, %{key: "GBP", name: "Pound Sterling", symbol: "£", type: "Fiat"...
37.207143
94
0.550106
ff12be9b7849e0ea6ff104ae50a39c99fb444ec6
1,347
exs
Elixir
template/$PROJECT_NAME$/apps/$PROJECT_NAME$_web/test/$PROJECT_NAME$_web/controllers/accounts/forgot_password_controller_test.exs
fadeojo/mithril
d84ff2d42f895c27c46c0feb09b70ccbac5827ac
[ "MIT" ]
54
2018-01-24T00:22:57.000Z
2019-01-15T20:03:52.000Z
template/$PROJECT_NAME$/apps/$PROJECT_NAME$_web/test/$PROJECT_NAME$_web/controllers/accounts/forgot_password_controller_test.exs
infinitered/mithril
0bbad29f86c63d9a827dcaaf6fed78a176ab90d7
[ "MIT" ]
3
2018-02-05T18:00:39.000Z
2018-05-04T00:05:20.000Z
template/$PROJECT_NAME$/apps/$PROJECT_NAME$_web/test/$PROJECT_NAME$_web/controllers/accounts/forgot_password_controller_test.exs
fadeojo/mithril
d84ff2d42f895c27c46c0feb09b70ccbac5827ac
[ "MIT" ]
3
2019-07-12T11:16:42.000Z
2020-06-08T15:03:36.000Z
defmodule <%= @project_name_camel_case %>Web.Accounts.ForgotPasswordControllerTest do use <%= @project_name_camel_case %>Web.ConnCase alias <%= @project_name_camel_case %>.Accounts describe ".new/2" do test "renders a form to reset password", %{conn: conn} do response = conn |> get(Ro...
30.613636
88
0.631774
ff12c56a72f48abe8620f5600c5e6210e0d7fcf5
5,072
exs
Elixir
test/integration/macro/function_test.exs
fcapovilla/fake_server
68ee414ed421127f5aaca19c104b7ba01c12d716
[ "Apache-2.0" ]
null
null
null
test/integration/macro/function_test.exs
fcapovilla/fake_server
68ee414ed421127f5aaca19c104b7ba01c12d716
[ "Apache-2.0" ]
null
null
null
test/integration/macro/function_test.exs
fcapovilla/fake_server
68ee414ed421127f5aaca19c104b7ba01c12d716
[ "Apache-2.0" ]
null
null
null
defmodule FakeServer.Integration.FunctionTest do use ExUnit.Case, async: false import FakeServer alias FakeServer.Request alias FakeServer.Response describe "when using functions as response" do test_with_server "raises FakeServer.Error if the function arity is not 1" do assert_raise FakeServer.Er...
44.491228
127
0.660095
ff12c8b70a6bffe9c806965eb8eac2dcde057b55
7,316
ex
Elixir
lib/coap/socket_server.ex
OffgridElectric/coap_ex
7d83f8a7fbf26e6e7f2baa8aa10d0f7c457365b6
[ "MIT" ]
16
2019-02-23T10:04:26.000Z
2022-03-14T03:12:45.000Z
lib/coap/socket_server.ex
tpitale/coap_ex
28b62274336742b41e3426b73294a0e74e6a5b67
[ "MIT" ]
51
2019-05-06T15:34:58.000Z
2021-01-21T14:32:32.000Z
lib/coap/socket_server.ex
OffgridElectric/coap_ex
7d83f8a7fbf26e6e7f2baa8aa10d0f7c457365b6
[ "MIT" ]
3
2020-06-12T11:47:09.000Z
2020-12-08T14:59:36.000Z
defmodule CoAP.SocketServer do @moduledoc """ CoAP.SocketServer holds a reference to a server, or is held by a client. It contains the UDP port either listening (for a server) or used by a client. When a new UDP packet is received, the socket_server attempts to look up an existing connection, or esta...
30.106996
97
0.637233
ff12eb6ec42c4eb03c8cbdb4b16a56782eaaecc7
780
ex
Elixir
lib/real_world/accounts/user.ex
codefordenver/new-code-for-denver-site
af6cc232c898a197601b4d37e0cd217d0503fd9b
[ "MIT" ]
1
2019-09-28T05:50:46.000Z
2019-09-28T05:50:46.000Z
lib/real_world/accounts/user.ex
codefordenver/new-code-for-denver-site
af6cc232c898a197601b4d37e0cd217d0503fd9b
[ "MIT" ]
null
null
null
lib/real_world/accounts/user.ex
codefordenver/new-code-for-denver-site
af6cc232c898a197601b4d37e0cd217d0503fd9b
[ "MIT" ]
null
null
null
defmodule RealWorld.Accounts.User do @moduledoc """ The User model. """ use Ecto.Schema import Ecto.Changeset @required_fields ~w(email username password)a @optional_fields ~w(bio image)a schema "users" do field :email, :string, unique: true field :password, :string field :username, :stri...
22.941176
64
0.7
ff1329b60084267b774b9c489f83e402ea5400aa
22,060
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/region_backend_services.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_backend_services.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/region_backend_services.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...
62.670455
1,327
0.720172
ff132eb62c02fbbb83972a05759f61f953acbc78
1,789
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/list_operations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/list_operations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/list_operations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.78
167
0.737283
ff133a1ad032c49231b7375103db5d0db7fdc321
8,680
exs
Elixir
test/pow/ecto/context_test.exs
crooke/pow
34ef1282260f2765b0b3df14485771b5e9c2094b
[ "MIT" ]
null
null
null
test/pow/ecto/context_test.exs
crooke/pow
34ef1282260f2765b0b3df14485771b5e9c2094b
[ "MIT" ]
null
null
null
test/pow/ecto/context_test.exs
crooke/pow
34ef1282260f2765b0b3df14485771b5e9c2094b
[ "MIT" ]
null
null
null
defmodule Pow.Ecto.ContextTest do use Pow.Test.Ecto.TestCase doctest Pow.Ecto.Context defmodule TimingAttackUser do @moduledoc false use Ecto.Schema use Pow.Ecto.Schema, password_hash_methods: {&__MODULE__.send_hash_password/1, &__MODULE__.send_verify_password/2} alias Pow.Ecto.Schema.Password ...
35.867769
133
0.665438
ff135d8981b1c13c4a4f988fe339a8e8aa36e274
1,556
ex
Elixir
larc_website/test/support/data_case.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
null
null
null
larc_website/test/support/data_case.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
null
null
null
larc_website/test/support/data_case.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
1
2020-05-22T19:21:24.000Z
2020-05-22T19:21:24.000Z
defmodule LarcWebsite.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done ...
27.785714
77
0.693445
ff136437d273da822028ad6b3fb5ccaf10fd61ea
1,390
ex
Elixir
apps/bytepack/lib/bytepack/packages/package.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
313
2020-12-03T17:26:24.000Z
2022-03-18T09:05:14.000Z
apps/bytepack/lib/bytepack/packages/package.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
null
null
null
apps/bytepack/lib/bytepack/packages/package.ex
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
57
2020-12-03T17:41:53.000Z
2022-03-17T17:28:16.000Z
defmodule Bytepack.Packages.Package do use Bytepack.Schema import Ecto.Changeset @types ~w(hex npm) schema "packages" do field :name, :string field :type, :string field :description, :string field :external_doc_url, :string field :org_id, :id has_many :releases, Bytepack.Packages.Rele...
24.821429
89
0.66259
ff1365b9a5e4ed199bbc478affadab3c241fd957
1,528
exs
Elixir
mix.exs
brownt23/imgproxy
23d541286ac0b3e80a38915a72dcafc1ef1f71ca
[ "MIT" ]
10
2019-12-08T22:06:10.000Z
2022-03-09T14:40:07.000Z
mix.exs
brownt23/imgproxy
23d541286ac0b3e80a38915a72dcafc1ef1f71ca
[ "MIT" ]
3
2021-09-25T14:20:57.000Z
2022-01-17T15:11:34.000Z
mix.exs
brownt23/imgproxy
23d541286ac0b3e80a38915a72dcafc1ef1f71ca
[ "MIT" ]
5
2020-05-23T17:15:28.000Z
2022-01-17T09:10:54.000Z
defmodule ImgProxy.MixProject do use Mix.Project @source_url "https://github.com/bmuller/imgproxy" @version "3.0.0" def project do [ app: :imgproxy, aliases: aliases(), version: @version, elixir: "~> 1.8", start_permanent: Mix.env() == :prod, description: "imgproxy URL ...
20.648649
68
0.524215
ff13705b7384775c064dd764415bbb00ddb04b9a
5,411
ex
Elixir
lib/logger/lib/logger/error_handler.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/logger/lib/logger/error_handler.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/logger/lib/logger/error_handler.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
defmodule Logger.ErrorHandler do @moduledoc false @behaviour :gen_event require Logger def init({otp?, sasl?, threshold}) do # We store the Logger PID in the state because when we are shutting # down the Logger application, the Logger process may be terminated # and then trying to reach it will l...
30.570621
95
0.630567
ff139ab7268cd661cd2e7e1642093d19e1fdf6df
1,436
exs
Elixir
apps/omg_watcher_rpc/mix.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/mix.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher_rpc/mix.exs
boolafish/elixir-omg
46b568404972f6e4b4da3195d42d4fb622edb934
[ "Apache-2.0" ]
null
null
null
defmodule OMG.WatcherRPC.Mixfile do use Mix.Project def project() do [ app: :omg_watcher_rpc, version: "#{String.trim(File.read!("../../VERSION"))}", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", ...
27.615385
63
0.559889
ff13c622b4f66697243d02d2b8927974c8b7808e
1,653
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/header.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/header.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/header.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...
31.788462
125
0.715064
ff13cc0b0e15495540706800ec19635cf5cb1290
493
ex
Elixir
currency/lib/currency_web/views/error_view.ex
ziminyuri/currency_exchange
3d65d466a519816f606b16bb2f304db65105ca9a
[ "Apache-2.0" ]
null
null
null
currency/lib/currency_web/views/error_view.ex
ziminyuri/currency_exchange
3d65d466a519816f606b16bb2f304db65105ca9a
[ "Apache-2.0" ]
null
null
null
currency/lib/currency_web/views/error_view.ex
ziminyuri/currency_exchange
3d65d466a519816f606b16bb2f304db65105ca9a
[ "Apache-2.0" ]
null
null
null
defmodule CurrencyWeb.ErrorView do use CurrencyWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template na...
29
61
0.736308
ff140f60338912fcad3d71c27d1489b33b0fba03
2,282
ex
Elixir
lib/stripe/fraud/early_fraud_warnings.ex
pointerish/stripity_stripe
78fc2334d3be27492318e3de2764820c7285e697
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/fraud/early_fraud_warnings.ex
pointerish/stripity_stripe
78fc2334d3be27492318e3de2764820c7285e697
[ "BSD-3-Clause" ]
null
null
null
lib/stripe/fraud/early_fraud_warnings.ex
pointerish/stripity_stripe
78fc2334d3be27492318e3de2764820c7285e697
[ "BSD-3-Clause" ]
null
null
null
defmodule Stripe.Fraud.EarlyFraudWarning do @moduledoc """ Work with Stripe Radar Early Fraud Warnings objects. You can: - Retrieve an early fraud warning - Retrieve all early fraud warnings Stripe API reference: https://stripe.com/docs/api/radar/early_fraud_warnings """ use Stripe.Entity import S...
28.17284
94
0.593777
ff1426e0760136db52b43a3fb6402a17dfb15089
112
exs
Elixir
test/nexmo_test.exs
cbetta/nexmo-elixir
ff72a1dc9a52f5b1a5d7a11f174312fb2a39d7a8
[ "MIT" ]
1
2017-02-14T13:30:11.000Z
2017-02-14T13:30:11.000Z
test/nexmo_test.exs
cbetta/nexmo-elixir
ff72a1dc9a52f5b1a5d7a11f174312fb2a39d7a8
[ "MIT" ]
null
null
null
test/nexmo_test.exs
cbetta/nexmo-elixir
ff72a1dc9a52f5b1a5d7a11f174312fb2a39d7a8
[ "MIT" ]
null
null
null
defmodule NexmoTest do use ExUnit.Case doctest Nexmo test "the truth" do assert 1 + 1 == 2 end end
12.444444
22
0.660714
ff143c396e8e52d9517c97780fa7abe07421d4d3
360
ex
Elixir
lib/web/views/layout_view.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
1
2021-07-12T14:27:11.000Z
2021-07-12T14:27:11.000Z
lib/web/views/layout_view.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
20
2020-07-01T14:54:13.000Z
2021-08-02T15:35:31.000Z
lib/web/views/layout_view.ex
smartlogic/smartnote
2a87df6dfe0a9810f646fcaf9472d831028af6c5
[ "MIT" ]
2
2020-06-20T00:48:34.000Z
2021-01-22T02:04:38.000Z
defmodule Web.LayoutView do use Web, :view import Web.Gettext, only: [gettext: 1] def search_term(conn) do conn.assigns[:search_term] end def question_header_text(conn) do search_term = Web.LayoutView.search_term(conn) if is_nil(search_term) do "Questions" else "Questions match...
18
50
0.683333