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
79e4922bd7158df424657ceae0a269d18cf22e67
2,225
exs
Elixir
mix.exs
ashkan18/readtome
09cdfa3813f49db816e8b477416672a87bd332ac
[ "MIT" ]
1
2021-09-05T20:54:57.000Z
2021-09-05T20:54:57.000Z
mix.exs
ashkan18/readtome
09cdfa3813f49db816e8b477416672a87bd332ac
[ "MIT" ]
17
2019-07-06T17:31:56.000Z
2021-06-22T15:31:06.000Z
mix.exs
ashkan18/readtome
09cdfa3813f49db816e8b477416672a87bd332ac
[ "MIT" ]
1
2021-03-15T20:50:27.000Z
2021-03-15T20:50:27.000Z
defmodule Readtome.Mixfile do use Mix.Project def project do [ app: :readtome, version: "0.0.1", elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, aliases: aliases(), ...
27.8125
81
0.531685
79e4b1e1210743ec01c44c6d7faff47d104d40a6
2,894
ex
Elixir
deps/mojito/lib/mojito/utils.ex
PrecisionNutrition/frogger
96374fe0ac0ea616205f6678fe088802572e922e
[ "MIT" ]
null
null
null
deps/mojito/lib/mojito/utils.ex
PrecisionNutrition/frogger
96374fe0ac0ea616205f6678fe088802572e922e
[ "MIT" ]
null
null
null
deps/mojito/lib/mojito/utils.ex
PrecisionNutrition/frogger
96374fe0ac0ea616205f6678fe088802572e922e
[ "MIT" ]
null
null
null
defmodule Mojito.Utils do @moduledoc false alias Mojito.Error @doc ~S""" Ensures that the return value errors are of the form `{:error, %Mojito.Error{}}`. Values `:ok` and `{:ok, val}` are considered successful; other values are treated as errors. """ @spec wrap_return_value(any) :: :ok | {:ok, any} ...
28.94
77
0.571873
79e4b26bea1b3ebd1f9b2a6cbe3df211fb4e0d29
324
ex
Elixir
lib/kvstore.ex
rustamtolipov/kvstore
1e7aba085fd0888975ef407377489d253d81bf2a
[ "MIT" ]
null
null
null
lib/kvstore.ex
rustamtolipov/kvstore
1e7aba085fd0888975ef407377489d253d81bf2a
[ "MIT" ]
null
null
null
lib/kvstore.ex
rustamtolipov/kvstore
1e7aba085fd0888975ef407377489d253d81bf2a
[ "MIT" ]
null
null
null
defmodule KVstore do use Application def start(_type, _args) do import Supervisor.Spec children = [ Plug.Adapters.Cowboy.child_spec(:http, KVstore.Router, [], [port: 4001]), worker(KVstore.Storage, []) ] opts = [strategy: :one_for_one] Supervisor.start_link(children, opts) end ...
19.058824
79
0.660494
79e4c290eef3af1240e27a275b81ff69c3323f7e
521
exs
Elixir
backend/priv/repo/migrations/20191102093740_create_users.exs
danesjenovdan/kjer.si
185410ede2d42892e4d91c000099283254c5dc7a
[ "Unlicense" ]
2
2019-11-02T21:28:34.000Z
2019-11-28T18:01:08.000Z
backend/priv/repo/migrations/20191102093740_create_users.exs
danesjenovdan/kjer.si
185410ede2d42892e4d91c000099283254c5dc7a
[ "Unlicense" ]
17
2019-11-29T16:23:38.000Z
2022-02-14T05:11:41.000Z
backend/priv/repo/migrations/20191102093740_create_users.exs
danesjenovdan/kjer.si
185410ede2d42892e4d91c000099283254c5dc7a
[ "Unlicense" ]
null
null
null
defmodule KjerSi.Repo.Migrations.CreateUsers do use Ecto.Migration def change do execute "CREATE EXTENSION IF NOT EXISTS postgis" create table(:users, primary_key: false) do add :id, :binary_id, primary_key: true add :nickname, :string, null: false add :uid, :string, null: false ad...
24.809524
52
0.677543
79e50eaea6300398bc2852e8f674f12c01cd29f0
2,010
ex
Elixir
lib/concentrate/struct_helpers.ex
paulswartz/concentrate
a69aa51c16071f2669932005be810da198f622c8
[ "MIT" ]
19
2018-01-22T18:39:20.000Z
2022-02-22T16:15:30.000Z
lib/concentrate/struct_helpers.ex
mbta/concentrate
bae6e05713ed079b7da53867a01dd007861fb656
[ "MIT" ]
216
2018-01-22T14:22:39.000Z
2022-03-31T10:30:31.000Z
lib/concentrate/struct_helpers.ex
paulswartz/concentrate
a69aa51c16071f2669932005be810da198f622c8
[ "MIT" ]
5
2018-01-22T14:18:15.000Z
2021-04-26T18:34:19.000Z
defmodule Concentrate.StructHelpers do @moduledoc false @doc """ Builds accessors for each struct field. ## Example defmodule Test do defstruct_accessors([:one, :two]) end iex> Test.one(Test.new(one: 1)) 1 """ defmacro defstruct_accessors(fields) do [ define_str...
20.9375
73
0.594527
79e51ca746a26532e42f3f93d009d2cf6ccd150c
6,002
ex
Elixir
apps/core/lib/core/persons/v2/validator.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/lib/core/persons/v2/validator.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/lib/core/persons/v2/validator.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.Persons.V2.Validator do @moduledoc "Additional validation of Person request structure that cannot be covered by JSON Schema" alias Core.Persons.V1.Validator, as: V1Validator alias Core.ValidationError alias Core.Validators.Error alias Core.Validators.JsonObjects @expiration_date_document_ty...
29.712871
115
0.637621
79e531d5911e17d7f3c03b515f4ad79fb0238d2e
553
ex
Elixir
lib/pixel_font/table_source/post/aglfn.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
17
2020-09-14T15:25:38.000Z
2022-03-05T17:14:24.000Z
lib/pixel_font/table_source/post/aglfn.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
1
2021-08-19T05:05:37.000Z
2021-08-19T05:05:37.000Z
lib/pixel_font/table_source/post/aglfn.ex
Dalgona/pixel_font
6a65bf85e5228296eb29fddbfdd690565767ff76
[ "MIT" ]
null
null
null
defmodule PixelFont.TableSource.Post.AGLFN do data = :pixel_font |> :code.priv_dir() |> Path.join("aglfn.txt") |> File.open!([:read, :unicode]) |> IO.stream(:line) |> Stream.reject(&String.starts_with?(&1, "#")) |> Stream.map(&String.trim/1) |> Stream.map(&String.split(&1, ";", trim: t...
29.105263
55
0.576854
79e53e21a63be99248403dc08c17c9e4011aedb9
893
exs
Elixir
test/ratio/decimal_conversion_test.exs
Qqwy/elixir-rational
224ca1a5648ac69d2fd23cb05ccfa4b1942c1a86
[ "MIT" ]
31
2016-03-31T09:20:12.000Z
2021-12-30T12:44:54.000Z
test/ratio/decimal_conversion_test.exs
Qqwy/elixir-rational
224ca1a5648ac69d2fd23cb05ccfa4b1942c1a86
[ "MIT" ]
78
2016-11-23T19:25:21.000Z
2022-03-25T10:18:00.000Z
test/ratio/decimal_conversion_test.exs
Qqwy/elixir-rational
224ca1a5648ac69d2fd23cb05ccfa4b1942c1a86
[ "MIT" ]
13
2016-04-21T23:39:53.000Z
2021-12-29T15:03:50.000Z
defmodule Ratio.DecimalConversionTest do use ExUnit.Case, async: true import Ratio, only: [<|>: 2] @test_cases [ {Decimal.new("-1230"), Ratio.new(-1230)}, {Decimal.new("-123"), Ratio.new(-123)}, {Decimal.new("-12.3"), -123 <|> 10}, {Decimal.new("-1.23"), -123 <|> 100}, {Decimal.new("-0.123")...
31.892857
89
0.580067
79e550be1714a0a0f289daea5124604579d9f3b2
155
exs
Elixir
kousa/priv/repo/migrations/20210424191849_banner_url.exs
LeonardSSH/dogehouse
584055ad407bc37fa35cdf36ebb271622e29d436
[ "MIT" ]
9
2021-03-17T03:56:18.000Z
2021-09-24T22:45:14.000Z
kousa/priv/repo/migrations/20210424191849_banner_url.exs
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
12
2021-07-06T12:51:13.000Z
2022-03-16T12:38:18.000Z
kousa/priv/repo/migrations/20210424191849_banner_url.exs
ActuallyTomas/dogehouse
8c3d2cd1d7e99e173f0658759467a391c4a90c4e
[ "MIT" ]
4
2021-07-15T20:33:50.000Z
2022-03-27T12:46:47.000Z
defmodule Beef.Repo.Migrations.BannerUrl do use Ecto.Migration def change do alter table(:users) do add :bannerUrl, :text end end end
15.5
43
0.690323
79e552f74d6508581c891a14a42ff7681226a8b3
20,544
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/addresses.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/addresses.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/addresses.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "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...
55.674797
511
0.660436
79e55ada84862949265a86308ddea7cf7832fa12
1,736
ex
Elixir
clients/tag_manager/lib/google_api/tag_manager/v2/model/revert_folder_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/revert_folder_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/tag_manager/lib/google_api/tag_manager/v2/model/revert_folder_response.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
36.166667
238
0.759793
79e567b4bbc648d15ce9399bde3948c274973da8
30,275
ex
Elixir
lib/elixir/lib/kernel/typespec.ex
ggVGc/elixir
1ca25436be2c46b688af4b50b7b3b19b3170c250
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/typespec.ex
ggVGc/elixir
1ca25436be2c46b688af4b50b7b3b19b3170c250
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel/typespec.ex
ggVGc/elixir
1ca25436be2c46b688af4b50b7b3b19b3170c250
[ "Apache-2.0" ]
null
null
null
defmodule Kernel.Typespec do # TODO: Remove deprecated code on 2.0 and move this module to Module.Typespec. @moduledoc false ## Deprecated API moved to Code.Typespec @doc false @deprecated "Use Code.Typespec.spec_to_quoted/2 instead" def spec_to_ast(name, spec) do Code.Typespec.spec_to_quoted(name, sp...
33.379272
99
0.623881
79e5fcc5d81f27a747b959021d228abe5a530e00
3,188
exs
Elixir
apps/ewallet_db/test/ewallet_db/types/wallet_address_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/test/ewallet_db/types/wallet_address_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/ewallet_db/test/ewallet_db/types/wallet_address_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule EWalletDB.Types.WalletAddressTest do use EWalletDB.SchemaCase alias EWalletDB.Types.WalletAddress alias EWalletDB.Wallet describe "cast/1" do test "casts input to lower case" do assert WalletAddress.cast("ABCD-123456789012") == {:ok, "abcd123456789012"} end test "strips all non-alp...
31.88
86
0.654956
79e65c1b88ad988aacd63c1ab9b5101e7c9f613d
394
exs
Elixir
priv/repo/migrations/20181004203212_create_messages.exs
woeye/twaddler
e06a22a94520055bc33aaaacfe51989ba8ab665f
[ "Apache-2.0" ]
1
2018-10-08T13:57:08.000Z
2018-10-08T13:57:08.000Z
priv/repo/migrations/20181004203212_create_messages.exs
woeye/twaddler
e06a22a94520055bc33aaaacfe51989ba8ab665f
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20181004203212_create_messages.exs
woeye/twaddler
e06a22a94520055bc33aaaacfe51989ba8ab665f
[ "Apache-2.0" ]
1
2018-10-08T13:55:44.000Z
2018-10-08T13:55:44.000Z
defmodule Twaddler.Repo.Migrations.CreateMessages do use Ecto.Migration def change do create table(:messages) do add :uuid, :string add :text, :text add :user_id, references(:users) add :conversation_id, references(:conversations) timestamps() end create index(:messages, ...
23.176471
54
0.680203
79e65e1bd4002def5bf2fee392dbbcfd8a3696ec
884
ex
Elixir
server/lib/fakers_api/people/person.ex
bart-kosmala/fakers
aff49689c2507a5f8e6e81441bd922ec8887bbc9
[ "MIT" ]
5
2020-11-15T17:46:40.000Z
2021-06-15T16:10:57.000Z
server/lib/fakers_api/people/person.ex
bart-kosmala/fakers
aff49689c2507a5f8e6e81441bd922ec8887bbc9
[ "MIT" ]
5
2020-12-04T13:38:10.000Z
2020-12-18T11:15:50.000Z
server/lib/fakers_api/people/person.ex
bart-kosmala/fakers
aff49689c2507a5f8e6e81441bd922ec8887bbc9
[ "MIT" ]
2
2020-12-18T11:16:18.000Z
2021-01-19T22:03:35.000Z
defmodule FakersApi.People.Person do use Ecto.Schema import Ecto.Changeset alias FakersApi.People.{PersonAddress, PersonContact, DeceasedPerson} schema "person" do field :birth_date, :date field :first_name, :string field :last_name, :string field :pesel, :string field :second_name, :string...
28.516129
86
0.714932
79e668ca4bb8e5c86dd2aecea5b4ec2040a39308
378
ex
Elixir
lib/titeenipeli/auth/guardian.ex
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
lib/titeenipeli/auth/guardian.ex
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
lib/titeenipeli/auth/guardian.ex
Cadiac/titeenit-backend
51db7a1f93dc78a769bb309b94b1b893cefdcdc9
[ "MIT" ]
null
null
null
defmodule Titeenipeli.Auth.Guardian do use Guardian, otp_app: :titeenipeli alias Titeenipeli.Core def subject_for_token(user, _claims) do {:ok, user.id} end def resource_from_claims(claims) do user_id = claims["sub"] user = Core.get_user!(user_id) {:ok, %{id: user_id, username: user.usernam...
23.625
94
0.708995
79e669e4b60e144aeaeceb09b3f7aa57a4c7fb76
642
ex
Elixir
lib/uro/accounts/user_privilege_ruleset.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
1
2022-01-11T04:05:39.000Z
2022-01-11T04:05:39.000Z
lib/uro/accounts/user_privilege_ruleset.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
35
2021-02-10T08:18:57.000Z
2021-05-06T17:19:50.000Z
lib/uro/accounts/user_privilege_ruleset.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
null
null
null
defmodule Uro.Accounts.UserPrivilegeRuleset do use Ecto.Schema import Ecto.Changeset schema "user_privilege_rulesets" do belongs_to :user, Uro.Accounts.User, foreign_key: :user_id, type: :binary_id field :is_admin, :boolean, default: false field :can_upload_avatars, :boolean, default: false fiel...
30.571429
80
0.76324
79e6b2311b656419019e963aeff0c2fd193b49fb
4,643
ex
Elixir
apps/snitch_core/lib/core/data/model/images.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
1
2021-04-08T22:29:19.000Z
2021-04-08T22:29:19.000Z
apps/snitch_core/lib/core/data/model/images.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
null
null
null
apps/snitch_core/lib/core/data/model/images.ex
VeryBigThings/avia
7ce5d5b244ae0dfddc30c09c17efe27f1718a4c9
[ "MIT" ]
null
null
null
defmodule Snitch.Data.Model.Image do @moduledoc """ Helper functions to handle image uploads. """ use Snitch.Data.Model alias Snitch.Data.Schema.Image alias Snitch.Data.Schema.GeneralConfiguration, as: GC alias Snitch.Tools.Helper.ImageUploader alias Ecto.Multi @cwd File.cwd!() def create(module,...
25.510989
87
0.604997
79e6f1be7a749d4e096a9482ec33fdcac1b76f33
667
exs
Elixir
elixir/samples/phoenix-chat-sample/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
2
2015-12-09T02:16:51.000Z
2021-07-26T22:53:43.000Z
elixir/samples/phoenix-chat-sample/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
null
null
null
elixir/samples/phoenix-chat-sample/mix.exs
afronski/playground-erlang
6ac4b58b2fd717260c22a33284547d44a9b5038e
[ "MIT" ]
1
2016-05-08T18:40:31.000Z
2016-05-08T18:40:31.000Z
defmodule PhoenixChatSample.Mixfile do use Mix.Project def project do [app: :phoenix_chat_sample, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: ["lib", "web"], compilers: [:phoenix] ++ Mix.compilers, deps: deps] end # Configuration for the OTP application # # Type `mix he...
23
52
0.641679
79e74890121e34c05791d54bba1206ef9a0d2554
913
ex
Elixir
lib/job.ex
ConduitMobileRND/tiktak
6676976749c950ad71dc9caa1333e53aa15d0f7b
[ "MIT" ]
24
2018-12-31T09:44:20.000Z
2022-02-02T03:03:00.000Z
lib/job.ex
ConduitMobileRND/tiktak
6676976749c950ad71dc9caa1333e53aa15d0f7b
[ "MIT" ]
null
null
null
lib/job.ex
ConduitMobileRND/tiktak
6676976749c950ad71dc9caa1333e53aa15d0f7b
[ "MIT" ]
2
2019-01-23T00:54:45.000Z
2019-05-28T10:14:44.000Z
defmodule TikTak.Job do use Ecto.Schema require Ecto.Query alias Ecto.{Query, Changeset} alias TikTak.{Schedule, Job} schema "jobs" do belongs_to :schedule, Schedule, type: :string field :next_run, :integer field :callback_url, :string field :priority, :integer, default: 5 end def get(jo...
27.666667
110
0.67908
79e760bdb6420d738ad607b22f75b9d77c98bde3
9,163
ex
Elixir
clients/content/lib/google_api/content/v2/api/accountstatuses.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/accountstatuses.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/accountstatuses.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...
44.480583
234
0.646077
79e767650b36e0845cea7dfd5de1980c0f47105a
502
exs
Elixir
euler/elixir/0003-largest-prime-factor.exs
kerkeslager/sandbox
45ec9c36ab7241cee93e615b3c901b5b80aa7aff
[ "MIT" ]
null
null
null
euler/elixir/0003-largest-prime-factor.exs
kerkeslager/sandbox
45ec9c36ab7241cee93e615b3c901b5b80aa7aff
[ "MIT" ]
null
null
null
euler/elixir/0003-largest-prime-factor.exs
kerkeslager/sandbox
45ec9c36ab7241cee93e615b3c901b5b80aa7aff
[ "MIT" ]
null
null
null
defmodule LargestPrimeFactor do def largest_prime_factor(start, n) do if start >= (n / 2) do n else if rem(n, start) == 0 do largest_prime_factor(start, div(n, start)) else largest_prime_factor(start + 2, n) end end end def largest_prime_factor(n) do ...
19.307692
62
0.613546
79e7c4bf82de200faecba3ecef19abf3e04a9b66
939
ex
Elixir
lib/broadway/caller_acknowledger.ex
nathanl/broadway
261660c4bb810b16942b623f99b367ea81490852
[ "Apache-2.0" ]
1,004
2020-01-20T15:19:59.000Z
2022-03-30T07:19:34.000Z
lib/broadway/caller_acknowledger.ex
nathanl/broadway
261660c4bb810b16942b623f99b367ea81490852
[ "Apache-2.0" ]
130
2020-01-26T10:09:30.000Z
2022-03-21T13:20:11.000Z
lib/broadway/caller_acknowledger.ex
nathanl/broadway
261660c4bb810b16942b623f99b367ea81490852
[ "Apache-2.0" ]
90
2020-01-24T17:01:33.000Z
2022-02-16T04:42:59.000Z
defmodule Broadway.CallerAcknowledger do @moduledoc """ A simple acknowledger that sends a message back to a caller. It must be stored as: acknowledger: {Broadway.CallerAcknowledger, {pid, ref}, term} The second element is a tuple with the pid to receive the messages and a unique identifier (usually ...
25.378378
68
0.705005
79e7d21a483d8ef71f2b30b73e8924b144d44957
412
ex
Elixir
apps/sue/lib/sue/models/response.ex
inculi/Sue
42e249aec1d9c467db63526966d9690d5c58f346
[ "MIT" ]
9
2018-03-23T11:18:21.000Z
2021-08-06T18:38:37.000Z
lib/sue/models/response.ex
alwayswimmin/Sue
33dfd860e7d5b6dce11e2dc202924efad6a9474c
[ "MIT" ]
21
2017-12-01T05:57:10.000Z
2021-06-06T18:53:25.000Z
lib/sue/models/response.ex
alwayswimmin/Sue
33dfd860e7d5b6dce11e2dc202924efad6a9474c
[ "MIT" ]
6
2018-03-23T11:24:21.000Z
2021-08-06T18:40:28.000Z
defmodule Sue.Models.Response do alias __MODULE__ @type t() :: %__MODULE__{} defstruct [ :body, attachments: [] ] defimpl String.Chars, for: Response do def to_string(%Response{body: body, attachments: [%Sue.Models.Attachment{} | _]}) do "#Response<body:'#{body}',:has_media>" end ...
20.6
88
0.623786
79e7e5d365cd44109856d57bd1630e581176141e
1,669
ex
Elixir
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/get_iam_policy_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/get_iam_policy_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/bigtable_admin/lib/google_api/bigtable_admin/v2/model/get_iam_policy_request.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.770833
163
0.753745
79e7f07d17840d53ec7bfc96a0645d8372ba0bb1
1,313
ex
Elixir
lib/sudachi.ex
shoz-f/sudachi_ex
c873626fbc2c1f999b814a65c4873f4db3963065
[ "Apache-2.0" ]
null
null
null
lib/sudachi.ex
shoz-f/sudachi_ex
c873626fbc2c1f999b814a65c4873f4db3963065
[ "Apache-2.0" ]
null
null
null
lib/sudachi.ex
shoz-f/sudachi_ex
c873626fbc2c1f999b814a65c4873f4db3963065
[ "Apache-2.0" ]
null
null
null
defmodule Sudachi do @moduledoc """ sudachi_ex is the Elixir binding of Sudachi, the Japanese morphological analyzer. ## Installation the sudachi_ex is installed by adding `sudachi` to your list of dependencies in `mix.exs`: ```elixir def deps do [ {:sudachi, "~> 0.1.0"} ] end ``` ...
23.035088
92
0.482102
79e80fce32694cbc32898453556dd9317797c322
11,538
ex
Elixir
lib/codes/codes_v17.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_v17.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_v17.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_V17 do alias IcdCode.ICDCode def _V170XXA do %ICDCode{full_code: "V170XXA", category_code: "V17", short_code: "0XXA", full_name: "Pedal cycle driver injured in collision with fixed or stationary object in nontraffic accident, initial encounter", ...
58.867347
150
0.715982
79e86a3aa02b63c153f691b0882066525ffe2a8d
5,584
exs
Elixir
test/lib/plaid/item_test.exs
GetAmbush/plaid-elixir
16f1c650051f3c2d3c551692868f466b244a0c15
[ "MIT" ]
null
null
null
test/lib/plaid/item_test.exs
GetAmbush/plaid-elixir
16f1c650051f3c2d3c551692868f466b244a0c15
[ "MIT" ]
null
null
null
test/lib/plaid/item_test.exs
GetAmbush/plaid-elixir
16f1c650051f3c2d3c551692868f466b244a0c15
[ "MIT" ]
1
2019-10-08T12:56:22.000Z
2019-10-08T12:56:22.000Z
defmodule Plaid.ItemTest do use ExUnit.Case import Plaid.Factory setup do bypass = Bypass.open() Application.put_env(:plaid, :root_uri, "http://localhost:#{bypass.port}/") {:ok, bypass: bypass} end describe "item" do test "get/1 requests POST and returns Plaid.Item", %{bypass: bypass} do ...
37.72973
97
0.645953
79e89d0eab4a368e7e6510f7560398667dce1efc
876
ex
Elixir
deps/absinthe/lib/absinthe/type/non_null.ex
JoakimEskils/elixir-absinthe
d81e24ec7c7b1164e6d152101dd50422f192d7e9
[ "MIT" ]
3
2017-06-22T16:33:58.000Z
2021-07-07T15:21:09.000Z
lib/absinthe/type/non_null.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
lib/absinthe/type/non_null.ex
bruce/absinthe
19b63d3aaa9fb75aad01ffd5e91d89e0b30d7f91
[ "MIT" ]
null
null
null
defmodule Absinthe.Type.NonNull do @moduledoc """ A type that wraps an underlying type, acting identically to that type but adding a non-null constraint. By default, all types in GraphQL are nullable. To declare a type that disallows null, wrap it in a `Absinthe.Type.NonNull` struct. ## Examples Given ...
22.461538
79
0.687215
79e8a53ff6d0eb302287396adba4863e8f26ca84
4,714
exs
Elixir
lib/elixir/test/elixir/task_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
1
2015-02-23T00:01:48.000Z
2015-02-23T00:01:48.000Z
lib/elixir/test/elixir/task_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/task_test.exs
jbcrail/elixir
f30ef15d9d028a6d0f74d10c2bb320d5f8501bdb
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule TaskTest do use ExUnit.Case setup do Logger.remove_backend(:console) on_exit fn -> Logger.add_backend(:console, flush: true) end :ok end def wait_and_send(caller, atom) do send caller, :ready receive do: (true -> true) send caller...
26.784091
89
0.624735
79e8c15d387b907f7ce595f238d313f7ec72d8dc
343
ex
Elixir
apps/plant_monitor_web/lib/plant_monitor_web/views/api/user_view.ex
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
2
2019-01-25T21:21:56.000Z
2021-02-24T08:18:51.000Z
apps/plant_monitor_web/lib/plant_monitor_web/views/api/user_view.ex
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
null
null
null
apps/plant_monitor_web/lib/plant_monitor_web/views/api/user_view.ex
bartoszgorka/PlantMonitor
23e18cd76c51bd8eee021ee98668926de885047b
[ "MIT" ]
null
null
null
defmodule PlantMonitorWeb.API.UserView do @moduledoc """ User view render. """ use PlantMonitorWeb, :view alias PlantMonitorWeb.Structs.ConfirmResponse def render("correct_register.json", _assigns) do %ConfirmResponse{ message: "Correct registed in PlantMonitor API. Now you can login and use our ...
22.866667
89
0.725948
79e8cebfd4a2f5b969e4bfcb823a20fbaba2dba1
1,150
exs
Elixir
config/config.exs
everilae/httpoison_retry
aa11029bf7a7f0169d76ed8749ad7a8203ccaf7b
[ "MIT" ]
14
2018-03-27T17:09:33.000Z
2021-12-05T22:53:10.000Z
config/config.exs
everilae/httpoison_retry
aa11029bf7a7f0169d76ed8749ad7a8203ccaf7b
[ "MIT" ]
4
2018-04-20T20:47:26.000Z
2020-03-23T19:33:11.000Z
config/config.exs
mpihlak/httpoison_retry
4ac3cc3fd90f90b5482fac56314c90d837bbb429
[ "MIT" ]
9
2018-03-29T10:14:26.000Z
2021-05-31T06:01:05.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...
38.333333
73
0.75913
79e8edb5fa131103ffcd27d656631d1014004b54
1,455
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/update_admin_quota_policy_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/update_admin_quota_policy_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/update_admin_quota_policy_metadata.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
34.642857
173
0.781443
79e8f110d3ba23c6fe8e5efa9496ee18b0454b3a
277
ex
Elixir
coherence_demo_no_confirm/lib/coherence_demo/repo.ex
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
coherence_demo_no_confirm/lib/coherence_demo/repo.ex
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
coherence_demo_no_confirm/lib/coherence_demo/repo.ex
hotpyn/coherence-setup
fc10bb15d993ae0dd13a19fd178bdfb4ee13d6b6
[ "MIT" ]
null
null
null
defmodule CoherenceDemo.Repo do use Ecto.Repo, otp_app: :coherence_demo @doc """ Dynamically loads the repository url from the DATABASE_URL environment variable. """ def init(_, opts) do {:ok, Keyword.put(opts, :url, System.get_env("DATABASE_URL"))} end end
23.083333
66
0.711191
79e8f403cc0024cdb5d5893974752e253124e572
347
exs
Elixir
microservice/priv/repo/seeds.exs
eduardobarbiero/microservice-contacts
330d1855c8b9296e030bfe62cabc3a1c20cef500
[ "MIT" ]
null
null
null
microservice/priv/repo/seeds.exs
eduardobarbiero/microservice-contacts
330d1855c8b9296e030bfe62cabc3a1c20cef500
[ "MIT" ]
null
null
null
microservice/priv/repo/seeds.exs
eduardobarbiero/microservice-contacts
330d1855c8b9296e030bfe62cabc3a1c20cef500
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Microservice.Repo.insert!(%SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fai...
28.916667
61
0.706052
79e9219e849037f08bc1ea1a6e1ca7da4a0248c4
450
exs
Elixir
api/test/muhnee_web/views/error_view_test.exs
bkbooth/muhnee
b0a1f33f3509a8b1ca90db77001ccfd26b8b3c67
[ "MIT" ]
null
null
null
api/test/muhnee_web/views/error_view_test.exs
bkbooth/muhnee
b0a1f33f3509a8b1ca90db77001ccfd26b8b3c67
[ "MIT" ]
null
null
null
api/test/muhnee_web/views/error_view_test.exs
bkbooth/muhnee
b0a1f33f3509a8b1ca90db77001ccfd26b8b3c67
[ "MIT" ]
null
null
null
defmodule MuhneeWeb.ErrorViewTest do use MuhneeWeb.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(MuhneeWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "renders 500.json" ...
28.125
91
0.68
79e92ad976ed729f973586eb75977f882af3bee1
30,027
ex
Elixir
lib/elixir/lib/system.ex
cdfuller/elixir
3bd3f88d57d7fff6cab7b171294b89fb08eedfe7
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/system.ex
cdfuller/elixir
3bd3f88d57d7fff6cab7b171294b89fb08eedfe7
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/system.ex
cdfuller/elixir
3bd3f88d57d7fff6cab7b171294b89fb08eedfe7
[ "Apache-2.0" ]
null
null
null
defmodule System do @moduledoc """ The `System` module provides functions that interact directly with the VM or the host system. ## Time The `System` module also provides functions that work with time, returning different times kept by the system with support for different time units. One of the comp...
30.3917
102
0.678689
79e93edf812fa33ed9e67274be4792b47814eee6
2,242
ex
Elixir
clients/content/lib/google_api/content/v2/model/order_report_disbursement.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_report_disbursement.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_report_disbursement.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...
37.366667
114
0.736842
79e95fa22dcf7e114f8eb4d425870057780c4139
6,518
ex
Elixir
lib/subscription.ex
Packlane/braintree-elixir
018ed351c64cdac577bf4acb93f73c1adddf70da
[ "MIT" ]
null
null
null
lib/subscription.ex
Packlane/braintree-elixir
018ed351c64cdac577bf4acb93f73c1adddf70da
[ "MIT" ]
null
null
null
lib/subscription.ex
Packlane/braintree-elixir
018ed351c64cdac577bf4acb93f73c1adddf70da
[ "MIT" ]
null
null
null
defmodule Braintree.Subscription do @moduledoc """ Manage customer subscriptions to recurring billing plans. For additional reference see: https://developers.braintreepayments.com/reference/request/subscription/create/ruby """ use Braintree.Construction alias Braintree.{HTTP, Transaction, AddOn, Search...
31.795122
93
0.613071
79e96dee677827b8040b952cea44ef79e891a6be
846
exs
Elixir
mix.exs
redvers/cbclientapi
2a2e1987f71e664cbeb2fcc6309db7b982ba3123
[ "RSA-MD" ]
1
2015-06-22T19:56:20.000Z
2015-06-22T19:56:20.000Z
mix.exs
redvers/cbclientapi
2a2e1987f71e664cbeb2fcc6309db7b982ba3123
[ "RSA-MD" ]
null
null
null
mix.exs
redvers/cbclientapi
2a2e1987f71e664cbeb2fcc6309db7b982ba3123
[ "RSA-MD" ]
null
null
null
defmodule Cbclientapi.Mixfile do use Mix.Project def project do [app: :cbclientapi, version: "0.0.1", elixir: "~> 1.0", deps: deps] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application do [applications: [:logger, :idna, :...
22.263158
77
0.549645
79e984ba04fbc2ec0c4951439bb748d67a55525c
1,492
ex
Elixir
lib/live_view_demo_web/views/error_helpers.ex
manojsamanta/codebreaker-prototype
14d521db45784dee692de9e7252dd6a54bb793bb
[ "MIT" ]
null
null
null
lib/live_view_demo_web/views/error_helpers.ex
manojsamanta/codebreaker-prototype
14d521db45784dee692de9e7252dd6a54bb793bb
[ "MIT" ]
null
null
null
lib/live_view_demo_web/views/error_helpers.ex
manojsamanta/codebreaker-prototype
14d521db45784dee692de9e7252dd6a54bb793bb
[ "MIT" ]
null
null
null
defmodule LiveViewDemoWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ use Phoenix.HTML @doc """ Generates tag for inlined form input errors. """ def error_tag(form, field) do Enum.map(Keyword.get_values(form.errors, field), fn error -> content...
33.155556
81
0.673592
79e989bfdadc00a1b2c1b3fc1c27250e138eb247
523
ex
Elixir
lib/stripe_mock_web/views/refund_view.ex
whitepaperclip/stripe_mock
a8ba9101a04216f26d0650eb38448173d8e090a1
[ "MIT" ]
4
2019-06-04T20:35:21.000Z
2021-09-02T04:04:21.000Z
lib/stripe_mock_web/views/refund_view.ex
whitepaperclip/stripe_mock
a8ba9101a04216f26d0650eb38448173d8e090a1
[ "MIT" ]
2
2020-02-04T17:38:12.000Z
2021-04-29T06:59:06.000Z
lib/stripe_mock_web/views/refund_view.ex
whitepaperclip/stripe_mock
a8ba9101a04216f26d0650eb38448173d8e090a1
[ "MIT" ]
null
null
null
defmodule StripeMockWeb.RefundView do use StripeMockWeb, :view alias StripeMockWeb.RefundView def render("index.json", %{conn: conn, page: page}) do render_page(conn, page, RefundView, "refund.json") end def render("show.json", %{refund: refund}) do render_one(refund, RefundView, "refund.json") en...
26.15
62
0.684512
79e9d2bce44e73582fb999ef557d05b37de92c19
2,321
ex
Elixir
lib/mix/lib/mix/generator.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
1
2015-11-12T19:23:45.000Z
2015-11-12T19:23:45.000Z
lib/mix/lib/mix/generator.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/generator.ex
guilleiguaran/elixir
952052869ff7af0e293d2a7160b1aebc68fc46be
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Generator do @moduledoc """ Conveniences for working with paths and generating content. All of those functions are verbose, in the sense they log the action to be performed via `Mix.shell`. """ @doc """ Creates a file with the given contents. If the file already exists, asks for user con...
27.630952
120
0.682464
79e9dba3e56f1b9dcfbc96f54da367357f4cf59a
581
ex
Elixir
lib/codewar_web/views/admin/challenge_view.ex
hanam1ni/codewar-web
0d7c46ac32d85b1d76c604226e0f3d6f2b76b0ad
[ "MIT" ]
2
2021-06-29T02:22:28.000Z
2022-02-15T06:32:15.000Z
lib/codewar_web/views/admin/challenge_view.ex
hanam1ni/codewar-web
0d7c46ac32d85b1d76c604226e0f3d6f2b76b0ad
[ "MIT" ]
14
2021-05-06T04:27:19.000Z
2021-08-24T11:15:33.000Z
lib/codewar_web/views/admin/challenge_view.ex
hanam1ni/codewar-web
0d7c46ac32d85b1d76c604226e0f3d6f2b76b0ad
[ "MIT" ]
1
2021-08-20T07:50:19.000Z
2021-08-20T07:50:19.000Z
defmodule CodewarWeb.Admin.ChallengeView do use CodewarWeb, :view def to_markdown(nil), do: content_tag(:p, gettext("No content")) def to_markdown(content), do: Earmark.as_html!(content) def to_validity_status(answer) when answer.is_rejected, do: content_tag(:span, gettext("Rejected"), class: "badge badge...
36.3125
77
0.736661
79e9df8c7c6611e61d4a85be0ea9647d1f84411d
4,195
ex
Elixir
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/pivot.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/pivot.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/analytics_reporting/lib/google_api/analytics_reporting/v4/model/pivot.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...
65.546875
812
0.749225
79e9f7778d3ce78920e8497ef053d0f48f8821f4
1,293
exs
Elixir
mix.exs
jeromedoyle/ravenx_chat
36549431fd8721288ef941cfd754bfca252c6ba9
[ "MIT" ]
null
null
null
mix.exs
jeromedoyle/ravenx_chat
36549431fd8721288ef941cfd754bfca252c6ba9
[ "MIT" ]
null
null
null
mix.exs
jeromedoyle/ravenx_chat
36549431fd8721288ef941cfd754bfca252c6ba9
[ "MIT" ]
null
null
null
defmodule RavenxChat.MixProject do use Mix.Project def project do [ app: :ravenx_chat, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), ...
21.55
72
0.556845
79ea6ab7938ce68370b1be81e4beab933eb67bae
8,141
exs
Elixir
apps/ehealth/test/integration/v1/approving_declaration_request_test.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/ehealth/test/integration/v1/approving_declaration_request_test.exs
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/ehealth/test/integration/v1/approving_declaration_request_test.exs
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule EHealth.Integraiton.DeclarationRequestApproveTest do @moduledoc false use EHealth.Web.ConnCase, async: false alias Core.Repo alias Core.DeclarationRequests.DeclarationRequest import Mox setup :verify_on_exit! describe "Approve declaration with auth type OTP or NA" do test "happy path: de...
33.920833
119
0.577079
79eaf35157a0ef66226ae96b8f037a0ec0918271
615
exs
Elixir
test/farmware_runtime/pipe_worker_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/farmware_runtime/pipe_worker_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
test/farmware_runtime/pipe_worker_test.exs
bahanni/custom_rpi4
ddefa85d30bacaae40151a63a9a0ebbf4ad30ed5
[ "MIT" ]
null
null
null
defmodule FarmbotOS.FarmwareRuntime.PipeWorkerTest do use ExUnit.Case use Mimic import ExUnit.CaptureLog alias FarmbotOS.FarmwareRuntime.PipeWorker setup :verify_on_exit! defmodule FakeState do defstruct [:direction, :pipe_name, :pipe] end test "terminate/2" do state = %FakeState{ direct...
24.6
65
0.707317
79eafce9d70e211b837a043c79ca643b79e1c026
712
ex
Elixir
lib/harald/hci/commands/controller_and_baseband/write_simple_pairing_mode.ex
RicardoTrindade/harald
3f56003265c29af0780730eb538183b50e55df2f
[ "MIT" ]
59
2019-02-16T00:09:58.000Z
2020-03-29T23:37:36.000Z
lib/harald/hci/commands/controller_and_baseband/write_simple_pairing_mode.ex
RicardoTrindade/harald
3f56003265c29af0780730eb538183b50e55df2f
[ "MIT" ]
19
2019-02-15T22:41:43.000Z
2020-02-15T19:20:57.000Z
lib/harald/hci/commands/controller_and_baseband/write_simple_pairing_mode.ex
RicardoTrindade/harald
3f56003265c29af0780730eb538183b50e55df2f
[ "MIT" ]
9
2020-05-07T00:02:36.000Z
2021-09-17T18:17:46.000Z
defmodule Harald.HCI.Commands.ControllerAndBaseband.WriteSimplePairingMode do @moduledoc """ Reference: version 5.2, Vol 4, Part E, 7.3.59. """ alias Harald.HCI.Commands.Command @behaviour Command @impl Command def encode(%{simple_pairing_mode: true}), do: {:ok, <<1>>} def encode(%{simple_pairing_mod...
26.37037
77
0.66573
79eb0cdc2d3218c8219725d30978267dd7a7f2e0
523
exs
Elixir
mix.exs
asciibeats/elixir_ranch
5331c101e43b1fb75aa8d53849cad95358ead3b4
[ "MIT" ]
30
2022-01-23T13:04:02.000Z
2022-01-30T04:05:45.000Z
mix.exs
asciibeats/elixir_ranch
5331c101e43b1fb75aa8d53849cad95358ead3b4
[ "MIT" ]
null
null
null
mix.exs
asciibeats/elixir_ranch
5331c101e43b1fb75aa8d53849cad95358ead3b4
[ "MIT" ]
2
2022-01-28T13:51:21.000Z
2022-01-29T04:09:50.000Z
defmodule ElixirRanch.MixProject do use Mix.Project def project do [ app: :elixir_ranch, version: "0.1.0", elixir: "~> 1.13", start_permanent: Mix.env() == :prod, deps: deps() ] end # Run "mix help compile.app" to learn about applications. def application do [ ...
18.034483
59
0.575526
79eb2575c73494005a25eb737476bbf29741cc53
1,129
ex
Elixir
test/process_managers/support/multi/todo_list.ex
mquickform/commanded
260b1ec28c2fb3c1fcbb61b8c4abacabd7dc7ed2
[ "MIT" ]
null
null
null
test/process_managers/support/multi/todo_list.ex
mquickform/commanded
260b1ec28c2fb3c1fcbb61b8c4abacabd7dc7ed2
[ "MIT" ]
1
2018-12-05T18:17:08.000Z
2018-12-05T18:17:08.000Z
test/process_managers/support/multi/todo_list.ex
mquickform/commanded
260b1ec28c2fb3c1fcbb61b8c4abacabd7dc7ed2
[ "MIT" ]
1
2018-12-05T18:15:03.000Z
2018-12-05T18:15:03.000Z
defmodule Commanded.ProcessManagers.TodoList do @moduledoc false defstruct todo_uuids: [] defmodule Commands do defmodule(CreateList, do: defstruct([:list_uuid, :todo_uuids])) defmodule(MarkAllDone, do: defstruct([:list_uuid])) end defmodule Events do defmodule(TodoListCreated, do: defstruct([:...
34.212121
88
0.758193
79eb49dd0314a1da58a155e41f24ec031c0d3bf1
1,277
ex
Elixir
apps/tai/lib/tai/advisors/groups/rich_config.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
276
2018-01-16T06:36:06.000Z
2021-03-20T21:48:01.000Z
apps/tai/lib/tai/advisors/groups/rich_config.ex
ccamateur/tai
41c4b3e09dafc77987fa3f6b300c15461d981e16
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/tai/lib/tai/advisors/groups/rich_config.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
43
2018-06-09T09:54:51.000Z
2021-03-07T07:35:17.000Z
defmodule Tai.Advisors.Groups.RichConfig do alias Tai.Advisors.Groups.RichConfigProvider @type config :: map @type provider :: module @spec parse(config, provider) :: config def parse(raw_config, provider \\ RichConfigProvider) do raw_config |> Enum.reduce(%{}, &parse_item(&1, &2, provider)) end de...
31.925
91
0.678935
79eb99260af0cf7d7078c9b0505a030ec2b694b3
3,841
ex
Elixir
lib/signaturex.ex
Tiltify/signaturex
7018eb22cb4c4ffe9d4f5785eb57d005bfb31d1f
[ "MIT" ]
null
null
null
lib/signaturex.ex
Tiltify/signaturex
7018eb22cb4c4ffe9d4f5785eb57d005bfb31d1f
[ "MIT" ]
null
null
null
lib/signaturex.ex
Tiltify/signaturex
7018eb22cb4c4ffe9d4f5785eb57d005bfb31d1f
[ "MIT" ]
null
null
null
defmodule Signaturex do alias Signaturex.CryptoHelper alias Signaturex.Time defmodule AuthenticationError do defexception message: "Error on authentication" end @doc """ Validate request Raises an AuthenticationError if the request is invalid """ @spec validate!(binary, binary, binary | atom, bi...
30.484127
84
0.690966
79eba47eb769d62742d7a742956ce4db3accfa2b
1,111
exs
Elixir
apps/amf3/config/config.exs
Kabie/elixir-media-libs
9750c6dcdffdf8014183a6a4f303c5d0d658f062
[ "MIT" ]
75
2016-12-23T14:37:18.000Z
2021-04-26T14:07:20.000Z
apps/amf3/config/config.exs
Kabie/elixir-media-libs
9750c6dcdffdf8014183a6a4f303c5d0d658f062
[ "MIT" ]
19
2016-12-22T03:20:43.000Z
2020-06-11T12:10:37.000Z
apps/amf3/config/config.exs
Kabie/elixir-media-libs
9750c6dcdffdf8014183a6a4f303c5d0d658f062
[ "MIT" ]
3
2018-03-29T06:40:40.000Z
2019-02-13T09:37:19.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...
35.83871
73
0.749775
79ebe8bfc0c0581c7303a2dddbb0c261c643827c
336
ex
Elixir
lib/queryhub/osquery/pack.ex
blaedj/queryhub
1605d29e1d2b8a2a66bf911945dab441682083dc
[ "Apache-2.0" ]
null
null
null
lib/queryhub/osquery/pack.ex
blaedj/queryhub
1605d29e1d2b8a2a66bf911945dab441682083dc
[ "Apache-2.0" ]
null
null
null
lib/queryhub/osquery/pack.ex
blaedj/queryhub
1605d29e1d2b8a2a66bf911945dab441682083dc
[ "Apache-2.0" ]
null
null
null
defmodule QueryHub.Osquery.Pack do use Ecto.Schema import Ecto.Changeset schema "packs" do field(:description, :string) field(:name, :string) timestamps() end @doc false def changeset(pack, attrs) do pack |> cast(attrs, [:name, :description]) |> validate_required([:name, :descript...
17.684211
47
0.660714
79ec3a370f37d8b0150be92a7d3e88f9b0b7901d
12,900
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/api/row_access_policies.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/api/row_access_policies.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/api/row_access_policies.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
42.857143
351
0.631085
79ec4a02033e4742f06f1bbbdbdf66e966767ea2
1,125
exs
Elixir
config/config.exs
kapilpipaliya/clouseau
6672f2f48b149650906b2b5327a0562a93983fd4
[ "MIT" ]
7
2017-10-24T00:09:39.000Z
2022-03-18T21:19:48.000Z
config/config.exs
kapilpipaliya/clouseau
6672f2f48b149650906b2b5327a0562a93983fd4
[ "MIT" ]
2
2018-11-23T21:35:26.000Z
2018-12-31T23:47:22.000Z
config/config.exs
kapilpipaliya/clouseau
6672f2f48b149650906b2b5327a0562a93983fd4
[ "MIT" ]
2
2018-11-22T06:48:56.000Z
2018-12-31T23:37:58.000Z
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.290323
73
0.752
79ec718d21b868fa361387b068f0e28109522411
484
exs
Elixir
test/bgg_test.exs
peralmq/bgg-elixir
50ee895c27d7ffc8a38d4670a4fd34ba9bcd7da8
[ "MIT" ]
3
2016-01-19T14:40:39.000Z
2020-07-07T16:37:55.000Z
test/bgg_test.exs
peralmq/bgg-elixir
50ee895c27d7ffc8a38d4670a4fd34ba9bcd7da8
[ "MIT" ]
null
null
null
test/bgg_test.exs
peralmq/bgg-elixir
50ee895c27d7ffc8a38d4670a4fd34ba9bcd7da8
[ "MIT" ]
null
null
null
defmodule BGGTest do use ExUnit.Case test "the truth" do assert(true) end test "game returns a game" do game = BGG.Game.game("2651") bgg_game = BGG.Game.as_BGGGame(game) assert bgg_game.name == "Power Grid" end test "search_games returns games" do games = BGG.Search.search_games("Pow...
17.925926
49
0.623967
79ec776d45e99ac91e064b8540dbaba59ff73115
711
ex
Elixir
webapp/lib/penmark_web/gettext.ex
zmaril/penmark
992f570da3bdf819f912505ba9b6531db9dcb80b
[ "FSFAP" ]
null
null
null
webapp/lib/penmark_web/gettext.ex
zmaril/penmark
992f570da3bdf819f912505ba9b6531db9dcb80b
[ "FSFAP" ]
null
null
null
webapp/lib/penmark_web/gettext.ex
zmaril/penmark
992f570da3bdf819f912505ba9b6531db9dcb80b
[ "FSFAP" ]
null
null
null
defmodule PenmarkWeb.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 PenmarkWeb.Gettext # Simple translation gettext("Here is t...
28.44
72
0.677918
79ec8b6a472b18fa5c43d03a20393632d149b838
1,608
exs
Elixir
test/mayo_test.exs
tommy351/mayo
59df8af91eb12a9a289ca6e699ef4cd1f130d9ed
[ "MIT" ]
1
2016-09-09T09:00:35.000Z
2016-09-09T09:00:35.000Z
test/mayo_test.exs
tommy351/mayo
59df8af91eb12a9a289ca6e699ef4cd1f130d9ed
[ "MIT" ]
null
null
null
test/mayo_test.exs
tommy351/mayo
59df8af91eb12a9a289ca6e699ef4cd1f130d9ed
[ "MIT" ]
null
null
null
defmodule MayoTest do use ExUnit.Case doctest Mayo test "map" do result = Mayo.validate %{ username: "test" }, %{ username: Mayo.Any.string |> Mayo.String.min(4) } assert result == %{username: "test"} result = Mayo.validate %{}, %{ username: Mayo.Any.string |> Mayo.Any.req...
22.647887
92
0.56903
79ecdcb9db7c134133b7f2e0afaeb54cc31b5744
1,562
ex
Elixir
test/support/data_case.ex
LeonardoSSev/phx-crud-users
52dabaae0c81adeee39afa48eb17331de261d3c4
[ "MIT" ]
null
null
null
test/support/data_case.ex
LeonardoSSev/phx-crud-users
52dabaae0c81adeee39afa48eb17331de261d3c4
[ "MIT" ]
null
null
null
test/support/data_case.ex
LeonardoSSev/phx-crud-users
52dabaae0c81adeee39afa48eb17331de261d3c4
[ "MIT" ]
null
null
null
defmodule PhxCrudUsers.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.892857
77
0.694622
79ed7862960e3ca0aba709576365c73b108e53cd
255
ex
Elixir
web/controllers/hello_controller.ex
chris-nelson-mn/hello-phoenix
af72e48ece5b7f3f5bba3f0b5527e3173e13e5b2
[ "MIT" ]
null
null
null
web/controllers/hello_controller.ex
chris-nelson-mn/hello-phoenix
af72e48ece5b7f3f5bba3f0b5527e3173e13e5b2
[ "MIT" ]
null
null
null
web/controllers/hello_controller.ex
chris-nelson-mn/hello-phoenix
af72e48ece5b7f3f5bba3f0b5527e3173e13e5b2
[ "MIT" ]
null
null
null
defmodule HelloPhoenix.HelloController do use HelloPhoenix.Web, :controller def index(conn, _params) do render conn, "index.html" end def show(conn, %{"messenger" => messenger}) do render conn, "show.html", messenger: messenger end end
23.181818
50
0.713725
79ed8470522117789d51e505b8fe696a7067f2dc
5,743
ex
Elixir
clients/firestore/lib/google_api/firestore/v1beta1/model/field_transform.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/firestore/lib/google_api/firestore/v1beta1/model/field_transform.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/firestore/lib/google_api/firestore/v1beta1/model/field_transform.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...
88.353846
773
0.750653
79edb10909d9785a228cc5122257a0aedb7c00af
702
ex
Elixir
lib/elixir_blog_web/router.ex
xorvo/elixir_blog
67123c05eb4cacfa482604ce62c4f5a7e9bc1690
[ "MIT" ]
null
null
null
lib/elixir_blog_web/router.ex
xorvo/elixir_blog
67123c05eb4cacfa482604ce62c4f5a7e9bc1690
[ "MIT" ]
null
null
null
lib/elixir_blog_web/router.ex
xorvo/elixir_blog
67123c05eb4cacfa482604ce62c4f5a7e9bc1690
[ "MIT" ]
null
null
null
defmodule ElixirBlogWeb.Router do use ElixirBlogWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", ElixirBlogWeb do ...
21.9375
72
0.688034
79ede5c1fb5d62289676a092304e4332efccd574
2,783
exs
Elixir
test/advent2019_web/controllers/day06_controller_test.exs
jacopofar/advent-of-code-2019-phoenix-react
762d7053fd8eeb096187fb394e3ce03bbe1854d7
[ "MIT" ]
5
2019-12-02T08:50:54.000Z
2021-03-31T22:54:20.000Z
test/advent2019_web/controllers/day06_controller_test.exs
jacopofar/advent-of-code-2019-phoenix-react
762d7053fd8eeb096187fb394e3ce03bbe1854d7
[ "MIT" ]
1
2019-12-18T07:19:26.000Z
2019-12-18T07:19:26.000Z
test/advent2019_web/controllers/day06_controller_test.exs
jacopofar/advent-of-code-2019-phoenix-react
762d7053fd8eeb096187fb394e3ce03bbe1854d7
[ "MIT" ]
2
2019-12-16T07:52:16.000Z
2019-12-17T17:49:05.000Z
defmodule Advent2019Web.Day06ControllerTest do use Advent2019Web.ConnCase import Advent2019Web.Day06Controller test "transitive closure" do # note that the transitive_closure is slow and not really required. # The exercise only want the count of the orbits, not to enumerate them! # So, here it is imp...
29.924731
90
0.415738
79edf1eab8563049cf81e923ca37704d85eea688
1,603
exs
Elixir
{{APP_NAME}}_umbrella/apps/{{APP_NAME}}_api/mix.exs
Vorzious/Phoenix-Template
7baa93c97047906afa2557fd0b0980a0bafd320d
[ "MIT" ]
null
null
null
{{APP_NAME}}_umbrella/apps/{{APP_NAME}}_api/mix.exs
Vorzious/Phoenix-Template
7baa93c97047906afa2557fd0b0980a0bafd320d
[ "MIT" ]
null
null
null
{{APP_NAME}}_umbrella/apps/{{APP_NAME}}_api/mix.exs
Vorzious/Phoenix-Template
7baa93c97047906afa2557fd0b0980a0bafd320d
[ "MIT" ]
null
null
null
defmodule {{MODULE_NAME}}Api.Mixfile do use Mix.Project def project do [ app: :{{APP_NAME}}_api, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.6.2", elixirc...
27.637931
76
0.59451
79edf7c1c1b6dda2ce17958937d11a852ddf1d84
9,216
ex
Elixir
lib/elasticlunr/core/index.ex
merchant-ly/ex_elasticlunr
b7d12f3e567f1ecad1bfb402a062edd4d58ef9fd
[ "MIT" ]
null
null
null
lib/elasticlunr/core/index.ex
merchant-ly/ex_elasticlunr
b7d12f3e567f1ecad1bfb402a062edd4d58ef9fd
[ "MIT" ]
null
null
null
lib/elasticlunr/core/index.ex
merchant-ly/ex_elasticlunr
b7d12f3e567f1ecad1bfb402a062edd4d58ef9fd
[ "MIT" ]
null
null
null
defmodule Elasticlunr.Index.IdPipeline do @moduledoc false alias Elasticlunr.{Pipeline, Token} @behaviour Pipeline @impl true def call(%Token{} = token), do: token end defmodule Elasticlunr.Index do alias Elasticlunr.{Field, Pipeline, Token} alias Elasticlunr.Index.IdPipeline alias Elasticlunr.Dsl.{...
26.790698
98
0.581597
79edf7cfc35a5e3bb989db9bf6e980aa0bfa6001
15,688
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/advertiser_landing_pages.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/advertiser_landing_pages.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/api/advertiser_landing_pages.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...
42.514905
518
0.627231
79ee5d913e538a7f4e4f53a4e60c48034e250481
3,897
ex
Elixir
lib/database/project.ex
irfansharif/bors-ng
0589d6b6ac929bcc911c1876d77eb7d3eab30b49
[ "Apache-2.0" ]
null
null
null
lib/database/project.ex
irfansharif/bors-ng
0589d6b6ac929bcc911c1876d77eb7d3eab30b49
[ "Apache-2.0" ]
1
2020-07-24T21:49:28.000Z
2020-07-24T21:49:28.000Z
lib/database/project.ex
irfansharif/bors-ng
0589d6b6ac929bcc911c1876d77eb7d3eab30b49
[ "Apache-2.0" ]
null
null
null
defmodule BorsNG.Database.Project do @moduledoc """ Corresponds to a repo in GitHub, as opposed to a repo in Ecto. This also corresponds to a queue of batches. """ use BorsNG.Database.Model alias BorsNG.Database.ProjectPermission @type t :: %__MODULE__{} @type id :: pos_integer @spec ping!(id) :: ...
28.866667
98
0.659738
79ee7a0eaf8643f4efc62f043ce677a7e182839a
3,182
exs
Elixir
test/ex_oneroster/results/results_test.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
3
2018-09-06T11:15:07.000Z
2021-12-27T15:36:51.000Z
test/ex_oneroster/results/results_test.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
test/ex_oneroster/results/results_test.exs
jrissler/ex_oneroster
cec492117bffc14aec91e2448643682ceeb449e9
[ "Apache-2.0" ]
null
null
null
defmodule ExOneroster.ResultsTest do use ExOneroster.DataCase alias ExOneroster.Results describe "results" do alias ExOneroster.Results.Result test "list_results/0 returns all results" do result = base_setup()[:result] |> Repo.preload([:user, :lineitem]) assert Results.list_results() == [re...
42.426667
125
0.712445
79ee7f9fa545cf11c79da7eee1a9201a6d54d063
95
ex
Elixir
packages/engine_umbrella/apps/engine/lib/events/driver_accepted_offer.ex
PredictiveMovement/predictivemovement
f5e62d4aed4d2068026aecf3f7f8b6749a0b0563
[ "MIT" ]
2
2021-12-09T16:06:51.000Z
2021-12-09T16:06:55.000Z
packages/engine_umbrella/apps/engine/lib/events/driver_accepted_offer.ex
PredictiveMovement/predictivemovement
f5e62d4aed4d2068026aecf3f7f8b6749a0b0563
[ "MIT" ]
18
2021-09-20T08:04:41.000Z
2021-11-08T14:58:47.000Z
packages/engine_umbrella/apps/engine/lib/events/driver_accepted_offer.ex
PredictiveMovement/predictivemovement
f5e62d4aed4d2068026aecf3f7f8b6749a0b0563
[ "MIT" ]
null
null
null
defmodule DriverAcceptedOffer do @derive Jason.Encoder defstruct [:vehicle_id, :offer] end
19
33
0.789474
79eeb9712ff7197b7199fc2d8fdf4e09001c6295
1,913
exs
Elixir
config/dev.exs
joakimk/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
27
2016-09-21T09:11:25.000Z
2020-12-16T04:04:50.000Z
config/dev.exs
barsoom/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
2
2016-12-02T08:05:13.000Z
2020-03-27T08:07:59.000Z
config/dev.exs
barsoom/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
4
2016-09-25T09:58:17.000Z
2020-04-27T15:07:36.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with brunch.io to recompile .js and .css sources. config :review, Review.Endpoint, http: [port: System....
28.984848
79
0.704652
79eebf2ab367ca0c5ca2649ace15772f9dc04ea9
117
exs
Elixir
config/test.exs
ShockN745/drawcheat
d02fa05c1499e3c91d7dd85342c0b149b203c240
[ "MIT" ]
null
null
null
config/test.exs
ShockN745/drawcheat
d02fa05c1499e3c91d7dd85342c0b149b203c240
[ "MIT" ]
null
null
null
config/test.exs
ShockN745/drawcheat
d02fa05c1499e3c91d7dd85342c0b149b203c240
[ "MIT" ]
null
null
null
use Mix.Config config :draw_something, dict_path: "./priv/test.txt", with_crash: :false, words_per_crawler: 5
16.714286
31
0.726496
79eed0af3111a8388c131bf76ac51657b71761ac
485
ex
Elixir
trial_server/lib/trial_server.ex
SteffenBauer/mia_elixir
569388b1f9ddd09f8e21a4d9275c42a81d469857
[ "MIT" ]
null
null
null
trial_server/lib/trial_server.ex
SteffenBauer/mia_elixir
569388b1f9ddd09f8e21a4d9275c42a81d469857
[ "MIT" ]
null
null
null
trial_server/lib/trial_server.ex
SteffenBauer/mia_elixir
569388b1f9ddd09f8e21a4d9275c42a81d469857
[ "MIT" ]
null
null
null
defmodule TrialServer do use Application require Logger def start(_type, _args) do import Supervisor.Spec, warn: false children = [ worker(Registry, [:unique, Registry.Trial]), worker(Agent, [TrialServer.Store, :init, []]), supervisor(Task.Supervisor, [[name: TrialServer.TaskSupervisor...
24.25
72
0.678351
79eedbdcb5ef9e64ce13063960b3059cf3673314
128
ex
Elixir
test/support/repo.ex
ibarchenkov/ecto_stream_factory
4884c82105725a3263f0c3725c03ffb532b4b1a4
[ "MIT" ]
5
2020-06-22T07:47:20.000Z
2021-07-15T02:08:30.000Z
test/support/repo.ex
ibarchenkov/ecto_stream_factory
4884c82105725a3263f0c3725c03ffb532b4b1a4
[ "MIT" ]
1
2021-04-26T09:57:59.000Z
2021-04-26T09:57:59.000Z
test/support/repo.ex
ibarchenkov/ecto_stream_factory
4884c82105725a3263f0c3725c03ffb532b4b1a4
[ "MIT" ]
null
null
null
defmodule EctoStreamFactory.Repo do use Ecto.Repo, otp_app: :ecto_stream_factory, adapter: Ecto.Adapters.Postgres end
21.333333
35
0.773438
79ef4756afa4955ce708c693e56249191e507dd6
153
exs
Elixir
simple_server/test/simple_server_test.exs
7Ethan/elixir_notes
e20315b85e490484ead6ed9e2e60b9311d1ff07e
[ "MIT" ]
null
null
null
simple_server/test/simple_server_test.exs
7Ethan/elixir_notes
e20315b85e490484ead6ed9e2e60b9311d1ff07e
[ "MIT" ]
null
null
null
simple_server/test/simple_server_test.exs
7Ethan/elixir_notes
e20315b85e490484ead6ed9e2e60b9311d1ff07e
[ "MIT" ]
null
null
null
defmodule SimpleServerTest do use ExUnit.Case doctest SimpleServer test "greets the world" do assert SimpleServer.hello() == :world end end
17
41
0.738562
79ef4a8b952b9e9e5967218a9eedf33b79c7a488
2,953
exs
Elixir
apps/storage/test/storage/schema/comment_test.exs
anyex-project/anyex
d04018337bcec621f2e2e8d17773fa2724e3c6e1
[ "MIT" ]
12
2019-02-21T21:29:08.000Z
2019-05-14T11:41:10.000Z
apps/storage/test/storage/schema/comment_test.exs
Hentioe/anyex
d04018337bcec621f2e2e8d17773fa2724e3c6e1
[ "MIT" ]
18
2019-02-05T17:19:33.000Z
2019-03-13T13:38:08.000Z
apps/storage/test/storage/schema/comment_test.exs
Hentioe/anyex
d04018337bcec621f2e2e8d17773fa2724e3c6e1
[ "MIT" ]
null
null
null
defmodule Storage.Schema.CommentTest do use ExUnit.Case, async: false alias Storage.Repo alias Storage.Schema.{Comment, Category, Article} import Storage.Schema.Comment setup do on_exit(fn -> Repo.delete_all(Comment) Repo.delete_all(Article) Repo.delete_all(Category) end) end ...
25.025424
85
0.606502
79efd2b779276c1c2e60429745865f8de345d963
3,434
ex
Elixir
lib/slowpoke_waffle.ex
bytecrow/slowpoke_waffle
efbcb84b11a9ac75a6bb90f2261cae0aa650bcc0
[ "MIT" ]
1
2021-01-21T09:41:23.000Z
2021-01-21T09:41:23.000Z
lib/slowpoke_waffle.ex
bytecrow/slowpoke_waffle
efbcb84b11a9ac75a6bb90f2261cae0aa650bcc0
[ "MIT" ]
null
null
null
lib/slowpoke_waffle.ex
bytecrow/slowpoke_waffle
efbcb84b11a9ac75a6bb90f2261cae0aa650bcc0
[ "MIT" ]
1
2020-12-27T00:56:59.000Z
2020-12-27T00:56:59.000Z
defmodule SlowpokeWaffle do @moduledoc """ Provides a storage module for Waffle. With this storage method, all images are stored locally first, then are queued to be uploaded to AWS, and after uploading is done, the local copy is deleted. Either an uploading is in progress or is already done, the returned ...
27.472
85
0.65463
79efd7e2e9a0b572eca2d4db306bc110683d40a6
1,616
ex
Elixir
debian/manpage.1.ex
axia-wish/ctl
e40a18213431124ddce65baa5b23444776fd5c5d
[ "MIT" ]
25
2019-07-17T20:39:04.000Z
2022-01-29T04:27:14.000Z
debian/manpage.1.ex
axia-wish/ctl
e40a18213431124ddce65baa5b23444776fd5c5d
[ "MIT" ]
44
2019-07-17T19:27:08.000Z
2021-03-23T23:24:26.000Z
debian/manpage.1.ex
axia-wish/ctl
e40a18213431124ddce65baa5b23444776fd5c5d
[ "MIT" ]
8
2020-02-06T04:14:35.000Z
2022-02-25T00:52:19.000Z
.\" Hey, EMACS: -*- nroff -*- .\" (C) Copyright 2019 unknown <launchpad@contextlogic.com>, .\" .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH Ctl SECTION "August...
28.350877
70
0.660272
79efdea60657b233c7dd6b2ade84154c02f22cb5
1,233
ex
Elixir
clients/drive_activity/lib/google_api/drive_activity/v2/model/edit.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/drive_activity/lib/google_api/drive_activity/v2/model/edit.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/drive_activity/lib/google_api/drive_activity/v2/model/edit.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...
29.357143
74
0.755069
79f02792956f0251fde3cf1b72e4127c8f886349
3,809
exs
Elixir
test/finch/http2/integration_test.exs
cgerling/finch
02fc2269a9af853eda18bf19b66028eba1958dbb
[ "MIT" ]
null
null
null
test/finch/http2/integration_test.exs
cgerling/finch
02fc2269a9af853eda18bf19b66028eba1958dbb
[ "MIT" ]
null
null
null
test/finch/http2/integration_test.exs
cgerling/finch
02fc2269a9af853eda18bf19b66028eba1958dbb
[ "MIT" ]
null
null
null
defmodule Finch.HTTP2.IntegrationTest do use ExUnit.Case, async: false alias Finch.HTTP2Server alias Finch.TestHelper @moduletag :capture_log setup_all do port = 4002 {:ok, _} = HTTP2Server.start(port) {:ok, url: "https://localhost:#{port}"} end test "sends http2 requests", %{url: url} d...
23.80625
82
0.525072
79f03e52b43e27c1ce81697c934c27ca2532e944
4,740
exs
Elixir
test/acceptances/resources/search_test.exs
DataKrewTech/tirexs
8238da373f4547d27eea57a10826114e947aa66b
[ "Apache-2.0" ]
384
2015-03-09T05:03:42.000Z
2022-02-27T00:45:58.000Z
test/acceptances/resources/search_test.exs
DataKrewTech/tirexs
8238da373f4547d27eea57a10826114e947aa66b
[ "Apache-2.0" ]
144
2015-03-06T11:19:49.000Z
2021-06-11T11:26:39.000Z
test/acceptances/resources/search_test.exs
DataKrewTech/tirexs
8238da373f4547d27eea57a10826114e947aa66b
[ "Apache-2.0" ]
97
2015-03-21T13:58:38.000Z
2022-01-07T14:40:49.000Z
defmodule Acceptances.Resources.SearchTest do use ExUnit.Case alias Tirexs.{HTTP, Resources} setup do HTTP.delete("bear_test") && :ok end test "_explain/4" do { :ok, 201, _ } = HTTP.put("/bear_test/my_type/1?refresh=true", [user: "kimchy"]) { :ok, 200, r } = Resources.bump._explain("bear_test...
34.59854
125
0.575949
79f06f3251917e93d721e64357b80b4af1db3b23
609
exs
Elixir
test/multipster_web/sign_in/link_test.exs
adamniedzielski/multipster
1abf95d545ab8d6bac3f26e0cfb632e2ba69c7d7
[ "MIT" ]
2
2018-01-24T08:31:09.000Z
2019-04-14T11:06:02.000Z
test/multipster_web/sign_in/link_test.exs
adamniedzielski/multipster
1abf95d545ab8d6bac3f26e0cfb632e2ba69c7d7
[ "MIT" ]
5
2017-12-20T16:51:06.000Z
2017-12-28T13:54:08.000Z
test/multipster_web/sign_in/link_test.exs
adamniedzielski/multipster
1abf95d545ab8d6bac3f26e0cfb632e2ba69c7d7
[ "MIT" ]
null
null
null
defmodule MultipsterWeb.SignIn.LinkTest do use Multipster.DataCase, async: true use Bamboo.Test describe "send_to_address/1" do test "send email when user exists" do Repo.insert!(%Multipster.User{email: "test@example.com"}) MultipsterWeb.SignIn.Link.send_to_address("test@example.com") ass...
25.375
68
0.691297
79f09512ee1ac14fc119f29172558a2a47457bd7
511
exs
Elixir
spec/inari/jsonapi/resource_spec.exs
NuckChorris/hermes
401f6669b2811d65877489f64c20d8e2dd800ed7
[ "MIT" ]
null
null
null
spec/inari/jsonapi/resource_spec.exs
NuckChorris/hermes
401f6669b2811d65877489f64c20d8e2dd800ed7
[ "MIT" ]
null
null
null
spec/inari/jsonapi/resource_spec.exs
NuckChorris/hermes
401f6669b2811d65877489f64c20d8e2dd800ed7
[ "MIT" ]
null
null
null
defmodule Inari.JSONAPI.ResourceSpec do use ESpec alias Inari.JSONAPI.Resource describe ".parse()" do context "on a list" do subject do: Resource.parse([%{id: "foo"}, %{id: "bar"}]) it do: should eq [%Resource{id: "foo"}, %Resource{id: "bar"}] end context "on a map" do subject do: ...
23.227273
67
0.598826
79f0a884ee53eb20f3125061f7a9ef74495fb9e2
4,757
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/get_query_results_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/big_query/lib/google_api/big_query/v2/model/get_query_results_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/get_query_results_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &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 ...
59.4625
448
0.715787
79f0a95c317451b3657330dce8dba8de25fde92e
2,383
exs
Elixir
mix.exs
mathieuprog/pathex
5f896aec67559476cf80405cf299bf0a59b5ba04
[ "BSD-2-Clause" ]
51
2020-04-23T11:55:36.000Z
2022-03-28T10:01:39.000Z
mix.exs
mathieuprog/pathex
5f896aec67559476cf80405cf299bf0a59b5ba04
[ "BSD-2-Clause" ]
4
2021-03-12T14:44:27.000Z
2021-12-29T11:00:02.000Z
mix.exs
mathieuprog/pathex
5f896aec67559476cf80405cf299bf0a59b5ba04
[ "BSD-2-Clause" ]
3
2020-10-16T18:05:16.000Z
2021-06-03T21:54:26.000Z
defmodule Pathex.MixProject do use Mix.Project @version "1.2.0" def project do [ app: :pathex, version: @version, elixir: "~> 1.10", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: ...
21.862385
68
0.518254
79f0b9a57e1e2288712aca9026c44ec31b74f7b8
287
ex
Elixir
lib/lilictocat/github/github_behaviour.ex
volcov/lilictocat
5e9073933ad1e97748d1ff915ea76d82b37ce057
[ "MIT" ]
7
2020-08-14T14:38:33.000Z
2021-08-31T03:02:02.000Z
lib/lilictocat/github/github_behaviour.ex
volcov/lilictocat
5e9073933ad1e97748d1ff915ea76d82b37ce057
[ "MIT" ]
3
2020-08-13T19:05:49.000Z
2020-09-16T04:39:44.000Z
lib/lilictocat/github/github_behaviour.ex
volcov/lilictocat
5e9073933ad1e97748d1ff915ea76d82b37ce057
[ "MIT" ]
1
2020-08-14T14:38:20.000Z
2020-08-14T14:38:20.000Z
defmodule Lilictocat.GithubBehaviour do @moduledoc false @callback get_organizations() :: list() @callback get_organization_repos(String.t()) :: list() @callback get_open_pulls(String.t(), String.t()) :: list() @callback get_reviews_of_pr(String.t(), integer()) :: list() end
31.888889
62
0.71777
79f0b9b0df73ecbdf64c9ea65d4f2a1da5b2c430
85
ex
Elixir
lib/archery_competition_web/views/layout_view.ex
barnaba/archery-competition
cd5d302431429218aeb72c71fa96981667d8d95c
[ "MIT" ]
null
null
null
lib/archery_competition_web/views/layout_view.ex
barnaba/archery-competition
cd5d302431429218aeb72c71fa96981667d8d95c
[ "MIT" ]
6
2018-07-11T21:01:51.000Z
2018-07-11T21:06:07.000Z
lib/archery_competition_web/views/layout_view.ex
barnaba/archery-competition
cd5d302431429218aeb72c71fa96981667d8d95c
[ "MIT" ]
null
null
null
defmodule ArcheryCompetitionWeb.LayoutView do use ArcheryCompetitionWeb, :view end
21.25
45
0.858824
79f0c7fccebcfb0ede74e55453871b096495b0d5
214
ex
Elixir
elixir-guide/getting-started/chapter8/module_and_function_with_guard.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
null
null
null
elixir-guide/getting-started/chapter8/module_and_function_with_guard.ex
Cate-Lukner/cate-lukner-internship
43e8b467287ea3a7955e23f18180cb4f849e6620
[ "MIT" ]
8
2020-05-18T14:43:21.000Z
2020-06-03T16:07:37.000Z
elixir-guide/getting-started/chapter8/module_and_function_with_guard.ex
lowlandresearch/cate-lukner-internship
71fff3bcd2d44905357c99dbff1b1f572f5bcc6f
[ "MIT" ]
1
2020-05-18T14:44:13.000Z
2020-05-18T14:44:13.000Z
# This file is a module that contains a guard and uses a slightly different syntax defmodule Boring_Math do def one?(1), do: :"Yes, that is a one" def one?(x) when is_integer(x), do: :"No that is not a one" end
30.571429
82
0.71028
79f0cee257d089031a020d83fd9f7ada5e8674a1
519
ex
Elixir
lib/sanbase_web/graphql/resolvers/table_configuration/user_table_configuration_resolver.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase_web/graphql/resolvers/table_configuration/user_table_configuration_resolver.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase_web/graphql/resolvers/table_configuration/user_table_configuration_resolver.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule SanbaseWeb.Graphql.Resolvers.UserTableConfigurationResolver do require Logger alias Sanbase.Accounts.User def chart_configurations(%User{} = user, _args, _context) do # Querying user_id is same as the queried user_id so it can access private data {:ok, Sanbase.TableConfiguration.user_table_con...
34.6
83
0.77842
79f0edefbd180bb91d118f9c375155ec048e6b7d
473
ex
Elixir
apps/concierge_site/lib/views/font_awesome_helpers.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
null
null
null
apps/concierge_site/lib/views/font_awesome_helpers.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
21
2021-03-12T17:05:30.000Z
2022-02-16T21:48:35.000Z
apps/concierge_site/lib/views/font_awesome_helpers.ex
mbta/alerts_concierge
d8e643445ef06f80ca273f2914c6959daea146f6
[ "MIT" ]
1
2021-12-09T15:09:53.000Z
2021-12-09T15:09:53.000Z
defmodule ConciergeSite.FontAwesomeHelpers do @moduledoc """ Conveniences for using Font Awesome """ import Phoenix.HTML.Tag, only: [content_tag: 3] @doc "HTML for a FontAwesome icon, with optional attributes" def fa(name, attributes \\ []) when is_list(attributes) do content_tag(:i, [], [ {:"ar...
27.823529
71
0.646934
79f0f195ce32e393902b11ea612f38f85bb76e5e
5,380
ex
Elixir
lib/exw3/abi.ex
baxterjfinch/exw3
0887a2c92410704a7c3ffaa19af77d1eeef26b99
[ "Apache-2.0" ]
null
null
null
lib/exw3/abi.ex
baxterjfinch/exw3
0887a2c92410704a7c3ffaa19af77d1eeef26b99
[ "Apache-2.0" ]
11
2021-05-01T05:54:50.000Z
2022-03-01T12:01:49.000Z
lib/exw3/abi.ex
baxterjfinch/exw3
0887a2c92410704a7c3ffaa19af77d1eeef26b99
[ "Apache-2.0" ]
1
2021-11-29T19:31:32.000Z
2021-11-29T19:31:32.000Z
defmodule ExW3.Abi do @doc "Decodes event based on given data and provided signature" @spec decode_event(binary(), binary()) :: any() def decode_event(data, signature) do formatted_data = data |> String.slice(2..-1) |> Base.decode16!(case: :lower) fs = ABI.FunctionSelector.decode(signat...
32.606061
96
0.640149
79f13540237a4cf0ad5b27eef9237a309172d6df
1,291
exs
Elixir
mix.exs
Bluetab/Zippex
03f2faea934c1b1b440ab9d564d7cda14a56756f
[ "MIT" ]
null
null
null
mix.exs
Bluetab/Zippex
03f2faea934c1b1b440ab9d564d7cda14a56756f
[ "MIT" ]
null
null
null
mix.exs
Bluetab/Zippex
03f2faea934c1b1b440ab9d564d7cda14a56756f
[ "MIT" ]
null
null
null
defmodule Zippex.MixProject do use Mix.Project def project do [ app: :zippex, version: "1.0.0", elixir: "~> 1.7", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, deps: deps(), # Hex description: "A Generic Zipper implementation for ...
24.358491
65
0.557707
79f155842fbb54be268b074f4a07ead2f2b353a7
5,732
ex
Elixir
lib/plenario_web/controllers/data_set_controller.ex
vforgione/plenario2
001526e5c60a1d32794a18f3fd65ead6cade1a29
[ "Apache-2.0" ]
13
2017-12-11T13:59:42.000Z
2020-11-16T21:52:31.000Z
lib/plenario_web/controllers/data_set_controller.ex
vforgione/plenario2
001526e5c60a1d32794a18f3fd65ead6cade1a29
[ "Apache-2.0" ]
310
2017-11-13T22:52:26.000Z
2018-11-19T17:49:30.000Z
lib/plenario_web/controllers/data_set_controller.ex
vforgione/plenario2
001526e5c60a1d32794a18f3fd65ead6cade1a29
[ "Apache-2.0" ]
3
2017-12-05T00:36:12.000Z
2020-03-10T15:15:29.000Z
defmodule PlenarioWeb.DataSetController do use PlenarioWeb, :controller require Logger alias Plenario.{ Auth.Guardian, DataSet, DataSetActions, Etl, FieldActions, VirtualDateActions, VirtualPointActions } plug :authorize_resource, model: DataSet # CRUD def new(conn, %{"nam...
28.66
114
0.654745
79f15d269e3c299eeccc1d30cda8060f73ea8873
972
exs
Elixir
src/test/mock_server/config/config.exs
kuon/java-phoenix-channel
955bca5010cf625bfdcdc785676ed4f2ed98c581
[ "Apache-2.0", "MIT" ]
18
2020-02-20T00:36:57.000Z
2022-01-18T01:33:25.000Z
src/test/mock_server/config/config.exs
kuon/java-phoenix-channel
955bca5010cf625bfdcdc785676ed4f2ed98c581
[ "Apache-2.0", "MIT" ]
4
2020-04-03T21:06:53.000Z
2020-05-16T03:49:03.000Z
src/test/mock_server/config/config.exs
kuon/java-phoenix-channel
955bca5010cf625bfdcdc785676ed4f2ed98c581
[ "Apache-2.0", "MIT" ]
2
2020-05-15T09:26:24.000Z
2021-02-19T10:54:52.000Z
# 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. # General application configuration use Mix.Config # Configures the endpoint config :mock_server, M...
33.517241
71
0.770576
79f17ee1e7041b49eb6e0c7621488de341304e81
3,571
ex
Elixir
lib/auth.ex
workpathco/firebase-admin-ex
83305a4bfcc5b1cc7b692eee9d4c93fa080759f2
[ "MIT" ]
38
2018-05-29T14:22:03.000Z
2021-11-16T11:33:05.000Z
lib/auth.ex
workpathco/firebase-admin-ex
83305a4bfcc5b1cc7b692eee9d4c93fa080759f2
[ "MIT" ]
8
2018-12-05T02:41:12.000Z
2020-06-24T18:41:21.000Z
lib/auth.ex
workpathco/firebase-admin-ex
83305a4bfcc5b1cc7b692eee9d4c93fa080759f2
[ "MIT" ]
22
2018-11-21T03:10:07.000Z
2022-02-18T01:45:14.000Z
defmodule FirebaseAdminEx.Auth do alias FirebaseAdminEx.{Request, Response, Errors} alias FirebaseAdminEx.Auth.ActionCodeSettings @auth_endpoint "https://www.googleapis.com/identitytoolkit/v3/relyingparty/" @auth_endpoint_account "https://identitytoolkit.googleapis.com/v1/projects/" @auth_scope "https://www....
30.784483
99
0.652758
79f198cb4ea9f2b151f046c0c78212217376e630
729
ex
Elixir
apps/gobstopper_service/lib/gobstopper.service/auth/identity/model.ex
ZURASTA/gobstopper
f8d231c4459af6fa44273c3ef80857348410c70b
[ "BSD-2-Clause" ]
3
2017-05-02T12:53:07.000Z
2017-05-28T11:53:15.000Z
apps/gobstopper_service/lib/gobstopper.service/auth/identity/model.ex
ScrimpyCat/gobstopper
41a64991d8fb809065a52d09f8f4c6c707ae3403
[ "BSD-2-Clause" ]
12
2017-07-24T12:29:51.000Z
2018-04-05T03:58:10.000Z
apps/gobstopper_service/lib/gobstopper.service/auth/identity/model.ex
ZURASTA/gobstopper
f8d231c4459af6fa44273c3ef80857348410c70b
[ "BSD-2-Clause" ]
4
2017-07-24T12:19:23.000Z
2019-02-19T06:34:46.000Z
defmodule Gobstopper.Service.Auth.Identity.Model do use Ecto.Schema import Ecto import Ecto.Changeset @moduledoc """ A model representing the different identities. ##Fields ###:id Is the unique reference to the identity entry. Is an `integer`. ###:identity Is the u...
23.516129
80
0.610425
79f1fc3086725abdeee54e06f0d6e467c456de25
3,309
exs
Elixir
test/redex/command/lpush_test.exs
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
173
2019-03-15T15:05:11.000Z
2022-01-10T08:21:48.000Z
test/redex/command/lpush_test.exs
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
null
null
null
test/redex/command/lpush_test.exs
esmaeilpour/redex
c2c6e29e3dec0df265fdcd9f24cd2471c8615ee7
[ "Apache-2.0" ]
9
2019-07-28T01:20:43.000Z
2021-08-18T03:41:44.000Z
defmodule Redex.Command.LpushTest do use ExUnit.Case, async: true use ExUnitProperties import Mox import Redex.DataGenerators import Redex.Command.LPUSH setup :verify_on_exit! property "LPUSH a non existing or expired key" do check all state = %{db: db} <- state(), nodes <- nodes(stat...
33.424242
92
0.573285
79f22565388b393183bce0d923be1f5e99d7b36c
234
ex
Elixir
lib/tilex_web/views/error_view.ex
plicjo/tilex
f3d9cba7f2ca99c75622cd1a9992508614dd455f
[ "MIT" ]
460
2016-12-28T21:50:05.000Z
2022-03-16T14:34:08.000Z
lib/tilex_web/views/error_view.ex
plicjo/tilex
f3d9cba7f2ca99c75622cd1a9992508614dd455f
[ "MIT" ]
412
2016-12-27T17:32:01.000Z
2021-09-17T23:51:47.000Z
lib/tilex_web/views/error_view.ex
plicjo/tilex
f3d9cba7f2ca99c75622cd1a9992508614dd455f
[ "MIT" ]
140
2017-01-06T06:55:58.000Z
2022-02-04T13:35:21.000Z
defmodule TilexWeb.ErrorView do use TilexWeb, :view # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(_template, assigns) do render("500.html", assigns) end end
23.4
47
0.730769
79f2283bfc3d77b14b744e33ed3f5f2e747f337a
6,513
ex
Elixir
apps/mishka_html/lib/mishka_html_web/live/components/admin/user/list_component.ex
mojtaba-naserei/mishka-cms
1f31f61347bab1aae6ba0d47c5515a61815db6c9
[ "Apache-2.0" ]
1
2021-11-14T11:13:25.000Z
2021-11-14T11:13:25.000Z
apps/mishka_html/lib/mishka_html_web/live/components/admin/user/list_component.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
null
null
null
apps/mishka_html/lib/mishka_html_web/live/components/admin/user/list_component.ex
iArazar/mishka-cms
8b579101d607d91e80834527c1508fe5f4ceefef
[ "Apache-2.0" ]
null
null
null
defmodule MishkaHtmlWeb.Admin.User.ListComponent do use MishkaHtmlWeb, :live_component def render(assigns) do ~H""" <div class="col bw admin-blog-post-list"> <div class="table-responsive"> <table class="table vazir"> <thead> <tr> ...
65.787879
213
0.430677