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
ab936bbcb59f8869e40fa3894b4a3a82012dfe8b
224
exs
Elixir
priv/repo/migrations/20180322165819_drop_auth_application.exs
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
priv/repo/migrations/20180322165819_drop_auth_application.exs
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
priv/repo/migrations/20180322165819_drop_auth_application.exs
doc-ai/accent
e337e16f3658cc0728364f952c0d9c13710ebb06
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Accent.Repo.Migrations.DropAuthApplication do use Ecto.Migration def change do alter table(:auth_access_tokens) do remove(:auth_application_id) end drop(table(:auth_applications)) end end
18.666667
55
0.745536
ab936e8178a64acbf4ade4216f02baba6e5a1c8c
581
ex
Elixir
learning/omgneering/elhex_delivery/lib/postal_code/store.ex
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
2
2020-01-20T20:15:20.000Z
2020-02-27T11:08:42.000Z
learning/omgneering/elhex_delivery/lib/postal_code/store.ex
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
learning/omgneering/elhex_delivery/lib/postal_code/store.ex
Mdlkxzmcp/various_elixir
c87527b7118a0c74a042073c04d2228025888ddf
[ "MIT" ]
null
null
null
defmodule ElhexDelivery.PostalCode.Store do use GenServer alias ElhexDelivery.PostalCode.DataParser def start_link do GenServer.start_link(__MODULE__, %{}, name: :postal_code_store) end def init(_) do {:ok, DataParser.parse_data()} end def get_geolocation(postal_code) do GenServer.call(:pos...
24.208333
78
0.75043
ab938e548d436b621fcd93cf809c46b1272126d4
631
ex
Elixir
lib/power_assert/debug.ex
szTheory/power_assert_ex
0ae79b6b1e801bd5395a689a203c577650ae774d
[ "Apache-2.0" ]
null
null
null
lib/power_assert/debug.ex
szTheory/power_assert_ex
0ae79b6b1e801bd5395a689a203c577650ae774d
[ "Apache-2.0" ]
null
null
null
lib/power_assert/debug.ex
szTheory/power_assert_ex
0ae79b6b1e801bd5395a689a203c577650ae774d
[ "Apache-2.0" ]
null
null
null
defmodule PowerAssert.Debug do import PowerAssert.Assertion @moduledoc """ This module provides debug utilities """ @doc """ execute code with inspected prints useful for debug iex> puts_expr(x |> Enum.at(y)) x |> Enum.at(y) | | | | 3 2 [1, 2, 3, 4] 3 """ defmacro puts...
21.033333
101
0.646593
ab93a778c1b4b138f5926d951a9e8b8a6affe91d
1,054
exs
Elixir
test/ex338/fantasy_leagues/historical_winning_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
17
2016-12-22T06:39:26.000Z
2021-01-20T13:51:13.000Z
test/ex338/fantasy_leagues/historical_winning_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
608
2016-08-06T18:57:58.000Z
2022-03-01T02:48:17.000Z
test/ex338/fantasy_leagues/historical_winning_test.exs
axelclark/ex338
3fb3c260d93bda61f7636ee1a677770d2dc1b89a
[ "MIT" ]
6
2017-11-21T22:35:45.000Z
2022-01-11T21:37:40.000Z
defmodule Ex338.FantasyLeagues.HistoricalWinningTest do use Ex338.DataCase, aysnc: true alias Ex338.FantasyLeagues.HistoricalWinning describe "changeset/2" do @valid_attrs %{ team: "Brown", amount: 213 } test "changeset with valid attributes" do changeset = HistoricalWinning.change...
25.707317
83
0.659393
ab93b37f6244149bdd05e836e658bf1de9db2233
4,792
ex
Elixir
apps/ewallet/lib/ewallet/gates/exchange_pair_gate.ex
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/gates/exchange_pair_gate.ex
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
apps/ewallet/lib/ewallet/gates/exchange_pair_gate.ex
enyan94/ewallet
e938e686319867d133b21cd0eb5496e213ae7620
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
28.694611
97
0.612062
ab93f652a47defd350f4304ce48a6b7cfbfedd58
3,976
ex
Elixir
lib/aws/generated/sage_maker_feature_store_runtime.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/sage_maker_feature_store_runtime.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/sage_maker_feature_store_runtime.ex
qyon-brazil/aws-elixir
f7f21bebffc6776f95ffe9ef563cf368773438af
[ "Apache-2.0" ]
1
2020-10-28T08:56:54.000Z
2020-10-28T08:56:54.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.SageMakerFeatureStoreRuntime do @moduledoc """ Contains all data plane API operations and data types for the Amazon SageMaker Feature Store. Use this API to put, delete, and retrieve (get...
28.198582
119
0.665996
ab940591168e320d7665c0d6401f4ce864b487e3
180
ex
Elixir
daniel/almeida/ch3/ex01.ex
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
null
null
null
daniel/almeida/ch3/ex01.ex
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
1
2020-02-26T14:55:23.000Z
2020-02-26T14:55:23.000Z
daniel/almeida/ch3/ex01.ex
jdashton/glowing-succotash
44580c2d4cb300e33156d42e358e8a055948a079
[ "MIT" ]
null
null
null
defmodule RPGPoints do def total_cost(%{ strength: strength, dexterity: dexterity, intelligence: intelligence }) do strength * 2 + dexterity * 3 + intelligence * 3 end end
30
94
0.727778
ab944704d0615f19ce1ef2d2c3bcf8a4e331032c
2,935
ex
Elixir
clients/container/lib/google_api/container/v1/model/set_monitoring_service_request.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/set_monitoring_service_request.ex
kaaboaye/elixir-google-api
1896784c4342151fd25becd089a5beb323eff567
[ "Apache-2.0" ]
null
null
null
clients/container/lib/google_api/container/v1/model/set_monitoring_service_request.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...
40.763889
140
0.710051
ab94577c888cfda9cde98eb6fd86747f6ba604d3
2,193
exs
Elixir
market_api/config/prod.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
market_api/config/prod.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
market_api/config/prod.exs
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
use Mix.Config # For production, we configure the host to read the PORT # from the system environment. Therefore, you will need # to set PORT=80 before running your server. # # You should also configure the url host to something # meaningful, we use this information when generating URLs. # # Finally, we also include t...
33.227273
67
0.715458
ab946b01c5499fed4ce1c10e0fedf42427bb9709
1,681
exs
Elixir
config/dev.exs
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
config/dev.exs
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "MIT" ]
null
null
null
config/dev.exs
Devotu/magirator_app_channel
75810edaef8f781981366702556da85460c07073
[ "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 :magirator_app_channel, MagiratorAppChannelWeb.E...
34.306122
170
0.725164
ab949a3c2d055c90f936da510d2b7aad30e2b032
72,231
ex
Elixir
lib/aws/generated/ssm.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/ssm.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/ssm.ex
pecigonzalo/aws-elixir
b52181ebfb9e62349dc8e8067b7fbcd4f7a18c68
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.SSM do @moduledoc """ Amazon Web Services Systems Manager is a collection of capabilities that helps you automate management tasks such as collecting system inventory, applying operating s...
39.709181
187
0.737135
ab94c76d5f455e606b0c3cae0830734f54c5ecb5
1,123
ex
Elixir
lib/aws/signature.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
lib/aws/signature.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
lib/aws/signature.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
defmodule AWS.Signature do @moduledoc false alias AWS.Client # https://docs.aws.amazon.com/general/latest/gr/sigv4_changes.html @default_region_for_global_services "us-east-1" @doc """ Generate headers with an AWS signature version 4 for the specified request using the specified time. """ def sign_...
27.390244
96
0.695459
ab94ce3810e6b32309a0e06ccda4227e0032b34a
901
ex
Elixir
lib/yearly.ex
DevL/laos
dd766bef4c1056c17f913fea4fbeb9f56acd0530
[ "MIT" ]
null
null
null
lib/yearly.ex
DevL/laos
dd766bef4c1056c17f913fea4fbeb9f56acd0530
[ "MIT" ]
null
null
null
lib/yearly.ex
DevL/laos
dd766bef4c1056c17f913fea4fbeb9f56acd0530
[ "MIT" ]
null
null
null
defmodule Yearly do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec, warn: false children = [ # Start the endpoint when the application starts supervisor(Yearly.End...
31.068966
71
0.716981
ab94de78b9f0113141220df10498c1d1b9cd74e3
1,548
exs
Elixir
test/mix/tasks/hedwig.gen.robot_test.exs
scrogson/hedwig
a453847d04a9d730952fc5b2f8239848f4285573
[ "MIT" ]
51
2015-01-15T10:47:58.000Z
2020-10-21T19:55:23.000Z
test/mix/tasks/hedwig.gen.robot_test.exs
scrogson/hedwig
a453847d04a9d730952fc5b2f8239848f4285573
[ "MIT" ]
13
2015-01-27T13:39:45.000Z
2015-09-10T22:16:45.000Z
test/mix/tasks/hedwig.gen.robot_test.exs
scrogson/hedwig
a453847d04a9d730952fc5b2f8239848f4285573
[ "MIT" ]
16
2015-04-02T10:24:16.000Z
2022-01-04T10:34:40.000Z
defmodule Mix.Tasks.Ecto.Gen.RepoTest do use ExUnit.Case import ExUnit.CaptureIO import Hedwig.FileHelpers import Mix.Tasks.Hedwig.Gen.Robot, only: [run: 1] test "generates a new robot" do in_tmp fn _ -> capture_io("1", fn -> run ["--name", "alfred"] end) assert_file "lib/hedwig/robot.ex", ...
23.104478
83
0.56137
ab9503908bf9faa063aa1f09eaedbaf80de3b561
1,731
ex
Elixir
lib/renaissance/helpers/validators.ex
xray/Renaissance
38201fb2160d88239a55020383c59fc8034c9554
[ "Unlicense" ]
2
2021-02-01T12:09:07.000Z
2021-03-14T12:20:43.000Z
lib/renaissance/helpers/validators.ex
xray/Renaissance
38201fb2160d88239a55020383c59fc8034c9554
[ "Unlicense" ]
11
2019-04-09T18:01:16.000Z
2019-05-16T15:02:24.000Z
lib/renaissance/helpers/validators.ex
xray/Renaissance
38201fb2160d88239a55020383c59fc8034c9554
[ "Unlicense" ]
2
2019-04-30T22:43:18.000Z
2019-05-15T20:34:49.000Z
defmodule Renaissance.Helpers.Validators do import Ecto.Changeset alias Renaissance.{Auction, Auctions, Bids, Helpers, Repo} def validate_starting_amount(changeset) do validate_amount(changeset, :starting_amount, Money.new(0)) end def validate_bid_amount(changeset) do minimum = get_change(chan...
25.086957
78
0.688619
ab953bd8f23bcbe24c09ccab08edf7204eac18c8
8,024
exs
Elixir
test/geo/wkt_test.exs
aseigo/geo
327d6df8e16cb68a3ad295707e5215d5a2153ae2
[ "MIT" ]
null
null
null
test/geo/wkt_test.exs
aseigo/geo
327d6df8e16cb68a3ad295707e5215d5a2153ae2
[ "MIT" ]
null
null
null
test/geo/wkt_test.exs
aseigo/geo
327d6df8e16cb68a3ad295707e5215d5a2153ae2
[ "MIT" ]
null
null
null
defmodule Geo.WKT.Test do use ExUnit.Case, async: false test "Encode Point to WKT" do geom = %Geo.Point{coordinates: {30, -90}} assert(Geo.WKT.encode!(geom) == "POINT(30 -90)") end test "Decode WKT to Point" do point = Geo.WKT.decode!("POINT(30 -90)") assert(point.coordinates == {30, -90}) e...
28.759857
126
0.536391
ab956cae2427b63d457ed56cfaabf4f742b393f0
168
exs
Elixir
chromoid_web/priv/repo/migrations/20210201163811_drop_nfc_table.exs
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
7
2020-11-18T11:29:20.000Z
2022-01-16T03:16:14.000Z
chromoid_web/priv/repo/migrations/20210201163811_drop_nfc_table.exs
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
null
null
null
chromoid_web/priv/repo/migrations/20210201163811_drop_nfc_table.exs
ConnorRigby/chromoid
6424a9234227d18d7c287ded869caeb31511bb97
[ "Apache-2.0" ]
1
2021-01-06T15:40:46.000Z
2021-01-06T15:40:46.000Z
defmodule Chromoid.Repo.Migrations.DropNfcTable do use Ecto.Migration def change do drop unique_index(:nfc, [:device_id, :uid]) drop table(:nfc) end end
18.666667
50
0.720238
ab9575ef93103c9f3ab563821ca1e48ca7e8ed11
1,904
ex
Elixir
aoc21/lib/day10.ex
sastels/advent-of-code-2021
7cefbb8bf08cce2c4a4e9517ecbaf49459a8671a
[ "MIT" ]
null
null
null
aoc21/lib/day10.ex
sastels/advent-of-code-2021
7cefbb8bf08cce2c4a4e9517ecbaf49459a8671a
[ "MIT" ]
null
null
null
aoc21/lib/day10.ex
sastels/advent-of-code-2021
7cefbb8bf08cce2c4a4e9517ecbaf49459a8671a
[ "MIT" ]
null
null
null
defmodule Day10 do def is_opening?("("), do: true def is_opening?("["), do: true def is_opening?("{"), do: true def is_opening?("<"), do: true def is_opening?(_), do: false def is_matching?("(", ")"), do: true def is_matching?("[", "]"), do: true def is_matching?("{", "}"), do: true def is_matching?(...
22.666667
53
0.516282
ab958d313a0f7d63305edc3f416e016510f96e8d
251
exs
Elixir
elixir/priv/repo/migrations/20210311190004_create_categories.exs
najens/web-homework
ad0b54f4faf59997385274305ea82c56d9bf11dc
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/20210311190004_create_categories.exs
najens/web-homework
ad0b54f4faf59997385274305ea82c56d9bf11dc
[ "MIT" ]
null
null
null
elixir/priv/repo/migrations/20210311190004_create_categories.exs
najens/web-homework
ad0b54f4faf59997385274305ea82c56d9bf11dc
[ "MIT" ]
null
null
null
defmodule Homework.Repo.Migrations.CreateCategories do use Ecto.Migration def change do create table(:categories, primary_key: false) do add(:id, :uuid, primary_key: true) add(:name, :string) timestamps() end end end
19.307692
54
0.681275
ab95b33b5dad972b4339b948e5487eb90b027ec2
147
ex
Elixir
lib/logjam_agent/controller.ex
xing/exbeetle
6c64ddd7568ef9f79bbabdb4b481ae64b5f2398c
[ "MIT" ]
3
2018-02-02T14:38:21.000Z
2018-02-05T17:33:35.000Z
lib/logjam_agent/controller.ex
xing/elixir_logjam_agent
6c64ddd7568ef9f79bbabdb4b481ae64b5f2398c
[ "MIT" ]
null
null
null
lib/logjam_agent/controller.ex
xing/elixir_logjam_agent
6c64ddd7568ef9f79bbabdb4b481ae64b5f2398c
[ "MIT" ]
null
null
null
defmodule LogjamAgent.Controller do defmacro __using__(_) do quote do require Logger import LogjamAgent.Action end end end
16.333333
35
0.707483
ab95c0820bd4e0d965ba56998104c9fe8d261071
1,543
ex
Elixir
lib/vending_machine/display/payment_display.ex
sukaant/vending_machine
c404db817ffd17f32ba004caae70627995affd36
[ "Apache-2.0" ]
null
null
null
lib/vending_machine/display/payment_display.ex
sukaant/vending_machine
c404db817ffd17f32ba004caae70627995affd36
[ "Apache-2.0" ]
null
null
null
lib/vending_machine/display/payment_display.ex
sukaant/vending_machine
c404db817ffd17f32ba004caae70627995affd36
[ "Apache-2.0" ]
1
2020-10-18T00:17:29.000Z
2020-10-18T00:17:29.000Z
defmodule VendingMachine.PaymentDisplay do alias VendingMachine.{Display} alias IEx.Helpers def display_amount(amount_required, amount_added, price) do Helpers.clear() Display.print_border_line() Display.print_insert_money() Display.print_center_line() Display.print_item_price("#{price}") ...
28.574074
61
0.751782
ab95c7a9cfbb3d66252cb15ca911a39a14f67e94
1,512
ex
Elixir
lib/credo/check/readability/module_attribute_names.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/check/readability/module_attribute_names.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
lib/credo/check/readability/module_attribute_names.ex
jlgeering/credo
b952190ed758c262aa0d9bbee01227f9b1f0c63b
[ "MIT" ]
null
null
null
defmodule Credo.Check.Readability.ModuleAttributeNames do @moduledoc """ Module attribute names are always written in snake_case in Elixir. # snake_case @inbox_name "incoming" # not snake_case @inboxName "incoming" Like all `Readability` issues, this one is not a technical concern. ...
23.625
79
0.655423
ab9605ae44713cdf3e6ca6268cf401741e533271
3,856
ex
Elixir
apps/nerves_hub_web_core/lib/nerves_hub_web_core/firmwares/firmware.ex
hassanshaikley/nerves_hub_web
9e187eacc0fbaa848d157b832a9ee6223019f0bd
[ "Apache-2.0" ]
1
2019-10-13T10:56:28.000Z
2019-10-13T10:56:28.000Z
apps/nerves_hub_web_core/lib/nerves_hub_web_core/firmwares/firmware.ex
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
null
null
null
apps/nerves_hub_web_core/lib/nerves_hub_web_core/firmwares/firmware.ex
Eaftos/nerves_hub_web
ac03bd044b97265bf3ba3edd8da249d300fa3668
[ "Apache-2.0" ]
null
null
null
defmodule NervesHubWebCore.Firmwares.Firmware do use Ecto.Schema import Ecto.Changeset import Ecto.Query alias NervesHubWebCore.Accounts alias NervesHubWebCore.Accounts.Org alias NervesHubWebCore.Accounts.OrgKey alias NervesHubWebCore.Deployments.Deployment alias NervesHubWebCore.Products.Product al...
25.536424
99
0.683869
ab9612903f506bd87b2249e2465c5db0637f3d98
22,778
ex
Elixir
lib/aws/generated/elastic_load_balancing.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/elastic_load_balancing.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
lib/aws/generated/elastic_load_balancing.ex
benmmari/aws-elixir
b97477498a9e8ba0d46a09255302d88c6a1c8573
[ "Apache-2.0" ]
null
null
null
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.ElasticLoadBalancing do @moduledoc """ Elastic Load Balancing A load balancer can distribute incoming traffic across your EC2 instances. This enables you to increase the availability of y...
41.871324
148
0.757617
ab96149d70ee2556eddb0a5ca717a8b55234d027
1,665
ex
Elixir
projects/standup/lib/standup_web/controllers/auth_controller.ex
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
1
2020-02-11T06:00:11.000Z
2020-02-11T06:00:11.000Z
projects/standup/lib/standup_web/controllers/auth_controller.ex
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
1
2017-09-23T19:41:29.000Z
2017-09-25T05:12:38.000Z
projects/standup/lib/standup_web/controllers/auth_controller.ex
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
null
null
null
defmodule StandupWeb.AuthController do use StandupWeb, :controller alias Standup.Accounts alias Standup.Accounts.User alias Standup.Authors alias StandupWeb.Guardian def new(conn, _params) do conn |> assign(:changeset, Accounts.change_user(%User{})) |> render("new.html") end def create(c...
24.850746
76
0.593393
ab9623d652eb6045147696df9fc0d9c6315a4821
61,584
ex
Elixir
clients/access_context_manager/lib/google_api/access_context_manager/v1/api/access_policies.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/access_context_manager/lib/google_api/access_context_manager/v1/api/access_policies.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/access_context_manager/lib/google_api/access_context_manager/v1/api/access_policies.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...
47.591963
768
0.630602
ab965e47ecb96195306edde22c9f8ed2a9fc0ee3
3,780
exs
Elixir
test/credo/code/sigils_test.exs
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
null
null
null
test/credo/code/sigils_test.exs
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
null
null
null
test/credo/code/sigils_test.exs
isaacsanders/credo
5623570bb2e3944345f1bf11819ca613533b5e10
[ "MIT" ]
1
2020-06-30T16:32:44.000Z
2020-06-30T16:32:44.000Z
defmodule Credo.Code.SigilsTest do use Credo.TestHelper alias Credo.Code.Sigils test "it should return the source without string literals 3" do source = """ x = ~c|a b c| x = ~s"a b c" x = ~r'a b c' x = ~w(a b c) x = ~c[a b c] x = ~s{a b c} x = ~r<a b c> x = ~W|a b c| x =...
21
90
0.494974
ab965ee20ee9d9665fecd0aa295d5e8141203cbf
1,168
ex
Elixir
web/channels/user_socket.ex
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
web/channels/user_socket.ex
Hajto/hangmanelixir
a05cc0b73e0a5d464405f63d274ae622565728ca
[ "MIT" ]
null
null
null
defmodule Hangman.UserSocket do use Phoenix.Socket ## Channels # channel "rooms:*", Hangman.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongPoll # Socket params are passed from the client and can # be used to verify and authen...
30.736842
83
0.701199
ab967cb8811392119f7c4ef0e907d568dd3bd328
4,103
ex
Elixir
web/txs/animal_use_report_txs.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
10
2016-07-15T15:57:33.000Z
2018-06-09T00:40:46.000Z
web/txs/animal_use_report_txs.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
null
null
null
web/txs/animal_use_report_txs.ex
marick/eecrit
50b1ebeadc5cf21ea9f9df6add65e4d7037e2482
[ "MIT" ]
6
2016-07-15T15:57:41.000Z
2018-03-22T16:38:00.000Z
defmodule Eecrit.AnimalUseReportTxs do @moduledoc """ Flow: [... {animal_id, procedure_id, count} ... ] [... [animal_id, {procedure_id, count}, {procedure_id, count}...] ... [... [animal, {procedure, count}, {procedure, count}...] ... [... [animal-view, procedure-view, procedure-view......
35.678261
87
0.653668
ab9695a32d685818ae0e1f32405ea60fe49ae30f
73
exs
Elixir
integration_test/temple_demo/test/test_helper.exs
rktjmp/temple
6fe46cbb4998477d76147fa95c9fd9c7841545ef
[ "MIT" ]
366
2019-07-12T22:43:35.000Z
2022-03-31T07:26:25.000Z
integration_test/temple_demo/test/test_helper.exs
rktjmp/temple
6fe46cbb4998477d76147fa95c9fd9c7841545ef
[ "MIT" ]
114
2019-07-12T19:49:10.000Z
2022-03-23T10:48:48.000Z
integration_test/temple_demo/test/test_helper.exs
rktjmp/temple
6fe46cbb4998477d76147fa95c9fd9c7841545ef
[ "MIT" ]
17
2019-07-23T15:16:34.000Z
2021-02-25T02:42:02.000Z
Ecto.Adapters.SQL.Sandbox.mode(TempleDemo.Repo, :manual) ExUnit.start()
18.25
56
0.780822
ab96a610af3dc73fbe876177bf77a76535d87ff6
1,824
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/sort_range_request.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/sort_range_request.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/sort_range_request.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "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...
35.764706
158
0.741228
ab96c9b236f13e924c7491aad742d184aaed455a
2,758
ex
Elixir
web/controllers/folder_preview_controller.ex
allen-garvey/bookmarker-phoenix
1a2518cb14ba3559f54fc0edee0b551b0db3752c
[ "MIT" ]
1
2020-07-02T22:27:41.000Z
2020-07-02T22:27:41.000Z
web/controllers/folder_preview_controller.ex
allen-garvey/bookmarker-phoenix
1a2518cb14ba3559f54fc0edee0b551b0db3752c
[ "MIT" ]
1
2022-02-10T17:17:17.000Z
2022-02-10T17:17:17.000Z
web/controllers/folder_preview_controller.ex
allen-garvey/bookmarker-phoenix
1a2518cb14ba3559f54fc0edee0b551b0db3752c
[ "MIT" ]
null
null
null
defmodule Bookmarker.FolderPreviewController do use Bookmarker.Web, :controller alias Bookmarker.Folder alias Bookmarker.ImgElement @doc """ Show preview images for bookmarks in folder """ def show(conn, %{"folder_name" => folder_name}) do HTTPoison.start bookmarks_query = from bookmark in Bookm...
27.306931
133
0.647208
ab96d006d872589e4e1678cf7890d8f8a12be7ca
2,963
ex
Elixir
clients/composer/lib/google_api/composer/v1/model/private_environment_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1/model/private_environment_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/composer/lib/google_api/composer/v1/model/private_environment_config.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.893939
180
0.741141
ab97028770cc0743176c897292d0cde39adc0aa8
1,786
exs
Elixir
test/domainatrex_test.exs
Zensavona/domainatrex
f8792fed7fe173717e0d36bf24a35e3deccaf557
[ "MIT" ]
30
2017-02-27T06:07:55.000Z
2021-11-21T03:58:57.000Z
test/domainatrex_test.exs
Zensavona/domainatrex
f8792fed7fe173717e0d36bf24a35e3deccaf557
[ "MIT" ]
11
2017-02-27T10:18:02.000Z
2021-05-20T14:03:18.000Z
test/domainatrex_test.exs
Zensavona/domainatrex
f8792fed7fe173717e0d36bf24a35e3deccaf557
[ "MIT" ]
7
2017-05-24T20:13:58.000Z
2020-11-29T06:21:10.000Z
defmodule DomainatrexTest do use ExUnit.Case doctest Domainatrex test "1 dot domains" do assert Domainatrex.parse("domainatrex.com") == {:ok, %{domain: "domainatrex", subdomain: "", tld: "com"}} end test "2 dot domains" do assert Domainatrex.parse("zen.id.au") == {:ok, %{domain: "zen", subdomain: ""...
38
126
0.633819
ab970dc359526ba6ab63ea97620f563698de2237
3,334
ex
Elixir
lib/sparrow/h2_worker/pool.ex
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
20
2019-01-15T10:13:16.000Z
2021-12-30T09:39:30.000Z
lib/sparrow/h2_worker/pool.ex
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
45
2018-10-02T10:14:57.000Z
2021-04-30T21:57:28.000Z
lib/sparrow/h2_worker/pool.ex
Switch168/sparrow
fbf16b0ce2f648791dd2654a16e42fcf7152be7e
[ "Apache-2.0" ]
9
2019-05-08T17:25:56.000Z
2022-03-06T10:16:41.000Z
defmodule Sparrow.H2Worker.Pool do @moduledoc """ Module providing functions to work on (`Sparrow.H2Worker`) worker pools and not single workers. """ @type request :: Sparrow.H2Worker.Request.t() @type strategy :: :best_worker | :random_worker | :next_worker | :availabl...
30.87037
131
0.634673
ab971c870a563b74314c8bc8cfb09f42e46e589f
1,037
ex
Elixir
test/support/test_server.ex
QuinnWilton/parent
7c4c983a38c25a409e8fb61c57daf8a8c083a275
[ "MIT" ]
null
null
null
test/support/test_server.ex
QuinnWilton/parent
7c4c983a38c25a409e8fb61c57daf8a8c083a275
[ "MIT" ]
null
null
null
test/support/test_server.ex
QuinnWilton/parent
7c4c983a38c25a409e8fb61c57daf8a8c083a275
[ "MIT" ]
null
null
null
defmodule Parent.TestServer do use Parent.GenServer def start_link(initializer), do: Parent.GenServer.start_link(__MODULE__, initializer) def call(pid, fun), do: GenServer.call(pid, fun) def cast(pid, fun), do: GenServer.cast(pid, fun) def send(pid, fun), do: Kernel.send(pid, fun) def terminated_jobs()...
26.589744
87
0.694311
ab973f3543a20e12fd0729bbf47983ff3160ea78
607
ex
Elixir
lib/policr_mini_web/views/admin/api/permission_view.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
lib/policr_mini_web/views/admin/api/permission_view.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
lib/policr_mini_web/views/admin/api/permission_view.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
defmodule PolicrMiniWeb.Admin.API.PermissionView do @moduledoc """ 渲染后台权限数据。 """ use PolicrMiniWeb, :view def render("updated.json", %{permission: permission}) do permission = render_one(permission, __MODULE__, "permission.json") %{ permission: permission } end def render("withdraw.j...
22.481481
97
0.660626
ab974967fed956b1e52d0432f81541093c07e15e
3,506
ex
Elixir
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/get_ios_post_install_attribution_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/get_ios_post_install_attribution_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/firebase_dynamic_links/lib/google_api/firebase_dynamic_links/v1/model/get_ios_post_install_attribution_request.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
42.756098
144
0.712778
ab97733e6d616965ba784d776f7e675c0b730915
962
ex
Elixir
lib/ex_component_schema/validator/minimum.ex
lenra-io/ex_component_schema
a051ba94057cdd3218c4625e24f56a834a586aa6
[ "MIT" ]
2
2022-03-18T08:52:29.000Z
2022-03-18T08:52:33.000Z
lib/ex_component_schema/validator/minimum.ex
lenra-io/ex_component_schema
a051ba94057cdd3218c4625e24f56a834a586aa6
[ "MIT" ]
8
2021-09-15T11:52:45.000Z
2022-01-10T13:13:53.000Z
lib/ex_component_schema/validator/minimum.ex
lenra-io/ex_component_schema
a051ba94057cdd3218c4625e24f56a834a586aa6
[ "MIT" ]
null
null
null
defmodule ExComponentSchema.Validator.Minimum do @moduledoc """ `ExComponentSchema.Validator` implementation for `"minimum"` attributes. See: """ alias ExComponentSchema.Schema.Root alias ExComponentSchema.Validator.Error @behaviour ExComponentSchema.Validator @impl ExComponentSchema.Validator de...
22.904762
79
0.683992
ab977e5e897f229e974ee61c02ee4b6e0f9942c4
179
exs
Elixir
.formatter.exs
ashkan18/colorify
e4da2bc54a60199c411afc696086689d825b7a13
[ "MIT" ]
1
2020-03-12T18:44:10.000Z
2020-03-12T18:44:10.000Z
.formatter.exs
ashkan18/colorify
e4da2bc54a60199c411afc696086689d825b7a13
[ "MIT" ]
1
2021-03-10T10:22:38.000Z
2021-03-10T10:22:38.000Z
.formatter.exs
ashkan18/colorify
e4da2bc54a60199c411afc696086689d825b7a13
[ "MIT" ]
1
2020-03-12T18:41:42.000Z
2020-03-12T18:41:42.000Z
[ import_deps: [:ecto, :phoenix], inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"], subdirectories: ["priv/*/migrations"], line_length: 240 ]
25.571429
80
0.586592
ab9797ef2aaa8b53febc3c6d30937291efefe80a
1,501
ex
Elixir
lib/credo/execution/task/initialize_command.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
4,590
2015-09-28T06:01:43.000Z
2022-03-29T08:48:57.000Z
lib/credo/execution/task/initialize_command.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
890
2015-11-16T21:07:07.000Z
2022-03-29T08:52:07.000Z
lib/credo/execution/task/initialize_command.ex
hrzndhrn/credo
71a7b24a5ca8e7a48416e0cdfb42cf8a0fef9593
[ "MIT" ]
479
2015-11-17T19:42:40.000Z
2022-03-29T00:09:21.000Z
defmodule Credo.Execution.Task.InitializeCommand do @moduledoc false alias Credo.Execution def call(%Execution{} = exec, _opts) do command_name = Execution.get_command_name(exec) command_mod = Execution.get_command(exec, command_name) init_command(exec, command_mod) end defp init_command(exec,...
28.320755
87
0.662891
ab979d0eaee22ef5632d9863b9b8800554522882
2,430
exs
Elixir
config/prod.exs
hidnasio/talar
bb898a4e2654f2fec6f3cc367ab1576d10d3d435
[ "MIT" ]
null
null
null
config/prod.exs
hidnasio/talar
bb898a4e2654f2fec6f3cc367ab1576d10d3d435
[ "MIT" ]
null
null
null
config/prod.exs
hidnasio/talar
bb898a4e2654f2fec6f3cc367ab1576d10d3d435
[ "MIT" ]
null
null
null
use Mix.Config # For production, don't forget to configure the url host # to something meaningful, Phoenix uses this information # when generating URLs. # # Note we also include the path to a cache manifest # containing the digested version of static files. This # manifest is generated by the `mix phx.digest` task, # ...
33.75
69
0.711111
ab97feea835f208afbe0e0a52e52a3198cc6e941
38,803
ex
Elixir
lib/aws/generated/backup.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
341
2018-04-04T19:06:19.000Z
2022-03-25T21:34:23.000Z
lib/aws/generated/backup.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
82
2018-04-04T17:32:33.000Z
2022-03-24T15:12:04.000Z
lib/aws/generated/backup.ex
kw7oe/aws-elixir
4ba60502dde270c83143822c9964018c7770bad7
[ "Apache-2.0" ]
76
2018-04-10T20:19:44.000Z
2022-03-15T13:49:19.000Z
# WARNING: DO NOT EDIT, AUTO-GENERATED CODE! # See https://github.com/aws-beam/aws-codegen for more details. defmodule AWS.Backup do @moduledoc """ AWS Backup AWS Backup is a unified backup service designed to protect AWS services and their associated data. AWS Backup simplifies the creation, migration, re...
22.546775
143
0.606268
ab980c31b81dc2c24db5e68bd0ebdff26c5476f0
1,825
ex
Elixir
test/support/cases/mix_case.ex
krystofbe/torchstrap
e54e1679f715587d91388ea279ba128b217af822
[ "MIT" ]
null
null
null
test/support/cases/mix_case.ex
krystofbe/torchstrap
e54e1679f715587d91388ea279ba128b217af822
[ "MIT" ]
null
null
null
test/support/cases/mix_case.ex
krystofbe/torchstrap
e54e1679f715587d91388ea279ba128b217af822
[ "MIT" ]
null
null
null
defmodule Torch.MixCase do @moduledoc false use ExUnit.CaseTemplate using do quote do import Torch.MixCase end end @doc false # Generates tests on the given mix task to ensure it handles errors properly defmacro test_mix_config_errors(task) do quote location: :keep do test "rais...
30.416667
86
0.477808
ab982a257112207148979a2bf62021930cc1d323
2,247
exs
Elixir
priv/repo/migrations/20171025184225_add_missing_indexes.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
275
2015-06-23T00:20:51.000Z
2021-08-19T16:17:37.000Z
priv/repo/migrations/20171025184225_add_missing_indexes.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
1,304
2015-06-26T02:11:54.000Z
2019-12-12T21:08:00.000Z
priv/repo/migrations/20171025184225_add_missing_indexes.exs
fikape/code-corps-api
c21674b0b2a19fa26945c94268db8894420ca181
[ "MIT" ]
140
2016-01-01T18:19:47.000Z
2020-11-22T06:24:47.000Z
defmodule CodeCorps.Repo.Migrations.AddMissingIndexes do use Ecto.Migration def change do create index(:comments, [:github_comment_id]) create index(:github_comments, [:github_issue_id]) create index(:github_issues, [:github_repo_id]) create index(:github_issues, [:github_pull_request_id]) crea...
46.8125
75
0.735202
ab98540c00406d723654ed94734fa47ac5441624
1,596
ex
Elixir
lib/noted_web/endpoint.ex
lawik/noted
a51b5d79cf44abfc2463560f83f1a8d65e6af85e
[ "BSD-3-Clause" ]
28
2021-02-20T22:22:49.000Z
2022-03-24T21:07:39.000Z
lib/noted_web/endpoint.ex
lawik/noted
a51b5d79cf44abfc2463560f83f1a8d65e6af85e
[ "BSD-3-Clause" ]
5
2021-05-06T11:37:11.000Z
2021-08-31T11:38:14.000Z
lib/noted_web/endpoint.ex
lawik/noted
a51b5d79cf44abfc2463560f83f1a8d65e6af85e
[ "BSD-3-Clause" ]
7
2021-02-24T19:18:28.000Z
2021-09-13T16:07:08.000Z
defmodule NotedWeb.Endpoint do use Phoenix.Endpoint, otp_app: :noted # The session will be stored in the cookie and signed, # this means its contents can be read but not tampered with. # Set :encryption_salt if you would also like to encrypt it. @session_options [ store: :cookie, key: "_noted_key", ...
29.018182
97
0.716792
ab9854df8eb950e7ebec18f95fa81a5b6ceb0e38
2,164
exs
Elixir
config/prod.exs
artjimlop/rifter
b91d66c033691fd50a1e222176f3b454de283b12
[ "Apache-2.0" ]
null
null
null
config/prod.exs
artjimlop/rifter
b91d66c033691fd50a1e222176f3b454de283b12
[ "Apache-2.0" ]
null
null
null
config/prod.exs
artjimlop/rifter
b91d66c033691fd50a1e222176f3b454de283b12
[ "Apache-2.0" ]
null
null
null
use Mix.Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, # you won't find the :http configuration below, but set inside # RifterWeb.Endpoint.init/2 when load_from_system_env is # true. Any dynamic configuration should be done there. # # Don...
33.292308
67
0.720425
ab985937e164d4f620b63386796fc2c49a696697
1,528
ex
Elixir
apps/jobex_web/lib/jobex_web/live/demo.ex
andyl/jobex
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
10
2019-10-24T01:23:07.000Z
2020-02-23T00:27:32.000Z
apps/jobex_web/lib/jobex_web/live/demo.ex
andyl/crow
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
6
2021-03-09T18:41:09.000Z
2021-05-27T13:02:42.000Z
apps/jobex_web/lib/jobex_web/live/demo.ex
andyl/crow
a51d6ecc4e8e8d62ba7cdf3796305a5da369e4e2
[ "MIT" ]
1
2019-10-24T01:23:08.000Z
2019-10-24T01:23:08.000Z
defmodule JobexWeb.Live.Demo do use Phoenix.LiveView use Timex alias JobexWeb.DemoView def render(assigns) do DemoView.render("index.html", assigns) end def mount(_session, socket) do :timer.send_interval(10000, self(), :tick) {:ok, assign(socket, count: 0, valid_url: false, update_str: "", da...
23.151515
84
0.594241
ab985a92098e1f582fe6313a88a055d400426cc6
915
ex
Elixir
lib/codes/codes_r01.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r01.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_r01.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_R01 do alias IcdCode.ICDCode def _R010 do %ICDCode{full_code: "R010", category_code: "R01", short_code: "0", full_name: "Benign and innocent cardiac murmurs", short_name: "Benign and innocent cardiac murmurs", category_name: "Benig...
26.911765
62
0.602186
ab98623937e7480e8666ff1dab92326096c22cb8
118
exs
Elixir
docs.exs
starbelly/version
1481cd5e93706c517d41ef2f3db9e8a8c61fbc2f
[ "Apache-2.0" ]
23
2019-01-14T02:09:47.000Z
2021-11-12T11:41:41.000Z
docs.exs
starbelly/version
1481cd5e93706c517d41ef2f3db9e8a8c61fbc2f
[ "Apache-2.0" ]
14
2020-09-27T17:53:30.000Z
2021-05-28T13:42:57.000Z
docs.exs
starbelly/version
1481cd5e93706c517d41ef2f3db9e8a8c61fbc2f
[ "Apache-2.0" ]
3
2021-02-11T14:50:31.000Z
2021-04-22T16:04:46.000Z
[ source_url: "https://github.com/jellybeam/verl", extras: ["README.md"], main: "readme", proglang: :erlang ]
16.857143
50
0.635593
ab98720ebf9382273626d940c5da3d16c16a4515
478
ex
Elixir
test/support/post_raise.ex
nsweeting/ecto_observable
830273420bff5f766392132c4358ad00fc1651c8
[ "MIT" ]
29
2018-06-29T19:20:06.000Z
2021-09-15T00:19:21.000Z
test/support/post_raise.ex
nsweeting/ecto_observable
830273420bff5f766392132c4358ad00fc1651c8
[ "MIT" ]
null
null
null
test/support/post_raise.ex
nsweeting/ecto_observable
830273420bff5f766392132c4358ad00fc1651c8
[ "MIT" ]
2
2018-07-03T23:34:22.000Z
2022-01-07T12:46:13.000Z
defmodule Observable.PostRaise do use Ecto.Schema use Observable, :notifier import Ecto.Changeset schema "posts" do field(:title, :string) end observations do action(:insert, [Observable.TestObserverThree]) action(:update, [Observable.TestObserverThree]) action(:delete, [Observable.TestOb...
19.916667
51
0.686192
ab988dc004ba6fd534eae57b94fd166ffd7a6c8e
2,012
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_metrics.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_metrics.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/job_metrics.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...
40.24
332
0.741054
ab98c6d37f454b61218e1e448a60663bb932a215
440
exs
Elixir
mix.exs
prook/mix-poncho
a4ab12fe51f1af774cdea220c3e0be991f12685f
[ "MIT" ]
null
null
null
mix.exs
prook/mix-poncho
a4ab12fe51f1af774cdea220c3e0be991f12685f
[ "MIT" ]
null
null
null
mix.exs
prook/mix-poncho
a4ab12fe51f1af774cdea220c3e0be991f12685f
[ "MIT" ]
null
null
null
defmodule MixPoncho.Mixfile do use Mix.Project def project do [ app: :mix_poncho, version: "0.1.0", elixir: "~> 1.5", start_permanent: Mix.env == :prod, deps: deps(), ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_ap...
16.923077
59
0.590909
ab98c7d872feef2ddf51f1f9d75f03caa19220f6
271
exs
Elixir
test/support/pry.exs
KazW/money_bin_sql
32c3513e734b4b1f0a9688e9f60bdd50a54b4a4f
[ "MIT" ]
null
null
null
test/support/pry.exs
KazW/money_bin_sql
32c3513e734b4b1f0a9688e9f60bdd50a54b4a4f
[ "MIT" ]
1
2019-01-01T06:50:32.000Z
2019-01-01T06:50:32.000Z
test/support/pry.exs
KazW/money_bin_sql
32c3513e734b4b1f0a9688e9f60bdd50a54b4a4f
[ "MIT" ]
null
null
null
import Ecto.Query alias MoneyBin.Test.Repo alias MoneyBin.{ Account, Accounts, JournalEntry, Ledger, Ledgers, LedgerMember, Transaction, Transactions } :ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo, ownership_timeout: 180_000_000) require IEx IEx.pry()
15.055556
78
0.752768
ab98d1ed001fbdc95bda33fbd6e0f1894daecbb6
1,362
exs
Elixir
test/coffee_test.exs
Youimmi/coffee_compiler
f809a7514e52b43e1c247056f036fc07b6d03199
[ "MIT" ]
3
2019-12-07T18:59:04.000Z
2020-11-22T14:51:03.000Z
test/coffee_test.exs
Youimmi/coffee_compiler
f809a7514e52b43e1c247056f036fc07b6d03199
[ "MIT" ]
null
null
null
test/coffee_test.exs
Youimmi/coffee_compiler
f809a7514e52b43e1c247056f036fc07b6d03199
[ "MIT" ]
null
null
null
defmodule CoffeeTest do @moduledoc false use ExUnit.Case, async: true import ExUnit.Assertions, only: [assert: 1] import Support.TestHelpers, only: [ compile: 2, fixture_js: 1, perform_async: 2 ] ExUnit.Case.register_describe_attribute(__MODULE__, :describe_fixtures) @fixtures_...
30.954545
139
0.657856
ab993458dc50ec29818eae8760e28860f2179933
243
ex
Elixir
lib/pay.ex
israel206/Pay
e1a6ec984e65f783b6e2734805a23cf0ea2e8f78
[ "MIT" ]
1
2021-12-13T03:30:22.000Z
2021-12-13T03:30:22.000Z
lib/pay.ex
israel206/Pay
e1a6ec984e65f783b6e2734805a23cf0ea2e8f78
[ "MIT" ]
null
null
null
lib/pay.ex
israel206/Pay
e1a6ec984e65f783b6e2734805a23cf0ea2e8f78
[ "MIT" ]
null
null
null
defmodule Pay do @moduledoc """ Pay 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
24.3
66
0.744856
ab995c9b56b74eef33bf40e8b9a27f9e6c9ab509
8,224
exs
Elixir
test/dataloader/ecto/limit_query_test.exs
arnodirlam/dataloader
91db9e4f3cb8e3b375c997d83e4b1f57f97e3bf7
[ "MIT" ]
415
2017-10-18T22:27:17.000Z
2022-03-31T06:28:37.000Z
test/dataloader/ecto/limit_query_test.exs
CargoSense/data_loader
c18e86c22543235df06c420aecac086d0cc9680b
[ "MIT" ]
108
2017-10-24T07:17:06.000Z
2022-03-20T00:19:57.000Z
test/dataloader/ecto/limit_query_test.exs
CargoSense/data_loader
c18e86c22543235df06c420aecac086d0cc9680b
[ "MIT" ]
83
2017-11-15T06:15:38.000Z
2022-03-20T00:26:44.000Z
defmodule Dataloader.LimitQueryTest do use ExUnit.Case, async: true alias Dataloader.{User, Post, Like, Score} import Ecto.Query alias Dataloader.TestRepo, as: Repo setup do :ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo) test_pid = self() source = Dataloader.Ecto.new( Repo, ...
37.045045
100
0.611989
ab9962e161b9183f642488124d8a8efb1afad487
1,197
ex
Elixir
clients/elixir/generated/lib/swaggy_jenkins/model/queue_blocked_item.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
23
2017-08-01T12:25:26.000Z
2022-01-25T03:44:11.000Z
clients/elixir/generated/lib/swaggy_jenkins/model/queue_blocked_item.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
35
2017-06-14T03:28:15.000Z
2022-02-14T10:25:54.000Z
clients/elixir/generated/lib/swaggy_jenkins/model/queue_blocked_item.ex
PankTrue/swaggy-jenkins
aca35a7cca6e1fcc08bd399e05148942ac2f514b
[ "MIT" ]
11
2017-08-31T19:00:20.000Z
2021-12-19T12:04:12.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule SwaggyJenkins.Model.QueueBlockedItem do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"_class", :"actions", :"block...
23.470588
91
0.619883
ab99762b2803807a55687bcae93c5a84c423692d
1,756
ex
Elixir
clients/content/lib/google_api/content/v2/model/invoice_summary_additional_charge_summary.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/content/lib/google_api/content/v2/model/invoice_summary_additional_charge_summary.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/content/lib/google_api/content/v2/model/invoice_summary_additional_charge_summary.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.12
137
0.735763
ab997ac2ad75168bdd40355ffc9466d3ceab8fb6
9,373
ex
Elixir
lib/generated/delete_records.ex
joshuawscott/kayrock
614b930d568f7d0655a00e8d0d760e3b33314366
[ "MIT" ]
null
null
null
lib/generated/delete_records.ex
joshuawscott/kayrock
614b930d568f7d0655a00e8d0d760e3b33314366
[ "MIT" ]
null
null
null
lib/generated/delete_records.ex
joshuawscott/kayrock
614b930d568f7d0655a00e8d0d760e3b33314366
[ "MIT" ]
null
null
null
defmodule(Kayrock.DeleteRecords) do @api :delete_records @moduledoc "Kayrock-generated module for the Kafka `#{@api}` API\n" _ = " THIS CODE IS GENERATED BY KAYROCK" ( @vmin 0 @vmax 0 ) defmodule(V0.Request) do @vsn 0 @api :delete_records @schema topics: {:array, ...
30.235484
130
0.539742
ab998cc5c1d72f4b9d61b7463f7def8c81d514b9
5,959
exs
Elixir
test/ex_ms_test.exs
kianmeng/ex_ms
e51be0527cc850e03fb9091c4680b7199dccaffd
[ "MIT" ]
2
2020-10-22T20:47:17.000Z
2020-10-23T08:37:18.000Z
test/ex_ms_test.exs
kianmeng/ex_ms
e51be0527cc850e03fb9091c4680b7199dccaffd
[ "MIT" ]
1
2021-12-15T01:24:49.000Z
2021-12-15T01:24:49.000Z
test/ex_ms_test.exs
kianmeng/ex_ms
e51be0527cc850e03fb9091c4680b7199dccaffd
[ "MIT" ]
1
2020-10-23T12:05:39.000Z
2020-10-23T12:05:39.000Z
defmodule MillisecondTest do use ExUnit.Case use PropCheck doctest Millisecond, except: [ms: 1, ms!: 1] import Millisecond, only: [ms!: 1, ms: 1] @short_units [ {"s", 1_000}, {"m", 60_000}, {"h", 3_600_000}, {"d", 86_400_000}, {"w", 604_800_000}, {"mo", 2_592_000_000}, {"y", 31_5...
27.845794
92
0.555966
ab999b061981725b319c552c0f402b4620952d5f
9,155
ex
Elixir
training-set/elixir/httpotion.ex
rivid/code_classifier
1caed7ce2d3157f10700ee3b6b8563cb6c7e3270
[ "MIT" ]
null
null
null
training-set/elixir/httpotion.ex
rivid/code_classifier
1caed7ce2d3157f10700ee3b6b8563cb6c7e3270
[ "MIT" ]
null
null
null
training-set/elixir/httpotion.ex
rivid/code_classifier
1caed7ce2d3157f10700ee3b6b8563cb6c7e3270
[ "MIT" ]
null
null
null
defmodule HTTPotion.Base do @moduledoc """ The base module of HTTPotion. When used, it defines overridable functions, which allows you to make customized HTTP client modules (see the README). It is used by the `HTTPotion` module to provide the a basic general-purpose client. """ defmacro __using__(_) do...
38.466387
135
0.62272
ab99ae0b25343b0da2839aa9e1ffc6c0672b40d6
1,106
exs
Elixir
prefix_compression.exs
hvnsweeting/elixir-hackerrank-fp
1b4c259c7e335b272b0bbc50d3ba92ddb724566f
[ "MIT" ]
null
null
null
prefix_compression.exs
hvnsweeting/elixir-hackerrank-fp
1b4c259c7e335b272b0bbc50d3ba92ddb724566f
[ "MIT" ]
null
null
null
prefix_compression.exs
hvnsweeting/elixir-hackerrank-fp
1b4c259c7e335b272b0bbc50d3ba92ddb724566f
[ "MIT" ]
null
null
null
# https://www.hackerrank.com/challenges/string-reductions?h_r=next-challenge&h_v=zen defmodule Solution do def find_suffix([[h1|t1], [h2|t2]]) do if h1 == h2 do find_suffix([t1, t2]) else IO.puts Integer.to_string(length(t1) + 1) <> " " <> List.to_string([h1|t1]) IO.puts Integer.to_string(l...
26.333333
84
0.583183
ab99affca4d145e6d5f0001dffa72d99115dbcb1
2,688
exs
Elixir
test/surface/components/form/submit_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
1,161
2019-12-12T02:30:52.000Z
2021-03-11T17:55:44.000Z
test/surface/components/form/submit_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
248
2021-03-12T07:39:37.000Z
2022-03-31T13:36:44.000Z
test/surface/components/form/submit_test.exs
RudolfMan/surface
ee8c1546b77c91fe08e7360e64666c613bc5a900
[ "MIT" ]
73
2019-12-12T13:57:41.000Z
2021-03-11T21:46:10.000Z
defmodule Surface.Components.Form.SubmitTest do use Surface.ConnCase, async: true alias Surface.Components.Form.Submit defmodule ViewWithSubmit do use Surface.LiveView data disabled, :boolean, default: false def handle_event("toggle_disable", _, socket) do {:noreply, assign(socket, :disabled...
21.165354
88
0.539807
ab9a19218d20b70477027947d9b0a2882013d795
96
exs
Elixir
test/credo/backports/enum_test.exs
sgerrand/credo
56d3163310d3ef50a2ea1bb26b322842f73c9db0
[ "MIT" ]
1
2021-12-01T13:37:43.000Z
2021-12-01T13:37:43.000Z
test/credo/backports/enum_test.exs
sgerrand/credo
56d3163310d3ef50a2ea1bb26b322842f73c9db0
[ "MIT" ]
null
null
null
test/credo/backports/enum_test.exs
sgerrand/credo
56d3163310d3ef50a2ea1bb26b322842f73c9db0
[ "MIT" ]
null
null
null
defmodule Credo.Backports.EnumTest do use Credo.Test.Case doctest Credo.Backports.Enum end
16
37
0.802083
ab9a31204acdb30820ff67966a49c64e1734ec82
9,686
exs
Elixir
test/go_champs_api_web/controllers/player_stats_log_controller_test.exs
lairjr/go_champs_api
01cb3ff2c655910839e5caf4282a8e50543e32a1
[ "MIT" ]
null
null
null
test/go_champs_api_web/controllers/player_stats_log_controller_test.exs
lairjr/go_champs_api
01cb3ff2c655910839e5caf4282a8e50543e32a1
[ "MIT" ]
5
2021-09-29T04:01:54.000Z
2021-11-02T03:11:52.000Z
test/go_champs_api_web/controllers/player_stats_log_controller_test.exs
lairjr/tournamentsapi
dde8f8f659074527d3861391af3ab29f070179f2
[ "MIT" ]
1
2021-11-02T14:43:15.000Z
2021-11-02T14:43:15.000Z
defmodule GoChampsApiWeb.PlayerStatsLogControllerTest do use GoChampsApiWeb.ConnCase alias GoChampsApi.PlayerStatsLogs alias GoChampsApi.PlayerStatsLogs.PlayerStatsLog alias GoChampsApi.Helpers.PlayerHelpers alias GoChampsApi.Phases alias GoChampsApi.Phases.Phase @create_attrs %{ stats: %{ som...
29.620795
100
0.641957
ab9a4f5123f4c3844a8def3d101da4568c3d39a2
79
exs
Elixir
c_src/membrane_element_opus/encoder.spec.exs
kichloo/membrane-element-opus
88a902dea8b54badc304b8ebeeff5376e4c93f9e
[ "Apache-2.0" ]
null
null
null
c_src/membrane_element_opus/encoder.spec.exs
kichloo/membrane-element-opus
88a902dea8b54badc304b8ebeeff5376e4c93f9e
[ "Apache-2.0" ]
null
null
null
c_src/membrane_element_opus/encoder.spec.exs
kichloo/membrane-element-opus
88a902dea8b54badc304b8ebeeff5376e4c93f9e
[ "Apache-2.0" ]
null
null
null
module Membrane.Element.Opus.Encoder.Native #TODO: specs for native functions
19.75
43
0.822785
ab9a7f4236f494f53a9d6cbcc3467e7354327386
8,017
ex
Elixir
lib/ex_doc/formatter/html/templates.ex
bortzmeyer/ex_doc
dd10dd43c0ac135ef1d9c029e75a5da251f550af
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/formatter/html/templates.ex
bortzmeyer/ex_doc
dd10dd43c0ac135ef1d9c029e75a5da251f550af
[ "Apache-2.0", "CC-BY-4.0" ]
1
2022-03-02T13:27:20.000Z
2022-03-02T13:27:20.000Z
lib/ex_doc/formatter/html/templates.ex
LaudateCorpus1/ex_doc
0612bac649cbb44ef09c20dedcf7e588a150606c
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Formatter.HTML.Templates do @moduledoc false require EEx # TODO: It should not depend on the parent module # TODO: Add tests that assert on the returned structured, not on JSON alias ExDoc.Utils.SimpleJSON alias ExDoc.Formatter.HTML @doc """ Generate content from the module template fo...
28.129825
105
0.623176
ab9a8b6a639014f37c825a45d2081cf157bc8579
2,247
ex
Elixir
clients/games/lib/google_api/games/v1/model/score_submission.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/games/lib/google_api/games/v1/model/score_submission.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/games/lib/google_api/games/v1/model/score_submission.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...
38.084746
193
0.698264
ab9abb00dda81eb188133eb053a813fc42b63760
11,646
ex
Elixir
lib/lib_lat_lon/data/coords.ex
devoutsalsa/lib_lat_lon
a9fef01e67ad92f1b5ff042173f6986ad6f5fd48
[ "MIT" ]
null
null
null
lib/lib_lat_lon/data/coords.ex
devoutsalsa/lib_lat_lon
a9fef01e67ad92f1b5ff042173f6986ad6f5fd48
[ "MIT" ]
null
null
null
lib/lib_lat_lon/data/coords.ex
devoutsalsa/lib_lat_lon
a9fef01e67ad92f1b5ff042173f6986ad6f5fd48
[ "MIT" ]
null
null
null
defmodule LibLatLon.Coords do @moduledoc """ Main struct to be used as coordinates representation. One might cast nearly everything to `LibLatLon.Coord` with `LibLatLon.Coord.borrow/1` and/or `LibLatLon.Coord.borrow/2`. This struct implements both `String.Chars` and `Inspect` protocols. The fancy string r...
33.274286
101
0.572042
ab9abfebf495c03758414280da2af528b1f60f6a
1,908
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__video_segment.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__video_segment.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__video_segment.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.473684
117
0.739518
ab9ac71471e316c4b243e0670f43d3ba43af02be
206
exs
Elixir
test/newslettex_web/controllers/page_controller_test.exs
silva96/newslettex
4876392c9900c0ce169dcdcb9ebb01ab3da83d65
[ "MIT" ]
null
null
null
test/newslettex_web/controllers/page_controller_test.exs
silva96/newslettex
4876392c9900c0ce169dcdcb9ebb01ab3da83d65
[ "MIT" ]
10
2019-07-29T03:03:02.000Z
2021-05-10T23:59:25.000Z
test/newslettex_web/controllers/page_controller_test.exs
silva96/newslettex
4876392c9900c0ce169dcdcb9ebb01ab3da83d65
[ "MIT" ]
null
null
null
defmodule NewslettexWeb.PageControllerTest do use NewslettexWeb.ConnCase test "GET /", %{conn: conn} do conn = get(conn, "/") assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.888889
60
0.68932
ab9ad062784529dda684b7b7f878947fdd660531
687
exs
Elixir
web_finngen_r8/priv/repo/migrations/20210323152153_create_correlations.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/priv/repo/migrations/20210323152153_create_correlations.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
web_finngen_r8/priv/repo/migrations/20210323152153_create_correlations.exs
vincent-octo/risteys
5bb1e70b78988770048b91b42fad025faf98d84a
[ "MIT" ]
null
null
null
defmodule Risteys.Repo.Migrations.CreateCorrelations do use Ecto.Migration def change do create table(:correlations) do add :phenocode_a_id, references(:phenocodes, on_delete: :delete_all), null: false add :phenocode_b_id, references(:phenocodes, on_delete: :delete_all), null: false add :cas...
29.869565
96
0.708879
ab9ad1be64521e6b7286c3b7ea14857d250cb88c
673
ex
Elixir
apps/feedex_core/lib/feedex_core/api/folder.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
apps/feedex_core/lib/feedex_core/api/folder.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
10
2021-02-08T00:01:41.000Z
2021-05-27T12:54:28.000Z
apps/feedex_core/lib/feedex_core/api/folder.ex
andyl/ragged
2baab0849e2dfc068652ecb2fe88a7c6fe5437d0
[ "MIT" ]
null
null
null
defmodule FeedexCore.Api.Folder do @moduledoc """ Utilities for working with Folders. """ alias FeedexCore.Ctx.Account.Folder alias FeedexCore.Repo def find_or_create_folder(user_id, name) do find_folder(user_id, name) || create_folder(user_id, name) end defp find_folder(user_id, name) do Rep...
24.035714
74
0.69688
ab9b1035d927c62a3105f2e29340fbad683fbec8
100
ex
Elixir
lib/document.ex
desweemerl/origami
9b9111fb06e0ea94ce289e70cac4caffa208dcce
[ "MIT" ]
null
null
null
lib/document.ex
desweemerl/origami
9b9111fb06e0ea94ce289e70cac4caffa208dcce
[ "MIT" ]
null
null
null
lib/document.ex
desweemerl/origami
9b9111fb06e0ea94ce289e70cac4caffa208dcce
[ "MIT" ]
null
null
null
defmodule Origami.Document do @moduledoc false defstruct logic: [], render: [] end
14.285714
29
0.63
ab9b5bc36474fa48570853de578baa62499e49e3
17,102
ex
Elixir
lib/oli/delivery/attempts/activity_lifecycle/evaluate.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/delivery/attempts/activity_lifecycle/evaluate.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
lib/oli/delivery/attempts/activity_lifecycle/evaluate.ex
ChristianMurphy/oli-torus
ffeee4996b66b7c6c6eb3e0082d030b8cc6cea97
[ "MIT" ]
null
null
null
defmodule Oli.Delivery.Attempts.ActivityLifecycle.Evaluate do alias Oli.Repo alias Oli.Delivery.Evaluation.{Result, EvaluationContext, Standard, Adaptive} alias Oli.Delivery.Attempts.Core.{ActivityAttempt, ClientEvaluation, StudentInput} alias Oli.Delivery.Snapshots alias Oli.Delivery.Attempts.Scoring alia...
35.703549
97
0.627412
ab9b8098daafc9e970a331caf03525b5245656d1
529
ex
Elixir
lib/conduit_amqp/conn_pool.ex
Moronisauner/conduit_amqp
453af122b2f98c31034916097ad20b4128b51e7a
[ "MIT" ]
9
2017-02-01T14:12:28.000Z
2021-07-06T23:22:29.000Z
lib/conduit_amqp/conn_pool.ex
Moronisauner/conduit_amqp
453af122b2f98c31034916097ad20b4128b51e7a
[ "MIT" ]
77
2018-02-02T19:17:08.000Z
2021-08-03T05:20:21.000Z
lib/conduit_amqp/conn_pool.ex
Moronisauner/conduit_amqp
453af122b2f98c31034916097ad20b4128b51e7a
[ "MIT" ]
10
2018-02-02T19:07:44.000Z
2021-05-05T03:34:41.000Z
defmodule ConduitAMQP.ConnPool do @moduledoc """ Supervises the pool of connections to message queue """ @pool_size 5 def child_spec([broker, opts]) do pool_name = name(broker) conn_pool_opts = [ name: {:local, pool_name}, worker_module: ConduitAMQP.Conn, size: opts[:conn_pool_size...
21.16
56
0.669187
ab9b9b50bd8dee99a6c1c1a1c9136609c8f5b703
2,818
ex
Elixir
lib/server/connection.ex
3decibels/yams
c00bfb02f8c0e41d94afcd1a2d2dbf248fce5be0
[ "MIT" ]
null
null
null
lib/server/connection.ex
3decibels/yams
c00bfb02f8c0e41d94afcd1a2d2dbf248fce5be0
[ "MIT" ]
null
null
null
lib/server/connection.ex
3decibels/yams
c00bfb02f8c0e41d94afcd1a2d2dbf248fce5be0
[ "MIT" ]
null
null
null
defmodule Yams.Server.Connection do @moduledoc """ This module allows interaction with the connection representing a remote device. """ use GenServer, restart: :temporary alias __MODULE__ require Logger defstruct [:tls_socket, :client_name, :distinguished_name, :unique_id] @doc """ Starts a `Yams.Se...
34.790123
150
0.723918
ab9bb99a6afbbf8fa08687b95fb251804ba40dc7
972
ex
Elixir
lib/bokken/accounts/mentor_admin.ex
coderdojobraga/bokken
df28522637315193e09ac1f3f79823361db0f2f9
[ "MIT" ]
7
2020-10-19T14:06:46.000Z
2022-02-19T09:53:02.000Z
lib/bokken/accounts/mentor_admin.ex
coderdojobraga/bokken
df28522637315193e09ac1f3f79823361db0f2f9
[ "MIT" ]
5
2017-08-24T10:38:46.000Z
2021-05-26T16:48:22.000Z
lib/bokken/accounts/mentor_admin.ex
coderdojobraga/bokken
df28522637315193e09ac1f3f79823361db0f2f9
[ "MIT" ]
2
2017-08-25T18:38:11.000Z
2021-07-15T00:57:33.000Z
defmodule Bokken.Accounts.MentorAdmin do @moduledoc false import Ecto.Query, warn: false alias Bokken.Repo alias Bokken.Accounts alias Bokken.Accounts.Mentor alias Bokken.Uploaders.Avatar def widgets(_schema, _conn) do [ %{ type: "tidbit", title: "Mentors", content: Rep...
19.44
64
0.544239
ab9c73c0c124650a5681b22efa7c92210bbab05a
1,920
exs
Elixir
lib/elixir/test/elixir/kernel/case_test.exs
MSch/elixir
fc42dc9bb76ec1fdcfcbdbfb11fea6a845a62fca
[ "Apache-2.0" ]
1
2017-09-09T20:59:04.000Z
2017-09-09T20:59:04.000Z
lib/elixir/test/elixir/kernel/case_test.exs
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/kernel/case_test.exs
bruce/elixir
d77ccf941541959079e5f677f8717da24b486fac
[ "Apache-2.0" ]
null
null
null
Code.require_file "../test_helper.exs", __DIR__ defmodule Kernel.CaseTest do use ExUnit.Case, async: true test :inline_case do assert (case 1, do: (1 -> :ok; 2 -> :wrong)) == :ok end test :nested_case do assert get_case == 2 end test :nested_variables do assert vars_case(400, 1) == { 400, 1 ...
19.2
68
0.508854
ab9cbe55cd912039c7d7b570c1fb009bf1ebd993
473
ex
Elixir
lib/helper/time_helper.ex
my-flow/raftex
6be505fbe1625132a933813e0534d414850b9f1d
[ "MIT" ]
25
2015-03-17T01:57:47.000Z
2022-03-01T18:40:03.000Z
lib/helper/time_helper.ex
my-flow/raftex
6be505fbe1625132a933813e0534d414850b9f1d
[ "MIT" ]
1
2015-06-23T07:40:07.000Z
2015-06-23T07:40:07.000Z
lib/helper/time_helper.ex
my-flow/raftex
6be505fbe1625132a933813e0534d414850b9f1d
[ "MIT" ]
6
2015-06-23T05:07:34.000Z
2022-03-01T18:40:10.000Z
defmodule TimeHelper do @election_timeout_min 4_000 # milliseconds @election_timeout_max 5_000 # milliseconds @heartbeat_frequency 2_000 # milliseconds def generate_random_election_timeout do @election_timeout_min + :random.uniform(@election_timeout_max - @election_timeout_min) end ...
20.565217
94
0.737844
ab9cf80608280768f8a8c59e1ad589a39afe2186
880
exs
Elixir
mix.exs
mft-labs/ampslib
91529a31b0df8841074cef4b5f4bc223cc63de1e
[ "MIT" ]
null
null
null
mix.exs
mft-labs/ampslib
91529a31b0df8841074cef4b5f4bc223cc63de1e
[ "MIT" ]
null
null
null
mix.exs
mft-labs/ampslib
91529a31b0df8841074cef4b5f4bc223cc63de1e
[ "MIT" ]
null
null
null
defmodule AmpsLib.MixProject do use Mix.Project def project do [ app: :amps_lib, version: "0.1.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps(), package: package ] end # Run "mix help compile.app" to learn about applications. def applicatio...
20
87
0.571591
ab9d12523021323d57ffd8adc929209bae80e76a
1,696
ex
Elixir
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/list_device_states_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/list_device_states_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/cloud_iot/lib/google_api/cloud_iot/v1/model/list_device_states_response.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
35.333333
176
0.751179
ab9d1c46e0a2fe802b6a452d8495cb6821973a85
763
ex
Elixir
lib/toby/app/views/monitors.ex
ndreynolds/toby
fc2e6960d8d5b366c0ecf130349659fc33ac2e2a
[ "MIT" ]
82
2019-01-14T20:35:16.000Z
2022-02-22T11:19:43.000Z
lib/toby/app/views/monitors.ex
ndreynolds/toby
fc2e6960d8d5b366c0ecf130349659fc33ac2e2a
[ "MIT" ]
3
2019-01-20T17:17:44.000Z
2019-01-24T08:51:55.000Z
lib/toby/app/views/monitors.ex
ndreynolds/toby
fc2e6960d8d5b366c0ecf130349659fc33ac2e2a
[ "MIT" ]
5
2020-03-27T16:54:18.000Z
2021-07-26T18:24:00.000Z
defmodule Toby.App.Views.Monitors do @moduledoc """ Builds a panel to display process or port links. """ import Ratatouille.View def render(monitors, monitored_by) do row do column size: 12 do panel(title: "Monitors (#{length(monitors)})") do table do for {_type, pid}...
22.441176
65
0.513761
ab9d2f4cb639589d3f36ffd5adb006898519fdac
11,570
ex
Elixir
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/api/connection_monitors.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/api/connection_monitors.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Network/lib/microsoft/azure/management/network/api/connection_monitors.ex
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
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 Microsoft.Azure.Management.Network.Api.ConnectionMonitors do @moduledoc """ API calls for all endpoints tagged `ConnectionMonitors`. """ ...
53.073394
286
0.749092
ab9d34aa61221ecaf174414a7b9c3d6adac039a9
3,492
ex
Elixir
clients/dataproc/lib/google_api/dataproc/v1/model/spark_job.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dataproc/lib/google_api/dataproc/v1/model/spark_job.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dataproc/lib/google_api/dataproc/v1/model/spark_job.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...
51.352941
303
0.703036
ab9d4981aee718b568e01271397e3bf9c5947114
725
ex
Elixir
lib/algoliax/resources/search.ex
vovayartsev/algoliax
34bfbb39d65806b4d156e23eb704bf6b899b53e6
[ "BSD-2-Clause" ]
null
null
null
lib/algoliax/resources/search.ex
vovayartsev/algoliax
34bfbb39d65806b4d156e23eb704bf6b899b53e6
[ "BSD-2-Clause" ]
null
null
null
lib/algoliax/resources/search.ex
vovayartsev/algoliax
34bfbb39d65806b4d156e23eb704bf6b899b53e6
[ "BSD-2-Clause" ]
null
null
null
defmodule Algoliax.Resources.Search do @moduledoc false import Algoliax.Utils, only: [index_name: 2, camelize: 1] alias Algoliax.Requests def search(module, settings, query, params) do index_name = index_name(module, settings) body = %{ query: query } |> Map.merge(camelize(p...
20.714286
72
0.637241
ab9d747f3bb2d2001ca281bb2ae148e8d811fe0d
593
ex
Elixir
lib/rumbl/info_sys/google.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
lib/rumbl/info_sys/google.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
lib/rumbl/info_sys/google.ex
hallebadkapp/rumbl-ms
ae2ef9975658115f8c4d5c49c28d8bde00a74b83
[ "MIT" ]
null
null
null
defmodule Rumbl.InfoSys.Google do use GenServer alias Rumbl.InfoSys.Result def start_link(query, query_ref, owner, limit) do Task.start_link(fn -> fetch(query, query_ref, owner, limit) end) end def fetch("search " <> str, query_ref, owner, _limit) do url = "https://www.google.com/#q=#{URI.encode_www...
29.65
81
0.662732
ab9d80b73f289fa758378d6c4e1240689ba25224
1,706
ex
Elixir
lib/snowflake/generator.ex
g-ken/snowflake
5414037b8a15bb9cc596661079e438a9a7cf1972
[ "MIT" ]
null
null
null
lib/snowflake/generator.ex
g-ken/snowflake
5414037b8a15bb9cc596661079e438a9a7cf1972
[ "MIT" ]
null
null
null
lib/snowflake/generator.ex
g-ken/snowflake
5414037b8a15bb9cc596661079e438a9a7cf1972
[ "MIT" ]
1
2021-09-28T12:24:51.000Z
2021-09-28T12:24:51.000Z
defmodule Snowflake.Generator do @moduledoc false use GenServer @machine_id_overflow 1024 @seq_overflow 4096 def start_link(epoch, machine_id) when machine_id < @machine_id_overflow do state = {epoch, ts(epoch), machine_id, 0} GenServer.start_link(__MODULE__, state, name: __MODULE__) end def in...
27.079365
86
0.617819
ab9da1c015d831328b055bd58b34df7bcf00ad07
977
exs
Elixir
test/quantum_startup_test.exs
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
991
2015-04-27T12:26:50.000Z
2019-07-22T06:24:02.000Z
test/quantum_startup_test.exs
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
278
2015-05-27T18:15:53.000Z
2018-03-22T14:48:33.000Z
test/quantum_startup_test.exs
fatboypunk/quantum-core
f264e1c5d6b0e13e60f0920ae09c287f342b9d7c
[ "Apache-2.0" ]
96
2015-05-02T06:41:34.000Z
2020-11-30T19:44:00.000Z
defmodule QuantumStartupTest do @moduledoc false use ExUnit.Case import ExUnit.CaptureLog import Crontab.CronExpression defmodule Scheduler do @moduledoc false use Quantum.Scheduler, otp_app: :quantum_startup_test end @tag :startup test "prevent duplicate job names on startup" do captu...
25.051282
95
0.613101
ab9dd8ad28c9fbcd0ccb43844f8630a48b13a663
4,684
ex
Elixir
lib/interceptor/queue.ex
naramore/janus
90f7324c5ed667b803472dc89ee8e84d82c1d6d2
[ "MIT" ]
null
null
null
lib/interceptor/queue.ex
naramore/janus
90f7324c5ed667b803472dc89ee8e84d82c1d6d2
[ "MIT" ]
null
null
null
lib/interceptor/queue.ex
naramore/janus
90f7324c5ed667b803472dc89ee8e84d82c1d6d2
[ "MIT" ]
null
null
null
defmodule Interceptor.Queue do @moduledoc false alias Interceptor.Coercible defstruct queue: :queue.new(), stack: [] @type t :: %__MODULE__{ queue: :queue.queue(), stack: list } @type direction :: :forwards | :backwards @spec new(list) :: t def new(items \\ [])...
26.314607
92
0.574082
ab9e159e1cb229da40fba2cae093af34a7013cd5
1,398
ex
Elixir
test/support/data_case.ex
cscairns/agile_pulse
01675fc60c5ebc88e6e6c3304f2a5aa683528f7c
[ "CC0-1.0" ]
null
null
null
test/support/data_case.ex
cscairns/agile_pulse
01675fc60c5ebc88e6e6c3304f2a5aa683528f7c
[ "CC0-1.0" ]
null
null
null
test/support/data_case.ex
cscairns/agile_pulse
01675fc60c5ebc88e6e6c3304f2a5aa683528f7c
[ "CC0-1.0" ]
null
null
null
defmodule AgilePulse.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every t...
25.888889
77
0.683119
ab9e2e986ece97ecd12415e1d7941092a1bceb5e
2,785
ex
Elixir
apps/ehealth/lib/ehealth/web/views/contract_request_view.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/ehealth/lib/ehealth/web/views/contract_request_view.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/ehealth/lib/ehealth/web/views/contract_request_view.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule EHealth.Web.ContractRequestView do @moduledoc false use EHealth.Web, :view alias Core.ContractRequests.CapitationContractRequest alias Core.ContractRequests.ReimbursementContractRequest alias Core.ContractRequests.Renderer, as: ContractRequestsRenderer @capitation CapitationContractRequest.type...
31.292135
116
0.736445
ab9e461feae61b9eaa12eec8b48d052c1300d037
1,547
ex
Elixir
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/test_iam_permissions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/test_iam_permissions_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_tasks/lib/google_api/cloud_tasks/v2/model/test_iam_permissions_response.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...
32.914894
143
0.747899
ab9e595eee7639d3899882c55abc4936de333ff5
2,584
ex
Elixir
test/support/revision_assertions.ex
geometricservices/epi-viewpoin
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
5
2021-02-25T18:43:09.000Z
2021-02-27T06:00:35.000Z
test/support/revision_assertions.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
3
2021-12-13T17:52:47.000Z
2021-12-17T01:35:31.000Z
test/support/revision_assertions.ex
geometricservices/epi-viewpoint
ecb5316ea0f3f7299d5ff63e2de588539005ac1c
[ "Apache-2.0" ]
1
2022-01-27T23:26:38.000Z
2022-01-27T23:26:38.000Z
defmodule Epicenter.Test.RevisionAssertions do import ExUnit.Assertions def assert_audit_logged(%{id: model_id}) do if Epicenter.AuditingRepo.entries_for(model_id) == [], do: flunk("Expected schema to have an audit log entry, but found none.") end def assert_revision_count(%{id: model_id}, count) do e...
39.753846
131
0.712461
ab9e9164899d4d6de0ed0cc2a4a81c2b123ff0e4
3,728
exs
Elixir
test/oban/config_test.exs
ethangunderson/oban
d8d044b4bfd79713ca120be2cb2c70e26eaa5b5d
[ "Apache-2.0" ]
null
null
null
test/oban/config_test.exs
ethangunderson/oban
d8d044b4bfd79713ca120be2cb2c70e26eaa5b5d
[ "Apache-2.0" ]
null
null
null
test/oban/config_test.exs
ethangunderson/oban
d8d044b4bfd79713ca120be2cb2c70e26eaa5b5d
[ "Apache-2.0" ]
null
null
null
defmodule Oban.ConfigTest do use Oban.Case, async: true alias Oban.Config alias Oban.Plugins.Pruner doctest Config describe "new/1" do test "legacy :circuit_backoff option is ignored" do assert_valid(circuit_backoff: 10) end test ":engine is validated as an engine module" do refute...
27.614815
95
0.659067
ab9e9d7fa15990cef8a9261b69b089c9565f2a61
1,842
exs
Elixir
mix.exs
mithereal/elixir-gasrate
8a364e0931eed53ee515b25898c374ac0dee5a71
[ "MIT" ]
null
null
null
mix.exs
mithereal/elixir-gasrate
8a364e0931eed53ee515b25898c374ac0dee5a71
[ "MIT" ]
null
null
null
mix.exs
mithereal/elixir-gasrate
8a364e0931eed53ee515b25898c374ac0dee5a71
[ "MIT" ]
null
null
null
defmodule Gasrate.MixProject do use Mix.Project @source_url "https://github.com/mithereal/ex_gasrate.git" @version "0.2.1" def project do [ app: :gasrate, version: @version, build_path: "./_build", config_path: "./config/config.exs", deps_path: "./deps", lockfile: "./mi...
22.463415
88
0.550489
ab9ea41715bb5feb7488ab688d1a88cd27f2dc68
339
ex
Elixir
lib/collatz/sequence.ex
wmean-spec/collatz
e49a5943263a0a9c6d5d188b37d805bdb38a4899
[ "MIT" ]
null
null
null
lib/collatz/sequence.ex
wmean-spec/collatz
e49a5943263a0a9c6d5d188b37d805bdb38a4899
[ "MIT" ]
null
null
null
lib/collatz/sequence.ex
wmean-spec/collatz
e49a5943263a0a9c6d5d188b37d805bdb38a4899
[ "MIT" ]
null
null
null
defmodule Collatz.Sequence do @spec new(any) :: [pos_integer(), ...] def new(num) do process(num, []) end defp process(_, seq = [1 | _]) do seq end defp process(num, seq) when rem(num, 2) == 0 do process(div(num, 2), [num | seq]) end defp process(num, seq) do process(num * 3 + 1, [num...
17.842105
49
0.569322
ab9eba4f851680db21425debdccd81e0dcd691e3
4,272
ex
Elixir
apps/site/lib/site/trip_plan/datetime.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
42
2019-05-29T16:05:30.000Z
2021-08-09T16:03:37.000Z
apps/site/lib/site/trip_plan/datetime.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
872
2019-05-29T17:55:50.000Z
2022-03-30T09:28:43.000Z
apps/site/lib/site/trip_plan/datetime.ex
noisecapella/dotcom
d5ef869412102d2230fac3dcc216f01a29726227
[ "MIT" ]
12
2019-07-01T18:33:21.000Z
2022-03-10T02:13:57.000Z
defmodule Site.TripPlan.DateTime do @moduledoc "Useful functions for time and date manipulations" alias Site.TripPlan.Query @type time_type :: :depart_at | :arrive_by @type date_error :: :invalid_date | {:too_future, DateTime.t()} | {:past, DateTime.t()} @type date_time :: {time_type, DateTime.t()} | {:error...
30.956522
91
0.625468
ab9ef07ad7e7013fe3492d6f0c62584e0c9dc05d
1,766
ex
Elixir
lib/cizen/saga_launcher.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
1
2019-04-08T08:00:06.000Z
2019-04-08T08:00:06.000Z
lib/cizen/saga_launcher.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
null
null
null
lib/cizen/saga_launcher.ex
ryo33/cizen
e1d3e232e4d3e72dfc7ef122d936ae26fa60c084
[ "MIT" ]
null
null
null
defmodule Cizen.SagaLauncher do @moduledoc """ The core module to launch automata. """ use GenServer alias Cizen.{Dispatcher, Event, Filter} alias Cizen.Saga alias Cizen.SagaID require Filter defmodule LaunchSaga do @moduledoc """ The event to launch an saga. """ @enforce_keys [:id...
18.989247
90
0.609287