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
f79a18f4689a22172a016078c7ede5c3611787be
482
ex
Elixir
lib/wabanex_web/schema/types/user.ex
pouthergust/wabanex
5c665eddf2937388e28c820c4c1c50b2f812ea29
[ "MIT" ]
null
null
null
lib/wabanex_web/schema/types/user.ex
pouthergust/wabanex
5c665eddf2937388e28c820c4c1c50b2f812ea29
[ "MIT" ]
null
null
null
lib/wabanex_web/schema/types/user.ex
pouthergust/wabanex
5c665eddf2937388e28c820c4c1c50b2f812ea29
[ "MIT" ]
null
null
null
defmodule WabanexWeb.Schema.Types.User do use Absinthe.Schema.Notation @desc "Logic user representation" object :user do field :id, non_null(:uuid4) field :name, non_null(:string) field :email, non_null(:string) end input_object :create_user_input do field :name, non_null(:string), descripti...
28.352941
69
0.717842
f79a1bc945d156bf53c9e393b262f10f39e0298f
6,201
ex
Elixir
lib/ueberauth/strategies/helpers.ex
nelyj/ueberauth
81864768d6b24775e2defd774403714679c35a6a
[ "MIT" ]
2
2018-02-27T02:11:05.000Z
2018-09-09T01:52:01.000Z
lib/ueberauth/strategies/helpers.ex
nelyj/ueberauth
81864768d6b24775e2defd774403714679c35a6a
[ "MIT" ]
null
null
null
lib/ueberauth/strategies/helpers.ex
nelyj/ueberauth
81864768d6b24775e2defd774403714679c35a6a
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Helpers do @moduledoc """ Provides helper methods for use within your strategy. These helpers are provided as a convenience for accessing the options passed to the specific pipelined strategy, considering the pipelined options and falling back to defaults. """ import Plug.Con...
29.956522
92
0.688115
f79a482348fec71ba6a9ef03c25c098abbf9dfdb
282
exs
Elixir
priv/repo/migrations/20190330144510_create_lots.exs
rkalz/dragonhacks-backend
377ed0383f403c720af30bc8ef4f3fdaf89b3e38
[ "MIT" ]
1
2019-04-03T01:48:59.000Z
2019-04-03T01:48:59.000Z
priv/repo/migrations/20190330144510_create_lots.exs
rkalz/dragonhacks-backend
377ed0383f403c720af30bc8ef4f3fdaf89b3e38
[ "MIT" ]
null
null
null
priv/repo/migrations/20190330144510_create_lots.exs
rkalz/dragonhacks-backend
377ed0383f403c720af30bc8ef4f3fdaf89b3e38
[ "MIT" ]
1
2019-03-31T21:21:47.000Z
2019-03-31T21:21:47.000Z
defmodule Dragonhacks.Repo.Migrations.CreateLots do use Ecto.Migration def change do create table(:lots) do add :name, :string add :address, :string add :lat, :float add :lng, :float add :status, :string timestamps() end end end
16.588235
51
0.620567
f79a85006b29fd65c18b21e1c22410f2bcc05c67
1,869
exs
Elixir
test/locations_web/features/edit_location_test.exs
antp/locations
fe765fe78b896fe02e11b92e8d21e97f00744384
[ "MIT" ]
14
2020-09-16T14:10:35.000Z
2021-10-30T22:05:48.000Z
test/locations_web/features/edit_location_test.exs
antp/locations
fe765fe78b896fe02e11b92e8d21e97f00744384
[ "MIT" ]
null
null
null
test/locations_web/features/edit_location_test.exs
antp/locations
fe765fe78b896fe02e11b92e8d21e97f00744384
[ "MIT" ]
null
null
null
defmodule LocationsWeb.Features.EditLocationTest do use LocationsWeb.ConnCase import Phoenix.LiveViewTest import Locations.AssertLiveviewHelpers import Locations.Factories @invalid_attrs %{ "addr1" => "", "city" => "", "postcode" => "", "country" => "" } setup _tags do # :ok = Ecto....
21.732558
91
0.637774
f79abdc420a49529abad30ea996dcdd9a9c5d85b
676
ex
Elixir
lib/excron/allocation.ex
kchrismucheke/excron
b08e2d4e8281f5ace14350e92399b194d6ddcb2c
[ "MIT" ]
null
null
null
lib/excron/allocation.ex
kchrismucheke/excron
b08e2d4e8281f5ace14350e92399b194d6ddcb2c
[ "MIT" ]
null
null
null
lib/excron/allocation.ex
kchrismucheke/excron
b08e2d4e8281f5ace14350e92399b194d6ddcb2c
[ "MIT" ]
null
null
null
defmodule Excron.Allocation do @moduledoc false def is_job_allocated_to_current_node(jobs, job_index, nodes \\ [Node.self() | Node.list()]) do nodes = Enum.sort(nodes) current_node_index = Enum.find_index(nodes, &(&1 == Node.self())) jobs_to_nodes = allocate_jobs_to_nodes(jobs, nodes) jobs_to_nodes...
26
96
0.671598
f79b0a2d0ca74a43580869449698494fe3f72b0d
1,037
ex
Elixir
backend/lib/backend.ex
tykowale/faketwitter
8cb2f15bbc285d079daec153311b7f6fda167dd2
[ "MIT" ]
1
2016-03-20T21:38:39.000Z
2016-03-20T21:38:39.000Z
backend/lib/backend.ex
tykowale/faketwitter
8cb2f15bbc285d079daec153311b7f6fda167dd2
[ "MIT" ]
null
null
null
backend/lib/backend.ex
tykowale/faketwitter
8cb2f15bbc285d079daec153311b7f6fda167dd2
[ "MIT" ]
null
null
null
defmodule Backend do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ # Start the Ecto repository ...
32.40625
85
0.712633
f79b39246785b7e8f4b7a72e3be2135ab59a45d6
381
exs
Elixir
apps/re/test/mix/tags.add_new_test.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re/test/mix/tags.add_new_test.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re/test/mix/tags.add_new_test.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule Mix.Tasks.Re.Tags.AddNewTest do use Re.ModelCase alias Mix.Tasks.Re.Tags alias Re.{ Repo, Tag } setup do Mix.shell(Mix.Shell.Process) on_exit(fn -> Mix.shell(Mix.Shell.IO) end) :ok end describe "run/1" do test "insert at least one tag" do Tags.AddNew...
13.137931
41
0.587927
f79b3a2a63fd8142abc189574272c95ca4fddd90
933
exs
Elixir
config/prod.secret.exs
fcapovilla/paires
72a9453d02d7afee11f9457cf342215d075b0c97
[ "BSD-3-Clause" ]
null
null
null
config/prod.secret.exs
fcapovilla/paires
72a9453d02d7afee11f9457cf342215d075b0c97
[ "BSD-3-Clause" ]
null
null
null
config/prod.secret.exs
fcapovilla/paires
72a9453d02d7afee11f9457cf342215d075b0c97
[ "BSD-3-Clause" ]
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 secret_key_base = System.get_env("SECRET_KEY_BASE") || raise """ ...
31.1
62
0.728832
f79b3cce0b0b9c64d3d8a89a9034c4aeecf0804c
63
exs
Elixir
test/ex_coin_test.exs
esdrasedu/ex_coin
e468977a17295daffef1ce9db0eabf0057b591f1
[ "MIT" ]
null
null
null
test/ex_coin_test.exs
esdrasedu/ex_coin
e468977a17295daffef1ce9db0eabf0057b591f1
[ "MIT" ]
null
null
null
test/ex_coin_test.exs
esdrasedu/ex_coin
e468977a17295daffef1ce9db0eabf0057b591f1
[ "MIT" ]
null
null
null
defmodule ExCoinTest do use ExUnit.Case doctest ExCoin end
12.6
23
0.793651
f79b48bc2887145222d2c8da16fc50442f83f5dd
3,346
exs
Elixir
test/publisher/topic_selector_test.exs
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
84
2018-03-20T08:19:10.000Z
2022-01-30T07:40:56.000Z
test/publisher/topic_selector_test.exs
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
23
2018-03-29T15:15:56.000Z
2019-12-04T14:53:57.000Z
test/publisher/topic_selector_test.exs
sevenmind/KaufmannEx
44225125946921850316c272db53175bb1658fb7
[ "MIT" ]
8
2018-07-03T18:18:27.000Z
2022-03-08T14:04:09.000Z
defmodule KaufmannEx.Publisher.TopicSelectorTest do @moduledoc false use ExUnit.Case doctest KaufmannEx.Publisher.TopicSelector alias KaufmannEx.Publisher.Request alias KaufmannEx.Publisher.TopicSelector alias KaufmannEx.Schemas.Event import Mock setup do Application.put_env(:kaufmann_ex, :defa...
27.883333
78
0.450389
f79b65b9e6da53be210a24e82cdc597904fd8b42
801
ex
Elixir
lib/repo/schema_type.ex
NeoPag/ex_audit
bd2bb4934330f62faa2ce3fd8b48f37f41e16890
[ "MIT" ]
null
null
null
lib/repo/schema_type.ex
NeoPag/ex_audit
bd2bb4934330f62faa2ce3fd8b48f37f41e16890
[ "MIT" ]
null
null
null
lib/repo/schema_type.ex
NeoPag/ex_audit
bd2bb4934330f62faa2ce3fd8b48f37f41e16890
[ "MIT" ]
null
null
null
defmodule ExAudit.Type.Schema do @behaviour Ecto.Type @schemas Application.get_env(:ex_audit, :tracked_schemas, []) def cast(schema) when is_atom(schema) do case schema do schema when schema in @schemas -> {:ok, schema} _ -> :error end end def cast(schema) when is_binary(schema) do ...
20.025
73
0.636704
f79b6b35923ce1a1891f781cb81cf824ac5bd185
3,203
exs
Elixir
mix.exs
adkron/cachex
b972e4ad42d8a6d51cea2831d1d0904291ecab78
[ "MIT" ]
null
null
null
mix.exs
adkron/cachex
b972e4ad42d8a6d51cea2831d1d0904291ecab78
[ "MIT" ]
null
null
null
mix.exs
adkron/cachex
b972e4ad42d8a6d51cea2831d1d0904291ecab78
[ "MIT" ]
null
null
null
defmodule Cachex.Mixfile do use Mix.Project @version "3.1.1" @url_docs "http://hexdocs.pm/cachex" @url_github "https://github.com/whitfin/cachex" def project do [ app: :cachex, name: "Cachex", description: "Powerful in-memory key/value storage for Elixir", package: %{ fil...
28.855856
77
0.538558
f79b7bad11a3873850314fb299d8129f4159993c
1,185
exs
Elixir
config/config.exs
lee-dohm/ed-explorer
879a883a8143531bc657fa74e55f72ed36b3547e
[ "MIT" ]
1
2020-01-26T18:07:51.000Z
2020-01-26T18:07:51.000Z
config/config.exs
lee-dohm/ed-explorer
879a883a8143531bc657fa74e55f72ed36b3547e
[ "MIT" ]
null
null
null
config/config.exs
lee-dohm/ed-explorer
879a883a8143531bc657fa74e55f72ed36b3547e
[ "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 :ed_explorer, ecto_repos: [EdExplorer.Re...
32.027027
86
0.766245
f79b7e531c913611eec7c67bf6ab3c6a6b2d40c2
3,500
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_product.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_product.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p4beta1_product.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 ...
39.325843
195
0.715714
f79b8d5babde258ac04145d73c0e03e9daf99596
2,020
ex
Elixir
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/yum_artifact.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/yum_artifact.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/artifact_registry/lib/google_api/artifact_registry/v1beta1/model/yum_artifact.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.071429
121
0.709406
f79bcf62a58d7dc9bea36a925a539f4d44e2f173
168
ex
Elixir
web/views/current_user_view.ex
KazuCocoa/ex_torello
187d814094f79a3d99bca2746683804333d40dfe
[ "MIT" ]
null
null
null
web/views/current_user_view.ex
KazuCocoa/ex_torello
187d814094f79a3d99bca2746683804333d40dfe
[ "MIT" ]
null
null
null
web/views/current_user_view.ex
KazuCocoa/ex_torello
187d814094f79a3d99bca2746683804333d40dfe
[ "MIT" ]
null
null
null
defmodule ExTrello.CurrentUserView do use ExTrello.Web, :view def render("show.json", %{user: user}) do user end def render("error.json", _) do end end
15.272727
43
0.672619
f79bd382c087baaf5c9375dab40ac776b9c4ffac
271
ex
Elixir
lib/groupher_server/billing/billing.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
240
2018-11-06T09:36:54.000Z
2022-02-20T07:12:36.000Z
lib/groupher_server/billing/billing.ex
coderplanets/coderplanets_server
3663e56340d6d050e974c91f7e499d8424fc25e9
[ "Apache-2.0" ]
363
2018-07-11T03:38:14.000Z
2021-12-14T01:42:40.000Z
lib/groupher_server/billing/billing.ex
mydearxym/mastani_server
f24034a4a5449200165cf4a547964a0961793eab
[ "Apache-2.0" ]
22
2019-01-27T11:47:56.000Z
2021-02-28T13:17:52.000Z
defmodule GroupherServer.Billing do @moduledoc false alias GroupherServer.Billing.Delegate.CURD defdelegate create_record(user, attrs), to: CURD defdelegate paged_records(user, filter), to: CURD defdelegate update_record_state(record_id, state), to: CURD end
27.1
61
0.797048
f79bdc3cc293e83f563da253b82e944f2c461aa0
54
exs
Elixir
config/test.exs
hqoss/pool_lad
12c4db0296f113551e7cd79b05926b80b7aca858
[ "MIT" ]
2
2020-05-21T21:33:18.000Z
2020-10-14T19:21:32.000Z
config/prod.exs
hqoss/pool_lad
12c4db0296f113551e7cd79b05926b80b7aca858
[ "MIT" ]
null
null
null
config/prod.exs
hqoss/pool_lad
12c4db0296f113551e7cd79b05926b80b7aca858
[ "MIT" ]
1
2020-05-24T12:01:53.000Z
2020-05-24T12:01:53.000Z
import Config config :logger, :console, level: :warn
13.5
38
0.740741
f79bde38d4efc9da43029e6e5f4273bf5d1ea9a9
394
ex
Elixir
lib/farmbot/bot_state/transport/utils.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
2
2018-08-01T23:07:52.000Z
2018-10-17T12:49:21.000Z
lib/farmbot/bot_state/transport/utils.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
null
null
null
lib/farmbot/bot_state/transport/utils.ex
pdgonzalez872/farmbot_os
a444248f05ee8f4fe57f6a4865b942131960f76c
[ "MIT" ]
1
2017-07-22T21:51:14.000Z
2017-07-22T21:51:14.000Z
defmodule Farmbot.BotState.Utils do @moduledoc "Utility functions for handling bot_state data" def should_log?(module, verbosity) def should_log?(nil, verbosity) when verbosity <= 3, do: true def should_log?(nil, _), do: false def should_log?(module, verbosity) when verbosity <= 3 do List.first(Module.s...
28.142857
63
0.715736
f79be64595d5a7862547f10672afd9506f256a7f
2,994
ex
Elixir
lib/google_api/storage/v1/api/channels.ex
jamesvl/gcs_elixir_api
fd7e0f4a7e2e07f40e01822b4c9e09cfd4922d52
[ "Apache-2.0" ]
null
null
null
lib/google_api/storage/v1/api/channels.ex
jamesvl/gcs_elixir_api
fd7e0f4a7e2e07f40e01822b4c9e09cfd4922d52
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
lib/google_api/storage/v1/api/channels.ex
jamesvl/gcs_elixir_api
fd7e0f4a7e2e07f40e01822b4c9e09cfd4922d52
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
39.394737
187
0.658317
f79c037dad0fc4c295d7d2fd2bcbc101d6a48ff1
15,035
ex
Elixir
lib/aws/generated/chime_sdk_identity.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/chime_sdk_identity.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/chime_sdk_identity.ex
andrewhr/aws-elixir
861dc2fafca50a2b2f83badba4cdcb44b5b0c171
[ "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.ChimeSDKIdentity do @moduledoc """ The Amazon Chime SDK Identity APIs in this section allow software developers to create and manage unique instances of their messaging applications. Thes...
21.509299
186
0.597406
f79c1dc8e317d8a545a9ed26f1f69a430c4d031c
1,190
ex
Elixir
lib/config.ex
esl/buildex_jobs
928d36541c25fa0ad998278cc7fe609644562140
[ "Apache-2.0" ]
2
2020-05-28T12:23:00.000Z
2021-03-11T23:23:57.000Z
lib/config.ex
esl/buildex_jobs
928d36541c25fa0ad998278cc7fe609644562140
[ "Apache-2.0" ]
null
null
null
lib/config.ex
esl/buildex_jobs
928d36541c25fa0ad998278cc7fe609644562140
[ "Apache-2.0" ]
2
2021-03-11T23:27:28.000Z
2022-03-06T10:20:51.000Z
defmodule RepoJobs.Config do def get_github_access_token do Application.get_env(:buildex_jobs, :github_auth) || System.get_env("GITHUB_AUTH") end def get_consumers do Application.get_env(:buildex_jobs, :consumers) end def get_connection_pool_config do Application.get_env(:buildex_jobs, :rabbitmq...
22.884615
85
0.736975
f79c3cecca34f6c8d1cc0cd39b3aee8421463741
950
ex
Elixir
lib/posthog.ex
whitepaperclip/posthog
695f2f39fa0d424fbd3e8f7adfc42db054c0d6e4
[ "MIT" ]
8
2020-06-06T20:33:53.000Z
2022-02-28T11:31:26.000Z
lib/posthog.ex
timgl/posthog-1
695f2f39fa0d424fbd3e8f7adfc42db054c0d6e4
[ "MIT" ]
null
null
null
lib/posthog.ex
timgl/posthog-1
695f2f39fa0d424fbd3e8f7adfc42db054c0d6e4
[ "MIT" ]
2
2020-06-08T10:20:33.000Z
2020-06-08T10:28:01.000Z
defmodule Posthog do @moduledoc """ This module provides an Elixir HTTP client for Posthog. Example config: config :posthog, api_url: "http://posthog.example.com", api_key: "..." Optionally, you can pass in a `:json_library` key. The default JSON parser is Jason. """ @doc """ S...
27.142857
80
0.633684
f79c75df7d79b85759026623046532a779de58c2
470
exs
Elixir
src/auth_service/test/auth_service_web/views/error_view_test.exs
wbpascal/statuswebsite
7a81e530a9176c53abeab0582cb710113101b716
[ "MIT" ]
1
2021-04-18T20:21:03.000Z
2021-04-18T20:21:03.000Z
src/auth_service/test/auth_service_web/views/error_view_test.exs
wbpascal/statuswebsite
7a81e530a9176c53abeab0582cb710113101b716
[ "MIT" ]
null
null
null
src/auth_service/test/auth_service_web/views/error_view_test.exs
wbpascal/statuswebsite
7a81e530a9176c53abeab0582cb710113101b716
[ "MIT" ]
1
2021-04-18T20:21:08.000Z
2021-04-18T20:21:08.000Z
defmodule AuthServiceWeb.ErrorViewTest do use AuthServiceWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(AuthServiceWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "ren...
29.375
96
0.693617
f79ca5f4962ee0ec449cb917543f20381455615f
1,776
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/platform_type.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/platform_type.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v28/model/platform_type.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
32.888889
148
0.722973
f79cd3f790203678339bc8cf3d2f78c20fd5f007
257
ex
Elixir
lib/clecodes_ex.ex
treetopdevs/distillery-aws-example
aa09b96490dd2d1052d1e580f02e3328b1b366bc
[ "Apache-2.0" ]
null
null
null
lib/clecodes_ex.ex
treetopdevs/distillery-aws-example
aa09b96490dd2d1052d1e580f02e3328b1b366bc
[ "Apache-2.0" ]
null
null
null
lib/clecodes_ex.ex
treetopdevs/distillery-aws-example
aa09b96490dd2d1052d1e580f02e3328b1b366bc
[ "Apache-2.0" ]
null
null
null
defmodule ClecodesEx do @moduledoc """ ClecodesEx keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.7
66
0.758755
f79d0a329e42b8adf6f4bd9cdbbff3f8dbf6d9ca
347
exs
Elixir
test/entry_test.exs
stephancom/xkcd_287-elixir
e7cd1b3630430c409c93a6b329d843da507f0019
[ "MIT" ]
null
null
null
test/entry_test.exs
stephancom/xkcd_287-elixir
e7cd1b3630430c409c93a6b329d843da507f0019
[ "MIT" ]
null
null
null
test/entry_test.exs
stephancom/xkcd_287-elixir
e7cd1b3630430c409c93a6b329d843da507f0019
[ "MIT" ]
null
null
null
defmodule EntryTest do use ExUnit.Case doctest Entry test "forbids zero quantity" do assert_raise FunctionClauseError, fn -> Entry.new(Item.parse("caviar,$99.99"), 0) end end test "forbids negative quantity" do assert_raise FunctionClauseError, fn -> Entry.new(Item.parse("caviar,$99....
21.6875
48
0.680115
f79d155cef948a12107a0983243923c783a09d1d
8,358
ex
Elixir
lib/elixir/lib/kernel/lexical_tracker.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
2
2018-11-15T06:38:14.000Z
2018-11-17T18:03:14.000Z
lib/elixir/lib/kernel/lexical_tracker.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2018-09-10T23:36:45.000Z
2018-09-10T23:36:45.000Z
lib/elixir/lib/kernel/lexical_tracker.ex
kenichi/elixir
8c27da88c70623cbe516d5310c885943395a82a2
[ "Apache-2.0" ]
1
2018-09-10T23:32:56.000Z
2018-09-10T23:32:56.000Z
# This is an Elixir module responsible for tracking references # to modules, remote dispatches, and the usage of # aliases/imports/requires in the Elixir scope. # # Note that since this is required for bootstrap, we can't use # any of the `GenServer.Behaviour` conveniences. defmodule Kernel.LexicalTracker do @moduled...
27.953177
98
0.666427
f79d1c64535de0a36d7d8869a6940c73fcca40a1
2,910
ex
Elixir
lib/hive/mq/node_agent.ex
taran96/HiveNode
3bac148e138fd5dda0b23985020524d807c59710
[ "MIT" ]
null
null
null
lib/hive/mq/node_agent.ex
taran96/HiveNode
3bac148e138fd5dda0b23985020524d807c59710
[ "MIT" ]
null
null
null
lib/hive/mq/node_agent.ex
taran96/HiveNode
3bac148e138fd5dda0b23985020524d807c59710
[ "MIT" ]
null
null
null
defmodule Hive.MQ.NodeAgent do use Agent require Logger @moduledoc """ This agent is responsible to keep track of all nodes that are connected to the network. """ @doc """ Starts the agent with an empty map """ def start_link(opts \\ []) do Agent.start_link(fn -> %{} end, opts) end @doc "...
26.216216
78
0.623024
f79d256405ba6bbbd47f124f7b5fbafe698c48de
5,903
ex
Elixir
lib/mix/lib/mix/tasks/deps.compile.ex
Tica2/elixir
6cf1dcbfe4572fc75619f05e40c10fd0844083ef
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/deps.compile.ex
Tica2/elixir
6cf1dcbfe4572fc75619f05e40c10fd0844083ef
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/deps.compile.ex
Tica2/elixir
6cf1dcbfe4572fc75619f05e40c10fd0844083ef
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Deps.Compile do use Mix.Task @shortdoc "Compile dependencies" @moduledoc """ Compile dependencies. By default, compile all dependencies. A list of dependencies can be given to force the compilation of specific dependencies. This task attempts to detect if the project contains one o...
30.905759
100
0.622734
f79d35f146e8ff0331e5917c28459c0d1e016f9e
8,104
ex
Elixir
lib/trento/application/integration/discovery/policies/sap_system_policy.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-22T16:59:34.000Z
2022-03-22T16:59:34.000Z
lib/trento/application/integration/discovery/policies/sap_system_policy.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
24
2022-03-22T16:45:25.000Z
2022-03-31T13:00:02.000Z
lib/trento/application/integration/discovery/policies/sap_system_policy.ex
trento-project/web
3260b30c781bffbbb0e5205cd650966c4026b9ac
[ "Apache-2.0" ]
1
2022-03-30T14:16:16.000Z
2022-03-30T14:16:16.000Z
defmodule Trento.Integration.Discovery.SapSystemPolicy do @moduledoc """ This module contains functions to trasnform SAP system related integration events into commands.. """ alias Trento.Domain.Commands.{ RegisterApplicationInstance, RegisterDatabaseInstance } @uuid_namespace Application.compile_...
29.794118
115
0.61155
f79d55d60cfe290517f4a0936b6ba59e05bc4885
2,762
ex
Elixir
lib/ace/governor.ex
ashlyrclark/Ace
73a9aa620923f64d6955c23a3bec6afe353e05b9
[ "MIT" ]
1
2021-11-22T10:30:44.000Z
2021-11-22T10:30:44.000Z
lib/ace/governor.ex
ashlyrclark/Ace
73a9aa620923f64d6955c23a3bec6afe353e05b9
[ "MIT" ]
null
null
null
lib/ace/governor.ex
ashlyrclark/Ace
73a9aa620923f64d6955c23a3bec6afe353e05b9
[ "MIT" ]
1
2021-11-22T10:31:48.000Z
2021-11-22T10:31:48.000Z
defmodule Ace.Governor do @moduledoc """ A governor maintains servers ready to handle clients. A governor process starts with a reference to supervision that can start servers. It will then wait until the server has accepted a connection. Once it's server has accepted a connection the governor will start a n...
34.525
116
0.711441
f79d711f10da85f343a041ed3d59d23d6cfd73f0
8,505
exs
Elixir
test/sanbase/project/project_list_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
test/sanbase/project/project_list_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
test/sanbase/project/project_list_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.Model.ProjectListTest do use Sanbase.DataCase, async: false alias Sanbase.Model.Project import Sanbase.Factory import ExUnit.CaptureLog describe "ordering with and without min_volume" do test "does not join twice when min_volume is provided" do # This test only checks if the que...
34.856557
96
0.663492
f79d7e89f64e1098ef79a967e1d9cfb40a8fdb5c
1,596
ex
Elixir
lib/books_web/endpoint.ex
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
lib/books_web/endpoint.ex
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
lib/books_web/endpoint.ex
nickagliano/books
eec595ed4add9d678278785d9ab10106e1e426d1
[ "MIT" ]
null
null
null
defmodule BooksWeb.Endpoint do use Phoenix.Endpoint, otp_app: :books # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_books_key", ...
29.018182
97
0.715539
f79d9f272c0ed2612b7044516b64a6b72b77ca82
1,868
exs
Elixir
broadway_test/test/imageprocessingmodel_test.exs
kujua/blog-kujuahub-articles-code
1a65b1a481cbf5269a3f8846a5ac353937d45a2d
[ "Apache-2.0" ]
2
2019-05-25T13:25:33.000Z
2019-05-29T15:36:17.000Z
broadway_test/test/imageprocessingmodel_test.exs
kujua/blog-kujuahub-articles-code
1a65b1a481cbf5269a3f8846a5ac353937d45a2d
[ "Apache-2.0" ]
null
null
null
broadway_test/test/imageprocessingmodel_test.exs
kujua/blog-kujuahub-articles-code
1a65b1a481cbf5269a3f8846a5ac353937d45a2d
[ "Apache-2.0" ]
null
null
null
defmodule ImageProcessingModelTest do use ExUnit.Case # alias ImageProcessingModel setup do model_valid_no_path = %ImageProcessingModel{ file_name: "warthog.jpg", customer_id: "FE51EF", image_type: "jpg", path_from: nil, path_to: nil, destination_type: "png", file_na...
27.880597
78
0.695396
f79dba8adfe8a024bf163d6d241829b7d5bfea69
1,274
exs
Elixir
config/config.exs
kianmeng/chaperon
6161aaace38d86f54a25e2dba68e27747c134d60
[ "MIT" ]
97
2017-09-20T09:09:11.000Z
2022-01-13T18:26:22.000Z
config/config.exs
kianmeng/chaperon
6161aaace38d86f54a25e2dba68e27747c134d60
[ "MIT" ]
13
2017-10-25T08:47:33.000Z
2022-03-24T16:39:49.000Z
config/config.exs
kianmeng/chaperon
6161aaace38d86f54a25e2dba68e27747c134d60
[ "MIT" ]
18
2018-02-02T19:19:01.000Z
2022-03-23T16:59:06.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config config :logger, :console, level: :info, format: "$date $time [$level] $metadata$message\n", metadata: [:user_id] config :chaperon, Chaperon.Export.InfluxDB, database: System...
33.526316
74
0.71978
f79ddb48848c2248121440044b88b5702c35d021
3,151
ex
Elixir
clients/analytics/lib/google_api/analytics/v3/model/linked_foreign_account.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/linked_foreign_account.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/analytics/lib/google_api/analytics/v3/model/linked_foreign_account.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
42.013333
184
0.714376
f79defae61178a646e5c46cbfa9a029b191cc7ee
19,291
ex
Elixir
clients/logging/lib/google_api/logging/v2/api/exclusions.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/logging/lib/google_api/logging/v2/api/exclusions.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/logging/lib/google_api/logging/v2/api/exclusions.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...
48.961929
430
0.62594
f79df28c192c6efeff46bc31e5cd37cf0d2de347
1,556
ex
Elixir
server/test/support/data_case.ex
brianjaustin/melody-match
5200fd347f7ae636ec782398896c782d80c17f59
[ "Apache-1.1" ]
null
null
null
server/test/support/data_case.ex
brianjaustin/melody-match
5200fd347f7ae636ec782398896c782d80c17f59
[ "Apache-1.1" ]
4
2021-03-28T03:09:37.000Z
2021-04-10T17:45:10.000Z
server/test/support/data_case.ex
brianjaustin/melody-match
5200fd347f7ae636ec782398896c782d80c17f59
[ "Apache-1.1" ]
null
null
null
defmodule MelodyMatch.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done ...
27.785714
77
0.693445
f79e2551b4f2af98d7f7bd6d703d6481d266103c
5,413
ex
Elixir
clients/drive/lib/google_api/drive/v3/model/permission.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/permission.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/model/permission.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...
51.066038
294
0.69056
f79e2988f2223b9768ee80b5c0c0d6ccd590bc57
1,670
ex
Elixir
clients/people/lib/google_api/people/v1/model/locale.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/people/lib/google_api/people/v1/model/locale.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/people/lib/google_api/people/v1/model/locale.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...
33.4
157
0.71976
f79e3ad90b0d5b87504612fa29ed97e40b3d155a
625
exs
Elixir
test/romulus_web/views/error_view_test.exs
haighis/romulus_app
d1c85ecb72d935eb9dd314617448bd56b53789e9
[ "MIT" ]
null
null
null
test/romulus_web/views/error_view_test.exs
haighis/romulus_app
d1c85ecb72d935eb9dd314617448bd56b53789e9
[ "MIT" ]
null
null
null
test/romulus_web/views/error_view_test.exs
haighis/romulus_app
d1c85ecb72d935eb9dd314617448bd56b53789e9
[ "MIT" ]
null
null
null
defmodule RomulusWeb.ErrorViewTest do use RomulusWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(RomulusWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Page not found"}} end tes...
28.409091
66
0.648
f79e559a198c1d774ee7d4fa48c6d2841ee12ce1
1,678
exs
Elixir
test/lru_test.exs
diodechain/diode_server
1692788bd92cc17654965878abd059d13b5e236c
[ "Apache-2.0" ]
8
2021-03-12T15:35:09.000Z
2022-03-06T06:37:49.000Z
test/lru_test.exs
diodechain/diode_server_ex
5cf47e5253a0caafd335d0af4dba711d4dcad42d
[ "Apache-2.0" ]
15
2019-09-06T07:58:01.000Z
2021-03-06T17:04:46.000Z
test/lru_test.exs
diodechain/diode_server
1692788bd92cc17654965878abd059d13b5e236c
[ "Apache-2.0" ]
5
2021-10-01T12:52:28.000Z
2022-02-02T19:29:56.000Z
# Diode Server # Copyright 2021 Diode # Licensed under the Diode License, Version 1.1 defmodule LruTest do use ExUnit.Case test "base" do lru = Lru.new(10) assert Lru.size(lru) == 0 lru = Lru.insert(lru, "key", "value") assert Lru.size(lru) == 1 assert Lru.get(lru, "key") == "value" # Lr...
25.815385
65
0.561979
f79e648a4ab5977928cd04d4b58f3a3b83102e4f
22,734
ex
Elixir
lib/gradient/ast_specifier.ex
rodrigues/gradient
c09245b42d8d01b2624ca07648c41cc1a2dee49c
[ "Apache-2.0" ]
null
null
null
lib/gradient/ast_specifier.ex
rodrigues/gradient
c09245b42d8d01b2624ca07648c41cc1a2dee49c
[ "Apache-2.0" ]
null
null
null
lib/gradient/ast_specifier.ex
rodrigues/gradient
c09245b42d8d01b2624ca07648c41cc1a2dee49c
[ "Apache-2.0" ]
null
null
null
defmodule Gradient.AstSpecifier do @moduledoc """ Module adds missing location information to the Erlang abstract code produced from Elixir AST. Moreover it can be used to catch some ast pattern and replace it to forms that cannot be produced from Elixir directly. FIXME Optimize tokens searching. Find out w...
28.704545
101
0.613882
f79e7ab484d1b16fd57575289332cd2468388fba
30
ex
Elixir
apps/ut_monitor_lib/lib/ut_monitor_lib.ex
usertesting/nerves_status_monitors
18ccc7a3f3787d847a09328cea6c49b51605338a
[ "MIT" ]
1
2017-02-10T17:41:02.000Z
2017-02-10T17:41:02.000Z
apps/ut_monitor_lib/lib/ut_monitor_lib.ex
usertesting/nerves_status_monitors
18ccc7a3f3787d847a09328cea6c49b51605338a
[ "MIT" ]
null
null
null
apps/ut_monitor_lib/lib/ut_monitor_lib.ex
usertesting/nerves_status_monitors
18ccc7a3f3787d847a09328cea6c49b51605338a
[ "MIT" ]
null
null
null
defmodule UtMonitorLib do end
10
25
0.866667
f79e8c12e57f4d44343437ec53db8cc794426dcd
866
ex
Elixir
lib/movekr_web/schema.ex
devandcoffee/movekr-be
bff1690e22daec9a545ca7b69495cb928d68c0a5
[ "MIT" ]
null
null
null
lib/movekr_web/schema.ex
devandcoffee/movekr-be
bff1690e22daec9a545ca7b69495cb928d68c0a5
[ "MIT" ]
null
null
null
lib/movekr_web/schema.ex
devandcoffee/movekr-be
bff1690e22daec9a545ca7b69495cb928d68c0a5
[ "MIT" ]
null
null
null
defmodule MovekrWeb.Schema do use Absinthe.Schema alias MovekrWeb.AccountsResolver alias MovekrWeb.ProjectsResolver import_types(Movekr.Schema.DataTypes) query do @desc "Get all users" field :all_users, non_null(list_of(non_null(:user))) do resolve(&AccountsResolver.all_users/3) end end...
24.055556
59
0.700924
f79e8d26ff6ec2551ded18e3d376895f270b8e2a
3,276
ex
Elixir
plugins/one_dialer/lib/one_dialer.ex
smpallen99/ucx_ucc
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
11
2017-05-15T18:35:05.000Z
2018-02-05T18:27:40.000Z
plugins/one_dialer/lib/one_dialer.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
15
2017-11-27T10:38:05.000Z
2018-02-09T20:42:08.000Z
plugins/one_dialer/lib/one_dialer.ex
anndream/infinity_one
47225f205a6ac4aacdb9bb4f7512dcf4092576ad
[ "MIT" ]
4
2017-09-13T11:34:16.000Z
2018-02-26T13:37:06.000Z
defmodule OneDialer do @moduledoc """ Click to call implementation for OneChat. An interface for external PBX or calling service for handling calling phone numbers using a third party phone calling service like a PBX or web service. This module requires an adapter implementation which is configured with ...
32.76
88
0.68254
f79eaed711d1f4e6b673e091b452ce8efb33c279
111
ex
Elixir
harbor/lib/harbor/permissions.ex
miapolis/port7
7df1223f83d055eeb6ce8f61f4af8b4f2cf33e74
[ "MIT" ]
null
null
null
harbor/lib/harbor/permissions.ex
miapolis/port7
7df1223f83d055eeb6ce8f61f4af8b4f2cf33e74
[ "MIT" ]
null
null
null
harbor/lib/harbor/permissions.ex
miapolis/port7
7df1223f83d055eeb6ce8f61f4af8b4f2cf33e74
[ "MIT" ]
null
null
null
defmodule Harbor.Permissions do def can_manage_members?(roles) do Enum.member?(roles, :leader) end end
18.5
35
0.747748
f79eaf34379de61c41b90e2232d3b341c6ffeef4
2,187
exs
Elixir
persistent_tree/test/persistent_tree_test/day13_test.exs
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
persistent_tree/test/persistent_tree_test/day13_test.exs
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
persistent_tree/test/persistent_tree_test/day13_test.exs
alex-dukhno/elixir-tdd-katas
57e25fc275c4274c889f2b3760276cc8a393de9e
[ "MIT" ]
null
null
null
defmodule PersistentTreeTest.Day13 do use ExUnit.Case alias PersistentTree.Day13, as: Tree alias PersistentTree.Day13.{Leaf, Node} defp empty(), do: %Leaf{} defp bottom_node(val), do: %Node{item: val, left: empty(), right: empty()} defp node_with_left(val, []), do: bottom_node(val) defp ...
28.402597
79
0.534065
f79eba579bee49fde18585f5079f70f554e13503
1,781
ex
Elixir
clients/run/lib/google_api/run/v1/model/resource_record.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/run/lib/google_api/run/v1/model/resource_record.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/run/lib/google_api/run/v1/model/resource_record.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...
33.603774
170
0.699045
f79f23e0aa9864f5d75654304f376f4d2a452057
388
exs
Elixir
programming_elixir/Link2.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
programming_elixir/Link2.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
programming_elixir/Link2.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule Link2 do import(:timer, only: [sleep: 1]) def sad_function do sleep 500 exit(:boom) end def run do res = spawn_monitor(Link2, :sad_function, []) IO.puts inspect res receive do msg -> IO.puts "MESSAGE RECIVED: #{inspect msg}" after 1000 -> IO.puts "Noth...
17.636364
59
0.613402
f79f36d37e43a73a3c8841c0dcd1f57d6f81febe
67
ex
Elixir
lib/conductor_web/views/layout_view.ex
meltingice/conductor
630440adc1081a0991d3dba17ced775a9dd05055
[ "MIT" ]
null
null
null
lib/conductor_web/views/layout_view.ex
meltingice/conductor
630440adc1081a0991d3dba17ced775a9dd05055
[ "MIT" ]
2
2021-03-10T20:23:26.000Z
2021-05-11T15:56:49.000Z
lib/conductor_web/views/layout_view.ex
meltingice/conductor
630440adc1081a0991d3dba17ced775a9dd05055
[ "MIT" ]
1
2020-06-05T02:34:58.000Z
2020-06-05T02:34:58.000Z
defmodule ConductorWeb.LayoutView do use ConductorWeb, :view end
16.75
36
0.820896
f79f65dd7cc14c19865ec44301728c1a87ca4d7f
1,474
exs
Elixir
apps/omg_watcher/test/omg_watcher/integration/test_server_test.exs
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/test/omg_watcher/integration/test_server_test.exs
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
apps/omg_watcher/test/omg_watcher/integration/test_server_test.exs
kendricktan/elixir-omg
834c103fd5c4b9e063c1d32b9b4e5728abb64009
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 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.5
84
0.676391
f79f8a6d14b1a63932eadfc9259e0414f10ef4e5
3,760
exs
Elixir
banking_challenge_stone_umbrella/apps/banking_challenge_web/test/banking_challenge_web/controllers/transaction_controller_test.exs
douxsalemk/banking_challenge_stone
59c2790a0f14b68c2b25851c806ebc553227316d
[ "Apache-2.0" ]
null
null
null
banking_challenge_stone_umbrella/apps/banking_challenge_web/test/banking_challenge_web/controllers/transaction_controller_test.exs
douxsalemk/banking_challenge_stone
59c2790a0f14b68c2b25851c806ebc553227316d
[ "Apache-2.0" ]
null
null
null
banking_challenge_stone_umbrella/apps/banking_challenge_web/test/banking_challenge_web/controllers/transaction_controller_test.exs
douxsalemk/banking_challenge_stone
59c2790a0f14b68c2b25851c806ebc553227316d
[ "Apache-2.0" ]
null
null
null
defmodule BankingChallengeWeb.TransactionControllerTest do use BankingChallengeWeb.ConnCase alias BankingChallenge.Accounts.Schemas.Account describe "send/2" do setup %{conn: conn} do params1 = %{"number_account" => 12123} params2 = %{"number_account" => 12133} {:ok, %Account{id: from_a...
33.274336
139
0.557979
f79fa9c2836d877630fe62bf34a5babf94d6243e
2,390
exs
Elixir
test/plug/adapters/cowboy_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
1,218
2017-07-14T15:13:32.000Z
2022-03-30T16:42:42.000Z
test/plug/adapters/cowboy_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
502
2017-07-19T15:36:44.000Z
2022-03-31T06:47:36.000Z
test/plug/adapters/cowboy_test.exs
outstand/plug
e75d542b3028b5c1f348ac9d128306c46a6b6e70
[ "Apache-2.0" ]
376
2017-07-17T15:47:55.000Z
2022-03-23T19:24:30.000Z
defmodule Plug.Adapters.CowboyTest do use ExUnit.Case @raise_message "plug_cowboy dependency missing" @missing_warning "{:plug_cowboy, \"~> 1.0\"}" @plug_cowboy_path Path.expand("../../fixtures/plug_cowboy.exs", __DIR__) setup do Code.require_file(@plug_cowboy_path) :ok end import ExUnit.Captur...
28.117647
86
0.66569
f79fdb5ed2c7e25c7e13437d7fec3592e2d9585e
862
exs
Elixir
mix.exs
RobertDober/md0
b2337e69a9bea6b2b17951b75daa15fe7fe8cfad
[ "Apache-2.0" ]
null
null
null
mix.exs
RobertDober/md0
b2337e69a9bea6b2b17951b75daa15fe7fe8cfad
[ "Apache-2.0" ]
null
null
null
mix.exs
RobertDober/md0
b2337e69a9bea6b2b17951b75daa15fe7fe8cfad
[ "Apache-2.0" ]
null
null
null
defmodule Md0.MixProject do use Mix.Project def project do [ app: :md0, version: "0.1.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env), escript: escript_config(), start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" t...
22.102564
88
0.591647
f79fdd5686dc31c8b918bdaf640443c7fe9e26f3
879
ex
Elixir
lib/fx/rates.ex
kelvintaywl/fx
1bb29b790e49a79309ca22788cafd432e1edfd92
[ "MIT" ]
null
null
null
lib/fx/rates.ex
kelvintaywl/fx
1bb29b790e49a79309ca22788cafd432e1edfd92
[ "MIT" ]
null
null
null
lib/fx/rates.ex
kelvintaywl/fx
1bb29b790e49a79309ca22788cafd432e1edfd92
[ "MIT" ]
null
null
null
defmodule Fx.Rates do def from(amount) when amount >= 0.0 do from(amount, :USD) end def from(amount, currency) when amount >= 0.0 do rates = Fx.API.latest(currency) {:ok, %{amount: amount, currency: currency, rates: rates}} end def to({:ok, %{amount: amount, currency: currency, rates: rates}}) ...
27.46875
154
0.649602
f79ff43add99b12cc73ee0601408ed7aaaa75a6d
3,374
ex
Elixir
lib/la_famiglia/conversation.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
5
2016-10-20T10:00:59.000Z
2017-11-19T08:14:18.000Z
lib/la_famiglia/conversation.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
39
2020-04-22T05:27:32.000Z
2022-03-13T17:22:26.000Z
lib/la_famiglia/conversation.ex
cruessler/lafamiglia
084915a2d44a5e69fb6ad9321eac08ced0e3016a
[ "MIT" ]
null
null
null
defmodule LaFamiglia.Conversation do use LaFamiglia.Web, :model alias LaFamiglia.Repo alias LaFamiglia.Player alias LaFamiglia.Conversation alias LaFamiglia.Message alias LaFamiglia.ConversationStatus alias __MODULE__ schema "conversations" do field :last_message_sent_at, :utc_datetime field...
30.672727
96
0.686722
f7a035a5097c62cb1d84e72ce96f883c9aac963b
2,566
ex
Elixir
lib/tz_world/backend/memory.ex
LostKobrakai/tz_world
65e138301adc0c9e6d6135897d2607ef6c361bca
[ "MIT" ]
null
null
null
lib/tz_world/backend/memory.ex
LostKobrakai/tz_world
65e138301adc0c9e6d6135897d2607ef6c361bca
[ "MIT" ]
null
null
null
lib/tz_world/backend/memory.ex
LostKobrakai/tz_world
65e138301adc0c9e6d6135897d2607ef6c361bca
[ "MIT" ]
null
null
null
defmodule TzWorld.Backend.Memory do @behaviour TzWorld.Backend use GenServer alias TzWorld.GeoData alias Geo.Point @timeout 10_000 @doc false def start_link(options \\ []) do GenServer.start_link(__MODULE__, options, name: __MODULE__) end def init(_options) do {:ok, [], {:continue, :load_...
28.197802
79
0.6212
f7a06b430811b308e5373bb6c1de6704af7b9c2e
77
exs
Elixir
apps/admin/test/test_helper.exs
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
apps/admin/test/test_helper.exs
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
apps/admin/test/test_helper.exs
votiakov/petal
ec03551da6dadc0c3482b25a5f5dcd400c36db43
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Legendary.Admin.Repo, :manual)
25.666667
61
0.792208
f7a087694c599eb5a80b6d0e43bb5954ef30a718
484
ex
Elixir
test/support/fake_sub_data.ex
StephaneRob/borsh_ex
279cb1f55effd4a29c1d571f78d4ed9d4ec44aaa
[ "BSD-2-Clause" ]
1
2022-01-23T16:28:34.000Z
2022-01-23T16:28:34.000Z
test/support/fake_sub_data.ex
StephaneRob/borsh_ex
279cb1f55effd4a29c1d571f78d4ed9d4ec44aaa
[ "BSD-2-Clause" ]
null
null
null
test/support/fake_sub_data.ex
StephaneRob/borsh_ex
279cb1f55effd4a29c1d571f78d4ed9d4ec44aaa
[ "BSD-2-Clause" ]
null
null
null
defmodule BorshEx.FakeSubData do use BorshEx.Schema defstruct a: nil, b: nil, c: nil, d: nil, e: nil, f: nil, g: nil, h: nil, i: nil, j: nil, k: nil borsh_schema do field :a, "string" field :b, "u64" field :c, "u8" field :d, {"array", "u8"} field :e, {"array", {"u16", 10}} field :f, "boo...
24.2
98
0.53719
f7a089c992e2b9136ec6fad6990e991b0b79b4b6
1,854
ex
Elixir
clients/content/lib/google_api/content/v2/model/shippingsettings_get_supported_carriers_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/shippingsettings_get_supported_carriers_response.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/content/lib/google_api/content/v2/model/shippingsettings_get_supported_carriers_response.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.653846
175
0.747573
f7a0e3b277f18e4aee2c8e247e510dd06d00c2cf
13,846
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/floodlight_configurations.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/floodlight_configurations.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/floodlight_configurations.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.085106
196
0.620179
f7a0ef645ea71761df3d1d5119e739b6eeb06973
1,324
exs
Elixir
config/releases.exs
ethervoid/postoffice
5cb275ed5e18ec8ff91523013c3b4215fe41a53f
[ "Apache-2.0" ]
null
null
null
config/releases.exs
ethervoid/postoffice
5cb275ed5e18ec8ff91523013c3b4215fe41a53f
[ "Apache-2.0" ]
null
null
null
config/releases.exs
ethervoid/postoffice
5cb275ed5e18ec8ff91523013c3b4215fe41a53f
[ "Apache-2.0" ]
null
null
null
import Config config :postoffice, PostofficeWeb.Endpoint, secret_key_base: {:system, "SECRET_KEY_BASE", default: "12121212"} config :postoffice, pubsub_project_name: {:system, "GCLOUD_PUBSUB_PROJECT_ID", default: "test"} config :postoffice, Postoffice.Repo, username: {:system, "DB_USERNAME", default: "postgres"}...
35.783784
96
0.705438
f7a122958b1ca93c7134580a1a2620cf24fa5478
1,045
exs
Elixir
mix.exs
Logflare/turnio-prometheus-parser
588e72e3779fb78621a008a81ee5426909145f89
[ "Apache-2.0" ]
null
null
null
mix.exs
Logflare/turnio-prometheus-parser
588e72e3779fb78621a008a81ee5426909145f89
[ "Apache-2.0" ]
null
null
null
mix.exs
Logflare/turnio-prometheus-parser
588e72e3779fb78621a008a81ee5426909145f89
[ "Apache-2.0" ]
null
null
null
defmodule PrometheusParser.MixProject do use Mix.Project def project do [ app: :prometheus_parser, version: "0.1.5", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: description() ] end defp package() do ...
23.222222
87
0.585646
f7a134f60e495b9be05eba07d509f2e58247223e
864
ex
Elixir
lib/backend/application.ex
damonvjanis/messenger-react
018ea500ec73a69dea57a6ea1e708a202a7cb9c1
[ "MIT" ]
1
2021-02-12T17:40:54.000Z
2021-02-12T17:40:54.000Z
lib/backend/application.ex
damonvjanis/messenger-react
018ea500ec73a69dea57a6ea1e708a202a7cb9c1
[ "MIT" ]
3
2022-02-13T11:17:47.000Z
2022-02-27T03:19:11.000Z
lib/backend/application.ex
damonvjanis/messenger-react
018ea500ec73a69dea57a6ea1e708a202a7cb9c1
[ "MIT" ]
1
2021-08-22T14:45:41.000Z
2021-08-22T14:45:41.000Z
defmodule Backend.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ Backend.Repo, BackendWeb.Endpoint, {Absi...
27.870968
61
0.721065
f7a1355f96fd31e89be50efcb7989237fa263519
405
ex
Elixir
lib/etdpay_web/controllers/users_controller.ex
epsilveira/etdpay
8460bd6bf128ae93d04895494220bff121778f2f
[ "MIT" ]
null
null
null
lib/etdpay_web/controllers/users_controller.ex
epsilveira/etdpay
8460bd6bf128ae93d04895494220bff121778f2f
[ "MIT" ]
null
null
null
lib/etdpay_web/controllers/users_controller.ex
epsilveira/etdpay
8460bd6bf128ae93d04895494220bff121778f2f
[ "MIT" ]
null
null
null
defmodule EtdpayWeb.UsersController do use EtdpayWeb, :controller alias Etdpay.User action_fallback EtdpayWeb.FallbackController def create(conn, params) do with {:ok, %User{} = user} <- Etdpay.create_user(params) do conn |> put_status(:created) |> render("create.json", user: user) ...
22.5
69
0.681481
f7a148efc12de2d00ffbea062cff1dbc4be3aab3
2,954
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/resource_policy_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/resource_policy_list.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/resource_policy_list.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...
45.446154
393
0.711916
f7a14f35fa8303818622bb1f170d288806ad726f
730
ex
Elixir
lib/history/lending_rates/lending_rate_history_chunk.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
20
2021-08-06T01:09:48.000Z
2022-03-28T18:44:56.000Z
lib/history/lending_rates/lending_rate_history_chunk.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
13
2021-08-21T21:17:02.000Z
2022-03-27T06:33:51.000Z
lib/history/lending_rates/lending_rate_history_chunk.ex
fremantle-industries/history
a8a33744279ff4ca62620785f9a2e9c0c99e4de7
[ "MIT" ]
2
2021-09-23T11:31:59.000Z
2022-01-09T16:19:35.000Z
defmodule History.LendingRates.LendingRateHistoryChunk do use Ecto.Schema import Ecto.Changeset alias History.LendingRates schema "lending_rate_history_chunks" do field(:venue, :string) field(:token, :string) field(:start_at, :utc_datetime) field(:end_at, :utc_datetime) field(:status, Histo...
28.076923
73
0.70274
f7a160adc443b4e795dc0ccd504cd575e870759d
731
ex
Elixir
lib/plug/verify_request.ex
erikvullings/json-service
c920346e503e05d98e20b17283d43037c6202d7f
[ "MIT" ]
null
null
null
lib/plug/verify_request.ex
erikvullings/json-service
c920346e503e05d98e20b17283d43037c6202d7f
[ "MIT" ]
null
null
null
lib/plug/verify_request.ex
erikvullings/json-service
c920346e503e05d98e20b17283d43037c6202d7f
[ "MIT" ]
null
null
null
defmodule JsonService.Plug.VerifyRequest do defmodule IncompleteRequestError do @moduledoc """ Error raised when a required field is missing. """ defexception message: "", plug_status: 400 end def init(options), do: options def call(%Plug.Conn{request_path: path} = conn, opts...
26.107143
83
0.640219
f7a18323e508d52de1a8b2115bc6cdc48da3c96c
1,598
exs
Elixir
lib/eex/test/eex/smart_engine_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/eex/test/eex/smart_engine_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/eex/test/eex/smart_engine_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("../test_helper.exs", __DIR__) defmodule EEx.SmartEngineTest do use ExUnit.Case, async: true test "evaluates simple string" do assert_eval("foo bar", "foo bar") end test "evaluates with assigns as keywords" do assert_eval("1", "<%= @foo %>", assigns: [foo: 1]) end test "evaluat...
26.633333
90
0.610138
f7a184ae0b068b0b8ee86841b81f897ecb1b6c55
2,235
exs
Elixir
apps/flv/test/flv/video_data_test.exs
tiensonqin/elixir-media-libs
87f17e2b23bf8380e785423652910bfa7d3bb47c
[ "MIT" ]
null
null
null
apps/flv/test/flv/video_data_test.exs
tiensonqin/elixir-media-libs
87f17e2b23bf8380e785423652910bfa7d3bb47c
[ "MIT" ]
null
null
null
apps/flv/test/flv/video_data_test.exs
tiensonqin/elixir-media-libs
87f17e2b23bf8380e785423652910bfa7d3bb47c
[ "MIT" ]
null
null
null
defmodule Flv.VideoDataTest do use ExUnit.Case, async: true test "Can parse avc keyframe with sequence header packet type" do binary = Base.decode16!( "17000000000164001FFFE1001B6764001FACD9405005BA6A021A0280000003008000001E478C18CB01000468EFBCB0" ) expected_data = Base.decode16!...
33.863636
210
0.682327
f7a18a19cee4645137a8f6f6d49f753ba5336b54
2,307
ex
Elixir
clients/service_management/lib/google_api/service_management/v1/model/metric_descriptor_metadata.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/service_management/lib/google_api/service_management/v1/model/metric_descriptor_metadata.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/service_management/lib/google_api/service_management/v1/model/metric_descriptor_metadata.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 ...
39.101695
134
0.733853
f7a1ca26ff8d9f200f5d62e80504eefb38bbbd63
2,377
ex
Elixir
lib/hello_elixir_web.ex
lubien/hello_elixir
67305875a817376216b793711426aae3ff0d6bd2
[ "Apache-2.0" ]
14
2021-05-02T14:11:03.000Z
2021-10-19T14:03:39.000Z
lib/hello_elixir_web.ex
fly-apps/hello_elixir_sqlite
f4484624a25c47c3034b8249aeb8aeecd321bf17
[ "Apache-2.0" ]
2
2021-11-03T17:27:28.000Z
2021-12-03T20:34:12.000Z
lib/hello_elixir_web.ex
fly-apps/hello_elixir_sqlite
f4484624a25c47c3034b8249aeb8aeecd321bf17
[ "Apache-2.0" ]
6
2021-11-08T13:52:39.000Z
2022-01-13T19:24:49.000Z
defmodule HelloElixirWeb 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 HelloElixirWeb, :controller use HelloElixirWeb, :view The definitions below will be executed for every view, ...
23.07767
81
0.687
f7a20b7129d275980c968dc6aae30d2b21e64393
1,866
exs
Elixir
test/grizzly/smart_start/meta_extension/bootstrapping_mode_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
test/grizzly/smart_start/meta_extension/bootstrapping_mode_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
test/grizzly/smart_start/meta_extension/bootstrapping_mode_test.exs
ryanwinchester/grizzly
86002e01debe63c18f85270ddc948e3875f25043
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.SmartStart.MetaExtension.BootstrappingModeTest do use ExUnit.Case, async: true alias Grizzly.SmartStart.MetaExtension.BootstrappingMode describe "create a BootstrappingMode.t()" do test "when mode is :security_2" do expected_mode = %BootstrappingMode{mode: :security_2} assert {...
31.627119
85
0.686495
f7a22dca523b2cb2b729af02e8ba18fd25b2742b
675
ex
Elixir
3. pacman rules/rules.ex
gabrielclaudino/exercism-elixir
ec5a14f6f8c70f60a201a222a75c1fe5ce14725a
[ "MIT" ]
null
null
null
3. pacman rules/rules.ex
gabrielclaudino/exercism-elixir
ec5a14f6f8c70f60a201a222a75c1fe5ce14725a
[ "MIT" ]
null
null
null
3. pacman rules/rules.ex
gabrielclaudino/exercism-elixir
ec5a14f6f8c70f60a201a222a75c1fe5ce14725a
[ "MIT" ]
null
null
null
defmodule Rules do @spec eat_ghost?(boolean, boolean) :: boolean def eat_ghost?(power_pellet_active, touching_ghost) do power_pellet_active and touching_ghost end @spec score?(boolean, boolean) :: boolean def score?(touching_power_pellet, touching_dot) do touching_power_pellet or touching_dot end ...
30.681818
73
0.771852
f7a24aefa1b1e347147ad7d8a624d7eba29e0399
17,038
ex
Elixir
lib/commanded/process_managers/process_router.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
null
null
null
lib/commanded/process_managers/process_router.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
null
null
null
lib/commanded/process_managers/process_router.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
null
null
null
defmodule Commanded.ProcessManagers.ProcessRouter do @moduledoc false use GenServer use Commanded.Registration require Logger alias Commanded.Event.Upcast alias Commanded.EventStore alias Commanded.EventStore.RecordedEvent alias Commanded.ProcessManagers.FailureContext alias Commanded.ProcessManage...
31.205128
104
0.658411
f7a28def5f0197da6ccbf387eb79c6be498af232
7,788
exs
Elixir
apps/andi/test/integration/andi_web/live/data_dictionary_tree_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
18
2020-11-13T15:38:24.000Z
2021-05-26T00:40:08.000Z
apps/andi/test/integration/andi_web/live/data_dictionary_tree_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
365
2020-09-21T12:31:40.000Z
2021-09-25T14:54:21.000Z
apps/andi/test/integration/andi_web/live/data_dictionary_tree_test.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
3
2020-10-06T16:17:49.000Z
2021-09-03T17:11:41.000Z
defmodule AndiWeb.EditLiveView.DataDictionaryTreeTest do use ExUnit.Case use AndiWeb.Test.PublicAccessCase use Andi.DataCase use AndiWeb.Test.AuthConnCase.IntegrationCase import Phoenix.LiveViewTest import SmartCity.TestHelper @moduletag shared_data_connection: true alias Andi.InputSchemas.Datasets ...
36.392523
140
0.659219
f7a2bbb3478ea23d8afece640778a4510f6fb5cb
4,723
exs
Elixir
.credo.exs
beadsland/elixirscript
cb9698ad96075fcbe87b3933009d7ab2a2c939de
[ "MIT" ]
854
2017-02-19T01:50:45.000Z
2022-03-14T18:55:38.000Z
.credo.exs
beadsland/elixirscript
cb9698ad96075fcbe87b3933009d7ab2a2c939de
[ "MIT" ]
210
2017-02-20T17:44:39.000Z
2020-08-01T10:18:07.000Z
.credo.exs
beadsland/elixirscript
cb9698ad96075fcbe87b3933009d7ab2a2c939de
[ "MIT" ]
56
2017-02-19T14:50:05.000Z
2022-02-25T17:25:30.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
41.069565
80
0.663138
f7a3122457263a3ee6753200016543847efb4771
5,460
ex
Elixir
lib/titeenipeli_web/channels/game_channel.ex
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
lib/titeenipeli_web/channels/game_channel.ex
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
lib/titeenipeli_web/channels/game_channel.ex
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
defmodule TiteenipeliWeb.GameChannel do use TiteenipeliWeb, :channel require Logger alias Titeenipeli.Game alias Titeenipeli.Core alias Titeenipeli.Model.User alias TiteenipeliWeb.GameView @ratelimit_period 10_000 @ratelimit_count 100 def join("game:" <> game_id, _payload, socket) do player_id =...
30.674157
109
0.642308
f7a31a2e2650b0fccd54b8a63ac24985cc1e2101
328
exs
Elixir
test/lilac/module_test.exs
Stratus3D/lilac
0d3cc5a1c416d8b94b5744b083046295f1e832ba
[ "MIT" ]
2
2015-02-16T15:22:15.000Z
2016-06-10T23:38:08.000Z
test/lilac/module_test.exs
Stratus3D/lilac
0d3cc5a1c416d8b94b5744b083046295f1e832ba
[ "MIT" ]
null
null
null
test/lilac/module_test.exs
Stratus3D/lilac
0d3cc5a1c416d8b94b5744b083046295f1e832ba
[ "MIT" ]
null
null
null
defmodule Lilac.ModuleTest do use ExUnit.Case test "All functions in :teal_behaviours are available" do lilac_exports = length(Lilac.Module.module_info :exports) - 1 # Elixir modules have an extra function teal_exports = length(:teal_modules.module_info :exports) assert lilac_exports == teal_exports ...
32.8
105
0.768293
f7a32c0aedec4b4672d16fd26d123d4cecb00d87
5,050
ex
Elixir
lib/elixir/lib/module/checker.ex
Javyre/elixir
4da31098a84268d040e569590515744c02efb9cc
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/checker.ex
Javyre/elixir
4da31098a84268d040e569590515744c02efb9cc
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/module/checker.ex
Javyre/elixir
4da31098a84268d040e569590515744c02efb9cc
[ "Apache-2.0" ]
null
null
null
defmodule Module.Checker do def verify(module_map, _binary) do state = %{ file: module_map.file, module: module_map.module, compile_opts: module_map.compile_opts, function: nil } module_map.definitions |> check_definitions(state) |> List.flatten() |> merge_warnings() ...
27.595628
96
0.640198
f7a35be903b733095de356f20aee4b1c27b85a4a
16,528
ex
Elixir
lib/mix/tasks/docs.ex
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/mix/tasks/docs.ex
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/mix/tasks/docs.ex
devtayls/ex_doc
0319ace1782c9a6cd4ade57a5df6f8649d9b2683
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule Mix.Tasks.Docs do use Mix.Task @shortdoc "Generate documentation for the project" @moduledoc ~S""" Uses ExDoc to generate a static web page from the project documentation. ## Command line options * `--canonical`, `-n` - Indicate the preferred URL with rel="canonical" link element, defa...
35.467811
102
0.674613
f7a35cd65e82ae3997f03bf899628d2a1a54d414
3,981
ex
Elixir
lib/elixir/lib/collectable.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/collectable.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/collectable.ex
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
defprotocol Collectable do @moduledoc """ A protocol to traverse data structures. The `Enum.into/2` function uses this protocol to insert an enumerable into a collection: iex> Enum.into([a: 1, b: 2], %{}) %{a: 1, b: 2} ## Why Collectable? The `Enumerable` protocol is useful to take values ou...
28.234043
79
0.639287
f7a374cc245d3dbab452449f8d0316fc24276d04
71
exs
Elixir
2016/day09/priv/day09.exs
matt-thomson/advent-of-code
feff903151284240a9d3f0c84cdfe52d8d11ef06
[ "MIT" ]
null
null
null
2016/day09/priv/day09.exs
matt-thomson/advent-of-code
feff903151284240a9d3f0c84cdfe52d8d11ef06
[ "MIT" ]
null
null
null
2016/day09/priv/day09.exs
matt-thomson/advent-of-code
feff903151284240a9d3f0c84cdfe52d8d11ef06
[ "MIT" ]
null
null
null
filename = System.argv |> Enum.at(0) IO.puts Day09.part_one(filename)
17.75
36
0.732394
f7a37db01f7b2564c371d6095566aea2cca10f94
253
exs
Elixir
.formatter.exs
thepeoplesbourgeois/phoenix_live_controller
04286b79697e9a7a62abb37efd7725dd9124a6c3
[ "MIT" ]
35
2020-04-15T17:15:36.000Z
2021-11-08T08:50:50.000Z
.formatter.exs
thepeoplesbourgeois/phoenix_live_controller
04286b79697e9a7a62abb37efd7725dd9124a6c3
[ "MIT" ]
3
2020-04-15T14:07:28.000Z
2022-03-25T23:08:23.000Z
.formatter.exs
thepeoplesbourgeois/phoenix_live_controller
04286b79697e9a7a62abb37efd7725dd9124a6c3
[ "MIT" ]
3
2020-11-08T15:37:31.000Z
2022-03-23T05:36:54.000Z
export_locals_without_parens = [plug: 1, plug: 2] [ inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], locals_without_parens: export_locals_without_parens, export: [ locals_without_parens: export_locals_without_parens ] ]
25.3
70
0.715415
f7a37e8a8236c5fdd6756d77205d835a04d37137
12,857
ex
Elixir
apps/nerves_hub_web_core/lib/nerves_hub_web_core/firmwares.ex
acrogenesis/nerves_hub_web
27f651dd64b40a034254b50805884f4efd679957
[ "Apache-2.0" ]
1
2019-10-13T10:56:28.000Z
2019-10-13T10:56:28.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/firmwares.ex
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_web_core/lib/nerves_hub_web_core/firmwares.ex
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWebCore.Firmwares do import Ecto.Query alias Ecto.Changeset alias NervesHubWebCore.Accounts alias NervesHubWebCore.Accounts.{OrgKey, Org} alias NervesHubWebCore.Firmwares.{Firmware, FirmwareMetadata, FirmwareTransfer} alias NervesHubWebCore.Products alias NervesHubWebCore.Products.Prod...
28.957207
98
0.608307
f7a38b4e6247f4c0c0f367abc9a9e4e8ad16f928
409
exs
Elixir
services/fc_goods/config/dev.exs
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
46
2018-10-13T23:18:13.000Z
2021-08-07T07:46:51.000Z
services/fc_goods/config/dev.exs
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
25
2018-10-14T00:56:07.000Z
2019-12-23T19:41:02.000Z
services/fc_goods/config/dev.exs
fleadope/freshcom
8d5944befaa6eea8d31e5f5995939be2a1a44262
[ "BSD-3-Clause" ]
5
2018-12-16T04:39:51.000Z
2020-10-01T12:17:03.000Z
use Mix.Config config :eventstore, EventStore.Storage, serializer: FCBase.EventSerializer, username: System.get_env("EVENTSTORE_DB_USERNAME"), password: System.get_env("EVENTSTORE_DB_PASSWORD"), database: "fc_goods_eventstore_dev", hostname: "localhost", pool_size: 10 config :fc_state_storage, :adapter, F...
31.461538
63
0.794621
f7a38bc17cd936f148fc7e0f1682bc5fb9b951eb
2,709
ex
Elixir
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/authentication_rule.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/authentication_rule.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/service_consumer_management/lib/google_api/service_consumer_management/v1/model/authentication_rule.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
43
354
0.760059
f7a3a9b44ea56c086f50d63c2d51e6a62f22771c
1,471
ex
Elixir
lib/telegex/marked/rules/italic_rule.ex
Hentioe/telegex_mark
5c289404cff2c3f8ff4ef1157196886f5b81398c
[ "MIT" ]
1
2020-07-13T00:07:19.000Z
2020-07-13T00:07:19.000Z
lib/telegex/marked/rules/italic_rule.ex
Hentioe/telegex_mark
5c289404cff2c3f8ff4ef1157196886f5b81398c
[ "MIT" ]
12
2020-07-10T21:20:35.000Z
2020-07-26T02:19:51.000Z
lib/telegex/marked/rules/italic_rule.ex
Hentioe/telegex_mark
5c289404cff2c3f8ff4ef1157196886f5b81398c
[ "MIT" ]
null
null
null
defmodule Telegex.Marked.ItalicRule do @moduledoc false # Matching and parsing of italic nodes. use Telegex.Marked.Rule @markup "_" @ntype :italic @impl true def match(state) do %{line: %{src: src, len: len}, pos: pos} = state prev_char = String.at(src, pos - 1) next_char = String.at(src, ...
24.932203
91
0.552005
f7a3e2121976c35df10b309efe1882bc9db564fb
2,464
ex
Elixir
clients/tool_results/lib/google_api/tool_results/v1beta3/model/android_instrumentation_test.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/tool_results/lib/google_api/tool_results/v1beta3/model/android_instrumentation_test.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/tool_results/lib/google_api/tool_results/v1beta3/model/android_instrumentation_test.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 ...
41.066667
269
0.732549
f7a3e462838455bfb9ca84ad04092610bc16b750
1,922
ex
Elixir
clients/storage/lib/google_api/storage/v1/model/buckets.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/storage/lib/google_api/storage/v1/model/buckets.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/storage/lib/google_api/storage/v1/model/buckets.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.264151
205
0.712799
f7a3f0542796c70a8b7602181f637880946b1474
14,834
ex
Elixir
lib/surface/api.ex
mazz-seven/surface
2e2b027ffd8432478dd7cd9b83d4e6e32153fcbd
[ "MIT" ]
null
null
null
lib/surface/api.ex
mazz-seven/surface
2e2b027ffd8432478dd7cd9b83d4e6e32153fcbd
[ "MIT" ]
null
null
null
lib/surface/api.ex
mazz-seven/surface
2e2b027ffd8432478dd7cd9b83d4e6e32153fcbd
[ "MIT" ]
null
null
null
defmodule Surface.API do @moduledoc false alias Surface.IOHelper @types [ :any, :css_class, :list, :event, :boolean, :string, :time, :date, :datetime, :naive_datetime, :number, :integer, :decimal, :map, :fun, :atom, :module, :changeset, ...
26.776173
140
0.621613
f7a4204ae2fc604027ee08085f730d1026a79ddb
141
exs
Elixir
.formatter.exs
seantanly/elixir-combination
58756ca10f8f30bd3b3c923e8f893b0e424b4715
[ "MIT" ]
23
2016-01-16T20:45:39.000Z
2021-11-26T15:33:00.000Z
.formatter.exs
seantanly/elixir-combination
58756ca10f8f30bd3b3c923e8f893b0e424b4715
[ "MIT" ]
null
null
null
.formatter.exs
seantanly/elixir-combination
58756ca10f8f30bd3b3c923e8f893b0e424b4715
[ "MIT" ]
2
2016-01-15T10:43:07.000Z
2021-06-24T22:27:44.000Z
[ inputs: [ "mix.exs", "{config,lib,test}/**/*.{ex,exs}", "apps/*/mix.exs", "apps/*/{config,lib,test}/**/*.{ex,exs}" ] ]
15.666667
44
0.439716
f7a42b6f479ee2fd71fb8c13bd0c6bb5e663adc7
761
exs
Elixir
priv/repo/migrations/20201220184905_create_users_auth_tables.exs
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
priv/repo/migrations/20201220184905_create_users_auth_tables.exs
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
priv/repo/migrations/20201220184905_create_users_auth_tables.exs
AminArria/sponsorly
fa78ead63076a54cb1cb1f9d4f4c5fd7a4a78fac
[ "MIT" ]
null
null
null
defmodule Sponsorly.Repo.Migrations.CreateUsersAuthTables do use Ecto.Migration def change do execute "CREATE EXTENSION IF NOT EXISTS citext", "" create table(:users) do add :email, :citext, null: false add :hashed_password, :string, null: false add :confirmed_at, :naive_datetime t...
27.178571
75
0.674113
f7a4737204bec1073ee5f419c216d441ab6e1259
644
exs
Elixir
mix.exs
TheDragonProject/webhooks
5e0fc3fd53e439321ab65a99f06b31596ddce8ed
[ "MIT" ]
null
null
null
mix.exs
TheDragonProject/webhooks
5e0fc3fd53e439321ab65a99f06b31596ddce8ed
[ "MIT" ]
null
null
null
mix.exs
TheDragonProject/webhooks
5e0fc3fd53e439321ab65a99f06b31596ddce8ed
[ "MIT" ]
null
null
null
defmodule Webhooks.MixProject do use Mix.Project def project do [ app: :webhooks, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_a...
19.515152
59
0.526398
f7a47a30ef65ff8b655e252121ff72e68e324158
1,223
ex
Elixir
web/views/error_helpers.ex
selfup/unigen_visualizer
8c80290e71ff485f815929a0fe7269034345fea4
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
selfup/unigen_visualizer
8c80290e71ff485f815929a0fe7269034345fea4
[ "MIT" ]
null
null
null
web/views/error_helpers.ex
selfup/unigen_visualizer
8c80290e71ff485f815929a0fe7269034345fea4
[ "MIT" ]
null
null
null
defmodule UniApi.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do if error = form.errors[field] do content_tag :span, translate_error(error), c...
29.829268
72
0.666394
f7a4b8e689612118d0dd3925c7bcfe830851449c
16,985
exs
Elixir
lib/elixir/test/elixir/inspect_test.exs
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
1
2018-08-08T12:15:48.000Z
2018-08-08T12:15:48.000Z
lib/elixir/test/elixir/inspect_test.exs
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/inspect_test.exs
lytedev/elixir
dc25bb8e1484e2328eef819402d268dec7bb908a
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) defmodule Inspect.AtomTest do use ExUnit.Case, async: true doctest Inspect test "basic" do assert inspect(:foo) == ":foo" end test "empty" do assert inspect(:"") == ":\"\"" end test "true, false, nil" do assert inspect(false) == "false" as...
29.487847
98
0.554784
f7a4e34cb5b6794a05e64e5c1265bc16666332fe
37
ex
Elixir
apps/panacea_beacon/lib/panacea_beacon/util/beacon.ex
timjp87/panacea
5edddfa12a8f18b040248b9b186479b9ec8aed51
[ "MIT" ]
null
null
null
apps/panacea_beacon/lib/panacea_beacon/util/beacon.ex
timjp87/panacea
5edddfa12a8f18b040248b9b186479b9ec8aed51
[ "MIT" ]
null
null
null
apps/panacea_beacon/lib/panacea_beacon/util/beacon.ex
timjp87/panacea
5edddfa12a8f18b040248b9b186479b9ec8aed51
[ "MIT" ]
null
null
null
defmodule Beacon.Util.Beacon do end
9.25
31
0.810811
f7a4f2a953369ae028cdecdd1ab5e2413d580eb6
3,049
ex
Elixir
lib/unicode/script.ex
elixir-cldr/unicode
43f7b53a0df4e178098f8e507f596387a37d1e13
[ "Apache-2.0" ]
21
2019-11-22T02:29:31.000Z
2021-12-14T01:30:36.000Z
lib/unicode/script.ex
kipcole9/cldr_unicode
43f7b53a0df4e178098f8e507f596387a37d1e13
[ "Apache-2.0" ]
3
2020-10-10T22:02:03.000Z
2021-05-24T18:15:46.000Z
lib/unicode/script.ex
kipcole9/cldr_unicode
43f7b53a0df4e178098f8e507f596387a37d1e13
[ "Apache-2.0" ]
2
2020-10-10T14:50:04.000Z
2021-05-24T16:35:52.000Z
defmodule Unicode.Script do @moduledoc """ Functions to introspect Unicode scripts for binaries (Strings) and codepoints. """ @behaviour Unicode.Property.Behaviour alias Unicode.Utils @scripts Utils.scripts() |> Utils.remove_annotations() @doc """ Returns the map of Unicode scripts...
20.059211
82
0.655297