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
21523b698b0eec90c536a14e16f010d9fdd1980a
1,522
ex
Elixir
apps/authenticator/lib/sign_out/commands/sign_out_all_sessions.ex
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
9
2020-10-13T14:11:37.000Z
2021-08-12T18:40:08.000Z
apps/authenticator/lib/sign_out/commands/sign_out_all_sessions.ex
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
28
2020-10-04T14:43:48.000Z
2021-12-07T16:54:22.000Z
apps/authenticator/lib/sign_out/commands/sign_out_all_sessions.ex
lcpojr/watcher_ex
bd5a9210b5b41a6c9b5d4255de19fc6967d29fb7
[ "Apache-2.0" ]
3
2020-11-25T20:59:47.000Z
2021-08-30T10:36:58.000Z
defmodule Authenticator.SignOut.Commands.SignOutAllSessions do @moduledoc """ Invalidates all subject sessions. """ require Logger alias Authenticator.Repo alias Authenticator.Sessions.Manager alias Authenticator.Sessions.Schemas.Session alias Ecto.Multi @doc "Sign out all subject active sessions b...
32.382979
98
0.642576
21526614fc96cf3982d57390fc09c5f973d7afc4
317
ex
Elixir
lib/redis_provider/application.ex
Anp-tomsk/redis_provider
4932d51f83b0b0e8146a61eb3bcf7da099775573
[ "MIT" ]
null
null
null
lib/redis_provider/application.ex
Anp-tomsk/redis_provider
4932d51f83b0b0e8146a61eb3bcf7da099775573
[ "MIT" ]
null
null
null
lib/redis_provider/application.ex
Anp-tomsk/redis_provider
4932d51f83b0b0e8146a61eb3bcf7da099775573
[ "MIT" ]
null
null
null
defmodule RedisProvider.Application do use Application def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(RedisProvider, [:store]) ] options = [strategy: :one_for_one, name: RedisProvider.Supervisor] Supervisor.start_link(children, options) end end
19.8125
70
0.706625
2152908c2b35f030911eccf1f9f04f0b018b1b10
2,018
ex
Elixir
lib/codes/codes_b01.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_b01.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_b01.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_B01 do alias IcdCode.ICDCode def _B010 do %ICDCode{full_code: "B010", category_code: "B01", short_code: "0", full_name: "Varicella meningitis", short_name: "Varicella meningitis", category_name: "Varicella meningitis" } ...
28.828571
71
0.602577
21529659f33154e663ffbc20947af207644c2da0
1,374
ex
Elixir
lib/user_auth_web/endpoint.ex
normanpatrick/simple-user-auth-api
ca0e23926b03c53d985f55d7d35ed5361dd32fd6
[ "MIT" ]
null
null
null
lib/user_auth_web/endpoint.ex
normanpatrick/simple-user-auth-api
ca0e23926b03c53d985f55d7d35ed5361dd32fd6
[ "MIT" ]
null
null
null
lib/user_auth_web/endpoint.ex
normanpatrick/simple-user-auth-api
ca0e23926b03c53d985f55d7d35ed5361dd32fd6
[ "MIT" ]
null
null
null
defmodule UserAuthWeb.Endpoint do use Phoenix.Endpoint, otp_app: :user_auth socket "/socket", UserAuthWeb.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 s...
26.941176
63
0.697962
2152dfd9a17db2a89415b8f3c1e67fafe6bb491f
781
exs
Elixir
parser_sdk/mix.exs
eagle-te/element-parsers
c5fdec8c859f510bc7c416d7150f46c3a9f8bd7e
[ "MIT" ]
null
null
null
parser_sdk/mix.exs
eagle-te/element-parsers
c5fdec8c859f510bc7c416d7150f46c3a9f8bd7e
[ "MIT" ]
null
null
null
parser_sdk/mix.exs
eagle-te/element-parsers
c5fdec8c859f510bc7c416d7150f46c3a9f8bd7e
[ "MIT" ]
null
null
null
defmodule ParserSdk.MixProject do use Mix.Project def project do [ app: :parser_sdk, version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), ] end # Run "mix help compile.app" to learn about applications. def application do [ ext...
22.970588
152
0.632522
2152f548626d34100f50e05125489e4be038ba68
436
ex
Elixir
lib/flashfeed_web/controllers/fallback_controller.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
4
2020-02-27T14:29:20.000Z
2021-04-03T19:08:50.000Z
lib/flashfeed_web/controllers/fallback_controller.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
6
2020-02-17T21:35:04.000Z
2021-09-02T06:46:46.000Z
lib/flashfeed_web/controllers/fallback_controller.ex
alexiob/flashfeed-elixir
72e83c47f556072d26f4a3f195026c2e5b4cd442
[ "MIT" ]
null
null
null
defmodule FlashfeedWeb.FallbackController do use FlashfeedWeb, :controller def call(conn, {:error, :validation_failure, errors}) do conn |> put_status(:unprocessable_entity) |> put_view(FlashfeedWeb.ValidationView) |> render("error.json", errors: errors) end def call(conn, {:error, :not_found}...
24.222222
58
0.688073
2152f913fa1fe76f0178a331b29a71b519fb30ce
1,792
ex
Elixir
apps/nerves_hub_www/lib/nerves_hub_www_web/views/device_view.ex
valiot/nerves_hub_web
01aef0b9b6b07d9f5c5440f7df0d2a3ec026daa8
[ "Apache-2.0" ]
1
2020-08-04T14:13:24.000Z
2020-08-04T14:13:24.000Z
apps/nerves_hub_www/lib/nerves_hub_www_web/views/device_view.ex
valiot/nerves_hub_web
01aef0b9b6b07d9f5c5440f7df0d2a3ec026daa8
[ "Apache-2.0" ]
1
2020-09-08T15:15:50.000Z
2020-09-08T16:13:28.000Z
apps/nerves_hub_www/lib/nerves_hub_www_web/views/device_view.ex
valiot/nerves_hub_web
01aef0b9b6b07d9f5c5440f7df0d2a3ec026daa8
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWWWWeb.DeviceView do use NervesHubWWWWeb, :view alias NervesHubDevice.Presence alias NervesHubWWWWeb.LayoutView.DateTimeFormat, as: DateTimeFormat import NervesHubWWWWeb.LayoutView, only: [pagination_links: 1] def architecture_options do [ "aarch64", "arm", "mipsel",...
25.6
97
0.661272
2152fa99be2c19c4bd5a794e346123f530c17ed9
9,857
exs
Elixir
test/protobuf/decoder_test.exs
shengwu/protobuf-elixir
d650f4e5be3740119229120b90ef1d437fb06dbc
[ "MIT" ]
null
null
null
test/protobuf/decoder_test.exs
shengwu/protobuf-elixir
d650f4e5be3740119229120b90ef1d437fb06dbc
[ "MIT" ]
null
null
null
test/protobuf/decoder_test.exs
shengwu/protobuf-elixir
d650f4e5be3740119229120b90ef1d437fb06dbc
[ "MIT" ]
null
null
null
defmodule Protobuf.DecoderTest do use ExUnit.Case, async: true alias Protobuf.Decoder test "decodes one simple field" do struct = Decoder.decode(<<8, 42>>, TestMsg.Foo) assert struct == TestMsg.Foo.new(a: 42) end test "decodes full fields" do bin = <<8, 42, 17, 100, 0, 0, 0, 0, 0, 0, 0, 26, 3, ...
34.225694
112
0.577863
2152fdc102380dc32a01b0e984da1104cdb001dd
2,689
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/stream_location.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/stream_location.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/stream_location.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
46.362069
178
0.756415
215306e4e25c17b597d99718205110168dc21663
1,127
exs
Elixir
debug_eample/config/config.exs
gguimond/elixir
415a7ed10fb44d84089ff89fb651b765b5f5e53f
[ "MIT" ]
1
2019-03-28T09:08:16.000Z
2019-03-28T09:08:16.000Z
debug_eample/config/config.exs
gguimond/elixir
415a7ed10fb44d84089ff89fb651b765b5f5e53f
[ "MIT" ]
null
null
null
debug_eample/config/config.exs
gguimond/elixir
415a7ed10fb44d84089ff89fb651b765b5f5e53f
[ "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.354839
73
0.753327
21530fa11d0b8b31a5fe90430dfd2c9320efdb20
128,041
ex
Elixir
lib/aws/generated/chime.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/chime.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/chime.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
1
2020-10-28T08:56:54.000Z
2020-10-28T08:56:54.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.Chime do @moduledoc """ The Amazon Chime API (application programming interface) is designed for developers to perform key tasks, such as creating and managing Amazon Chime accounts, users...
22.811509
168
0.60957
21534a776bff97603c1778dd9e3e3a0923ef9f98
2,644
exs
Elixir
test/sanbase_web/graphql/helpers/utils_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
test/sanbase_web/graphql/helpers/utils_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
test/sanbase_web/graphql/helpers/utils_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule SanbaseWeb.Graphql.Helpers.UtilsTest do use SanbaseWeb.ConnCase, async: false alias SanbaseWeb.Graphql.Helpers.Utils defmodule StoreMock do def first_datetime(_measurement) do {:ok, DateTime.from_naive!(~N[2017-05-15 18:00:00], "Etc/UTC")} end end setup do from = DateTime.from_n...
29.707865
90
0.55295
2153500e3557912be61e4ecd8788fd84297a54cd
1,892
ex
Elixir
lib/console_web/channels/user_socket.ex
helium/roaming-console
0157d0f1666f50259d2887ed23f6bc5138ce67b6
[ "Apache-2.0" ]
null
null
null
lib/console_web/channels/user_socket.ex
helium/roaming-console
0157d0f1666f50259d2887ed23f6bc5138ce67b6
[ "Apache-2.0" ]
14
2022-03-02T17:01:59.000Z
2022-03-30T17:45:47.000Z
lib/console_web/channels/user_socket.ex
helium/roaming-console
0157d0f1666f50259d2887ed23f6bc5138ce67b6
[ "Apache-2.0" ]
null
null
null
defmodule ConsoleWeb.UserSocket do use Phoenix.Socket use Absinthe.Phoenix.Socket, schema: ConsoleWeb.Schema alias Console.Organizations alias Console.Auth require Logger channel("graphql:*", ConsoleWeb.GraphqlChannel) # Socket params are passed from the client and can # be used to verify and authenti...
33.785714
86
0.66649
215355c31e63e394f5746e028a5ca574128ed942
936
exs
Elixir
config/config.exs
mbuhot/ecto_row_level_security
41ef5a7e2aa51c51cf80f4f5f9f99a09481a60dd
[ "MIT" ]
15
2017-01-06T05:52:23.000Z
2022-02-14T10:05:42.000Z
config/config.exs
mbuhot/ecto_row_level_security
41ef5a7e2aa51c51cf80f4f5f9f99a09481a60dd
[ "MIT" ]
1
2019-09-09T06:23:35.000Z
2020-10-25T21:36:51.000Z
config/config.exs
mbuhot/ecto_row_level_security
41ef5a7e2aa51c51cf80f4f5f9f99a09481a60dd
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. use Mix.Config # General application configuration config :learnrls, ecto_repos: [Learnrls.Repo] ...
33.428571
86
0.762821
215391534bf74e10108e95d171177229b328cc64
684
ex
Elixir
lib/hammer/backend.ex
noma4i/hammer
481f70210787fc2cae60f18b6da723ce2fa1db04
[ "MIT" ]
1
2019-04-15T12:59:38.000Z
2019-04-15T12:59:38.000Z
lib/hammer/backend.ex
ni-kismet/hammer
08c43447a4ee4ae63d3af43b5ba2c7a7411617b1
[ "MIT" ]
null
null
null
lib/hammer/backend.ex
ni-kismet/hammer
08c43447a4ee4ae63d3af43b5ba2c7a7411617b1
[ "MIT" ]
null
null
null
defmodule Hammer.Backend do @moduledoc """ The backend Behaviour module """ @callback count_hit(key :: {bucket :: integer, id :: String.t()}, now :: integer) :: {:ok, count :: integer} | {:error, reason :: any} @callback get_bucket(key :: {bucket :: integer, id :: String.t()}) ::...
32.571429
86
0.49269
215398d43db49c42ba9d1df91b3ce86abdcfcc66
2,550
exs
Elixir
server/test/realtime/configuration_test.exs
soedirgo/realtime
7783e3cb7ef3f499fb08c07be26598b575c0c286
[ "Apache-2.0" ]
1
2020-12-23T05:58:10.000Z
2020-12-23T05:58:10.000Z
server/test/realtime/configuration_test.exs
soedirgo/realtime
7783e3cb7ef3f499fb08c07be26598b575c0c286
[ "Apache-2.0" ]
null
null
null
server/test/realtime/configuration_test.exs
soedirgo/realtime
7783e3cb7ef3f499fb08c07be26598b575c0c286
[ "Apache-2.0" ]
null
null
null
defmodule Realtime.ConfigurationTest do use ExUnit.Case alias Realtime.Configuration alias Realtime.Configuration.{Realtime, Webhook, WebhookEndpoint} test "Realtime.Configuration.from_json_file/1 when filename not given" do {:ok, config} = Configuration.from_json_file(nil) assert config == %Configur...
34.459459
95
0.518039
2153f2bf54aa21a0e1862cdfaa0b34a3a770ce22
6,637
ex
Elixir
lib/yacto/migration/migrator.ex
aman-io/yacto
4c26772343a9029923ad7e25245f17f2be22a1a1
[ "Apache-2.0" ]
null
null
null
lib/yacto/migration/migrator.ex
aman-io/yacto
4c26772343a9029923ad7e25245f17f2be22a1a1
[ "Apache-2.0" ]
null
null
null
lib/yacto/migration/migrator.ex
aman-io/yacto
4c26772343a9029923ad7e25245f17f2be22a1a1
[ "Apache-2.0" ]
null
null
null
defmodule Yacto.Migration.Migrator do require Logger @spec migrated_versions(Ecto.Repo.t(), atom, module) :: [integer] def migrated_versions(repo, app, schema) do verbose_schema_migration(repo, "retrieve migrated versions", fn -> Yacto.Migration.SchemaMigration.ensure_schema_migrations_table!(repo) ...
31.159624
97
0.630857
21541637675b6fbcdc1a589119014ad0e8552faa
411
exs
Elixir
priv/repo/migrations/20210306123433_create_addresses.exs
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
priv/repo/migrations/20210306123433_create_addresses.exs
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
priv/repo/migrations/20210306123433_create_addresses.exs
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
defmodule Magnemite.Repo.Migrations.CreateAddresses do use Ecto.Migration def change do create table(:addresses, primary_key: false) do add :id, :uuid, primary_key: true, null: false add :city, :string add :country, :string add :state, :string add :profile_id, references(:profile...
24.176471
94
0.671533
215429f961b163fd2c7697ae03958ce3a563b653
129
exs
Elixir
examples/simple_umbrella_app/apps/app_a/test/app_a_test.exs
esl/gradient
822da399872a38b77440858971f4147694e85fac
[ "Apache-2.0" ]
75
2021-11-17T11:55:13.000Z
2022-03-28T04:35:04.000Z
examples/simple_umbrella_app/apps/app_a/test/app_a_test.exs
esl/gradient
822da399872a38b77440858971f4147694e85fac
[ "Apache-2.0" ]
48
2021-11-15T13:56:14.000Z
2022-03-31T15:55:47.000Z
examples/simple_umbrella_app/apps/app_a/test/app_a_test.exs
esl/gradient
822da399872a38b77440858971f4147694e85fac
[ "Apache-2.0" ]
6
2021-12-22T20:41:27.000Z
2022-03-09T09:07:38.000Z
defmodule AppATest do use ExUnit.Case doctest AppA test "greets the world" do assert AppA.hello() == :world end end
14.333333
33
0.689922
21543564ae65068417c9d5ff68faecb6678d2e9d
5,646
ex
Elixir
apps/omg_watcher/lib/omg_watcher/db/txoutput.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/lib/omg_watcher/db/txoutput.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/lib/omg_watcher/db/txoutput.ex
PinkDiamond1/elixir-omg
70dfd24a0a1ddf5d1d9d71aab61ea25300f889f7
[ "Apache-2.0" ]
1
2021-12-04T00:37:46.000Z
2021-12-04T00:37:46.000Z
# Copyright 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 writi...
33.408284
120
0.665604
21543a9406fe05c5ea9e9e33f5f2cb6d4a5ce489
1,204
ex
Elixir
web/channels/user_socket.ex
falexTorres/munch_graphql
648000d433def77ea76f6412a65dd7718b29c70c
[ "BSD-3-Clause" ]
null
null
null
web/channels/user_socket.ex
falexTorres/munch_graphql
648000d433def77ea76f6412a65dd7718b29c70c
[ "BSD-3-Clause" ]
null
null
null
web/channels/user_socket.ex
falexTorres/munch_graphql
648000d433def77ea76f6412a65dd7718b29c70c
[ "BSD-3-Clause" ]
null
null
null
defmodule MunchGraphQLService.UserSocket do use Phoenix.Socket ## Channels # channel "rooms:*", MunchGraphQLService.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be u...
31.684211
93
0.710133
21544d296fb10ac16a72755dca1f294e217aa9a2
3,315
ex
Elixir
lib/club/brands/projectors/brand.ex
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
lib/club/brands/projectors/brand.ex
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
34
2019-11-10T11:31:37.000Z
2019-11-27T21:26:48.000Z
lib/club/brands/projectors/brand.ex
vheathen/club.wallprint.pro
d58d2409d8879d23ed4d60fe3b9c2e1bd82e924d
[ "MIT" ]
null
null
null
defmodule Club.Brands.Projectors.Brand do use Commanded.Projections.Ecto, application: Club.Commanded, repo: Club.ReadRepo, name: "brands_brand", consistency: Application.get_env(:my_app, :consistency, :eventual) alias Club.Brands.Projections.Brand alias Club.Brands.Events.{ BrandAdded, ...
20.981013
81
0.633786
215472140db10329f4a5dbc4dc3ae2371cbdc700
493
ex
Elixir
lesson_05/demo/user_demo_umbrella/apps/user_demo_web/lib/user_demo_web/views/error_view.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
1
2021-09-22T09:56:35.000Z
2021-09-22T09:56:35.000Z
lesson_05/demo/user_demo_umbrella/apps/user_demo_web/lib/user_demo_web/views/error_view.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
7
2020-03-14T19:30:29.000Z
2022-02-27T01:20:40.000Z
lesson_05/demo/user_demo_umbrella/apps/user_demo_web/lib/user_demo_web/views/error_view.ex
martijnmeeldijk/ip_major
867f09975aa8db0b308081216ace639c5677446b
[ "BSD-3-Clause" ]
11
2020-02-13T14:52:45.000Z
2020-08-03T12:18:56.000Z
defmodule UserDemoWeb.ErrorView do use UserDemoWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template na...
29
61
0.736308
2154d53d8571f347586c8ab471d2946086686aee
1,965
exs
Elixir
clients/service_usage/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/service_usage/mix.exs
kyleVsteger/elixir-google-api
3a0dd498af066a4361b5b0fd66ffc04a57539488
[ "Apache-2.0" ]
null
null
null
clients/service_usage/mix.exs
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...
29.328358
215
0.667684
2154ede3c1ea18886d89146bf8fd0b0b4bc639fa
137
ex
Elixir
hippo-backend/lib/graphql/queries/queries.ex
Tmw/Hippo
6b100f4eb43c74dffff38dd974a00266f3dc99a2
[ "MIT" ]
8
2019-05-18T10:14:06.000Z
2021-07-31T20:58:55.000Z
hippo-backend/lib/graphql/queries/queries.ex
Tmw/Hippo
6b100f4eb43c74dffff38dd974a00266f3dc99a2
[ "MIT" ]
7
2019-07-20T17:48:03.000Z
2022-02-26T10:41:56.000Z
hippo-backend/lib/graphql/queries/queries.ex
Tmw/Hippo
6b100f4eb43c74dffff38dd974a00266f3dc99a2
[ "MIT" ]
1
2019-07-04T02:30:09.000Z
2019-07-04T02:30:09.000Z
defmodule Hippo.GraphQL.Queries do @moduledoc false use Absinthe.Schema.Notation import_types(Hippo.GraphQL.Queries.Projects) end
19.571429
46
0.810219
21554194a990a467d250a8f9abb1c725e7980580
1,121
exs
Elixir
config/config.exs
Ghouli/exravendb
c0f1de86ed84896a0fc177a251aa3d08fbb856b6
[ "MIT" ]
null
null
null
config/config.exs
Ghouli/exravendb
c0f1de86ed84896a0fc177a251aa3d08fbb856b6
[ "MIT" ]
null
null
null
config/config.exs
Ghouli/exravendb
c0f1de86ed84896a0fc177a251aa3d08fbb856b6
[ "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.16129
73
0.752007
21556497c490e6040c6801b23097324c919bcd9e
1,064
exs
Elixir
integration_test/cases/browser/frames_test.exs
JonRowe/wallaby
00a7b4efdfecb374e4827fa106503e689a4dd967
[ "MIT" ]
1
2019-01-30T12:08:17.000Z
2019-01-30T12:08:17.000Z
integration_test/cases/browser/frames_test.exs
JonRowe/wallaby
00a7b4efdfecb374e4827fa106503e689a4dd967
[ "MIT" ]
2
2019-04-10T08:23:27.000Z
2021-01-25T16:37:23.000Z
integration_test/cases/browser/frames_test.exs
JonRowe/wallaby
00a7b4efdfecb374e4827fa106503e689a4dd967
[ "MIT" ]
1
2019-01-29T16:03:55.000Z
2019-01-29T16:03:55.000Z
defmodule Wallaby.Integration.Browser.FramesTest do use Wallaby.Integration.SessionCase, async: true test "switching between frames", %{session: session} do session |> visit("frames.html") |> assert_has(Query.css("h1", text: "Frames Page")) |> assert_has(Query.css("h1", text: "Page 1", count: 0)) ...
42.56
65
0.620301
21559a9898f9f3d3f569f63178e9222910760134
1,694
ex
Elixir
lib/koans/08_maps.ex
gabrimac/elixir-koans
9f2e28a8cc1292c531151cd82ee9c72fb0084c15
[ "MIT" ]
null
null
null
lib/koans/08_maps.ex
gabrimac/elixir-koans
9f2e28a8cc1292c531151cd82ee9c72fb0084c15
[ "MIT" ]
null
null
null
lib/koans/08_maps.ex
gabrimac/elixir-koans
9f2e28a8cc1292c531151cd82ee9c72fb0084c15
[ "MIT" ]
null
null
null
defmodule Maps do use Koans @intro "Maps" @person %{ first_name: "Jon", last_name: "Snow", age: 27, } koan "Maps represent structured data, like a person" do assert @person == %{first_name: "Jon", last_name: "Snow", age: 27 } end koan "Fe...
28.711864
107
0.63046
2155af350909089cfed2b77d2635773df06afd91
493
ex
Elixir
lib/pescarte_web/views/error_view.ex
cciuenf/pea_pescarte
a9e673e1eeee8090192cd0509225f1f66738b130
[ "BSD-3-Clause" ]
null
null
null
lib/pescarte_web/views/error_view.ex
cciuenf/pea_pescarte
a9e673e1eeee8090192cd0509225f1f66738b130
[ "BSD-3-Clause" ]
null
null
null
lib/pescarte_web/views/error_view.ex
cciuenf/pea_pescarte
a9e673e1eeee8090192cd0509225f1f66738b130
[ "BSD-3-Clause" ]
null
null
null
defmodule PescarteWeb.ErrorView do use PescarteWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template na...
29
61
0.736308
2155b6fa4ed4ef8cbcb796a97b90a0322e8c6c4f
1,585
exs
Elixir
test/mass_solving_test.exs
ewildgoose/elixir-sudoku
f0e9403b3d22ff960e74104a555dc145082db101
[ "Apache-2.0" ]
7
2016-07-07T15:52:18.000Z
2021-09-14T07:34:13.000Z
test/mass_solving_test.exs
ewildgoose/elixir-sudoku
f0e9403b3d22ff960e74104a555dc145082db101
[ "Apache-2.0" ]
null
null
null
test/mass_solving_test.exs
ewildgoose/elixir-sudoku
f0e9403b3d22ff960e74104a555dc145082db101
[ "Apache-2.0" ]
null
null
null
defmodule SudokuMassSolvingTest do use ExUnit.Case doctest Sudoku.Board alias Sudoku.Board alias Sudoku.Strategy # WARNING # This test takes a significant time to run (200-600 seconds on a Macbook Pro) @tag timeout: 2_000_000 test "solve minimum_sudoku" do result = File.read!("test/minimum_su...
30.480769
82
0.597476
2155fc5dee3a4355534372bff5be8f695a11362e
21,074
ex
Elixir
lib/tipalti/api/payer.ex
dhedlund/tipalti-elixir
8d351261234591bf328309b404324ebb2aa1c4b2
[ "MIT" ]
null
null
null
lib/tipalti/api/payer.ex
dhedlund/tipalti-elixir
8d351261234591bf328309b404324ebb2aa1c4b2
[ "MIT" ]
null
null
null
lib/tipalti/api/payer.ex
dhedlund/tipalti-elixir
8d351261234591bf328309b404324ebb2aa1c4b2
[ "MIT" ]
null
null
null
defmodule Tipalti.API.Payer do @moduledoc """ Payer functions. Details are taken from: <https://api.tipalti.com/v5/PayerFunctions.asmx> """ import SweetXml, only: [sigil_x: 2] alias Tipalti.API.SOAP.Client alias Tipalti.{Invoice, Balance, ClientError, RequestError} @version "v5" @url [ sandbox...
36.97193
442
0.59087
2155fdac2457f53debffe04b9405c3268277e9fd
720
ex
Elixir
lib/plug/accesslog/default_formatter/request_serving_time.ex
mneudert/plug_accesslog
35e9ee77b0b123a0f7a8c3c76d088b3234cfa0ec
[ "Apache-2.0" ]
32
2015-01-16T08:53:48.000Z
2021-03-16T09:12:13.000Z
lib/plug/accesslog/default_formatter/request_serving_time.ex
mneudert/plug_accesslog
35e9ee77b0b123a0f7a8c3c76d088b3234cfa0ec
[ "Apache-2.0" ]
14
2015-02-03T20:39:01.000Z
2020-07-12T11:11:50.000Z
lib/plug/accesslog/default_formatter/request_serving_time.ex
mneudert/plug_accesslog
35e9ee77b0b123a0f7a8c3c76d088b3234cfa0ec
[ "Apache-2.0" ]
6
2015-02-03T15:40:58.000Z
2020-06-07T14:07:39.000Z
defmodule Plug.AccessLog.DefaultFormatter.RequestServingTime do @moduledoc """ Calculates the time taken to serve the request. """ use Timex @type time_format :: String.t() | :seconds | :milliseconds | :microseconds @doc """ Formats the log output. """ @spec format(Plug.Conn.t(), time_format) :: bi...
26.666667
76
0.658333
21562e3c2f5c557886a28e842be4a306ffefd46c
1,095
ex
Elixir
lib/coherence/rememberable_server.ex
henb/coherence
725247353bad46df464caffa12b9ea2788fe774f
[ "MIT" ]
2
2018-01-19T06:12:16.000Z
2018-03-12T07:17:17.000Z
lib/coherence/rememberable_server.ex
henb/coherence
725247353bad46df464caffa12b9ea2788fe774f
[ "MIT" ]
null
null
null
lib/coherence/rememberable_server.ex
henb/coherence
725247353bad46df464caffa12b9ea2788fe774f
[ "MIT" ]
1
2019-09-11T10:21:21.000Z
2019-09-11T10:21:21.000Z
defmodule Coherence.RememberableServer do @moduledoc false use GenServer use Coherence.Config @name __MODULE__ @doc false def start_link, do: GenServer.start_link(__MODULE__, [], name: @name) @doc false def callback(callback) do GenServer.call(@name, {:callback, callback}) end @doc false d...
23.804348
75
0.678539
21562f2fee03e81046a3d14ba08c43a85887f211
827
ex
Elixir
high_school_sweetheart.ex
utilForever/exercism-elixir
17fa9861d1f06893c9cab3186bf638005e33814a
[ "MIT" ]
1
2021-10-21T14:44:10.000Z
2021-10-21T14:44:10.000Z
high_school_sweetheart.ex
utilForever/exercism-elixir
17fa9861d1f06893c9cab3186bf638005e33814a
[ "MIT" ]
null
null
null
high_school_sweetheart.ex
utilForever/exercism-elixir
17fa9861d1f06893c9cab3186bf638005e33814a
[ "MIT" ]
null
null
null
defmodule HighSchoolSweetheart do def first_letter(name) do String.trim(name) |> String.first() end def initial(name) do first_letter(name) |> String.upcase() |> Kernel.<>(".") end def initials(full_name) do String.split(full_name) |> Enum.map(fn name -> initial(name) end) |> Enum.join(" ") en...
25.060606
87
0.34341
2156709c36f879d35e3c9fd610b781128f8747cd
287
exs
Elixir
config/test.exs
wfleming/fourohfourfinder
ef670566182e8dcf70795de1ae313df26e440d56
[ "MIT" ]
2
2016-06-03T17:25:41.000Z
2016-06-21T17:45:05.000Z
config/test.exs
wfleming/fourohfourfinder
ef670566182e8dcf70795de1ae313df26e440d56
[ "MIT" ]
4
2016-06-03T22:38:58.000Z
2016-06-09T03:09:33.000Z
config/test.exs
wfleming/fourohfourfinder
ef670566182e8dcf70795de1ae313df26e440d56
[ "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 :four_oh_four_finder, FourOhFourFinderApp.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn
26.090909
58
0.756098
21567b1cc65ce3485052601f499e848845d68291
90
exs
Elixir
test/wiring_editor_web/views/page_view_test.exs
apre/wiring_editor
54337f97c95594258038a34949ebca7b423cbf6e
[ "WTFPL", "Unlicense" ]
null
null
null
test/wiring_editor_web/views/page_view_test.exs
apre/wiring_editor
54337f97c95594258038a34949ebca7b423cbf6e
[ "WTFPL", "Unlicense" ]
null
null
null
test/wiring_editor_web/views/page_view_test.exs
apre/wiring_editor
54337f97c95594258038a34949ebca7b423cbf6e
[ "WTFPL", "Unlicense" ]
null
null
null
defmodule WiringEditorWeb.PageViewTest do use WiringEditorWeb.ConnCase, async: true end
22.5
43
0.844444
215684a7820098822a66aee7377c561da1bbadfb
19,673
exs
Elixir
lib/elixir/test/elixir/kernel/typespec_test.exs
carlosantoniodasilva/elixir
0b7d1c9d4964cd6699b72298294844d8d7d694b5
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/typespec_test.exs
carlosantoniodasilva/elixir
0b7d1c9d4964cd6699b72298294844d8d7d694b5
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/typespec_test.exs
carlosantoniodasilva/elixir
0b7d1c9d4964cd6699b72298294844d8d7d694b5
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.TypespecTest do use ExUnit.Case, async: true alias Kernel.TypespecTest.TestTypespec defstruct [:hello] # This macro allows us to focus on the result of the # definition and not on the hassles of handling test # module defmacrop test_modu...
31.527244
239
0.523357
215697835b0b052bf9255a95e8eb88725dc60cc1
1,387
exs
Elixir
mix.exs
stephenmoloney/arc_ovh
b2b4a297051d2bbac57a2c1844945accb0bbb73d
[ "MIT" ]
3
2017-09-29T13:15:31.000Z
2018-10-27T21:48:12.000Z
mix.exs
stephenmoloney/arc_ovh
b2b4a297051d2bbac57a2c1844945accb0bbb73d
[ "MIT" ]
1
2017-11-12T10:34:33.000Z
2017-11-19T11:38:27.000Z
mix.exs
stephenmoloney/arc_ovh
b2b4a297051d2bbac57a2c1844945accb0bbb73d
[ "MIT" ]
1
2021-09-03T12:43:32.000Z
2021-09-03T12:43:32.000Z
defmodule ArcOvh.Mixfile do use Mix.Project @elixir_versions "~> 1.5" @version "0.2.0" def project do [ app: :arc_ovh, version: @version, source_url: "https://github.com/stephenmoloney/arc_ovh", elixir: @elixir_versions, build_embedded: Mix.env == :prod, start_permanent...
19.535211
73
0.547945
2156b026d8afde03b42cf2c367190faa6e48dc12
1,488
ex
Elixir
lib/hologram/template/tokenizer.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
40
2022-01-19T20:27:36.000Z
2022-03-31T18:17:41.000Z
lib/hologram/template/tokenizer.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
42
2022-02-03T22:52:43.000Z
2022-03-26T20:57:32.000Z
lib/hologram/template/tokenizer.ex
gregjohnsonsaltaire/hologram
aa8e9ea0d599def864c263cc37cc8ee31f02ac4a
[ "MIT" ]
3
2022-02-10T04:00:37.000Z
2022-03-08T22:07:45.000Z
# DEFER: test defmodule Hologram.Template.Tokenizer do def tokenize(""), do: [] def tokenize(" " <> rest) do [{:whitespace, " "} | tokenize(rest)] end def tokenize("\n" <> rest) do [{:whitespace, "\n"} | tokenize(rest)] end def tokenize("\r" <> rest) do [{:whitespace, "\r"} | tokenize(rest)]...
20.383562
51
0.521505
2156be14d1305549d94891fb9dcc2430024c0c12
1,465
exs
Elixir
test/named_test.exs
pragdave/jeeves
a5f745463f70540de1b0bbea29e629adbf0c45e8
[ "Apache-2.0" ]
87
2017-03-03T05:53:04.000Z
2020-07-30T02:41:50.000Z
test/named_test.exs
pragdave/jeeves
a5f745463f70540de1b0bbea29e629adbf0c45e8
[ "Apache-2.0" ]
4
2017-03-03T18:44:55.000Z
2017-08-11T16:25:32.000Z
test/named_test.exs
pragdave/service
a5f745463f70540de1b0bbea29e629adbf0c45e8
[ "Apache-2.0" ]
6
2017-03-03T18:11:46.000Z
2018-06-27T23:53:16.000Z
defmodule N1 do use Jeeves.Named, state: 99, name: Fred def api1(p1) do state + p1 end def api2(p1) do set_state(state + p1) do state end end def get_state(), do: state end defmodule NamedTest do use ExUnit.Case, async: true def stop_if_running do case Process.whereis(N1) do...
19.797297
57
0.613652
2156bf17fea946989aeb3357f3d6128113c8f401
1,624
ex
Elixir
lib/flexflow/process_loader.ex
clszzyh/flexflow
93df67c41278c2ca89c680dd8badb7a1f9f86cdf
[ "MIT" ]
2
2021-02-05T02:07:17.000Z
2021-07-31T22:38:54.000Z
lib/flexflow/process_loader.ex
clszzyh/flexflow
93df67c41278c2ca89c680dd8badb7a1f9f86cdf
[ "MIT" ]
79
2021-01-14T02:39:36.000Z
2022-03-31T02:06:27.000Z
lib/flexflow/process_loader.ex
clszzyh/flexflow
93df67c41278c2ca89c680dd8badb7a1f9f86cdf
[ "MIT" ]
null
null
null
defmodule Flexflow.ProcessLoader do @moduledoc """ YamlLoader """ @current_app Mix.Project.config()[:app] @process_path Application.app_dir(@current_app, "priv/processes/*.yml") @processes Path.wildcard(@process_path) alias Flexflow.States.{Bypass, End, Start}, warn: false alias Flexflow.Util requi...
23.536232
97
0.647167
2156c53659c325d53ae0de54c4d4ab1ba7053378
18,960
exs
Elixir
lib/ex_unit/test/ex_unit/doc_test_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2019-08-13T23:22:33.000Z
2019-08-13T23:22:33.000Z
lib/ex_unit/test/ex_unit/doc_test_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/test/ex_unit/doc_test_test.exs
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) import ExUnit.TestHelpers defmodule ExUnit.DocTestTest.GoodModule do @doc """ iex> one() 1 iex> one() + 1 2 """ def one, do: 1 @doc ~S""" iex> ~S(f#{o}o) "f\#{o}o" """ def test_sigil, do: :ok @doc " iex>1 + 2\n 3" def no_trailing_new...
26.333333
423
0.611498
2156d9961c1ac5389d354d21d868e80cbd27c5d8
1,378
ex
Elixir
test/support/data_case.ex
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
test/support/data_case.ex
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
test/support/data_case.ex
allen-garvey/mundum
15719f6bca998a04f783206f4db2214ebd439e61
[ "MIT" ]
null
null
null
defmodule Mundum.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 ...
25.518519
77
0.67852
2157041cd14469689052829ef2b2257b53a84d9d
1,062
ex
Elixir
lib/health_web/channels/user_socket.ex
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
null
null
null
lib/health_web/channels/user_socket.ex
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
2
2021-03-10T04:15:17.000Z
2021-05-10T23:54:35.000Z
lib/health_web/channels/user_socket.ex
TDogVoid/health_demo
4e9fbf79c32145cf563cdbdb3ea4a0f594a87053
[ "MIT" ]
null
null
null
defmodule HealthWeb.UserSocket do use Phoenix.Socket ## Channels # channel "room:*", HealthWeb.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...
31.235294
83
0.695857
215711c74dcf26f65b5ca1072acf4681c0eb1706
1,125
ex
Elixir
lib/hl7/2.3.1/segments/orc.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3.1/segments/orc.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.3.1/segments/orc.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_3_1.Segments.ORC do @moduledoc false require Logger alias HL7.V2_3_1.{DataTypes} use HL7.Segment, fields: [ segment: nil, order_control: nil, placer_order_number: DataTypes.Ei, filler_order_number: DataTypes.Ei, placer_group_number: DataTypes.Ei, order_...
31.25
53
0.719111
21571347995e82b4e4f25189d68669c17c36f68f
3,000
ex
Elixir
lib/membrane/core/pipeline/action_handler.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/pipeline/action_handler.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/pipeline/action_handler.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Core.Pipeline.ActionHandler do @moduledoc false use Membrane.Core.CallbackHandler alias Membrane.CallbackError alias Membrane.Core.{Parent, TimerController} alias Membrane.ParentSpec require Membrane.Logger @impl CallbackHandler # Deprecation def handle_actions(%ParentSpec{} = sp...
32.258065
98
0.706
21571fbcf5984d2de9a7ae1be4486bd042188b6f
587
ex
Elixir
lib/cuda/graph/computation_graph.ex
gridgentoo/cuda
e758c05674605e4601c568160904bcd5e2e7be94
[ "MIT" ]
4
2019-09-18T14:25:02.000Z
2021-12-16T12:09:10.000Z
lib/cuda/graph/computation_graph.ex
gridgentoo/cuda
e758c05674605e4601c568160904bcd5e2e7be94
[ "MIT" ]
null
null
null
lib/cuda/graph/computation_graph.ex
gridgentoo/cuda
e758c05674605e4601c568160904bcd5e2e7be94
[ "MIT" ]
1
2021-11-08T11:50:08.000Z
2021-11-08T11:50:08.000Z
defmodule Cuda.Graph.ComputationGraph do @moduledoc """ Implements graph for internal nodes calculation """ use Cuda.Graph alias Cuda.Graph.Processing def __type__(_assigns), do: :computation_graph def __pins__(_assigns), do: [] def __graph__(graph), do: graph def __run__(%{id: gid} = graph) do ...
22.576923
59
0.611584
215760f2e78af60020b9450b1b67345ee2600bbd
573
exs
Elixir
exercises/practice/diamond/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/diamond/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/diamond/mix.exs
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule Diamond.MixProject do use Mix.Project def project do [ app: :diamond, version: "0.1.0", # elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_a...
19.758621
87
0.574171
2157734fbbd125dc7ade504fc22beaf8ed2ef625
1,652
ex
Elixir
lib/samly/provider.ex
Michelin-Service-Solutions/samly
4e7f9ca8858596198e03f9a688c196d3f4bd1820
[ "MIT" ]
null
null
null
lib/samly/provider.ex
Michelin-Service-Solutions/samly
4e7f9ca8858596198e03f9a688c196d3f4bd1820
[ "MIT" ]
null
null
null
lib/samly/provider.ex
Michelin-Service-Solutions/samly
4e7f9ca8858596198e03f9a688c196d3f4bd1820
[ "MIT" ]
null
null
null
defmodule Samly.Provider do @moduledoc """ SAML 2.0 Service Provider This should be added to the hosting Phoenix/Plug application's supervision tree. This GenServer initializes the SP configuration and loads the IDP medata XML containing information on how to communicate with the IDP. ```elixir # applic...
23.267606
88
0.65799
215787f584c46cb084a779d47315f0e5e0bc7a5b
1,876
ex
Elixir
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/list_findings_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/list_findings_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/web_security_scanner/lib/google_api/web_security_scanner/v1alpha/model/list_findings_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...
36.784314
138
0.745203
2157a8e54dd27cab08ffdd03d021e78ffccd3843
540
ex
Elixir
lib/obelisk/tasks/draft.ex
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
406
2015-01-01T14:59:37.000Z
2022-02-19T08:08:47.000Z
lib/obelisk/tasks/draft.ex
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
38
2015-01-19T11:58:30.000Z
2019-01-18T14:06:24.000Z
lib/obelisk/tasks/draft.ex
FreedomBen/obelisk
f8f5ca8d73f619f26213c3b2442127c25dec45a2
[ "MIT" ]
64
2015-01-19T09:59:55.000Z
2021-02-06T01:14:59.000Z
defmodule Obelisk.Tasks.Draft do @moduledoc """ This task creates a new draft with the given post title argument as part of the filename, and included in the front matter title ## Arguments * Draft title ## Usage $ mix obelisk draft "Still working on this" """ @doc """ Run the draft task...
17.419355
91
0.65
2157bf8d332a8dbc5767b386fdb1b8712eee3f9d
1,092
exs
Elixir
test/cyanide_binary_test.exs
secomind/cyanide
cb806a659c6ece1e6ebb7df90fbd05be3c68ad2b
[ "Apache-2.0" ]
7
2018-03-16T12:21:24.000Z
2021-08-08T17:22:08.000Z
test/cyanide_binary_test.exs
secomind/cyanide
cb806a659c6ece1e6ebb7df90fbd05be3c68ad2b
[ "Apache-2.0" ]
11
2018-03-16T11:33:44.000Z
2021-03-05T17:26:58.000Z
test/cyanide_binary_test.exs
secomind/cyanide
cb806a659c6ece1e6ebb7df90fbd05be3c68ad2b
[ "Apache-2.0" ]
7
2018-03-16T11:03:48.000Z
2021-05-16T15:31:15.000Z
# # This file is part of Cyanide. # # Copyright 2021 Ispirata 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 appl...
28
74
0.729853
2157cbe6fee870c2ee97cb283f44fe53bd94641c
1,439
ex
Elixir
clients/vault/lib/google_api/vault/v1/model/remove_matter_permissions_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/vault/lib/google_api/vault/v1/model/remove_matter_permissions_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vault/lib/google_api/vault/v1/model/remove_matter_permissions_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.617021
87
0.743572
2157e1f872cf9c36feb64cd52ed957d4a07946dd
599
exs
Elixir
apps/fetch/test/fetch/file_tap_test.exs
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
null
null
null
apps/fetch/test/fetch/file_tap_test.exs
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
null
null
null
apps/fetch/test/fetch/file_tap_test.exs
lboyarsky/api
7ecad79704d13ae6fa7f21d21bc47836c703ebf9
[ "MIT" ]
1
2019-09-09T20:40:13.000Z
2019-09-09T20:40:13.000Z
defmodule Fetch.FileTapTest do @moduledoc false use ExUnit.Case, async: true import Fetch.FileTap describe "start_link/0" do test "starts the process" do assert {:ok, _pid} = start_link([]) end end describe "init/1" do test "returns a map with module/max_tap_size" do assert {:ok, %...
26.043478
92
0.639399
2157f20f5a88936afa88a007cb318fd97c045bb7
2,550
ex
Elixir
lib/doctest_setup/meta.ex
brettbeatty/doctest_setup
3577b8c0937bc113647f229c32e74583e477b0f5
[ "MIT" ]
null
null
null
lib/doctest_setup/meta.ex
brettbeatty/doctest_setup
3577b8c0937bc113647f229c32e74583e477b0f5
[ "MIT" ]
null
null
null
lib/doctest_setup/meta.ex
brettbeatty/doctest_setup
3577b8c0937bc113647f229c32e74583e477b0f5
[ "MIT" ]
null
null
null
defmodule DoctestSetup.Meta do @moduledoc false require Logger defstruct ~W[module name arity ordinal test context]a @function_doctest ~R|^doctest.* (?<mod>\w+(\.\w+)*)\.(?<name>\w+)/(?<arity>\d+) \((?<ord>\d+)\)$| @module_doctest ~R|^doctest.* module (?<mod>\w+(\.\w+)*) \((?<ord>\d+)\)$| defmacro __befo...
27.717391
99
0.595294
21581ad051834f5387f017b2cdb21ccad3dc33ca
501
exs
Elixir
priv/repo/migrations/20201231003041_create_sponsorships.exs
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
priv/repo/migrations/20201231003041_create_sponsorships.exs
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
priv/repo/migrations/20201231003041_create_sponsorships.exs
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
defmodule Sponsorly.Repo.Migrations.CreateSponsorships do use Ecto.Migration def change do create table(:sponsorships) do add :copy, :text, null: false add :deleted, :boolean, default: false, null: false add :user_id, references(:users, on_delete: :nothing), null: false add :issue_id, r...
27.833333
74
0.686627
2158212aeb3aa12e1fff38f9d402bd2721987bbd
21,204
exs
Elixir
test/producer_test.exs
amacciola/broadway_kafka
0f2650e03fc225e3b6b0509acb492a1828335b27
[ "Apache-2.0" ]
null
null
null
test/producer_test.exs
amacciola/broadway_kafka
0f2650e03fc225e3b6b0509acb492a1828335b27
[ "Apache-2.0" ]
null
null
null
test/producer_test.exs
amacciola/broadway_kafka
0f2650e03fc225e3b6b0509acb492a1828335b27
[ "Apache-2.0" ]
null
null
null
defmodule BroadwayKafka.ProducerTest do use ExUnit.Case import ExUnit.CaptureLog import Record, only: [defrecord: 2, extract: 2] defrecord :brod_received_assignment, extract(:brod_received_assignment, from_lib: "brod/include/brod.hrl") defmodule MessageServer do def start_link() do Ag...
30.775036
99
0.649594
2158367014bc3b23abc95cc21c0bdc82a3619ffd
955
ex
Elixir
lib/madness/stories/supervisor.ex
LeviSchuck/madness
2914f012bd4f40cef2ad39a6d0344a97baf35c79
[ "MIT" ]
null
null
null
lib/madness/stories/supervisor.ex
LeviSchuck/madness
2914f012bd4f40cef2ad39a6d0344a97baf35c79
[ "MIT" ]
null
null
null
lib/madness/stories/supervisor.ex
LeviSchuck/madness
2914f012bd4f40cef2ad39a6d0344a97baf35c79
[ "MIT" ]
null
null
null
defmodule Madness.Stories.Supervisor do @moduledoc """ Madness supervisor of all stories, add stories via `add_story` """ require Logger # This is where we keep track of stories use Supervisor @spec start_link :: pid def start_link do name = {:via, :gproc, {:n, :l, {:madness, :stories}}} Superv...
25.810811
67
0.660733
215840919623a2356be0ae1603f1f8832e18405e
5,265
ex
Elixir
lib/new_relic/telemetry/redix.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
227
2018-09-05T15:33:23.000Z
2022-02-25T18:12:06.000Z
lib/new_relic/telemetry/redix.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
211
2018-09-05T21:42:41.000Z
2022-03-25T17:51:56.000Z
lib/new_relic/telemetry/redix.ex
tpitale/elixir_agent
f356b588fe9d7cc3b9db00d9a251e009a20b3e0e
[ "Apache-2.0" ]
84
2018-09-05T04:26:26.000Z
2022-03-09T14:28:14.000Z
defmodule NewRelic.Telemetry.Redix do use GenServer @moduledoc """ Provides `Redix` instrumentation via `telemetry`. Redix connections are auto-discovered and instrumented. We automatically gather: * Datastore metrics * Transaction Trace segments * Transaction datastore attributes * Distributed Tr...
26.862245
86
0.652802
21586e1e6ddbe09132b345d4f603f311d10e498c
1,718
ex
Elixir
lib/discovery_api_web.ex
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
lib/discovery_api_web.ex
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
lib/discovery_api_web.ex
folkengine/discovery_api
0bb7a0aff4603a4f7532cc65ca8c8dbb37a57217
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
defmodule DiscoveryApiWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use DiscoveryApiWeb, :controller use DiscoveryApiWeb, :view The definitions below will be executed for every view,...
24.898551
69
0.712456
2158cdd473feca16da64e4f639b6e97a9f959b9c
1,030
ex
Elixir
app/test/support/conn_case.ex
wsams/tixir
27661173dfe388c57037b4014c527afc8a4a3952
[ "Apache-2.0" ]
null
null
null
app/test/support/conn_case.ex
wsams/tixir
27661173dfe388c57037b4014c527afc8a4a3952
[ "Apache-2.0" ]
1
2019-09-29T06:50:49.000Z
2019-09-29T06:50:49.000Z
app/test/support/conn_case.ex
sumiyoshi/BokunoPhoenix
2d1d97b36a7effac03b11b5097b69d488df90817
[ "MIT" ]
null
null
null
defmodule AppWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the te...
26.410256
65
0.712621
2158f5d8fba41c2b4c40d69a64ab6b6a05888a8d
662
exs
Elixir
test/mailgun_ex/opts_test.exs
aforward/mailgun_ex
70456f4086ff5207c9c4b184f6237447448f0f9c
[ "MIT" ]
null
null
null
test/mailgun_ex/opts_test.exs
aforward/mailgun_ex
70456f4086ff5207c9c4b184f6237447448f0f9c
[ "MIT" ]
null
null
null
test/mailgun_ex/opts_test.exs
aforward/mailgun_ex
70456f4086ff5207c9c4b184f6237447448f0f9c
[ "MIT" ]
1
2019-05-10T13:32:19.000Z
2019-05-10T13:32:19.000Z
defmodule MailgunEx.OptsTest do use ExUnit.Case alias MailgunEx.Opts test "merge grabs all keys" do assert [a: 1, c: 3, b: "oranges"] == Opts.merge([b: "oranges"], [a: 1, b: "apples", c: 3], nil) end test "merge grabs only desired keys" do assert [a: 1, b: "oranges"] == Opt...
28.782609
80
0.592145
2159241c7193546cca1b6faa3d3e60fd3a717e3b
782
ex
Elixir
lib/rfx/util/filesys.ex
doorgan/rfx
566b8623ce8957632329b4b0a142ea26a46f2301
[ "MIT" ]
null
null
null
lib/rfx/util/filesys.ex
doorgan/rfx
566b8623ce8957632329b4b0a142ea26a46f2301
[ "MIT" ]
null
null
null
lib/rfx/util/filesys.ex
doorgan/rfx
566b8623ce8957632329b4b0a142ea26a46f2301
[ "MIT" ]
null
null
null
defmodule Rfx.Util.Filesys do @moduledoc """ A utility module for file system operations. """ def project_files(root \\ ".") do ls_r(root) |> Enum.map(&filter/1) |> Enum.reject(&is_nil/1) end def subapp_files(root \\ ".") do ls_r(root) |> Enum.map(&filter/1) |> Enum.reject(&is_n...
19.55
46
0.533248
2159291f92a31969acdebec0573524573a08ca2e
10,614
ex
Elixir
lib/endpoints/storage/query_params.ex
davidsulc/scraping_hub_ex
78fbf8f4c18f8f3650148b9c8861f22856dbb8b1
[ "Apache-2.0" ]
2
2021-03-30T07:59:54.000Z
2021-04-06T12:32:40.000Z
lib/endpoints/storage/query_params.ex
davidsulc/scrapy_cloud_ex
78fbf8f4c18f8f3650148b9c8861f22856dbb8b1
[ "Apache-2.0" ]
null
null
null
lib/endpoints/storage/query_params.ex
davidsulc/scrapy_cloud_ex
78fbf8f4c18f8f3650148b9c8861f22856dbb8b1
[ "Apache-2.0" ]
null
null
null
defmodule ScrapyCloudEx.Endpoints.Storage.QueryParams do @moduledoc false require Logger @type t :: %__MODULE__{} @default_format :json @param_aliases [ {:line_end, :lineend}, {:no_data, :nodata}, {:start_after, :startafter} ] alias ScrapyCloudEx.Endpoints alias ScrapyCloudEx.Endpoints....
29
99
0.669682
2159827b5dcf36b479887d397017d3f86f779561
1,165
exs
Elixir
config/config.exs
tinyelixir/scenic_driver_fb_tft
87ba75c2ccc262e5fe9344d6512e8c667419a255
[ "MIT" ]
5
2020-01-09T09:09:57.000Z
2021-02-08T21:47:09.000Z
config/config.exs
tinyelixir/scenic_driver_fb_tft
87ba75c2ccc262e5fe9344d6512e8c667419a255
[ "MIT" ]
null
null
null
config/config.exs
tinyelixir/scenic_driver_fb_tft
87ba75c2ccc262e5fe9344d6512e8c667419a255
[ "MIT" ]
3
2019-04-24T19:15:56.000Z
2019-09-24T09:02:27.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...
37.580645
73
0.758798
21598e88fbee75a3cf4e7ed11416ece8bd7988b4
1,598
exs
Elixir
config/config.exs
wuminzhe/web3.ex
3f34c6d59d17b54dfd743e6edf20921f6938a404
[ "MIT" ]
null
null
null
config/config.exs
wuminzhe/web3.ex
3f34c6d59d17b54dfd743e6edf20921f6938a404
[ "MIT" ]
null
null
null
config/config.exs
wuminzhe/web3.ex
3f34c6d59d17b54dfd743e6edf20921f6938a404
[ "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...
37.162791
120
0.714018
2159e6ba031cf6e6191276a8c007c5a5b2458104
1,854
ex
Elixir
lib/ecto/adapters/sqlite3/data_type.ex
LostKobrakai/ecto_sqlite3
886bd6f0c27a5b750c356f26c6dce0af28d15f69
[ "MIT" ]
null
null
null
lib/ecto/adapters/sqlite3/data_type.ex
LostKobrakai/ecto_sqlite3
886bd6f0c27a5b750c356f26c6dce0af28d15f69
[ "MIT" ]
null
null
null
lib/ecto/adapters/sqlite3/data_type.ex
LostKobrakai/ecto_sqlite3
886bd6f0c27a5b750c356f26c6dce0af28d15f69
[ "MIT" ]
null
null
null
defmodule Ecto.Adapters.SQLite3.DataType do @moduledoc false # Simple column types. Note that we ignore options like :size, :precision, # etc. because columns do not have types, and SQLite will not coerce any # stored value. Thus, "strings" are all text and "numerics" have arbitrary # precision regardless of...
36.352941
76
0.692557
2159f2c75dbaaae87b8001afab9625fe6d33c984
2,023
ex
Elixir
apps/ex_wire/lib/ex_wire/handshake/struct/auth_msg_v4.ex
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
14
2017-08-21T06:14:49.000Z
2020-05-15T12:00:52.000Z
apps/ex_wire/lib/ex_wire/handshake/struct/auth_msg_v4.ex
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
7
2017-08-11T07:50:14.000Z
2018-08-23T20:42:50.000Z
apps/ex_wire/lib/ex_wire/handshake/struct/auth_msg_v4.ex
atoulme/ethereum
cebb0756c7292ac266236636d2ab5705cb40a52e
[ "MIT" ]
3
2017-08-20T17:56:41.000Z
2018-08-21T00:36:10.000Z
defmodule ExWire.Handshake.Struct.AuthMsgV4 do @moduledoc """ Simple struct to wrap an auth msg. The RLPx v4 handshake auth is defined in EIP-8. """ alias ExthCrypto.ECIES.ECDH defstruct [ :signature, :remote_public_key, :remote_nonce, :remote_version, :remote_ephemeral_public_key ]...
28.492958
120
0.721206
215a1d9d8bd683ed18e447d9d38e2dcf2ed2f09f
3,502
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__label_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__label_annotation.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p1beta1__label_annotation.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 ...
38.065217
191
0.73558
215a20d013d7af44cd22e5ba7baf16e2f416e70b
33,749
ex
Elixir
lib/aws/generated/work_docs.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/work_docs.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/work_docs.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "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.WorkDocs do @moduledoc """ The WorkDocs API is designed for the following use cases: * File Migration: File migration applications are supported for users who want to migrate their file...
31.838679
264
0.652256
215a4f0194a8ab4d7d94a453a4f926beb1219d90
8,473
exs
Elixir
test/plug/amqp/consumer_test.exs
kantox/plug_amqp
6bf20180220a5dc299d63623538670659f2553f1
[ "MIT" ]
1
2020-05-12T08:05:09.000Z
2020-05-12T08:05:09.000Z
test/plug/amqp/consumer_test.exs
kantox/plug_amqp
6bf20180220a5dc299d63623538670659f2553f1
[ "MIT" ]
21
2020-05-08T17:26:15.000Z
2021-08-02T10:24:02.000Z
test/plug/amqp/consumer_test.exs
kantox/plug_amqp
6bf20180220a5dc299d63623538670659f2553f1
[ "MIT" ]
null
null
null
Code.require_file("../../support/trace.exs", __DIR__) defmodule Plug.AMQP.ConsumerTest do use ExUnit.Case import Mox import Support.Trace alias Plug.AMQP.Backends.AMQP, as: Backend alias Plug.AMQP.Consumer setup :verify_on_exit! setup :set_mox_from_context describe "connection" do setup do ...
28.918089
95
0.669066
215a54b061e1fb6113c2300755f434394147e073
669
exs
Elixir
test/controllers/job_controller_test.exs
DylanGuedes/forensic
16ea59bb6aeefe636012b747a7caab26e0b7f686
[ "Apache-2.0" ]
null
null
null
test/controllers/job_controller_test.exs
DylanGuedes/forensic
16ea59bb6aeefe636012b747a7caab26e0b7f686
[ "Apache-2.0" ]
null
null
null
test/controllers/job_controller_test.exs
DylanGuedes/forensic
16ea59bb6aeefe636012b747a7caab26e0b7f686
[ "Apache-2.0" ]
null
null
null
defmodule Forensic.JobControllerTest do use Forensic.ConnCase def setup do {:ok, conn: build_conn()} end test "submit a simple job with correct params", %{conn: conn} do params = %{ "capabilities" => ["car_monitoring"], "car_monitoring_schema" => ["kmh", "double"], "publish_strategy"...
23.892857
66
0.620329
215a55d85de9c69f662924421f83a5ea3a27d72a
725
exs
Elixir
test/tencent_cloud_core_test.exs
feng19/tencent_cloud_core
78061b9bed1ecb6ae470274df74829faaba168b1
[ "Apache-2.0" ]
null
null
null
test/tencent_cloud_core_test.exs
feng19/tencent_cloud_core
78061b9bed1ecb6ae470274df74829faaba168b1
[ "Apache-2.0" ]
null
null
null
test/tencent_cloud_core_test.exs
feng19/tencent_cloud_core
78061b9bed1ecb6ae470274df74829faaba168b1
[ "Apache-2.0" ]
null
null
null
defmodule TencentCloud.CoreTest do use ExUnit.Case doctest TencentCloud.Core test "sign" do host = "nlp.tencentcloudapi.com" body = ~s({"Query":"你好,红领巾,我叫白胡子"}) content_type = "application/json; charset=utf-8" timestamp = 1_632_706_407 date = "2021-09-27" service = "nlp" credential_sc...
26.851852
82
0.612414
215ac224afc6d481182eb4e5eabfd9de3ce00000
1,983
exs
Elixir
implements/simple-linked-list/linked_list.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
implements/simple-linked-list/linked_list.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
1
2018-06-19T18:59:41.000Z
2018-06-19T18:59:41.000Z
implements/simple-linked-list/linked_list.exs
MickeyOoh/Exercises
3b34e7fdab4a09e0269d20c68531b4fb75bb7f16
[ "MIT" ]
null
null
null
defmodule LinkedList do @opaque t :: tuple() @doc """ Construct a new LinkedList """ @spec new() :: t def new() do {} # Your implementation here... end @doc """ Push an item onto a LinkedList """ @spec push(t, any()) :: t def push(list, elem) do {elem, list} end @doc """ Cal...
21.322581
57
0.548159
215ad674a4be4bb595ed66c0a4a0254c3f50f0cd
201
exs
Elixir
priv/repo/migrations/20200616083831_fix_item_type.exs
sealas/sealax
3f11b7f649972a43f4812ea959bd2be2e0151baa
[ "MIT" ]
null
null
null
priv/repo/migrations/20200616083831_fix_item_type.exs
sealas/sealax
3f11b7f649972a43f4812ea959bd2be2e0151baa
[ "MIT" ]
9
2021-08-19T01:09:55.000Z
2022-03-08T01:18:45.000Z
priv/repo/migrations/20200616083831_fix_item_type.exs
sealas/sealax
3f11b7f649972a43f4812ea959bd2be2e0151baa
[ "MIT" ]
null
null
null
defmodule Sealax.Repo.Migrations.FixItemType do use Ecto.Migration def change do alter table(:items) do remove :content_type add :content_type, :uuid, null: true end end end
18.272727
47
0.696517
215afdc567754def7fad6b9aa24254193c7c9dba
1,641
ex
Elixir
clients/life_sciences/lib/google_api/life_sciences/v2beta/model/worker_released_event.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/life_sciences/lib/google_api/life_sciences/v2beta/model/worker_released_event.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/life_sciences/lib/google_api/life_sciences/v2beta/model/worker_released_event.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...
32.82
102
0.728215
215b30ce0096474fe5d891b058d658739d137616
137
ex
Elixir
lib/ueberauth/strategy/line/response/profile.ex
LucidModules/ueberauth_line
686e41ddeef83ecaf55e21ca0bf0337645deb9c1
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/line/response/profile.ex
LucidModules/ueberauth_line
686e41ddeef83ecaf55e21ca0bf0337645deb9c1
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/line/response/profile.ex
LucidModules/ueberauth_line
686e41ddeef83ecaf55e21ca0bf0337645deb9c1
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Line.Response.Profile do defstruct user_id: "", display_name: "", picture_url: "", status_message: "" end
34.25
78
0.751825
215b3554fb8e7f418f49019aa6b7dd78c347395c
4,348
ex
Elixir
apps/admin_api/lib/admin_api/v1/controllers/key_controller.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/controllers/key_controller.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/lib/admin_api/v1/controllers/key_controller.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.KeyController do use AdminAPI, :controller import AdminAPI.V1.ErrorHandler alias AdminAPI.V1.AccountHelper alias EWallet.KeyPolicy alias EWallet.Web.{SearchParser, SortParser, Paginator} alias EWalletDB.Key # The field names to be mapped into DB column names. # The keys and values...
29.780822
85
0.645584
215b3dc42a62f143c6a0b05c21cc91e277185626
7,514
ex
Elixir
lib/chat_api_web/controllers/customer_controller.ex
chops318/papercups
5b91c540c8bd56967ba3da8132a163002b80251a
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/customer_controller.ex
chops318/papercups
5b91c540c8bd56967ba3da8132a163002b80251a
[ "MIT" ]
null
null
null
lib/chat_api_web/controllers/customer_controller.ex
chops318/papercups
5b91c540c8bd56967ba3da8132a163002b80251a
[ "MIT" ]
null
null
null
defmodule ChatApiWeb.CustomerController do use ChatApiWeb, :controller require Logger alias ChatApi.{Accounts, Customers} alias ChatApi.Customers.Customer action_fallback(ChatApiWeb.FallbackController) plug(:authorize when action in [:show, :update, :delete]) defp authorize(conn, _) do id = conn....
30.298387
98
0.611126
215b3e6a6b07e3636b6bdbca1bac94d3d63fb191
1,676
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/import_admin_quota_policies_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/model/import_admin_quota_policies_response.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/import_admin_quota_policies_response.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...
35.659574
160
0.763723
215b4d98cad01ca9355e30df280384c49bf54235
711
ex
Elixir
lib/open890_web/gettext.ex
VE2guy/open890
9206ad51d0ee036020f854725e4e1023088fda4e
[ "MIT" ]
45
2021-01-24T01:54:04.000Z
2022-02-28T03:28:13.000Z
lib/open890_web/gettext.ex
VE2guy/open890
9206ad51d0ee036020f854725e4e1023088fda4e
[ "MIT" ]
57
2021-01-28T19:18:33.000Z
2022-01-23T17:31:50.000Z
lib/open890_web/gettext.ex
VE2guy/open890
9206ad51d0ee036020f854725e4e1023088fda4e
[ "MIT" ]
5
2021-01-27T02:29:42.000Z
2022-01-15T14:03:24.000Z
defmodule Open890Web.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import Open890Web.Gettext # Simple translation gettext("Here is t...
28.44
72
0.677918
215b56cd5d7d287f5a34270d65cfa72cd4131d44
1,658
ex
Elixir
exercises/practice/meetup/.meta/example.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
343
2017-06-22T16:28:28.000Z
2022-03-25T21:33:32.000Z
exercises/practice/meetup/.meta/example.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
583
2017-06-19T10:48:40.000Z
2022-03-28T21:43:12.000Z
exercises/practice/meetup/.meta/example.ex
devtayls/elixir
67824de8209ff1b6ed2f736deedfb5bd815130ca
[ "MIT" ]
228
2017-07-05T07:09:32.000Z
2022-03-27T08:59:08.000Z
defmodule Meetup do @moduledoc """ Calculate meetup dates. """ @type weekday :: :monday | :tuesday | :wednesday | :thursday | :friday | :saturday | :sunday @type schedule :: :first | :second | :third | :fourth | :last | :teenth @doc ""...
27.633333
79
0.644753
215b819d3cbdc3f09d77411866804b2f480fd70f
55,016
ex
Elixir
lib/phoenix_html/form.ex
richardkmichael/phoenix_html
4c7781d00307d1eb95c68edf80bfb65733f47a95
[ "MIT" ]
1
2021-03-09T10:33:21.000Z
2021-03-09T10:33:21.000Z
lib/phoenix_html/form.ex
richardkmichael/phoenix_html
4c7781d00307d1eb95c68edf80bfb65733f47a95
[ "MIT" ]
null
null
null
lib/phoenix_html/form.ex
richardkmichael/phoenix_html
4c7781d00307d1eb95c68edf80bfb65733f47a95
[ "MIT" ]
null
null
null
defmodule Phoenix.HTML.Form do @moduledoc ~S""" Helpers related to producing HTML forms. The functions in this module can be used in three distinct scenarios: * with changeset data - when information to populate the form comes from a changeset * with limited data - when a form is created withou...
31.22361
112
0.63527
215b9ab1ee250584baff005346a43524aab28408
1,254
exs
Elixir
config/prod.secret.exs
Wobblesday/JIT-Jerky
b60c52ee76cf9ae4836ee99f3deccda72fccc656
[ "Apache-2.0" ]
null
null
null
config/prod.secret.exs
Wobblesday/JIT-Jerky
b60c52ee76cf9ae4836ee99f3deccda72fccc656
[ "Apache-2.0" ]
null
null
null
config/prod.secret.exs
Wobblesday/JIT-Jerky
b60c52ee76cf9ae4836ee99f3deccda72fccc656
[ "Apache-2.0" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
29.857143
67
0.720893
215bc5c3fc60942b44eed827ec833efbcf1a311e
1,798
exs
Elixir
fw/mix.exs
nerves-build/DomainHolder
86bea50aef12a6ff50b0dd92bbf66b1a691e24a9
[ "MIT" ]
1
2019-08-30T08:45:43.000Z
2019-08-30T08:45:43.000Z
fw/mix.exs
nerves-build/DomainHolder
86bea50aef12a6ff50b0dd92bbf66b1a691e24a9
[ "MIT" ]
5
2020-10-15T13:33:02.000Z
2020-10-15T13:33:04.000Z
fw/mix.exs
nerves-build/DomainHolder
86bea50aef12a6ff50b0dd92bbf66b1a691e24a9
[ "MIT" ]
null
null
null
defmodule Fw.MixProject do use Mix.Project @all_targets [:rpi0, :rpi3] @app :fw def project do [ app: :fw, version: "1.0.0", elixir: "~> 1.9", archives: [nerves_bootstrap: "~> 1.0"], start_permanent: Mix.env() == :prod, build_embedded: Mix.target() != :host, alias...
27.242424
79
0.586763
215bc80bb729fce4094299752b89e2bcb28f7a8b
6,555
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/admin_auth/reset_password_controller_test.exs
saturnial/ewallet
a0a6a7604fca0891d495b3aebaead37fe02aae2c
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/admin_auth/reset_password_controller_test.exs
saturnial/ewallet
a0a6a7604fca0891d495b3aebaead37fe02aae2c
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/admin_auth/reset_password_controller_test.exs
saturnial/ewallet
a0a6a7604fca0891d495b3aebaead37fe02aae2c
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.AdminAuth.ResetPasswordControllerTest do use AdminAPI.ConnCase, async: true use Bamboo.Test alias EWalletDB.{Repo, ForgetPasswordRequest, User, Helpers.Crypto} alias AdminAPI.ForgetPasswordEmail @redirect_url "http://localhost:4000/reset_password?email={email}&token={token}" describe...
32.132353
97
0.633257
215bff169e0d84393cda47d5bbd4bf765d6a1ace
26,795
exs
Elixir
installer/test/phx_new_test.exs
blutack/phoenix
e6d19272edfd980745d0a31a9217312580959eb9
[ "MIT" ]
1
2021-06-26T03:57:48.000Z
2021-06-26T03:57:48.000Z
installer/test/phx_new_test.exs
blutack/phoenix
e6d19272edfd980745d0a31a9217312580959eb9
[ "MIT" ]
1
2020-04-28T21:39:07.000Z
2020-04-28T21:39:07.000Z
installer/test/phx_new_test.exs
blutack/phoenix
e6d19272edfd980745d0a31a9217312580959eb9
[ "MIT" ]
1
2021-06-22T08:06:06.000Z
2021-06-22T08:06:06.000Z
Code.require_file "mix_helper.exs", __DIR__ defmodule Mix.Tasks.Phx.NewTest do use ExUnit.Case, async: false import MixHelper import ExUnit.CaptureIO @app_name "phx_blog" setup do # The shell asks to install deps. # We will politely say not. send self(), {:mix_shell_input, :yes?, false} :ok...
42.064364
128
0.653667
215c293c79ab94be2ac38c8c38ee701211291c99
2,199
ex
Elixir
robotica_face/lib/robotica_face_web/live/messages.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-04-23T09:16:44.000Z
2019-04-23T09:16:44.000Z
robotica_face/lib/robotica_face_web/live/messages.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
107
2019-05-26T08:03:26.000Z
2022-02-03T19:13:56.000Z
robotica_face/lib/robotica_face_web/live/messages.ex
brianmay/robotica-elixir
8656510e54b7e32a547e3a54bf946f0e327911c9
[ "RSA-MD" ]
1
2019-08-10T20:44:24.000Z
2019-08-10T20:44:24.000Z
defmodule RoboticaFaceWeb.Live.Messages do @moduledoc false use Phoenix.LiveView use RoboticaCommon.EventBus alias RoboticaCommon.Config def render(assigns) do ~L""" <%= if not is_nil(@text) do %> <div class="overlay" phx-hook="Message" data-message="<%= @text %>" id="message"> <p><%= @text ...
20.551402
85
0.564802
215c6c92102d1e887c77c50edbc3a77116e596ce
8,009
ex
Elixir
bidding_poc/lib/bidding_poc/auction_item/auction_manager.ex
KeenMate/phoenix-websocket-auction
412148ad5621b511c0690b9395f4b6c9ce3a3352
[ "MIT" ]
null
null
null
bidding_poc/lib/bidding_poc/auction_item/auction_manager.ex
KeenMate/phoenix-websocket-auction
412148ad5621b511c0690b9395f4b6c9ce3a3352
[ "MIT" ]
null
null
null
bidding_poc/lib/bidding_poc/auction_item/auction_manager.ex
KeenMate/phoenix-websocket-auction
412148ad5621b511c0690b9395f4b6c9ce3a3352
[ "MIT" ]
null
null
null
defmodule BiddingPoc.AuctionManager do require Logger alias BiddingPoc.Database.{AuctionItem, UserInAuction, User} alias BiddingPoc.DateHelpers alias BiddingPoc.AuctionItemServer alias BiddingPoc.AuctionItemSupervisor alias BiddingPoc.{AuctionPublisher, UserPublisher} @spec create_auction(map(), pos_int...
29.662963
97
0.643526
215c7999a966dbe9991f8adcd1fe835121204253
16,974
ex
Elixir
lib/aws/generated/health.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/health.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/health.ex
smanolloff/aws-elixir
c7cb6577802f5010be7e7b6ccb2c0f3c8c73ea84
[ "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.Health do @moduledoc """ AWS Health The AWS Health API provides programmatic access to the AWS Health information that appears in the [AWS Personal Health Dashboard](https://phd.aws.amazo...
46.125
211
0.762166
215c80b1a0d1f7994925b8bacdec157e3041b2f4
1,179
ex
Elixir
lib/ex_dash.ex
heliohead/ex_dash
2db9c816d0c9158c860d9bb652076f44f3a0d6aa
[ "MIT" ]
null
null
null
lib/ex_dash.ex
heliohead/ex_dash
2db9c816d0c9158c860d9bb652076f44f3a0d6aa
[ "MIT" ]
null
null
null
lib/ex_dash.ex
heliohead/ex_dash
2db9c816d0c9158c860d9bb652076f44f3a0d6aa
[ "MIT" ]
null
null
null
defmodule ExDash do @moduledoc """ ExDash provides a `Formatter` and mix task for converting your elixir project into a Dash docset. """ alias ExDash.{Injector, Docset, Store} @doc """ A run function that is called by ExDoc. """ @spec run(list, ExDoc.Config.t()) :: {list, ExDoc.Config.t()} def run(p...
25.085106
99
0.656489
215c9c7639c5365e2f7ea64a0074a9294776eaf2
1,111
exs
Elixir
TheLittleElixir/lib/ring/config/config.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
1
2017-10-16T03:00:50.000Z
2017-10-16T03:00:50.000Z
TheLittleElixir/lib/ring/config/config.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
TheLittleElixir/lib/ring/config/config.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "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...
35.83871
73
0.749775
215ca5dc3fad379675c1d573b90cbcce31e20d16
7,645
ex
Elixir
lib/membrane/core/element/pad_controller.ex
mkaput/membrane-core
f65ae3d847f2c10f3ab20d0c7aa75b0faa274ec7
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/element/pad_controller.ex
mkaput/membrane-core
f65ae3d847f2c10f3ab20d0c7aa75b0faa274ec7
[ "Apache-2.0" ]
null
null
null
lib/membrane/core/element/pad_controller.ex
mkaput/membrane-core
f65ae3d847f2c10f3ab20d0c7aa75b0faa274ec7
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Core.Element.PadController do @moduledoc false # Module handling linking and unlinking pads. alias Membrane.{Core, Event} alias Core.{CallbackHandler, PullBuffer} alias Core.Element.{EventController, PadModel, State} alias Membrane.Element.{CallbackContext, Pad} alias Bunch.Type requ...
31.721992
98
0.638849
215cdd08aa676b91370a902dd6646ef8a08ebe36
320
exs
Elixir
test/controllers/general_controller_test.exs
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
test/controllers/general_controller_test.exs
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
test/controllers/general_controller_test.exs
blacksph3re/alastair3
d6064e322b8ef5c6eb8da59a080852179a71b9d5
[ "Apache-2.0" ]
null
null
null
defmodule Alastair.GeneralControllerTest do use Alastair.ConnCase setup %{conn: conn} do {:ok, conn: put_req_header(conn, "accept", "application/json")} end test "returns status ok", %{conn: conn} do conn = get conn, general_path(conn, :status) assert json_response(conn, 200)["success"] end end
24.615385
67
0.696875
215cf7138e0fad4f53f264e03ac0f327d4549581
3,498
ex
Elixir
lib/farmbot/asset/farm_event.ex
defcon201/farmbot_os
acc22702afbb13be461c9d80591604958117ff75
[ "MIT" ]
null
null
null
lib/farmbot/asset/farm_event.ex
defcon201/farmbot_os
acc22702afbb13be461c9d80591604958117ff75
[ "MIT" ]
null
null
null
lib/farmbot/asset/farm_event.ex
defcon201/farmbot_os
acc22702afbb13be461c9d80591604958117ff75
[ "MIT" ]
1
2020-12-16T16:39:32.000Z
2020-12-16T16:39:32.000Z
defmodule Farmbot.Asset.FarmEvent do @moduledoc """ FarmEvent's are events that happen on a schedule. When it is time for the event to execute one of several things may happen: * A Regimen gets started. * A Sequence will execute. """ @on_load :load_nif def load_nif do require Logger ni...
32.691589
111
0.65809
215cfbe55df3a49510d7e48ed379a86ff5e81a0f
435
ex
Elixir
lib/ex_stone_openbank/api/models/counter_party.ex
polvalente/ex-stone-openbank
f60720abbf755ebf7824fe0de435e47e8cc5c3f5
[ "Apache-2.0" ]
null
null
null
lib/ex_stone_openbank/api/models/counter_party.ex
polvalente/ex-stone-openbank
f60720abbf755ebf7824fe0de435e47e8cc5c3f5
[ "Apache-2.0" ]
null
null
null
lib/ex_stone_openbank/api/models/counter_party.ex
polvalente/ex-stone-openbank
f60720abbf755ebf7824fe0de435e47e8cc5c3f5
[ "Apache-2.0" ]
null
null
null
defmodule ExStoneOpenbank.API.Model.CounterParty do @moduledoc """ Counter party model """ use ExStoneOpenbank.Model alias ExStoneOpenbank.API.Model.{Account, Entity} embedded_schema do embeds_one :account, Account embeds_one :entity, Entity end @doc false def changeset(model \\ %__MODULE_...
18.913043
51
0.687356
215d04b240b82ae85c80637208c223fdf71851c5
1,598
ex
Elixir
lib/central/account/schemas/report.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/central/account/schemas/report.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
null
null
null
lib/central/account/schemas/report.ex
icexuick/teiserver
22f2e255e7e21f977e6b262acf439803626a506c
[ "MIT" ]
2
2021-02-23T22:34:00.000Z
2021-04-08T13:31:36.000Z
defmodule Central.Account.Report do use CentralWeb, :schema schema "account_reports" do field :location, :string field :location_id, :integer field :reason, :string belongs_to :reporter, Central.Account.User belongs_to :target, Central.Account.User field :response_text, :string field...
24.212121
81
0.64831
215d08666d225435a8aa6d274ffb2163a896e5a6
980
exs
Elixir
mix.exs
dd-morphi/redlock
375dc9b38c583092fb0b90c918b69460255e284e
[ "MIT" ]
null
null
null
mix.exs
dd-morphi/redlock
375dc9b38c583092fb0b90c918b69460255e284e
[ "MIT" ]
null
null
null
mix.exs
dd-morphi/redlock
375dc9b38c583092fb0b90c918b69460255e284e
[ "MIT" ]
null
null
null
defmodule Redlock.Mixfile do use Mix.Project def project do [ app: :redlock, version: "1.0.12", elixir: "~> 1.5", package: package(), start_permanent: Mix.env == :prod, deps: deps() ] end def application do [ extra_applications: [:logger, :secure_random, :...
21.777778
84
0.518367
215d21df248957fb3dff0ebe19e3bf88fca2440f
2,830
ex
Elixir
clients/content/lib/google_api/content/v21/model/warehouse.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v21/model/warehouse.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v21/model/warehouse.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...
47.966102
281
0.728269
215d61b0d94c4e26d432c49556df02e4f45ba4b3
3,948
ex
Elixir
lib/mix/lib/mix/scm.ex
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/scm.ex
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/scm.ex
QuinnWilton/elixir
e42e3e55ca1561fe56b58d6f51c7b0faae6a7a1e
[ "Apache-2.0" ]
null
null
null
defmodule Mix.SCM do use Behaviour @type opts :: Keyword.t @moduledoc """ This module provides helper functions and defines the behaviour required by any SCM used by mix. """ @doc """ Returns a boolean if the dependency can be fetched or it is meant to be previously available in the filesystem. "...
30.137405
70
0.703141