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
ac51e693d8322684bf655047a6d3dd20be5c9430
1,600
exs
Elixir
config/config.exs
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
1
2020-04-08T16:39:00.000Z
2020-04-08T16:39:00.000Z
config/config.exs
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "MIT" ]
null
null
null
config/config.exs
pmhoudry/plausible
454feec36e62b866ae86e07a1f4133d9782d4365
[ "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 :plausible, ecto_repos: [Plausible.Repo...
29.62963
86
0.76375
ac51e8aeac7a6c3535c88193a6c5028fc6d8dc87
11,008
ex
Elixir
test/support/factory.ex
jrissler/oli-torus
747f9e4360163d76a6ca5daee3aab1feab0c99b1
[ "MIT" ]
null
null
null
test/support/factory.ex
jrissler/oli-torus
747f9e4360163d76a6ca5daee3aab1feab0c99b1
[ "MIT" ]
null
null
null
test/support/factory.ex
jrissler/oli-torus
747f9e4360163d76a6ca5daee3aab1feab0c99b1
[ "MIT" ]
null
null
null
defmodule Oli.Factory do use ExMachina.Ecto, repo: Oli.Repo alias Oli.Accounts.{Author, User} alias Oli.Authoring.Course.{Family, Project, ProjectVisibility, ProjectResource} alias Oli.Branding.Brand alias Oli.Delivery.Attempts.Core.{ActivityAttempt, PartAttempt, ResourceAccess, ResourceAttempt} alias Oli....
24.681614
98
0.651708
ac51f7f4bad98d20c837d4c8dba94c151b4169f5
1,409
ex
Elixir
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/restore_crypto_key_version_request.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/restore_crypto_key_version_request.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/cloud_kms/lib/google_api/cloud_kms/v1/model/restore_crypto_key_version_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 "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...
32.767442
90
0.775727
ac520361450b02d626cc437f2371548fe5733cd3
1,089
ex
Elixir
lib/ash/resource/transformers/require_unique_action_names.ex
joshprice/ash
e452c4091918a88d51063000f7dc44b2f54f5f96
[ "MIT" ]
null
null
null
lib/ash/resource/transformers/require_unique_action_names.ex
joshprice/ash
e452c4091918a88d51063000f7dc44b2f54f5f96
[ "MIT" ]
null
null
null
lib/ash/resource/transformers/require_unique_action_names.ex
joshprice/ash
e452c4091918a88d51063000f7dc44b2f54f5f96
[ "MIT" ]
null
null
null
defmodule Ash.Resource.Transformers.RequireUniqueActionNames do @moduledoc """ Ensures that all actions have unique names. """ use Ash.Dsl.Transformer alias Ash.Dsl.Transformer alias Ash.Error.Dsl.DslError def transform(resource, dsl_state) do dsl_state |> Transformer.get_entities([:actions]) ...
30.25
114
0.608815
ac521aac58935ac0713730565296cddfc707a81b
2,901
ex
Elixir
lib/loaded_bike/web/controllers/user/photo_controller.ex
GBH/pedal
a2d68c3561f186ee3017a21b4170127b1625e18d
[ "MIT" ]
48
2017-04-25T16:02:08.000Z
2021-01-23T01:57:29.000Z
lib/loaded_bike/web/controllers/user/photo_controller.ex
GBH/pedal
a2d68c3561f186ee3017a21b4170127b1625e18d
[ "MIT" ]
5
2018-03-09T20:17:55.000Z
2018-07-23T16:29:21.000Z
lib/loaded_bike/web/controllers/user/photo_controller.ex
GBH/pedal
a2d68c3561f186ee3017a21b4170127b1625e18d
[ "MIT" ]
4
2017-05-21T14:38:38.000Z
2017-12-29T11:09:54.000Z
defmodule LoadedBike.Web.User.PhotoController do use LoadedBike.Web, :controller use LoadedBike.Web.Controller.Helpers use LoadedBike.Web.Controller.User.Helpers alias LoadedBike.Photo plug :load_tour, "tour_id" plug :load_waypoint, "waypoint_id" plug :load_photo, "id" when action in ...
34.129412
106
0.62737
ac526d8ee4714f564b93782c2e46c9b4596c7f7e
4,079
exs
Elixir
test/distance_matrix_api_test.exs
elixir-twister/distance-matrix-api
942ce32167b6519817b4847c263d2ec0b60f6935
[ "MIT" ]
1
2019-03-20T01:57:13.000Z
2019-03-20T01:57:13.000Z
test/distance_matrix_api_test.exs
elixir-twister/distance-matrix-api
942ce32167b6519817b4847c263d2ec0b60f6935
[ "MIT" ]
null
null
null
test/distance_matrix_api_test.exs
elixir-twister/distance-matrix-api
942ce32167b6519817b4847c263d2ec0b60f6935
[ "MIT" ]
null
null
null
defmodule DistanceMatrixApiTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney setup_all do ExVCR.Config.cassette_library_dir("test/cassettes") :ok end test ".distances response for success" do use_cassette "success" do travels = DistanceMatrixApi.T...
35.163793
161
0.525864
ac527fbf3a15c9d5ecc146cdc6f52dbf2c396706
10,939
ex
Elixir
lib/mavlink/parser.ex
beamuav/elixir-mavlink
1db95ccb7e631f89159ff1d0927fe7d5722107be
[ "MIT" ]
5
2019-08-10T08:21:38.000Z
2021-05-27T23:51:05.000Z
lib/mavlink/parser.ex
beamuav/elixir-mavlink
1db95ccb7e631f89159ff1d0927fe7d5722107be
[ "MIT" ]
15
2019-08-18T08:47:05.000Z
2021-05-24T07:05:18.000Z
lib/mavlink/parser.ex
beamuav/elixir-mavlink
1db95ccb7e631f89159ff1d0927fe7d5722107be
[ "MIT" ]
null
null
null
defmodule MAVLink.Parser do @moduledoc """ Parse a mavlink xml file into an idiomatic Elixir representation: %{ version: 2, dialect: 0, enums: [ %{ name: :mav_autopilot, description: "Micro air vehicle...", entries: [ %{ value: 0...
34.077882
160
0.583326
ac528c2cebf60fb6d863053146b4ca52bbc6c5e8
706
ex
Elixir
web/gettext.ex
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
3
2016-12-20T17:16:39.000Z
2017-02-22T11:06:56.000Z
web/gettext.ex
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
1
2017-05-31T16:32:41.000Z
2017-05-31T16:32:41.000Z
web/gettext.ex
underhilllabs/big_snips
7f1b59d2be45fe6a488d8e3ce7842e7cc867d676
[ "MIT" ]
null
null
null
defmodule BigSnips.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 BigSnips.Gettext # Simple translation gettext "Here is the s...
28.24
72
0.679887
ac52ad728e781de3e7a9d15b241a5656185d8c6f
3,366
exs
Elixir
test/massex_test.exs
venndr/massex
e8919748aef4e3a4ba9fe9c10574346219d66e06
[ "MIT" ]
2
2020-07-16T21:34:38.000Z
2020-07-29T10:16:20.000Z
test/massex_test.exs
venndr/massex
e8919748aef4e3a4ba9fe9c10574346219d66e06
[ "MIT" ]
null
null
null
test/massex_test.exs
venndr/massex
e8919748aef4e3a4ba9fe9c10574346219d66e06
[ "MIT" ]
null
null
null
defmodule MassexTest do use ExUnit.Case doctest Massex test "holds an amount" do assert Massex.new(10, :gram).amount == Decimal.new(10) end test "holds the unit" do assert Massex.new(10, :g).unit == :gram end test "can be Jason encoded" do amount = 10 |> Massex.new(:gram) |> Jason.encode!()...
30.053571
100
0.660428
ac52b6d802bda7e187e1f0e88aee5b56aafa9eae
1,041
exs
Elixir
test/perf_test.exs
rsnestor/iot_emulator
6e1a1835801eb180bc97838461ea5a2f44a6a3c4
[ "MIT" ]
null
null
null
test/perf_test.exs
rsnestor/iot_emulator
6e1a1835801eb180bc97838461ea5a2f44a6a3c4
[ "MIT" ]
null
null
null
test/perf_test.exs
rsnestor/iot_emulator
6e1a1835801eb180bc97838461ea5a2f44a6a3c4
[ "MIT" ]
null
null
null
defmodule RelayTest do use ExUnit.Case, async: true, timeout: 5000 setup_all do {:ok, rhost: '10.140.125.79', load1: 100, load_max: 1000 } end test "smoke (sanity) check" do Relay.start(8889) publish(8889,1) assert true == true end test "load test", context do ...
22.148936
83
0.618636
ac52d962f3eea006ec6e187533e4962dd35fb5a3
628
ex
Elixir
lib/sample_genstage/producer.ex
abmBispo/sample-genstage
c6e2af7efd64f3baaa423c1f4a05b05120723843
[ "MIT" ]
null
null
null
lib/sample_genstage/producer.ex
abmBispo/sample-genstage
c6e2af7efd64f3baaa423c1f4a05b05120723843
[ "MIT" ]
null
null
null
lib/sample_genstage/producer.ex
abmBispo/sample-genstage
c6e2af7efd64f3baaa423c1f4a05b05120723843
[ "MIT" ]
null
null
null
defmodule SampleGenstage.Producer do @moduledoc false use GenStage def start_link(initial) do GenStage.start_link(__MODULE__, initial, name: __MODULE__) end def init(state) do {:producer, state} end def handle_demand(_demand, message) do IO.inspect(message, label: "producer") {:noreply...
24.153846
105
0.702229
ac52dd9d862e3e6b595dbe460b28982e6b36a24a
2,794
ex
Elixir
lib/digital_ocean/cdn_endpoint.ex
kianmeng/digital-ocean-elixir
eff6fd1c621ab51908edad731794b0ef2db1cac1
[ "MIT" ]
5
2020-09-20T19:35:32.000Z
2021-12-15T08:57:22.000Z
lib/digital_ocean/cdn_endpoint.ex
kianmeng/digital-ocean-elixir
eff6fd1c621ab51908edad731794b0ef2db1cac1
[ "MIT" ]
8
2020-09-25T14:30:03.000Z
2022-02-21T18:04:48.000Z
lib/digital_ocean/cdn_endpoint.ex
kianmeng/digital-ocean-elixir
eff6fd1c621ab51908edad731794b0ef2db1cac1
[ "MIT" ]
4
2020-09-25T14:26:11.000Z
2021-08-09T06:43:18.000Z
defmodule DigitalOcean.CDNEndpoint do alias DigitalOcean.{ Operation } @doc """ Create a CDN endpoint. ## Examples iex> DigitalOcean.CDNEndpoint.create( ...> origin: "static-images.nyc3.digitaloceanspaces.com", ...> certificate_id: "892071a0-bb95-49bc-8021-3afd67a210bf", ...> cu...
25.87037
108
0.597351
ac531f27950b31285c418cc952c3207fc6b18250
3,019
ex
Elixir
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_condition.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_condition.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2/model/google_privacy_dlp_v2_condition.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 "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...
54.890909
828
0.749586
ac531fa0076c1704422b184ba516ea93acff29c5
714
ex
Elixir
lib/styx/supervisors/supervisor.ex
Vandise/styx
ca1224830c0c6052efb05748cf6e18670eae4400
[ "MIT" ]
null
null
null
lib/styx/supervisors/supervisor.ex
Vandise/styx
ca1224830c0c6052efb05748cf6e18670eae4400
[ "MIT" ]
null
null
null
lib/styx/supervisors/supervisor.ex
Vandise/styx
ca1224830c0c6052efb05748cf6e18670eae4400
[ "MIT" ]
null
null
null
defmodule Styx.Supervisors.Supervisor do @moduledoc """ Shared functions and attributes between supervisors """ @doc """ Adds the registry key attribute * Adds find_process/2 * Adds registry_key/0 """ defmacro __using__(_) do quote location: :keep do use Supervisor require Logger ...
23.8
72
0.627451
ac5352e805f843ba042fbc1e5dd1e4258d659ebd
965
ex
Elixir
lib/honeydew/success_mode/log.ex
facto/honeydew
d73e75d4a73ba5363cc84416a673233c156c812d
[ "MIT" ]
null
null
null
lib/honeydew/success_mode/log.ex
facto/honeydew
d73e75d4a73ba5363cc84416a673233c156c812d
[ "MIT" ]
null
null
null
lib/honeydew/success_mode/log.ex
facto/honeydew
d73e75d4a73ba5363cc84416a673233c156c812d
[ "MIT" ]
null
null
null
defmodule Honeydew.SuccessMode.Log do @moduledoc """ Instructs Honeydew to log the job when it succeeds. This logging might be too verbose for most needs, it's mostly an example of how to write a SuccessMode. ## Example ```elixir Honeydew.start_queue(:my_queue, success_mode: #{inspect __MODULE__}) ``` ...
31.129032
150
0.71399
ac5360e818a45a14e214924c846e265c726ae9f5
2,438
exs
Elixir
lib/mix/test/mix/tasks/cmd_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/mix/test/mix/tasks/cmd_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/mix/test/mix/tasks/cmd_test.exs
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
Code.require_file("../../test_helper.exs", __DIR__) defmodule Mix.Tasks.CmdTest do use MixTest.Case test "can be called multiple times" do nl = os_newline() Mix.Task.run("cmd", ["echo", "hello"]) assert_received {:mix_shell, :run, ["hello" <> ^nl]} Mix.Task.run("cmd", ["echo", "hello"]) assert...
37.507692
79
0.57137
ac536c870b2f87f4474f6ce72892bd5cd76beac5
72
exs
Elixir
test/llp_web/views/page_view_test.exs
Danwhy/llp
63d4efa78b56351c9d96c46024291c828722c3fe
[ "MIT" ]
2
2019-01-02T11:02:59.000Z
2019-04-15T10:07:40.000Z
test/llp_web/views/page_view_test.exs
Danwhy/llp
63d4efa78b56351c9d96c46024291c828722c3fe
[ "MIT" ]
null
null
null
test/llp_web/views/page_view_test.exs
Danwhy/llp
63d4efa78b56351c9d96c46024291c828722c3fe
[ "MIT" ]
null
null
null
defmodule LlpWeb.PageViewTest do use LlpWeb.ConnCase, async: true end
18
34
0.805556
ac539ab6892a43cbb2d2f2d913dafcef942a5135
345
exs
Elixir
priv/repo/seeds.exs
aesmail/fotd
03bc3f145ed2aa30bafa25198570c380a8d0ad31
[ "Apache-2.0" ]
1
2018-11-24T12:01:30.000Z
2018-11-24T12:01:30.000Z
priv/repo/seeds.exs
wojtekmach/fotd
f485b6b8d4d9e7b3385699f6175d1bc61d13035a
[ "Apache-2.0" ]
null
null
null
priv/repo/seeds.exs
wojtekmach/fotd
f485b6b8d4d9e7b3385699f6175d1bc61d13035a
[ "Apache-2.0" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Fotd.Repo.insert!(%Fotd.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail ...
28.75
61
0.701449
ac53f3ebf05a6e6dda91a71d190b2f77acb04ee1
1,083
ex
Elixir
lib/logger_exporter/batcher.ex
TwistingTwists/logger_exporter
21639b1cf3cf1f7867e241d9a2ec920531b8b693
[ "MIT" ]
9
2022-01-31T02:16:05.000Z
2022-02-13T00:30:05.000Z
lib/logger_exporter/batcher.ex
TwistingTwists/logger_exporter
21639b1cf3cf1f7867e241d9a2ec920531b8b693
[ "MIT" ]
5
2022-02-08T23:40:07.000Z
2022-02-22T05:19:38.000Z
lib/logger_exporter/batcher.ex
TwistingTwists/logger_exporter
21639b1cf3cf1f7867e241d9a2ec920531b8b693
[ "MIT" ]
2
2022-02-11T05:06:21.000Z
2022-02-22T03:32:44.000Z
defmodule LoggerExporter.Batcher do @moduledoc """ GenServer that batches the events in a `:queue` Sends the batch to the HTTPClient """ use GenServer alias LoggerExporter.{Config, Event, HTTPClient} def start_link(_opts) do GenServer.start_link(__MODULE__, :queue.new(), name: __MODULE__) end ...
19.690909
71
0.677747
ac5404df41c95dafc2df8069cc5a5a4eae1f3605
1,376
exs
Elixir
test/parser_test.exs
chewy-soft/elixir-parser
e3420fba91872fe0cb789484a31348152d3df7ae
[ "MIT" ]
null
null
null
test/parser_test.exs
chewy-soft/elixir-parser
e3420fba91872fe0cb789484a31348152d3df7ae
[ "MIT" ]
null
null
null
test/parser_test.exs
chewy-soft/elixir-parser
e3420fba91872fe0cb789484a31348152d3df7ae
[ "MIT" ]
null
null
null
defmodule MyParser do use Parser end defmodule TestParser do use Parser def parse(%BSON.ObjectId{} = value, :string) do BSON.ObjectId.encode!(value) end def parse(value, :object_id) when is_binary(value) do BSON.ObjectId.decode!(value) end end defmodule TestStruct do defstruct attrribute1: nil ...
28.081633
83
0.672238
ac54396367bc7abb0516c6fd215944da43235bd9
8,609
ex
Elixir
clients/deployment_manager/lib/google_api/deployment_manager/v2/api/resources.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/deployment_manager/lib/google_api/deployment_manager/v2/api/resources.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/deployment_manager/lib/google_api/deployment_manager/v2/api/resources.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 ...
49.477011
414
0.665118
ac543ea19f71f3f399bc1880207806f69ce00c06
1,402
ex
Elixir
activelearnbackend/roomcodes/lib/roomcodes_web/telemetry.ex
braydentam/activelearn
8ff573b263f2ed698b10a40c6421f1616b624b74
[ "MIT" ]
5
2021-03-27T22:17:10.000Z
2021-07-12T03:48:57.000Z
activelearnbackend/roomcodes/lib/roomcodes_web/telemetry.ex
braydentam/activelearn
8ff573b263f2ed698b10a40c6421f1616b624b74
[ "MIT" ]
null
null
null
activelearnbackend/roomcodes/lib/roomcodes_web/telemetry.ex
braydentam/activelearn
8ff573b263f2ed698b10a40c6421f1616b624b74
[ "MIT" ]
null
null
null
defmodule RoomcodesWeb.Telemetry do use Supervisor import Telemetry.Metrics def start_link(arg) do Supervisor.start_link(__MODULE__, arg, name: __MODULE__) end @impl true def init(_arg) do children = [ # Telemetry poller will execute the given period measurements # every 10_000ms. Lear...
28.612245
86
0.671184
ac543f1ea2144294509cced6d480e67b6749c787
1,745
ex
Elixir
lib/xdr/transactions/operations/create_claimable_balance.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
lib/xdr/transactions/operations/create_claimable_balance.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
lib/xdr/transactions/operations/create_claimable_balance.ex
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Operations.CreateClaimableBalance do @moduledoc """ Representation of Stellar `CreateClaimableBalance` type. """ alias StellarBase.XDR.{Asset, Int64, Claimants} @behaviour XDR.Declaration @struct_spec XDR.Struct.new(asset: Asset, amount: Int64, claimants: Claimants) @type t ::...
31.160714
101
0.673352
ac545610394ff551b42bd2db23dbad438c46c176
753
ex
Elixir
lib/esshd/application.ex
skunkwerks/esshd
0c4869431ad5382f21790fe248e514acb28b036d
[ "Apache-2.0" ]
null
null
null
lib/esshd/application.ex
skunkwerks/esshd
0c4869431ad5382f21790fe248e514acb28b036d
[ "Apache-2.0" ]
null
null
null
lib/esshd/application.ex
skunkwerks/esshd
0c4869431ad5382f21790fe248e514acb28b036d
[ "Apache-2.0" ]
null
null
null
defmodule Sshd.Application do # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do import Supervisor.Spec, warn: false # Define workers and child supervisors to be supervised child...
30.12
76
0.697211
ac545b09947a392d43d309241f5c2841d59f6c01
257
ex
Elixir
server/lib/buff_server.ex
BlueHotDog/buff
0403f68867e950945a47cce2d7442974d12583b2
[ "MIT" ]
1
2020-03-18T17:29:32.000Z
2020-03-18T17:29:32.000Z
server/lib/buff_server.ex
BlueHotDog/buff
0403f68867e950945a47cce2d7442974d12583b2
[ "MIT" ]
26
2019-06-09T18:35:45.000Z
2020-07-30T17:05:58.000Z
server/lib/buff_server.ex
BlueHotDog/buff
0403f68867e950945a47cce2d7442974d12583b2
[ "MIT" ]
null
null
null
defmodule BuffServer do @moduledoc """ BuffServer keeps the contexts that define your domain and business logic. Contexts are also responsible for managing your data, regardless if it comes from the database, an external API or others. """ end
25.7
66
0.758755
ac545eb344ec6cda89a7c6406ec9b76d08e1f8de
181
ex
Elixir
lib/yuki/parsers/tsv.ex
tap349/yuki
90e332a45f46d8f6a9bae74ddeed6c9b7b820dca
[ "MIT" ]
null
null
null
lib/yuki/parsers/tsv.ex
tap349/yuki
90e332a45f46d8f6a9bae74ddeed6c9b7b820dca
[ "MIT" ]
null
null
null
lib/yuki/parsers/tsv.ex
tap349/yuki
90e332a45f46d8f6a9bae74ddeed6c9b7b820dca
[ "MIT" ]
null
null
null
defmodule Yuki.Parsers.TSV do NimbleCSV.define(Default, separator: "\t", escape: "\"") def parse!(tsv, opts \\ []) do Yuki.Parsers.CSV.parse!(tsv, Default, opts) end end
22.625
58
0.657459
ac54717f1713ffe96665f799f561e8cf0336291b
10,298
exs
Elixir
test/support/examples/inline-examples-from-spec-page/core_test.exs
coryodaniel/activity_streams
b5659463d7e6fce08d708efdb505f13652c4c5f0
[ "MIT" ]
2
2018-05-07T21:16:55.000Z
2018-05-08T11:31:48.000Z
test/support/examples/inline-examples-from-spec-page/core_test.exs
coryodaniel/activity_streams
b5659463d7e6fce08d708efdb505f13652c4c5f0
[ "MIT" ]
null
null
null
test/support/examples/inline-examples-from-spec-page/core_test.exs
coryodaniel/activity_streams
b5659463d7e6fce08d708efdb505f13652c4c5f0
[ "MIT" ]
1
2018-10-26T01:59:22.000Z
2018-10-26T01:59:22.000Z
# ## An extended activity # # { # "@context": "https://www.w3.org/ns/activitystreams", # "summary": "Martin's recent activities", # "type": "Collection", # "totalItems": 1, # "items" : [ # { # "type": "Add", # "published": "2011-02-10T15:04:55Z", # "generator": "http://example.org/activi...
30.924925
467
0.57215
ac547f11c6aa3633d499f5eff778d8f2c4752e47
1,185
exs
Elixir
test/absinthe/language/directive_definition_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
null
null
null
test/absinthe/language/directive_definition_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
2
2020-07-21T05:23:37.000Z
2020-08-26T04:56:12.000Z
test/absinthe/language/directive_definition_test.exs
hauptbenutzer/absinthe
f1d76e5c249ca337187971b0c96b1870f53716ed
[ "MIT" ]
1
2018-11-16T02:34:40.000Z
2018-11-16T02:34:40.000Z
defmodule Absinthe.Language.DirectiveDefinitionTest do use Absinthe.Case, async: true alias Absinthe.{Blueprint, Language} describe "blueprint conversion" do test "works, given a Blueprint Schema 'directive' definition without arguments" do assert %Blueprint.Schema.DirectiveDefinition{name: "thingy", ...
30.384615
130
0.647257
ac54865558ca9a1ef01df9fe920d0c71fbde9f25
4,911
ex
Elixir
lib/changelog_web/controllers/person_controller.ex
matryer/changelog.com
62680eeeb53b42c6e9aa6d77df8b035d25bb8037
[ "MIT" ]
1
2021-03-14T21:12:49.000Z
2021-03-14T21:12:49.000Z
lib/changelog_web/controllers/person_controller.ex
matryer/changelog.com
62680eeeb53b42c6e9aa6d77df8b035d25bb8037
[ "MIT" ]
null
null
null
lib/changelog_web/controllers/person_controller.ex
matryer/changelog.com
62680eeeb53b42c6e9aa6d77df8b035d25bb8037
[ "MIT" ]
1
2018-10-03T20:55:52.000Z
2018-10-03T20:55:52.000Z
defmodule ChangelogWeb.PersonController do use ChangelogWeb, :controller alias Changelog.{Cache, Mailer, Newsletters, Person, Podcast, Subscription} alias ChangelogWeb.Email plug RequireGuest, "before joining" when action in [:join] def subscribe(conn = %{method: "GET"}, %{"to" => to}) when to in ["weekly"...
35.330935
112
0.667685
ac548cc905148e5fd39db9c07e56c943ac59f3f4
5,444
ex
Elixir
clients/spanner/lib/google_api/spanner/v1/model/execute_sql_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/spanner/lib/google_api/spanner/v1/model/execute_sql_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/spanner/lib/google_api/spanner/v1/model/execute_sql_request.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...
76.676056
627
0.744489
ac54942259a75bdd276a1df5e6af34ee2d768198
1,472
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/name.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/name.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/cloud_search/lib/google_api/cloud_search/v1/model/name.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...
30.666667
134
0.730978
ac54db38e3468cc6a9b22654ffe8e7fb076d6a1e
16,061
exs
Elixir
test/edge_cases_tests/multiple_def_cases_test.exs
Ajwah/ex_debugger
44cd5b99c0b7751db052887b7a0bc3ce52a2972e
[ "Apache-2.0" ]
3
2020-07-07T20:41:23.000Z
2020-07-17T09:05:37.000Z
test/edge_cases_tests/multiple_def_cases_test.exs
Ajwah/ex_debugger
44cd5b99c0b7751db052887b7a0bc3ce52a2972e
[ "Apache-2.0" ]
1
2020-07-08T00:04:38.000Z
2020-07-08T00:04:38.000Z
test/edge_cases_tests/multiple_def_cases_test.exs
Ajwah/ex_debugger
44cd5b99c0b7751db052887b7a0bc3ce52a2972e
[ "Apache-2.0" ]
null
null
null
defmodule EdgeCases.MultipleDefCasesTest do @moduledoc """ This is part of a series of tests to ensure that `use ExDebugger` will not lead to stuff breaking down. Here we are dealing with single modules that encompass multiple `def` clauses without any polyfurcation occurring therein. The focal point of th...
36.921839
98
0.568458
ac54e3c7169fb754f736314eb4bfd50ff31f2af2
2,054
ex
Elixir
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/report_type.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/report_type.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/you_tube_reporting/lib/google_api/you_tube_reporting/v1/model/report_type.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...
36.678571
248
0.706426
ac54e697483d19a4ed8542cc7ca403a619ff8bd0
2,358
ex
Elixir
clients/network_management/lib/google_api/network_management/v1beta1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1beta1/model/status.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/network_management/lib/google_api/network_management/v1beta1/model/status.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...
44.490566
427
0.726887
ac54edc5b23c3af4561336c0c02dab3ebc78b4c3
1,033
exs
Elixir
test/kino/frame_test.exs
elixir-nx/kino
b33e31a5b22202d30da6b787c857ae09e5db94b5
[ "Apache-2.0" ]
39
2021-05-31T21:52:23.000Z
2021-07-09T06:52:15.000Z
test/kino/frame_test.exs
elixir-nx/kino
b33e31a5b22202d30da6b787c857ae09e5db94b5
[ "Apache-2.0" ]
15
2021-06-07T07:53:56.000Z
2021-07-01T14:25:00.000Z
test/kino/frame_test.exs
elixir-nx/kino
b33e31a5b22202d30da6b787c857ae09e5db94b5
[ "Apache-2.0" ]
2
2021-06-05T08:05:53.000Z
2021-06-15T09:28:44.000Z
defmodule Kino.FrameTest do use ExUnit.Case, async: true test "render/2 formats the given value into output and sends to the client" do widget = Kino.Frame.new() connect_self(widget) Kino.Frame.render(widget, 1) assert_receive {:render, %{output: {:text, "\e[34m1\e[0m"}}} Kino.Frame.render(w...
25.825
83
0.632139
ac54f619f2c0aa2c0234e07eb1915aaf2a05f578
1,729
ex
Elixir
clients/display_video/lib/google_api/display_video/v1/model/exchange_assigned_targeting_option_details.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/display_video/lib/google_api/display_video/v1/model/exchange_assigned_targeting_option_details.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/display_video/lib/google_api/display_video/v1/model/exchange_assigned_targeting_option_details.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...
35.285714
173
0.769231
ac55206c6c55f5763d5bd7f4f5bad3cf50ee2cdc
32
exs
Elixir
test_app/test/test_helper.exs
archan937/mecks_unit
b730ab31ce2cbf01551adbd74b47a765646d435e
[ "Unlicense", "MIT" ]
50
2019-01-12T08:58:36.000Z
2022-01-25T22:32:12.000Z
test_app/test/test_helper.exs
archan937/mecks_unit
b730ab31ce2cbf01551adbd74b47a765646d435e
[ "Unlicense", "MIT" ]
5
2019-02-13T10:19:20.000Z
2020-04-19T08:49:36.000Z
test_app/test/test_helper.exs
archan937/mecks_unit
b730ab31ce2cbf01551adbd74b47a765646d435e
[ "Unlicense", "MIT" ]
6
2019-02-24T18:58:50.000Z
2022-01-25T22:33:32.000Z
ExUnit.start() MecksUnit.mock()
10.666667
16
0.75
ac55272babe8613f7d513b68224a8392c3e1beb0
909
ex
Elixir
lib/harald/serializable.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
59
2019-02-16T00:09:58.000Z
2020-03-29T23:37:36.000Z
lib/harald/serializable.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
19
2019-02-15T22:41:43.000Z
2020-02-15T19:20:57.000Z
lib/harald/serializable.ex
mattludwigs/harald
82e67a71d9940d8572fd217eaf29575e81533151
[ "MIT" ]
9
2020-05-07T00:02:36.000Z
2021-09-17T18:17:46.000Z
defmodule Harald.Serializable do @moduledoc """ Serializable behaviour. """ @callback serialize(term()) :: {:ok, binary()} | {:error, term()} @callback deserialize(binary()) :: {:ok, term()} | {:error, term()} @doc """ Asserts that `bin` will serialize symmetrically. If `bin` deserializes into `{:ok...
27.545455
94
0.607261
ac553bb0164057a506339cdb2f55ab4a1a034fc9
469
exs
Elixir
mix.exs
flowerett/elixir-koans
174f4610e846f59cc34b41a36b813f5d684fd510
[ "MIT" ]
1,944
2016-04-24T02:46:10.000Z
2022-03-29T00:19:17.000Z
mix.exs
flowerett/elixir-koans
174f4610e846f59cc34b41a36b813f5d684fd510
[ "MIT" ]
157
2016-04-23T18:40:24.000Z
2022-02-10T14:00:45.000Z
mix.exs
flowerett/elixir-koans
174f4610e846f59cc34b41a36b813f5d684fd510
[ "MIT" ]
636
2016-04-23T17:18:00.000Z
2022-03-23T10:04:06.000Z
defmodule Koans.Mixfile do use Mix.Project def project do [app: :elixir_koans, version: "0.0.1", elixir: ">= 1.3.0 and < 2.0.0", elixirc_paths: elixirc_path(Mix.env), deps: deps()] end def application do [mod: {ElixirKoans, []}, applications: [:file_system, :logger]] end ...
19.541667
56
0.594883
ac553dc1615348288a0b54fd66b7f8e3d63f67d8
420
ex
Elixir
farmbot_os/lib/farmbot_os/platform_supervisor.ex
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
farmbot_os/lib/farmbot_os/platform_supervisor.ex
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
farmbot_os/lib/farmbot_os/platform_supervisor.ex
elbow-jason/farmbot_os
f5dfc8f58a309285ca3d441b1b7272f15315b2a9
[ "MIT" ]
null
null
null
defmodule FarmbotOS.Platform.Supervisor do @moduledoc """ Supervises Platform specific code as defined in `config.exs` """ use Supervisor def start_link(args) do Supervisor.start_link(__MODULE__, args, name: __MODULE__) end def init([]) do platform_children = Application.get_env(:farmbot, __MOD...
24.705882
85
0.747619
ac556ef6d17d0a0d8b99720327f6b4f9640cde1c
3,118
ex
Elixir
lib/ueberauth/strategy/hatena/oauth.ex
h3poteto/ueberauth_hatena
bc7ff5203f60b08dbf4586027e2581cbc8d53b1b
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/hatena/oauth.ex
h3poteto/ueberauth_hatena
bc7ff5203f60b08dbf4586027e2581cbc8d53b1b
[ "MIT" ]
29
2019-10-07T15:50:05.000Z
2021-08-03T05:37:22.000Z
lib/ueberauth/strategy/hatena/oauth.ex
h3poteto/ueberauth_hatena
bc7ff5203f60b08dbf4586027e2581cbc8d53b1b
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Hatena.OAuth do @moduledoc """ OAuth 1.0a for Hatena. Add `consumer_key` and `consumer_secret` to your configuration: config :ueberauth, Ueberauth.Strategy.Hatena.OAuth, consumer_key: System.get_env("HATENA_CONSUMER_KEY"), consumer_secret: System.get_env("HATENA_CONSUMER_S...
28.605505
85
0.655869
ac55c21ece54f969d3c6fabdd8ae519f12b4cfd8
20
exs
Elixir
elixir/125.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
elixir/125.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
elixir/125.exs
merxer/kata
5dbbca8b4173029f9311398148de9437a329cf9a
[ "MIT" ]
null
null
null
a = 4 + 2 IO.puts a
6.666667
9
0.5
ac560b06b99ba02b6d2e03119b2698ad2ed17bfa
545
ex
Elixir
lib/ecto/etf.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
7
2019-05-11T12:14:48.000Z
2021-04-02T18:42:51.000Z
lib/ecto/etf.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
3
2019-05-11T08:01:47.000Z
2019-05-14T12:06:50.000Z
lib/ecto/etf.ex
cloud8421/ada
384f5e5e85e95c4d5883298259e781cc0a54bd07
[ "MIT" ]
1
2021-01-06T14:57:32.000Z
2021-01-06T14:57:32.000Z
defmodule Ecto.ETF do @moduledoc false @behaviour Ecto.Type # See http://erlang.org/doc/apps/erts/erl_ext_dist.html#id95128 # for details about ETF. # # For safety reasons, decompression is done with the :safe flag. def type, do: :binary def cast(binary = <<131, _::binary>>) do try do {:ok,...
20.185185
66
0.623853
ac5655b859c3112bc20229e03e01bb74d89279a5
1,180
ex
Elixir
lib/myxql/result.ex
chulkilee/myxql
dc6ad092ff8dc6849ee7e2546083df33dfd07758
[ "Apache-2.0" ]
230
2018-08-27T11:07:46.000Z
2022-02-19T17:39:16.000Z
lib/myxql/result.ex
chulkilee/myxql
dc6ad092ff8dc6849ee7e2546083df33dfd07758
[ "Apache-2.0" ]
138
2018-10-08T00:38:33.000Z
2022-03-15T09:02:25.000Z
lib/myxql/result.ex
jackjoe/myxql
4e7f7dc01c51153b19b1aee4247fa1d57660959d
[ "Apache-2.0" ]
54
2018-09-10T21:27:18.000Z
2022-03-15T13:46:36.000Z
defmodule MyXQL.Result do @moduledoc """ Result struct returned from any successful query. Its public fields are: * `:columns` - The column names; * `:connection_id` - The connection ID; * `:last_insert_id` - The ID of the last inserted row; * `:num_rows` - The number of fetched or affected rows...
27.44186
83
0.636441
ac5663cd1759cc13f1a32fd04d58a23046559f0d
1,488
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v2/model/images_upload_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/model/images_upload_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v2/model/images_upload_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...
31.659574
90
0.749328
ac56860f85e185a2ecacc2bba7c4486715295783
1,629
ex
Elixir
lib/surface_bulma/modal/card.ex
geometerio/surface_bulma
8afe8c4548a09f4995a6bcd43bc7d702ff52781e
[ "MIT" ]
null
null
null
lib/surface_bulma/modal/card.ex
geometerio/surface_bulma
8afe8c4548a09f4995a6bcd43bc7d702ff52781e
[ "MIT" ]
null
null
null
lib/surface_bulma/modal/card.ex
geometerio/surface_bulma
8afe8c4548a09f4995a6bcd43bc7d702ff52781e
[ "MIT" ]
null
null
null
defmodule SurfaceBulma.Modal.Card do use Surface.Component alias SurfaceBulma.Button @moduledoc """ The card **modal**, with various configuration options. The modal is a stateless component and as such requires outside handling of whether or not the modal should be shown. This component is currently no...
31.326923
124
0.653775
ac568939549d05ec76674bc5afa4fcc959b9142c
5,222
ex
Elixir
lib/panda.ex
nayed/panda
0980425b2c7f52b6bd78bca5e8cc578851644a17
[ "MIT" ]
null
null
null
lib/panda.ex
nayed/panda
0980425b2c7f52b6bd78bca5e8cc578851644a17
[ "MIT" ]
null
null
null
lib/panda.ex
nayed/panda
0980425b2c7f52b6bd78bca5e8cc578851644a17
[ "MIT" ]
null
null
null
defmodule Panda do @moduledoc """ Documentation for Panda. """ @api_url Application.get_env(:panda, :api_url) @token_part "token=#{System.get_env("PANDASCORE_TOKEN")}" @doc """ Fetch Pandascore API's future matches """ def upcoming_matches do "#{@api_url}/matches?sort=begin_at&filter[future]=tru...
29.84
100
0.649368
ac56cf1f259f37e01c4e63da3ff4143728a23688
4,098
exs
Elixir
test/fnv/fnv_1a_test.exs
asaaki/fnv.ex
d7c55d3d8ce8046fe30e591cee59d6beb883012f
[ "MIT" ]
5
2015-10-02T11:18:56.000Z
2020-04-27T17:08:46.000Z
test/fnv/fnv_1a_test.exs
asaaki/FNV.ex
d7c55d3d8ce8046fe30e591cee59d6beb883012f
[ "MIT" ]
4
2015-06-01T13:09:27.000Z
2017-07-04T11:46:52.000Z
test/fnv/fnv_1a_test.exs
asaaki/FNV.ex
d7c55d3d8ce8046fe30e591cee59d6beb883012f
[ "MIT" ]
3
2015-06-01T10:12:35.000Z
2017-06-29T19:27:05.000Z
defmodule FNV_FNV1a_Test do import FNVTestSetup use ExUnit.Case, async: true module_under_test = FNV.FNV1a # We only need to test the hex strings as they can be calculated only if they pass through the integer step. @test_outputs_hex [ # 32 [ "811c9dc5", "b2f5cb99", "956cf6b0", ...
52.538462
265
0.810151
ac5708175c79ea0232b46828735e86a350e37517
9,441
ex
Elixir
lib/jackalope.ex
keeplabs/jackalope
a917680e071bf8b76eac21042bdb5c49a8a956b2
[ "Apache-2.0" ]
null
null
null
lib/jackalope.ex
keeplabs/jackalope
a917680e071bf8b76eac21042bdb5c49a8a956b2
[ "Apache-2.0" ]
null
null
null
lib/jackalope.ex
keeplabs/jackalope
a917680e071bf8b76eac21042bdb5c49a8a956b2
[ "Apache-2.0" ]
null
null
null
defmodule Jackalope do @moduledoc "README.md" |> File.read!() |> String.split("<!-- MDOC !-->") |> Enum.fetch!(1) use Supervisor require Logger @default_mqtt_server { Tortoise311.Transport.Tcp, host: "localhost", port: 1883 } @default_max_work_list_size 100...
41.047826
144
0.710942
ac571f13109a206cd9c8a00e3c5a6c0ae1c82976
372
exs
Elixir
priv/repo/seeds.exs
gabriel-letarte/functional-todo-list
06d292a66219c7a0114059be8b268d4fec4de95f
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
gabriel-letarte/functional-todo-list
06d292a66219c7a0114059be8b268d4fec4de95f
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
gabriel-letarte/functional-todo-list
06d292a66219c7a0114059be8b268d4fec4de95f
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # FunctionalTodoList.Repo.insert!(%FunctionalTodoList.SomeModel{}) # # We recommend using the bang functions (`insert!`, `update!` # an...
31
70
0.723118
ac572d72095a5fb0610dcf611bad0718e4b31436
6,009
exs
Elixir
test/unit/xsd/datatypes/integer_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
53
2017-06-25T22:20:44.000Z
2020-04-27T17:27:51.000Z
test/unit/xsd/datatypes/integer_test.exs
marcelotto/rdf-ex
12adce69eb2dbff027cbc83aaaf912067aea1b02
[ "MIT" ]
7
2017-06-25T00:29:11.000Z
2020-03-11T00:23:47.000Z
test/unit/xsd/datatypes/integer_test.exs
rdf-elixir/rdf-ex
7d4280ec9a912ef6ee9fc96ecdfdf26647016d6a
[ "MIT" ]
3
2020-07-03T13:25:36.000Z
2021-04-04T12:33:51.000Z
defmodule RDF.XSD.IntegerTest do use RDF.XSD.Datatype.Test.Case, datatype: RDF.XSD.Integer, name: "integer", primitive: true, comparable_datatypes: [RDF.XSD.Decimal, RDF.XSD.Double], applicable_facets: [ RDF.XSD.Facets.MinInclusive, RDF.XSD.Facets.MaxInclusive, RDF.XSD.Facets.Min...
38.273885
89
0.619903
ac57402aabb70d8455b41f7dd3a2e0ac8e26ccd3
4,804
ex
Elixir
lib/cielo/consultation.ex
brunolouvem/cielo
ec1bc4c728ccf2f0a577aec5e0c1657bc97c964b
[ "MIT" ]
1
2020-11-05T01:21:29.000Z
2020-11-05T01:21:29.000Z
lib/cielo/consultation.ex
brunolouvem/cielo
ec1bc4c728ccf2f0a577aec5e0c1657bc97c964b
[ "MIT" ]
null
null
null
lib/cielo/consultation.ex
brunolouvem/cielo
ec1bc4c728ccf2f0a577aec5e0c1657bc97c964b
[ "MIT" ]
null
null
null
defmodule Cielo.Consultation do @moduledoc ~S""" This module makes all consultations call in Cielo API ## Reference API: - [MerchantId Consultation](https://developercielo.github.io/manual/cielo-ecommerce#consulta-merchandorderid86) - [PaymentId Consultation](https://developercielo.github.io/manual/cielo-eco...
29.292683
144
0.618859
ac57666601f91834b39e8b33517e8e266c7c0bd0
828
exs
Elixir
test/repositories/forks_test.exs
nmohoric/tentacat
3bbb9990aafad0a7232d302526ca00e282e7ba43
[ "MIT" ]
null
null
null
test/repositories/forks_test.exs
nmohoric/tentacat
3bbb9990aafad0a7232d302526ca00e282e7ba43
[ "MIT" ]
null
null
null
test/repositories/forks_test.exs
nmohoric/tentacat
3bbb9990aafad0a7232d302526ca00e282e7ba43
[ "MIT" ]
null
null
null
defmodule Tentacat.Repositories.ForksTest do use ExUnit.Case, async: false use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney import Tentacat.Repositories.Forks doctest Tentacat.Repositories.Forks @client Tentacat.Client.new(%{access_token: "yourtokenhere"}) setup_all do HTTPoison.start end test "li...
28.551724
106
0.673913
ac5777bfd2b77f6a4e6babb7ab0c61f8e44dee59
558
ex
Elixir
lib/remedy/schema/embed_thumbnail.ex
bdanklin/nostrum
554ebd6cff1d0f68c874aa92f475dabf1aed5512
[ "MIT" ]
3
2021-09-05T09:44:02.000Z
2022-01-26T15:31:50.000Z
lib/remedy/schema/embed_thumbnail.ex
bdanklin/remedy
554ebd6cff1d0f68c874aa92f475dabf1aed5512
[ "MIT" ]
null
null
null
lib/remedy/schema/embed_thumbnail.ex
bdanklin/remedy
554ebd6cff1d0f68c874aa92f475dabf1aed5512
[ "MIT" ]
null
null
null
defmodule Remedy.Schema.EmbedThumbnail do @moduledoc """ Discord Embed Thumbnail Object """ use Remedy.Schema @type t :: %__MODULE__{ url: String.t(), proxy_url: String.t(), height: integer(), width: integer() } @primary_key false embedded_schema do fi...
20.666667
56
0.605735
ac57b832ea437217dfcc468456941a505520e402
1,125
exs
Elixir
psquare/config/config.exs
bhaveshpoddar94/PerfectSquares
1a026f66404776e806f0401435358cd602d85f69
[ "MIT" ]
null
null
null
psquare/config/config.exs
bhaveshpoddar94/PerfectSquares
1a026f66404776e806f0401435358cd602d85f69
[ "MIT" ]
null
null
null
psquare/config/config.exs
bhaveshpoddar94/PerfectSquares
1a026f66404776e806f0401435358cd602d85f69
[ "MIT" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. use Mix.Config # This configuration is loaded before any dependency and is restricted # to this project. If another project depends on this project, this # file won't be loaded nor affect the paren...
36.290323
73
0.750222
ac57bc65662e7b42ed9d4c44d97c32912734bcb0
1,255
ex
Elixir
lib/bokken_web/controllers/guardian_controller.ex
coderdojobraga/bokken
df28522637315193e09ac1f3f79823361db0f2f9
[ "MIT" ]
7
2020-10-19T14:06:46.000Z
2022-02-19T09:53:02.000Z
lib/bokken_web/controllers/guardian_controller.ex
coderdojobraga/bokken
df28522637315193e09ac1f3f79823361db0f2f9
[ "MIT" ]
5
2017-08-24T10:38:46.000Z
2021-05-26T16:48:22.000Z
lib/bokken_web/controllers/guardian_controller.ex
coderdojobraga/bokken
df28522637315193e09ac1f3f79823361db0f2f9
[ "MIT" ]
2
2017-08-25T18:38:11.000Z
2021-07-15T00:57:33.000Z
defmodule BokkenWeb.GuardianController do use BokkenWeb, :controller alias Bokken.Accounts alias Bokken.Accounts.Guardian action_fallback BokkenWeb.FallbackController def index(conn, _params) do guardians = Accounts.list_guardians() render(conn, "index.json", guardians: guardians) end def crea...
28.522727
96
0.676494
ac57eae646bf0475293677cde8479704f21995ca
4,055
exs
Elixir
test/lib/cloudwatch_test.exs
ex-aws/ex_aws_cloudwatch
c2558efc3674247ead8e9189e9cd4bc7b54441de
[ "MIT", "Unlicense" ]
10
2017-11-17T17:07:18.000Z
2021-06-23T08:31:01.000Z
test/lib/cloudwatch_test.exs
ex-aws/ex_aws_cloudwatch
c2558efc3674247ead8e9189e9cd4bc7b54441de
[ "MIT", "Unlicense" ]
16
2017-10-19T01:28:53.000Z
2021-03-24T19:37:44.000Z
test/lib/cloudwatch_test.exs
ex-aws/ex_aws_cloudwatch
c2558efc3674247ead8e9189e9cd4bc7b54441de
[ "MIT", "Unlicense" ]
14
2017-11-04T00:56:26.000Z
2021-06-23T08:31:04.000Z
defmodule ExAws.CloudwatchTest do use ExUnit.Case, async: true alias ExAws.Cloudwatch doctest ExAws.Cloudwatch test "#describe_alarms" do expected = %{"Action" => "DescribeAlarms", "Version" => "2010-08-01"} assert expected == Cloudwatch.describe_alarms().params end test "#put_metric_data" do ...
37.897196
86
0.646116
ac584e2cdafb5ca4988cf5f826195151a1073a09
2,508
ex
Elixir
clients/data_migration/lib/google_api/data_migration/v1beta1/model/sql_ip_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/data_migration/lib/google_api/data_migration/v1beta1/model/sql_ip_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/data_migration/lib/google_api/data_migration/v1beta1/model/sql_ip_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.785714
325
0.733254
ac585b77d489c5d36e9db9022e3496e7caf60a7e
405
exs
Elixir
test/blog_web/views/error_view_test.exs
vrrpizzato/blog
bee1e71ca29925d43d62f0bbaa9ae7f4566d65fe
[ "MIT" ]
1
2022-03-28T11:28:54.000Z
2022-03-28T11:28:54.000Z
test/blog_web/views/error_view_test.exs
vrrpizzato/blog
bee1e71ca29925d43d62f0bbaa9ae7f4566d65fe
[ "MIT" ]
17
2021-04-22T00:58:05.000Z
2021-09-26T04:03:12.000Z
test/blog_web/views/error_view_test.exs
adrianomota/blog
ef3b2d2ed54f038368ead8234d76c18983caa75b
[ "MIT" ]
1
2021-02-06T19:41:35.000Z
2021-02-06T19:41:35.000Z
defmodule BlogWeb.ErrorViewTest do use BlogWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.html" do assert render_to_string(BlogWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 500.html" do assert rend...
27
89
0.725926
ac58abc3d531a38b1058971d321e49b3cc58007b
1,938
exs
Elixir
config/dev.exs
astoica1986/inflator
ca0e99a8e114956edae0b0456eb8b8d97c67a342
[ "Apache-2.0" ]
null
null
null
config/dev.exs
astoica1986/inflator
ca0e99a8e114956edae0b0456eb8b8d97c67a342
[ "Apache-2.0" ]
null
null
null
config/dev.exs
astoica1986/inflator
ca0e99a8e114956edae0b0456eb8b8d97c67a342
[ "Apache-2.0" ]
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 :inflator, InflatorWeb.Endpoint, http: [port: ...
32.847458
170
0.704334
ac58c6533aec061cb9d4d05804e6e3b748548ad1
9,912
ex
Elixir
lib/eex/lib/eex.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
2
2020-08-11T16:19:53.000Z
2020-08-11T18:07:11.000Z
lib/eex/lib/eex.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
1
2021-10-21T08:22:30.000Z
2021-10-21T08:22:30.000Z
lib/eex/lib/eex.ex
samgaw/elixir
92e8263102d95281a5aa7850b747636805f13fc9
[ "Apache-2.0" ]
1
2020-12-18T19:20:35.000Z
2020-12-18T19:20:35.000Z
defmodule EEx.SyntaxError do defexception [:message, :file, :line, :column] @impl true def message(exception) do "#{exception.file}:#{exception.line}:#{exception.column}: #{exception.message}" end end defmodule EEx do @moduledoc ~S""" EEx stands for Embedded Elixir. It allows you to embed Elixir cod...
34.17931
98
0.664952
ac58cca0e6dab1c7d65cf77cf0c4a97160094c6a
462
ex
Elixir
lib/result.ex
amclain/jylis_ex
cff66a5881ebc1f76403e2b8a60fba25f5b73bec
[ "MIT" ]
3
2018-08-09T12:02:29.000Z
2019-12-08T21:10:17.000Z
lib/result.ex
amclain/jylis_ex
cff66a5881ebc1f76403e2b8a60fba25f5b73bec
[ "MIT" ]
1
2018-08-06T17:10:13.000Z
2018-08-08T19:16:47.000Z
lib/result.ex
amclain/jylis_ex
cff66a5881ebc1f76403e2b8a60fba25f5b73bec
[ "MIT" ]
null
null
null
defmodule Jylis.Result do @moduledoc """ Transformations for Jylis query results. """ @doc """ Convert the Unix timestamp in a query result to ISO 8601. `query_result` - A query result tuple in the form `{value, timestamp}`. """ def to_iso8601(query_result) def to_iso8601({value, timestamp}) do ...
23.1
73
0.679654
ac58fa8b9617a38b521a7e289f9cf3fffca8fba9
1,147
exs
Elixir
mix.exs
szajbus/tracex
4eae275e8c6b25282e4169f3b2c77f39e172b47c
[ "MIT" ]
11
2020-04-30T10:35:22.000Z
2021-08-21T02:39:02.000Z
mix.exs
szajbus/tracex
4eae275e8c6b25282e4169f3b2c77f39e172b47c
[ "MIT" ]
null
null
null
mix.exs
szajbus/tracex
4eae275e8c6b25282e4169f3b2c77f39e172b47c
[ "MIT" ]
null
null
null
defmodule Tracex.MixProject do use Mix.Project @version "0.1.0" def project do [ app: :tracex, version: @version, elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), docs: docs(), package: package(), dialyzer: dialyzer() ] end # Run ...
19.116667
78
0.55449
ac5900e3ae55045a596e3d7ffdfe4de4fc4fdf65
3,043
ex
Elixir
lib/absinthe/type/directive.ex
podium/absinthe
7d14fab0282a3987e124f4d5dc3009bc94eb884c
[ "MIT" ]
null
null
null
lib/absinthe/type/directive.ex
podium/absinthe
7d14fab0282a3987e124f4d5dc3009bc94eb884c
[ "MIT" ]
2
2019-03-07T00:26:03.000Z
2019-08-19T17:30:30.000Z
lib/absinthe/type/directive.ex
podium/absinthe
7d14fab0282a3987e124f4d5dc3009bc94eb884c
[ "MIT" ]
1
2019-01-18T20:49:03.000Z
2019-01-18T20:49:03.000Z
defmodule Absinthe.Type.Directive do @moduledoc """ Used by the GraphQL runtime as a way of modifying execution behavior. Type system creators will usually not create these directly. """ alias Absinthe.Type alias Absinthe.Language @typedoc """ A defined directive. * `:name` - The name of the dir...
38.0375
98
0.669734
ac59096af8212fe7964343d50d7a588cab5c1dca
74
exs
Elixir
test/test_helper.exs
gabrieljablonski/graph-banking
47746ece07ee00d6d0727f6661b8658e5ae13dbe
[ "MIT" ]
null
null
null
test/test_helper.exs
gabrieljablonski/graph-banking
47746ece07ee00d6d0727f6661b8658e5ae13dbe
[ "MIT" ]
null
null
null
test/test_helper.exs
gabrieljablonski/graph-banking
47746ece07ee00d6d0727f6661b8658e5ae13dbe
[ "MIT" ]
null
null
null
ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(GraphBanking.Repo, :manual)
24.666667
58
0.797297
ac5926db1c5954ea62e89d750f9ccc01c0fe6ab0
72
ex
Elixir
web/views/teacher_view.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
web/views/teacher_view.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
web/views/teacher_view.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
defmodule SchoolAgenda.TeacherView do use SchoolAgenda.Web, :view end
18
37
0.819444
ac593c68b9a657c4cc8e21f3391a7cfad309588b
175
ex
Elixir
lib/banking/user/user_repo.ex
murilosrg/banking-api
731a150d06d605958b53bfd27c4a1f6033527847
[ "MIT" ]
null
null
null
lib/banking/user/user_repo.ex
murilosrg/banking-api
731a150d06d605958b53bfd27c4a1f6033527847
[ "MIT" ]
null
null
null
lib/banking/user/user_repo.ex
murilosrg/banking-api
731a150d06d605958b53bfd27c4a1f6033527847
[ "MIT" ]
null
null
null
defmodule Banking.UserRepo do @moduledoc """ User repository """ alias Banking.{Repo, User} def get_user!(email) do Repo.get_by!(User, email: email) end end
14.583333
36
0.668571
ac5971ede22fdbb0d0726163837fda30afd9b78f
1,976
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/metric_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/metric_rule.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/service_networking/lib/google_api/service_networking/v1/model/metric_rule.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...
39.52
331
0.737348
ac59786bc352029b3f66358da635099ba7a73a4d
92
exs
Elixir
test/plug_test.exs
Thopiax/rummage_phoenix
22c9a3f499abeaf61af29998c4164d177bfe6521
[ "MIT" ]
null
null
null
test/plug_test.exs
Thopiax/rummage_phoenix
22c9a3f499abeaf61af29998c4164d177bfe6521
[ "MIT" ]
null
null
null
test/plug_test.exs
Thopiax/rummage_phoenix
22c9a3f499abeaf61af29998c4164d177bfe6521
[ "MIT" ]
1
2018-08-31T16:07:29.000Z
2018-08-31T16:07:29.000Z
defmodule Rummage.Phoenix.PlugTest do use ExUnit.Case doctest Rummage.Phoenix.Plug end
15.333333
37
0.804348
ac597f9ed3fce9d8448a56184e2d3a6af889456b
4,031
ex
Elixir
lib/elixir/lib/calendar/time_zone_database.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/elixir/lib/calendar/time_zone_database.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/elixir/lib/calendar/time_zone_database.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule Calendar.TimeZoneDatabase do @moduledoc """ This module defines a behaviour for providing time zone data. IANA provides time zone data that includes data about different UTC offsets and standard offsets for time zones. """ @typedoc """ A period where a certain combination of UTC offset, standa...
41.556701
101
0.720169
ac5992997479e634e660d8499f4926d0711fc35d
7,256
exs
Elixir
test/control_node/release_test.exs
beamX/control-node
5f054ca1318abc1184c2c881f1e76f6486878dfe
[ "MIT" ]
20
2021-09-09T09:26:02.000Z
2022-01-16T18:48:11.000Z
test/control_node/release_test.exs
beamX/control-node
5f054ca1318abc1184c2c881f1e76f6486878dfe
[ "MIT" ]
5
2020-09-19T09:46:05.000Z
2020-10-31T10:33:03.000Z
test/control_node/release_test.exs
beamX/control-node
5f054ca1318abc1184c2c881f1e76f6486878dfe
[ "MIT" ]
1
2020-10-25T10:34:30.000Z
2020-10-25T10:34:30.000Z
defmodule ControlNode.ReleaseTest do use ExUnit.Case import Mock import ControlNode.TestUtils alias ControlNode.Host.SSH alias ControlNode.{Release, Host, Registry, Inet} alias ControlNode.Test.Support.ServiceApp @moduletag capture_log: true setup do host_spec = ssh_fixture() release_spec = %R...
34.884615
101
0.667585
ac59c2332a778474c12cd216d757b2b732057666
12,921
ex
Elixir
lib/codi/pattern/query/query.ex
ianrumford/plymio_codi
1163b139df0ed344e63597e563637c091ffe1f5e
[ "MIT" ]
null
null
null
lib/codi/pattern/query/query.ex
ianrumford/plymio_codi
1163b139df0ed344e63597e563637c091ffe1f5e
[ "MIT" ]
null
null
null
lib/codi/pattern/query/query.ex
ianrumford/plymio_codi
1163b139df0ed344e63597e563637c091ffe1f5e
[ "MIT" ]
null
null
null
defmodule Plymio.Codi.Pattern.Query do # @moduledoc false @moduledoc ~S""" The *query* patterns build query functions (e.g. `myfun?(arg)`) using existing base functions (e.g. `myfun(arg)`). When the base function returns `{:ok, value}`, the query function returns `true`. Otherwise `false` is returned. ...
32.464824
96
0.567371
ac59d24c3cc111a152f504cc2f135d7165771454
124
exs
Elixir
config/config.exs
phcurado/transla_table
a3b8fa2f50ec6c6416bb7bef412395a7a2cd9362
[ "Apache-2.0" ]
1
2021-04-07T21:13:45.000Z
2021-04-07T21:13:45.000Z
config/config.exs
phcurado/transla_table
a3b8fa2f50ec6c6416bb7bef412395a7a2cd9362
[ "Apache-2.0" ]
null
null
null
config/config.exs
phcurado/transla_table
a3b8fa2f50ec6c6416bb7bef412395a7a2cd9362
[ "Apache-2.0" ]
null
null
null
import Config for config <- "#{config_env()}.exs" |> Path.expand(__DIR__) |> Path.wildcard() do import_config config end
20.666667
81
0.701613
ac59d5e7f944b85ee8c0aba5269b3f8f51cd6d76
9,141
ex
Elixir
clients/content/lib/google_api/content/v2/api/accountstatuses.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/accountstatuses.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/api/accountstatuses.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.373786
236
0.645662
ac59ed90dd7012fc8d56941fb29663c59b638377
954
exs
Elixir
mix.exs
govm/sigil_f
6a08b7bc7a550250ff649f99a93d7a6fe77348a2
[ "MIT" ]
1
2018-04-26T05:25:27.000Z
2018-04-26T05:25:27.000Z
mix.exs
govm/sigil_f
6a08b7bc7a550250ff649f99a93d7a6fe77348a2
[ "MIT" ]
null
null
null
mix.exs
govm/sigil_f
6a08b7bc7a550250ff649f99a93d7a6fe77348a2
[ "MIT" ]
null
null
null
defmodule SigilF.MixProject do use Mix.Project @github_url "https://github.com/govm/sigil_f" def project do [ app: :sigil_f, version: "0.1.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), description: "Make fn/0 that returns given string", pa...
21.681818
59
0.575472
ac59fb68fb95f11c19d41235760088ed5eee44aa
2,655
ex
Elixir
clients/authorized_buyers_marketplace/lib/google_api/authorized_buyers_marketplace/v1/model/update_deal_request.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/authorized_buyers_marketplace/lib/google_api/authorized_buyers_marketplace/v1/model/update_deal_request.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/authorized_buyers_marketplace/lib/google_api/authorized_buyers_marketplace/v1/model/update_deal_request.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...
53.1
704
0.763465
ac59fde3618f2da3781ac0bd4f5cae03498837ac
1,910
exs
Elixir
rel/config.exs
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
rel/config.exs
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
rel/config.exs
upmaru/cineplex
7d1d516d3e3d3683b2ad4425b61517a8f556f721
[ "MIT" ]
null
null
null
# Import all plugins from `rel/plugins` # They can then be used by adding `plugin MyPlugin` to # either an environment, or release definition, where # `MyPlugin` is the name of the plugin module. Path.join(["rel", "plugins", "*.exs"]) |> Path.wildcard() |> Enum.map(&Code.eval_file(&1)) use Mix.Releases.Config, # T...
32.372881
81
0.725131
ac59ffb474197b3d449ef6e931680caa19323de4
1,927
ex
Elixir
clients/vector_tile/lib/google_api/vector_tile/v1/model/vertex3_d_list.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/vector_tile/lib/google_api/vector_tile/v1/model/vertex3_d_list.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/vector_tile/lib/google_api/vector_tile/v1/model/vertex3_d_list.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...
36.358491
170
0.71095
ac5a071730fb3d0484b68dbad6ee9b6939b92f09
1,781
ex
Elixir
lib/muscat/matrix.ex
smartepsh/muscat
3e6de968f0608b53ed289022b2afc403533e63d8
[ "MIT" ]
null
null
null
lib/muscat/matrix.ex
smartepsh/muscat
3e6de968f0608b53ed289022b2afc403533e63d8
[ "MIT" ]
1
2021-03-04T05:07:45.000Z
2021-03-04T06:02:31.000Z
lib/muscat/matrix.ex
smartepsh/muscat
3e6de968f0608b53ed289022b2afc403533e63d8
[ "MIT" ]
1
2021-03-21T09:05:16.000Z
2021-03-21T09:05:16.000Z
defmodule Muscat.Matrix do alias Muscat.Fraction defmodule Cell do defstruct [:row, :col, :value] @type t :: %__MODULE__{row: integer(), col: integer(), value: Fraction.t() | :any} end def get_row(matrix, row) do matrix |> Enum.filter(&(&1.row == row)) |> Enum.sort_by(& &1.col) end d...
22.833333
86
0.586188
ac5a0fc66874e7d6976f9587fc26f0651a1fbb84
700
exs
Elixir
advent_umbrella_2016/apps/day9/mix.exs
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent_umbrella_2016/apps/day9/mix.exs
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent_umbrella_2016/apps/day9/mix.exs
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
defmodule Day9.Mixfile do use Mix.Project def project do [app: :day9, version: "0.0.1", elixir: "~> 1.2", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps] end # Configuration for the OTP application # # Type "mix help compile.app" for more infor...
21.212121
77
0.597143
ac5a1fab5bbc1e8bc169e6f904dabf9c2ec0dcda
643
exs
Elixir
apps/admin_api/test/admin_api/v1/serializers/error_serializer_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
2
2019-07-13T05:49:03.000Z
2021-08-19T23:58:23.000Z
apps/admin_api/test/admin_api/v1/serializers/error_serializer_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/serializers/error_serializer_test.exs
turbo-play/ewallet
b7fee3eed62ac716f46246132c2ead1045f2e4f3
[ "Apache-2.0" ]
3
2018-05-08T17:15:42.000Z
2021-11-10T04:08:33.000Z
defmodule AdminAPI.V1.ErrorSerializerTest do use AdminAPI.SerializerCase, :v1 alias AdminAPI.V1.ErrorSerializer describe "ErrorSerializer.to_json/3" do test "data contains the code, description and messages" do code = "error_code" description = "This is the description" messages =...
33.842105
72
0.696734
ac5a2e3bb7cce5dbfad40d1ecfbd0ab625d40a89
2,551
ex
Elixir
clients/you_tube/lib/google_api/you_tube/v3/model/live_broadcast_status.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_broadcast_status.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/you_tube/lib/google_api/you_tube/v3/model/live_broadcast_status.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
41.819672
364
0.738926
ac5a44f94992bcc18b16b276c2f5164c03d9503a
2,787
exs
Elixir
config/prod.exs
yoonwaiyan/tilex
d780e2e1a2c8cf366cd1b9389e4b6a656de1687d
[ "MIT" ]
null
null
null
config/prod.exs
yoonwaiyan/tilex
d780e2e1a2c8cf366cd1b9389e4b6a656de1687d
[ "MIT" ]
null
null
null
config/prod.exs
yoonwaiyan/tilex
d780e2e1a2c8cf366cd1b9389e4b6a656de1687d
[ "MIT" ]
null
null
null
import 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 th...
32.034483
79
0.71977
ac5a460c70bdfa4e6f8b983ce0bb924179869732
268
exs
Elixir
nolive/hiyoko/test/hiyoko_web/views/layout_view_test.exs
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
null
null
null
nolive/hiyoko/test/hiyoko_web/views/layout_view_test.exs
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
null
null
null
nolive/hiyoko/test/hiyoko_web/views/layout_view_test.exs
rykawamu/phoenix_liveview_practice_02
7384b0cab78dbeefe6d57a41744f791919f1467a
[ "MIT" ]
null
null
null
defmodule HiyokoWeb.LayoutViewTest do use HiyokoWeb.ConnCase, async: true # When testing helpers, you may want to import Phoenix.HTML and # use functions such as safe_to_string() to convert the helper # result into an HTML string. # import Phoenix.HTML end
29.777778
65
0.764925
ac5a5a983e6f2fc6f0a8fbc24e0c486f73e2a421
1,123
ex
Elixir
test/support/channel_case.ex
lamesensei/carpark-sg
368106f6362e9df515b0e49717e3b5d6d88cdc71
[ "Apache-2.0" ]
null
null
null
test/support/channel_case.ex
lamesensei/carpark-sg
368106f6362e9df515b0e49717e3b5d6d88cdc71
[ "Apache-2.0" ]
1
2021-02-03T07:49:54.000Z
2021-02-03T07:49:54.000Z
test/support/channel_case.ex
lamesensei/carpark-sg
368106f6362e9df515b0e49717e3b5d6d88cdc71
[ "Apache-2.0" ]
null
null
null
defmodule CarparkSgWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case interacts...
27.390244
71
0.730187
ac5af342c6c40f120af6bd9f5a948f9df9e28a25
1,422
ex
Elixir
lib/tilex_web/controllers/channel_controller.ex
synion/tilex
ea29646830efaa89fc47fad347f6e495ff7ce48b
[ "MIT" ]
1
2019-05-28T20:43:28.000Z
2019-05-28T20:43:28.000Z
lib/tilex_web/controllers/channel_controller.ex
synion/tilex
ea29646830efaa89fc47fad347f6e495ff7ce48b
[ "MIT" ]
1
2019-02-11T23:14:15.000Z
2019-02-11T23:14:15.000Z
lib/tilex_web/controllers/channel_controller.ex
synion/tilex
ea29646830efaa89fc47fad347f6e495ff7ce48b
[ "MIT" ]
1
2019-12-02T08:59:45.000Z
2019-12-02T08:59:45.000Z
defmodule TilexWeb.ChannelController do use TilexWeb, :controller alias Guardian.Plug alias Tilex.{Channel, Posts} plug( Plug.EnsureAuthenticated, [handler: __MODULE__] when action in ~w(new create)a ) def unauthenticated(conn, _) do conn |> put_status(302) |> put_flash(:info, "Au...
22.21875
97
0.609001
ac5b0e7a9081e8b2c7475538647a56673bffc9f9
458
exs
Elixir
test/invenger_web/views/error_view_test.exs
manoel-lopes/invenger
19f76964c95cd4e038c78cf743fe28069b73b9b2
[ "MIT" ]
null
null
null
test/invenger_web/views/error_view_test.exs
manoel-lopes/invenger
19f76964c95cd4e038c78cf743fe28069b73b9b2
[ "MIT" ]
null
null
null
test/invenger_web/views/error_view_test.exs
manoel-lopes/invenger
19f76964c95cd4e038c78cf743fe28069b73b9b2
[ "MIT" ]
null
null
null
defmodule InvengerWeb.ErrorViewTest do use InvengerWeb.ConnCase, async: true # Bring render/3 and render_to_string/3 for testing custom views import Phoenix.View test "renders 404.json" do assert render(InvengerWeb.ErrorView, "404.json", []) == %{errors: %{detail: "Not Found"}} end test "renders 500....
28.625
93
0.68559
ac5b293682e1c9ae3557cc2eb4ea86c77f5cc0fc
429
ex
Elixir
phoenix_crud/web/controllers/page_controller.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
phoenix_crud/web/controllers/page_controller.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
phoenix_crud/web/controllers/page_controller.ex
enilsen16/elixir
b4d1d45858a25e4beb39e07de8685f3d93d6a520
[ "MIT" ]
null
null
null
defmodule PhoenixCrud.PageController do use Phoenix.Controller plug :action # pattern match againsts unauthorized params and redirect to 404 page def show(conn, %{"page" => "unauthorized"}) do conn |> put_layout(false) |> render "unauthorized.html" end def show(conn, %{"page" => page}) do ...
19.5
71
0.666667
ac5b44e372b2e958ec59c7bd584335b128a7cb55
5,279
exs
Elixir
ex_chequer.exs
gardoroman/exchequer
e77b796a2d7f4e48730357b81513348ab5aa5595
[ "MIT" ]
null
null
null
ex_chequer.exs
gardoroman/exchequer
e77b796a2d7f4e48730357b81513348ab5aa5595
[ "MIT" ]
null
null
null
ex_chequer.exs
gardoroman/exchequer
e77b796a2d7f4e48730357b81513348ab5aa5595
[ "MIT" ]
null
null
null
defmodule ExChequer do @singles %{"0" => "", "1" => "ONE", "2" => "TWO", "3" => "THREE", "4" => "FOUR", "5" => "FIVE", "6" => "SIX", "7" => "SEVEN", "8" => "EIGHT", "9" => "NINE"} @tens %{"0" => "", "2" => "TWENTY", "3" => "THIRTY", "4" => "FORTY", "5" => "FIFTY", "6" => "SIXTY", "7" => "SEV...
43.270492
113
0.47831
ac5b53ca751eb2947d24dddccd5bdea73c4553cd
962
ex
Elixir
lib/weaver/loom/producer.ex
weaver-engine/weaver
b60a59673d7adb0ebfbb5f392d03fe09399054bc
[ "MIT" ]
null
null
null
lib/weaver/loom/producer.ex
weaver-engine/weaver
b60a59673d7adb0ebfbb5f392d03fe09399054bc
[ "MIT" ]
null
null
null
lib/weaver/loom/producer.ex
weaver-engine/weaver
b60a59673d7adb0ebfbb5f392d03fe09399054bc
[ "MIT" ]
null
null
null
defmodule Weaver.Loom.Producer do @moduledoc """ Represents a worker at the root `GenStage` level. Dispatched steps are passed to the `GenStage` level below after each call to `Weaver.Step.process/1`. A step is passed again to `Weaver.Step.process/1` as long as it returns a new `Weaver.Step` as `next`. Imp...
23.463415
79
0.671518
ac5b603aef335d0d7e828af830337d1f81e097c4
813
ex
Elixir
lib/igwet/admin/user.ex
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
null
null
null
lib/igwet/admin/user.ex
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
18
2018-02-25T11:13:46.000Z
2022-03-28T03:43:38.000Z
lib/igwet/admin/user.ex
TheSwanFactory/igwet
0a450686d1d222eb8e39e23ba5d2ea83657862d1
[ "MIT" ]
1
2019-01-04T12:16:47.000Z
2019-01-04T12:16:47.000Z
defmodule Igwet.Admin.User do use Ecto.Schema import Ecto.Changeset alias Igwet.Admin.User alias Igwet.Network.Node schema "users" do field(:authid, :string) field(:avatar, :string) field(:email, :string) field(:email_verified, :boolean) field(:family_name, :string) field(:given_name,...
19.829268
42
0.616236
ac5b9da38b5b2d251decc1903e825f0fdfaf3ca3
92,550
ex
Elixir
lib/ecto/changeset.ex
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
lib/ecto/changeset.ex
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
lib/ecto/changeset.ex
IcyEagle/ecto
26237057d4ffff2daf5258e181eccc3238b71490
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Changeset do @moduledoc ~S""" Changesets allow filtering, casting, validation and definition of constraints when manipulating structs. There is an example of working with changesets in the introductory documentation in the `Ecto` module. The functions `cast/4` and `change/2` are the usual en...
38.070753
187
0.66161
ac5ba99a75c09320b9ca79dc0c55f2209afb10c6
7,092
ex
Elixir
lib/flow/window/fixed.ex
koode/flow
348966136976a3874ba2a452e95374318ab784a2
[ "Apache-2.0" ]
null
null
null
lib/flow/window/fixed.ex
koode/flow
348966136976a3874ba2a452e95374318ab784a2
[ "Apache-2.0" ]
null
null
null
lib/flow/window/fixed.ex
koode/flow
348966136976a3874ba2a452e95374318ab784a2
[ "Apache-2.0" ]
null
null
null
defmodule Flow.Window.Fixed do @moduledoc false @enforce_keys [:by, :duration] defstruct [:by, :duration, :trigger, lateness: 0, periodically: []] def materialize( %{by: by, duration: duration, lateness: lateness}, reducer_acc, reducer_fun, reducer_trigger, _options ...
33.295775
100
0.638607
ac5bb8e19bace0e2de4552ba9b45e086c471ceb9
342
exs
Elixir
priv/repo/migrations/20181006131728_create_songs.exs
ruhrjs/ruhrjs-karaoke
93c6bee18873ead2854e1bbf835a665cc782f7da
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20181006131728_create_songs.exs
ruhrjs/ruhrjs-karaoke
93c6bee18873ead2854e1bbf835a665cc782f7da
[ "Unlicense" ]
null
null
null
priv/repo/migrations/20181006131728_create_songs.exs
ruhrjs/ruhrjs-karaoke
93c6bee18873ead2854e1bbf835a665cc782f7da
[ "Unlicense" ]
null
null
null
defmodule Platform.Repo.Migrations.CreateSongs do use Ecto.Migration def change do create table(:songs) do add(:band, :string, null: false) add(:title, :string, null: false) add(:performer_name, :string, null: false) add(:archived, :boolean, default: false, null: false) timestamp...
22.8
59
0.654971
ac5bf6fb859c314ae7ff5af192020b53ac5876c9
37
ex
Elixir
v02/ch10/mod2.ex
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
v02/ch10/mod2.ex
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
v02/ch10/mod2.ex
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
defmodule Mod2 do require Mod1 end
9.25
17
0.783784
ac5c19d79b0f0de6b1cd04c13c5479768a77586a
611
ex
Elixir
lib/plug_jwt_json_api_example.ex
craigp/plug_jwt_jsonapi_example
a731b85ff189dc13f3b99cee05ed184bcfccc9c5
[ "MIT" ]
5
2016-09-14T12:31:05.000Z
2018-10-24T12:58:53.000Z
lib/plug_jwt_json_api_example.ex
craigp/plug_jwt_jsonapi_example
a731b85ff189dc13f3b99cee05ed184bcfccc9c5
[ "MIT" ]
null
null
null
lib/plug_jwt_json_api_example.ex
craigp/plug_jwt_jsonapi_example
a731b85ff189dc13f3b99cee05ed184bcfccc9c5
[ "MIT" ]
null
null
null
defmodule PlugJwtJsonapiExample do use Application require Logger def start(_type, _args) do import Supervisor.Spec, warn: false children = [ {Plug.Adapters.Cowboy2, [ scheme: :http, plug: PlugJwtJsonapiExample.Router, options: [port: 4002]]} ] opts = [strategy: :on...
22.62963
75
0.657938
ac5c4505ccf0bd780063c2fcd37d1e2658d81d61
2,441
ex
Elixir
elixir/lib/homework_web/resolvers/transactions_resolver.ex
n7down/web-homework
53a65cbd852fe0abd542ff1bd29ebbf450e87d5f
[ "MIT" ]
null
null
null
elixir/lib/homework_web/resolvers/transactions_resolver.ex
n7down/web-homework
53a65cbd852fe0abd542ff1bd29ebbf450e87d5f
[ "MIT" ]
null
null
null
elixir/lib/homework_web/resolvers/transactions_resolver.ex
n7down/web-homework
53a65cbd852fe0abd542ff1bd29ebbf450e87d5f
[ "MIT" ]
null
null
null
defmodule HomeworkWeb.Resolvers.TransactionsResolver do alias Homework.Persistence alias Homework.PostgresqlPersistence @doc """ Get a list of transcations """ def transactions(_root, _args, _info) do {:ok, Persistence.Transactions.list_transactions!(PostgresqlPersistence.Transactions)} end @doc ""...
30.898734
111
0.698484
ac5c6cc2fd6f46543e1af9743413acfa3b2b48d2
3,433
ex
Elixir
lib/nifi_client.ex
joaohf/broadway_s2s
4ebfe5b96fd9d8a986b3bc9bc6f37c8630b49511
[ "MIT" ]
null
null
null
lib/nifi_client.ex
joaohf/broadway_s2s
4ebfe5b96fd9d8a986b3bc9bc6f37c8630b49511
[ "MIT" ]
null
null
null
lib/nifi_client.ex
joaohf/broadway_s2s
4ebfe5b96fd9d8a986b3bc9bc6f37c8630b49511
[ "MIT" ]
null
null
null
defmodule BroadwayS2S.NifiClient do @moduledoc false require Logger alias Broadway.{Message, Acknowledger} @behaviour BroadwayS2S.S2SClient @impl true def init(opts) do with {:ok, hostname} <- validate(opts, :hostname, required: true), {:ok, port} <- validate(opts, :port, required: true), ...
30.380531
97
0.678124
ac5c76cf7a570e43d947498a04c3caf423561b4c
1,906
exs
Elixir
test/schema/search_test.exs
acolin/rummage_ecto
69b83579437c9d88de6b1951b6ee831424cfaec3
[ "MIT" ]
99
2018-08-19T10:31:42.000Z
2021-10-31T03:36:53.000Z
test/schema/search_test.exs
acolin/rummage_ecto
69b83579437c9d88de6b1951b6ee831424cfaec3
[ "MIT" ]
43
2017-03-14T02:00:41.000Z
2018-07-05T16:28:39.000Z
test/schema/search_test.exs
acolin/rummage_ecto
69b83579437c9d88de6b1951b6ee831424cfaec3
[ "MIT" ]
26
2018-08-23T06:13:42.000Z
2021-10-19T06:57:18.000Z
defmodule Rummage.Ecto.Schema.SearchTest do use ExUnit.Case doctest Rummage.Ecto.Schema.Search alias Rummage.Ecto.Repo alias Rummage.Ecto.Product alias Rummage.Ecto.Category setup do :ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo) end defp create_categories_and_products() do for x <- 1..4 do ...
24.753247
74
0.602308
ac5c80495ae9edee7bd2e3c14ce12fec503962c8
1,654
ex
Elixir
clients/dlp/lib/google_api/dlp/v2beta1/model/google_privacy_dlp_v2beta1_list_info_types_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2beta1/model/google_privacy_dlp_v2beta1_list_info_types_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/dlp/lib/google_api/dlp/v2beta1/model/google_privacy_dlp_v2beta1_list_info_types_response.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...
34.458333
139
0.778114