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
f78589cc33a85377598a201d157f296abafd617d
123
exs
Elixir
config/prod.exs
bryanhuntesl/ex_bench_runner
b669f13e1777ad51308b5d0a2b265a294339bd3c
[ "Apache-2.0" ]
2
2020-04-25T09:05:49.000Z
2020-04-29T03:56:38.000Z
config/prod.exs
bryanhuntesl/ex_bench_runner
b669f13e1777ad51308b5d0a2b265a294339bd3c
[ "Apache-2.0" ]
1
2020-01-27T07:57:33.000Z
2020-01-27T07:57:33.000Z
config/prod.exs
bryanhuntesl/ex_bench_runner
b669f13e1777ad51308b5d0a2b265a294339bd3c
[ "Apache-2.0" ]
null
null
null
use Mix.Config config :logger, backends: [:console], compile_time_purge_matching: [ [level_lower_than: :info] ]
15.375
32
0.699187
f786350c6d6b9cb2bf290a04555d01b6b22edccf
15,576
ex
Elixir
lib/kaffy_web/controllers/order_controller.ex
functionaryco/komos_admin
20e0c3d302c5dd8ac72da795f6073d496e327d52
[ "MIT" ]
1
2021-02-10T09:47:21.000Z
2021-02-10T09:47:21.000Z
lib/kaffy_web/controllers/order_controller.ex
functionaryco/komos_admin
20e0c3d302c5dd8ac72da795f6073d496e327d52
[ "MIT" ]
null
null
null
lib/kaffy_web/controllers/order_controller.ex
functionaryco/komos_admin
20e0c3d302c5dd8ac72da795f6073d496e327d52
[ "MIT" ]
null
null
null
defmodule KaffyWeb.OrderController do use Phoenix.Controller, namespace: KaffyWeb use Phoenix.HTML alias Kaffy.Pagination def new(conn, %{"context" => context, "resource" => resource}) do my_resource = Kaffy.Utils.get_resource(conn, context, resource) resource_name = Kaffy.ResourceAdmin.singular_name(m...
33.714286
102
0.590973
f7864d90f5c30c3e56ed26e3f77ae766b3b2e88f
1,697
ex
Elixir
clients/cloud_search/lib/google_api/cloud_search/v1/model/list_items_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/list_items_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_search/lib/google_api/cloud_search/v1/model/list_items_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
33.94
157
0.726576
f7867e5e8cc40d2433cd9f83b33ad0f86eaed872
1,520
ex
Elixir
test/support/data_case.ex
wbotelhos/crud-in-5-minutes-with-phoenix-and-elixir
f3218507d5c2ea7c23170d4316b41979beaa9aa6
[ "MIT" ]
2
2021-05-28T11:32:22.000Z
2021-05-28T19:39:03.000Z
test/support/data_case.ex
wbotelhos/crud-in-5-minutes-with-phoenix-and-elixir
f3218507d5c2ea7c23170d4316b41979beaa9aa6
[ "MIT" ]
null
null
null
test/support/data_case.ex
wbotelhos/crud-in-5-minutes-with-phoenix-and-elixir
f3218507d5c2ea7c23170d4316b41979beaa9aa6
[ "MIT" ]
null
null
null
defmodule Bible.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to the...
27.142857
77
0.686184
f786916e9fda8b70c2a8950a9ad705071cf888e3
530
ex
Elixir
lib/docusign/model/chunked_upload_part.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
4
2020-12-21T12:50:13.000Z
2022-01-12T16:50:43.000Z
lib/docusign/model/chunked_upload_part.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
12
2018-09-18T15:26:34.000Z
2019-09-28T15:29:39.000Z
lib/docusign/model/chunked_upload_part.ex
gaslight/docusign_elixir
d9d88d53dd85d32a39d537bade9db28d779414e6
[ "MIT" ]
15
2020-04-29T21:50:16.000Z
2022-02-11T18:01:51.000Z
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule DocuSign.Model.ChunkedUploadPart do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :sequence, :size ] @type t :: %...
19.62963
75
0.660377
f786b9451a17036eb085c2ce5cba64fc6e8c88ed
2,085
exs
Elixir
mix.exs
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
178
2018-04-08T17:11:56.000Z
2022-03-25T15:36:41.000Z
mix.exs
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
21
2018-04-30T21:33:59.000Z
2019-09-03T17:25:26.000Z
mix.exs
satom99/coxir
75bce94dcbe5dfa49e920d2f4ce0de224c315ce4
[ "Apache-2.0" ]
25
2018-04-21T19:41:03.000Z
2021-07-24T22:40:40.000Z
defmodule Coxir.MixProject do use Mix.Project def project do [ app: :coxir, version: "2.0.0", elixir: "~> 1.11", start_permanent: Mix.env() == :prod, deps: deps(), docs: docs(), package: package(), source_url: "https://github.com/satom99/coxir" ] end def...
20.85
62
0.434532
f786c88ef10db449902c2c340f02b43c4038e048
1,309
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1beta1/model/google_cloud_videointelligence_v1_safe_search_annotation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1beta1/model/google_cloud_videointelligence_v1_safe_search_annotation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1beta1/model/google_cloud_videointelligence_v1_safe_search_annotation.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.447368
160
0.767762
f786d28816ea27f3f6bd77087d5fdf37a7f74238
4,087
exs
Elixir
test/battle_box_web/templates/breadcrumbs_test.exs
GrantJamesPowell/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
2
2020-10-17T05:48:49.000Z
2020-11-11T02:34:15.000Z
test/battle_box_web/templates/breadcrumbs_test.exs
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
3
2020-05-18T05:52:21.000Z
2020-06-09T07:24:14.000Z
test/battle_box_web/templates/breadcrumbs_test.exs
FlyingDutchmanGames/battle_box
301091955b68cd4672f6513d645eca4e3c4e17d0
[ "Apache-2.0" ]
null
null
null
defmodule BattleBoxWeb.Templates.BreadCrumbsTest do use ExUnit.Case, async: true alias BattleBoxWeb.PageView alias BattleBox.{User, Arena, Bot} @user %User{username: "example-username"} @bot %Bot{user: @user, name: "example-bot"} @arena %Arena{user: @user, name: "example-arena"} test "it renders the bre...
42.134021
96
0.477367
f786e8db0d8650a9e5a4cb1577ecb04fc84572f1
708
ex
Elixir
lib/coder_ring/migration.ex
instinctscience/coder_ring
dfa3e66893e15c6e69974cfe709d3380d01bf7d1
[ "MIT" ]
null
null
null
lib/coder_ring/migration.ex
instinctscience/coder_ring
dfa3e66893e15c6e69974cfe709d3380d01bf7d1
[ "MIT" ]
null
null
null
lib/coder_ring/migration.ex
instinctscience/coder_ring
dfa3e66893e15c6e69974cfe709d3380d01bf7d1
[ "MIT" ]
null
null
null
defmodule CoderRing.Migration do @moduledoc """ Handles table migrations. Invoke `CoderRing.Migration.change/0` in your migration's `change/0` function. """ use Ecto.Migration @spec change :: :ok def change do create table(:code_memos, primary_key: false) do add(:name, :string, primary_key: ...
25.285714
84
0.646893
f786f122096b3c94c7a524810da3f8798f609564
2,228
exs
Elixir
implementations/elixir/ockam/ockam/test/ockam/protocol/protocol_test.exs
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
1,912
2019-01-10T14:17:00.000Z
2022-03-30T19:16:44.000Z
implementations/elixir/ockam/ockam/test/ockam/protocol/protocol_test.exs
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
1,473
2019-01-16T15:14:47.000Z
2022-03-31T23:44:50.000Z
implementations/elixir/ockam/ockam/test/ockam/protocol/protocol_test.exs
twittner/ockam
96eadf99da42f7c35539c6e29010a657c579ccba
[ "Apache-2.0" ]
219
2019-01-11T03:35:13.000Z
2022-03-31T10:25:56.000Z
defmodule Ockam.Protocol.Tests do use ExUnit.Case, async: true doctest Ockam.Protocol alias Ockam.Protocol alias Ockam.Protocol.Tests.ExampleProtocol describe "Base message" do test "can be encoded and decoded" do name = "my_protocol_name" data = "some arbitrary data" base_message = %{p...
32.764706
98
0.694345
f786fd073c0dcd0720b4827d616abbdb29830742
71
ex
Elixir
lib/loaded_bike/web/views/social_view.ex
GBH/pedal
a2d68c3561f186ee3017a21b4170127b1625e18d
[ "MIT" ]
48
2017-04-25T16:02:08.000Z
2021-01-23T01:57:29.000Z
lib/loaded_bike/web/views/social_view.ex
GBH/pedal
a2d68c3561f186ee3017a21b4170127b1625e18d
[ "MIT" ]
5
2018-03-09T20:17:55.000Z
2018-07-23T16:29:21.000Z
lib/loaded_bike/web/views/social_view.ex
GBH/pedal
a2d68c3561f186ee3017a21b4170127b1625e18d
[ "MIT" ]
4
2017-05-21T14:38:38.000Z
2017-12-29T11:09:54.000Z
defmodule LoadedBike.Web.SocialView do use LoadedBike.Web, :view end
17.75
38
0.802817
f78720eab0146abaa859ad66b890230505441009
139
exs
Elixir
config/config.exs
wilk/dpc18bot
1f68343b0929f2a6f38dde22e52d028a85418af3
[ "MIT" ]
null
null
null
config/config.exs
wilk/dpc18bot
1f68343b0929f2a6f38dde22e52d028a85418af3
[ "MIT" ]
null
null
null
config/config.exs
wilk/dpc18bot
1f68343b0929f2a6f38dde22e52d028a85418af3
[ "MIT" ]
null
null
null
use Mix.Config config :app, bot_name: System.get_env("TELEGRAM_BOT_NAME") config :nadia, token: System.get_env("TELEGRAM_BOT_TOKEN")
17.375
47
0.76259
f7875542cacc4dd119aad16e0b0b76a992024799
511
ex
Elixir
test/middleware/support/halting_router.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
1,220
2017-10-31T10:56:40.000Z
2022-03-31T17:40:19.000Z
test/middleware/support/halting_router.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
294
2017-11-03T10:33:41.000Z
2022-03-24T08:36:42.000Z
test/middleware/support/halting_router.ex
jwilger/commanded
2d9950fd3ce76a23a3c410c99857b812f5705d66
[ "MIT" ]
208
2017-11-03T10:56:47.000Z
2022-03-14T05:49:38.000Z
defmodule Commanded.HaltingRouter do use Commanded.Commands.Router alias Commanded.Helpers.CommandAuditMiddleware alias Commanded.HaltingMiddleware alias Commanded.Middleware.Commands.CommandHandler alias Commanded.Middleware.Commands.CounterAggregateRoot alias Commanded.Middleware.Commands.IncrementCount ...
28.388889
58
0.837573
f78755de091f744f3ad06158d55f732527be71df
1,047
exs
Elixir
test/farmbot_celery_script/assertion_compiler_test.exs
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
843
2016-10-05T23:46:05.000Z
2022-03-14T04:31:55.000Z
test/farmbot_celery_script/assertion_compiler_test.exs
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
455
2016-10-15T08:49:16.000Z
2022-03-15T12:23:04.000Z
test/farmbot_celery_script/assertion_compiler_test.exs
FarmBot/farmbot_os
5ebdca3afd672eb6b0af5c71cfca02488b32569a
[ "MIT" ]
261
2016-10-10T04:37:06.000Z
2022-03-13T21:07:38.000Z
defmodule FarmbotCore.Celery.AssertionCompilerTest do use ExUnit.Case use Mimic alias FarmbotCore.Celery.Compiler.{Assertion, Scope} alias FarmbotCore.Celery.AST test "Assertion.assertion/2" do scope = Scope.new() expect(FarmbotCore.Celery.SysCallGlue, :log_assertion, 1, fn ok?, t, msg -> refu...
25.536585
79
0.597899
f7875c1f8ad8a15e0cd9f2aca49cc5062f61bee8
4,306
ex
Elixir
lib/livebook/notebook/explore.ex
wojtekmach/livebook
861fc3110bb1b9e400925c39b8b6d13a07b7c475
[ "Apache-2.0" ]
null
null
null
lib/livebook/notebook/explore.ex
wojtekmach/livebook
861fc3110bb1b9e400925c39b8b6d13a07b7c475
[ "Apache-2.0" ]
null
null
null
lib/livebook/notebook/explore.ex
wojtekmach/livebook
861fc3110bb1b9e400925c39b8b6d13a07b7c475
[ "Apache-2.0" ]
null
null
null
defmodule Livebook.Notebook.Explore.Utils do @moduledoc false @doc """ Defines a module attribute `attr` with notebook info. """ defmacro defnotebook(attr, props) do quote bind_quoted: [attr: attr, props: props] do {path, notebook_info} = Livebook.Notebook.Explore.Utils.fetch_notebook!(attr, props)...
28.143791
104
0.66837
f787601cbfc9186d38d64c873aba5f482f254763
3,200
ex
Elixir
clients/network_services/lib/google_api/network_services/v1/model/operation.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/network_services/lib/google_api/network_services/v1/model/operation.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/network_services/lib/google_api/network_services/v1/model/operation.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...
54.237288
543
0.72375
f78791df6e6a84464199b22103032eb48290ec82
1,520
ex
Elixir
lib/adoptoposs_web/email.ex
paulgoetze/adoptoposs
1a143917ac5a192f12054fff4410a1ee18935353
[ "MIT" ]
null
null
null
lib/adoptoposs_web/email.ex
paulgoetze/adoptoposs
1a143917ac5a192f12054fff4410a1ee18935353
[ "MIT" ]
null
null
null
lib/adoptoposs_web/email.ex
paulgoetze/adoptoposs
1a143917ac5a192f12054fff4410a1ee18935353
[ "MIT" ]
null
null
null
defmodule AdoptopossWeb.Email do @moduledoc """ Defines all system emails. """ use Bamboo.Phoenix, view: AdoptopossWeb.EmailView import AdoptopossWeb.Router.Helpers alias AdoptopossWeb.Endpoint def interest_received_email(interest) do %{project: project, creator: creator} = interest message_ur...
31.020408
87
0.696053
f787926b1cab7ab04cc15c3083fe0beaaa12483e
357
exs
Elixir
shritesh+elixir/test/advent/day_11_test.exs
NashFP/advent-2020
3ef8736357cb1753ea6b8acf558e344e842ab247
[ "MIT" ]
1
2020-11-25T01:54:02.000Z
2020-11-25T01:54:02.000Z
shritesh+elixir/test/advent/day_11_test.exs
NashFP/advent-2020
3ef8736357cb1753ea6b8acf558e344e842ab247
[ "MIT" ]
null
null
null
shritesh+elixir/test/advent/day_11_test.exs
NashFP/advent-2020
3ef8736357cb1753ea6b8acf558e344e842ab247
[ "MIT" ]
2
2020-11-25T01:54:42.000Z
2021-02-24T00:12:59.000Z
defmodule Advent.Day11Test do use ExUnit.Case alias Advent.Day11 @example """ L.LL.LL.LL LLLLLLL.LL L.L.L..L.. LLLL.LL.LL L.LL.LL.LL L.LLLLL.LL ..L.L..... LLLLLLLLLL L.LLLLLL.L L.LLLLL.LL """ test "part_1" do assert Day11.part_1(@example) == 37 end test "part_2" do assert Da...
13.730769
39
0.610644
f787bb1842f44ffad11b4efe971a99cceced2e3f
820
exs
Elixir
test/ping_test.exs
rawdamedia/quoil
8d7be55d15442e2f0cf8743d5ceb1dd5761e9356
[ "MIT" ]
1
2015-07-17T13:42:12.000Z
2015-07-17T13:42:12.000Z
test/ping_test.exs
rawdamedia/quoil
8d7be55d15442e2f0cf8743d5ceb1dd5761e9356
[ "MIT" ]
3
2015-07-17T07:52:30.000Z
2016-03-16T11:34:48.000Z
test/ping_test.exs
rawdamedia/quoil
8d7be55d15442e2f0cf8743d5ceb1dd5761e9356
[ "MIT" ]
1
2015-07-17T11:50:44.000Z
2015-07-17T11:50:44.000Z
defmodule PingTest do use ExUnit.Case import String import ExUnit.CaptureIO # Testing run_ping function using system ping utility test "able to run system ping function" do test_data = capture_io(fn -> Quoil.CLI.main(["-i","1","-n","3","-s","google.com"]) end) IO.puts test_data assert (contains...
28.275862
94
0.635366
f787dd409c8b63eb1718dd7cbbaf132ad41b7be0
203
exs
Elixir
test/first_days_web/controllers/page_controller_test.exs
TechforgoodCAST/first-steps
fa178d44d7c58a2e3fa372adcf7b5f2dc4ff6862
[ "BSD-3-Clause" ]
3
2018-01-30T09:55:29.000Z
2018-02-01T18:48:10.000Z
test/first_days_web/controllers/page_controller_test.exs
TechforgoodCAST/first-days
fa178d44d7c58a2e3fa372adcf7b5f2dc4ff6862
[ "BSD-3-Clause" ]
16
2018-01-30T09:45:20.000Z
2018-02-07T11:11:04.000Z
test/first_days_web/controllers/page_controller_test.exs
TechforgoodCAST/first-days
fa178d44d7c58a2e3fa372adcf7b5f2dc4ff6862
[ "BSD-3-Clause" ]
null
null
null
defmodule FirstDaysWeb.PageControllerTest do use FirstDaysWeb.ConnCase test "GET /", %{conn: conn} do conn = get conn, "/" assert html_response(conn, 200) =~ "Welcome to Phoenix!" end end
22.555556
60
0.689655
f787df91bca1f1e8060c75ed1ec5a261562d8d8d
473
exs
Elixir
lib/p03.exs
ospatil/99problems
4a5d3a3983ea07109f84870d82ccfd7d967858da
[ "MIT" ]
2
2016-07-18T02:53:37.000Z
2019-06-25T10:31:11.000Z
lib/p03.exs
ospatil/99problems
4a5d3a3983ea07109f84870d82ccfd7d967858da
[ "MIT" ]
null
null
null
lib/p03.exs
ospatil/99problems
4a5d3a3983ea07109f84870d82ccfd7d967858da
[ "MIT" ]
null
null
null
defmodule P3 do # Find the k'th element of a list. The first element in the list is number 1. def at(pos, list), do: do_at(pos, list, 1) defp do_at(_, [], _), do: nil defp do_at(pos, [head | _], counter) when pos == counter, do: head defp do_at(pos, [_ | tail], counter), do: do_at(pos, tail, counter + 1) en...
22.52381
79
0.617336
f787f0a0a7469de32a31a911b01e90920b54d51b
664
exs
Elixir
test/acceptance/regressions/i002-accept-any-struct-as-option_test.exs
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
test/acceptance/regressions/i002-accept-any-struct-as-option_test.exs
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
test/acceptance/regressions/i002-accept-any-struct-as-option_test.exs
akash-akya/earmark_parser
de2216ca0622a9d2491ea2295d0be1bedcaf64c6
[ "Apache-2.0" ]
null
null
null
defmodule Acceptance.Regressions.I002AcceptAnyStructAsOptionTest do use ExUnit.Case import EarmarkParser, only: [as_ast: 2] defmodule MyStruct do defstruct pure_links: false end describe "can parse with MyStruct" do @markdown "see https://my.site.com" test "pure_links deactivated" do ast = [...
26.56
106
0.59488
f78809a0b284bd7c6c0ab6bd5006d255aa5fe13d
472
exs
Elixir
test/elixirfm_test.exs
jrichocean/Elixirfm
5595c08c3217500bbc3fe74fe1657fe0e7bfcda8
[ "MIT" ]
9
2016-10-04T10:09:17.000Z
2020-10-20T10:34:47.000Z
test/elixirfm_test.exs
jrichocean/Elixirfm
5595c08c3217500bbc3fe74fe1657fe0e7bfcda8
[ "MIT" ]
4
2017-06-19T11:11:15.000Z
2021-11-10T04:31:45.000Z
test/elixirfm_test.exs
jrichocean/Elixirfm
5595c08c3217500bbc3fe74fe1657fe0e7bfcda8
[ "MIT" ]
2
2018-10-12T09:53:36.000Z
2019-09-29T13:19:41.000Z
defmodule ElixirfmTest do use ExUnit.Case doctest Elixirfm test "_encode_params/1 encodes types correctly" do import Elixirfm, only: [_encode_params: 1] assert _encode_params([{"testkey", "testval"}]) == ["&testkey=testval"] assert _encode_params(%{"testkey" => "testval"}) == ["&testkey=testval"] ...
36.307692
76
0.686441
f7881a974ea374fa3aa760b947d7cd410fe9be4e
669
ex
Elixir
lib/memo/creators/creator_user_interest.ex
ashkan18/memo
da62914abff2f4f4c75ad6b996e3f6c3d5e9ad64
[ "MIT" ]
null
null
null
lib/memo/creators/creator_user_interest.ex
ashkan18/memo
da62914abff2f4f4c75ad6b996e3f6c3d5e9ad64
[ "MIT" ]
null
null
null
lib/memo/creators/creator_user_interest.ex
ashkan18/memo
da62914abff2f4f4c75ad6b996e3f6c3d5e9ad64
[ "MIT" ]
null
null
null
defmodule Memo.Creators.CreatorUserInterest do use Ecto.Schema import Ecto.Changeset schema "creator_user_interests" do belongs_to(:user_interest, Memo.Interests.UserInterest) belongs_to(:creator, Memo.Creators.Creator) timestamps() end @doc """ Builds a changeset based on the `struct` and `p...
26.76
59
0.723468
f7883be2dfe8ed0a2abff8b7cbb3c84a2f09e34a
787
ex
Elixir
server/apps/boardr/lib/boardr/stats_server.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2021-04-08T17:26:27.000Z
2021-04-08T17:26:27.000Z
server/apps/boardr/lib/boardr/stats_server.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
1
2022-02-13T05:50:46.000Z
2022-02-13T05:50:46.000Z
server/apps/boardr/lib/boardr/stats_server.ex
AlphaHydrae/boardr
98eed02801f88c065a24bf13051c5cf96270a5f7
[ "MIT" ]
null
null
null
# TODO: use telemetry somehow defmodule Boardr.StatsServer do use GenServer def start_link(_) do GenServer.start_link(__MODULE__, nil, name: __MODULE__) end def stats() do GenServer.call(__MODULE__, :stats) end # Server (callbacks) @impl true def init(_) do {:ok, nil} end @impl true...
18.738095
83
0.632783
f7884af5eca7af7966d2615b70031cb33ab13444
5,717
ex
Elixir
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/advertiser.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/advertiser.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/dfa_reporting/lib/google_api/dfa_reporting/v33/model/advertiser.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.819149
640
0.728004
f7885dc16600e733e133446413f9b95d49a047aa
2,150
ex
Elixir
lib/live_sup_web/live/team/components/team_form_component.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
lib/live_sup_web/live/team/components/team_form_component.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
3
2022-02-23T15:51:48.000Z
2022-03-14T22:52:43.000Z
lib/live_sup_web/live/team/components/team_form_component.ex
livesup-dev/livesup
eaf9ffc78d3043bd9e3408f0f4df26ed16eb8446
[ "Apache-2.0", "MIT" ]
null
null
null
defmodule LiveSupWeb.Team.Components.TeamFormComponent do use LiveSupWeb, :live_component alias LiveSup.Core.Teams alias LiveSup.Schemas.Team @impl true def update(%{team: team} = assigns, socket) do changeset = Teams.change(team) {:ok, socket |> assign(assigns) |> assign(:changeset, ...
29.861111
92
0.646512
f788782162bd094580e13cf5ac3f66f3a173dd19
3,579
ex
Elixir
day19/lib/day19.ex
carlism/aoc_2020
5ffdba5d41d243562fa448a92ff02900354956bb
[ "MIT" ]
null
null
null
day19/lib/day19.ex
carlism/aoc_2020
5ffdba5d41d243562fa448a92ff02900354956bb
[ "MIT" ]
null
null
null
day19/lib/day19.ex
carlism/aoc_2020
5ffdba5d41d243562fa448a92ff02900354956bb
[ "MIT" ]
null
null
null
defmodule Day19 do @moduledoc """ Documentation for Day19. """ def part1 do [rules | messages] = read_input("input.txt") rules = Day19.parsed_rules(rules) rex = Day19.build_rex(rules, 0) {:ok, regex} = Regex.compile("^#{rex}$") messages |> Enum.map(fn msg -> Regex.match?(regex, msg) en...
25.204225
93
0.526404
f78882b1b516a9517cb27b6c0e61eb42be473c47
848
exs
Elixir
apps/glayu/test/glayu/cli/cli_test.exs
pmartinezalvarez/glayu
8dc30eea4d04c38f5c7999b593c066828423a3dc
[ "MIT" ]
51
2017-05-21T07:27:34.000Z
2017-11-30T04:34:17.000Z
apps/glayu/test/glayu/cli/cli_test.exs
doc22940/glayu
8dc30eea4d04c38f5c7999b593c066828423a3dc
[ "MIT" ]
17
2017-06-14T18:40:44.000Z
2017-08-20T16:14:58.000Z
apps/glayu/test/glayu/cli/cli_test.exs
doc22940/glayu
8dc30eea4d04c38f5c7999b593c066828423a3dc
[ "MIT" ]
5
2017-06-04T19:55:56.000Z
2017-07-29T16:18:58.000Z
defmodule Glayu.CLITest do use ExUnit.Case import ExUnit.CaptureIO test "help is displayed with an unknown command" do assert capture_io(fn -> Glayu.CLI.main(["unknown-command invalid-arg"]) end) == help_output() end def help_output do "\n\e[1mGLAYU COMMANDS\n\e[0m\nglayu \e[0m\e[96minit \e[0m[\e[...
60.571429
583
0.652123
f788a6137d3050e03c430c77a039a2d20b2eec58
1,199
ex
Elixir
RAEM/raem/lib/raem/idds/idds.ex
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
null
null
null
RAEM/raem/lib/raem/idds/idds.ex
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
null
null
null
RAEM/raem/lib/raem/idds/idds.ex
pedromcorreia/Rumo-ao-ensino-superior
be0b9bf417604bdf8a349fde8a8a1c0aaf4c4cdb
[ "MIT" ]
2
2018-02-24T19:56:21.000Z
2018-02-26T00:16:41.000Z
defmodule Raem.Idds do @moduledoc """ The Idds context. """ import Ecto.Query alias Raem.Repo alias Raem.Idds.Idd @doc """ Creates a idd. ## Examples iex> create_idd(%{field: value}) {:ok, %Idd{}} iex> create_idd(%{field: bad_value}) {:error, %Ecto.Changeset{}} """ ...
16.652778
61
0.582986
f788e6831e49bcf603a9a9c28400eff30c14977f
404
ex
Elixir
ears/lib/events.ex
mashbytes/sentry
d4b13419694d0e30199af6ff0f8a2b68ef54fefa
[ "MIT" ]
null
null
null
ears/lib/events.ex
mashbytes/sentry
d4b13419694d0e30199af6ff0f8a2b68ef54fefa
[ "MIT" ]
2
2021-03-09T20:59:23.000Z
2021-05-10T18:01:00.000Z
ears/lib/events.ex
mashbytes/sentry
d4b13419694d0e30199af6ff0f8a2b68ef54fefa
[ "MIT" ]
null
null
null
defmodule Ears.Event do defmacro __using__(_) do quote do defstruct [:node, :since] def new(since \\ DateTime.utc_now(), node \\ Node.self()) do %__MODULE__{ node: node, since: since } end end end end defmodule Ears.Events.Noisy do use Ears.Event end defmodule Ears.Events.Qu...
14.962963
66
0.668317
f788ed0278b436e6319afcee08a143fa2ef3597f
1,686
ex
Elixir
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/file_hashes.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/file_hashes.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/container_analysis/lib/google_api/container_analysis/v1alpha1/model/file_hashes.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...
35.125
131
0.755042
f788ed237ebc74c5872cd24920be48236875fb11
92
exs
Elixir
test/eliscore_chat_web/views/layout_view_test.exs
CandN/eliscore-chat
a626077bf1c46b329c15f63db9a25521b43bd61b
[ "MIT" ]
null
null
null
test/eliscore_chat_web/views/layout_view_test.exs
CandN/eliscore-chat
a626077bf1c46b329c15f63db9a25521b43bd61b
[ "MIT" ]
null
null
null
test/eliscore_chat_web/views/layout_view_test.exs
CandN/eliscore-chat
a626077bf1c46b329c15f63db9a25521b43bd61b
[ "MIT" ]
null
null
null
defmodule EliscoreChatWeb.LayoutViewTest do use EliscoreChatWeb.ConnCase, async: true end
23
43
0.847826
f7894306046ee334bfe0f0a7bc633084db0eb935
2,717
ex
Elixir
lib/mix/lib/mix/tasks/local.hex.ex
carlosantoniodasilva/elixir
0b7d1c9d4964cd6699b72298294844d8d7d694b5
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/local.hex.ex
carlosantoniodasilva/elixir
0b7d1c9d4964cd6699b72298294844d8d7d694b5
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/tasks/local.hex.ex
carlosantoniodasilva/elixir
0b7d1c9d4964cd6699b72298294844d8d7d694b5
[ "Apache-2.0" ]
null
null
null
defmodule Mix.Tasks.Local.Hex do use Mix.Task @hex_s3 "https://s3.amazonaws.com/s3.hex.pm" @hex_list_url @hex_s3 <> "/installs/list.csv" @hex_archive_url @hex_s3 <> "/installs/[VERSION]/hex.ez" @hex_requirement ">= 0.5.0" @shortdoc "Install hex locally" @moduledoc """ Install Hex loca...
26.125
96
0.627898
f7899f0f100b92dab943afebaca9f797433aed1b
14,812
ex
Elixir
clients/books/lib/google_api/books/v1/api/myconfig.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/api/myconfig.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/books/lib/google_api/books/v1/api/myconfig.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...
42.563218
187
0.622333
f789a81441ec5dbb0460c5b70d503ae070df3cc9
1,785
ex
Elixir
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__disk_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__disk_config.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/machine_learning/lib/google_api/machine_learning/v1/model/google_cloud_ml_v1__disk_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...
35.7
217
0.735014
f789bacd8d715d0c982045d3bfd6783b39d66f1b
5,896
ex
Elixir
lib/ex_oauth2_provider/oauth2/token/strategy/revoke.ex
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
lib/ex_oauth2_provider/oauth2/token/strategy/revoke.ex
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
lib/ex_oauth2_provider/oauth2/token/strategy/revoke.ex
loopsocial/ex_oauth2_provider
59d177f1c7581e1d794823279067022b1598f5f2
[ "MIT" ]
null
null
null
defmodule ExOauth2Provider.Token.Revoke do @moduledoc """ Functions for dealing with revocation. """ alias ExOauth2Provider.{ AccessTokens, Config, Token.Utils, Token.Utils.Response, Utils.Error } @doc """ Revokes access token. The authorization server, if applicable, first authent...
33.691429
96
0.666214
f789c944127420d2e4e48859d702b015d84cf708
197
exs
Elixir
test/snapshots/ubuntu_1804.exs
elcritch/ExDhcp
7c2641eaf86b1e1e0cbbaef67908a8e1829c45a8
[ "MIT" ]
null
null
null
test/snapshots/ubuntu_1804.exs
elcritch/ExDhcp
7c2641eaf86b1e1e0cbbaef67908a8e1829c45a8
[ "MIT" ]
null
null
null
test/snapshots/ubuntu_1804.exs
elcritch/ExDhcp
7c2641eaf86b1e1e0cbbaef67908a8e1829c45a8
[ "MIT" ]
1
2019-12-16T04:53:17.000Z
2019-12-16T04:53:17.000Z
defmodule DhcpTest.Snapshot.Ubuntu1804 do @moduledoc """ snapshot testing verifying that the DHCP server can correctly provision DHCP addresses for "default" Ubuntu 18.04 netplan. """ end
24.625
73
0.766497
f789e9099f72a01f76ccc02f16e88d6b523b9e17
3,856
exs
Elixir
test/lib/stats/stats_parser_test.exs
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
null
null
null
test/lib/stats/stats_parser_test.exs
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
null
null
null
test/lib/stats/stats_parser_test.exs
soleo/changelog.com
621c7471b23379e1cdd4a0c960b66ed98d8d1a53
[ "MIT" ]
null
null
null
defmodule ChangelogStatsParserTest do use ExUnit.Case alias Changelog.Stats.{Parser, Entry} @log1 ~s{<134>2016-10-14T16:56:41Z cache-jfk8141 S3TheChangelog[81772]: 142.169.78.110,[14/Oct/2016:16:56:40 +0000],/uploads/podcast/145/the-changelog-145.mp3,2,206,"AppleCoreMedia/1.0.0.14A403 (iPhone; U; CPU OS 10_0_1 ...
45.364706
361
0.653786
f78a04157eb8e5d5501e33deb0ba597f0ce86a9d
2,699
ex
Elixir
lib/ecto_job/config.ex
niku/ecto_job
666637007c71feddec7e59cb1c0a069d33dfe947
[ "MIT" ]
null
null
null
lib/ecto_job/config.ex
niku/ecto_job
666637007c71feddec7e59cb1c0a069d33dfe947
[ "MIT" ]
null
null
null
lib/ecto_job/config.ex
niku/ecto_job
666637007c71feddec7e59cb1c0a069d33dfe947
[ "MIT" ]
null
null
null
defmodule EctoJob.Config do @moduledoc """ EctoJob Configuration struct. Configuration may be provided directly to your JobQueue supervisor: supervisor(MyApp.JobQueue, [[repo: MyApp.Repo, max_demand: 100, log_level: :debug]]) Or if the configuration should be environment-specific, use Mix config: ...
39.115942
316
0.677288
f78a2510ac5417c97bf8923404b53d69b01dfbbd
2,063
exs
Elixir
apps/re_integrations/test/google/calendars/calendars_test.exs
ruby2elixir/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
4
2019-11-01T16:29:31.000Z
2020-10-10T21:20:12.000Z
apps/re_integrations/test/google/calendars/calendars_test.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
null
null
null
apps/re_integrations/test/google/calendars/calendars_test.exs
eduardomartines/emcasa-backend
70d7f4f233555417941ffa6ada84cf8740c21dd2
[ "MIT" ]
5
2019-11-04T21:25:45.000Z
2020-02-13T23:49:36.000Z
defmodule ReIntegrations.Google.CalendarsTest do @moduledoc false use ReIntegrations.ModelCase alias GoogleApi.Calendar.V3.Model alias ReIntegrations.Google.Calendars import Tesla.Mock import Re.Factory @calendar_id "calendar123" @calendar_response """ { "id": "#{@calendar_id}", "kind":...
22.67033
88
0.572467
f78a492e42eeff56184be764a4815814ad616ada
13,716
ex
Elixir
clients/admin/lib/google_api/admin/directory_v1/api/role_assignments.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/admin/lib/google_api/admin/directory_v1/api/role_assignments.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/admin/lib/google_api/admin/directory_v1/api/role_assignments.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...
44.245161
196
0.617381
f78a504ffa0c93af6c74ff7992c1b36201dd875f
3,442
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/scheduling.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/scheduling.ex
jamesvl/elixir-google-api
6c87fb31d996f08fb42ce6066317e9d652a87acc
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/compute/lib/google_api/compute/v1/model/scheduling.ex
myskoach/elixir-google-api
4f8cbc2fc38f70ffc120fd7ec48e27e46807b563
[ "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.78125
324
0.740848
f78a54d4bce09f8bfada971836994b28319e7273
4,748
ex
Elixir
lib/arkecosystem/crypto/transactions/serializer.ex
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
lib/arkecosystem/crypto/transactions/serializer.ex
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
lib/arkecosystem/crypto/transactions/serializer.ex
whitehat/elixir-crypto
6347868ee15c7b79676df58bef54376a8dc6fd02
[ "MIT" ]
null
null
null
defmodule ArkEcosystem.Crypto.Transactions.Serializer do alias ArkEcosystem.Crypto.Enums.Types alias ArkEcosystem.Crypto.Helpers.MapKeyTransformer alias ArkEcosystem.Crypto.Configuration.Network alias ArkEcosystem.Crypto.Transactions.Serializers.Transfer alias ArkEcosystem.Crypto.Transactions.Serializers.Seco...
35.17037
97
0.711457
f78a6a64e3cbc46218f6cb172c1c3fa5556fe66e
1,557
ex
Elixir
lib/commodity/application.ex
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
7
2019-04-11T21:12:49.000Z
2021-04-14T12:56:42.000Z
lib/commodity/application.ex
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
null
null
null
lib/commodity/application.ex
akdilsiz/commodity-cloud
08c366c9fc95fbb3565131672db4cc52f8b870c9
[ "Apache-2.0" ]
2
2019-06-06T18:05:33.000Z
2019-07-16T08:49:45.000Z
## # Copyright 2018 Abdulkadir DILSIZ # # 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...
33.12766
77
0.717405
f78a74f74630afcfb7bca3aa911c5e462d6132cc
2,517
ex
Elixir
clients/dns/lib/google_api/dns/v1/model/policies_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/dns/lib/google_api/dns/v1/model/policies_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/dns/lib/google_api/dns/v1/model/policies_list_response.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
44.946429
622
0.727453
f78a99fc503bc8692802416db69fd0b569ef1bae
890
ex
Elixir
clients/text_to_speech/lib/google_api/text_to_speech/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/text_to_speech/lib/google_api/text_to_speech/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/text_to_speech/lib/google_api/text_to_speech/v1/metadata.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
32.962963
74
0.760674
f78aa50b2a9c69e09b2eea37db392dd5c1c11784
10,578
ex
Elixir
lib/mix/lib/mix/dep/loader.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
1
2021-05-20T13:08:37.000Z
2021-05-20T13:08:37.000Z
lib/mix/lib/mix/dep/loader.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
lib/mix/lib/mix/dep/loader.ex
namjae/elixir
6d1561a5939d68fb61f422b83271fbc824847395
[ "Apache-2.0" ]
null
null
null
# This module is responsible for loading dependencies # of the current project. This module and its functions # are private to Mix. defmodule Mix.Dep.Loader do @moduledoc false import Mix.Dep, only: [ok?: 1, mix?: 1, rebar?: 1, make?: 1] @doc """ Gets all direct children of the current `Mix.Project` as a `M...
25.30622
97
0.593023
f78ab836cf07c57a02605e50d59850ef90405420
3,547
ex
Elixir
clients/cloud_identity/lib/google_api/cloud_identity/v1/model/google_apps_cloudidentity_devices_v1_device_user.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/cloud_identity/lib/google_api/cloud_identity/v1/model/google_apps_cloudidentity_devices_v1_device_user.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/cloud_identity/lib/google_api/cloud_identity/v1/model/google_apps_cloudidentity_devices_v1_device_user.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...
44.898734
276
0.693826
f78ab89b2f140cf3cfca35f08eda6a439911f157
1,646
ex
Elixir
bleacher_fire/lib/bleacher_fire_web/controllers/reactions_controller.ex
nyolamike/bleacher_fire
4ec43b01d06b44c3e39200248f709400a1d60b70
[ "Apache-2.0" ]
null
null
null
bleacher_fire/lib/bleacher_fire_web/controllers/reactions_controller.ex
nyolamike/bleacher_fire
4ec43b01d06b44c3e39200248f709400a1d60b70
[ "Apache-2.0" ]
1
2021-03-10T05:45:29.000Z
2021-03-10T05:45:29.000Z
bleacher_fire/lib/bleacher_fire_web/controllers/reactions_controller.ex
nyolamike/bleacher_fire
4ec43b01d06b44c3e39200248f709400a1d60b70
[ "Apache-2.0" ]
null
null
null
defmodule BleacherFireWeb.ReactionsController do use BleacherFireWeb, :controller def details(conn, %{"user_name" => user_id, "id" => selected_content_id} = _params) do contents = get_bleacher_content() #get this users reactions to the content to be rendered user_reactions = Enum.reduce(contents, ...
40.146341
181
0.704131
f78acec06f78bc7e4333793c29769e941c54dd07
22,595
ex
Elixir
lib/grizzly/command_class/mappings.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/command_class/mappings.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
lib/grizzly/command_class/mappings.ex
pragdave/grizzly
bcd7b46ab2cff1797dac04bc3cd12a36209dd579
[ "Apache-2.0" ]
null
null
null
defmodule Grizzly.CommandClass.Mappings do @type command_class_name :: atom @type command_class_type :: :raw | :network | :application | :management @type command_class_byte :: byte() @type command_class_unk :: {:unk, byte} @type specific_cmd_class_unk :: {:unk, byte, byte} @known_network_command_classes...
45.0998
93
0.76185
f78af5c32f37c12c09226703fd09d26b6eedffab
191
exs
Elixir
priv/repo/migrations/20180928054123_create_types.exs
the-mikedavis/doc_gen
efcc884ea65bba5748f41c5601abd00db2777ec4
[ "BSD-3-Clause" ]
null
null
null
priv/repo/migrations/20180928054123_create_types.exs
the-mikedavis/doc_gen
efcc884ea65bba5748f41c5601abd00db2777ec4
[ "BSD-3-Clause" ]
27
2018-10-29T18:34:44.000Z
2019-03-11T18:43:12.000Z
priv/repo/migrations/20180928054123_create_types.exs
the-mikedavis/doc_gen
efcc884ea65bba5748f41c5601abd00db2777ec4
[ "BSD-3-Clause" ]
null
null
null
defmodule DocGen.Repo.Migrations.CreateTypes do use Ecto.Migration def change do create table(:types) do add(:name, :string, null: false) timestamps() end end end
15.916667
47
0.670157
f78b06ee7068da56a41e0fc135bae4d95dd0655d
380
ex
Elixir
lib/bifroest/web/views/error_view.ex
theSuess/bifroest-web
fc25d4e827546b2e1a08719962f0e161d622eded
[ "BSD-3-Clause" ]
1
2017-03-29T06:48:06.000Z
2017-03-29T06:48:06.000Z
lib/bifroest/web/views/error_view.ex
theSuess/bifroest-web
fc25d4e827546b2e1a08719962f0e161d622eded
[ "BSD-3-Clause" ]
null
null
null
lib/bifroest/web/views/error_view.ex
theSuess/bifroest-web
fc25d4e827546b2e1a08719962f0e161d622eded
[ "BSD-3-Clause" ]
null
null
null
defmodule Bifroest.Web.ErrorView do use Bifroest.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(_tem...
21.111111
47
0.7
f78b36ca30a7414a8e25d4d9c5d1ea0384599a27
1,822
exs
Elixir
elixir/config/prod.exs
VitorFirmino/NLW-7
16d3319c6bcf2308ef6ea5fdf8257be78887a190
[ "MIT" ]
null
null
null
elixir/config/prod.exs
VitorFirmino/NLW-7
16d3319c6bcf2308ef6ea5fdf8257be78887a190
[ "MIT" ]
null
null
null
elixir/config/prod.exs
VitorFirmino/NLW-7
16d3319c6bcf2308ef6ea5fdf8257be78887a190
[ "MIT" ]
null
null
null
import 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, # w...
35.038462
66
0.703074
f78b47e5f0a649b163bca780566034ba309c8923
176
exs
Elixir
mix.exs
knoxcarey/kmitr
b8e08dc7708631b2c5beb031a0ed96fdd4cc0ab6
[ "0BSD" ]
null
null
null
mix.exs
knoxcarey/kmitr
b8e08dc7708631b2c5beb031a0ed96fdd4cc0ab6
[ "0BSD" ]
null
null
null
mix.exs
knoxcarey/kmitr
b8e08dc7708631b2c5beb031a0ed96fdd4cc0ab6
[ "0BSD" ]
null
null
null
defmodule Kmitr.Mixfile do use Mix.Project def project do [apps_path: "apps", deps: deps] end defp deps do [ {:exrm, "~> 0.14.16"} ] end end
11.733333
27
0.551136
f78b5075dfc02ba0eaf7d7c62bb7f339dd79b6f9
2,411
ex
Elixir
rtp/lib/membrane_demo_rtp/receive_pipeline.ex
membraneframework/videoroom_advanced
d5bfbcec7558bb7ddd4f74742c0d842e5d759b21
[ "Apache-2.0" ]
84
2020-08-01T14:57:29.000Z
2022-03-27T13:28:23.000Z
rtp/lib/membrane_demo_rtp/receive_pipeline.ex
membraneframework/videoroom_advanced
d5bfbcec7558bb7ddd4f74742c0d842e5d759b21
[ "Apache-2.0" ]
75
2020-08-24T08:01:53.000Z
2022-03-17T10:41:22.000Z
rtp/lib/membrane_demo_rtp/receive_pipeline.ex
membraneframework/videoroom_advanced
d5bfbcec7558bb7ddd4f74742c0d842e5d759b21
[ "Apache-2.0" ]
17
2020-09-15T21:04:23.000Z
2022-03-31T07:43:48.000Z
defmodule Membrane.Demo.RTP.ReceivePipeline do use Membrane.Pipeline alias Membrane.RTP @impl true def handle_init(opts) do %{secure?: secure?, audio_port: audio_port, video_port: video_port} = opts spec = %ParentSpec{ children: [ video_src: %Membrane.Element.UDP.Source{ local...
25.924731
89
0.588138
f78b95898e6c88748ff4160092e0f07151ea4f80
566
ex
Elixir
lib/cookbook_web/live/geolocation_live.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
null
null
null
lib/cookbook_web/live/geolocation_live.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
11
2021-12-19T09:07:30.000Z
2022-01-01T17:54:43.000Z
lib/cookbook_web/live/geolocation_live.ex
joerichsen/live_view_cookbook
a211e6bcfaa872df120f186b3d65e0672f410365
[ "MIT" ]
null
null
null
defmodule CookbookWeb.GeolocationLive do use CookbookWeb, :live_view def render(assigns) do ~H""" <div id="geolocation-demo" phx-hook="GetGeolocation"> <%= if @address do %> <h1>Your address is:</h1> <%= @address %> <% end %> </div> """ end def mount(_params, _sessi...
23.583333
74
0.59364
f78b9aac6a388f4a469e759808344d0463c63ba7
711
ex
Elixir
lib/exkubed_web/gettext.ex
nilenso/exkubed
84586ab75ebc417cf5a5bed5323d9032b23ea2ec
[ "MIT" ]
1
2019-08-29T20:35:54.000Z
2019-08-29T20:35:54.000Z
lib/exkubed_web/gettext.ex
nilenso/exkubed
84586ab75ebc417cf5a5bed5323d9032b23ea2ec
[ "MIT" ]
null
null
null
lib/exkubed_web/gettext.ex
nilenso/exkubed
84586ab75ebc417cf5a5bed5323d9032b23ea2ec
[ "MIT" ]
null
null
null
defmodule ExkubedWeb.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 ExkubedWeb.Gettext # Simple translation gettext("Here is t...
28.44
72
0.677918
f78ba71910f51203eb49d625e87b7157651d3ba7
1,151
exs
Elixir
test/wallaby/phantom/log_store_test.exs
alecho/wallaby
90c34245e6340d49a2976f3f60b810c4435c19f8
[ "MIT" ]
1
2020-05-15T20:41:00.000Z
2020-05-15T20:41:00.000Z
test/wallaby/phantom/log_store_test.exs
aarongraham/wallaby
37a4dc379a83b64540c8763e7205752b43bd811e
[ "MIT" ]
null
null
null
test/wallaby/phantom/log_store_test.exs
aarongraham/wallaby
37a4dc379a83b64540c8763e7205752b43bd811e
[ "MIT" ]
null
null
null
defmodule Wallaby.Driver.LogStoreTest do use ExUnit.Case, async: true alias Wallaby.Driver.LogStore @l1 %{"level" => "INFO", "message" => "l1 (:)", "timestamp" => 1_470_795_015_152} @l2 %{"level" => "INFO", "message" => "l2 (:)", "timestamp" => 1_470_795_015_290} @l3 %{"level" => "WARNING", "message" => "l3...
37.129032
90
0.631625
f78bb916431bc024b368d2f77de42bb5fc18738c
9,391
exs
Elixir
test/cadet/accounts/notification_test.exs
seanlowjk/cadet
52b55cc0f777cb0d55a78fe1693f762085ab36c2
[ "Apache-2.0" ]
null
null
null
test/cadet/accounts/notification_test.exs
seanlowjk/cadet
52b55cc0f777cb0d55a78fe1693f762085ab36c2
[ "Apache-2.0" ]
null
null
null
test/cadet/accounts/notification_test.exs
seanlowjk/cadet
52b55cc0f777cb0d55a78fe1693f762085ab36c2
[ "Apache-2.0" ]
null
null
null
defmodule Cadet.Accounts.NotificationTest do alias Cadet.Accounts.{Notification, Notifications} use Cadet.ChangesetCase, entity: Notification @required_fields ~w(type role user_id)a setup do assessment = insert(:assessment, %{is_published: true}) avenger = insert(:user, %{role: :staff}) student =...
27.702065
99
0.621233
f78be4600eaae9bb7e0f45878d24d6340f6bdbc4
1,735
exs
Elixir
test/crawlie/pqueue_wrapper_test.exs
kianmeng/crawlie
19883f17a208107927ba14d15312f5a908d5e8ea
[ "MIT" ]
91
2016-12-29T12:31:14.000Z
2021-09-25T23:09:34.000Z
test/crawlie/pqueue_wrapper_test.exs
kianmeng/crawlie
19883f17a208107927ba14d15312f5a908d5e8ea
[ "MIT" ]
40
2016-12-14T00:55:52.000Z
2022-01-29T08:46:03.000Z
test/crawlie/pqueue_wrapper_test.exs
kianmeng/crawlie
19883f17a208107927ba14d15312f5a908d5e8ea
[ "MIT" ]
10
2017-04-06T11:18:10.000Z
2021-10-30T00:04:09.000Z
defmodule PqueueWrapperTest do @pqueue_modules [:pqueue, :pqueue2, :pqueue3, :pqueue4] use ExUnit.Case alias Crawlie.Page alias Crawlie.PqueueWrapper, as: PW test "constructor" do Enum.each(@pqueue_modules, fn(m) -> empty = PW.new(m) assert %PW{module: ^m, data: data} = empty assert ...
22.828947
75
0.574063
f78bfb34e3a958002327bc3be769cb742e5fcb43
201
ex
Elixir
lib/phone/lr.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/lr.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
lib/phone/lr.ex
net/phone
18e1356d2f8d32fe3f95638c3c44bceab0164fb2
[ "Apache-2.0" ]
null
null
null
defmodule Phone.LR do @moduledoc false use Helper.Country def regex, do: ~r/^(231)()(.{7,9})/ def country, do: "Liberia" def a2, do: "LR" def a3, do: "LBR" matcher :regex, ["231"] end
15.461538
37
0.597015
f78c06823932361875a283a2eade80fa1fed2f55
2,017
ex
Elixir
lib/tmdb/keywords/keywords.ex
DonHansDampf/elixir-tmdb
7a79350dfb0eeb5a37384be4ca9fac0570a3020e
[ "MIT" ]
13
2016-07-30T05:10:50.000Z
2019-04-25T05:08:11.000Z
lib/tmdb/keywords/keywords.ex
DonHansDampf/elixir-tmdb
7a79350dfb0eeb5a37384be4ca9fac0570a3020e
[ "MIT" ]
3
2016-08-04T00:44:01.000Z
2017-07-18T17:27:05.000Z
lib/tmdb/keywords/keywords.ex
DonHansDampf/elixir-tmdb
7a79350dfb0eeb5a37384be4ca9fac0570a3020e
[ "MIT" ]
12
2016-07-30T23:59:26.000Z
2021-06-25T05:53:57.000Z
defmodule Tmdb.Keywords do @moduledoc """ Keywords Endpoint ## Available functions for keywords Tmdb.Keywords.find(1721) # Find a keyword and its name by keyword id Tmdb.Keywords.search("fight") # Search for keywords by text Tmdb.Keywords.movies(1721) # find movies by a keyword ID """ use Tmdb.Base ...
33.616667
94
0.517105
f78c27947d73384b669f32501005e36d969c7c98
1,050
ex
Elixir
apps/artemis/lib/artemis/contexts/cloud/delete_cloud.ex
artemis-platform/artemis_dashboard
5ab3f5ac4c5255478bbebf76f0e43b44992e3cab
[ "MIT" ]
9
2019-08-19T19:56:34.000Z
2022-03-22T17:56:38.000Z
apps/artemis/lib/artemis/contexts/cloud/delete_cloud.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
7
2019-07-12T21:41:01.000Z
2020-08-17T21:29:22.000Z
apps/artemis/lib/artemis/contexts/cloud/delete_cloud.ex
chrislaskey/atlas_dashboard
9009ef5aac8fefba126fa7d3e3b82d1b610ee6fe
[ "MIT" ]
2
2019-07-05T22:51:47.000Z
2019-08-19T19:56:37.000Z
defmodule Artemis.DeleteCloud do use Artemis.Context alias Artemis.DeleteManyAssociatedComments alias Artemis.GetCloud alias Artemis.Repo def call!(id, params \\ %{}, user) do case call(id, params, user) do {:error, _} -> raise(Artemis.Context.Error, "Error deleting cloud") {:ok, result} -> ...
25
82
0.666667
f78c30bc24bf49aeecf0c364a738fbbcd17597bf
31
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_dot_operation_parsing_test_case/CharListHeredoc.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_dot_operation_parsing_test_case/CharListHeredoc.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_dot_operation_parsing_test_case/CharListHeredoc.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
''' One '''.''' Two '''
6.2
7
0.193548
f78c61bb87275149410d100da84f880428859c41
7,965
ex
Elixir
lib/type.ex
prithvihv/tarams
45396934d91aa624da6e3ef233d8e26236eeed2c
[ "MIT" ]
null
null
null
lib/type.ex
prithvihv/tarams
45396934d91aa624da6e3ef233d8e26236eeed2c
[ "MIT" ]
null
null
null
lib/type.ex
prithvihv/tarams
45396934d91aa624da6e3ef233d8e26236eeed2c
[ "MIT" ]
null
null
null
defmodule Tarams.Type do @moduledoc """ Cast data to target type. Much code of this module is borrowed from `Ecto.Type` """ # @base ~w( # integer float decimal boolean string map binary id binary_id any # datetime utc_datetime naive_datetime date time # )a def cast({:embed, mod, params}, value),...
29.069343
115
0.632141
f78c6f43e41251cedd79806f23d31273054b3f91
947
exs
Elixir
config/config.exs
bcoop713/rumbl
831982b86f8f4e6540b6d481e36e2e3c3470b5b1
[ "MIT" ]
null
null
null
config/config.exs
bcoop713/rumbl
831982b86f8f4e6540b6d481e36e2e3c3470b5b1
[ "MIT" ]
null
null
null
config/config.exs
bcoop713/rumbl
831982b86f8f4e6540b6d481e36e2e3c3470b5b1
[ "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 # Configures the endpoint config :rumbl, Rumbl.Endpoint, url: [host: "localhost"], ...
31.566667
86
0.757128
f78c739c510f62b426b9429e7ccbc0ea40498939
1,201
exs
Elixir
test/test_helper.exs
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
2
2019-05-02T10:42:09.000Z
2019-12-02T21:29:17.000Z
test/test_helper.exs
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
1
2020-05-20T21:04:19.000Z
2020-05-20T21:04:19.000Z
test/test_helper.exs
Rutaba/stripity_stripe
12c525301c781f9c8c7e578cc0d933f5d35183d5
[ "BSD-3-Clause" ]
1
2019-07-18T11:44:35.000Z
2019-07-18T11:44:35.000Z
ExUnit.start() # Stripe.start Application.ensure_all_started(:erlexec) Application.ensure_all_started(:exexec) Application.ensure_all_started(:mox) ExUnit.configure(exclude: [disabled: true], seed: 0) Logger.configure(level: :info) {:ok, pid} = Stripe.StripeMock.start_link(port: 12123, global: true) Application.put_e...
30.025
84
0.739384
f78c793f4ebd378936fbc977736e4639cf387a3b
2,333
ex
Elixir
lib/easypost/request.ex
winestyr/ex_easypost
a8563ccbff429ad181280c438efeea65383ff852
[ "MIT" ]
6
2017-09-21T13:19:56.000Z
2021-01-07T18:31:42.000Z
lib/easypost/request.ex
winestyr/ex_easypost
a8563ccbff429ad181280c438efeea65383ff852
[ "MIT" ]
null
null
null
lib/easypost/request.ex
winestyr/ex_easypost
a8563ccbff429ad181280c438efeea65383ff852
[ "MIT" ]
2
2018-07-11T07:12:08.000Z
2020-06-29T02:04:48.000Z
defmodule EasyPost.Request do alias EasyPost.{ Helpers, Response } @type t :: %__MODULE__{ attempt: integer, body: binary, headers: EasyPost.http_headers_t(), method: EasyPost.http_method_t(), result: any, url: String.t() }...
27.77381
117
0.603943
f78c8958c45acebabb33b16cfecfdcf91f8b5223
758
ex
Elixir
lib/xeroxero/core_api/models/tracking_categories/tracking_category/options/option.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
1
2021-12-01T18:21:31.000Z
2021-12-01T18:21:31.000Z
lib/xeroxero/core_api/models/tracking_categories/tracking_category/options/option.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
null
null
null
lib/xeroxero/core_api/models/tracking_categories/tracking_category/options/option.ex
scottmessinger/elixero
4e62c4d80d221639ba2347a563002511e8d4a6c6
[ "MIT" ]
1
2021-10-01T12:09:46.000Z
2021-10-01T12:09:46.000Z
defmodule XeroXero.CoreApi.Models.TrackingCategories.TrackingCategory.Options.Option do use Ecto.Schema import Ecto.Changeset @derive {Jason.Encoder, except: [:__meta__, :id]} schema "options" do field :TrackingOptionID, Ecto.UUID field :Name, :string field :Status, :s...
32.956522
88
0.663588
f78c8ce8183851dc0ce4c02d8ef186c7e03933b7
1,398
ex
Elixir
test/support/data_case.ex
xorvo/elixir_blog
67123c05eb4cacfa482604ce62c4f5a7e9bc1690
[ "MIT" ]
null
null
null
test/support/data_case.ex
xorvo/elixir_blog
67123c05eb4cacfa482604ce62c4f5a7e9bc1690
[ "MIT" ]
null
null
null
test/support/data_case.ex
xorvo/elixir_blog
67123c05eb4cacfa482604ce62c4f5a7e9bc1690
[ "MIT" ]
null
null
null
defmodule ElixirBlog.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, it cannot be async. For this reason, every t...
25.888889
77
0.683119
f78c962e85ac63543efa1aff70f1f10e5f12655f
865
ex
Elixir
exercism/elixir/space-age/lib/space_age.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/space-age/lib/space_age.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
exercism/elixir/space-age/lib/space_age.ex
Tyyagoo/studies
f8fcc3a539cfb6d04a149174c88bf2208e220b96
[ "Unlicense" ]
null
null
null
defmodule SpaceAge do @type planet :: :mercury | :venus | :earth | :mars | :jupiter | :saturn | :uranus | :neptune @planets %{ mercury: 0.2408467, venus: 0.61519726, mars: 1.8808158, jupiter: 11.862615, saturn: 29.4...
22.763158
77
0.556069
f78ca1e7883406d1688a21e876613de10ef3430f
1,249
ex
Elixir
lib/mongo/pool/monitor.ex
Talkdesk/mongodb
d6c240c4faf2f73d408b24a028e96f0b30fcb031
[ "Apache-2.0" ]
null
null
null
lib/mongo/pool/monitor.ex
Talkdesk/mongodb
d6c240c4faf2f73d408b24a028e96f0b30fcb031
[ "Apache-2.0" ]
null
null
null
lib/mongo/pool/monitor.ex
Talkdesk/mongodb
d6c240c4faf2f73d408b24a028e96f0b30fcb031
[ "Apache-2.0" ]
null
null
null
defmodule Mongo.Pool.Monitor do @moduledoc false use GenServer alias Mongo.Connection def start_link(name, ets, opts) do GenServer.start_link(__MODULE__, [ets, opts], name: name) end def version(name, ets, timeout) do case :ets.lookup(ets, :wire_version) do [] -> GenServer.call(name,...
29.046512
72
0.635709
f78cbad87e85da7a3eff60cf241c62d3abe7f33f
8,958
ex
Elixir
clients/elixir/generated/lib/cloud_manager_api/api/environments.ex
shinesolutions/cloudmanager-api-clients
d73a25878f6cc57af954362ba8dccc90d54e6131
[ "Apache-2.0" ]
3
2020-06-23T05:31:52.000Z
2020-11-26T05:34:57.000Z
clients/elixir/generated/lib/cloud_manager_api/api/environments.ex
shinesolutions/cloudmanager-api-clients
d73a25878f6cc57af954362ba8dccc90d54e6131
[ "Apache-2.0" ]
2
2021-01-21T01:19:54.000Z
2021-12-09T22:30:22.000Z
clients/elixir/generated/lib/cloud_manager_api/api/environments.ex
shinesolutions/cloudmanager-api-clients
d73a25878f6cc57af954362ba8dccc90d54e6131
[ "Apache-2.0" ]
1
2020-11-18T11:48:13.000Z
2020-11-18T11:48:13.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule CloudManagerAPI.Api.Environments do @moduledoc """ API calls for all endpoints tagged `Environments`. """ alias CloudManagerAPI.Connection ...
42.657143
192
0.690444
f78cc682ba598cce30a82011b671625978b62707
1,708
exs
Elixir
test/honeybadger/plug_test.exs
blitzstudios/honeybadger-elixir
81ec81c8e7303847de784c2fb7a189b8521c296c
[ "MIT" ]
175
2015-07-04T16:01:53.000Z
2022-03-30T10:18:03.000Z
test/honeybadger/plug_test.exs
blitzstudios/honeybadger-elixir
81ec81c8e7303847de784c2fb7a189b8521c296c
[ "MIT" ]
225
2015-07-03T22:08:58.000Z
2022-02-03T14:16:20.000Z
test/honeybadger/plug_test.exs
blitzstudios/honeybadger-elixir
81ec81c8e7303847de784c2fb7a189b8521c296c
[ "MIT" ]
69
2015-09-17T13:56:28.000Z
2022-03-20T17:49:17.000Z
defmodule Honeybadger.PlugTest do use Honeybadger.Case use Plug.Test alias Plug.Conn.WrapperError defmodule CustomNotFound do defexception [:message] end defimpl Plug.Exception, for: CustomNotFound do def actions(_), do: [] def status(_), do: 404 end defmodule PlugApp do use Plug.Rou...
23.081081
83
0.654567
f78cd6354cf5e07c6c043ddf41b703e0626e301e
849
ex
Elixir
lib/mail/encoders/base64.ex
sam701/elixir-mail
5771a8b8808c26f7d6adc3a44859f2c140c994e1
[ "MIT" ]
387
2016-02-09T23:17:51.000Z
2022-03-31T13:57:05.000Z
lib/mail/encoders/base64.ex
sam701/elixir-mail
5771a8b8808c26f7d6adc3a44859f2c140c994e1
[ "MIT" ]
84
2016-02-09T21:20:11.000Z
2022-03-10T09:58:43.000Z
lib/mail/encoders/base64.ex
sam701/elixir-mail
5771a8b8808c26f7d6adc3a44859f2c140c994e1
[ "MIT" ]
70
2016-02-10T15:21:44.000Z
2021-12-08T18:20:25.000Z
defmodule Mail.Encoders.Base64 do @moduledoc """ Encodes/decodes base64 strings according to RFC 2045 which requires line lengths of less than 76 characters and illegal characters to be removed during parsing. See the following links for reference: - <https://www.ietf.org/rfc/rfc2045.txt> - <https://stac...
29.275862
90
0.687868
f78cee22891463f41c8a74424ba5f299e517f4d7
812
ex
Elixir
lib/uro_web/uploaders/user_content_preview.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
1
2022-01-11T04:05:39.000Z
2022-01-11T04:05:39.000Z
lib/uro_web/uploaders/user_content_preview.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
35
2021-02-10T08:18:57.000Z
2021-05-06T17:19:50.000Z
lib/uro_web/uploaders/user_content_preview.ex
V-Sekai/uro
0b23da65d5c7e459efcd6b2c3d9bdf91c533b737
[ "MIT" ]
null
null
null
defmodule Uro.Uploaders.UserContentPreview do use Waffle.Definition use Waffle.Ecto.Definition @versions [:original, :thumb] @extension_whitelist ~w(.jpg .jpeg .gif .png) # Override the bucket on a per definition basis: # def bucket do # :custom_bucket_name # end # Whitelist file extensions: de...
24.606061
74
0.706897
f78cfb2e2ce6bd12ca9282e7fc9a50a986df3049
2,602
ex
Elixir
kousa/lib/kousa/auth.ex
dqnk/dogehouse
e6bb60429575e664f5ed1a1b667a55f0ea95fc4c
[ "MIT" ]
null
null
null
kousa/lib/kousa/auth.ex
dqnk/dogehouse
e6bb60429575e664f5ed1a1b667a55f0ea95fc4c
[ "MIT" ]
null
null
null
kousa/lib/kousa/auth.ex
dqnk/dogehouse
e6bb60429575e664f5ed1a1b667a55f0ea95fc4c
[ "MIT" ]
null
null
null
defmodule Kousa.Auth do alias Onion.PubSub alias Kousa.Utils.TokenUtils @spec authenticate(Broth.Message.Auth.Request.t(), IP.addr()) :: {:ok, Beef.Schemas.User.t()} | {:error, term} def authenticate(request, ip) do case TokenUtils.tokens_to_user_id(request.accessToken, request.refreshToken) do ...
28.282609
83
0.632206
f78d1d44e9ede91bf74e2cff926e2f8865c2aa9a
30
exs
Elixir
test/test_helper.exs
serokell/fsentry
8b1fef9867c6f761e3a894d3019199e73999bad6
[ "CC0-1.0" ]
1
2019-10-11T18:48:34.000Z
2019-10-11T18:48:34.000Z
test/test_helper.exs
serokell/fsentry
8b1fef9867c6f761e3a894d3019199e73999bad6
[ "CC0-1.0" ]
null
null
null
test/test_helper.exs
serokell/fsentry
8b1fef9867c6f761e3a894d3019199e73999bad6
[ "CC0-1.0" ]
null
null
null
FSentry.load() ExUnit.start()
10
14
0.733333
f78d242ffb10cefc10127e1068f57fc3528db9c1
1,293
ex
Elixir
clients/translate/lib/google_api/translate/v3/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/translate/lib/google_api/translate/v3/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/translate/lib/google_api/translate/v3/connection.ex
pojiro/elixir-google-api
928496a017d3875a1929c6809d9221d79404b910
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.916667
114
0.737819
f78d61dae35c7765a55e0cc3f6206d544e6068cd
1,930
exs
Elixir
test/backoff_server_test.exs
bougueil/kitto
a2b5fb10e632e9ee05dce2644193fd35eaa1938e
[ "MIT" ]
1,047
2016-05-11T16:09:29.000Z
2022-03-29T17:17:26.000Z
test/backoff_server_test.exs
bougueil/kitto
a2b5fb10e632e9ee05dce2644193fd35eaa1938e
[ "MIT" ]
132
2016-10-28T19:44:26.000Z
2020-12-06T21:16:53.000Z
test/backoff_server_test.exs
bougueil/kitto
a2b5fb10e632e9ee05dce2644193fd35eaa1938e
[ "MIT" ]
70
2016-10-26T00:11:05.000Z
2022-01-02T21:43:06.000Z
defmodule Kitto.BackoffServerTest do use ExUnit.Case, async: true alias Kitto.BackoffServer, as: Subject @min 1 setup do Subject.reset on_exit fn -> Application.delete_env :kitto, :job_min_backoff Application.delete_env :kitto, :job_max_backoff end end test "#succeed resets to 0...
24.125
72
0.696373
f78d63d1a0830a7796e27bc2a5932dd7baa3e8d4
59
exs
Elixir
episode25/todo/test/todo_test.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
1
2021-11-17T23:50:24.000Z
2021-11-17T23:50:24.000Z
episode25/todo/test/todo_test.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
1
2022-03-15T01:11:52.000Z
2022-03-15T01:11:52.000Z
episode25/todo/test/todo_test.exs
paulfioravanti/learn_elixir
8424b1a7a89cb9fd1dacb85bcca487601958b8fa
[ "MIT" ]
null
null
null
defmodule TodoTest do use ExUnit.Case doctest Todo end
11.8
21
0.779661
f78d6df57b9382347d03c2c8079608265a64a623
210
exs
Elixir
tests/dummy/priv/repo/migrations/2016041605594815_create_batches.exs
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
null
null
null
tests/dummy/priv/repo/migrations/2016041605594815_create_batches.exs
autoxjs/autox-phoenix
6446f4487e3af28955f6560973cff6add34be4d4
[ "MIT" ]
20
2016-04-05T06:28:58.000Z
2016-05-12T15:45:37.000Z
tests/dummy/priv/repo/migrations/2016041605594815_create_batches.exs
foxnewsnetwork/autox
66ea3f0f7ba8b3f9e910984a2ed3cdf0ef5ef29a
[ "MIT" ]
null
null
null
defmodule Dummy.Repo.Migrations.CreateBatches do use Ecto.Migration def change do create table(:batches) do add :material, :string add :weight, :integer timestamps end end end
16.153846
48
0.67619
f78dbaf781d8d0a7b4d385af6e957f60ec13b231
171
ex
Elixir
apps/panacea_beacon/lib/panacea_beacon_web/router.ex
timjp87/panacea
5edddfa12a8f18b040248b9b186479b9ec8aed51
[ "MIT" ]
null
null
null
apps/panacea_beacon/lib/panacea_beacon_web/router.ex
timjp87/panacea
5edddfa12a8f18b040248b9b186479b9ec8aed51
[ "MIT" ]
null
null
null
apps/panacea_beacon/lib/panacea_beacon_web/router.ex
timjp87/panacea
5edddfa12a8f18b040248b9b186479b9ec8aed51
[ "MIT" ]
null
null
null
defmodule BeaconWeb.Router do use BeaconWeb, :router pipeline :api do plug :accepts, ["json"] end scope "/api", BeaconWeb do pipe_through :api end end
14.25
29
0.672515
f78dd339121739cc416a32669798290328564065
1,714
exs
Elixir
test/cforum/jobs/archiver_job_test.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
16
2019-04-04T06:33:33.000Z
2021-08-16T19:34:31.000Z
test/cforum/jobs/archiver_job_test.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
294
2019-02-10T11:10:27.000Z
2022-03-30T04:52:53.000Z
test/cforum/jobs/archiver_job_test.exs
jrieger/cforum_ex
61f6ce84708cb55bd0feedf69853dae64146a7a0
[ "MIT" ]
10
2019-02-10T10:39:24.000Z
2021-07-06T11:46:05.000Z
defmodule Cforum.Jobs.ArchiverJobTest do use Cforum.DataCase alias Cforum.Threads alias Cforum.Jobs.ArchiverJob setup do forum = insert(:forum) thread = insert(:thread, forum: forum) message = insert(:message, thread: thread, forum: forum) {:ok, message: message, thread: thread, forum: forum}...
34.28
110
0.689032
f78de0f5648531f4f266d72de59b084f3e402ee3
589
ex
Elixir
lib/staff_notes_web/controllers/member_controller.ex
lee-dohm/staff-notes
07186e8407f1955876fa2dee2dbbfd0bbac91333
[ "MIT" ]
1
2020-01-26T18:08:40.000Z
2020-01-26T18:08:40.000Z
lib/staff_notes_web/controllers/member_controller.ex
lee-dohm/staff-notes
07186e8407f1955876fa2dee2dbbfd0bbac91333
[ "MIT" ]
36
2017-12-23T20:22:07.000Z
2018-05-10T09:16:59.000Z
lib/staff_notes_web/controllers/member_controller.ex
lee-dohm/staff-notes
07186e8407f1955876fa2dee2dbbfd0bbac91333
[ "MIT" ]
null
null
null
defmodule StaffNotesWeb.MemberController do @moduledoc """ Handles requests for `StaffNotes.Notes.Member` records. """ use StaffNotesWeb, :controller alias StaffNotes.Accounts alias StaffNotes.Notes alias StaffNotes.Repo def index(conn, %{"organization_name" => name}) do org = Accounts.get_org!(na...
22.653846
67
0.662139
f78df09cea2706278b0012b6b7d50060159f4366
824
exs
Elixir
apps/ewallet_db/priv/repo/migrations/20180629050719_add_failure_reason_to_consumption.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/ewallet_db/priv/repo/migrations/20180629050719_add_failure_reason_to_consumption.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/ewallet_db/priv/repo/migrations/20180629050719_add_failure_reason_to_consumption.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
32.96
74
0.758495
f78df8ecc6582ed05f3117ff6954077b3837d470
394
exs
Elixir
server/cardinal/priv/repo/migrations/20210315223123_create_user_table.exs
llucasreis/cardinal
714d89d37ef0fa305d78622ff7228864bf382035
[ "MIT" ]
null
null
null
server/cardinal/priv/repo/migrations/20210315223123_create_user_table.exs
llucasreis/cardinal
714d89d37ef0fa305d78622ff7228864bf382035
[ "MIT" ]
null
null
null
server/cardinal/priv/repo/migrations/20210315223123_create_user_table.exs
llucasreis/cardinal
714d89d37ef0fa305d78622ff7228864bf382035
[ "MIT" ]
null
null
null
defmodule Cardinal.Repo.Migrations.CreateUserTable do use Ecto.Migration def change do create table(:users, primary_key: false) do add :id, :uuid, primary_key: true add :username, :string add :email, :string add :password_hash, :string timestamps() end create unique_index...
23.176471
53
0.670051
f78e032ae08f486c0f8d6d693b83582f7de49e1a
1,222
ex
Elixir
src/auth_service/lib/auth_service_web/views/error_helpers.ex
wbpascal/statuswebsite
7a81e530a9176c53abeab0582cb710113101b716
[ "MIT" ]
1
2021-04-18T20:21:03.000Z
2021-04-18T20:21:03.000Z
src/auth_service/lib/auth_service_web/views/error_helpers.ex
wbpascal/statuswebsite
7a81e530a9176c53abeab0582cb710113101b716
[ "MIT" ]
null
null
null
src/auth_service/lib/auth_service_web/views/error_helpers.ex
wbpascal/statuswebsite
7a81e530a9176c53abeab0582cb710113101b716
[ "MIT" ]
1
2021-04-18T20:21:08.000Z
2021-04-18T20:21:08.000Z
defmodule AuthServiceWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @doc """ Translates an error message using gettext. """ def translate_error({msg, opts}) do # When using gettext, we typically pass the strings we want # to translate as a static ...
35.941176
80
0.674304
f78e140ab7da5dbee17ea67f3086995b380a32e6
3,788
ex
Elixir
lib/koans/13_functions.ex
mingyar/elixir-koans
d9e05081f862a351323bf5a02fff574164bef889
[ "MIT" ]
null
null
null
lib/koans/13_functions.ex
mingyar/elixir-koans
d9e05081f862a351323bf5a02fff574164bef889
[ "MIT" ]
null
null
null
lib/koans/13_functions.ex
mingyar/elixir-koans
d9e05081f862a351323bf5a02fff574164bef889
[ "MIT" ]
null
null
null
defmodule Functions do use Koans @intro "Functions" def greet(name) do "Hello, #{name}!" end koan "Functions map arguments to outputs" do assert greet("World") == "Hello, World!" end def multiply(a, b), do: a * b koan "Single line functions are cool, but mind the comma and the colon!" do ...
30.063492
104
0.643875
f78e3d7efb352acd2eb5ff176267f7efb6ae4b93
778
ex
Elixir
lib/test/gear_log_helper.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
144
2018-04-27T07:24:49.000Z
2022-03-15T05:19:37.000Z
lib/test/gear_log_helper.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
123
2018-05-01T02:54:43.000Z
2022-01-28T01:30:52.000Z
lib/test/gear_log_helper.ex
sylph01/antikythera
47a93f3d4c70975f7296725c9bde2ea823867436
[ "Apache-2.0" ]
14
2018-05-01T02:30:47.000Z
2022-02-21T04:38:56.000Z
# Copyright(c) 2015-2021 ACCESS CO., LTD. All rights reserved. use Croma defmodule Antikythera.Test.GearLogHelper do @moduledoc """ Helpers to work with gear logs within tests. """ alias Antikythera.{Context, Conn} alias Antikythera.Test.ConnHelper alias AntikytheraCore.GearLog.ContextHelper @doc """ ...
31.12
126
0.718509
f78e4eeabdce659648e755b3c4845279603cddd2
1,563
exs
Elixir
1_lists/15_replicate.exs
leesharma/99_elixir_problems
6f284d94e07c24a73b06d0c36ba88c73e74cb841
[ "MIT" ]
null
null
null
1_lists/15_replicate.exs
leesharma/99_elixir_problems
6f284d94e07c24a73b06d0c36ba88c73e74cb841
[ "MIT" ]
null
null
null
1_lists/15_replicate.exs
leesharma/99_elixir_problems
6f284d94e07c24a73b06d0c36ba88c73e74cb841
[ "MIT" ]
null
null
null
ExUnit.start defmodule Problem15Test do use ExUnit.Case, async: true test "replicate basic list" do assert [1, 1, 1, 2, 2, 2, 2, 2, 2] == Problem15.replicate([1, 2, 2], 3) end test "replicate char list" do assert 'aaabbbccccccddd' == Problem15.replicate 'abccd', 3 end test "very long list" do ...
25.622951
75
0.65771
f78e8b476e27498e4ddb82bde51853ae6ed7ba7c
589
ex
Elixir
lib/controller/controller_supervisor.ex
derekchiang/Elixir-MapReduce
87e3b5f2caba2b8f5050ace818e5061278fb49da
[ "WTFPL" ]
6
2015-06-24T20:09:08.000Z
2019-12-04T21:29:47.000Z
lib/controller/controller_supervisor.ex
derekchiang/Elixir-MapReduce
87e3b5f2caba2b8f5050ace818e5061278fb49da
[ "WTFPL" ]
null
null
null
lib/controller/controller_supervisor.ex
derekchiang/Elixir-MapReduce
87e3b5f2caba2b8f5050ace818e5061278fb49da
[ "WTFPL" ]
null
null
null
defmodule Controller.Supervisor do use Supervisor.Behaviour def start_link(args) do :supervisor.start_link(__MODULE__, args) end def init([]) do children = [ # Define workers and child supervisors to be supervised # worker(MapReduce.Worker, []) ] # See http://elixir-lang.org/docs/...
24.541667
70
0.697793
f78e8c7c617bf211b73422706a15a58ca457eca6
507
ex
Elixir
test/support/data_case.ex
straw-hat-team/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
11
2018-04-09T06:32:02.000Z
2019-09-11T14:18:21.000Z
test/support/data_case.ex
straw-hat-labs/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
64
2018-03-30T06:21:49.000Z
2019-11-01T13:57:34.000Z
test/support/data_case.ex
straw-hat-labs/straw_hat_review
342dbbfac0ac96287111babd59b5321efdd8728d
[ "MIT" ]
1
2018-06-21T23:00:00.000Z
2018-06-21T23:00:00.000Z
defmodule StrawHat.Review.Test.DataCase do @moduledoc false use ExUnit.CaseTemplate using do quote do import Ecto import Ecto.Query import StrawHat.Review.Test.DataCase import StrawHat.Review.Test.Factory alias StrawHat.Review.Repo end end setup tags do :ok = Ect...
18.107143
77
0.682446
f78ea204e47a9561e517715b177c317b8fba1ec7
54
exs
Elixir
test/ex_permissions_test.exs
mtwilliams/ex_permissions
1842f27f41b5d404d2e2409ad3c421de08970843
[ "Unlicense" ]
null
null
null
test/ex_permissions_test.exs
mtwilliams/ex_permissions
1842f27f41b5d404d2e2409ad3c421de08970843
[ "Unlicense" ]
3
2015-05-03T05:15:56.000Z
2015-05-03T05:20:02.000Z
test/ex_permissions_test.exs
mtwilliams/ex_permissions
1842f27f41b5d404d2e2409ad3c421de08970843
[ "Unlicense" ]
null
null
null
defmodule ExPermissions.Test do use ExUnit.Case end
13.5
31
0.814815
f78ed11012a3d94b9ddd113ad33e0ef5e99f6f86
1,133
exs
Elixir
strain/strain.exs
RamanBut-Husaim/exercism.elixir
683bb3b5700945dbbebcedf26d37208d4201ef49
[ "MIT" ]
null
null
null
strain/strain.exs
RamanBut-Husaim/exercism.elixir
683bb3b5700945dbbebcedf26d37208d4201ef49
[ "MIT" ]
null
null
null
strain/strain.exs
RamanBut-Husaim/exercism.elixir
683bb3b5700945dbbebcedf26d37208d4201ef49
[ "MIT" ]
null
null
null
defmodule Strain do @doc """ Given a `list` of items and a function `fun`, return the list of items where `fun` returns true. Do not use `Enum.filter`. """ @spec keep(list :: list(any), fun :: ((any) -> boolean)) :: list(any) def keep(list, fun) do keep([], list, fun) end defp keep(accum, [], _f...
22.66
78
0.598411
f78f3086cb81e998a37cd3b780ed1f31a663e272
814
exs
Elixir
year_2019/test/day_11/robot_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2019/test/day_11/robot_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
year_2019/test/day_11/robot_test.exs
bschmeck/advent_of_code
cbec98019c6c00444e0f4c7e15e01b1ed9ae6145
[ "MIT" ]
null
null
null
defmodule Day11.RobotTest do use ExUnit.Case test "it moves left" do robot = %Day11.Robot{} robot = Day11.Robot.move(robot, :left) assert robot.location == {-1, 0} robot = Day11.Robot.move(robot, :left) assert robot.location == {-1, -1} robot = Day11.Robot.move(robot, :left) assert robo...
29.071429
43
0.624079
f78f336237cff84608b5c8d4fb03661a90de8a70
1,125
ex
Elixir
exex_producer/lib/exex_producer/worker.ex
StephenWeber/elixir-kafka-example
963698b451b01eb0f5c2415d79a87c53950e38f9
[ "MIT" ]
null
null
null
exex_producer/lib/exex_producer/worker.ex
StephenWeber/elixir-kafka-example
963698b451b01eb0f5c2415d79a87c53950e38f9
[ "MIT" ]
null
null
null
exex_producer/lib/exex_producer/worker.ex
StephenWeber/elixir-kafka-example
963698b451b01eb0f5c2415d79a87c53950e38f9
[ "MIT" ]
null
null
null
defmodule ExexProducer.Worker do use GenServer def start_link(args) do GenServer.start_link(__MODULE__, args, name: __MODULE__) end def init(state) do schedule_stock_fetch() {:ok, state} end def handle_info(:stock_fetch, state) do info = stock_info("FB") bid = info["bid"] ask = in...
24.456522
80
0.645333
f78f3dcdf3c66e6a059fa52df1f4a81fb08393cd
669
ex
Elixir
lib/swagger/client/connection.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
null
null
null
lib/swagger/client/connection.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
null
null
null
lib/swagger/client/connection.ex
CordBoard/ostip-exari
a7a40e438c9a2ab358c28c164cec445a0345d15e
[ "Apache-2.0" ]
1
2018-10-27T07:10:02.000Z
2018-10-27T07:10:02.000Z
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Swagger.Client.Connection do @moduledoc """ Handle Tesla connections for Swagger.Client. """ use Tesla # Add any middleware here (auth...
23.068966
75
0.71151
f78f6aece89065cd3d98a8d065ad649e2c4f3c78
291
exs
Elixir
priv/repo/migrations/20160821032913_students.exs
Calvyn82/grades
4f8f43283cf9380dc48a4bc999dd46c66a1ad7ee
[ "MIT" ]
null
null
null
priv/repo/migrations/20160821032913_students.exs
Calvyn82/grades
4f8f43283cf9380dc48a4bc999dd46c66a1ad7ee
[ "MIT" ]
null
null
null
priv/repo/migrations/20160821032913_students.exs
Calvyn82/grades
4f8f43283cf9380dc48a4bc999dd46c66a1ad7ee
[ "MIT" ]
null
null
null
defmodule Grades.Repo.Migrations.Students do use Ecto.Migration def change do create table(:students) do add :first_name, :string add :student_id, :integer, unique: true add :hour, :integer add :grade, :integer timestamps end end end
19.4
45
0.632302