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
f7dcdfd5b158850246f0cfffd18a874462beb4c7
961
ex
Elixir
lib/learn/api/lti.ex
mark-b-kauffman/bblearn_rest_client
63fb0da9b8027e385df927f43ec5e9ea4a517570
[ "BSD-3-Clause" ]
null
null
null
lib/learn/api/lti.ex
mark-b-kauffman/bblearn_rest_client
63fb0da9b8027e385df927f43ec5e9ea4a517570
[ "BSD-3-Clause" ]
null
null
null
lib/learn/api/lti.ex
mark-b-kauffman/bblearn_rest_client
63fb0da9b8027e385df927f43ec5e9ea4a517570
[ "BSD-3-Clause" ]
null
null
null
defmodule Learn.Api.Lti do require IEx @moduledoc """ Learn.Api.Lti """ @v1_lti_placements "/learn/api/public/v1/lti/placements" # Since: 3300.0.0 ## LTI ## Functions that call the @v1_lti endpoints def get_v1_lti_placements(rest_client, params \\ %{}) do params = %{offset: 0} ...
32.033333
119
0.673257
f7dcf02d01ecade607b584790004a884f58f04ec
12,663
exs
Elixir
test/ecto/multi_test.exs
ohta-rh/ecto
d5f8bfdfcc6fcfb520c62bbd1dbdd8ee6f09de59
[ "Apache-2.0" ]
null
null
null
test/ecto/multi_test.exs
ohta-rh/ecto
d5f8bfdfcc6fcfb520c62bbd1dbdd8ee6f09de59
[ "Apache-2.0" ]
null
null
null
test/ecto/multi_test.exs
ohta-rh/ecto
d5f8bfdfcc6fcfb520c62bbd1dbdd8ee6f09de59
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.MultiTest do use ExUnit.Case, async: true doctest Ecto.Multi alias Ecto.Multi alias Ecto.Changeset alias Ecto.TestRepo defmodule Comment do use Ecto.Schema schema "comments" do field :x, :integer field :parent_x, :integer end end def ok(x), do: {:ok, x} def m...
31.578554
158
0.591171
f7dd1fd2ca9c8ef9fa3aca8ba0452ab2751ac8c1
26,007
ex
Elixir
lib/elixir/lib/exception.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/exception.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/exception.ex
rcoppolo/elixir
c4092e071f8b42f5a9ad213dd8b3632918097213
[ "Apache-2.0" ]
null
null
null
defmodule Exception do @moduledoc """ Functions to format throw/catch/exit and exceptions. Note that stacktraces in Elixir are updated on throw, errors and exits. For example, at any given moment, `System.stacktrace/0` will return the stacktrace for the last throw/error/exit that occurred in the current pr...
28.176598
153
0.666897
f7dd85a728a6883276392b5f6637b7f2603cc88f
198
exs
Elixir
test/phx_pow_web/controllers/page_controller_test.exs
brandedux/phoenix_authentication
a1a5758532a4ece73bfc7319f8c9235b070bd1fe
[ "MIT" ]
2
2019-09-25T22:02:59.000Z
2019-12-18T22:33:34.000Z
test/phx_pow_web/controllers/page_controller_test.exs
brandedux/phoenix_authentication
a1a5758532a4ece73bfc7319f8c9235b070bd1fe
[ "MIT" ]
null
null
null
test/phx_pow_web/controllers/page_controller_test.exs
brandedux/phoenix_authentication
a1a5758532a4ece73bfc7319f8c9235b070bd1fe
[ "MIT" ]
null
null
null
defmodule PhxPowWeb.PageControllerTest do use PhxPowWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22
60
0.676768
f7dd89eec3dd071c4317e5ef4396e3982e3dfcd9
1,262
ex
Elixir
example/lib/example_web/endpoint.ex
revelrylabs/phoenix_harmonium
41aa64f53fda8af5db0882040e5508d4409996b1
[ "MIT" ]
10
2018-10-03T17:01:35.000Z
2021-12-29T21:13:35.000Z
example/lib/example_web/endpoint.ex
revelrylabs/phoenix_harmonium
41aa64f53fda8af5db0882040e5508d4409996b1
[ "MIT" ]
243
2018-06-13T18:42:35.000Z
2022-03-15T17:18:08.000Z
example/lib/example_web/endpoint.ex
revelrylabs/phoenix_harmonium
41aa64f53fda8af5db0882040e5508d4409996b1
[ "MIT" ]
3
2019-01-08T19:09:28.000Z
2020-05-11T21:01:57.000Z
defmodule ExampleWeb.Endpoint do use Phoenix.Endpoint, otp_app: :example socket "/socket", ExampleWeb.UserSocket, websocket: true, longpoll: false # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest # when deploying your stati...
26.851064
69
0.708399
f7ddb9518aef4f5298d94c58182472e11867ed77
3,830
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/report_floodlight_criteria.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/report_floodlight_criteria.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/report_floodlight_criteria.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...
54.714286
299
0.74752
f7dde6f42ca773ead48c071af5f1f261b1586260
1,899
ex
Elixir
lib/mix/tasks/phoenix/pow.phoenix.gen.templates.ex
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
lib/mix/tasks/phoenix/pow.phoenix.gen.templates.ex
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
lib/mix/tasks/phoenix/pow.phoenix.gen.templates.ex
abartier/pow
58a3d082da093e2dc7f07825a950ee133204813f
[ "Unlicense", "MIT" ]
null
null
null
defmodule Mix.Tasks.Pow.Phoenix.Gen.Templates do @shortdoc "Generates Pow views and templates" @moduledoc """ Generates pow templates for Phoenix. mix pow.phoenix.gen.templates ## Arguments * `--context-app MyApp` app to use for path and module names """ use Mix.Task alias Mix.{Pow, Pow.Pho...
26.375
88
0.662454
f7ddee57a2b30bc5fd0527e0dcd912c76fc62808
1,934
exs
Elixir
test/app_env_test.exs
nate/app_env
a556125a6e3c9661dea0a041e15910137fbf8276
[ "MIT" ]
null
null
null
test/app_env_test.exs
nate/app_env
a556125a6e3c9661dea0a041e15910137fbf8276
[ "MIT" ]
null
null
null
test/app_env_test.exs
nate/app_env
a556125a6e3c9661dea0a041e15910137fbf8276
[ "MIT" ]
null
null
null
defmodule AppEnvTest do use ExUnit.Case # doctest AppEnv setup do Application.put_env(:app_env, :config, %{"foo" => "bar"}) System.put_env("FOO", "1") end test "has a config value" do assert Application.get_env(:app_env, :config) == %{"foo" => "bar"} end test "copies a new value" do :ok...
30.21875
98
0.608583
f7ddff8ec5f7286b86391f37e909e1785fc6236d
1,023
ex
Elixir
lib/phlearn/application.ex
orneryhippo/phlearn
7ef72120c8d4719ef90809f16907b5e98d6c54b1
[ "MIT" ]
null
null
null
lib/phlearn/application.ex
orneryhippo/phlearn
7ef72120c8d4719ef90809f16907b5e98d6c54b1
[ "MIT" ]
null
null
null
lib/phlearn/application.ex
orneryhippo/phlearn
7ef72120c8d4719ef90809f16907b5e98d6c54b1
[ "MIT" ]
null
null
null
defmodule Phlearn.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 Ecto repository ...
31.96875
85
0.713587
f7de2ff36a5cff78c55fae98fd582cb107e2569e
3,166
ex
Elixir
apps/andi/lib/andi/input_schemas/input_converter.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
1
2021-04-05T19:17:18.000Z
2021-04-05T19:17:18.000Z
apps/andi/lib/andi/input_schemas/input_converter.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
11
2020-01-07T15:43:42.000Z
2020-12-22T15:23:25.000Z
apps/andi/lib/andi/input_schemas/input_converter.ex
SmartColumbusOS/smartcitiesdata
c8553d34631c822b034945eebf396994bf1001ff
[ "Apache-2.0" ]
null
null
null
defmodule Andi.InputSchemas.InputConverter do @moduledoc """ Used to convert between SmartCity.Datasets, form data (defined by Andi.InputSchemas.DatasetInput), and Ecto.Changesets. """ alias SmartCity.Dataset alias Andi.InputSchemas.DatasetInput @type dataset :: map() | Dataset.t() @spec changeset_from...
29.867925
121
0.697726
f7de37494bf64859a32cf2157aabd136a60800ef
212
exs
Elixir
priv/repo/migrations/20180914060034_add_role_to_user.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
priv/repo/migrations/20180914060034_add_role_to_user.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
priv/repo/migrations/20180914060034_add_role_to_user.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
defmodule JobBoard.Repo.Migrations.AddRoleToUser do use Ecto.Migration def change do alter table(:users) do add :role_id, references(:roles) end create index(:users, [:role_id]) end end
17.666667
51
0.693396
f7de78ffa0e1ac881fa76515a2b9e11feb297dc2
533
ex
Elixir
lib/usir/server.ex
usir/usir_ex
059cc1679dcdc9defcad17a4aac3492a33e529e5
[ "MIT" ]
null
null
null
lib/usir/server.ex
usir/usir_ex
059cc1679dcdc9defcad17a4aac3492a33e529e5
[ "MIT" ]
null
null
null
lib/usir/server.ex
usir/usir_ex
059cc1679dcdc9defcad17a4aac3492a33e529e5
[ "MIT" ]
null
null
null
defmodule Usir.Server do alias Usir.Message.Client @spec handle_message(Client.message) :: {:ok, atom} | :error def handle_message(message) do case message do %Client.Mount{} -> {:ok, :mount} %Client.Unmount{} -> {:ok, :unmount} %Client.Authenticate{} -> {:ok, :authe...
22.208333
62
0.532833
f7de9343595111b4cf6cc51cb3310a7ec149c8dc
6,526
exs
Elixir
test/plausible_web/controllers/auth_controller_test.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
1
2020-10-08T13:33:04.000Z
2020-10-08T13:33:04.000Z
test/plausible_web/controllers/auth_controller_test.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
null
null
null
test/plausible_web/controllers/auth_controller_test.exs
wvffle/analytics
2c0fd55bc67f74af1fe1e2641678d44e9fee61d5
[ "MIT" ]
null
null
null
defmodule PlausibleWeb.AuthControllerTest do use PlausibleWeb.ConnCase use Bamboo.Test import Plausible.TestUtils describe "GET /register" do test "shows the register form", %{conn: conn} do conn = get(conn, "/register") assert html_response(conn, 200) =~ "Enter your details" end test...
31.52657
96
0.630708
f7de93da603998904781ba9101fbe874ef71ece5
828
ex
Elixir
lib/tapebas_web/controllers/user_registration_controller.ex
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
3
2022-03-24T16:48:38.000Z
2022-03-24T16:50:04.000Z
lib/tapebas_web/controllers/user_registration_controller.ex
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
null
null
null
lib/tapebas_web/controllers/user_registration_controller.ex
cristineguadelupe/tapebas
5f8c70d5ac36b2a606fe4630cc659161b2f4d7bf
[ "MIT" ]
1
2022-03-20T01:11:12.000Z
2022-03-20T01:11:12.000Z
defmodule TapebasWeb.UserRegistrationController do use TapebasWeb, :controller alias Tapebas.Accounts alias Tapebas.Accounts.User alias TapebasWeb.UserAuth def new(conn, _params) do changeset = Accounts.change_user_registration(%User{}) render(conn, "new.html", changeset: changeset) end def cre...
26.709677
58
0.647343
f7deec2563d55e97f4de669e6e1414acc64026e3
1,178
ex
Elixir
lib/cforum/accounts/setting.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum/accounts/setting.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum/accounts/setting.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
defmodule Cforum.Accounts.Setting do use CforumWeb, :model @primary_key {:setting_id, :id, autogenerate: true} @derive {Phoenix.Param, key: :setting_id} schema "settings" do field(:options, :map) belongs_to(:forum, Cforum.Forums.Forum, references: :forum_id) belongs_to(:user, Cforum.Accounts.User,...
29.45
81
0.683362
f7def801f046f85449b417d59716ec52d4dec8d8
3,236
ex
Elixir
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_cloud_orgpolicy_v1_boolean_policy.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_cloud_orgpolicy_v1_boolean_policy.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/cloud_asset/lib/google_api/cloud_asset/v1/model/google_cloud_orgpolicy_v1_boolean_policy.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...
68.851064
1,794
0.761434
f7df0cf309057df5dbffa13d60ec0bb6c3c1af68
5,370
ex
Elixir
lib/fun_land.ex
Qqwy/elixir_fun_land
337a322ea4102e2170557dbee0a77903dba79927
[ "MIT" ]
47
2016-07-10T15:40:21.000Z
2019-04-22T09:41:01.000Z
lib/fun_land.ex
Qqwy/elixir-fun_land
337a322ea4102e2170557dbee0a77903dba79927
[ "MIT" ]
34
2019-08-30T05:27:17.000Z
2022-03-23T18:22:32.000Z
lib/fun_land.ex
Qqwy/elixir_fun_land
337a322ea4102e2170557dbee0a77903dba79927
[ "MIT" ]
3
2016-07-23T16:23:31.000Z
2019-02-03T17:18:47.000Z
defmodule FunLand do @moduledoc """ FunLand defines many different Algebraic Data Types. An Algebraic Data Type is nothing more, than a 'container' for some other data type. Exactly how that 'container' behaves is what makes one ADT different from another. Lists are ADTs. And so are Maps. And Sets. And Tupl...
38.913043
169
0.700559
f7df312c4b7e5bf798fea7088d1b418d12bb8a9b
416
ex
Elixir
lib/client.ex
menuan/fav
49ae04a5a7dbc70fcc8058303c70ca8332bec0e4
[ "MIT" ]
null
null
null
lib/client.ex
menuan/fav
49ae04a5a7dbc70fcc8058303c70ca8332bec0e4
[ "MIT" ]
null
null
null
lib/client.ex
menuan/fav
49ae04a5a7dbc70fcc8058303c70ca8332bec0e4
[ "MIT" ]
null
null
null
defmodule FirebaseAuthVerifier.Client do use Tesla @moduledoc """ A simple Tesla client to request the signing certificate that will be used to verify the signature. """ plug Tesla.Middleware.BaseUrl, Application.get_env(:firebase_auth_verifier, :cert_url) || raise "Base URL has not been set for Fireb...
24.470588
121
0.747596
f7df5563b7c8584a19a73b9b83623a062bbca26d
2,632
ex
Elixir
lib/grizzly/command_class/network_management_installation_maintenance/priority_route_get.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/command_class/network_management_installation_maintenance/priority_route_get.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/command_class/network_management_installation_maintenance/priority_route_get.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.CommandClass.NetworkManagementInstallationMaintenance.PriorityRouteGet do @behaviour Grizzly.Command alias Grizzly.Packet alias Grizzly.Command.{EncodeError, Encoding} alias Grizzly.CommandClass.NetworkManagementInstallationMaintenance @type t :: %__MODULE__{ seq_number: Grizzly....
28
91
0.612082
f7df94f896b02498c05bd015d566264ffd7c091f
1,719
ex
Elixir
clients/health_care/lib/google_api/health_care/v1beta1/model/test_iam_permissions_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/test_iam_permissions_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/health_care/lib/google_api/health_care/v1beta1/model/test_iam_permissions_request.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...
34.38
135
0.741129
f7dfb1cc724fbe92e736674a0ff6ca9a19c83c3a
1,988
exs
Elixir
test/duration_test.exs
slashdotdash/duration
c3afc94ea2a8b113280d1c71fa1c842a52a05197
[ "BSD-3-Clause" ]
2
2020-06-03T16:26:14.000Z
2020-06-04T12:28:06.000Z
test/duration_test.exs
slashdotdash/duration
c3afc94ea2a8b113280d1c71fa1c842a52a05197
[ "BSD-3-Clause" ]
null
null
null
test/duration_test.exs
slashdotdash/duration
c3afc94ea2a8b113280d1c71fa1c842a52a05197
[ "BSD-3-Clause" ]
null
null
null
defmodule DurationTest do use ExUnit.Case doctest Duration test "parse durations" do assert Duration.parse("PT3S") == {:ok, %Duration{seconds: 3}} assert Duration.parse("P3M") == {:ok, %Duration{months: 3}} assert Duration.parse("PT3M") == {:ok, %Duration{minutes: 3}} assert Duration.parse("P123...
39.76
98
0.635312
f7dfc23a3a0bc4e57aa1c63a8bfdbc4242c3a03a
4,563
ex
Elixir
lib/livebook/runtime/mix_standalone.ex
mcrumm/livebook
b1ceedc2205e64348212fbf7edce568cdb084e97
[ "Apache-2.0" ]
1
2021-05-21T22:14:23.000Z
2021-05-21T22:14:23.000Z
lib/livebook/runtime/mix_standalone.ex
mcrumm/livebook
b1ceedc2205e64348212fbf7edce568cdb084e97
[ "Apache-2.0" ]
null
null
null
lib/livebook/runtime/mix_standalone.ex
mcrumm/livebook
b1ceedc2205e64348212fbf7edce568cdb084e97
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Runtime.MixStandalone do defstruct [:node, :primary_pid, :project_path] # A runtime backed by a standalone Elixir node managed by Livebook. # # This runtime is similar to `Livebook.Runtime.ElixirStandalone`, # but the node is started in the context of a Mix project. import Livebook.Runt...
32.133803
97
0.669516
f7dfe8042bcb40d6e91dfec40ab64f362c5bc01a
1,670
ex
Elixir
web/web.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
web/web.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
web/web.ex
mntns/artus
958380f42612ec0bc9d059037cf7b59dfbe1cfa9
[ "MIT" ]
null
null
null
defmodule Artus.Web do @moduledoc """ A module that keeps using definitions for controllers, views and so on. This can be used in your application as: use Artus.Web, :controller use Artus.Web, :view The definitions below will be executed for every view, controller, etc, so keep them short and...
20.365854
88
0.655689
f7e00ca3d1cdefa5b8d2a21aae3fefe452346521
1,527
ex
Elixir
apps/admin_app/lib/admin_app/application.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
1
2021-04-08T22:29:19.000Z
2021-04-08T22:29:19.000Z
apps/admin_app/lib/admin_app/application.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
null
null
null
apps/admin_app/lib/admin_app/application.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
null
null
null
defmodule AdminApp.Application do @moduledoc false use Application alias AdminAppWeb.Endpoint # 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 c...
34.704545
86
0.7315
f7e02267881fcf10e11e7101b79e2f0187d7b415
518
ex
Elixir
apps/engine/lib/engine/ethereum/authority/submitter/core.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/engine/lib/engine/ethereum/authority/submitter/core.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/engine/lib/engine/ethereum/authority/submitter/core.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule Engine.Ethereum.Authority.Submitter.Core do @moduledoc """ Submission + Ethereum logic """ @doc """ Plasma contracts give us the next mined plasma block number, but we're insterested in the current block number. The last mined block is the difference between the next childblock minus ...
32.375
94
0.739382
f7e02455a28c4da7b85c19a6afbf7b848f8658ab
1,464
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/unqualified_no_parentheses_many_arguments_call_parsing_test_case/StringHeredoc.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/unqualified_no_parentheses_many_arguments_call_parsing_test_case/StringHeredoc.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_dot_operator_call_operation/unqualified_no_parentheses_many_arguments_call_parsing_test_case/StringHeredoc.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
""" String Heredoc """.and unqualified positional, key: value """ String Heredoc """.&& unqualified positional, key: value """ String Heredoc """.|> unqualified positional, key: value """ String Heredoc """.@ unqualified positional, key: value """ String Heredoc """.& unqualified positional, key: value """ String Hered...
15.092784
44
0.702869
f7e05d329a6b59e0ed8ddc25151cc2135bef2585
4,600
ex
Elixir
lib/twirp.ex
daskycodes/twirp-elixir
51b701111a3b33601980703417388cd099dc7e44
[ "Apache-2.0" ]
30
2019-11-03T16:30:13.000Z
2020-06-23T19:38:53.000Z
lib/twirp.ex
daskycodes/twirp-elixir
51b701111a3b33601980703417388cd099dc7e44
[ "Apache-2.0" ]
16
2020-03-13T17:56:16.000Z
2020-06-11T10:40:02.000Z
lib/twirp.ex
daskycodes/twirp-elixir
51b701111a3b33601980703417388cd099dc7e44
[ "Apache-2.0" ]
3
2019-12-05T16:43:15.000Z
2020-05-11T21:34:44.000Z
defmodule Twirp do @moduledoc """ Twirp provides an elixir implementation of the [twirp rpc framework](https://github.com/twitchtv/twirp) developed by Twitch. The protocol defines semantics for routing and serialization of RPCs based on protobufs. ## Example The canonical Twirp example is a Haberdasher se...
25
129
0.66587
f7e06679888ee7553ecfae22fb531b70cf3fae88
3,619
ex
Elixir
lib/shex/shape_expressions/node_constraint/numeric_facets.ex
rdf-elixir/shex-ex
84100ab3dfcf3988b2b90289a8e4fbeb9f4d1516
[ "MIT" ]
4
2020-06-06T15:09:16.000Z
2021-03-22T19:46:30.000Z
lib/shex/shape_expressions/node_constraint/numeric_facets.ex
rdf-elixir/shex-ex
84100ab3dfcf3988b2b90289a8e4fbeb9f4d1516
[ "MIT" ]
null
null
null
lib/shex/shape_expressions/node_constraint/numeric_facets.ex
rdf-elixir/shex-ex
84100ab3dfcf3988b2b90289a8e4fbeb9f4d1516
[ "MIT" ]
null
null
null
defmodule ShEx.NodeConstraint.NumericFacets do @moduledoc false defstruct ~w[mininclusive minexclusive maxinclusive maxexclusive totaldigits fractiondigits]a alias RDF.{Literal, XSD} def new(xs_facets) do xs_facets_with_literals = Map.new(xs_facets, fn {key, value} when key in ~w[mininclusi...
33.82243
164
0.709865
f7e085c660993b30e47f7cdee7d58cd987d5aec7
1,357
ex
Elixir
lib/codewar/application.ex
hanam1ni/codewar-web
0d7c46ac32d85b1d76c604226e0f3d6f2b76b0ad
[ "MIT" ]
null
null
null
lib/codewar/application.ex
hanam1ni/codewar-web
0d7c46ac32d85b1d76c604226e0f3d6f2b76b0ad
[ "MIT" ]
null
null
null
lib/codewar/application.ex
hanam1ni/codewar-web
0d7c46ac32d85b1d76c604226e0f3d6f2b76b0ad
[ "MIT" ]
null
null
null
defmodule Codewar.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do topologies = [ codewar: [ strategy: Cluster.Strategy.DNSPoll, config: [ polling_interva...
28.87234
75
0.671334
f7e0a8be68d7d325d159b8e4f7af3e9632798bb4
767
ex
Elixir
lib/afk/keycode.ex
doughsay/afk
9b7f55c98aa8c52dee3f134cef112c1361fe75f4
[ "MIT" ]
4
2019-12-10T21:27:06.000Z
2020-01-26T03:07:43.000Z
lib/afk/keycode.ex
doughsay/afk
9b7f55c98aa8c52dee3f134cef112c1361fe75f4
[ "MIT" ]
46
2019-12-13T05:46:08.000Z
2020-10-29T13:07:40.000Z
lib/afk/keycode.ex
nerves-keyboard/afk
9b7f55c98aa8c52dee3f134cef112c1361fe75f4
[ "MIT" ]
1
2020-01-02T13:35:03.000Z
2020-01-02T13:35:03.000Z
defmodule AFK.Keycode do @moduledoc """ A keycode represents a key that when pressed affects the keyboard state in some way. The currently supported keycode types are: * `AFK.Keycode.Key` - A basic keyboard key * `AFK.Keycode.KeyLock` - A key that allows locking other keys * `AFK.Keycode.Layer` - A key ...
34.863636
100
0.688396
f7e0dbf98075df18d15c37fe10e93507f4bc3ae6
2,869
ex
Elixir
lib/macchinista/accounts.ex
themaxhero/Machinista
2e0114dbbc69fc8187b3ed080de694ac4f558ae8
[ "BSD-2-Clause" ]
1
2019-12-16T10:22:07.000Z
2019-12-16T10:22:07.000Z
lib/macchinista/accounts.ex
themaxhero/Machinista
2e0114dbbc69fc8187b3ed080de694ac4f558ae8
[ "BSD-2-Clause" ]
2
2021-03-10T06:56:47.000Z
2021-05-11T02:41:32.000Z
lib/macchinista/accounts.ex
themaxhero/Macchinista
2e0114dbbc69fc8187b3ed080de694ac4f558ae8
[ "BSD-2-Clause" ]
null
null
null
defmodule Macchinista.Accounts do @moduledoc """ The Accounts context. """ import Ecto.Query, warn: false alias Macchinista.Repo alias Macchinista.Accounts.{User, Session} alias Session.Query, as: SessionQuery @token_secret Application.get_env(:macchinista, :token_secret) @doc """ Returns the lis...
20.640288
68
0.584524
f7e0e259a18811070fdcbc5773d1653e2f6a67f9
3,365
exs
Elixir
test/order_test.exs
aforward/acme_ex
f199943be6a75e0e4672a64dc4820dfc15abf330
[ "MIT" ]
1
2020-02-01T19:30:44.000Z
2020-02-01T19:30:44.000Z
test/order_test.exs
aforward/acme_ex
f199943be6a75e0e4672a64dc4820dfc15abf330
[ "MIT" ]
null
null
null
test/order_test.exs
aforward/acme_ex
f199943be6a75e0e4672a64dc4820dfc15abf330
[ "MIT" ]
null
null
null
defmodule AcmeEx.OrderTest do use ExUnit.Case, async: false alias AcmeEx.{Account, Order, Nonce} @config %{site: "http://localhost:9999"} test "new" do account = Account.new("abc124") order_id = Nonce.next() expected = %{ id: order_id, status: :pending, cert: nil, domains:...
30.315315
98
0.53997
f7e0e4330f157cba8b04eda867332f641a1f9c05
1,955
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_list_job_triggers_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_list_job_triggers_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_list_job_triggers_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "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 ...
38.333333
177
0.753964
f7e1057265b3deb25857b64f0605fdae2cf280cc
4,575
ex
Elixir
farmbot_firmware/lib/farmbot_firmware/request.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_firmware/lib/farmbot_firmware/request.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
farmbot_firmware/lib/farmbot_firmware/request.ex
adamswsk/farmbot_os
d177d3b74888c1e7bcbf8f8595818708ee97f73b
[ "MIT" ]
null
null
null
defmodule FarmbotFirmware.Request do @moduledoc false # sister module to FarmbotFirmware.Command # see docs for FarmbotFirmware.request/1 alias FarmbotFirmware alias FarmbotFirmware.GCODE @spec request(GenServer.server(), GCODE.t()) :: {:ok, GCODE.t()} | {:error, :invalid...
28.240741
80
0.616831
f7e130d4ca576e5138e2afa2cf005c978932efb3
2,197
exs
Elixir
config/prod.exs
thomasvolk/lighthouse
566f4029a1ef1e5863e45b7f9b1b7afa914980ec
[ "Apache-2.0" ]
null
null
null
config/prod.exs
thomasvolk/lighthouse
566f4029a1ef1e5863e45b7f9b1b7afa914980ec
[ "Apache-2.0" ]
null
null
null
config/prod.exs
thomasvolk/lighthouse
566f4029a1ef1e5863e45b7f9b1b7afa914980ec
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # LighthouseWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # #...
33.287879
67
0.723259
f7e13a41126a3f643c707748b3f0c5b2de41c1fa
14,299
exs
Elixir
test/validation/point_point_a_test.exs
codabrink/topo
f1ca4b7fe337a67285ee4c65a34fb521b119342c
[ "MIT" ]
110
2016-05-05T21:09:19.000Z
2022-03-08T05:22:16.000Z
test/validation/point_point_a_test.exs
codabrink/topo
f1ca4b7fe337a67285ee4c65a34fb521b119342c
[ "MIT" ]
15
2016-12-01T00:32:11.000Z
2022-01-18T13:56:37.000Z
test/validation/point_point_a_test.exs
codabrink/topo
f1ca4b7fe337a67285ee4c65a34fb521b119342c
[ "MIT" ]
24
2016-09-19T20:06:50.000Z
2021-06-16T06:41:10.000Z
defmodule Intersect.Validation.PointPointATest do use ExUnit.Case @tag :validation test "01-001 - P/P: same point" do a = "POINT (20 20)" |> Geo.WKT.decode!() b = "POINT (20 20)" |> Geo.WKT.decode!() assert Topo.intersects?(a, b) == true assert Topo.intersects?(b, a) == true assert Topo.disj...
36.291878
100
0.598224
f7e14c18b69026f8a1acfbc60099de59fe362a08
640
ex
Elixir
lib/mix/tasks/pandoc/update_infos.ex
dmitriid/panpipe
c93a189dd8aa40a3cef4d9fac5830268682df9eb
[ "MIT" ]
24
2019-08-19T02:53:06.000Z
2022-03-13T14:41:08.000Z
lib/mix/tasks/pandoc/update_infos.ex
dmitriid/panpipe
c93a189dd8aa40a3cef4d9fac5830268682df9eb
[ "MIT" ]
4
2020-04-02T02:05:52.000Z
2022-03-18T00:56:23.000Z
lib/mix/tasks/pandoc/update_infos.ex
dmitriid/panpipe
c93a189dd8aa40a3cef4d9fac5830268682df9eb
[ "MIT" ]
2
2019-10-28T15:38:47.000Z
2021-03-24T17:43:27.000Z
defmodule Mix.Tasks.Pandoc.UpdateInfos do @moduledoc false use Mix.Task alias Panpipe.Pandoc @shortdoc "Updates the information about the supported features of Pandoc." def run(_) do Mix.Shell.IO.cmd "pandoc --list-extensions > #{Pandoc.extensions_file()}" Mix.Shell.IO.cmd "pandoc --list-highlight-...
37.647059
95
0.726563
f7e170eed2c0fd48e492a7a82fca339e78da9a7d
1,805
exs
Elixir
farmbot_firmware/mix.exs
va2ron1/farmbot_os
c80a38058713adc2ad91a4802664bcfe8da9d96c
[ "MIT" ]
null
null
null
farmbot_firmware/mix.exs
va2ron1/farmbot_os
c80a38058713adc2ad91a4802664bcfe8da9d96c
[ "MIT" ]
null
null
null
farmbot_firmware/mix.exs
va2ron1/farmbot_os
c80a38058713adc2ad91a4802664bcfe8da9d96c
[ "MIT" ]
null
null
null
defmodule FarmbotFirmware.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() defp arduino_commit do...
28.203125
80
0.569529
f7e1b829b987cff39298451077f6ef72daedf385
793
exs
Elixir
test/fixtures/umbrella/apps/api/mix.exs
snyk/mix-parser
1816912559529b41919f1ccee09dcf79aad3548d
[ "Apache-2.0" ]
2
2021-05-14T04:31:05.000Z
2022-02-07T19:03:54.000Z
test/fixtures/umbrella/apps/api/mix.exs
snyk/snyk-hex-plugin
1f4db02fe247c984b694957663e50d43362947b0
[ "Apache-2.0" ]
2
2021-04-29T08:07:22.000Z
2022-02-28T22:48:46.000Z
test/fixtures/umbrella/apps/api/mix.exs
snyk/mix-parser
1816912559529b41919f1ccee09dcf79aad3548d
[ "Apache-2.0" ]
2
2021-06-30T23:41:25.000Z
2021-10-07T22:06:25.000Z
defmodule Api.Mixfile do use Mix.Project def project do [ app: :api, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env)...
20.868421
56
0.532156
f7e20286612f591e6d8447c4d9e10558879f0ea7
525
ex
Elixir
apps/extended_api/lib/extended_api_web/views/command_view.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
19
2019-09-17T18:14:36.000Z
2021-12-06T07:29:27.000Z
apps/extended_api/lib/extended_api_web/views/command_view.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
5
2019-09-30T04:57:14.000Z
2020-11-10T15:41:03.000Z
apps/extended_api/lib/extended_api_web/views/command_view.ex
iotaledger/chronicle
73566e5613268e4b0c5951265ae4760cedb4051f
[ "Apache-2.0" ]
2
2019-09-17T19:03:16.000Z
2021-03-01T01:04:31.000Z
defmodule ExtendedApiWeb.CommandView do use ExtendedApiWeb, :view @derive Jason.Encoder def render("getTrytes.json", %{trytes: trytes}) do %{trytes: trytes} end def render("bundles.json", %{hashes: hashes}) do %{hashes: hashes} end def render("addresses.json", %{hashes: hashes, hints: hints}) ...
19.444444
66
0.651429
f7e22f2ac404eb1c68c8aea5fcf72058ec8abe13
663
ex
Elixir
lib/packages_bot/melpa/client.ex
thiamsantos/melpa_telegram_bot
f71b4c4d6dec3dbfa1f137a0acb39cb02e72162f
[ "Apache-2.0" ]
4
2019-04-12T23:24:20.000Z
2019-04-17T12:18:12.000Z
lib/packages_bot/melpa/client.ex
thiamsantos/melpa_telegram_bot
f71b4c4d6dec3dbfa1f137a0acb39cb02e72162f
[ "Apache-2.0" ]
7
2019-04-17T12:16:41.000Z
2019-04-24T23:34:01.000Z
lib/packages_bot/melpa/client.ex
thiamsantos/melpa_telegram_bot
f71b4c4d6dec3dbfa1f137a0acb39cb02e72162f
[ "Apache-2.0" ]
1
2019-04-13T13:37:18.000Z
2019-04-13T13:37:18.000Z
defmodule PackagesBot.Melpa.Client do use Tesla plug Tesla.Middleware.BaseUrl, "https://melpa.org" plug Tesla.Middleware.Headers, [{"user-agent", "Melpa telegram bot"}] plug PackagesBot.TeslaLogger, marker: inspect(__MODULE__) plug Tesla.Middleware.JSON def archive do case get("archive.json") do ...
28.826087
72
0.656109
f7e2454a500292a972ed0384550dc0acf8f74ffb
751
ex
Elixir
lib/toy.ex
bconnes/arcgis
cfe9dd53cb58dac30f0d64ee2c4ad3661e866c50
[ "MIT" ]
null
null
null
lib/toy.ex
bconnes/arcgis
cfe9dd53cb58dac30f0d64ee2c4ad3661e866c50
[ "MIT" ]
null
null
null
lib/toy.ex
bconnes/arcgis
cfe9dd53cb58dac30f0d64ee2c4ad3661e866c50
[ "MIT" ]
null
null
null
defmodule Toy do use GenServer def store(key, value) do GenServer.cast(__MODULE__, {:store, key, value}) end def get(key) do GenServer.call(__MODULE__, {:get, key}) end def start_link, do: GenServer.start_link(__MODULE__, :ok, [name: Toy]) def init(_args) do starting_state = %{ key_v...
19.25641
72
0.6498
f7e283b201ff743641d7f828c77010da88320b47
180
exs
Elixir
test/tenancy_model_test.exs
wise-home/wise_homex
851f13191ed67acb1003888c12f4e6b71800d31b
[ "MIT" ]
2
2019-03-14T09:09:14.000Z
2020-11-25T06:44:46.000Z
test/tenancy_model_test.exs
wise-home/wise_homex
851f13191ed67acb1003888c12f4e6b71800d31b
[ "MIT" ]
139
2019-03-14T06:58:55.000Z
2022-03-29T12:28:09.000Z
test/tenancy_model_test.exs
wise-home/wise_homex
851f13191ed67acb1003888c12f4e6b71800d31b
[ "MIT" ]
7
2021-04-09T13:55:45.000Z
2021-04-16T15:49:36.000Z
defmodule WiseHomex.TenancyModelTest do @moduledoc false use WiseHomex.Test.Case, async: true import WiseHomex.Tenancy, only: [sort_date: 1] doctest WiseHomex.Tenancy end
22.5
48
0.783333
f7e2ce163af9b57cf4a57280362cdb1fbd1784e3
2,740
ex
Elixir
lib/blockquote_web/controllers/daily_quote_controller.ex
allen-garvey/block-quote-phoenix
5c0f5d16daf6bb515a8f1846c3e4311b368a7bdb
[ "MIT" ]
null
null
null
lib/blockquote_web/controllers/daily_quote_controller.ex
allen-garvey/block-quote-phoenix
5c0f5d16daf6bb515a8f1846c3e4311b368a7bdb
[ "MIT" ]
1
2020-09-05T17:07:13.000Z
2020-09-05T17:07:13.000Z
lib/blockquote_web/controllers/daily_quote_controller.ex
allen-garvey/block-quote-phoenix
5c0f5d16daf6bb515a8f1846c3e4311b368a7bdb
[ "MIT" ]
null
null
null
defmodule BlockquoteWeb.DailyQuoteController do use BlockquoteWeb, :controller alias Blockquote.Admin alias Blockquote.Admin.DailyQuote def custom_render(conn, template, assigns) do custom_render(conn, view_module(conn), template, assigns) end def custom_render(conn, view_module, template, assigns) d...
33.012048
140
0.69854
f7e333de8c3d49ed3458d36949f86763ba9eb5c4
4,980
ex
Elixir
lib/smppex/mc.ex
desoulter/smppex
1c8dbd9673291431b2d329a2cb20134c91857af2
[ "MIT" ]
null
null
null
lib/smppex/mc.ex
desoulter/smppex
1c8dbd9673291431b2d329a2cb20134c91857af2
[ "MIT" ]
null
null
null
lib/smppex/mc.ex
desoulter/smppex
1c8dbd9673291431b2d329a2cb20134c91857af2
[ "MIT" ]
null
null
null
defmodule SMPPEX.MC do @moduledoc """ This is a module for launching a TCP listener (or any other listener supported by `ranch`, for example, `ssl`) which handles incoming connections with the passed `SMPPEX.Session` implementations. To start an MC one generally should do the following. 1. Implement an `SMPPE...
44.864865
293
0.705622
f7e36b9bc74f5f66189afe95e4d1bd11f77c1c34
2,380
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p5beta1_input_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p5beta1_input_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p5beta1_input_config.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
40.338983
171
0.740756
f7e372e0896063659585da2725c97a821829943f
1,100
exs
Elixir
mix.exs
wesleimp/humanizex
ba459d3b9f8f92b3900fd618ca3ce5920259d559
[ "MIT" ]
null
null
null
mix.exs
wesleimp/humanizex
ba459d3b9f8f92b3900fd618ca3ce5920259d559
[ "MIT" ]
null
null
null
mix.exs
wesleimp/humanizex
ba459d3b9f8f92b3900fd618ca3ce5920259d559
[ "MIT" ]
null
null
null
defmodule Humanizex.MixProject do use Mix.Project @version "0.1.0" @source_url "https://github.com/wesleimp/humanizex" def project do [ app: :humanizex, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, description: "A simple library for making the web...
20
70
0.563636
f7e3824c1c89caf57bb588aa1f606ba6023653fe
1,139
exs
Elixir
mix.exs
wundercar/paytm
378ce47ae68588b80a60098f84ea50eb380cf7de
[ "MIT" ]
2
2017-11-10T14:57:02.000Z
2018-01-30T04:53:11.000Z
mix.exs
wundercar/paytm
378ce47ae68588b80a60098f84ea50eb380cf7de
[ "MIT" ]
2
2019-04-16T12:55:01.000Z
2020-08-25T15:17:52.000Z
mix.exs
wundercar/paytm
378ce47ae68588b80a60098f84ea50eb380cf7de
[ "MIT" ]
null
null
null
defmodule Paytm.Mixfile do use Mix.Project def project do [ app: :paytm, version: "0.8.2", elixir: "~> 1.5", start_permanent: Mix.env() == :prod, deps: deps(), elixirc_paths: elixirc_paths(Mix.env()), package: package(), aliases: aliases(), description: "Pa...
20.709091
97
0.524144
f7e391fbfd12a356b47adc6f6df089acf04a962b
2,260
ex
Elixir
exrack_firmware/lib/exrack_firmware/dht.ex
jirimakarius/exrack
e499ea62f61000463360adb6b2b7a9ce9695467f
[ "MIT" ]
null
null
null
exrack_firmware/lib/exrack_firmware/dht.ex
jirimakarius/exrack
e499ea62f61000463360adb6b2b7a9ce9695467f
[ "MIT" ]
null
null
null
exrack_firmware/lib/exrack_firmware/dht.ex
jirimakarius/exrack
e499ea62f61000463360adb6b2b7a9ce9695467f
[ "MIT" ]
null
null
null
defmodule ExRack.DHT do @moduledoc false use GenServer @period 10_000 # Client def start_link(state) do GenServer.start_link(__MODULE__, state, name: __MODULE__) end def config do Application.fetch_env!(:exrack_firmware, ExRack.DHT) |> Map.new() end def temperature do GenServer.c...
23.061224
99
0.625664
f7e3cae62aab95169ebe13176e4749bbdd72e03d
748
ex
Elixir
lib/sir_alex_web/views/group_view.ex
dnsbty/sir_alex
ab569dc7692826411877728444eaa00ec05767c2
[ "MIT" ]
3
2019-05-19T05:27:37.000Z
2020-04-21T06:23:08.000Z
lib/sir_alex_web/views/group_view.ex
dnsbty/sir_alex
ab569dc7692826411877728444eaa00ec05767c2
[ "MIT" ]
3
2017-10-28T20:52:07.000Z
2017-11-24T08:15:27.000Z
lib/sir_alex_web/views/group_view.ex
dnsbty/sir_alex
ab569dc7692826411877728444eaa00ec05767c2
[ "MIT" ]
1
2020-04-15T16:31:28.000Z
2020-04-15T16:31:28.000Z
defmodule SirAlexWeb.GroupView do use SirAlexWeb, :view alias SirAlex.Groups.Group def action_button(conn, %Group{is_private?: false} = group, false) do join_button("Join Group", conn, group) end def action_button(conn, %Group{is_private?: true} = group, false) do join_button("Request to Join Group",...
25.793103
71
0.656417
f7e3e20c9ccc645eec3180675d8fd995be6d55ba
265
ex
Elixir
lib/chat_api/repo.ex
vbrazo/chat_elixir_api
f2595d123934014b3a7c1b3b63b987fa3df5b3ad
[ "MIT" ]
2
2021-04-30T08:30:26.000Z
2021-04-30T16:20:39.000Z
lib/chat_api/repo.ex
vbrazo/chat_elixir_api
f2595d123934014b3a7c1b3b63b987fa3df5b3ad
[ "MIT" ]
null
null
null
lib/chat_api/repo.ex
vbrazo/chat_elixir_api
f2595d123934014b3a7c1b3b63b987fa3df5b3ad
[ "MIT" ]
null
null
null
defmodule ChatApi.Repo do use Ecto.Repo, otp_app: :chat_api @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
22.083333
66
0.698113
f7e3e48b3e37c3926c625f5899d61c1b822416fe
1,135
ex
Elixir
larc_website/test/support/channel_case.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
null
null
null
larc_website/test/support/channel_case.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
null
null
null
larc_website/test/support/channel_case.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
1
2020-05-22T19:21:24.000Z
2020-05-22T19:21:24.000Z
defmodule LarcWebsiteWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interac...
27.682927
73
0.73304
f7e3f3c4dfa4545a5bc062bf2ccb779db91594e3
3,536
ex
Elixir
lib/ref_web/router.ex
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
lib/ref_web/router.ex
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
lib/ref_web/router.ex
tk04/ref
6547a58344141e09300284943264dfe02f1e84f3
[ "MIT" ]
null
null
null
defmodule RefWeb.Router do use RefWeb, :router use PowAssent.Phoenix.Router use Pow.Phoenix.Router use Pow.Extension.Phoenix.Router, extensions: [PowExtensionOne, PowExtensionTwo] pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layou...
29.714286
70
0.692873
f7e3fda42bd937bddf8d40a917c89ffff165f666
1,825
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/list_locations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/list_locations_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_tasks/lib/google_api/cloud_tasks/v2beta2/model/list_locations_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...
36.5
171
0.742466
f7e41164b29c92469d3b334beb04a4487923369b
9,497
ex
Elixir
lib/web/router/router.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
1
2020-08-27T18:43:11.000Z
2020-08-27T18:43:11.000Z
lib/web/router/router.ex
IvanPereyra-23/PaaS
0179c7b57645473308b0a295a70b6284ed220fbf
[ "Apache-2.0" ]
null
null
null
lib/web/router/router.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. defmodule Antikythera.Router do @moduledoc """ Defines the antikythera routing DSL. ## Routing macros This module defines macros to be used in each gear's Router module. The names of the macros are the same as the HTTP verbs: `get`, `post`, etc...
42.208889
139
0.710119
f7e454ea5f4b916a670325f06fdeccd2f458d73e
2,547
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/segment.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/segment.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics/lib/google_api/analytics/v3/model/segment.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.873239
134
0.654888
f7e498499ee512c115a6a388217f4712b37de09e
15,102
exs
Elixir
test/phoenix_live_view/integrations/params_test.exs
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/params_test.exs
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
null
null
null
test/phoenix_live_view/integrations/params_test.exs
feliperenan/phoenix_live_view
af65bb51fe12ea88e7c66808d2b1118e1c491ddd
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.ParamsTest do # Telemetry events need to run asynchronously use ExUnit.Case, async: false import Plug.Conn import Phoenix.ConnTest import Phoenix.LiveViewTest import Phoenix.LiveView.TelemetryTestHelpers alias Phoenix.LiveView alias Phoenix.LiveViewTest.{Endpoint, DOM} @...
36.302885
107
0.584823
f7e4c857770cec3ccd3629b022f112181d8365bc
1,379
ex
Elixir
lib/rasa_sdk/model/tracker.ex
henry-hz/rasa-sdk-elixir
575a57a32b322eb5647bac67bd88e0e03f36685e
[ "Apache-2.0" ]
3
2020-06-18T11:26:33.000Z
2021-04-19T18:05:42.000Z
lib/rasa_sdk/model/tracker.ex
henry-hz/rasa-sdk-elixir
575a57a32b322eb5647bac67bd88e0e03f36685e
[ "Apache-2.0" ]
null
null
null
lib/rasa_sdk/model/tracker.ex
henry-hz/rasa-sdk-elixir
575a57a32b322eb5647bac67bd88e0e03f36685e
[ "Apache-2.0" ]
3
2020-06-15T22:16:56.000Z
2021-02-04T01:10:35.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 RasaSdk.Model.Tracker do @moduledoc """ Conversation tracker which stores the conversation state. """ alias RasaSdk.Model.ParseResult alias ...
27.039216
91
0.705584
f7e4dd7e1638d590efb27e9a5969d40b0b6d3d1f
15,862
ex
Elixir
lib/amqp/basic/async.ex
neggertz/subscribex
5f40b06a514108dbdc42b4d7a166b7f4aa19e693
[ "Unlicense" ]
22
2016-08-11T11:51:13.000Z
2020-01-12T17:22:11.000Z
lib/amqp/basic/async.ex
neggertz/subscribex
5f40b06a514108dbdc42b4d7a166b7f4aa19e693
[ "Unlicense" ]
7
2016-10-04T19:26:14.000Z
2018-12-15T19:18:43.000Z
lib/amqp/basic/async.ex
neggertz/subscribex
5f40b06a514108dbdc42b4d7a166b7f4aa19e693
[ "Unlicense" ]
14
2016-08-09T14:27:57.000Z
2021-04-01T20:18:43.000Z
defmodule AMQP.Basic.Async do @moduledoc false import AMQP.Core alias AMQP.Utils alias AMQP.Channel @doc """ Publishes a message to an Exchange. This method publishes a message to a specific exchange. The message will be routed to queues as defined by the exchange configuration and distributed to any...
36.132118
129
0.630185
f7e4fc70c20f5ce2c5a791061282b45fe0fd894c
10,757
ex
Elixir
lib/mix/lib/mix/utils.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/mix/lib/mix/utils.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/utils.ex
enokd/elixir
e39b32f235082b8a29fcb22d250c822cca98609f
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Utils do @moduledoc """ Utilities used throughout Mix and tasks. """ @doc """ Get the mix home. It defaults to `~/.mix` unless the `MIX_HOME` environment variable is set. """ def mix_home do System.get_env("MIX_HOME") || Path.expand("~/.mix") end @doc """ Get all paths defin...
25.192037
98
0.618667
f7e511ab31571f23d9076bbc438d7b5e7b85e4e2
3,332
ex
Elixir
lib/intcode.ex
eldemonstro/AdventOfCode2019Elixir
a047a5085a906b7d78ce4f3c8a26904415616f2c
[ "MIT" ]
null
null
null
lib/intcode.ex
eldemonstro/AdventOfCode2019Elixir
a047a5085a906b7d78ce4f3c8a26904415616f2c
[ "MIT" ]
null
null
null
lib/intcode.ex
eldemonstro/AdventOfCode2019Elixir
a047a5085a906b7d78ce4f3c8a26904415616f2c
[ "MIT" ]
null
null
null
defmodule IntCode do @moduledoc """ Executes the intcode """ def sum(x, y) do {x + y, 4} end def mul(x, y) do {x * y, 4} end def less_than(x, y) do {(if x < y, do: 1, else: 0), 4} end def equals(x, y) do {(if x == y, do: 1, else: 0), 4} end def parse_program(program) do p...
30.018018
127
0.618848
f7e511fdbe76d4277fb9bb4f412f390a2c879275
950
ex
Elixir
lib/bot_ex/helpers/user_actions.ex
bot-ex/bot_ex
7f28464723187ef415b5e6926e4c48e2ace50fad
[ "MIT" ]
20
2020-04-10T11:25:47.000Z
2021-11-08T08:03:22.000Z
lib/bot_ex/helpers/user_actions.ex
bot-ex/botex
7f28464723187ef415b5e6926e4c48e2ace50fad
[ "MIT" ]
1
2020-07-21T08:01:50.000Z
2020-07-22T17:53:00.000Z
lib/bot_ex/helpers/user_actions.ex
bot-ex/botex
7f28464723187ef415b5e6926e4c48e2ace50fad
[ "MIT" ]
2
2020-04-11T11:12:03.000Z
2020-07-21T07:37:55.000Z
defmodule BotEx.Helpers.UserActions do @moduledoc """ User actions interacting functions """ alias BotEx.Models.Message @doc """ Find the last user action ## Parameters: - u_id: user id """ @spec get_last_call(integer | binary) :: Message.t() def get_last_call(u_id) when is_binary(u_id), do: Str...
29.6875
119
0.672632
f7e52568f5a4ff41add48baf084f99c6cb7d61cd
791
exs
Elixir
mix.exs
topfreegames/vernemq_redis_auth_plugin
2e447fb17827820fec271081e0e748571c2ce378
[ "MIT" ]
3
2017-07-25T13:59:13.000Z
2017-11-26T04:34:42.000Z
mix.exs
topfreegames/vernemq_redis_auth_plugin
2e447fb17827820fec271081e0e748571c2ce378
[ "MIT" ]
null
null
null
mix.exs
topfreegames/vernemq_redis_auth_plugin
2e447fb17827820fec271081e0e748571c2ce378
[ "MIT" ]
null
null
null
defmodule RedisAuthPlugin.Mixfile do use Mix.Project def project do [app: :redis_auth_plugin, version: "0.1.1", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end defp vmq_plugin_hooks do hooks = [ {RedisAuthPlugin, :...
20.815789
53
0.5689
f7e543ac9bf9a2c72ec4f659e08e0471146dbe86
1,121
exs
Elixir
config/config.exs
lukeledet/ex_selfie
c097b039f29e77f69e89cb564662bf280b2e772f
[ "MIT" ]
1
2020-01-26T06:02:33.000Z
2020-01-26T06:02:33.000Z
config/config.exs
lukeledet/ex_selfie
c097b039f29e77f69e89cb564662bf280b2e772f
[ "MIT" ]
1
2018-03-02T21:18:12.000Z
2018-03-02T21:18:12.000Z
config/config.exs
lukeledet/ex_selfie
c097b039f29e77f69e89cb564662bf280b2e772f
[ "MIT" ]
1
2018-03-02T17:52:18.000Z
2018-03-02T17:52:18.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.16129
73
0.751115
f7e546a114e7ba8e8e3458b257fe745979ec9c2e
1,939
ex
Elixir
test/support/shop.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
1
2019-02-10T10:22:39.000Z
2019-02-10T10:22:39.000Z
test/support/shop.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
test/support/shop.ex
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
defmodule Test.Game.Shop do alias Data.Item alias Data.Shop def start_link() do Agent.start_link(fn () -> %{shop: _shop()} end, name: __MODULE__) end def _shop() do %Shop{ name: "Tree Stand Shop", } end def set_shop(shop) do start_link() Agent.update(__MODULE__, fn (state) -> ...
25.853333
102
0.619391
f7e55f3bd0442889fbbebe447f69905cb7e6278e
1,272
ex
Elixir
lib/prima_auth0_ex/telemetry.ex
primait/auth0_ex
15ef5d6d91d8fe00ff703a4f58e1cb32bb169a82
[ "MIT" ]
5
2021-12-01T10:50:40.000Z
2022-02-15T13:07:02.000Z
lib/prima_auth0_ex/telemetry.ex
primait/auth0_ex
15ef5d6d91d8fe00ff703a4f58e1cb32bb169a82
[ "MIT" ]
11
2021-12-22T09:19:28.000Z
2022-03-24T06:15:04.000Z
lib/prima_auth0_ex/telemetry.ex
primait/auth0_ex
15ef5d6d91d8fe00ff703a4f58e1cb32bb169a82
[ "MIT" ]
null
null
null
defmodule PrimaAuth0Ex.Telemetry do @moduledoc """ A pre-defined module which sets up telemetry with a given reporter """ alias PrimaAuth0Ex.Telemetry.Handler @auth0_handler_id "auth0-handler" def setup do reporter = telemetry_reporter() if reporter != nil do :ok = :telemetry.attac...
27.06383
107
0.654874
f7e564ca71193238797a0b16e57eae0b3376641c
3,913
exs
Elixir
test/radiator_web/graphql/public/schema/query/episodes_test.exs
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
test/radiator_web/graphql/public/schema/query/episodes_test.exs
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
test/radiator_web/graphql/public/schema/query/episodes_test.exs
djschilling/radiator
382e22904d7e400a8ffba54e9ddfd2845bc2b623
[ "MIT" ]
null
null
null
defmodule RadiatorWeb.GraphQL.Public.Schema.Query.EpisodesTest do use RadiatorWeb.ConnCase, async: true import Radiator.Factory alias Radiator.Directory.Episode alias Radiator.Media @single_query """ query ($id: ID!) { publishedEpisode(id: $id) { id title enclosure { length ...
25.245161
91
0.49885
f7e5715f81f559a88eab4f3fbd0ec43a14d561a0
2,824
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/city.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/city.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/city.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.774648
154
0.672805
f7e572f2f964da8b3af01848322ce2290f1886f9
1,404
ex
Elixir
test/support/data_case.ex
sb8244/ecto_tenancy_enforcer
7dac523d0560ec4a57bcf3800b788d312d70d6e6
[ "MIT" ]
36
2019-12-30T23:02:59.000Z
2022-03-26T14:38:41.000Z
test/support/data_case.ex
sb8244/ecto_tenancy_enforcer
7dac523d0560ec4a57bcf3800b788d312d70d6e6
[ "MIT" ]
1
2021-01-13T05:01:04.000Z
2021-01-13T05:01:04.000Z
test/support/data_case.ex
sb8244/ecto_tenancy_enforcer
7dac523d0560ec4a57bcf3800b788d312d70d6e6
[ "MIT" ]
1
2021-04-25T16:50:16.000Z
2021-04-25T16:50:16.000Z
defmodule Tenancy.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, it cannot be async. For this reason, every test...
26
77
0.679487
f7e57c4cc786c01b9606fd3144c661d0feb6c9ca
2,103
exs
Elixir
harbor/test/ports/rumble/message/landing_test.exs
miapolis/port7
7df1223f83d055eeb6ce8f61f4af8b4f2cf33e74
[ "MIT" ]
null
null
null
harbor/test/ports/rumble/message/landing_test.exs
miapolis/port7
7df1223f83d055eeb6ce8f61f4af8b4f2cf33e74
[ "MIT" ]
null
null
null
harbor/test/ports/rumble/message/landing_test.exs
miapolis/port7
7df1223f83d055eeb6ce8f61f4af8b4f2cf33e74
[ "MIT" ]
null
null
null
defmodule PortsTests.Rumble.Message.Landing.LandingTest do use ExUnit.Case, async: true alias PierTest.WsClient alias PierTest.WsClientFactory alias PierTest.Helpers.Room alias HarborTest.Support.Factory require WsClient setup do user_id = Factory.user_token() client_ws = WsClientFactory.create...
28.418919
83
0.584403
f7e5ad2eafecda30cd5ec801ccf8953faedaa35f
166
ex
Elixir
web/controllers/page_controller.ex
zampino/livex
74bcc6557ca8e5185b7e4dac85323b1c5174e52d
[ "MIT" ]
6
2016-03-31T21:23:21.000Z
2020-09-15T01:36:17.000Z
web/controllers/page_controller.ex
zampino/livex
74bcc6557ca8e5185b7e4dac85323b1c5174e52d
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
zampino/livex
74bcc6557ca8e5185b7e4dac85323b1c5174e52d
[ "MIT" ]
null
null
null
defmodule Livex.PageController do use Livex.Web, :controller alias Livex.Page def index(conn, _params) do render(conn, "index.html", pages: []) end end
16.6
41
0.698795
f7e5e459a1f69630933cc407b91d36517125f9ef
794
ex
Elixir
test/support/gen/plug/test_post.ex
feng19/oasis
36e81db1413f24f153f960b1ee3706858ec1f952
[ "MIT" ]
11
2021-02-24T09:21:11.000Z
2021-12-26T03:51:25.000Z
test/support/gen/plug/test_post.ex
feng19/oasis
36e81db1413f24f153f960b1ee3706858ec1f952
[ "MIT" ]
5
2021-03-18T14:15:37.000Z
2022-03-02T09:53:42.000Z
test/support/gen/plug/test_post.ex
feng19/oasis
36e81db1413f24f153f960b1ee3706858ec1f952
[ "MIT" ]
6
2021-02-24T09:21:01.000Z
2021-11-16T08:45:03.000Z
defmodule Oasis.Gen.Plug.TestPost do use Oasis.Controller alias Oasis.BadRequestError def init(opts), do: opts def call(conn, _opts) do json( conn, %{ "body_params" => conn.body_params, "params" => conn.params } ) end def handle_errors(conn, %{kind: _kind, reaso...
29.407407
162
0.676322
f7e5e957010c78464bd4bda6553e10750bdd9da4
571
exs
Elixir
test/type_check/type_error/formatter_test.exs
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
test/type_check/type_error/formatter_test.exs
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
test/type_check/type_error/formatter_test.exs
ktec/elixir-type_check
42bde40b4a67e999653c5336294dc651c98a747a
[ "MIT" ]
null
null
null
defmodule TypeCheck.TypeError.FormatterTest do use ExUnit.Case use ExUnitProperties import StreamData, only: [] import TypeCheck.Type.StreamData property "the default formatter is able to handle all problem tuples (returning a binary string message)" do check all problem <- StreamData.sc...
30.052632
110
0.669002
f7e5ec8e68726782350e5e203640f5d7e15e19a1
422
ex
Elixir
lib/validation/rules/credit_card/jcb.ex
adolfont/validation
6288f5a5745f645c90b6f6241e14f0088c218f5b
[ "MIT" ]
null
null
null
lib/validation/rules/credit_card/jcb.ex
adolfont/validation
6288f5a5745f645c90b6f6241e14f0088c218f5b
[ "MIT" ]
null
null
null
lib/validation/rules/credit_card/jcb.ex
adolfont/validation
6288f5a5745f645c90b6f6241e14f0088c218f5b
[ "MIT" ]
null
null
null
defmodule Validation.Rules.CreditCard.Jcb do @moduledoc false alias Validation.Rules.CreditCard @spec validate?(String.t()) :: boolean def validate?(input) when is_binary(input) do # only numbers input = Regex.replace(~r/\D/, input, "") CreditCard.validate?(input) and jcb_validation(input) end ...
24.823529
59
0.689573
f7e60b4f902ce4632782e99400c46dead3e242e3
2,050
ex
Elixir
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p1alpha1_label_text_entity_extraction_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p1alpha1_label_text_entity_extraction_operation_metadata.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_labeling/lib/google_api/data_labeling/v1beta1/model/google_cloud_datalabeling_v1p1alpha1_label_text_entity_extraction_operation_metadata.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...
35.344828
201
0.783415
f7e61464d1ec38de02948d98dd32547aac81f198
1,129
exs
Elixir
config/config.exs
k-tomoyasu/boinize-elixir
79454780c7bd87b9fb475663210ab28fa4a4840f
[ "MIT" ]
null
null
null
config/config.exs
k-tomoyasu/boinize-elixir
79454780c7bd87b9fb475663210ab28fa4a4840f
[ "MIT" ]
null
null
null
config/config.exs
k-tomoyasu/boinize-elixir
79454780c7bd87b9fb475663210ab28fa4a4840f
[ "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.419355
73
0.751107
f7e6440c5b70ca71856a43557bdcb9e727a7dcec
993
ex
Elixir
test/support/channel_case.ex
helapu/gd_push
4bfe17194a898232fe8e8a4d54d4f90934ba4125
[ "MIT" ]
null
null
null
test/support/channel_case.ex
helapu/gd_push
4bfe17194a898232fe8e8a4d54d4f90934ba4125
[ "MIT" ]
null
null
null
test/support/channel_case.ex
helapu/gd_push
4bfe17194a898232fe8e8a4d54d4f90934ba4125
[ "MIT" ]
null
null
null
defmodule GdPush.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build and query models. Finally, if the test case interacts with the database, it cannot be as...
22.568182
68
0.698892
f7e64ad226c57135bd65675779e556ac5a84cc73
124
exs
Elixir
test/bankocrkata_test.exs
Slumber86/bankOcrElixir
48e6a73d9e732a798d53a2eea91d33e0fa528ea3
[ "MIT" ]
null
null
null
test/bankocrkata_test.exs
Slumber86/bankOcrElixir
48e6a73d9e732a798d53a2eea91d33e0fa528ea3
[ "MIT" ]
null
null
null
test/bankocrkata_test.exs
Slumber86/bankOcrElixir
48e6a73d9e732a798d53a2eea91d33e0fa528ea3
[ "MIT" ]
null
null
null
defmodule BankOCRKataTest do use ExUnit.Case doctest BankOCRKata test "the truth" do assert 1 + 1 == 2 end end
13.777778
28
0.693548
f7e661fe67519ef27d07f4422f3ed358b683de65
1,103
ex
Elixir
distillator_umbrella/apps/distillator_web/lib/distillator_web/channels/user_socket.ex
MadPumpkin/ex_distillator
6153c9c25e7ccc9117fb4db053a7df9d703d58ff
[ "Apache-2.0" ]
null
null
null
distillator_umbrella/apps/distillator_web/lib/distillator_web/channels/user_socket.ex
MadPumpkin/ex_distillator
6153c9c25e7ccc9117fb4db053a7df9d703d58ff
[ "Apache-2.0" ]
null
null
null
distillator_umbrella/apps/distillator_web/lib/distillator_web/channels/user_socket.ex
MadPumpkin/ex_distillator
6153c9c25e7ccc9117fb4db053a7df9d703d58ff
[ "Apache-2.0" ]
null
null
null
defmodule DistillatorWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", DistillatorWeb.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 al...
30.638889
86
0.698096
f7e6639676382d822cfbd2afffd491709134405c
2,142
exs
Elixir
test/web/controllers/sync_controller_test.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
test/web/controllers/sync_controller_test.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
test/web/controllers/sync_controller_test.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
defmodule AccentTest.SyncController do use Accent.ConnCase import Ecto.Query, only: [from: 2] import Mox setup :verify_on_exit! alias Accent.{ Repo, Project, Revision, Document, User, AccessToken, Collaborator, Operation, Language } @user %User{email: "test@test.com"...
31.5
125
0.663399
f7e66f3ce5f617bdb932a0c045b3f14c349c1510
2,795
ex
Elixir
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/ssl_cert.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
1
2021-10-01T09:20:41.000Z
2021-10-01T09:20:41.000Z
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/ssl_cert.ex
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/sql_admin/lib/google_api/sql_admin/v1beta4/model/ssl_cert.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...
39.366197
163
0.667621
f7e69288fd74d93f24bfa857c76a7ff19d486013
6,387
exs
Elixir
test/rtl_web/integration/coding_interface_test.exs
topherhunt/reassembling-the-line
c6823b3394ee98d9b0149fa3d09448928ac5c0db
[ "MIT" ]
1
2019-04-27T15:39:20.000Z
2019-04-27T15:39:20.000Z
test/rtl_web/integration/coding_interface_test.exs
topherhunt/reassembling-the-line
c6823b3394ee98d9b0149fa3d09448928ac5c0db
[ "MIT" ]
11
2020-07-16T11:40:53.000Z
2021-08-16T07:03:33.000Z
test/rtl_web/integration/coding_interface_test.exs
topherhunt/reassembling-the-line
c6823b3394ee98d9b0149fa3d09448928ac5c0db
[ "MIT" ]
null
null
null
# High-level coverage of the manage videos & coding UI, including the videos list LV. # See CodingControllerTest for the CRUD basics. defmodule RTLWeb.CodingInterfaceTest do use RTLWeb.IntegrationCase alias RTL.{Projects, Videos} alias RTL.Videos.{Tagging, Tag} hound_session() test "Project admin can list ...
33.093264
88
0.679818
f7e6a5bc887b4b81674e24ff61647a52ff756323
5,716
exs
Elixir
test/hexpm/web/controllers/api/user_controller_test.exs
pragmaticivan/hexpm
7845d1baaf14e8811df00db550b59e51ac9675c6
[ "Apache-2.0" ]
null
null
null
test/hexpm/web/controllers/api/user_controller_test.exs
pragmaticivan/hexpm
7845d1baaf14e8811df00db550b59e51ac9675c6
[ "Apache-2.0" ]
null
null
null
test/hexpm/web/controllers/api/user_controller_test.exs
pragmaticivan/hexpm
7845d1baaf14e8811df00db550b59e51ac9675c6
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Web.API.UserControllerTest do use Hexpm.ConnCase, async: true use Bamboo.Test alias Hexpm.Accounts.User defp publish_package(user) do meta = %{name: "ecto", version: "1.0.0", description: "Domain-specific language."} body = create_tar(meta, []) build_conn() |> put_req_header("...
31.755556
105
0.622988
f7e6a790c482c66ac7bfb2783d32f2494add9fdc
1,681
exs
Elixir
mix.exs
membraneframework/membrane-element-live-audiomixer
f72558c770f1aafc1ea1856791dffeb1e5aae14e
[ "Apache-2.0" ]
null
null
null
mix.exs
membraneframework/membrane-element-live-audiomixer
f72558c770f1aafc1ea1856791dffeb1e5aae14e
[ "Apache-2.0" ]
null
null
null
mix.exs
membraneframework/membrane-element-live-audiomixer
f72558c770f1aafc1ea1856791dffeb1e5aae14e
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Element.LiveAudioMixer.MixProject do use Mix.Project @version "0.1.1" @github_url "https://github.com/membraneframework/membrane-element-live-audiomixer" def project do [ app: :membrane_element_live_audiomixer, compilers: [:unifex, :bundlex] ++ Mix.compilers(), version...
26.265625
88
0.607377
f7e6ab542aaeb1d9c3504bd842153ec3c923919c
1,711
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/flow_error_details.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_management/lib/google_api/service_management/v1/model/flow_error_details.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_management/lib/google_api/service_management/v1/model/flow_error_details.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.22
136
0.731736
f7e6bf7ac88ff908b1f5e2bfa91c590eb674c6b0
4,247
ex
Elixir
lib/benchee/profile.ex
mayel/benchee
faf3c85c241a4c7eeaab8edfc85094bbbb10c44d
[ "MIT" ]
636
2016-06-06T07:58:36.000Z
2019-03-19T15:27:37.000Z
lib/benchee/profile.ex
mayel/benchee
faf3c85c241a4c7eeaab8edfc85094bbbb10c44d
[ "MIT" ]
198
2016-06-18T08:19:15.000Z
2019-03-19T15:32:37.000Z
lib/benchee/profile.ex
mayel/benchee
faf3c85c241a4c7eeaab8edfc85094bbbb10c44d
[ "MIT" ]
43
2016-06-08T08:04:30.000Z
2019-02-13T17:10:24.000Z
defmodule Benchee.Profile do alias Benchee.Benchmark.Collect alias Benchee.Benchmark.RunOnce alias Benchee.Benchmark.ScenarioContext alias Benchee.Output.ProfilePrinter, as: Printer alias Benchee.Suite @default_profiler :eprof @builtin_profilers [:cprof, :eprof, :fprof] # we run the function a bunch al...
33.179688
131
0.684248
f7e6c07ef9cb0dbf16f6b9ea6d7feb780bf9e75b
3,533
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/api/video_categories.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/video_categories.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/api/video_categories.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...
44.1625
206
0.711294
f7e6c9ce4308036644fecad833f5fa308f1a36be
269
exs
Elixir
programming/elixir/learning_elixir_code_bundle/code/chapter9/myif.exs
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
1
2020-01-09T03:22:09.000Z
2020-01-09T03:22:09.000Z
elixir/tour/learning_elixir_code_bundle/code/chapter9/myif.exs
lijiansong/lang
e255709da2b12e09dea45f86d54f77a19b96f13b
[ "WTFPL" ]
null
null
null
elixir/tour/learning_elixir_code_bundle/code/chapter9/myif.exs
lijiansong/lang
e255709da2b12e09dea45f86d54f77a19b96f13b
[ "WTFPL" ]
null
null
null
defmodule MyIf do def if(condition, clauses) do do_clause = Keyword.get(clauses, :do, nil) else_clause = Keyword.get(clauses, :else, nil) case condition do val when val in [false, nil] -> else_clause _ -> do_clause end end end
19.214286
50
0.628253
f7e6dcfa568545e0fdbdc93c8976f25386fe4091
2,773
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/update_table_column_properties_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/update_table_column_properties_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/update_table_column_properties_request.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...
40.779412
148
0.727371
f7e74f1c302aec1cd9d9341c229b137047eaba05
6,051
ex
Elixir
lib/chroxy/chrome_proxy.ex
heydtn/chroxy
68f2188ba835239bcb9e40856e117ef604c2248e
[ "MIT" ]
201
2018-05-02T16:12:27.000Z
2022-03-18T16:53:19.000Z
lib/chroxy/chrome_proxy.ex
zacksiri/chroxy
99b882d01271ea4353762961bc8030d70212bd42
[ "MIT" ]
41
2018-06-09T11:48:19.000Z
2022-03-03T17:10:19.000Z
lib/chroxy/chrome_proxy.ex
zacksiri/chroxy
99b882d01271ea4353762961bc8030d70212bd42
[ "MIT" ]
26
2018-06-05T12:33:36.000Z
2021-12-29T18:15:44.000Z
defmodule Chroxy.ChromeProxy do @moduledoc """ Process which establishes a single proxied websocket connection to an underlying chrome browser page remote debugging websocket. Upon initialisation, the chrome proxy signal the `Chroxy.ProxyListener` to accept a TCP connection. The `Chroxy.ProxyListener` will ...
29.661765
95
0.68121
f7e754d599c0b72ea183a4989ac61ac726e83cc3
932
ex
Elixir
lib/rfxi_web/sockets/rfx_socket.ex
andyl/rfxi
9007c75693d643555c45a20e9634dd4b3867deba
[ "MIT" ]
1
2021-08-10T14:46:10.000Z
2021-08-10T14:46:10.000Z
lib/rfxi_web/sockets/rfx_socket.ex
andyl/rfxi
9007c75693d643555c45a20e9634dd4b3867deba
[ "MIT" ]
2
2021-06-22T14:12:37.000Z
2021-06-28T05:06:23.000Z
lib/rfxi_web/sockets/rfx_socket.ex
andyl/rfxi
9007c75693d643555c45a20e9634dd4b3867deba
[ "MIT" ]
null
null
null
defmodule RfxiWeb.RfxSocket do @behaviour Phoenix.Socket.Transport def child_spec(_opts) do # We won't spawn any process, so let's return a dummy task # %{id: Task, start: {Task, :start_link, [fn -> :ok end]}, restart: :transient} %{id: :ws_rfx, start: {Task, :start_link, [fn -> :ok end]}, restart: :tr...
26.628571
84
0.66309
f7e766f135655ce5597cfd3a9860c1bcbd311f60
1,699
ex
Elixir
backend/lib/edgehog/assets.ex
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/lib/edgehog/assets.ex
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
backend/lib/edgehog/assets.ex
harlem88/edgehog
7a278d119c3d592431fdbba406207376e194f7eb
[ "Apache-2.0" ]
null
null
null
# # This file is part of Edgehog. # # Copyright 2021 SECO Mind Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
30.339286
76
0.689818
f7e77104032d7221c4432402e4801ca7030a3368
6,615
exs
Elixir
test/game/overworld/sector_test.exs
jgsmith/ex_venture
546adaa8fe80d45a72fde6de8d8d6906902c12d4
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
test/game/overworld/sector_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
test/game/overworld/sector_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Game.Overworld.SectorTest do use Data.ModelCase alias Data.Character alias Game.Character, as: GameCharacter alias Game.Events.RoomEntered alias Game.Events.RoomLeft alias Game.Overworld.Sector alias Game.Session setup do state = %{ zone_id: 1, sector: "0-0", players: [...
39.375
136
0.646561
f7e774627e0d2338e2f23fceb029ea7806a732e3
6,648
exs
Elixir
apps/ewallet/test/ewallet/web/v1/serializers/user_serializer_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet/test/ewallet/web/v1/serializers/user_serializer_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet/test/ewallet/web/v1/serializers/user_serializer_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
30.92093
74
0.550842
f7e775ba8a7c5ac1c4242fc04e745c3711c971f2
1,234
ex
Elixir
lib/predictions/prediction.ex
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-01-24T12:39:05.000Z
2022-01-24T12:39:05.000Z
lib/predictions/prediction.ex
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
40
2021-05-05T10:14:25.000Z
2022-03-31T18:34:15.000Z
lib/predictions/prediction.ex
mbta/realtime_signs
3fd8cbc26ce2b0820e608e60fe12135dab5def69
[ "MIT" ]
1
2022-03-20T21:08:12.000Z
2022-03-20T21:08:12.000Z
defmodule Predictions.Prediction do defstruct stop_id: nil, seconds_until_arrival: nil, seconds_until_departure: nil, seconds_until_passthrough: nil, direction_id: nil, schedule_relationship: nil, route_id: nil, trip_id: nil, ...
32.473684
61
0.558347
f7e7b880be131a6abdf3b58244682cc22813e0e6
241
ex
Elixir
web/controllers/page_controller.ex
yasuhiro-okada-aktsk/sample_elixir_exrm
755abee8b7ee64dc82679d09c800d301393063ab
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
yasuhiro-okada-aktsk/sample_elixir_exrm
755abee8b7ee64dc82679d09c800d301393063ab
[ "MIT" ]
null
null
null
web/controllers/page_controller.ex
yasuhiro-okada-aktsk/sample_elixir_exrm
755abee8b7ee64dc82679d09c800d301393063ab
[ "MIT" ]
null
null
null
defmodule SampleElixirExrm.PageController do use SampleElixirExrm.Web, :controller def index(conn, _params) do data = [false, 42, ~w(forty two), [time: "now"], %{foo: :bar}] Apex.ap data render conn, "index.html" end end
21.909091
66
0.672199
f7e7b97072ee1d623a4c056845d3d0b0f2541c14
2,617
ex
Elixir
lib/rabbit_case.ex
akoutmos/gen_rmq
0015ee20019bf4612ce8b706df63b5defbd2a4c9
[ "MIT" ]
null
null
null
lib/rabbit_case.ex
akoutmos/gen_rmq
0015ee20019bf4612ce8b706df63b5defbd2a4c9
[ "MIT" ]
null
null
null
lib/rabbit_case.ex
akoutmos/gen_rmq
0015ee20019bf4612ce8b706df63b5defbd2a4c9
[ "MIT" ]
null
null
null
defmodule GenRMQ.RabbitCase do @moduledoc """ This module defines the setup for tests requiring access to the rabbit mq. """ defmacro __using__([]) do quote do use AMQP def rmq_open(uri) do AMQP.Connection.open(uri) end def publish_message(conn, exchange, message, routin...
28.139785
103
0.598395
f7e7f5f145cb002d5032e8f2d0dbe2716747930f
3,144
ex
Elixir
lib/live_view_demo/board.ex
JohnB/live_view_demo
e623e6355b5242acf563d39e04c92bfbd0f3d25c
[ "Apache-2.0" ]
null
null
null
lib/live_view_demo/board.ex
JohnB/live_view_demo
e623e6355b5242acf563d39e04c92bfbd0f3d25c
[ "Apache-2.0" ]
null
null
null
lib/live_view_demo/board.ex
JohnB/live_view_demo
e623e6355b5242acf563d39e04c92bfbd0f3d25c
[ "Apache-2.0" ]
null
null
null
defmodule Board do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc """ Encapsulate the board position structure, which informs the BoardLive UI component. """ defstruct [:board_squares, :width, :height, :start_squares] @player_colors ["blue", "green",...
34.549451
108
0.624682
f7e83568d4feac38510915e24c89989b1cf2d3cb
6,854
ex
Elixir
apps/mishka_content/lib/blog/post.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
35
2021-06-26T09:05:50.000Z
2022-03-30T15:41:22.000Z
apps/mishka_content/lib/blog/post.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
101
2021-01-01T09:54:07.000Z
2022-03-28T10:02:24.000Z
apps/mishka_content/lib/blog/post.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
8
2021-01-17T17:08:07.000Z
2022-03-11T16:12:06.000Z
defmodule MishkaContent.Blog.Post do alias MishkaDatabase.Schema.MishkaContent.Blog.Post alias MishkaContent.Blog.Like, as: UserLiked import Ecto.Query use MishkaDatabase.CRUD, module: Post, error_atom: :post, repo: MishkaDatabase.Repo @type data_uuid() :: Ecto.UUID.t @type...
36.073684
140
0.671725
f7e861d14b720d594c42efe9ab456f4daf820cbe
1,834
ex
Elixir
lib/mix/cloak.ex
tizpuppi/cloak
cdeae97c69f7c54aeadf0921db30dc411d7a9938
[ "MIT" ]
null
null
null
lib/mix/cloak.ex
tizpuppi/cloak
cdeae97c69f7c54aeadf0921db30dc411d7a9938
[ "MIT" ]
null
null
null
lib/mix/cloak.ex
tizpuppi/cloak
cdeae97c69f7c54aeadf0921db30dc411d7a9938
[ "MIT" ]
null
null
null
defmodule Mix.Cloak do @moduledoc false # Helpers for building Mix tasks for Cloak # %{ app => %{repo: repo, schemas: schemas}} def parse_config(args) do {opts, _, _} = OptionParser.parse(args, aliases: [s: :schema, r: :repo], strict: [schema: :string, repo: :string] ) opts...
22.365854
93
0.60578