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
c86c91e557d667953b65e05a859bbe11b4bac2aa
3,266
ex
Elixir
clients/service_usage/lib/google_api/service_usage/v1/model/quota.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/service_usage/lib/google_api/service_usage/v1/model/quota.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/service_usage/lib/google_api/service_usage/v1/model/quota.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.32
1,415
0.769749
c86ce918010fa3d1d2b05fc6a18b2a6fd439b518
1,466
ex
Elixir
lib/live_beats_web/live/sign_in_live.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
1
2021-11-19T07:44:18.000Z
2021-11-19T07:44:18.000Z
lib/live_beats_web/live/sign_in_live.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
null
null
null
lib/live_beats_web/live/sign_in_live.ex
nsidnev/phoenix-edgedb-example
afd85f73a2cd61aff061cf41ca8189e6bea77cf7
[ "MIT" ]
null
null
null
defmodule LiveBeatsWeb.SignInLive do use LiveBeatsWeb, :live_view def render(assigns) do ~H""" <div class="min-h-screen bg-gray-50 flex flex-col justify-center py-12 sm:px-6 lg:px-8"> <div class="sm:mx-auto sm:w-full sm:max-w-md"> <img class="mx-auto h-12 w-auto" src="http...
33.318182
244
0.572988
c86cff57c7ca1978e22fcbb7a90f2ce6afa3315e
1,784
ex
Elixir
test/support/model_case.ex
ktornwall/wooper
95b55d95853cf9c20f0dfaa7b6c5285956c02693
[ "MIT" ]
1
2017-05-11T08:06:52.000Z
2017-05-11T08:06:52.000Z
test/support/model_case.ex
ktornwall/wooper
95b55d95853cf9c20f0dfaa7b6c5285956c02693
[ "MIT" ]
null
null
null
test/support/model_case.ex
ktornwall/wooper
95b55d95853cf9c20f0dfaa7b6c5285956c02693
[ "MIT" ]
null
null
null
defmodule Wooper.ModelCase do @moduledoc """ This module defines the test case to be used by model tests. You may define functions here to be used as helpers in your model tests. See `errors_on/2`'s definition as reference. Finally, if the test case interacts with the database, it cannot be async. For t...
27.030303
84
0.683857
c86d568f4e72dc58862df822914b440f4fa8dd30
22,316
ex
Elixir
lib/phoenix/socket.ex
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
1
2019-07-15T21:58:09.000Z
2019-07-15T21:58:09.000Z
lib/phoenix/socket.ex
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
null
null
null
lib/phoenix/socket.ex
zorn/phoenix
ac88958550fbd861e2f1e1af6e3c6b787b1a202e
[ "MIT" ]
null
null
null
defmodule Phoenix.Socket do @moduledoc ~S""" A socket implementation that multiplexes messages over channels. `Phoenix.Socket` is used as a module for establishing and maintaining the socket state via the `Phoenix.Socket` struct. Once connected to a socket, incoming and outgoing events are routed to chann...
32.817647
106
0.664546
c86d6f65a26d6d11e5d4c6fe25cdc4080f9f20c4
6,299
ex
Elixir
astreu/deps/delta_crdt/lib/delta_crdt.ex
wesleimp/Astreu
4d430733e7ecc8b3eba8e27811a152aa2c6d79c1
[ "Apache-2.0" ]
null
null
null
astreu/deps/delta_crdt/lib/delta_crdt.ex
wesleimp/Astreu
4d430733e7ecc8b3eba8e27811a152aa2c6d79c1
[ "Apache-2.0" ]
null
null
null
astreu/deps/delta_crdt/lib/delta_crdt.ex
wesleimp/Astreu
4d430733e7ecc8b3eba8e27811a152aa2c6d79c1
[ "Apache-2.0" ]
null
null
null
defmodule DeltaCrdt do @moduledoc """ Start and interact with the Delta CRDTs provided by this library. A CRDT is a conflict-free replicated data-type. That is to say, it is a distributed data structure that automatically resolves conflicts in a way that is consistent across all replicas of the data. In other wo...
45.978102
460
0.696301
c86d86a1ab2ec02ef70a507c314302cd5f5f5705
2,626
ex
Elixir
lib/challenge_gov/challenges/phase.ex
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
9
2020-02-26T20:24:38.000Z
2022-03-22T21:14:52.000Z
lib/challenge_gov/challenges/phase.ex
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
15
2020-04-22T19:33:24.000Z
2022-03-26T15:11:17.000Z
lib/challenge_gov/challenges/phase.ex
jennstein2017/Challenge_gov
e0820df8b124a32ff8b78cb827ae43551492988b
[ "CC0-1.0" ]
4
2020-04-27T22:58:57.000Z
2022-01-14T13:42:09.000Z
defmodule ChallengeGov.Challenges.Phase do @moduledoc """ Challenge phase schema """ use Ecto.Schema import Ecto.Changeset alias ChallengeGov.Challenges.Challenge alias ChallengeGov.Submissions.Submission alias ChallengeGov.PhaseWinners.PhaseWinner @type t :: %__MODULE__{} schema "phases" do ...
24.542056
96
0.683549
c86d8fd84a846e33a5f49cc6b16a31d10911655b
454
exs
Elixir
test/ua_parser/processor_test.exs
poplarhq/ua_parser
9246082a67c11fbcbeb7e409ffdc7ae4aef86612
[ "Apache-2.0" ]
null
null
null
test/ua_parser/processor_test.exs
poplarhq/ua_parser
9246082a67c11fbcbeb7e409ffdc7ae4aef86612
[ "Apache-2.0" ]
null
null
null
test/ua_parser/processor_test.exs
poplarhq/ua_parser
9246082a67c11fbcbeb7e409ffdc7ae4aef86612
[ "Apache-2.0" ]
null
null
null
defmodule UAParser.ProcessorTest do use ExUnit.Case alias UAParser.Processor test "converts yaml document into data structure" do result = Processor.process(test_data()) assert is_tuple(result) assert tuple_size(result) == 3 assert [[{:regex, pattern}]] = elem(result, 0) assert Regex.regex?...
21.619048
54
0.69163
c86dab7087521725825f87816ed404e3b8320456
6,023
ex
Elixir
lib/kazan/codegen/models.ex
ahovgaard/kazan
a93ea241ae9d94f327f741875ff43f509f72b2c6
[ "MIT" ]
null
null
null
lib/kazan/codegen/models.ex
ahovgaard/kazan
a93ea241ae9d94f327f741875ff43f509f72b2c6
[ "MIT" ]
null
null
null
lib/kazan/codegen/models.ex
ahovgaard/kazan
a93ea241ae9d94f327f741875ff43f509f72b2c6
[ "MIT" ]
null
null
null
defmodule Kazan.Codegen.Models do @moduledoc false # Macros for generating client code from OAI specs. require EEx require Kazan.Models.ModelDesc alias Kazan.Models.{ModelDesc, PropertyDesc} alias Kazan.Codegen.Naming @doc """ Generates structs for all the data definitions in an OAPI spec. This wi...
27.130631
162
0.631911
c86dc23764f6bdb55c7f277dd24409a598246622
4,914
ex
Elixir
lib/extensions/persistent_session/plug/cookie.ex
foggy1/pow
c46cf4c4c2d59d10861783faa46f3979d54343a9
[ "MIT" ]
null
null
null
lib/extensions/persistent_session/plug/cookie.ex
foggy1/pow
c46cf4c4c2d59d10861783faa46f3979d54343a9
[ "MIT" ]
null
null
null
lib/extensions/persistent_session/plug/cookie.ex
foggy1/pow
c46cf4c4c2d59d10861783faa46f3979d54343a9
[ "MIT" ]
null
null
null
defmodule PowPersistentSession.Plug.Cookie do @moduledoc """ This plug will handle persistent user sessions with cookies. By default, the cookie will expire after 30 days. The cookie expiration will be renewed on every request. The token in the cookie can only be used once to create a session. ## Example ...
27.452514
82
0.676231
c86ddaaecad75bc4d6a34d796c5208329fdc10cf
1,198
exs
Elixir
mix.exs
BeyondScheme/elixir-game_of_life
f5a72c79547cd6d7632d90118fb9cb31d80cc66b
[ "MIT" ]
57
2016-04-28T09:02:27.000Z
2021-12-16T20:03:05.000Z
mix.exs
BeyondScheme/elixir-game_of_life
f5a72c79547cd6d7632d90118fb9cb31d80cc66b
[ "MIT" ]
1
2016-05-30T05:51:10.000Z
2016-05-31T21:32:44.000Z
mix.exs
BeyondScheme/elixir-game_of_life
f5a72c79547cd6d7632d90118fb9cb31d80cc66b
[ "MIT" ]
4
2016-05-27T18:38:23.000Z
2019-05-30T11:03:45.000Z
defmodule GameOfLife.Mixfile do use Mix.Project def project do [app: :game_of_life, version: "1.0.0", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description, package: package, deps: deps] end # Configuration for th...
23.038462
81
0.602671
c86df7f325377982d15c79b1f166d028398c3c08
721
ex
Elixir
apps/local_ledger_db/lib/local_ledger_db/application.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/local_ledger_db/lib/local_ledger_db/application.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/local_ledger_db/lib/local_ledger_db/application.ex
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule LocalLedgerDB.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do import Supervisor.Spec DeferredConfig.populate(:local_ledger_db) # List all child processes to be superv...
28.84
72
0.722607
c86e1a965245dcb869b39799660c58ff1e4dc122
772
exs
Elixir
test/retract_test.exs
mprymek/exlog
a383b13a06810a34351a27d7d5ba758867989f8d
[ "BSD-2-Clause" ]
4
2018-09-17T09:59:45.000Z
2020-10-01T13:35:10.000Z
test/retract_test.exs
mprymek/exlog
a383b13a06810a34351a27d7d5ba758867989f8d
[ "BSD-2-Clause" ]
null
null
null
test/retract_test.exs
mprymek/exlog
a383b13a06810a34351a27d7d5ba758867989f8d
[ "BSD-2-Clause" ]
1
2018-09-17T11:51:15.000Z
2018-09-17T11:51:15.000Z
defmodule RetractTest do use ExUnit.Case use Exlog setup_all do e = Exlog.new e = e |> assert!( father(:homer,:lisa) ) e = e |> assert!( father(:homer,:bart) ) {:ok, %{e: e}} end test "retract!", %{e: e} do e = e |> retract!( father(X,Y) ) {_e, res} = e |> prove_all( father(X,Y) ) ...
24.125
101
0.534974
c86e26f12a6339943e9cbc6c61f846b83126ac18
1,680
ex
Elixir
clients/content/lib/google_api/content/v2/model/order_return.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_return.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/order_return.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 &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...
31.111111
108
0.727976
c86e4d98166bd6bff7f778dd894e2bb9318426da
2,202
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/instance_groups_list_instances_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/instance_groups_list_instances_warning.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/instance_groups_list_instances_warning.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...
40.777778
195
0.731608
c86e8882729548beca003b5e00f5d43629387a78
57,128
exs
Elixir
test/ecto/query/planner_test.exs
elielhaouzi/ecto
66900f472713a27a38dfe78a72af4400855d1dc0
[ "Apache-2.0" ]
null
null
null
test/ecto/query/planner_test.exs
elielhaouzi/ecto
66900f472713a27a38dfe78a72af4400855d1dc0
[ "Apache-2.0" ]
null
null
null
test/ecto/query/planner_test.exs
elielhaouzi/ecto
66900f472713a27a38dfe78a72af4400855d1dc0
[ "Apache-2.0" ]
null
null
null
Code.require_file "../../../integration_test/support/types.exs", __DIR__ defmodule Ecto.Query.PlannerTest do use ExUnit.Case, async: true import Ecto.Query alias Ecto.Query.Planner alias Ecto.Query.JoinExpr defmodule Comment do use Ecto.Schema schema "comments" do field :text, :string ...
41.04023
193
0.590866
c86eacb18982a08f91be4c25664424c63c1fead8
1,036
exs
Elixir
test/process_manager_test.exs
jeaanca/shadow_moon
ffd88438e530ac85510ec047a766faec50583b95
[ "MIT" ]
2
2021-02-10T20:22:53.000Z
2021-02-10T22:04:51.000Z
test/process_manager_test.exs
jeaanca/shadow_moon
ffd88438e530ac85510ec047a766faec50583b95
[ "MIT" ]
null
null
null
test/process_manager_test.exs
jeaanca/shadow_moon
ffd88438e530ac85510ec047a766faec50583b95
[ "MIT" ]
null
null
null
defmodule ProcessManagerTest do use ExUnit.Case doctest ProcessManager test "white space removal test" do assert ProcessManager.remove_space("one two tree for", "-") == "one-two-tree-for" end test "test of separating string into list" do assert ProcessManager.break_lines("title1 title2 title...
28.777778
97
0.57529
c86ecb479a30dbe712f37c569925b2f3263fc13b
1,743
ex
Elixir
Chapter08/apps/elixir_drip_web/lib/elixir_drip_web/endpoint.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
28
2018-08-09T05:05:29.000Z
2022-03-14T06:59:07.000Z
Chapter08/apps/elixir_drip_web/lib/elixir_drip_web/endpoint.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
1
2019-02-11T09:11:33.000Z
2019-05-06T06:40:19.000Z
Chapter08/apps/elixir_drip_web/lib/elixir_drip_web/endpoint.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
8
2018-08-09T14:53:02.000Z
2020-12-14T19:31:21.000Z
defmodule ElixirDripWeb.Endpoint do use Phoenix.Endpoint, otp_app: :elixir_drip_web @doc """ Callback invoked for dynamically configuring the endpoint. It receives the endpoint configuration and checks if configuration should be loaded from the system environment. """ def init(_key, config) do if co...
26.409091
95
0.695353
c86ed1a33cefab54cb2da24fd20c121acdb35006
3,073
ex
Elixir
lib/mix/tasks/compile.ts_interface.ex
Ziinc/phoenix_ts_interface
bde31c6a348301907eaf5a264030ed9b45a25f43
[ "MIT" ]
null
null
null
lib/mix/tasks/compile.ts_interface.ex
Ziinc/phoenix_ts_interface
bde31c6a348301907eaf5a264030ed9b45a25f43
[ "MIT" ]
1
2020-04-22T15:10:28.000Z
2020-04-22T15:10:28.000Z
lib/mix/tasks/compile.ts_interface.ex
Ziinc/phoenix_ts_interface
bde31c6a348301907eaf5a264030ed9b45a25f43
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.Compile.TsInterface do use Mix.Task require EEx @shortdoc "Generates TS request helpers to make API calls" @manifest ".compile.ts_interface" @default_out_folder "assets/deps/ts" @default_out_file "phoenix_ts_interface.ts" @spec run(OptionParser.argv()) :: :ok | :noop def run(args)...
28.453704
89
0.673283
c86ed210d85bb00d0f69cb007a8c032eb989cf2c
397
ex
Elixir
6453_08_03_Code/deck-release/apps/deck/lib/deck.ex
PacktPublishing/Advanced-Elixir-and-OTP
952fe654f1f91ec186a41d5ff4f09672ef5e7221
[ "MIT" ]
1
2021-10-01T22:06:12.000Z
2021-10-01T22:06:12.000Z
6453_08_03_Code/deck-release/apps/deck/lib/deck.ex
PacktPublishing/Advanced-Elixir-and-OTP
952fe654f1f91ec186a41d5ff4f09672ef5e7221
[ "MIT" ]
null
null
null
6453_08_03_Code/deck-release/apps/deck/lib/deck.ex
PacktPublishing/Advanced-Elixir-and-OTP
952fe654f1f91ec186a41d5ff4f09672ef5e7221
[ "MIT" ]
1
2020-06-10T10:40:37.000Z
2020-06-10T10:40:37.000Z
defmodule Deck do use GenServer @deck_size Application.get_env(:deck, :size) def start_link() do GenServer.start_link(__MODULE__, [], name: __MODULE__) end def take_card() do GenServer.call(__MODULE__, {:take_card}) end def init(_) do {:ok, Enum.shuffle(1..@deck_size)} end def handle_...
18.045455
58
0.667506
c86ed73d375401821fb119be482f460c1b7a8a8f
1,151
exs
Elixir
test/hoplon/cli/prompt_test.exs
nietaki/hoplon
505808fee0a1e5cbb72d1b3b55df598e707b13ea
[ "Apache-2.0" ]
28
2018-04-15T19:29:18.000Z
2021-07-08T10:24:07.000Z
test/hoplon/cli/prompt_test.exs
nietaki/hoplon
505808fee0a1e5cbb72d1b3b55df598e707b13ea
[ "Apache-2.0" ]
16
2018-04-14T22:27:25.000Z
2019-04-09T22:03:47.000Z
test/hoplon/cli/prompt_test.exs
nietaki/aspis
505808fee0a1e5cbb72d1b3b55df598e707b13ea
[ "Apache-2.0" ]
1
2018-04-06T12:46:14.000Z
2018-04-06T12:46:14.000Z
defmodule Hoplon.CLI.PromptTest do use ExUnit.Case alias Hoplon.CLI.Prompt import Support.Utils use ExUnit.Case @moduletag timeout: 10_000 describe "print_table" do test "handles an example case" do opts = mock_input_opts("") headers = ["foo", :bingo, "bar baz"] rows = [ [1...
23.979167
61
0.476977
c86eeb3557b91c99aa142afd0c7b91ad05b76d3b
1,675
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_word_list.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_word_list.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_word_list.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.895833
225
0.750448
c86f490485815b5e69bd2c4168455c27e661b80e
17,828
ex
Elixir
lib/scroll_hat/fonts/hachicro.ex
jjcarstens/scroll_hat
5bffc8d35c7c098ead1c3481a644b7933d443e1d
[ "Apache-2.0" ]
4
2021-08-05T14:33:00.000Z
2022-01-21T09:55:08.000Z
lib/scroll_hat/fonts/hachicro.ex
jjcarstens/scroll_hat
5bffc8d35c7c098ead1c3481a644b7933d443e1d
[ "Apache-2.0" ]
1
2021-09-14T11:36:25.000Z
2021-09-14T11:36:25.000Z
lib/scroll_hat/fonts/hachicro.ex
jjcarstens/scroll_hat
5bffc8d35c7c098ead1c3481a644b7933d443e1d
[ "Apache-2.0" ]
3
2021-09-13T08:29:37.000Z
2022-01-21T09:56:24.000Z
defmodule ScrollHat.Font.Hachicro do @moduledoc """ Hachicro font Transposed from https://github.com/pimoroni/scroll-phat-hd/blob/master/library/scrollphathd/fonts/fonthachicro.py """ @behaviour ScrollHat.Font def char_matrix(char, brightness \\ 0xFF) def char_matrix(0x20, _b) do [ [0x0], ...
23.243807
115
0.383105
c86f7830a929869e5c1a2f01e8e1fe049aeacca7
925
ex
Elixir
test/support/channel_case.ex
amalbuquerque/elixir_keeb_ui
d203ccc128547668febd13a35d9472e5b4b3151a
[ "MIT" ]
3
2020-07-07T15:57:55.000Z
2021-08-12T05:09:38.000Z
test/support/channel_case.ex
amalbuquerque/elixir_keeb_ui
d203ccc128547668febd13a35d9472e5b4b3151a
[ "MIT" ]
3
2020-09-28T20:53:30.000Z
2021-08-31T20:41:04.000Z
test/support/channel_case.ex
amalbuquerque/elixir_keeb_ui
d203ccc128547668febd13a35d9472e5b4b3151a
[ "MIT" ]
1
2021-07-16T13:49:09.000Z
2021-07-16T13:49:09.000Z
defmodule ElixirKeeb.UIWeb.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 inter...
27.205882
70
0.739459
c86f8a776b423c9218c1e6bc78db36f8791cef48
316
ex
Elixir
test/support/fixtures.ex
onyxrev/aeacus
9b638d7c39f6ad446eb470d8b0208261fd5da42d
[ "BSD-3-Clause" ]
null
null
null
test/support/fixtures.ex
onyxrev/aeacus
9b638d7c39f6ad446eb470d8b0208261fd5da42d
[ "BSD-3-Clause" ]
null
null
null
test/support/fixtures.ex
onyxrev/aeacus
9b638d7c39f6ad446eb470d8b0208261fd5da42d
[ "BSD-3-Clause" ]
null
null
null
defmodule Aeacus.Test.MockResource do use Ecto.Schema schema "default_resource" do field :email, :string field :hashed_password, :string end end defmodule Aeacus.Test.MockCustomResource do use Ecto.Schema schema "custom_resource" do field :username, :string field :pass, :string end end
19.75
43
0.737342
c86fc0f0f6cca66f7f32efee2e02e6fb11224abd
256
ex
Elixir
lib/eltix_web/controllers/deep_launch_controller.ex
evanbattaglia/eltix
0e594b91d877c027d8f473abb3dcb2b617129976
[ "MIT" ]
null
null
null
lib/eltix_web/controllers/deep_launch_controller.ex
evanbattaglia/eltix
0e594b91d877c027d8f473abb3dcb2b617129976
[ "MIT" ]
null
null
null
lib/eltix_web/controllers/deep_launch_controller.ex
evanbattaglia/eltix
0e594b91d877c027d8f473abb3dcb2b617129976
[ "MIT" ]
null
null
null
defmodule EltixWeb.DeepLaunchController do use EltixWeb, :controller def index(conn, params) do Phoenix.LiveView.Controller.live_render( conn, EltixWeb.DeepLinkingLive, session: %{"claims" => conn.assigns.claims} ) end end
21.333333
49
0.699219
c86fc638c8b25cd216d98e380741e13e7f8fb47b
1,764
exs
Elixir
bench/witchcraft/chain/list_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
454
2019-06-05T22:56:45.000Z
2022-03-27T23:03:02.000Z
bench/witchcraft/chain/list_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
26
2019-07-08T09:29:08.000Z
2022-02-04T02:40:48.000Z
bench/witchcraft/chain/list_bench.exs
doma-engineering/witchcraft
c84fa6b2146e7de745105e21f672ed413df93ad3
[ "MIT" ]
36
2019-06-25T17:45:27.000Z
2022-03-21T01:53:42.000Z
defmodule Witchcraft.Chain.ListBench do use Benchfella use Witchcraft.Chain ######### # Setup # ######### # ---------- # # Data Types # # ---------- # @list_a 1..10 |> Enum.to_list() |> Enum.shuffle() @list_b 9..99 |> Enum.to_list() |> Enum.shuffle() ######### # Chain # ######### bench ...
16.333333
58
0.404195
c86fe7f9bf374f211fd8519ddb8253656b77f472
782
exs
Elixir
test/mix/tasks/phoenix.gen.secret_test.exs
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
1
2019-06-11T20:22:21.000Z
2019-06-11T20:22:21.000Z
test/mix/tasks/phoenix.gen.secret_test.exs
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
null
null
null
test/mix/tasks/phoenix.gen.secret_test.exs
misfo/phoenix
04464429d9b958e331b2ffe0f0f5926690ab3b56
[ "MIT" ]
null
null
null
Code.require_file "../../../installer/test/mix_helper.exs", __DIR__ defmodule Mix.Tasks.Phoenix.Gen.SecretTest do use ExUnit.Case, async: true import Mix.Tasks.Phoenix.Gen.Secret test "generates a secret" do run [] assert_receive {:mix_shell, :info, [secret]} when byte_size(secret) == 64 end test ...
31.28
88
0.686701
c87034ef8f9023eb8b8e2931b69424acdeab4f20
338
exs
Elixir
priv/repo/migrations/20210124125641_add_oban_jobs_table copy.exs
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
priv/repo/migrations/20210124125641_add_oban_jobs_table copy.exs
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
priv/repo/migrations/20210124125641_add_oban_jobs_table copy.exs
feelja-tech/feelja-api
03ce15430460cf2dac24a7740242c7e5ac5c5804
[ "MIT" ]
null
null
null
defmodule NudgeApi.Repo.Migrations.AddObanJobsTable do use Ecto.Migration def up do Oban.Migrations.up() end # We specify `version: 1` in `down`, ensuring that we'll roll all the way back down if # necessary, regardless of which version we've migrated `up` to. def down do Oban.Migrations.down(vers...
24.142857
88
0.718935
c8706a3e4fff295c33c88afaaef13e1df9e50401
522
ex
Elixir
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/gitex/lib/gitex.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
37
2015-02-01T23:16:39.000Z
2021-12-22T16:50:48.000Z
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/gitex/lib/gitex.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
1
2017-03-02T04:55:48.000Z
2018-01-14T10:51:11.000Z
talks-articles/languages-n-runtimes/elixir/book--programming-elixir-ge-1.6/gitex/lib/gitex.ex
abhishekkr/tutorials_as_code
f355dc62a5025b710ac6d4a6ac2f9610265fad54
[ "MIT" ]
15
2015-03-02T08:09:01.000Z
2021-06-10T03:25:41.000Z
defmodule Gitex do @moduledoc """ Documentation for Gitex. """ @doc """ Version of Gitex ## Examples iex> Gitex.version() "0.1.0" """ def version do Mix.Project.config()[:version] end @doc """ This could be any text describing the function. Nothing to do with the doctest. ...
14.5
49
0.568966
c870790c15b55c46982d290c2488200b6b3d26d5
6,212
ex
Elixir
backend/lib/edgehog_web/resolvers/devices.ex
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
null
null
null
backend/lib/edgehog_web/resolvers/devices.ex
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
null
null
null
backend/lib/edgehog_web/resolvers/devices.ex
szakhlypa/edgehog
b1193c26f403132dead6964c1c052e5dcae533af
[ "Apache-2.0" ]
null
null
null
# # This file is part of Edgehog. # # Copyright 2021 SECO Mind Srl # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
34.898876
100
0.710399
c870988b20001a98c7f0db0df55af90eecab9d8d
2,151
ex
Elixir
lib/searchex/config/cfg_validations.ex
andyl/searchex
aae186cddd14f0415b116fca198b8cc95eb2c379
[ "MIT" ]
91
2016-11-22T23:52:01.000Z
2022-02-12T13:06:24.000Z
lib/searchex/config/cfg_validations.ex
andyl/searchex
aae186cddd14f0415b116fca198b8cc95eb2c379
[ "MIT" ]
11
2016-11-23T17:37:57.000Z
2018-03-07T13:40:48.000Z
lib/searchex/config/cfg_validations.ex
andyl/searchex
aae186cddd14f0415b116fca198b8cc95eb2c379
[ "MIT" ]
9
2016-11-24T01:44:40.000Z
2020-05-15T04:16:19.000Z
defmodule Searchex.Config.CfgValidations do @moduledoc false import Searchex.Config.CfgHelpers @doc """ Checks a set of validation functions If all validation functions pass, return `{:ok}`. If one or more validation functions fail, return `{:error, [list of error messages]}` NOTE: validation func...
32.590909
80
0.592748
c870ac088a0891782702c5b43fb19c3637fbc1ad
224
ex
Elixir
Chapter03/recovering_from_errors_with_supervisors_and_supervision_trees/simple_elixir_drip/lib/simple_elixir_drip.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
28
2018-08-09T05:05:29.000Z
2022-03-14T06:59:07.000Z
Chapter03/recovering_from_errors_with_supervisors_and_supervision_trees/simple_elixir_drip/lib/simple_elixir_drip.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
1
2019-02-11T09:11:33.000Z
2019-05-06T06:40:19.000Z
Chapter03/recovering_from_errors_with_supervisors_and_supervision_trees/simple_elixir_drip/lib/simple_elixir_drip.ex
sthagen/Mastering-Elixir
1b52ee79afe6b2ae80767a5e55c2be51df3c4c1d
[ "MIT" ]
8
2018-08-09T14:53:02.000Z
2020-12-14T19:31:21.000Z
defmodule SimpleElixirDrip do @moduledoc """ Documentation for SimpleElixirDrip. """ @doc """ Hello world. ## Examples iex> SimpleElixirDrip.hello :world """ def hello do :world end end
11.789474
37
0.620536
c870f540dbc5ce2c1222f3948c67b7532316c594
979
exs
Elixir
test/phoenix_profiler/profiler_test.exs
shamanime/phoenix_profiler
353156c731c59fb2c5a994cbf3b0fb72359ffdc6
[ "MIT" ]
null
null
null
test/phoenix_profiler/profiler_test.exs
shamanime/phoenix_profiler
353156c731c59fb2c5a994cbf3b0fb72359ffdc6
[ "MIT" ]
null
null
null
test/phoenix_profiler/profiler_test.exs
shamanime/phoenix_profiler
353156c731c59fb2c5a994cbf3b0fb72359ffdc6
[ "MIT" ]
null
null
null
defmodule PhoenixProfiler.ProfilerTest do use ExUnit.Case, async: true describe "reset/0" do test "deletes all records in the table" do start_supervised!({PhoenixProfiler, name: ResetProfiler}) %PhoenixProfiler.Profiler{tab: tab} = :persistent_term.get({PhoenixProfiler, ResetProfiler}) :ets....
27.971429
98
0.633299
c870fe31a233e8712f5ac28c5ab804e8a0725d99
3,531
ex
Elixir
api/lib/documents/mapping.ex
lucas-angermann/idai-field-web
788c9c9505b6fd12d591345b23053e934f1022d1
[ "Apache-2.0" ]
null
null
null
api/lib/documents/mapping.ex
lucas-angermann/idai-field-web
788c9c9505b6fd12d591345b23053e934f1022d1
[ "Apache-2.0" ]
null
null
null
api/lib/documents/mapping.ex
lucas-angermann/idai-field-web
788c9c9505b6fd12d591345b23053e934f1022d1
[ "Apache-2.0" ]
null
null
null
defmodule Api.Documents.Mapping do alias Api.Core.Filters alias Api.Core.Tree alias Api.Core.Resource def map_single elasticsearch_result do elasticsearch_result |> get_in([:hits, :hits, Access.at(0), :_source]) |> map_document end def map(elasticsearch_result, default_config), do: map(elastic...
32.394495
117
0.664118
c87147c98bc9cbfaf9f0fc9b4c11cfd719fbdb17
291
exs
Elixir
priv/repo/migrations/20200514144934_alter_team_score.exs
ldd/hn_comments_game
5f720621c549a3737c155f9d59fa8277491f3b16
[ "MIT" ]
5
2020-05-15T17:06:22.000Z
2020-06-20T12:05:46.000Z
priv/repo/migrations/20200514144934_alter_team_score.exs
ldd/hn_comments_game
5f720621c549a3737c155f9d59fa8277491f3b16
[ "MIT" ]
null
null
null
priv/repo/migrations/20200514144934_alter_team_score.exs
ldd/hn_comments_game
5f720621c549a3737c155f9d59fa8277491f3b16
[ "MIT" ]
null
null
null
defmodule HnCommentsGame.Repo.Migrations.AlterTeamTableScore do use Ecto.Migration def change do alter table(:teams) do add :correct_questions, :integer, default: 0 add :answered_questions, :integer, default: 0 remove_if_exists(:score, :integer) end end end
24.25
63
0.721649
c87166f8e63476a87fd56b2ffbb4a17e1fa86235
688
ex
Elixir
lib/ueberauth_oidc.ex
jshmrtn/ueberauth_oidc
570a5c6d5d6470de2fedbc5f327cf0e7fcdee2e5
[ "MIT" ]
null
null
null
lib/ueberauth_oidc.ex
jshmrtn/ueberauth_oidc
570a5c6d5d6470de2fedbc5f327cf0e7fcdee2e5
[ "MIT" ]
null
null
null
lib/ueberauth_oidc.ex
jshmrtn/ueberauth_oidc
570a5c6d5d6470de2fedbc5f327cf0e7fcdee2e5
[ "MIT" ]
null
null
null
defmodule UeberauthOIDC do @moduledoc """ Main module. """ @doc """ Initializes the configured oidc providers. """ @spec init!() :: :ok def init!() do {local_endpoint, config} = Application.get_env(:ueberauth, UeberauthOIDC) |> Keyword.pop(:local_endpoint) :ok = Enum.each(config, &...
24.571429
93
0.65407
c87173f264b58a4dd073c97906a345f4a5042d67
557
ex
Elixir
lib/kojin/sql/ddl/table.ex
patefacio/kojin
34f1959b7fa5fdc48e07ae6d81f8fa3ab31af982
[ "MIT" ]
3
2021-12-20T04:46:00.000Z
2022-01-31T22:26:44.000Z
lib/kojin/sql/ddl/table.ex
patefacio/kojin
34f1959b7fa5fdc48e07ae6d81f8fa3ab31af982
[ "MIT" ]
1
2021-12-20T14:46:50.000Z
2021-12-20T14:46:50.000Z
lib/kojin/sql/ddl/table.ex
patefacio/kojin
34f1959b7fa5fdc48e07ae6d81f8fa3ab31af982
[ "MIT" ]
1
2021-12-20T00:15:52.000Z
2021-12-20T00:15:52.000Z
defmodule Kojin.Sql.Ddl.Table do use TypedStruct alias Kojin.Sql.Ddl.{Column, Table} typedstruct enforce: true do field(:columns, list(Column.t())) field(:owner, binary) field(:foreign_keys, list(binary)) field(:indices, list(binary)) end def table(columns, opts \\ []) do defaults = [ow...
21.423077
58
0.637343
c871c6a5375ae7e5c01efca1668e6c93b99b685f
822
ex
Elixir
lib/edgedb/protocol/codecs/builtin/local_datetime.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
30
2021-05-19T08:54:44.000Z
2022-03-11T22:52:25.000Z
lib/edgedb/protocol/codecs/builtin/local_datetime.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-11-17T21:26:01.000Z
2022-03-12T09:49:25.000Z
lib/edgedb/protocol/codecs/builtin/local_datetime.ex
nsidnev/edgedb-elixir
bade2b9daba2e83bfaa5915b2addb74f41610968
[ "MIT" ]
3
2021-08-29T14:55:41.000Z
2022-03-12T01:30:35.000Z
defmodule EdgeDB.Protocol.Codecs.Builtin.LocalDateTime do use EdgeDB.Protocol.Codec alias EdgeDB.Protocol.{ Codecs, Datatypes } defbuiltinscalarcodec( type_name: "cal::local_datetime", type_id: Datatypes.UUID.from_string("00000000-0000-0000-0000-00000000010B"), type: NaiveDateTime.t() | in...
23.485714
80
0.714112
c871e776e61057473222fa0f71334ad972ee3f87
289
exs
Elixir
priv/repo/migrations/20171125194700_add_roles_to_users.exs
neilfulwiler/open_pantry
4b705f2282c7b2365a784503c9f1bdd34c741798
[ "MIT" ]
41
2017-10-04T00:33:46.000Z
2021-04-09T01:33:34.000Z
priv/repo/migrations/20171125194700_add_roles_to_users.exs
openpantry/open_pantry
27d898a65dd6f44b325f48d41bc448bb486d9c6f
[ "MIT" ]
74
2017-09-20T03:36:17.000Z
2018-11-20T20:46:16.000Z
priv/repo/migrations/20171125194700_add_roles_to_users.exs
neilfulwiler/open_pantry
4b705f2282c7b2365a784503c9f1bdd34c741798
[ "MIT" ]
12
2017-10-04T10:02:49.000Z
2021-12-28T22:57:20.000Z
defmodule OpenPantry.Repo.Migrations.AddRolesToUsers do use Ecto.Migration def up do UserRoleEnum.create_type alter table(:users) do add :role, :role end end def down do alter table(:users) do remove :role end UserRoleEnum.drop_type end end
16.055556
55
0.678201
c871f18c433b998d5227071b5ed8ee122d2db037
3,421
exs
Elixir
test/mastani_server/delivery/sys_notification_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
test/mastani_server/delivery/sys_notification_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
test/mastani_server/delivery/sys_notification_test.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Test.Delivery.SysNotification do use MastaniServer.TestTools import Ecto.Query, warn: false import Helper.Utils alias Helper.ORM alias MastaniServer.Accounts alias MastaniServer.Delivery describe "[delivery sys notification]" do alias Accounts.SysNotificationMail alias D...
32.580952
87
0.666472
c87254acd1c0af65ddb568539876ffaaa488a401
1,153
exs
Elixir
elixir/getting-started/14_structs.exs
wesleyegberto/dojos-languages
87170a722efac1247c713daa21cb3fcc39f5c5c1
[ "MIT" ]
null
null
null
elixir/getting-started/14_structs.exs
wesleyegberto/dojos-languages
87170a722efac1247c713daa21cb3fcc39f5c5c1
[ "MIT" ]
null
null
null
elixir/getting-started/14_structs.exs
wesleyegberto/dojos-languages
87170a722efac1247c713daa21cb3fcc39f5c5c1
[ "MIT" ]
null
null
null
# Structs # Structs are extensions built on top of maps that provide compile-time checks # and default values. defmodule User do # structs take the name of its module # we can define a default value or `nil` will be assumed defstruct [:name, age: 42] end %User{} odair = %User{name: "Odair Jose"} # is a...
19.87931
80
0.70425
c8727a7d97e430ef388d40aaf0b403ebc5488830
188
exs
Elixir
rumbl/priv/repo/seeds.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
rumbl/priv/repo/seeds.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
rumbl/priv/repo/seeds.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
alias Rumbl.Repo alias Rumbl.Category for category <- ~w(Action Drama Romance Comedy Sci-fi) do Repo.get_by(Category, name: category) || Repo.insert!(%Category{name: category}) end
23.5
57
0.734043
c872ea868994363933326e7ecc65c3b7ca16f8e1
382
exs
Elixir
test/models/auth_test.exs
deadmp/wiki
29d98ed0517e26d2e3f1c75f70852bc7512d87fc
[ "MIT" ]
null
null
null
test/models/auth_test.exs
deadmp/wiki
29d98ed0517e26d2e3f1c75f70852bc7512d87fc
[ "MIT" ]
null
null
null
test/models/auth_test.exs
deadmp/wiki
29d98ed0517e26d2e3f1c75f70852bc7512d87fc
[ "MIT" ]
null
null
null
defmodule Wiki.AuthTest do use Wiki.ModelCase alias Wiki.Auth @valid_attrs %{} @invalid_attrs %{} test "changeset with valid attributes" do changeset = Auth.changeset(%Auth{}, @valid_attrs) assert changeset.valid? end test "changeset with invalid attributes" do changeset = Auth.changeset(%...
20.105263
55
0.709424
c8730e9cf4b57ece01835fe54e24c2f61999ac9b
1,454
ex
Elixir
integration_test/phoenix_example_app/test/support/data_case.ex
elitau/tix
2aa5fe4d91e7962ebcdc9b668aacf65e09ff9bb8
[ "MIT" ]
1
2021-08-16T18:52:45.000Z
2021-08-16T18:52:45.000Z
integration_test/phoenix_example_app/test/support/data_case.ex
elitau/tix
2aa5fe4d91e7962ebcdc9b668aacf65e09ff9bb8
[ "MIT" ]
16
2021-03-09T19:39:31.000Z
2022-03-15T15:20:24.000Z
integration_test/phoenix_example_app/test/support/data_case.ex
elitau/tix
2aa5fe4d91e7962ebcdc9b668aacf65e09ff9bb8
[ "MIT" ]
null
null
null
defmodule PhoenixExampleApp.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, ...
26.925926
79
0.690509
c8731e4480df567e75399c865d1713e1789c5da7
3,302
ex
Elixir
test/support/factory.ex
wintermeyer/animina
44fb98b4cd2efd4ab425fc37e1ae68a6fa1c1f5a
[ "MIT" ]
1
2021-04-17T20:36:24.000Z
2021-04-17T20:36:24.000Z
test/support/factory.ex
wintermeyer/animina
44fb98b4cd2efd4ab425fc37e1ae68a6fa1c1f5a
[ "MIT" ]
3
2021-04-15T19:45:43.000Z
2021-04-16T06:08:24.000Z
test/support/factory.ex
wintermeyer/animina
44fb98b4cd2efd4ab425fc37e1ae68a6fa1c1f5a
[ "MIT" ]
null
null
null
defmodule Animina.Factory do use ExMachina.Ecto, repo: Animina.Repo def user_factory do %Animina.Accounts.User{ first_name: "John", last_name: "Smith", email: sequence(:email, &"email-#{&1}@example.com"), username: sequence(:username, &"username-#{&1}"), gender: sequence(:gender, ...
22.772414
82
0.604179
c873243f92119aaf283851cdebff039a1ab2b129
2,820
ex
Elixir
lib/sparql/utils.ex
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
lib/sparql/utils.ex
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
lib/sparql/utils.ex
pukkamustard/sparql-ex
4f8907ddbd15215c9b6c40edac19362c92e34d91
[ "MIT" ]
null
null
null
defmodule SPARQL.Utils do @moduledoc false @doc """ Find and loads all modules implementing the given Behaviour. Finding all modules implementing a behaviour is an open problem in Elixir. We apply multiple heuristics to catch as much as possible. """ @spec find_behaviour_implementations(atom) :: [] | [a...
38.108108
193
0.699291
c87342e550aaabaacd4bcd272c5b8dabe1cfb647
3,264
ex
Elixir
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/expr.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/expr.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_connectivity/lib/google_api/network_connectivity/v1/model/expr.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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...
58.285714
1,092
0.736213
c8734e7c5a71a9b20c116d55c88f33a663633131
577
ex
Elixir
test/support/test/dump.ex
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
test/support/test/dump.ex
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
test/support/test/dump.ex
eahanson/corex
550020c5cbfc7dc828bc74e1edf0223c1cbffef1
[ "MIT" ]
null
null
null
defmodule Corex.Test.Dump do alias Corex.Accounts alias TableRex.Table def users() do Accounts.list_users() |> dump([:email, :tid], "All users") end def dump(enumerable, keys, title) do enumerable |> extract_headers_and_rows(keys) |> puts_table(title) end def extract_headers_and_rows(enumerable...
24.041667
86
0.660312
c873548d5cb11e80af606d54d438e5ae393b1775
1,378
ex
Elixir
lib/sthub_web/controllers/ship_iteration_controller.ex
Rukenshia/sthub-web
2749e0a08ca71683ca1d44ceecc89310dea70e07
[ "MIT" ]
null
null
null
lib/sthub_web/controllers/ship_iteration_controller.ex
Rukenshia/sthub-web
2749e0a08ca71683ca1d44ceecc89310dea70e07
[ "MIT" ]
14
2020-07-17T06:00:03.000Z
2020-10-29T20:28:32.000Z
lib/sthub_web/controllers/ship_iteration_controller.ex
Rukenshia/sthub-web
2749e0a08ca71683ca1d44ceecc89310dea70e07
[ "MIT" ]
null
null
null
defmodule StHubWeb.ShipIterationController do use StHubWeb, :controller alias StHub.Wows alias StHub.Wows.ShipIteration alias StHub.Repo def new(conn, %{"ship_id" => ship_id}) do user_id = case Guardian.Plug.current_resource(conn) do nil -> nil user -> user.id ...
24.175439
88
0.632075
c8739b9cb87508d99b6cc0ca4a6bb6a381897d72
7,487
ex
Elixir
astreu/deps/plug_crypto/lib/plug/crypto/message_encryptor.ex
wesleimp/Astreu
4d430733e7ecc8b3eba8e27811a152aa2c6d79c1
[ "Apache-2.0" ]
1
2021-04-13T12:36:17.000Z
2021-04-13T12:36:17.000Z
astreu/deps/plug_crypto/lib/plug/crypto/message_encryptor.ex
wesleimp/Astreu
4d430733e7ecc8b3eba8e27811a152aa2c6d79c1
[ "Apache-2.0" ]
null
null
null
astreu/deps/plug_crypto/lib/plug/crypto/message_encryptor.ex
wesleimp/Astreu
4d430733e7ecc8b3eba8e27811a152aa2c6d79c1
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Crypto.MessageEncryptor do @moduledoc ~S""" `MessageEncryptor` is a simple way to encrypt values which get stored somewhere you don't trust. The encrypted key, initialization vector, cipher text, and cipher tag are base64url encoded and returned to you. This can be used in situations simila...
37.248756
96
0.681581
c8739dc8bf9c81362a5bbd034051bf307cc9b8ea
170
exs
Elixir
machine_translation/MorpHIN/Learned/Resources/Set4/TrainingInstances/91.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set4/TrainingInstances/91.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
machine_translation/MorpHIN/Learned/Resources/Set4/TrainingInstances/91.exs
AdityaPrasadMishra/NLP--Project-Group-16
fb62cc6a1db4a494058171f11c14a2be3933a9a1
[ "MIT" ]
null
null
null
**EXAMPLE FILE** cm noun nst noun particle; SYM noun cm adjective particle; conj pnoun conj adjective particle; SYM noun cm SYM particle; cm noun cm noun particle;
21.25
36
0.752941
c8739dd8d72b94625cf4e6d27fe2dbf560ffbd05
134
exs
Elixir
language-practice/Elixir/elixir-pdx/zee_pipes/test/zee_pipe_test.exs
cjschneider2/practice_code
5d9b793eccca39262fb452fa1f3f53e6b54bc7aa
[ "Unlicense" ]
null
null
null
language-practice/Elixir/elixir-pdx/zee_pipes/test/zee_pipe_test.exs
cjschneider2/practice_code
5d9b793eccca39262fb452fa1f3f53e6b54bc7aa
[ "Unlicense" ]
null
null
null
language-practice/Elixir/elixir-pdx/zee_pipes/test/zee_pipe_test.exs
cjschneider2/practice_code
5d9b793eccca39262fb452fa1f3f53e6b54bc7aa
[ "Unlicense" ]
null
null
null
defmodule ZeePipeTest do use ExUnit.Case test "DNA sequence count" do assert ZeePipe.dna_count("TAGTAAG") == 22154 end end
16.75
48
0.723881
c87419f8c8eef81a6cf710499f22d83cc0f4bc80
476
ex
Elixir
lib/flagr/model/tag.ex
brexhq/exflagr
9d4794aaf678831187c26341f5a2767d5535e2d6
[ "MIT" ]
null
null
null
lib/flagr/model/tag.ex
brexhq/exflagr
9d4794aaf678831187c26341f5a2767d5535e2d6
[ "MIT" ]
null
null
null
lib/flagr/model/tag.ex
brexhq/exflagr
9d4794aaf678831187c26341f5a2767d5535e2d6
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Flagr.Model.Tag do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"id", :"value" ] @type t :: %__MODULE__{ ...
17
75
0.642857
c8742233f1fcc026fd02532d66f1a2a9195589fe
12,210
ex
Elixir
lib/hex/scm.ex
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
824
2015-01-05T09:12:36.000Z
2022-03-28T12:02:29.000Z
lib/hex/scm.ex
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
737
2015-01-01T05:48:46.000Z
2022-03-29T12:56:12.000Z
lib/hex/scm.ex
hrzndhrn/hex
f74e2ed979e74130bdc4a6974660aa986333f33f
[ "Apache-2.0" ]
220
2015-03-14T17:55:11.000Z
2022-03-23T22:17:07.000Z
defmodule Hex.SCM do alias Hex.Registry.Server, as: Registry @moduledoc false @behaviour Mix.SCM @packages_dir "packages" @request_timeout 60_000 @fetch_timeout @request_timeout * 2 def fetchable? do true end def format(_opts) do "Hex package" end def format_lock(opts) do case Hex....
26.776316
98
0.589844
c87431b8d98c3e3e23e15387c7b9654f5f2f5a61
3,806
ex
Elixir
clients/domains_rdap/lib/google_api/domains_rdap/v1/api/autnum.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/domains_rdap/lib/google_api/domains_rdap/v1/api/autnum.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/domains_rdap/lib/google_api/domains_rdap/v1/api/autnum.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...
43.25
196
0.646611
c87468ac73e4dcb5a9bada5a2415247c4c41bd50
1,170
exs
Elixir
config/config.exs
abner-starkasty/dowhile2021-elixir
41e494f07ba87e8be9a53cdba1aad628037ebb76
[ "MIT" ]
null
null
null
config/config.exs
abner-starkasty/dowhile2021-elixir
41e494f07ba87e8be9a53cdba1aad628037ebb76
[ "MIT" ]
null
null
null
config/config.exs
abner-starkasty/dowhile2021-elixir
41e494f07ba87e8be9a53cdba1aad628037ebb76
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :heat_tags, ecto_repos: [HeatTags.Repo]...
30.789474
86
0.747009
c87472e619aebe7c571e3bccc03bc994200b6e1a
505
exs
Elixir
test/noaa_weather/cli_test.exs
jjdonov/noaa_weather
d849f6e6122d1219c63ec5b4e9a4254ca97ac3a3
[ "MIT" ]
null
null
null
test/noaa_weather/cli_test.exs
jjdonov/noaa_weather
d849f6e6122d1219c63ec5b4e9a4254ca97ac3a3
[ "MIT" ]
null
null
null
test/noaa_weather/cli_test.exs
jjdonov/noaa_weather
d849f6e6122d1219c63ec5b4e9a4254ca97ac3a3
[ "MIT" ]
null
null
null
defmodule NoaaWeather.CliTest do use ExUnit.Case doctest NoaaWeather.CLI import NoaaWeather.CLI, only: [parse_args: 1] test ":help returned by option parsing with -h and --help options" do assert parse_args(["-h"]) == :help assert parse_args(["--help"]) == :help end test "{station} returned when ...
25.25
71
0.671287
c8748bb45ce05492eec75c9f0d311f22e7f6c920
1,147
ex
Elixir
lib/01_logger_meta/logger_meta.ex
brainlid/meetup_process_state
a429d6e5ff4e4bbfc2e243291292ea1f010abb9d
[ "MIT" ]
2
2018-12-30T01:48:59.000Z
2021-12-25T15:42:21.000Z
lib/01_logger_meta/logger_meta.ex
brainlid/meetup_process_state
a429d6e5ff4e4bbfc2e243291292ea1f010abb9d
[ "MIT" ]
null
null
null
lib/01_logger_meta/logger_meta.ex
brainlid/meetup_process_state
a429d6e5ff4e4bbfc2e243291292ea1f010abb9d
[ "MIT" ]
null
null
null
defmodule ProcessState.LoggerMeta do @moduledoc """ Example showing basic use of Logger metadata. https://hexdocs.pm/logger/Logger.html ## Example alias ProcessState.LoggerMeta LoggerMeta.run_steps ## Sample Output 18:56:46.965 pid=<0.114.0> state_1=always_here [info] Step 1 18:...
19.116667
90
0.647777
c87496e5b3cea9de40e06bace16c2417f4719a0d
1,193
exs
Elixir
test/let/let_in_shared_specs_test.exs
bblaszkow06/espec
4d9819ca5c68c6eb70276c7d9c9630ded01ba778
[ "Apache-2.0" ]
null
null
null
test/let/let_in_shared_specs_test.exs
bblaszkow06/espec
4d9819ca5c68c6eb70276c7d9c9630ded01ba778
[ "Apache-2.0" ]
null
null
null
test/let/let_in_shared_specs_test.exs
bblaszkow06/espec
4d9819ca5c68c6eb70276c7d9c9630ded01ba778
[ "Apache-2.0" ]
null
null
null
defmodule LetSharedSpecsTest do use ExUnit.Case, async: true defmodule SharedSpec do use ESpec, shared: true, async: true let_overridable a: 10, b: 20 let_overridable [:c, :d] let_overridable :e let :qqq, do: :qqq it do: expect(a()).to(eq(1)) it do: expect(b()).to(eq(20)) it do: ...
22.509434
90
0.649623
c874c2b7919fd131332ed89ea612be2557cba1bb
2,065
ex
Elixir
lib/siwapp_web/live/taxes_live/form_component.ex
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
null
null
null
lib/siwapp_web/live/taxes_live/form_component.ex
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
null
null
null
lib/siwapp_web/live/taxes_live/form_component.ex
jakon89/siwapp
b5f8fd43458deae72c76e434ed0c63b620cb97a4
[ "MIT" ]
null
null
null
defmodule SiwappWeb.TaxesLive.FormComponent do @moduledoc false use SiwappWeb, :live_component alias Siwapp.Commons @impl Phoenix.LiveComponent def update(%{tax: tax} = assigns, socket) do changeset = Commons.change_tax(tax) socket = socket |> assign(assigns) |> assign(:changeset...
26.818182
69
0.620823
c87578e38bde54677589844eb2a07355ce2bd9fb
83
ex
Elixir
lib/grpow_web/views/pow_reset_password/reset_password_view.ex
Gitardo/grpow
047a1a7faaa28006e59069d55dd783a048a287cf
[ "MIT" ]
null
null
null
lib/grpow_web/views/pow_reset_password/reset_password_view.ex
Gitardo/grpow
047a1a7faaa28006e59069d55dd783a048a287cf
[ "MIT" ]
2
2021-03-11T05:11:12.000Z
2021-05-11T22:29:52.000Z
lib/grpow_web/views/pow_reset_password/reset_password_view.ex
g2t3s/grpow
047a1a7faaa28006e59069d55dd783a048a287cf
[ "MIT" ]
null
null
null
defmodule GrpowWeb.PowResetPassword.ResetPasswordView do use GrpowWeb, :view end
20.75
56
0.843373
c87596660bb6ca4b7c92d5e2f8616d27cca3e995
2,796
exs
Elixir
apps/forklift/test/integration/test_helper.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
26
2019-09-20T23:54:45.000Z
2020-08-20T14:23:32.000Z
apps/forklift/test/integration/test_helper.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
757
2019-08-15T18:15:07.000Z
2020-09-18T20:55:31.000Z
apps/forklift/test/integration/test_helper.exs
calebcarroll1/smartcitiesdata
b0f03496f6c592c82ba14aebf6c5996311cf3cd0
[ "Apache-2.0" ]
9
2019-11-12T16:43:46.000Z
2020-03-25T16:23:16.000Z
Divo.Suite.start() # Wait for Brook to be ready Process.sleep(5_000) ExUnit.start(exclude: [:performance, :compaction, :skip], timeout: 120_000) Faker.start() defmodule Helper do use Properties, otp_app: :forklift import SmartCity.TestHelper alias SmartCity.TestDataGenerator, as: TDG alias Pipeline.Writer.Tab...
26.628571
153
0.668813
c8759f8a0b006c36ba738f62bf79f7e0b29aa9c5
162
ex
Elixir
lib/safira/admin/accounts/admin_user.ex
cesium/safira
07a02f54f9454db1cfb5a510da68f40c47dcd916
[ "MIT" ]
40
2018-07-04T19:13:45.000Z
2021-12-16T23:53:43.000Z
lib/safira/admin/accounts/admin_user.ex
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
94
2018-07-25T13:13:39.000Z
2022-02-15T04:09:42.000Z
lib/safira/admin/accounts/admin_user.ex
cesium/safira
10dd45357c20e8afc22563f114f49ccb74008114
[ "MIT" ]
5
2018-11-26T17:19:03.000Z
2021-02-23T08:09:37.000Z
defmodule Safira.Admin.Accounts.AdminUser do use Ecto.Schema use Pow.Ecto.Schema schema "admin_users" do pow_user_fields() timestamps() end end
14.727273
44
0.728395
c875c1d1a5aed4a6ca60477764901e8aafd100ee
251
ex
Elixir
apps/neoscan/lib/neoscan.ex
cc1776/neo-scan
49fc9256f5c7ed4e0a7cd43513b27ba5d9d4f287
[ "MIT" ]
1
2021-02-23T02:55:26.000Z
2021-02-23T02:55:26.000Z
apps/neoscan/lib/neoscan.ex
solohin/neo-scan
2aa6dfdb0346b108a20463efe1dcd8bbb00cbc0e
[ "MIT" ]
null
null
null
apps/neoscan/lib/neoscan.ex
solohin/neo-scan
2aa6dfdb0346b108a20463efe1dcd8bbb00cbc0e
[ "MIT" ]
1
2019-10-16T21:37:31.000Z
2019-10-16T21:37:31.000Z
defmodule Neoscan do @moduledoc """ Neoscan keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.1
66
0.752988
c875d0c36c4b7501c3f8722129756608e5794737
1,105
exs
Elixir
test/multipoint_multipolygon_test.exs
otherchris/topo
228c2c371c5e89cd1297662da7701c52c5d8b167
[ "MIT" ]
110
2016-05-05T21:09:19.000Z
2022-03-08T05:22:16.000Z
test/multipoint_multipolygon_test.exs
otherchris/topo
228c2c371c5e89cd1297662da7701c52c5d8b167
[ "MIT" ]
15
2016-12-01T00:32:11.000Z
2022-01-18T13:56:37.000Z
test/multipoint_multipolygon_test.exs
otherchris/topo
228c2c371c5e89cd1297662da7701c52c5d8b167
[ "MIT" ]
24
2016-09-19T20:06:50.000Z
2021-06-16T06:41:10.000Z
defmodule MultiPointMultiPolygonTest do use ExUnit.Case @multipolygon %Geo.MultiPolygon{ coordinates: [ [ [{60, 120}, {60, 40}, {160, 40}, {160, 120}, {60, 120}], [{140, 100}, {80, 100}, {80, 60}, {140, 60}, {140, 100}] ], [[{70, 10}, {100, 10}, {90, 25}, {60, 20}, {70, 10}]] ...
26.95122
64
0.6181
c875de3df7da52220700ddf255276e8a27016902
32
ex
Elixir
examples/hello_nerves/lib/hello_nerves.ex
nerves-project/nerves_system_qemu_arm
0fc2822dd0338aee7beb341e9c2426d3b7e02c2d
[ "Apache-2.0" ]
10
2016-05-01T11:47:46.000Z
2017-08-01T00:27:59.000Z
examples/hello_nerves/lib/hello_nerves.ex
nerves-project/nerves_system_qemu_arm
0fc2822dd0338aee7beb341e9c2426d3b7e02c2d
[ "Apache-2.0" ]
12
2016-08-02T12:23:27.000Z
2018-06-15T15:08:06.000Z
examples/hello_nerves/lib/hello_nerves.ex
nerves-project/nerves_system_qemu_arm
0fc2822dd0338aee7beb341e9c2426d3b7e02c2d
[ "Apache-2.0" ]
6
2016-05-21T06:29:40.000Z
2017-07-16T06:39:57.000Z
defmodule HelloNerves do end
8
24
0.78125
c8760e42a6e6234f4ef20687772ac5a6bf70dc1b
1,160
exs
Elixir
test_app/config/config.exs
nicktime/exreleasy
12bb4ba1ca7343296fe8ae7718329423630d8fa8
[ "Apache-2.0" ]
12
2016-12-12T10:23:21.000Z
2019-03-14T15:38:48.000Z
test_app/config/config.exs
nicktime/exreleasy
12bb4ba1ca7343296fe8ae7718329423630d8fa8
[ "Apache-2.0" ]
9
2017-09-12T20:04:55.000Z
2019-03-04T10:40:18.000Z
test_app/config/config.exs
nicktime/exreleasy
12bb4ba1ca7343296fe8ae7718329423630d8fa8
[ "Apache-2.0" ]
4
2017-08-15T13:03:55.000Z
2019-03-04T09:45:04.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.151515
73
0.752586
c876364b238a5feae6dd6e5ac2227c89fa10f59e
1,799
exs
Elixir
test/new_relixir/plug/phoenix_test.exs
bigfive/new-relixir
2572a5e9d8b922066a643b3a9e289be5bd53ef86
[ "MIT" ]
1
2017-02-22T10:55:43.000Z
2017-02-22T10:55:43.000Z
test/new_relixir/plug/phoenix_test.exs
infinitered/new-relixir
2572a5e9d8b922066a643b3a9e289be5bd53ef86
[ "MIT" ]
null
null
null
test/new_relixir/plug/phoenix_test.exs
infinitered/new-relixir
2572a5e9d8b922066a643b3a9e289be5bd53ef86
[ "MIT" ]
2
2017-02-11T12:28:06.000Z
2018-09-30T18:57:15.000Z
defmodule NewRelixir.Plug.PhoenixTest do use ExUnit.Case, async: false import TestHelpers.Assertions import Plug.Conn @moduletag configured: true setup %{configured: configured} do if configured do Application.put_env(:new_relixir, :application_name, to_char_list("App Name")) Application.pu...
33.943396
95
0.713174
c87651450e46febf1349439084766c6ba79b0518
653
exs
Elixir
config/config.exs
Eein/twitch-api
cc53145b8425f7f8d474e9f20f083ce6856f9d20
[ "MIT" ]
1
2020-02-04T18:38:59.000Z
2020-02-04T18:38:59.000Z
config/config.exs
Eein/helix
cc53145b8425f7f8d474e9f20f083ce6856f9d20
[ "MIT" ]
null
null
null
config/config.exs
Eein/helix
cc53145b8425f7f8d474e9f20f083ce6856f9d20
[ "MIT" ]
null
null
null
import Config config :twitch_api, client_id: System.get_env("TWITCH_API_CLIENT_ID"), client_secret: System.get_env("TWITCH_API_CLIENT_SECRET"), extension_client_id: System.get_env("TWITCH_API_EXTENSION_CLIENT_ID"), extension_client_secret: System.get_env("TWITCH_API_EXTENSION_CLIENT_SECRET"), id_endpoint: Sy...
54.416667
95
0.811639
c8766aa078cf8d1164a02293a1a6e758c5b346ee
18,544
ex
Elixir
lib/bootleg/dsl.ex
parthi82/bootleg
1b8d05bfded54b5ed6845661de516055edd8c498
[ "MIT" ]
null
null
null
lib/bootleg/dsl.ex
parthi82/bootleg
1b8d05bfded54b5ed6845661de516055edd8c498
[ "MIT" ]
null
null
null
lib/bootleg/dsl.ex
parthi82/bootleg
1b8d05bfded54b5ed6845661de516055edd8c498
[ "MIT" ]
null
null
null
defmodule Bootleg.DSL do @moduledoc """ Configuration DSL for Bootleg. """ alias Bootleg.{Config, Role, SSH, UI} defmacro __using__(_) do quote do import Bootleg.DSL, only: [ role: 2, role: 3, config: 2, config: 1, config: 0, bef...
32.647887
105
0.688794
c876756771cc351b4d72025a591c62c2e627f567
492
exs
Elixir
config/test.exs
napcs/realtime_phoenix
7aa5c5c6f9b474459d9550f3e80f5a1e5d5c07af
[ "MIT" ]
3
2015-09-13T02:54:15.000Z
2016-11-22T02:15:18.000Z
config/test.exs
napcs/realtime_phoenix
7aa5c5c6f9b474459d9550f3e80f5a1e5d5c07af
[ "MIT" ]
null
null
null
config/test.exs
napcs/realtime_phoenix
7aa5c5c6f9b474459d9550f3e80f5a1e5d5c07af
[ "MIT" ]
null
null
null
use Mix.Config # We don't run a server during test. If one is required, # you can enable the server option below. config :typepad, Typepad.Endpoint, http: [port: 4001], server: false # Print only warnings and errors during test config :logger, level: :warn # Configure your database config :typepad, Typepad.Repo,...
25.894737
59
0.737805
c876939cf28905798bf7669fbb4c61811f9f49f0
837
exs
Elixir
test/git_hub_actions_test.exs
kianmeng/git_hub_actions
f60cc151d6dc13983132fbf773f3233ca381406d
[ "MIT" ]
6
2021-08-22T22:23:54.000Z
2021-08-29T12:25:53.000Z
test/git_hub_actions_test.exs
kianmeng/git_hub_actions
f60cc151d6dc13983132fbf773f3233ca381406d
[ "MIT" ]
2
2022-02-15T16:36:41.000Z
2022-02-18T17:32:07.000Z
test/git_hub_actions_test.exs
hrzndhrn/git_hub_actions
5d96718cf5aacb017c0b1114ca3283fe75c8913e
[ "MIT" ]
null
null
null
defmodule GitHubActionsTest do use GitHubActionsCase test "default" do file = "default.yml" local_config(output: [path: tmp(), file: file]) assert_run(file) end test "missing --workflow" do assert_raise File.Error, fn -> GitHubActions.run(opts(workflow: "foo.exs")) end end tes...
22.026316
69
0.669056
c8769dbfd4d71a79658412bb800414f4c495c48b
14,830
ex
Elixir
lib/mix/lib/mix/tasks/release.init.ex
RtiWeb/elixir
78fa1763e423a6e11e1f7361ec62a06d0afe9cd5
[ "Apache-2.0" ]
1
2021-12-16T20:32:28.000Z
2021-12-16T20:32:28.000Z
lib/mix/lib/mix/tasks/release.init.ex
RtiWeb/elixir
78fa1763e423a6e11e1f7361ec62a06d0afe9cd5
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/release.init.ex
RtiWeb/elixir
78fa1763e423a6e11e1f7361ec62a06d0afe9cd5
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Release.Init do use Mix.Task @shortdoc "Generates sample files for releases" @moduledoc """ Generates sample files for releases. mix release.init * creating rel/vm.args.eex * creating rel/env.sh.eex * creating rel/env.bat.eex """ import Mix.Generator @swit...
33.476298
340
0.614228
c876b1938c9221670573f39a4207674344a840a5
1,289
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/read_write.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/read_write.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/read_write.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 &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...
28.644444
100
0.754849
c876c28f8b30075a56fb9aa442629c74a6c9a686
298
ex
Elixir
lib/rethink/query.ex
EddyShure/rethink
75a00a3cbea1899c75c772c4cc1daa663c9f66a0
[ "MIT" ]
1
2015-07-04T06:54:01.000Z
2015-07-04T06:54:01.000Z
lib/rethink/query.ex
EddyShure/rethink
75a00a3cbea1899c75c772c4cc1daa663c9f66a0
[ "MIT" ]
1
2015-04-01T17:07:39.000Z
2015-04-01T17:07:39.000Z
lib/rethink/query.ex
EddyShure/rethink
75a00a3cbea1899c75c772c4cc1daa663c9f66a0
[ "MIT" ]
null
null
null
defmodule Rethink.Query do @moduledoc """ The purpose of this module is to craft the query for the RethinkDB server. """ @doc "Encodeds the term (and the 'optargs') to the final query." def encode(query, optargs) do {:ok, json} = JSX.encode([1, query, optargs]) json end end
24.833333
76
0.667785
c876c34268018931e7185c1607c452e51f5232aa
8,601
ex
Elixir
lib/membrane/time.ex
mkaput/membrane-core
f65ae3d847f2c10f3ab20d0c7aa75b0faa274ec7
[ "Apache-2.0" ]
null
null
null
lib/membrane/time.ex
mkaput/membrane-core
f65ae3d847f2c10f3ab20d0c7aa75b0faa274ec7
[ "Apache-2.0" ]
null
null
null
lib/membrane/time.ex
mkaput/membrane-core
f65ae3d847f2c10f3ab20d0c7aa75b0faa274ec7
[ "Apache-2.0" ]
null
null
null
defmodule Membrane.Time do @moduledoc """ Module containing functions needed to perform handling of time. Membrane always internally uses nanosecond as a time unit. This is how all time units should represented in the code unless there's a good reason to act differently. Please note that Erlang VM may int...
22.875
82
0.641437
c876dce0079abf16de69ddc08187afd5773d5296
917
ex
Elixir
RAEM/raem/lib/raem_web/helpers/context_helpers.ex
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
null
null
null
RAEM/raem/lib/raem_web/helpers/context_helpers.ex
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
null
null
null
RAEM/raem/lib/raem_web/helpers/context_helpers.ex
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
2
2018-02-24T19:56:21.000Z
2018-02-26T00:16:41.000Z
defmodule RaemWeb.ContextHelpers do @moduledoc """ This module have some helper functions to Plug.Conn or Phoenix.Socket on bcredi. """ alias Raem.Auth alias Raem.Auth.User alias Phoenix.Socket alias Plug.Conn def current_user(conn_or_socket), do: conn_or_socket.assigns[:current_user] def to_cont...
24.131579
77
0.7012
c8772071abd406d52dcc4f8ff4ab38feedd8de85
4,778
exs
Elixir
test/vintage_net/info_test.exs
nerves-networking/vintage_net
8d4251a0ec995babf8f4d7aa7cc1d74b70646c72
[ "Apache-2.0" ]
85
2019-05-09T14:54:38.000Z
2022-02-08T16:52:04.000Z
test/vintage_net/info_test.exs
nerves-networking/vintage_net
8d4251a0ec995babf8f4d7aa7cc1d74b70646c72
[ "Apache-2.0" ]
132
2019-05-09T15:57:59.000Z
2022-02-28T16:31:22.000Z
test/vintage_net/info_test.exs
nerves-networking/vintage_net
8d4251a0ec995babf8f4d7aa7cc1d74b70646c72
[ "Apache-2.0" ]
14
2019-07-08T19:18:23.000Z
2022-02-08T16:52:05.000Z
defmodule VintageNet.InfoTest do use VintageNetTest.Case import ExUnit.CaptureIO import ExUnit.CaptureLog alias VintageNet.Info doctest Info setup do # Capture Application exited logs capture_log(fn -> Application.stop(:vintage_net) Application.start(:vintage_net) end) # Remo...
29.493827
91
0.602553
c8772d69f89f29172d7b9f065dc9bef55cfc58bb
584
exs
Elixir
priv/repo/migrations/20180822093044_create_favorites_categories.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
1
2019-05-07T15:03:54.000Z
2019-05-07T15:03:54.000Z
priv/repo/migrations/20180822093044_create_favorites_categories.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
priv/repo/migrations/20180822093044_create_favorites_categories.exs
DavidAlphaFox/coderplanets_server
3fd47bf3bba6cc04c9a34698201a60ad2f3e8254
[ "Apache-2.0" ]
null
null
null
defmodule MastaniServer.Repo.Migrations.CreateFavoritesCategories do use Ecto.Migration def change do create table(:favorite_categories) do add(:user_id, references(:users, on_delete: :delete_all, null: false)) add(:post_id, references(:cms_posts, on_delete: :delete_all)) # add(:job_id, refer...
29.2
81
0.693493
c87742047755356bd71c2d3fcf8fde8fceb396bf
70
ex
Elixir
apps/wdpa_phoenix/web/views/country_view.ex
lucidstack/wdpa-tracker
da9a10d08bf5b23aff696aee33f5d6ad1089079d
[ "MIT" ]
4
2016-05-08T10:17:19.000Z
2019-06-10T15:23:20.000Z
apps/wdpa_phoenix/web/views/country_view.ex
lucidstack/wdpa-tracker
da9a10d08bf5b23aff696aee33f5d6ad1089079d
[ "MIT" ]
null
null
null
apps/wdpa_phoenix/web/views/country_view.ex
lucidstack/wdpa-tracker
da9a10d08bf5b23aff696aee33f5d6ad1089079d
[ "MIT" ]
null
null
null
defmodule WdpaPhoenix.CountryView do use WdpaPhoenix.Web, :view end
17.5
36
0.814286
c877517074ad221c5bade9301bb1b35e365e29f5
2,052
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/creative_groups_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/creative_groups_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v34/model/creative_groups_list_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.716981
198
0.741715
c8775bdb5af4299dc4285ed1619ee5876f1a2687
748
exs
Elixir
mix.exs
xing/game_of_life
ee35f9c65fd3e70b69d3f2e9a88546ee66e803c8
[ "MIT" ]
null
null
null
mix.exs
xing/game_of_life
ee35f9c65fd3e70b69d3f2e9a88546ee66e803c8
[ "MIT" ]
null
null
null
mix.exs
xing/game_of_life
ee35f9c65fd3e70b69d3f2e9a88546ee66e803c8
[ "MIT" ]
null
null
null
defmodule GameOfLife.Mixfile do use Mix.Project def project do [app: :game_of_life, version: "0.1.0", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), aliases: [test: "test --no-start"]] end # Configuration for the OTP appli...
21.371429
77
0.600267
c877a17879b0eea86bedff6b629963d536be164c
6,479
ex
Elixir
lib/glimesh_web/controllers/user_auth.ex
DeeRock94/glimesh.tv
e4517e4e3b03f98a3cab2d16b82f365e3b23fd9d
[ "MIT" ]
null
null
null
lib/glimesh_web/controllers/user_auth.ex
DeeRock94/glimesh.tv
e4517e4e3b03f98a3cab2d16b82f365e3b23fd9d
[ "MIT" ]
null
null
null
lib/glimesh_web/controllers/user_auth.ex
DeeRock94/glimesh.tv
e4517e4e3b03f98a3cab2d16b82f365e3b23fd9d
[ "MIT" ]
null
null
null
defmodule GlimeshWeb.UserAuth do import Plug.Conn import Phoenix.Controller alias Glimesh.Accounts alias GlimeshWeb.Endpoint alias GlimeshWeb.Router.Helpers, as: Routes # Make the remember me cookie valid for 60 days. # If you want bump or reduce this value, also change # the token expiry itself in Us...
28.924107
84
0.683284
c877c036e993d9c16bdcab9912534a7fd2abdc8e
270
ex
Elixir
apps/engine/lib/engine/ethereum/event/coordinator/service.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
4
2020-11-30T17:38:57.000Z
2021-01-23T21:29:41.000Z
apps/engine/lib/engine/ethereum/event/coordinator/service.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
24
2020-11-30T17:32:48.000Z
2021-02-22T06:25:22.000Z
apps/engine/lib/engine/ethereum/event/coordinator/service.ex
omgnetwork/omg-childchain-v2
31cc9cf9e42718fc3b9bd6668f24a627cac80b4f
[ "Apache-2.0" ]
null
null
null
defmodule Engine.Ethereum.Event.Coordinator.Service do @moduledoc """ Represents a state of a service that is coordinated by `Coordinator.Core` """ defstruct synced_height: nil, pid: nil @type t() :: %__MODULE__{synced_height: pos_integer(), pid: pid()} end
27
75
0.725926
c877fcdab9cd14c8d77452b5fb8abcb28f550412
452
ex
Elixir
apps/my_app/lib/my_app/application.ex
robmckinnon/phoenix-umbrella-with-node-js-example
48cce2d9d9fc4564bc5983840c66d09c6594462d
[ "MIT" ]
null
null
null
apps/my_app/lib/my_app/application.ex
robmckinnon/phoenix-umbrella-with-node-js-example
48cce2d9d9fc4564bc5983840c66d09c6594462d
[ "MIT" ]
null
null
null
apps/my_app/lib/my_app/application.ex
robmckinnon/phoenix-umbrella-with-node-js-example
48cce2d9d9fc4564bc5983840c66d09c6594462d
[ "MIT" ]
null
null
null
defmodule MyApp.Application do @moduledoc """ The MyApp Application Service. The my_app system business domain lives in this application. Exposes API to clients such as the `MyAppWeb` application for use in channels, controllers, and elsewhere. """ use Application def start(_type, _args) do impor...
22.6
62
0.721239
c8784be7b90bd0f029098c566dcf0a4cb6f7633f
720
ex
Elixir
lib/leafblower_web/gettext.ex
aquap/leafblower
aa5f48dc99efef405af84de072199eaa3b13c02f
[ "Apache-2.0" ]
31
2021-11-28T05:48:48.000Z
2022-02-03T01:46:17.000Z
lib/leafblower_web/gettext.ex
aquap/leafblower
aa5f48dc99efef405af84de072199eaa3b13c02f
[ "Apache-2.0" ]
8
2021-11-28T06:38:17.000Z
2021-12-10T01:21:17.000Z
lib/leafblower_web/gettext.ex
aquap/leafblower
aa5f48dc99efef405af84de072199eaa3b13c02f
[ "Apache-2.0" ]
2
2021-11-28T21:09:47.000Z
2022-01-16T03:51:21.000Z
defmodule LeafblowerWeb.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 LeafblowerWeb.Gettext # Simple translation gettext("Her...
28.8
72
0.681944
c8785108381b3f5cf6d90f5b9536b5a024f4b325
2,124
exs
Elixir
ex/apps/corals/test/examples/dominoes/corals/table_rules.exs
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
ex/apps/corals/test/examples/dominoes/corals/table_rules.exs
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
ex/apps/corals/test/examples/dominoes/corals/table_rules.exs
limadelic/corals
be1730551ce7420f12b3b689c79ebd7571892d53
[ "MIT" ]
null
null
null
defmodule Dominoes.Table do import Corals import Enum, only: [shuffle: 1, take: 2, chunk_every: 2] import List, only: [last: 1] @dominoes for x <- 0..9, y <- x..9, do: [x,y] define __MODULE__, %{ rules: [ [ table: [ _@heads: fn [] -> [] [domino] -> domin...
25.285714
98
0.398305
c8785c831459f70b3df67723ccac40f199590e9e
83
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_or_operation_parsing_test_case/MatchedTwoOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_or_operation_parsing_test_case/MatchedTwoOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_or_operation_parsing_test_case/MatchedTwoOperation.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
one ++ two || three -- four one <> two ||| three..four one ++ two or three <> four
20.75
27
0.566265
c8788fbd5e54e32baab63d954b77803727fa0e85
15,297
ex
Elixir
lib/elixir/lib/map.ex
jovannypcg/elixir
de3f5df7fdcda79e2661f9cee6005707e7e8d030
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/map.ex
jovannypcg/elixir
de3f5df7fdcda79e2661f9cee6005707e7e8d030
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/map.ex
jovannypcg/elixir
de3f5df7fdcda79e2661f9cee6005707e7e8d030
[ "Apache-2.0" ]
null
null
null
defmodule Map do @moduledoc """ A set of functions for working with maps. Maps are key-value stores where keys can be any value and are compared using the match operator (`===`). Maps can be created with the `%{}` special form defined in the `Kernel.SpecialForms` module. """ @type key :: any @type v...
23.283105
99
0.555534
c8789f4964ec386c63667a7a3cee14c7329349d7
3,799
ex
Elixir
lib/koans/12_pattern_matching.ex
Gonzih/elixir-koans
3e5da6d2e35fa7df562cb1ba03a12453e7af9d5a
[ "MIT" ]
null
null
null
lib/koans/12_pattern_matching.ex
Gonzih/elixir-koans
3e5da6d2e35fa7df562cb1ba03a12453e7af9d5a
[ "MIT" ]
null
null
null
lib/koans/12_pattern_matching.ex
Gonzih/elixir-koans
3e5da6d2e35fa7df562cb1ba03a12453e7af9d5a
[ "MIT" ]
null
null
null
defmodule PatternMatching do use Koans @intro "PatternMatching" koan "One matches one" do assert match?(1, 1) end koan "Patterns can be used to pull things apart" do [head | tail] = [1, 2, 3, 4] assert head == 1 assert tail == [2,3,4] end koan "And then put them back together" do ...
22.748503
101
0.59542
c878a6fa0a32aeed525db44123e1cc353dbe74e5
318
ex
Elixir
lib/hl7/2.5/segments/isd.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/isd.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
lib/hl7/2.5/segments/isd.ex
calvinb/elixir-hl7
5e953fa11f9184857c0ec4dda8662889f35a6bec
[ "Apache-2.0" ]
null
null
null
defmodule HL7.V2_5.Segments.ISD do @moduledoc false require Logger alias HL7.V2_5.{DataTypes} use HL7.Segment, fields: [ segment: nil, reference_interaction_number_unique_identifier: nil, interaction_type_identifier: DataTypes.Ce, interaction_active_state: DataTypes.Ce ] end
21.2
58
0.726415
c878eb370a5ee0e0c8118f08cecfab99176a6d09
1,545
exs
Elixir
test/plural_rules/decimal_plural_rule_test.exs
szTheory/cldr
30e67d2e5ff13a61c29586a7cfad79995b070e1a
[ "Apache-2.0" ]
null
null
null
test/plural_rules/decimal_plural_rule_test.exs
szTheory/cldr
30e67d2e5ff13a61c29586a7cfad79995b070e1a
[ "Apache-2.0" ]
null
null
null
test/plural_rules/decimal_plural_rule_test.exs
szTheory/cldr
30e67d2e5ff13a61c29586a7cfad79995b070e1a
[ "Apache-2.0" ]
null
null
null
defmodule Decimal.PluralRule.Test do use ExUnit.Case @moduletag :slow @sample_types [:decimal] @modules [TestBackend.Cldr.Number.Cardinal, TestBackend.Cldr.Number.Ordinal] for module <- @modules, # module.known_locale_names, locale_name <- ["kw"], {category, rule} <- module.plural_rules_fo...
32.87234
106
0.566343
c878f22d9537461c41dd6fdd2a7c790072f6f06f
109,374
ex
Elixir
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/api/bidders.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/api/bidders.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
null
null
null
clients/ad_exchange_buyer/lib/google_api/ad_exchange_buyer/v2beta1/api/bidders.ex
nuxlli/elixir-google-api
ecb8679ac7282b7dd314c3e20c250710ec6a7870
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
50.847978
519
0.681003
c8790206f5a460f7027967b775bce4ec13a6b82e
3,053
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/video_status.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_status.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/video_status.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 &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...
48.460317
240
0.745824
c879136e0ebc8cd0fd06e574821121edbf7222fc
768
exs
Elixir
services/fc_identity/test/fc_identity/commands/add_user_test.exs
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
services/fc_identity/test/fc_identity/commands/add_user_test.exs
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
services/fc_identity/test/fc_identity/commands/add_user_test.exs
dclausen/freshcom
7e1d6397c8ab222cfd03830232cee0718f050490
[ "BSD-3-Clause" ]
null
null
null
defmodule FCIdentity.AddUserTest do use FCIdentity.UnitCase, async: true import FCSupport.Validation alias FCIdentity.UsernameStore alias FCIdentity.AddUser describe "validations" do test "given existing username" do account_id = uuid4() UsernameStore.put("roy", uuid4(), account_id) cm...
23.272727
60
0.641927
c8792397b10c7e1175120b05601397c8d42de652
1,769
ex
Elixir
lib/ex_gremlin/graph/edge.ex
chaehb/ex_gremlin
209e00f8dceeb80d0d3765e99b7387285ff103ce
[ "MIT" ]
1
2021-05-10T06:10:54.000Z
2021-05-10T06:10:54.000Z
lib/ex_gremlin/graph/edge.ex
chaehb/ex_gremlin
209e00f8dceeb80d0d3765e99b7387285ff103ce
[ "MIT" ]
null
null
null
lib/ex_gremlin/graph/edge.ex
chaehb/ex_gremlin
209e00f8dceeb80d0d3765e99b7387285ff103ce
[ "MIT" ]
null
null
null
defmodule ExGremlin.Edge do @moduledoc """ originally made by Gremlex """ alias ExGremlin.Deserializer @enforce_keys [:label, :id, :in_vertex, :out_vertex, :properties] @derive [Jason.Encoder] @type t :: %ExGremlin.Edge{ label: String.t(), id: number(), properties: map(), ...
24.569444
78
0.592425
c8793b2af8a0fe53bc82a6fcd884187ae27d2fbb
1,348
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/model/delete_tag_binding_metadata.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/model/delete_tag_binding_metadata.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v3/model/delete_tag_binding_metadata.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "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...
32.095238
96
0.776706
c879696ea5111cbf79d20c1179376a4c9d010ed6
350
ex
Elixir
lib/accent/helpers/casing.ex
neVERberleRfellerER/accent
b6725d547f877e5173509e806bb4330e09f7542e
[ "MIT" ]
15
2017-04-13T05:09:16.000Z
2019-04-12T16:43:40.000Z
lib/accent/helpers/casing.ex
neVERberleRfellerER/accent
b6725d547f877e5173509e806bb4330e09f7542e
[ "MIT" ]
15
2019-12-24T03:55:30.000Z
2021-07-23T14:04:45.000Z
lib/accent/helpers/casing.ex
neVERberleRfellerER/accent
b6725d547f877e5173509e806bb4330e09f7542e
[ "MIT" ]
11
2017-09-01T14:08:10.000Z
2019-12-22T03:22:56.000Z
defmodule Accent.Helpers.Casing do @moduledoc false @spec lower?(binary) :: boolean def lower?(char) do char == String.downcase(char) && (String.upcase(char) != String.downcase(char)) end @spec upper?(binary) :: boolean def upper?(char) do char == String.upcase(char) && (String.upcase(char) != Str...
25
83
0.671429
c8796f8a27a29e7e8025b0fc335be78db50aedd2
4,934
exs
Elixir
test/comparator_web/controllers/user_settings_controller_test.exs
jellybob/comparator
e9528341366641baa7fa49690fdd6ffa3e2159a0
[ "MIT" ]
null
null
null
test/comparator_web/controllers/user_settings_controller_test.exs
jellybob/comparator
e9528341366641baa7fa49690fdd6ffa3e2159a0
[ "MIT" ]
null
null
null
test/comparator_web/controllers/user_settings_controller_test.exs
jellybob/comparator
e9528341366641baa7fa49690fdd6ffa3e2159a0
[ "MIT" ]
null
null
null
defmodule ComparatorWeb.UserSettingsControllerTest do use ComparatorWeb.ConnCase, async: true alias Comparator.Auth import Comparator.AuthFixtures setup :register_and_log_in_user describe "GET /users/settings" do test "renders settings page", %{conn: conn} do conn = get(conn, Routes.user_settings...
37.953846
96
0.649169
c8797a8f2aaacabc82793d3dfe149b8c40219af6
67
exs
Elixir
test/ecto_term_test.exs
fremantle-industries/ecto_term
317181810e97a85c8d40b5083f3617c187b0bf7f
[ "MIT" ]
1
2021-06-04T14:57:21.000Z
2021-06-04T14:57:21.000Z
test/ecto_term_test.exs
fremantle-industries/ecto_term
317181810e97a85c8d40b5083f3617c187b0bf7f
[ "MIT" ]
11
2021-08-01T17:02:30.000Z
2022-02-01T17:02:11.000Z
test/ecto_term_test.exs
fremantle-industries/ecto_term
317181810e97a85c8d40b5083f3617c187b0bf7f
[ "MIT" ]
null
null
null
defmodule EctoTermTest do use ExUnit.Case doctest EctoTerm end
13.4
25
0.80597