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
d52acc829c74d776b5df7ef8d1bb4bdcf004a10e
4,491
ex
Elixir
lib/membrane/rtp/silence_discarder.ex
geometerio/membrane_rtp_plugin
ac6191bf7dcf2b00e880aeb475faa6de688ff5cb
[ "Apache-2.0" ]
null
null
null
lib/membrane/rtp/silence_discarder.ex
geometerio/membrane_rtp_plugin
ac6191bf7dcf2b00e880aeb475faa6de688ff5cb
[ "Apache-2.0" ]
null
null
null
lib/membrane/rtp/silence_discarder.ex
geometerio/membrane_rtp_plugin
ac6191bf7dcf2b00e880aeb475faa6de688ff5cb
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.RTP.SilenceDiscarder do @moduledoc """ Element responsible for dropping silent audio packets. For a packet to be discarded it needs to contain a `RTP.HeaderExtension` struct in its metadata under `:rtp` key. The header should contain information about audio level (VAD extension is required)....
32.078571
146
0.616789
d52add1f397bb43c8537fd1f4d1f6bc2092208a1
1,055
exs
Elixir
apps/gitgud_web/test/gitgud_web/views/gravatar_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
449
2018-03-06T01:05:55.000Z
2022-03-23T21:03:56.000Z
apps/gitgud_web/test/gitgud_web/views/gravatar_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
69
2018-03-06T09:26:41.000Z
2022-03-21T22:43:09.000Z
apps/gitgud_web/test/gitgud_web/views/gravatar_test.exs
EdmondFrank/gitgud
1952c16130564357aa6f23e35f48f19e3a50d4dd
[ "MIT" ]
41
2018-03-06T01:06:07.000Z
2021-11-21T17:55:04.000Z
defmodule GitGud.Web.GravatarTest do use ExUnit.Case, async: true alias GitGud.User import Phoenix.HTML.Safe import GitGud.Web.Gravatar test "renders avatar image" do avatar_url = "https://gravatar.com/avatar/1234567890" avatar = gravatar(%User{avatar_url: avatar_url}) assert {:ok, html} = Flo...
32.96875
74
0.687204
d52ae19640ed2f66f94c11cd3c9673fc2dc2212c
9,616
exs
Elixir
test/ethereumex/client/base_client_test.exs
masonforest/ethereumex
2f79b2ba2a1a29c4f490e93aa2732cb68e860e01
[ "MIT" ]
null
null
null
test/ethereumex/client/base_client_test.exs
masonforest/ethereumex
2f79b2ba2a1a29c4f490e93aa2732cb68e860e01
[ "MIT" ]
null
null
null
test/ethereumex/client/base_client_test.exs
masonforest/ethereumex
2f79b2ba2a1a29c4f490e93aa2732cb68e860e01
[ "MIT" ]
null
null
null
defmodule Ethereumex.Client.BaseClientTest do use ExUnit.Case defmodule ClientMock do use Ethereumex.Client.BaseClient def post_request(payload, opts) do %{"method" => method, "jsonrpc" => "2.0", "params" => params} = Poison.decode!(payload) {method, params, opts} end end defmodule H...
30.624204
143
0.689476
d52af889fdc32214f21e8be98d107fcb666ee2d4
1,214
ex
Elixir
app/lib/rocdev/slack_api.ex
TomFrink/rocdev
5c4a19c2d099bd8bad3377e6e08dfc9aa7e0bcf5
[ "MIT" ]
14
2017-10-10T19:11:21.000Z
2019-04-20T20:11:01.000Z
app/lib/rocdev/slack_api.ex
TomFrink/rocdev
5c4a19c2d099bd8bad3377e6e08dfc9aa7e0bcf5
[ "MIT" ]
41
2017-10-08T03:07:20.000Z
2018-10-15T12:47:34.000Z
app/lib/rocdev/slack_api.ex
TomFrink/rocdev
5c4a19c2d099bd8bad3377e6e08dfc9aa7e0bcf5
[ "MIT" ]
7
2017-10-18T10:44:04.000Z
2019-04-15T20:44:49.000Z
defmodule Rocdev.SlackAPI do @moduledoc """ Provides access to Slack Invitation API. """ @web_base_url Application.get_env(:rocdev, :slack_api_base_url) @web_token Application.get_env(:rocdev, :slack_api_token) @invite_base_url Application.get_env(:rocdev, :slack_invite_base_url) @invite_token Applicatio...
24.77551
71
0.625206
d52b0bcb10fd4c2b9d28e3f5d3c1ba60b2d54c3b
3,028
ex
Elixir
lib/oli/authoring/clone.ex
candert1/oli-torus
b7408f7d7c04cc3e9cf537873d98c3a586ec3a66
[ "MIT" ]
null
null
null
lib/oli/authoring/clone.ex
candert1/oli-torus
b7408f7d7c04cc3e9cf537873d98c3a586ec3a66
[ "MIT" ]
null
null
null
lib/oli/authoring/clone.ex
candert1/oli-torus
b7408f7d7c04cc3e9cf537873d98c3a586ec3a66
[ "MIT" ]
null
null
null
defmodule Oli.Authoring.Clone do import Ecto.Query, warn: false import Oli.Authoring.Editing.Utils alias Oli.Publishing alias Oli.Publishing.{AuthoringResolver} alias Oli.Authoring.{Collaborators, Locks} alias Oli.Repo alias Oli.Authoring.Course def clone_project(project_slug, author) do Repo.trans...
38.820513
123
0.661493
d52b0d454d8dbb44e92b1655f2dd1e29116bccf5
1,157
exs
Elixir
test/chex/piece/bishop_test.exs
sprql/chex
f2c82e6b8db0377ed283597bdd6b7c33d6601099
[ "MIT" ]
10
2020-01-11T19:53:11.000Z
2021-06-07T14:41:24.000Z
test/chex/piece/bishop_test.exs
sprql/chex
f2c82e6b8db0377ed283597bdd6b7c33d6601099
[ "MIT" ]
45
2019-10-23T01:10:32.000Z
2022-03-23T17:34:22.000Z
test/chex/piece/bishop_test.exs
sprql/chex
f2c82e6b8db0377ed283597bdd6b7c33d6601099
[ "MIT" ]
5
2019-10-16T23:45:16.000Z
2022-02-06T16:00:58.000Z
defmodule Chex.Piece.BishopTest do use ExUnit.Case, async: true doctest Chex.Piece.Bishop alias Chex.Piece @empty_board "8/8/8/8/4B3/8/8/8 w - - 0 1" describe "Piece.possible_moves/2 with bishop" do test "white starting position moves" do {:ok, game} = Chex.Game.new() assert Piece.possible_...
22.686275
74
0.532411
d52b13a212275f35ddd583ff4da57ed228559051
1,203
ex
Elixir
web/channels/user_socket.ex
alphagov/async-publishing-prototype
0eab5956d8d24428bf817dfb3f5c7279ea1ff9e5
[ "MIT" ]
1
2016-11-11T19:23:09.000Z
2016-11-11T19:23:09.000Z
web/channels/user_socket.ex
alphagov/async-publishing-prototype
0eab5956d8d24428bf817dfb3f5c7279ea1ff9e5
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
alphagov/async-publishing-prototype
0eab5956d8d24428bf817dfb3f5c7279ea1ff9e5
[ "MIT" ]
2
2019-08-29T11:38:59.000Z
2021-04-10T20:05:06.000Z
defmodule AsyncPublishing.UserSocket do use Phoenix.Socket ## Channels channel "content_items:*", AsyncPublishing.ContentItemChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # b...
31.657895
89
0.713217
d52b52511a528e7177b5c62f3b692db1be1cf997
3,820
ex
Elixir
lib/grizzly/zwave/commands/node_add_dsk_report.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly/zwave/commands/node_add_dsk_report.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
lib/grizzly/zwave/commands/node_add_dsk_report.ex
jellybob/grizzly
290bee04cb16acbb9dc996925f5c501697b7ac94
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.ZWave.Commands.NodeAddDSKReport do @moduledoc """ The Z-Wave Command `NODE_ADD_DSK_REPORT` This report is used by the including controller to ask for the DSK for the device that is being included. ## Params - `:seq_number` - sequence number for the command (required) - `:input_dsk...
29.84375
98
0.653665
d52b5d741f3ddacbbcdba66c9f9aa7311962223e
971
ex
Elixir
lib/quickstart/application.ex
feihong/elixir-quickstart
bbdb839c3db4f1470b4172b7036dc6d9ed9c6251
[ "Apache-2.0" ]
null
null
null
lib/quickstart/application.ex
feihong/elixir-quickstart
bbdb839c3db4f1470b4172b7036dc6d9ed9c6251
[ "Apache-2.0" ]
null
null
null
lib/quickstart/application.ex
feihong/elixir-quickstart
bbdb839c3db4f1470b4172b7036dc6d9ed9c6251
[ "Apache-2.0" ]
null
null
null
defmodule Quickstart.Application do use Application # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the endpoint when the...
32.366667
88
0.726056
d52b730b1f57c20f049a78503f0f71ca9b4ef606
8,779
ex
Elixir
lib/mix/lib/mix/project.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/project.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/project.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Project do @moduledoc """ A module that provides conveniences for defining and working with projects. In order to configure Mix, a developer needs to use `Mix.Project` in a module and define a function named `project` that returns a keyword list with configuration. defmodule MyApp do ...
24.869688
91
0.645746
d52badae99ff191545f84e86f6bb625d007a7a96
1,557
ex
Elixir
lib/cadet/courses/group.ex
source-academy/backend
0074e1ab846a091ba3bbfbfb76660498b3e4b4be
[ "Apache-2.0" ]
3
2021-08-15T23:57:32.000Z
2022-02-02T06:50:55.000Z
lib/cadet/courses/group.ex
source-academy/backend
0074e1ab846a091ba3bbfbfb76660498b3e4b4be
[ "Apache-2.0" ]
76
2021-07-05T07:13:52.000Z
2022-03-28T07:23:11.000Z
lib/cadet/courses/group.ex
source-academy/backend
0074e1ab846a091ba3bbfbfb76660498b3e4b4be
[ "Apache-2.0" ]
1
2022-03-26T14:27:51.000Z
2022-03-26T14:27:51.000Z
defmodule Cadet.Courses.Group do @moduledoc """ The Group entity represent relations between student and discussion group leader """ use Cadet, :model alias Cadet.Repo alias Cadet.Accounts.CourseRegistration alias Cadet.Courses.Course @type t :: %__MODULE__{ name: String.t(), lea...
25.95
92
0.676301
d52bbb416c1e91ac7e761257c5f170ca4d65df01
3,028
ex
Elixir
clients/admin/lib/google_api/admin/reports_v1/api/channels.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/reports_v1/api/channels.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/admin/lib/google_api/admin/reports_v1/api/channels.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...
39.842105
187
0.661493
d52c2565492bec7404c5be70743937fbfb0d478e
1,741
exs
Elixir
test/tesla_oauth2_client_auth_test/client_secret_post_test.exs
tanguilp/tesla_oauth2_client_auth
4a702fae1ba814607949babaa257df7cfd61a495
[ "Apache-2.0" ]
null
null
null
test/tesla_oauth2_client_auth_test/client_secret_post_test.exs
tanguilp/tesla_oauth2_client_auth
4a702fae1ba814607949babaa257df7cfd61a495
[ "Apache-2.0" ]
1
2020-05-30T11:33:44.000Z
2020-05-30T11:33:44.000Z
test/tesla_oauth2_client_auth_test/client_secret_post_test.exs
tanguilp/tesla_oauth2_client_auth
4a702fae1ba814607949babaa257df7cfd61a495
[ "Apache-2.0" ]
null
null
null
defmodule TeslaOAuth2ClientAuthTest.ClientSecretPost do use ExUnit.Case alias TeslaOAuth2ClientAuth.ClientSecretPost test "send request with valid credentials" do client = Tesla.client( [{ClientSecretPost, %{client_config: client_config()}}], TeslaOAuth2ClientAuthTest.Adapter ) ...
23.527027
89
0.622631
d52c4104bbfb93c0157e02ed89e9445ccd453e2c
1,448
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/source_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/source_info.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/source_info.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...
30.808511
104
0.734807
d52c573eaa89cf0ede1058adac55e78a4c081a54
2,445
exs
Elixir
mix.exs
theMarinac/mailibex
b75af1af8e523c665701f1fdf32d41710a6c9a59
[ "MIT" ]
null
null
null
mix.exs
theMarinac/mailibex
b75af1af8e523c665701f1fdf32d41710a6c9a59
[ "MIT" ]
null
null
null
mix.exs
theMarinac/mailibex
b75af1af8e523c665701f1fdf32d41710a6c9a59
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Compile.Iconv do @shortdoc "Compiles Iconv" use Mix.Task @doc """ For Linux: 1. Install gcc and libconv via your distro's package manager. For Mac OS X / macOS: 1. Install gcc and libiconv via homebrew. For Windows: 1. Install (MSYS2)[https://msys2.github.io], then open MSYS2 S...
32.6
133
0.640491
d52c6349f7b6ad3a3d909afa8ea3173d5c555acf
1,824
ex
Elixir
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/list_connections_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/list_connections_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/list_connections_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.48
134
0.752741
d52c8f3fc3ff8002f2705dee30cb1847d7c53ee8
1,558
ex
Elixir
lib/phoenix_app_web/views/error_helpers.ex
yosefbennywidyo/phoenix_app
04c49fc324e137589006ada3a6cb414c466be86d
[ "MIT" ]
null
null
null
lib/phoenix_app_web/views/error_helpers.ex
yosefbennywidyo/phoenix_app
04c49fc324e137589006ada3a6cb414c466be86d
[ "MIT" ]
null
null
null
lib/phoenix_app_web/views/error_helpers.ex
yosefbennywidyo/phoenix_app
04c49fc324e137589006ada3a6cb414c466be86d
[ "MIT" ]
null
null
null
defmodule PhoenixAppWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content_t...
32.458333
79
0.667522
d52cabe6e7a0d0f6360f2478d481373f6e35cf7b
374
ex
Elixir
lib/hl7/2.3/segments/rq1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/segments/rq1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3/segments/rq1.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3.Segments.RQ1 do @moduledoc false require Logger alias HL7.V2_3.{DataTypes} use HL7.Segment, fields: [ segment: nil, anticipated_price: nil, manufactured_id: DataTypes.Ce, manufacturers_catalog: nil, vendor_id: DataTypes.Ce, vendor_catalog: nil, ...
19.684211
36
0.660428
d52cc85bb372f808b6e851d3bd9366a0ebb81b36
6,156
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/marketplace_deal.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/marketplace_deal.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v14/model/marketplace_deal.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 "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...
60.950495
303
0.751949
d52cdd23108bd66dbd3379054837d59a441bae26
677
ex
Elixir
lib/tortoise/connection/supervisor.ex
lucaong/tortoise
fd2f83527937ba39b47f58eb8d392a1aa927e28f
[ "Apache-2.0" ]
272
2018-04-22T22:47:35.000Z
2022-03-01T05:22:02.000Z
lib/tortoise/connection/supervisor.ex
lucaong/tortoise
fd2f83527937ba39b47f58eb8d392a1aa927e28f
[ "Apache-2.0" ]
120
2018-04-22T20:42:04.000Z
2022-01-20T23:12:13.000Z
lib/tortoise/connection/supervisor.ex
lucaong/tortoise
fd2f83527937ba39b47f58eb8d392a1aa927e28f
[ "Apache-2.0" ]
58
2018-04-24T06:28:36.000Z
2022-02-09T06:55:42.000Z
defmodule Tortoise.Connection.Supervisor do @moduledoc false use Supervisor alias Tortoise.Connection.{Receiver, Controller, Inflight} def start_link(opts) do client_id = Keyword.fetch!(opts, :client_id) Supervisor.start_link(__MODULE__, opts, name: via_name(client_id)) end defp via_name(client_...
24.178571
70
0.704579
d52cfa7e8ce14180d539d1397b9aab6762b02e48
509
exs
Elixir
config/test.exs
allen-garvey/block-quote-phoenix
5c0f5d16daf6bb515a8f1846c3e4311b368a7bdb
[ "MIT" ]
4
2019-10-04T16:11:15.000Z
2021-08-18T21:00:13.000Z
apps/blockquote/config/test.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
5
2020-03-16T23:52:25.000Z
2021-09-03T16:52:17.000Z
apps/blockquote/config/test.exs
allen-garvey/phoenix-umbrella
1d444bbd62a5e7b5f51d317ce2be71ee994125d5
[ "MIT" ]
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 :blockquote, BlockquoteWeb.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :blockquote, B...
25.45
56
0.742633
d52d0865ba0c40176348b1b63d21dcc75de9f475
1,200
exs
Elixir
apps/fz_vpn/mix.exs
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
null
null
null
apps/fz_vpn/mix.exs
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
null
null
null
apps/fz_vpn/mix.exs
bhardwajRahul/firezone
836bfda9e28350443f2093f810872f2bee7c6cdc
[ "Apache-2.0" ]
null
null
null
defmodule FzVpn.MixProject do use Mix.Project def version do # Use dummy version for dev and test System.get_env("VERSION", "0.0.0+git.0.deadbeef") end def project do [ app: :fz_vpn, version: version(), build_path: "../../_build", config_path: "../../config/config.exs", ...
24
62
0.56
d52d39cfd005b8c1f55779e21a7f772f80b77661
39,831
ex
Elixir
lib/elixir/lib/gen_server.ex
irrigator/elixir
3898fef9d541b07260708d989dc51a3483bc0b33
[ "Apache-2.0" ]
1
2018-10-02T13:55:29.000Z
2018-10-02T13:55:29.000Z
lib/elixir/lib/gen_server.ex
irrigator/elixir
3898fef9d541b07260708d989dc51a3483bc0b33
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/gen_server.ex
irrigator/elixir
3898fef9d541b07260708d989dc51a3483bc0b33
[ "Apache-2.0" ]
null
null
null
defmodule GenServer do @moduledoc """ A behaviour module for implementing the server of a client-server relation. A GenServer is a process like any other Elixir process and it can be used to keep state, execute code asynchronously and so on. The advantage of using a generic server process (GenServer) impleme...
37.052093
129
0.667746
d52d594bd20f1926395e0feb67cfe73eb016973f
1,071
exs
Elixir
mix.exs
lytedev/arc_gcs
77016db77eb9c9637840dd014415636f758aaa2a
[ "Apache-2.0" ]
null
null
null
mix.exs
lytedev/arc_gcs
77016db77eb9c9637840dd014415636f758aaa2a
[ "Apache-2.0" ]
8
2021-11-01T21:04:31.000Z
2022-03-01T21:06:35.000Z
mix.exs
hixio-mh/arc_gcs
71495ad9954c2b764942e091ffdb50226ec64321
[ "Apache-2.0" ]
null
null
null
defmodule Arc.Storage.GCS.Mixfile do use Mix.Project @version "0.2.3" def project do [ app: :arc_gcs, version: @version, elixir: "~> 1.6", deps: deps(), description: description(), package: package(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ ...
21
65
0.51634
d52d6627297a3846a1b550c42e0d78f188692de3
412
ex
Elixir
lib/commanded/scheduler/serialization/convert.ex
utrustdev/commanded-scheduler
7532f192d39df2d0b7d1d500973ceaa8ec987ed3
[ "MIT" ]
31
2017-11-25T00:18:12.000Z
2022-03-03T20:11:17.000Z
lib/commanded/scheduler/serialization/convert.ex
utrustdev/commanded-scheduler
7532f192d39df2d0b7d1d500973ceaa8ec987ed3
[ "MIT" ]
12
2018-01-09T21:18:30.000Z
2021-09-06T10:35:43.000Z
lib/commanded/scheduler/serialization/convert.ex
utrustdev/commanded-scheduler
7532f192d39df2d0b7d1d500973ceaa8ec987ed3
[ "MIT" ]
13
2018-02-08T15:15:11.000Z
2020-08-13T12:25:18.000Z
defmodule Commanded.Scheduler.Convert do @moduledoc false @doc """ Convert deserialized map, containing string keys, into its target struct. """ def to_struct(type, map) def to_struct(type, map) when is_bitstring(type) and is_map(map) do type |> String.to_existing_atom() |> to_struct(map) end def...
24.235294
75
0.713592
d52d7b544f267f9ffea6519ffdde3d546cec82f1
4,788
ex
Elixir
lib/slash/command.ex
chaseconey/slash
f5d21f992b5ee7bbe2d3079b2e1057be32e935bb
[ "MIT" ]
null
null
null
lib/slash/command.ex
chaseconey/slash
f5d21f992b5ee7bbe2d3079b2e1057be32e935bb
[ "MIT" ]
null
null
null
lib/slash/command.ex
chaseconey/slash
f5d21f992b5ee7bbe2d3079b2e1057be32e935bb
[ "MIT" ]
null
null
null
defmodule Slash.Command do @moduledoc """ `Slash.Command` stores all command data received from Slack when invoking a command. The primary user facing functionality provided by this module is `async/2`. """ require Logger alias __MODULE__ alias Slash.Utils @http Application.get_env(:slash, :http_mod...
24.80829
95
0.579783
d52dea60a1a79df661bb9aed102ad3fd6f21fd7b
1,495
ex
Elixir
lib/eatbeep_web/live/editor/HeadingForm.ex
eatbeep/eatbeep
f6dbe569bbcf9a0cbd10aaf94ff0cb137f01d320
[ "MIT" ]
2
2021-01-31T05:18:20.000Z
2021-04-12T17:40:31.000Z
lib/eatbeep_web/live/editor/HeadingForm.ex
eatbeep/eatbeep
f6dbe569bbcf9a0cbd10aaf94ff0cb137f01d320
[ "MIT" ]
null
null
null
lib/eatbeep_web/live/editor/HeadingForm.ex
eatbeep/eatbeep
f6dbe569bbcf9a0cbd10aaf94ff0cb137f01d320
[ "MIT" ]
null
null
null
defmodule EatbeepWeb.Menu.HeadingForm do use Surface.LiveComponent alias Surface.Components.Form alias Surface.Components.Form.{Field, Label, TextInput, Submit, ErrorTag, HiddenInput} alias Eatbeep.Blocks data changeset, :any data bid, :string prop block, :any def update(assigns, socket) do cset =...
32.5
154
0.622742
d52e117f073f1ad6acf91f0b45c70a8bbf425cd4
33,394
ex
Elixir
lib/aws/generated/service_catalog.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
lib/aws/generated/service_catalog.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
lib/aws/generated/service_catalog.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.ServiceCatalog do @moduledoc """ AWS Service Catalog [AWS Service Catalog](https://aws.amazon.com/servicecatalog/) enables organizations to create and manage catalogs of IT services that ar...
35.077731
152
0.725639
d52e1a79666754fd43c2e2fd58fd78d74440c98c
556
ex
Elixir
lib/geonames/endpoints/earthquakes.ex
vheathen/geonames-elixir
b47ef0e38462c3bdbfb1a5b710f53993d9d3056d
[ "MIT" ]
null
null
null
lib/geonames/endpoints/earthquakes.ex
vheathen/geonames-elixir
b47ef0e38462c3bdbfb1a5b710f53993d9d3056d
[ "MIT" ]
null
null
null
lib/geonames/endpoints/earthquakes.ex
vheathen/geonames-elixir
b47ef0e38462c3bdbfb1a5b710f53993d9d3056d
[ "MIT" ]
null
null
null
defmodule Geonames.Endpoints.Earthquakes do @moduledoc false @behaviour Geonames.Endpoint @default_arguments %{ north: nil, south: nil, east: nil, west: nil, date: nil, minMagnitude: nil, maxRows: 10 } def endpoint, do: "earthquakesJSON" def available_url_parameters, do: Map.ke...
22.24
65
0.714029
d52e1d3c3b3e936d7e0a1512284dc0ffb3145040
2,122
exs
Elixir
mix.exs
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
53
2017-10-13T06:39:49.000Z
2022-03-28T19:43:42.000Z
mix.exs
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
12
2018-01-08T23:05:37.000Z
2019-08-02T12:59:27.000Z
mix.exs
pylon/penelope
5b0310dc0647a8e20ab1b4c10d3820f11cfb2601
[ "Apache-2.0" ]
4
2018-06-13T19:45:57.000Z
2019-10-17T13:37:06.000Z
defmodule Penelope.Mixfile do use Mix.Project def project do [ app: :penelope, name: "Penelope", version: "0.5.0", elixir: "~> 1.7", compilers: [:elixir_make] ++ Mix.compilers(), make_cwd: "c_src", make_clean: ["clean"], aliases: [clean: ["clean", "clean.nif"]], ...
25.566265
75
0.527333
d52e235e03bfbf6f51a44f49942ed69739fa570a
134
exs
Elixir
test/test_helper.exs
sreecodeslayer/exfile-imagemagick
0103f8585901e295cc992a121c248a2d5e5eae7c
[ "MIT" ]
5
2015-12-25T18:17:10.000Z
2018-07-17T10:19:10.000Z
test/test_helper.exs
sreecodeslayer/exfile-imagemagick
0103f8585901e295cc992a121c248a2d5e5eae7c
[ "MIT" ]
7
2016-08-14T02:28:03.000Z
2017-11-04T23:07:15.000Z
test/test_helper.exs
sreecodeslayer/exfile-imagemagick
0103f8585901e295cc992a121c248a2d5e5eae7c
[ "MIT" ]
9
2016-08-22T11:06:04.000Z
2021-09-30T09:05:03.000Z
ExUnit.start() defmodule EITH do def image_path(name), do: Path.join(~w(support images) ++ [name]) |> Path.expand(__DIR__) end
19.142857
71
0.679104
d52e2746d33cfdef3dbc176e4feaf75c15867af3
341
ex
Elixir
test/support/factory.ex
annatel/app_recorder
3be41f5466d40ae933ebc2ebbd17293d4452f82a
[ "MIT" ]
1
2021-08-03T11:39:35.000Z
2021-08-03T11:39:35.000Z
test/support/factory.ex
annatel/app_recorder
3be41f5466d40ae933ebc2ebbd17293d4452f82a
[ "MIT" ]
null
null
null
test/support/factory.ex
annatel/app_recorder
3be41f5466d40ae933ebc2ebbd17293d4452f82a
[ "MIT" ]
null
null
null
defmodule AppRecorder.Factory do use AntlUtilsEcto.Factory, repo: AppRecorder.TestRepo use AppRecorder.Factory.Event use AppRecorder.Factory.Request use AppRecorder.Factory.OutgoingRequest @spec request_id(nil | binary) :: binary def request_id(prefix \\ nil) do AppRecorder.RequestId.generate_request_...
26.230769
55
0.788856
d52e51d994359eaa4de6fe58fdf60aab32d16d77
1,928
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_confusion_matrix.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_confusion_matrix.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1beta1_confusion_matrix.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.428571
179
0.760892
d52e709d60855b484c0fadd7d3c8eb195c4280ae
2,459
ex
Elixir
backend/lib/backend/player_sequence.ex
daffyd-jones/wasm-proj
0eaf167d16a88cb88a4c6cfd61ecf0d9251c348c
[ "Apache-2.0", "MIT" ]
null
null
null
backend/lib/backend/player_sequence.ex
daffyd-jones/wasm-proj
0eaf167d16a88cb88a4c6cfd61ecf0d9251c348c
[ "Apache-2.0", "MIT" ]
null
null
null
backend/lib/backend/player_sequence.ex
daffyd-jones/wasm-proj
0eaf167d16a88cb88a4c6cfd61ecf0d9251c348c
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule Backend.PlayerSequence do use GenServer alias Backend.{PlayerSequence, PlayerSupervisor} # This keeps track of the sequence of players for turns # and stuff like that idk # Only stores UUIDs defstruct players: [], current: nil ### Public API ### def start_link(_) do GenSer...
23.419048
69
0.647418
d52e7d82a13ce7596fe613c137d56cd33b8e912f
274
ex
Elixir
lib/k8s/conn/auth.ex
thephw/k8s
a4d157ad0191ac49b27ec9197f342d8d4d33e52a
[ "MIT" ]
226
2019-02-03T00:49:32.000Z
2022-03-30T15:02:22.000Z
lib/k8s/conn/auth.ex
thephw/k8s
a4d157ad0191ac49b27ec9197f342d8d4d33e52a
[ "MIT" ]
109
2019-01-20T20:39:33.000Z
2022-03-31T20:21:34.000Z
lib/k8s/conn/auth.ex
FreedomBen/k8s
9cfd7bec869cd1f2d8a6c543923f3849710941a5
[ "MIT" ]
43
2019-02-07T01:18:31.000Z
2022-03-08T04:15:33.000Z
defmodule K8s.Conn.Auth do @moduledoc """ Authorization behaviour `:skip` is used to signal to `K8s.Conn` to skip a provider that would not authenticate the current connection. """ @callback create(map(), String.t()) :: {:ok, struct} | {:error, any} | :skip end
27.4
112
0.678832
d52e8949b0e8e2f9753545fc5fa9e6a1900141a0
6,484
ex
Elixir
lib/jorb/job.ex
appcues/jorb
4aad0ae440b18374ff1d37cb4780e812f48b704e
[ "MIT" ]
null
null
null
lib/jorb/job.ex
appcues/jorb
4aad0ae440b18374ff1d37cb4780e812f48b704e
[ "MIT" ]
7
2018-02-08T21:48:39.000Z
2019-10-16T19:53:18.000Z
lib/jorb/job.ex
appcues/jorb
4aad0ae440b18374ff1d37cb4780e812f48b704e
[ "MIT" ]
null
null
null
defmodule Jorb.Job do @moduledoc ~S""" Modules that `use Jorb.Job` can enqueue, read, and perform jobs. These modules must implement the `Jorb.Job` behaviour. In addition to the callbacks defined in `Jorb.Job`, these modules also export the `enqueue/2`, `work/1`, and `workers/1` functions. See the documen...
29.472727
91
0.606878
d52ed13eab7d7553559cf71d50a340f462f3c69d
23,519
ex
Elixir
lib/phoenix/socket.ex
samgaw/phoenix
3e1918c46f6fcea80fcd77803dd9dc50de88f7fa
[ "MIT" ]
null
null
null
lib/phoenix/socket.ex
samgaw/phoenix
3e1918c46f6fcea80fcd77803dd9dc50de88f7fa
[ "MIT" ]
null
null
null
lib/phoenix/socket.ex
samgaw/phoenix
3e1918c46f6fcea80fcd77803dd9dc50de88f7fa
[ "MIT" ]
null
null
null
defmodule Phoenix.Socket do @moduledoc ~S""" A socket implementation that multiplexes messages over channels. `Phoenix.Socket` is used as a module for establishing and maintaining the socket state via the `Phoenix.Socket` struct. Once connected to a socket, incoming and outgoing events are routed to chann...
32.801953
115
0.658574
d52ed8c020b2c4a5b67eb7f661975cb4e3f84234
223
exs
Elixir
apps/local_ledger_db/priv/repo/migrations/20190124042354_add_cached_cout_to_cached_balance.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/local_ledger_db/priv/repo/migrations/20190124042354_add_cached_cout_to_cached_balance.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/local_ledger_db/priv/repo/migrations/20190124042354_add_cached_cout_to_cached_balance.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
defmodule LocalLedgerDB.Repo.Migrations.AddCachedCoutToCachedBalance do use Ecto.Migration def change do alter table(:cached_balance) do add :cached_count, :integer, default: 1, null: false end end end
22.3
71
0.748879
d52ee5fb34413a6701f267b9b87ce7ede9290e6d
332
ex
Elixir
lib/rock/neighbour_criterion.ex
sitch/rock
4ed29f0b9bcbbef2b690a4ca903c33b60edb04e4
[ "MIT" ]
null
null
null
lib/rock/neighbour_criterion.ex
sitch/rock
4ed29f0b9bcbbef2b690a4ca903c33b60edb04e4
[ "MIT" ]
null
null
null
lib/rock/neighbour_criterion.ex
sitch/rock
4ed29f0b9bcbbef2b690a4ca903c33b60edb04e4
[ "MIT" ]
null
null
null
defmodule Rock.NeighbourCriterion do alias Rock.Struct.Point alias Rock.JaccardCoefficient @moduledoc false def new(theta, similarity_function \\ &JaccardCoefficient.measure/2) do fn(%Point{} = point1, %Point{} = point2) -> if similarity_function.(point1, point2) >= theta, do: 1, else: 0 en...
25.538462
70
0.695783
d52f18f3f5c08c1e97bb3ab2b462767411b93089
6,387
exs
Elixir
test/birdcage/dashboard_test.exs
cognizant-softvision/birdcage
2f766c7bc6d70f1243aab56ad9ac7f7d4c5014fb
[ "Apache-2.0" ]
1
2022-02-10T13:54:39.000Z
2022-02-10T13:54:39.000Z
test/birdcage/dashboard_test.exs
cognizant-softvision/birdcage
2f766c7bc6d70f1243aab56ad9ac7f7d4c5014fb
[ "Apache-2.0" ]
11
2020-07-10T16:05:17.000Z
2020-08-25T23:44:34.000Z
test/birdcage/dashboard_test.exs
cognizant-softvision/birdcage
2f766c7bc6d70f1243aab56ad9ac7f7d4c5014fb
[ "Apache-2.0" ]
1
2020-08-06T18:56:52.000Z
2020-08-06T18:56:52.000Z
defmodule Birdcage.DashboardTest do @moduledoc false use Birdcage.DataCase alias Birdcage.{Dashboard, Deployment, Event} setup do # clear the cache before each test Birdcage.Cache.stream() |> Enum.each(&Birdcage.Cache.delete(&1)) end describe "Dashboard" do @valid_attrs %{ "name" =>...
32.42132
119
0.651166
d52f1ee33c0790ded0940279bc0f562e00d53bf0
23,779
ex
Elixir
lib/aws/generated/lookout_vision.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/lookout_vision.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/lookout_vision.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "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.LookoutVision do @moduledoc """ This is the Amazon Lookout for Vision API Reference. It provides descriptions of actions, data types, common parameters, and common errors. Amazon Looko...
25.90305
119
0.655452
d52f2f2549314bf8721a16478606fb9e2dd1ca4d
4,387
ex
Elixir
apps/eventbus/lib/eventbus/stats_manager.ex
gotitinc/eventbus
5658cdb966d7c450ba9249ee5f66894054e3c86e
[ "Apache-2.0" ]
4
2020-12-30T02:53:21.000Z
2021-06-25T03:04:47.000Z
apps/eventbus/lib/eventbus/stats_manager.ex
gotitinc/eventbus
5658cdb966d7c450ba9249ee5f66894054e3c86e
[ "Apache-2.0" ]
null
null
null
apps/eventbus/lib/eventbus/stats_manager.ex
gotitinc/eventbus
5658cdb966d7c450ba9249ee5f66894054e3c86e
[ "Apache-2.0" ]
null
null
null
defmodule Eventbus.StatsManager do @moduledoc """ Manages multi-node services for counters services """ use GenServer alias Eventbus.{Tracker, PartitionConsumer, Queue, PriorityQueue} @topic "stats" defmodule State do @moduledoc """ The state of the stats manager """ defstruct assignment...
27.41875
95
0.650103
d52f6b0300f9eff94f82d3f33edc2c488bc0c85c
1,086
exs
Elixir
mix.exs
chrisjowen/rubbergloves
9fad14e7309374d6792b83774cef9f4125926d34
[ "MIT" ]
2
2020-01-14T00:41:15.000Z
2020-02-05T09:09:12.000Z
mix.exs
chrisjowen/rubbergloves
9fad14e7309374d6792b83774cef9f4125926d34
[ "MIT" ]
null
null
null
mix.exs
chrisjowen/rubbergloves
9fad14e7309374d6792b83774cef9f4125926d34
[ "MIT" ]
null
null
null
defmodule Rubbergloves.MixProject do use Mix.Project def project do [ app: :rubbergloves, version: "0.0.6", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), elixirc_paths: elixirc_paths(Mix.env()), package: package() ] end # Run "mix help c...
24.133333
92
0.581952
d52f6e685aa3ac2928e7a0eaaa4392b7f518b0ea
2,609
ex
Elixir
lib/mix/tasks/ecto.drop.ex
fertapric/ecto
c7e144a2fd54d2ecc2df2f85e70cb6113116a2a4
[ "Apache-2.0" ]
null
null
null
lib/mix/tasks/ecto.drop.ex
fertapric/ecto
c7e144a2fd54d2ecc2df2f85e70cb6113116a2a4
[ "Apache-2.0" ]
2
2020-04-23T00:19:07.000Z
2020-04-23T00:24:25.000Z
lib/mix/tasks/ecto.drop.ex
fertapric/ecto
c7e144a2fd54d2ecc2df2f85e70cb6113116a2a4
[ "Apache-2.0" ]
1
2020-10-07T16:52:00.000Z
2020-10-07T16:52:00.000Z
defmodule Mix.Tasks.Ecto.Drop do use Mix.Task import Mix.Ecto @shortdoc "Drops the repository storage" @default_opts [force: false] @aliases [ f: :force, q: :quiet, r: :repo ] @switches [ force: :boolean, quiet: :boolean, repo: [:keep, :string], no_compile: :boolean, no_...
28.988889
100
0.633576
d52f831b3c25dff1d966947aec5203932e1a9a9d
2,573
ex
Elixir
clients/retail/lib/google_api/retail/v2/model/google_cloud_retail_v2_purge_user_events_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/retail/lib/google_api/retail/v2/model/google_cloud_retail_v2_purge_user_events_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/retail/lib/google_api/retail/v2/model/google_cloud_retail_v2_purge_user_events_request.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...
51.46
913
0.747377
d52fa9a25ab5ce3f3d8c17762026903737a1e095
1,753
ex
Elixir
test/subscriptions/support/distributed_subscribers.ex
EskiMag/commanded
efff2080beaf81b604c646761161591b25f39192
[ "MIT" ]
null
null
null
test/subscriptions/support/distributed_subscribers.ex
EskiMag/commanded
efff2080beaf81b604c646761161591b25f39192
[ "MIT" ]
null
null
null
test/subscriptions/support/distributed_subscribers.ex
EskiMag/commanded
efff2080beaf81b604c646761161591b25f39192
[ "MIT" ]
null
null
null
defmodule Commanded.Subscriptions.DistributedSubscribers do import ExUnit.Assertions alias Commanded.DistributedApp alias Commanded.Subscriptions @event_handlers [EventHandler1, EventHandler2, EventHandler3] @process_managers [ProcessManager1, ProcessManager2, ProcessManager3] for event_handler <- @event...
24.347222
74
0.652596
d52fddb2547ff1d9ad33b5896cedbf545f3a0d75
6,686
ex
Elixir
lib/swoosh/adapters/mailjet.ex
mpran/swoosh
712cac1b1ab6adebf2d9ba6eb764467b3d2e0aa1
[ "MIT" ]
null
null
null
lib/swoosh/adapters/mailjet.ex
mpran/swoosh
712cac1b1ab6adebf2d9ba6eb764467b3d2e0aa1
[ "MIT" ]
null
null
null
lib/swoosh/adapters/mailjet.ex
mpran/swoosh
712cac1b1ab6adebf2d9ba6eb764467b3d2e0aa1
[ "MIT" ]
null
null
null
defmodule Swoosh.Adapters.Mailjet do @moduledoc ~S""" An adapter that sends email using the Mailjet API. For reference: [Mailjet API docs](https://dev.mailjet.com/guides/#send-api-v3-1) ## Dependency Mailjet adapter requires `Plug` to work properly. ## Example # config/config.exs config :sa...
26.117188
82
0.634909
d52ff584b2e2704118a4f3eef51001c81c47ee7b
2,081
exs
Elixir
farmbot_celery_script/mix.exs
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
1
2021-04-22T10:18:50.000Z
2021-04-22T10:18:50.000Z
farmbot_celery_script/mix.exs
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
farmbot_celery_script/mix.exs
kant/farmbot_os
f497cc1fde3960dc5507e4da89e85411a8f776f3
[ "MIT" ]
null
null
null
defmodule FarmbotCeleryScript.MixProject do use Mix.Project @version Path.join([__DIR__, "..", "VERSION"]) |> File.read!() |> String.trim() @elixir_version Path.join([__DIR__, "..", "ELIXIR_VERSION"]) |> File.read!() |> String.trim() def project do ...
27.381579
80
0.547333
d530103ef4eef3b8a69c0b3846c61ed2558177ec
627
ex
Elixir
lib/tasks/bakeware.assemble.ex
kianmeng/bakeware
3c008a1c149ccf22cb3924126f2b8f0be522191f
[ "Apache-2.0" ]
828
2020-09-12T18:56:48.000Z
2022-03-01T22:34:39.000Z
lib/tasks/bakeware.assemble.ex
kianmeng/bakeware
3c008a1c149ccf22cb3924126f2b8f0be522191f
[ "Apache-2.0" ]
18
2020-09-13T21:30:21.000Z
2020-10-23T13:09:57.000Z
lib/tasks/bakeware.assemble.ex
kianmeng/bakeware
3c008a1c149ccf22cb3924126f2b8f0be522191f
[ "Apache-2.0" ]
25
2020-09-14T12:01:54.000Z
2022-02-23T03:30:08.000Z
defmodule Mix.Tasks.Bakeware.Assemble do use Mix.Task @switches [ path: :string, name: :string ] @shortdoc "Manually assemble bakeware executable" @doc """ Manually assemble bakeware executable #{ File.read!("README.md") |> String.split(~r/<!-- ASSEMBLE_TASK !-->/) |> Enum.drop(1) ...
22.392857
76
0.61563
d5302269119fd0911511a811f97da648750fd769
505
ex
Elixir
test/support/system_stub.ex
rodrigues/deli
a5bdb3df6eb2a943069fa2e4658493f90730bd90
[ "MIT" ]
4
2019-01-30T11:51:44.000Z
2019-10-14T02:38:26.000Z
test/support/system_stub.ex
rodrigues/deli
a5bdb3df6eb2a943069fa2e4658493f90730bd90
[ "MIT" ]
null
null
null
test/support/system_stub.ex
rodrigues/deli
a5bdb3df6eb2a943069fa2e4658493f90730bd90
[ "MIT" ]
null
null
null
defmodule SystemStub do import TestAgent, only: [get: 1, get: 2] @moduledoc false def cmd(command, args, opts) do call = {:__system_handler__, :cmd, command, args, opts} send(get(:pid), call) default = fn _, _, _ -> {"", 0} end get(:cmd, default).(command, args, opts) end def put_env(varnam...
25.25
59
0.625743
d53039157d744fa4eae3fa6072c46acec7c37817
1,499
ex
Elixir
clients/plus/lib/google_api/plus/v1/model/activity_actor_name.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/activity_actor_name.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/activity_actor_name.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...
31.229167
101
0.741828
d5303bcfba251440483cb9c2c394f9a5247b17d7
1,085
ex
Elixir
blank/lib/blank_web/channels/user_socket.ex
unozerocode/turbo-journey
55c54e4b10bb1e49a1f999fd0eb03acdd35fef98
[ "MIT" ]
null
null
null
blank/lib/blank_web/channels/user_socket.ex
unozerocode/turbo-journey
55c54e4b10bb1e49a1f999fd0eb03acdd35fef98
[ "MIT" ]
2
2021-03-10T20:40:33.000Z
2021-05-11T16:13:21.000Z
blank/lib/blank_web/channels/user_socket.ex
unozerocode/turbo-journey
55c54e4b10bb1e49a1f999fd0eb03acdd35fef98
[ "MIT" ]
null
null
null
defmodule BlankWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", BlankWeb.RoomChannel # Socket params are passed from the client and can # be used to verify and authenticate a user. After # verification, you can put default assigns into # the socket that will be set for all channels, ...
30.138889
83
0.693088
d5306c607bfeab48f855577d3de3b13c5b70fba3
3,482
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/activity_snippet.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/activity_snippet.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/activity_snippet.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 ...
51.205882
447
0.715106
d53096adc8e56fae59a1985d0d326905bc59de34
2,752
exs
Elixir
test/robot_simulator_test.exs
NullChronos/exercism
1a30fa34e780303582c562e452534b9b45944f77
[ "MIT" ]
6
2019-06-19T15:43:20.000Z
2020-07-17T19:46:09.000Z
test/robot_simulator_test.exs
NullChronos/exercism
1a30fa34e780303582c562e452534b9b45944f77
[ "MIT" ]
10
2021-05-10T21:02:55.000Z
2021-05-11T20:29:41.000Z
test/robot_simulator_test.exs
NullChronos/exercism
1a30fa34e780303582c562e452534b9b45944f77
[ "MIT" ]
1
2019-06-25T10:42:14.000Z
2019-06-25T10:42:14.000Z
defmodule RobotSimulatorTest do use ExUnit.Case test "create has sensible defaults" do robot = RobotSimulator.create() assert RobotSimulator.position(robot) == {0, 0} assert RobotSimulator.direction(robot) == :north end test "create works with valid arguments" do robot = RobotSimulator.create(...
39.314286
93
0.710392
d530c6f7928dd463074b268585fc617dbacce402
216
exs
Elixir
apps/maintenance_web/test/maintenance_web/controllers/page_controller_test.exs
eksperimental/maintenance
5d332f4886b59510e37d32ad89c724840989ada0
[ "CC0-1.0", "MIT-0" ]
3
2021-11-13T04:50:40.000Z
2022-01-09T21:27:33.000Z
apps/maintenance_web/test/maintenance_web/controllers/page_controller_test.exs
eksperimental/maintenance
5d332f4886b59510e37d32ad89c724840989ada0
[ "CC0-1.0", "MIT-0" ]
null
null
null
apps/maintenance_web/test/maintenance_web/controllers/page_controller_test.exs
eksperimental/maintenance
5d332f4886b59510e37d32ad89c724840989ada0
[ "CC0-1.0", "MIT-0" ]
null
null
null
defmodule MaintenanceWeb.PageControllerTest do use MaintenanceWeb.ConnCase # test "GET /", %{conn: conn} do # conn = get(conn, "/") # assert html_response(conn, 200) =~ "Welcome to Phoenix!" # end end
24
62
0.666667
d530d5b4607353b9c1817562dbcd0ad85e0d363f
804
ex
Elixir
fibonacci/elixir/lib/fibonacci.ex
jeffhsta/code_challenge
7f45be163c131770c08b0575a8958012b6038fb1
[ "MIT" ]
1
2021-01-16T18:18:52.000Z
2021-01-16T18:18:52.000Z
fibonacci/elixir/lib/fibonacci.ex
jeffhsta/code_challenge
7f45be163c131770c08b0575a8958012b6038fb1
[ "MIT" ]
null
null
null
fibonacci/elixir/lib/fibonacci.ex
jeffhsta/code_challenge
7f45be163c131770c08b0575a8958012b6038fb1
[ "MIT" ]
null
null
null
defmodule Fibonacci do @moduledoc false @initial_sequence [1, 1] def sequence(1), do: {:ok, [List.first(@initial_sequence)]} def sequence(2), do: {:ok, @initial_sequence} def sequence(sequence_size) when is_integer(sequence_size) and sequence_size > 0 do sequence = @initial_sequence |> next...
28.714286
95
0.726368
d53129e55a70dc61e1ddc0d788bfe013d79e714f
168
exs
Elixir
turtle_teleop_rclex/test/turtle_teleop_rclex_test.exs
rclex/rclex_examples
1ad49e9d917c015161992836ad8d4e8d028615da
[ "Apache-2.0" ]
null
null
null
turtle_teleop_rclex/test/turtle_teleop_rclex_test.exs
rclex/rclex_examples
1ad49e9d917c015161992836ad8d4e8d028615da
[ "Apache-2.0" ]
4
2022-01-25T00:53:34.000Z
2022-03-26T15:28:18.000Z
turtle_teleop_rclex/test/turtle_teleop_rclex_test.exs
rclex/rclex_examples
1ad49e9d917c015161992836ad8d4e8d028615da
[ "Apache-2.0" ]
null
null
null
defmodule TurtleTeleopRclexTest do use ExUnit.Case doctest TurtleTeleopRclex test "greets the world" do assert TurtleTeleopRclex.hello() == :world end end
18.666667
46
0.761905
d5313fdfc5ed87323a300bd0d2cfc31932594904
1,197
ex
Elixir
lib/application.ex
mithereal/ex_softbank
8e64143e0056861c84ed71001929bbb5a10a55bf
[ "MIT" ]
null
null
null
lib/application.ex
mithereal/ex_softbank
8e64143e0056861c84ed71001929bbb5a10a55bf
[ "MIT" ]
null
null
null
lib/application.ex
mithereal/ex_softbank
8e64143e0056861c84ed71001929bbb5a10a55bf
[ "MIT" ]
null
null
null
defmodule SoftBank.Application do @moduledoc false use Application alias SoftBank.Config def start(_type, args) do import Supervisor.Spec children = [ {SoftBank.Repo, args}, {Cldr.Currency, [callback: {SoftBank.Currencies, :init, []}]}, {Registry, keys: :unique, name: :soft_bank_acc...
25.468085
91
0.634921
d5315395c16b7d408beaf83ff72b0dfb5a4869ff
6,410
ex
Elixir
lib/credo/check/consistency/collector.ex
egze/credo
59ee836e9ee07c478421df3078a56230a86c3860
[ "MIT" ]
1
2021-12-01T13:37:43.000Z
2021-12-01T13:37:43.000Z
deps/credo/lib/credo/check/consistency/collector.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
3
2021-06-20T14:51:14.000Z
2021-06-25T00:56:11.000Z
deps/credo/lib/credo/check/consistency/collector.ex
rwtrecs/rocketseat-nlw5-inmana
8ce8bc32e0bdd005c423394bb163945747b557e2
[ "MIT" ]
1
2020-06-28T00:36:07.000Z
2020-06-28T00:36:07.000Z
defmodule Credo.Check.Consistency.Collector do @moduledoc """ A behavior for modules that walk through source files and identify consistency issues. When defining a consistency check, you would typically use this structure for the main module, responsible for formatting issue messages: defmodule Cre...
32.211055
93
0.670203
d5316e4d3cb1d33c42bde986b75d23423f048018
3,704
ex
Elixir
lib/ueberauth/strategy/twitter/oauth.ex
ntilwalli/ueberauth_twitter
e98acbdfa5def12c577a879e2bd7b5b1ad84c7ff
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/twitter/oauth.ex
ntilwalli/ueberauth_twitter
e98acbdfa5def12c577a879e2bd7b5b1ad84c7ff
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/twitter/oauth.ex
ntilwalli/ueberauth_twitter
e98acbdfa5def12c577a879e2bd7b5b1ad84c7ff
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Twitter.OAuth do @moduledoc """ OAuth1 for Twitter. Add `consumer_key` and `consumer_secret` to your configuration: config :ueberauth, Ueberauth.Strategy.Twitter.OAuth, consumer_key: System.get_env("TWITTER_CONSUMER_KEY"), consumer_secret: System.get_env("TWITTER_CONSUMER_...
27.437037
92
0.647408
d531b90a2b5135733ccc4aedf72b9f6367b27c1b
356
ex
Elixir
lib/supabase_surface/components/icons/icon_arrow_down_left.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
5
2021-06-08T08:02:43.000Z
2022-02-09T23:13:46.000Z
lib/supabase_surface/components/icons/icon_arrow_down_left.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
null
null
null
lib/supabase_surface/components/icons/icon_arrow_down_left.ex
treebee/supabase-surface
5a184ca92323c085dd81e2fc8aa8c10367f2382e
[ "Apache-2.0" ]
1
2021-07-14T05:20:31.000Z
2021-07-14T05:20:31.000Z
defmodule SupabaseSurface.Components.Icons.IconArrowDownLeft do use SupabaseSurface.Components.Icon @impl true def render(assigns) do icon_size = IconContainer.get_size(assigns.size) ~F""" <IconContainer assigns={assigns}> {Feathericons.arrow_down_left(width: icon_size, height: icon_size)} ...
23.733333
73
0.730337
d531cf297b1d8470d61921a3c43039a07bed7d09
63,395
ex
Elixir
lib/radixir/gateway.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
16
2022-01-05T20:41:55.000Z
2022-03-25T09:06:43.000Z
lib/radixir/gateway.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
null
null
null
lib/radixir/gateway.ex
radixir/radixir
703034330e857bc084b78dd927ec611c3ea54349
[ "Apache-2.0" ]
1
2022-02-10T21:55:26.000Z
2022-02-10T21:55:26.000Z
defmodule Radixir.Gateway do @moduledoc """ Provides high level interaction with the Gateway API. """ alias Radixir.Gateway.API alias Radixir.Gateway.Request alias Radixir.Key alias Radixir.Util @type public_key :: String.t() @type private_key :: String.t() @type address :: String.t() @type rri ...
42.661507
135
0.672987
d531d935800a2045450ef1880a218d073c8e8e9f
3,012
ex
Elixir
lib/backend_web/controllers/message_controller.ex
damonvjanis/messenger-react
018ea500ec73a69dea57a6ea1e708a202a7cb9c1
[ "MIT" ]
1
2021-02-12T17:40:54.000Z
2021-02-12T17:40:54.000Z
lib/backend_web/controllers/message_controller.ex
damonvjanis/messenger-react
018ea500ec73a69dea57a6ea1e708a202a7cb9c1
[ "MIT" ]
3
2022-02-13T11:17:47.000Z
2022-02-27T03:19:11.000Z
lib/backend_web/controllers/message_controller.ex
damonvjanis/messenger-react
018ea500ec73a69dea57a6ea1e708a202a7cb9c1
[ "MIT" ]
1
2021-08-22T14:45:41.000Z
2021-08-22T14:45:41.000Z
defmodule BackendWeb.MessageController do use BackendWeb, :controller alias Backend.Conversations alias Backend.Conversations.Message alias BackendWeb.Endpoint alias Absinthe.Subscription require Logger def inbound(conn, %{"data" => %{"payload" => payload}}) do Task.start(fn -> do_inbound(payload) ...
29.242718
102
0.577357
d531dbbbbe189b3b83736c9ea014fc5576f3ad8f
1,133
exs
Elixir
config/config.exs
elbow-jason/map_array
3f6b951ad00dc4011e910300e6c0457284392cb8
[ "MIT" ]
1
2020-05-19T11:28:18.000Z
2020-05-19T11:28:18.000Z
config/config.exs
elbow-jason/map_array
3f6b951ad00dc4011e910300e6c0457284392cb8
[ "MIT" ]
null
null
null
config/config.exs
elbow-jason/map_array
3f6b951ad00dc4011e910300e6c0457284392cb8
[ "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.751986
d531f7661eb91a7d75f964226a7146ca37ed6b85
247
ex
Elixir
test/support/apps/phx1_6/lib/phx1_6.ex
infinitered/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
203
2016-10-28T00:37:15.000Z
2019-01-21T16:33:42.000Z
test/support/apps/phx1_6/lib/phx1_6.ex
jamonholmgren/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
61
2016-11-01T02:29:22.000Z
2019-01-01T22:35:21.000Z
test/support/apps/phx1_6/lib/phx1_6.ex
jamonholmgren/torch
ea55326f9c3521933c86af398bfea584e7ffe1ed
[ "MIT" ]
37
2016-11-01T18:13:55.000Z
2019-01-07T00:35:48.000Z
defmodule Phx16 do @moduledoc """ Phx16 keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
24.7
66
0.748988
d5321c572baf19b844d932883896a6c8f6a4135d
1,713
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/customer_list_dpcs_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/customer_list_dpcs_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/customer_list_dpcs_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.6875
168
0.760654
d53245e4dd15928586f7c470e853ff7024738497
7,733
ex
Elixir
lib/exvcr/handler.ex
thbar/exvcr
ae8e8f72be8c11a1639c53ffbb22421820a5c6d5
[ "MIT" ]
608
2015-01-05T18:44:49.000Z
2022-03-21T19:54:01.000Z
lib/exvcr/handler.ex
thbar/exvcr
ae8e8f72be8c11a1639c53ffbb22421820a5c6d5
[ "MIT" ]
165
2015-01-04T13:01:01.000Z
2022-03-16T08:31:48.000Z
lib/exvcr/handler.ex
thbar/exvcr
ae8e8f72be8c11a1639c53ffbb22421820a5c6d5
[ "MIT" ]
130
2015-01-28T19:33:21.000Z
2022-02-08T22:21:43.000Z
defmodule ExVCR.Handler do @moduledoc """ Provide operations for request/response. """ alias ExVCR.{Recorder, Setting, Util} alias ExVCR.Actor.Options @doc """ Get response from either server or cache. """ def get_response(nil, request) do :meck.passthrough(request) end def get_response(reco...
31.823045
119
0.687055
d532675ce08672e18f5b89c18b56a096367948e6
79
ex
Elixir
text_client/lib/text_client.ex
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
text_client/lib/text_client.ex
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
text_client/lib/text_client.ex
wronfim/hangman_game
c4dc4b9f122e773fe87ac4dc88206b792c1b239e
[ "MIT" ]
null
null
null
defmodule TextClient do defdelegate start(), to: TextClient.Interact end
13.166667
46
0.759494
d532bf5ae632178a2ececeef10a858b613869d81
13,334
ex
Elixir
lib/gradient/elixir_expr.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
null
null
null
lib/gradient/elixir_expr.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
1
2022-03-06T09:43:52.000Z
2022-03-06T09:43:52.000Z
lib/gradient/elixir_expr.ex
Fl4m3Ph03n1x/gradient
60d7d3fe2ebdf68747325c1e852959f8b92fdcee
[ "Apache-2.0" ]
null
null
null
defmodule Gradient.ElixirExpr do @moduledoc """ Convert the Erlang abstract expressions to the Elixir code. """ alias Gradient.ElixirFmt @type expr :: :erl_parse.abstract_expr() @type clause :: :erl_parse.abstract_clause() @doc """ Convert abstract expressions to Elixir code and format output with fo...
26.668
97
0.568247
d532d9cd84d14d539456525c238e80945e78883c
10,037
ex
Elixir
lib/nostrum/consumer.ex
Dreae/nostrum
68a4d2fa856a63f1d205b087aaef38e87493a6f1
[ "MIT" ]
null
null
null
lib/nostrum/consumer.ex
Dreae/nostrum
68a4d2fa856a63f1d205b087aaef38e87493a6f1
[ "MIT" ]
null
null
null
lib/nostrum/consumer.ex
Dreae/nostrum
68a4d2fa856a63f1d205b087aaef38e87493a6f1
[ "MIT" ]
null
null
null
defmodule Nostrum.Consumer do @moduledoc """ Consumer process for gateway event handling. # Consuming Gateway Events To handle events, Nostrum uses a GenStage implementation. Nostrum defines the `producer` and `producer_consumer` in the GenStage design. To consume the events you must create at least one `...
35.846429
108
0.649198
d532dc28072e180e572cc6119bab6366406a0295
4,083
ex
Elixir
elixir/lib/com/spoonacular/client/request_builder.ex
FPU-Spring-2021-CEN4010/spoonacular-api-clients
5becc86987c1b0406ed05d02f5c158fba284aa9c
[ "MIT" ]
21
2019-08-09T18:53:26.000Z
2022-03-14T22:10:10.000Z
elixir/lib/com/spoonacular/client/request_builder.ex
lucky-luky/spoonacular-api-clients
e52c13e288ed71563537638f7c3611d1d053c28f
[ "MIT" ]
null
null
null
elixir/lib/com/spoonacular/client/request_builder.ex
lucky-luky/spoonacular-api-clients
e52c13e288ed71563537638f7c3611d1d053c28f
[ "MIT" ]
55
2019-08-13T17:52:47.000Z
2022-03-27T04:29:34.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule com.spoonacular.client.RequestBuilder do @moduledoc """ Helper functions for building Tesla requests """ @doc """ Specify the request metho...
28.354167
137
0.647808
d5330a8a3ab024d4e7bc3cd175cc1894c24f1fea
3,102
ex
Elixir
lib/raft_kv/config.ex
liveforeverx/raft_kv
39dda9da7227e26fcab2963e16552881f1e52996
[ "MIT" ]
null
null
null
lib/raft_kv/config.ex
liveforeverx/raft_kv
39dda9da7227e26fcab2963e16552881f1e52996
[ "MIT" ]
null
null
null
lib/raft_kv/config.ex
liveforeverx/raft_kv
39dda9da7227e26fcab2963e16552881f1e52996
[ "MIT" ]
null
null
null
use Croma defmodule RaftKV.Config do @default_stats_collection_interval (if Mix.env() == :test, do: 2_000, else: 60_000) @default_workflow_execution_interval (if Mix.env() == :test, do: 2_000, else: 60_000) @default_workflow_lock_period (if Mix.env() ==...
47.723077
137
0.760477
d53312f1711f3bd69fde20a456ba2b3f1b07a524
1,453
exs
Elixir
lib/elixir/test/elixir/kernel/macros_test.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:25.000Z
2017-07-25T21:46:25.000Z
lib/elixir/test/elixir/kernel/macros_test.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/macros_test.exs
tmbb/exdocs_makedown_demo
6a0039c54d2fa10d79c080efcef8d70d359678f8
[ "Apache-2.0" ]
1
2017-07-25T21:46:48.000Z
2017-07-25T21:46:48.000Z
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.MacrosTest.Nested do defmacro value, do: 1 defmacro do_identity!(do: x) do x end end defmodule Kernel.MacrosTest do use ExUnit.Case, async: true doctest Macro Kernel.MacrosTest.Nested = require Kernel.MacrosTest.Nested, as: Nested ...
20.757143
73
0.694425
d5331745ad27afb57ccbfa543fb57ee2890fd63f
8,467
ex
Elixir
lib/util/time.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:11.000Z
2020-08-27T18:43:11.000Z
lib/util/time.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
null
null
null
lib/util/time.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 Antikythera.Time do @moduledoc """ Data structure to represent date and time in milli-seconds resolution. Note that all values of `Antikythera.Time.t` are in UTC. `Poison.Encoder` protocol is implemented for `Antikythera.Time...
40.706731
134
0.611551
d5336a533e15d5b722783b81a8bb9f9a2d509b77
3,011
ex
Elixir
apps/admin_app/lib/admin_app_web/controllers/tax/tax_class_controller.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
456
2018-09-20T02:40:59.000Z
2022-03-07T08:53:48.000Z
apps/admin_app/lib/admin_app_web/controllers/tax/tax_class_controller.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
273
2018-09-19T06:43:43.000Z
2021-08-07T12:58:26.000Z
apps/admin_app/lib/admin_app_web/controllers/tax/tax_class_controller.ex
Acrecio/avia
54d264fc179b5b5f17d174854bdca063e1d935e9
[ "MIT" ]
122
2018-09-26T16:32:46.000Z
2022-03-13T11:44:19.000Z
defmodule AdminAppWeb.Tax.TaxClassController do use AdminAppWeb, :controller import Phoenix.View, only: [render_to_string: 3] alias Snitch.Data.Model.TaxClass alias Snitch.Data.Schema.TaxClass, as: TaxClassSchema plug(:put_layout, {AdminAppWeb.Tax.TaxConfigView, "tax_layout.html"}) def index(conn, _params...
24.282258
74
0.554965
d5336d7bfafad25d136e44738d72bba8a6b7e405
1,630
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/private_data.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/private_data.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/model/private_data.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
33.958333
172
0.753374
d533871b5bafee41b970ac822aed46bc38c364b9
913
ex
Elixir
apps/mdb/lib/application.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
3
2020-11-24T07:45:26.000Z
2021-07-29T13:37:02.000Z
apps/mdb/lib/application.ex
mskcc/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
52
2020-10-21T19:47:59.000Z
2021-09-09T18:42:33.000Z
apps/mdb/lib/application.ex
msk-access/seqosystem
4d99c50a0b0bc74c7f9f899be4eda8eddf6e5a39
[ "Apache-2.0" ]
1
2020-12-15T03:33:31.000Z
2020-12-15T03:33:31.000Z
defmodule Mdb.Application do @moduledoc false use Application use Supervisor def start_link() do Supervisor.start_link(__MODULE__,[], name: Mdb.Supervisor) end @impl true def init(_) do gnat_supervisor_settings = %{ name: :gnat, connection_settings: Application.fetch_env!(:mdb, :nat...
24.026316
121
0.688938
d53391f1501667bfce64b1c209329db53f43c3a2
1,536
exs
Elixir
apps/flair/test/unit/flair/overall_time_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/flair/test/unit/flair/overall_time_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/flair/test/unit/flair/overall_time_test.exs
jakeprem/smartcitiesdata
da309ac0d2261527278951cbae88604455207589
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule Flair.OverallTimeTest do use ExUnit.Case alias SmartCity.Data alias SmartCity.Data.Timing alias SmartCity.TestDataGenerator alias Flair.OverallTime describe "add/1" do test "data message is unchanged when timing list is empty" do data = TestDataGenerator.create_data(dataset_id: "pirat...
29.538462
93
0.632813
d533a306d064b8764bba6464d021ad15ba0318c1
24,181
ex
Elixir
lib/mariaex/row_parser.ex
olafz/mariaex
caa1ec6b251ddde395a610020629603d73aab8ea
[ "Apache-2.0" ]
null
null
null
lib/mariaex/row_parser.ex
olafz/mariaex
caa1ec6b251ddde395a610020629603d73aab8ea
[ "Apache-2.0" ]
null
null
null
lib/mariaex/row_parser.ex
olafz/mariaex
caa1ec6b251ddde395a610020629603d73aab8ea
[ "Apache-2.0" ]
null
null
null
defmodule Mariaex.RowParser do @moduledoc """ Parse a row of the MySQL protocol This parser makes extensive use of binary pattern matching and recursion to take advantage of Erlang's optimizer that will not create sub binaries when called recusively. """ use Bitwise alias Mariaex.Column alias Mariaex.M...
48.362
220
0.684174
d533cb0f7c54075c55e5cd07b3628eb5f38ad535
715
exs
Elixir
mix.exs
X-Plane/weather-mirror
7db39c342ef33fa9688751ce661ab5ff8e6ebb6c
[ "MIT" ]
6
2019-09-08T15:45:52.000Z
2022-03-18T07:08:03.000Z
mix.exs
X-Plane/weather-mirror
7db39c342ef33fa9688751ce661ab5ff8e6ebb6c
[ "MIT" ]
null
null
null
mix.exs
X-Plane/weather-mirror
7db39c342ef33fa9688751ce661ab5ff8e6ebb6c
[ "MIT" ]
1
2019-12-12T13:29:52.000Z
2019-12-12T13:29:52.000Z
defmodule WeatherMirror.MixProject do use Mix.Project def project do [ app: :weather_mirror, version: "0.4.1", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
21.029412
63
0.532867
d533cd208f7050375653dba8cae1738e64e43703
14,532
ex
Elixir
lib/phoenix_live_view/router.ex
okariFrankline/phoenix_live_view
1471909fbd49990c09275fc32988c2e6f3613087
[ "MIT" ]
1
2021-06-28T12:31:07.000Z
2021-06-28T12:31:07.000Z
lib/phoenix_live_view/router.ex
okariFrankline/phoenix_live_view
1471909fbd49990c09275fc32988c2e6f3613087
[ "MIT" ]
null
null
null
lib/phoenix_live_view/router.ex
okariFrankline/phoenix_live_view
1471909fbd49990c09275fc32988c2e6f3613087
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Router do @moduledoc """ Provides LiveView routing for Phoenix routers. """ @cookie_key "__phoenix_flash__" @doc """ Defines a LiveView route. A LiveView can be routed to by using the `live` macro with a path and the name of the LiveView: live "/thermostat", Thermost...
32.952381
106
0.657308
d533e258f57e7da8b1456299f394d74c0db5ada0
1,929
exs
Elixir
mix.exs
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
null
null
null
mix.exs
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
2
2021-03-10T04:15:17.000Z
2021-05-10T23:54:35.000Z
mix.exs
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
null
null
null
defmodule Health.MixProject do use Mix.Project def project do [ app: :health, version: "0.1.0", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
27.557143
79
0.55521
d533e7147b9455cdb684509f4a15441cd810c9ec
20,007
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/api/folders.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/api/folders.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/api/folders.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 ...
43.778993
196
0.625481
d533f9b07f43ce41c6ca5f7cf182bc6755a07b82
561
ex
Elixir
exercises/etl/lib/etl.ex
DuoPan/elixir
e96388f242c383c1f45935570ed2f42394171fc6
[ "MIT" ]
null
null
null
exercises/etl/lib/etl.ex
DuoPan/elixir
e96388f242c383c1f45935570ed2f42394171fc6
[ "MIT" ]
null
null
null
exercises/etl/lib/etl.ex
DuoPan/elixir
e96388f242c383c1f45935570ed2f42394171fc6
[ "MIT" ]
null
null
null
defmodule ETL do @doc """ Transform an index into an inverted index. ## Examples iex> ETL.transform(%{"a" => ["ABILITY", "AARDVARK"], "b" => ["BALLAST", "BEAUTY"]}) %{"ability" => "a", "aardvark" => "a", "ballast" => "b", "beauty" =>"b"} """ @spec transform(map) :: map def transform(input) do inpu...
22.44
85
0.55615
d53403e38bcf786b4cf1bb715204697ed6e3fb0f
1,845
ex
Elixir
lib/jeopardixir/accounts.ex
arielj/jeopardixir
d596dd4c0af7398f8b533518b5d8dc30c5bac94b
[ "MIT" ]
1
2021-06-16T15:27:04.000Z
2021-06-16T15:27:04.000Z
lib/jeopardixir/accounts.ex
arielj/jeopardixir
d596dd4c0af7398f8b533518b5d8dc30c5bac94b
[ "MIT" ]
25
2021-06-18T13:08:18.000Z
2021-12-15T19:04:57.000Z
lib/jeopardixir/accounts.ex
arielj/jeopardixir
d596dd4c0af7398f8b533518b5d8dc30c5bac94b
[ "MIT" ]
null
null
null
defmodule Jeopardixir.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias Jeopardixir.Repo alias Jeopardixir.Accounts.User @doc """ Returns the list of users. ## Examples iex> list_users() [%User{}, ...] """ def list_users do Repo.all(Use...
16.327434
59
0.582114
d5342a83bcb68f191beb29372246afc0b663f03b
5,975
ex
Elixir
apps/core/lib/core/persons/v1/validator.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/lib/core/persons/v1/validator.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/lib/core/persons/v1/validator.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.Persons.V1.Validator do @moduledoc "Additional validation of Person request structure that cannot be covered by JSON Schema" alias Core.ValidationError alias Core.Validators.BirthDate alias Core.Validators.Error alias Core.Validators.JsonObjects @rpc_worker Application.get_env(:core, :rpc_w...
30.958549
116
0.642845
d5345e3b1627df56e60c8c53319a3a59089a6351
1,456
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/empty.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/empty.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...
34.666667
282
0.757555
d53479361091bb710a6340a53fabddad3aa53372
2,128
ex
Elixir
lib/mechanize/request.ex
paultannenbaum/mechanize
97fd54c0421689026c01b9bf38206fa74e8f7e1a
[ "MIT" ]
25
2020-06-26T02:21:35.000Z
2022-03-05T18:51:46.000Z
lib/mechanize/request.ex
paultannenbaum/mechanize
97fd54c0421689026c01b9bf38206fa74e8f7e1a
[ "MIT" ]
29
2019-07-02T21:50:06.000Z
2020-05-28T18:34:01.000Z
lib/mechanize/request.ex
paultannenbaum/mechanize
97fd54c0421689026c01b9bf38206fa74e8f7e1a
[ "MIT" ]
4
2020-06-24T02:11:47.000Z
2022-03-06T00:50:59.000Z
defmodule Mechanize.Request do alias Mechanize.Header @default_params [] @default_options [] @default_body "" @enforce_keys [:url] defstruct method: :get, url: nil, headers: [], body: @default_body, params: @default_params, options: @default_options @type body() :: {atom(), Enum.t()} | binary() @type...
25.333333
120
0.606203
d5347ccc9e42ea58913d922cad78036afef14133
434
ex
Elixir
bsdlibc/pdp/csu/PORT/gmon.ex
jguillaumes/muxx
2b9e20dcef9d42e6abfe0024fef16ad98b78facf
[ "BSD-2-Clause" ]
3
2018-07-18T19:41:50.000Z
2021-03-08T23:00:04.000Z
bsdlibc/pdp/csu/PORT/gmon.ex
jguillaumes/muxx
2b9e20dcef9d42e6abfe0024fef16ad98b78facf
[ "BSD-2-Clause" ]
null
null
null
bsdlibc/pdp/csu/PORT/gmon.ex
jguillaumes/muxx
2b9e20dcef9d42e6abfe0024fef16ad98b78facf
[ "BSD-2-Clause" ]
null
null
null
" @(#)gmon.ex 4.2 (Berkeley) 7/26/83" " fix funny things done by mcount()" " fix its name, make it jsb'able, change registers to protect the caller" g/_mcount/s//mcount/g /mcount:/- /.word/s/.word.*// /the beginning of mcount()/mark a /the end of mcount()/mark b 'a,'bs/r11/r5/g 'a,'bs/r10/r4/g 'a,'bs/r9/r3/g 'a,'bs/r8/...
22.842105
73
0.656682
d534bf917f10c42e15ff0b0bf83113f696b9b054
36
ex
Elixir
lib/mix/test/fixtures/test_stale/lib/a.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/test/fixtures/test_stale/lib/a.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/test/fixtures/test_stale/lib/a.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule A do def f, do: :ok end
9
16
0.638889
d534df8fcdf87e2dbffc5ce0adc06b68f10cd5db
10,493
ex
Elixir
apps/mishka_html/lib/mishka_html_web/live/admin_subscription_live.ex
mishka-group/mishka-cms
4e34ed646f807687f4ae809e862acb6f2c5aacef
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_html/lib/mishka_html_web/live/admin_subscription_live.ex
mishka-group/mishka-cms
4e34ed646f807687f4ae809e862acb6f2c5aacef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_html/lib/mishka_html_web/live/admin_subscription_live.ex
mishka-group/mishka-cms
4e34ed646f807687f4ae809e862acb6f2c5aacef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
defmodule MishkaHtmlWeb.AdminSubscriptionLive do use MishkaHtmlWeb, :live_view alias MishkaContent.General.Subscription alias MishkaUser.User alias MishkaContent.Cache.ContentDraftManagement use MishkaHtml.Helpers.LiveCRUD, module: MishkaContent.General.Subscription, redirect: __MODULE__, router...
34.976667
178
0.641475
d534ff1d2fc199093704f633f33933341fd81cc9
1,114
ex
Elixir
test/support/conn_case.ex
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
342
2017-01-10T16:13:45.000Z
2022-02-26T13:55:38.000Z
test/support/conn_case.ex
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
6
2017-01-14T17:59:48.000Z
2018-03-25T21:35:50.000Z
test/support/conn_case.ex
Angarsk8/microscope.ex
dc4572ba8b9f1c7b7c94ee78f387e332ac0d936c
[ "MIT" ]
38
2017-01-11T00:18:21.000Z
2021-07-11T11:28:12.000Z
defmodule Microscope.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 and query models. Finally, if the test case interacts with the ...
24.755556
72
0.709156
d53504f0a58c04072af7f6c359478cf3ad0fec96
1,920
ex
Elixir
clients/elixir/lib/fast_api/api/text_text_autocorrect.ex
theunifai/unifai-sdk
b010bd37e5a418881ee3747bd8ec6e8e18e08234
[ "MIT" ]
1
2022-03-30T11:33:28.000Z
2022-03-30T11:33:28.000Z
clients/elixir/lib/fast_api/api/text_text_autocorrect.ex
theunifai/unifai-sdk
b010bd37e5a418881ee3747bd8ec6e8e18e08234
[ "MIT" ]
null
null
null
clients/elixir/lib/fast_api/api/text_text_autocorrect.ex
theunifai/unifai-sdk
b010bd37e5a418881ee3747bd8ec6e8e18e08234
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule FastAPI.Api.TextTextAutocorrect do @moduledoc """ API calls for all endpoints tagged `TextTextAutocorrect`. """ alias FastAPI.Connection im...
27.428571
115
0.651563
d5355b33cefa584180c1cb81131ea9ae8910becc
3,348
ex
Elixir
lib/noaa/table_formatter.ex
rylek90/NOAA
eb70efcfd3058bccc9496f9083c9a7b509156c50
[ "MIT" ]
null
null
null
lib/noaa/table_formatter.ex
rylek90/NOAA
eb70efcfd3058bccc9496f9083c9a7b509156c50
[ "MIT" ]
null
null
null
lib/noaa/table_formatter.ex
rylek90/NOAA
eb70efcfd3058bccc9496f9083c9a7b509156c50
[ "MIT" ]
null
null
null
defmodule Noaa.TableFormatter do import Enum, only: [ each: 2, map: 2, map_join: 3, max: 1] @doc """ Takes a list of row data, where each row is a HashDict, and a list of headers. Prints a table to STDOUT of the data from each row identified by each header. That is, each header identifies a column, and those...
31.584906
145
0.653524
d53573c96d4e5edb5e2b050660a411764064bfbc
2,243
ex
Elixir
clients/firestore/lib/google_api/firestore/v1/model/document_remove.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1/model/document_remove.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/firestore/lib/google_api/firestore/v1/model/document_remove.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...
42.320755
373
0.731609
d5357e3a69075b70093a239e0300d3a28e5fc073
797
ex
Elixir
lib/porterage/fetcher/mfargs.ex
mneudert/porterage
a49857a6e7b39e182c49b8f06275e83685b87b67
[ "Apache-2.0" ]
1
2020-01-13T23:59:51.000Z
2020-01-13T23:59:51.000Z
lib/porterage/fetcher/mfargs.ex
mneudert/porterage
a49857a6e7b39e182c49b8f06275e83685b87b67
[ "Apache-2.0" ]
null
null
null
lib/porterage/fetcher/mfargs.ex
mneudert/porterage
a49857a6e7b39e182c49b8f06275e83685b87b67
[ "Apache-2.0" ]
null
null
null
defmodule Porterage.Fetcher.MFArgs do @moduledoc """ Fetcher based on usage of `Kernel.apply/3` calls. The configured callable is expected to return `{:ok, term}` if data has been fetched. Any other return value will be ignored. ## Configuration { fetcher: Porterage.Fetcher.MFArgs, fe...
24.151515
78
0.632371
d53586e10a649c4b6cbf78fc36d23cd01a86eb2b
1,825
ex
Elixir
clients/plus/lib/google_api/plus/v1/model/activity_object_full_image.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/activity_object_full_image.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/plus/lib/google_api/plus/v1/model/activity_object_full_image.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "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...
32.017544
91
0.709589
d53587dc61eb39f4b295530e23c47ecaa303eef5
2,269
exs
Elixir
rumbrella/apps/rumbl/test/controllers/auth_test.exs
benjohns1/phoenix-sandbox
58fa6650828882f684a37de7af48d9fb6bd39f59
[ "MIT" ]
null
null
null
rumbrella/apps/rumbl/test/controllers/auth_test.exs
benjohns1/phoenix-sandbox
58fa6650828882f684a37de7af48d9fb6bd39f59
[ "MIT" ]
null
null
null
rumbrella/apps/rumbl/test/controllers/auth_test.exs
benjohns1/phoenix-sandbox
58fa6650828882f684a37de7af48d9fb6bd39f59
[ "MIT" ]
null
null
null
defmodule Rumbl.AuthTest do use Rumbl.ConnCase alias Rumbl.Auth setup %{conn: conn} do conn = conn |> bypass_through(Rumbl.Router, :browser) |> get("/") {:ok, %{conn: conn}} end test "authenticate_user halts when no current_user exists", %{conn: conn} do conn = ...
29.855263
109
0.620097
d535a2f9e09e8af09478e2c65f5d12b2010e8637
1,078
ex
Elixir
apps/util/lib/polygon.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/util/lib/polygon.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/util/lib/polygon.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule Util.Polygon do @moduledoc """ Utilities to work with polygons. A polygon is represented as list of items implementing Util.Position behaviour """ alias Util.Position @doc """ Checks if a point is inside a polygon or not ## Example iex> Util.Polygon.inside?([{0, 0}, {0, 2}, {2, 2}, {2, 0}...
29.135135
113
0.580705
d535b30993266687da41d3996256ed5b8bb11398
1,469
exs
Elixir
test/chat_api_web/ensure_role_plug_test.exs
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
4,942
2020-07-20T22:35:28.000Z
2022-03-31T15:38:51.000Z
test/chat_api_web/ensure_role_plug_test.exs
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
552
2020-07-22T01:39:04.000Z
2022-02-01T00:26:35.000Z
test/chat_api_web/ensure_role_plug_test.exs
raditya3/papercups
4657b258ee381ac0b7517e57e4d6261ce94b5871
[ "MIT" ]
396
2020-07-22T19:27:48.000Z
2022-03-31T05:25:24.000Z
defmodule ChatApiWeb.EnsureRolePlugTest do use ChatApiWeb.ConnCase, async: true alias ChatApiWeb.EnsureRolePlug @opts ~w(admin)a @user %{id: 1, role: "user", disabled_at: nil} @admin %{id: 2, role: "admin", disabled_at: nil} setup do conn = build_conn() |> Plug.Conn.put_private(:plug_sess...
23.31746
72
0.640572