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
033acc2df49561bfb5f5b152ae412c145e1fff23
1,091
ex
Elixir
lib/gallery.ex
nickyeager/nickdotcom
e1a0f32c44da2111c9d8b22800edeb831d893b5e
[ "MIT" ]
null
null
null
lib/gallery.ex
nickyeager/nickdotcom
e1a0f32c44da2111c9d8b22800edeb831d893b5e
[ "MIT" ]
2
2021-03-10T19:22:36.000Z
2021-05-11T15:05:23.000Z
lib/gallery.ex
nickyeager/phoenix-starter
6940499c28b460916d610929e6a6fec256345018
[ "MIT" ]
null
null
null
defmodule Gallery do @unsplash_url "https://images.unsplash.com" @slide_show_interval 500 @ids [ "photo-1562971179-4ad6903a7ed6", "photo-1552673597-e3cd6747a996", "photo-1561133036-61a7ed56b424", "photo-1530717449302-271006cdc1bf" ] def get_slide_show_interval, do: @slide_show_interval d...
21.392157
70
0.638863
033aee447a8603d67346705b01ff6aa944d718b7
2,076
ex
Elixir
clients/tasks/lib/google_api/tasks/v1/model/task_list.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/tasks/lib/google_api/tasks/v1/model/task_list.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
null
null
null
clients/tasks/lib/google_api/tasks/v1/model/task_list.ex
leandrocp/elixir-google-api
a86e46907f396d40aeff8668c3bd81662f44c71e
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "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.952381
129
0.691233
033af03767e0d5e1ba972955f5f23ddc33ed1955
948
exs
Elixir
config/config.exs
macdougall/mbtadepartures
a8c1f5a8b71570c2761fd7021875e9a435fe7caf
[ "MIT" ]
null
null
null
config/config.exs
macdougall/mbtadepartures
a8c1f5a8b71570c2761fd7021875e9a435fe7caf
[ "MIT" ]
null
null
null
config/config.exs
macdougall/mbtadepartures
a8c1f5a8b71570c2761fd7021875e9a435fe7caf
[ "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. use Mix.Config # General application configuration config :mbtadepartures, namespace: Departures ...
33.857143
86
0.766878
033b3acfbd7b214f357d979638824ab5957ac229
3,326
exs
Elixir
test/task_bunny/status/worker_test.exs
sviik/task_bunny
373836828289107b8ed917bd7dc5aeb5428af335
[ "MIT" ]
207
2017-02-03T12:23:24.000Z
2022-03-22T17:03:23.000Z
test/task_bunny/status/worker_test.exs
sviik/task_bunny
373836828289107b8ed917bd7dc5aeb5428af335
[ "MIT" ]
45
2017-02-06T09:48:43.000Z
2021-11-10T09:28:38.000Z
test/task_bunny/status/worker_test.exs
sviik/task_bunny
373836828289107b8ed917bd7dc5aeb5428af335
[ "MIT" ]
33
2017-02-06T08:16:37.000Z
2021-09-13T00:38:16.000Z
defmodule TaskBunny.Status.WorkerTest do use ExUnit.Case, async: false import TaskBunny.QueueTestHelper alias TaskBunny.{Config, Queue, JobTestHelper} alias JobTestHelper.TestJob @host :worker_test @supervisor :worker_test_supervisor @worker_supervisor :worker_test_worker_supervisor @publisher :worker...
25.782946
80
0.669874
033b4374e9d362b491ae328fc4bf17156ada83a7
2,514
ex
Elixir
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/signup_new_user_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/signup_new_user_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/identity_toolkit/lib/google_api/identity_toolkit/v3/model/signup_new_user_response.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
38.676923
154
0.690135
033b4dca000001aca4853bbd0ae4327c87d8ef38
1,423
ex
Elixir
lib/faker/commerce.ex
vforvova/faker
9e600d5f3ca0c34e30f7923d415050786d9832cb
[ "MIT" ]
null
null
null
lib/faker/commerce.ex
vforvova/faker
9e600d5f3ca0c34e30f7923d415050786d9832cb
[ "MIT" ]
null
null
null
lib/faker/commerce.ex
vforvova/faker
9e600d5f3ca0c34e30f7923d415050786d9832cb
[ "MIT" ]
null
null
null
defmodule Faker.Commerce do @moduledoc """ Functions for generating commerce related data """ @doc """ Returns a random color """ @spec color() :: String.t def color do Module.concat(__MODULE__, Faker.mlocale).color end @doc """ Returns a random department """ @spec department() :: St...
22.951613
96
0.695713
033b7cb57846f0a962405556dde602dcd1876eee
7,988
ex
Elixir
lib/mix/lib/mix/config.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2020-01-14T18:44:56.000Z
2020-01-14T18:44:56.000Z
lib/mix/lib/mix/config.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/config.ex
DmitryKakurin/elixir
a5df6a5a830d4cff8b7c8da54342b66cab999e0f
[ "Apache-2.0" ]
1
2018-01-09T20:10:59.000Z
2018-01-09T20:10:59.000Z
defmodule Mix.Config do # TODO: Convert them to hard deprecations on v1.13 @moduledoc deprecated: "Use Config and Config.Reader instead" @moduledoc ~S""" A simple configuration API and functions for managing config files. ## Setting configuration Most commonly, this module is used to define your own conf...
27.736111
93
0.670506
033b9e2fa3a39ad14d6c517243ae6c3bac9b3673
384
ex
Elixir
web/views/error_view.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
web/views/error_view.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
web/views/error_view.ex
cadorfo/SchoolAgenda
5dd99f3482f103f7a3ac5ef83a07a36d15bbe17d
[ "MIT" ]
null
null
null
defmodule SchoolAgenda.ErrorView do use SchoolAgenda.Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end # In case no render clause matches or no # template is found, let's render it as 500 def template_not_found(...
21.333333
47
0.705729
033bc1455ee3bb09afc8d19af41ea4b8f33c87cc
309
exs
Elixir
test/macro_test.exs
kianmeng/cldr_utils
e8353e473709c74fe3362a987cd615a4cd30f55c
[ "Apache-2.0" ]
6
2019-07-19T17:49:11.000Z
2021-03-20T14:38:28.000Z
test/macro_test.exs
kianmeng/cldr_utils
e8353e473709c74fe3362a987cd615a4cd30f55c
[ "Apache-2.0" ]
5
2020-01-28T06:11:50.000Z
2022-03-22T01:31:16.000Z
test/macro_test.exs
kianmeng/cldr_utils
e8353e473709c74fe3362a987cd615a4cd30f55c
[ "Apache-2.0" ]
3
2020-01-28T06:08:42.000Z
2020-10-20T13:40:19.000Z
defmodule Support.Macro.Test do use ExUnit.Case, async: true import ExUnit.CaptureLog test "warn once" do assert capture_log(fn -> defmodule M do import Cldr.Macros warn_once(:a, "Here we are") end end) =~ "Here we are" end end
20.6
43
0.556634
033be7487c1032151e8e2ac2abcf2425b616d4d0
182
ex
Elixir
lib/ecto_batch.ex
peterkrenn/ecto-genstage-batcher-example
b9f935c5db3ee6127fef518d2197d020a36840f5
[ "Apache-2.0" ]
1
2018-11-27T09:31:06.000Z
2018-11-27T09:31:06.000Z
lib/ecto_batch.ex
peterkrenn/ecto-genstage-batcher-example
b9f935c5db3ee6127fef518d2197d020a36840f5
[ "Apache-2.0" ]
null
null
null
lib/ecto_batch.ex
peterkrenn/ecto-genstage-batcher-example
b9f935c5db3ee6127fef518d2197d020a36840f5
[ "Apache-2.0" ]
null
null
null
defmodule EB do @moduledoc """ Documentation for EB. """ @doc """ Hello world. ## Examples iex> EB.hello :world """ def hello do :world end end
9.578947
23
0.532967
033bea36ee53392daf97e552c765b6d1d26a1953
4,571
ex
Elixir
debian/init.d.ex
amq5/WCMCommander
15d17871d1903b8520a9c4452dab200698899812
[ "MIT" ]
240
2015-03-31T15:47:21.000Z
2022-03-25T23:44:52.000Z
debian/init.d.ex
amq5/WCMCommander
15d17871d1903b8520a9c4452dab200698899812
[ "MIT" ]
134
2015-01-01T14:04:19.000Z
2015-03-26T17:26:33.000Z
debian/init.d.ex
amq5/WCMCommander
15d17871d1903b8520a9c4452dab200698899812
[ "MIT" ]
54
2015-04-03T04:46:30.000Z
2021-12-05T18:12:18.000Z
#!/bin/sh ### BEGIN INIT INFO # Provides: wcm # Required-Start: $local_fs $network $remote_fs $syslog # Required-Stop: $local_fs $network $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: <Enter a short description of the software> # Description: <Ente...
27.371257
89
0.659156
033bf63d5e523b5475c6906f8d98e68df3df914e
209
ex
Elixir
test/support/schemas/mysql/my_test_repo.ex
elixir-garage/ex_tenant
2336ab92d4cf0e826fdd6bf6ce5fb0206095f007
[ "Apache-2.0" ]
1
2022-02-09T23:17:09.000Z
2022-02-09T23:17:09.000Z
test/support/schemas/mysql/my_test_repo.ex
elixir-garage/ex_tenant
2336ab92d4cf0e826fdd6bf6ce5fb0206095f007
[ "Apache-2.0" ]
null
null
null
test/support/schemas/mysql/my_test_repo.ex
elixir-garage/ex_tenant
2336ab92d4cf0e826fdd6bf6ce5fb0206095f007
[ "Apache-2.0" ]
null
null
null
defmodule ExTenant.Test.Support.Schemas.Mysql.MyTestRepo do @moduledoc """ we need to test the schema without any of our code """ use Ecto.Repo, otp_app: :ex_tenant, adapter: Ecto.Adapters.MyXQL end
29.857143
66
0.741627
033bfeb869b3aa6dc0dc6ff2c93ac594247e5c71
1,724
exs
Elixir
test/double_bypass_test.exs
carlosliracl/double_bypass
0f40d31da84ee0c9828788e174a2f8a34f96e36f
[ "MIT" ]
1
2021-09-10T17:58:49.000Z
2021-09-10T17:58:49.000Z
test/double_bypass_test.exs
carlosliracl/double_bypass
0f40d31da84ee0c9828788e174a2f8a34f96e36f
[ "MIT" ]
null
null
null
test/double_bypass_test.exs
carlosliracl/double_bypass
0f40d31da84ee0c9828788e174a2f8a34f96e36f
[ "MIT" ]
1
2022-01-28T13:10:24.000Z
2022-01-28T13:10:24.000Z
defmodule DoubleBypass.Config do @moduledoc false @config %{ service_two_host: "www.test-url.com", service_three_host: "www.test-url.com" } use Agent def start_link do Agent.start_link(fn -> @config end, name: __MODULE__) end def put(config, value) when is_atom(config) do Agent.update(...
23.297297
86
0.676914
033c0e5cfc36800ea03c5df81ebc762fc52f0587
5,104
ex
Elixir
implementations/elixir/ockam/ockam/lib/ockam/protocol/mapping.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
null
null
null
implementations/elixir/ockam/ockam/lib/ockam/protocol/mapping.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
10
2022-02-23T06:44:58.000Z
2022-03-23T21:04:37.000Z
implementations/elixir/ockam/ockam/lib/ockam/protocol/mapping.ex
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
null
null
null
defmodule Ockam.Protocol.Mapping do @moduledoc """ Protocol mapping helper module to encode and decode messages with different protocols Usage: use Ockam.Protocol.Mapping @impl true def protocol_mapping() do Ockam.Protocol.Mapping.mapping([ {:client, Protocol1}, {:server, Protocol2} ...
25.777778
110
0.612069
033c137b9fc4a83e41b3cfa8e603fdad2f2d35ad
116
exs
Elixir
.formatter.exs
mkrzywda/image_classifier
a9261cf6bff4fe9e35400954418e8712e79c6ee4
[ "MIT" ]
147
2018-06-11T04:33:38.000Z
2022-03-23T07:24:57.000Z
.formatter.exs
mkrzywda/image_classifier
a9261cf6bff4fe9e35400954418e8712e79c6ee4
[ "MIT" ]
19
2019-07-10T17:10:34.000Z
2021-04-18T11:16:58.000Z
.formatter.exs
mkrzywda/image_classifier
a9261cf6bff4fe9e35400954418e8712e79c6ee4
[ "MIT" ]
43
2015-08-26T06:41:11.000Z
2022-03-11T12:36:17.000Z
# Used by "mix format" [ inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], line_length: 80 ]
19.333333
70
0.577586
033c309b9c2f5bc0be07d7cc1b8607b135dd997e
1,386
ex
Elixir
projects/standup/test/support/data_case.ex
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
1
2020-02-11T06:00:11.000Z
2020-02-11T06:00:11.000Z
projects/standup/test/support/data_case.ex
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
1
2017-09-23T19:41:29.000Z
2017-09-25T05:12:38.000Z
projects/standup/test/support/data_case.ex
erik/sketches
0a454ada58dee6db576e93cb2216dd750290329e
[ "MIT" ]
null
null
null
defmodule Standup.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 test...
25.666667
77
0.680375
033c3a302e102c14f7c5a4fbb81d412969510dd7
1,064
ex
Elixir
apps/examples/lib/examples/ping_pong/create_entry_order.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
apps/examples/lib/examples/ping_pong/create_entry_order.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
78
2020-10-12T06:21:43.000Z
2022-03-28T09:02:00.000Z
apps/examples/lib/examples/ping_pong/create_entry_order.ex
yurikoval/tai
94254b45d22fa0307b01577ff7c629c7280c0295
[ "MIT" ]
null
null
null
defmodule Examples.PingPong.CreateEntryOrder do alias Examples.PingPong.{Config, EntryPrice} alias Tai.NewOrders.Submissions @type advisor_process :: Tai.Advisor.advisor_name() @type market_quote :: Tai.Markets.Quote.t() @type config :: Config.t() @type order :: Tai.NewOrders.Order.t() @spec create(advi...
34.322581
69
0.716165
033c5104f3063cc48d2d05076008e03747aad694
525
ex
Elixir
ui/lib/ui_web/views/error_view.ex
kpanic/nerves_morse
0400179d0571dd92c2aa469b039c63e192a6b92c
[ "Apache-2.0" ]
3
2019-01-25T21:51:06.000Z
2020-01-12T21:52:29.000Z
ui/lib/ui_web/views/error_view.ex
kpanic/nerves_morse
0400179d0571dd92c2aa469b039c63e192a6b92c
[ "Apache-2.0" ]
null
null
null
ui/lib/ui_web/views/error_view.ex
kpanic/nerves_morse
0400179d0571dd92c2aa469b039c63e192a6b92c
[ "Apache-2.0" ]
null
null
null
defmodule UiWeb.ErrorView do use UiWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.json", _assigns) do # %{errors: %{detail: "Internal Server Error"}} # end # By default, Phoenix returns the status message from # the t...
30.882353
83
0.714286
033c7ccd571901007c8a5ede3aff3fe54a7fff73
2,823
ex
Elixir
lib/nomad_client/model/task_group.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
8
2021-09-04T21:22:53.000Z
2022-02-22T22:48:38.000Z
lib/nomad_client/model/task_group.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
lib/nomad_client/model/task_group.ex
mrmstn/nomad_client
a586022e5eb4d166acba08b55b198ec079d4b118
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule NomadClient.Model.TaskGroup do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :Name, :Count, :Constraints, :Affinit...
39.208333
91
0.658874
033c83ea9258f0e3afe012e5401038725bdeef6c
1,207
exs
Elixir
summation.exs
bschmeck/sicp-elixir
4e6f959f506d0cb4e2692177cbdad1c87779cf7d
[ "MIT" ]
2
2019-08-26T13:17:27.000Z
2020-09-24T13:16:07.000Z
summation.exs
bschmeck/sicp-elixir
4e6f959f506d0cb4e2692177cbdad1c87779cf7d
[ "MIT" ]
null
null
null
summation.exs
bschmeck/sicp-elixir
4e6f959f506d0cb4e2692177cbdad1c87779cf7d
[ "MIT" ]
null
null
null
defmodule Summation do def sum(_, a, _, b) when a > b, do: 0 def sum(term_fn, a, next_fn, b) do term_fn.(a) + sum(term_fn, next_fn.(a), next_fn, b) end def increment(x), do: x + 1 def cube(x), do: x * x * x def identity(x), do: x def sum_cubes(a, b), do: sum(&cube/1, a, &increment/1, b) def sum_i...
21.553571
76
0.61889
033c8bc9e46a8de35545cf7db08ed340fdae92ca
592
ex
Elixir
example/lib/live_phone_example_web/router.ex
workwithmax/live_phone
1a5482a9032735dd201f2468643145f1ee0a3588
[ "MIT" ]
3
2021-02-28T22:27:58.000Z
2021-12-08T03:18:10.000Z
example/lib/live_phone_example_web/router.ex
whitepaperclip/live_phone
bda5d554dd7d3df313fa15cd71eb2bcb8acda897
[ "MIT" ]
25
2021-02-26T16:15:46.000Z
2022-03-24T08:10:51.000Z
example/lib/live_phone_example_web/router.ex
workwithmax/live_phone
1a5482a9032735dd201f2468643145f1ee0a3588
[ "MIT" ]
2
2020-11-27T17:33:52.000Z
2021-01-25T16:05:16.000Z
defmodule LivePhoneExampleWeb.Router do use LivePhoneExampleWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_live_flash plug :put_root_layout, {LivePhoneExampleWeb.LayoutView, :root} plug :protect_from_forgery plug :put_secure_browser_headers end ...
21.142857
66
0.704392
033c916ee6186b0287248983399eb2795c9cd47a
2,522
ex
Elixir
lib/home_bot/data_store.ex
marktermaat/home_bot
b6d0bd5e1e97b2b0c95e201618e27de4259378d3
[ "MIT" ]
null
null
null
lib/home_bot/data_store.ex
marktermaat/home_bot
b6d0bd5e1e97b2b0c95e201618e27de4259378d3
[ "MIT" ]
null
null
null
lib/home_bot/data_store.ex
marktermaat/home_bot
b6d0bd5e1e97b2b0c95e201618e27de4259378d3
[ "MIT" ]
null
null
null
defmodule HomeBot.DataStore do @moduledoc "Public interface for Data Stores" alias HomeBot.DataStore.ChannelStore alias HomeBot.DataStore.EnergyStore alias HomeBot.DataStore.TemperatureStore alias HomeBot.DataStore.EnergyPostgresStore def add_subscriber(channel_id) do ChannelStore.add_subscriber(chann...
27.714286
90
0.797383
033c9fa2e0109530da92b0cdf9f01f18ffb556fb
831
ex
Elixir
lib/screens/v2/widget_instance/placeholder.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
3
2021-07-27T14:11:00.000Z
2022-01-03T14:16:43.000Z
lib/screens/v2/widget_instance/placeholder.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
444
2021-03-10T20:57:17.000Z
2022-03-31T16:00:35.000Z
lib/screens/v2/widget_instance/placeholder.ex
mbta/screens
4b586970f8844b19543bb2ffd4b032a89f6fa40a
[ "MIT" ]
null
null
null
defmodule Screens.V2.WidgetInstance.Placeholder do @moduledoc false alias Screens.V2.WidgetInstance.Placeholder defstruct color: nil, slot_names: [] @type color :: :grey | :blue | :green | :red @type t :: %__MODULE__{ color: color(), slot_names: list(atom()) } def...
30.777778
72
0.6787
033ca8fae26dd057be282a6d60a3242523dd46ea
2,779
ex
Elixir
lib/cadet_web/helpers/view_helper.ex
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
null
null
null
lib/cadet_web/helpers/view_helper.ex
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
10
2022-02-24T17:57:38.000Z
2022-03-31T07:43:05.000Z
lib/cadet_web/helpers/view_helper.ex
chownces/cadet
0d8b264e4fad1c9aaab7ef3f037ac4e07a4c9b22
[ "Apache-2.0" ]
1
2019-07-17T15:51:58.000Z
2019-07-17T15:51:58.000Z
defmodule CadetWeb.ViewHelper do @moduledoc """ Helper functions shared throughout views """ defp build_staff(user) do transform_map_for_view(user, [:name, :id]) end def unsubmitted_by_builder(nil), do: nil def unsubmitted_by_builder(staff) do build_staff(staff) end def grader_builder(nil)...
24.165217
128
0.670385
033cbb986ae5c86e72e60e52447b52d416178f66
1,127
ex
Elixir
lib/perf/model/request_result.ex
bancolombia/perf-analizer
16a90dad045413ee168fd2a45f975f3c03099fb3
[ "MIT" ]
1
2020-03-03T18:17:37.000Z
2020-03-03T18:17:37.000Z
lib/perf/model/request_result.ex
bancolombia/perf-analizer
16a90dad045413ee168fd2a45f975f3c03099fb3
[ "MIT" ]
3
2020-02-20T18:53:59.000Z
2020-02-20T19:00:06.000Z
lib/perf/model/request_result.ex
bancolombia/perf-analizer
16a90dad045413ee168fd2a45f975f3c03099fb3
[ "MIT" ]
null
null
null
defmodule RequestResult do defstruct [ start: 0, time_stamp: 0, label: "", thread_name: "", grp_threads: 0, all_threads: 0, url: "", elapsed: 0, response_code: 0, response_message: "", data_type: "", success: false, failure_message: "", bytes: 0, sent_bytes:...
20.490909
58
0.598048
033cf8d14768e02d370a4f57f577a168f2e21e29
4,078
exs
Elixir
apps/aecore/test/aecore_validation_test.exs
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
null
null
null
apps/aecore/test/aecore_validation_test.exs
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
2
2018-10-01T16:46:26.000Z
2018-10-01T19:45:42.000Z
apps/aecore/test/aecore_validation_test.exs
gspasov/dogs-blockchain
884c14cfc98de2c3793a204da069630d090bbc90
[ "0BSD" ]
null
null
null
defmodule AecoreValidationTest do @moduledoc """ Unit tests for the BlockValidation module """ use ExUnit.Case doctest Aecore.Chain.BlockValidation alias Aecore.Chain.BlockValidation alias Aecore.Chain.{Block, Header, Genesis} alias Aecore.Chain.Worker, as: Chain alias Aecore.Miner.Worker, as: Miner...
25.810127
94
0.652526
033d0485b97787992d118775d2bb033c4bbb2c1e
295
exs
Elixir
config/dev.exs
saulecabrera/dustbin
6f862d35d4584acda1e082fad278a7c23dc9598b
[ "MIT" ]
null
null
null
config/dev.exs
saulecabrera/dustbin
6f862d35d4584acda1e082fad278a7c23dc9598b
[ "MIT" ]
7
2017-02-01T00:17:57.000Z
2017-04-17T13:40:04.000Z
config/dev.exs
saulecabrera/dustbin
6f862d35d4584acda1e082fad278a7c23dc9598b
[ "MIT" ]
null
null
null
use Mix.Config config :extwitter, :oauth, [ consumer_key: System.get_env("TWITTER_CONSUMER_KEY"), consumer_secret: System.get_env("TWITTER_CONSUMER_SECRET"), access_token: System.get_env("TWITTER_ACCESS_TOKEN"), access_token_secret: System.get_env("TWITTER_ACCESS_TOKEN_SECRET") ]
32.777778
69
0.786441
033d0542d6aeeb113630f81ada610d255c27c799
121
exs
Elixir
priv/repo/load-wiki-data.exs
lee-dohm/elite-investigations
6511bd1c734bcc7d1e4177b73006891fd1d81855
[ "MIT" ]
null
null
null
priv/repo/load-wiki-data.exs
lee-dohm/elite-investigations
6511bd1c734bcc7d1e4177b73006891fd1d81855
[ "MIT" ]
8
2019-03-14T16:31:37.000Z
2019-03-31T16:14:57.000Z
priv/repo/load-wiki-data.exs
lee-dohm/elite-investigations
6511bd1c734bcc7d1e4177b73006891fd1d81855
[ "MIT" ]
null
null
null
alias EliteInvestigations.Galnet __DIR__ |> Path.join("frank-heinrich-data.json") |> File.read!() |> Galnet.load_feed()
17.285714
40
0.735537
033d08b8019ba4525ef906f6e86e01a67927a2b4
1,346
exs
Elixir
mix.exs
holandes22/phx_gen_auth
73d49710b29a5a2608c991449f84320cfd4d4eff
[ "Apache-2.0" ]
839
2020-04-01T05:33:01.000Z
2022-03-14T19:37:56.000Z
mix.exs
holandes22/phx_gen_auth
73d49710b29a5a2608c991449f84320cfd4d4eff
[ "Apache-2.0" ]
119
2020-04-09T11:34:01.000Z
2021-09-14T04:54:43.000Z
mix.exs
holandes22/phx_gen_auth
73d49710b29a5a2608c991449f84320cfd4d4eff
[ "Apache-2.0" ]
63
2020-04-19T23:51:29.000Z
2022-01-06T20:08:35.000Z
defmodule Phx.Gen.Auth.MixProject do use Mix.Project @version "0.7.0" def project do [ app: :phx_gen_auth, version: @version, elixir: "~> 1.8", elixirc_paths: elixirc_paths(Mix.env()), start_permanent: Mix.env() == :prod, preferred_cli_env: [docs: :docs], descriptio...
21.709677
73
0.579495
033d09a1dfdfeb0418d7fe8a5df71248dead010f
27
ex
Elixir
statifier-ex/lib/statifier.ex
riddler/statifier
4f4e2d1cdbb0e570a06ddf087caf2f986d1024b5
[ "MIT" ]
9
2020-08-06T23:45:07.000Z
2020-12-21T01:47:06.000Z
statifier-ex/lib/statifier.ex
riddler/statifier
4f4e2d1cdbb0e570a06ddf087caf2f986d1024b5
[ "MIT" ]
19
2020-03-12T03:57:46.000Z
2020-09-11T03:40:48.000Z
statifier-ex/lib/statifier.ex
riddler/statifier
4f4e2d1cdbb0e570a06ddf087caf2f986d1024b5
[ "MIT" ]
null
null
null
defmodule Statifier do end
9
22
0.851852
033d80cf2eb80bf329a389442cd6a1bed951f5a0
4,012
exs
Elixir
test/swoosh/adapters/dyn_test.exs
nallwhy/swoosh
c4dfefda0d347fe73b189ac91eede3d73d6f6904
[ "MIT" ]
1,214
2016-03-21T16:56:42.000Z
2022-03-31T19:10:11.000Z
test/swoosh/adapters/dyn_test.exs
nallwhy/swoosh
c4dfefda0d347fe73b189ac91eede3d73d6f6904
[ "MIT" ]
399
2016-03-21T23:11:32.000Z
2022-03-04T10:52:28.000Z
test/swoosh/adapters/dyn_test.exs
nallwhy/swoosh
c4dfefda0d347fe73b189ac91eede3d73d6f6904
[ "MIT" ]
208
2016-03-21T21:12:11.000Z
2022-03-04T06:35:33.000Z
defmodule Swoosh.Adapters.DynTest do use Swoosh.AdapterCase, async: true import Swoosh.Email alias Swoosh.DeliveryError alias Swoosh.Adapters.Dyn @success_response """ { "response": { "status": 200, "message": "OK", "data": "250 2.1.5 Ok" } } """ setup do ...
30.625954
102
0.593968
033dbd99450bc3dc08131d218f218bb365ec87e3
3,483
ex
Elixir
lib/mnesiam.ex
mustafaturan/mnesiam
39b4645a6ccc3e5cea85e735fe5627b1f8d8034e
[ "Unlicense" ]
17
2017-04-20T01:07:42.000Z
2022-01-20T08:03:56.000Z
lib/mnesiam.ex
mustafaturan/mnesiam
39b4645a6ccc3e5cea85e735fe5627b1f8d8034e
[ "Unlicense" ]
null
null
null
lib/mnesiam.ex
mustafaturan/mnesiam
39b4645a6ccc3e5cea85e735fe5627b1f8d8034e
[ "Unlicense" ]
5
2018-01-23T04:59:04.000Z
2018-07-24T16:13:28.000Z
defmodule Mnesiam do @moduledoc """ Mnesia Manager """ require Logger alias Mnesiam.Store alias :mnesia, as: Mnesia @doc """ Start Mnesia with/without a cluster """ def init_mnesia do case Node.list() do [h|_t] -> join_cluster(h) [] -> start() end end @doc """ Start Mnes...
21.90566
72
0.583405
033ddb6fa79fb4685daaf2b00390c50a49716fd2
966
exs
Elixir
config/config.exs
niku/nigiwaiki
52c37d2abb2d19084d6bda69c10773ed87701135
[ "MIT" ]
2
2017-12-07T10:57:47.000Z
2018-02-04T09:01:05.000Z
config/config.exs
niku/nigiwaiki
52c37d2abb2d19084d6bda69c10773ed87701135
[ "MIT" ]
null
null
null
config/config.exs
niku/nigiwaiki
52c37d2abb2d19084d6bda69c10773ed87701135
[ "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. use Mix.Config # General application configuration config :nigiwiki, ecto_repos: [Nigiwiki.Repo], ...
34.5
86
0.766046
033de5d70443a7aab416bab2f4c006af9d634c74
343
ex
Elixir
test/support/post.ex
arnodirlam/dataloader
91db9e4f3cb8e3b375c997d83e4b1f57f97e3bf7
[ "MIT" ]
415
2017-10-18T22:27:17.000Z
2022-03-31T06:28:37.000Z
test/support/post.ex
CargoSense/data_loader
c18e86c22543235df06c420aecac086d0cc9680b
[ "MIT" ]
108
2017-10-24T07:17:06.000Z
2022-03-20T00:19:57.000Z
test/support/post.ex
CargoSense/data_loader
c18e86c22543235df06c420aecac086d0cc9680b
[ "MIT" ]
83
2017-11-15T06:15:38.000Z
2022-03-20T00:26:44.000Z
defmodule Dataloader.Post do use Ecto.Schema schema "posts" do belongs_to(:user, Dataloader.User) has_many(:likes, Dataloader.Like) has_many(:scores, Dataloader.Score) has_many(:liking_users, through: [:likes, :user]) field(:title, :string) field(:status, :string) field(:deleted_at, :u...
22.866667
53
0.690962
033de9476827d05b03562ed2b8087184784b3f89
1,853
exs
Elixir
clients/drive_activity/mix.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/drive_activity/mix.exs
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/drive_activity/mix.exs
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...
27.656716
105
0.658392
033e190acb2b4e85df1fefedefe0c464bcb814f4
131
exs
Elixir
priv/repo/migrations/20161221070146_drop_snapshots_table.exs
mekongit/evercam_models
7c36d52f2b47ffc89a3eaca65c2e353716fafacc
[ "MIT" ]
null
null
null
priv/repo/migrations/20161221070146_drop_snapshots_table.exs
mekongit/evercam_models
7c36d52f2b47ffc89a3eaca65c2e353716fafacc
[ "MIT" ]
null
null
null
priv/repo/migrations/20161221070146_drop_snapshots_table.exs
mekongit/evercam_models
7c36d52f2b47ffc89a3eaca65c2e353716fafacc
[ "MIT" ]
null
null
null
defmodule Evercam.Repo.Migrations.DropSnapshotsTable do use Ecto.Migration def change do drop table(:snapshots) end end
16.375
55
0.770992
033e2f573bc3875fcd05b1d75a5dd7aaefc6374e
4,087
exs
Elixir
test/clova/skill_plug_test.exs
line/clova-cek-sdk-elixir
543c26ed7fc4611351017d9ded6b5456b0854bb2
[ "Apache-2.0" ]
12
2018-07-24T01:42:03.000Z
2020-05-29T23:06:44.000Z
test/clova/skill_plug_test.exs
line/clova-cek-sdk-elixir
543c26ed7fc4611351017d9ded6b5456b0854bb2
[ "Apache-2.0" ]
2
2018-08-29T08:03:42.000Z
2018-11-27T10:16:37.000Z
test/clova/skill_plug_test.exs
line/clova-cek-sdk-elixir
543c26ed7fc4611351017d9ded6b5456b0854bb2
[ "Apache-2.0" ]
2
2018-08-01T09:36:51.000Z
2019-10-07T05:18:33.000Z
defmodule Clova.SkillPlugTest do use ExUnit.Case use Plug.Test defmodule MockJsonModule do def encode!(_), do: Clova.SkillPlugTest.expected_response() def decode!(_) do %{ "context" => %{ "System" => %{ "application" => %{"applicationId" => "dummy"}, "devi...
30.962121
250
0.616589
033e30c348b007e00d9ef666f803d079d9790c80
2,219
exs
Elixir
test/elasticsearch/indexing/bulk_test.exs
eli-papa/elasticsearch-elixir
4b9a4e5b14d2b7b7dd7fb73c7130c98fc174bdd0
[ "MIT" ]
null
null
null
test/elasticsearch/indexing/bulk_test.exs
eli-papa/elasticsearch-elixir
4b9a4e5b14d2b7b7dd7fb73c7130c98fc174bdd0
[ "MIT" ]
null
null
null
test/elasticsearch/indexing/bulk_test.exs
eli-papa/elasticsearch-elixir
4b9a4e5b14d2b7b7dd7fb73c7130c98fc174bdd0
[ "MIT" ]
null
null
null
defmodule Elasticsearch.Index.BulkTest do use Elasticsearch.DataCase import ExUnit.CaptureLog alias Elasticsearch.{ Index.Bulk, Test.Cluster, Test.Store } defmodule TestException do defexception [:message] end defmodule ErrorAPI do @behaviour Elasticsearch.API @impl true d...
24.384615
91
0.557458
033e3366523966dc4e8b0d17c6ac2c30559526b3
78,760
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/admin_auth/transaction_consumption_controller_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
1
2018-12-07T06:21:21.000Z
2018-12-07T06:21:21.000Z
apps/admin_api/test/admin_api/v1/controllers/admin_auth/transaction_consumption_controller_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/admin_auth/transaction_consumption_controller_test.exs
amadeobrands/ewallet
505b7822721940a7b892a9b35c225e80cc8ac0b4
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.AdminAuth.TransactionConsumptionControllerTest do use AdminAPI.ConnCase, async: true alias EWalletDB.{ Account, AccountUser, Repo, Token, Transaction, TransactionConsumption, User, Wallet } alias EWallet.{BalanceFetcher, TestEndpoint} alias EWallet.Web.{...
35.914273
120
0.605015
033e3ffee3f0330e923d2a716fbb099b92310438
175
ex
Elixir
lib/pixie/encoders/response_disconnect_encoder.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie/encoders/response_disconnect_encoder.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
lib/pixie/encoders/response_disconnect_encoder.ex
rdalin82/pixie
add50e2bd7fbd807c7b82cd10a2123828be4c58f
[ "MIT" ]
null
null
null
require Pixie.Response.Encoder defimpl Poison.Encoder, for: Pixie.Response.Disconnect do def encode response, _opts do Pixie.Response.Encoder.encode response end end
21.875
57
0.794286
033e545eef332360f6951431c0679c35ac8b759a
2,241
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1__object_tracking_frame.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__object_tracking_frame.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__object_tracking_frame.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 ...
36.737705
226
0.76573
033e5a8ccbac3524eef490ce5a947addf2eca446
1,640
ex
Elixir
lib/desk_clock/faces/no_sync.ex
mtrudel/desk_clock
9e6ea5ea58bbab12a7188b3c00237f2a8bf066a6
[ "MIT" ]
7
2020-07-30T23:58:52.000Z
2022-01-24T19:10:11.000Z
lib/desk_clock/faces/no_sync.ex
mtrudel/desk_clock
9e6ea5ea58bbab12a7188b3c00237f2a8bf066a6
[ "MIT" ]
null
null
null
lib/desk_clock/faces/no_sync.ex
mtrudel/desk_clock
9e6ea5ea58bbab12a7188b3c00237f2a8bf066a6
[ "MIT" ]
1
2020-12-22T15:28:16.000Z
2020-12-22T15:28:16.000Z
defmodule DeskClock.Faces.NoSync do @moduledoc """ A face that displays an 'NTP not synced message' """ @behaviour DeskClock.Face alias ExPaint.{Color, Font} @impl DeskClock.Face def create(upper_zone, lower_zone) do %{ label_font: Font.load("fixed7x14"), upper_zone: upper_zone, l...
25.625
72
0.656098
033e5df764d24045af8c9259575906d254d73208
8,469
ex
Elixir
clients/poly/lib/google_api/poly/v1/api/users.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/poly/lib/google_api/poly/v1/api/users.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
clients/poly/lib/google_api/poly/v1/api/users.ex
mocknen/elixir-google-api
dac4877b5da2694eca6a0b07b3bd0e179e5f3b70
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
54.63871
274
0.686268
033e62d63e3b5b4ab52fcb23ea62b3093ea8737e
441
exs
Elixir
frontiers_site/test/frontiers_site_web/views/error_view_test.exs
wasmCloud/frontiers
20eb6f4f7e59332341cd3973869758c670b54e2c
[ "Apache-2.0" ]
1
2021-06-13T22:12:50.000Z
2021-06-13T22:12:50.000Z
frontiers_site/test/frontiers_site_web/views/error_view_test.exs
wasmCloud/frontiers
20eb6f4f7e59332341cd3973869758c670b54e2c
[ "Apache-2.0" ]
null
null
null
frontiers_site/test/frontiers_site_web/views/error_view_test.exs
wasmCloud/frontiers
20eb6f4f7e59332341cd3973869758c670b54e2c
[ "Apache-2.0" ]
null
null
null
defmodule FrontiersSiteWeb.ErrorViewTest do use FrontiersSiteWeb.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(FrontiersSiteWeb.ErrorView, "404.html", []) == "Not Found" end test "renders 5...
29.4
98
0.748299
033e6f7ddf86a0906ecdfc5af24bab531afd0ad5
703
exs
Elixir
test/ex_rss_web/controllers/user_controller_test.exs
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
4
2020-02-16T07:18:35.000Z
2021-12-09T14:43:10.000Z
test/ex_rss_web/controllers/user_controller_test.exs
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
27
2019-10-16T18:35:19.000Z
2022-03-13T16:39:57.000Z
test/ex_rss_web/controllers/user_controller_test.exs
cruessler/exrss
6ac17b7533d78460a1c34cabaae86fec317f460a
[ "MIT" ]
null
null
null
defmodule ExRssWeb.UserControllerTest do use ExRssWeb.ConnCase test "POST /users", %{conn: conn} do params = [ registration: [ name: "New user", email: "new@us.er", password: "password", password_confirmation: "password" ] ] conn = post(conn, "/users", param...
20.676471
78
0.58037
033ea63068b99c7ff8e5c96cd0f498e301f2b62a
832
exs
Elixir
mix.exs
kim-company/rambo
b66d61b656499dd31892e8cf5518f6da38b4b6a6
[ "MIT" ]
145
2019-08-30T19:19:16.000Z
2022-03-30T15:58:49.000Z
mix.exs
kim-company/rambo
b66d61b656499dd31892e8cf5518f6da38b4b6a6
[ "MIT" ]
14
2020-02-14T16:07:38.000Z
2022-03-17T08:04:31.000Z
mix.exs
kim-company/rambo
b66d61b656499dd31892e8cf5518f6da38b4b6a6
[ "MIT" ]
8
2019-09-06T08:45:41.000Z
2021-07-29T11:34:12.000Z
defmodule Rambo.MixProject do use Mix.Project @version "0.3.4" @repo_url "https://github.com/jayjun/rambo" def project do [ app: :rambo, version: @version, elixir: "~> 1.9", name: "Rambo", description: "Run your command. Send input. Get output.", compilers: Mix.compiler...
19.348837
63
0.52524
033eb886cc094df63f689d586bf665cba8a9d687
253
ex
Elixir
lib/horizons.ex
BCrawfordScott/horizons
04ee6ba579517e6a35c1347de4be1bceea8e4b36
[ "MIT" ]
null
null
null
lib/horizons.ex
BCrawfordScott/horizons
04ee6ba579517e6a35c1347de4be1bceea8e4b36
[ "MIT" ]
null
null
null
lib/horizons.ex
BCrawfordScott/horizons
04ee6ba579517e6a35c1347de4be1bceea8e4b36
[ "MIT" ]
null
null
null
defmodule Horizons do @moduledoc """ Horizons 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.3
66
0.754941
033edc76c59adaa3c79941ab4ee70a8c2637407c
336
exs
Elixir
combo/phxexibee/test/phxexibee_web/live/page_live_test.exs
exineris/shp_challenge2021
2a5447af681259d0ea699b670cf079bd31315cd8
[ "Apache-2.0" ]
null
null
null
combo/phxexibee/test/phxexibee_web/live/page_live_test.exs
exineris/shp_challenge2021
2a5447af681259d0ea699b670cf079bd31315cd8
[ "Apache-2.0" ]
null
null
null
combo/phxexibee/test/phxexibee_web/live/page_live_test.exs
exineris/shp_challenge2021
2a5447af681259d0ea699b670cf079bd31315cd8
[ "Apache-2.0" ]
null
null
null
defmodule PhxexibeeWeb.PageLiveTest do use PhxexibeeWeb.ConnCase import Phoenix.LiveViewTest test "disconnected and connected render", %{conn: conn} do {:ok, page_live, disconnected_html} = live(conn, "/") assert disconnected_html =~ "Welcome to Phoenix!" assert render(page_live) =~ "Welcome to Phoe...
28
60
0.729167
033f04ce28182b6f3126f9fb7d1b72cd0d4e9b82
4,641
ex
Elixir
clients/knowledge_graph_search/lib/google_api/knowledge_graph_search/v1/request_builder.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/knowledge_graph_search/lib/google_api/knowledge_graph_search/v1/request_builder.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/knowledge_graph_search/lib/google_api/knowledge_graph_search/v1/request_builder.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
28.826087
137
0.67033
033f3c32aa96b34923447bcf400d8cc119f06ff6
1,758
ex
Elixir
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/track_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/track_info.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/android_enterprise/lib/google_api/android_enterprise/v1/model/track_info.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.16
216
0.733788
033f53d2c29f81756d78cd73fb37ced52cd137a6
1,387
ex
Elixir
lib/teiserver_web/controllers/report/infolog_controller.ex
badosu/teiserver
19b623aeb7c2ab28756405f7486e92b714777c54
[ "MIT" ]
6
2021-02-08T10:42:53.000Z
2021-04-25T12:12:03.000Z
lib/teiserver_web/controllers/report/infolog_controller.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
14
2021-08-01T02:36:14.000Z
2022-01-30T21:15:03.000Z
lib/teiserver_web/controllers/report/infolog_controller.ex
Jazcash/teiserver
fec14784901cb2965d8c1350fe84107c57451877
[ "MIT" ]
7
2021-05-13T12:55:28.000Z
2022-01-14T06:39:06.000Z
defmodule TeiserverWeb.Report.InfologController do use CentralWeb, :controller alias Teiserver.Telemetry plug(AssignPlug, sidemenu_active: ["teiserver"] ) plug Bodyguard.Plug.Authorize, policy: Teiserver.Telemetry.Infolog, action: {Phoenix.Controller, :action_name}, user: {Central.Account.Au...
27.74
99
0.658976
033fa0dd8f3915b9eaf26485975900fe2b27db8c
65
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_relational_operation_parsing_test_case/DecimalFloat.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/matched_relational_operation_parsing_test_case/DecimalFloat.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/matched_relational_operation_parsing_test_case/DecimalFloat.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
1.2e-3 < 4.5e+6 1.2e-3 > 4.5e+6 1.2e-3 <= 4.5e+6 1.2e-3 >= 4.5e+6
16.25
16
0.492308
033fb1897557de9ca49f0ce01ba2274cefce17ba
1,576
ex
Elixir
clients/manufacturers/lib/google_api/manufacturers/v1/model/destination_status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/manufacturers/lib/google_api/manufacturers/v1/model/destination_status.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/manufacturers/lib/google_api/manufacturers/v1/model/destination_status.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 ...
31.52
89
0.725888
033fd4f112d42691870b0c4069ce7810be957cf0
220
ex
Elixir
apps/core/lib/core/api/behaviours/declaration_request_creator_behaviour.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
8
2019-06-14T11:34:49.000Z
2021-08-05T19:14:24.000Z
apps/core/lib/core/api/behaviours/declaration_request_creator_behaviour.ex
edenlabllc/ehealth.api.public
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
1
2019-07-08T15:20:22.000Z
2019-07-08T15:20:22.000Z
apps/core/lib/core/api/behaviours/declaration_request_creator_behaviour.ex
ehealth-ua/ehealth.api
4ffe26a464fe40c95fb841a4aa2e147068f65ca2
[ "Apache-2.0" ]
6
2018-05-11T13:59:32.000Z
2022-01-19T20:15:22.000Z
defmodule Core.DeclarationRequests.API.CreatorBehaviour do @moduledoc false @callback sql_get_sequence_number() :: {:ok, %Postgrex.Result{rows: [[sequence :: integer]]}} | {:error, reason :: term} end
31.428571
95
0.686364
034083751a79efb78a242f38ee7ea5e776884f04
1,961
ex
Elixir
lib/policr_mini/counter.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
lib/policr_mini/counter.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
lib/policr_mini/counter.ex
gchengyu/policr-mini
5acd7d6609fcaea2dbd7276fa01ca334ef9f6e6a
[ "MIT" ]
null
null
null
defmodule PolicrMini.Counter do @moduledoc """ 计数器缓存实现。 """ use GenServer import PolicrMini.Helper alias PolicrMini.VerificationBusiness alias :mnesia, as: Mnesia def start_link(_opts) do state = %{ verification_total: VerificationBusiness.find_total(), verification_passed_total: Ver...
25.141026
93
0.702703
0340b04ddc1caad29a99cbfbd19f0d14facf3788
1,008
ex
Elixir
lib/licensir/guesser.ex
bonfire-networks/licensir
969a1beeadb7b79fb757a4b49cfd24d553fde024
[ "MIT" ]
null
null
null
lib/licensir/guesser.ex
bonfire-networks/licensir
969a1beeadb7b79fb757a4b49cfd24d553fde024
[ "MIT" ]
null
null
null
lib/licensir/guesser.ex
bonfire-networks/licensir
969a1beeadb7b79fb757a4b49cfd24d553fde024
[ "MIT" ]
null
null
null
defmodule Licensir.Guesser do @moduledoc """ A module that determines a dependency's license based on different sources gathered. """ alias Licensir.{License, NamingVariants} @doc """ Guess the license based on the available license data. """ def guess(licenses) when is_list(licenses), do: Enum.map(lic...
32.516129
86
0.685516
0340b49eff7b5803a7666bd74284d1acda237c05
1,767
ex
Elixir
clients/content/lib/google_api/content/v2/model/shippingsettings_list_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/shippingsettings_list_response.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/shippingsettings_list_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...
33.980769
157
0.752122
0340c88d9fae169ac1fc26f70be8026101ad3f03
15,120
ex
Elixir
lib/phoenix_live_view/diff.ex
yosatak/phoenix_live_view
d6b45321919c3faa09af0fb90dfe3d4b9831f155
[ "MIT" ]
null
null
null
lib/phoenix_live_view/diff.ex
yosatak/phoenix_live_view
d6b45321919c3faa09af0fb90dfe3d4b9831f155
[ "MIT" ]
null
null
null
lib/phoenix_live_view/diff.ex
yosatak/phoenix_live_view
d6b45321919c3faa09af0fb90dfe3d4b9831f155
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.Diff do # The diff engine is responsible for tracking the rendering state. # Given that components are part of said state, they are also # handled here. @moduledoc false alias Phoenix.LiveView.{Utils, Rendered, Comprehension, Component} @components :c @static :s @dynamics :d...
31.565762
100
0.665013
0340da7e11098b1eabecb86266cc5ab0349dc2ec
2,000
exs
Elixir
config/dev.exs
lulabad/murky
8cf7b24c7d36c3b035da05cc289dac957e95e3d7
[ "MIT" ]
6
2020-08-17T18:49:15.000Z
2021-11-21T08:22:06.000Z
config/dev.exs
lulabad/murky
8cf7b24c7d36c3b035da05cc289dac957e95e3d7
[ "MIT" ]
5
2020-09-22T16:46:38.000Z
2021-12-19T18:04:19.000Z
config/dev.exs
lulabad/murky
8cf7b24c7d36c3b035da05cc289dac957e95e3d7
[ "MIT" ]
2
2021-11-22T20:12:11.000Z
2021-12-19T18:12:01.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :murky, MurkyWeb.Endpoint, http: [port: 5000], ...
27.777778
68
0.68
0340e239dc8acf58c4a81a330ffbd054dfdaa9a4
744
exs
Elixir
chapter2/exlivery/mix.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
chapter2/exlivery/mix.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
chapter2/exlivery/mix.exs
mCodex/rocketseat-ignite-elixir
bdb48db778c36b2325c75a41b4d6f7ef77b03cf5
[ "MIT" ]
null
null
null
defmodule Exlivery.MixProject do use Mix.Project def project do [ app: :exlivery, version: "0.1.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps() ] end # Run "mix help compile.app" to learn about applic...
21.257143
62
0.561828
0340e698515d518804b2a6bbd5d2cce2ffd5532c
769
exs
Elixir
ex_ske/mix.exs
ohr486/chat-app-proto
95484ea9252d3399d9b09412525de13dcd17497a
[ "MIT" ]
null
null
null
ex_ske/mix.exs
ohr486/chat-app-proto
95484ea9252d3399d9b09412525de13dcd17497a
[ "MIT" ]
null
null
null
ex_ske/mix.exs
ohr486/chat-app-proto
95484ea9252d3399d9b09412525de13dcd17497a
[ "MIT" ]
null
null
null
defmodule Chat.Mixfile do use Mix.Project def project do [app: :chat, version: "0.1.0", elixir: "~> 1.4", 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 inf...
21.971429
79
0.617685
0340e8e3ebdaa24a975042cae137fc5cadc9b89d
284
ex
Elixir
lib/zaryn/p2p/message/get_balance.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
1
2021-07-06T19:47:14.000Z
2021-07-06T19:47:14.000Z
lib/zaryn/p2p/message/get_balance.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
lib/zaryn/p2p/message/get_balance.ex
ambareesha7/node-zaryn
136e542801bf9b6fa4a015d3464609fdf3dacee8
[ "Apache-2.0" ]
null
null
null
defmodule Zaryn.P2P.Message.GetBalance do @moduledoc """ Represents a message to request the balance of a transaction """ @enforce_keys [:address] defstruct [:address] alias Zaryn.Crypto @type t :: %__MODULE__{ address: Crypto.versioned_hash() } end
20.285714
62
0.676056
0340eb672c6e268db6e4f53af96b2837401292ff
462
ex
Elixir
backend/apps/students_crm_v2_web/lib/students_crm_v2_web/views/error_view.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
backend/apps/students_crm_v2_web/lib/students_crm_v2_web/views/error_view.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
50
2018-07-29T09:17:35.000Z
2019-02-26T05:23:34.000Z
backend/apps/students_crm_v2_web/lib/students_crm_v2_web/views/error_view.ex
KyivKrishnaAcademy/students_crm_v2
e0ad9b3c5e52dfef5ab8f9179f3c593f935786e6
[ "MIT" ]
null
null
null
defmodule StudentsCrmV2Web.ErrorView do use StudentsCrmV2Web, :view def render("404.html", _assigns) do "Page not found" end def render("500.html", _assigns) do "Internal server error" end def render("401.json", _assigns) do %{error: :unauthorized} end # In case no render clause matches ...
21
47
0.69697
0340feadcf4928150fb101cebe413e1efd8397f7
30
ex
Elixir
lib/ex_acn/sdt.ex
willpenington/eacn
774f873c28cb070a2f8313bf7557cb81d1f10bd9
[ "MIT" ]
1
2016-08-28T21:58:57.000Z
2016-08-28T21:58:57.000Z
lib/ex_acn/sdt.ex
willpenington/eacn
774f873c28cb070a2f8313bf7557cb81d1f10bd9
[ "MIT" ]
null
null
null
lib/ex_acn/sdt.ex
willpenington/eacn
774f873c28cb070a2f8313bf7557cb81d1f10bd9
[ "MIT" ]
null
null
null
defmodule ExACN.SDT do end
7.5
22
0.733333
03410cb31d4f7c424fcbcf818bc8afc0209c6218
1,418
ex
Elixir
server/apps/boardr_api/lib/boardr_api/endpoint.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2021-04-08T17:26:27.000Z
2021-04-08T17:26:27.000Z
server/apps/boardr_api/lib/boardr_api/endpoint.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2022-02-13T05:50:46.000Z
2022-02-13T05:50:46.000Z
server/apps/boardr_api/lib/boardr_api/endpoint.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
null
null
null
defmodule BoardrApi.Endpoint do use Phoenix.Endpoint, otp_app: :boardr alias Boardr.Config def init(:supervisor, config) do with {:ok, port} <- Config.get_required_env( "BOARDR_PORT", :port_missing, System.get_env("PORT", "4000") ), {:ok,...
26.754717
103
0.61213
03410fb41fb216bac1a99dd08b89371812d58843
405
ex
Elixir
apps/api_web/lib/api_web/views/service_view.ex
losvedir/api
a9bacff911704f53fac238c0eb23b7d6d6d3b70e
[ "MIT" ]
null
null
null
apps/api_web/lib/api_web/views/service_view.ex
losvedir/api
a9bacff911704f53fac238c0eb23b7d6d6d3b70e
[ "MIT" ]
null
null
null
apps/api_web/lib/api_web/views/service_view.ex
losvedir/api
a9bacff911704f53fac238c0eb23b7d6d6d3b70e
[ "MIT" ]
null
null
null
defmodule ApiWeb.ServiceView do use ApiWeb.Web, :api_view location("/services/:id") attributes([ :start_date, :end_date, :valid_days, :description, :schedule_name, :schedule_type, :schedule_typicality, :rating_start_date, :rating_end_date, :rating_description, :added_...
17.608696
31
0.674074
03412aedb446aa334d589c3f7cc30b181b4dad9a
514
ex
Elixir
apps/chat/lib/chat/room/supervisor.ex
leohahn/chat_server
77ef971e6c09d0051541fdc44ec5cef5dd82b82b
[ "Unlicense" ]
1
2016-08-17T09:09:44.000Z
2016-08-17T09:09:44.000Z
apps/chat/lib/chat/room/supervisor.ex
leohahn/chat_server
77ef971e6c09d0051541fdc44ec5cef5dd82b82b
[ "Unlicense" ]
null
null
null
apps/chat/lib/chat/room/supervisor.ex
leohahn/chat_server
77ef971e6c09d0051541fdc44ec5cef5dd82b82b
[ "Unlicense" ]
null
null
null
defmodule Chat.Room.Supervisor do use Supervisor @name Chat.Room.Supervisor def start_link do Supervisor.start_link(__MODULE__, :ok, name: @name) end @doc """ Creates a new room, with `admin` as the first user. """ def start_room(chat_name, admin, admin_pid) do Supervisor.start_child(@name, [...
20.56
64
0.680934
034146fe3b24c0c1db96276be0e885e9991b6e37
243
ex
Elixir
lib/xler/native.ex
thiamsantos/xler
6f3ccbb536c42971a0f98dfd6f13970d32983d89
[ "MIT" ]
4
2020-09-04T14:57:22.000Z
2021-09-03T13:34:08.000Z
lib/xler/native.ex
thiamsantos/xler
6f3ccbb536c42971a0f98dfd6f13970d32983d89
[ "MIT" ]
20
2020-07-18T10:38:05.000Z
2022-03-24T04:03:57.000Z
lib/xler/native.ex
thiamsantos/xler
6f3ccbb536c42971a0f98dfd6f13970d32983d89
[ "MIT" ]
3
2020-10-20T12:38:48.000Z
2022-01-25T05:33:32.000Z
defmodule Xler.Native do use Rustler, otp_app: :xler, crate: :xler_native @moduledoc false def parse(_filename, _worksheet), do: error() def worksheets(_filename), do: error() defp error, do: :erlang.nif_error(:nif_not_loaded) end
24.3
52
0.73251
03414c7392d10f1a2d11162eb161fb1252169323
25,516
exs
Elixir
spec/assertions/dates_times/be_close_to_spec.exs
bblaszkow06/espec
4d9819ca5c68c6eb70276c7d9c9630ded01ba778
[ "Apache-2.0" ]
null
null
null
spec/assertions/dates_times/be_close_to_spec.exs
bblaszkow06/espec
4d9819ca5c68c6eb70276c7d9c9630ded01ba778
[ "Apache-2.0" ]
null
null
null
spec/assertions/dates_times/be_close_to_spec.exs
bblaszkow06/espec
4d9819ca5c68c6eb70276c7d9c9630ded01ba778
[ "Apache-2.0" ]
null
null
null
defmodule ESpec.Assertions.DatesTimes.BeCloseToSpec do use ESpec, async: true describe "ESpec.Assertions.BeCloseTo" do context "Success with Date with a granularity of years" do it "checks success with `to`" do message = expect(~D[2017-08-07]).to(be_close_to(~D[2018-08-07], {:years, 1})) ...
33.840849
182
0.548793
0341597716272af73154739d3904cf2b0285e435
361
ex
Elixir
lib/hive/application.ex
hive-fleet/hive-state
12478d8540cc93863237f6456ade0de68c56501e
[ "Apache-2.0" ]
5
2020-05-05T17:10:44.000Z
2021-03-24T20:37:48.000Z
lib/hive/application.ex
hive-fleet/hive-state
12478d8540cc93863237f6456ade0de68c56501e
[ "Apache-2.0" ]
10
2020-05-09T22:06:07.000Z
2020-05-09T22:10:14.000Z
lib/hive/application.ex
hive-fleet/hive-state
12478d8540cc93863237f6456ade0de68c56501e
[ "Apache-2.0" ]
2
2020-05-06T14:47:33.000Z
2021-06-11T21:12:29.000Z
defmodule Hive.Application do @moduledoc false use Application def start(_type, _args) do children = [ {Hive.VehicleSupervisor, []}, {Registry, keys: :unique, name: Hive.VehicleRegistry}, {Hive.TelemetryStore, []} ] opts = [strategy: :one_for_one, name: Hive.Supervisor] Supervi...
22.5625
60
0.66759
034179bde281eada0b536b24d073a0eb1fcd88de
12,761
exs
Elixir
test/elixir/test/design_docs_test.exs
frapa/couchdb
6c28960f0fe2eec06aca7d58fd73f3c7cdbe1112
[ "Apache-2.0" ]
null
null
null
test/elixir/test/design_docs_test.exs
frapa/couchdb
6c28960f0fe2eec06aca7d58fd73f3c7cdbe1112
[ "Apache-2.0" ]
null
null
null
test/elixir/test/design_docs_test.exs
frapa/couchdb
6c28960f0fe2eec06aca7d58fd73f3c7cdbe1112
[ "Apache-2.0" ]
null
null
null
defmodule DesignDocsTest do use CouchTestCase @moduletag :design_docs @moduletag kind: :single_node @design_doc %{ _id: "_design/test", language: "javascript", autoupdate: false, whatever: %{ stringzone: "exports.string = 'plankton';", commonjs: %{ whynot: """ expor...
26.31134
86
0.543218
03419b394ff15631de7148c504649fda75395878
3,034
exs
Elixir
test/number_insight/advanced_test.exs
ksherman/nexmo-elixir
b907abced1f7eb297819cd5b9256e04e6f06bc96
[ "MIT" ]
4
2020-01-31T03:34:25.000Z
2022-02-25T07:05:30.000Z
test/number_insight/advanced_test.exs
ksherman/nexmo-elixir
b907abced1f7eb297819cd5b9256e04e6f06bc96
[ "MIT" ]
10
2019-08-29T06:58:02.000Z
2020-01-27T13:26:05.000Z
test/number_insight/advanced_test.exs
ksherman/nexmo-elixir
b907abced1f7eb297819cd5b9256e04e6f06bc96
[ "MIT" ]
2
2020-03-23T03:02:13.000Z
2021-09-03T23:18:45.000Z
defmodule Nexmo.NumberInsight.AdvancedTest do use ExUnit.Case setup do api_key = "a123456" api_secret = "b123456" # setup test responses valid_response = %{ "status" => 0, "status_message" => "Success", "request_id" => "aaaaaaaa-bbbb-cccc-dddd-0123456789ab", "international_...
31.604167
90
0.597231
0341cad5c8c77a6040179e89086e23976de05d5b
778
ex
Elixir
test/support/channel_case.ex
bmbferreira/slack-quiet
3bd08f102e1236189fd81580ded8b6548ddfc2cd
[ "MIT" ]
5
2018-01-15T19:51:37.000Z
2018-01-31T18:30:01.000Z
test/support/channel_case.ex
bmbferreira/slack-quiet
3bd08f102e1236189fd81580ded8b6548ddfc2cd
[ "MIT" ]
null
null
null
test/support/channel_case.ex
bmbferreira/slack-quiet
3bd08f102e1236189fd81580ded8b6548ddfc2cd
[ "MIT" ]
1
2018-06-25T19:16:39.000Z
2018-06-25T19:16:39.000Z
defmodule SlackQuietWeb.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 datastructures and query the data layer. Finally, if the test case interacts...
24.3125
58
0.730077
0341f6621438cdb7bb028f7e3d80d961c952beb7
4,127
ex
Elixir
clients/sheets/lib/google_api/sheets/v4/model/org_chart_spec.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/sheets/lib/google_api/sheets/v4/model/org_chart_spec.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/sheets/lib/google_api/sheets/v4/model/org_chart_spec.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...
60.691176
548
0.727405
0341fa056ad0a1b07326fa1d68a8af62343a40e0
2,189
exs
Elixir
config/prod.exs
mreishus/demon_spirit_umbrella
1ab9161427361ac7d35132fce2aed36923896a4b
[ "MIT" ]
12
2019-09-17T13:47:57.000Z
2021-12-11T17:11:11.000Z
config/prod.exs
mreishus/demon_spirit_umbrella
1ab9161427361ac7d35132fce2aed36923896a4b
[ "MIT" ]
181
2019-10-15T01:21:44.000Z
2021-08-31T19:26:54.000Z
config/prod.exs
mreishus/demon_spirit_umbrella
1ab9161427361ac7d35132fce2aed36923896a4b
[ "MIT" ]
2
2020-07-11T02:18:46.000Z
2021-05-31T10:46:39.000Z
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.676923
66
0.696208
034205a0be9b3c55012aef25a59d671bc6392a7b
6,801
ex
Elixir
lib/mix/pow.ex
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
1
2021-06-25T10:36:01.000Z
2021-06-25T10:36:01.000Z
lib/mix/pow.ex
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
null
null
null
lib/mix/pow.ex
randaalex/pow
2a8c8db4652f7cb2c58d3a897e02b1d47e76f27b
[ "MIT" ]
1
2020-07-13T01:11:17.000Z
2020-07-13T01:11:17.000Z
defmodule Mix.Pow do @moduledoc """ Utilities module for mix tasks. """ alias Mix.{Dep, Project} @doc """ Raises an exception if the project is an umbrella app. """ @spec no_umbrella!(binary()) :: :ok | no_return def no_umbrella!(task) do if Project.umbrella?() do Mix.raise("mix #{task} can...
29.314655
146
0.635201
03420f46c899ef33bdc6ce99373224ca40a6220f
11,031
ex
Elixir
debian/osvr-rendermanager/debian/manpage.xml.ex
fkmclane/OSVR-Packaging
0cacf55e35752d22f21b67610c103e63e75bbca5
[ "MIT" ]
null
null
null
debian/osvr-rendermanager/debian/manpage.xml.ex
fkmclane/OSVR-Packaging
0cacf55e35752d22f21b67610c103e63e75bbca5
[ "MIT" ]
null
null
null
debian/osvr-rendermanager/debian/manpage.xml.ex
fkmclane/OSVR-Packaging
0cacf55e35752d22f21b67610c103e63e75bbca5
[ "MIT" ]
null
null
null
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ <!-- `xsltproc -''-nonet \ -''-param man.charmap.use.subset "0" \ -''-param make.year.ranges "1" \ -''-param make.single.year.r...
37.777397
84
0.632853
034216a0c0f477076a318b5d787c203da4dbb1a3
1,482
exs
Elixir
priv/repo/migrations/002_create_user.exs
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
44
2018-05-09T01:08:57.000Z
2021-01-19T07:25:26.000Z
priv/repo/migrations/002_create_user.exs
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
36
2018-05-08T23:59:54.000Z
2018-09-28T13:50:30.000Z
priv/repo/migrations/002_create_user.exs
freshcom/freshcom-api
4f2083277943cf4e4e8fd4c4d443c7309f285ad7
[ "BSD-3-Clause" ]
9
2018-05-09T14:09:19.000Z
2021-03-21T21:04:04.000Z
defmodule BlueJet.Repo.Migrations.CreateUser do use Ecto.Migration def change do create table(:users, primary_key: false) do add :id, :binary_id, primary_key: true add :account_id, references(:accounts, type: :binary_id, on_delete: :delete_all) add :default_account_id, references(:accounts, t...
33.681818
86
0.694332
034221675fbffe614a4555c82325534479a0a994
76
ex
Elixir
lib/working_hours/repo.ex
n2o/WorkingHours
07987bf4dab62c227928273c18d57cd92f55ed07
[ "MIT" ]
null
null
null
lib/working_hours/repo.ex
n2o/WorkingHours
07987bf4dab62c227928273c18d57cd92f55ed07
[ "MIT" ]
null
null
null
lib/working_hours/repo.ex
n2o/WorkingHours
07987bf4dab62c227928273c18d57cd92f55ed07
[ "MIT" ]
null
null
null
defmodule WorkingHours.Repo do use Ecto.Repo, otp_app: :working_hours end
19
40
0.802632
034230a8e4fd8167e1593e07448649db359f4654
979
exs
Elixir
test/static_qr/static_qr_test.exs
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
15
2020-08-05T11:20:03.000Z
2021-09-22T15:20:41.000Z
test/static_qr/static_qr_test.exs
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
9
2020-08-10T14:42:27.000Z
2021-06-14T14:45:05.000Z
test/static_qr/static_qr_test.exs
anfly0/exBankID
8e62f4250b533543a6b4b423b0c2fb3ec262dc7b
[ "MIT" ]
2
2020-08-10T13:42:15.000Z
2020-10-03T04:10:06.000Z
defmodule Test.Static.Qr do use ExUnit.Case, async: true test "Static qr-code from auth response" do response = %ExBankID.Auth.Response{ orderRef: "131daac9-16c6-4618-beb0-365768f37288", autoStartToken: "7c40b5c9-fa74-49cf-b98c-bfe651f9a7c6", qrStartToken: "67df3917-fa0d-44e5-b327-edcc928297f...
34.964286
77
0.708887
03423b8fa7c7eb98fd1e2d1ae3060c6be49da19c
212
exs
Elixir
v02/ch02/struct1.edit3.exs
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
v02/ch02/struct1.edit3.exs
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
v02/ch02/struct1.edit3.exs
oiax/elixir-primer
c8b89a29f108cc335b8e1341b7a1e90ec12adc66
[ "MIT" ]
null
null
null
m = %{name: "foo", email: "foo@example.com"} m = Map.merge(m, %{email: "bar@example.com"}) u = %User{name: "foo", email: "foo@example.com"} u = Map.merge(u, %{email: "bar@example.com"}) IO.inspect m IO.inspect u
30.285714
48
0.622642
03423e01d187d2789be11902c0f98c61f20030df
700
ex
Elixir
web/gettext.ex
joeletizia/blogger
64b7b5665cdd75cbf24f5cfd938faf5135eb914a
[ "MIT" ]
null
null
null
web/gettext.ex
joeletizia/blogger
64b7b5665cdd75cbf24f5cfd938faf5135eb914a
[ "MIT" ]
null
null
null
web/gettext.ex
joeletizia/blogger
64b7b5665cdd75cbf24f5cfd938faf5135eb914a
[ "MIT" ]
null
null
null
defmodule Blogger.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](http://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import Blogger.Gettext # Simple translation gettext "Here is the stri...
28
71
0.677143
0342cc749e7f72fee6ee67f044cee9d144733497
1,571
ex
Elixir
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/big_query_connection/lib/google_api/big_query_connection/v1beta1/model/empty.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "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...
37.404762
345
0.764481
034321a2ea84a7c2fcb5ba1fe5e0a4060a7ea1e3
2,137
exs
Elixir
mix.exs
alanvardy/phoenix_live_view
f5c18a5d5682850050072054397da024371aefca
[ "MIT" ]
null
null
null
mix.exs
alanvardy/phoenix_live_view
f5c18a5d5682850050072054397da024371aefca
[ "MIT" ]
null
null
null
mix.exs
alanvardy/phoenix_live_view
f5c18a5d5682850050072054397da024371aefca
[ "MIT" ]
null
null
null
defmodule Phoenix.LiveView.MixProject do use Mix.Project @version "0.5.2" def project do [ app: :phoenix_live_view, version: @version, elixir: "~> 1.7", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), package: package(), xref: [exclude:...
23.483516
99
0.590547
03432d05efa9311235d0971fab2849b3cb147180
1,555
ex
Elixir
clients/content/lib/google_api/content/v2/model/orders_update_merchant_order_id_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_update_merchant_order_id_request.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/content/lib/google_api/content/v2/model/orders_update_merchant_order_id_request.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...
32.395833
130
0.758199
0343333f1d1862c8e702320e799a413e922a2dbc
966
ex
Elixir
test/support/channel_case.ex
mstang/people_sorter
e712622c071748c79b26e977a8b029e1ba1877c5
[ "MIT" ]
null
null
null
test/support/channel_case.ex
mstang/people_sorter
e712622c071748c79b26e977a8b029e1ba1877c5
[ "MIT" ]
null
null
null
test/support/channel_case.ex
mstang/people_sorter
e712622c071748c79b26e977a8b029e1ba1877c5
[ "MIT" ]
null
null
null
defmodule PeopleSorterWeb.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 intera...
27.6
69
0.744306
0343388e6adb0e388bc15e575b9eed4567b59e7c
470
exs
Elixir
config/dev.exs
fremantle-capital/ex_okex
1e5a4ac8c3713a0bfcd8fffc20dce1a9eaacf931
[ "MIT" ]
6
2018-12-04T22:05:05.000Z
2022-01-08T11:54:40.000Z
config/dev.exs
fremantle-capital/ex_okex
1e5a4ac8c3713a0bfcd8fffc20dce1a9eaacf931
[ "MIT" ]
14
2019-12-21T11:32:30.000Z
2022-03-28T16:07:01.000Z
config/dev.exs
acuityinnovations/ex_okex
52acf16e8d00446ca32607ccb2cd75add0acaceb
[ "MIT" ]
5
2019-04-10T00:41:17.000Z
2021-12-23T14:49:02.000Z
use Mix.Config # Read from environment variables config :ex_okex, api_key: System.get_env("OKEX_API_KEY"), api_secret: System.get_env("OKEX_API_SECRET"), api_passphrase: System.get_env("OKEX_API_PASSPHRASE") # Or replace "OKEX_*" values to define here in config file # config :ex_okex, api_key: {:system, ...
36.153846
67
0.682979
03433bdb1ce48f177d189e005b3df90cee6a1e96
388
ex
Elixir
lib/rockelivery/user/actions/update.ex
joabehenrique/rockelivery
02f83fe99df8e27d4e2a6270fecb39a521f2ceaf
[ "MIT" ]
null
null
null
lib/rockelivery/user/actions/update.ex
joabehenrique/rockelivery
02f83fe99df8e27d4e2a6270fecb39a521f2ceaf
[ "MIT" ]
null
null
null
lib/rockelivery/user/actions/update.ex
joabehenrique/rockelivery
02f83fe99df8e27d4e2a6270fecb39a521f2ceaf
[ "MIT" ]
null
null
null
defmodule Rockelivery.User.Actions.Update do alias Rockelivery.{Error, Repo} alias Rockelivery.User.User def call(%{"id" => id} = params) do case Repo.get(User, id) do nil -> {:error, Error.build_user_not_found_error()} user -> update(user, params) end end defp update(user, params) do ...
21.555556
57
0.649485
03433ead72a93d58138e69e3ab7e74d7268e11cb
1,257
exs
Elixir
config/prod.secret.exs
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
config/prod.secret.exs
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
config/prod.secret.exs
andsleonardo/magnemite
2a06c1520defeb193d718313ad3fc6a50349bc8d
[ "MIT" ]
null
null
null
# In this file, we load production configuration and secrets # from environment variables. You can also hardcode secrets, # although such is generally not recommended and you have to # remember to add this file to your .gitignore. use Mix.Config database_url = System.get_env("DATABASE_URL") || raise """ envi...
29.928571
67
0.721559
034369038941728620cfe66bf8be7567262e88e3
44,343
ex
Elixir
lib/ecto/repo.ex
leandrocp/ecto
fc4afd2c8049c26a5fdb420d895060bb4a37d4d5
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo.ex
leandrocp/ecto
fc4afd2c8049c26a5fdb420d895060bb4a37d4d5
[ "Apache-2.0" ]
null
null
null
lib/ecto/repo.ex
leandrocp/ecto
fc4afd2c8049c26a5fdb420d895060bb4a37d4d5
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Repo do @moduledoc """ Defines a repository. A repository maps to an underlying data store, controlled by the adapter. For example, Ecto ships with a Postgres adapter that stores data into a PostgreSQL database. When used, the repository expects the `:otp_app` as option. The `:otp_app` sh...
35.789346
102
0.667276
034383bb57cca5664ab1567f0b78d558d50e6049
36,327
ex
Elixir
lib/elixir/lib/exception.ex
michalmuskala/elixir
097de7d308ac40747b4524e266558a3d9498a60b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/exception.ex
michalmuskala/elixir
097de7d308ac40747b4524e266558a3d9498a60b
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/exception.ex
michalmuskala/elixir
097de7d308ac40747b4524e266558a3d9498a60b
[ "Apache-2.0" ]
null
null
null
defmodule Exception do @moduledoc """ Functions to format throw/catch/exit and exceptions. Note that stacktraces in Elixir are updated on throw, errors and exits. For example, at any given moment, `System.stacktrace/0` will return the stacktrace for the last throw/error/exit that occurred in the current pr...
28.694313
153
0.653481
03439f09d8d4f3e00f02b798266766488da37362
1,259
ex
Elixir
test/support/conn_case.ex
ding-an-sich/ex_change_rate
89858694dc98cef6d21089599120600a075c93db
[ "MIT" ]
null
null
null
test/support/conn_case.ex
ding-an-sich/ex_change_rate
89858694dc98cef6d21089599120600a075c93db
[ "MIT" ]
null
null
null
test/support/conn_case.ex
ding-an-sich/ex_change_rate
89858694dc98cef6d21089599120600a075c93db
[ "MIT" ]
null
null
null
defmodule ExChangeRateWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, ...
31.475
93
0.739476
0343bb8bda703ed7ae6fd2ce8b636a1b4a81b510
1,047
exs
Elixir
test/socializer/conversation_user_test.exs
adam-h/socializer
22bbb34a6e707af9cf608c5eeb6189d1f067a95b
[ "MIT" ]
311
2019-04-21T22:15:08.000Z
2022-01-23T14:07:03.000Z
test/socializer/conversation_user_test.exs
adam-h/socializer
22bbb34a6e707af9cf608c5eeb6189d1f067a95b
[ "MIT" ]
9
2020-09-07T09:38:58.000Z
2022-02-26T18:07:44.000Z
test/socializer/conversation_user_test.exs
adam-h/socializer
22bbb34a6e707af9cf608c5eeb6189d1f067a95b
[ "MIT" ]
49
2019-04-22T01:29:50.000Z
2022-03-23T04:34:35.000Z
defmodule Socializer.ConversationUserTest do use SocializerWeb.ConnCase alias Socializer.ConversationUser describe "#find_by" do it "finds conversation user by conditions" do conversation = insert(:conversation) user = insert(:user) conversation_user = insert(:conversation_user, conversati...
29.083333
93
0.689589
0343c7c445e86e108713cc7a129c9bd7c8831221
15,309
exs
Elixir
test/teslamate_web/controllers/car_controller_test.exs
dirkjanm/teslamate
18beefbe694c74c1088ff6f87ef7b4c4190b451e
[ "MIT" ]
null
null
null
test/teslamate_web/controllers/car_controller_test.exs
dirkjanm/teslamate
18beefbe694c74c1088ff6f87ef7b4c4190b451e
[ "MIT" ]
null
null
null
test/teslamate_web/controllers/car_controller_test.exs
dirkjanm/teslamate
18beefbe694c74c1088ff6f87ef7b4c4190b451e
[ "MIT" ]
null
null
null
defmodule TeslaMateWeb.CarControllerTest do use TeslaMateWeb.ConnCase use TeslaMate.VehicleCase alias TeslaMate.Settings.CarSettings alias TeslaMate.{Log, Settings, Repo} alias TeslaMate.Log.Car defp table_row(html, key, value) do assert {"tr", _, [{"td", _, [^key]}, {"td", [], [^value]}]} = ...
30.556886
97
0.559214
0343efc2d224e16dbf15c67670ff040efbdd3e6a
1,334
ex
Elixir
lib/structs/data_types/backup_record.ex
silbermm/memelex
1ab62069ceb4deb773b479b6ed21ac34ae0bfab5
[ "Apache-2.0" ]
5
2021-11-03T03:45:59.000Z
2021-12-14T04:39:06.000Z
lib/structs/data_types/backup_record.ex
silbermm/memelex
1ab62069ceb4deb773b479b6ed21ac34ae0bfab5
[ "Apache-2.0" ]
1
2021-12-14T18:26:14.000Z
2021-12-14T18:26:14.000Z
lib/structs/data_types/backup_record.ex
silbermm/memelex
1ab62069ceb4deb773b479b6ed21ac34ae0bfab5
[ "Apache-2.0" ]
3
2021-12-07T01:51:55.000Z
2021-12-08T22:21:46.000Z
defmodule Memex.BackupRecord do @enforce_keys [:uuid, :timepoint, :version] @derive Jason.Encoder defstruct [ uuid: nil, # we require UUIDs for precision when pattern-matching label: nil, # If the user wants to leave any special text data for this backup, leave it here ...
37.055556
165
0.650675
03440ed6a5f25ff57896437c7f63b9688ff7f123
593
ex
Elixir
advent_umbrella_2016/apps/day10/lib/lookandsay.ex
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent_umbrella_2016/apps/day10/lib/lookandsay.ex
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
advent_umbrella_2016/apps/day10/lib/lookandsay.ex
lauromoura/adventofcode
320dc1ea7099fbc7c3ffcbc406bfc0aa236c3b78
[ "Unlicense" ]
null
null
null
defmodule LookAndSay do @moduledoc """ Implements the Look-and-Say sequence for strings. """ def say(amount) do chars = [head | _tail] = String.to_char_list(amount) chars |> say_count(head, 0) |> List.to_string end defp say_count([current|tail], current, current_count) do say_count(ta...
24.708333
70
0.688027
034430ed3b568d77326900b20c9c5a47d8458596
16,331
ex
Elixir
lib/verbalex.ex
tylerbarker/verbalex
f0dc0a10897729256e1835ab9e8ae8dff8adac02
[ "Apache-2.0" ]
27
2019-04-25T01:53:54.000Z
2021-08-15T00:50:36.000Z
lib/verbalex.ex
tylerbarker/verbalex
f0dc0a10897729256e1835ab9e8ae8dff8adac02
[ "Apache-2.0" ]
null
null
null
lib/verbalex.ex
tylerbarker/verbalex
f0dc0a10897729256e1835ab9e8ae8dff8adac02
[ "Apache-2.0" ]
null
null
null
defmodule Verbalex do @moduledoc """ Documentation for Verbalex. """ defguardp are_binaries(x, y) when is_binary(x) and is_binary(y) defguardp are_integers(x, y) when is_integer(x) and is_integer(y) @classes ~w( alnum alpha ascii blank cntrl digit graph lower print ...
32.021569
124
0.61123
0344568c04b49f0b166d94476cfad518c722818c
6,914
ex
Elixir
clients/cloud_scheduler/lib/google_api/cloud_scheduler/v1/model/job.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_scheduler/lib/google_api/cloud_scheduler/v1/model/job.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_scheduler/lib/google_api/cloud_scheduler/v1/model/job.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...
80.395349
984
0.724327
0344c8077827cf29a2d6f8e80b1a0a911d054159
2,555
ex
Elixir
lib/epi_locator_web.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
null
null
null
lib/epi_locator_web.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
6
2021-10-19T01:55:57.000Z
2022-02-15T01:04:19.000Z
lib/epi_locator_web.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
2
2022-01-21T08:38:50.000Z
2022-01-21T08:42:04.000Z
defmodule EpiLocatorWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use EpiLocatorWeb, :controller use EpiLocatorWeb, :view The definitions below will be executed for every view, con...
23.227273
83
0.678278
0344e2b0d573548039c85d0885f37c86f4ae9c2e
9,587
ex
Elixir
lib/elixir/lib/supervisor/spec.ex
felix-alonso/elixir
71503e07bdb8413b11cf2a46d38c648c72fa28bf
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/supervisor/spec.ex
felix-alonso/elixir
71503e07bdb8413b11cf2a46d38c648c72fa28bf
[ "Apache-2.0" ]
null
null
null
lib/elixir/lib/supervisor/spec.ex
felix-alonso/elixir
71503e07bdb8413b11cf2a46d38c648c72fa28bf
[ "Apache-2.0" ]
null
null
null
defmodule Supervisor.Spec do @moduledoc """ Outdated functions for building child specifications. The functions in this module are deprecated and they do not work with the module-based child specs introduced in Elixir v1.5. Please see the `Supervisor` documentation instead. Convenience functions for defin...
33.058621
105
0.676124