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
03243224c00388eed840b23161763f9023a45dc4
2,232
exs
Elixir
test/arbitrary/gen_test.exs
alexdesousa/arbitrary
19ace054ec77d179c5ab9d6f9c557eec4b883cbd
[ "MIT" ]
null
null
null
test/arbitrary/gen_test.exs
alexdesousa/arbitrary
19ace054ec77d179c5ab9d6f9c557eec4b883cbd
[ "MIT" ]
null
null
null
test/arbitrary/gen_test.exs
alexdesousa/arbitrary
19ace054ec77d179c5ab9d6f9c557eec4b883cbd
[ "MIT" ]
null
null
null
defmodule Arbitrary.GenTest do use ExUnit.Case, async: true alias Arbitrary.Gen describe "choose/1" do test "generates a function" do %Gen{gen: f} = Gen.choose(1..10) assert is_function(f) end test "chooses one value of a range" do a = 1 b = 10 value = a..b ...
21.257143
72
0.52957
032440784ce449c18a620b1c7868957ce509fe67
334
ex
Elixir
lib/console_web/router_api_pipeline.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
83
2018-05-31T14:49:10.000Z
2022-03-27T16:49:49.000Z
lib/console_web/router_api_pipeline.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
267
2018-05-22T23:19:02.000Z
2022-03-31T04:31:06.000Z
lib/console_web/router_api_pipeline.ex
maco2035/console
2a9a65678b8c671c7d92cdb62dfcfc71b84957c5
[ "Apache-2.0" ]
18
2018-11-20T05:15:54.000Z
2022-03-28T08:20:13.000Z
defmodule ConsoleWeb.RouterApiPipeline do use Guardian.Plug.Pipeline, otp_app: :console, module: ConsoleWeb.Guardian, error_handler: ConsoleWeb.AuthErrorHandler plug Guardian.Plug.VerifyHeader, claims: %{"typ" => "router"} plug Guardian.Plug.EnsureAuthenticated plug ConsoleWeb.Plug.VerifyRouterSecr...
30.363636
63
0.784431
032447b922ba2985bf4ff2bbc8c658c34a2262d4
286
ex
Elixir
web/views/raw_supplier_rate_view.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
web/views/raw_supplier_rate_view.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
web/views/raw_supplier_rate_view.ex
zombalo/cgrates_web_jsonapi
47845be4311839fe180cc9f2c7c6795649da4430
[ "MIT" ]
null
null
null
defmodule CgratesWebJsonapi.RawSupplierRateView do use CgratesWebJsonapi.Web, :view use JaSerializer.PhoenixView attributes [:rate, :supplier_name, :prefix, :description, :inserted_at, :updated_at] has_one :tariff_plan, field: :tariff_plan_id, type: "tariff_plan" end
26
86
0.769231
032453987d7215340bf0059515723a96834ac136
647
exs
Elixir
config/integration.exs
PhilNorman2/valkyrie
4f733965492e9a746a4dae217215b7270c24d0c0
[ "Apache-2.0" ]
null
null
null
config/integration.exs
PhilNorman2/valkyrie
4f733965492e9a746a4dae217215b7270c24d0c0
[ "Apache-2.0" ]
null
null
null
config/integration.exs
PhilNorman2/valkyrie
4f733965492e9a746a4dae217215b7270c24d0c0
[ "Apache-2.0" ]
null
null
null
use Mix.Config host = case System.get_env("HOST_IP") do nil -> "127.0.0.1" defined -> defined end config :logger, level: :info config :valkyrie, elsa_brokers: [{String.to_atom(host), 9092}], input_topic_prefix: "raw", output_topic_prefix: "validated", divo: [ {DivoKafka, [create_topics: "ra...
20.21875
114
0.670788
032490a8f5eab0ba5a6eebe5a7283dbc2b95546a
1,395
ex
Elixir
lib/ash/resource/actions/shared_options.ex
ChristianTovar/ash
66435322786c5d0b90a34051da969b68dcc8a045
[ "MIT" ]
null
null
null
lib/ash/resource/actions/shared_options.ex
ChristianTovar/ash
66435322786c5d0b90a34051da969b68dcc8a045
[ "MIT" ]
null
null
null
lib/ash/resource/actions/shared_options.ex
ChristianTovar/ash
66435322786c5d0b90a34051da969b68dcc8a045
[ "MIT" ]
null
null
null
defmodule Ash.Resource.Actions.SharedOptions do @moduledoc false @shared_options [ name: [ type: :atom, required: true, doc: "The name of the action" ], primary?: [ type: :boolean, default: false, doc: "Whether or not this action should be used when no action is spec...
26.320755
109
0.630108
0324abe8c651439955a20bf69fde8b820beec15c
2,390
exs
Elixir
mix.exs
van-mronov/joken
da2c7236d037e57814c73e62eededda1e27766ca
[ "Apache-2.0" ]
null
null
null
mix.exs
van-mronov/joken
da2c7236d037e57814c73e62eededda1e27766ca
[ "Apache-2.0" ]
null
null
null
mix.exs
van-mronov/joken
da2c7236d037e57814c73e62eededda1e27766ca
[ "Apache-2.0" ]
null
null
null
defmodule Joken.Mixfile do use Mix.Project @version "2.0.0-rc3" def project do [ app: :joken, version: @version, name: "Joken", elixir: "~> 1.5", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, consolidate_protocols: Mix.env() != :test,...
24.141414
76
0.541841
0324afef272ceb73f645ee6d35e275178d475da3
9,766
ex
Elixir
lib/challenge_gov/analytics.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
null
null
null
lib/challenge_gov/analytics.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
null
null
null
lib/challenge_gov/analytics.ex
smartlogic/Challenge_gov
b4203d1fcfb742dd17ecfadb9e9c56ad836d4254
[ "CC0-1.0" ]
null
null
null
defmodule ChallengeGov.Analytics do @moduledoc """ Analytics context """ @behaviour Stein.Filter import Ecto.Query alias ChallengeGov.Challenges.Challenge alias ChallengeGov.Repo alias Stein.Filter def get_challenges(opts \\ []) do Challenge |> where([c], not is_nil(c.start_date)) |> wh...
23.14218
98
0.57178
0324fbdb6f341fc6c5f5dae72e69414369136662
1,052
exs
Elixir
config/dev.exs
MihailoIsakov/LixLint
5edba3068b929417d49b2084bb15b21057e9ca0b
[ "MIT" ]
null
null
null
config/dev.exs
MihailoIsakov/LixLint
5edba3068b929417d49b2084bb15b21057e9ca0b
[ "MIT" ]
null
null
null
config/dev.exs
MihailoIsakov/LixLint
5edba3068b929417d49b2084bb15b21057e9ca0b
[ "MIT" ]
null
null
null
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 :statika, Statika.Endpoint, http: [port: 4000]...
29.222222
63
0.708175
032523c67a03c02f76d304bbd252b8dde688af63
4,252
ex
Elixir
clients/games/lib/google_api/games/v1/model/player.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/games/lib/google_api/games/v1/model/player.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/games/lib/google_api/games/v1/model/player.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 ...
53.15
340
0.706961
032538e48015271245405531167e894de8dd23bf
159
exs
Elixir
samples/cowboy_wobserver/config/config.exs
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
11
2017-05-05T12:28:35.000Z
2020-02-26T09:16:10.000Z
samples/cowboy_wobserver/config/config.exs
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
null
null
null
samples/cowboy_wobserver/config/config.exs
IanLuites/wobserver-elixirconf-2017
86a56a392a5877d2d9a51dc7fbd7e0d8b576c711
[ "MIT" ]
null
null
null
use Mix.Config config :wobserver, mode: :plug, remote_url_prefix: "/wobserver" # config :logger, level: :info # # import_config "#{Mix.env}.exs"
15.9
36
0.654088
0325426da13d4c109984abd60235d652523d4135
746
ex
Elixir
api/lib/trello_clone_api/project/board.ex
arkanoryn/trello-clone
2d5f5bc5c498c1740054dc56da16ad78c545b755
[ "Apache-2.0" ]
1
2021-04-17T20:20:59.000Z
2021-04-17T20:20:59.000Z
api/lib/trello_clone_api/project/board.ex
arkanoryn/trello-clone
2d5f5bc5c498c1740054dc56da16ad78c545b755
[ "Apache-2.0" ]
null
null
null
api/lib/trello_clone_api/project/board.ex
arkanoryn/trello-clone
2d5f5bc5c498c1740054dc56da16ad78c545b755
[ "Apache-2.0" ]
null
null
null
defmodule TrelloCloneApi.Project.Board do use Ecto.Schema import Ecto.Changeset import Ecto.Query, only: [from: 2] schema "boards" do field(:description, :string) field(:name, :string) belongs_to(:project, TrelloCloneApi.Organization.Project) timestamps() end @doc false def changeset(bo...
21.941176
61
0.663539
0325528c70de2f417866e9a1f01659d9d66e1945
40,340
exs
Elixir
test/session_test.exs
desoulter/smppex
1c8dbd9673291431b2d329a2cb20134c91857af2
[ "MIT" ]
null
null
null
test/session_test.exs
desoulter/smppex
1c8dbd9673291431b2d329a2cb20134c91857af2
[ "MIT" ]
null
null
null
test/session_test.exs
desoulter/smppex
1c8dbd9673291431b2d329a2cb20134c91857af2
[ "MIT" ]
null
null
null
defmodule SMPPEX.SessionTest do use ExUnit.Case alias :timer, as: Timer alias :sys, as: Sys alias Support.TCP.Server alias SMPPEX.Session alias SMPPEX.Pdu setup do server = Server.start_link() Timer.sleep(50) {:ok, callback_agent} = Agent.start_link(fn -> [] end) callbacks = fn -> ...
26.821809
98
0.577343
03257c0398bce53c2b79a62967952fa4b609a4c6
6,959
ex
Elixir
lib/iex/lib/iex/evaluator.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/evaluator.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
lib/iex/lib/iex/evaluator.ex
diogovk/elixir
7b8213affaad38b50afaa3dfc3a43717f35ba4e7
[ "Apache-2.0" ]
null
null
null
defmodule IEx.Evaluator do @moduledoc false @doc """ Eval loop for an IEx session. Its responsibilities include: * loading of .iex files * evaluating code * trapping exceptions in the code being evaluated * keeping expression history """ def init(server, leader, opts) do old_leader = Pr...
29.99569
110
0.643196
0325952fa2f6c67f0ff44fb6b5cd38ce441e42b6
4,898
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/channel.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/channel.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/channel.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
41.508475
194
0.737444
0325a5159c1d5edf43abd71b3752aca7e22c2b52
67
ex
Elixir
lib/phoenix_cms_web/views/page_view.ex
SerenityIK/phoenix_cms
2e6f5068c5d3bf0a1372f6da4f910522f7faa6a4
[ "Apache-2.0" ]
null
null
null
lib/phoenix_cms_web/views/page_view.ex
SerenityIK/phoenix_cms
2e6f5068c5d3bf0a1372f6da4f910522f7faa6a4
[ "Apache-2.0" ]
17
2021-03-22T06:11:32.000Z
2022-03-28T20:03:58.000Z
lib/phoenix_cms_web/views/page_view.ex
SerenityIK/phoenix_cms
2e6f5068c5d3bf0a1372f6da4f910522f7faa6a4
[ "Apache-2.0" ]
null
null
null
defmodule PhoenixCmsWeb.PageView do use PhoenixCmsWeb, :view end
16.75
35
0.820896
0325c421a23cda9883f2c89e74ac0e7ef0a04c6b
1,263
exs
Elixir
mix.exs
hauleth/mix_unused
778f60773a1c0d10e62b85c5fd39611b71b41e53
[ "MIT" ]
116
2019-01-05T02:08:47.000Z
2022-03-29T08:10:16.000Z
mix.exs
hauleth/mix_unused
778f60773a1c0d10e62b85c5fd39611b71b41e53
[ "MIT" ]
22
2020-04-12T23:29:14.000Z
2022-03-30T17:23:21.000Z
mix.exs
hauleth/mix_unused
778f60773a1c0d10e62b85c5fd39611b71b41e53
[ "MIT" ]
2
2021-09-28T10:35:00.000Z
2022-03-24T14:08:27.000Z
defmodule MixUnused.MixProject do use Mix.Project @source_url "https://github.com/hauleth/mix_unused" @version "0.3.0" def project do [ app: :mix_unused, description: "Mix compiler tracer for detecting unused public functions", version: @version, elixir: "~> 1.10", package: [...
25.77551
79
0.527316
03265d8b5016a1ac901272f8b6ce90e33e30b5b0
565
ex
Elixir
test/test_bot/middleware/message_transformer.ex
bot-ex/bot_ex
7f28464723187ef415b5e6926e4c48e2ace50fad
[ "MIT" ]
20
2020-04-10T11:25:47.000Z
2021-11-08T08:03:22.000Z
test/test_bot/middleware/message_transformer.ex
bot-ex/botex
7f28464723187ef415b5e6926e4c48e2ace50fad
[ "MIT" ]
1
2020-07-21T08:01:50.000Z
2020-07-22T17:53:00.000Z
test/test_bot/middleware/message_transformer.ex
bot-ex/botex
7f28464723187ef415b5e6926e4c48e2ace50fad
[ "MIT" ]
2
2020-04-11T11:12:03.000Z
2020-07-21T07:37:55.000Z
defmodule TestBot.Middleware.MessaegTransformer do @moduledoc """ Convert telegram message to `BotEx.Models.Message` """ @behaviour BotEx.Behaviours.MiddlewareParser alias BotEx.Models.Message @spec transform({binary(), binary(), binary(), map()}) :: Message.t() def transform({command, action,...
23.541667
62
0.631858
03268f59bd2199286c1eaa3d98c9c5980e3f77cf
871
exs
Elixir
test/web/controller/admin/quest_controller_test.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
2
2019-05-14T11:36:44.000Z
2020-07-01T08:54:04.000Z
test/web/controller/admin/quest_controller_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
null
null
null
test/web/controller/admin/quest_controller_test.exs
nickwalton/ex_venture
d8ff1b0181db03f9ddcb7610ae7ab533feecbfbb
[ "MIT" ]
1
2021-01-29T14:12:40.000Z
2021-01-29T14:12:40.000Z
defmodule Web.Admin.QuestControllerTest do use Web.AuthConnCase test "create a quest", %{conn: conn} do npc = create_npc(%{is_quest_giver: true}) params = %{ "name" => "Quest", "description" => "A quest", "completed_message" => "The quest is done", "script" => [ %{"key" => ...
28.096774
89
0.586682
03269343a076587f8cda31611e498f331315abb0
1,475
ex
Elixir
lib/bloggex_web/views/error_helpers.ex
dreamingechoes/bloggex
9ead10ec1fd8fda0da3cb08106c43a9043188199
[ "MIT" ]
1
2020-01-14T03:17:51.000Z
2020-01-14T03:17:51.000Z
lib/bloggex_web/views/error_helpers.ex
dreamingechoes/bloggex
9ead10ec1fd8fda0da3cb08106c43a9043188199
[ "MIT" ]
null
null
null
lib/bloggex_web/views/error_helpers.ex
dreamingechoes/bloggex
9ead10ec1fd8fda0da3cb08106c43a9043188199
[ "MIT" ]
null
null
null
defmodule BloggexWeb.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_tag(...
32.777778
76
0.671186
0326ad2b0225330d6452949dac126997a93eeb60
46
exs
Elixir
test/solana_test.exs
dcrck/solana-elixir
3ab8531129d303b3951a292ce2813ebcb9ab2cb3
[ "MIT" ]
15
2021-11-16T23:56:03.000Z
2022-02-19T08:48:30.000Z
test/solana_test.exs
dcrck/solana-elixir
3ab8531129d303b3951a292ce2813ebcb9ab2cb3
[ "MIT" ]
null
null
null
test/solana_test.exs
dcrck/solana-elixir
3ab8531129d303b3951a292ce2813ebcb9ab2cb3
[ "MIT" ]
1
2021-11-29T06:33:51.000Z
2021-11-29T06:33:51.000Z
defmodule SolanaTest do use ExUnit.Case end
11.5
23
0.804348
0326f69e5da55a61933558c0954ec569c088bf5b
832
ex
Elixir
lib/kaffy/cache/client.ex
adipurnama/kaffy
d940958b8730648b060dff8a89232dff082a090e
[ "MIT" ]
840
2020-05-08T20:24:01.000Z
2022-03-18T07:03:49.000Z
lib/kaffy/cache/client.ex
adipurnama/kaffy
d940958b8730648b060dff8a89232dff082a090e
[ "MIT" ]
189
2020-05-07T04:58:35.000Z
2022-02-09T16:33:36.000Z
lib/kaffy/cache/client.ex
adipurnama/kaffy
d940958b8730648b060dff8a89232dff082a090e
[ "MIT" ]
103
2020-05-09T12:42:22.000Z
2022-03-30T04:10:22.000Z
defmodule Kaffy.Cache.Client do use GenServer def start_link(args) do GenServer.start_link(__MODULE__, args, name: KaffyCache) end @impl true def init(_) do Kaffy.Cache.Table.create_table() {:ok, %{}} end def add_cache(key, suffix, value, expire_after \\ 600) do GenServer.call(KaffyCach...
24.470588
77
0.685096
03270fca3708998b872b67757d6ecdd5d7aca22f
253
ex
Elixir
test/support/cms/V3/Database/mock_version_table.ex
noizu-labs/KitchenSinkAdvanced
6d91b5dd4f59cd9838f87a64605a0ef87f4301c8
[ "MIT" ]
null
null
null
test/support/cms/V3/Database/mock_version_table.ex
noizu-labs/KitchenSinkAdvanced
6d91b5dd4f59cd9838f87a64605a0ef87f4301c8
[ "MIT" ]
null
null
null
test/support/cms/V3/Database/mock_version_table.ex
noizu-labs/KitchenSinkAdvanced
6d91b5dd4f59cd9838f87a64605a0ef87f4301c8
[ "MIT" ]
null
null
null
defmodule Noizu.Support.V3.CMS.Database.Article.Version.MockTable do @moduledoc false require Noizu.Testing.Mnesia.TableMocker Noizu.Testing.Mnesia.TableMocker.customize() do @table Noizu.V3.CMS.Database.Article.Version.Table end end
31.625
69
0.778656
03273b0c5c2311f83c719bce0bb8bea282b655e3
428
ex
Elixir
lib/conduit_web/controllers/fallback_controller.ex
ray-sh/cov_detect
b4e74b13850eff4a7c646a64fc7c28fbe700ad2e
[ "MIT" ]
298
2017-06-05T14:28:23.000Z
2022-03-30T16:53:44.000Z
lib/conduit_web/controllers/fallback_controller.ex
ray-sh/cov_detect
b4e74b13850eff4a7c646a64fc7c28fbe700ad2e
[ "MIT" ]
28
2017-07-21T01:06:47.000Z
2021-03-07T12:32:56.000Z
lib/conduit_web/controllers/fallback_controller.ex
ray-sh/cov_detect
b4e74b13850eff4a7c646a64fc7c28fbe700ad2e
[ "MIT" ]
77
2017-08-14T20:12:03.000Z
2021-12-08T22:24:59.000Z
defmodule ConduitWeb.FallbackController do use ConduitWeb, :controller def call(conn, {:error, :validation_failure, errors}) do conn |> put_status(:unprocessable_entity) |> put_view(ConduitWeb.ValidationView) |> render("error.json", errors: errors) end def call(conn, {:error, :not_found}) do ...
23.777778
58
0.682243
03274dead7db75a78460e6c09366e92443c74cbb
652
exs
Elixir
test/dotfiler/print_test.exs
filipebarros/dotfiler
6d0984371c6b0bc91902c65b7b10691579d7d414
[ "MIT" ]
null
null
null
test/dotfiler/print_test.exs
filipebarros/dotfiler
6d0984371c6b0bc91902c65b7b10691579d7d414
[ "MIT" ]
null
null
null
test/dotfiler/print_test.exs
filipebarros/dotfiler
6d0984371c6b0bc91902c65b7b10691579d7d414
[ "MIT" ]
null
null
null
defmodule Dotfiler.PrintTest do use ExUnit.Case alias Dotfiler.Print import ExUnit.CaptureIO test "prints help menu" do help_message = """ Usage: ./dotfiler --source [folder] [options] Options: --help Show this help message. --brew Install Homebrew --packages Install H...
17.157895
73
0.631902
0327528c1286e824e32841c612d6c00c460c4118
198
exs
Elixir
priv/repo/migrations/20190808002434_change_reward_amount_type.exs
pakorn186c/blockchain-api
3c9fbc892e645f9bb144414f3da36749603f37bc
[ "Apache-2.0" ]
17
2019-11-03T03:02:41.000Z
2022-01-13T17:03:32.000Z
priv/repo/migrations/20190808002434_change_reward_amount_type.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
5
2019-11-07T23:26:53.000Z
2020-11-24T21:45:35.000Z
priv/repo/migrations/20190808002434_change_reward_amount_type.exs
AddressXception/blockchain-api
eea98fa78af2887cc84762f84532c602c3b8b666
[ "Apache-2.0" ]
11
2019-12-04T07:03:16.000Z
2022-01-13T17:03:50.000Z
defmodule BlockchainAPI.Repo.Migrations.ChangeRewardAmountType do use Ecto.Migration def change do alter table(:reward_txns) do modify :amount, :bigint, null: false end end end
19.8
65
0.737374
03278e7884f5288a3dc4b2138a331c196ae85cb8
2,016
ex
Elixir
lib/battle_box/api_key.ex
GrantJamesPowell/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
2
2020-10-17T05:48:49.000Z
2020-11-11T02:34:15.000Z
lib/battle_box/api_key.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
3
2020-05-18T05:52:21.000Z
2020-06-09T07:24:14.000Z
lib/battle_box/api_key.ex
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
null
null
null
defmodule BattleBox.ApiKey do alias BattleBox.{Repo, User} import BattleBox.Utilities.UserIdentifierValidation, only: [validate_user_identifer: 2] import Ecto.Changeset use Ecto.Schema @primary_key {:id, :binary_id, autogenerate: true} @foreign_key_type :binary_id @derive {Inspect, except: [:hashed_toke...
28
93
0.645337
0327d7f433490a1ed089b2ba43d595eb5fb019ec
1,586
ex
Elixir
test/support/data_case.ex
manojsamanta/stripe-multiple-products
746895c2a4ef375c74bf0a643cbd3db7a8e19bcc
[ "MIT" ]
null
null
null
test/support/data_case.ex
manojsamanta/stripe-multiple-products
746895c2a4ef375c74bf0a643cbd3db7a8e19bcc
[ "MIT" ]
null
null
null
test/support/data_case.ex
manojsamanta/stripe-multiple-products
746895c2a4ef375c74bf0a643cbd3db7a8e19bcc
[ "MIT" ]
null
null
null
defmodule MultipleProducts.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 ...
28.321429
78
0.699243
03281252bc1d3bc4b6010a72476dbd683c6a3745
1,524
ex
Elixir
clients/content/lib/google_api/content/v2/model/customer_return_reason.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/customer_return_reason.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/customer_return_reason.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
30.48
87
0.723097
032819b294f0490e58836ab4e04210caf4fc8236
463
exs
Elixir
enum/countdown.exs
diningyo/programming-elixir
bc61ee99a56e462129263c6b372eaf1faa9bb3fb
[ "MIT" ]
null
null
null
enum/countdown.exs
diningyo/programming-elixir
bc61ee99a56e462129263c6b372eaf1faa9bb3fb
[ "MIT" ]
null
null
null
enum/countdown.exs
diningyo/programming-elixir
bc61ee99a56e462129263c6b372eaf1faa9bb3fb
[ "MIT" ]
null
null
null
defmodule Countdown do def sleep(seconds) do receive do after seconds * 1000 -> nil end end def say(text) do spawn fn -> :os.cmd('say #{text}') end end def timer do Stream.resource( fn -> {_h, _m, s} = :erlang.time 60 - s - 1 end, fn 0 -> ...
15.965517
42
0.455724
032823cab46a2374dc0f3adf29279f1cf7622324
261
exs
Elixir
exercise/0203_PatternMaching3.exs
diningyo/programming-elixir
bc61ee99a56e462129263c6b372eaf1faa9bb3fb
[ "MIT" ]
null
null
null
exercise/0203_PatternMaching3.exs
diningyo/programming-elixir
bc61ee99a56e462129263c6b372eaf1faa9bb3fb
[ "MIT" ]
null
null
null
exercise/0203_PatternMaching3.exs
diningyo/programming-elixir
bc61ee99a56e462129263c6b372eaf1faa9bb3fb
[ "MIT" ]
null
null
null
# 2.4 p.020 - exercise PatternMatching-3 # rerequirements : a is bound by 2. a = 2 [ a, b, a ] = [ 1, 2, 3 ] # no match a = 2 [ a, b, a ] = [ 1, 1, 2 ] # no match a = 2 a = 1 # match a = 2 ^a = 2 # match a = 2 ^a = 1 # no match a = 2 ^a = 2 - a # no match
13.05
40
0.482759
03282ae29f731103c6ef6caa0e3e69761fb19ca7
200
ex
Elixir
lib/phone/il.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/il.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/il.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.IL do @moduledoc false use Helper.Country def regex, do: ~r/^(972)()(.{8,9})/ def country, do: "Israel" def a2, do: "IL" def a3, do: "ISR" matcher :regex, ["972"] end
15.384615
37
0.595
0328301df2c0903f2f05227aa1e23a24740703e9
618
ex
Elixir
lib/api/workshops/attendance.ex
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
1
2017-09-10T23:51:40.000Z
2017-09-10T23:51:40.000Z
lib/api/workshops/attendance.ex
nunopolonia/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
24
2018-03-14T18:17:00.000Z
2021-03-01T07:47:53.000Z
lib/api/workshops/attendance.ex
portosummerofcode/psc-api
2e358503851cc04cdaa89201a3f56586f8746736
[ "MIT" ]
null
null
null
defmodule Api.Workshops.Attendance do use Ecto.Schema import Ecto.Changeset alias Api.Accounts.User alias Api.Workshops.Workshop @valid_attrs ~w( user_id workshop_id checked_in )a @required_attrs ~w( user_id workshop_id )a @primary_key false @foreign_key_type :binary_id sche...
18.176471
47
0.695793
0328322acda1d3a9a477c6f30fc4e6e3d26f5275
1,757
ex
Elixir
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_product_key_value.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_product_key_value.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/vision/lib/google_api/vision/v1/model/google_cloud_vision_v1p1beta1_product_key_value.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...
35.14
147
0.734775
03284a9174ce3efce0f72138ea9b7c2d4369671c
1,197
exs
Elixir
mix.exs
ljgago/minex
5cdd56222a0648a855574764a47fa89b35eaf1f8
[ "Apache-2.0" ]
null
null
null
mix.exs
ljgago/minex
5cdd56222a0648a855574764a47fa89b35eaf1f8
[ "Apache-2.0" ]
null
null
null
mix.exs
ljgago/minex
5cdd56222a0648a855574764a47fa89b35eaf1f8
[ "Apache-2.0" ]
null
null
null
defmodule Minex.MixProject do use Mix.Project @version "0.1.0" @repo_url "https://github.com/ljgago/minex" def project do [ app: :minex, version: @version, elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), # Doc name: "Minex", # Pakcage...
21.375
62
0.507937
03286f4206ed438533638d0e0425c4aa0b08b15c
5,689
ex
Elixir
lib/mix/lib/mix/tasks/escriptize.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/escriptize.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/escriptize.ex
knewter/elixir
8310d62499e292d78d5c9d79d5d15a64e32fb738
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Escriptize do use Mix.Task use Bitwise, only_operators: true @shortdoc "Generates an escript for the project" @recursive true @moduledoc %S""" Generates an escript for the project. ## Command line options * `--force` - forces compilation regardless of modification times * `--n...
29.78534
120
0.610652
0328771b65ea354ef522d8ef5636d7e084ddccbd
2,888
exs
Elixir
test/telemetry_metrics_statsd/formatter/datadog_test.exs
samullen/telemetry_metrics_statsd
969e6d8ce7d146216b96be1187e08ac33aedd4e2
[ "MIT" ]
null
null
null
test/telemetry_metrics_statsd/formatter/datadog_test.exs
samullen/telemetry_metrics_statsd
969e6d8ce7d146216b96be1187e08ac33aedd4e2
[ "MIT" ]
null
null
null
test/telemetry_metrics_statsd/formatter/datadog_test.exs
samullen/telemetry_metrics_statsd
969e6d8ce7d146216b96be1187e08ac33aedd4e2
[ "MIT" ]
null
null
null
defmodule TelemetryMetricsStatsd.Formatter.DatadogTest do use ExUnit.Case, async: true import TelemetryMetricsStatsd.Test.Helpers alias TelemetryMetricsStatsd.Formatter.Datadog test "counter update is formatted as a Datadog counter with 1 as a value" do m = given_counter("my.awesome.metric") assert ...
31.391304
85
0.666205
03289439beda7eee4e213c85a0a620ff3426ec4f
1,799
ex
Elixir
clients/mirror/lib/google_api/mirror/v1/model/subscriptions_list_response.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/mirror/lib/google_api/mirror/v1/model/subscriptions_list_response.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/mirror/lib/google_api/mirror/v1/model/subscriptions_list_response.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 "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...
35.27451
111
0.744302
0328993040201df56325990ff52b1ab471048291
1,813
ex
Elixir
lib/elixir_blog/posts/posts.ex
xorvo/elixir_blog
67123c05eb4cacfa482604ce62c4f5a7e9bc1690
[ "MIT" ]
null
null
null
lib/elixir_blog/posts/posts.ex
xorvo/elixir_blog
67123c05eb4cacfa482604ce62c4f5a7e9bc1690
[ "MIT" ]
null
null
null
lib/elixir_blog/posts/posts.ex
xorvo/elixir_blog
67123c05eb4cacfa482604ce62c4f5a7e9bc1690
[ "MIT" ]
null
null
null
defmodule ElixirBlog.Posts do @moduledoc """ The Posts context. """ import Ecto.Query, warn: false alias ElixirBlog.Repo alias ElixirBlog.Posts.Article @doc """ Returns the list of articles. ## Examples iex> list_articles() [%Article{}, ...] """ def list_articles do Repo.all(...
17.266667
62
0.601765
0328ae33889659e08cdc65d8a9f2398388b903ec
771
ex
Elixir
apps/meeple/lib/meeple/application.ex
grrrisu/meeple
428762a58a94306a6643b09c08d72fb2883a0309
[ "MIT" ]
null
null
null
apps/meeple/lib/meeple/application.ex
grrrisu/meeple
428762a58a94306a6643b09c08d72fb2883a0309
[ "MIT" ]
13
2021-12-24T23:44:10.000Z
2022-03-04T20:56:28.000Z
apps/meeple/lib/meeple/application.ex
grrrisu/meeple
428762a58a94306a6643b09c08d72fb2883a0309
[ "MIT" ]
null
null
null
defmodule Meeple.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application @impl true def start(_type, _args) do children = [ Meeple.Repo, {Phoenix.PubSub, name: Meeple.PubSub}, Meeple.BoardSupervisor, ...
26.586207
84
0.64332
0328c315abfb85cdad76506f30cde3626ed5a493
1,888
exs
Elixir
clients/memcache/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/memcache/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/memcache/mix.exs
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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...
28.179104
160
0.660487
0328ffa88aaec9af95eb1589e03f42559d04ee64
3,930
ex
Elixir
lib/fdb/native.ex
ananthakumaran/fdb
5fd4ffff505d38fa843b7ef2e38e25fb932db125
[ "MIT" ]
40
2018-06-12T17:38:51.000Z
2022-03-31T05:16:14.000Z
lib/fdb/native.ex
ananthakumaran/fdb
5fd4ffff505d38fa843b7ef2e38e25fb932db125
[ "MIT" ]
15
2018-06-19T00:56:37.000Z
2022-01-30T04:33:25.000Z
lib/fdb/native.ex
ananthakumaran/fdb
5fd4ffff505d38fa843b7ef2e38e25fb932db125
[ "MIT" ]
6
2018-08-23T19:30:50.000Z
2021-11-06T14:44:32.000Z
defmodule FDB.Native do @moduledoc false @on_load {:init, 0} @compile {:autoload, false} @app Mix.Project.config()[:app] def init do path = :filename.join(:code.priv_dir(@app), 'fdb_nif') :ok = :erlang.load_nif(path, 0) end def get_max_api_version, do: :erlang.nif_error(:nif_library_not_loaded)...
39.3
100
0.774809
03290b171d3e32982152d93ac4aee705c9fd8660
5,116
exs
Elixir
test/oli/interop/ingest_test.exs
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
test/oli/interop/ingest_test.exs
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
test/oli/interop/ingest_test.exs
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
defmodule Oli.Interop.IngestTest do alias Oli.Interop.Ingest alias Oli.Interop.Export alias Oli.Publishing.AuthoringResolver alias Oli.Resources.Revision alias Oli.Repo use Oli.DataCase def by_title(project, title) do query = from r in Revision, where: r.title == ^title, limit: ...
34.33557
95
0.654222
03290dd3359b50d10c5f5f9255002eba5e0cda38
1,522
exs
Elixir
asset_builder/asset_builder.exs
jhunschejones/asset_builder
9abcee4a3d503f1fe4ff8d8adb447885ff49cda8
[ "MIT" ]
null
null
null
asset_builder/asset_builder.exs
jhunschejones/asset_builder
9abcee4a3d503f1fe4ff8d8adb447885ff49cda8
[ "MIT" ]
1
2022-02-10T18:56:31.000Z
2022-02-10T18:56:31.000Z
asset_builder/asset_builder.exs
jhunschejones/asset_builder
9abcee4a3d503f1fe4ff8d8adb447885ff49cda8
[ "MIT" ]
null
null
null
defmodule AssetBuilder do def compile(file), do: compile(file, file_extension(file)) def compile(file, "scss") do System.cmd("npm", ["run", "--silent", "compile-scss"], env: [{"FROM", file}, {"TO", "../../priv/static/css/#{file_name(file)}.min.css"}]) IO.puts("\e[36mCompiled '#{String.replace(file, ...
31.708333
122
0.573587
032955918a7c0acbe8460424b9bda11381c67de6
1,800
exs
Elixir
test/geohash_test.exs
elbow-jason/elixir-geohash
0db29a76a2403fddb85cacd44374aebdcd2f2e61
[ "Apache-2.0" ]
null
null
null
test/geohash_test.exs
elbow-jason/elixir-geohash
0db29a76a2403fddb85cacd44374aebdcd2f2e61
[ "Apache-2.0" ]
null
null
null
test/geohash_test.exs
elbow-jason/elixir-geohash
0db29a76a2403fddb85cacd44374aebdcd2f2e61
[ "Apache-2.0" ]
null
null
null
defmodule GeohashTest do use ExUnit.Case doctest Geohash test "Geohash.encode" do assert Geohash.encode(57.64911, 10.40744) == "u4pruydqqvj" assert Geohash.encode(50.958087, 6.9204459) == "u1hcvkxk65f" assert Geohash.encode(39.51, -76.24, 10) == "dr1bc0edrj" assert Geohash.encode(42.6, -5.6, 5) =...
41.860465
81
0.661667
032968cf19397ff9ab91f7ebec812fb74c07eea1
4,527
ex
Elixir
lib/teslamate/locations/geocoder.ex
tuxbox/teslamate
feda761e39a98eaf943773a3f52c1a892302481f
[ "MIT" ]
1
2021-05-04T18:06:35.000Z
2021-05-04T18:06:35.000Z
lib/teslamate/locations/geocoder.ex
tuxbox/teslamate
feda761e39a98eaf943773a3f52c1a892302481f
[ "MIT" ]
171
2020-07-08T18:42:57.000Z
2022-03-23T00:55:30.000Z
lib/teslamate/locations/geocoder.ex
virtualm2000/teslamate
b2dad66d992b8e04d8213f2657492fa75872ece5
[ "MIT" ]
null
null
null
defmodule TeslaMate.Locations.Geocoder do use Tesla, only: [:get] @version Mix.Project.config()[:version] adapter Tesla.Adapter.Finch, name: TeslaMate.HTTP, receive_timeout: 30_000 plug Tesla.Middleware.BaseUrl, "https://nominatim.openstreetmap.org" plug Tesla.Middleware.Headers, [{"user-agent", "TeslaMate...
26.629412
99
0.595096
03296d87d7979d9ca074c8daaacebe55a916d366
752
ex
Elixir
test/support/rem/test/application.ex
pyzlnar/rem-bot
100b71949026eb191c1ebf80d64270406f237958
[ "MIT" ]
4
2022-02-20T13:33:48.000Z
2022-03-31T00:48:52.000Z
test/support/rem/test/application.ex
pyzlnar/rem-bot
100b71949026eb191c1ebf80d64270406f237958
[ "MIT" ]
1
2022-02-22T05:42:05.000Z
2022-02-22T05:42:05.000Z
test/support/rem/test/application.ex
pyzlnar/rem-bot
100b71949026eb191c1ebf80d64270406f237958
[ "MIT" ]
null
null
null
defmodule Rem.TestApplication do @moduledoc """ This application is supposed to be a mirror of Rem.Application, but starts dependencies only necessary for tests """ use Application @impl true def start(_type, _args) do children = [ Rem.Repo, {Registry, name: Rem.Session.Registry...
30.08
87
0.68617
03297929a89bf90b268adb08e8f338dc10575338
715
ex
Elixir
lib/spawn_api_web/gettext.ex
spawnfest/spawn_api
e99dbc20dfc5ff18747efc0c2dafbecdf577707c
[ "MIT" ]
2
2018-12-19T16:12:41.000Z
2020-01-20T17:37:15.000Z
lib/spawn_api_web/gettext.ex
spawnfest/spawn_api
e99dbc20dfc5ff18747efc0c2dafbecdf577707c
[ "MIT" ]
null
null
null
lib/spawn_api_web/gettext.ex
spawnfest/spawn_api
e99dbc20dfc5ff18747efc0c2dafbecdf577707c
[ "MIT" ]
null
null
null
defmodule SpawnApiWeb.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 SpawnApiWeb.Gettext # Simple translation gettext("Here is...
28.6
72
0.67972
03298ac8eec15cb0e3f8c2bf887cfa3723636786
93,427
ex
Elixir
lib/elixir/lib/kernel.ex
garyf/elixir
20fcde6ff392836dfd4cf449ee438a11b7f52813
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
garyf/elixir
20fcde6ff392836dfd4cf449ee438a11b7f52813
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/kernel.ex
garyf/elixir
20fcde6ff392836dfd4cf449ee438a11b7f52813
[ "Apache-2.0" ]
null
null
null
# Use elixir_bootstrap module to be able to bootstrap Kernel. # The bootstrap module provides simpler implementations of the # functions removed, simple enough to bootstrap. import Kernel, except: [@: 1, defmodule: 2, def: 1, def: 2, defp: 2, defmacro: 1, defmacro: 2, defmacrop: 2] import :elixi...
25.230084
120
0.629069
0329974d2b9549abb3a2710d7938d09ce9c6cd4a
236
ex
Elixir
lib/matrix/structs/agent_type.ex
nemanja-m/matrix
92298697827f30a2d6ba144004c1668fe70b760e
[ "MIT" ]
null
null
null
lib/matrix/structs/agent_type.ex
nemanja-m/matrix
92298697827f30a2d6ba144004c1668fe70b760e
[ "MIT" ]
null
null
null
lib/matrix/structs/agent_type.ex
nemanja-m/matrix
92298697827f30a2d6ba144004c1668fe70b760e
[ "MIT" ]
null
null
null
defmodule Matrix.AgentType do @moduledoc """ Represents agent type struct with :name and :module fields. """ @derive [Poison.Encoder] defstruct [:name, :module] @type t :: %__MODULE__{name: String.t, module: String.t} end
21.454545
61
0.690678
03299cfb17be90116171b25ac2e51d07c27c7a39
556
exs
Elixir
priv/repo/migrations/20181006144906_create_cities.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
priv/repo/migrations/20181006144906_create_cities.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
priv/repo/migrations/20181006144906_create_cities.exs
TDogVoid/job_board
23793917bd1cc4e68bccce737b971093030a31eb
[ "MIT" ]
null
null
null
defmodule JobBoard.Repo.Migrations.CreateCities do use Ecto.Migration def change do execute "CREATE EXTENSION IF NOT EXISTS postgis" create table(:cities) do add :name, :string add :zipcode, :integer add :state_id, references(:states) add :geom, :geometry timestamps() en...
21.384615
52
0.645683
0329a0b38141c4c6efd42c672c261965e5181ec5
543
ex
Elixir
api/lib/responda_me_web/views/error_view.ex
mendes13/responda.me
42facc3de1c5cc503459457b2bb452f0ad6fac37
[ "MIT" ]
null
null
null
api/lib/responda_me_web/views/error_view.ex
mendes13/responda.me
42facc3de1c5cc503459457b2bb452f0ad6fac37
[ "MIT" ]
null
null
null
api/lib/responda_me_web/views/error_view.ex
mendes13/responda.me
42facc3de1c5cc503459457b2bb452f0ad6fac37
[ "MIT" ]
null
null
null
defmodule Responda.MeWeb.ErrorView do use Responda.MeWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status mess...
31.941176
83
0.720074
0329e909fb85404b57552f6c942cfee17ba43b92
1,149
exs
Elixir
spec/assertions/enum/have_count_spec.exs
bblaszkow06/espec
4d9819ca5c68c6eb70276c7d9c9630ded01ba778
[ "Apache-2.0" ]
null
null
null
spec/assertions/enum/have_count_spec.exs
bblaszkow06/espec
4d9819ca5c68c6eb70276c7d9c9630ded01ba778
[ "Apache-2.0" ]
null
null
null
spec/assertions/enum/have_count_spec.exs
bblaszkow06/espec
4d9819ca5c68c6eb70276c7d9c9630ded01ba778
[ "Apache-2.0" ]
null
null
null
defmodule ESpec.Assertions.Enum.HaveCountSpec do use ESpec, async: true let :range, do: 1..3 context "Success" do it "checks success with `to`" do message = expect(range()).to(have_count(3)) expect(message) |> to(eq "`1..3` has `3` elements.") end it "checks success with `not_to`" do ...
25.533333
77
0.600522
032a095c5610a9b16f88406e2ce437ccbf0d3e50
37,849
ex
Elixir
lib/phoenix_live_view.ex
balexand/phoenix_live_view
980e29d84be5bd009549b3be21eb307b9b891325
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
balexand/phoenix_live_view
980e29d84be5bd009549b3be21eb307b9b891325
[ "MIT" ]
null
null
null
lib/phoenix_live_view.ex
balexand/phoenix_live_view
980e29d84be5bd009549b3be21eb307b9b891325
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView do @moduledoc ~S''' LiveView provides rich, real-time user experiences with server-rendered HTML. The LiveView programming model is declarative: instead of saying "once event X happens, change Y on the page", events in LiveView are regular messages which may cause changes to it...
36.889864
148
0.68879
032a12c8085912b0a6bf702ee4b7261ee52cb31d
1,133
exs
Elixir
apps/aehttpclient/config/config.exs
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aehttpclient/config/config.exs
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
apps/aehttpclient/config/config.exs
wuminzhe/elixir-node
eb87b47339a8349bac767dd4cf597dfaf0ed75c6
[ "ISC" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.548387
73
0.753751
032a46ecbf6bff1d0f5a406e7a794343cde68469
26,265
exs
Elixir
test/livebook/completion_test.exs
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
null
null
null
test/livebook/completion_test.exs
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
null
null
null
test/livebook/completion_test.exs
brettcannon/livebook
d6c9ab1783efa083aea2ead81e078bb920d57ad6
[ "Apache-2.0" ]
1
2021-07-07T06:18:36.000Z
2021-07-07T06:18:36.000Z
defmodule Livebook.CompletionTest.Utils do @moduledoc false @doc """ Returns `{binding, env}` resulting from evaluating the given block of code in a fresh context. """ defmacro eval(do: block) do binding = [] env = :elixir.env_for_eval([]) {_, binding, env} = :elixir.eval_quoted(block, binding,...
28.272336
194
0.491491
032a738131656d3f85ed4c1dbba0e26a842aa25f
14,663
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/zone_operations.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/zone_operations.ex
ukrbublik/elixir-google-api
364cec36bc76f60bec94cbcad34844367a29d174
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/zone_operations.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...
47.453074
434
0.639705
032aa0b13ca8c0680f6834ece210aa863a4bec11
1,099
ex
Elixir
test/support/channel_case.ex
DaveMuirhead/naboo-server
daf15d9b92ad6a3f85eb42bdbe7125c489a079c1
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
DaveMuirhead/naboo-server
daf15d9b92ad6a3f85eb42bdbe7125c489a079c1
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
DaveMuirhead/naboo-server
daf15d9b92ad6a3f85eb42bdbe7125c489a079c1
[ "Apache-2.0" ]
null
null
null
defmodule NabooWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts wit...
26.804878
67
0.724295
032ab07d1e0dcf1034454628ecc0f0e108e84af1
4,871
ex
Elixir
lib/membrane/caps/matcher.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
lib/membrane/caps/matcher.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
lib/membrane/caps/matcher.ex
eboskma/membrane_core
e216994fe1ba99c5d228a4b0959faa5fabb13b1c
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Caps.Matcher do @moduledoc """ Module that allows to specify valid caps and verify that they match specification. Caps specifications (specs) should be in one of the formats: * simply module name of the desired caps (e.g. `Membrane.Caps.Audio.Raw` or `Raw` with proper alias) * tuple w...
30.254658
111
0.663313
032ab0c43e7919334fe773483add6879f8e81655
124
ex
Elixir
lib/marine_diesel/error.ex
twostairs/marine_diesel
a8be4102ec0f726a48a3ad0dafdf2286ce9afae3
[ "MIT" ]
3
2017-04-10T20:12:47.000Z
2017-09-11T04:50:22.000Z
lib/marine_diesel/error.ex
twostairs/marine_diesel
a8be4102ec0f726a48a3ad0dafdf2286ce9afae3
[ "MIT" ]
null
null
null
lib/marine_diesel/error.ex
twostairs/marine_diesel
a8be4102ec0f726a48a3ad0dafdf2286ce9afae3
[ "MIT" ]
null
null
null
defmodule MarineDiesel.Error do @derive [Poison.Encoder] defstruct [ :http_code, :message ] end
15.5
31
0.604839
032ac25bdc3add8bb09cdf087b56ab749f5ef340
949
ex
Elixir
farmbot_os/platform/host/configurator.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
1
2019-08-06T11:51:48.000Z
2019-08-06T11:51:48.000Z
farmbot_os/platform/host/configurator.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
farmbot_os/platform/host/configurator.ex
SeppPenner/farmbot_os
39ba5c5880f8aef71792e2c009514bed1177089c
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Platform.Host.Configurator do @moduledoc false use Supervisor @doc false def start_link(args) do Supervisor.start_link(__MODULE__, args, name: __MODULE__) end defp start_node() do case Node.start(:"farmbot-host@127.0.0.1") do {:ok, _} -> :ok _ -> :ok end end ...
26.361111
69
0.687039
032ad0bac35591399f7f1ff94694bc6485a3368c
4,113
exs
Elixir
test/unit/rest_v2_test.exs
Switch168/MongoosePush
d997bd9cd0e63e16684bec9495cd12790bcaa8f1
[ "Apache-2.0" ]
null
null
null
test/unit/rest_v2_test.exs
Switch168/MongoosePush
d997bd9cd0e63e16684bec9495cd12790bcaa8f1
[ "Apache-2.0" ]
null
null
null
test/unit/rest_v2_test.exs
Switch168/MongoosePush
d997bd9cd0e63e16684bec9495cd12790bcaa8f1
[ "Apache-2.0" ]
null
null
null
defmodule RestV2Test do use ExUnit.Case, async: false import Mock alias HTTPoison.Response @url "/v2/notification/f534534543" setup do TestHelper.reload_app() end test "incorrect path returns 404" do assert 404 = post("/notification", %{}) assert 404 = post("/v2/notification", %{}) asser...
28.964789
88
0.5699
032adf58d2c26301b781af2f28a47ecf2d7395e3
66
exs
Elixir
test/test_helper.exs
jparadasb/ex_21
897a141afdb0697667a580eada727c8430e61b6d
[ "MIT" ]
null
null
null
test/test_helper.exs
jparadasb/ex_21
897a141afdb0697667a580eada727c8430e61b6d
[ "MIT" ]
null
null
null
test/test_helper.exs
jparadasb/ex_21
897a141afdb0697667a580eada727c8430e61b6d
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Ex21.Repo, :manual)
22
50
0.772727
032b02d3cf7e22e6017f864cacab598de95ceecf
2,789
ex
Elixir
lib/sensor_sht31.ex
elcritch/nerves_sensors
7cd38e329fcdaa8e2112e195bdfcdf1f265f121c
[ "Apache-2.0" ]
null
null
null
lib/sensor_sht31.ex
elcritch/nerves_sensors
7cd38e329fcdaa8e2112e195bdfcdf1f265f121c
[ "Apache-2.0" ]
null
null
null
lib/sensor_sht31.ex
elcritch/nerves_sensors
7cd38e329fcdaa8e2112e195bdfcdf1f265f121c
[ "Apache-2.0" ]
null
null
null
defmodule Sensors.Sht31 do use Bitwise @sht31_default_addr 0x44 @sht31_meas_highrep_stretch <<0x2C, 0x06>> @sht31_meas_medrep_stretch <<0x2C, 0x0D>> @sht31_meas_lowrep_stretch <<0x2C, 0x10>> @sht31_meas_highrep <<0x24, 0x00>> @sht31_meas_medrep <<0x24, 0x0B>> @sht31_meas_lowr...
27.89
170
0.601291
032b5a3dd42d5d6b71ad628c0dd21ca0d9eecee5
1,461
exs
Elixir
config/config.exs
IgorRodriguez/postoffice
9012193e0780f2403bd3db90b8f6258656780fee
[ "Apache-2.0" ]
null
null
null
config/config.exs
IgorRodriguez/postoffice
9012193e0780f2403bd3db90b8f6258656780fee
[ "Apache-2.0" ]
null
null
null
config/config.exs
IgorRodriguez/postoffice
9012193e0780f2403bd3db90b8f6258656780fee
[ "Apache-2.0" ]
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. # General application configuration use Mix.Config config :postoffice, ecto_repos: [Postoffice.Re...
33.976744
96
0.772758
032b7a37194f5238ee2d35eb564d91f48a199d65
2,001
exs
Elixir
config/dev.exs
zdenal/contex-samples
44cfea6f218d7903451839c27bf48f75eb64d943
[ "MIT" ]
15
2020-01-26T16:46:14.000Z
2021-07-06T07:27:44.000Z
config/dev.exs
zdenal/contex-samples
44cfea6f218d7903451839c27bf48f75eb64d943
[ "MIT" ]
4
2020-01-26T09:06:24.000Z
2021-10-05T01:41:23.000Z
config/dev.exs
zdenal/contex-samples
44cfea6f218d7903451839c27bf48f75eb64d943
[ "MIT" ]
6
2020-05-13T02:00:03.000Z
2022-02-14T17:55:56.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 webpack to recompile .js and .css sources. config :contexsample, ContexSampleWeb.Endpoint, http: [...
28.585714
68
0.685657
032b97bfcce2ab4d25825df78460222a4bc3b25c
699
exs
Elixir
test/bump_test.exs
carlo-colombo/ex_bump
0bed8f63d17025394e20e3f865e1b38a390f2f48
[ "MIT" ]
5
2015-04-21T01:15:13.000Z
2021-03-14T20:57:02.000Z
test/bump_test.exs
carlo-colombo/ex_bump
0bed8f63d17025394e20e3f865e1b38a390f2f48
[ "MIT" ]
null
null
null
test/bump_test.exs
carlo-colombo/ex_bump
0bed8f63d17025394e20e3f865e1b38a390f2f48
[ "MIT" ]
3
2016-12-02T01:10:11.000Z
2022-03-17T22:06:03.000Z
defmodule BumpTest do use ExUnit.Case test "it interprets the height and width when given a properly dense matrix" do Bump.write(filename: "_build/4x4.bmp", pixel_data: [[[0xFF,0xFF,0xFF],[0x00,0x00,0x00]],[[0x00,0x00,0x00],[0xFF,0xFF,0xFF]]]) {:ok, test_file} = File.read "_build/4x4.bmp" {:ok, fixture...
38.833333
129
0.701001
032ba1c65f95f5e5842aa6493192d30883fb271f
1,829
ex
Elixir
lib/cforum_web/views/forum_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web/views/forum_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
lib/cforum_web/views/forum_view.ex
campingrider/cforum_ex
cf27684c47d6dc26c9c37a946f1c729a79d27c70
[ "MIT" ]
null
null
null
defmodule CforumWeb.ForumView do use CforumWeb, :view def page_title(:index, _), do: gettext("forums") def page_title(:stats, %{current_forum: forum}) when not is_nil(forum), do: gettext("forum statistics for forum „%{forum}“", forum: forum.name) def page_title(:stats, _), do: gettext("forum statistics f...
33.254545
101
0.656096
032ba398b0b3c8c412001dc80bbe15bb9eb42b61
6,494
ex
Elixir
lib/cryptozaur/connectors/yobit.ex
DenisGorbachev/crypto-cli
94e5097ff24237fbc5fdd3fea371a5c9a1f727e4
[ "MIT" ]
5
2018-09-19T09:13:15.000Z
2021-10-20T23:29:57.000Z
lib/cryptozaur/connectors/yobit.ex
DenisGorbachev/crypto-cli
94e5097ff24237fbc5fdd3fea371a5c9a1f727e4
[ "MIT" ]
6
2018-07-29T05:33:02.000Z
2018-09-18T20:42:19.000Z
lib/cryptozaur/connectors/yobit.ex
DenisGorbachev/crypto-cli
94e5097ff24237fbc5fdd3fea371a5c9a1f727e4
[ "MIT" ]
3
2018-07-24T05:55:04.000Z
2018-09-19T09:14:08.000Z
# Rate limit: 100 req/min (~1.6 req/sec) defmodule Cryptozaur.Connectors.Yobit do import OK, only: [success: 1, failure: 1] alias Cryptozaur.Drivers.YobitRest, as: Rest def credentials_valid?(key, secret) do with success(rest) <- Cryptozaur.DriverSupervisor.get_driver(key, secret, Rest) do case Rest.g...
29.518182
149
0.594087
032ba43f6fbd1f7834c164fccab3034021786f09
998
ex
Elixir
server/lib/realtime/rls/subscriptions/subscription.ex
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
1
2020-06-03T10:49:40.000Z
2020-06-03T10:49:40.000Z
server/lib/realtime/rls/subscriptions/subscription.ex
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
null
null
null
server/lib/realtime/rls/subscriptions/subscription.ex
profencer/realtime
b3a20e8278276a98d47c2c938abe73cfd9e69a63
[ "Apache-2.0" ]
null
null
null
defmodule Realtime.RLS.Subscriptions.Subscription do use Ecto.Schema import Ecto.Changeset alias Realtime.RLS.Subscriptions.Subscription.Filters @schema_prefix "realtime" @primary_key {:id, :id, autogenerate: true} schema "subscription" do field(:subscription_id, Ecto.UUID) field(:entity, :integer...
32.193548
98
0.716433
032bb7deda1c5b18d315a210e78a80d6c4ec2641
836
ex
Elixir
lib/ptv/call.ex
jmargenberg/elixir-ptv
d5b50eca5c7ffc6d7beb68d2565ac1ae6dc8f0bd
[ "MIT" ]
2
2019-02-26T08:05:19.000Z
2019-05-30T00:16:00.000Z
lib/ptv/call.ex
jmargenberg/elixir-ptv
d5b50eca5c7ffc6d7beb68d2565ac1ae6dc8f0bd
[ "MIT" ]
null
null
null
lib/ptv/call.ex
jmargenberg/elixir-ptv
d5b50eca5c7ffc6d7beb68d2565ac1ae6dc8f0bd
[ "MIT" ]
null
null
null
defmodule PTV.Call do @moduledoc """ Struct representing a call to the PTV API. Strictly conforms to spec at https://timetableapi.ptv.vic.gov.au/swagger/ui/index. * `:base_url`: the base url of the API server, defaults to `"http://timetableapi.ptv.vic.gov.au"`. * `:api_version`: the version of the api being...
36.347826
100
0.651914
032bb7e9e9d3b21f6eb03aacd1b4e61a9dd86b56
565
ex
Elixir
web/models/commit.ex
joakimk/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
27
2016-09-21T09:11:25.000Z
2020-12-16T04:04:50.000Z
web/models/commit.ex
barsoom/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
2
2016-12-02T08:05:13.000Z
2020-03-27T08:07:59.000Z
web/models/commit.ex
barsoom/exremit
6c0a5fb32208b98cc1baac11d6a7bd248a1aa3bc
[ "Unlicense", "MIT" ]
4
2016-09-25T09:58:17.000Z
2020-04-27T15:07:36.000Z
defmodule Review.Commit do use Review.Web, :model schema "commits" do field :sha, :string # This is the yaml payload the ruby app uses. It's difficult to load in elixir since is uses special syntax for symbols. field :payload, :string field :json_payload, :string field :reviewed_at, Ecto.Date...
26.904762
124
0.738053
032bf565b7676c243bd18e9f8b896825b7da4fce
28,371
exs
Elixir
lib/elixir/test/elixir/string_test.exs
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/string_test.exs
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/string_test.exs
kevsmith/elixir
74825645e8cac770708f45139e651fd9d4e4264c
[ "Apache-2.0" ]
null
null
null
Code.require_file "test_helper.exs", __DIR__ defmodule StringTest do use ExUnit.Case, async: true doctest String test "next codepoint" do assert String.next_codepoint("ésoj") == {"é", "soj"} assert String.next_codepoint(<<255>>) == {<<255>>, ""} assert String.next_codepoint("") == nil end # te...
41.538799
211
0.573508
032c0102623325b6ea101b35e19f937817964299
2,412
ex
Elixir
elixir/lib/homework/transactions.ex
ztoolson/web-homework
09865a5df66fe8f380dfe0d848bbfae8398be1ef
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions.ex
ztoolson/web-homework
09865a5df66fe8f380dfe0d848bbfae8398be1ef
[ "MIT" ]
null
null
null
elixir/lib/homework/transactions.ex
ztoolson/web-homework
09865a5df66fe8f380dfe0d848bbfae8398be1ef
[ "MIT" ]
null
null
null
defmodule Homework.Transactions do @moduledoc """ The Transactions context. """ import Ecto.Query, warn: false alias Homework.Repo alias Homework.Transactions.Transaction @doc """ Returns the list of transactions. ## Examples iex> list_transactions([]) [%Transaction{}, ...] """ d...
20.268908
74
0.621476
032c112867a7d26981ff1ff781d97e7bb84880f6
26,745
ex
Elixir
lib/faker/address/pt_br.ex
igas/faker
73f6602cf493c87f7a4454e12e4333d42c050c94
[ "MIT" ]
540
2015-01-05T16:31:49.000Z
2019-09-25T00:40:27.000Z
lib/faker/address/pt_br.ex
igas/faker
73f6602cf493c87f7a4454e12e4333d42c050c94
[ "MIT" ]
172
2015-01-06T03:55:17.000Z
2019-10-03T12:58:02.000Z
lib/faker/address/pt_br.ex
igas/faker
73f6602cf493c87f7a4454e12e4333d42c050c94
[ "MIT" ]
163
2015-01-05T21:24:54.000Z
2019-10-03T07:59:42.000Z
defmodule Faker.Address.PtBr do import Faker, only: [sampler: 2] alias Faker.Person.PtBr @moduledoc """ Functions for generating addresses in Portuguese """ @doc """ Return random building number. ## Examples iex> Faker.Address.PtBr.building_number() "s/n" iex> Faker.Address.PtBr....
20.261364
80
0.560852
032c2561698efed138679d749dc6f76586429d69
760
exs
Elixir
priv/repo/migrations/20201104054113_create_users_auth_tables.exs
BCrawfordScott/horizons
04ee6ba579517e6a35c1347de4be1bceea8e4b36
[ "MIT" ]
null
null
null
priv/repo/migrations/20201104054113_create_users_auth_tables.exs
BCrawfordScott/horizons
04ee6ba579517e6a35c1347de4be1bceea8e4b36
[ "MIT" ]
null
null
null
priv/repo/migrations/20201104054113_create_users_auth_tables.exs
BCrawfordScott/horizons
04ee6ba579517e6a35c1347de4be1bceea8e4b36
[ "MIT" ]
null
null
null
defmodule Horizons.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 ti...
27.142857
75
0.673684
032c31039cf529570567134f4030870de2ea9069
1,205
ex
Elixir
lib/hunter/domain.ex
4DA/hunter
0264d40bc8d3a23f81b7976b636c0726934dac60
[ "Apache-2.0" ]
38
2017-04-09T16:43:58.000Z
2021-10-30T00:47:41.000Z
lib/hunter/domain.ex
4DA/hunter
0264d40bc8d3a23f81b7976b636c0726934dac60
[ "Apache-2.0" ]
51
2017-04-14T13:02:42.000Z
2022-02-28T11:16:44.000Z
lib/hunter/domain.ex
4DA/hunter
0264d40bc8d3a23f81b7976b636c0726934dac60
[ "Apache-2.0" ]
8
2017-04-14T12:45:18.000Z
2020-09-04T23:08:30.000Z
defmodule Hunter.Domain do @moduledoc """ Domain blocks """ alias Hunter.Config @doc """ Fetch user's blocked domains ## Parameters * `conn` - connection credentials * `options` - option list ## Options * `max_id` - get a list of blocks with id less than or equal this value * `sinc...
21.517857
75
0.653112
032c4a48f8cd517c3e52614d2ce1b149b2950a98
931
ex
Elixir
lib/dbfs_web/controllers/api_v1/block.ex
EnriqueAldana/Block_Chain_Attendance
5ed0d16d1d2bdae16c7131acedbea362ea80163b
[ "Apache-2.0" ]
null
null
null
lib/dbfs_web/controllers/api_v1/block.ex
EnriqueAldana/Block_Chain_Attendance
5ed0d16d1d2bdae16c7131acedbea362ea80163b
[ "Apache-2.0" ]
null
null
null
lib/dbfs_web/controllers/api_v1/block.ex
EnriqueAldana/Block_Chain_Attendance
5ed0d16d1d2bdae16c7131acedbea362ea80163b
[ "Apache-2.0" ]
null
null
null
defmodule DBFS.Web.Controllers.API.V1.Block do use DBFS.Web, :controller @doc "GET: All Blocks" def index(conn, params) do render(conn, :index, pager: DBFS.Block.paged(page: params[:page])) end @doc "GET: Block Status" def show(conn, %{hash: hash}) do with {:ok, block} <- get(hash) do rend...
19.808511
70
0.607948
032c8d6ee9c31dcd91a8b9b6919107856edc25b9
3,287
ex
Elixir
clients/search_console/lib/google_api/search_console/v1/model/wmx_sitemap.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/search_console/lib/google_api/search_console/v1/model/wmx_sitemap.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/search_console/lib/google_api/search_console/v1/model/wmx_sitemap.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...
46.295775
189
0.688774
032cad6a5210062e522500aeea942631d3d25e3b
396
exs
Elixir
clients/url_shortener/test/test_helper.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/url_shortener/test/test_helper.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/url_shortener/test/test_helper.exs
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
ExUnit.start() defmodule GoogleApi.UrlShortener.V1.TestHelper do defmacro __using__(opts) do quote do use ExUnit.Case, unquote(opts) import GoogleApi.UrlShortener.V1.TestHelper end end def for_scope(scopes) when is_list(scopes), do: for_scope(Enum.join(scopes, " ")) def for_scope(scope) d...
20.842105
83
0.704545
032cc773ccb26561cfe040a1daea11cc085838fd
14,784
ex
Elixir
lib/typo/pdf/page.ex
john-vinters/typo
71a0fabca7cec380a5a76b2199554f87ff8aaf73
[ "Apache-2.0" ]
null
null
null
lib/typo/pdf/page.ex
john-vinters/typo
71a0fabca7cec380a5a76b2199554f87ff8aaf73
[ "Apache-2.0" ]
null
null
null
lib/typo/pdf/page.ex
john-vinters/typo
71a0fabca7cec380a5a76b2199554f87ff8aaf73
[ "Apache-2.0" ]
null
null
null
# # Copyright 2022, John Vinters <john.vinters@gmail.com> # # 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 appli...
34.301624
100
0.644142
032cf5bf24143b3527caa866276fd62fc15c110b
781
ex
Elixir
lib/line_pay/environment.ex
yuki-toida/line_pay
5c11869650bf09353598b2b95fbc4ae53fbe742e
[ "MIT" ]
null
null
null
lib/line_pay/environment.ex
yuki-toida/line_pay
5c11869650bf09353598b2b95fbc4ae53fbe742e
[ "MIT" ]
null
null
null
lib/line_pay/environment.ex
yuki-toida/line_pay
5c11869650bf09353598b2b95fbc4ae53fbe742e
[ "MIT" ]
null
null
null
defmodule LinePay.Environment do def channel_id do Application.fetch_env!(:line_pay, :channel_id) end def channel_secret do Application.get_env(:line_pay, :channel_secret, System.get_env("CHANNEL_SECRET")) end def sandbox do Application.get_env(:line_pay, :sandbox, true) end def confirm_...
22.314286
85
0.747759
032d0224255c3735d7f6519b0e9c893c682901b7
3,292
ex
Elixir
lib/cachex/actions/reset.ex
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
946
2017-06-26T00:36:58.000Z
2022-03-29T19:52:31.000Z
lib/cachex/actions/reset.ex
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
152
2017-06-28T10:01:24.000Z
2022-03-24T18:46:13.000Z
lib/cachex/actions/reset.ex
botwerk/cachex
d37996d3be35b0d8281e347d44c024ecf2735131
[ "MIT" ]
84
2017-06-30T05:30:31.000Z
2022-03-01T20:23:16.000Z
defmodule Cachex.Actions.Reset do @moduledoc false # Command module to enable complete reset of a cache. # # This command allows the caller to reset a cache to an empty state, reset # the hooks associated with a cache, or both. # # This is not executed inside an action context as there is no need to # n...
33.252525
90
0.668287
032d1150e481bf0baee4d82afbe77156f54c7e17
2,224
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v2/model/inappproducts_list_response.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/model/inappproducts_list_response.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/model/inappproducts_list_response.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...
39.017544
165
0.75
032d20d9c779ccdd2332a7ea101f72798090b748
8,183
exs
Elixir
apps/bytepack_web/test/bytepack_web/live/product_live_test.exs
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
313
2020-12-03T17:26:24.000Z
2022-03-18T09:05:14.000Z
apps/bytepack_web/test/bytepack_web/live/product_live_test.exs
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
null
null
null
apps/bytepack_web/test/bytepack_web/live/product_live_test.exs
dashbitco/bytepack_archive
79f8e62149d020f2afcc501592ed399f7ce7a60b
[ "Unlicense" ]
57
2020-12-03T17:41:53.000Z
2022-03-17T17:28:16.000Z
defmodule BytepackWeb.ProductLiveTest do use BytepackWeb.ConnCase, async: true import Phoenix.LiveViewTest import Bytepack.AccountsFixtures import Bytepack.OrgsFixtures import Bytepack.PackagesFixtures import Bytepack.SalesFixtures setup :register_and_login_user setup %{org: org, user: user} do f...
37.709677
101
0.633264
032d65229960d9cf1422416051231cfa154d15de
1,285
ex
Elixir
elixir/lib/homework_web/resolvers/merchants_resolver.ex
Billzabob/divvy-homework
1be2b35d6436dbb3ff1536ed232b2bc61730081d
[ "MIT" ]
null
null
null
elixir/lib/homework_web/resolvers/merchants_resolver.ex
Billzabob/divvy-homework
1be2b35d6436dbb3ff1536ed232b2bc61730081d
[ "MIT" ]
null
null
null
elixir/lib/homework_web/resolvers/merchants_resolver.ex
Billzabob/divvy-homework
1be2b35d6436dbb3ff1536ed232b2bc61730081d
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Resolvers.MerchantsResolver do alias Homework.Merchants @doc """ Get a list of merchants """ def merchants(_root, args, _info) do {:ok, Merchants.list_merchants(args)} end def merchant_count(_root, _args, _info) do {:ok, Merchants.count_merchants()} end @doc """ Crea...
22.155172
64
0.622568
032dddbec67acdb7603b6e89139751bddc6b42ed
946
ex
Elixir
lib/ibanity/api/reporting/xs2a/nbb_report_ai_synchronization.ex
ibanity/ibanity-elixir
c2e1feedbfc2376678c9db78c6365a82a654b00b
[ "MIT" ]
3
2018-11-17T18:12:15.000Z
2020-12-09T06:26:59.000Z
lib/ibanity/api/reporting/xs2a/nbb_report_ai_synchronization.ex
ibanity/ibanity-elixir
c2e1feedbfc2376678c9db78c6365a82a654b00b
[ "MIT" ]
2
2018-12-12T14:14:56.000Z
2019-07-01T14:13:57.000Z
lib/ibanity/api/reporting/xs2a/nbb_report_ai_synchronization.ex
ibanity/ibanity-elixir
c2e1feedbfc2376678c9db78c6365a82a654b00b
[ "MIT" ]
null
null
null
defmodule Ibanity.Reporting.Xs2a.NbbReportAiSynchronization do use Ibanity.Resource @api_schema_path ~w(reporting xs2a customer nbbReportAiSynchronization) defstruct account_reference_hash: nil, aspsp_name: nil, aspsp_type: nil, external_customer_id_hash: nil, reg...
30.516129
82
0.664905
032df86a6a12abed9410f3fd483aa4bba5d61385
2,066
ex
Elixir
lib/blog_web/controllers/post_controller.ex
eltoncampos1/blog_elixir
99fd5d5415192229cda749a88b30bf63d5817c4f
[ "MIT" ]
null
null
null
lib/blog_web/controllers/post_controller.ex
eltoncampos1/blog_elixir
99fd5d5415192229cda749a88b30bf63d5817c4f
[ "MIT" ]
null
null
null
lib/blog_web/controllers/post_controller.ex
eltoncampos1/blog_elixir
99fd5d5415192229cda749a88b30bf63d5817c4f
[ "MIT" ]
null
null
null
defmodule BlogWeb.PostController do use BlogWeb, :controller alias Blog.Posts alias Posts.Post plug BlogWeb.Plug.RequireAuth when action in [:create, :new, :edit, :update, :delete] plug :check_owner when action in [:edit, :update, :delete] def index(conn, _params) do posts = Posts.list_posts() re...
26.487179
87
0.618103
032e21a05c8499958379ebb330794e5e9203e988
4,009
ex
Elixir
lib/autox/controllers/resource_controller.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
lib/autox/controllers/resource_controller.ex
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
20
2016-04-05T06:28:58.000Z
2016-05-12T15:45:37.000Z
lib/autox/controllers/resource_controller.ex
foxnewsnetwork/autox
66ea3f0f7ba8b3f9e910984a2ed3cdf0ef5ef29a
[ "MIT" ]
null
null
null
defmodule Autox.ResourceController do alias Fox.ListExt def infer_changeset_view(module) do module |> Module.split |> ListExt.head |> Kernel.++(["ChangesetView"]) |> Module.safe_concat end defmacro __using__(_) do quote location: :keep do alias Fox.AtomExt alias Autox.Resou...
29.477941
72
0.556747
032e3f4b69c641371f4cd8520f48ed35868963a4
410
ex
Elixir
lib/brando/sequence/migration.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
4
2020-10-30T08:40:38.000Z
2022-01-07T22:21:37.000Z
lib/brando/sequence/migration.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
1,162
2020-07-05T11:20:15.000Z
2022-03-31T06:01:49.000Z
lib/brando/sequence/migration.ex
brandocms/brando
4198e0c0920031bd909969055064e4e2b7230d21
[ "MIT" ]
null
null
null
defmodule Brando.Sequence.Migration do @moduledoc """ Sequencing macro for migrations. ## Usage use Brando.Sequence.Migration alter table(:example) do sequenced() end """ defmacro __using__(_) do quote do import unquote(__MODULE__) end end defmacro sequenced do...
15.769231
57
0.641463
032e438d7bda8cb1f4320dd0b4b951b37c3dc041
185
ex
Elixir
lib/hexpm/repository/download.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/repository/download.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/repository/download.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Repository.Download do use Hexpm.Web, :schema schema "downloads" do belongs_to :release, Release field :downloads, :integer field :day, :date end end
18.5
38
0.708108
032e4825b58be3e124e7aaf60b84f04abc3691be
61
exs
Elixir
test/nacha_test.exs
tokkenops/nacha.ex
0232ed5578d01b89cb554cd8cd0e574504aa5137
[ "Apache-2.0" ]
8
2020-02-06T17:38:02.000Z
2022-01-01T01:41:07.000Z
test/nacha_test.exs
tokkenops/nacha.ex
0232ed5578d01b89cb554cd8cd0e574504aa5137
[ "Apache-2.0" ]
2
2019-06-28T03:40:09.000Z
2019-06-28T04:10:34.000Z
test/nacha_test.exs
tokkenops/nacha.ex
0232ed5578d01b89cb554cd8cd0e574504aa5137
[ "Apache-2.0" ]
2
2020-01-18T22:27:17.000Z
2021-12-29T17:21:57.000Z
defmodule NachaTest do use ExUnit.Case doctest Nacha end
12.2
22
0.786885
032e6bf435de6e6bff63ad0dc91193019ab11d73
3,047
exs
Elixir
test/runlet_cmd_tls_test.exs
msantos/runlet_net
41174f0b3e3cc0a8d05f221aa6eb2e837f146ff1
[ "0BSD" ]
1
2020-04-25T15:31:46.000Z
2020-04-25T15:31:46.000Z
test/runlet_cmd_tls_test.exs
msantos/runlet_net
41174f0b3e3cc0a8d05f221aa6eb2e837f146ff1
[ "0BSD" ]
null
null
null
test/runlet_cmd_tls_test.exs
msantos/runlet_net
41174f0b3e3cc0a8d05f221aa6eb2e837f146ff1
[ "0BSD" ]
null
null
null
defmodule RunletCmdTLSTest do use ExUnit.Case url = Runlet.Cmd.TLS.exec("httpbin.org") urlport = Runlet.Cmd.TLS.exec("httpbin.org:443") arity2 = Runlet.Cmd.TLS.exec("httpbin.org", 443) # ensure bad certificates can be dumped untrusted_root = Runlet.Cmd.TLS.exec("untrusted-root.badssl.com") expired = Run...
27.205357
67
0.423039
032e722225576a51f8faf2ff7f08dbf504d30dbb
452
exs
Elixir
test/models/sale__type_test.exs
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
test/models/sale__type_test.exs
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
test/models/sale__type_test.exs
GoberInfinity/ExamplePhoenix
4f2e016000a55dd4dbc28409dd214f0923e38e32
[ "MIT" ]
null
null
null
defmodule Otherpool.Sale_TypeTest do use Otherpool.ModelCase alias Otherpool.Sale_Type @valid_attrs %{name_sale: "some content"} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Sale_Type.changeset(%Sale_Type{}, @valid_attrs) assert changeset.valid? end test "changeset ...
23.789474
65
0.743363
032e83acd6e5d7822bfc3b799714caedafb0632c
714
exs
Elixir
test/models/user_board_test.exs
drdean/jelly
44ca6d90e0c7ce62ccd458795f54dac4d10e8cfc
[ "MIT" ]
null
null
null
test/models/user_board_test.exs
drdean/jelly
44ca6d90e0c7ce62ccd458795f54dac4d10e8cfc
[ "MIT" ]
null
null
null
test/models/user_board_test.exs
drdean/jelly
44ca6d90e0c7ce62ccd458795f54dac4d10e8cfc
[ "MIT" ]
null
null
null
defmodule JellyBoard.UserBoardTest do use JellyBoard.ModelCase, async: true import JellyBoard.Factory alias JellyBoard.UserBoard @valid_attrs %{} @invalid_attrs %{} setup do user = create(:user) board = create(:board) {:ok, user: user, board: board} end test "changeset with valid attri...
22.3125
72
0.686275
032e89a456781aad8c637bb450d1b2e810baf799
509
ex
Elixir
api/web/views/category_view.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/web/views/category_view.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
api/web/views/category_view.ex
AlexYanai/microblogger
833320759cddd276bc31dabaec6f0c9e2eabb05a
[ "MIT" ]
null
null
null
defmodule Microblogger.CategoryView do use Microblogger.Web, :view def render("index.json", %{categories: categories}) do %{data: render_many(categories, Microblogger.CategoryView, "category.json")} end def render("show.json", %{category: category}) do %{data: render_one(category, Microblogger.Categor...
28.277778
80
0.707269
032e8df30e401aceb2cbe0adacb4c89c4de8d2e2
1,368
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_usage/lib/google_api/service_usage/v1/connection.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.076923
74
0.736842
032ebece82452682a0f497be5958e9ce1c73f536
1,762
exs
Elixir
mix.exs
noizu/que
065b069c3dafe0f90bf858ae77080af7b310ae62
[ "MIT" ]
null
null
null
mix.exs
noizu/que
065b069c3dafe0f90bf858ae77080af7b310ae62
[ "MIT" ]
null
null
null
mix.exs
noizu/que
065b069c3dafe0f90bf858ae77080af7b310ae62
[ "MIT" ]
null
null
null
defmodule Que.Mixfile do use Mix.Project @app :que @name "Que" @version "0.10.1" @github "https://github.com/noizu/#{@app}" # NOTE: # To publish package or update docs, use the `docs` # mix environment to not include support modules # that are normally included in the `dev` environment # ...
21.228916
93
0.53235
032ebee63abd868745ba8c5a69346c8111254c58
129
exs
Elixir
test/bard_test.exs
sizumita/Bard
b2e5bb2d44b4a5700e38d56be7f6d88eff3f9218
[ "MIT" ]
null
null
null
test/bard_test.exs
sizumita/Bard
b2e5bb2d44b4a5700e38d56be7f6d88eff3f9218
[ "MIT" ]
1
2020-07-01T11:23:35.000Z
2020-07-01T11:23:35.000Z
test/bard_test.exs
sizumita/Bard
b2e5bb2d44b4a5700e38d56be7f6d88eff3f9218
[ "MIT" ]
null
null
null
defmodule BardTest do use ExUnit.Case doctest Bard test "greets the world" do assert Bard.hello() == :world end end
14.333333
33
0.689922
032eca80b2affe63cc39dcf354817837870e6ffb
1,806
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v2/model/track.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/model/track.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/model/track.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
33.444444
226
0.726467
032ece994a37fbb7d477eb9bf22f21066792bd9c
291
ex
Elixir
lib/phone/nanp/ca/bc.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
97
2016-04-05T13:08:41.000Z
2021-12-25T13:08:34.000Z
lib/phone/nanp/ca/bc.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
70
2016-06-14T00:56:00.000Z
2022-02-10T19:43:14.000Z
lib/phone/nanp/ca/bc.ex
davidkovsky/phone
83108ab1042efe62778c7363f5d02ef888883408
[ "Apache-2.0" ]
31
2016-04-21T22:26:12.000Z
2022-01-24T21:40:00.000Z
defmodule Phone.NANP.CA.BC do @moduledoc false use Helper.Area def regex, do: ~r/^(1)(604|778|236|250|672)([2-9].{6})$/ def area_name, do: "British Columbia" def area_type, do: "province" def area_abbreviation, do: "BC" matcher(["1604", "1778", "1236", "1250", "1672"]) end
22.384615
58
0.639175